aboutsummaryrefslogtreecommitdiff
path: root/base
Commit message (Collapse)AuthorAgeFilesLines
* Minor optimization to `map_probe_distance`gingerBill12 days1-1/+3
|
* Add `intrinsics.count_trailing_ones` and `intrinsics.count_leading_ones`gingerBill13 days1-0/+2
|
* Fix #6197Jeroen van Rijn2026-01-311-1/+1
|
* Add `struct #simple` to force a struct to use simple comparison if all of ↵gingerBill2026-01-292-0/+3
| | | | the fields "nearly simply comparable".
* Rename `try_copy_*` to `write_*`gingerBill2026-01-282-186/+186
|
* Improve `try_copy_*` logicgingerBill2026-01-281-74/+172
|
* Fix typo in `try_copy_caller_location`gingerBill2026-01-281-2/+2
|
* Rename to `type_assertion_trap_contextless`gingerBill2026-01-261-5/+5
|
* Fix `type_assertion_check2*` for `-no-rtti`gingerBill2026-01-261-10/+11
|
* Use `context.assertion_failure_proc` with type assertions when the `context` ↵gingerBill2026-01-262-28/+462
| | | | is available, otherwise use a trivial trap.
* Merge branch 'master' into nbioLaytan2026-01-131-1/+0
|\
| * Remove duplicate assingment of array.allocator = allocator in ↵Faker-092026-01-131-1/+0
| | | | | | | | _make_dynamic_array_len_cap(...) (#6095)
* | runtime: use `alloc_non_zeroed` in `new_clone`; zeroing is not neededLaytan Laats2026-01-111-1/+1
|/
* Merge pull request #6024 from blob1807/masterLaytan2025-12-201-7/+6
|\ | | | | [`base:runtime`] fix `print_i64` using an OOB index when `min(i64)` is given.
| * `print_i64` fix getting an OOB indexblob18072025-12-151-7/+6
| | | | | | | | fixes https://github.com/odin-lang/Odin/issues/6018
* | Add @builtin to missing builtin procedure group procsSylphrena2025-12-193-8/+16
| |
* | Fix spacing in RUNTIME_LINKAGE declarationLaytan2025-12-171-1/+1
| |
* | Redefine `RUNTIME_LINKAGE` when `-no-entry-point` is set in certain ↵gingerBill2025-12-171-4/+5
|/ | | | circumstances.
* Fix default temp allocator under flow bugDuchGhast2025-12-081-0/+1
|
* base/runtime: Add chacha8rand as the default RNGYawning Angel2025-11-295-85/+796
|
* base/runtime: Add `rand_bytes` and `HAS_RAND_BYTES`Yawning Angel2025-11-2910-1/+154
| | | | | | 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.
* Add `intrinsics.type_is_superset_of`gingerBill2025-11-171-1/+2
|
* Remove `#no_copy`gingerBill2025-11-051-1/+1
|
* Add `#all_or_none`gingerBill2025-11-052-7/+7
|
* Merge pull request #5859 from odin-lang/bill/change-licensedev-2025-11gingerBill2025-11-041-2/+0
|\ | | | | Change Odin's LICENSE to zlib from BSD 3-clause
| * Change Odin's LICENSE to zlib from BSD 3-clausegingerBill2025-10-281-2/+0
| | | | | | | | This change was made in order to allow things produced with Odin and using Odin's core library, to not require the LICENSE to also be distributed alongside the binary form.
* | Use resize_soa instead of resize proc group in soa procsthetarnav2025-11-021-3/+7
| |
* | Add `inject_at_soa` and `append_nothing_soa` proceduresthetarnav2025-11-021-0/+111
| |
* | Bodge `runtime.exit` for haikugingerBill2025-10-311-1/+1
| |
* | Remove duplicate importJeroen van Rijn2025-10-301-3/+0
| |
* | Correct cast to `uintptr`gingerBill2025-10-301-1/+1
| |
* | Add `runtime.exit`gingerBill2025-10-3010-0/+73
| |
* | `constant_truncate` -> `constant_trunc` to be consistent with other intrinsicsgingerBill2025-10-301-4/+4
| |
* | Add `intrinsics.constant_(floor|truncate|ceil|round)`gingerBill2025-10-301-0/+5
|/
* fix: typosamwega2025-10-141-1/+1
|
* Add to `intrinsics.odin`gingerBill2025-10-101-0/+3
|
* Add `type_is_nearly_simple_compare` to `intrinsics.odin`gingerBill2025-10-091-0/+1
|
* Update `intrinsics.odin`gingerBill2025-10-091-1/+4
|
* Add some more docsgingerBill2025-10-071-0/+22
|
* Add some basic docs to `Default_Temp_Allocator`gingerBill2025-10-071-0/+6
|
* Add docs to `nil_allocator` and `panic_allocator`gingerBill2025-10-071-0/+11
|
* Improve core_builtin.odin docsgingerBill2025-10-071-19/+94
|
* Correct signature (missing return value) for `objc_msgSendSuper2`Harold Brenes2025-09-301-1/+3
|
* Automatically emit objc_msgSend calls when calling imported or implemented ↵Harold Brenes2025-09-292-8/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | Objective-C methods - Add intrinsics.objc_super() - Emit objc_msgSendSuper2 calls when an objc method call is combined with objc_super(self) - Fix objc_block return value ABI for large struct returns - Fix objc_implement method wrappers bad ABI for large struct returns and indirect args - Simplify parameter forwarding for objc_imlpement methods - Add intrinsics.objc_instancetype to mimi Objective-C instancetype* returns This facilitates returning the correct type on subclasses when calling mehtods such as `alloc`, `init`, `retain`, etc. - Refactor Objective-C class implementations generation so that hierarchies are properly initialized - Better codegen for context passing with ivar-based autocontext - Allow @superclass on imported objc-c objects - Better codegen for block forwarding invoker, arguments are forwarded directly
* Type erase the internals of `runtime.copy_*`gingerBill2025-09-291-18/+16
|
* Remove unused variablebill/conditional-zerogingerBill2025-09-271-1/+0
|
* Add `runtime.conditional_mem_zero` to improve `heap_allocator` performance ↵gingerBill2025-09-272-4/+56
| | | | on non-Windows systems
* Change inlining semantics for some builtin callsgingerBill2025-09-252-14/+14
|
* Merge pull request #5632 from kalsprite/x386gingerBill2025-09-182-2/+19
|\ | | | | windows i386 support
| * revert to working buildJon Lipstate2025-09-031-2/+2
| |