Commit Graph

15401 Commits

Author SHA1 Message Date
gingerBill
2b26384b89 Implement dumb PtrMap 2024-04-26 15:04:46 +01:00
gingerBill
c685b404ea Implement dumb StringMap 2024-04-26 14:15:22 +01:00
gingerBill
a3e77dcc3b Minor clean up 2024-04-26 13:25:08 +01:00
gingerBill
7305478261 Minor changes 2024-04-26 13:12:23 +01:00
gingerBill
94e0707456 Fix minor bug 2024-04-26 13:12:15 +01:00
Feoramund
f95bb77f72 Fix memory leak in sync/chan 2024-04-26 05:19:52 -04:00
Andreas T Jonsson
6bbdbb4447 Added missing core:sys/info package for NetBSD 2024-04-26 11:04:27 +02:00
Andreas T Jonsson
22fa420c4f Should pass 0 as the rest of futex arguments 2024-04-25 22:22:59 +02:00
Andreas T Jonsson
9a008d10f3 Merge branch 'master' into netbsd 2024-04-25 22:04:40 +02:00
Andreas T Jonsson
3000508c02 Switched to native futex on NetBSD 2024-04-25 21:50:34 +02:00
Laytan Laats
d3bd1c2110 improve some Negative_Read/Negative_Write logic
Returns the actual error if one is set, instead of swallowing it for the
less descriptive negative error.

Also fixes a out-of-bounds slice error in `bufio.writer_write` because
it wasn't checking the returned `m`.
2024-04-25 19:08:48 +02:00
gingerBill
f745fff640 Merge pull request #3467 from laytan/clang-18-linking-backport
fix linking with clang-18
2024-04-25 16:09:17 +01:00
Andreas T Jonsson
c1ff7894df Should only run BSD tests 2024-04-25 13:47:55 +02:00
gingerBill
8f4e3b552e Merge pull request #3478 from laytan/fix-send-event-proc-signature
sys/darwin/foundation: fix Application->sendEvent signature
2024-04-25 12:32:10 +01:00
gingerBill
1ea353dbf7 Merge pull request #3479 from laytan/support-0-sized-return-arm64-abi
compiler: support returning 0 sized types in arm64 abi
2024-04-25 12:31:56 +01:00
Andreas T Jonsson
b6eaadb9a8 Fixed invalid git path 2024-04-25 13:31:33 +02:00
Andreas T Jonsson
f53abf736b Print the path of the git safe directory 2024-04-25 13:25:46 +02:00
Andreas T Jonsson
4c9c0899a9 Added git safe directory config 2024-04-25 13:14:09 +02:00
Andreas T Jonsson
2b8836e29a Fixed broken export 2024-04-25 13:03:19 +02:00
Andreas T Jonsson
101abb3004 Simple CI setup for NetBSD 2024-04-25 12:46:55 +02:00
Andreas T Jonsson
ce80c37c75 Fixed potential memory leak 2024-04-25 11:04:44 +02:00
Andreas T Jonsson
642391eb49 Implemented absolute_path_from_handle for NetBSD 2024-04-25 09:45:28 +02:00
Andreas T Jonsson
8ffe577a15 Added missing build tags in core 2024-04-25 09:43:54 +02:00
gingerBill
e3d41f0a9e Merge branch 'master' of https://github.com/odin-lang/Odin 2024-04-24 20:55:22 +01:00
gingerBill
3b53c99576 Improve support for big-endian bit_fields 2024-04-24 20:55:18 +01:00
Laytan Laats
a4cec2e8b8 sys/darwin/foundation: fix Application->sendEvent signature 2024-04-24 19:51:08 +02:00
Laytan Laats
e8c5bb4629 compiler: support returning 0 sized types in arm64 abi 2024-04-24 19:50:39 +02:00
gingerBill
c72a269b7c Merge pull request #3477 from laytan/fix-macos-versions
ci: fix macOS versions
2024-04-24 17:48:45 +01:00
gingerBill
94d35d9918 Disallow mixing endian types within a bit_field 2024-04-24 17:31:31 +01:00
Laytan Laats
448827c0e4 ci: fix macOS versions 2024-04-24 18:29:28 +02:00
gingerBill
04278cd654 Remove line info in message with -json-errors 2024-04-24 17:13:53 +01:00
gingerBill
15942fbf25 Merge branch 'master' of https://github.com/odin-lang/Odin 2024-04-24 17:01:16 +01:00
gingerBill
214537b420 Improve codegen for bit_field [N]T compound literals 2024-04-24 17:01:09 +01:00
gingerBill
c330e5b5c1 Improve codegen for bit_field compound literals with an integer backing 2024-04-24 14:46:34 +01:00
PucklaJ
a2ad66cd9d [sys/linux]: Add clone syscall and use it in fork for arm64 2024-04-24 15:32:43 +02:00
PucklaJ
2bf00d9b3f [sys/linux]: Add flags parameter to execveat and fix execve on arm64 2024-04-24 15:15:38 +02:00
gingerBill
ec5a84a537 Improve code generation for loading bit_field fields 2024-04-24 13:10:58 +01:00
gingerBill
5b6c96cd18 Merge pull request #3466 from laytan/fix-proc-args-debug-info
fix direct proc args debug info
2024-04-23 13:07:25 +01:00
Yawning Angel
e2fa9be7e2 core/math/rand: Use core:crypto for the system RNG
This removes some code duplication and expands support for the system
RNG to all targets that `core:crypto` supports.
2024-04-23 11:47:43 +09:00
Yawning Angel
a6eb64df6c core/crypto: Add a HAS_RAND_BYTES constant 2024-04-23 11:47:43 +09:00
alec hodgkinson
3b632b4d90 Fixed typo in raylib documentation 2024-04-22 15:13:52 -07:00
Feoramund
9cdb7b2584 Fix discrepancy with pthread cancelability state 2024-04-22 17:16:33 -04:00
Laytan
d1a1e8f646 fix linking with clang-18
Because we currently just use the clang from the user's path linking
suddenly breaks when the user updates their system clang to 18 with an
error about an unknown option -arch.

I had already fixed it for my LLVM 18 PR but it seems like a good idea
to get this in already to avoid that breakage (had a few people come to
the Discord with it and an issue).

This fixes #3461
2024-04-22 20:58:54 +02:00
gingerBill
75fcd50b9a Merge branch 'master' of https://github.com/odin-lang/Odin 2024-04-22 18:41:51 +01:00
gingerBill
c6a446fe87 Add check for build. and run. typos 2024-04-22 18:41:48 +01:00
Laytan Laats
90369b669b fix direct proc args debug info 2024-04-22 19:36:24 +02:00
gingerBill
f5719ae47c Merge pull request #3465 from thetarnav/fmt-printfln-js
Add printfln and eprintfln procs to fmt_js.odin
2024-04-22 16:01:36 +01:00
Andreas T Jonsson
384137d4e9 Use PHYSMEM64 on NetBSD
I realize we should use PHYSMEM64 on NetBSD. So we can not share code with FreeBSD.
2024-04-22 10:15:52 +02:00
Andreas T Jonsson
1b15d8b453 Added build tag
Added build tag to rand_bsd.odin and fixed build warning.
2024-04-22 09:32:19 +02:00
Damian Tarnawski
2a70faca14 Add printfln and eprintfln functions to fmt_js.odin 2024-04-21 22:37:04 +02:00