summary refs log tree commit diff stats
path: root/tests/stdlib
Commit message (Collapse)AuthorAgeFilesLines
* 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
|/
* parsecfg: handle streams and strings when saving or loading configuration ↵Anatoly Galiulin2017-04-061-7/+39
| | | | (#5554)
* Fix posix version of moveFile between different filesystems (#5580)Anatoly Galiulin2017-03-231-0/+1
|
* Reduce the scope of stackTrace var (#5583)Ruslan Mustakov2017-03-221-0/+7
| | | Fixes #5571.
* add bitops module for optimized bit manipulation. (#5201)Parashurama2017-03-144-0/+339
|
* Fixes incorrect fd==0 test on Unix; Conserves handles by default. (#5512)c-blake2017-03-121-1/+1
| | | | | | | | | | | | | | * Fix 2 problems. First, 0 is a valid fd on Unix (easily gotten if user first closes all fds and then starts using memfiles). Use -1 instead for an invalid fd. Second, it is best practice to conserve open fds on Unix and file handles on Windows. These handles are not needed unless the user wants to remap the memory with ``mapMem`` (or a hypothetical future ``proc resize``). Adding a new bool param ``allowRemap=false`` to ``memfiles.open`` solves this cleanly in a "mostly" backward compatible way. This is only "mostly" because the default ``false`` case does not keep unneeded resources allocated, but that most sensible default means that any ``mapMem`` callers need to fix all their open calls to have allowRemap=true, as this PR also does for tmemfiles2.nim. * Include backwards compatibility note.
* close #5472 nre tests should be run (#5474)Florent2017-03-041-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)Florent2017-03-031-14/+9
|
* fixes #5444 - nre.findIter keeps searching when no match is possible (#5453)Florent2017-03-021-0/+19
|