Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | attempt to make travis green again | Araq | 2017-09-05 | 1 | -14/+18 |
| | |||||
* | Remove expr/stmt (#5857) | Arne Döring | 2017-07-25 | 3 | -20/+21 |
| | |||||
* | fixes #6049 add mixin release, acquire to withLock (#6113) | andri lim | 2017-07-16 | 2 | -0/+21 |
| | |||||
* | fixes #6046 parsecfg failed to parse negative int (#6097) | andri lim | 2017-07-14 | 1 | -0/+23 |
| | |||||
* | fixes #5966 | Fabian Keller | 2017-06-20 | 1 | -1/+22 |
| | |||||
* | fix orderedtable enlarge proc. (#5937) | Parashurama | 2017-06-05 | 1 | -0/+18 |
| | | | This fixes issue #5917 | ||||
* | Merge branch 'araq2' into devel | Araq | 2017-05-17 | 1 | -1/+23 |
|\ | |||||
| * | Merge branch 'zahary' into araq2 | Andreas Rumpf | 2017-05-17 | 1 | -1/+23 |
| |\ | |||||
| | * | close #5757 | Zahary Karadjov | 2017-04-30 | 1 | -1/+23 |
| | | | |||||
* | | | Fixes #5761. | Dominik Picheta | 2017-05-17 | 1 | -1/+21 |
| | | | |||||
* | | | Merge pull request #5019 from FedericoCeratto/json_tests | Dominik Picheta | 2017-05-16 | 1 | -0/+384 |
|\ \ \ | |/ / |/| | | Add JSON tests based on https://github.com/nst/JSONTestSuite | ||||
| * | | Add JSON tests based on https://github.com/nst/JSONTestSuite | Federico Ceratto | 2017-04-09 | 1 | -0/+384 |
| | | | |||||
* | | | disable fragile parts of thttpclient.nim | Andreas Rumpf | 2017-05-04 | 1 | -9/+11 |
| | | | |||||
* | | | added IP v6 parsing tests | Andreas Rumpf | 2017-05-04 | 1 | -0/+217 |
| | | | |||||
* | | | Implement dial, support IPv6 in httpclient (#5763) | Ruslan Mustakov | 2017-05-02 | 2 | -2/+98 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Implement dial, support IPv6 in httpclient Added ``dial`` procedure to networking modules: ``net``, ``asyncdispatch``, ``asyncnet``. It merges socket creation, address resolution, and connection into single step. When using ``dial``, you don't have to worry about IPv4 vs IPv6 problem. Fixed addrInfo loop in connect to behave properly. Previously it would stop on first non-immediate failure, instead of continuing and trying the remaining addresses. Fixed newAsyncNativeSocket to raise proper error if socket creation fails. Fixes: #3811 * Check domain during connect() only on non-Windows This is how it was in the previous implementation of connect(). * Call 'osLastError' before 'close' in net.dial * Record osLastError before freeAddrInfo in net.dial * Add missing docs for 'dial' proc * Optimize dial to create one FD per domain, add tests And make async IPv6 servers work on Windows. * Add IPv6 test to uri module * Fix getAddrString error handling | ||||
* | | | Add test for previous commit. | Dominik Picheta | 2017-04-17 | 1 | -1/+10 |
| | | | |||||
* | | | Fixes `null` handling for object refs in JSON unmarshal macro. | Dominik Picheta | 2017-04-17 | 1 | -2/+11 |
| | | | |||||
* | | | Fix JSON macro bug with ref objects. | Dominik Picheta | 2017-04-17 | 1 | -3/+29 |
| | | | |||||
* | | | Implement support for enum fields in JSON macro. | Dominik Picheta | 2017-04-09 | 1 | -1/+17 |
|/ / | |||||
* | | Document `to` macro in JSON and add example. | Dominik Picheta | 2017-04-09 | 1 | -0/+26 |
| | | |||||
* | | Implements else branch for JSON unmarshalling of object variants. | Dominik Picheta | 2017-04-09 | 1 | -2/+36 |
| | | |||||
* | | Improve error messages and add tests for the JSON macro. | Dominik Picheta | 2017-04-08 | 1 | -25/+75 |
| | | |||||
* | | Support int, string and bool fields in unmarshal json macro. | Dominik Picheta | 2017-04-08 | 1 | -21/+40 |
| | | |||||
* | | First implementation of JSON unmarshal macro. | Dominik Picheta | 2017-04-08 | 1 | -0/+40 |
|/ | |||||
* | parsecfg: handle streams and strings when saving or loading configuration ↵ | Anatoly Galiulin | 2017-04-06 | 1 | -7/+39 |
| | | | | (#5554) | ||||
* | Fix posix version of moveFile between different filesystems (#5580) | Anatoly Galiulin | 2017-03-23 | 1 | -0/+1 |
| | |||||
* | Reduce the scope of stackTrace var (#5583) | Ruslan Mustakov | 2017-03-22 | 1 | -0/+7 |
| | | | Fixes #5571. | ||||
* | add bitops module for optimized bit manipulation. (#5201) | Parashurama | 2017-03-14 | 4 | -0/+339 |
| | |||||
* | Fixes incorrect fd==0 test on Unix; Conserves handles by default. (#5512) | c-blake | 2017-03-12 | 1 | -1/+1 |
| | | | | | | | | | | | | | | * Fix 2 problems. First, 0 is a valid fd on Unix (easily gotten if user first closes all fds and then starts using memfiles). Use -1 instead for an invalid fd. Second, it is best practice to conserve open fds on Unix and file handles on Windows. These handles are not needed unless the user wants to remap the memory with ``mapMem`` (or a hypothetical future ``proc resize``). Adding a new bool param ``allowRemap=false`` to ``memfiles.open`` solves this cleanly in a "mostly" backward compatible way. This is only "mostly" because the default ``false`` case does not keep unneeded resources allocated, but that most sensible default means that any ``mapMem`` callers need to fix all their open calls to have allowRemap=true, as this PR also does for tmemfiles2.nim. * Include backwards compatibility note. | ||||
* | close #5472 nre tests should be run (#5474) | Florent | 2017-03-04 | 1 | -0/+22 |
| | | | nre tests were just being compiled - changed so that a failure causes exit code to defer causing `tester` to report it as a failure | ||||
* | More robust tests for #5453 (#5469) | Florent | 2017-03-03 | 1 | -14/+9 |
| | |||||
* | fixes #5444 - nre.findIter keeps searching when no match is possible (#5453) | Florent | 2017-03-02 | 1 | -0/+19 |
| | |||||
* | Add gethostname to nativesockets (#5443) | Federico Ceratto | 2017-03-01 | 1 | -0/+8 |
| | |||||
* | Merge pull request #5373 from nim-lang/feature/async-streams | Andreas Rumpf | 2017-02-26 | 1 | -3/+7 |
|\ | | | | | Async streams and HTTP client streaming downloads support | ||||
| * | Merge branch 'devel' into feature/async-streams | Araq | 2017-02-25 | 1 | -0/+11 |
| |\ | |||||
| * | | Implement streamed async/sync downloadFile and deprecate old one. | Dominik Picheta | 2017-02-11 | 1 | -2/+4 |
| | | | |||||
| * | | Implement streamed body reading in httpclient. | Dominik Picheta | 2017-02-11 | 1 | -1/+3 |
| | | | |||||
* | | | Make use of `used` in unittest (#5410) | Fabian Keller | 2017-02-25 | 1 | -3/+12 |
| |/ |/| | |||||
* | | Fixes #5382 | Anatoly Galiulin | 2017-02-13 | 1 | -0/+11 |
|/ | |||||
* | fixes #5349 | Araq | 2017-02-08 | 1 | -4/+36 |
| | |||||
* | fix string slice & splice (#5311) | Parashurama | 2017-02-01 | 1 | -0/+55 |
| | | | code fixes courtesy of @memophen | ||||
* | Use onThreadCreation to set default SSL context for each thread (#5265) | Ruslan Mustakov | 2017-01-23 | 1 | -1/+1 |
| | | | Fixes: #4998 | ||||
* | new segfaults.nim stdlib module works on Windows | Araq | 2017-01-20 | 1 | -0/+4 |
| | |||||
* | first implementation of segfaults stdlib module | Andreas Rumpf | 2017-01-20 | 1 | -0/+25 |
| | |||||
* | Improve & optimize strutils 'find' procs (#5196) | Parashurama | 2017-01-11 | 1 | -0/+27 |
| | | | | | * add 'last' argument to 'find' procs in strutils * add 'rfind' proc for looking up set[char] in strutils * use optimised C function 'memchr' when available | ||||
* | add copyDir stdlib test | Andreas Rumpf | 2017-01-10 | 1 | -0/+18 |
| | |||||
* | Update unit test to handle AssertionError instead of ValueError for #5119 | Chris Heller | 2016-12-21 | 1 | -1/+1 |
| | |||||
* | Guard against calling split with an empty string as a separator. Fixes #5119 | Chris Heller | 2016-12-21 | 1 | -0/+19 |
| | |||||
* | make tos.nim green on Windows | Araq | 2016-12-13 | 1 | -4/+7 |
| | |||||
* | Merge pull request #5080 from FedericoCeratto/httpheaders | Dominik Picheta | 2016-12-01 | 1 | -0/+28 |
|\ | | | | | Add HTTP header deletion, improve tests |