summary refs log tree commit diff stats
Commit message (Collapse)AuthorAgeFilesLines
* add nimPNG to important packages (#20557)ringabout2022-10-131-1/+2
| | | | | | | * try to enable nico since nimPNG works with ORC now ref https://github.com/jangko/nimPNG/commit/2dccf3e19ceb3fdf3f3f415e717d9d336d473a19 * Update important_packages.nim
* fix #18990 Regression in proc symbol resolution; Error: attempting to… ↵Bung2022-10-124-2/+9
| | | | | (#20554) fix #18990 Regression in proc symbol resolution; Error: attempting to call routine
* Return error message in output of gorge/staticExec. (#18942)Dominik Picheta2022-10-122-2/+12
| | | | | * Return error message in output of gorge/staticExec. * Document nimLegacyGorgeErrors in changelog.
* Markdown code blocks migration part 7 (#20547)Andrey Makarov2022-10-1217-414/+429
|
* oids sticks to 24 length strings; fixes breaking changes (#20546)ringabout2022-10-122-8/+8
| | | oids sticks 24 length strings
* move google fonts to the last part (#20541)ringabout2022-10-118-32/+24
| | | | | | | * move google fonts to the last part * fixes tests * fix rst2html
* fix #7446 Generics: type mismatch 'SomeunsignedInt or Natural' (#20522)Bung2022-10-112-2/+11
| | | | | * fix #7446 Generics: type mismatch 'SomeunsignedInt or Natural' * try fix
* 'lock levels' are deprecated, now a noop (#20539)ringabout2022-10-1157-372/+121
| | | | | * 'lock levels' are deprecated, now a noop * fixes tests
* time to make IC work with ORC (here we go again...) (#20538)Andreas Rumpf2022-10-113-11/+40
| | | works for me
* remove unused `userVersion:1.6` which is succeeded by `nimPreviewSlimSystem` ↵ringabout2022-10-101-2/+2
| | | | | in this case (#20535) removed unused userVersion:1.6
* update the maintained repo of ast-pattern-matching (#20537)ringabout2022-10-101-1/+1
|
* refactorings (#20536)Andreas Rumpf2022-10-109-16/+16
| | | | | | | * refactoring * refactoring: removed unused macroUsagesSection * enum instead of bool for better readability
* Make rstgen work with gcsafe (#20534)ringabout2022-10-106-9/+18
| | | | | | | | | | | * Make rstgen work with gcsafe Co-authored-by: Danil Yarantsev <tiberiumk12@gmail.com> * add tests and fixes * if nimHasWarningAsError Co-authored-by: Danil Yarantsev <tiberiumk12@gmail.com>
* enable nimlsp and ast_pattern_matching (#20533)ringabout2022-10-101-2/+2
|
* Automatic dereferencing is removed (#20531)ringabout2022-10-108-104/+18
|
* Atlas: added an explicit --workspace option (#20532)Andreas Rumpf2022-10-101-3/+15
|
* fix #18886 crash on ambiguous proc cast (#20472)Bung2022-10-103-2/+29
| | | | | * fix #18886 crash on ambiguous proc cast * follow suggestion
* implemented 'atlas install' command (#20530)Andreas Rumpf2022-10-101-52/+90
|
* Remove unused `base64.encode` overload (#20369)Amjad Ben Hedhili2022-10-092-28/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Remove unused `base64.encode` overload * [skip ci] Remove commented code * [skip ci] var -> let * [skip ci] Remove mentions of the string overload * Remove `SomeInteger` overload * Fix CI * Fix CI * Deprecate `SomeInteger` overload * [skip ci] Add changelog entry * Revert "Remove `SomeInteger` overload" This reverts commit 79a2963a2154377ee44e9ad5532409baaf5575a6. * Revert "[skip ci] Add changelog entry" This reverts commit 186f17eb3919a593e2a3928e3ac3b462a8323fc1. * Revert "Revert "Remove `SomeInteger` overload"" This reverts commit 8005318ee4fbf8cef726b1af2015e76aaf1e700a. * Update lib/pure/base64.nim Co-authored-by: Andreas Rumpf <rumpf_a@web.de>
* fixes #20524; add forbids pragmas to hideable lists (#20525)ringabout2022-10-094-54/+54
| | | | | * fixes #20524; add forbids pragmas to hideable lists * fixes nimdoc
* parseutils: skipWhile: fix parameter name in doc comment (#20523)ee72022-10-091-1/+1
|
* threaded alloc (#20492)Andreas Rumpf2022-10-093-118/+247
| | | | | | | | * allocator: catch up with multi-threading techniques * removed the global thread lock * more atomics for fun and profit * added important sysAssert * stats remain thread local and don't have to be atomic * undo split chunk optimizations in the hope it makes the CI happy
* FTP client is now able to connect to server over TLS by set `useTls =… ↵Huy Doan2022-10-091-10/+75
| | | | | | | | | | | | | | | | | (#17219) * FTP client is now able to connect to server over TLS by set `useTls = true` in newAsyncFtpClient proc * Update asyncftpclient.nim * fix CI * shouldn't use {.error.} * Update lib/pure/asyncftpclient.nim Co-authored-by: flywind <xzsflywind@gmail.com> Co-authored-by: ringabout <43030857+ringabout@users.noreply.github.com> Co-authored-by: Clay Sweetser <Varriount@users.noreply.github.com>
* fixes #20516; system.create doesn't work with bitfield objects (#20518)ringabout2022-10-082-6/+7
| | | | | | | * Revert "fixes #19000 (#19032)" This reverts commit 2bda4a30a6b12dd0840dc347e454e54fe26721e7. * fixes #20516; add testcase
* out parameters: enforce that 'out' is only used as a parameter (#20510)Andreas Rumpf2022-10-075-3/+47
| | | | | | | * out parameters: enforce that 'out' is only used as a parameter * make tables.nim use 'out' parameters * better backwards compat
* closes #12994; add testcase (#20511)ringabout2022-10-081-0/+23
|
* fixes devel CI (#20512)ringabout2022-10-071-1/+1
|
* remove implicit let/var default initialization (#20508)ringabout2022-10-072-27/+16
|
* DAA and 'out' parameters (#20506)Andreas Rumpf2022-10-0617-53/+289
| | | | | | | | | | | * DAA and 'out' parameters * progress * documented strictDefs and out parameters * docs, tests and a bugfix * fixes silly regression
* correct grammar (ref #20199) and add check for grammar.txt (#20494)ringabout2022-10-063-12/+35
| | | | | | | * correct grammar; ref #20199 * add check for keeping grammar.txt up-to-date * add nimTestGrammar
* closes #9401; add testcase (#20507)ringabout2022-10-061-0/+49
|
* Add no-math-errno for GCC when build for Release (#20503)Juan Carlos2022-10-062-4/+9
| | | | * gcc matherrno * changelog
* Fix/improve handling of forward declarations in nimsuggest (#20493)Ivan Yonchovski2022-10-066-13/+119
| | | | | | | | | | | | | | | | | * Fix/improve handling of forward declarations in nimsuggest - ideUse now works fine when invoked on the implementation - implemented ideDeclaration to make cover lsp feature textDocument/declaration - fixed performance issue related to deduplicating symbols. Now the deduplication happens after the symbols are filtered. As a alternative we might change the way cached symbols are stored(e. g. use set). - I also fixed the way globalSymbols work. Now it will sort the responses based on the match location to make sure that the results are sorted in user friendly way. * Update nimsuggest/nimsuggest.nim Co-authored-by: Andreas Rumpf <rumpf_a@web.de> Co-authored-by: Andreas Rumpf <rumpf_a@web.de>
* follow up #20109; remove `shallow` seqs/strings for ORC (#20502)ringabout2022-10-069-45/+36
| | | | | | | * remove `shallow` seqs/strings for ORC * add a changelog item * change url of DelaunayNim
* Make output assertion deterministic for test for #7172 (#20495)Matt Haggard2022-10-051-2/+2
| | | Co-authored-by: Clay Sweetser <Varriount@users.noreply.github.com>
* closes #11267; closes #11259; closes #11085; add testcases (#20505)ringabout2022-10-062-0/+36
| | | | | | | * closes #11267; add testcase * closes #11259 * closes #11085
* Markdown indented code blocks (#20473)Andrey Makarov2022-10-0533-616/+710
| | | | | | | | | | | | | | | | | | | | | | | * Implement Markdown indented code blocks Additional indentation of 4 spaces makes a block an "indented code block" (monospaced text without syntax highlighting). Also `::` RST syntax for code blocks is disabled. So instead of ```rst see:: Some code ``` the code block should be written as ```markdown see: Some code ``` * Migrate RST literal blocks :: to Markdown's ones
* macOS use SecRandomCopyBytes instead of getentropy (#20466)Matt Haggard2022-10-051-17/+4
| | | | | * On macOS use SecRandomCopyBytes instead of getentropy (which is only available on macOS 10.12+) * Change passL to passl
* strutils, rstgen: avoid deprecated `strutils.delete` (#20488)ee72022-10-053-5/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The strutils `delete` func with signature func delete*(s: var string, first, last: int) was deprecated in adba5eb45e0a, in favor of one with signature func delete*(s: var string, slice: Slice[int]) However, a few procedures still used the deprecated form. This commit updates them, resolving these deprecation warnings: rstgen.nim(766, 12) Warning: use `delete(s, first..last)`; delete is deprecated [Deprecated] strutils.nim(1651, 19) Warning: use `delete(s, first..last)`; delete is deprecated [Deprecated] strutils.nim(1679, 7) Warning: use `delete(s, first..last)`; delete is deprecated [Deprecated] strutils.nim(2472, 7) Warning: use `delete(s, first..last)`; delete is deprecated [Deprecated] Before this commit: - `trimZeros` called `s.delete(i+1, i)` for an input that lacks a trailing zero (like "1.23"). - `removePrefix*(s: var string, prefix: string)` called `s.delete(0, -1)` when the prefix was the empty string. which did not modify `s`, nor raise an error. But the newer slice `delete` raises an `IndexDefect` when the start of the slice is greater than the end, so we avoid calling the new `delete` for such a case. Recall that exceptions inheriting from `system.Defect` are not tracked with the `.raises: []` exception tracking mechanism [1], so this commit does not break existing code like: proc foo {.raises: [].} = var s = "abc1.20" s.removePrefix("abc") s.trimZeros() doAssert s == "1.2" The `strutils.delete` deprecation was motivated by a problem with `system.delete` [2][3]: `system.delete` had surprising behavior when the index passed to it was out of bounds (it would delete the last entry then). Compile with `-d:nimStrictDelete` so that an index error is produced instead. Be aware however that your code might depend on this quirky behavior so a review process is required on your part before you can use `-d:nimStrictDelete`. To make this review easier, use the `-d:nimAuditDelete` switch, which pretends that `system.delete` is deprecated so that it is easier to see where it was used in your code. `-d:nimStrictDelete` will become the default in upcoming versions. A similar deprecation happened with `sequtils.delete` [4], but that deprecated form is already not used in this repo. [1] https://github.com/nim-lang/Nim/blob/2dec69fe5aa6/doc/manual.md#exception-tracking [2] https://github.com/nim-lang/Nim/blob/2dec69fe5aa6/changelogs/changelog_1_6_0.md#system [3] https://github.com/nim-lang/Nim/commit/92cb76571432 [4] https://github.com/nim-lang/Nim/commit/1d6863a7899f
* Add proxy basic auth documentation (#20498)TerrorTrace2022-10-051-0/+8
|
* enable important packages which pass tests (#20501)ringabout2022-10-051-2/+2
|
* cleanup nfFirstWrite flags (#20500)Andreas Rumpf2022-10-055-6/+5
|
* fixes #19231; newFinalize doesn't work with ORC (#20291)ringabout2022-10-052-31/+46
| | | | | | | | | | | | | | | * fixes #19231; newFinalize doesn't work with ORC first make it pass tests * remove the tables dep creates a binding for finalized procs in order to handle the same symbols. It used to wrongly generat a new symbol id for the same symbol as the encountered one before * refactor and revert #14257 * de indentation * fixes tests; uses instantiated types
* enable ORC tests for nimsl (#20497)ringabout2022-10-041-1/+1
|
* remove deprecation messages for `unsafeAddr`; add warnings to docs (#20496)ringabout2022-10-041-13/+3
|
* add default field support for object in ARC/ORC (#20480)ringabout2022-10-0423-80/+727
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * fresh start * add cpp target * add result support * add nimPreviewRangeDefault * reduce * use orc * refactor common parts * add tuple support * add testcase for tuple * cleanup; fixes nimsuggest tests * there is something wrong with cpp * remove * add support for seqs * fixes style * addd initial distinct support * remove links * typo * fixes tuple defaults * add rangedefault * add cpp support * fixes one more bugs * add more hasDefaults * fixes ordinal types * add testcase for #16744 * add testcase for #3608 * fixes docgen * small fix * recursive * fixes * cleanup and remove tuple support * fixes nimsuggest * fixes generics procs * refactor * increases timeout * refactor hasDefault * zero default; disable i386 * add tuples back * fixes bugs * fixes tuple * add more tests * fix one more bug regarding tuples * more tests and cleanup * remove messy distinct types which must be initialized by original types * add tests * fixes zero default * fixes grammar * fixes tests * fixes tests * fixes tests * fixes comments * fixes and add testcase * undo default values for results Co-authored-by: flywind <43030857+xflywind@users.noreply.github.com>
* decrease iteration count of btree test (#20491)Bung2022-10-041-1/+1
| | | disable btree test
* allocator: disable unnecessary stuff for ORC [backport] (#20489)Andreas Rumpf2022-10-031-95/+44
|
* [ARC] fixes #18645; C Compiler error when initializing {.global.} with a ↵ringabout2022-10-032-12/+35
| | | | | | | | | | block (#19953) * fixes #18645; C Compiler error when initializing {.global.} with a block: * arguably cleaner solution Co-authored-by: xflywind <43030857+xflywind@users.noreply.github.com> Co-authored-by: Araq <rumpf_a@web.de>
* close #11415; add testcase (#20486)ringabout2022-10-031-0/+25
|