Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Show field not initialized warning only when `notnil` used (#10155) | Neelesh Chandola | 2019-01-01 | 1 | -1/+1 |
| | |||||
* | Deprecate gc v2 (#10151) | Neelesh Chandola | 2019-01-01 | 11 | -20/+20 |
| | | | | | | * Deprecate gc v2 * warnDeprecated now has custom messages | ||||
* | fixes #10148 (#10149) | cooldome | 2018-12-31 | 1 | -13/+18 |
| | | | | | * fixes #10148 * fix a typo | ||||
* | fix off by 1 error in `col` shown by toFileLineCol (#10138) | Timothee Cour | 2018-12-31 | 1 | -1/+1 |
| | | | | | * fix off by 1 error in `col` shown by toFileLineCol * fix test failures | ||||
* | Check there are no side effects before optimizing away compile time ↵ | deech | 2018-12-31 | 2 | -8/+14 |
| | | | | expressions. (#9934) | ||||
* | Before showing deprecated warning, check whether enum field was marked ↵ | Neelesh Chandola | 2018-12-30 | 1 | -2/+2 |
| | | | | deprecated or the whole enum type (#10135) | ||||
* | Dead code elimination for entire modules and their init procs if empty (#10032) | cooldome | 2018-12-30 | 3 | -92/+166 |
| | | | | | | * fixes #9798 * Change order of write modules * Move datInit calls ahead of initStackBottom | ||||
* | Show deprecation warning for fields of a deprecated enum (#10112) | Neelesh Chandola | 2018-12-30 | 1 | -3/+8 |
| | | | | | | * Show deprecation warning for fields of a deprecated enum * Add test | ||||
* | Deprecated pragma is now supported on enum fields (#10113) | Neelesh Chandola | 2018-12-30 | 3 | -12/+31 |
| | | | | | | * {.deprecated.} pragma is now supported for enum fields * Add tests * Simplify code | ||||
* | fix typetraits.`$` regression https://github.com/c-blake/cligen/issues/84 ↵ | Timothee Cour | 2018-12-30 | 1 | -2/+3 |
| | | | | | | | (#10131) * fix typetraits.`$` regression https://github.com/c-blake/cligen/issues/84 * add test | ||||
* | Support undefined in isNil (#9960) | Alexander Ivanov | 2018-12-30 | 1 | -3/+4 |
| | |||||
* | fixes #10082 | Andreas Rumpf | 2018-12-30 | 1 | -25/+11 |
| | |||||
* | {.push raises: [].} is now ignored for vars/lets/consts (#10026) | Neelesh Chandola | 2018-12-30 | 1 | -6/+13 |
| | |||||
* | nim dump: add nimcache entry (#10122) | Timothee Cour | 2018-12-30 | 1 | -0/+1 |
| | |||||
* | `nim c` now allows: when defined(c) (#10130) | Timothee Cour | 2018-12-30 | 1 | -0/+1 |
| | |||||
* | revives: Move typetraits.`$` to system. Fixes #5827 (#10071) | Timothee Cour | 2018-12-30 | 1 | -1/+1 |
| | | | | | | * Move typetraits.`$` to system. Fixes #5827. * revive PR; adjust code to make sure everything works and add tests * fix tests/concepts/tstackconcept.nim * address comments | ||||
* | fixes #10101 (#10103) | Timothee Cour | 2018-12-27 | 1 | -1/+1 |
| | |||||
* | Pragma syntax is now consistent (#9993) | Neelesh Chandola | 2018-12-27 | 1 | -3/+34 |
| | | | | | | | | | | * Give deprecation warning when type pragmas do not follow the type name * pragma before generic parameter list in type definition is now deprecated * Update changelog * Fix bug where deprecated warning was being shown even though no generic param list was present * Fix bug * Use errGenerated * Best attempt at writing the grammar | ||||
* | Fix const tuple unpacking not working for variables > 2 (#10099) | Neelesh Chandola | 2018-12-27 | 1 | -1/+1 |
| | |||||
* | fixes nim-lang/nimsuggest#76 (#10093) | alaviss | 2018-12-25 | 1 | -1/+11 |
| | | | | | | | | * nimsuggest: prevent out-of-bound access * fixes nim-lang/nimsuggest#76 * undo tester changes | ||||
* | fixes #10024 | Araq | 2018-12-22 | 1 | -1/+1 |
| | |||||
* | fixes #10033 [backport] | Araq | 2018-12-22 | 1 | -2/+2 |
| | |||||
* | C++ tests: make DLL test green | Araq | 2018-12-21 | 1 | -1/+7 |
| | |||||
* | C++: make async tests green on Windows | Araq | 2018-12-21 | 1 | -5/+5 |
| | |||||
* | fix #9933 (#10067) | Timothee Cour | 2018-12-21 | 1 | -0/+2 |
| | |||||
* | fixes #10058 [backport] | Araq | 2018-12-21 | 1 | -2/+3 |
| | |||||
* | use anon structs and unions for a much better debug experience (#10055) | Andreas Rumpf | 2018-12-20 | 1 | -16/+9 |
| | |||||
* | Make copies for params which are captured in closures. Fixes #7048 (#10050) | rec | 2018-12-20 | 1 | -1/+19 |
| | | | | | * Copy params which are captured in closures. Fixes #7048 * Forgot to emit a newline; minor adjustments to the test | ||||
* | make nimrtl.dll compile for the C++ target | Araq | 2018-12-19 | 1 | -1/+1 |
| | |||||
* | proc does not take untyped/typed as argument (#9981) | Neelesh Chandola | 2018-12-19 | 1 | -0/+5 |
| | | | | | | * proc does not take untyped/typed as argument * Add TODO | ||||
* | much simpler implementation of constant tuple declarations | Andreas Rumpf | 2018-12-19 | 3 | -51/+30 |
| | |||||
* | Const tuple unpacking (#9964) | Neelesh Chandola | 2018-12-19 | 3 | -29/+74 |
| | | | | | | | | | | * tuple unpacking is now supported for consts * Move nkConstTuple to the end of TNodeKind * Add nnkConstTuple in macros.nim * Fix Formatting | ||||
* | Merge pull request #9959 from nc-x/better-error-message | Andreas Rumpf | 2018-12-19 | 1 | -2/+2 |
|\ | | | | | Better error messages in enums which don't have ordinal types | ||||
| * | Merge remote-tracking branch 'upstream/devel' into better-error-message | Neelesh Chandola | 2018-12-14 | 6 | -165/+33 |
| |\ | |||||
| * | | Better error messages in enums which don't have ordinal types | Neelesh Chandola | 2018-12-13 | 1 | -2/+2 |
| | | | |||||
* | | | Fixes #3060 and adds error checking for invalid else branches in object ↵ | Andreas Rumpf | 2018-12-19 | 2 | -17/+20 |
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | variants (#9957) * Fix semRecordCase * Fix ftpclient.nim * Check for ordinal type * Check tyRange for exhaustiveness | ||||
| * | | | Check tyRange for exhaustiveness | Neelesh Chandola | 2018-12-13 | 1 | -1/+1 |
| | | | | |||||
| * | | | Check for ordinal type | Neelesh Chandola | 2018-12-13 | 1 | -2/+2 |
| | | | | |||||
| * | | | Merge remote-tracking branch 'upstream/devel' into record-case | Neelesh Chandola | 2018-12-13 | 3 | -2/+16 |
| |\ \ \ | |||||
| * | | | | Fix semRecordCase | Neelesh Chandola | 2018-12-13 | 2 | -17/+20 |
| | |/ / | |/| | | |||||
* | | | | Add support for clang-cl (#9977) | Neelesh Chandola | 2018-12-19 | 2 | -2/+10 |
| | | | | |||||
* | | | | Nimsuggest now shows gotodef for y in `from x import y` (#10023) | Neelesh Chandola | 2018-12-18 | 1 | -0/+1 |
| | | | | |||||
* | | | | see what breaks with a global config.nims (#10016) | Andreas Rumpf | 2018-12-18 | 1 | -2/+4 |
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | * 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 | -2/+4 |
| | | | | | |||||
* | | | | | [pathutils] add AnyPath; add `$`; lift arbitrary API restrictions (#10021) | Timothee Cour | 2018-12-18 | 1 | -8/+11 |
| | | | | | |||||
* | | | | | add `getCurrentCompilerExe` to vmops (eg allows to get nim compiler at CT); ↵ | Timothee Cour | 2018-12-18 | 1 | -1/+4 |
| | | | | | | | | | | | | | | | | | | | | add tests for vmops (#9925) | ||||
* | | | | | Merge pull request #10012 from nc-x/header-path | Andreas Rumpf | 2018-12-16 | 1 | -0/+2 |
|\ \ \ \ \ | |/ / / / |/| | | | | Add project directory to include path | ||||
| * | | | | escape the include path | Neelesh Chandola | 2018-12-16 | 1 | -1/+1 |
| | | | | | |||||
| * | | | | Add project directory to include path | Neelesh Chandola | 2018-12-16 | 1 | -0/+2 |
| | | | | | |||||
* | | | | | fixes #9120 | Araq | 2018-12-16 | 1 | -10/+0 |
| | | | | |