summary refs log tree commit diff stats
path: root/lib/pure
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #4924 from nigredo-tori/fix-4917Andreas Rumpf2016-10-241-9/+47
|\ | | | | Make createDir return discardable bool
| * Improve as previously discussedDmitry Polienko2016-10-221-11/+21
| | | | | | | | Better name for exposed primitive function, checks for pre-existing files
| * Make `createDir` more robustDmitry Polienko2016-10-221-1/+3
| | | | | | | | | | Should now properly work for root directories on Windows (after isAbsolute is fixed)
| * Revert createDir signature, expose rawCreateDirDmitry Polienko2016-10-221-12/+15
| |
| * Fix for unix and solarisDmitry Polienko2016-10-221-6/+5
| |
| * Make createDir return discardable boolDmitry Polienko2016-10-221-11/+35
| |
* | asynchttpserver: cleanup example codeAraq2016-10-241-1/+1
| |
* | Merge pull request #4847 from honewatson/patch-1Andreas Rumpf2016-10-241-0/+11
|\ \ | | | | | | Add respond proc example
| * | Add respond proc examplehonewatson2016-10-031-0/+11
| | | | | | | | | Add an example for the respond proc demonstration JSON response.
* | | Merge pull request #4819 from andreaferretti/usefulmacrosAndreas Rumpf2016-10-241-0/+21
|\ \ \ | | | | | | | | Some useful macros
| * | | Added a dump macro for debuggingAndrea Ferretti2016-09-221-0/+21
| | | |
* | | | Merge pull request #4943 from nigredo-tori/fix-4942Andreas Rumpf2016-10-241-2/+4
|\ \ \ \ | | | | | | | | | | Reset HttpClient if new URL has different port
| * | | | Reset HttpClient if new URL has different portDmitry Polienko2016-10-241-2/+4
| | | | |
* | | | | Merge pull request #4935 from flyx/tablefixAndreas Rumpf2016-10-241-4/+37
|\ \ \ \ \ | | | | | | | | | | | | Table fixes. fixes #4901
| * | | | | Table fixes. fixes #4901Felix Krause2016-10-231-4/+37
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * added `==` for OrderedTable, CountTable and the *Ref types * added missing documentation to all `==` procs * fixed clear() for OrderedTables, which did not work because `var` does not work well with `|` * added tests
* | | | | | Merge pull request #4938 from FedericoCeratto/unittestAndreas Rumpf2016-10-241-3/+21
|\ \ \ \ \ \ | | | | | | | | | | | | | | Improve unittest docs
| * | | | | | Improve unittest docsFederico Ceratto2016-10-231-3/+21
| |/ / / / /
* | | | | | Merge pull request #4937 from cheatfate/newosAndreas Rumpf2016-10-241-36/+125
|\ \ \ \ \ \ | |_|/ / / / |/| | | | | Some changes to os.nim
| * | | | | Fix for getCurrentDir().cheatfate2016-10-231-36/+125
| |/ / / / | | | | | | | | | | | | | | | | | | | | Fix for expandFilename(). Fix for getAppFilename().
* / / / / fixes #4386Andreas Rumpf2016-10-231-2/+2
|/ / / /
* | | | Merge pull request #4931 from nigredo-tori/fix-4929Andreas Rumpf2016-10-221-2/+2
|\ \ \ \ | | | | | | | | | | Fix isAbsolute for Windows root directories
| * | | | Fix isAbsolute for Windows root directoriesDmitry Polienko2016-10-221-2/+2
| | |_|/ | |/| |
* | | | Merge pull request #4932 from cheatfate/fix4928Andreas Rumpf2016-10-221-5/+5
|\ \ \ \ | | | | | | | | | | Fix #4928
| * | | | Fix #4928cheatfate2016-10-221-5/+5
| |/ / /
* / / / Fix #4922, bug in times.parse, mishandling DST.Jonathan Bernard2016-10-211-6/+12
|/ / /
* | | Merge pull request #4919 from def-/httpclient-docAndreas Rumpf2016-10-211-2/+2
|\ \ \ | | | | | | | | Update httpclient documentation
| * | | Update httpclient documentationDennis Felsing2016-10-211-2/+2
| | | |
* | | | One more attempt to fix #4867cheatfate2016-10-211-1/+3
|/ / /
* | | fixes #1518Andreas Rumpf2016-10-202-15/+20
| | |
* | | Merge pull request #4904 from FedericoCeratto/spellingsAndreas Rumpf2016-10-204-9/+9
|\ \ \ | | | | | | | | Fix few typos
| * | | Fix few typosFederico Ceratto2016-10-174-9/+9
| | | |
* | | | fixes #4899Andreas Rumpf2016-10-191-1/+1
|/ / /
* | | Fix handle of error only events.cheatfate2016-10-161-2/+2
| | |
* | | Bugfix for times.initInterval (issue #4889)Jonathan Bernard2016-10-121-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 contentAlpha Shuro2016-10-121-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_handlingAndreas Rumpf2016-10-091-32/+36
|\ \ \ | | | | | | | | Unify waitpid handling
| * | | convert exitStatus to exit codeJohannes Hofmann2016-09-301-3/+3
| | | |
| * | | Merge branch 'devel' into unify_waitpid_handlingJohannes Hofmann2016-09-3013-377/+622
| |\ \ \
| * | | | another attempt at properly declaring the status variableJohannes Hofmann2016-09-251-1/+3
| | | | |
| * | | | make status variable localJohannes Hofmann2016-09-251-2/+1
| | | | |
| * | | | Merge branch 'devel' into unify_waitpid_handlingJohannes Hofmann2016-09-244-11/+79
| |\ \ \ \
| * | | | | rename exitCode to exitStatusJohannes Hofmann2016-09-241-18/+18
| | | | | |
| * | | | | generally update exitCode only after successful completion of waitpid()Johannes Hofmann2016-09-221-23/+26
| | |_|/ / | |/| | |
* | | | | fixes #4844Araq2016-10-081-1/+5
| |_|_|/ |/| | |
* | | | Fixes pesky hint in asyncfutures.Dominik Picheta2016-10-011-0/+2
| | | |
* | | | made test green for 32bit systemAraq2016-09-301-12/+14
| | | |
* | | | made test green for 32bit systemAraq2016-09-301-1/+1
| |_|/ |/| |
* | | Add few JSON examplesFederico Ceratto2016-09-291-0/+2
| | |
* | | made async compile againAndreas Rumpf2016-09-262-1/+1
| | |
* | | revert brainless changesAndreas Rumpf2016-09-261-2/+2
| | |