Commit Graph

2138 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
Reimer Behrends
d0b292b466 Fix permissions for createDir() on Unix systems.
Permissions were set to 0o711 by default; they should be 0o777, with
umask being responsible for restricting permissions further.
2014-09-22 23:18:14 +02:00
Araq
1a3b730bf5 made tests green 2014-09-22 01:25:13 +02:00
Araq
ed3c509484 Merge branch 'bigbreak' of https://github.com/Araq/Nimrod into bigbreak 2014-09-22 00:23:49 +02:00
Araq
3866820eee made some tests green 2014-09-21 23:57:54 +02:00
Reimer Behrends
80255d8889 Fix the C++ exception struct in nimbase.h.
The struct NimException still referred to the old exception type
E_Base, which has since been renamed to Exception. This made the
C++ backend fail on any code that used exceptions.
2014-09-21 18:30:03 +02:00
Dominik Picheta
082bcb070f Fix --gc:none with --cs:partial. 2014-09-19 15:17:34 +01:00
Andreas Rumpf
d2b7aed229 Merge pull request #1507 from idlewan/postgresql
Add postgresql prepared queries
2014-09-19 02:14:42 +02:00
Araq
4800acf6ab Merge branch 'devel' of https://github.com/Araq/Nimrod into bigbreak 2014-09-19 01:55:22 +02:00
Araq
d615a29309 Merge branch 'bigbreak' of https://github.com/Araq/Nimrod into bigbreak 2014-09-19 01:46:33 +02:00
Araq
bf2e8ee95b updated pdcurses.nim 2014-09-19 01:46:21 +02:00
Araq
6a8a7678aa cleaned up openssl.nim a bit 2014-09-19 01:30:26 +02:00
Araq
59b9af074c updated libcurl.nim 2014-09-19 01:16:12 +02:00
Araq
4bf0bb7ad7 cleaned up iup.nim 2014-09-19 01:09:23 +02:00
Araq
137ade4f6e cleaned up expat wrapper 2014-09-19 00:59:11 +02:00