Commit Graph

14309 Commits

Author SHA1 Message Date
gingerBill
eecc6c1f18 Merge pull request #5003 from IllusionMan1212/more-android-fixes
Android bundling improvements
2025-04-06 09:28:13 +01:00
Jeroen van Rijn
dbefee8905 Fix broken asan on Windows. 2025-04-05 22:01:16 +02:00
Jeroen van Rijn
a6977ac733 Remove stray import. 2025-04-05 19:25:39 +02:00
Jeroen van Rijn
4b203d0c78 Fix segfault in core:sys/info on WSL2 2025-04-05 19:23:58 +02:00
Jeroen van Rijn
8d283cefa0 Merge pull request #5007 from laytan/net-errors-overhaul
net: rework errors to be cross-platform
2025-04-05 17:53:10 +02:00
Laytan Laats
ff7d55a8e1 net: rework errors to be cross-platform 2025-04-05 17:35:19 +02:00
Jeroen van Rijn
6913fc2231 Merge pull request #5006 from Kelimion/fix-doc-tests
Fix broken examples in documentation tester.
2025-04-05 16:47:12 +02:00
Jeroen van Rijn
f7c4c80ef3 Fix broken examples in documentation tester.
No more:
```
We could not find the procedure "pkg_foo_example :: proc()" needed to test the example created for "pkg.foo"
The following procedures were found:
   bar()
```
2025-04-05 16:36:26 +02:00
Jeroen van Rijn
8480295b60 Merge pull request #4993 from Sojamann/small-array-doc
[DOC] Add documentation for package core:container/small_array
2025-04-05 15:49:51 +02:00
Robin Bergewski
e963ba12fc core:container/small_array: add package documentation 2025-04-05 15:38:42 +02:00
Hisham Aburaqibah
106427b127 fix(android): pass --sysroot when compiling the android glue code
This prevents a `function-like macro '__GLIBC_USE' is not defined`
compilation error from happening with newer NDK versions (I tried r28)
2025-04-05 15:18:27 +02:00
Hisham Aburaqibah
ef49d2f0b8 print android-specific flags for the bundle command 2025-04-05 15:18:27 +02:00
IllusionMan1212
2328e84077 fix cross compilation for linux_riscv 2025-04-05 15:18:21 +02:00
Jeroen van Rijn
e651803045 Merge pull request #5005 from Kelimion/fix-5004
Fix #5004
2025-04-05 14:56:10 +02:00
Jeroen van Rijn
843467bb8f Fix #5004
Fixes constant NaN to constant NaN comparisons.
2025-04-05 14:47:30 +02:00
IllusionMan1212
da885fb807 android bundling improvements
replace `jarsigner` with build tools' `apksigner` which is capable of using newer signature schemes

remove the `android-manifest` flag and assume the file exists in the directory we're bundling

make `android-keystore-alias` and `android-keystore-password` optional.
The former is not needed if there's only one key in the keystore, and the latter will be prompted by `apksigner` if missing

don't change the working directory to the bundled directory to prevent confusion when passing a relative path to
`android-keystore`

add the `res`, `assets`, and `lib` directories to the bundle if they exist in the bundled directory
2025-04-05 02:38:04 +02:00
IllusionMan1212
44950d5f37 fix: cross-compilation for android on linux
add `-nodefaultlibs` when cross-linking for android to prevent clang from linking with libgcc

check build mode first before calling `init_android_values` to prevent printing a message
that tells the user to set `-android-keystore` if its not set and build mode is exe
2025-04-05 02:20:06 +02:00
gingerBill
f796b67a67 Merge pull request #5001 from justgook/master
Fix compiler build error
2025-04-04 18:35:46 +01:00
Romāns Potašovs
9557d6a644 fix compiler issue 2025-04-04 19:35:59 +03:00
gingerBill
19e056a806 Merge pull request #4997 from IllusionMan1212/android-fixes
A few fixes for android
2025-04-04 12:05:21 +01:00
IllusionMan1212
4495f0f0f2 feat: added a -android-keystore-password option to pass a password for the keystore instead of hardcoding it as android 2025-04-04 05:23:12 +02:00
IllusionMan1212
7c26024920 fix: strip trailing slashes for android keystore and jarsigner paths
The `system()` call on linux was failing to execute the `jarsigner` command because its path had a trailing slash
2025-04-04 05:22:04 +02:00
IllusionMan1212
7d041cb2b8 fix: prevent segfault by initializing cwd to nullptr 2025-04-04 05:14:52 +02:00
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