Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | introduce precise string '[]', '[]=' accessors; fixes #8049 (#8817) | Andreas Rumpf | 2018-08-30 | 1 | -0/+9 |
| | |||||
* | Deprecate xlen() for strings and seqs (#8782) | awr1 | 2018-08-26 | 1 | -2/+7 |
| | | | | | | * deprecates xlen() for strings and seqs * added docs | ||||
* | doAssert, assert now print full path of failing line on error (#8555) | Timothee Cour | 2018-08-25 | 1 | -15/+13 |
| | |||||
* | fixes merge conflict | Araq | 2018-08-23 | 1 | -8/+8 |
|\ | |||||
| * | Fixes #8719 (onFailedAssert now works for doAssert) (#8731) | awr1 | 2018-08-23 | 1 | -8/+8 |
| | | |||||
| * | exploit nil seqs for performance (#8688) | Andreas Rumpf | 2018-08-20 | 1 | -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 bugs | Araq | 2018-08-22 | 1 | -2/+11 |
| | | |||||
* | | make tests green again | Araq | 2018-08-21 | 1 | -0/+1 |
| | | |||||
* | | fixes merge conflict | Andreas Rumpf | 2018-08-19 | 1 | -93/+92 |
|\ \ | |||||
| * | | changes $ for seqs to never produce 'nil' | Andreas Rumpf | 2018-08-18 | 1 | -4/+1 |
| |/ | |||||
| * | Genode fixes (#8501) | Emery Hemingway | 2018-08-16 | 1 | -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-misc | Andreas Rumpf | 2018-08-16 | 1 | -1/+1 |
| |\ | |||||
| | * | Haiku support for Nim (#8542) | alaviss | 2018-08-14 | 1 | -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 properly | Andreas Rumpf | 2018-08-15 | 1 | -2/+3 |
| | | | |||||
| * | | changes how the now illegal 'string == nil' comparison is detected | Andreas Rumpf | 2018-08-15 | 1 | -0/+4 |
| | | | |||||
| * | | make tests green again | Araq | 2018-08-13 | 1 | -2/+6 |
| | | | |||||
| * | | WIP: disallow 'nil' for strings and seqs | Andreas Rumpf | 2018-08-13 | 1 | -6/+15 |
| | | | |||||
| * | | rename SystemError to CatchableError in order to avoid breaking Nimble and ↵ | Araq | 2018-08-10 | 1 | -4/+4 |
| | | | | | | | | | | | | probably lots of other code | ||||
| * | | rework the exception hierarchy; refs #8363 | Andreas Rumpf | 2018-08-10 | 1 | -71/+33 |
| | | | |||||
| * | | deprecate isNil for strings and seqs | Araq | 2018-08-08 | 1 | -4/+4 |
| |/ | |||||
| * | fixes #6255, add `system.ashr` arithmetic right shift (#8547) | andri lim | 2018-08-07 | 1 | -0/+17 |
| | | |||||
| * | Stricter signature for countdown/countup (#8549) | Oscar Nihlgård | 2018-08-07 | 1 | -3/+3 |
| | | |||||
* | | make at least bootstrapping work | Araq | 2018-08-05 | 1 | -4/+6 |
|\| | |||||
| * | fixes #7492 excessiveStackTrace:on shows non-absolute file in stacktrace (#8469) | Timothee Cour | 2018-07-30 | 1 | -1/+3 |
| | | |||||
| * | Fix links to manual.html in the system module documentation (#8467) | Hugo Locurcio | 2018-07-28 | 1 | -3/+3 |
| | | | | | | | | The HTML anchor IDs were changed, which made those links not link to the appropriate section anymore. | ||||
* | | --gc:destructors: next steps; WIP | Andreas Rumpf | 2018-07-21 | 1 | -3/+11 |
| | | |||||
* | | fix merge conflict | Andreas Rumpf | 2018-07-18 | 1 | -23/+22 |
|\| | |||||
| * | fixes #8223 | Andreas Rumpf | 2018-07-17 | 1 | -3/+2 |
| | | |||||
| * | Don't depend on string.h in codegen (#8299) | Yuriy Glukhov | 2018-07-13 | 1 | -17/+17 |
| | | |||||
| * | Do not consider enums with holes as ordinals (#8264) | LemonBoy | 2018-07-12 | 1 | -3/+3 |
| | | | | | | | | | | | | Make the compiler behave consistently with respect to what's written in the manual. Fixes #1239 | ||||
* | | WIP: strings/seqs based on destructors | Andreas Rumpf | 2018-07-17 | 1 | -0/+12 |
| | | |||||
* | | more progress on destructor based strings | Andreas Rumpf | 2018-07-13 | 1 | -79/+84 |
| | | |||||
* | | system.substr is not implemented with compilerProcs anymore | Andreas Rumpf | 2018-07-11 | 1 | -13/+21 |
| | | |||||
* | | refactorings in preparations for the new runtime | Andreas Rumpf | 2018-07-10 | 1 | -0/+1 |
|/ | |||||
* | workaround issue #8223 nim doc fails with doAssertRaises (#8245) | Timothee Cour | 2018-07-08 | 1 | -4/+7 |
| | |||||
* | Add proc toOpenArray[byte] for strings (#7820) | Dmitry Atamanov | 2018-07-07 | 1 | -1/+2 |
| | |||||
* | Put back deprecation path for SomeReal | Mamy Ratsimbazafy | 2018-07-07 | 1 | -0/+2 |
| | | | was wrongly deleted in https://github.com/nim-lang/Nim/commit/c7298561c199255facc562402700322360408179 | ||||
* | system.nim: minor code style change | Araq | 2018-07-06 | 1 | -1/+1 |
| | |||||
* | Merge branch 'devel' of github.com:nim-lang/Nim into araq-devel | Araq | 2018-07-06 | 1 | -1/+1 |
|\ | |||||
| * | Use '\L' instead of '\n' in system for backwards compatibility. | Dominik Picheta | 2018-07-06 | 1 | -1/+1 |
| | | | | | | | | See https://github.com/nim-lang/packages/pull/785. | ||||
* | | restore deprecated PNimrodNode in order to make the CIs happy | Andreas Rumpf | 2018-07-05 | 1 | -0/+2 |
| | | |||||
* | | system.nim: cleanup the formatting | Andreas Rumpf | 2018-06-29 | 1 | -194/+194 |
| | | |||||
* | | system.nim: remove deprecated symbols | Andreas Rumpf | 2018-06-28 | 1 | -74/+0 |
|/ | |||||
* | A minimal patch enabling the new typedesc and static types syntax | Zahary Karadjov | 2018-06-16 | 1 | -4/+18 |
| | |||||
* | Native access to Genode environment | Emery Hemingway | 2018-06-07 | 1 | -4/+33 |
| | | | | | | | | | | | | | | | | | Add a 'GenodeEnv' type and a 'componentConstructHook' to the system module. The 'componentConstructHook' allows for detection of POSIX style programs that exit implicitly or native Genode components that initialize to serve RPC requests and OS signals. This hook takes a 'GenodeEnv' argument so that the environment interface is passed cleanly to application code after globals are initialized. This is an typed pointer to a C++ object, procedures for accessing the environment will be available from a Nimble library and not included in the standard library. The standard library has an internal pointer to the environment object but this is not for external use, the undocumented global environment pointer has been removed. | ||||
* | Fix GC_getStatistics calling itself GC_disableMarkAndSweep in JS (again) | hlaaf | 2018-06-06 | 1 | -1/+1 |
| | |||||
* | Expose GC_setStackBottom (#7885) | Yuriy Glukhov | 2018-06-04 | 1 | -5/+9 |
| | |||||
* | Added $ for openarrays. Fixes #7940. | data-man | 2018-06-01 | 1 | -0/+8 |
| | |||||
* | Fixes #6832 (#7813) | Dmitry Atamanov | 2018-05-19 | 1 | -1/+3 |
| | | | Fixes #6832 | ||||
* | Disable setTerminate when noCppExceptions is defined (#7751) | Emery Hemingway | 2018-05-04 | 1 | -2/+3 |
| |