Commit Graph

12360 Commits

Author SHA1 Message Date
Andreas Rumpf
1eaeb8945b system.nim documentation: setLen can handle nil now 2018-04-28 09:31:22 +02:00
Andreas Rumpf
ee7515e376 fixes #7663 2018-04-28 09:26:15 +02:00
Andreas Rumpf
65c08212db system.nim: minor code cleanup 2018-04-28 07:57:44 +02:00
Andreas Rumpf
f697596faf semcheck: code cleanups 2018-04-28 07:49:36 +02:00
Andreas Rumpf
f755808350 remove standalone 'except' and 'finally' statements that have been deprecated for years 2018-04-28 00:00:28 +02:00
andri lim
07d6ff4be4 fixes #7601, array construction of ptr generics (#7671)
* fixes #7601, array construction of ptr generics

* add more test
2018-04-27 21:38:15 +02:00
Varriount
822d2b5085 Fix the return value of GetType and friends when given a var T type. (#7701) 2018-04-27 21:35:41 +02:00
Andreas Rumpf
7c538b26ad nil in string concats does not produce crashes anymore 2018-04-27 21:33:05 +02:00
alaviss
c8a412998a make nimfix compile again (#7708) 2018-04-27 20:58:39 +02:00
Andreas Rumpf
ce36b8efd6 setLen doesn't crash on nil strings/seqs anymore 2018-04-27 11:07:40 +02:00
Andreas Rumpf
ef1b547f35 'add' on a nil sequence doesn't produce a crash anymore 2018-04-27 09:57:20 +02:00
Andreas Rumpf
c71c951a64 enforce dot and call operators are used with an explicit .experimental pragma 2018-04-27 09:57:20 +02:00
Andreas Rumpf
e50f69bc87 nimgrep: count the number of matches 2018-04-27 09:57:20 +02:00
andri lim
e4aa140d22 fixes #7600, generic object with generic ref object parent typerel bug (#7678)
* fixes #7600

* fix wrong logic
2018-04-27 08:53:20 +02:00
hlaaf
397e173139 fix #7680 (#7683)
* fix #7680

* Don't send on every HTTP method

* These should be squashed

* 80 column limit
2018-04-26 18:54:14 +01:00
Dominik Picheta
ce1bd913cf Merge pull request #7692 from teroz/patch-1
tiny typo
2018-04-25 22:57:12 +01:00
Dominik Picheta
aa48a472fd Improve deprecation messages in json docs. 2018-04-25 22:56:51 +01:00
Dominik Picheta
d01b1558a3 Improve progress reporting example. Refs #7693 2018-04-25 22:49:29 +01:00
Dominik Picheta
4d24eb9464 Merge pull request #7693 from enthus1ast/patch-1
copy pastable progress reporting example
2018-04-25 22:46:58 +01:00
David Krause
be8ce30acd copy pastable progress reporting example 2018-04-25 16:06:53 +02:00
Terence Namusonge
e1cd4bca0e tiny typo 2018-04-25 14:30:54 +02:00
genotrance
e931f3b5a9 Fixes #802, #803 and #3775 - genscript issues (#7677)
* Fixes #802, #803 and #3775 - genscript issues

* Test case for genscript

* Test script

* Verify on Linux

* Update categories.nim

* Fix merge

* Improve test framework

* Windows fixes
2018-04-25 10:52:32 +02:00
Oscar Nihlgård
b34580fd5b Rename Time.nanoseconds to nanosecond (#7673)
* Rename `Time.nanoseconds` to `nanosecond`

* Fix bug with Duration comparision
2018-04-25 02:43:26 +02:00
cooldome
c385391ffd Consts in fenv (#7688)
* Fixes #7574

* better comments

* Changes vars to consts for side effect tracking

* Revert unintended changes
2018-04-25 02:41:16 +02:00
Oscar Nihlgård
c461811bde Use safeLen in pairs iterator for PNode (#7684) 2018-04-25 02:29:47 +02:00
Andreas Rumpf
b503ca03f6 refactoring: move 'argument' global into config object 2018-04-24 11:58:18 +02:00
Andreas Rumpf
7df892db9d make tests green again 2018-04-24 11:45:08 +02:00
Andreas Rumpf
ee366f1746 .experimental can now be used to enable specific features 2018-04-24 09:34:29 +02:00
Andreas Rumpf
8ce9e43434 xmltree: remove usage of deprecated callsite() 2018-04-24 09:34:29 +02:00
Andreas Rumpf
3e5192b5da compiler: remove unnecessary FileIndex type conversions 2018-04-24 09:34:29 +02:00
Andreas Rumpf
ba86b09e69 remove obsolete nimrod.cfg configuration files 2018-04-24 09:34:29 +02:00
Andreas Rumpf
64908bf171 nimgrep: add --filenames option 2018-04-24 09:34:29 +02:00
Oscar Nihlgård
8caf257607 Don't escape multibyte characters (#7570) 2018-04-23 11:09:48 +02:00
Jacek Sieka
72dfe176f5 remove dead code elimination option (#7669) 2018-04-23 11:02:38 +02:00
Araq
a8b70c5500 remove unused error messages 2018-04-22 23:16:14 +02:00
Andreas Rumpf
34b333b140 make tests green again 2018-04-22 07:10:55 +02:00
Andreas Rumpf
0ba50f9890 make tests green again 2018-04-22 00:19:41 +02:00
Andreas Rumpf
07f4e8a4ed new 'var T' error messages with hyperlinks; closes #7373 2018-04-22 00:12:43 +02:00
Andreas Rumpf
b43025b754 fixes #5113 2018-04-21 23:58:24 +02:00
Andreas Rumpf
14e496fab0 fixes #6393 2018-04-21 22:49:15 +02:00
Andreas Rumpf
85ea9593b3 fixes #7637; assignments are not allowed to slice object; minor breaking change 2018-04-21 21:22:36 +02:00
Andreas Rumpf
14046d975d make tests green again 2018-04-21 17:01:33 +02:00
Andreas Rumpf
4f10b5edb6 improve documentation for 'var T return values'; refs #7373 2018-04-21 17:01:33 +02:00
Andreas Rumpf
e44c6d8337 refactoring: remove dead code 2018-04-21 17:01:33 +02:00
Arne Döring
516ce73066 macro manual improvements (#7666)
* macro manual improvements

* fixes a typo

* Small fixes
2018-04-21 08:15:41 +02:00
Andreas Rumpf
33b69f0ed0 refactoring: make FileIndex a distinct type; make line information an uint16; fixes #7654 2018-04-21 08:13:37 +02:00
Andreas Rumpf
6667362c2f refs #7586; show surounding source also for hints and warnsings 2018-04-20 08:54:56 +02:00
Andreas Rumpf
9cc8fec370 replace --advanced by --fullhelp; refs #7621 2018-04-20 08:45:03 +02:00
tersec
262aafa0a9 https://reproducible-builds.org/ support via SOURCE_DATE_EPOCH (#7644) (#7661) 2018-04-20 07:04:50 +02:00
Oscar Nihlgård
7d034d7b6a Add fromWinTime and deprecate unixTimeToWinTime/winTimeToUnixTime (#7641) 2018-04-19 22:41:06 +02:00