Commit Graph

4064 Commits

Author SHA1 Message Date
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
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
Erwan Ameil
a249a12da7 Secure and HttpOnly cookies 2014-08-30 21:38:47 +02:00
Erwan Ameil
7dac395cb2 Remove outdated ZeroMQ example (zmq has been moved out of the stdlib) 2014-08-30 20:42:40 +02:00
Dominik Picheta
3a00692ef8 Add asyncftpclient module. 2014-08-29 22:44:05 +01:00
Dominik Picheta
85107917f0 Async macro fixes. Added waitFor. 2014-08-29 22:41:52 +01:00
Erwan Ameil
08f1c6100b Add postgresql prepared queries and stop relying on string formatting
for sql parameter passing
2014-08-29 11:29:19 +02:00
Dominik Picheta
2525215610 Ftpclient module now uses generics. 2014-08-24 00:37:27 +01:00
Dominik Picheta
2dff5ef718 Fixed gcsafe in asynchttpserver module. 2014-08-21 20:36:27 +01:00
Araq
014b79617e Merge branch 'devel' of https://github.com/Araq/Nimrod into devel 2014-08-21 10:00:09 +02:00
Araq
5432b2b83a fixes recently introduced regression 2014-08-21 09:59:57 +02:00
Simon Hafner
3f0c3ab6cf added bug number to comment 2014-08-20 21:16:06 +02:00
Araq
e5fd84c559 Merge branch 'devel' of https://github.com/Araq/Nimrod into devel 2014-08-20 02:14:39 +02:00
Araq
15b2d6d351 fixes #1418 2014-08-20 02:14:30 +02:00
Araq
bc2e83fe17 documented the JS codegen 2014-08-20 01:11:47 +02:00
Andreas Rumpf
daa8b559b6 Merge pull request #1495 from barcharcraz/fix1491
fixed #1491
2014-08-20 00:42:42 +02:00
Charlie Barto
5b326269c3 fixed #1491 2014-08-19 18:30:12 -04:00
Dominik Picheta
0f720a83d5 Merge branch 'devel' of github.com:Araq/Nimrod into devel 2014-08-19 22:01:19 +01:00
Araq
9ee59da412 minor improvements for the FAQ 2014-08-19 22:57:49 +02:00
Araq
ebe313e627 fixes #1334 2014-08-19 22:35:16 +02:00
Dominik Picheta
a0b2fb5bd7 Implements or and and for futures. Ref #1487. 2014-08-19 20:54:12 +01:00
Araq
7ef076a04a Merge branch 'devel' of https://github.com/Araq/Nimrod into devel 2014-08-19 21:16:48 +02:00
Dominik Picheta
9c0d25dc94 Fixes docgen. 2014-08-19 20:16:27 +01:00