Commit Graph

2096 Commits

Author SHA1 Message Date
Michael Jendrusch
536015ee7b Implement RFC #4873 improvements to JavaScript FFI (#5213) 2017-01-26 00:07:30 +01:00
Andreas Rumpf
1fa3a9dac2 bugfix: inline iterator do not mess up line information anymore 2017-01-25 09:34:51 +01:00
shsnow23
c7e54eba91 fix genderef of jsgen (#5274) 2017-01-24 16:59:34 +01:00
Andreas Rumpf
eb96eaa5c2 onThreadDestruction feature added to Nim's threading model 2017-01-24 12:07:44 +01:00
Ruslan Mustakov
35d48765fb Use onThreadCreation to set default SSL context for each thread (#5265)
Fixes: #4998
2017-01-23 21:04:14 +01:00
Andreas Rumpf
d651012688 template+emit supports volatileRead and volatileWrite ops 2017-01-23 11:22:19 +01:00
Araq
cdebcf23d9 new segfaults.nim stdlib module works on Windows 2017-01-20 17:08:11 +01:00
Andreas Rumpf
7ff80cc8b2 first implementation of segfaults stdlib module 2017-01-20 12:40:54 +01:00
Michael Jendrusch
953b8cbcc2 fixes #5234 (#5240) 2017-01-20 05:16:42 +01:00
Arne Döring
e8a00b805f fix seq add for nim node in VM (#5253)
fixes #4821
2017-01-19 20:10:01 +01:00
Arne Döring
130f30ddb2 make quote ast a ref type (#5246)
* make quote ast a ref type
* recursive set flag isRef for quoted ast
2017-01-19 16:39:18 +01:00
Andreas Rumpf
b85898cd41 fixes #5237 2017-01-19 13:26:22 +01:00
Lolo Iccl
a296f091e4 Fixes #5225 (#5243)
* Fixes #5225

* Fixes #5225

* Fixes #5225

fix typo
2017-01-18 21:04:03 +01:00
Yuriy Glukhov
05dec08cea Fixes #5244 (#5245) 2017-01-18 20:13:08 +01:00
Andreas Rumpf
61937974e2 added system.onThreadCreation feature for safe thread local storage initializations 2017-01-18 13:41:55 +01:00
Lolo Iccl
b6b5a11be7 Fixes #5112 (Fix error messages raised when multiple modules have the same original name) (#5220)
Fixes #5112
2017-01-17 16:58:50 +01:00
Michael Jendrusch
454547da8e Removed mangling of object fields for the js target only. (#5226)
* removed mangling of object fields for the js target only.

* changed default mangling behaviour for the php target as well.

* Added test for unorthodox field names (reserved words and operators). Adjusted field accessors and object constructors / new to be ECMAScript first edition compatible, when using fieldnames which are reserved words.
2017-01-17 16:43:06 +01:00
Andreas Rumpf
54a6c5b348 fixes #5218 2017-01-16 23:04:53 +01:00
Eugene Kabanov
108f5e688e Fix #5128, #5184. (#5214)
* Fix #5128, #5184.
Removed flush() procedure from ioselectors.nim
Changed methods of work with application-driven data

* Make cache switch for kqueue, update test for it.

* Fix registerProcess bug returns wrong id.
Fix tupcoming_async test to compile with upcoming again.
Change socket() as unique identifier to dup(socket) as unique identifier.
2017-01-16 14:01:40 +01:00
Brandon Pickering
9f95dd8e1d Create temp var in deepcopy if needed (#5205) 2017-01-15 06:26:59 +01:00
mfxmfx
8699372109 Correct the spelling of the word 'overridden'. (#5212) 2017-01-11 13:40:10 +01:00
Parashurama
d04ca6ef23 Improve & optimize strutils 'find' procs (#5196)
* add 'last' argument to 'find' procs in strutils
* add 'rfind' proc for looking up set[char] in strutils
* use optimised C function 'memchr' when available
2017-01-11 09:48:31 +01:00
Lolo Iccl
abe5cb82a0 Fix for #5134 (parseJson(string) should fail on leftover data) (#5203) 2017-01-11 06:50:18 +01:00
Brandon Pickering
da1293c405 Reset exprs before return by arg. Fixes #5098 (#5191) 2017-01-11 06:24:31 +01:00
Brandon Pickering
c98a8f3701 Handle different enum sizes in reprAux (#5207) 2017-01-11 05:54:04 +01:00
Andreas Rumpf
013e11fcc4 add copyDir stdlib test 2017-01-10 11:27:03 +01:00
Zahary Karadjov
bf612a7f19 fix #4884 2017-01-08 23:24:27 +02:00
Araq
9d488261df added system.gorgeEx that includes the exitCode; refs #4874; fixes #1994 2017-01-07 02:38:26 +01:00
Araq
bf8f00f717 make nimforum compile again 2016-12-31 11:37:58 +01:00
Dominik Picheta
09b6d8c0ca Merge pull request #5163 from vegansk/5155-async
Adds pending operations presence check function to asyncdispatch, fixes #5155
2016-12-30 11:06:38 +00:00
Araq
cfea779e23 fixes #2050 2016-12-30 02:21:15 +01:00
Araq
4104ee121d fixes #5147 2016-12-30 00:59:10 +01:00
Araq
700c024e13 fixes #5148 2016-12-29 19:32:43 +01:00
Anatoly Galiulin
8e71949b78 Add pending operations presence check function, fixes #5155 2016-12-29 17:27:03 +07:00
Andreas Rumpf
39b25cf4dc simple closure iterator calling closure iterator works; refs #3837 2016-12-27 09:51:58 +01:00
Araq
93fb8b67b9 fixes #5142 2016-12-23 12:27:14 +01:00
Araq
0daca5c463 make travis green 2016-12-22 20:46:12 +01:00
Araq
0ef6815529 fixes #5140 2016-12-22 16:43:37 +01:00
Andreas Rumpf
0f9d746da5 Merge branch 'devel' of github.com:nim-lang/Nim into devel 2016-12-22 09:13:36 +01:00
Andreas Rumpf
7bd473c59b fixes #5137 2016-12-22 09:13:22 +01:00
Chris Heller
af63bd4e0b Update unit test to handle AssertionError instead of ValueError for #5119 2016-12-21 19:06:11 -08:00
Chris Heller
40d034b7e3 Guard against calling split with an empty string as a separator. Fixes #5119 2016-12-21 12:06:59 -08:00
Andreas Rumpf
2bb49136de added missing file 2016-12-21 12:49:20 +01:00
Andreas Rumpf
d2fe857f94 fixes #5136 2016-12-21 11:38:33 +01:00
Andreas Rumpf
06a8d37f9a fixes #5135 2016-12-21 11:09:47 +01:00
Araq
c166394024 fixes #5131 2016-12-20 22:42:25 +01:00
Araq
237252f90c Merge branch 'devel' into sighashes 2016-12-19 11:35:45 +01:00
Araq
c130a2af17 make tests green 2016-12-18 23:32:15 +01:00
Araq
39ca8b8c8e fixes #4818 2016-12-18 23:11:53 +01:00
Araq
91935fd915 fixes #4308, fixes #4905 2016-12-18 20:21:50 +01:00