Commit Graph

8623 Commits

Author SHA1 Message Date
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
Andreas Rumpf
709b0aeb8d Merge pull request #3990 from yglukhov/js-tables-fix
Fixed Table::del in JS
2016-03-22 13:42:23 +01:00
Yuriy Glukhov
308b7c0138 Fixed Table::del in JS 2016-03-21 13:35:54 +02:00
lihf8515
1a5bde28ed Repair using the db_odbc module to query the Oracle database, the program compiled in the release mode, the return of the field value is null. 2016-03-21 15:15:28 +08:00
cheatfate
e91e53401e Modified and more reliable kqueue.nim, made according to openbsd/netbsd/freebsd and macosx headers. 2016-03-18 22:19:01 +02:00
Dominik Picheta
f0341979bd Implement a lock template in locks module. 2016-03-18 19:06:34 +00:00
Dennis Felsing
4457b0980f Merge pull request #3980 from pgkos/rational-subtraction-fix
Fixed a typo in rational number subtraction proc
2016-03-18 19:20:04 +01:00
def
dfba0bdcaf Explicitly return false 2016-03-18 19:09:27 +01:00
Araq
8bf14b12a9 proper indentation 2016-03-18 18:56:01 +01:00
Araq
aa47302866 get rid of compiler warning 2016-03-18 18:53:17 +01:00
Dominik Picheta
8dade039d7 Merge pull request #3976 from gmpreussner/devel
Added TAU constant.
2016-03-18 17:40:40 +00:00
pgkos
ef889a1009 Fixed a typo in proc -(x: T, y: Rational[T]) 2016-03-18 16:59:15 +01:00
gmpreussner
05418890ca Setting TAU to 2 * PI 2016-03-17 23:03:20 -04:00
gmpreussner
fc1dedae73 Added TAU constant. 2016-03-17 21:57:50 -04:00
def
d5c332ffa8 Comment to explain not opening directories in open() 2016-03-17 22:22:52 +01:00
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
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