Erwan Ameil
2f3add99bb
Change empty callback into nil
2014-11-02 15:55:33 +01:00
Simon Krauter
f3d7158d5d
Fix terminate() and add kill()
2014-11-02 03:00:47 +01:00
Varriount
cbe733afa2
Revert "Remove extra trailing zero"
2014-11-01 17:52:00 -04:00
Flaviu Tamas
a77dc8e46c
Remove extra trailing zero
2014-11-01 17:12:45 -04:00
Reimer Behrends
6e3720155a
Various atomics fixes for gcc/clang.
...
Make atomicInc/atomicDec work with clang, too; also, actually import
the memory model constants from C rather than relying on the enum
matching the C constants by happenstance.
2014-10-30 03:42:50 +01:00
Flaviu Tamas
218cb7587a
re module returns nil on failed captures
...
- tests included
- news.txt updated
2014-10-29 17:54:43 -04:00
Flaviu Tamas
bc3464ede7
Modify pegs.nim such that no match will return nil
...
An empty match will return ""
A zero-length match will return nil
Add test cases
Add news information
2014-10-29 17:54:43 -04:00
Araq
73ff0432dc
docgen works on linux
2014-10-27 00:12:36 +01:00
Araq
7a48942719
nicer error messages (untested)
2014-10-26 19:54:43 +01:00
Araq
a639824e5e
introduced 'benign' pragma
2014-10-25 22:01:23 +02:00
Araq
201d3c9ed0
Merge branch 'devel' into bigbreak
...
Conflicts:
web/news.txt
2014-10-23 23:13:49 +02:00
Araq
ca4d7b1ea8
Merge branch 'bigbreak' of https://github.com/Araq/Nimrod into bigbreak
2014-10-21 22:41:32 +02:00
Andreas Rumpf
72476e1594
Merge pull request #1566 from onionhammer/bigbreak
...
Fixed FD_SET casing
2014-10-21 21:48:56 +02:00
Araq
c95e0df29d
'echo' doesn't lock
2014-10-21 19:51:46 +02:00
Milos Negovanovic
2a203e5340
Add comment.
2014-10-21 15:56:00 +01:00
Milos Negovanovic
11a2cfb306
Add comment.
2014-10-21 15:55:02 +01:00
Milos Negovanovic
f5cd0a63ad
Merge branch 'devel' of github.com:Araq/Nimrod into devel
2014-10-21 15:29:25 +01:00
Araq
53a9d6f5cd
Merge branch 'devel' into bigbreak
...
Conflicts:
compiler/nim.ini
doc/manual.txt
doc/tut2.txt
koch.nim
lib/system/channels.nim
readme.txt
tools/niminst/niminst.nim
tools/nimweb.nim
web/download.txt
web/news.txt
2014-10-20 08:44:00 +02:00
Araq
b0179f9af5
2nd attempt to fix tryRecv
2014-10-20 01:49:51 +02:00
Araq
60a7532bda
fixes tryRecv
2014-10-20 01:09:54 +02:00
Araq
c7570dcd3e
Merge branch 'devel' into bigbreak
...
Conflicts:
compiler/ast.nim
compiler/nimfix/prettybase.nim
compiler/pragmas.nim
compiler/sempass2.nim
doc/manual.txt
koch.nim
lib/pure/concurrency/threadpool.nim
web/news.txt
2014-10-13 08:26:24 +02:00
Erwan Ameil
06c32aab29
Tidy up the prettification of the default verbosity c compilation output
2014-10-13 01:54:44 +02:00
Erwan Ameil
679aefd89c
Prettify compiler output for verbosity=1
...
Long lines displaying the invocation of the c compiler are replaced
with short, readable lines.
2014-10-12 23:30:32 +02:00
Andreas Rumpf
cb7c485f92
Merge pull request #1564 from trustable-code/devel
...
Raise exception on adding a non-existent file to a zip archive
2014-10-12 13:49:12 +02:00
Araq
399c985b62
fixes recent regression
2014-10-11 21:44:35 +02:00
Araq
753d18d66c
minor cleanup for cpuinfo
2014-10-11 13:16:51 +02:00
Araq
6c9730b353
fixes #1551
2014-10-11 12:25:15 +02:00
Erik O'Leary
09f177e0cc
patched fdset call in osproc
2014-10-10 22:49:44 -05:00
Erik O'Leary
aac8de6b4c
Fixed FD_SET casing
2014-10-10 22:36:15 -05:00
Grzegorz Adam Hankiewicz
aa1fb9a07e
Adds stringification support for nnkPostfix nodes.
2014-10-11 00:53:26 +02:00
Simon Krauter
d526e051c5
Code more cleaner
2014-10-11 00:20:49 +02:00
Simon Krauter
fa3545c092
Raise exception on adding a non-existent file to a zip archive
2014-10-10 23:24:28 +02:00
Luis Ricardo
54f6280d76
Update cpuinfo.nim
...
sys/types.h needed for macosx and freebsd
sys/param.h needed for openbsd and netbsd
2014-10-07 17:02:50 -04:00
Dominik Picheta
16e0cda136
CS fixes for dialogs on Windows.
2014-10-05 20:22:07 +01:00
Araq
3354f7e098
fixes a race condition that caused '^' to hang
2014-10-05 11:43:48 +02:00
Araq
a9a5766c66
docgen should work again
2014-10-05 03:06:19 +02:00
Grzegorz Adam Hankiewicz
57dadb35dc
Hides TJsonError, it wasn't being used.
2014-10-04 23:06:22 +02:00
Grzegorz Adam Hankiewicz
400fd6ab51
Documents json module.
2014-10-04 23:06:22 +02:00
Araq
fc47c0edc7
Merge branch 'devel' of https://github.com/Araq/Nimrod into bigbreak
...
Conflicts:
lib/impure/db_postgres.nim
lib/pure/os.nim
lib/wrappers/postgres.nim
2014-10-04 19:40:23 +02:00
Araq
e65c296bcc
implemented mixed mode codegen
2014-10-03 01:21:35 +02:00
Araq
595cc93762
recursive tuple types are now invalid (breaking change)
2014-10-02 16:54:05 +02:00
Andreas Rumpf
c17c8e9afa
Merge pull request #1545 from rbehrends/setjmp-perf
...
Improve setjmp()/longjmp() performance.
2014-10-02 01:35:59 +02:00
Grzegorz Adam Hankiewicz
2df195c8e2
Fixes line numbering.
2014-10-02 00:59:07 +02:00
Dominik Picheta
baae9bfea8
s/sock/fd/. Fixes #1487 .
2014-09-27 17:15:32 +01:00
Araq
d576fbb39a
implemented locking levels; still incomplete
2014-09-27 15:06:06 +02:00
Milos Negovanovic
f59ac26b85
Tweaks for postgres driver (not tested yet).
2014-09-26 11:23:13 +01:00
Milos Negovanovic
b22f858111
Merge branch 'devel' of github.com:Araq/Nimrod into devel
...
Merging mainline devel.
2014-09-26 11:14:32 +01:00
Araq
1088814e56
deepCopy is instantiated when its corresponding type is instantiated
2014-09-26 09:36:09 +02:00
Reimer Behrends
f99c40f61b
Improve setjmp()/longjmp() performance.
...
Exception handling for the C backend used setjmp()/longjmp()
unconditionally. However, on POSIX systems, these functions save and
restore the signal mask, adding considerable overhead to exception
handling, even where no exceptions are involved. The compiler and
library now try to use either _setjmp()/_longjmp() or
sigsetjmp()/siglongjmp() where possible, marked by the defines
"nimRawSetjmp" and "nimSigSetjmp", respectively. The define
"nimStdSetjmp" can be used to revert to setjmp()/longjmp() instead.
2014-09-25 23:29:02 +02:00
Araq
dfd7390277
added $* for subexes
2014-09-24 03:01:16 +02:00