| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | base/runtime: Add chacha8rand as the default RNG | Yawning Angel | 2025-11-29 | 5 | -85/+796 |
| | | |||||
| * | base/runtime: Add `rand_bytes` and `HAS_RAND_BYTES` | Yawning Angel | 2025-11-29 | 10 | -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. | ||||
| * | Remove `#no_copy` | gingerBill | 2025-11-05 | 1 | -1/+1 |
| | | |||||
| * | Add `#all_or_none` | gingerBill | 2025-11-05 | 2 | -7/+7 |
| | | |||||
| * | Merge pull request #5859 from odin-lang/bill/change-licensedev-2025-11 | gingerBill | 2025-11-04 | 1 | -2/+0 |
| |\ | | | | | Change Odin's LICENSE to zlib from BSD 3-clause | ||||
| | * | Change Odin's LICENSE to zlib from BSD 3-clause | gingerBill | 2025-10-28 | 1 | -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 procs | thetarnav | 2025-11-02 | 1 | -3/+7 |
| | | | |||||
| * | | Add `inject_at_soa` and `append_nothing_soa` procedures | thetarnav | 2025-11-02 | 1 | -0/+111 |
| | | | |||||
| * | | Bodge `runtime.exit` for haiku | gingerBill | 2025-10-31 | 1 | -1/+1 |
| | | | |||||
| * | | Remove duplicate import | Jeroen van Rijn | 2025-10-30 | 1 | -3/+0 |
| | | | |||||
| * | | Correct cast to `uintptr` | gingerBill | 2025-10-30 | 1 | -1/+1 |
| | | | |||||
| * | | Add `runtime.exit` | gingerBill | 2025-10-30 | 10 | -0/+73 |
| |/ | |||||
| * | fix: typo | samwega | 2025-10-14 | 1 | -1/+1 |
| | | |||||
| * | Add some more docs | gingerBill | 2025-10-07 | 1 | -0/+22 |
| | | |||||
| * | Add some basic docs to `Default_Temp_Allocator` | gingerBill | 2025-10-07 | 1 | -0/+6 |
| | | |||||
| * | Add docs to `nil_allocator` and `panic_allocator` | gingerBill | 2025-10-07 | 1 | -0/+11 |
| | | |||||
| * | Improve core_builtin.odin docs | gingerBill | 2025-10-07 | 1 | -19/+94 |
| | | |||||
| * | Correct signature (missing return value) for `objc_msgSendSuper2` | Harold Brenes | 2025-09-30 | 1 | -1/+3 |
| | | |||||
| * | Automatically emit objc_msgSend calls when calling imported or implemented ↵ | Harold Brenes | 2025-09-29 | 1 | -4/+12 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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_*` | gingerBill | 2025-09-29 | 1 | -18/+16 |
| | | |||||
| * | Remove unused variablebill/conditional-zero | gingerBill | 2025-09-27 | 1 | -1/+0 |
| | | |||||
| * | Add `runtime.conditional_mem_zero` to improve `heap_allocator` performance ↵ | gingerBill | 2025-09-27 | 2 | -4/+56 |
| | | | | | on non-Windows systems | ||||
| * | Change inlining semantics for some builtin calls | gingerBill | 2025-09-25 | 2 | -14/+14 |
| | | |||||
| * | Merge pull request #5632 from kalsprite/x386 | gingerBill | 2025-09-18 | 2 | -2/+19 |
| |\ | | | | | 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 | 2 | -2/+19 |
| | | | |||||
| * | | More improvements to minimize code gen size | gingerBill | 2025-09-18 | 2 | -7/+18 |
| | | | |||||
| * | | Type erasure to minimize code generation size | gingerBill | 2025-09-18 | 1 | -14/+21 |
| | | | |||||
| * | | Add require_results attr to procs returning an allocator | Damian Tarnawski | 2025-09-02 | 5 | -1/+7 |
| |/ | |||||
| * | Add missing test attr and don't zero memory when reserve already did | Damian Tarnawski | 2025-08-26 | 1 | -8/+7 |
| | | |||||
| * | Merge branch 'master' into soa-resize-zero-memory | gingerBill | 2025-08-26 | 1 | -5/+67 |
| |\ | |||||
| | * | Cleanup soa resize logic—reduce nesting | Damian Tarnawski | 2025-08-24 | 1 | -32/+32 |
| | | | |||||
| | * | Handle nil old data case | Damian Tarnawski | 2025-08-24 | 1 | -41/+48 |
| | | | |||||
| | * | Always use .Resize_Non_Zeroed in _reserve_soa | Damian Tarnawski | 2025-08-23 | 1 | -1/+1 |
| | | | |||||
| | * | Avoid overlap issues when correcting memory after resize in _reserve_soa | Damian Tarnawski | 2025-08-23 | 1 | -5/+14 |
| | | | |||||
| | * | Only zero memory when requested | Damian Tarnawski | 2025-08-23 | 1 | -9/+9 |
| | | | |||||
| | * | Support using allocator resize in `_reserve_soa` (fixes #5615) | Damian Tarnawski | 2025-08-23 | 1 | -5/+51 |
| | | | |||||
| * | | Zero existing memory when using resize_soa (fixes #5614) | Damian Tarnawski | 2025-08-23 | 1 | -0/+24 |
| |/ | |||||
| * | Fix stride in `memory_equal/compare_zero` giving false positves | blob1807 | 2025-08-21 | 1 | -4/+4 |
| | | | | | The previous stride of 8 assumed `uintptr` size is 8 which isn't the case on 32bit & wasm64p32. Skipping every other set of 4 bytes | ||||
| * | fix: throwing away the last generated byte in default_random_generator_proc | Xotchkass | 2025-08-14 | 1 | -1/+1 |
| | | |||||
| * | Merge pull request #5558 from odin-lang/bill/init-fini-changes | gingerBill | 2025-08-10 | 5 | -10/+20 |
| |\ | | | | | `@(init)` & `@(finit)` Changes. | ||||
| | * | `contextless` fixes for `js` | gingerBill | 2025-08-08 | 1 | -2/+2 |
| | | | |||||
| | * | Require `@(init)` and `@(fini)` to be `proc "contextless" ()` | gingerBill | 2025-08-08 | 4 | -8/+18 |
| | | | |||||
| * | | Update runtime doc file | Sunagatov Denis | 2025-08-08 | 2 | -180/+244 |
| |/ | | | | | | | | | | | | | | | | | | | | This updates and reformats the doc file for the runtime package. The list of things that need to be implemented for a compiler runtime to work has been updated in accordance with recent changes to runtime (notably `cstring16` and `string16` types and `#load_directory`). Some copy-paste errors around string-comparison procedures have been fixed. The file has been renamed to `doc.odin` as per convention, the comment has been moved to the top of the package declaration and the comment is now markdown-formatted. Also wrote down a little map to maybe slightly help with understanding navigation within package runtime's files and added a few more explanations as to why that list of declarations exists and how to use it. The list of declarations has been detailed to some degree, explaining under what conditions the declarations are required. | ||||
| * | Implementes the block ABI.2010.3.16 natively via the `objc_block` intrinsic ↵ | Harold Brenes | 2025-08-06 | 2 | -1/+16 |
| | | | | | | | and the `Objc_Block` builtin type. See: https://clang.llvm.org/docs/Block-ABI-Apple.html | ||||
| * | Change `is_utf16` field to `encoding` and use an enum | gingerBill | 2025-08-05 | 2 | -3/+9 |
| | | |||||
| * | `for in string16`; Support `string16` across core | gingerBill | 2025-08-02 | 1 | -0/+62 |
| | | |||||
| * | Begin supporting `string16` across the core library | gingerBill | 2025-08-02 | 1 | -0/+6 |
| | | |||||
| * | Add `string16` and `cstring16` (UTF-16 based strings) | gingerBill | 2025-08-02 | 3 | -2/+126 |
| | | |||||