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
Andreas Rumpf
7d3370696d
Merge pull request #1541 from rbehrends/mkdir-perms
...
Fix permissions for createDir() on Unix systems.
2014-09-23 23:51:00 +02:00
Milos Negovanovic
1528421707
Merge branch 'devel' of github.com:Araq/Nimrod into devel
...
Merging mainline devel.
2014-09-23 11:21:33 +01: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
8930ba50b9
'let' within 'parallel' now works
2014-09-22 08:34:05 +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
Andreas Rumpf
be4ba236d9
Merge pull request #1536 from rbehrends/fix-c++-exceptions
...
Fix the C++ exception struct in nimbase.h.
2014-09-22 00:05:27 +02:00
Araq
3866820eee
made some tests green
2014-09-21 23:57:54 +02:00
Araq
8e52384407
Merge branch 'bigbreak' of https://github.com/Araq/Nimrod into bigbreak
2014-09-21 18:39:09 +02:00
Araq
7916b1f9aa
implemented 'guard' annotation
2014-09-21 18:39:00 +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
Andreas Rumpf
9f047f4351
Merge pull request #1534 from rbehrends/fix-importc-var
...
Avoid unnecessary #include triggered by importc vars.
2014-09-19 22:22:02 +02:00
Dominik Picheta
082bcb070f
Fix --gc:none with --cs:partial.
2014-09-19 15:17:34 +01:00
Milos Negovanovic
8b4d4be9ab
Merge branch 'devel' of github.com:Araq/Nimrod into devel
...
Merging mainline devel.
2014-09-19 13:03:07 +01:00
Reimer Behrends
80356f1cc7
Avoid unnecessary #include triggered by importc vars.
...
When a C variable or macro is imported via an {.importc.} var or
let statement, but no definition is needed and the variable does
not have an initializer part, then there is also no need to generate
an #include for the associated header until and unless the variable
is actually used. The header is already generated upon use, but
unnecessarily also when the variable is defined.
This is an issue with the posix module in particular, where a lot
of unnecessary header files are being included because relevant
constants are defined via importc vars, and those header files
may not even be available on a given system.
This patch omits the generation of the #include directive for those
definitions where they aren't needed.
2014-09-19 03:34:00 +02: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
Araq
d4bc11b654
cleaned up various modules
2014-09-19 00:54:01 +02:00
Araq
4367fb26ad
updated graphics.nim
2014-09-18 23:35:08 +02:00
Araq
e7140f290b
updated SDL wrapper
2014-09-18 23:08:55 +02:00
Andreas Rumpf
2fde559a5b
Merge pull request #1533 from rbehrends/fix-boehmgc-interface
...
Various fixes to how the Boehm GC's interface.
2014-09-18 22:19:17 +02:00
Dominik Picheta
a179dde3ed
Merge pull request #1532 from PavelVozenilek/devel
...
more precise word
2014-09-18 18:13:16 +01:00
Dominik Picheta
83e26cc4fa
Fixes asyncnet example.
2014-09-18 18:04:07 +01:00
Reimer Behrends
b11493585c
Various fixes to how the Boehm GC's interface.
...
The Boehm GC interface did not define the getXXXSharedMem() functions
that were needed for compilation with --threads:on. It also used
`ppointer` instead of `PPointer`, so it failed to compile with
--cs:partial.
2014-09-18 18:46:23 +02:00
Dominik Picheta
867dfbfbfa
Adds socket creation for arbitrary domain, type and protocol.
2014-09-18 17:03:23 +01:00
PavelVozenilek
67525d7c1b
more precise word
2014-09-18 17:07:52 +02:00
Araq
03744be67e
updated xml modules
2014-09-18 09:59:11 +02:00
Araq
45accd613b
'nim i' should work again
2014-09-18 09:56:13 +02:00
Araq
47d755b418
Merge branch 'bigbreak' of https://github.com/Araq/Nimrod into bigbreak
2014-09-17 23:14:13 +02:00
Araq
3fcf6f430d
updated fsmonitor
2014-09-17 23:13:58 +02:00
Araq
02c076f9b4
more robust for nim check
2014-09-17 23:13:38 +02:00
Araq
1ce17c7aaa
xmldom adheres to the new style
2014-09-17 23:12:54 +02:00
Dominik Picheta
804df3c504
CS fixes for zlib.nim
2014-09-17 22:00:58 +01:00
Araq
17ce01c3e1
some progress on documentation building
2014-09-17 10:04:36 +02:00
Araq
0c25f7e202
support nimrod as an alias for nim for compatibility (nimforum!)
2014-09-17 02:37:05 +02:00
Araq
611d5d7766
improvements for nimfix
2014-09-17 01:45:27 +02:00
Araq
344488fa0d
ttypeclasses works again
2014-09-17 01:35:46 +02:00
Araq
32b582bb00
Merge branch 'bigbreak' of https://github.com/Araq/Nimrod into bigbreak
2014-09-16 22:49:21 +02:00
Araq
297647affe
fixes a recently introduced regression
2014-09-16 22:49:10 +02:00
Dominik Picheta
efca06c71c
Add bool to determine if socket has been closed.
2014-09-16 16:37:53 +01:00