summary refs log tree commit diff stats
path: root/lib/pure
Commit message (Collapse)AuthorAgeFilesLines
* fixes #8768Araq2018-08-303-430/+430
|
* fix tests/coroutines/texceptions.nim (#8810)Timothee Cour2018-08-301-1/+6
|
* Net module fixes (#8597)Dominik Picheta2018-08-281-17/+16
| | | | | * net.accept no longer needs an initialised socket. Fixes #7848. * Assert error when using sendTo/recvFrom on TCP socket. * net.sendTo now raises OSError.
* make parseopt work with DLLs on UnixAraq2018-08-281-7/+8
|
* make parsopt compile under --taintMode:onAraq2018-08-281-6/+6
|
* parseopt: keep the seq of arguments as given; fixes various command line ↵Araq2018-08-281-34/+75
| | | | parsing edge cases; refs #6818
* Add escapeJsonUnquoted for json escaped strings without quotes (#8785)hlaaf2018-08-271-4/+16
| | | | | | * Add escapeJsonUnquoted * Add tests for escapeJsonUnquoted
* Update html attrs to current html specNathan Cahill2018-08-261-4/+12
|
* [ospaths] simplify getConfigDir and introduce normalizePathEnd to make (#8680)Timothee Cour2018-08-261-4/+50
| | | | sure path endings are normalized with 0 or 1 trailing sep, taking care of edge cases
* Process timers before and after `select`. Fixes flaky #7758 test. (#8750)Dominik Picheta2018-08-251-19/+24
|
* Add interpreting event parser proc to pegs module. (#8075)gemath2018-08-241-211/+519
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Added simple interpreting event parser to pegs module. * Has side-effects problem. * Macro solution works. * First flat callback test works. * Fixed namespace pollution. * Added handler for pkChar. * Replaced event parser test. * Started extensive docs. * 'callback' to 'handler' renaming part 1. * Renaming 'callback' to 'handler' part2, completed comments. * Fixed exported API pollution. * Added more event handler hooks, fixed comments. * Changed event parser addition entry. * Fixed variable names and comments. * Enhanced comment. * Leave handlers are not called for an unsuccessful match. * The three varieties of back-reference matches are processed in separate of-clauses now. * Improved hygiene and (almost) eliminated exports. * Trying to fix CI test breakage by eliminating export. * Trying to fix CI test breakage by eliminating exports. * Re-activated leave handler code execution for unsuccessful matches. * Eliminated the last export statement (with a funny smelling hack). * Make sure leave handler code is executed for all unsuccessful matcher cases. * Replaced local unicode.`==` with export.
* Don't assume utcOffset == +0 for old dates on Windows (#8744)Oscar Nihlgård2018-08-231-0/+11
|
* Don't skip poll() when no handles are present. (#8727)Dominik Picheta2018-08-231-74/+72
| | | | | | | | | | | Fixes #7886. Fixes #7758. Fixes #6929. Fixes #3909. Replaces #8209.
* make ospaths compile; fixes ospaths.getConfigDir for PosixAndreas Rumpf2018-08-231-3/+5
|
* fixes merge conflictAraq2018-08-234-1478/+1479
|\
| * Decrease source code size in `htmlparser` and add one check (#8690)Tim2018-08-231-1461/+1465
| |
| * Cleanup ttimes (#8714)Oscar Nihlgård2018-08-221-7/+3
| | | | | | | | | | | | * Refactor fromWinTime * Cleanup ttimes
| * fixes 8594 (#8721)cooldome2018-08-221-1/+1
| |
| * Fixes #8716. (#8717)Dominik Picheta2018-08-221-1/+0
| |
| * Fixes ropes regressions due to the not-nil strings (#8687)Dmitry Atamanov2018-08-201-9/+10
| |
| * exploit nil seqs for performance (#8688)Andreas Rumpf2018-08-201-1/+0
| | | | | | | | | | * changes $ for seqs to never produce 'nil' * exploit the fact that empty seqs don't have to allocate in the code generator
* | make sequtils compileAraq2018-08-221-1/+0
| |
* | make more things compile without isNilAraq2018-08-221-1/+1
| |
* | even more strict isNil handling for strings/seqs in order to detect bugsAraq2018-08-2210-134/+91
| |
* | make tests green againAraq2018-08-211-4/+1
| |
* | make tests green againAndreas Rumpf2018-08-181-1/+0
|/
* times.Timezone changes (#8527)Oscar Nihlgård2018-08-171-63/+139
| | | | | | | | | | * Use floorDiv in times.nim * New implementation of times.Timezone * Tweak doc comments * Fix typo
* Look for user nim.cfg in "nim/" subdir in usual config dir locations (#8662)Kaushal Modi2018-08-171-2/+2
| | | Fixes https://github.com/nim-lang/Nim/issues/8661.
* fixes #8658; addQuoted on Option[T] (#8659)Arne Döring2018-08-171-3/+5
|
* fixes #7187 sequtils.toSeq produces the sequence from the iterator twice (#8586)Timothee Cour2018-08-161-14/+26
| | | | | * cleanups refs #8584 * fixes #7187
* Genode fixes (#8501)Emery Hemingway2018-08-162-4/+12
| | | | | | | | | | | | | * Genode fixes - wrap strings in "Genode::Cstring" when logging - define SIGABRT for Genode - disable GCC -fstack-protector - use log RPC for fatal messages - add --os:genode build to appveyor - define paramStr and paramCount * Select fixups for Genode POSIX
* added a variant of quoteShellCommand that takes an openArray of arguments ↵Timothee Cour2018-08-161-0/+14
| | | | (#8272)
* Merge branch 'devel' into araq-miscAndreas Rumpf2018-08-1611-55/+146
|\
| * Merge pull request #8628 from hlaaftana/patch-1Dominik Picheta2018-08-141-2/+2
| |\ | | | | | | Small documentation typo in math
| | * Small documentation typo in mathhlaaf2018-08-141-2/+2
| | |
| * | fixes #8577, fixes #8580, other bug fixes (#8584)Timothee Cour2018-08-141-38/+86
| | |
| * | Haiku support for Nim (#8542)alaviss2018-08-149-14/+50
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * posix_other: Haiku now has spawn.h This is added per https://dev.haiku-os.org/ticket/13446 * posix_other: Add Haiku specific Dirent members * cpuinfo: Add an implementation for Haiku * distros: Add basic Haiku support * encodings: update Haiku support * fenv, math: Haiku now provides libm * times: Add Haiku struct members * ansi_c, osalloc: Add Haiku constants * threads: Add Haiku support * testament: Haiku uses LIBRARY_PATH * nim.cfg: Update Haiku support libnetwork should only be linked if network functions are used * threads: Haiku does not support -pthread switch * tworkingdir: Haiku's env is in /bin * posix_other: add SIGKILLTHR for Haiku * sockets: link with libnetwork on Haiku * coro: correct ucontext.h location http://pubs.opengroup.org/onlinepubs/009696699/basedefs/ucontext.h.html * coro: ucontext backend is not available on Haiku Haiku doesn't provide the <ucontext.h> header, as it was removed from POSIX * coro: fix setjmp backend The compiler does not allow statements after a noreturn function * nativesockets: Haiku doesn't support AI_V4MAPPED * system: hostOS can contains "haiku" * os: add support for Haiku's packagefs packagefs is read-only, but there are writable holes to the underlying file system as well * os: update constant for Haiku
| * | Adds get for Option[T]. (#8462)Dominik Picheta2018-08-141-1/+8
| |/
* | make more tests greenAndreas Rumpf2018-08-142-2/+1
| |
* | renames threadpool.await to blockUntil; refs #7853Araq2018-08-141-24/+24
| |
* | Merge branch 'devel' into araq-miscAraq2018-08-131-11/+20
|\|
| * Fixed 7478: splitLines keepEol option (#8621)Iván Montes2018-08-131-12/+21
| |
* | fixes more nil handling regressionsAraq2018-08-131-7/+7
| |
* | make more tests greenAndreas Rumpf2018-08-135-69/+10
| |
* | WIP: disallow 'nil' for strings and seqsAndreas Rumpf2018-08-1311-67/+77
| |
* | Merge branch 'devel' into araq-miscAndreas Rumpf2018-08-103-5/+59
|\|
| * fixes #8519; implements T.distinctBase to reverse T = distinct A (#8531)Timothee Cour2018-08-101-0/+38
| |
| * Fix regression for mapIt (#8567)LemonBoy2018-08-081-3/+8
| | | | | | | | | | | | Don't try to be too smart and limit the use of `evalOnce` where strictly needed as not every value can be assigned with a `let`. Fixes #8566
| * Merge pull request #8559 from ehmry/fix_8109Dominik Picheta2018-08-081-2/+13
| |\ | | | | | | AsyncHttpClient: return from requests before body completion
| | * AsyncHttpClient: return from requests before body completionEmery Hemingway2018-08-081-2/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | Store the body completion future at the client and wait for it to complete before issuing additional requests. This allows the body FutureStream reader to drain the stream and read buffers to be freed asynchronously. Fix #8109