summary refs log tree commit diff stats
path: root/lib/system.nim
Commit message (Collapse)AuthorAgeFilesLines
* update version to 0.19Andreas Rumpf2018-09-251-2/+2
|
* .error for routines now can also have a custom error message; improve error ↵Araq2018-09-251-2/+10
| | | | message for 'nil' strings
* Implements the equals operator for openarrayZahary Karadjov2018-09-181-0/+10
|
* documents system.cmp's platform specific behaviour; fixes #8930Araq2018-09-151-0/+2
|
* Merge branch 'devel' into araq-better-docgenAraq2018-09-141-8/+11
|\
| * Merge pull request #8941 from timotheecour/pr_fix_8928Andreas Rumpf2018-09-121-2/+5
| |\ | | | | | | fix #8928 regression
| | * fix #8928Timothee Cour2018-09-111-2/+5
| | |
| * | Fix add(string, cstring) when the lhs is null (#8951)LemonBoy2018-09-121-3/+4
| |/
| * JS strings have no trailing zero anymore (#8936)LemonBoy2018-09-111-2/+1
| |
| * Fix insert/delete for JS (#8915)LemonBoy2018-09-081-2/+2
| | | | | | Fixes #8914
* | fixes #8961Araq2018-09-141-2/+2
| |
* | system.nim: fix doc comment for 'once'Andreas Rumpf2018-09-071-6/+6
|/
* Automatic deref for everything but pointers in asm/emit (#8891)LemonBoy2018-09-071-3/+3
| | | Fixes #7249
* fix items for cstring for the JS target; makes tests green againAraq2018-09-031-4/+11
|
* deprecate system.onRaise; fixes #1652Araq2018-09-031-1/+4
|
* fixes #8847Araq2018-09-031-1/+1
|
* introduce precise string '[]', '[]=' accessors; fixes #8049 (#8817)Andreas Rumpf2018-08-301-0/+9
|
* Deprecate xlen() for strings and seqs (#8782)awr12018-08-261-2/+7
| | | | | | * deprecates xlen() for strings and seqs * added docs
* doAssert, assert now print full path of failing line on error (#8555)Timothee Cour2018-08-251-15/+13
|
* fixes merge conflictAraq2018-08-231-8/+8
|\
| * Fixes #8719 (onFailedAssert now works for doAssert) (#8731)awr12018-08-231-8/+8
| |
| * exploit nil seqs for performance (#8688)Andreas Rumpf2018-08-201-4/+1
| | | | | | | | | | * changes $ for seqs to never produce 'nil' * exploit the fact that empty seqs don't have to allocate in the code generator
* | even more strict isNil handling for strings/seqs in order to detect bugsAraq2018-08-221-2/+11
| |
* | make tests green againAraq2018-08-211-0/+1
| |
* | fixes merge conflictAndreas Rumpf2018-08-191-93/+92
|\ \
| * | changes $ for seqs to never produce 'nil'Andreas Rumpf2018-08-181-4/+1
| |/
| * Genode fixes (#8501)Emery Hemingway2018-08-161-2/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | * 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
| * Merge branch 'devel' into araq-miscAndreas Rumpf2018-08-161-1/+1
| |\
| | * Haiku support for Nim (#8542)alaviss2018-08-141-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
| * | 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 tests green againAraq2018-08-131-2/+6
| | |
| * | WIP: disallow 'nil' for strings and seqsAndreas Rumpf2018-08-131-6/+15
| | |
| * | rename SystemError to CatchableError in order to avoid breaking Nimble and ↵Araq2018-08-101-4/+4
| | | | | | | | | | | | probably lots of other code
| * | rework the exception hierarchy; refs #8363Andreas Rumpf2018-08-101-71/+33
| | |
| * | deprecate isNil for strings and seqsAraq2018-08-081-4/+4
| |/
| * 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
| |
* | make at least bootstrapping workAraq2018-08-051-4/+6
|\|
| * fixes #7492 excessiveStackTrace:on shows non-absolute file in stacktrace (#8469)Timothee Cour2018-07-301-1/+3
| |
| * Fix links to manual.html in the system module documentation (#8467)Hugo Locurcio2018-07-281-3/+3
| | | | | | | | The HTML anchor IDs were changed, which made those links not link to the appropriate section anymore.
* | --gc:destructors: next steps; WIPAndreas Rumpf2018-07-211-3/+11
| |
* | fix merge conflictAndreas Rumpf2018-07-181-23/+22
|\|
| * fixes #8223Andreas Rumpf2018-07-171-3/+2
| |
| * Don't depend on string.h in codegen (#8299)Yuriy Glukhov2018-07-131-17/+17
| |
| * Do not consider enums with holes as ordinals (#8264)LemonBoy2018-07-121-3/+3
| | | | | | | | | | | | Make the compiler behave consistently with respect to what's written in the manual. Fixes #1239
* | WIP: strings/seqs based on destructorsAndreas Rumpf2018-07-171-0/+12
| |
* | more progress on destructor based stringsAndreas Rumpf2018-07-131-79/+84
| |
* | system.substr is not implemented with compilerProcs anymoreAndreas Rumpf2018-07-111-13/+21
| |
* | refactorings in preparations for the new runtimeAndreas Rumpf2018-07-101-0/+1
|/