summary refs log tree commit diff stats
path: root/lib/system
Commit message (Collapse)AuthorAgeFilesLines
* arc: =deepcopy fixesAraq2020-09-201-5/+14
|
* ORC and stdlib optimizations (#15362)Andreas Rumpf2020-09-193-23/+27
|
* fix coro proc crash for stack problem when run long enough than a GC cycle ↵yatsen12020-09-181-0/+6
| | | | | | (#7612) (#11410) Co-authored-by: drswinghead <drswinghead@gmail.com> Co-authored-by: Clyybber <darkmine956@gmail.com>
* more ORC bugfixes (#15355)Andreas Rumpf2020-09-182-8/+35
| | | | | * introduced --define:nimArcIds * ORC: bugfixes
* allow old styled RTTI for arc/orc (#15331)Andreas Rumpf2020-09-1610-103/+190
|
* fixes #15076 (#15329)Andreas Rumpf2020-09-151-5/+18
|
* fixes a critical ORC bug, refs #15076 (#15323)Andreas Rumpf2020-09-141-35/+29
|
* Fix c_malloc inside syslocks.nim to take size_t (#15268) [backport]shirleyquirk2020-09-051-3/+3
| | | | * update c_malloc's to csize_t
* fixes #15210 [backport:1.2] (#15237)Andreas Rumpf2020-08-311-0/+3
| | | | | * fixes #15210 [backport:1.2] * use patched version of bigints library
* Changes for FreeRTOS/LwIP Port for the ESP32 (ESP-IDF) (#15250)Jaremy Creechley2020-08-312-4/+10
| | | | | | | | | | | | | | | | | | | * Changes for FreeRTOS/LwIP Port for the ESP32 (ESP-IDF) Adding FreeRTOS/LwIP to compiler: * adding freertos option * dyncalls for freertos * add freertos to posix os list * adding lwip option Setting up networking FreeRTOS/LwIP Port: * setting up lwip network for freertos * fixing posix / networking for freertos * disable setInheritable for freerots * using lwip for net control items * Fix builds by ignoring lib/posix/posix_freertos_consts.nim similar to lib/posix/posix_other_consts.nim
* gc_regions: cleanup & fixes for deallocation (#11920)alaviss2020-08-171-5/+4
| | | | | | | | | * gc_regions: withRegion nows return the modified MemRegion * gc_regions: make withScratchRegion dealloc correctly * tests/gc: add tregionleak test This test checks if memory within regions are freed properly.
* disable sink inference, only enable it for the stdlib. Reason: better source ↵Andreas Rumpf2020-07-281-0/+3
| | | | code compatibility (#15105)
* more renamingsAraq2020-07-271-0/+0
|
* code cleanupAraq2020-07-273-209/+1
|
* Fix #2408 - add -d:globalSymbols (#14904)genotrance2020-07-211-1/+4
|
* readLine: Unicode support for Windows console (#14782)Andreas Rumpf2020-07-201-0/+62
|\ | | | | | | | | | | | | | | | | | | | | | | * readLine: Unicode support for Windows console When input is read from the Windows console, input encoding is UTF16. This is translated internally to UTF8. * readLine: Remove recursive imports * readLine: Fix issues with --gc:arc **--gc:arc** defines **nimv2**. This changes the definition of **WideCStringObj**. Also an empty string should be returned in case of EOF.
| * readLine: Fix issues with --gc:arcktamp2020-06-261-6/+11
| | | | | | | | **--gc:arc** defines **nimv2**. This changes the definition of **WideCStringObj**. Also an empty string should be returned in case of EOF.
| * readLine: Remove recursive importsktamp2020-06-251-10/+31
| |
| * readLine: Unicode support for Windows consolektamp2020-06-231-0/+36
| | | | | | When input is read from the Windows console, input encoding is UTF16. This is translated internally to UTF8.
* | io: fix SetHandleInformation signature to match Windows' (#15017)alaviss2020-07-201-2/+7
| | | | | | | | | | | | | | * io: fix SetHandleInformation signature to match Windows' Fixes #14980 * rename Handle -> IoHandle because system.nim is a mess
* | fix #15006 (#15007)flywind2020-07-171-1/+1
| |
* | Fix #14994 (#14996)Clyybber2020-07-151-0/+1
| | | | | | | | | | | | | | * Fix #14994 * Revert misplaced "optimization" * Typo
* | repr_v2 improvements (#14992)Clyybber2020-07-151-10/+28
| | | | | | | | | | | | | | * Support proc in arc repr * Typo * Improve repr for strings and chars
* | optimize the new nimPrepareStrMutationV2 with inlining (#14969)Andreas Rumpf2020-07-121-6/+9
| |
* | Move `wasMoved` out of `=destroy`Clyybber2020-07-102-3/+1
| |
* | deprecate existsDir; use dirExists instead (#14884)Timothee Cour2020-07-031-7/+6
| |
* | {.deprecated: [existsFile: fileExists].} (#14735)Timothee Cour2020-07-021-4/+5
| | | | | | | | | | | | | | | | | | * {.deprecated: [existsFile: fileExists].} * s/existsFile/fileExists/ except under deps * workaround pending #14819 * fix test
* | Clean out Deprecated proc (#14797)Juan Carlos2020-06-291-8/+0
|/ | | | * Remove and/or clean out Deprecated 'add' proc for floats * Update a test
* fix #14750, don't allocate too much in newWideCString (#14773)Miran2020-06-231-3/+2
|
* init checks and 'out' parameters (#14521)Andreas Rumpf2020-06-238-14/+20
| | | | | | | | | | | * I don't care about observable stores * enforce explicit initializations * cleaner code for the stdlib * stdlib: use explicit initializations * make tests green * algorithm.nim: set result explicitly * remove out parameters and bring the PR into a mergable state * updated the changelog
* Remove outdated comment and copy of length (#14759)Clyybber2020-06-221-13/+3
|
* Remove deprecated stuff from stdlib (#14699)Miran2020-06-171-8/+0
| | | | | | | * update to the latest Jester * remove deprecated procs from some stdlib modules * 'criterion' is not maintained anymore and relies on obsolete stuff
* fix #14179, fix #14142, make CI 1.4x faster (2x faster locally) (#14658)Timothee Cour2020-06-161-3/+8
| | | | | | | | | | | | | | | * fix #14142: no more clash with: import os + use of existsDir/dirExists/existsFile/fileExists/findExe in config.nims * remove a comment * Revert "fixes the regression #12860 caused; hotfix" This reverts commit 3d2459bdc0b6d6236a2cd9209ed81c965ee411a5. * Revert "Undefine `paramCount` & `paramStr` in nimscript.nim for *.nims (#12860)" This reverts commit d38853c504d89d6e361f064a17391afaf42d74b8. * noNimScript => noWeirdTarget + noNimJs
* fix #14655 setLen(seq) now zeros memory (#14656)Timothee Cour2020-06-141-14/+15
| | | | | * simplify sysstr.nim * fix #14655
* remove tyOpt, mOpt (#14636)Timothee Cour2020-06-121-1/+1
| | | | | * remove tyOpt, mOpt * fixup
* exceptions.nim: Fix a bad `Error` -> `Defect` renaming (#14621)ee72020-06-101-1/+1
| | | This commit fixes a mistake from 7d6cbf290a.
* io: correct signature for some win32 apis (#14551)alaviss2020-06-031-5/+5
| | | See https://github.com/nim-lang/Nim/pull/14550#issuecomment-637937649
* fix #14421 items uses lent T (#14447)Timothee Cour2020-05-291-3/+28
| | | | | * fix #14421 items uses lent T for seq + openArray * add -d:nimWorkaround14447 * fix test
* hotfix doc comments for procs without body (#14494)Timothee Cour2020-05-291-5/+0
|
* more checking for --gc:arc, no need for valgrind (#14467)Andreas Rumpf2020-05-298-69/+145
| | | | * sigmatch: removed dead code
* fix repr(char) example assert (#14437)hlaaftana2020-05-231-1/+1
|
* make malloc.nim consistent in style (#14427)Andreas Rumpf2020-05-221-9/+9
|
* ARC/ORC: optimize s.setLen(0) to match the old runtime's behaviour (#14423)Andreas Rumpf2020-05-211-2/+1
|
* Small improvements for string and char repr with gc:arc (#14400)Clyybber2020-05-201-6/+8
| | | | | * Small improvements for string and char repr with gc:arc * Fix test
* specialize genericReset (#14398)Andreas Rumpf2020-05-191-1/+1
| | | | | | | * progress * make tests green * maybe we also want to reset pointers, dunno * progress * cleanup; fixes #13879 [backport:1.2]
* trunner was not actually being tested in non-CTFFI mode; minor testament ↵Timothee Cour2020-05-191-1/+1
| | | | | | | | | | cleanups (#14377) * use check * trunner now works with cpp * cleanup: move compiler/unittest_light => stdtest/unittest_light * fix tests/readme.md * remove deadcode references to rodfiles * fix for windows
* add OpenBSD MAP_STACK for coroutines (#14353)John2020-05-161-4/+10
|
* fixes #14370 (#14371)Andreas Rumpf2020-05-162-2/+2
|
* fixes #13862Araq2020-05-131-1/+1
|
* fixes #13935Andreas Rumpf2020-05-131-0/+3
|