Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 |
| | |||||
* | Fix #14570 (#14571) | Danil Yarantsev | 2020-06-06 | 1 | -1/+1 |
| | | | | * Fix #14570 | ||||
* | refs #14545 fix snippet errors: avoid showing confusing errors when they are ↵ | Timothee Cour | 2020-06-05 | 1 | -3/+4 |
| | | | | expected (#14569) | ||||
* | fixes #14562 | Araq | 2020-06-05 | 1 | -1/+4 |
| | |||||
* | bug fixes with sfMainModule, hints, mainPackageNotes, mainPackageId, ↵ | Timothee Cour | 2020-06-04 | 7 | -24/+69 |
| | | | | | | | hintSuccessX (#14555) * SuccessX `out` now works with --compileOnly and jsonscript; fix bugs in jsonscript * several bug fixes; eg: `nim doc lib/system/io` now is sane * dummy edit to force docs CI | ||||
* | [cleanup] docgen: remove docOutdir now that outDir is always set (#14554) | Timothee Cour | 2020-06-03 | 1 | -17/+7 |
| | |||||
* | * honor --errorMax even for tools (eg drnim, nim doc) (#14546) | Timothee Cour | 2020-06-02 | 5 | -7/+15 |
| | | | * fix a bug that prevented nim doc compiler/nim on windows | ||||
* | Implement rendering of `[]=`, `{}`, `{}=` braces (#14539) | cooldome | 2020-06-01 | 1 | -16/+54 |
| | | | | | | | * render curly braces * fix typo * fix test Co-authored-by: cooldome <ariabushenko@bk.ru> | ||||
* | walkDirRecFilter, update doc CI filter, compiler/index.nim for docs + ↵ | Timothee Cour | 2020-06-01 | 2 | -11/+28 |
| | | | | | | | | | | | various other fixes (#14501) * update doc CI filter to include the files mostly likely to require doc rebuild * remove code duplication in ./config/nimdoc.cfg; show link to compiler docs, various fixes * walkDirRecFilter, factor nativeToUnixPath workaround * glob for getRst2html * docslocal: 40s to build all docs * revert code dedup in github actions which did not work alas... * fixups | ||||
* | parser.nim: minor refactorings (#14540) | Andreas Rumpf | 2020-06-01 | 1 | -9/+6 |
| | |||||
* | Change severity of template instantiation message [backport] (#14526) | Danil Yarantsev | 2020-06-01 | 1 | -1/+1 |
| | | | | | | | * Change severity of template instatiation msg * Add a test * Trailing newline argh | ||||
* | runnableExamples: correctly handle multiline string litterals (#14492) | Timothee Cour | 2020-06-01 | 1 | -5/+78 |
| | | | | | * runnableExamples: correctly handle multiline string litterals * address comments: improve doc comments + variable namings | ||||
* | fixes --warningAsError implementation (#14538) | Andreas Rumpf | 2020-06-01 | 1 | -1/+5 |
| | |||||
* | Fix `compiles` for nimsuggest [backport] (#14527) | Danil Yarantsev | 2020-06-01 | 1 | -0/+7 |
| | | | | * Handle nimsuggest in tryExpr * Added test | ||||
* | Fix a problem with extra build commands. (#14528) | Khronos | 2020-06-01 | 1 | -11/+11 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | When --compileOnly is on, extraCmds are not added to JsonBuildInstructions. ``` $ echo 'echo 123'>test.nim $ nim c --debuginfo --nimcache:cache test $ ls cache test test.dSYM test.nim $ tail -n3 cache/test.json "extraCmds": ["dsymutil /Users/khronos31/src/tmp/test"], "stdinInput": false } ``` ``` $ echo 'echo 123'>test.nim $ nim c --debuginfo --nimcache:cache --compileOnly test $ nim jsonscript --nimcache:cache test $ ls cache test test.nim $ tail -n3 cache/test.json "extraCmds": [], "stdinInput": false } ``` | ||||
* | fixes #14514 [backport:1.2] (#14533) | Andreas Rumpf | 2020-06-01 | 1 | -1/+3 |
| | |||||
* | warn about observerable stores but don't prevent them for 1.2.2 ↵ | Andreas Rumpf | 2020-05-30 | 2 | -4/+9 |
| | | | | [backport:1.2]; refs https://github.com/nim-lang/RFCs/issues/230 (#14510) | ||||
* | fixes #14498 [backport:1.2] (#14503) | Andreas Rumpf | 2020-05-30 | 2 | -4/+10 |
| | |||||
* | fixes #14495 [backport:1.2] (#14496) | Andreas Rumpf | 2020-05-29 | 1 | -4/+4 |
| | |||||
* | fix #14421 items uses lent T (#14447) | Timothee Cour | 2020-05-29 | 2 | -1/+3 |
| | | | | | * fix #14421 items uses lent T for seq + openArray * add -d:nimWorkaround14447 * fix test | ||||
* | hotfix doc comments for procs without body (#14494) | Timothee Cour | 2020-05-29 | 1 | -0/+1 |
| | |||||
* | more checking for --gc:arc, no need for valgrind (#14467) | Andreas Rumpf | 2020-05-29 | 4 | -3/+13 |
| | | | | * sigmatch: removed dead code | ||||
* | disallow typedesc in arrays & move existing checks to `types.typeAllowedAux` ↵ | Neelesh Chandola | 2020-05-29 | 3 | -40/+49 |
| | | | | | | (#13261) * disallow typedesc in arrays and move previous checks to types.typeAllowedAux | ||||
* | fix #14485 (#14487) | Timothee Cour | 2020-05-28 | 1 | -3/+2 |
| | |||||
* | fix #8871 runnableExamples now preserves source code comments, litterals, ↵ | Timothee Cour | 2020-05-28 | 4 | -57/+205 |
| | | | | | | | | | | | and all formatting; other bug fix (#14439) * fix #8871 runnableExamples now preserves source code comments, litterals, and all formatting * remove orig deadcode from getAllRunnableExamplesImpl * fix expected examples * add test to close https://github.com/nim-lang/Nim/issues/14473 * correctly handle regular comments before 1st token inside runnableExamples * add test to answer https://github.com/nim-lang/Nim/pull/14439#discussion_r431829199 * update tests | ||||
* | make it easier to figure out how to debug issues (#14477) | Timothee Cour | 2020-05-28 | 3 | -8/+20 |
| | |||||
* | Propagate the outDir to rstgen to fix hrefs for modules in subdirs (#14479) | Kaushal Modi | 2020-05-28 | 1 | -2/+1 |
| | |||||
* | Add thiscall calling convention, mostly for hooking purpose (#14466) | Huy Doan | 2020-05-27 | 3 | -4/+5 |
| | | | | * Add thiscall calling convention, mostly for hooking purpose * add changelog and documentation | ||||
* | typo | Andreas Rumpf | 2020-05-26 | 1 | -1/+1 |
| | |||||
* | docgen: mangling using _. instead of @@ to avoid issue (#14454) | Timothee Cour | 2020-05-26 | 1 | -0/+3 |
| |