summary refs log tree commit diff stats
path: root/lib/pure
Commit message (Collapse)AuthorAgeFilesLines
* fixes #5625Andreas Rumpf2017-03-291-7/+9
|
* Update threadpool.nim (#5624)Tomas Vojtisek2017-03-291-1/+1
|
* Fixes the order in which FutureVar and return completions are made.Dominik Picheta2017-03-271-10/+17
| | | | | | | | | This caused a pretty bad and subtle bug in the asynchttpserver. As far as I can understand, the fact that the returned future was being completed first meant that the underlying async procedure could continue running and thus clean() the FutureVar and request new data. The control then went back and the FutureVar was completed again causing an error.
* fixes #3847 (#5609)Andreas Rumpf2017-03-274-29/+36
|
* fixes #5599 (#5610)Andreas Rumpf2017-03-261-4/+0
|
* JS: Times: Add timezone prop to TimeInfo. (#5581)Konstantin Molchanov2017-03-251-0/+1
|
* Deques compilation error fix (#5591)Dmitriy Fomichev2017-03-241-2/+2
|
* Fix posix version of moveFile between different filesystems (#5580)Anatoly Galiulin2017-03-231-21/+45
|
* Implement asyncfile.readToStream.Dominik Picheta2017-03-231-0/+10
|
* Improve os.getFileSize documentation to specify the unit.Dominik Picheta2017-03-231-1/+2
|
* Reduce the scope of stackTrace var (#5583)Ruslan Mustakov2017-03-221-2/+1
| | | Fixes #5571.
* Fix #5550 (#5553)Ryan Gonzalez2017-03-181-1/+1
|
* resolved unittest conflictAraq2017-03-181-72/+265
|\
| * Add support for custom test report formatters (#5556)Ruslan Mustakov2017-03-181-75/+268
| | | | | | | | | | Implement ConsoleOutputFormatter that is backward compatible with the previous implementation. Implement JUnitOutputFormatter which can be added externally.
* | overloading resolution for getAst; breaking changeAraq2017-03-181-4/+4
|/
* strutils.nim: make removeSuffix robust on empty stringsAndreas Rumpf2017-03-181-9/+2
|
* Fix osproc.peekExitCode() to handle exitcode properly. (#5555)Eugene Kabanov2017-03-171-14/+12
|
* Fixes to support Dragonfly BSD. (#5552)Eugene Kabanov2017-03-174-8/+14
| | | | | | | | | * Fix kqueue.nim and ansi_c.nim to support dragonfly. * Fix ioselectors.nim, threads.nim to support dragonfly. * Fix deprecated dealloc call in tioselectors.nim. * Fix tfsmonitor.nim test to run only on Linux. * Fix osproc.nim return wrong exit codes. * Fix getAppFilename() for dragonfly. * Fix proper exit code handling.
* Fix console logger issue; fixes #5546 (#5547)Anatoly Galiulin2017-03-161-2/+5
|
* Added clear() function for OrderedSet and HashSet. (#5545)GrundleTrundle2017-03-161-0/+25
|
* add bitops module for optimized bit manipulation. (#5201)Parashurama2017-03-141-0/+383
|
* Merge branch 'devel' of github.com:nim-lang/Nim into develAraq2017-03-145-128/+82
|\
| * Minor doc fix as per issue #5523 (#5533)Mark Summerfield2017-03-141-1/+2
| |
| * sequtils: removed outdated noteAndreas Rumpf2017-03-141-3/+0
| |
| * Fixes incorrect fd==0 test on Unix; Conserves handles by default. (#5512)c-blake2017-03-121-8/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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.
| * Fix typo (#5501)Anatoly Galiulin2017-03-101-2/+2
| |
| * SMTP sync/async deduplicationEmery Hemingway2017-03-071-114/+58
| | | | | | | | | | Deduplicate synchronous and asynchronous code with the multisync pragma. Pass address and port at connect rather than ``new(Async)Smtp``.
* | make memory tracker work without onThreadCreationAraq2017-03-141-6/+4
|/
* fixes #5487 (#5494)David Krause2017-03-071-15/+49
|
* Fix iconv import on freebsd and netbsd (#5490)Anatoly Galiulin2017-03-071-4/+9
|
* Fix for #5482, let OrderedTable accept multiple keys (#5485)David Krause2017-03-051-1/+15
|
* tiny docstring fix; fixes #5483 (#5484)Fabian Keller2017-03-051-1/+1
|
* Only remove scheme when there's a TLS request ("https")Rayner De Los Santos F2017-03-031-2/+2
| | | If condition, for not removing the scheme when proxied connection isn't a TLS request ("http://...").
* Merge branch 'devel' into faster-nimsuggestAndreas Rumpf2017-03-0311-48/+140
|\
| * Make countLines() the same as len(splitLines(s)) (#5470)Simon Krauter2017-03-031-8/+4
| | | | | | | | | | The result of countLines() is now increased by 1 compared to the old version. Fixes #5460.
| * Add compute proc for SharedTable (#5385)Ruslan Mustakov2017-03-022-3/+52
| |
| * Fix waiting on coroutines (#5463)Rokas Kupstys2017-03-021-27/+36
| | | | | | | | | | | | Public coroutine API returns a safe reference to specific running coroutine. Fixes bug where multiple coroutines executing same procedure would identify as same coroutine. Greatly optimizes `alive()` (and as a result of that `wait()`) calls. Coroutine struct is allocated together with stack as memory unmanaged by GC.
| * Fixes #5457 - StdLib base64 encodeInternal crashes with out of bound ↵Florent2017-03-021-3/+9
| | | | | | | | exception (#5464)
| * Merge pull request #5466 from yglukhov/asynchttpserver-bad-content-lengthDominik Picheta2017-03-011-1/+3
| |\ | | | | | | Dont assert on malformed requests
| | * Dont assert on malformed requestsYuriy Glukhov2017-03-011-1/+3
| | |
| * | Revert "Listen on ipv6" (#5461)Yuriy Glukhov2017-03-011-2/+2
| |/
| * Add gethostname to nativesockets (#5443)Federico Ceratto2017-03-011-0/+16
| |
| * Fix async timers execution. (#5448)Andrey Sobolev2017-03-011-1/+5
| |
| * Merge pull request #5442 from FedericoCeratto/patch-24Andreas Rumpf2017-02-271-0/+2
| |\ | | | | | | Add comment on return value
| | * Add comment on return valueFederico Ceratto2017-02-261-0/+2
| | |
| * | Merge pull request #5446 from endragor/mt-defaultsslcontextAndreas Rumpf2017-02-271-2/+10
| |\ \ | | | | | | | | Ensure default SSL context is always initialized
| | * | Ensure default SSL context is always initializedRuslan Mustakov2017-02-271-2/+10
| | | |
| * | | Explicitly mark log() method as gcsafeRuslan Mustakov2017-02-271-1/+1
| |/ /
* / / nimsuggest supports prefix matching (first version)Araq2017-02-281-2/+1
|/ /
* | make tests green againAraq2017-02-261-3/+0
| |