| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Merge pull request #3439 from andreas-jonsson/netbsd | gingerBill | 2024-05-15 | 1 | -2/+2 |
| |\ | | | | | NetBSD support | ||||
| | * | Merge branch 'master' into netbsd | Andreas T Jonsson | 2024-04-25 | 2 | -4/+21 |
| | |\ | |||||
| | * | | More std lib fixes | Andreas T Jonsson | 2024-04-19 | 1 | -2/+2 |
| | | | | | | | | | | | | | Just selecting the same codepath as other BSD's for the most part. | ||||
| * | | | Fix #3577 | gingerBill | 2024-05-13 | 1 | -2/+2 |
| | |/ |/| | |||||
| * | | fix(net): fix return type for `send_tcp` | Rickard Andersson | 2024-04-19 | 1 | -1/+1 |
| | | | | | | | | | | | Was `.Connection_Closed` but this is only inferrable if our return type is not a sub-union of another. | ||||
| * | | docs(net): add comment about `EPIPE` -> `Connection_Closed` | Rickard Andersson | 2024-04-19 | 1 | -1/+3 |
| | | | |||||
| * | | feat(net): turn `EPIPE` into `Connection_Closed` | Rickard Andersson | 2024-04-19 | 2 | -2/+3 |
| | | | |||||
| * | | fix(net): add `NOSIGNAL` to `send` options | Rickard Andersson | 2024-04-19 | 2 | -1/+2 |
| | | | | | | | | | | | | | | | This is a better default than not having it, since it turns errors that would be signals into error values instead. We could take these as options but given that we currently don't I think this at the very least improves on the status quo. | ||||
| * | | uniformity change | blob1807 | 2024-04-13 | 1 | -2/+2 |
| | | | | | | | | | small change to check things uniform | ||||
| * | | Added support for URL fragments | blob1807 | 2024-04-13 | 1 | -2/+15 |
| |/ | | | | Added support for a URL's fragment/anchor to `split_url` & `join_url` in `core:net` plus 4 new tests to cover it. | ||||
| * | correct newly found vets | Laytan Laats | 2024-04-03 | 4 | -12/+7 |
| | | |||||
| * | fixup | Tetralux | 2024-02-22 | 1 | -1/+1 |
| | | |||||
| * | [net] Better error code for binding a privileged port without root access on ↵ | Tetralux | 2024-02-22 | 2 | -3/+12 |
| | | | | | | | | | | | Darwin This condition results in os.EACCESS, which we were translating to Broadcast_Disabled. This was the case because binding to the broadcast address on a UDP port, without setting the BROADCAST flag, also results in this error. Given the fact that reserved ports also produce this error, we now check for this condition in net.bind() and translate it to a custom, clearer error: Privileged_Port_Without_Root. | ||||
| * | Replace `core:*` to `base:*` where appropriate | gingerBill | 2024-01-28 | 1 | -1/+1 |
| | | |||||
| * | [net]: Fix passing the wrong socket to on linux | flysand7 | 2023-11-24 | 1 | -1/+1 |
| | | |||||
| * | Merge pull request #2972 from flysand7/net-socket-any | Jeroen van Rijn | 2023-11-24 | 1 | -3/+38 |
| |\ | | | | | [net]: Add send_any, recv_any variants to proc groups for Any_Socket | ||||
| | * | [net]: Add send_any, recv_any variants to proc groups for Any_Socket | flysand7 | 2023-11-24 | 1 | -3/+38 |
| | | | |||||
| * | | Merge pull request #2948 from flysand7/fix-do | Jeroen van Rijn | 2023-11-11 | 3 | -5/+15 |
| |\ \ | | | | | | | [core]: Remove `do` keyword from the core library | ||||
| | * | | [core]: Remove `do` keyword from the core library | flysand7 | 2023-11-11 | 3 | -5/+15 |
| | |/ | |||||
| * | | Fix net.split_url | Jeroen van Rijn | 2023-11-09 | 1 | -1/+1 |
| | | | | | | | | | Resolves issue #2924 | ||||
| * | | Fix use of unitialized socket in socket_linux.odin#_dial_tcp_from_endpoint | Divan Burger | 2023-11-06 | 1 | -1/+1 |
| |/ | |||||
| * | Implement new sys/unix package | flysand7 | 2023-10-27 | 4 | -450/+432 |
| | | |||||
| * | bugfix: darwin net flags | simon | 2023-10-06 | 1 | -2/+2 |
| | | |||||
| * | darwin _enumerate_interfaces | simon | 2023-09-30 | 2 | -5/+122 |
| | | |||||
| * | Use `or_break` and `or_continue` where appropriate in the core library | gingerBill | 2023-09-30 | 2 | -32/+27 |
| | | |||||
| * | [net] Assorted cleanup | Tetralux | 2023-08-26 | 4 | -31/+18 |
| | | | | | | | | | | | | - 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) | ||||
| * | Remove `switch in` in favour of `switch _ in` | gingerBill | 2023-08-08 | 2 | -5/+5 |
| | | |||||
| * | Improve `//+vet`; remove `using` in many places; add `//+vet !using-stmt` ↵ | gingerBill | 2023-07-31 | 1 | -35/+35 |
| | | | | | where necessary | ||||
| * | fix(dns): don't exit early on no hosts in hosts file | Rickard Andersson | 2023-06-12 | 1 | -4/+1 |
| | | | | | | | If we don't have any hosts specified we'll still not generate any overrides which is fine, but we'll continue onto actually trying to resolve the hostname we came into the function for initially. | ||||
| * | Fix Timeval for darwin and linux | James Duran | 2023-06-07 | 2 | -8/+8 |
| | | |||||
| * | implement non blocking sockets for darwin | Laytan Laats | 2023-05-27 | 1 | -2/+19 |
| | | |||||
| * | Merge pull request #2547 from laytan/parse-address-can-return-nil | Jeroen van Rijn | 2023-05-19 | 1 | -0/+4 |
| |\ | | | | | fix parse_address can return nil | ||||
| | * | fix parse_address can return nil | Laytan Laats | 2023-05-19 | 1 | -0/+4 |
| | | | |||||
| * | | Merge pull request #2533 from laytan/add-hex-and-expand-percent-decoding | Jeroen van Rijn | 2023-05-15 | 1 | -39/+5 |
| |\ \ | | | | | | | add encoding/hex and use it to expand the percent decoding chars | ||||
| | * | | add encoding/hex and use it to expand the percent decoding chars | Laytan Laats | 2023-05-14 | 1 | -39/+5 |
| | |/ | |||||
| * / | Join URL queries with & | Yoshihiro Tanaka | 2023-05-14 | 1 | -1/+7 |
| |/ | |||||
| * | fix leak in url_parse | Laytan Laats | 2023-05-09 | 1 | -0/+2 |
| | | |||||
| * | Fix #2471 | Jeroen van Rijn | 2023-04-21 | 1 | -3/+5 |
| | | |||||
| * | Preserve port when calling `net.resolve` with hostname:port. | Jeroen van Rijn | 2023-04-18 | 1 | -1/+2 |
| | | |||||
| * | Fix #2386 | Jeroen van Rijn | 2023-03-16 | 1 | -0/+3 |
| | | |||||
| * | Add `set_blocking` for network sockets | Sokus | 2023-03-08 | 8 | -0/+72 |
| | | |||||
| * | Add .None to Linux & Darwin, too. | Jeroen van Rijn | 2023-03-04 | 2 | -3/+25 |
| | | |||||
| * | Apply #shared_nil to Network_Error | Jeroen van Rijn | 2023-03-04 | 3 | -26/+31 |
| | | |||||
| * | Update addr.odin | Jeroen van Rijn | 2023-03-04 | 1 | -1/+1 |
| | | | | | Fix comment | ||||
| * | Don't try to check core:net on the BSDs. | Jeroen van Rijn | 2023-03-03 | 5 | -18/+28 |
| | | |||||
| * | Fix one last review comment. | Jeroen van Rijn | 2023-03-03 | 1 | -4/+5 |
| | | |||||
| * | Finish cleaning up core_net. | Jeroen van Rijn | 2023-03-03 | 2 | -42/+47 |
| | | |||||
| * | More coalescing. | Jeroen van Rijn | 2023-03-03 | 5 | -106/+97 |
| | | |||||
| * | Coalesce socket_windows | Jeroen van Rijn | 2023-03-03 | 4 | -116/+132 |
| | | |||||
| * | Coalesce more. | Jeroen van Rijn | 2023-03-03 | 8 | -54/+66 |
| | | |||||