aboutsummaryrefslogtreecommitdiff
path: root/core
Commit message (Collapse)AuthorAgeFilesLines
* os2 env changesjason2025-12-032-27/+18
| | | | | Use core:sys/posix for Linux when linking libc fix copy paste error in posix_env
* use libc for linux env when not no-crtjason2025-12-022-175/+304
|
* fix thread_act_t sizeColin Davidson2025-12-011-1/+1
|
* Add `reflect.has_no_indirections`gingerBill2025-12-011-0/+67
|
* Merge pull request #5864 from Skyress-s/mastergingerBill2025-12-011-3/+3
|\ | | | | fix: linalg.quaternion_from_forward_and_up()
| * Fixed issue where the linalg.quaternion_from_forward_and_up could return ↵Mathias Mohn Mørch2025-10-301-3/+3
| | | | | | | | incorrect values in certain scenarioes
* | Fix #5978: choice_bit_set respects bit_set domainAndreas Stenmark2025-11-301-4/+7
| |
* | Merge pull request #5963 from Yawning/feature/chacha8randJeroen van Rijn2025-11-2912-157/+279
|\ \ | | | | | | runtime: Use chacha8rand as the default RNG (BREAKING)
| * | base/runtime: Add chacha8rand as the default RNGYawning Angel2025-11-291-3/+42
| | |
| * | base/runtime: Add `rand_bytes` and `HAS_RAND_BYTES`Yawning Angel2025-11-298-152/+5
| | | | | | | | | | | | | | | | | | Having the OS/runtime provide a cryptographic entropy source is the right thing to do, and we need it to initialize the default random number generator.
| * | testing: Use xoshiro256** instead of the runtime RNGYawning Angel2025-11-291-2/+2
| | | | | | | | | | | | | | | While platforms that do not have an entropy source have no rights, use something that is always guaranteed to work.
| * | math/rand: Add xoshiro256**Yawning Angel2025-11-291-0/+123
| | | | | | | | | | | | | | | This is extracted from the previos PR as an improved non-cryptographic PRNG option.
| * | math/rand: Add a copy of the existing PCG PRNGYawning Angel2025-11-291-0/+107
| | | | | | | | | | | | | | | | | | The switch to the new RNG will be a breaking change as the outputted sequence will change for a given seed. This is intended for backward compatibility purposes only.
* | | Fix #5975Jeroen van Rijn2025-11-291-2/+2
|/ / | | | | | | Fix `err` shadowing in test runner. Fixes #5975.
* | Fix `core:math/ease`Jeroen van Rijn2025-11-281-2/+3
| |
* | Always use new itoa method when MATH_BIG_FORCE_32_BITJeroen van Rijn2025-11-281-1/+1
| |
* | Merge pull request #5972 from Xotchkass/rand_rangeJeroen van Rijn2025-11-281-0/+312
|\ \ | | | | | | `math/rand`: Add range-based number generation procedures
| * | changed panic to assertXotchkass2025-11-281-24/+8
| | |
| * | Add range-based random number generation functionsXotchkass2025-11-281-0/+328
| | |
* | | Fix `is_pointer_internally` not handling Named Types.blob18072025-11-281-1/+1
|/ /
* | Another little bit faster.Jeroen van Rijn2025-11-271-4/+23
| |
* | Merge pull request #5968 from Xotchkass/rand_u_maxJeroen van Rijn2025-11-271-0/+160
|\ \ | | | | | | Add `uint32_max`, `uint64_max`, `uint128_max` and `uint_max` procs to `core:math/rand`
| * | add uint32_max, uint64_max, uint128_max and uint_max procs to math/randXotchkass2025-11-261-0/+160
| | |
* | | Switch between old and new itoa method based on optimization level + digit sizeJeroen van Rijn2025-11-271-5/+14
| | |
* | | Speed up big.itoaJeroen van Rijn2025-11-272-6/+84
| | | | | | | | | | | | | | | Extract 18 (64-bit) or 8 (32-bit) digits per big division. This gives a 2.5x speedup for a 1024-bit bigint.
* | | Use `@(rodata)` where possiblegingerBill2025-11-274-6/+14
| | |
* | | Add `@(require_results)` to `core:time`gingerBill2025-11-274-3/+60
| | |
* | | Add alias `Okay = None`gingerBill2025-11-271-0/+2
| | |
* | | Use `< 0` instead of `== -1` for comparisonsgingerBill2025-11-275-14/+14
| | |
* | | Handle `Allocator_Error` correctly in `core:math/big`gingerBill2025-11-273-5/+19
| | |
* | | Merge branch 'master' of https://github.com/odin-lang/OdingingerBill2025-11-2714-137/+604
|\| |
| * | Merge pull request #5930 from odin-lang/bill/os2-file-streamgingerBill2025-11-266-81/+162
| |\ \ | | | | | | | | `os2.File_Stream`
| | * | Add `#assert(intrinsics.type_is_superset_of(File_Stream_Mode, io.Stream_Mode))`gingerBill2025-11-171-1/+3
| | | |
| | * | Merge branch 'master' into bill/os2-file-streamgingerBill2025-11-175-18/+38
| | |\ \
| | * | | Added some commentsgingerBill2025-11-141-3/+2
| | | | |
| | * | | Add `File_Stream` to replace `io.Stream`+`Fstat_Callback` within `os2`gingerBill2025-11-146-81/+161
| | | | |
| * | | | Add SIO_UDP_CONNRESET winsock constantBen Ryan2025-11-261-4/+6
| | | | |
| * | | | Implement more Linux syscalls (#5705)bc-universe2025-11-244-31/+372
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Implement some more Linux syscalls * Fixed typo and removed stray comments * Correct types for some syscalls * Fix types and add variadic argument for prctl * flag fixes * when x86/amd64 only * more fixes --------- Co-authored-by: Laytan Laats <laytanlaats@hotmail.com>
| * | | | rerrange math.sign and math.sign_bit overloadsPhil Homan2025-11-231-24/+24
| | | | |
| * | | | add math.sign and math.sign_bit overloads for int typesPhil Homan2025-11-221-1/+28
| | | | |
| * | | | Use BUF_SIZEgingerBill2025-11-221-1/+1
| | | | |
| * | | | Increase base64 decoding table size to 256, preventing out of bounds readsFranz Hoeltermann2025-11-221-19/+35
| | | | |
* | | | | `core:fmt` lvalues in `for` loops to minimize stack usagegingerBill2025-11-271-13/+13
|/ / / /
* | | | Add `@(require_results)` to `core:simd` procedures where missinggingerBill2025-11-221-0/+8
| | | |
* | | | Don't build log allocator file on freestanding. This makes core:log compile ↵Karl Zylinski2025-11-211-0/+2
| | | | | | | | | | | | | | | | on freestanding again. Closes #5948
* | | | Add NSWindow coordinate space conversion bindingsTohei Ichikawa2025-11-181-0/+32
| | | |
* | | | Fix #5931Jeroen van Rijn2025-11-182-19/+10
| | | | | | | | | | | | | | | | Fix #5931 and add test case for it.
* | | | Fix indentation in commentsgingerBill2025-11-181-6/+6
| |/ / |/| |
* | | Merge pull request #5936 from benjryan/wsa_defsgingerBill2025-11-161-0/+24
|\ \ \ | | | | | | | | Add WSASendTo and WSARecvFrom
| * | | Add WSASendTo and WSARecvFromBen Ryan2025-11-161-0/+24
| | | |