Commit Graph

2460 Commits

Author SHA1 Message Date
Dominik Picheta
656da1f6a9 WIP: as with generics. 2017-02-02 21:36:49 +01:00
Araq
e236039d10 make tests on Windows green under --pedantic 2017-02-02 21:12:36 +01:00
Andreas Rumpf
56aa1ac5bc new name mangling scheme implemented 2017-02-02 10:30:01 +01:00
Ruslan Mustakov
fb8168d338 Fix Windows accept() to fail future instead of raising
Resolves: #5279
2017-02-01 18:18:44 +07:00
Parashurama
c57fcf42df fix string slice & splice (#5311)
code fixes courtesy of @memophen
2017-02-01 12:13:01 +01:00
Eugene Kabanov
d90f3f59ac Fixes for upcoming asyncdispatch and ioselectors. (#5309) 2017-02-01 12:12:26 +01:00
Andreas Rumpf
3c773c189f fixes #4973 2017-02-01 12:09:24 +01:00
Dominik Picheta
e8c46d29cd WIP implementation of except ExcType as ident syntax. Refs #3691. 2017-02-01 00:32:56 +01:00
Araq
16260b23c7 make tests on Windows green 2017-01-31 23:05:36 +01:00
Araq
5b32dafff4 testament: OS specific disables 2017-01-31 22:54:58 +01:00
Araq
86833b53a4 added a testcase for getThreadId 2017-01-31 13:18:18 +01:00
Araq
79f4b37d3b added test case; threadex example crashes now 2017-01-30 21:11:37 +01:00
Michael Jendrusch
d75760f5d3 made nodecl implicit for vars in the js backend. (#5297) 2017-01-29 17:34:08 +01:00
Araq
68617adb91 fixes #5216 2017-01-27 09:49:45 +01:00
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