summary refs log tree commit diff stats
Commit message (Collapse)AuthorAgeFilesLines
* [docs] improve std/encodings (#18458)flywind2021-07-091-12/+41
| | | | | | | | | | | | | | | | | | | | * [docs] improve std/encodings * tiny * shrink * Apply suggestions from code review Co-authored-by: konsumlamm <44230978+konsumlamm@users.noreply.github.com> * Apply suggestions from code review * Update lib/pure/encodings.nim Co-authored-by: Varriount <Varriount@users.noreply.github.com> Co-authored-by: konsumlamm <44230978+konsumlamm@users.noreply.github.com> Co-authored-by: Varriount <Varriount@users.noreply.github.com>
* Fix a bug with starting of asynchronous processes (#18464)Ivan Bobev2021-07-081-1/+1
| | | | | | | The asynchronous process completion handler callback should be called only once. This is achieved by passing `WT_EXECUTEONLYONCE` flag to the `registerWaitForSingleObject` Windows API procedure. Related to cheatfate/asynctools#35
* rm redundant blank lines before literal blocks (#18465)Andrey Makarov2021-07-084-12/+23
|
* Revert "Make 'echo' raise IOErrors when appropriate (#16367)" (#18460)Miran2021-07-083-30/+8
| | | This reverts commit 23d23ecb081be6702d74024be8f96d92d9f88a59.
* improve `--declaredLocs` to help disambiguate types (generics, aliases etc) ↵Timothee Cour2021-07-088-14/+112
| | | | | | | | | (#18389) * improve --declaredlocs to help disambiguate types (generics, aliases etc) * avoid a cyclic deps * fix test after rebase
* followup #18252: show special flags -d:danger, -d:release when given (#18451)Timothee Cour2021-07-081-0/+4
|
* Rename test variable due to unfortunate connotations (#18453)Aditya Siram2021-07-081-4/+4
|
* improve rendering of newOSError.additionalInfo (#18443)Timothee Cour2021-07-072-3/+6
| | | | | * improve rendering of newOSError.additionalInfo * fixup
* ORC: use =destroy instead of =dispose (#18440)Andreas Rumpf2021-07-0710-81/+205
| | | | | | * ORC refactoring in preparation for further changes (=dispose must die) * ORC: embrace =destroy, avoid =dispose * ORC: no need for =dispose * closes #18421
* major improvements to `std/wrapnils`: optimal codegen, case objects, lvalue ↵Timothee Cour2021-07-073-125/+345
| | | | | | | semantics (#18435) * wrapnils now generates optimal code; also handles case objects * changelog * unsafeAddr => addr
* fix shebangs #! /xxx => #!/xxx (#18444)Timothee Cour2021-07-076-6/+6
|
* fix compilation on Debian 7 (no git -C) (#18427)Andrey Makarov2021-07-067-9/+20
| | | | | | | | | | | | | | | | | | | | | | * fix compilation on Debian 7 (no git -C) * address review * allow specify branch for testing unmerged csources * temporarily change csources checkout parameters for testing * Update tools/deps.nim Co-authored-by: Timothee Cour <timothee.cour2@gmail.com> * fix failure * Update config/build_config.txt * set proper git branch/hash Co-authored-by: Timothee Cour <timothee.cour2@gmail.com> Co-authored-by: Andreas Rumpf <rumpf_a@web.de>
* 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
|