Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | add `isNamedTuple`; make $(1, 2) be (1, 2) instead of (Field0: 1, Field1: 2) ↵ | Timothee Cour | 2019-01-08 | 2 | -1/+20 |
| | | | | | | | | | | | | | which leaked implementation detail (#10070) * add `isNamedTuple`; make $(1, 2) be (1, 2) instead of leaking implementation detail (Field0: 1, Field1: 2) fixes this: #8670 (comment) /cc @alehander42 @Vindaar @mratsim * Note: isNamedTuple is useful in other places, eg #10010 (comment) * move isNamedTuple to helpers.nim to avoid exposing new symbol to system.nim * remove workaround in tests/vm/tissues.nim failing test now that #10218 was makes it work | ||||
* | system/strmantle: avoid leaking docs to system.nim [ci skip] (#10233) | alaviss | 2019-01-08 | 1 | -1/+1 |
| | | | thanks @timotheecour for spotting this | ||||
* | fix system.nim documentations (#10168) | alaviss | 2019-01-04 | 1 | -2/+2 |
| | | | | | * system: fix nimGC_getStackBottom doc * system/helpers: avoid leaking docs to system | ||||
* | Guard against null exception (#10162) | rec | 2019-01-04 | 1 | -1/+1 |
| | |||||
* | `checkErr` now shows actual system error msg instead of unknown error (#9987) | Timothee Cour | 2018-12-27 | 1 | -3/+14 |
| | |||||
* | GC: avoid pathological behaviour; fixes #10040 [backport] (#10052) | Andreas Rumpf | 2018-12-20 | 1 | -9/+9 |
| | |||||
* | Give better error message when profiler and memProfiler used at same time ↵ | Neelesh Chandola | 2018-12-19 | 1 | -0/+3 |
| | | | | | | | | (#9948) * Give better error message when profiler and memProfiler used at same time * Move to profiler.nim | ||||
* | see what breaks with a global config.nims (#10016) | Andreas Rumpf | 2018-12-18 | 1 | -1/+1 |
|\ | | | | | | | | | | | * see what breaks with a global config.nims * make tests green with a global config.nims file | ||||
| * | make tests green with a global config.nims file | Araq | 2018-12-17 | 1 | -1/+1 |
| | | |||||
* | | add `getCurrentCompilerExe` to vmops (eg allows to get nim compiler at CT); ↵ | Timothee Cour | 2018-12-18 | 1 | -0/+1 |
|/ | | | | add tests for vmops (#9925) | ||||
* | fixes #9420 | Araq | 2018-12-16 | 1 | -5/+6 |
| | |||||
* | timers.nim: avoid parser warning | Araq | 2018-12-14 | 1 | -1/+1 |
| | |||||
* | cleanup of excpt.nim | Andreas Rumpf | 2018-12-11 | 1 | -1/+4 |
| | |||||
* | Merge pull request #9923 from stefantalpalaru/calldepth | Andreas Rumpf | 2018-12-11 | 1 | -3/+5 |
|\ | | | | | replace misleading "stack overflow" message when reaching Nim's call depth limit | ||||
| * | replace misleading "stack overflow" message on call depth limit | Ștefan Talpalaru | 2018-12-10 | 1 | -3/+5 |
| | | | | | | | | | | | | | | The new error message looks like this: "Error: call depth limit reached in a debug build (2000 function calls). You can change it with -d:nimCallDepthLimit=<int> or switch to a release build with -d:release." | ||||
* | | refs #9880 show index and bound in lots of `index out of bounds` errors | Timothee Cour | 2018-12-09 | 2 | -1/+13 |
|/ | |||||
* | Fix fat pointers, object copying, magic double evals on JS (#9411) [backport] | rec | 2018-12-04 | 2 | -3/+8 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add a test for issue #9389 * Fixes #9389. * Make object contructors copy objects properly by checking whether the expressions passed to them don't need to be copied. * Make mArrToSeq implementation actually check if a copy needs to be made. * Avoid unnecessary copy in mChr impl * Assume set constructor elements need no copy * Add a test for issue #9410 * Add a test * fix passing fat pointers (#9410) * Enhance tests * More tests and fixes * Add more (failing) tests [ci skip] * Added equality operator for fat pointers, more tests and fixes * Fix printing uninitialized strings * Fix mInc, mDec double eval, add more tests * Tests * Refactored, fixed multiple evals, revamped the tests, added missing ops * Fix ups * Fix #9643 and #9644 * add pointer normalization | ||||
* | Remove dead code (#9777) | Jacek Sieka | 2018-11-26 | 5 | -147/+30 |
| | | | | | | | | | * gc/gc2: remove unused ref counting stuff * also removes some false threading support - hasSharedHeap is always false in gc/gc2 * gc: remove some threading cruft * remove asgnRefNoCycle * compiler: remove TLoc.dup (unused) | ||||
* | don't raise exception in the default handler (#9783) | alaviss | 2018-11-22 | 2 | -8/+8 |
| | | | fixes #9657 | ||||
* | removes deprecated T/P types | Araq | 2018-11-16 | 11 | -23/+2 |
| | |||||
* | make testament compile again with -d:nimCoroutines | Araq | 2018-11-15 | 1 | -21/+21 |
| | |||||
* | gc_common: fixes a typo | Andreas Rumpf | 2018-11-15 | 1 | -19/+19 |
| | |||||
* | deprecated ospaths (#9665) | Andreas Rumpf | 2018-11-09 | 2 | -2/+3 |
| | |||||
* | change system.nim to adhere to the style guide | Araq | 2018-10-30 | 1 | -8/+8 |
| | |||||
* | Implements #9434. Minimal Stacktrace for Exceptions in release mode (#9480) | cooldome | 2018-10-28 | 1 | -1/+9 |
| | | | * Fixes #9434 | ||||
* | Fix printing and comparing uninitialized strings | recloser | 2018-10-21 | 1 | -0/+3 |
| | |||||
* | fixes #9456 by only calling `c_fclose` if non nil | Vindaar | 2018-10-20 | 1 | -1/+4 |
| | |||||
* | [nimscript] document currentSourcePath in thisDir (#9402) | Timothee Cour | 2018-10-18 | 1 | -1/+3 |
| | |||||
* | No setjump in GC for emscripten/wasm (#9386) | Yuriy Glukhov | 2018-10-17 | 1 | -14/+21 |
| | |||||
* | Fix repr() for UncheckedArray (#9385) | LemonBoy | 2018-10-16 | 2 | -1/+3 |
| | |||||
* | Avoid memory allocation during dynlib loading (#9320) | LemonBoy | 2018-10-12 | 1 | -4/+4 |
| | | | | | | | By using `write` instead of `rawWrite` we'd end up asking the compiler to generate the GC dynlib _while_ we were already generating another dynlib! Fixes #9123 | ||||
* | gogc: GCC-8.2.0 compatibility and other improvements (#9211) | Ștefan Talpalaru | 2018-10-11 | 2 | -107/+55 |
| | | | | | | | | - Go's write barriers are now plugged-in in all the relevant points - "gcGo" is correctly classified by usesWriteBarrier() - some gogc structures and functions now use golib wrappers to keep GCC version-specific conditions out of the compiler/stdlib code - we no longer allow mixing the C malloc with Go's - fix a problem with string copying | ||||
* | Add procs to retrieve project name, directory and full path to nimscript (#9274) | Solitude | 2018-10-11 | 1 | -0/+12 |
| | |||||
* | Fix linking issue in cpp codegen | LemonBoy | 2018-09-19 | 1 | -1/+5 |
| | | | | | | | Declare the root symbol only once and have the other modules depending on it emit an `extern` declaration. Fixes #9013 | ||||
* | don't reuse code from 0.18.0 | skilchen | 2018-09-15 | 1 | -9/+2 |
| | |||||
* | more efficient fix for #8961 | skilchen | 2018-09-15 | 1 | -0/+6 |
| | |||||
* | Merge pull request #8966 from LemonBoy/fix-8964 | Andreas Rumpf | 2018-09-14 | 1 | -9/+3 |
|\ | | | | | Fix hashing for codegenProc (sic) types | ||||
| * | Fix hashing for codegenProc (sic) types | LemonBoy | 2018-09-14 | 1 | -9/+3 |
| | | | | | | | | | | | | | | Since the name mangling is inhibited we should take the user-supplied name during the sighash computation. Fixes #8964 | ||||
* | | Merge branch 'devel' into araq-better-docgen | Araq | 2018-09-14 | 2 | -15/+7 |
|\| | |||||
| * | Always emit hti object types if needed (#8940) | LemonBoy | 2018-09-11 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | The compiler is now smart enough to emit types only if needed without all the importc tricks. This also fixes a codegen bug where, if all the stars align correctly, typeinfo doesn't include any definition of `TNimType` but uses it. Found by @skilchen in #8938 | ||||
| * | JS strings have no trailing zero anymore (#8936) | LemonBoy | 2018-09-11 | 1 | -14/+6 |
| | | |||||
* | | fixes #8961 | Araq | 2018-09-14 | 1 | -2/+2 |
|/ | |||||
* | system/excpt: nil is no longer vaild for seqs (#8825) | alaviss | 2018-08-31 | 1 | -1/+1 |
| | |||||
* | Allow Nimble to override the ``task`` template in nimscript. (#8798) | Dominik Picheta | 2018-08-28 | 1 | -18/+18 |
| | |||||
* | doAssert, assert now print full path of failing line on error (#8555) | Timothee Cour | 2018-08-25 | 1 | -0/+11 |
| | |||||
* | fixes #8739; allow --hint:foo:on --warning:bar:off (#8757) | Timothee Cour | 2018-08-25 | 1 | -2/+2 |
| | |||||
* | make more tests green; system.repr does not produce 'nil' for strings and ↵ | Araq | 2018-08-22 | 1 | -3/+6 |
| | | | | seqs anymore | ||||
* | make tio test green again | Araq | 2018-08-22 | 1 | -3/+7 |
| | |||||
* | even more strict isNil handling for strings/seqs in order to detect bugs | Araq | 2018-08-22 | 5 | -20/+12 |
| | |||||
* | fixes merge conflict | Andreas Rumpf | 2018-08-19 | 10 | -25/+63 |
|\ |