Commit Graph

5256 Commits

Author SHA1 Message Date
def
7fa3d58167 Don't check opened file for directory in nimscript 2016-03-16 13:05:04 +01:00
Andreas Rumpf
f99d3d5e7d Merge pull request #3966 from gmpreussner/devel
Fixed negative enum values not getting stringified.
2016-03-16 11:10:14 +01:00
def
3e78930bcd fix typo in nimbase.h 2016-03-15 13:39:34 +01:00
gmpreussner
91d152c0f5 Rewrote enum sign extension with branchless bit operations (also fixes travis) 2016-03-15 00:07:18 -04:00
gmpreussner
e8ff987cef Fixed negative enum values not getting stringified. 2016-03-14 21:58:28 -04:00
def
14bbfa360c Don't open directories as files 2016-03-14 13:05:06 +01:00
Andreas Rumpf
75b03188d0 beginnings of --gc:stack 2016-03-12 13:29:27 +01: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
Anatoly Galiulin
0968771785 Fixed threading issues for tcc backend 2016-03-10 17:45:11 +06:00
Andreas Rumpf
7281b66a4f Merge pull request #3937 from oderwat/hara-foldl
Fixes foldl() and foldr() + foldl() with start parameter
2016-03-08 15:28:23 +01:00
Andreas Rumpf
2fa1312035 Merge pull request #3951 from arnetheduck/munmap-ret-fix
Munmap ret fix
2016-03-08 15:05:57 +01:00
Jacek Sieka
9928b9f48d newObj can clear memory, even when using malloc and nogc 2016-03-07 22:38:22 +08:00
Jacek Sieka
0eca706d56 provide const value for MAP_ANONYMOUS 2016-03-07 22:09:33 +08:00
Jacek Sieka
87a8bc6557 fix return type of munmap 2016-03-07 22:02:24 +08: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
c398bdc534 Fix KEvent header includes 2016-03-06 22:25:37 +01:00
def
5a06c2260d Support IOFBF and IONBF on all systems 2016-03-06 22:09:27 +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
83592af8ed Merge pull request #3941 from oderwat/hara-php-mnewString-fix
Fix for PHP mnewString()
2016-03-06 02:04:22 +01:00
Hans Raaf
8c1dd215ac Fix for PHP mnewString() 2016-03-06 01:03:00 +01:00
cheatfate
f6c456b792 Fix for #3939 issue 2016-03-06 00:55:29 +02:00
Andreas Rumpf
ad7e219117 GCs support ForeignCells 2016-03-05 19:59:15 +01:00
Andreas Rumpf
db67e95bb2 fixes JS regression 2016-03-05 17:34:06 +01:00
Andreas Rumpf
cc925d97f4 the stdlib supports &= in more contexts; refs #3524 2016-03-05 16:13:23 +01:00
Andreas Rumpf
d3ce5f34f8 fixes #3767 2016-03-05 15:12:11 +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
0ff56a6589 Merge pull request #3931 from yglukhov/pthread-stuff
Fixed includes for pthread types
2016-03-04 23:20:06 +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
Andreas Rumpf
92cf673f37 PHP codegen: use nimAt for PHP 5.3 compatibility 2016-03-04 21:59:58 +01:00
def
95f4f70f2d Use nil instead of null in json 2016-03-04 21:45:14 +01:00
Yuriy Glukhov
39e797080d Fixed includes for pthread types. 2016-03-04 22:37:02 +02: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
Dominik Picheta
84cd3d9dc4 Merge pull request #3926 from CORDEA/fix-uri-doc
Fixed an wrong example of the uri module doc.
2016-03-03 10:59:13 +00:00
CORDEA
f77bc7d93a Fixed an wrong example of the doc 2016-03-02 20:55:02 +09:00
Andreas Rumpf
63109d5312 Merge pull request #3921 from vegansk/issue_3889_mingw_tls
Fixed NIM_THREADVAR definition in nimbase.h
2016-03-02 10:05:12 +01:00
Andreas Rumpf
180a4b7657 Merge branch 'devel' of github.com:nim-lang/Nim into devel 2016-03-01 23:25:58 +01:00
Andreas Rumpf
06d4131ce1 fixes #3669 2016-03-01 23:25:46 +01:00
Samantha Doran
d732279203 Don't expect all keys in hashsets to have $ defined 2016-03-01 11:23:47 -05:00
Anatoly Galiulin
1a1710c3ec Fixed NIM_THREADVAR definition in nimbase.h 2016-03-01 17:23:10 +06:00