summary refs log tree commit diff stats
Commit message (Collapse)AuthorAgeFilesLines
* Continue #13002 (#13021)Clyybber2020-01-062-38/+82
|
* [cleanup] remove disabled (and obsolete) ttypetraits; rename ttypetraits2 => ↵Timothee Cour2020-01-052-102/+41
| | | | | | | | ttypetraits (#13041) * remove disabled (and obsolete) ttypetraits; rename ttypetraits2 => ttypetraits * D20200105T085828 fix super strange bug that causes CI to fail: builds.sr.ht with: `Error: Settle timed out after 120 attempts`
* Allow `-o` option for `buildIndex` (#13037) [backport]BinHong Lee2020-01-051-1/+4
| | | | | Addressing #12771 This is also included in the docgen documentation [here](https://nim-lang.org/docs/docgen.html) but its not respected as reported in the issue.
* Rst parser respect `:start-after:` and `:end-before:` in `include` directive ↵Kamanji2020-01-052-10/+118
| | | | | | | | | | | | | (#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 #12996Araq2020-01-051-1/+2
|
* reprjs: style changesAraq2020-01-051-12/+12
|
* fixes #13013, reverts previous changes to readLines() (#13036) [backport]cooldome2020-01-053-5/+7
| | | | | | | * Revert "remove default argument for readLines (#12807) [backport]" This reverts commit c949b81efdeb08b38224e1678ad140b7b7663b15.
* fix enumtostr crash for enum-range (#13035)Jasper Jenkins2020-01-052-1/+13
|
* VM: support importc var, ptr/pointer types, cast int <=> ptr/pointer (#12877)Timothee Cour2020-01-057-35/+199
| | | | | | | | | | | | | | * VM: allow certain hardcoded special var variables at CT * VM: allow all importc var, cast[int](ptr) * fix tests tests/vm/tstaticprintseq.nim, tests/cpp/t8241.nim * VM: == works for ptr/pointer nodes * bugfix: ==, cast now also works for pointer, not just ptr * VM supports cast PtrLikeKinds <=> PtrLikeKinds / int * improve cname handling * fixup + bug fix * VM: support cast from ref to int * address comment: opcLdGlobalDeref => opcLdGlobalDerefFFI * defensive check against typ == nil
* fixes #13032Araq2020-01-043-8/+8
|
* fixes #12964 (#13027)Andreas Rumpf2020-01-042-2/+16
|
* Fixes #13026 (#13028)cooldome2020-01-042-2/+84
|
* fix #12988 (#13022)rockcavera2020-01-031-3/+3
| | | fix #12988
* fixes #12956 (#13020)Andreas Rumpf2020-01-032-2/+4
|
* fixes #12961 (#13019)Andreas Rumpf2020-01-032-9/+23
|
* Fix typo (#13015) [backport]Siegfried Ehret2020-01-031-1/+1
|
* fixes #12978 (#13012)Andreas Rumpf2020-01-032-5/+30
|
* remove default argument for readLines (#12807) [backport]cooldome2020-01-023-5/+5
|
* Sink to MemMove optimization in injectdestructors (#13002)cooldome2020-01-024-26/+30
|
* fix #12985 {.push.} now does not apply to generic instantiations (#12986)Timothee Cour2020-01-021-1/+1
|
* --exception:goto switch for deterministic exception handling (#12977)Andreas Rumpf2020-01-0123-183/+640
| | | | | 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 disruptek/nimph#102 multi-level nim.cfg use (#13001) [backport]Andy Davidoff2019-12-311-2/+3
|
* fixes #12989 (#12992)cooldome2019-12-314-10/+20
| | | | | | | * fixes #12989 * Revert "remove unwanted changes" This reverts commit 501829732a8e44deef2d815c303859efbe452cb5.
* fixes #12965 (#12991)Andreas Rumpf2019-12-312-10/+15
|
* Revert "fixes #12989"Andrii Riabushenko2019-12-312-9/+1
| | | | This reverts commit 928c2fee06bd11a0901c5f563b4953788be76ae6.
* fixes #12989Andrii Riabushenko2019-12-312-1/+9
|
* c_fflush() the rawWrite() buffer (#12987)Ștefan Talpalaru2019-12-301-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 Heller2019-12-291-4/+12
|
* Added fix for handling TaintedStrings in streams and httpclient (#12969)Sam Wang2019-12-292-6/+14
| | | | | | * Added fix for taint mode in streams and httpclient * Removed taintMode export from system.nim
* generic stack trace overriding mechanism (#12922)Ștefan Talpalaru2019-12-291-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 Krauter2019-12-291-3/+3
|
* [ci skip] docfix .. < => ..< (#12981) [backport]Timothee Cour2019-12-291-1/+1
|
* Allow customize Host headerJack Tang2019-12-281-4/+5
|
* Fixes stackoverflow links in readme (#12963) [backport]King Eca2019-12-271-2/+2
|
* minor refactoringsAndreas Rumpf2019-12-275-22/+34
|
* fixes #12945 (#12959)cooldome2019-12-242-8/+8
|
* fixes another regressionAraq2019-12-241-4/+11
|
* osproc: fixes regressionAraq2019-12-241-1/+1
|
* ARC: default to a shared heap with --threads:onAraq2019-12-243-5/+15
|
* ported re.nim to ARCAraq2019-12-241-1/+10
|
* ported osproc.nim to ARCAraq2019-12-241-1/+1
|
* ported channels to ARCAraq2019-12-242-121/+143
|
* fixes the distros.nim regressionAraq2019-12-241-1/+1
|
* fixes a silly regressionAraq2019-12-241-1/+3
|
* fixes a test caseAraq2019-12-241-1/+3
|
* a better bugfixAraq2019-12-242-33/+36
|
* fixes a regressionAraq2019-12-241-4/+4
|
* fixes #12826Araq2019-12-244-39/+102
|
* fixes a bug that kept sugar.collect from working with for loop macros [backport]Araq2019-12-241-10/+11
|
* added guidelines for evolving Nim's stdlibAraq2019-12-241-0/+62
|