Commit Graph

26 Commits

Author SHA1 Message Date
Jeroen van Rijn
43f4b2187c Fix #6251
Introduces `strings.Builder` versions of the various `to_string` procedures.
These are used using a stack buffer for `address_to_string` as called by `endpoint_to_string`, requiring no temp allocation for the address that's then written into the endpoint's builder.
2026-02-11 21:21:48 +01:00
Laytan Laats
ea6867ed61 Revert "fix wrong allocator in endpoint_to_string"
This reverts commit f755839877.
2026-02-11 20:11:35 +01:00
Laytan Laats
f755839877 fix wrong allocator in endpoint_to_string
Fixes #6251
2026-02-11 20:03:24 +01:00
konodin
2ce21cd3f7 Fix endpoint_to_string missing colon 2026-01-18 21:42:14 +01:00
Laytan Laats
c10771305d net: implement OpenBSD and NetBSD support & add stubs for other targets & cleanup 2026-01-11 20:21:21 +01:00
Neirokan
c6ca64cd4a fix map_to_ip6 offset 2026-01-01 10:52:18 +03:00
gingerBill
842cfee0f3 Change Odin's LICENSE to zlib from BSD 3-clause
This change was made in order to allow things produced with Odin and using Odin's core library, to not require the LICENSE to also be distributed alongside the binary form.
2025-10-28 14:38:25 +00:00
Karl Zylinski
19f0127e55 Moved all packages in core, base, vendor, tests and examples to use new #+ file tag syntax. 2024-09-14 18:27:49 +02:00
Jeroen van Rijn
cc24d2de3e Merge pull request #3810 from Feoramund/freebsd-core-net
Port `core:net` to FreeBSD
2024-08-09 09:50:05 +02:00
Feoramund
fe754af13d Add new contribution notes to core:net 2024-08-05 03:05:49 -04:00
gingerBill
c88a1bef91 Add another -vet-cast check 2024-06-29 12:40:04 +01:00
Feoramund
e61d893a74 Port core:net to FreeBSD 2024-06-26 10:05:24 -04:00
Laytan Laats
3a0df80066 correct newly found vets 2024-04-03 00:52:58 +02:00
flysand7
270348b112 [core]: Remove do keyword from the core library 2023-11-11 20:36:38 +11:00
Tetralux
e51915a529 [net] Assorted cleanup
- Remove some old comments

- Fix some doc comments

- Improve some doc comments

- Unify name of the errors related to UDP packet sizes
   (i.e: recv buffer too small, and message too big to send)
2023-08-26 11:47:03 +00:00
gingerBill
cd74cdfdaf Remove switch in in favour of switch _ in 2023-08-08 14:57:25 +01:00
Jeroen van Rijn
e254581a1b Apply #shared_nil to Network_Error 2023-03-04 10:39:20 +01:00
Jeroen van Rijn
38ea140b3f Update addr.odin
Fix comment
2023-03-04 10:04:55 +01:00
Jeroen van Rijn
d939d6079a Don't try to check core:net on the BSDs. 2023-03-03 18:24:26 +01:00
Jeroen van Rijn
f6134422e6 Fix one last review comment. 2023-03-03 17:50:49 +01:00
Jeroen van Rijn
d5ea492ef5 Make more private. 2023-03-03 13:00:43 +01:00
Jeroen van Rijn
96ac405952 Alignment + unnecessary allocator param. 2023-03-03 12:04:36 +01:00
Colin Davidson
38d58e818c ripple bill-suggestions 2023-03-02 06:56:54 -08:00
Jeroen van Rijn
c02ff3af27 Update comments 2023-03-02 13:45:12 +01:00
Colin Davidson
d569daae33 more manual type carryover 2023-03-01 08:17:41 -08:00
Colin Davidson
28f7f57247 manually start merging core_net 2023-03-01 07:58:30 -08:00