ringabout
c58b6e8df8
disable dnsclient because it is fragile ( #23728 )
...
```
Unhandled exception: /home/runner/work/Nim/Nim/pkgstemp/dnsclient/tests/test1.nim(28, 3) `rr.strings == @["dnsclient.nim"]` [AssertionDefect]
[FAILED] query TXT
[OK] query MX
[OK] query CNAME
[OK] query SRV
Error: execution of an external program failed: '/home/runner/work/Nim/Nim/pkgstemp/dnsclient/tests/test1'
Tip: 2 messages have been suppressed, use --verbose to show them.
tools.nim(36) doCmd
Error: Execution failed with exit code 1
... Command: /home/runner/work/Nim/Nim/bin/nim c --noNimblePath -d:NimblePkgVersion=0.3.4 --hints:off -r --path:. /home/runner/work/Nim/Nim/pkgstemp/dnsclient/tests/test1
```
2024-06-18 19:43:46 +08:00
ringabout
09b5ed251e
remove pkg "pylib" ( #23691 )
...
https://github.com/Yardanico/nimpylib is 404 now
2024-06-07 21:07:22 +08:00
Miran
d22e8f7f82
[backport] test more packages ( #23671 )
...
These packages are some of the dependencies of Nimbus with shorter
testing times.
2024-06-03 13:58:29 +02:00
ringabout
c1f31cedbb
remove winim from important packages; since CI doesn't check windows platform ( #23661 )
...
Cannot compile on Linux reliably
2024-05-30 12:34:46 +08:00
ringabout
04f3df4c87
fixes testament matrix doesn't work with other backends which left many JS tests untested ( #23592 )
...
Targets are not changes, which means the C binary is actually tested for
JS backend
2024-05-14 11:33:08 +02:00
ringabout
78d70d5fdf
bring telebot back ( #23578 )
...
Reverts nim-lang/Nim#23566
ref
afe4ad877e
2024-05-07 19:13:41 +08:00
ringabout
1ef4d04a1e
fixes CI failure ( #23566 )
2024-05-04 09:41:14 +08:00
metagn
49e1ca0b3e
remove HEAD arraymancer dependency requirement in package CI ( #23509 )
...
Was introduced to handle a break in #23392 , according to
https://github.com/nim-lang/Nim/pull/23503#issuecomment-2057266475
should not be needed anymore
2024-04-17 11:02:54 +08:00
metagn
73b0b0d31c
stop gensym identifiers hijacking routine decl names in templates ( #23392 )
...
fixes #23326
In a routine declaration node in a template, if the routine is marked as
`gensym`, the compiler adds it as a new symbol to a preliminary scope of
the template. If it's not marked as gensym, then it searches the
preliminary scope of the template for the name of the routine, then when
it matches a template parameter or a gensym identifier, the compiler
replaces the name node with a symbol node of the found symbol.
This makes sense for the template parameter since it has to be replaced
later, but not really for the gensym identifier, as it doesn't allow us
to inject a routine with the same name as an identifier previously
declared as gensym (the problem in #23326 is when this is in another
`when` branch).
However this is the only channel to reuse a gensym symbol in a
declaration, so maybe removing it has side effects. For example if we
have:
```nim
proc foo(x: int) {.gensym.} = discard
proc foo(x: float) {.gensym.} = discard
```
it will not behave the same as
```nim
proc foo(x: int) {.gensym.} = discard
proc foo(x: float) = discard
```
behaved previously, which maybe allowed overloading over the gensym'd
symbols.
A note to the "undeclared identifier" error message has also been added
for a potential error code that implicitly depended on the old behavior
might give, namely ``undeclared identifier: 'abc`gensym123'``, which
happens when in a template an identifier is first declared gensym in
code that doesn't compile, then as a routine which injects by default,
then the identifier is used.
2024-04-09 14:37:34 +02:00
ringabout
fa91823e37
Revert "disable measuremancer" ( #23353 )
...
Reverts nim-lang/Nim#23352
ref
e2e994b21c
2024-02-26 19:51:37 +08:00
ringabout
14cdcc091f
disable measuremancer ( #23352 )
...
ref https://github.com/SciNim/Measuremancer/issues/17
2024-02-26 13:55:18 +08:00
ringabout
0b363442e5
fixes broken doc links ( #23255 )
...
https://nim-lang.github.io/Nim/testament.html#writing-unit-tests
https://nim-lang.github.io/Nim/testament.html#writing-unit-tests-output-message-variable-interpolation
2024-01-25 14:10:32 +08:00
Ryan McConnell
6f3d3fdf9f
CI entry may be reset to default ( #23127 )
2023-12-25 11:25:05 +08:00
metagn
c0acf3ce28
retain postfix node in type section typed AST, with docgen fix ( #23101 )
...
Continued from #23096 which was reverted due to breaking a package and
failing docgen tests. Docgen should now work, but ~~a PR is still
pending for the package: https://github.com/SciNim/Unchained/pull/45~~
has been merged
2023-12-23 09:22:49 +01:00
Jake Leahy
db9d8003b0
Don't crash for invalid toplevel parseStmt/Expr calls ( #23089 )
...
This code will crash `check`/`nimsuggest` since the `ra` register is
uninitialised
```nim
import macros
static:
discard parseExpr("'")
```
Now it assigns an empty node so that it has something
Testament changes were so I could properly write a test. It would pass
even with a segfault since it could find the error
2023-12-19 17:27:24 +01:00
metagn
8614f35dc2
Revert "retain postfix node in type section typed AST" ( #23098 )
...
Reverts nim-lang/Nim#23096
2023-12-19 00:07:20 +01:00
metagn
d3b9711c5e
retain postfix node in type section typed AST ( #23096 )
...
fixes #22933
2023-12-18 20:38:34 +01:00
Ryan McConnell
94f7e9683f
Param match relax ( #23033 )
...
#23032
---------
Co-authored-by: Nikolay Nikolov <nickysn@gmail.com >
Co-authored-by: Pylgos <43234674+Pylgos@users.noreply.github.com >
Co-authored-by: Andreas Rumpf <rumpf_a@web.de >
Co-authored-by: ringabout <43030857+ringabout@users.noreply.github.com >
Co-authored-by: Jason Beetham <beefers331@gmail.com >
2023-12-15 07:48:34 +01:00
ringabout
6c5283b194
enable nimwc testing ( #22960 )
...
ref https://github.com/ThomasTJdev/nim_websitecreator/pull/145
2023-11-19 16:23:03 +08:00
ringabout
1a6ca0c604
arraymancer switches to the offical URL ( #22782 )
2023-10-03 18:46:41 +08:00
ringabout
a8d55fdec7
deprecates newSeqUninitialized replaced by newSeqUninit ( #22739 )
...
ref #19727
closes #22586
https://github.com/nim-lang/Nim/issues/22554 needs it to move on.
`newSeqUnsafe` can be introduced later.
2023-09-29 09:38:51 +02:00
ringabout
02ba28eda5
iNim switch to the official URL ( #22762 )
...
ref https://github.com/inim-repl/INim/pull/139
2023-09-27 14:35:41 +08:00
ringabout
46544f234d
fixes stint CI ( #22756 )
2023-09-26 17:39:59 +08:00
metagn
b9f039e0c3
switch back to main neo in CI ( #22660 )
...
refs https://github.com/andreaferretti/neo/pull/53
2023-09-06 12:37:51 +03:00
ringabout
009ce1e17e
add union to packages ( #22658 )
2023-09-06 09:05:01 +02:00
ringabout
dfb3a88cc3
fixes yaml tests ( #22595 )
2023-08-31 15:26:09 +08:00
ringabout
a7a0105d8c
deprecate std/threadpool; use malebolgia, weave, nim-taskpool instead ( #22576 )
...
* deprecate `std/threadpool`; use `malebolgia` instead
* Apply suggestions from code review
* Apply suggestions from code review
* change the URL of inim
2023-08-29 15:00:13 +02:00
metagn
a4781dc4bc
use old typeinfo generation for hot code reloading ( #22518 )
...
* use old typeinfo generation for hot code reloading
* at least test hello world compilation on orc
2023-08-20 06:30:36 +02:00
ringabout
9296b45de4
update test command of important packages ( #22485 )
2023-08-15 21:42:26 +08:00
Andrey Makarov
a660c17d30
Markdown code blocks migration part 8 ( #22478 )
2023-08-15 06:27:36 +02:00
ringabout
3f7e1d7daa
replace doAssert false with raiseAssert in lib, which works better with strictdefs ( #22458 )
2023-08-11 18:24:46 +02:00
ringabout
0b3ddd4e47
Revert "fixes #22246 ; generate __builtin_unreachable hints for case defaults" ( #22351 )
...
Revert "fixes #22246 ; generate `__builtin_unreachable` hints for case defaults (#22350 )"
This reverts commit b56df5c07f .
2023-07-31 22:14:15 +08:00
ringabout
b56df5c07f
fixes #22246 ; generate __builtin_unreachable hints for case defaults ( #22350 )
...
* fixes #22246 ; generate `__builtin_unreachable` hints
* use elif
* indentation
* fixes holy enums in sim
2023-07-31 16:02:52 +02:00
ringabout
ebecfbc7a5
switch to the official chronicles URL ( #22033 )
2023-06-07 17:58:24 +08:00
metagn
b97d603cd0
some test cleanups & category reorganization ( #22010 )
...
* clean up some test categories
* mention exact slice issue
* magics into system
* move trangechecks into overflow
* move tmemory to system
* try fix CI
* try fix CI
* final CI fix
2023-06-06 06:54:07 +02:00
metagn
2ab948ce53
post expr blocks colon fix + correct grammar ( #21983 )
...
* post expr blocks colon fix + correct grammar
fixes #21982
* fix dochelpers
* this is remarkably common
* use head for unchained
* fix atlas
* final grammar fix
2023-06-06 06:53:21 +02:00
Antonis Geralis
3d18b204dd
Add drchaos, ssostrings, cowstrings to important packages ( #21824 )
...
* Add drchaos, ssostrings, cowstrings to important packages
* Update important_packages.nim
---------
Co-authored-by: ringabout <43030857+ringabout@users.noreply.github.com >
2023-06-03 12:36:57 +02:00
ringabout
6dd30a6d86
switch to official manu URL ( #21986 )
2023-06-03 12:15:08 +08:00
ringabout
1133f20fe2
lift the =dup hook ( #21903 )
...
* fixes tests again
* remove helper functions
* fixes closures, owned refs
* final cleanup
2023-06-02 16:03:32 +02:00
metagn
7e055413f9
hot code reloading: fix regression? and PreMain with arc/orc ( #21940 )
...
* fix PreMain for hot code reloading with arc/orc
* fix regression? actually test nimhcr_basic
2023-05-30 07:35:29 +02:00
metagn
1aaff9dc48
fix & add test for basic hot code reloading case ( #21915 )
...
fixes #21885
2023-05-26 17:07:37 +02:00
metagn
016aa1d98c
remove legacy define for zero_functional tests ( #21871 )
...
test remove legacy define for zero_functional tests
2023-05-21 00:13:30 +02:00
metagn
641e34bcb2
fix #14254 ( #21837 )
...
* fix #14254
* use temporary PR branch for neo
* fix url
2023-05-20 21:09:16 +02:00
ringabout
f7ed293fbd
switch to the official URL of loop-fusion in the impoerant packages ( #21830 )
...
ref https://github.com/mratsim/loop-fusion/pull/9
2023-05-11 22:04:25 +08:00
metagn
02be212dae
clean up SOME pending/xxx/issue link comments ( #21826 )
...
* clean up SOME pending/xxx/issue link comments
* great
2023-05-11 10:23:52 +02:00
metagn
5592d1ef2c
fix nimrtl and nimhcr on arc/orc ( #21814 )
...
* fix/workaround for nimrtl and nimhcr on arc/orc
fixes #21803
* try fix clang, debug linux failure
* just make duplicated procs not rtl
* actual fix for duplicated procs
2023-05-09 20:34:39 +02:00
ringabout
34b78be396
adds checksums to important packages ( #21782 )
2023-05-04 15:10:49 +08:00
ringabout
afc30ca879
fixes #19863 ; move sha1, md5 to nimble packages for 2.0 ( #21702 )
...
* move sha1, md5 to nimble packages
* boot the compiler
* fixes tests
* build the documentation
* fixes docs
* lol, I forgot koch.nim
* add `nimHasChecksums` define
* clone checksums but maybe copying is better
* bump nimble hash
* use ChecksumsStableCommit
* fixes tests
* deprecate them
* fixes paths
* fixes koch
2023-05-02 10:49:17 +02:00
ringabout
8f79a124c9
fixes broken CI ( #21732 )
...
* fixes broken CI
* Update testament/important_packages.nim
2023-04-26 16:00:43 +08:00
metagn
3f51b6f73d
set module symbol type to None instead of nil for discard check ( #21657 )
...
* set module symbol type to None instead of nil
fixes #19225
* alright
2023-04-13 11:56:16 +02:00