| Commit message (Collapse) | Author | Age | Files | Lines | ||
|---|---|---|---|---|---|---|
| ... | ||||||
| | * | encoding/cbor: don't zero bytes we are going to write/read to/from anyway | Laytan Laats | 2024-03-04 | 1 | -16/+16 | |
| | | | ||||||
| | * | encoding/cbor: minor things | Laytan Laats | 2024-03-04 | 3 | -4/+6 | |
| | | | ||||||
| | * | encoding/cbor: add decoder flags and protect from malicious untrusted input | Laytan Laats | 2024-03-04 | 4 | -226/+335 | |
| | | | ||||||
| | * | encoding/cbor: fully support marshal/unmarshal of unions | Laytan Laats | 2024-03-04 | 3 | -6/+105 | |
| | | | ||||||
| | * | encoding/cbor: cleanup base64 tag | Laytan Laats | 2024-03-04 | 1 | -50/+62 | |
| | | | ||||||
| | * | encoding/base64: add decode_into, add tests | Laytan Laats | 2024-03-04 | 1 | -43/+90 | |
| | | | ||||||
| | * | encoding/cbor: initial package implementation | Laytan Laats | 2024-03-04 | 6 | -47/+3316 | |
| | | | ||||||
| * | | Add `json:"name,omitempty"` | gingerBill | 2024-04-10 | 2 | -10/+60 | |
| | | | ||||||
| * | | Allow for comma-separate json names `json:"name,flag"` | gingerBill | 2024-04-10 | 2 | -1/+11 | |
| | | | ||||||
| * | | correct newly found vets | Laytan Laats | 2024-04-03 | 3 | -14/+13 | |
| | | | ||||||
| * | | Json: improved unmarshalling of `using _: T` fields. | Franz Höltermann | 2024-03-27 | 1 | -9/+41 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | `using _: T` fields will now have their members unmarshalled to their parent types reflecting the new behaviour of json.marshall. Example: ```go A :: struct { using _: B, } B :: struct { field: string, } data := `{"field": "Hello World"}` a: A json.unmarshal_string(data, &a) ``` | |||||
| * | | Json: fields on structs like 'using _: T' will now have T's fields | Franz Höltermann | 2024-03-26 | 1 | -14/+27 | |
| | | | | | | | | | | | | | marshalled directly into the parent type without an '"_":{ ... }'. This seems like desirable behavior to me, since you can't access the fields with 'Parent_Type._.field' either. | |||||
| * | | 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 | 4 | -5/+5 | |
| | | ||||||
| * | 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 | |||||
| * | | Fix comments in xml_reader.odin for better rendering in documentation | Kostas Tsiligkiris | 2024-01-17 | 1 | -130/+53 | |
| | | | ||||||
| * | | Fix filename in example | Kostas Tsiligkiris | 2024-01-17 | 1 | -2/+2 | |
| | | | ||||||
| * | | Fix formatting of package documentation string | Kostas Tsiligkiris | 2024-01-17 | 1 | -18/+18 | |
| | | | ||||||
| * | | Move package xml before copyright | Kostas Tsiligkiris | 2024-01-17 | 3 | -6/+12 | |
| | | | | | | | | | | | Having the same copyright on all files made the documentation script to include it multiple times in the package information. | |||||
| * | | 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 | |
| | | | ||||||
| * | | Update core:encoding to Unicode 15.1 table. | Jeroen van Rijn | 2024-01-02 | 2 | -5033/+2627 | |
| | | | ||||||
| * | | core/encoding/endian: Tidy up a comment (NFC) | Yawning Angel | 2023-11-14 | 1 | -1/+1 | |
| | | | ||||||
| * | | core/encoding/endian: Use intrinsics for loads/stores | Yawning Angel | 2023-11-14 | 1 | -66/+76 | |
| |/ | | | | | | - Use `intrinsics.unaligned_load`/`intrinsics.unaligned_store` - Make all the routines contextless - Add unchecked variants for code that "Knows What It Is Doing(TM)" | |||||
| * | 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 | |
| | | ||||||