Dominik Picheta
8a6343b5b6
Fixes #3847 .
2016-09-25 13:02:10 +02:00
Dominik Picheta
9753fb064f
Add PATCH HTTP Method.
2016-09-25 11:48:10 +02:00
Dominik Picheta
26c7a76c8a
asynchttpserver's Response object's req method uses HttpMethod now.
...
Fixes #4423 .
2016-09-25 00:39:57 +02:00
Dominik Picheta
6a83bc1ff5
HTTP client's request proc no longer slices http method string param.
2016-09-25 00:10:07 +02:00
Dominik Picheta
545e24b8ff
Improves httpclient documentation.
2016-09-24 23:02:56 +02:00
Dominik Picheta
cff6ec2155
Implements onProgressChanged callback for httpclient.
2016-09-24 22:58:10 +02:00
Dominik Picheta
ff821eed6a
Deprecates old httpclient procedures.
2016-09-24 20:48:28 +02:00
Dominik Picheta
0baef8e6ea
Implements getContent and postContent for (Async)HttpClient.
2016-09-24 20:33:00 +02:00
Dominik Picheta
fa9ec7a6b5
Handle redirects in HttpClient's post procs & post test.
2016-09-24 17:50:58 +02:00
Dominik Picheta
aec88bb5d9
Merge pull request #4815 from pyloor/asyncftp-add-rename
...
Asyncftpclient: adding rename proc
2016-09-24 10:48:32 +02:00
cheatfate
f40c1d3ad1
Add support for kqueue's EVFILT_VNODE (filesystem monitoring), and add test for it.
2016-09-24 05:16:39 +03:00
Andrea Ferretti
4ee4393556
Fixed missing comma
2016-09-22 11:54:59 +02:00
pyloor
348c7d1faf
adding rename proc to asyncftpclient
2016-09-21 23:46:15 +02:00
Andrea Ferretti
91f6784d0f
Added PATCH HTTP method
2016-09-21 17:27:05 +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