| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
> If accepted, I believe it should be used in csources_v2 and also backport 2.0
ref https://github.com/nim-lang/Nim/pull/21186
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
tlsEmulation:on under NetBSD-10Beta and NetBSD-current produces an executable which crashes immediately as follows:
Core was generated by `koch'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0 0x000000000047b4c2 in nimZeroMem ()
(gdb) bt
#0 0x000000000047b4c2 in nimZeroMem ()
#1 0x00000000004897b2 in threadVarAlloc__system_2162 ()
#2 0x000000000048980e in initThreadVarsEmulation ()
#3 0x0000000000489848 in PreMain ()
#4 0x000000000048986a in NimMain ()
#5 0x00000000004898a9 in main ()
I can't speak about the other BSDs.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
`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 raises
* add a test case
* fixes differently
|
|
|
| |
fixes #19997; ship changelogs directory for a release
|
|
|
|
|
|
|
|
|
| |
* less verbose type mismatch messages
* Update compiler/types.nim
* fixes i386
* fixes i386
|
|
|
|
|
| |
* replace `symbolfiles` with `incremental`; fixes warnings when build csources
* fixes self conversion warnings
|
|
|
|
|
|
|
| |
* fixes #21171; dyn destructors for acyclic inherited refs
* add a test
* Update compiler/liftdestructors.nim
|
| |
|
|
|
|
|
| |
Don't check against empty arguments
Add test case
|
|
|
|
| |
length of a command line during linking (#21186)
|
| |
|
|
|
|
|
|
|
| |
* preliminary fix for bad error message with const
* add test case
* fix tmatrixconcept and tmatrixlib
|
|
|
|
|
| |
* closes #20808
* atlas: better docs
|
| |
|
| |
|
|
|
|
|
| |
* remove legacy code
* fixes
|
| |
|
|
|
| |
enforce void for nkWhileStmt
|
|
|
| |
Use Nim instead of JS for searching
|
| |
|
|
|
| |
The issue is related to cpp codegen, the previous test doesn't test cpp backend, which will join into the megatest.
|
|
|
|
|
|
|
| |
(#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 socket send for string types
* include windows version
Co-authored-by: ringabout <43030857+ringabout@users.noreply.github.com>
|
|
|
|
|
|
|
|
|
|
| |
* 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
|
|
|
| |
refs #20967
|
| |
|
|
|
|
|
|
|
| |
* [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
* 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
|
| |
|
|
|
|
|
| |
* Implement setLineInfo
* Add tests
|
|
|
| |
fixes #21144; try expression will not match the less indent except
|
| |
|
| |
|
|
|
|
|
| |
* fixes #19292; fixes 21122; fixes putEnv and setEnv with vcc
* add a test
|
| |
|
|
|
|
|
| |
* disable "Warning: gc is deprecated" in compiler
* Apply @tersec 's suggestion
|
| |
|
|
|
| |
add changelog for the new strict function checking
|
| |
|
|
|
|
|
| |
* move misplaced changelog entries to the right place
* fixes misplaced changelog
|
| |
|