Dominik Picheta
3379646c16
Add -d:nimJsonGet flag for json.[] and news entry.
2016-04-05 21:28:53 +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
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
Dominik Picheta
147961d006
Merge pull request #4033 from PeterCxy/patch-disable-sslv3
...
net: disable SSLv3
2016-04-04 09:41:49 +01:00
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
cheatfate
0337bdc821
Add missed library dependencies on Linux and Solaris.
2016-04-03 15:37:45 +03: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
cheatfate
0a5a593682
Patch timer_create and timer_delete to have proper declaration.
2016-04-02 02:17:32 +03:00
Andreas Rumpf
a61d5e466b
added missing file for --gc:stack
2016-03-31 16:49:56 +02:00
Andreas Rumpf
f91caa7f25
Merge pull request #4000 from vegansk/fix_rlocks_warns
...
Fix ``XDeclaredButNotUsed`` warning when locks or rlocks module is used
2016-03-31 16:36:37 +02:00
Andreas Rumpf
b296e7c01f
Merge pull request #4013 from vegansk/parse_uints
...
parseUInt and parseBiggestUInt functions
2016-03-31 16:35:25 +02:00
Anatoly Galiulin
a9330391c3
Move `compiles` back
2016-03-31 16:47:55 +06:00
Anatoly Galiulin
45bbecb021
Use `when insideRLocksModule instead of when compiles`
2016-03-31 16:47:55 +06:00
Anatoly Galiulin
ebc02f6dc0
Fix `XDeclaredButNotUsed` warning when locks or rlocks module is used
2016-03-31 16:47:55 +06:00
Anatoly Galiulin
c34a68d76f
Remove dead code
2016-03-31 10:51:40 +06:00
Andreas Rumpf
d836028fe7
Merge pull request #4018 from cheatfate/dyncalls_change
...
Replace csprintf() in windows version of nimGetProcAddr
2016-03-31 02:14:51 +02:00
cheatfate
40f4fe997f
Replace csprintf() in windows version of nimGetProcAddr to pure nim's implementation, to avoid possible overflow.
2016-03-31 02:39:53 +03:00
cheatfate
266ea783e8
Make windows locks do not use dyncall
2016-03-31 00:43:56 +03: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
Araq
db2b215658
resolved merge conflicts
2016-03-29 15:31:10 +02:00
Alex Berghage
452696b980
Makes dyncall errors report to stderr. Fixes #3987
...
Hooray for bugtracker items tagged 'Easy'. Also I happened
to notice this one earlier today anyway, conveniently enough.
2016-03-29 00:19:54 -07:00
Andreas Rumpf
b4e2a846e1
munmap for LLVM
2016-03-28 02:43:16 +02:00
Andreas Rumpf
871bd8f164
added new memory management idea
2016-03-28 02:32:39 +02:00
Andreas Rumpf
878679fa3f
added missing file
2016-03-28 02:26:38 +02:00
Andreas Rumpf
e2c8d9ade0
beginnings of --gc:stack
2016-03-28 02:26:38 +02:00
Andreas Rumpf
c11487b339
GCs support ForeignCells
2016-03-28 02:15:08 +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
bc3c5485d9
Merge pull request #3988 from lihf8515/devel
...
Repair using the "db_odbc" module to query the Oracle database, the program compiled in the release mode, the return of the field value is null.
2016-03-23 16:43:52 +01:00
Dominik Picheta
d1b2c35897
Merge pull request #3982 from cheatfate/kqueue.nim
...
Modified and more reliable kqueue.nim
2016-03-23 12:55:17 +00:00
Dominik Picheta
418985d3f0
Merge pull request #3981 from nim-lang/locks-lock-template
...
Implement a `lock` template in `locks` module.
2016-03-23 12:48:38 +00:00
Dominik Picheta
34401a3639
Documentation for withLock.
2016-03-23 12:47:05 +00:00
Dominik Picheta
1cc1a7faf4
Rename locks.lock tmplt to withLock and change body to untyped.
2016-03-23 12:45:36 +00: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