Commit Graph

4096 Commits

Author SHA1 Message Date
Araq
d3e9d0fa3a niminst: 'doc/*.txt' required for bootstrapping 2014-10-18 20:26:51 +02:00
Araq
32444e47a0 niminst: source based installation works again 2014-10-18 13:57:06 +02:00
Araq
56f1f3d4bc more improvements for the NSIS installer 2014-10-17 18:18:46 +02:00
Araq
4accf42929 added missing template file 2014-10-17 03:27:04 +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
Araq
b7befd69ba updated news.txt slightly 2014-10-12 14:18:17 +02:00
Araq
4233aa90e4 Merge branch 'devel' of https://github.com/Araq/Nimrod into devel 2014-10-12 13:51: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
ca4c64dd72 zipfile generation works again 2014-10-12 03:13:12 +02:00
Araq
399c985b62 fixes recent regression 2014-10-11 21:44:35 +02:00
Araq
826d529256 Merge branch 'devel' of https://github.com/Araq/Nimrod into devel 2014-10-11 21:02:08 +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
028a62e2ba documentation updates 2014-10-11 13:20:00 +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
Andreas Rumpf
8afb85b3d4 Merge pull request #1559 from lorxu/devel
Update cpuinfo.nim to compile in bsd and macosx
2014-10-11 02:05:47 +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
Araq
1da251523f added 'nim*Setjmp' conditional symbols 2014-10-05 02:22:48 +02:00
Andreas Rumpf
23a163367b Merge pull request #1554 from trustable-code/devel
Fixed missing color definion
2014-10-05 00:34:09 +02:00
Simon Krauter
3df37a7923 Fixed missing color definion 2014-10-05 00:26:22 +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
Reimer Behrends
cb6441e73d Use _setjmp()/_longjmp() only on BSD-like systems for now. 2014-09-27 18:05:30 +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
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
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
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
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
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
PavelVozenilek
67525d7c1b more precise word 2014-09-18 17:07:52 +02:00
Araq
6a29fbf240 be explicit about single letter options 2014-09-11 21:00:25 +02:00
Araq
63548f04b2 manual merge of #1526 2014-09-11 20:15:50 +02:00
Araq
1791ab6385 fixes #665 2014-09-11 19:54:49 +02:00
Araq
c73142d852 fixes #1067 2014-09-11 10:02:45 +02:00
Araq
ff55c487b6 mostly fixes #1339 2014-09-11 09:57:33 +02:00
Araq
46bbae4745 fixes #1366 2014-09-11 09:53:00 +02:00
Araq
24afab2a95 Threads work again 2014-09-11 09:36:22 +02:00
Araq
dafa8ccaf3 fixes #903, fixess #1513 2014-09-11 01:45:14 +02:00
Araq
b7f8dbbec2 fixes #1511 2014-09-11 00:45:29 +02:00
Araq
e766c7c3cd minor bugfix for void .compileTime procs 2014-09-11 00:36:31 +02:00