summary refs log tree commit diff stats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* 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-166-10/+27
| | | | | | | | | | | | | * 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-1617-59/+188
|\
| * 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-1415-18/+92
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
| |/
* | implement the --nilseqs switch properlyAndreas Rumpf2018-08-151-2/+3
| |
* | changes how the now illegal 'string == nil' comparison is detectedAndreas Rumpf2018-08-151-0/+4
| |
* | make more tests greenAndreas Rumpf2018-08-145-38/+8
| |
* | make nimweb compile againAraq2018-08-141-1/+1
| |
* | renames threadpool.await to blockUntil; refs #7853Araq2018-08-141-24/+24
| |
* | make tests green againAraq2018-08-131-2/+6
| |
* | 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-132-9/+8
| |
* | make more tests greenAndreas Rumpf2018-08-138-81/+18
| |
* | WIP: disallow 'nil' for strings and seqsAndreas Rumpf2018-08-1315-85/+101
| |
* | Merge branch 'araq-misc' of github.com:nim-lang/Nim into araq-miscAndreas Rumpf2018-08-101-4/+4
|\ \
| * | rename SystemError to CatchableError in order to avoid breaking Nimble and ↵Araq2018-08-101-4/+4
| | | | | | | | | | | | probably lots of other code
* | | Merge branch 'devel' into araq-miscAndreas Rumpf2018-08-104-6/+60
|\ \ \ | |/ / |/| / | |/
| * fixes #8519; implements T.distinctBase to reverse T = distinct A (#8531)Timothee Cour2018-08-101-0/+38
| |
| * Update channels.nim (#8583)Grant2018-08-091-1/+1
| | | | | | Fix typo in channels.nim
| * 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
* | | rework the exception hierarchy; refs #8363Andreas Rumpf2018-08-102-75/+35
| | |
* | | deprecated regionized pointersAraq2018-08-101-4/+2
| | |
* | | fixes more nil string bugsAraq2018-08-083-8/+10
| | |
* | | make async tests green for LinuxAraq2018-08-081-2/+0
| | |
* | | fixes a long standing nil bug in substrAraq2018-08-081-0/+1
| | |
* | | strutils: minor code cleanupAraq2018-08-081-4/+1
| | |
* | | deprecate isNil for strings and seqsAraq2018-08-081-4/+4
|/ /
* | Make mapIt work on openArray's (#8543)LemonBoy2018-08-071-3/+30
| |
* | fixes #6255, add `system.ashr` arithmetic right shift (#8547)andri lim2018-08-071-0/+17
|/
* Stricter signature for countdown/countup (#8549)Oscar Nihlgård2018-08-071-3/+3
|
* fixes #8421, fixes #7968, Nim compiler compiles with MSVC C89 version (#8556)andri lim2018-08-072-25/+59
|
* Iterator over heap instances (#8548)Emery Hemingway2018-08-071-8/+14
| | | | | Provide "dumpHeapInstances" for iterating over type statistics of heaps. This can be used to present structured heap information as an alternative to "dumpNumberOfInstances".
* OSX: make tioslectors test greenAndreas Rumpf2018-08-061-1/+4
|
* remove redundant test for nil before `add` (#8460)Timothee Cour2018-08-061-2/+0
|
* fixes #5617, 'copyLineInfo' addition (#8523)andri lim2018-08-051-0/+3
|
* Merge pull request #8364 from timotheecour/pr_expandTildeDominik Picheta2018-08-051-14/+12
|\ | | | | ospaths.expandTilde: handle ~ correctly; refactor to use DirSep, AltSep
| * ospaths.expandTilde: handle ~ correctly; refactor to use DirSep, AltSepTimothee Cour2018-07-181-14/+12
| |
* | fixes 7833 (#8533)Andreas Rumpf2018-08-052-10/+74
| | | | | | | | | | | | | | | | | | | | | | * fixes #7833; still to-do: fix setLen * make tests green again * also fixes setLen and string concats; refs #7833 * change formating to avoid a compiler warning * emit the write barrier also for addChar * fixes yet another regression * make setLengthStr compile for the old version * make growobjcrash complete earlier
* | Try to let memTracker compile (#8502)Christopher Dunn2018-08-052-11/+11
| |
* | make 'echo' threadsafe on Windows; fixes #8511Araq2018-08-041-0/+8
| |
* | fixes #7827, bindSym enhancement (#8499)andri lim2018-08-021-1/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * bindSym power up, working prototype * update bindSym doc * add bindSym test * fix some typo * fix bindSym doc * get rid of specialops field from vm * add experimental: dynamicBindSym
* | fixed #7894 (#8496)jcosborn2018-08-011-1/+2
| | | | | | make system tests run properly