Commit Graph

11210 Commits

Author SHA1 Message Date
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
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
Andreas Rumpf
00c4861208 fixes #3836 2016-03-04 22:18:58 +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
reactormonk
3ae45691d2 Merge pull request #3932 from SSPkrolik/set-js-fix
Removed unused import of 'os' module from module 'sets'
2016-03-04 11:33:20 +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