Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | ARC: fixes memory leaks with newSeq used in a loop [backport:1.4] (#18040) | Andreas Rumpf | 2021-05-18 | 1 | -1/+6 |
| | | | | * ARC: fixes memory leaks with newSeq used in a loop [backport:1.4] * Update tests/arc/tnewseq_legacy.nim | ||||
* | Disable performance hints by default (verbosity 1) (#18024) | Clyybber | 2021-05-16 | 1 | -1/+1 |
| | |||||
* | more informative error msg for undeclared field (`A(badfield: 1)` and ↵ | Timothee Cour | 2021-05-16 | 2 | -3/+15 |
| | | | | `a.badfield = expr`) (#17777) | ||||
* | Rework DFA traversal (#18016) | Clyybber | 2021-05-16 | 1 | -118/+108 |
| | | | | | | | | | * enable using dbg: without a context * Optimally joining first write/last read analysis * Add test for #18002 * potLastReads -> potentialLastReads | ||||
* | docgen: escape special characters in titles (#18014) | Andrey Makarov | 2021-05-15 | 1 | -2/+3 |
| | |||||
* | `doc2tex`: generate docs to Latex (#17997) | Andrey Makarov | 2021-05-14 | 6 | -39/+39 |
| | | | | | * `doc2tex`: generate docs to Latex * address some comments | ||||
* | ORC: progress (#18000) | Andreas Rumpf | 2021-05-12 | 8 | -17/+26 |
| | | | | | | | | | * ORC: progress * ORC: bugfix; don't follow acyclic data even if only at runtime the subtype is marked as acyclic * progress * minor style changes | ||||
* | ORC: improvements (#17993) | Andreas Rumpf | 2021-05-12 | 6 | -12/+18 |
| | | | | * ORC: improvements * ORC: fix .acyclic annotation for ref objects | ||||
* | ORC: critical bugfix for mixing acyclic refs with cyclic refs [backport:1.4] ↵ | Andreas Rumpf | 2021-05-11 | 2 | -8/+12 |
| | | | | (#17991) | ||||
* | feature: the compiler can warn when you use the implicit 'result' variable ↵ | Andreas Rumpf | 2021-05-10 | 3 | -2/+7 |
| | | | | | (#17988) [backport:1.2] * implements #17855 | ||||
* | since we have now so many virtual registers, reduce memory consumption for ↵ | Andreas Rumpf | 2021-05-10 | 3 | -50/+48 |
| | | | | the register allocator (#17985) | ||||
* | fixes #17675 (#17981) | Andreas Rumpf | 2021-05-09 | 1 | -1/+1 |
| | |||||
* | treetab: tiny cleanup (#17929) | Clyybber | 2021-05-09 | 1 | -6/+4 |
| | | | | | | | | | | | | | * treetab: tiny cleanup * Another tiny thing * Explicitly move n Co-authored-by: Andreas Rumpf <rumpf_a@web.de> * Typo Co-authored-by: Andreas Rumpf <rumpf_a@web.de> | ||||
* | ORC: cursor inference bugfix (#17973) | Andreas Rumpf | 2021-05-08 | 1 | -2/+2 |
| | | | | | * fixed a .cursor inference bug * added a test case | ||||
* | fix #17941: UnusedImport works for var/let/const/type invoked inside a ↵ | Timothee Cour | 2021-05-08 | 1 | -0/+3 |
| | | | | | | | generic (#17942) * fix #17941: UnusedImport works for var/let/const/type invoked inside a generic * fixup | ||||
* | add astmsgs; add `declared in` msg for usage lint errors (#17961) | Timothee Cour | 2021-05-08 | 7 | -31/+34 |
| | | | | | | | | | * add astmsgs; add `declared in` msg for usage lint errors * fix test * fix tests/tools/tlinter.nim * std prefix | ||||
* | fixes #15848 [backport:1.2] (#17959) | Andreas Rumpf | 2021-05-07 | 3 | -2/+4 |
| | |||||
* | tiny cleanup (#17957) | Andreas Rumpf | 2021-05-07 | 1 | -3/+1 |
| | | | | | * tiny cleanup * I'm not British | ||||
* | minor cleanups (#17948) | Andreas Rumpf | 2021-05-06 | 2 | -4/+0 |
| | |||||
* | docgen: get rid of ropes (#17939) | Andrey Makarov | 2021-05-05 | 1 | -190/+146 |
| | |||||
* | IC: codegen: fix (#17931) | Andreas Rumpf | 2021-05-04 | 1 | -1/+3 |
| | |||||
* | mention -d:nimLegacyConvEnumEnum in error msg (#17928) | Timothee Cour | 2021-05-03 | 1 | -0/+2 |
| | |||||
* | treetab: minor code cleanups (#17927) | Andreas Rumpf | 2021-05-03 | 1 | -6/+6 |
| | |||||
* | system.nim cleanup some exported constants which should never have be… ↵ | Andreas Rumpf | 2021-05-01 | 2 | -4/+3 |
| | | | | | | (#17909) * system.nim cleanup some exported constants which should never have been exported | ||||
* | bring back std/ prefix within compiler and ensure it works in bootstrap + ↵ | Timothee Cour | 2021-04-30 | 2 | -9/+9 |
| | | | | | | | | | | | | | bsd (#17902) * [WIP] bring back std/ prefix within compiler and ensure it works in bootstrap + bsd * refs https://github.com/nim-lang/Nim/pull/16282#discussion_r616846863 * sounds very similar to https://github.com/nim-lang/Nim/pull/14291 * more: vmops * update tools/ci_generate.nim * auto-generate freebsd.yml as well, to avoid duplication with openbsd.yml * cleanup * undo temporary CI removal | ||||
* | close #16646; `since` now works with bootstrap nim post csources_v1 (#17895) | Timothee Cour | 2021-04-30 | 1 | -2/+2 |
| | | | | | | | * revive #16627 now that csources_v1 was merged * use dedent in rst.nim, refs https://github.com/nim-lang/Nim/pull/17257#discussion_r589025683 * fix test and improve rendering of a rst warning | ||||
* | Small parser loop fix (#17904) | Clyybber | 2021-04-30 | 1 | -0/+1 |
| | | | | * Fix loop on error with nim check in semiStmtList * Add test | ||||
* | more strict RST inline markup parsing (#17827) | Andrey Makarov | 2021-04-29 | 1 | -2/+5 |
| | | | | | * more strict RST inline markup parsing * add test for unexpected bonus * introduce `roPreferMarkdown` | ||||
* | fix #17853 (ascii message separator broke json nim dump) (#17887) | Timothee Cour | 2021-04-29 | 3 | -2/+4 |
| | |||||
* | externalToLink: use quoteShell to avoid issues with spaces in paths for ↵ | Timothee Cour | 2021-04-29 | 1 | -13/+9 |
| | | | | {.link.} pragmas (#17875) | ||||
* | Implement https://forum.nim-lang.org/t/7848#50018 (#17874) | c-blake | 2021-04-29 | 2 | -7/+9 |
| | | | | | | | | | | | | | | | | | | | | * Implement https://forum.nim-lang.org/t/7848#50018 with just the same `SuccessX` hint category, build mode on a separate, final line, and no change to how the mode is spelled for -d:release/-d:danger. * Change to add a new BuildMode hint category and keep testament in sync as per comment. * Add "--hint:buildmode:off" to `defaultHintsOff`. * Remove as requested. * As requested for tests clean up. * Address code review. * Address code review. * Mirror db456423116a9b19666f551f4d38aded3964c2e2 | ||||
* | Fix #17712 (#17873) | Clyybber | 2021-04-27 | 1 | -3/+4 |
| | |||||
* | Remove confusing <//> (#17830) | flywind | 2021-04-26 | 1 | -4/+1 |
| | |||||
* | fix #17836 (typed macro isNil for proc params) (#17841) | Saem Ghani | 2021-04-25 | 2 | -2/+6 |
| | | | thanks @alaviss for the test | ||||
* | `--usenimcache` (implied by `nim r main`) now caches some compile options to ↵ | Timothee Cour | 2021-04-25 | 3 | -40/+43 |
| | | | | | | | | | | | avoid recompiling when project was previously compiled with such options. (#17829) * `--usenimcache` (implied by `nim r main`) now caches some compile options to avoid recompiling when project was previously compiled with such options. * works * add test * changelog * use std/with | ||||
* | add colon (#17834) | flywind | 2021-04-24 | 3 | -3/+3 |
| | |||||
* | `--declaredlocs` now shows location for `T` instead of `static` in `proc ↵ | Timothee Cour | 2021-04-23 | 1 | -1/+4 |
| | | | | fn(a: static T)` (#17795) | ||||
* | `typeof(voidStmt)` now works (#17807) | Timothee Cour | 2021-04-23 | 4 | -1/+8 |
| | | | | | | | | * `typeof(voidStmt)` now works * remove typeOrVoid * add condsyms, and reference cligen https://github.com/c-blake/cligen/pull/193 * fixup * changelog [skip ci] * fixup | ||||
* | typos (#17824) | Andreas Rumpf | 2021-04-23 | 1 | -1/+1 |
| | |||||
* | add `--processing:dots|filenames|off` to customize `hintProcessing` (#17817) | Timothee Cour | 2021-04-23 | 5 | -21/+32 |
| | |||||
* | js generates spurious >>> on shr (#17767) | Sivchari | 2021-04-21 | 1 | -2/+1 |
| | | | | | * js generates spurious >>> on shr * Add shr arithmetic test * fix variables from const to let during testing | ||||
* | fix #7535(Poor error message for spawn when a procedure (without calling ↵ | flywind | 2021-04-21 | 1 | -2/+5 |
| | | | | it)) (#17774) | ||||
* | Revert localErrorNode param order changes (#17809) | Clyybber | 2021-04-21 | 5 | -13/+20 |
| | | | | | | | * Revert localErrorNode param order changes * Remove unused globalError overload * heh | ||||
* | `--filenames:abs|canonical|legacyRelProj` for filenames in compiler msgs ↵ | Timothee Cour | 2021-04-21 | 5 | -38/+64 |
| | | | | | | | (replaces `--listfullpaths:on|off`) (#17746) * use canonicalImport for filename_magicSauce * --filenames:abs|canonical|magic * rename: magic => legacyRelProj | ||||
* | improve errmsg refs #17793 object ctor with generics (#17806) | Timothee Cour | 2021-04-21 | 2 | -2/+5 |
| | |||||
* | CIs: attempt to use csources_v1 (#16282) | Andreas Rumpf | 2021-04-21 | 21 | -72/+72 |
| | | | | | | | | * CIs: attempt to use csources_v1 * also updated the BSDs * also updated azure pipelines * std modules should not itself use the 'std/' import dir... * compiler has to be careful with std/ for v1 booting | ||||
* | fix `hintMsgOrigin` regression + simplify msgs code (#17805) | Timothee Cour | 2021-04-21 | 6 | -33/+23 |
| | |||||
* | unit separator (#17730) | Andreas Rumpf | 2021-04-20 | 3 | -33/+42 |
| | | | | | * use the ASCII Unit Separator so that error messages can be handled precisely by the tooling * updated testament | ||||
* | close #9691 and close #10913('spawn'ed function cannot have a 'typed' or ↵ | flywind | 2021-04-20 | 1 | -1/+11 |
| | | | | 'untyped' parameter) (#17775) | ||||
* | updated the documentation (#17796) | Andreas Rumpf | 2021-04-20 | 1 | -1/+1 |
| |