Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add link to packaging.html (#13194) | Federico Ceratto | 2020-01-19 | 1 | -0/+2 |
| | |||||
* | fix docs + API for fieldPairs, fields (#13189) | Timothee Cour | 2020-01-18 | 1 | -26/+40 |
| | |||||
* | maybe: allows optional chaining of field access and indexing when LHS i snil ↵ | Timothee Cour | 2020-01-18 | 1 | -0/+109 |
| | | | | | | | | | (#13023) * maybe: allows optional chaining * fix tools/kochdocs.nim * improve semantics to distinguish valid from invalid values * for now, wrapnil, isValid, unwrap are not exported | ||||
* | times: toUnixFloat, fromUnixFloat (#13044) | Timothee Cour | 2020-01-18 | 2 | -10/+29 |
| | |||||
* | refs #13054 correctly handle {.exportc,dynlib.} and {.exportcpp,dynlib.} ↵ | Timothee Cour | 2020-01-18 | 1 | -11/+7 |
| | | | | | | | (#13136) * refs #13054 correctly handle {.exportc,dynlib.} and {.exportcpp,dynlib.} * put back NIM_EXTERNC for N_LIB_EXPORT; causes issues with compilerproc | ||||
* | ARC works for async on Windows (#13179) | Andreas Rumpf | 2020-01-17 | 3 | -38/+39 |
| | |||||
* | style fix: change 'JS' to 'js' to make it consistent (#13168) | Miran | 2020-01-16 | 12 | -58/+58 |
| | |||||
* | Remove obsolete code from osalloc (#13158) | Ico Doornekamp | 2020-01-16 | 1 | -10/+0 |
| | |||||
* | ARC: misc bugfixes (#13156) | Andreas Rumpf | 2020-01-15 | 1 | -1/+1 |
| | | | | | | | | * fixes #13102 * closes #13149 * ARC: fixes a move optimizer bug (there are more left regarding array and tuple indexing) * proper fix; fixes #12957 * fixes yet another case object '=' code generation problem | ||||
* | export normalizePathEnd (#13152) | Timothee Cour | 2020-01-15 | 1 | -0/+9 |
| | |||||
* | System cleanup, part 2 (#13155) | Miran | 2020-01-15 | 9 | -1649/+1700 |
| | | | | | | | | * create basic_types, arithmetics, exceptions, comparisons * create setops.nim * create memalloc.nim * create gc_interface.nim * create iterators_1.nim | ||||
* | Added 'ansic' os support for minimal (embedded) targets (#13088) | Ico Doornekamp | 2020-01-15 | 5 | -70/+80 |
| | | | | | | | | * os:any implementation * os:asny: omit flock/funlock calls in echoBinSafe * Disabled default "unhandled expection" reporting for `--os:any` to reduce code size. Added unhandledExceptionHook instead which can be used to get a notification from Nim and handle it from the application. | ||||
* | Expose more openSSL methods. (#13131) | treeform | 2020-01-13 | 1 | -0/+43 |
| | |||||
* | 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 |
| |