Federico Ceratto
497925ab6d
Disable pegs
2016-04-11 18:00:53 +01:00
Andreas Rumpf
07b6a32d7a
Merge pull request #4074 from yglukhov/base64
...
Fixed base64 encode
2016-04-11 16:14:37 +02:00
Yuriy Glukhov
8cd4ec978c
Fixed base64 encode
2016-04-11 16:47:18 +03:00
Federico Ceratto
6d256ba76e
Update posix.nim
2016-04-11 12:07:45 +01:00
Federico Ceratto
8b1faad5a7
Add signal handler
...
A signal handler to run some code when Unix signals are received
2016-04-10 17:14:38 +01:00
Andreas Rumpf
d6cf109952
Merge pull request #4051 from yglukhov/json-getOrDefault
...
Added json.getOrDefault along with {singleKey} tr optimization.
2016-04-09 13:07:36 +02:00
Andreas Rumpf
1d5c28fc14
Merge pull request #4050 from yglukhov/tr-varargs
...
Fixed tr pattern matching for varargs
2016-04-09 13:06:38 +02:00
Yuriy Glukhov
3922a0871d
else: break
2016-04-09 01:33:16 +03:00
Andreas Rumpf
7d3f47cef9
Merge pull request #4058 from yglukhov/js-closures-test
...
Added js closures test. Fixes #3132 .
2016-04-09 00:31:45 +02:00
Yuriy Glukhov
2bf6f57930
Added js closures test. Fixes #3132 .
2016-04-07 22:57:35 +03:00
Yuriy Glukhov
b6f5c12158
Fixed tr pattern matching for varargs
2016-04-07 21:24:43 +03:00
Andreas Rumpf
9a747828fe
Merge pull request #4049 from arnetheduck/tester-targets
...
tester: allow filtering tests by target
2016-04-07 13:34:01 +02:00
Dominik Picheta
b1b14a5e7b
Add Bountysource banner to website.
2016-04-06 22:24:50 +01:00
Yuriy Glukhov
181c834a93
Added json.getOrDefault along with {singleKey} tr optimization.
2016-04-06 14:16:30 +03:00
Dominik Picheta
a3a0812c89
Merge pull request #4038 from endragor/fix-macros-unpacks
...
Fixed macros unpackX procedured to return values correctly
2016-04-06 10:48:08 +01:00
Dominik Picheta
9b6fda144a
Some documentation fixes in times module.
2016-04-06 10:45:39 +01:00
coffeepots
d9ed61fa62
Deprecate timeToTimeInfo, add str->time procs
...
* depreciate timeToTimeInfo, add str->time procs
initTime allows creating times from strings. initTimeFromStr offers a default format string compatible with $Time.
timeToTimeInterval changed to work properly.
* Spell {.deprecated.} correctly
* deprecated timeToTimeInfo, removed initTime procs
Is it even worth depreciating timeToTimeInfo rather than just removing it, considering it's just wrong and we have getLocalTime and getGMTime that actually work? Also, if I'm renaming timeToTimeInfo -> toTimeInfo etc, isn't the deprecated tag kind of redundant?
* Updated names for toTime and toTimeInterval procs
* Added type to toTime template
This should allow compilation of os.nim now that toTime is defined in times.nim.
* Updated toTime template to use {.gensym.}
Local templates default to 'bind' semantics, not 'gensym'. This was causing a failure to 'see' the local toTime template.
2016-04-06 10:36:17 +01:00
Dominik Picheta
d1ba2d42bf
Merge branch 'tester_ignore_output' into devel
2016-04-05 23:17:39 +01:00
Dominik Picheta
c36421f8e4
Fixes subexes tests which were broken in 73e48f9c9.
2016-04-05 23:08:51 +01:00
Dominik Picheta
082ba914bc
Prevent tester from checking for output diffs for actionRunNoSpec.
2016-04-05 21:45:52 +01:00
Dominik Picheta
3379646c16
Add -d:nimJsonGet flag for json.[] and news entry.
2016-04-05 21:28:53 +01:00
Jacek Sieka
796f4e917c
untaint command line option for parsing
2016-04-06 00:01:57 +08:00
Jacek Sieka
25abb7c2b6
tester: allow filtering tests by target
2016-04-05 20:51:13 +08:00
Andreas Rumpf
2d80a9e4a6
Merge pull request #4047 from jboy/patch-1
...
Add `import sharedlist` when `hasThreadSupport`
2016-04-05 13:49:59 +02:00
Dominik Picheta
46ee026e77
Many additions to readme.
2016-04-05 12:11:37 +01:00
James Boyden
13d06d9a5c
Add import sharedlist when hasThreadSupport
...
Without this change, a user's Nim code won't compile if they're using both threads & the mark-and-sweep GC:
lib/system/gc_ms.nim(75, 18) Error: undeclared identifier: 'SharedList'
toDispose: SharedList[pointer]
^
This small code block addition was copied from "lib/system/gc.nim" (where it appears directly after a `when defined(memProfiler)` block also).
2016-04-05 19:45:46 +10:00
Dominik Picheta
1446dc87c3
await x where x is Fut var now reads after yield. Fixes #3964 .
2016-04-04 22:50:31 +01:00
Dominik Picheta
b22305758d
Fix deprecation warning in net module.
2016-04-04 21:52:49 +01:00
Dominik Picheta
c90df48293
Fixes JSON module problems. Fixes #3107 .
2016-04-04 21:52:10 +01:00
Dominik Picheta
8050f43588
Fixed some warnings in httpclient, net, and openssl.
2016-04-04 21:28:21 +01:00
Dominik Picheta
3ad103b8cc
Fixes small mistake in `net` module.
2016-04-04 21:20:29 +01:00
Dominik Picheta
03be03c6e4
Improved asyncnet docs (SSL procs now shown). Deprecated handshake.
2016-04-04 21:00:43 +01:00
Dominik Picheta
8e6f5f20f6
Improve net and ssl module docs.
2016-04-04 20:47:47 +01:00
Dominik Picheta
38d6e2c221
Deprecated matchers module. Fixes #2446 .
2016-04-04 20:22:22 +01:00
Dominik Picheta
aa01c346f7
Fixes #3159 .
2016-04-04 20:15:52 +01:00
Andreas Rumpf
af70254c7b
fixes #2006
2016-04-04 16:41:35 +02:00
Jacek Sieka
cf5b7cbdef
fix type used for chckRange node boundaries
...
else you end up with for example an int64-sized value with an int32
type, when checking int32 -> Natural
2016-04-04 21:59:19 +08:00
Dominik Picheta
442a682c33
Better additionalInfo OSError message, ref #2650 .
2016-04-04 14:44:26 +01:00
Dominik Picheta
73e48f9c9c
Fixes #4037
2016-04-04 13:39:42 +01:00
Dominik Picheta
436b003173
Merge branch 'devel' of github.com:nim-lang/Nim into devel
2016-04-04 12:06:42 +01:00
Dominik Picheta
a70e6b3fde
Fixes #3752 .
2016-04-04 12:06:25 +01:00
Ruslan Mustakov
1d85ca3aa4
Fixed macros unpackX procedured to return values correctly
2016-04-04 15:50:02 +06:00
Andreas Rumpf
fbedb6c655
fixes #3646
2016-04-04 11:16:20 +02:00
Dominik Picheta
147961d006
Merge pull request #4033 from PeterCxy/patch-disable-sslv3
...
net: disable SSLv3
2016-04-04 09:41:49 +01:00
Andreas Rumpf
4869d4e82a
fixes #4036
2016-04-04 10:28:18 +02:00
Andreas Rumpf
6d67581409
fixes #3859
2016-04-04 10:19:20 +02:00
Andreas Rumpf
cbcdf12d2c
fixes #3731
2016-04-04 10:16:15 +02:00
Andreas Rumpf
0acdaea334
fixes #3561 , fixes #2409
2016-04-04 02:45:43 +02:00
Andreas Rumpf
86e79f5cec
fixes #3804
2016-04-04 01:41:14 +02:00
Andreas Rumpf
cb3a38afa2
fixes #1152
2016-04-03 23:38:29 +02:00