Ruslan Mustakov
d9101ea5eb
Make ropes usable in VM context
2016-03-10 19:13:40 +06:00
Hans Raaf
cddabcfc63
Fixes foldl() and foldr() + foldl() with start parameter.
...
This fixes the (potential) multi-evaluation of the sequence parameter in
foldl() and foldr().
It also adds a foldl() version which gets a start parameter. This allows
for creating a result with a different type than the elements of the
sequence.
2016-03-06 17:52:18 +01:00
Andreas Rumpf
cc925d97f4
the stdlib supports &= in more contexts; refs #3524
2016-03-05 16:13:23 +01:00
Andreas Rumpf
267a2756e4
Merge pull request #3903 from kosz78/devel
...
Fixed THINSTANCE declaration in dynlib.nim for VS compiler
2016-03-05 14:39:53 +01:00
Andreas Rumpf
b55074ea6e
Merge pull request #3935 from yglukhov/ios-environ
...
Avoid using private _NSGetEnviron API on iOS.
2016-03-05 14:35:14 +01:00
Yuriy Glukhov
9cdb4ee1cb
Fixed semaphore on iOS.
2016-03-05 14:20:09 +02:00
Yuriy Glukhov
dca3daf4d4
Avoid using private _NSGetEnviron API on iOS.
2016-03-05 14:18:36 +02:00
Andreas Rumpf
1d443cec8d
Merge pull request #3933 from def-/jsonnil
...
Support json null in %*
2016-03-05 00:28:44 +01:00
Andreas Rumpf
82114b7980
Merge branch 'devel' of github.com:nim-lang/Nim into devel
2016-03-04 22:19:19 +01:00
Andreas Rumpf
50d2a5868a
added intsets.clear proc
2016-03-04 22:19:11 +01:00
def
95f4f70f2d
Use nil instead of null in json
2016-03-04 21:45:14 +01:00
def
0179d842dc
Support json null in %*
2016-03-04 19:16:49 +01:00
Rostyslav Dzinko
bbf12aab4f
Removed unused import of 'os' module from module 'sets'
2016-03-04 11:34:27 +02:00
Konstantin Zaitsev
f73fa61c98
Merge remote-tracking branch 'upstream/devel' into devel
2016-03-03 17:47:36 +06:00
CORDEA
f77bc7d93a
Fixed an wrong example of the doc
2016-03-02 20:55:02 +09:00
Samantha Doran
d732279203
Don't expect all keys in hashsets to have $ defined
2016-03-01 11:23:47 -05:00
Yuriy Glukhov
1b4fc744db
Fixed bad JS codegen for new json with tables. Added json to JS tests.
2016-02-29 17:53:52 +02:00
Federico Ceratto
d9cb85c2d8
Spellcheck
2016-02-29 11:25:51 +00:00
Konstantin Zaitsev
6f0cab7060
Added checks for CPP
2016-02-28 17:25:12 +06:00
def
ef1d771cf2
Export tables.$ in json module
2016-02-27 23:58:14 +01:00
Anatoly Galiulin
5cfb653094
Fixed issue 3905 with getTimezone in js
2016-02-26 16:17:38 +06:00
Andreas Rumpf
cce64c3357
Merge pull request #3810 from def-/json-speedup
...
Use tables instead of seqs for json objects
2016-02-25 20:16:58 +01:00
Konstantin Zaitsev
2693179834
Fixed THINSTANCE declaration in dynlib.nim for VS compiler
2016-02-25 15:03:02 +06:00
def
7177e0058b
Consistently use Channel instead of TChannel
2016-02-25 04:04:45 +01:00
def
887a8d1f0a
Annotate hash with {.noSideEffect.}
2016-02-24 19:03:55 +01:00
def
9aecdb587b
Initialize JObject fields with capacity 4 by default to save memory and improve performance
2016-02-24 19:03:55 +01:00
def
129499d8e9
Use tables instead of seqs for json objects
...
Significant speedup for some operations, fixes #3809
Not tested very well yet
2016-02-24 19:03:55 +01:00
Dominik Picheta
3762a47cc4
Remove debug echo introduced in #3896 .
2016-02-24 00:00:20 +00:00
def
9afe2c1d8f
Fix redirection in httpclient ( fixes #3895 )
2016-02-23 15:18:17 +01:00
def
41e1f3241b
Fix building documentation in releases ( fixes #3823 )
2016-02-21 14:52:26 +01:00
Andreas Rumpf
73291aa1bc
Merge pull request #3781 from rgv151/patch-net-gc-safe
...
[net/httpclient] make it gc-safe #2692
2016-02-06 15:26:07 +01:00
Andreas Rumpf
981974ab11
Merge pull request #3831 from ephja/nimrod-to-nim
...
nimrod -> nim
2016-02-06 15:24:09 +01:00
Andreas Rumpf
03f4aa23d7
Merge pull request #3106 from def-/deprecation
...
Fix a few deprecation warnings
2016-02-06 15:22:19 +01:00
def
62955292f2
Revert removal of raiseOSError
2016-02-06 13:51:51 +01:00
def
11f055c652
Fix json.%* for empty objects
2016-02-06 03:29:09 +01:00
def
bf8e371d7e
Revert raiseOSError change
2016-02-06 01:29:12 +01:00
Erik Johansson Andersson
f8d98700ac
nimrod -> nim
2016-02-05 19:11:43 +01:00
Andreas Rumpf
cf9d8d6bba
Merge pull request #3814 from scriptum/fix-3802
...
Use defer in iterator to avoid possible leaks
2016-02-05 03:30:48 +01:00
Pavel Roschin
17dff030ae
Use defer in iterator to avoid possible leaks. Fixes #3802
2016-02-02 23:20:39 +03:00
Andreas Rumpf
ec1abdef97
fixes #3789
2016-01-31 01:32:09 +01:00
Bruce Doan
4a3a9d8ab8
export parseIpAddress proc
2016-01-27 00:07:31 +07:00
Bruce Doan
443ec02a92
make it gc-safe #2692
2016-01-26 23:06:15 +07:00
def
c10d963e85
bindaddr raises ValueError exception instead of OSError
2016-01-26 16:16:55 +01:00
Andreas Rumpf
1fbeedaba2
Merge branch 'devel' of https://github.com/nim-lang/Nim into devel
2016-01-26 12:46:38 +01:00
Andreas Rumpf
d338744d7a
os.findExe on Windows can deal with quotes
2016-01-26 12:43:07 +01:00
def
c50b5b62ef
Fix a few deprecation warnings
2016-01-25 19:10:37 +01:00
def
4246f660ea
Only use execvpe on linux, execvp elsewhere ( fixes #3759 )
2016-01-24 19:18:16 +01:00
Andreas Rumpf
732479b797
Merge pull request #3742 from boydgreenfield/boydgreenfield-nimprof-warning
...
Improve warning msg when -d:profiler not passed
2016-01-22 00:00:14 +01:00
Nick Greenfield
5e8762c21e
Improve warning msg when -d:profiler not passed
...
Partially addresses #3741
2016-01-21 13:49:13 -08:00
Yuriy Glukhov
df211b24fd
Dont convert string to cstring when writing to stream.
2016-01-21 11:41:52 +02:00