ringabout
705da9d452
fixes #14444 ; add genLineDir before assignment ( #21201 )
...
* fixes #14444 ; add `genLineDir` before raises
* add a test case
* fixes differently
2022-12-29 17:06:57 +01:00
ringabout
e602ebeb66
fixes #19997 ; ships changelogs directory for a release ( #21200 )
...
fixes #19997 ; ship changelogs directory for a release
2022-12-29 08:29:40 +01:00
ringabout
761c5a0830
less verbose type mismatch messages ( #21191 )
...
* less verbose type mismatch messages
* Update compiler/types.nim
* fixes i386
* fixes i386
2022-12-28 20:54:15 +01:00
ringabout
646932b3f3
fixes warnings when building csources ( #21194 )
...
* replace `symbolfiles` with `incremental`; fixes warnings when build csources
* fixes self conversion warnings
2022-12-28 20:41:27 +01:00
ringabout
4b63ac4b87
fixes #21171 ; dynamic acyclic refs need to use dyn decRef ( #21184 )
...
* fixes #21171 ; dyn destructors for acyclic inherited refs
* add a test
* Update compiler/liftdestructors.nim
2022-12-28 16:23:37 +01:00
Bung
7a74c2dc3a
fix #14667 ( #21190 )
2022-12-28 08:28:48 +01:00
Jake Leahy
3d5dbf8f96
Fix nimsuggest not suggesting fields in when theres static parameters ( #21189 )
...
Don't check against empty arguments
Add test case
2022-12-28 07:35:11 +01:00
rockcavera
9efa56a8bb
[backport: 2.0] prevents the jsonscript command from exceeding the maximum length of a command line during linking ( #21186 )
2022-12-28 10:40:17 +08:00
Phil Krylov
9e35631191
std/encodings: Fix open() documentation in regard to exception raised ( #21187 )
2022-12-28 10:26:52 +08:00
metagn
5684093135
fix for bad error message with const in case statement ( #21182 )
...
* preliminary fix for bad error message with const
* add test case
* fix tmatrixconcept and tmatrixlib
2022-12-27 21:24:00 +01:00
Andreas Rumpf
82d80e6e2c
atlas: minor doc improvements ( #21183 )
...
* closes #20808
* atlas: better docs
2022-12-27 14:30:26 +01:00
Bung
f232329bb1
add test case for #20289 ( #21180 )
2022-12-27 12:07:15 +01:00
rockcavera
9b4516fbcb
fix in msg doAssert() to update grammar.txt ( #21179 )
2022-12-27 12:13:05 +08:00
ringabout
f7c203fb6c
remove legacy code ( #21134 )
...
* remove legacy code
* fixes
2022-12-26 13:20:05 +01:00
ringabout
b08c50bb55
sync some changes from release notes ( #21173 )
2022-12-26 06:52:40 +01:00
ringabout
9323cb7b2a
enforce void for nkWhileStmt [backport: 2.0] ( #21170 )
...
enforce void for nkWhileStmt
2022-12-24 10:37:32 +01:00
Jake Leahy
86a6c90c9e
Make search results be relative to documentation root ( #21145 )
...
Use Nim instead of JS for searching
2022-12-23 13:20:51 -05:00
ringabout
ac5a36c0a4
re and nre now link to regex and tinyre ( #21161 )
2022-12-23 10:50:07 -05:00
ringabout
0ffc322cf6
add the cpp target ( #21164 )
...
The issue is related to cpp codegen, the previous test doesn't test cpp backend, which will join into the megatest.
2022-12-23 22:31:53 +08:00
Bung
0b319fee3d
fix #20997 calling system.card[T](x: set[T]) with T of int8 or uint8 … ( #21010 )
...
* fix #20997 calling system.card[T](x: set[T]) with T of int8 or uint8 uses mismatched C array sizes
* fullfil set variant
2022-12-23 12:20:25 +01:00
Bung
ca9c74391a
fix #11634 ( #21146 )
2022-12-23 11:32:03 +01:00
Bung
13251c2ac9
fix #12946 Bad C++ codegen on distinct generics C++ types ( #21157 )
2022-12-23 09:47:01 +01:00
Jaremy Creechley
3bba2b34fd
fix socket send for string types ( #21155 )
...
* fix socket send for string types
* include windows version
Co-authored-by: ringabout <43030857+ringabout@users.noreply.github.com >
2022-12-22 21:43:27 +01:00
Jake Leahy
18c115c8d0
Don't repeat suggestions for same symbol ( #21140 )
...
* Track seen module graphs so symbols from the same module aren't repeated
Add test case
* Track symbols instead of modules
* Don't show duplicate symbols in spell checker
Removes the declared location from the message. Since we don't show duplicates anymore it would be a bit misleading if we only show the location for the first declaration of the symbol
2022-12-22 14:44:10 +01:00
metagn
37daed3897
remove misleading slimsystem deprecated warnings ( #21156 )
...
refs #20967
2022-12-22 09:54:41 +01:00
Peder Bergebakken Sundt
314a24472e
add link to setutils in system module docs ( #21130 )
2022-12-22 09:54:17 +01:00
Michael Voronin
7931bdac95
Feature/xmltree additions ( #20988 )
...
* [change] add/insert/delete family of xmltree expanded with several variations. Added replace methods family
* [change] Lifted child limitations on insert methods (consulted with @araq)
* [tests] add/insert/replace/delete of xmltree XmlNodes tests added
2022-12-22 08:32:12 +01:00
ringabout
93b59da490
fixes #20244 ; fixes castSizes warnings ( #21102 )
...
* fixes #20244 ; fixes castSizes warnings
* fixes js
* fixes js
* fixes js
* fixes
* typo
* extend using uint64
* Update lib/std/syncio.nim
2022-12-22 08:27:11 +01:00
Jake Leahy
70fe360456
Use ErrorColor when a warning that is turned into an error is raised ( #21131 )
...
Use ErrorColor when a warning that is turned into an error is raised
2022-12-22 08:25:24 +01:00
Bung
c5a72ebddd
fix #16541 ( #21148 )
2022-12-22 06:16:25 +01:00
Peter Munch-Ellingsen
613829f7a4
Implement setLineInfo ( #21153 )
...
* Implement setLineInfo
* Add tests
2022-12-22 04:34:36 +01:00
ringabout
d0721eadf8
fixes #21144 ; try expression will not match the less indentation except ( #21152 )
...
fixes #21144 ; try expression will not match the less indent except
2022-12-21 21:46:14 +01:00
ringabout
81d8ea95af
bump csource_v2 to include fixes for macos m1 ( #21147 )
2022-12-21 17:18:47 +08:00
Luca Guzzon
8a77798dac
ucpu fix-up for arm64 value on macos m1 ( #21142 )
2022-12-20 20:29:42 +01:00
ringabout
0aec095b26
fixes #19292 ; fixes #21122 ; fixes putEnv and setEnv with vcc ( #21143 )
...
* fixes #19292 ; fixes 21122; fixes putEnv and setEnv with vcc
* add a test
2022-12-20 20:26:32 +01:00
Bung
40b5c4c4c3
fix #20248;fix #6215;turns into simple CT error ( #21141 )
2022-12-20 20:23:48 +01:00
ringabout
886572a516
disable "Warning: gc is deprecated" in compiler ( #21137 )
...
* disable "Warning: gc is deprecated" in compiler
* Apply @tersec 's suggestion
2022-12-20 15:04:13 +08:00
Bung
e278a781fc
fix #21109 ( #21127 )
2022-12-19 12:35:15 +01:00
ringabout
70c575095e
add changelog for the new strict function checking algorithm ( #21129 )
...
add changelog for the new strict function checking
2022-12-19 17:56:49 +08:00
ringabout
53eed2be45
close #11705 ; add a testcase ( #21128 )
2022-12-18 22:31:13 +08:00
ringabout
100b304ac2
fixes misplaced changelog entries; pre-existing issue ( #21125 )
...
* move misplaced changelog entries to the right place
* fixes misplaced changelog
2022-12-17 21:42:29 +08:00
ringabout
b8d200683a
remove unused imports ( #21126 )
2022-12-17 20:44:30 +08:00
ringabout
ae4645e8df
add 2.0 changelog ( #21107 )
...
[backport: 2.0] add v2.0 changelog
2022-12-17 09:28:59 +01:00
ringabout
d83f66a24d
fixes #21116 ; always mangles the param ( #21121 )
...
* fixes #21116 ; always mangles the param
* idOrSig
* fixes tests
* Apply suggestions from code review
2022-12-17 09:10:56 +01:00
ringabout
7fa983f5e6
Nim now ships nimble with 0.14.1 version ( #21120 )
...
* Nimble now uses latest patch
* Update koch.nim
2022-12-17 00:21:07 +08:00
ringabout
296e7f598e
Bump the devel version to 1.9.1 ( #21117 )
2022-12-16 19:49:26 +08:00
ringabout
84200f28a1
bump csource_v2 hash ( #21118 )
2022-12-16 16:42:31 +08:00
Bung
a9bd78d579
fix #12122 ( #21096 )
2022-12-16 08:01:15 +01:00
ringabout
8a3b76b287
csource building prefers bin/nim ( #21115 )
2022-12-16 07:59:18 +01:00
ringabout
644318ad9c
the devel branch now uses csources_v2 ( #21108 )
...
* the devel branch now uses csources_v2
* fixes hash
* bump csources_v2
2022-12-16 07:58:40 +01:00