Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | reprjs: style changes | Araq | 2020-01-05 | 1 | -12/+12 |
| | |||||
* | fixes #13013, reverts previous changes to readLines() (#13036) [backport] | cooldome | 2020-01-05 | 3 | -5/+7 |
| | | | | | | | * Revert "remove default argument for readLines (#12807) [backport]" This reverts commit c949b81efdeb08b38224e1678ad140b7b7663b15. | ||||
* | fix enumtostr crash for enum-range (#13035) | Jasper Jenkins | 2020-01-05 | 2 | -1/+13 |
| | |||||
* | VM: support importc var, ptr/pointer types, cast int <=> ptr/pointer (#12877) | Timothee Cour | 2020-01-05 | 7 | -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 #13032 | Araq | 2020-01-04 | 3 | -8/+8 |
| | |||||
* | fixes #12964 (#13027) | Andreas Rumpf | 2020-01-04 | 2 | -2/+16 |
| | |||||
* | Fixes #13026 (#13028) | cooldome | 2020-01-04 | 2 | -2/+84 |
| | |||||
* | fix #12988 (#13022) | rockcavera | 2020-01-03 | 1 | -3/+3 |
| | | | fix #12988 | ||||
* | fixes #12956 (#13020) | Andreas Rumpf | 2020-01-03 | 2 | -2/+4 |
| | |||||
* | fixes #12961 (#13019) | Andreas Rumpf | 2020-01-03 | 2 | -9/+23 |
| | |||||
* | Fix typo (#13015) [backport] | Siegfried Ehret | 2020-01-03 | 1 | -1/+1 |
| | |||||
* | fixes #12978 (#13012) | Andreas Rumpf | 2020-01-03 | 2 | -5/+30 |
| | |||||
* | remove default argument for readLines (#12807) [backport] | cooldome | 2020-01-02 | 3 | -5/+5 |
| | |||||
* | Sink to MemMove optimization in injectdestructors (#13002) | cooldome | 2020-01-02 | 4 | -26/+30 |
| | |||||
* | fix #12985 {.push.} now does not apply to generic instantiations (#12986) | Timothee Cour | 2020-01-02 | 1 | -1/+1 |
| | |||||
* | --exception:goto switch for deterministic exception handling (#12977) | Andreas Rumpf | 2020-01-01 | 23 | -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 Davidoff | 2019-12-31 | 1 | -2/+3 |
| | |||||
* | fixes #12989 (#12992) | cooldome | 2019-12-31 | 4 | -10/+20 |
| | | | | | | | * fixes #12989 * Revert "remove unwanted changes" This reverts commit 501829732a8e44deef2d815c303859efbe452cb5. | ||||
* | fixes #12965 (#12991) | Andreas Rumpf | 2019-12-31 | 2 | -10/+15 |
| | |||||
* | Revert "fixes #12989" | Andrii Riabushenko | 2019-12-31 | 2 | -9/+1 |
| | | | | This reverts commit 928c2fee06bd11a0901c5f563b4953788be76ae6. | ||||
* | fixes #12989 | Andrii Riabushenko | 2019-12-31 | 2 | -1/+9 |
| | |||||
* | 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 |
| | |||||
* | [ci skip] docfix .. < => ..< (#12981) [backport] | Timothee Cour | 2019-12-29 | 1 | -1/+1 |
| | |||||
* | Allow customize Host header | Jack Tang | 2019-12-28 | 1 | -4/+5 |
| | |||||
* | Fixes stackoverflow links in readme (#12963) [backport] | King Eca | 2019-12-27 | 1 | -2/+2 |
| | |||||
* | minor refactorings | Andreas Rumpf | 2019-12-27 | 5 | -22/+34 |
| | |||||
* | fixes #12945 (#12959) | cooldome | 2019-12-24 | 2 | -8/+8 |
| | |||||
* | fixes another regression | Araq | 2019-12-24 | 1 | -4/+11 |
| | |||||
* | 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 |
| | |||||
* | fixes a silly regression | Araq | 2019-12-24 | 1 | -1/+3 |
| | |||||
* | fixes a test case | Araq | 2019-12-24 | 1 | -1/+3 |
| | |||||
* | a better bugfix | Araq | 2019-12-24 | 2 | -33/+36 |
| | |||||
* | fixes a regression | Araq | 2019-12-24 | 1 | -4/+4 |
| | |||||
* | fixes #12826 | Araq | 2019-12-24 | 4 | -39/+102 |
| | |||||
* | fixes a bug that kept sugar.collect from working with for loop macros [backport] | Araq | 2019-12-24 | 1 | -10/+11 |
| | |||||
* | added guidelines for evolving Nim's stdlib | Araq | 2019-12-24 | 1 | -0/+62 |
| | |||||
* | docs: tiny style improvements | Araq | 2019-12-24 | 2 | -2/+3 |
| | |||||
* | lenVarargs: number of varargs elements (#12907) | Timothee Cour | 2019-12-23 | 2 | -0/+64 |
| | |||||
* | case coverage error message for `char` (#12948) | Jasper Jenkins | 2019-12-22 | 3 | -6/+15 |
| | |||||
* | Auto-initialize deques (#12879) | Ico Doornekamp | 2019-12-21 | 1 | -3/+17 |
| | |||||
* | fixes #12735 on osx, call dsymutil for debug builds (#12931) | Timothee Cour | 2019-12-21 | 2 | -0/+22 |
| | | | | | | * fix #12735 osx: dsymutil needs to be called for debug builds * also write dsymutil command to extraCmds in json build file |