Commit Graph

14123 Commits

Author SHA1 Message Date
Timothee Cour
daaf50ae03 refs #9906; --errorMax:10 allows stopping after 10 errors 2018-12-09 19:11:08 -08:00
Andreas Rumpf
606b43ba11 Merge pull request #9911 from nc-x/fixes-#9627
`include` now accepts collective arguments
2018-12-09 13:47:45 +01:00
Andreas Rumpf
981dcc6b9a Merge pull request #9890 from nim-lang/remove-asynccommon
Merge async common into asyncdispatch.
2018-12-09 13:00:10 +01:00
Andreas Rumpf
9cafa5ac58 Merge pull request #9902 from arnetheduck/daily-clean
daily cruft removal
2018-12-09 12:59:28 +01:00
Andreas Rumpf
c16963083d Merge pull request #9912 from nim-lang/araq-fixes-nested-gensym
fixes nested gensym'ed parameters; fixes #9476
2018-12-09 12:58:33 +01:00
Neelesh Chandola
96647618c2 Fix compilation of test on linux and mac 2018-12-09 15:44:18 +05:30
Andreas Rumpf
8035f408f1 Merge pull request #9898 from cooldome/enum_notused
Enum fields get hintXDeclaredButNotUsed hint even marked with used pragma
2018-12-09 09:51:35 +01:00
Neelesh Chandola
81427b535d Add final newlines 2018-12-09 13:57:17 +05:30
Neelesh Chandola
f77ddccb6c add tests 2018-12-09 13:56:11 +05:30
Neelesh Chandola
9aa783624d include now accepts collective arguments 2018-12-09 12:33:58 +05:30
Andrii Riabushenko
e03fb08c24 change approach 2018-12-09 00:05:57 +00:00
Araq
7a66616d74 fixes #9889, fixes #9886 2018-12-08 23:48:20 +01:00
Timothee Cour
f838b1e6c1 fix #9872: setLen now works properly at CT [backport] 2018-12-08 14:33:42 -08:00
Jacek Sieka
a65141fc0b daily cruft removal 2018-12-08 13:36:38 -06:00
Andreas Rumpf
32a08d4450 Merge pull request #9895 from GULPF/unpack-defect
Make options.UnpackError inherit from system.Defect
2018-12-08 17:42:16 +01:00
Araq
e874705971 fixes nested gensym'ed parameters; fixes #9476 2018-12-08 13:30:06 +01:00
Andrii Riabushenko
5f9234e5cb add comment, fixes #9896 2018-12-08 11:39:11 +00:00
Andrii Riabushenko
94a63eef9a Fix hintXDeclaredButNotUsed for enum fields marked as used 2018-12-08 11:35:18 +00:00
Oscar Nihlgård
0a749f1a37 Make options.UnpackError inherit from system.Defect 2018-12-08 10:04:53 +01:00
Dominik Picheta
775bfb3e8d Merge async common into asyncdispatch. 2018-12-07 22:47:10 +00:00
Andreas Rumpf
160a034643 Merge pull request #9803 from GULPF/walkdirrec-relative
Add `relative` parameter to walkDirRec
2018-12-06 09:29:35 +01:00
Andreas Rumpf
d6dbc50793 Merge pull request #9873 from arnetheduck/uints-are-consts [bac,ö
allow uints to appear in deep constant expressions
2018-12-06 09:26:14 +01:00
Araq
7a0191ac7e fixes #9441 2018-12-06 08:06:54 +01:00
Jacek Sieka
db51eb3e32 allow uints to appear in deep constant expressions 2018-12-05 20:33:49 -06:00
Dominik Picheta
467274a19a Merge pull request #9869 from nim-lang/timotheecour-patch-3
Update parseutils.nim
2018-12-05 21:54:54 +00:00
Timothee Cour
14223c4b7f Update parseutils.nim 2018-12-05 11:27:22 -08:00
Araq
bc8cea2672 fixes #9614 [backport] 2018-12-05 19:49:37 +01:00
Araq
1711a60f7b fixes #9868 2018-12-05 16:16:58 +01:00
Araq
9eaf99f7e6 lambdalifting: be consistent in its handling for 'func' 2018-12-05 11:25:47 +01:00
Araq
af815c3c18 fixes #9864 [backport] 2018-12-05 10:58:18 +01:00
Araq
24106ade8f hotfix: discriminants can be of size 8 bytes [backport] 2018-12-05 09:43:59 +01:00
Andreas Rumpf
d215296497 Merge pull request #9846 from timotheecour/pr_getpid
add os.getCurrentProcessId()
2018-12-05 08:12:17 +01:00
Andreas Rumpf
88dcad7c01 Merge pull request #9862 from zevv/posix-cmsg
Added CMSG_SPACE and CMSG_LEN macros to posix.nim
2018-12-05 08:11:27 +01:00
Araq
d50336837d IC: much faster caching 2018-12-04 22:41:06 +01:00
Araq
633832d0de times.nim: Minor formatting change in the example code 2018-12-04 22:41:06 +01:00
Ico Doornekamp
c37fdbf843 Added CMSG_SPACE and CMSG_LEN macros to posix.nim 2018-12-04 21:17:22 +01:00
Andreas Rumpf
5abb6caed8 Don't use deprecated fmod in VM (#9837)
* Don't use deprecated fmod in VM

* Update changelog
2018-12-04 16:50:54 +01:00
Timothee Cour
d502ddea9e fix #9832 (fixup) (#9859) 2018-12-04 16:48:08 +01:00
data-man
d80e585438 Update changelog 2018-12-04 17:42:50 +05:00
rec
e3e5ae287f Fix fat pointers, object copying, magic double evals on JS (#9411) [backport]
* Add a test for issue #9389

* Fixes #9389.

* Make object contructors copy objects properly by checking whether the expressions passed to them don't need to be copied.
* Make mArrToSeq implementation actually check if a copy needs to be made.

* Avoid unnecessary copy in mChr impl

* Assume set constructor elements need no copy

* Add a test for issue #9410

* Add a test

* fix passing fat pointers (#9410)

* Enhance tests

* More tests and fixes

* Add more (failing) tests [ci skip]

* Added equality operator for fat pointers, more tests and fixes

* Fix printing uninitialized strings

* Fix mInc, mDec double eval, add more tests

* Tests

* Refactored, fixed multiple evals, revamped the tests, added missing ops

* Fix ups

* Fix #9643 and #9644

* add pointer normalization
2018-12-04 12:04:27 +01:00
Timothee Cour
e4850b7f1c address comments 2018-12-04 02:51:27 -08:00
Jacek Sieka
07744b6e47 More dead code (#9835)
* remove more assignment flags
* needsComplexAssignment > containsGarbageCollectedRef
* remove OnStackShadowDup
2018-12-04 11:22:59 +01:00
Timothee Cour
05769020d3 fixes #9832 (#9841) [backport] 2018-12-04 11:13:49 +01:00
Timothee Cour
c0a91970f2 fixup 2018-12-04 00:45:58 -08:00
Timothee Cour
0768d3ae38 fixup 2018-12-03 15:40:03 -08:00
Timothee Cour
53147cc546 fixup 2018-12-03 14:25:04 -08:00
Timothee Cour
af7d758cfc address comments 2018-12-03 14:03:06 -08:00
Timothee Cour
0caab530fb fixup 2018-12-03 12:51:28 -08:00
Timothee Cour
e7ab4817e2 fixup 2018-12-03 12:46:32 -08:00
Timothee Cour
b93fbcf09a add osproc.processID() 2018-12-03 12:04:46 -08:00