Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix handle of error only events. | cheatfate | 2016-10-16 | 1 | -2/+2 |
| | |||||
* | Bugfix for times.initInterval (issue #4889) | Jonathan Bernard | 2016-10-12 | 1 | -8/+8 |
| | | | | | | | | | | | | | | | | | | | | | | | `initInterval` had logic to calculate and carry overflowed fields (65 seconds turns into 5 seconds and carries 1 minute). However, we were not including that carried value when we recalculate the carry over for the next period of time.So if you had, for example, 3600 seconds, we carried 60 minutes into the minutes calculation, but when we calculated how much we should carry into the hours value we only considered what the user originally supplied for the minutes field, and forgot to include those 60 carried minute. So, for example, with the previous implementation this was true: `seconds(60 * 60 * 24) == seconds(0)` Or, as failing tests: ```nimrod import times assert seconds(60 * 60 * 24) != seconds(0) assert seconds(60 * 60 * 24) == days(1) ``` | ||||
* | Add example for posting json content | Alpha Shuro | 2016-10-12 | 1 | -0/+14 |
| | | | i struggled to figure out how to post json content with nim's http client. this is a fundamental capability in many web apps, we don't always need to send data as multipart form data (e.g. when communicating via json apis) so frankly i'm surprised it isn't part of the "post" and "postContent" procs | ||||
* | Merge pull request #4828 from jfhg/unify_waitpid_handling | Andreas Rumpf | 2016-10-09 | 1 | -32/+36 |
|\ | | | | | Unify waitpid handling | ||||
| * | convert exitStatus to exit code | Johannes Hofmann | 2016-09-30 | 1 | -3/+3 |
| | | |||||
| * | Merge branch 'devel' into unify_waitpid_handling | Johannes Hofmann | 2016-09-30 | 13 | -377/+622 |
| |\ | |||||
| * | | another attempt at properly declaring the status variable | Johannes Hofmann | 2016-09-25 | 1 | -1/+3 |
| | | | |||||
| * | | make status variable local | Johannes Hofmann | 2016-09-25 | 1 | -2/+1 |
| | | | |||||
| * | | Merge branch 'devel' into unify_waitpid_handling | Johannes Hofmann | 2016-09-24 | 4 | -11/+79 |
| |\ \ | |||||
| * | | | rename exitCode to exitStatus | Johannes Hofmann | 2016-09-24 | 1 | -18/+18 |
| | | | | |||||
| * | | | generally update exitCode only after successful completion of waitpid() | Johannes Hofmann | 2016-09-22 | 1 | -23/+26 |
| | | | | |||||
* | | | | fixes #4844 | Araq | 2016-10-08 | 1 | -1/+5 |
| | | | | |||||
* | | | | Fixes pesky hint in asyncfutures. | Dominik Picheta | 2016-10-01 | 1 | -0/+2 |
| | | | | |||||
* | | | | made test green for 32bit system | Araq | 2016-09-30 | 1 | -12/+14 |
| | | | | |||||
* | | | | made test green for 32bit system | Araq | 2016-09-30 | 1 | -1/+1 |
| |_|/ |/| | | |||||
* | | | Add few JSON examples | Federico Ceratto | 2016-09-29 | 1 | -0/+2 |
| | | | |||||
* | | | made async compile again | Andreas Rumpf | 2016-09-26 | 2 | -1/+1 |
| | | | |||||
* | | | revert brainless changes | Andreas Rumpf | 2016-09-26 | 1 | -2/+2 |
| | | | |||||
* | | | make travis green | Andreas Rumpf | 2016-09-26 | 1 | -2/+2 |
| | | | |||||
* | | | docgen fixes for basic3d | Andreas Rumpf | 2016-09-26 | 1 | -4/+2 |
| | | | |||||
* | | | docgen fixes for selectors.nim | Andreas Rumpf | 2016-09-26 | 1 | -1/+2 |
| | | | |||||
* | | | docgen fixes for basic2d | Andreas Rumpf | 2016-09-26 | 1 | -2/+2 |
| | | | |||||
* | | | Fixes #4587. | Dominik Picheta | 2016-09-25 | 1 | -2/+19 |
| | | | |||||
* | | | Moves async futures into asyncfutures module. | Dominik Picheta | 2016-09-25 | 2 | -293/+294 |
| | | | |||||
* | | | FutureVar[T] parameters are now completed automatically. | Dominik Picheta | 2016-09-25 | 2 | -17/+64 |
| | | | |||||
* | | | Merge branch 'asyncftp-add-removeDir' of https://github.com/pyloor/Nim into ↵ | Dominik Picheta | 2016-09-25 | 1 | -0/+6 |
|\ \ \ | | | | | | | | | | | | | pyloor-asyncftp-add-removeDir | ||||
| * | | | Asyncftpclient: adding removeDir proc | pyloor | 2016-09-21 | 1 | -0/+6 |
| |/ / | |||||
* | | | Merge branch 'asyncftp-add-removeFile' of https://github.com/pyloor/Nim into ↵ | Dominik Picheta | 2016-09-25 | 1 | -0/+6 |
|\ \ \ | | | | | | | | | | | | | pyloor-asyncftp-add-removeFile | ||||
| * | | | adding a test for removing a file | pyloor | 2016-09-21 | 1 | -0/+2 |
| | | | | |||||
| * | | | adding removeFile proc to asyncftpclient | pyloor | 2016-09-21 | 1 | -0/+4 |
| |/ / | |||||
* | | | Fixes #3847. | Dominik Picheta | 2016-09-25 | 4 | -10/+52 |
| | | | |||||
* | | | Add PATCH HTTP Method. | Dominik Picheta | 2016-09-25 | 1 | -3/+2 |
| | | | |||||
* | | | asynchttpserver's Response object's req method uses HttpMethod now. | Dominik Picheta | 2016-09-25 | 3 | -15/+20 |
| | | | | | | | | | | | | Fixes #4423. | ||||
* | | | HTTP client's request proc no longer slices http method string param. | Dominik Picheta | 2016-09-25 | 1 | -4/+5 |
| | | | |||||
* | | | Improves httpclient documentation. | Dominik Picheta | 2016-09-24 | 1 | -32/+51 |
| | | | |||||
* | | | Implements onProgressChanged callback for httpclient. | Dominik Picheta | 2016-09-24 | 1 | -11/+51 |
| | | | |||||
* | | | Deprecates old httpclient procedures. | Dominik Picheta | 2016-09-24 | 1 | -6/+22 |
| | | | |||||
* | | | Implements getContent and postContent for (Async)HttpClient. | Dominik Picheta | 2016-09-24 | 1 | -1/+36 |
| | | | |||||
* | | | Handle redirects in HttpClient's post procs & post test. | Dominik Picheta | 2016-09-24 | 1 | -0/+10 |
| |/ |/| | |||||
* | | Merge pull request #4815 from pyloor/asyncftp-add-rename | Dominik Picheta | 2016-09-24 | 1 | -0/+7 |
|\ \ | | | | | | | Asyncftpclient: adding rename proc | ||||
| * | | adding rename proc to asyncftpclient | pyloor | 2016-09-21 | 1 | -0/+7 |
| |/ | |||||
* | | Add support for kqueue's EVFILT_VNODE (filesystem monitoring), and add test ↵ | cheatfate | 2016-09-24 | 2 | -9/+68 |
| | | | | | | | | for it. | ||||
* | | Fixed missing comma | Andrea Ferretti | 2016-09-22 | 1 | -1/+1 |
| | | |||||
* | | Added PATCH HTTP method | Andrea Ferretti | 2016-09-21 | 1 | -1/+3 |
|/ | |||||
* | HttpCode shouldn't require explicit initialisation to prevent breakage. | Dominik Picheta | 2016-09-19 | 1 | -1/+3 |
| | |||||
* | Reverted removal of HttpCode.`$`. | Dominik Picheta | 2016-09-19 | 1 | -2/+2 |
| | |||||
* | Fixes `asyncmacro` compilation in tests. | Dominik Picheta | 2016-09-19 | 1 | -2/+1 |
| | |||||
* | Use `distinct range` for HttpCode as suggested by @nigredo-tori. | Dominik Picheta | 2016-09-19 | 2 | -55/+118 |
| | |||||
* | Fixes #4797. | Dominik Picheta | 2016-09-19 | 1 | -0/+3 |
| | |||||
* | Implements proxy support for (Async)HttpClient. Ref #4423. | Dominik Picheta | 2016-09-18 | 2 | -18/+78 |
| | | | | Fixes #2160. |