summary refs log tree commit diff stats
path: root/lib/system
Commit message (Collapse)AuthorAgeFilesLines
* assertions: fixes #11545 (#11605)alaviss2019-07-011-3/+5
| | | | | | | | | | | | | | * assertions: properly fix #11545 * tests/assert: enable excessiveStackTrace * tests/assert: add test case for #11545 * tfailedassert_stacktrace: disable excessiveStackTrace * assertions: weird workaround for failing tests This fixes megatest on *nix, but have no idea why
* Make repr use 'ptr' for ptr types instead of 'ref' (#11626)Ico Doornekamp2019-07-011-1/+2
|
* assertions: make assert follow excessiveStackTrace (#11574)alaviss2019-06-251-3/+1
|
* [refactoring] remove zeroExtend and friends from the compiler builtins. (#11531)Arne Döring2019-06-241-16/+17
| | | | | * remove zeroExtend and friends from the compiler builtins. * fix jssys
* [feature] Add dynlib (required on windows/cpp) to nimCoroutines related ↵Giovanni Petrantoni2019-06-231-3/+3
| | | | gc_common procs (#11567)
* [bugfix] gc_common: export foreign thread gc docs (#11536)alaviss2019-06-191-6/+12
|
* [feature] Add boehm gc finalizer (#11446)yatsen12019-06-171-0/+7
|
* [feature] Added os.delEnv; add delEnv support to nimscript too (#11466)Kaushal Modi2019-06-151-3/+7
| | | [feature] Fixes https://github.com/nim-lang/Nim/issues/11452.
* [other] preparations for --styleCheck:error for the Nim compiler (#11478)Andreas Rumpf2019-06-124-43/+45
|
* [refactoring] refactor the compiler and stdlib to deprecation warnings (#11419)Arne Döring2019-06-111-2/+2
|
* [other] better error message for IndexError for empty containers (#11476)Miran2019-06-111-1/+2
|
* fix `koch docs` failing at io.nim with `import os` in config.nims (#11418) ↵nc-x2019-06-081-1/+0
| | | | [bugfix]
* Fixed "is not GC-safe as it calls 'createThread'" when creating a thread in ↵Dankr4d2019-06-031-1/+1
| | | | a thread. (#11390)
* Additional platform definitions for sparc64 (#11387)John Paul Adrian Glaubitz2019-06-031-0/+2
| | | | | | * lib/posix: Define SO_REUSEPORT for sparc64 as 0x0200 from kernel ABI * lib/system: Add platform support for sparc64
* Remove immediate pragma (#11308)Arne Döring2019-05-292-7/+1
| | | | | * remove immediate from tests * remove immediate from the compiler
* right shift is now by default sign preserving (#11322)Arne Döring2019-05-294-30/+30
| | | | | | | | | | | * right shift is now by default sign preserving * fix hashString and semfold * enable arithmetic shift right globally for CI * fix typo * remove xxx * use oldShiftRight as flag * apply feedback * add changelog entry
* fixes #11205Araq2019-05-281-0/+5
|
* better error message for the object case switch transition periodAraq2019-05-271-1/+4
|
* hotfix for 32bit unsigned 'range' checking; incomplete, unknown why some ↵Araq2019-05-271-0/+6
| | | | operations produce range checks
* make json.to work with the more restricted case objectsAraq2019-05-271-3/+3
|
* fixes #1286; object case transitions are now soundAndreas Rumpf2019-05-271-2/+6
|
* fixes #10963, disallow implicit mixing of strings and ints/floats (#11292)Miran2019-05-211-7/+15
|
* Allow void macro result (#11286)Arne Döring2019-05-211-1/+1
| | | | | * allow void macro result * add test for void macro result type
* cas(): use an "__atomic" builtin instead of the legacy "__sync" one (#11246)Ștefan Talpalaru2019-05-141-0/+3
| | | "New code should always use the ‘__atomic’ builtins rather than the ‘__sync’ builtins." - https://gcc.gnu.org/onlinedocs/gcc/_005f_005fatomic-Builtins.html
* rename tyExpr/tyStmt to tyUntyped/tyTyped (#11227)Arne Döring2019-05-111-2/+2
|
* repr on seq now outputs @[...] (#11224)Ico Doornekamp2019-05-101-1/+1
|
* Merge pull request #11181 from nim-lang/pending-future-trackingAndreas Rumpf2019-05-081-0/+6
|\ | | | | Implements pending future tracking in async.
| * Implements pending future tracking in async.Dominik Picheta2019-05-061-0/+6
| |
* | fixes #10978Araq2019-05-061-1/+4
| |
* | iterators: several small fixes (#11162)Miran2019-05-041-24/+51
|/ | | | | | * fix pairs, mpairs, mitems for cstring for JS backend * add mutation check for pairs and mpairs for strings and seqs * change the assertion message - modifying (changing elements) is not a problem, changing the length is
* Fix header inconsistencies in documentation (#11071)Zed2019-04-231-2/+3
|
* make -d:nimQuirky work with develAndreas Rumpf2019-04-202-1/+3
|
* hotfix: nimParseBiggestFloat needs to be patched for the newer string ↵Andreas Rumpf2019-04-201-20/+20
| | | | implementations; refs #11062
* Compiler plugin for implementing incremental computation in user space (#10819)cooldome2019-04-111-0/+19
| | | | | | | | | | This plugin provides essential building block for implementing incremental computations in your programs. The idea behind incremental computations is that if you do the same calculation multiple times but with slightly different inputs you don't have to recompute everything from scratch. Also you don't want to adopt special algorithms either, you would like to write your code in standard from scratch manner and get incrementality for free when it is possible. The plugin computes the digest of the proc bodies, recursively hashing all called procs as well . Such digest with the digest of the argument values gives a good "name" for the result. Terminology loosely follows paper "Incremental Computation with Names" link below. It works well if you have no side effects in your computations. If you have global state in your computations then you will need problem specific workarounds to represent global state in set of "names" . SideEffect tracking in Nim also useful in this topic. Classical examples: Dashboard with ticking data. New data arrives non stop and you would like to update the dashboard recomputing only changed outputs. Excel spreadsheet where user changes one cell and you would like to recompute all cells that are affected by the change, but do not want to recompute every cell in the spreadsheet.
* fixes #10765 (#10993) [backport]cooldome2019-04-111-4/+21
|
* make tests green againAraq2019-04-091-2/+6
|
* make it compile with older nim versionsAraq2019-04-082-0/+5
|
* respect -d:useMalloc everywhere; turn ansi_c and memory into proper Nim modulesAraq2019-04-082-60/+63
|
* add back what was requiredAraq2019-04-041-0/+6
|
* refactoring: move threadlocalstorage into its own fileAraq2019-04-043-326/+253
|
* fixes #10953Andrii Riabushenko2019-04-031-1/+1
|
* attempt to make the CIs green againAraq2019-04-021-5/+1
|
* do not display stacktrace twice, fixes #10922 (#10939)Miran2019-04-021-1/+0
|
* code cleanup (#10874)Arne Döring2019-03-283-26/+36
|
* use atomicInc/atomicDec (#10906)Miran2019-03-271-6/+5
|
* improvements on the hot code reloading support (#10892)Viktor Kirilov2019-03-231-1/+1
| | | | | | | | * calling the "_actual" versions of functions when defined within the same module - slowdown for the snappy compression is now down from x6 to x4-x5 when HCR is ON * dynamically linking to the runtime for VS when HCR is on - binaries are smaller * compilerProcs are also called using the _actual direct version within the module they are defined (system)! * updated comments & goals * handling VS-compatible compilers on Windows in a cleaner way * now the .dll/.so files end up in the nimcache even when --nimcache isn't explicitly stated
* Merge branch 'devel' of github.com:nim-lang/Nim into develAndreas Rumpf2019-03-212-5/+9
|\
| * use abort instead of quit (#10872)Arne Döring2019-03-212-5/+9
| |
* | fixes -d:nimTypeNames leak detection regressionAndreas Rumpf2019-03-211-4/+4
|/
* make DLLs tests green againAndreas Rumpf2019-03-151-1/+1
|