| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Change `is_utf16` field to `encoding` and use an enum | gingerBill | 2025-08-05 | 1 | -2/+3 |
| | | |||||
| * | Begin supporting `string16` across the core library | gingerBill | 2025-08-02 | 1 | -3/+5 |
| | | |||||
| * | Remove use of `.no_copy` | gingerBill | 2025-07-30 | 1 | -1/+1 |
| | | |||||
| * | Change hashing rules for float-like types to make `0 == -0` | gingerBill | 2025-04-16 | 1 | -3/+40 |
| | | |||||
| * | Remove Type_Info_Tuple | Jeroen van Rijn | 2025-04-13 | 2 | -9/+2 |
| | | |||||
| * | Add `reflect.length` + `reflect.capacity` support for `#simd[N]T` | Jeroen van Rijn | 2025-04-11 | 1 | -0/+8 |
| | | |||||
| * | Add fix to `reflect.typeid_elem` | Jeroen van Rijn | 2025-04-11 | 1 | -0/+1 |
| | | |||||
| * | Remove `#relative` types from the compiler | gingerBill | 2024-11-14 | 2 | -86/+27 |
| | | |||||
| * | reflect: add `enum_value_has_name` proc | Laytan Laats | 2024-11-11 | 1 | -0/+21 |
| | | | | | | Easy way to check if the current value has a defined name/member in the enum type. | ||||
| * | Add a few more reflect.bit_field_* helpers. | Jeroen van Rijn | 2024-08-30 | 1 | -23/+68 |
| | | |||||
| * | Add reflect.bit_fields_zipped | Jeroen van Rijn | 2024-08-30 | 1 | -0/+23 |
| | | |||||
| * | fix core:reflect/iterator.odin | unknown | 2024-08-24 | 1 | -1/+6 |
| | | |||||
| * | fix `type_info_union_is_pure_maybe` only working with regular pointers | Laytan Laats | 2024-08-11 | 1 | -1/+1 |
| | | | | | Fixes #3996 | ||||
| * | Update comment. | Jeroen van Rijn | 2024-08-05 | 1 | -3/+5 |
| | | |||||
| * | Add `reflect.struct_field_count` that returns the number of fields in a ↵ | Jeroen van Rijn | 2024-08-05 | 1 | -0/+56 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | struct type Example: ```odin package struct_count_example import "core:fmt" import "core:reflect" import "core:dynlib" Foo :: struct{ one: int, two: f32, } Bar :: struct { three: int, four: bool, five: f64, } Game_Api :: struct { init: proc(api: ^Game_Api), update: proc(api: ^Game_Api), using foo: Foo, bar: Bar, // Private stuff reload_count: int, __handle: rawptr, } API_PRIVATE_COUNT :: 2 game_api: Game_Api main :: proc() { fmt.printfln("Game_Api, .Top: %v", reflect.struct_field_count(Game_Api)) // 6 fmt.printfln("Game_Api, .Using: %v", reflect.struct_field_count(Game_Api, .Using)) // 8 fmt.printfln("Game_Api, .Recursive: %v", reflect.struct_field_count(Game_Api, .Recursive)) // 11 symbols_loaded, _ := dynlib.initialize_symbols(&game_api, "game.dll") symbols_expected := reflect.struct_field_count(Game_Api) - API_PRIVATE_COUNT if symbols_loaded == -1 { fmt.eprintln("Couldn't load game.dll") return } else if symbols_loaded != symbols_expected { fmt.eprintfln("Expected %v symbols, got %v", symbols_expected, symbols_loaded) return } } ``` | ||||
| * | fix `reflect.any_base` and `reflect.any_core` with any's containing nil | Laytan Laats | 2024-07-22 | 1 | -2/+2 |
| | | |||||
| * | Add `#force_no_inline` | gingerBill | 2024-07-14 | 1 | -1/+1 |
| | | |||||
| * | Reduce the size of `runtime.Type_Info` | gingerBill | 2024-07-14 | 2 | -27/+26 |
| | | |||||
| * | Fix `reflect.as_pointer` | gingerBill | 2024-07-04 | 1 | -1/+1 |
| | | |||||
| * | Fix loads of indentation issues with mixing spaces and tabs | gingerBill | 2024-06-29 | 1 | -2/+2 |
| | | |||||
| * | Fix printing of big endian integers in a `bit_field` | gingerBill | 2024-04-27 | 1 | -0/+61 |
| | | |||||
| * | Merge pull request #3045 from laytan/cbor | gingerBill | 2024-04-15 | 1 | -0/+21 |
| |\ | | | | | encoding/cbor | ||||
| | * | encoding/cbor: deterministically store bit sets as big endian | Laytan Laats | 2024-03-04 | 1 | -0/+21 |
| | | | |||||
| * | | Add `#row_major matrix[R, C]T` | gingerBill | 2024-03-19 | 1 | -0/+4 |
| |/ | | | | | As well as `#column_major matrix[R, C]T` as an alias for just `matrix[R, C]T`. This is because some libraries require a row_major internal layout but still want to be used with row or major oriented vectors. | ||||
| * | Begin work adding `bit_field` | gingerBill | 2024-02-22 | 2 | -0/+41 |
| | | |||||
| * | Add `reflect.enum_name_from_value` and `reflect.enum_name_from_value_any` | gingerBill | 2024-02-21 | 1 | -0/+37 |
| | | |||||
| * | Replace `core:*` to `base:*` where appropriate | gingerBill | 2024-01-28 | 2 | -3/+3 |
| | | |||||
| * | Remove `core:mem` dependency from `core:reflect` | gingerBill | 2024-01-28 | 1 | -3/+1 |
| | | |||||
| * | Change return values from `Struct_Tag` to `string` | gingerBill | 2024-01-28 | 1 | -5/+5 |
| | | |||||
| * | Require parentheses for `#align(N)` | gingerBill | 2023-08-15 | 1 | -4/+4 |
| | | |||||
| * | Remove #relative slices; Replace with #relative multi-pointers | gingerBill | 2023-08-05 | 2 | -68/+66 |
| | | |||||
| * | Replace `x in &y` Use `&v in y` syntax through core & vendor for ↵ | gingerBill | 2023-06-26 | 1 | -2/+2 |
| | | | | | `switch`/`for` statements | ||||
| * | Rename `ODIN_DISALLOW_RTTI` to `ODIN_NO_RTTI`; Remove dead command line flags | gingerBill | 2023-06-12 | 1 | -1/+1 |
| | | |||||
| * | Remove typo | jakubtomsu | 2023-04-23 | 1 | -1/+1 |
| | | |||||
| * | Add `reflect.struct_field_value` | gingerBill | 2023-03-17 | 1 | -1/+8 |
| | | |||||
| * | Rename to `Type_Info_Parameters` | gingerBill | 2023-02-08 | 2 | -8/+15 |
| | | |||||
| * | Remove `@(require_results)` from one procedure | gingerBill | 2023-01-30 | 1 | -1/+0 |
| | | |||||
| * | Add `@(require_results)` to `package reflect` | gingerBill | 2023-01-29 | 3 | -3/+86 |
| | | |||||
| * | Fix #2304 | gingerBill | 2023-01-16 | 1 | -3/+4 |
| | | |||||
| * | Aliasing some procs to avoid code repetition | André (counter) | 2022-12-09 | 1 | -36/+7 |
| | | | | | | Aliasing some procedures within package reflect so they reference procedures from package runtime. This avoids redundancy and potential deviation. Not 100% sure about the ODIN_DISALLOW_RTTI part but I think it should be congruent as well. | ||||
| * | Correct `iterate_map` | gingerBill | 2022-11-10 | 1 | -1/+1 |
| | | |||||
| * | Add reflect/iterator.odin | gingerBill | 2022-11-10 | 1 | -0/+76 |
| | | |||||
| * | Correct reflection usage of maps | gingerBill | 2022-11-08 | 1 | -36/+0 |
| | | |||||
| * | Correct `reflect.map_entry_info_slice` | gingerBill | 2022-11-08 | 1 | -26/+20 |
| | | |||||
| * | Begin work on implementing the new `map` internals | gingerBill | 2022-11-07 | 1 | -2/+2 |
| | | |||||
| * | Keep -vet happy | gingerBill | 2022-09-08 | 1 | -0/+1 |
| | | |||||
| * | Add `intrinsics.type_convert_variants_to_pointers` and ↵ | gingerBill | 2022-09-08 | 1 | -0/+10 |
| | | | | | `reflect.get_union_as_ptr_variants` | ||||
| * | Remove direct `core:mem` dependency in `core:reflect` | gingerBill | 2022-08-26 | 1 | -24/+23 |
| | | |||||
| * | Add `reflect.get_union_variant` | gingerBill | 2022-08-26 | 1 | -0/+11 |
| | | |||||
| * | Remove unused `n` from PQ; add `reflect.is_bit_set` | Jeroen van Rijn | 2022-08-18 | 1 | -0/+5 |
| | | |||||