summary refs log tree commit diff stats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* Fix segfault in db_mysql fastRows (#5605)pgkos2017-03-261-4/+20
|
* fixes #5599 (#5610)Andreas Rumpf2017-03-264-7/+15
|
* update linenoise (#5357)Arne Döring2017-03-253-56/+158
|
* 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
|
* Added few documentation lines for the unsafeAddr operator. (#5362)Arne Döring2017-03-231-3/+7
|
* Fix posix version of moveFile between different filesystems (#5580)Anatoly Galiulin2017-03-232-21/+47
|
* Implement asyncfile.readToStream.Dominik Picheta2017-03-231-0/+10
|
* Implement requestAnimationFrame and cancelAnimationFrame in dom module.Dominik Picheta2017-03-231-0/+2
|
* Improve os.getFileSize documentation to specify the unit.Dominik Picheta2017-03-231-1/+2
|
* Fixes #4719. (#5585)Eugene Kabanov2017-03-232-19/+26
|
* Reduce the scope of stackTrace var (#5583)Ruslan Mustakov2017-03-221-2/+1
| | | Fixes #5571.
* Fix #4972. (#5567)Eugene Kabanov2017-03-191-5/+10
|
* Fix #5550 (#5553)Ryan Gonzalez2017-03-182-2/+2
|
* 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-177-14/+31
| | | | | | | | | * 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
|
* hotfix: allocator: don't set origSize to 0Araq2017-03-151-2/+2
|
* decTypeSize on growObj (#5465)Yuriy Glukhov2017-03-151-0/+1
|
* adding support for using llvm ASAN (#5536)Samantha Marshall2017-03-142-1/+31
|
* 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-146-156/+110
|\
| * 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
| |
| * Fix links to manual (#5500)konqoro2017-03-091-28/+28
| |
| * 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-143-13/+26
| |
* | udpate channels.nim documentationAraq2017-03-081-1/+1
|/
* fixes #5487 (#5494)David Krause2017-03-071-15/+49
|
* Check if __STDC_VERSION__ is defined (#5488)Ruslan Mustakov2017-03-071-1/+1
|
* 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-0318-59/+158
|\
| * Make countLines() the same as len(splitLines(s)) (#5470)Simon Krauter2017-03-032-9/+5
| | | | | | | | | | 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
| |
| * Fixed compilation error (#5462)Yuriy Glukhov2017-03-021-3/+0
| |
| * 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.