Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | fixes #20906; update copyright year [backport 1.6] (#21210) | ringabout | 2023-01-01 | 3 | -3/+3 |
| | |||||
* | avoiding unnecessary allocation for dollar IpAddress (#21199) | rockcavera | 2022-12-30 | 1 | -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) | Bung | 2022-12-30 | 2 | -0/+29 |
| | | | fix #15117 | ||||
* | fixes #21195; `std/assertions` continue to use `sysFatal` when ↵ | ringabout | 2022-12-29 | 7 | -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) | ringabout | 2022-12-29 | 2 | -0/+15 |
| | | | | | | | * fixes #14444; add `genLineDir` before raises * add a test case * fixes differently | ||||
* | fixes #19997; ships changelogs directory for a release (#21200) | ringabout | 2022-12-29 | 1 | -0/+1 |
| | | | fixes #19997; ship changelogs directory for a release | ||||
* | less verbose type mismatch messages (#21191) | ringabout | 2022-12-28 | 7 | -27/+105 |
| | | | | | | | | | * less verbose type mismatch messages * Update compiler/types.nim * fixes i386 * fixes i386 | ||||
* | fixes warnings when building csources (#21194) | ringabout | 2022-12-28 | 1 | -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) | ringabout | 2022-12-28 | 3 | -0/+97 |
| | | | | | | | * fixes #21171; dyn destructors for acyclic inherited refs * add a test * Update compiler/liftdestructors.nim | ||||
* | fix #14667 (#21190) | Bung | 2022-12-28 | 3 | -0/+17 |
| | |||||
* | Fix nimsuggest not suggesting fields in when theres static parameters (#21189) | Jake Leahy | 2022-12-28 | 2 | -1/+19 |
| | | | | | Don't check against empty arguments Add test case | ||||
* | [backport: 2.0] prevents the jsonscript command from exceeding the maximum ↵ | rockcavera | 2022-12-28 | 1 | -9/+13 |
| | | | | length of a command line during linking (#21186) | ||||
* | std/encodings: Fix open() documentation in regard to exception raised (#21187) | Phil Krylov | 2022-12-28 | 1 | -1/+1 |
| | |||||
* | fix for bad error message with const in case statement (#21182) | metagn | 2022-12-27 | 2 | -0/+11 |
| | | | | | | | * preliminary fix for bad error message with const * add test case * fix tmatrixconcept and tmatrixlib | ||||
* | atlas: minor doc improvements (#21183) | Andreas Rumpf | 2022-12-27 | 1 | -1/+5 |
| | | | | | * closes #20808 * atlas: better docs | ||||
* | add test case for #20289 (#21180) | Bung | 2022-12-27 | 1 | -0/+15 |
| | |||||
* | fix in msg `doAssert()` to update grammar.txt (#21179) | rockcavera | 2022-12-27 | 1 | -1/+1 |
| | |||||
* | remove legacy code (#21134) | ringabout | 2022-12-26 | 27 | -1066/+466 |
| | | | | | * remove legacy code * fixes | ||||
* | sync some changes from release notes (#21173) | ringabout | 2022-12-26 | 1 | -4/+2 |
| | |||||
* | enforce void for nkWhileStmt [backport: 2.0] (#21170) | ringabout | 2022-12-24 | 2 | -1/+11 |
| | | | enforce void for nkWhileStmt | ||||
* | Make search results be relative to documentation root (#21145) | Jake Leahy | 2022-12-23 | 1 | -18/+30 |
| | | | Use Nim instead of JS for searching | ||||
* | re and nre now link to regex and tinyre (#21161) | ringabout | 2022-12-23 | 2 | -3/+9 |
| | |||||
* | add the cpp target (#21164) | ringabout | 2022-12-23 | 1 | -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 … ↵ | Bung | 2022-12-23 | 3 | -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) | Bung | 2022-12-23 | 2 | -3/+26 |
| | |||||
* | fix #12946 Bad C++ codegen on distinct generics C++ types (#21157) | Bung | 2022-12-23 | 2 | -4/+9 |
| | |||||
* | fix socket send for string types (#21155) | Jaremy Creechley | 2022-12-22 | 1 | -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 Leahy | 2022-12-22 | 5 | -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) | metagn | 2022-12-22 | 2 | -5/+0 |
| | | | refs #20967 | ||||
* | add link to setutils in system module docs (#21130) | Peder Bergebakken Sundt | 2022-12-22 | 1 | -0/+1 |
| | |||||
* | Feature/xmltree additions (#20988) | Michael Voronin | 2022-12-22 | 9 | -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) | ringabout | 2022-12-22 | 4 | -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 Leahy | 2022-12-22 | 1 | -1/+2 |
| | | | Use ErrorColor when a warning that is turned into an error is raised | ||||
* | fix #16541 (#21148) | Bung | 2022-12-22 | 2 | -0/+14 |
| | |||||
* | Implement setLineInfo (#21153) | Peter Munch-Ellingsen | 2022-12-22 | 6 | -5/+72 |
| | | | | | * Implement setLineInfo * Add tests | ||||
* | fixes #21144; try expression will not match the less indentation except (#21152) | ringabout | 2022-12-21 | 2 | -1/+30 |
| | | | fixes #21144; try expression will not match the less indent except | ||||
* | bump csource_v2 to include fixes for macos m1 (#21147) | ringabout | 2022-12-21 | 1 | -1/+1 |
| | |||||
* | ucpu fix-up for arm64 value on macos m1 (#21142) | Luca Guzzon | 2022-12-20 | 1 | -0/+3 |
| | |||||
* | fixes #19292; fixes #21122; fixes putEnv and setEnv with vcc (#21143) | ringabout | 2022-12-20 | 3 | -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) | Bung | 2022-12-20 | 2 | -0/+16 |
| | |||||
* | disable "Warning: gc is deprecated" in compiler (#21137) | ringabout | 2022-12-20 | 1 | -0/+2 |
| | | | | | * disable "Warning: gc is deprecated" in compiler * Apply @tersec 's suggestion | ||||
* | fix #21109 (#21127) | Bung | 2022-12-19 | 2 | -0/+15 |
| | |||||
* | add changelog for the new strict function checking algorithm (#21129) | ringabout | 2022-12-19 | 1 | -0/+2 |
| | | | add changelog for the new strict function checking | ||||
* | close #11705; add a testcase (#21128) | ringabout | 2022-12-18 | 1 | -0/+17 |
| | |||||
* | fixes misplaced changelog entries; pre-existing issue (#21125) | ringabout | 2022-12-17 | 2 | -33/+19 |
| | | | | | * move misplaced changelog entries to the right place * fixes misplaced changelog | ||||
* | remove unused imports (#21126) | ringabout | 2022-12-17 | 1 | -2/+0 |
| | |||||
* | add 2.0 changelog (#21107) | ringabout | 2022-12-17 | 2 | -293/+324 |
| | | | [backport: 2.0] add v2.0 changelog | ||||
* | fixes #21116; always mangles the param (#21121) | ringabout | 2022-12-17 | 3 | -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) | ringabout | 2022-12-17 | 1 | -1/+1 |
| | | | | | * Nimble now uses latest patch * Update koch.nim | ||||
* | Bump the devel version to 1.9.1 (#21117) | ringabout | 2022-12-16 | 1 | -2/+2 |
| |