summary refs log tree commit diff stats
Commit message (Collapse)AuthorAgeFilesLines
* fixes #20906; update copyright year [backport 1.6] (#21210)ringabout2023-01-013-3/+3
|
* avoiding unnecessary allocation for dollar IpAddress (#21199)rockcavera2022-12-301-2/+2
| | | | | | | | | | | | | | | * avoiding allocating an unnecessary byte for IPv4 The inet.h file uses 16 as the string in C needs the last null byte https://github.com/torvalds/linux/blob/1b929c02afd37871d5afb9d498426f83432e71c2/include/linux/inet.h#L49 However, strings in Nim do not need this. So one byte is being allocated unnecessary and will never be used. * avoid unnecessary allocation in IPv6 dollar It is currently allocating 48 bytes. However, the Nim implementation for IPv6 will print a maximum of 39 characters. Nim does not implement IPv6 "0000:0000:0000:0000:0000:ffff:255.255.255.255" (45 characters) nor "0000:0000:0000:0000:0000:ffff:255.255.255.255%3" (47 characters). The indication in inet.h for 48 is due to the maximum use of 47 characters of a C string that needs a null byte at the end. So 48. https://github.com/torvalds/linux/blob/1b929c02afd37871d5afb9d498426f83432e71c2/include/linux/inet.h#L50
* fix #15117 zero size array cause incorrect codegen for VCC compiler (#21197)Bung2022-12-302-0/+29
| | | fix #15117
* fixes #21195; `std/assertions` continue to use `sysFatal` when ↵ringabout2022-12-297-30/+63
| | | | | | | | | | | | | `nimPreviewSlimSystem` is not defined (#21196) * fixes #21195; `std/assertions` continue to use `sysFatal` * try includes * make `std/assertions` self-contained * fixes tests * fixes tests
* fixes #14444; add `genLineDir` before assignment (#21201)ringabout2022-12-292-0/+15
| | | | | | | * fixes #14444; add `genLineDir` before raises * add a test case * fixes differently
* fixes #19997; ships changelogs directory for a release (#21200)ringabout2022-12-291-0/+1
| | | fixes #19997; ship changelogs directory for a release
* less verbose type mismatch messages (#21191)ringabout2022-12-287-27/+105
| | | | | | | | | * less verbose type mismatch messages * Update compiler/types.nim * fixes i386 * fixes i386
* fixes warnings when building csources (#21194)ringabout2022-12-281-6/+6
| | | | | * replace `symbolfiles` with `incremental`; fixes warnings when build csources * fixes self conversion warnings
* fixes #21171; dynamic acyclic refs need to use dyn decRef (#21184)ringabout2022-12-283-0/+97
| | | | | | | * fixes #21171; dyn destructors for acyclic inherited refs * add a test * Update compiler/liftdestructors.nim
* fix #14667 (#21190)Bung2022-12-283-0/+17
|
* Fix nimsuggest not suggesting fields in when theres static parameters (#21189)Jake Leahy2022-12-282-1/+19
| | | | | Don't check against empty arguments Add test case
* [backport: 2.0] prevents the jsonscript command from exceeding the maximum ↵rockcavera2022-12-281-9/+13
| | | | length of a command line during linking (#21186)
* std/encodings: Fix open() documentation in regard to exception raised (#21187)Phil Krylov2022-12-281-1/+1
|
* fix for bad error message with const in case statement (#21182)metagn2022-12-272-0/+11
| | | | | | | * preliminary fix for bad error message with const * add test case * fix tmatrixconcept and tmatrixlib
* atlas: minor doc improvements (#21183)Andreas Rumpf2022-12-271-1/+5
| | | | | * closes #20808 * atlas: better docs
* add test case for #20289 (#21180)Bung2022-12-271-0/+15
|
* fix in msg `doAssert()` to update grammar.txt (#21179)rockcavera2022-12-271-1/+1
|
* remove legacy code (#21134)ringabout2022-12-2627-1066/+466
| | | | | * remove legacy code * fixes
* sync some changes from release notes (#21173)ringabout2022-12-261-4/+2
|
* enforce void for nkWhileStmt [backport: 2.0] (#21170)ringabout2022-12-242-1/+11
| | | enforce void for nkWhileStmt
* Make search results be relative to documentation root (#21145)Jake Leahy2022-12-231-18/+30
| | | Use Nim instead of JS for searching
* re and nre now link to regex and tinyre (#21161)ringabout2022-12-232-3/+9
|
* add the cpp target (#21164)ringabout2022-12-231-0/+4
| | | The issue is related to cpp codegen, the previous test doesn't test cpp backend, which will join into the megatest.
* fix #20997 calling system.card[T](x: set[T]) with T of int8 or uint8 … ↵Bung2022-12-233-4/+24
| | | | | | | (#21010) * fix #20997 calling system.card[T](x: set[T]) with T of int8 or uint8 uses mismatched C array sizes * fullfil set variant
* fix #11634 (#21146)Bung2022-12-232-3/+26
|
* fix #12946 Bad C++ codegen on distinct generics C++ types (#21157)Bung2022-12-232-4/+9
|
* fix socket send for string types (#21155)Jaremy Creechley2022-12-221-9/+30
| | | | | | | * fix socket send for string types * include windows version Co-authored-by: ringabout <43030857+ringabout@users.noreply.github.com>
* Don't repeat suggestions for same symbol (#21140)Jake Leahy2022-12-225-35/+71
| | | | | | | | | | * 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
* remove misleading slimsystem deprecated warnings (#21156)metagn2022-12-222-5/+0
| | | refs #20967
* add link to setutils in system module docs (#21130)Peder Bergebakken Sundt2022-12-221-0/+1
|
* Feature/xmltree additions (#20988)Michael Voronin2022-12-229-3/+552
| | | | | | | * [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
* fixes #20244; fixes castSizes warnings (#21102)ringabout2022-12-224-3/+20
| | | | | | | | | | | | | | | | | * fixes #20244; fixes castSizes warnings * fixes js * fixes js * fixes js * fixes * typo * extend using uint64 * Update lib/std/syncio.nim
* Use `ErrorColor` when a warning that is turned into an error is raised (#21131)Jake Leahy2022-12-221-1/+2
| | | Use ErrorColor when a warning that is turned into an error is raised
* fix #16541 (#21148)Bung2022-12-222-0/+14
|
* Implement setLineInfo (#21153)Peter Munch-Ellingsen2022-12-226-5/+72
| | | | | * Implement setLineInfo * Add tests
* fixes #21144; try expression will not match the less indentation except (#21152)ringabout2022-12-212-1/+30
| | | fixes #21144; try expression will not match the less indent except
* bump csource_v2 to include fixes for macos m1 (#21147)ringabout2022-12-211-1/+1
|
* ucpu fix-up for arm64 value on macos m1 (#21142)Luca Guzzon2022-12-201-0/+3
|
* fixes #19292; fixes #21122; fixes putEnv and setEnv with vcc (#21143)ringabout2022-12-203-15/+25
| | | | | * fixes #19292; fixes 21122; fixes putEnv and setEnv with vcc * add a test
* fix #20248;fix #6215;turns into simple CT error (#21141)Bung2022-12-202-0/+16
|
* disable "Warning: gc is deprecated" in compiler (#21137)ringabout2022-12-201-0/+2
| | | | | * disable "Warning: gc is deprecated" in compiler * Apply @tersec 's suggestion
* fix #21109 (#21127)Bung2022-12-192-0/+15
|
* add changelog for the new strict function checking algorithm (#21129)ringabout2022-12-191-0/+2
| | | add changelog for the new strict function checking
* close #11705; add a testcase (#21128)ringabout2022-12-181-0/+17
|
* fixes misplaced changelog entries; pre-existing issue (#21125)ringabout2022-12-172-33/+19
| | | | | * move misplaced changelog entries to the right place * fixes misplaced changelog
* remove unused imports (#21126)ringabout2022-12-171-2/+0
|
* add 2.0 changelog (#21107)ringabout2022-12-172-293/+324
| | | [backport: 2.0] add v2.0 changelog
* fixes #21116; always mangles the param (#21121)ringabout2022-12-173-6/+12
| | | | | | | | | * fixes #21116; always mangles the param * idOrSig * fixes tests * Apply suggestions from code review
* Nim now ships nimble with 0.14.1 version (#21120)ringabout2022-12-171-1/+1
| | | | | * Nimble now uses latest patch * Update koch.nim
* Bump the devel version to 1.9.1 (#21117)ringabout2022-12-161-2/+2
|