Commit Graph

14286 Commits

Author SHA1 Message Date
gingerBill
d9f990d42e Fix #4975 dev-2025-04 2025-04-03 10:55:35 +01:00
gingerBill
511c186297 Fix typo 2025-04-03 10:23:35 +01:00
gingerBill
5be052f288 Fix #4995 2025-04-03 10:20:08 +01:00
gingerBill
ce5b7cccab Fix lb_add_debug_local_variable to use the correct procedure in LLVM 20 2025-04-03 10:04:14 +01:00
gingerBill
4ebaed1fdd Remove refactor 2025-04-03 09:54:44 +01:00
gingerBill
e412d3b4c1 Minor clean up to lb_handle_objc_find_or_register_internal 2025-04-03 09:48:30 +01:00
gingerBill
cd5bef4f61 Rewrite objc SEL/Class register handling code 2025-04-03 09:37:38 +01:00
Jeroen van Rijn
d31ad3cd7f Merge pull request #4991 from nadako/sdl-3.2.10
Update vendor:sdl3 to version 3.2.10
2025-04-02 23:01:03 +02:00
Jeroen van Rijn
688540699d Merge pull request #4994 from harold-b/hb/linux-sys-built-tag
Add linux build tag to core/sys/linux/sys.odin
2025-04-02 22:46:59 +02:00
Harold Brenes
c5980ba6c4 Add linux build tag to core/sys/linux/sys.odin 2025-04-02 16:39:25 -04:00
Laytan
c77131dd7a Merge pull request #4992 from laytan/llvm20-releases
ci: update to LLVM 20 on MacOS and Linux CI and releases
2025-04-02 21:51:37 +02:00
Laytan
4eef57c6f1 ci: ok, had to brew update, can we now request @20 directly? 2025-04-02 21:24:12 +02:00
Laytan
85b3a79a25 ci: brew update? 2025-04-02 21:22:18 +02:00
Laytan
cab3239760 ci: fix macos llvm 20 2025-04-02 21:17:45 +02:00
Laytan
b0316b7076 ci: update to LLVM 20 on MacOS and Linux CI and releases 2025-04-02 21:13:10 +02:00
Dan Korostelev
4a56b25b3a Update vendor:sdl3 to version 3.2.10 2025-04-02 20:24:45 +02:00
gingerBill
5eaff20f4a Add mutex for lb_handle_objc_find_or_register_class 2025-04-02 18:26:40 +01:00
gingerBill
b615e77264 Merge branch 'master' of https://github.com/odin-lang/Odin 2025-04-02 18:23:15 +01:00
gingerBill
d0dd1b2d80 Add mutex for lb_handle_objc_find_or_register_selector 2025-04-02 18:23:08 +01:00
gingerBill
c6b6dddccc Merge pull request #4990 from Kelimion/fix-4980
Fix #4980
2025-04-02 14:33:39 +01:00
Jeroen van Rijn
10bde20850 Fix #4980
Add nullptr check.
2025-04-02 14:21:52 +02:00
Laytan
cc61fdd90e Merge pull request #4989 from SlateyDev/patch-1
Fix depth stencil not working on wgpu wasm_js build
2025-04-01 16:40:21 +02:00
Scott Campbell
b0228154d9 Fix depth stencil not working on wgpu wasm_js build 2025-04-02 00:13:45 +11:00
gingerBill
70ddb74e40 Add mem.make_over_aligned 2025-03-31 10:51:02 +01:00
gingerBill
dcb683927e Fix indentation 2025-03-31 10:40:03 +01:00
gingerBill
08ad2d20cd Merge pull request #4986 from hardliner66/bugfix/use_correct_size_when_resolving_symbols
Use the proper size for SizeOfStruct to make resolving of procedure names work
2025-03-30 22:28:19 +01:00
gingerBill
1a91aa0d43 Merge pull request #4984 from laytan/drop-net-darwin-os-dep
net: drop core:os dependency for Darwin
2025-03-30 22:27:46 +01:00
gingerBill
07cec670e3 Merge pull request #4982 from 4teapo/master
Use LLVM 20 in shell.nix
2025-03-30 22:27:26 +01:00
Steve Biedermann
61610fa033 Use the proper size for SizeOfStruct 2025-03-30 18:11:41 +02:00
Laytan Laats
327d9f134d net: drop core:os dependency for Darwin 2025-03-29 23:27:03 +01:00
teapo
73c3e60ce5 Use LLVM 20 in shell.nix 2025-03-28 18:38:08 +01:00
teapo
a9d073e0bb Update shell.nix 2025-03-28 18:31:23 +01:00
gingerBill
e7ae7b8fd4 Command package -> bundle 2025-03-28 09:27:04 +00:00
gingerBill
edf97bdb03 Merge pull request #4970 from odin-lang/bill/android-subtarget
Very Very Rudimentary Support for Android
2025-03-28 09:02:26 +00:00
Jeroen van Rijn
29a8707001 Merge pull request #4978 from glektarssza/chore/fixup-detection-of-msvc
Use Microsoft "best practices" for using `vswhere`
2025-03-27 21:45:24 +01:00
G'lek Tarssza
b9aa51849b Use Microsoft "best practices" for using vswhere
See https://github.com/microsoft/vswhere/wiki/Find-VC for more details.
2025-03-27 14:25:20 -06:00
gingerBill
d3f0b31fcc Improve or_else type inference logic 2025-03-27 15:08:53 +00:00
gingerBill
71db9ac1ba Merge pull request #4976 from voutilad/openbsd-linker
Fix linking of programs on OpenBSD
2025-03-27 15:05:34 +00:00
Dave Voutila
5274aa53b3 Fix linker invocation on OpenBSD.
Firstly, we need to explicitly request pthreads and also need to
mind the fact ports (like SDL2) install in /usr/local/lib.

