Commit Graph

8058 Commits

Author SHA1 Message Date
def
dfba0bdcaf Explicitly return false 2016-03-18 19:09:27 +01:00
def
d5c332ffa8 Comment to explain not opening directories in open() 2016-03-17 22:22:52 +01:00
def
7fa3d58167 Don't check opened file for directory in nimscript 2016-03-16 13:05:04 +01:00
def
14bbfa360c Don't open directories as files 2016-03-14 13:05:06 +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
Andreas Rumpf
87e52bddbe Merge pull request #3949 from oderwat/hara-php-addr
Try to fix addr() ref and pointer for PHP
2016-03-10 13:39:32 +01:00
Andreas Rumpf
ab72944a64 Merge pull request #3959 from vegansk/tcc_tls
Fix some threading issues with tcc backend
2016-03-10 13:37:48 +01:00
Anatoly Galiulin
0968771785 Fixed threading issues for tcc backend 2016-03-10 17:45:11 +06:00
Hans Raaf
060a820d62 Try to fix addr() ref and pointer for PHP 2016-03-08 16:16:21 +01: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
78fea05091 Merge pull request #3953 from oderwat/hara-php-fix-imod
Fix für PHP codegen integer modulo calculation.
2016-03-08 15:23:56 +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
Hans Raaf
5450c944d7 Fix für PHP codegen integer modulo calculation. 2016-03-07 20:08:58 +01:00
Andreas Rumpf
3be1c6f796 Merge pull request #3952 from arnetheduck/alloc0-nogc-malloc
newObj can clear memory, even when using malloc and nogc
2016-03-07 18:31:11 +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
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
e4e8ebd4a5 Merge pull request #3943 from oderwat/hara-php-div-fix
Fix for integer division in PHP codegen.
2016-03-06 10:22:47 +01:00
Hans Raaf
eda113889c Fix for integer division in PHP codegen. 2016-03-06 02:16:31 +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
Andreas Rumpf
01055d572a Merge pull request #3940 from cheatfate/repr3939
Fix for #3939 issue
2016-03-06 02:03:27 +01:00
Andreas Rumpf
ed61b8a0ff Merge pull request #3942 from oderwat/hara-php-fpfix
Fix for PHP function pointer implementation.
2016-03-06 02:03:02 +01:00
Hans Raaf
8c1dd215ac Fix for PHP mnewString() 2016-03-06 01:03:00 +01:00
Hans Raaf
11d40e8e8b Fix for PHP function pointer implementation. 2016-03-06 01:02:22 +01:00
cheatfate
f6c456b792 Fix for #3939 issue 2016-03-06 00:55:29 +02:00
Andreas Rumpf
b02e31e409 PHP codegen: function pointers work 2016-03-05 17:55:51 +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
ef36a9dc3d fixes #3924 2016-03-05 15:12:11 +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
Andreas Rumpf
d5180bfb97 Merge pull request #3936 from yglukhov/threadpool-ios-fix
Fixed semaphore on iOS.
2016-03-05 14:34:59 +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
749ce2f36a Merge pull request #3934 from oderwat/php-fix-defer
Fix for defer in PHP Codegen.
2016-03-05 00:28:20 +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
Hans Raaf
3cc5614d97 Partial fix for defer in PHP Codegen. 2016-03-04 23:14:11 +01:00
Andreas Rumpf
13699c596e fixes #3872 2016-03-04 22:56:12 +01:00
Andreas Rumpf
dae175b3c4 fixes #3868 2016-03-04 22:41:17 +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