Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Update btrees.nim (#14916) | Dean Eigenmann | 2020-07-06 | 1 | -0/+3 |
| | |||||
* | Fix #14396 (#14793) | Clyybber | 2020-07-04 | 2 | -45/+102 |
| | | | | | | | | | | | | | | | | | | | | | | * Correct Left-To-Right evaluation of proc args * Fix CPP backend * Add testcase * closes #14396 * closes #14345 * Improve test and optimize * Improve testcase and optimize literals * Fix bug * Expand testcase and use DFA to optimize * Turn genParams into proc * Turn withTmpIfNeeded into a proc * Cleanup * Fix crash * Better analysis * Cleanup * Trailing newline.. * Fix build * Tiny cleanup Co-authored-by: Andreas Rumpf <rumpf_a@web.de> | ||||
* | scoped memory management (#14790) | Andreas Rumpf | 2020-07-04 | 8 | -437/+367 |
| | | | | | | | * fixes the regressions * closes #13936 * scope based memory management implemented * enabled tcontrolflow.nim test case * final cleanups | ||||
* | deprecate existsDir; use dirExists instead (#14884) | Timothee Cour | 2020-07-03 | 1 | -1/+1 |
| | |||||
* | typetraits.$: $((int, float), int)` is now `"((int, float), int)"` instead ↵ | Timothee Cour | 2020-07-02 | 1 | -2/+1 |
| | | | | | of `"(tuple of (int, float), int)" (#14812) Co-authored-by: Andreas Rumpf <rumpf_a@web.de> | ||||
* | {.deprecated: [existsFile: fileExists].} (#14735) | Timothee Cour | 2020-07-02 | 2 | -2/+2 |
| | | | | | | | | | * {.deprecated: [existsFile: fileExists].} * s/existsFile/fileExists/ except under deps * workaround pending #14819 * fix test | ||||
* | Fix #12745 (#14879) | Tomohiro | 2020-07-02 | 2 | -11/+6 |
| | |||||
* | allow packed union (#14868) | Clyybber | 2020-07-01 | 1 | -9/+7 |
| | | | Co-authored-by: Arne Döring <arne.doering@gmx.net> | ||||
* | fix #14401, trailing comma confuses nimpretty (#14867) | Miran | 2020-07-01 | 1 | -0/+3 |
| | |||||
* | Clean out oldast (#14837) | Juan Carlos | 2020-06-30 | 4 | -23/+13 |
| | | | | * Clean out old Deprecated CLI switch * Update to remove --oldast CLI option | ||||
* | New freebsd platforms (#14801) | lbartoletti | 2020-06-29 | 1 | -1/+1 |
| | | | | | * add riscv as riscv64 * add all platforms supported by FreeBSD | ||||
* | fix #13432 typetraits.$: $(int,) is now (int,); $tuple[] is now tuple[] (#14799) | Timothee Cour | 2020-06-29 | 1 | -1/+2 |
| | | | | | * typetraits.$: $(int,) is now (int,); $tuple[] is now tuple[] * changelog | ||||
* | Make unreachable code a warning instead of an error (#14816) | Clyybber | 2020-06-29 | 2 | -6/+6 |
| | | | | | | | * Make unreachable code a warning * Adapt test * Trigger CI | ||||
* | DFA and injectdestructors cleanup (#14824) | Clyybber | 2020-06-28 | 2 | -157/+118 |
| | | | | | | | | | | | | | | | * DFA and injectdestructors cleanup * More precise write analysis * Cleanup obsoleted path * Unify defInstrTargets and useInstrTargets * Misc cleanups * Nicer CFG printing * Misc cleanups 2 | ||||
* | Fix #14647 (#14776) | Clyybber | 2020-06-28 | 2 | -8/+5 |
| | | | | | | | | | * Fix #14647 * Correct fix * Typo and add test * For real now :p | ||||
* | expr => untyped; stmt => typed (#14804) | Timothee Cour | 2020-06-25 | 1 | -2/+2 |
| | | | | | * expr => untyped; stmt => typed * changelog + comment | ||||
* | fix #14802 (#14803) | Timothee Cour | 2020-06-25 | 1 | -1/+2 |
| | |||||
* | Reject casts to builtin typeclasses (#14788) | Danil Yarantsev | 2020-06-24 | 1 | -0/+2 |
| | | | | | * Closes #14231, closes #14452 * Merge test to tcast.nim | ||||
* | [backport] fix #14748, move gdb files to other section of installer.ini (#14772) | Miran | 2020-06-23 | 1 | -2/+2 |
| | |||||
* | Deprecated laxStrings for mutating the internal zero terminator on strings ↵ | Juan Carlos | 2020-06-23 | 5 | -7/+1 |
| | | | | | and its Deprecated code cleaned out (#14766) Co-authored-by: Andreas Rumpf <rumpf_a@web.de> | ||||
* | Deprecate oldNewlines, clean out deprecated code from oldNewlines (#14763) | Juan Carlos | 2020-06-23 | 2 | -16/+1 |
| | |||||
* | minor bugfixes for 'func' and .borrow | Araq | 2020-06-23 | 2 | -2/+3 |
| | |||||
* | init checks and 'out' parameters (#14521) | Andreas Rumpf | 2020-06-23 | 27 | -193/+210 |
| | | | | | | | | | | | * I don't care about observable stores * enforce explicit initializations * cleaner code for the stdlib * stdlib: use explicit initializations * make tests green * algorithm.nim: set result explicitly * remove out parameters and bring the PR into a mergable state * updated the changelog | ||||
* | fix bug in semgnrc: runnableExamples should not semcheck, even with > 1 arg ↵ | Timothee Cour | 2020-06-23 | 1 | -1/+1 |
| | | | | (#14768) | ||||
* | fixes #14240 [backport:1.2] (#14757) | Andreas Rumpf | 2020-06-22 | 3 | -9/+12 |
| | |||||
* | fixes #14458 [backport:1.2] (#14756) | Andreas Rumpf | 2020-06-22 | 2 | -4/+7 |
| | |||||
* | sizeof for empty objects/tuples should be 1; fixes #14690 (#14751) | Andreas Rumpf | 2020-06-21 | 1 | -2/+2 |
| | |||||
* | improve the parser's error message | Araq | 2020-06-19 | 1 | -1/+1 |
| | |||||
* | added a space | Araq | 2020-06-19 | 1 | -1/+1 |
| | |||||
* | fix #14691 docgen works again for methods (#14701) | Timothee Cour | 2020-06-18 | 1 | -14/+5 |
| | | | | | * fix #14691 docgen methods * fixup | ||||
* | [cleanups] doassert => doAssert; mark deadcode (#14711) | Timothee Cour | 2020-06-17 | 1 | -10/+12 |
| | |||||
* | fix #14179, fix #14142, make CI 1.4x faster (2x faster locally) (#14658) | Timothee Cour | 2020-06-16 | 1 | -6/+4 |
| | | | | | | | | | | | | | | | * fix #14142: no more clash with: import os + use of existsDir/dirExists/existsFile/fileExists/findExe in config.nims * remove a comment * Revert "fixes the regression #12860 caused; hotfix" This reverts commit 3d2459bdc0b6d6236a2cd9209ed81c965ee411a5. * Revert "Undefine `paramCount` & `paramStr` in nimscript.nim for *.nims (#12860)" This reverts commit d38853c504d89d6e361f064a17391afaf42d74b8. * noNimScript => noWeirdTarget + noNimJs | ||||
* | `hintMsgOrigin` now works in VM code (#14678) | Timothee Cour | 2020-06-16 | 2 | -13/+11 |
| | | | | | * `hintMsgOrigin` now works in VM code * remove a simplification for now | ||||
* | misc cleanups in compiler msgs: use toHumanStr, etc (#14677) | Timothee Cour | 2020-06-15 | 4 | -12/+9 |
| | |||||
* | fix codegen bug due to changing existing symbol declaration in template (#14666) | jcosborn | 2020-06-15 | 1 | -1/+1 |
| | |||||
* | compiler/commands: make gitHash settable at compile-time. (#14654) | alaviss | 2020-06-14 | 1 | -1/+1 |
| | | | | This is useful for building nightlies, since we will be building from a generated source archive and git metadata is lost there. | ||||
* | reorder.nim: fixed typos | Araq | 2020-06-12 | 1 | -3/+3 |
| | |||||
* | remove tyOpt, mOpt (#14636) | Timothee Cour | 2020-06-12 | 8 | -21/+18 |
| | | | | | * remove tyOpt, mOpt * fixup | ||||
* | fix #14545 windows CI docs (#14590) | Timothee Cour | 2020-06-10 | 2 | -3/+72 |
| | | | | | | * fix #14545 windows paths * add lib/std/private/strutils2.nim * remove dependency strutils2 => strutils * address comment: lib/std/private/strutils2.nim => compiler/strutils2.nim | ||||
* | fixes #14279 (#14618) | Andreas Rumpf | 2020-06-09 | 1 | -2/+6 |
| | |||||
* | fixes #14578 (#14615) | Andreas Rumpf | 2020-06-09 | 1 | -7/+6 |
| | |||||
* | [OpenBSD] Add arm support (#14608) | lbartoletti | 2020-06-08 | 1 | -1/+1 |
| | | | | | * add arm support to openbsd * use clang on openbsd | ||||
* | fixes #14557 (#14607) | Andreas Rumpf | 2020-06-08 | 1 | -1/+1 |
| | |||||
* | Fix #14568 (#14583) | Clyybber | 2020-06-07 | 1 | -23/+23 |
| | | | | | | | * Fix #14568 * Add testcase * Fix bogus test * Adapt other failing tests * Declarations are always first writes | ||||
* | fixes #14315 (#14594) | Andreas Rumpf | 2020-06-07 | 1 | -2/+1 |
| | |||||
* | fixes #14118 (#14595) | Andreas Rumpf | 2020-06-07 | 1 | -1/+4 |
| | |||||
* | implement the 'bind' statement for generics, it was an oversight that this ↵ | Andreas Rumpf | 2020-06-07 | 1 | -4/+11 |
| | | | | was never implemented (#14584) | ||||
* | more precise analysis about 'observable stores' [backport:1.2] (#14582) | Andreas Rumpf | 2020-06-06 | 3 | -4/+15 |
| | |||||
* | fix #14576 addr of param (including for lent) now works with nim js (#14577) | Timothee Cour | 2020-06-06 | 2 | -2/+10 |
| | | | | | * fix #14576 addr(param) now works in nim js * workaround https://github.com/nim-lang/Nim/issues/14578 | ||||
* | reorder.nim: fixes the indentation | Araq | 2020-06-06 | 1 | -41/+40 |
| |