| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Merge branch 'master' into nbio | Laytan | 2026-01-13 | 1 | -1/+0 |
| |\ | |||||
| | * | Remove duplicate assingment of array.allocator = allocator in ↵ | Faker-09 | 2026-01-13 | 1 | -1/+0 |
| | | | | | | | | | _make_dynamic_array_len_cap(...) (#6095) | ||||
| * | | runtime: use `alloc_non_zeroed` in `new_clone`; zeroing is not needed | Laytan Laats | 2026-01-11 | 1 | -1/+1 |
| |/ | |||||
| * | Add @builtin to missing builtin procedure group procs | Sylphrena | 2025-12-19 | 1 | -3/+10 |
| | | |||||
| * | Improve core_builtin.odin docs | gingerBill | 2025-10-07 | 1 | -19/+94 |
| | | |||||
| * | Type erase the internals of `runtime.copy_*` | gingerBill | 2025-09-29 | 1 | -18/+16 |
| | | |||||
| * | Change inlining semantics for some builtin calls | gingerBill | 2025-09-25 | 1 | -4/+4 |
| | | |||||
| * | Merge pull request #5632 from kalsprite/x386 | gingerBill | 2025-09-18 | 1 | -1/+6 |
| |\ | | | | | windows i386 support | ||||
| | * | revert to working build | Jon Lipstate | 2025-09-03 | 1 | -2/+2 |
| | | | |||||
| | * | add tls when we have crt | Jon Lipstate | 2025-09-03 | 1 | -2/+2 |
| | | | |||||
| | * | windows i386 support | Jon Lipstate | 2025-08-29 | 1 | -1/+6 |
| | | | |||||
| * | | More improvements to minimize code gen size | gingerBill | 2025-09-18 | 1 | -7/+15 |
| | | | |||||
| * | | Type erasure to minimize code generation size | gingerBill | 2025-09-18 | 1 | -14/+21 |
| |/ | |||||
| * | Implementes the block ABI.2010.3.16 natively via the `objc_block` intrinsic ↵ | Harold Brenes | 2025-08-06 | 1 | -0/+5 |
| | | | | | | | and the `Objc_Block` builtin type. See: https://clang.llvm.org/docs/Block-ABI-Apple.html | ||||
| * | Add `string16` and `cstring16` (UTF-16 based strings) | gingerBill | 2025-08-02 | 1 | -1/+27 |
| | | |||||
| * | runtime: Remove unneeded `max(0, ...)` | Feoramund | 2025-06-13 | 1 | -2/+2 |
| | | | | | | `len` never returns negative numbers, so this was an overcautious expression. | ||||
| * | Guard against negative `index` in `inject_at` | Feoramund | 2025-06-04 | 1 | -0/+9 |
| | | | | | Fixes #4595 | ||||
| * | Merge pull request #4599 from Barinzaya/fix_dynamic_resize_zeroing_on_grow | gingerBill | 2025-01-06 | 1 | -3/+5 |
| |\ | | | | | Fix dynamic array not zeroing when growing | ||||
| | * | Fixed zeroing in resize_dynamic_array. | Barinzaya | 2024-12-19 | 1 | -3/+5 |
| | | | | | | | | | | | | | When a dynamic array has unused capacity and is resized to a size greater than its capacity, the unused part of its capacity wasn't being zeroed. | ||||
| * | | Merge pull request #4533 from laytan/map-entry | gingerBill | 2025-01-06 | 1 | -0/+26 |
| |\ \ | | | | | | | add `map_entry` procedure | ||||
| | * | | add `map_entry` procedure | Laytan Laats | 2024-11-28 | 1 | -0/+26 |
| | |/ | |||||
| * / | base/runtime: Add `ensure` and `ensure_contextless` | Yawning Angel | 2024-12-25 | 1 | -0/+29 |
| |/ | | | | | | | This provides an equivalent to `assert` and `assert_contextless` that are always evaluated, ignoring `ODIN_DISABLE_ASSERT`, which is useful for enforcing API contracts or "asserting" on conditionals with side-effects. | ||||
| * | [runtime] `make(map[K]V)` should not allocate any capacity | Tetralux | 2024-11-16 | 1 | -2/+2 |
| | | | | | | | | `make(map[K]V)` was resolving to `make_map_cap()` which allocates initial capacity when it wasn't intended to. It now calls `make_map()` which doesn't allocate any capacity. Both `make(map[K]V)` and `make(map[K]V, allocator)` will NOT allocate initial capacity now. | ||||
| * | math/rand: add `choice_bit_set` | Laytan Laats | 2024-10-26 | 1 | -13/+1 |
| | | |||||
| * | Add make_map that just takes an allocator and no capacity, similar to ↵ | Karl Zylinski | 2024-10-02 | 1 | -2/+14 |
| | | | | | make_dynamic_array. This renames the old make_map to make_map_cap. | ||||
| * | Add documentation to `runtime.container_of` | mtarik34b | 2024-09-29 | 1 | -0/+33 |
| | | |||||
| * | add '#caller_expression' | Laytan Laats | 2024-09-14 | 1 | -2/+2 |
| | | |||||
| * | Added `#any_int` directive to some more builtin slice/dynamic array | Franz Hoeltermann | 2024-09-03 | 1 | -10/+10 |
| | | | | | procedures | ||||
| * | Add `assert_contextless`, `panic_contextless`, `unimplemented_contextless` | gingerBill | 2024-08-14 | 1 | -0/+27 |
| | | |||||
| * | fix copy-paste error in `make` docs | Laytan Laats | 2024-08-11 | 1 | -2/+2 |
| | | |||||
| * | Type erase `_make_dynamic_array_len_cap` | gingerBill | 2024-07-15 | 1 | -6/+13 |
| | | |||||
| * | Minor clean ups | gingerBill | 2024-07-14 | 1 | -8/+11 |
| | | |||||
| * | Inline `_append_elem_string` further | gingerBill | 2024-07-14 | 1 | -6/+1 |
| | | |||||
| * | Type erase for `append_elems` | gingerBill | 2024-07-14 | 1 | -32/+33 |
| | | |||||
| * | Type erase `append_elem` | gingerBill | 2024-07-14 | 1 | -29/+29 |
| | | |||||
| * | type erase `resize` and `reserve` internals | gingerBill | 2024-07-14 | 1 | -22/+21 |
| | | |||||
| * | Imply `#no_capture` to all variadic parameters | gingerBill | 2024-07-14 | 1 | -4/+4 |
| | | |||||
| * | Add more uses of `#no_capture` | gingerBill | 2024-07-14 | 1 | -7/+7 |
| | | |||||
| * | Add `non_zero_*` variants for `#soa` dynamic array | gingerBill | 2024-07-01 | 1 | -3/+18 |
| | | |||||
| * | Add `#soa` support to `append` directly | gingerBill | 2024-07-01 | 1 | -0/+3 |
| | | |||||
| * | Add #soa forms to reserve, clear, and resize | gingerBill | 2024-07-01 | 1 | -4/+23 |
| | | |||||
| * | Add support for `make(#soa[]T)` etc | gingerBill | 2024-07-01 | 1 | -0/+5 |
| | | |||||
| * | Made default capacity of dynamic arrays more consistent. | Karl Zylinski | 2024-06-29 | 1 | -5/+5 |
| | | | | | | | | | | Before this if you do `arr: [dynamic]int` and then append to arr, then it will have capacity 8. But if you did `arr := make([dynamic]int, context.temp_allocator)` then arr would have capacity 16. Now both `arr: [dynamic]int` and `arr := make([dynamic]int, context.temp_allocator)` will resut in arr having zero 0. The only reason to use `make` without an explicit len or cap now is because you want to set it up for a non-default allocator. After the first call to `append` it will now in both cases have capacity 8. I also updated the documentation on the strings builder, both to reflect this, and also to fix it incorrectly saying that len would be 'max(16,len)', which wasn't true even before these changes. | ||||
| * | Merge pull request #3502 from ARtemachka/master | gingerBill | 2024-06-28 | 1 | -2/+2 |
| |\ | | | | | Fix typo in core_builtin | ||||
| | * | Fix typo in core_builtin | Artsiom Babukh | 2024-04-28 | 1 | -2/+2 |
| | | | |||||
| * | | Replace `max(8, 1)` in _append_elem with just `8` and a comment. | Karl Zylinski | 2024-06-25 | 1 | -1/+2 |
| | | | |||||
| * | | Use `#any_int` for `reserve_*` and `resize_*` procs | Feoramund | 2024-06-10 | 1 | -5/+5 |
| |/ | | | | Resolves #3088 | ||||
| * | Correct `copy_from_string` docs | Chris | 2024-04-16 | 1 | -2/+2 |
| | | |||||
| * | Fix `resize` bug caused by typo | gingerBill | 2024-03-24 | 1 | -1/+1 |
| | | |||||
| * | Fix `resize` zeroing behaviour | gingerBill | 2024-03-24 | 1 | -0/+3 |
| | | |||||