Commit Graph

4085 Commits

Author SHA1 Message Date
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
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
Araq
2c99991d16 fixes #1444 2014-09-11 00:34:59 +02:00
Dominik Picheta
dcc00b3960 Merge pull request #1524 from rbehrends/fix-staticexec2
Properly handle staticExec() generating large output.
2014-09-10 10:31:14 +01:00
Reimer Behrends
f9c46b04a6 Properly handle staticExec() generating large output.
A staticExec() invocation that generated more than the internal
buffer size worth of output blocked because the compiler waited
for the process to terminate before reading the output.
2014-09-10 01:22:20 +02:00
Andreas Rumpf
43f78d2c4a Merge pull request #1404 from def-/strutils-count
Add count procedures to strutils
2014-09-05 08:36:07 +02:00
Andreas Rumpf
6abd673606 Merge pull request #1455 from gradha/pr_parallelize_doc_build
Parallelizes documentation building.
2014-09-05 08:34:14 +02:00
Simon Hafner
967b5079f6 Merge pull request #1514 from fuzzthink/devel
Pointer -> pointer to fix compile error using --cs:partial
2014-09-02 20:17:16 +05:00
fuzzthink
10f6a11cf2 Pointer -> pointer to fix compile error using --cs:partial 2014-09-02 10:10:18 +09:00
Andreas Rumpf
1c85a49e6b Merge pull request #1509 from idlewan/cookies
Secure and HttpOnly cookies
2014-09-01 00:28:17 +02:00
Andreas Rumpf
cb9f669863 Merge pull request #1508 from idlewan/zmq
Remove outdated ZeroMQ examples (zmq has been moved out of the stdlib)
2014-09-01 00:27:35 +02:00
Andreas Rumpf
6bd74731c4 Merge pull request #1510 from idlewan/xml_escape
Escape ' and / when using escape in xmltree
2014-09-01 00:27:16 +02:00
Erwan Ameil
05c1fb060f Escape ' and / when using escape in xmltree 2014-08-30 22:21:38 +02:00