summary refs log tree commit diff stats
Commit message (Collapse)AuthorAgeFilesLines
* typo: enmRange => enumElementsAsSet (#18394)Timothee Cour2021-06-291-2/+2
|
* fixes #16270 (#18388)Andreas Rumpf2021-06-293-3/+10
|
* simplify rdstdin (#18382)Timothee Cour2021-06-281-10/+4
|
* Fix unused warning for $ on empty object (#18381)Clyybber2021-06-281-1/+1
|
* Cleanup lookups.nim again.. (#18379)Clyybber2021-06-281-4/+4
|
* Fix #16426 (#18377)Clyybber2021-06-282-5/+23
|
* `./koch tools` now builds bin/nim_dbg, a debug version of nim (#18289)Timothee Cour2021-06-282-4/+11
|
* fixes #18319 (#18375)Andreas Rumpf2021-06-281-2/+12
|
* Simplify addInt, remove digits10 (#18356)Clyybber2021-06-284-68/+27
| | | | | | | | | | | | | * Simplify addInt, remove digits10 Co-authored-by: Charles Blake <charlechaud@gmail.com> * Fix bootstrapping * Add noInit to tmp array * noInit -> noinit Co-authored-by: Charles Blake <charlechaud@gmail.com>
* Peg captures get stack-like behavior (#18369)gemath2021-06-283-34/+94
| | | | | * Implements reverse capture indexing. * Now works for modified backrefs too. * Changed reverse indexing syntax prefix for back-references to '$^'.
* Switch IRC links to Libera Chat (#18370)Federico Ceratto2021-06-272-3/+3
|
* Switch packaging.rst to use makefileFederico Ceratto2021-06-271-3/+4
| | | Minor cleanup
* followup #18362: make `UnusedImport` work robustly (#18366)Timothee Cour2021-06-2714-25/+186
| | | | * warnDuplicateModuleImport => hintDuplicateModuleImport * improve DuplicateModuleImport msg, add test
* rst: fix bug 20 from #17340 (#18360)Andrey Makarov2021-06-262-1/+50
| | | and a leftover bug: priority of option list inside definition list
* even lighter version of #17938: fix most issues with UnusedImport, ↵Timothee Cour2021-06-2613-60/+155
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | XDeclaredButNotUsed, etc; fix #17511, #17510, #14246 (without realModule) (#18362) * {.used: symbol} * add tests * fix tests with --import * --import works without giving spurious unused warnings * new warning warnDuplicateModuleImport for `import foo; import foo` * fix test, add resolveModuleAlias, use proper line info for module aliases * fix spurious warnings * fix deprecation msg for deprecated modules even with `import foo as bar` * disable a test for i386 pending sorting XDeclaredButNotUsed errors * UnusedImport now works with re-exported symbols * fix typo [skip ci] * ic support * add genPNode to allow writing PNode-based compiler code similarly to `genAst` * fix DuplicateModuleImport warning * adjust test * fixup * fixup * fixup * fix after rebase * fix for IC * keep the proc inline, move the const out * [skip ci] fix changelog * experiment: remove calls to resolveModuleAlias * followup * fixup * fix tests/modules/tselfimport.nim * workaround tests/deprecated/tmodule1.nim * fix properly * simplify
* ensure 'koch boot --gc:orc' stays green (#18353)Andreas Rumpf2021-06-251-0/+5
| | | | | * ensure 'koch boot --gc:orc' stays green * disable for C++ code generator for now
* Add sink annotation to option some() (#18358)tomc19982021-06-251-2/+2
|
* docs now show nimExperimentalX APIs (#18345)Timothee Cour2021-06-254-8/+12
| | | | | * docs now show nimExperimentalX APIs * fix for windows
* fixes #18240 (#18354)Andreas Rumpf2021-06-252-12/+57
| | | | | * ORC: track escaping parameters properly * fixes #18240
* fixes #18287 (#18346)Andreas Rumpf2021-06-252-25/+74
|
* couple tiny typo fixes (#18344)Smooth Operator2021-06-241-2/+2
|
* float parsing: Add test for a fixed issue (#18232)Kaushal Modi2021-06-241-11/+18
| | | | | Fixes https://github.com/nim-lang/Nim/issues/14407 . This issue was fixed by https://github.com/nim-lang/Nim/pull/18139.
* fixes #18320 (#18343)Andreas Rumpf2021-06-242-4/+6
| | | | | * TSymFlag has 47 flags already * fixes #18320
* enable VM tracing in user code via `{.define(nimVmTrace).}` (#18244)Timothee Cour2021-06-246-2/+53
| | | | | | | * enable VM tracing in user code via `{.define(nimVmTrace).}` * add vmutils.vmTrace * add vmTrace
* rst: allow comment to continue on second line (#18338)Andrey Makarov2021-06-242-18/+76
|
* fix #18334: handle path with spaces on windows during bootstrap (#18337)Timothee Cour2021-06-242-13/+16
|
* fix #18332: XDeclaredButNotUsed hints now in deterministic order (#18336)Timothee Cour2021-06-242-15/+19
|
* fixes #18326 (#18335)Andreas Rumpf2021-06-232-4/+9
| | | | | * fixes #18326 * make tests green again
* [std/times]getTime now uses high resolution API on windows (#17901)flywind2021-06-232-2/+6
|
* Add some tests (#18333)Antonis Geralis2021-06-231-2/+70
|
* OS.nim: style changes (#18331)Andreas Rumpf2021-06-231-30/+28
|
* Markdown: allow to end URL with balanced parenthesis (#18321)Andrey Makarov2021-06-232-2/+75
| | | | | | | | | | | | | * Markdown: allow to end URL with balanced parenthesis * Update lib/packages/docutils/rst.nim Co-authored-by: Timothee Cour <timothee.cour2@gmail.com> * apply suggestion * remove unnecessary if Co-authored-by: Timothee Cour <timothee.cour2@gmail.com>
* followup #18318: simplify `dollarImpl` and add a test (#18330)Timothee Cour2021-06-222-7/+23
|
* merge similar procs regarding digits (#18318)flywind2021-06-225-135/+107
|
* fix #18327 (#18328)flywind2021-06-222-1/+6
|
* readAsText supports both Blob and File (fixes #18187) (#18189)mantielero2021-06-211-2/+2
|
* convert code-blocks to runnableExamples in io (#18315)xioren2021-06-211-16/+15
| | | Co-authored-by: konsumlamm <44230978+konsumlamm@users.noreply.github.com>
* add multi type exception catching to manual (#18258) (#18323)xioren2021-06-211-4/+2
|
* close #13196 now that we have dragonbox (#18316)Timothee Cour2021-06-212-0/+22
|
* fixes #17768 [backport:1.4] (#18317)flywind2021-06-212-7/+12
| | | | | * fixes #17768 [backport:1.4] * tiny
* fix #18310 system.== in vm for NimNode (#18313)Timothee Cour2021-06-212-5/+17
| | | | | | | * fix #18310 == in vm * fixup * fixup
* close #17403; improve docs for tuple (#18312)Timothee Cour2021-06-211-7/+8
|
* followup #17852, disallow all:on for now (#18311)Timothee Cour2021-06-202-1/+4
|
* validate rst field for :number-lines:, :status: (#18304)Andrey Makarov2021-06-205-8/+38
|
* support `--hint:all:off --hint:x` (ditto with `--warnings` + friends) (#17852)Timothee Cour2021-06-205-44/+45
| | | | | * select all hints via `--hint:all:on|off`, etc * simplify code with setutils * address comment
* Raise IndexDefect when deleting element at out of bounds index (#17821)Heiko Nickerl2021-06-205-36/+70
| | | | | Co-authored-by: Timothee Cour <timothee.cour2@gmail.com> Co-authored-by: Heiko Nickerl <mail@hnicke.de> Co-authored-by: Heiko Nickerl <heiko.nickerl@flipapp.de>
* Revert "disable pkg manu (#18292)" (#18307)Antonis Geralis2021-06-201-1/+1
| | | This reverts commit fc76565574b86566e4a642b9aac541e025cf5de3.
* [std/terminal] improve docs a bit (#18296)flywind2021-06-201-70/+45
| | | | | | | | | | | | | | | | | | | | | | | * Revert "add missing import to asynchttpserver's example" This reverts commit 7ef364a402d3d827f10c893280f8dc7b9ef056f5. * alternative to #18185 * add std/mutexes * cvlose #17696 * Revert "add std/mutexes" This reverts commit 69abc8b64954206da6ffe5fc40a1142b39777762. * tiny * test * improve terminal docs * follow advice
* move {.injectStmt.} to experimental; add a test (#18300)Timothee Cour2021-06-206-15/+53
| | | | | * move {.injectStmt.} to experimental; add a test * undocument and deprecat `.injectStmt` but keep its implementation until we have a replacement
* docgen: move to shared RST state (fix #16990) (#18256)Andrey Makarov2021-06-208-193/+293
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * docgen: move to shared RST state (fix #16990) * Update lib/packages/docutils/rst.nim Co-authored-by: Andreas Rumpf <rumpf_a@web.de> * Update lib/packages/docutils/rst.nim Co-authored-by: Andreas Rumpf <rumpf_a@web.de> * Update lib/packages/docutils/rst.nim Co-authored-by: Andreas Rumpf <rumpf_a@web.de> * Update compiler/docgen.nim Co-authored-by: Timothee Cour <timothee.cour2@gmail.com> * Update compiler/docgen.nim Co-authored-by: Timothee Cour <timothee.cour2@gmail.com> * Update compiler/docgen.nim Co-authored-by: Timothee Cour <timothee.cour2@gmail.com> * Update lib/packages/docutils/rst.nim Co-authored-by: Timothee Cour <timothee.cour2@gmail.com> * rename `cmdDoc2` to `cmdDoc` * fix (P)RstSharedState convention * new style of initialization * misc suggestions * 1 more rename * fix a regression Co-authored-by: Andreas Rumpf <rumpf_a@web.de> Co-authored-by: Timothee Cour <timothee.cour2@gmail.com>