Commit Graph

2181 Commits

Author SHA1 Message Date
Peter Cai
3035c2c63a net: disable SSLv3
SSLv3 is no longer secure and has been removed from OpenSSL since 1.0.2.
Disabling this will enable Nim programs to run against OpenSSL 1.0.2.
2016-04-03 15:15:48 +00:00
Dominik Picheta
a8fcc546be Merge pull request #3997 from endragor/portable-mersenne
mersenne.nim public procs are no longer platform-dependent
2016-04-02 17:35:31 +01:00
Andreas Rumpf
a61d5e466b added missing file for --gc:stack 2016-03-31 16:49:56 +02:00
Anatoly Galiulin
c34a68d76f Remove dead code 2016-03-31 10:51:40 +06:00
Anatoly Galiulin
9aa845c6b6 Add parseUInt and parseBiggestUInt functions to stdlib (parseutils, strutils) 2016-03-30 17:38:57 +06:00
Andreas Rumpf
3b732259c0 Merge pull request #4009 from PMunch/json-objecthashing-fix
Changed the JSON object hashing procedure (fixing #3972)
2016-03-29 21:55:49 +02:00
Peter Munch-Ellingsen
794f9527da Changed the JSON object hashing procedure to use a symmetric operator to disregard key order in object hashes 2016-03-29 18:06:48 +02:00
Araq
13a83c7fdd Windows: fixes a regression; codegen might not know about & at this point 2016-03-29 16:39:05 +02:00
Andreas Rumpf
878679fa3f added missing file 2016-03-28 02:26:38 +02:00
Josep Sanjuas
5a582a0d9c Define ports as uint16s to fix #3484 2016-03-27 22:56:44 +02:00
Ruslan Mustakov
b235e5b279 mersenne.nim public procs no longer work with platform-dependent int type 2016-03-24 20:54:11 +06:00
Andreas Rumpf
2ffbd1d81e Merge pull request #3603 from rgv151/patch-global-log-level
Logger must respects global filter level
2016-03-23 11:39:14 +01:00
Andreas Rumpf
61f4316c2e Merge pull request #3946 from def-/strutils-join
Make strutils.join with with generic openarrays
2016-03-23 11:24:27 +01:00
Andreas Rumpf
709b0aeb8d Merge pull request #3990 from yglukhov/js-tables-fix
Fixed Table::del in JS
2016-03-22 13:42:23 +01:00
Yuriy Glukhov
308b7c0138 Fixed Table::del in JS 2016-03-21 13:35:54 +02:00
Dennis Felsing
4457b0980f Merge pull request #3980 from pgkos/rational-subtraction-fix
Fixed a typo in rational number subtraction proc
2016-03-18 19:20:04 +01:00
pgkos
ef889a1009 Fixed a typo in proc -(x: T, y: Rational[T]) 2016-03-18 16:59:15 +01:00
gmpreussner
05418890ca Setting TAU to 2 * PI 2016-03-17 23:03:20 -04:00
gmpreussner
fc1dedae73 Added TAU constant. 2016-03-17 21:57:50 -04:00
Andreas Rumpf
1073f9ec5a Merge pull request #3957 from endragor/vmropes
Make ropes usable in VM context
2016-03-10 15:37:42 +01:00
Ruslan Mustakov
d9101ea5eb Make ropes usable in VM context 2016-03-10 19:13:40 +06:00
Andreas Rumpf
a1a44c99de Merge pull request #3947 from def-/iofbf
Support IOFBF and IONBF on all systems
2016-03-10 13:40:47 +01:00
def
e6dfadf55d Use /proc/self/exe on NetBSD 2016-03-07 02:13:35 +01:00
def
4b1e3f26a7 Better getAppFilename() heuristic for OpenBSD and NetBSD
Using the environment variable _ is completely broken and makes it
impossible to build even nimble. After calling `sh` (ksh) on OpenBSD,
`_` is wrongly set to `/bin/sh` and all subprocess calls to Nim fail.
2016-03-07 02:12:44 +01:00
def
78d1b282ca Make strutils.join with with generic openarrays 2016-03-06 17:56:53 +01: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