aboutsummaryrefslogtreecommitdiff
path: root/core/runtime
Commit message (Collapse)AuthorAgeFilesLines
* Add runtime.dll_forward_reason for Windows DLLs.Jeroen van Rijn2022-06-212-5/+22
|
* Merge pull request #1818 from IanLilleyT/reserve_exceedgingerBill2022-06-121-2/+2
|\ | | | | Dynamic array append reserves more space when it exceeds capacity
| * Reserve more space when exceeding, not meeting, capacityIan Lilley2022-06-011-2/+2
| |
* | Merge pull request #1819 from IanLilleyT/no_query_infogingerBill2022-06-122-3/+3
|\ \ | | | | | | Allocator: tidying up Query_Info return values when not part of Query_Features
| * | tidying up Query_Info return value when not in query featuresIan Lilley2022-06-012-3/+3
| |/
* | Minor change to `shrink`gingerBill2022-06-121-4/+4
| |
* | [runtime] Add builtin `shrink` for dynamic arrays and mapsTetralux2022-06-043-2/+110
|/ | | | | | | | | | | | | | | Asks the allocator to shrink the backing allocation to the current __length__, or a capacity of the user's choosing. Returns `(did_shrink: bool, err: mem.Allocator_Error)`. ``` shrink(&array) // shrinks to len(array) shrink(&array, N) // shrink to N capacity shrink(&map) // shrinks down to len(map) shrink(&map, N) // shrink to N capacity ```
* Add `raw_simd_data`gingerBill2022-05-251-1/+5
|
* Merge functionality of `#maybe` with the standard 'union' functionalitygingerBill2022-05-232-2/+1
|
* Make `raw_data` return `[^]T` typesgingerBill2022-05-231-7/+7
|
* Clean up `core:time` to be consistent across all platformsgingerBill2022-05-121-1/+1
|
* Update arch enumgingerBill2022-05-012-2/+5
|
* Add new builtin `container_of`gingerBill2022-04-271-0/+10
|
* runtime: update comment descriptionhikari2022-04-161-0/+1
|
* runtime: fix typohikari2022-04-071-1/+1
|
* Merge pull request #1671 from colrdavidson/add_nocrtgingerBill2022-03-301-1/+1
|\ | | | | Make no crt work on Linux
| * Make no crt work on LinuxColin Davidson2022-03-301-1/+1
| |
* | `union #shared_nil`gingerBill2022-03-241-0/+1
| | | | | | | | This adds a feature to `union` which requires all the variants to have a `nil` value and on assign to the union, checks whether that value is `nil` or not. If the value is `nil`, the union will be `nil` (thus sharing the `nil` value)
* | Reinstate NBC.Jeroen van Rijn2022-03-151-1/+1
| |
* | [runtime] fix `insert_at` procedure group.Jeroen van Rijn2022-03-151-15/+18
|/
* Merge branch 'master' into freestanding_amd64gingerBill2022-03-142-1/+6
|\
| * Fix #1606 (Call `runtime._cleanup_runtime_contextless()` for `os.exit`)gingerBill2022-03-091-0/+5
| |
| * Merge pull request #1557 from semarie/openbsd-supportgingerBill2022-02-281-1/+1
| |\ | | | | | | initial OpenBSD support
| | * initial OpenBSD supportSébastien Marie2022-02-251-1/+1
| | |
* | | Correct calling convention for `_startup_runtime`gingerBill2022-02-281-1/+1
| | |
* | | Add `-disallow-rtti`gingerBill2022-02-283-115/+146
| | |
* | | Merge branch 'master' into freestanding_amd64gingerBill2022-02-281-1/+0
|\| |
| * | Remove `context.user_data`gingerBill2022-02-281-1/+0
| |/
* | Reorganize error check proceduresgingerBill2022-02-281-160/+157
| |
* | Add `-foreign-error-procedures`gingerBill2022-02-201-1/+19
|/
* Allow sysv and win64 calling conventions to be used on any platform on amd64gingerBill2022-02-161-0/+5
|
* Improve slice bounds checking runtime error messagesgingerBill2022-02-161-7/+7
|
* Merge pull request #1438 from odin-lang/odin-global-constants-as-enumsgingerBill2022-02-157-9/+38
|\ | | | | Odin global constants as enums
| * Merge branch 'master' into odin-global-constants-as-enumsgingerBill2022-02-154-9/+25
| |\
| * | Add `Odin_OS_Type` and `Odin_Arch_Type` to `core:runtime`gingerBill2022-01-201-0/+29
| | |
| * | Convert `ODIN_OS` and `ODIN_ARCH` to use enums rather than use stringsgingerBill2022-01-207-9/+9
| | |
* | | Use `objc_allocateClassPair` for `intrinsics.objc_register_class`gingerBill2022-02-141-0/+1
| | |
* | | Add procs_darwin.odingingerBill2022-02-081-0/+20
| |/ |/|
* | Rename `#partial[Enum]Type` to `#sparse[Enum]Type` for non-contiguous enum ↵gingerBill2022-02-052-0/+4
| | | | | | | | fields
* | fix logic in bswap_128Andrea Piseri2022-02-031-4/+2
| |
* | Add `ODIN_ERROR_POS_STYLE` constant and change ↵gingerBill2022-01-261-5/+15
| | | | | | | | `runtime.print_caller_location` based on that constant
* | Add comment for the internals of `assert`gingerBill2022-01-231-0/+4
|/
* Correct inverse and inverse_transpose for 2x2 matricesgingerBill2022-01-201-12/+12
|
* Comment out `link_section` on proceduresgingerBill2022-01-171-2/+2
|
* `ODIN_ENDIAN` changed to an enum constant; `ODIN_ENUM_STRING` is the new ↵gingerBill2022-01-152-1/+11
| | | | string version of the old constant
* Rename architecture `386` to `i386`gingerBill2022-01-152-1/+1
|
* Make `ODIN_BUILD_MODE` a enum typegingerBill2022-01-154-3/+16
|
* Define wasm `_start` entry point in Odin codegingerBill2022-01-131-0/+19
|
* Rename `proc_*` to `entry_*`gingerBill2022-01-132-0/+0
|
* Add `main` to proc_unix.odingingerBill2022-01-131-3/+13
|