Secondly, since OpenBSD 7.4 the system enforces indirect branch
targets on hardware platforms that support it. Until the LLVM
integration in Odin can be changed to emit proper branch targets
(e.g. endbr64 on amd64), we need to request the linker make the
resulting program opt-out of enforcement.
2025-03-27 10:37:36 -04:00
Dave Voutila
18988b5f94 Fix use of errno on OpenBSD. 2025-03-27 10:36:40 -04:00
gingerBill
9b3d381af0 Fix another typo 2025-03-27 12:55:41 +00:00
gingerBill
1fc1a7fd51 Fix typos 2025-03-27 11:12:44 +00:00
gingerBill
0e6cc6ec4b Use working directory for aapt commands 2025-03-27 10:31:59 +00:00
gingerBill
caac504b88 Handle android flags to be more "optional" 2025-03-27 09:53:44 +00:00
gingerBill
e9fd565cfd Fix flags for odin package <platform> 2025-03-27 09:32:52 +00:00
gingerBill
e29b5ae8ed Use u64 for the command kind just in case 2025-03-27 09:27:54 +00:00
gingerBill
6689c722ad odin package android 2025-03-27 09:26:33 +00:00
gingerBill
8b30adf60b Merge pull request #4973 from openhood/sys-wasm-prevent-empty-lines-in-console
Prevent odin.js from printing empty line in the console for the ending "\n"
2025-03-27 09:09:46 +00:00
gingerBill
729b6a4337 Merge pull request #4974 from harold-b/hb.fix-syscall-memory-dep
Add `~{memory}` clobber to syscall intrinsics for platforms where it was missing
2025-03-27 09:09:18 +00:00
Harold Brenes
6fda041e17 Add ~{memory} clobber to syscall intrinsics for platforms where it was not yet added.
This fixes #4972 and #4588.

As laytan asserts, there is no guarantee that a syscall will not modify memory that it just obtained from the user, or held onto via a previous syscall. Therefore this constraint should be required for all syscalls.
2025-03-26 19:25:06 -04:00