Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | added float32 schubfach algorithm; wip (#18155) | Andreas Rumpf | 2021-06-03 | 1 | -1/+5 |
| | | | | | * added float32 schubfach algorithm; wip * fixes #18418 | ||||
* | fix #16993, #18054, #17835 runnableExamples now works with templates and ↵ | Timothee Cour | 2021-06-02 | 1 | -4/+8 |
| | | | | nested templates (#18082) | ||||
* | refactoring: removed empty withBracketExpr template (#18152) | Andreas Rumpf | 2021-06-02 | 2 | -14/+6 |
| | |||||
* | fixes #18059 (#18140) | Andreas Rumpf | 2021-06-02 | 2 | -3/+45 |
| | | | | * fixes #18059 | ||||
* | use dragonbox algorithm; alternative to #18008 (#18139) | Andreas Rumpf | 2021-06-01 | 1 | -0/+2 |
| | | | | | * use dragonbox algorithm; alternative to #18008 * removed unsafe code | ||||
* | docs: Latex generation improvements (#18141) | Andrey Makarov | 2021-06-01 | 1 | -1/+1 |
| | | | | | | | * docs: improve Latex generation * make it work on Windows + fix ] escaping * minor fixes with escapes and style | ||||
* | Fixes #5034 illformed AST from getImpl with proc returning value (#17976) | Dylan Modesitt | 2021-05-31 | 1 | -4/+21 |
| | | | | | * Fixes 5034 * address comments | ||||
* | fix #18113 (#18124) | Saem Ghani | 2021-05-31 | 1 | -2/+6 |
| | |||||
* | Fixes #17849 (#18055) [backport:1.2] | Yuriy Glukhov | 2021-05-30 | 1 | -0/+6 |
| | | | | | | * Fixes #17849 * Update compiler/closureiters.nim Co-authored-by: Andreas Rumpf <rumpf_a@web.de> | ||||
* | change `--hint[X] => --hint:X` in nim repo (avoids shell quoting issues) ↵ | Timothee Cour | 2021-05-26 | 2 | -3/+3 |
| | | | | (#18085) | ||||
* | Error message minor (#18021) | Juan Carlos | 2021-05-22 | 2 | -2/+2 |
| | | | | | | | * Update compiler/semtypes.nim Co-authored-by: Timothee Cour <timothee.cour2@gmail.com> Co-authored-by: flywind <xzsflywind@gmail.com> Co-authored-by: Andreas Rumpf <rumpf_a@web.de> | ||||
* | jsgen improve spacing (#18048) | Juan Carlos | 2021-05-20 | 2 | -32/+32 |
| | | | | * Fix inconsistent spacings in generated JS of jsgen | ||||
* | config system: special case -d:release and -d:danger [backport:1.4] (#18051) | Andreas Rumpf | 2021-05-20 | 2 | -5/+17 |
| | |||||
* | fixes #17943 (#18045) | Andreas Rumpf | 2021-05-19 | 1 | -0/+3 |
| | | | | | | | | | | | * fixes #17943 * IC: test 'nim check --ic:on' for the full Nim compiler * Update testament/testament.nim Co-authored-by: Clyybber <darkmine956@gmail.com> Co-authored-by: Clyybber <darkmine956@gmail.com> | ||||
* | 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 |
| |