Commit Graph

903 Commits

Author SHA1 Message Date
Anatoly Galiulin
ebc02f6dc0 Fix `XDeclaredButNotUsed` warning when locks or rlocks module is used 2016-03-31 16:47:55 +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
Araq
13a83c7fdd Windows: fixes a regression; codegen might not know about & at this point 2016-03-29 16:39:05 +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
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
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
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
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
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
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
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
5a06c2260d Support IOFBF and IONBF on all systems 2016-03-06 22:09:27 +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
0ff56a6589 Merge pull request #3931 from yglukhov/pthread-stuff
Fixed includes for pthread types
2016-03-04 23:20:06 +01:00
Andreas Rumpf
92cf673f37 PHP codegen: use nimAt for PHP 5.3 compatibility 2016-03-04 21:59:58 +01:00
Yuriy Glukhov
39e797080d Fixed includes for pthread types. 2016-03-04 22:37:02 +02:00
Federico Ceratto
d9cb85c2d8 Spellcheck 2016-02-29 11:25:51 +00:00
Andreas Rumpf
38dee2095c added 'sig' feature; removed tfShared support in the compiler 2016-02-28 19:56:41 +01:00
Andreas Rumpf
608170b9d6 Merge branch 'devel' of github.com:nim-lang/Nim into devel 2016-02-19 01:08:00 +01:00
Andreas Rumpf
12b5c0985d Merge pull request #3881 from endragor/nocppexceptions
Added --noCppExceptions switch
2016-02-19 00:33:47 +01:00
Ruslan Mustakov
378c904131 Added --noCppExceptions switch 2016-02-18 23:01:43 +06:00
cheatfate
a27e4b5193 bug fix: repr() of sized enums presentation Issue #3864 2016-02-18 15:40:55 +02:00
Anatoly Galiulin
b0eeacf71e Added rlocks module to documentation and news.txt 2016-02-18 09:46:34 +06:00
Andreas Rumpf
8ec5c01cae further progress on --gc:v2 2016-02-17 14:52:02 +01:00
Anatoly Galiulin
0290bc2240 Added reentrant locks module to stdlib 2016-02-17 17:05:20 +06:00
Andreas Rumpf
8ec7c0af20 php-codegen fixes 2016-02-06 19:58:28 +01:00
Andreas Rumpf
9b44ca17c2 PHP codegen can generate PHP classes 2016-02-06 15:39:56 +01:00
Andreas Rumpf
35567a1eb9 first version of an PHP codegen 2016-02-06 15:39:56 +01:00
Andreas Rumpf
58f6bfb1dc Merge branch 'devel' of github.com:nim-lang/Nim into devel 2016-02-06 15:29:25 +01:00
Andreas Rumpf
03f4aa23d7 Merge pull request #3106 from def-/deprecation
Fix a few deprecation warnings
2016-02-06 15:22:19 +01:00
Andreas Rumpf
19677a11b0 some progress on GC v2 2016-02-03 17:42:10 +01:00
Andreas Rumpf
fb149d2eef fixes #1895 2016-01-30 14:23:03 +01:00
Anatoly Galiulin
4f8244c717 Remove system.setupForeignThreadGc if threads option is off or TLS
emulation is enabled
2016-01-28 12:29:53 +06:00
def
c50b5b62ef Fix a few deprecation warnings 2016-01-25 19:10:37 +01:00
def
4e0f8cf595 Use ByteAddress instead of deprecated TAddress 2016-01-24 14:02:20 +01:00