summary refs log tree commit diff stats
path: root/lib/system
Commit message (Collapse)AuthorAgeFilesLines
* Fix linking issue in cpp codegenLemonBoy2018-09-191-1/+5
| | | | | | | Declare the root symbol only once and have the other modules depending on it emit an `extern` declaration. Fixes #9013
* don't reuse code from 0.18.0skilchen2018-09-151-9/+2
|
* more efficient fix for #8961skilchen2018-09-151-0/+6
|
* Merge pull request #8966 from LemonBoy/fix-8964Andreas Rumpf2018-09-141-9/+3
|\ | | | | Fix hashing for codegenProc (sic) types
| * Fix hashing for codegenProc (sic) typesLemonBoy2018-09-141-9/+3
| | | | | | | | | | | | | | Since the name mangling is inhibited we should take the user-supplied name during the sighash computation. Fixes #8964
* | Merge branch 'devel' into araq-better-docgenAraq2018-09-142-15/+7
|\|
| * Always emit hti object types if needed (#8940)LemonBoy2018-09-111-1/+1
| | | | | | | | | | | | | | | | The compiler is now smart enough to emit types only if needed without all the importc tricks. This also fixes a codegen bug where, if all the stars align correctly, typeinfo doesn't include any definition of `TNimType` but uses it. Found by @skilchen in #8938
| * JS strings have no trailing zero anymore (#8936)LemonBoy2018-09-111-14/+6
| |
* | fixes #8961Araq2018-09-141-2/+2
|/
* system/excpt: nil is no longer vaild for seqs (#8825)alaviss2018-08-311-1/+1
|
* Allow Nimble to override the ``task`` template in nimscript. (#8798)Dominik Picheta2018-08-281-18/+18
|
* doAssert, assert now print full path of failing line on error (#8555)Timothee Cour2018-08-251-0/+11
|
* fixes #8739; allow --hint:foo:on --warning:bar:off (#8757)Timothee Cour2018-08-251-2/+2
|
* make more tests green; system.repr does not produce 'nil' for strings and ↵Araq2018-08-221-3/+6
| | | | seqs anymore
* make tio test green againAraq2018-08-221-3/+7
|
* even more strict isNil handling for strings/seqs in order to detect bugsAraq2018-08-225-20/+12
|
* fixes merge conflictAndreas Rumpf2018-08-1910-25/+63
|\
| * Genode fixes (#8501)Emery Hemingway2018-08-162-2/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | * 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-163-2/+28
| |\
| | * Haiku support for Nim (#8542)alaviss2018-08-143-2/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
| * | make more tests greenAndreas Rumpf2018-08-131-1/+1
| | |
| * | Merge branch 'devel' into araq-miscAndreas Rumpf2018-08-101-1/+1
| |\|
| | * Update channels.nim (#8583)Grant2018-08-091-1/+1
| | | | | | | | | Fix typo in channels.nim
| * | fixes more nil string bugsAraq2018-08-081-0/+1
| | |
| * | fixes a long standing nil bug in substrAraq2018-08-081-0/+1
| |/
| * 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".
| * 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 at least bootstrapping workAraq2018-08-056-10/+102
|\ \
| * | make setLengthStr compile for the old versionAraq2018-08-041-3/+2
| | |
| * | Merge branch 'devel' into araq-fixes-7833Araq2018-08-041-0/+8
| |\|
| | * make 'echo' threadsafe on Windows; fixes #8511Araq2018-08-041-0/+8
| | |
| * | fixes yet another regressionAraq2018-08-041-3/+12
| | |
| * | Merge branch 'devel' into araq-fixes-7833Araq2018-08-041-1/+2
| |\|
| | * fixed #7894 (#8496)jcosborn2018-08-011-1/+2
| | | | | | | | | make system tests run properly
| * | WIP: avoid using the old growObj in order to fix the newly introduced seq leaksAraq2018-08-031-6/+59
| | |
| * | fixes #7833; still to-do: fix setLenAraq2018-07-301-1/+4
| |/
| * Added c_abort to ansi_c (#8449)Yuriy Glukhov2018-07-301-0/+3
| |
| * Implements alloc/dealloc counters for better leak debugging. (#8384)Dominik Picheta2018-07-212-0/+16
| |
* | WIP: nothing worksAndreas Rumpf2018-08-051-4/+5
| |
* | --gc:destructors: next steps; WIPAndreas Rumpf2018-07-212-18/+18
| |
* | fix merge conflictAndreas Rumpf2018-07-184-3/+52
|\|
| * Don't depend on string.h in codegen (#8299)Yuriy Glukhov2018-07-135-4/+53
| |
* | WIP: strings/seqs based on destructorsAndreas Rumpf2018-07-171-1/+0
| |
* | more progress on destructor based stringsAndreas Rumpf2018-07-138-61/+54
| |
* | system.substr is not implemented with compilerProcs anymoreAndreas Rumpf2018-07-111-3/+7
| |
* | mmdisp: code cleanupsAndreas Rumpf2018-07-111-64/+59
| |
* | string comparisons don't have to know the strings representationAndreas Rumpf2018-07-101-21/+8
| |
* | refactorings in preparations for the new runtimeAndreas Rumpf2018-07-102-285/+294
|/
* Merge branch 'devel' of github.com:nim-lang/Nim into araq-develAraq2018-07-061-29/+103
|\