summary refs log tree commit diff stats
path: root/tests/stdlib
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #7450 from cabhishek/develDominik Picheta2018-04-041-0/+15
|\ | | | | Fixes #6902
| * Fixes #6902Abhishek Kapatkar2018-03-301-0/+15
| |
* | Merge pull request #7495 from GULPF/fix-fill-bugDominik Picheta2018-04-041-11/+0
|\ \ | | | | | | Fix algorithm.fill for empty input
| * | Move algorithm tests away from kochOscar Nihlgård2018-04-041-11/+0
| | |
* | | Merge pull request #7336 from yglukhov/ipaddr-sockaddr-conversionsDominik Picheta2018-04-021-1/+31
|\ \ \ | | | | | | | | Conversion procs for (IpAddress, Port) <-> (SockAddr, Socklen)
| * | | Fixed crash/interface. Added tests.Yuriy Glukhov2018-03-151-1/+31
| |/ /
* | / Comparing datetimesdata-man2018-04-011-1/+9
| |/ |/|
* | Fixes #7433.Dominik Picheta2018-03-291-0/+15
|/
* Resolves #5588: adds openFileStream proc that throws on failure (#7282)twetzel592018-03-041-0/+10
|
* Fix date parsing for a bad inputsdata-man2018-02-191-0/+49
|
* Fix `json.to` for types with generic parametersOscar Nihlgård2018-02-111-1/+8
|
* Merge pull request #6517 from FedericoCeratto/hexstrDominik Picheta2018-01-261-0/+18
|\ | | | | Add string-to-hex and back conversions
| * Add string-to-hex and back conversionsFederico Ceratto2017-11-271-0/+18
| | | | | | | | Add parseHexStr and toHex and tests.
* | fixes #7078Araq2018-01-142-3/+3
| |
* | Merge branch 'devel' of github.com:nim-lang/Nim into develAraq2018-01-111-0/+24
|\ \
| * \ Merge pull request #7033 from GULPF/allow-timezone-closuresDominik Picheta2018-01-101-0/+24
| |\ \ | | | | | | | | Allow timezone procs to be closures
| | * | Allow timezone procs to be closuresOscar Nihlgård2018-01-051-0/+24
| | | |
* | | | rename strformat.fmt to `%` as it works better with backslash escape ↵Araq2018-01-112-3/+3
|/ / / | | | | | | | | | sequences; refs #6958
* / / Add test caseOscar Nihlgård2018-01-091-0/+13
|/ /
* | memfiles: enable test; refs #6361Araq2018-01-031-2/+0
| |
* | cmp(x, y: string) now uses memcmp rather than strcmp (#6869) (#6968)Mathias Stearn2017-12-241-0/+20
| |
* | Merge pull request #6725 from FedericoCeratto/unittest-5114Dominik Picheta2017-12-221-0/+38
|\ \ | | | | | | Add unittest suite/test name filters
| * | Add unittest suite/test name filtersFederico Ceratto2017-11-281-0/+38
| |/ | | | | | | Support simple globbing
* | fixes #6353 (#6951)skilchen2017-12-211-0/+44
| |
* | Better times module (#6552)GULPF2017-12-181-156/+210
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * First work on better timezones * Update tests to new api. Removed tests for checking that `isDst` was included when formatting, since `isDst` no longer affects utc offset (the entire utc offset is stored directly in `utcOffset` instead). * Deprecate getLocaltime & getGmTime * Add `now()` as a shorthand for GetTIme().inZone(Local) * Add FedericoCeratto's timezone tests (#6548) * Run more tests in all timezones * Make month enum start at 1 instead of 0 * Deprecate getDayOfWeekJulian * Fix issues with gc safety * Rename TimeInfo => DateTime * Fixes #6465 * Improve isLeapYear * FIx handling negative adjTime * Cleanup: - deprecated toSeconds and fromSeconds, added fromUnix and toUnix instead (that returns int64 instead of float) - added missing doc comments - removed some unnecessary JS specific implementations * Fix misstake in JS `-` for Time * Update usage of TimeEffect * Removed unecessary use of `difftime` * JS fix for local tz * Fix subtraction of months * Fix `days` field in `toTimeInterval` * Style and docs * Fix getDayOfYear for real this time... * Fix handling of adding/subtracting time across dst transitions * Fix some bad usage of the times module in the stdlib * Revert to use proper time resoultion for seeding in random.nim * Move deprecated procs to bottom of file * Always use `epochTime` in `randomize` * Remove TimeInterval normalization * Fixes #6905 * Fix getDayOfWeek for year < 1 * Export toEpochDay/fromEpochDay and change year/month/monthday order * Add asserts for checking that the monthday is valid * Fix some remaining ambiguous references to `Time` * Fix ambiguous reference to Time
* | Merge branch 'parsesql' of https://github.com/treeform/Nim into ↵Araq2017-12-151-0/+191
|\ \ | | | | | | | | | treeform-parsesql
| * | fixtreeform2017-12-141-296/+111
| | |
| * | fixtreeform2017-12-141-435/+373
| | |
| * | fixtreeform2017-12-141-0/+438
| | |
* | | Merge branch 'devel' of github.com:nim-lang/Nim into develAndreas Rumpf2017-12-152-2/+2
|\| |
| * | Improved collection-to-string behavior (#6825)Fabian Keller2017-12-142-2/+2
| | |
* | | added SQL parser testAndreas Rumpf2017-12-142-0/+310
|/ /
* | Support all int, uint and float variants in json.to macro.Dominik Picheta2017-11-301-1/+27
| |
* | Fix infinite recursion when using json.to on ref with cycle.Dominik Picheta2017-11-302-3/+22
| |
* | Implement support for JsonNode in json.to.Dominik Picheta2017-11-301-1/+18
| |
* | Implement Table/OrderedTable support for json.to macro.Dominik Picheta2017-11-301-2/+25
| |
* | Implement support for Option[T] in json.to macro. Fixes #5848.Dominik Picheta2017-11-301-2/+23
| |
* | Fixes #6604. Rejects unnamed tuples with error.Dominik Picheta2017-11-302-1/+39
| |
* | Fixes #6095.Dominik Picheta2017-11-301-1/+17
| |
* | Fixes #5856. Code based on @loloiccl's PR (#5879).Dominik Picheta2017-11-301-1/+14
| |
* | Fixes #6223.Dominik Picheta2017-11-281-0/+4
|/
* added a warning that the .deprecate statement is unreliable for routinesAndreas Rumpf2017-11-211-1/+1
|
* Appveyor thttpclient (#6744)Fredrik Høisæther Rasch2017-11-151-0/+1
| | | | | | * App option value for disabling tests for AppVeyor * Disable thttpclient on AppVeyor
* attempt to make travis green againAndreas Rumpf2017-11-052-0/+2
|
* make tests green againAraq2017-11-012-4/+4
|
* Update `removeSuffix` implementations to match `removePrefix` (#6636)Bo Lingen2017-10-301-4/+26
|
* remove old implementation of the roof operator; make tests green again; ↵Andreas Rumpf2017-10-292-4/+4
| | | | close #6292
* add `strutils.removePrefix` proc (#6473)Bo Lingen2017-10-281-0/+62
|
* isAlphaNumberic and isDigit improvement + tests (#6579)Viktor Marosvary2017-10-241-0/+19
| | | if we encounter a character that does not satisfy the proc, we return immediately, without continuing to loop over the rest of the chars in the string.
* Merge pull request #6495 from GULPF/Fix-countLeapYearsDominik Picheta2017-10-161-0/+6
|\ | | | | Fix countLeapYears