Andrea Ferretti
15f7094fde
Added a dump macro for debugging
2016-09-22 12:07:36 +02: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
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
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
Dominik Picheta
dfe416eaad
Fixes Futures' or operation so that asyncftpclient compiles.
2016-09-17 17:21:05 +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
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
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
Dmitry Polienko
d810b4515e
Fix AsyncSocket send
2016-09-12 22:42:12 -07: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
3a3aeb94ec
minor stdlib cleanups
2016-09-09 20:41:26 +02:00
Araq
89320e133b
Make htmlparser compile without warnings
2016-09-09 16:15:53 +02:00
coffeepots
9af584707d
Allow compilation of sharedtables.nim
...
tableimpl uses {.oldimmediate.}, which is defined in system/inclrtl.
2016-09-09 11:53:17 +01:00
Andreas Rumpf
6699387c9b
make net.nim compile for osx doc2
2016-09-08 15:06:27 +02:00
Andreas Rumpf
1f6b2c4d11
Merge pull request #4733 from cheatfate/asyncssl_and_tests
...
async: small ssl fix and updated tests
2016-09-08 08:57:47 +02:00
Anatoly Galiulin
5e48bdd632
Allow to use strtabs module with js target
2016-09-08 10:21:00 +07:00
cheatfate
1350d5312b
Removed tests with asyncio.
...
Fix ssl connection drop in asyncnet
Add tasyncssl test
2016-09-07 12:19:06 +03:00
Dominik Picheta
87eb3a105d
Some small fixes to changes introduced by #4683 .
2016-09-06 20:35:02 +02:00
Anatoly Galiulin
60dbfb2ec9
Revert function names scheme due to the @dom96 comment
2016-09-06 09:31:13 +07:00
Anatoly Galiulin
862d6ad234
Restore `recvInto` for backwards compatibility
2016-09-06 09:31:13 +07:00
Anatoly Galiulin
436a5a01ab
Fix typo
2016-09-06 09:31:13 +07:00
Anatoly Galiulin
e4c46e6fba
Add async IO operations with buffers on files and sockets
2016-09-06 09:31:13 +07:00
Andreas Rumpf
41f6c08f92
Merge pull request #4717 from nigredo-tori/xml-escaping
...
xmltree: separate escaping for attributes
2016-09-05 17:18:31 +02:00
Dmitry Polienko
8c9e2d7a43
xmltree: separate escaping for attributes
2016-09-05 15:43:44 +07:00
Andreas Rumpf
4077050a42
fixes a critical tables bug that caused 'enlarge' to crash after 'add'
2016-09-05 08:51:38 +02:00
Dominik Picheta
63851b2c91
Merge pull request #4705 from yglukhov/js-logging
...
Logging compatible with js
2016-09-04 15:52:34 +02:00
Yuriy Glukhov
a994f142b5
Enabled logging tests for js
2016-09-03 22:46:10 +03:00
Eugene Kabanov
4fa3ded9c7
async: transfer all await/async macro related code to asyncmacro.nim module. ( #4704 )
...
* Transfer all async macro related code to asyncmacro.nim.
* Make tests green.
2016-09-03 20:52:45 +02:00
Yuriy Glukhov
c43a7f3980
Logging compatible with js
2016-09-03 21:11:10 +03:00
Dominik Picheta
46948a9509
Merge pull request #4680 from cheatfate/asyncwinsend
...
async: protect data argument in windows send operation.
2016-09-02 18:21:35 +02:00
Charles Blake
e4ddcd836c
Use new name for call to low-level terminalWidth.
2016-09-01 14:44:33 -04:00