Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 |
| | |||||
* | Merge pull request #4629 from flyx/times-parse-yearday | Andreas Rumpf | 2016-08-25 | 1 | -38/+32 |
|\ | | | | | Calculate correct yearday in times.parse | ||||
| * | Improved times tests | Felix Krause | 2016-08-21 | 1 | -38/+32 |
| | | | | | | | | | | | | | | * Added check for yearday * Changed some test dates to check different equivalence classes of yearday (before leap day, at leap day, after february in leap year, after february in non-leap year) | ||||
* | | Fixed tests to expect [Suite] output from unittest | Felix Krause | 2016-08-24 | 2 | -0/+5 |
|/ | |||||
* | make tests green again | Andreas Rumpf | 2016-07-29 | 1 | -1/+3 |
| | |||||
* | Update htmlparser test ``output`` variable | Stephane Fontaine | 2016-07-28 | 1 | -2/+8 |
| | |||||
* | htmlparser: Add test for paragraph inside <dd,li> | Stephane Fontaine | 2016-07-27 | 1 | -0/+38 |
| | |||||
* | fixes #4494 | Andreas Rumpf | 2016-07-22 | 1 | -0/+6 |
| | |||||
* | Fix split stdlib test | Joey Payne | 2016-07-01 | 1 | -1/+1 |
| | |||||
* | Add os tests for directory creation, iteration and deletion | Joey Payne | 2016-06-20 | 1 | -8/+84 |
| | |||||
* | moved random procs from math to its own module (breaking change) | Andreas Rumpf | 2016-05-30 | 2 | -2/+2 |
| | |||||
* | Merge pull request #4130 from lihf8515/devel | Andreas Rumpf | 2016-05-26 | 1 | -23/+35 |
|\ | | | | | Update parsecfg.nim | ||||
| * | Update tparscfg.nim | lihf8515 | 2016-05-02 | 1 | -23/+35 |
| | | |||||
* | | Merge pull request #4025 from flyx/highlight-yaml | Andreas Rumpf | 2016-05-12 | 1 | -0/+139 |
|\ \ | |/ |/| | YAML highlighting support for doctools/highlite | ||||
| * | Fixes to YAML highlighting support, added tests | Felix Krause | 2016-04-01 | 1 | -0/+139 |
| | | |||||
* | | Add parseUInt and parseBiggestUInt functions to stdlib (parseutils, strutils) | Anatoly Galiulin | 2016-03-30 | 1 | -0/+11 |
|/ | |||||
* | Spellcheck | Federico Ceratto | 2016-02-29 | 1 | -1/+1 |
| | |||||
* | Fix tmitems test for changed behaviour of json | def | 2016-02-24 | 1 | -2/+2 |
| | |||||
* | Fix test cases for JSON object changes | def | 2016-02-24 | 1 | -1/+1 |
| | |||||
* | Fixed issue 3539, added test | Anatoly Galiulin | 2016-01-28 | 1 | -0/+39 |
| | |||||
* | makes tests green | Andreas Rumpf | 2016-01-15 | 1 | -1/+1 |
| | |||||
* | Fixed TimeInterval bug. | Dominik Picheta | 2016-01-08 | 1 | -0/+5 |
| | |||||
* | Fixed ttime test. Improved docs in times module. | Dominik Picheta | 2016-01-08 | 1 | -1/+0 |
| | |||||
* | add timeinterval helping functions as per issue #3609 | JamesP | 2015-12-08 | 1 | -37/+57 |
| | | | | | | | | | | add tests to ttime.nim for timeinterval add/subtract functionality Changed assert to doAssert in ttime.nim Added extra tests to ttime.nim Removal of singular help procs for working with TimeIntervals Added TimeIin proc toSeconds(a: TimeInfo, interval: TimeInterval) where subtracting a year gave wrong results Add overflow of units on initInterval eg, 65 seconds is 5 seconds and 1 minute | ||||
* | add assertion tests from times module to ttime.nim test file in tests\stdlib | JamesP | 2015-12-01 | 1 | -2/+121 |
| | |||||
* | Add a unit test that covers issue 3477 | Charles Blake | 2015-11-19 | 1 | -0/+1 |
| | | | | https://github.com/nim-lang/Nim/issues/3477 | ||||
* | Merge branch 'mget' of https://github.com/def-/Nim into def--mget | Araq | 2015-10-13 | 2 | -1/+142 |
|\ | | | | | | | | | | | | | | | | | | | Conflicts: lib/pure/collections/critbits.nim lib/pure/collections/tables.nim lib/pure/xmltree.nim lib/system/sets.nim tests/collections/ttables.nim tests/collections/ttablesref.nim | ||||
| * | Rename mget to `[]` | def | 2015-03-31 | 2 | -1/+142 |
| | | | | | | | | | | | | | | | | | | - In sets, tables, strtabs, critbits, xmltree - This uses the new var parameter overloading - mget variants still exist, but are deprecated in favor of `[]` - Includes tests and fixed tests and usages of mget - The non-var `[]` now throws an exception instead of returning binary 0 or an empty string | ||||
* | | fixing unittest | Peter Mora | 2015-10-06 | 1 | -1/+1 |
| | | |||||
* | | fixes #2473; cleanup of some tests | Araq | 2015-09-30 | 1 | -0/+2 |
| | | |||||
* | | Merge pull request #3378 from jlp765/streamsEx | Dominik Picheta | 2015-09-27 | 1 | -0/+13 |
|\ \ | | | | | | | Streams examples & default newFileStream() file mode | ||||
| * | | fix discard output: section | JamesP | 2015-09-27 | 1 | -2/+1 |
| | | | |||||
| * | | add test for newFileStream() opening a missing file | JamesP | 2015-09-26 | 1 | -0/+14 |
| | | | |||||
* | | | minor fix - remove comments from discard section | JamesP | 2015-09-27 | 2 | -2/+0 |
|/ / | | | | | | | so koch test doesn't complain |