summary refs log tree commit diff stats
path: root/tests/stdlib
Commit message (Collapse)AuthorAgeFilesLines
* 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
| * Fix countLeapYearsOscar Nihlgård2017-10-101-0/+6
| |
* | [JSON] getBVal -> getBool; getFNum -> getFloatDaniil Yarancev2017-10-141-2/+2
|/
* Add dst formatting tests (#6468)GULPF2017-10-101-11/+19
| | | | | | * Rename ttime.nim => ttimes.nim * Add formating tests for DST, closes #3199 * Make appveyor green * Remove broken test
* the parser finally parses 'echo {1,2}' as it shouldAndreas Rumpf2017-09-303-5/+5
|
* Improved unittest check macro, fixes #5784 (#6446)GULPF2017-09-301-6/+21
|
* Reorder json `add` and `%`, fixes #6385 (#6388)Mamy Ratsimbazafy2017-09-162-0/+15
| | | | | | * Reorder json `add` and `%`, fixes https://github.com/nim-lang/Nim/issues/6385 * rename json test files
* Changed JSON stringification to preserve UTF (#6330)Yuriy Glukhov2017-09-151-1/+1
|
* Fix wrong result of countLines() (#6371)Simon Krauter2017-09-151-0/+12
|
* attempt to make travis green againAraq2017-09-051-14/+18
|
* Remove expr/stmt (#5857)Arne Döring2017-07-253-20/+21
|
* fixes #6049 add mixin release, acquire to withLock (#6113)andri lim2017-07-162-0/+21
|
* fixes #6046 parsecfg failed to parse negative int (#6097)andri lim2017-07-141-0/+23
|
* fixes #5966Fabian Keller2017-06-201-1/+22
|
* fix orderedtable enlarge proc. (#5937)Parashurama2017-06-051-0/+18
| | | This fixes issue #5917
* Merge branch 'araq2' into develAraq2017-05-171-1/+23
|\
| * Merge branch 'zahary' into araq2Andreas Rumpf2017-05-171-1/+23
| |\
| | * close #5757Zahary Karadjov2017-04-301-1/+23
| | |
* | | Fixes #5761.Dominik Picheta2017-05-171-1/+21
| | |
* | | Merge pull request #5019 from FedericoCeratto/json_testsDominik Picheta2017-05-161-0/+384
|\ \ \ | |/ / |/| | Add JSON tests based on https://github.com/nst/JSONTestSuite
| * | Add JSON tests based on https://github.com/nst/JSONTestSuiteFederico Ceratto2017-04-091-0/+384
| | |
* | | disable fragile parts of thttpclient.nimAndreas Rumpf2017-05-041-9/+11
| | |
* | | added IP v6 parsing testsAndreas Rumpf2017-05-041-0/+217
| | |
* | | Implement dial, support IPv6 in httpclient (#5763)Ruslan Mustakov2017-05-022-2/+98
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Implement dial, support IPv6 in httpclient Added ``dial`` procedure to networking modules: ``net``, ``asyncdispatch``, ``asyncnet``. It merges socket creation, address resolution, and connection into single step. When using ``dial``, you don't have to worry about IPv4 vs IPv6 problem. Fixed addrInfo loop in connect to behave properly. Previously it would stop on first non-immediate failure, instead of continuing and trying the remaining addresses. Fixed newAsyncNativeSocket to raise proper error if socket creation fails. Fixes: #3811 * Check domain during connect() only on non-Windows This is how it was in the previous implementation of connect(). * Call 'osLastError' before 'close' in net.dial * Record osLastError before freeAddrInfo in net.dial * Add missing docs for 'dial' proc * Optimize dial to create one FD per domain, add tests And make async IPv6 servers work on Windows. * Add IPv6 test to uri module * Fix getAddrString error handling
* | | Add test for previous commit.Dominik Picheta2017-04-171-1/+10
| | |
* | | Fixes `null` handling for object refs in JSON unmarshal macro.Dominik Picheta2017-04-171-2/+11
| | |
* | | Fix JSON macro bug with ref objects.Dominik Picheta2017-04-171-3/+29
| | |
* | | Implement support for enum fields in JSON macro.Dominik Picheta2017-04-091-1/+17
|/ /
* | Document `to` macro in JSON and add example.Dominik Picheta2017-04-091-0/+26
| |
* | Implements else branch for JSON unmarshalling of object variants.Dominik Picheta2017-04-091-2/+36
| |
* | Improve error messages and add tests for the JSON macro.Dominik Picheta2017-04-081-25/+75
| |
* | Support int, string and bool fields in unmarshal json macro.Dominik Picheta2017-04-081-21/+40
| |
* | First implementation of JSON unmarshal macro.Dominik Picheta2017-04-081-0/+40
|/