aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
...
* | Add missing cast to global/static var alignments.Barinzaya2025-04-242-2/+2
| |
* | Correctly align global and static variables.Barinzaya2025-04-242-0/+2
|/ | | | | | This can be important if matrices or SIMD vectors are being used in global or static variables, as otherwise it may result in crashes due to aligned instructions accessing misaligned variables.
* fix not resolving to alias in a recursive declarationLaytan2025-04-161-1/+5
|
* Change hashing rules for float-like types to make `0 == -0`gingerBill2025-04-163-1/+63
|
* More improvements doc writer name canonicalizationgingerBill2025-04-152-33/+74
|
* Improve name canonicalization rules for the doc writergingerBill2025-04-151-1/+19
|
* Merge branch 'master' of https://github.com/odin-lang/OdingingerBill2025-04-151-1/+1
|\
| * Merge pull request #5038 from mtarik34b/noteq-comparison-for-nan-must-be-trueJeroen van Rijn2025-04-151-1/+1
| |\ | | | | | | Ensure `NaN != any_float_value` evaluates to true for constant NaN values
| | * Remove reference to git issuemtarik34b2025-04-151-1/+1
| | |
| | * Ensure NaN != any_float_value evaluates to true for constant NaN valuesmtarik34b2025-04-151-1/+1
| | |
* | | Improve name canonization rules for doc writergingerBill2025-04-151-1/+5
|/ /
* / Fix SysV ABI buggingerBill2025-04-151-9/+82
|/
* Remove `bit_field` -> `bit_set` warning.Jeroen van Rijn2025-04-121-3/+2
| | | | The "This 'bit_field' might be better expressed as a 'bit_set' since all of the fields are booleans, of 1-bit in size, and the backing type is an integer" warning is imperfect. Disable it for now.
* Allow intrinsics.type_elem_type(simd_vector) to return the element type.Jeroen van Rijn2025-04-111-0/+1
| | | | Make `type_elem_type(#simd[4]f32)` return `f32`, same as it would for `[4]f32`.
* Fix Darwin version reporting for older macOSFeoramund2025-04-101-1/+1
|
* Simplify condition, op = Token_Sub was trivially trueJeroen van Rijn2025-04-101-1/+1
|
* Fixes #5026Jeroen van Rijn2025-04-101-0/+3
|
* Support subtargets in build tags: `#build darwin:generic` and `#build ↵gingerBill2025-04-103-8/+115
| | | | linux:android, darwin:ios`
* Fix `init_android_values` SDK check for `odin check`gingerBill2025-04-101-1/+1
|
* Merge pull request #5023 from justgook/masterJeroen van Rijn2025-04-091-1/+1
|\ | | | | add quotes for absolute path
| * add quotes for absolute pathRomāns Potašovs2025-04-091-1/+1
| |
* | Actually maybe fix #5015gingerBill2025-04-091-0/+1
| |
* | Fix #5015gingerBill2025-04-091-0/+10
|/
* Merge branch 'master' of https://github.com/odin-lang/OdingingerBill2025-04-092-12/+28
|\
| * gb.h: fix buffer overflow when printing long strings. fix #4831IllusionMan12122025-04-091-9/+17
| |
| * Merge pull request #5013 from IllusionMan1212/one-last-android-fix-maybegingerBill2025-04-081-3/+11
| |\ | | | | | | fix: use the clang binary that's provided by the android NDK
| | * android: always link liblogIllusionMan12122025-04-081-0/+1
| | |
| | * fix: use the clang binary that's provided by the android NDKIllusionMan12122025-04-071-3/+10
| | | | | | | | | | | | always link against libandroid because it's needed by the glue code.
* | | Remove warning on struct field parameters being too big for the stackgingerBill2025-04-091-1/+1
|/ /
* | Merge branch 'master' of https://github.com/odin-lang/OdingingerBill2025-04-081-1/+3
|\ \
| * | Fix #5020Jeroen van Rijn2025-04-081-1/+3
| | |
* | | Propagate `@(link_section=<string>)` to nested declarationsgingerBill2025-04-087-63/+99
|/ /
* | Add trivial sanity check for assigning to return values within `defer` #5011gingerBill2025-04-071-0/+41
| |
* | Fix `syscall_bsd` on NetBSD ARM64Feoramund2025-04-061-8/+31
|/
* Merge pull request #5003 from IllusionMan1212/more-android-fixesgingerBill2025-04-064-89/+92
|\ | | | | Android bundling improvements
| * fix(android): pass `--sysroot` when compiling the android glue codeHisham Aburaqibah2025-04-051-0/+5
| | | | | | | | | | This prevents a `function-like macro '__GLIBC_USE' is not defined` compilation error from happening with newer NDK versions (I tried r28)
| * print android-specific flags for the bundle commandHisham Aburaqibah2025-04-051-0/+19
| |
| * fix cross compilation for linux_riscvIllusionMan12122025-04-051-1/+1
| |
| * android bundling improvementsIllusionMan12122025-04-053-64/+42
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * fix: cross-compilation for android on linuxIllusionMan12122025-04-052-25/+26
| | | | | | | | | | | | | | 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
* | Fix #5004Jeroen van Rijn2025-04-051-0/+4
| | | | | | | | Fixes constant NaN to constant NaN comparisons.
* | fix compiler issueRomāns Potašovs2025-04-041-3/+3
|/
* Merge pull request #4997 from IllusionMan1212/android-fixesgingerBill2025-04-044-4/+20
|\ | | | | A few fixes for android
| * feat: added a `-android-keystore-password` option to pass a password for the ↵IllusionMan12122025-04-043-1/+14
| | | | | | | | keystore instead of hardcoding it as `android`
| * fix: strip trailing slashes for android keystore and jarsigner pathsIllusionMan12122025-04-042-2/+5
| | | | | | | | The `system()` call on linux was failing to execute the `jarsigner` command because its path had a trailing slash
| * fix: prevent segfault by initializing cwd to nullptrIllusionMan12122025-04-041-1/+1
| |
* | Fix #4975dev-2025-04gingerBill2025-04-031-0/+4
| |
* | Fix `lb_add_debug_local_variable` to use the correct procedure in LLVM 20gingerBill2025-04-031-1/+1
| |
* | Remove refactorgingerBill2025-04-031-15/+34
| |
* | Minor clean up to `lb_handle_objc_find_or_register_internal`gingerBill2025-04-031-37/+12
| |