Commit Graph

9782 Commits

Author SHA1 Message Date
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
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
Andreas Rumpf
6eb7e6cbed Merge pull request #3965 from oderwat/hara-php-fix-singlequote
Fix PHP and JS codegen to not escape single quotes in strings anymore.
2016-03-14 21:44:09 +01:00
Hans Raaf
fcc6daf78b Fix PHP and JS codegen to not escape single quotes in strings anymore. 2016-03-14 21:33:14 +01: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
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
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
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
ad7e219117 GCs support ForeignCells 2016-03-05 19:59:15 +01: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