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
ringabout
78b68421da
fixes chronicles ( #21114 )
2022-12-16 11:36:52 +08:00
Jake Leahy
d00477dffb
Check file exists in {.compile.} pragma ( #21105 )
...
* Add test
* Check file exists before adding it into compilation
* Make error message look like other error messages
i.e. following the format `error msg: file`
2022-12-15 19:22:45 +01:00
Bung
8054be6e52
fix #20588 ( #21104 )
2022-12-15 16:12:17 +01:00
Jake Leahy
d88f46df38
Make async stacktraces less verbose ( #21091 )
...
* Name iterators something human readable
Remove intermediate async procs from stacktraces
Clean async traceback message from reraises message
* Remove unused import/variable
* Fix failing tests
Don't add {.stackTrace: off.} to anonymous procs (They already don't appear in stacktrace)
* Fix failing tests in pragma category
Now check that the nim is a routine type first so we don't run into any assertion defects
* Hide stack trace pragma in docs and update doc tests
User doesn't need to know if something won't appear so this more becomes verbose noise
If this is a bad idea we can always add a `when defined(nimdoc)` switch so we don't add {.stackTrace: off.} to the Future[T] returning proc for docs
2022-12-15 16:05:34 +01:00
ringabout
91ce8c385d
fix #19580 ; add warning for bare except: clause ( #21099 )
...
* fix #19580 ; add warning for bare except: clause
* fixes some easy ones
* Update doc/manual.md
* fixes docs
* Update changelog.md
* addition
* Apply suggestions from code review
Co-authored-by: Jacek Sieka <arnetheduck@gmail.com >
* Update doc/tut2.md
Co-authored-by: Jacek Sieka <arnetheduck@gmail.com >
2022-12-15 06:45:36 +01:00
metagn
9a50033d5b
generic define pragma + string alias ( #20979 )
...
* generic `define` pragma + string alias
* clean
* add tests and document
* remove char/float, minimize changelog
2022-12-13 21:20:55 +01:00
Aditya Siram
2564b5c938
Fix #20416 . Enable the recursion limit for ref/ptr types. ( #21092 )
2022-12-13 22:57:07 +08:00
Xavier Noria
e4aadcf1c1
Document that system:pop() may raise IndexDefect ( #21070 )
...
* Document system:pop() may raise IndexDefect
* Add backticks to KeyError
2022-12-13 08:47:01 +01:00