summary refs log tree commit diff stats
path: root/lib/pure
Commit message (Collapse)AuthorAgeFilesLines
* remove en-dash from the languageAndreas Rumpf2017-04-022-28/+1
|
* Fix #5611Daniil Yarancev2017-04-021-2/+2
|
* support for the Genode OS framework (#5560)Emery Hemingway2017-03-312-7/+16
|
* Merge remote-tracking branch 'origin/concepts-rebased' into araqAndreas Rumpf2017-03-311-2/+17
|\
| * use lower-case proc namesZahary Karadjov2017-03-241-5/+5
| |
| * new type traits: `GenericHead` and `StripGenericParams`Zahary Karadjov2017-03-241-2/+17
| |
* | Merge branch 'devel' into araqAndreas Rumpf2017-03-301-254/+253
|\ \
| * \ Merge branch 'devel' into fix_time_offset_in_times_jsKonstantin Molchanov2017-03-296-40/+54
| |\ \
| | * | JS: Add yearday calculation to getLocalTime and getGMTime, so that yearday ↵Konstantin Molchanov2017-03-291-2/+8
| | | | | | | | | | | | | | | | is not 0 for TimeInfo instances under JS backend. (#5616)
| * | | Stdlib: Times: Use JS's "new Date" to convert TimeInfo to Time.Konstantin Molchanov2017-03-291-260/+253
| | | | | | | | | | | | | | | | To use JS's Date creation from string, I moved the TimeInfo formatting code above the toTime proc declaration. Also, I changed the argument type for newDate from string to cstring for it to work.
| * | | Merge branch 'calculate_yearday_in_timeinfo_js' into fix_time_offset_in_times_jsKonstantin Molchanov2017-03-271-2/+8
| |\ \ \
| | * | | Times: JS: Add yearday to TimeInfo.Konstantin Molchanov2017-03-271-2/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add yearday calculation to getLocalTime and getGMTime, so that yearday is not 0 for TimeInfo instances under JS backend. Yearday 0 has no sense and contradicts the behaviour under C backend, where yearday is an int from 1 to 365, i.e. cannot be 0 even theoretically.
| * | | | Times: JS: Remove implicit UTC convesion.Konstantin Molchanov2017-03-261-1/+1
| |/ / / | | | | | | | | | | | | The conversion would produce incorrect timestamp.
* | | | attempt to make travis OSX tests green and mandatoryAndreas Rumpf2017-03-291-229/+0
| | | |
* | | | 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
| |