| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Merge pull request #3215 from blob1807/json-better-enum-support | gingerBill | 2024-03-06 | 1 | -1/+15 |
| |\ | | | | | core:encoding/json Add support for writing enum value names | ||||
| | * | Apply suggestions from code review | blob1807 | 2024-03-04 | 1 | -2/+2 |
| | | | | | | | | | | | Fixing spelling mistakes pointed out & fixed by layton. Co-authored-by: Laytan <laytanlaats@hotmail.com> | ||||
| | * | convert spaces to tabs | blob1807 | 2024-03-04 | 1 | -1/+1 |
| | | | |||||
| | * | Return underlining value instead of panicing | blob1807 | 2024-03-04 | 1 | -4/+6 |
| | | | | | | | | | | | | | | | | | when no name it found. Renamed use_enum_value_names to use_enum_names it get the same point across & inline with the reflect procs | ||||
| | * | changed to use reflect.enum_name_from_value_any | blob1807 | 2024-03-01 | 1 | -34/+2 |
| | | | |||||
| | * | Merge branch 'odin-lang:master' into json-better-enum-support | blob1807 | 2024-03-01 | 1 | -0/+3 |
| | |\ | |||||
| | * | | add all inter types to switch | blob1807 | 2024-02-21 | 1 | -3/+27 |
| | | | | |||||
| | * | | replace spaces with tabs | blob1807 | 2024-02-21 | 1 | -19/+19 |
| | | | | |||||
| | * | | add missing comma | blob1807 | 2024-02-21 | 1 | -1/+1 |
| | | | | |||||
| | * | | Add better support for Enums in json | blob1807 | 2024-02-21 | 1 | -1/+21 |
| | | | | | | | | | | | | | Can now output enum value's name instead of its underlineing value | ||||
| | * | | Revert json union fix | blob1807 | 2024-02-21 | 1 | -9/+0 |
| | | | | |||||
| | * | | Merge branch 'master' of https://github.com/blob1807/Odin | blob1807 | 2024-02-21 | 1 | -1/+0 |
| | |\ \ | |||||
| | * | | | Fix bug https://github.com/odin-lang/Odin/issues/3173 | blob1807 | 2024-02-21 | 1 | -0/+9 |
| | | | | | |||||
| * | | | | Fix #3173 | gingerBill | 2024-03-06 | 1 | -0/+5 |
| | | | | | |||||
| * | | | | Zero `intrinsics.alloca` | gingerBill | 2024-03-06 | 1 | -2/+5 |
| | | | | | |||||
| * | | | | Use `intrinsics.alloca` rather than `context.temp_allocator` in ↵ | gingerBill | 2024-03-06 | 1 | -5/+8 |
| | | | | | | | | | | | | | | | | | `json.unmarshal_object` | ||||
| * | | | | Fix #3250 | gingerBill | 2024-03-06 | 3 | -7/+15 |
| | |_|/ |/| | | |||||
| * | | | Begin work adding `bit_field` | gingerBill | 2024-02-22 | 1 | -0/+3 |
| | |/ |/| | |||||
| * | | remove return statement from case Type_Info_Enumerated_Array, as it causes ↵ | Kay | 2024-02-12 | 1 | -1/+0 |
| |/ | | | | early exit in JSON unmarshalling. | ||||
| * | Replace `core:*` to `base:*` where appropriate | gingerBill | 2024-01-28 | 2 | -2/+2 |
| | | |||||
| * | Merge pull request #2912 from ↵ | gingerBill | 2024-01-22 | 2 | -37/+121 |
| |\ | | | | | | | | | karl-zylinski/marshal-sort-maps-by-key-and-clone-value JSON: Option to sort marshaled maps before outputting + clone_value proc + small improvements | ||||
| | * | Made sure temp guard for sorting map keys in json marshal code ignores temp ↵ | Karl Zylinski | 2024-01-22 | 1 | -3/+3 |
| | | | | | | | | | allocator | ||||
| | * | Cleanup of json.clone_value | Karl Zylinski | 2023-11-01 | 1 | -4/+2 |
| | | | |||||
| | * | Added temp allocator guard to json.marshal, in case we temp alloc when ↵ | Karl Zylinski | 2023-11-01 | 1 | -0/+3 |
| | | | | | | | | | sorting map kesy | ||||
| | * | Reversed order of sort_maps_by_key check in marshal.odin to make PR ↵ | Karl Zylinski | 2023-11-01 | 1 | -26/+26 |
| | | | | | | | | | comparison clearer. | ||||
| | * | Indentation fix. | Karl Zylinski | 2023-11-01 | 1 | -3/+3 |
| | | | |||||
| | * | JSON: Option to sort marshaled maps before outputting. Also added a ↵ | Karl Zylinski | 2023-11-01 | 2 | -38/+121 |
| | | | | | | | | | json.clone_value proc | ||||
| * | | Enforce naming the parameters with `builtin.quaternion` to reduce confusion | gingerBill | 2024-01-05 | 1 | -3/+3 |
| | | | |||||
| * | | encoding/json: try to unmarshal into union variants | Laytan Laats | 2024-01-03 | 1 | -10/+27 |
| |/ | |||||
| * | cleanup: remove unused import | Rickard Andersson | 2023-10-02 | 1 | -1/+0 |
| | | |||||
| * | fix: guard against empty key value in `parse_object_body` | Rickard Andersson | 2023-10-02 | 1 | -6/+10 |
| | | |||||
| * | docs: add note about checking for alloc error | Rickard Andersson | 2023-10-02 | 1 | -0/+2 |
| | | |||||
| * | fix: use `runtime.map_insert` to not overallocate | Rickard Andersson | 2023-10-02 | 1 | -6/+4 |
| | | |||||
| * | fix(json): return `.Out_Of_Memory` when out of memory on parse | Rickard Andersson | 2023-10-02 | 1 | -0/+6 |
| | | | | | | Previously this would silently simply not do anything and the object would be empty/incomplete when parsed instead. | ||||
| * | Use `or_break` and `or_continue` where appropriate in the core library | gingerBill | 2023-09-30 | 1 | -5/+4 |
| | | |||||
| * | Fix bug with index increment in `unquote_string` | Abdelrahman Farid | 2023-09-19 | 1 | -1/+1 |
| | | |||||
| * | json.marshal: Don't output spaces if pretty=false | RLGingerBiscuit | 2023-08-25 | 1 | -6/+6 |
| | | |||||
| * | Remove #relative slices; Replace with #relative multi-pointers | gingerBill | 2023-08-05 | 1 | -1/+1 |
| | | |||||
| * | Replace `x in &y` Use `&v in y` syntax through core & vendor for ↵ | gingerBill | 2023-06-26 | 1 | -5/+5 |
| | | | | | `switch`/`for` statements | ||||
| * | fix #2550 json encoding should use surrogate pairs per RFC7159 | Laytan Laats | 2023-05-22 | 2 | -4/+13 |
| | | |||||
| * | Fix typo in marshal.odin | Ikko Eltociear Ashimine | 2023-04-27 | 1 | -2/+2 |
| | | | | seperation -> separation | ||||
| * | Convert indentation to tabs | jakubtomsu | 2023-04-14 | 1 | -6/+6 |
| | | |||||
| * | Handle unmarshalling to json.Value | jakubtomsu | 2023-04-14 | 1 | -0/+6 |
| | | |||||
| * | Fix for skip_alphanum in JSON tokenizer not checking if first character is ↵ | Karl Zylinski | 2023-04-05 | 1 | -1/+2 |
| | | | | | non-alphanum. This broke any single-character key when using SJSON specification in combination with not using quoted strings. | ||||
| * | Typo | Jeroen van Rijn | 2023-03-25 | 1 | -1/+1 |
| | | |||||
| * | Update types.odin | Jeroen van Rijn | 2023-03-25 | 1 | -6/+6 |
| | | | | | Use `context.allocator := allocator` idiom. | ||||
| * | Add allocator parameter to `json.detroy_value` | Igor Dreher | 2023-03-24 | 1 | -5/+5 |
| | | |||||
| * | Add `runtime.DEFAULT_TEMP_ALLOCATOR_TEMP_GUARD` where appropriate | gingerBill | 2023-02-10 | 1 | -0/+2 |
| | | |||||
| * | Rename to `Type_Info_Parameters` | gingerBill | 2023-02-08 | 1 | -1/+1 |
| | | |||||
| * | Fix json.marshal for `map[string]string` | gingerBill | 2023-01-24 | 1 | -0/+4 |
| | | |||||