Commit Graph

2124 Commits

Author SHA1 Message Date
Araq
56f1f3d4bc more improvements for the NSIS installer 2014-10-17 18:18:46 +02:00
Araq
bd54c44239 improvements for niminst 2014-10-17 03:15:28 +02:00
Araq
55d8e71ab1 niminst supports NSIS 2014-10-17 00:53:33 +02:00
Simon Krauter
27585ee6ec Compare fileIndexes instead of file names 2014-10-15 00:20:08 +02:00
Simon Krauter
849484f920 Do not allow self import 2014-10-14 23:38:50 +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
Araq
34e96e37a1 added missing nimfix files 2014-10-11 20:51:41 +02:00
Araq
661c51682a backported .deprecated statement 2014-10-11 20:31:24 +02:00
Araq
6c9730b353 fixes #1551 2014-10-11 12:25:15 +02:00
Araq
5272213da4 documentation updates 2014-10-11 01:30:17 +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
da0fab7046 nimfix now in its own directory; single file mode now the default 2014-10-05 23:36:47 +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
1da251523f added 'nim*Setjmp' conditional symbols 2014-10-05 02:22:48 +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
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
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
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
8930ba50b9 'let' within 'parallel' now works 2014-09-22 08:34:05 +02:00
Araq
3866820eee made some tests green 2014-09-21 23:57:54 +02:00
Araq
7916b1f9aa implemented 'guard' annotation 2014-09-21 18:39:00 +02: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
Araq
45accd613b 'nim i' should work again 2014-09-18 09:56:13 +02:00
Araq
02c076f9b4 more robust for nim check 2014-09-17 23:13:38 +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
297647affe fixes a recently introduced regression 2014-09-16 22:49:10 +02:00
Araq
113a1c450c generic proc type works again 2014-09-14 14:38:11 +02:00
Araq
d330a72a45 fixes documentation generator 2014-09-14 11:34:06 +02:00
Araq
838871b4d9 resolved conflict 2014-09-13 17:59:37 +02:00
Araq
e24996de7c minor changes to manual.txt 2014-09-13 17:53:35 +02:00
Dominik Picheta
d28088f0f5 Fix 'doc' command. 2014-09-13 16:09:54 +01:00