aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Remove `libm` dependency in `core:math` where possiblecustom-math-singingerBill2024-06-025-134/+459
|
* Implement `sin` and `cos` in native OdingingerBill2024-06-023-57/+129
|
* Merge pull request #3662 from Feoramund/fix-3660Jeroen van Rijn2024-06-021-0/+4
|\ | | | | Fix #3660 and #3661
| * Fix #3660Feoramund2024-06-021-0/+4
|/ | | | This also prevents a segfault if you do `odin build .odin -file`
* Merge pull request #3635 from Yawning/feature/aesJeroen van Rijn2024-06-0119-0/+2198
|\ | | | | core/crypto: Add AES
| * core/crypto/aes: Add AES implementationYawning Angel2024-06-0111-1/+1142
| |
| * core/crypto/_aes/ct64: Add GHASHYawning Angel2024-06-012-0/+141
| |
| * core/crypto/_aes: 64-bit portable implementationYawning Angel2024-06-017-0/+867
| |
| * core/simd/x86: Add the AES-NI intrinsicsYawning Angel2024-06-011-0/+49
|/
* Merge pull request #3658 from laytan/wasm64p32-runtime-fixesgingerBill2024-05-311-29/+63
|\ | | | | wasm: fix runtime.js even more for wasm64p32
| * wasm: fix runtime.js even more for wasm64p32Laytan Laats2024-05-311-29/+63
| | | | | | | | | | | | | | | | - make the int size configurable in the `runWasm` call, no more constants to hunt down and change - make storeU64 and storeI64 handle bigints, this is needed in the odin_dom library - fix alignment issues within init_event_raw
* | Merge pull request #3659 from thetarnav/unreachablegingerBill2024-05-311-0/+2
|\ \ | |/ |/| Add unreachable to base/builtin/builtin.odin
| * Add unreachable to base/builtin/builtin.odinDamian Tarnawski2024-05-311-0/+2
|/
* Merge branch 'master' of https://github.com/odin-lang/OdingingerBill2024-05-313-9/+29
|\
| * Merge pull request #3657 from laytan/fix-wasm64p32-procsJeroen van Rijn2024-05-311-9/+15
| |\ | | | | | | wasm: fix target wasm64p32 runtime procs
| | * wasm: fix target wasm64p32 runtime procsLaytan Laats2024-05-311-9/+15
| | | | | | | | | | | | | | | | | | | | | | | | LLVM generates calls with `i32` regardless of target, so if a call to any of these procs was generated this failed to compile. I opted to fix by changing from `int` to `i32` on wasm64p32 and adding `#any_int` so existing code keeps working.
| * | Merge pull request #3655 from iErik/mastergingerBill2024-05-312-0/+14
| |\ \ | | | | | | | | core:sys/linux - Add support for Unix Domain Socket addresses
| | * | PR#3655 - small linter issue correctionErik Isidore2024-05-301-1/+1
| | | |
| | * | core:sys/linux - Add support for Unix Domain Socket addressesErik Isidore2024-05-302-0/+14
| | |/
* | / `core:encoding/ini`gingerBill2024-05-311-0/+189
|/ /
* | Fix #3649gingerBill2024-05-301-0/+2
| |
* | Fix types againgingerBill2024-05-301-2/+2
| |
* | Add experimental target `orca_wasm32`gingerBill2024-05-303-5/+30
| |
* | Clean up `handle_link_name` handling of `link_suffix`gingerBill2024-05-301-3/+22
| |
* | Fix #3651gingerBill2024-05-301-2/+2
| |
* | Add `@(link_suffix=<string>)`gingerBill2024-05-305-9/+61
| |
* | Merge pull request #3656 from laytan/microui-optional-clipboardgingerBill2024-05-301-1/+6
|\ \ | | | | | | microui: make clipboard optional during init
| * | microui: make clipboard optional during initLaytan Laats2024-05-301-1/+6
| |/ | | | | | | | | | | | | Clipboard is an optional addition to the microui functionality, but the init function makes it look like it is required. Additionally, a bunch of the examples both on the Odin-Lang/examples repo and others are now "broken".
* | Merge pull request #3652 from Dudejoe870/compile-time-hashgingerBill2024-05-302-50/+120
|\ \ | | | | | | Add #hash built-in directive for compile-time string hashing
| * | Initial hash directive implementationDudejoe8702024-05-282-50/+120
| |/
* | Merge pull request #3653 from laytan/fix-wheel-event-js-wsamgingerBill2024-05-301-6/+6
|\ \ | | | | | | wasm: fix the WheelEvent not storing data properly
| * | wasm: fix the WheelEvent not storing data properlyLaytan Laats2024-05-301-6/+6
| | | | | | | | | | | | | | | A `WheelEvent` is also an instanceof `MouseEvent` so it was never hitting the if statement for the `WheelEvent`.
* | | Merge pull request #3654 from laytan/darwin-fix-sdkpathgingerBill2024-05-301-2/+2
|\ \ \ | |_|/ |/| | darwin: fix sysroot retrieval for some systems
| * | darwin: fix sysroot retrieval for some systemsLaytan Laats2024-05-301-2/+2
| |/ | | | | | | | | | | Got a report on Discord that the current way didn't work for a user, this change did work and I confirmed with @harold-b (who initially added this) that it also works for them and is actually a better way.
* | Merge pull request #3650 from yay/destroy-multi-logger-no-pointergingerBill2024-05-291-3/+2
|\ \ | | | | | | Take logger itself, not a pointer to logger in multi-logger destructor.
| * | Take logger itself, not a pointer to logger in multi-logger destructor.Vitalii Kravchenko2024-05-281-3/+2
|/ /
* | Merge pull request #3644 from odin-lang/foreign-import-improvementsgingerBill2024-05-288-85/+152
|\ \ | | | | | | Allow `foreign import` import paths to be evaluated in the semantic phase rather than parsing
| * | Change parser to use `^Expr` rather than `string` for the foreign import pathsgingerBill2024-05-283-6/+8
| | |
| * | Delay checking foreign import paths until after global scope is checkedgingerBill2024-05-285-83/+118
| | |
| * | Begin moving `foreign import` import paths to be evaluated in the semantic ↵gingerBill2024-05-274-39/+69
| | | | | | | | | | | | phase rather than parsing.
* | | Merge pull request #3647 from Feoramund/fix-core-data-commentsJeroen van Rijn2024-05-281-0/+3
|\ \ \ | | | | | | | | Make `ODIN_OS`, `ODIN_BUILD_MODE` comments congruent to underlying data
| * | | Make `ODIN_OS`, `ODIN_BUILD_MODE` comments congruent to underlying dataFeoramund2024-05-281-0/+3
| |/ / | | | | | | | | | Sourced from `src/checker.cpp`.
* | | Merge pull request #3648 from Feoramund/rem-unused-prime-codeJeroen van Rijn2024-05-281-3/+0
|\ \ \ | |/ / |/| | Remove unused code in `internal_random_prime`
| * | Remove unused code in `internal_random_prime`Feoramund2024-05-281-3/+0
|/ /
* | Merge pull request #3642 from 2nafish117/fix-pitch-from-quatgingerBill2024-05-273-3/+3
|\ \ | |/ |/| Fix pitch_from_quaternion
| * fix pitch_from_quaternionshashank2024-05-273-3/+3
|/
* Merge pull request #3639 from yay/destroy-file-logger-no-pointerJeroen van Rijn2024-05-271-1/+1
|\ | | | | Make destroy_file_logger take logger instead of logger pointer.
| * Make destroy_file_logger take logger instead of logger pointer.Vitalii Kravchenko2024-05-271-1/+1
|/
* Merge pull request #3638 from harold-b/fix-darwin-libc-proc-sigsgingerBill2024-05-271-4/+4
|\ | | | | Fix a few darwin libc signatures with incorrect parameters.
| * Fix a few darwin libc signatures with incorrect parameters.Harold Brenes2024-05-261-4/+4
|/