Commit Graph

4383 Commits

Author SHA1 Message Date
Andrea Ferretti
235fc29834 Added expandMacros macro 2016-09-22 12:26:51 +02:00
Andrea Ferretti
15f7094fde Added a dump macro for debugging 2016-09-22 12:07:36 +02:00
cheatfate
f0ea9447ce Add define value nimBurnFree which allow deallocation procedures to fill memory with 0xFF before freeing it. 2016-09-20 17:34:36 +03:00
Dominik Picheta
09651bec5e HttpCode shouldn't require explicit initialisation to prevent breakage. 2016-09-19 21:53:07 +02:00
Dominik Picheta
31bdf45ffe Reverted removal of HttpCode.$. 2016-09-19 21:16:50 +02:00
Dominik Picheta
519aa16b67 Fixes asyncmacro compilation in tests. 2016-09-19 21:00:54 +02:00
Dominik Picheta
cfd187d16e Use distinct range for HttpCode as suggested by @nigredo-tori. 2016-09-19 20:58:27 +02:00
Dominik Picheta
1fb5dd2477 Fixes #4797. 2016-09-19 19:36:35 +02:00
Dominik Picheta
8386476592 Implements proxy support for (Async)HttpClient. Ref #4423.
Fixes #2160.
2016-09-18 22:59:12 +02:00
Dominik Picheta
0c99523ad3 Implements timeouts for synchronous HttpClient. 2016-09-18 19:08:12 +02:00
Dominik Picheta
c4ee18015e Use HttpHeaders in httpclient module. 2016-09-18 18:56:04 +02:00
Dominik Picheta
3ad368f8ca Improvements to httpclient. Refs #4423.
* Adds ability to query HttpCode and compare it with strings.
* Moves HttpMethod to HttpCore module.
* Implements synchronous HttpClient using {.multisync.}.
2016-09-18 18:16:51 +02:00
Dominik Picheta
1740619c0c Implements {.multisync.} pragma for async and sync proc combos. 2016-09-18 18:15:20 +02:00
Dominik Picheta
b56595ae26 Fixes $(0.0/0.0) giving -nan on some systems.
Squashed commit of the following:

commit c7fc086b663f4d4003ccd5831a0ca508cf9badc7
Author: Dominik Picheta <dominikpicheta@gmail.com>
Date:   Sat Sep 17 21:09:48 2016 +0200

    Another attempt at fix.

commit 67b7fb67cda08d945e480a6a01fb0fee797add00
Author: Dominik Picheta <dominikpicheta@gmail.com>
Date:   Sat Sep 17 20:47:41 2016 +0200

    Fixes $(0.0/0.0) giving `-nan` on some systems.
