Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | fix the ftp store function read the local file bug (#13108) [backport] | perter lee | 2020-01-13 | 1 | -4/+4 |
| | | | | | | | | * Update asyncftpclient.nim When use newStringOfCap function not have assign memory for the string data,so if use this address the fault is rasise. * complelete the bugfix | ||||
* | VM FFI: write(stderr, msg) and fprintf(cstderr, msg) now work at CT (#13083) | Timothee Cour | 2020-01-12 | 2 | -5/+16 |
| | |||||
* | Add link to posix_utils.html in posix.nim (#13111) | Federico Ceratto | 2020-01-12 | 1 | -1/+4 |
| | |||||
* | Remove some unused/disabled OpenSSL functions (#13106) | treeform | 2020-01-11 | 1 | -135/+0 |
| | |||||
* | more arc features (#13098) | Andreas Rumpf | 2020-01-10 | 2 | -12/+189 |
| | | | | | * config update * ARC now supports 'repr' and 'new' with finalizers is supported | ||||
* | [backport] fix #12813, fix #13079 (#13099) | Miran | 2020-01-10 | 1 | -4/+14 |
| | | | Correctly remove a key from CountTable when it is set to zero. | ||||
* | System cleanup, part 1 (#13069) | Miran | 2020-01-10 | 1 | -496/+512 |
| | | | | | | * system.nim: mark what every .pop does * system.nim: un-nest when statements | ||||
* | fixes an asyncftpclient bug; refs #13096 [backport] | Andreas Rumpf | 2020-01-10 | 1 | -1/+1 |
| | |||||
* | [backport] system/io.nim fix wrong documentation comment [ci skip] | narimiran | 2020-01-10 | 1 | -2/+2 |
| | |||||
* | typetraits: fixes #6454; genericParams; added lenTuple; added tuple type get ↵ | Timothee Cour | 2020-01-10 | 2 | -0/+42 |
| | | | | | | (#13064) | ||||
* | fixes #13070 | Araq | 2020-01-10 | 1 | -2/+2 |
| | |||||
* | Fix error check code in osproc (#13090) [backport] | Tomohiro | 2020-01-09 | 1 | -1/+1 |
| | |||||
* | Use '__noinline' instead of 'noinline' for N_NOINLINE gcc attribute, this ↵ | Ico Doornekamp | 2020-01-09 | 1 | -1/+1 |
| | | | | prevents clashes with systems where 'noinline' might be already defined (#13089) | ||||
* | take the one good idea from --os:standalone and enable it via ↵ | Andreas Rumpf | 2020-01-09 | 2 | -8/+8 |
| | | | | -d:StandaloneHeapSize (#13077) | ||||
* | Deleted misplaced separator (#13085) [backport] | Teashrock | 2020-01-09 | 1 | -1/+0 |
| | | | Misplaced separator, which was constantly breaking compilation on Haiku OS, was deleted. | ||||
* | distinctBase type trait for distinct types (#13031) | cooldome | 2020-01-08 | 2 | -32/+8 |
| | |||||
* | basename supports pragmaexpr (#13045) | b3liever | 2020-01-07 | 1 | -2/+4 |
| | | | | | | * basename supports pragmaexpr * update changelog | ||||
* | add pqserverVersion,pqconnectionNeedsPassword,pqconnectionUsedPassword (#13060) | Bung | 2020-01-07 | 1 | -0/+6 |
| | |||||
* | clean up deprecated stuff and unused imports in tests (#13059) | Miran | 2020-01-07 | 1 | -1/+1 |
| | |||||
* | Rst parser respect `:start-after:` and `:end-before:` in `include` directive ↵ | Kamanji | 2020-01-05 | 1 | -10/+39 |
| | | | | | | | | | | | | | (#12972) * [FEATURE] rst parser respect :start-after: in include Rst parser now respects `:start-after:` and `:end-before:` attributes for `include` directive. * [DOC] include directive parsing proc update * [TEST] Added unit tests for include rst directive in `rst` module | ||||
* | fixes #12996 | Araq | 2020-01-05 | 1 | -1/+2 |
| | |||||
* | reprjs: style changes | Araq | 2020-01-05 | 1 | -12/+12 |
| | |||||
* | fixes #13013, reverts previous changes to readLines() (#13036) [backport] | cooldome | 2020-01-05 | 1 | -3/+5 |
| | | | | | | | * Revert "remove default argument for readLines (#12807) [backport]" This reverts commit c949b81efdeb08b38224e1678ad140b7b7663b15. | ||||
* | fixes #13032 | Araq | 2020-01-04 | 3 | -8/+8 |
| | |||||
* | remove default argument for readLines (#12807) [backport] | cooldome | 2020-01-02 | 1 | -3/+3 |
| | |||||
* | --exception:goto switch for deterministic exception handling (#12977) | Andreas Rumpf | 2020-01-01 | 4 | -103/+127 |
| | | | | | This implements "deterministic" exception handling for Nim based on goto instead of setjmp. This means raising an exception is much cheaper than in C++'s table based implementations. Supports hard realtime systems. Default for --gc:arc and the C target because it's generally a good idea and arc is all about deterministic behavior. Note: This implies that fatal runtime traps are not catchable anymore! This needs to be documented. | ||||
* | fixes #12965 (#12991) | Andreas Rumpf | 2019-12-31 | 1 | -10/+11 |
| | |||||
* | c_fflush() the rawWrite() buffer (#12987) | Ștefan Talpalaru | 2019-12-30 | 1 | -0/+4 |
| | | | | | | Stack traces on an unbuffered stderr get out of sync with line-buffered stdout - usually on Windows terminals or CI logs. This fixes it by calling C's fflush() on the output buffer in the procedure used for printing stack traces. | ||||
* | Check pqntuples > 0 in getValue. Fixes #12973 (#12974) | Chris Heller | 2019-12-29 | 1 | -4/+12 |
| | |||||
* | Added fix for handling TaintedStrings in streams and httpclient (#12969) | Sam Wang | 2019-12-29 | 2 | -6/+14 |
| | | | | | | * Added fix for taint mode in streams and httpclient * Removed taintMode export from system.nim | ||||
* | generic stack trace overriding mechanism (#12922) | Ștefan Talpalaru | 2019-12-29 | 1 | -10/+33 |
| | | | | | | | | | | | | | | | | * libbacktrace support * switch to a generic stack trace overriding mechanism When "nimStackTraceOverride" is defined, once of the imported modules can register its own procedure to replace the default stack trace generation by calling `registerStackTraceOverride(myOwnProc)`. Tested with `./koch boot -d:release --debugger:native -d:nimStackTraceOverride --import:libbacktrace` for the compiler itself and `./bin/nim c -r -f --stacktrace:off --debugger:native -d:nimStackTraceOverride --import:libbacktrace foo.nim` for an external program. * make the StackTraceOverrideProc {.noinline.} | ||||
* | parsecfg: retain CRLF line breaks, fixes #12970 (#12971) | Simon Krauter | 2019-12-29 | 1 | -3/+3 |
| | |||||
* | Allow customize Host header | Jack Tang | 2019-12-28 | 1 | -4/+5 |
| | |||||
* | minor refactorings | Andreas Rumpf | 2019-12-27 | 1 | -9/+9 |
| | |||||
* | osproc: fixes regression | Araq | 2019-12-24 | 1 | -1/+1 |
| | |||||
* | ARC: default to a shared heap with --threads:on | Araq | 2019-12-24 | 3 | -5/+15 |
| | |||||
* | ported re.nim to ARC | Araq | 2019-12-24 | 1 | -1/+10 |
| | |||||
* | ported osproc.nim to ARC | Araq | 2019-12-24 | 1 | -1/+1 |
| | |||||
* | ported channels to ARC | Araq | 2019-12-24 | 2 | -121/+143 |
| | |||||
* | fixes the distros.nim regression | Araq | 2019-12-24 | 1 | -1/+1 |
| | |||||
* | lenVarargs: number of varargs elements (#12907) | Timothee Cour | 2019-12-23 | 1 | -0/+5 |
| | |||||
* | Auto-initialize deques (#12879) | Ico Doornekamp | 2019-12-21 | 1 | -3/+17 |
| | |||||
* | update documentation for `closureScope` and `capture` (#12886) | Judd | 2019-12-21 | 1 | -1/+6 |
| | |||||
* | system.reset is no longer magic (#12937) | Clyybber | 2019-12-19 | 1 | -11/+9 |
| | | | It has now means setting x to default for new and old runtime alike | ||||
* | fix error in assertions document (#12925) [backport] | flywind | 2019-12-18 | 1 | -1/+1 |
| | |||||
* | Implement NixOS distro check (#12914) | Emery Hemingway | 2019-12-18 | 1 | -1/+5 |
| | |||||
* | ARC: cycle detector (#12823) | Andreas Rumpf | 2019-12-17 | 8 | -33/+277 |
| | | | | | | | | | | | | | * first implementation of the =trace and =dispose hooks for the cycle collector * a cycle collector for ARC: progress * manual: the .acyclic pragma is a thing once again * gcbench: adaptations for --gc:arc * enable valgrind tests for the strutils tests * testament: better valgrind support * ARC refactoring: growable jumpstacks * ARC cycle detector: non-recursive algorithm * moved and renamed core/ files back to system/ * refactoring: --gc:arc vs --gc:orc since 'orc' is even more experimental and we want to ship --gc:arc soonish | ||||
* | NaN floatFormat with clang_cl (#12910) | cooldome | 2019-12-17 | 1 | -2/+2 |
| | | | | | | * clang_cl nan floatFormat * format | ||||
* | fix json regression D20191212T144944 (#12902) [backport] | Timothee Cour | 2019-12-15 | 1 | -0/+1 |
| | |||||
* | remove unused import (#12900) | Krzysztof Majk | 2019-12-15 | 1 | -1/+1 |
| |