aboutsummaryrefslogtreecommitdiff
path: root/base
Commit message (Collapse)AuthorAgeFilesLines
* Update builtin constantsDamian Tarnawski2024-07-311-2/+3
|
* add `#optional_ok` to docs file for intrinsicsLaytan Laats2024-07-161-3/+3
|
* fix `add_sat` and `sub_sat` intrinsicsLaytan Laats2024-07-161-3/+6
|
* fix some bugs with -disable-assertLaytan Laats2024-07-161-1/+2
|
* help `fmt` with `Type_Info_Struct` and `Type_Info_Bit_Field` changesLaytan Laats2024-07-151-10/+10
|
* Type erase `_make_dynamic_array_len_cap`gingerBill2024-07-151-6/+13
|
* Add `#force_no_inline`gingerBill2024-07-141-6/+6
|
* Minor clean upsgingerBill2024-07-141-8/+11
|
* Inline `_append_elem_string` furthergingerBill2024-07-141-6/+1
|
* Type erase for `append_elems`gingerBill2024-07-141-32/+33
|
* Type erase `append_elem`gingerBill2024-07-141-29/+29
|
* type erase `resize` and `reserve` internalsgingerBill2024-07-141-22/+21
|
* Reduce the size of `runtime.Type_Info`gingerBill2024-07-142-25/+36
|
* Imply `#no_capture` to all variadic parametersgingerBill2024-07-143-8/+8
|
* Add more uses of `#no_capture`gingerBill2024-07-143-12/+12
|
* Add hinstdll forward to runtime globalsJeroen van Rijn2024-07-102-1/+4
|
* fix `@(optimization_mode)` usage in builtin collectionsLaytan Laats2024-07-081-1/+1
|
* darwin: remove syscall usage (without -no-crt) to comply to Apple guidelinesLaytan Laats2024-07-081-5/+18
|
* Add `intrinsics.type_struct_has_implicit_padding` #3844gingerBill2024-07-011-1/+2
|
* Add `non_zero_*` variants for `#soa` dynamic arraygingerBill2024-07-012-6/+61
|
* Add `#soa` support to `append` directlygingerBill2024-07-011-0/+3
|
* Add `#no_broadcast` to `append_soa`gingerBill2024-07-011-2/+2
|
* Add #soa forms to reserve, clear, and resizegingerBill2024-07-011-4/+23
|
* Add support for `make(#soa[]T)` etcgingerBill2024-07-011-0/+5
|
* Unify #soa code for structs and arraysgingerBill2024-07-011-42/+15
|
* wasi: make the demo run on wasi and run it in CILaytan Laats2024-06-293-4/+53
|
* Fix loads of indentation issues with mixing spaces and tabsgingerBill2024-06-291-2/+2
|
* Even more style fixesgingerBill2024-06-291-1/+1
|
* Remove unneeded `transmute`gingerBill2024-06-291-1/+1
|
* Add another `-vet-cast` checkgingerBill2024-06-291-0/+1
|
* Update for `transmute` `-vet-cast`gingerBill2024-06-292-9/+9
|
* Check for unneeded `transmute` with `-vet-cast`gingerBill2024-06-291-1/+1
|
* Use explicit calling conventionsgingerBill2024-06-291-4/+4
|
* Merge branch 'master' of https://github.com/odin-lang/OdingingerBill2024-06-292-8/+9
|\
| * Made default capacity of dynamic arrays more consistent.Karl Zylinski2024-06-292-8/+9
| | | | | | | | | | | | | | | | | | 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.
* | Use `f32` operations rather than `f16` in `complex32` and `quaternion64` to ↵gingerBill2024-06-291-17/+20
|/ | | | improve accuracy and performance
* Merge pull request #3502 from ARtemachka/mastergingerBill2024-06-281-2/+2
|\ | | | | Fix typo in core_builtin
| * Fix typo in core_builtinArtsiom Babukh2024-04-281-2/+2
| |
* | Initialize default `context` in `heap_allocator_other.odin`gingerBill2024-06-281-0/+3
| |
* | Replace `max(8, 1)` in _append_elem with just `8` and a comment.Karl Zylinski2024-06-251-1/+2
| |
* | Make `runtime.heap_alloc` `contextless`gingerBill2024-06-255-15/+15
| |
* | Fix unaligned store for randJeroen van Rijn2024-06-201-1/+1
| |
* | Optimize default RNG for the common caseFeoramund2024-06-201-9/+16
| |
* | Merge pull request #3524 from Feoramund/freebsd-amd64-syscall-errnogingerBill2024-06-201-0/+2
|\ \ | | | | | | Add `intrinsics.syscall_bsd`
| * | Add `intrinsics.syscall_bsd`Feoramund2024-06-121-0/+2
| | | | | | | | | | | | | | | | | | This is a BSD-style syscall that checks for a high Carry Flag as the error state. If the CF is high, the boolean return value is false, and if it is low (no errors) then the boolean return value is true.
* | | Clarify that the arena in base:runtime shouldn't be used for anything but ↵Karl Zylinski2024-06-181-1/+2
| | | | | | | | | | | | the default temp allocator. This is done by renaming the file in which it lives, and also by improving the comment above `Arena :: struct {`. This should avoid some confusion where people end up using the Arena in base:runtime because they thought it was the 'default arena'.
* | | Fix `default_random_generator_proc` not using stateFeoramund2024-06-151-1/+6
| | |
* | | Update `core:math/rand` to use `context.random_generator` and remove `rand.Rand`gingerBill2024-06-151-2/+16
| | |
* | | Add `Reset` modegingerBill2024-06-152-13/+25
| | |
* | | Add `runtime.default_random_generator`gingerBill2024-06-152-1/+70
| | |