summary refs log tree commit diff stats
Commit message (Collapse)AuthorAgeFilesLines
* Make procedure mismatch more informative with pragma/call convention ↵Jason Beetham2021-07-064-32/+170
| | | | | | | | | | | | | | | | | | mismatches (#18384) * Added more concise calling convention/pragma mismatch messages * Now only adds callConvMsg/lock message when sensible * Fixed message formatting * Added tests, and fixed some bugs * Tests joined, and always indenting * More tests and more bug fixes * Fixed first test in tprocmismatch * Using var param for writting mismatches * Better logic for handling proc type rel and conv/pragma mismatch * Refactored getProcConvMismatch * Fixed callConv message formatting * Fixed test for proper message * Cleanup to address issues * getProcConvMismatch now returns tuple, and reformatted code
* Add entry (#18434)Antonis Geralis2021-07-061-2/+6
|
* Cleanup interval and timeout procs (#18431)Antonis Geralis2021-07-051-8/+10
| | | clear/setTimeout procs were using ref ref Timeout. Added more interval overloads. Corrections.
* deprecate std/mersenne (#18395)pyautogui2021-07-053-8/+7
| | | | | Co-authored-by: konsumlamm <44230978+konsumlamm@users.noreply.github.com> Co-authored-by: Timothee Cour <timothee.cour2@gmail.com> Co-authored-by: Andreas Rumpf <rumpf_a@web.de>
* fixes #18411 (#18432) [backport:1.4]Andreas Rumpf2021-07-051-3/+1
|
* std/net: show addr+port on address already in use error; code-block => ↵Timothee Cour2021-07-051-43/+37
| | | | | | | runnableExamples (#18428) * std/net: show addr+port on address already in use error; code-block => runnableExamples * var=>let
* Add lent annotation to avoid extra copies in sample (#18404)Antonis Geralis2021-07-021-1/+1
| | | | | | | * Add lent annotation to avoid extra copies in sample * Remove lent * Update random.nim
* [minor]remove unnecessary stringify (#18419)flywind2021-07-021-4/+4
|
* fixes #18030 (#18415)Andreas Rumpf2021-07-012-1/+31
|
* don't use `{.rtl.}` for generics, otherwise `-d:useNimRtl` gives `ambiguous ↵Timothee Cour2021-07-013-10/+13
| | | | identifier` nimrtl error (#18406)
* fixes #18130 (#18407)Andreas Rumpf2021-07-012-17/+72
|
* Removed hard coded ports from thttpclient_standalone.nim. (#18374)Mark Pointing2021-06-301-23/+26
| | | | | | Co-authored-by: Dominik Picheta <dominikpicheta@googlemail.com> Co-authored-by: Mark Pointing <mark@futurepoint.com.au> Co-authored-by: Andreas Rumpf <rumpf_a@web.de> Co-authored-by: Timothee Cour <timothee.cour2@gmail.com>
* Missing spaces when compiling testament and nim_dbg. (#18403)Endeg2021-06-302-4/+4
|
* fixes #18400 (#18402)Andreas Rumpf2021-06-302-1/+7
|
* genDepend: fix for module names that are reserved DOT keywords (#18392)Ștefan Talpalaru2021-06-301-1/+1
| | | (like "node" and "edge")
* remove isKeywordIgnoreCase from highlite, not used , can't even compile with ↵Bung2021-06-301-3/+0
| | | | -d:useNimRtl (#18399)
* improvements to hint:processing: show import stack, distinguish nims, show ↵Timothee Cour2021-06-308-19/+29
| | | | | | | | includes etc (#18372) * improvements to hint:processing * fix tests; do not show hintProcessing for nimscript unless given -d:nimHintProcessingNims * fix trunner and avoid need for -d:nimHintProcessingNims * fix some tests
* Add commas to docs for clarity (#18398)Elliot Waite2021-06-292-3/+3
|
* 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>