Commit Graph

5256 Commits

Author SHA1 Message Date
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
Jacek Sieka
2b74bbba0e fix initAllocator not being called when defined(nogc) and not defined(useMalloc)
else bottom is not properly initialized - running with sysAssert catches
this issue nicely
2016-03-30 20:56:44 +08:00
Anatoly Galiulin
9aa845c6b6 Add parseUInt and parseBiggestUInt functions to stdlib (parseutils, strutils) 2016-03-30 17:38:57 +06:00
Felix Krause
f1f1202ea0 Added YAML support to doctools/highlite 2016-03-29 22:49:34 +02: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
Jacek Sieka
25f9330928 store block size in when using malloc and nogc
this allows for a correct implementation of realloc, which is needed as
code using it assumes new values will be zeroed out / nil
2016-03-25 20:54:01 +08: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
Andreas Rumpf
7b071a7555 Merge pull request #3963 from def-/compiler-dir
Don't try to read directories as files
2016-03-23 11:22:50 +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
lihf8515
1a5bde28ed 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-21 15:15:28 +08:00
cheatfate
e91e53401e Modified and more reliable kqueue.nim, made according to openbsd/netbsd/freebsd and macosx headers. 2016-03-18 22:19:01 +02:00
Dominik Picheta
f0341979bd Implement a lock template in locks module. 2016-03-18 19:06:34 +00: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
def
dfba0bdcaf Explicitly return false 2016-03-18 19:09:27 +01:00
Araq
8bf14b12a9 proper indentation 2016-03-18 18:56:01 +01:00
Araq
aa47302866 get rid of compiler warning 2016-03-18 18:53:17 +01:00
Dominik Picheta
8dade039d7 Merge pull request #3976 from gmpreussner/devel
Added TAU constant.
2016-03-18 17:40:40 +00: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
def
d5c332ffa8 Comment to explain not opening directories in open() 2016-03-17 22:22:52 +01:00
Dominik Picheta
669917c726 Merge pull request #3971 from gmpreussner/devel
Renamed local variable to avoid compiler warning.
2016-03-17 21:02:00 +00:00
gmpreussner
9920de0147 Renamed local variable to avoid compiler warning. 2016-03-16 11:34:09 -04:00