Commit Graph

4272 Commits

Author SHA1 Message Date
Araq
8b93e4132c added untested winrelease target 2014-10-11 01:11:37 +02:00
Araq
1d8ee0f876 improved trimcc tool 2014-10-09 09:28:36 +02:00
Araq
a585caebcd bugfix: c++ support for 'NimThreadVarsSize' 2014-10-08 09:10:57 +02:00
Araq
b781e25ec6 should compile with csources again 2014-10-06 01:01:23 +02:00
Araq
6072d981ea Merge branch 'bigbreak' of https://github.com/Araq/Nimrod into bigbreak 2014-10-05 23:37:25 +02:00
Araq
da0fab7046 nimfix now in its own directory; single file mode now the default 2014-10-05 23:36:47 +02: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
40601ada5f fixes #1551 2014-10-05 03:24:39 +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
4616a1e006 updated some tests 2014-10-04 14:23:17 +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
Araq
279e897eab bugfix: 'T = ref T' is an illegal recursive type 2014-10-02 16:15:16 +02:00
Araq
62ccf13529 'try' works at compile-time 2014-10-02 15:55:48 +02:00
Araq
2475794a75 fixes a minor bug when 'type' is used in a wrong way 2014-10-02 11:10:43 +02:00
Araq
4298553de4 system.writeFile works at compile-time 2014-10-02 10:52:32 +02:00
Araq
c99ec16544 deprecated string case statements without 'else' 2014-10-02 10:08:41 +02:00
Araq
2011805829 Merge branch 'bigbreak' of https://github.com/Araq/Nimrod into bigbreak 2014-10-02 02:34:12 +02:00
Araq
2c1f3f75f5 manual split up into multiple files; documented the new concurrency system 2014-10-02 02:33:59 +02:00
Araq
e9dec2feed better lock level handling 2014-10-02 02:33:14 +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
Andreas Rumpf
2154906fc9 Merge pull request #1549 from Varriount/fix-1529
Fixes #1529
2014-10-02 00:38:27 +02:00
Clay Sweetser
55c78af9c0 Fixes #1529 2014-10-01 18:14:06 -04:00
Varriount
93d55c077f Updated Version Number 2014-09-28 15:47:09 -04:00
Varriount
b234d311d4 Disable git hashing in the version command 2014-09-28 15:35:35 -04:00
Araq
dcaba49c3f deprecated '#[' comments for future multi-line comment feature 2014-09-28 13:38:26 +02:00
Dominik Picheta
baae9bfea8 s/sock/fd/. Fixes #1487. 2014-09-27 17:15:32 +01:00
Reimer Behrends
cb6441e73d Use _setjmp()/_longjmp() only on BSD-like systems for now. 2014-09-27 18:05:30 +02: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
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
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
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