2016-09-17 22:09:10 +02:00
Johannes Hofmann
93160547a9 reset p.exitCode in peekExitCode on Posix when process did not exit (#4793)
* reset p.exitCode in peekExitCode on Posix when process did not exit

fixes #4792

* fix indentation
2016-09-17 22:03:14 +02:00
Dominik Picheta
f4f8827c06 Merge pull request #4784 from rudis/devel
os: always use pcLinkToDir as kind for links to directories
2016-09-17 18:58:47 +02:00
Simon Ruderich
fc0a3dceaf os: always use pcLinkToDir as kind for links to directories
Only the OS-specific case in walkDir() handled that correctly. Adapt the
general case and handle it in getFileInfo().
2016-09-17 18:32:45 +02:00
Simon Ruderich
1cee3eb011 posix: add INADDR_LOOPBACK 2016-09-17 18:11:12 +02:00
Dominik Picheta
d250f06550 Merge pull request #4790 from rudis/devel-mkstemp
posix: add mkstemp
2016-09-17 17:41:06 +02:00
Dominik Picheta
18b64f1dcf Merge pull request #4788 from rudis/devel-doc
Misc documentation fixes
2016-09-17 17:25:49 +02:00
Dominik Picheta
dfe416eaad Fixes Futures' or operation so that asyncftpclient compiles. 2016-09-17 17:21:05 +02:00
Simon Ruderich
8ed241a1f0 posix: add mkstemp 2016-09-17 16:57:51 +02:00
Simon Ruderich
a9e796e001 Misc documentation fixes 2016-09-17 15:53:12 +02:00
Dominik Picheta
75e5c87f15 Fixes #4170. 2016-09-17 14:19:26 +02:00
Dominik Picheta
5bf16439e1 Fixes #4262. 2016-09-17 13:22:04 +02:00
Andreas Rumpf
e78b9b7268 Merge pull request #4782 from endragor/marshal-non-utf8
Use array encoding for non-UTF-8 strings in marshal
2016-09-17 00:00:52 +02:00
Ruslan Mustakov
e26f9cb665 Use array encoding for non-UTF-8 strings in marshal. Fixes #4779. 2016-09-16 17:02:34 +07:00
pyloor
453f8357c0 fix missing procvar pragma 2016-09-16 03:06:13 +02:00
Andreas Rumpf
0531658c00 Merge pull request #4771 from rudis/devel
Misc minor (doc) fixes
2016-09-16 01:38:59 +02:00
Simon Ruderich
a61e6b0d65 system: writeLine: escape \n in documentation 2016-09-15 11:43:58 +02:00
Simon Ruderich
d255bf498c system: shl: remove superfluous spaces in documentation 2016-09-15 11:43:58 +02:00
Simon Ruderich
e28bed3d84 system: <: add example of output to documentation 2016-09-15 11:43:57 +02:00
Simon Ruderich
a6e32365f7 system: use more consistent spaces in seq declaration 2016-09-15 11:43:57 +02:00
Simon Ruderich
14e80a1abe system: high, low: add example which uses the type 2016-09-15 11:43:57 +02:00
Simon Ruderich
b52240fc9e system: TaintedString: reduce duplication and link to manual 2016-09-15 11:43:57 +02:00
Andreas Rumpf
20b844ec53 Merge pull request #4759 from endragor/marshal-strs-as-arrays
marshal now can handle binary strings
2016-09-15 11:18:10 +02:00
Simon Ruderich
21433477df os: createHardlink: clarify documentation
I know no (UNIX-like) system which restricts creation of hardlinks.
2016-09-15 04:20:45 +02:00
Simon Ruderich
af2b0aed06 algorithm: sort: fix link in documentation 2016-09-15 04:20:24 +02:00
Simon Ruderich
4f1886621e os: createSymlink: fix typo in documentation 2016-09-15 04:20:24 +02:00
Yuta Yamada
b688a5607d srcdir -> srcDir 2016-09-14 17:57:19 -07:00
Araq
6a1b8e691f fixes #4764, fixes #4731, fixes #4724 2016-09-14 19:59:32 +02:00
Ruslan Mustakov
6013240f5d marshal now can handle binary data in strings 2016-09-13 22:29:35 +07:00
Andreas Rumpf
5f685bb0e6 fixes #4760 2016-09-13 17:20:53 +02:00
Andreas Rumpf
03768e7da0 attempt to fix #4640 2016-09-13 16:33:43 +02:00
Dmitry Polienko
d810b4515e Fix AsyncSocket send 2016-09-12 22:42:12 -07:00
Araq
646a569421 fixes #3279 2016-09-12 22:57:12 +02:00
Andreas Rumpf
479373ad79 fixes #4088 2016-09-11 23:48:59 +02:00
Andreas Rumpf
a57a5d8980 Merge pull request #4739 from coffeepots/patch-2
Allow compilation of sharedtables.nim
2016-09-09 21:09:31 +02:00
Araq
3dfc866710 docgen: working search feature 2016-09-09 20:42:02 +02:00
Araq
3a3aeb94ec minor stdlib cleanups 2016-09-09 20:41:26 +02:00