aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | | | | | | Also test a big int with a large number of zeroes.Jeroen van Rijn2025-11-271-0/+15
| | | | | | | | |
| * | | | | | | | 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-273-6/+111
|/ / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| | | | | | | |
* | | | | | | | Update test generatorgingerBill2025-11-273-4768/+4770
| | | | | | | |
* | | | | | | | 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-2729-184/+960
|\| | | | | | |
| * | | | | | | Merge pull request #5930 from odin-lang/bill/os2-file-streamgingerBill2025-11-269-82/+290
| |\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | `os2.File_Stream`
| | * | | | | | | Add `#assert(intrinsics.type_is_superset_of(File_Stream_Mode, io.Stream_Mode))`gingerBill2025-11-171-1/+3
| | | | | | | | |
| | * | | | | | | Add `intrinsics.type_is_superset_of`gingerBill2025-11-173-1/+128
| | | | | | | | |
| | * | | | | | | Merge branch 'master' into bill/os2-file-streamgingerBill2025-11-176-21/+47
| | |\ \ \ \ \ \ \
| | * | | | | | | | Added some commentsgingerBill2025-11-141-3/+2
| | | | | | | | | |
| | * | | | | | | | Add `File_Stream` to replace `io.Stream`+`Fstat_Callback` within `os2`gingerBill2025-11-146-81/+161
| | | | | | | | | |
| * | | | | | | | | Merge pull request #5966 from benjryan/sio_udp_connresetgingerBill2025-11-261-4/+6
| |\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | Add SIO_UDP_CONNRESET winsock constant
| | * | | | | | | | | 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>
| * | | | | | | | | Merge pull request #5956 from thePHTest/mastergingerBill2025-11-231-1/+28
| |\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | add math.sign and math.sign_bit overloads for int types
| | * | | | | | | | | 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
| | | | | | | | | | |
| * | | | | | | | | | Merge pull request #5800 from IllusionMan1212/xlib-IMLaytan2025-11-232-1/+45
| |\ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | vendor/xlib: a few more IM-related procedures and constants
| | * | | | | | | | | | vendor/xlib: a few more IM-related procedures and constantsIllusionMan12122025-10-122-1/+45
| | | | | | | | | | | |
| * | | | | | | | | | | Merge pull request #5959 from laytan/remove-terminate-from-demoJeroen van Rijn2025-11-231-13/+0
| |\ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | remove terminate from demo
| | * | | | | | | | | | | remove terminate from demoLaytan Laats2025-11-231-13/+0
| |/ / / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This was causing deadlocks because: 1. The main thread would `thread.terminate` a running thread 2. `thread.terminate` does not mean termination happens immediately 3. The thread that was terminated would see that the main thread released `print_mutex` and acquire it 4. The worker would execute `fmt.printf` which is a cancellation point 5. Cancellation point reached, cancelled 6. Deadlock because the thread was holding `print_mutex` You would usually solve this with `pthread_cleanup_push` that would release the mutex in case it is cancelled, or use `pthread_setcancelstate` to disable cancellation while the mutex is held. But the real fix is just not using forced termination and using a flag or other mechanism to indicate to the thread it should stop. `thread.terminate` shouldn't even be a thing IMO. It is way to dangerous and if somebody knows what they are doing they can use the core:sys procedures to achieve it. And we certainly shouldn't be using it in the demo as an example.
| * | | | | | | | | | | Merge pull request #5958 from A1029384756/mastergingerBill2025-11-231-17/+16
| |\ \ \ \ \ \ \ \ \ \ \ | | |_|/ / / / / / / / / | |/| | | | | | | | | | moved checking of -vet-unused-procedures and -vet-packages flags to after all flags are parsed
| | * | | | | | | | | | moved checking of -vet-unused-procedures and -vet-packages flags toA10293847562025-11-221-17/+16
| |/ / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | after all flags are parsed
| * | | | | | | | | | Use BUF_SIZEgingerBill2025-11-221-1/+1
| | | | | | | | | | |
| * | | | | | | | | | Merge pull request #5941 from odin-lang/bill/typeid-sip-hashgingerBill2025-11-221-9/+146
| |\ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | Use SIP hash as name canonicalization hash
| | * | | | | | | | | | Use SIP hash as name canonicalization hashbill/typeid-sip-hashgingerBill2025-11-181-9/+146
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Replaces fnv64a
| * | | | | | | | | | | Expand base64 tests to include roundtripJeroen van Rijn2025-11-221-0/+15
| | | | | | | | | | | |
| * | | | | | | | | | | Merge pull request #5951 from FrancisTheCat/masterJeroen van Rijn2025-11-221-19/+35
| |\ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | Increase base64 decoding table size to 256, preventing out of bounds reads
| | * | | | | | | | | | | Increase base64 decoding table size to 256, preventing out of bounds readsFranz Hoeltermann2025-11-221-19/+35
| | | | | | | | | | | | |
| * | | | | | | | | | | | Merge pull request #5953 from Igonato/docsJeroen van Rijn2025-11-226-6/+6
| |\ \ \ \ \ \ \ \ \ \ \ \ | | |/ / / / / / / / / / / | |/| | | | | | | | | | | Adjust docs links for satellite SDL libraries
| | * | | | | | | | | | | Adjust docs links for satellite SDL librariesIgnat S.2025-11-226-6/+6
| |/ / / / / / / / / / /
* / / / / / / / / / / / `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
| | | | | | | | | | |
* | | | | | | | | | | Merge pull request #5949 from karl-zylinski/log-allocator-freestanding-build-fixJeroen van Rijn2025-11-211-0/+2
|\ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | Don't build log allocator file on freestanding.
| * | | | | | | | | | | Don't build log allocator file on freestanding. This makes core:log compile ↵Karl Zylinski2025-11-211-0/+2
|/ / / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | on freestanding again. Closes #5948
* | | | | | | | | | | Merge pull request #5946 from slowhei/mastergingerBill2025-11-191-0/+32
|\ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | Add NSWindow coordinate space conversion bindings
| * | | | | | | | | | | Add NSWindow coordinate space conversion bindingsTohei Ichikawa2025-11-181-0/+32
| | | | | | | | | | | |
* | | | | | | | | | | | Merge pull request #5940 from connnnal/d3d12-tight-alignmentgingerBill2025-11-192-9/+76
|\ \ \ \ \ \ \ \ \ \ \ \ | |/ / / / / / / / / / / |/| | | | | | | | | | | Update d3d12 bindings for D3D12_FEATURE_D3D12_TIGHT_ALIGNMENT
| * | | | | | | | | | | Fix FEATURE bitflag indentationconnnnal2025-11-181-6/+6
| | | | | | | | | | | |
| * | | | | | | | | | | Update d3d12 bindings for D3D12_FEATURE_D3D12_TIGHT_ALIGNMENTconnnnal2025-11-182-9/+76
| | |_|_|/ / / / / / / | |/| | | | | | | | |
* | | | | | | | | | | Fix #5931Jeroen van Rijn2025-11-183-19/+31
| |/ / / / / / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| | | | | | | | | |
* | | | | | | | | | Merge pull request #5937 from ↵gingerBill2025-11-161-3/+9
|\ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | laytan/skip-collision-panic-when-package-names-arent-unique skip collision panic when package names aren't unique