| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Add `non_zero_*` variants for `#soa` dynamic array | gingerBill | 2024-07-01 | 2 | -6/+61 |
| | | |||||
| * | Add `#soa` support to `append` directly | gingerBill | 2024-07-01 | 1 | -0/+3 |
| | | |||||
| * | Add `#no_broadcast` to `append_soa` | gingerBill | 2024-07-01 | 1 | -2/+2 |
| | | |||||
| * | 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 |
| | | |||||
| * | Unify #soa code for structs and arrays | gingerBill | 2024-07-01 | 1 | -42/+15 |
| | | |||||
| * | wasi: make the demo run on wasi and run it in CI | Laytan Laats | 2024-06-29 | 3 | -4/+53 |
| | | |||||
| * | Fix loads of indentation issues with mixing spaces and tabs | gingerBill | 2024-06-29 | 1 | -2/+2 |
| | | |||||
| * | Even more style fixes | gingerBill | 2024-06-29 | 1 | -1/+1 |
| | | |||||
| * | Remove unneeded `transmute` | gingerBill | 2024-06-29 | 1 | -1/+1 |
| | | |||||
| * | Add another `-vet-cast` check | gingerBill | 2024-06-29 | 1 | -0/+1 |
| | | |||||
| * | Update for `transmute` `-vet-cast` | gingerBill | 2024-06-29 | 2 | -9/+9 |
| | | |||||
| * | Check for unneeded `transmute` with `-vet-cast` | gingerBill | 2024-06-29 | 1 | -1/+1 |
| | | |||||
| * | Use explicit calling conventions | gingerBill | 2024-06-29 | 1 | -4/+4 |
| | | |||||
| * | Merge branch 'master' of https://github.com/odin-lang/Odin | gingerBill | 2024-06-29 | 2 | -8/+9 |
| |\ | |||||
| | * | Made default capacity of dynamic arrays more consistent. | Karl Zylinski | 2024-06-29 | 2 | -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 ↵ | gingerBill | 2024-06-29 | 1 | -17/+20 |
| |/ | | | | improve accuracy and performance | ||||
| * | 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 |
| | | | |||||
| * | | Initialize default `context` in `heap_allocator_other.odin` | gingerBill | 2024-06-28 | 1 | -0/+3 |
| | | | |||||
| * | | Replace `max(8, 1)` in _append_elem with just `8` and a comment. | Karl Zylinski | 2024-06-25 | 1 | -1/+2 |
| | | | |||||
| * | | Make `runtime.heap_alloc` `contextless` | gingerBill | 2024-06-25 | 5 | -15/+15 |
| | | | |||||
| * | | Fix unaligned store for rand | Jeroen van Rijn | 2024-06-20 | 1 | -1/+1 |
| | | | |||||
| * | | Optimize default RNG for the common case | Feoramund | 2024-06-20 | 1 | -9/+16 |
| | | | |||||
| * | | Clarify that the arena in base:runtime shouldn't be used for anything but ↵ | Karl Zylinski | 2024-06-18 | 1 | -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 state | Feoramund | 2024-06-15 | 1 | -1/+6 |
| | | | |||||
| * | | Update `core:math/rand` to use `context.random_generator` and remove `rand.Rand` | gingerBill | 2024-06-15 | 1 | -2/+16 |
| | | | |||||
| * | | Add `Reset` mode | gingerBill | 2024-06-15 | 2 | -13/+25 |
| | | | |||||
| * | | Add `runtime.default_random_generator` | gingerBill | 2024-06-15 | 2 | -1/+70 |
| | | | |||||
| * | | Add random_generator.odin | gingerBill | 2024-06-15 | 1 | -0/+27 |
| | | | |||||
| * | | Add `runtime.Random_Generator` interface | gingerBill | 2024-06-15 | 1 | -0/+19 |
| | | | |||||
| * | | Use `#any_int` for `reserve_*` and `resize_*` procs | Feoramund | 2024-06-10 | 1 | -5/+5 |
| | | | | | | | | | Resolves #3088 | ||||
| * | | Add compilation-related constants | Feoramund | 2024-06-10 | 1 | -0/+13 |
| | | | | | | | | | | | | | | | | | | | | | | | `ODIN_VERSION_HASH` is the `git` SHA hash of the commit the Odin compiler was built with. `ODIN_MICROARCH_STRING` is the string passed to `-microarch` when the program was built. `ODIN_OPTIMIZATION_MODE` is an enum value of which optimization mode was used to build the program. | ||||
| * | | Change indentation | gingerBill | 2024-06-09 | 1 | -14/+14 |
| | | | |||||
| * | | Add `@(rodata)` and `@(static, rodata)` where appropriate | gingerBill | 2024-06-06 | 1 | -2/+2 |
| | | | |||||
| * | | improve orca target | Laytan Laats | 2024-06-05 | 8 | -16/+117 |
| | | | |||||
| * | | Fix some typos | Feoramund | 2024-06-04 | 1 | -1/+1 |
| | | | |||||
| * | | Add missing `Raw_*` types for complex and quaternion | Feoramund | 2024-06-03 | 1 | -0/+3 |
| | | | |||||
| * | | Move `Raw_Complex/Quaternion` types to `base:runtime` | Feoramund | 2024-06-03 | 1 | -0/+6 |
| | | | |||||
| * | | wasm: fix target wasm64p32 runtime procs | Laytan Laats | 2024-05-31 | 1 | -9/+15 |
| | | | | | | | | | | | | | | | | | LLVM generates calls with `i32` regardless of target, so if a call to any of these procs was generated this failed to compile. I opted to fix by changing from `int` to `i32` on wasm64p32 and adding `#any_int` so existing code keeps working. | ||||
| * | | Make `ODIN_OS`, `ODIN_BUILD_MODE` comments congruent to underlying data | Feoramund | 2024-05-28 | 1 | -0/+3 |
| | | | | | | | | | Sourced from `src/checker.cpp`. | ||||
| * | | wasm: enable default temp allocator | Laytan Laats | 2024-05-24 | 1 | -1/+1 |
| | | | | | | | | | After #3592 I think it makes sense to also enable the temp allocator by default | ||||
| * | | Merge pull request #3592 from laytan/wasm-gpa | gingerBill | 2024-05-20 | 4 | -2/+905 |
| |\ \ | | | | | | | add a default heap/general purpose allocator for wasm to `base:runtime` | ||||
| | * | | add a default heap/general purpose allocator for wasm to `base:runtime` | Laytan Laats | 2024-05-16 | 4 | -3/+906 |
| | | | | |||||
| * | | | Merge pull request #3570 from jasonKercher/linux-arm32 | gingerBill | 2024-05-20 | 1 | -1/+5 |
| |\ \ \ | | | | | | | | | Get the compiler to build and work on arm32 Linux | ||||
| | * | | | arm32 now compiles and runs demo | jasonkercher | 2024-05-10 | 1 | -1/+5 |
| | | | | | |||||
| * | | | | Correct #soa RTTI usage | gingerBill | 2024-05-16 | 1 | -8/+8 |
| | |/ / |/| | | |||||
| * | | | Merge pull request #3439 from andreas-jonsson/netbsd | gingerBill | 2024-05-15 | 3 | -4/+8 |
| |\ \ \ | | | | | | | | | NetBSD support | ||||
| | * \ \ | Merge branch 'master' into netbsd | Andreas T Jonsson | 2024-05-13 | 1 | -8/+8 |
| | |\ \ \ | |||||
| | * \ \ \ | Merged with master | Andreas T Jonsson | 2024-05-02 | 1 | -4/+4 |
| | |\ \ \ \ | | | |/ / | | |/| | | |||||