ringabout
ea5dcdbe8f
add measuremancer to important packages ( #20599 )
...
* add measuremancer to important packages
wait for https://github.com/nim-lang/packages/pull/2392
* Update testament/important_packages.nim
* Update testament/important_packages.nim
* Update testament/important_packages.nim
2022-10-20 01:22:53 +08:00
SirOlaf
2f441ac675
[backport] Handle nkOpenSymChoice for nkAccQuoted in considerQuotedIdent ( #20578 )
...
* Handle nkOpenSymChoice for nkAccQuoted in considerQuotedIdent
* Add test
* Update compiler/lookups.nim
Co-authored-by: SirOlaf <a>
Co-authored-by: Andreas Rumpf <rumpf_a@web.de >
2022-10-18 14:56:38 -04:00
ringabout
b07526b2c7
refactor envvars, oserrors; register vmops ( #20592 )
...
* refactor envvars, oserrors; register vmops
* remove type definitions
2022-10-18 19:44:26 +02:00
ringabout
b13ef07f58
enable telebot ( #20589 )
...
ref https://github.com/ba0f3/telebot.nim/pull/79
ref https://github.com/ba0f3/telebot.nim/releases/tag/2022.10.18
2022-10-18 18:25:26 +08:00
ringabout
15dff4daff
fixes niminst with stricteffects; add testcase for niminst ( #20587 )
...
fixes niminst with stricteffects; add testcase
2022-10-18 08:59:02 +02:00
Andreas Rumpf
81087c949f
fixes #20572 ( #20585 )
...
* fixes #20572
* added a test case
2022-10-17 23:48:51 +02:00
ringabout
c0824b9b80
[std/os clean up] import and export osseps ( #20580 )
...
import and export osseps
2022-10-17 20:29:00 +02:00
Juan Carlos
b7f1757952
Documentation only, dom ( #20584 )
...
Add docs to dom
2022-10-17 20:01:08 +02:00
Can Lehmann
2102e3b02f
Fix #12517 Allow single branch when nimvm statements ( #20577 )
...
Allow single branch when statements
2022-10-17 08:01:53 +02:00
Andrey Makarov
081dfea746
Fix "imported but not used" warnings ( #20575 )
2022-10-16 20:24:16 +02:00
ringabout
0bacdf5fdf
fixes #20515 ; base method requires explicit {.gcsafe.} to be GC-safe ( #20574 )
...
* fixes #20515 ; base requires explicit `{.gcsafe.}` to be GC-safe
* add tests
2022-10-16 13:20:05 +02:00
ringabout
619d6c318c
enable glob ( #20573 )
...
ref 5cc3310437
2022-10-16 09:52:19 +08:00
Antonis Geralis
ed26156c99
atomicInc global alloc counters ( #20571 )
2022-10-16 01:07:22 +02:00
ringabout
1e15f975b8
fixes #19162 ; enable strictEffects for v2 ( #19380 )
...
* enable stricteffects
* add gcsafe
* fix tests
* use func
* fixes pegs tests
* explicitly mark repr related procs with noSideEffect
* add nimLegacyEffects
* change URL
* fixes docopt
* add `raises: []` to repr
* fixes weave
* fixes nimyaml
* fixes glob
* fixes parsetoml
* Apply suggestions from code review
* Update testament/important_packages.nim
* add legacy:laxEffects
2022-10-15 14:07:40 +02:00
Bung
0510a2be0d
fix #19700 Crash when passing a template to a generic functio… ( #20567 )
...
fix nim-lang#19700 Crash when passing a template to a generic function expecting a procedure
2022-10-15 07:15:58 +02:00
ringabout
57574eaf31
fixes changelog for oids ( #20565 )
2022-10-14 20:58:36 +08:00
Bung
b286448a99
fix #8821 JS codegen can produce extreme switch statements with case … ( #20548 )
...
* fix #8821 JS codegen can produce extreme switch statements with case a of range
* remove totalRange
2022-10-14 12:21:02 +02:00
Andreas Rumpf
07b645342a
fixes #3748 ( #20563 )
...
* fixes #3748
* fix the regression
* don't use the new allocator for the SSL wrapper
* fixes regression
2022-10-14 12:00:38 +02:00
Andrey Makarov
b793ca7394
Validate nimgrep filter options not empty ( #20562 )
2022-10-14 00:44:34 -04:00
ringabout
be18f4e513
follow up #19714 ; add memmem optimizations for find on Linux, Macos and BSDs ( #20556 )
...
* fixes tests
* add memmem optimization for find
* fixes
* ty[o
* fixes `"abc".find("") == 0 doesn't work on macOS
Co-authored-by: xflywind <43030857+xflywind@users.noreply.github.com >
2022-10-13 23:58:59 +02:00
ringabout
6082b9ea5d
fixes #20553 ; don't format code for stropping identifier ( #20561 ) [backport]
...
* fixes #20553 ; don't format code for stropping identifier
* add tests
* Update nimpretty/tests/expected/simple.nim
2022-10-13 23:37:41 +02:00
Bung
169d3fda00
fix #18136 tests/proc/t17157.nim now gives SIGSEGV instead of error ( #20555 )
2022-10-13 06:39:43 +02:00
ringabout
a1a9d63d22
add nimPNG to important packages ( #20557 )
...
* try to enable nico since nimPNG works with ORC now
ref 2dccf3e19c
* Update important_packages.nim
2022-10-13 11:51:09 +08:00
Bung
ea2f2775a7
fix #18990 Regression in proc symbol resolution; Error: attempting to… ( #20554 )
...
fix #18990 Regression in proc symbol resolution; Error: attempting to call routine
2022-10-12 20:44:45 -04:00
Dominik Picheta
fa60378a7f
Return error message in output of gorge/staticExec. ( #18942 )
...
* Return error message in output of gorge/staticExec.
* Document nimLegacyGorgeErrors in changelog.
2022-10-12 18:52:22 +02:00
Andrey Makarov
19ff746916
Markdown code blocks migration part 7 ( #20547 )
2022-10-12 16:13:43 +02:00
ringabout
13b3ea71da
oids sticks to 24 length strings; fixes breaking changes ( #20546 )
...
oids sticks 24 length strings
2022-10-12 15:15:21 +02:00
ringabout
7394587217
move google fonts to the last part ( #20541 )
...
* move google fonts to the last part
* fixes tests
* fix rst2html
2022-10-11 19:42:02 +02:00
Bung
083ea8f10c
fix #7446 Generics: type mismatch 'SomeunsignedInt or Natural' ( #20522 )
...
* fix #7446 Generics: type mismatch 'SomeunsignedInt or Natural'
* try fix
2022-10-11 11:42:49 +02:00
ringabout
5602183234
'lock levels' are deprecated, now a noop ( #20539 )
...
* 'lock levels' are deprecated, now a noop
* fixes tests
2022-10-11 09:17:09 +02:00
Andreas Rumpf
7587371554
time to make IC work with ORC (here we go again...) ( #20538 )
...
works for me
2022-10-11 09:00:07 +02:00
ringabout
666a0e34cd
remove unused userVersion:1.6 which is succeeded by nimPreviewSlimSystem in this case ( #20535 )
...
removed unused userVersion:1.6
2022-10-10 23:38:18 +02:00
ringabout
0774c3aaaa
update the maintained repo of ast-pattern-matching ( #20537 )
2022-10-10 15:48:51 -04:00
Andreas Rumpf
08ae3467b9
refactorings ( #20536 )
...
* refactoring
* refactoring: removed unused macroUsagesSection
* enum instead of bool for better readability
2022-10-10 21:40:07 +02:00
ringabout
e290b028ab
Make rstgen work with gcsafe ( #20534 )
...
* 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 >
2022-10-10 18:56:01 +02:00
ringabout
1f2075042b
enable nimlsp and ast_pattern_matching ( #20533 )
2022-10-10 22:35:39 +08:00
ringabout
d954e698b3
Automatic dereferencing is removed ( #20531 )
2022-10-10 15:02:23 +02:00
Andreas Rumpf
b8def03575
Atlas: added an explicit --workspace option ( #20532 )
2022-10-10 15:01:39 +02:00
Bung
db3d2971cf
fix #18886 crash on ambiguous proc cast ( #20472 )
...
* fix #18886 crash on ambiguous proc cast
* follow suggestion
2022-10-10 11:09:54 +02:00
Andreas Rumpf
0f2775aacf
implemented 'atlas install' command ( #20530 )
2022-10-10 11:05:44 +02:00
Amjad Ben Hedhili
944e4cf585
Remove unused base64.encode overload ( #20369 )
...
* 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 79a2963a21 .
* Revert "[skip ci] Add changelog entry"
This reverts commit 186f17eb39 .
* Revert "Revert "Remove `SomeInteger` overload""
This reverts commit 8005318ee4 .
* Update lib/pure/base64.nim
Co-authored-by: Andreas Rumpf <rumpf_a@web.de >
2022-10-09 15:54:21 -04:00
ringabout
0c0b086d58
fixes #20524 ; add forbids pragmas to hideable lists ( #20525 )
...
* fixes #20524 ; add forbids pragmas to hideable lists
* fixes nimdoc
2022-10-09 12:13:45 -04:00
ee7
5661edd75a
parseutils: skipWhile: fix parameter name in doc comment ( #20523 )
2022-10-09 19:32:04 +08:00
Andreas Rumpf
fbc6975922
threaded alloc ( #20492 )
...
* 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
2022-10-09 11:44:02 +02:00
Huy Doan
b47d5486db
FTP client is now able to connect to server over TLS by set `useTls =… ( #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 >
2022-10-09 14:29:22 +08:00
ringabout
5e4dd571d4
fixes #20516 ; system.create doesn't work with bitfield objects ( #20518 )
...
* Revert "fixes #19000 (#19032 )"
This reverts commit 2bda4a30a6 .
* fixes #20516 ; add testcase
2022-10-08 17:38:22 +02:00
Andreas Rumpf
e83f27e6a0
out parameters: enforce that 'out' is only used as a parameter ( #20510 )
...
* out parameters: enforce that 'out' is only used as a parameter
* make tables.nim use 'out' parameters
* better backwards compat
2022-10-07 22:26:53 +02:00
ringabout
a132f5502a
closes #12994 ; add testcase ( #20511 )
2022-10-08 00:27:17 +08:00
ringabout
c651817ffd
fixes devel CI ( #20512 )
2022-10-07 15:00:15 +02:00
ringabout
079363bfc3
remove implicit let/var default initialization ( #20508 )
2022-10-07 07:49:27 +02:00