Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 | ||||
| * | Add HTTP header deletion, improve tests | Federico Ceratto | 2016-12-01 | 1 | -0/+28 |
| | | |||||
* | | Rewrite xmltools.innerText | Dmitry Polienko | 2016-11-30 | 1 | -2/+16 |
|/ | | | | Make it recursive, define for node types other than xnElement | ||||
* | Added deques module, deprecating queues | Ruslan Mustakov | 2016-11-24 | 1 | -5/+5 |
| | |||||
* | Parse 'Z' as valid timezone if offset is expected | Felix Krause | 2016-11-14 | 1 | -0/+4 |
| | |||||
* | Improved `-`; fixed tests | Felix Krause | 2016-11-14 | 1 | -2/+2 |
| | | | | | | * added prefix `-` operator for TimeInterval * improved `-` for both TimeInterval and TimeInfo * Fixed a DST test | ||||
* | Fixed daylight saving time | Felix Krause | 2016-11-14 | 1 | -1/+22 |
| | | | | | | | | | * When formatting timezone, substract 1 hour from timezone when isDST * Do not depend DST in current timezone when parsing arbitrary date because formatted timestamps are never in DST. * On the way, removed an unnecessary line in parsing code which could cause bugs. * Added DST tests | ||||
* | Fixed timezone rendering, added test | Felix Krause | 2016-11-10 | 1 | -0/+12 |
| | |||||
* | Merge pull request #5002 from goldenreign/time-compare-nosideeffect | Andreas Rumpf | 2016-11-07 | 1 | -0/+11 |
|\ | | | | | Add 'noSideEffect' pragma for Time type's operators. Fixes #4981 | ||||
| * | Add 'noSideEffect' pragma for Time type's operators | goldenreign | 2016-11-07 | 1 | -0/+11 |
| | | |||||
* | | Use ISO 8601 format for times.`$`. Fixed tests. | Felix Krause | 2016-11-01 | 1 | -51/+66 |
| | | | | | | | | | | | | * `$` now uses format() with explicit time zone. * Fixed errors in rendering "z", "zz" and "zzz" * Updated tests | ||||
* | | Removed tzname because it's broken | Felix Krause | 2016-11-01 | 1 | -12/+12 |
|/ | | | | | | | * No mapping between TimeInfo.tzname and TimeInfo.timezone * tzname of time.h is not well-defined, may have almost arbitrary length, and localization may differ * Code used hardcoded "UTC" string | ||||
* | add test: echo a seq with a nil value | jlp765 | 2016-11-01 | 1 | -0/+2 |
| | |||||
* | Merge pull request #4924 from nigredo-tori/fix-4917 | Andreas Rumpf | 2016-10-24 | 1 | -0/+22 |
|\ | | | | | Make createDir return discardable bool | ||||
| * | Improve as previously discussed | Dmitry Polienko | 2016-10-22 | 1 | -0/+10 |
| | | | | | | | | Better name for exposed primitive function, checks for pre-existing files | ||||
| * | Revert createDir signature, expose rawCreateDir | Dmitry Polienko | 2016-10-22 | 1 | -7/+0 |
| | | |||||
| * | Make createDir return discardable bool | Dmitry Polienko | 2016-10-22 | 1 | -0/+19 |
| | | |||||
* | | make tgetfileinfo work on Windows | Araq | 2016-10-24 | 1 | -8/+16 |
| | | |||||
* | | Merge branch 'devel' of https://github.com/rudis/Nim into rudis-devel | Araq | 2016-10-24 | 1 | -1/+31 |
|\ \ | |||||
| * | | tests: add more tests for getFileInfo() | Simon Ruderich | 2016-09-17 | 1 | -1/+31 |
| | | | |||||
* | | | Fix #4922, bug in times.parse, mishandling DST. | Jonathan Bernard | 2016-10-21 | 1 | -0/+16 |
| |/ |/| | |||||
* | | Bugfix for times.initInterval (issue #4889) | Jonathan Bernard | 2016-10-12 | 1 | -1/+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) ``` | ||||
* | | Implements onProgressChanged callback for httpclient. | Dominik Picheta | 2016-09-24 | 1 | -3/+22 |
| | | |||||
* | | Implements getContent and postContent for (Async)HttpClient. | Dominik Picheta | 2016-09-24 | 1 | -0/+19 |
| | | |||||
* | | Handle redirects in HttpClient's post procs & post test. | Dominik Picheta | 2016-09-24 | 1 | -18/+17 |
| | | |||||
* | | Fixes #4797. | Dominik Picheta | 2016-09-19 | 1 | -0/+4 |
| | | |||||
* | | Implements proxy support for (Async)HttpClient. Ref #4423. | Dominik Picheta | 2016-09-18 | 1 | -0/+6 |
| | | | | | | | | Fixes #2160. | ||||
* | | Implements timeouts for synchronous HttpClient. | Dominik Picheta | 2016-09-18 | 1 | -0/+13 |
| | | |||||
* | | Improvements to httpclient. Refs #4423. | Dominik Picheta | 2016-09-18 | 1 | -0/+53 |
|/ | | | | | | * Adds ability to query HttpCode and compare it with strings. * Moves HttpMethod to HttpCore module. * Implements synchronous HttpClient using {.multisync.}. | ||||
* | Use array encoding for non-UTF-8 strings in marshal. Fixes #4779. | Ruslan Mustakov | 2016-09-16 | 1 | -2/+10 |
| |