| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Port `tests\core\encoding\json` | Jeroen van Rijn | 2024-06-02 | 3 | -41/+42 |
| | | |||||
| * | Port `tests\core\encoding\hxa` | Jeroen van Rijn | 2024-06-02 | 2 | -37/+36 |
| | | | | | And fix a few leaks in `core:encoding/hxa` while at it. | ||||
| * | Port `tests\encoding\hex` | Jeroen van Rijn | 2024-06-02 | 1 | -6/+5 |
| | | |||||
| * | Update `tests\core\encoding\cbor` to use new test runner. | Jeroen van Rijn | 2024-06-02 | 4 | -113/+116 |
| | | | | | | | It was leaky and required a substantial number of `loc := #caller_location` additions to parts of the core library to make it easier to track down how and where it leaked. The tests now run fine multi-threaded. | ||||
| * | Add `core:encoding/ansi` package | Feoramund | 2024-06-02 | 2 | -0/+157 |
| | | |||||
| * | `core:encoding/ini` | gingerBill | 2024-05-31 | 1 | -0/+189 |
| | | |||||
| * | Merge pull request #3628 from IllusionMan1212/bitset-json-marshalling-fix | Jeroen van Rijn | 2024-05-25 | 1 | -2/+0 |
| |\ | | | | | fix(core/encoding/json): remove Unsupported_Type return when marshalling bit_set | ||||
| | * | fix(core/encoding/json): remove Unsupported_Type return when marshalling bit_set | IllusionMan1212 | 2024-05-25 | 1 | -2/+0 |
| | | | |||||
| * | | Remove core:mem import in example. | Jeroen van Rijn | 2024-05-24 | 1 | -1/+0 |
| | | | |||||
| * | | Add iterator_next(&r) to CSV. | Jeroen van Rijn | 2024-05-24 | 2 | -2/+112 |
| |/ | |||||
| * | encoding/json: Properly marshal `#no_nil` unions | korvahkh | 2024-05-11 | 1 | -5/+8 |
| | | | | | | Previously the first variant of a `#no_nil` would always be output as `null`, and following variants would be treated as the wrong type. | ||||
| * | Fix `omitempty` in `json.marshal` | Feoramund | 2024-04-27 | 2 | -2/+2 |
| | | |||||
| * | Return partial reads | gingerBill | 2024-04-19 | 1 | -4/+15 |
| | | |||||
| * | Only override the comma value on `*_init` if it is "invalid" | gingerBill | 2024-04-19 | 2 | -2/+8 |
| | | |||||
| * | Update numerous package declaration names | gingerBill | 2024-04-18 | 25 | -25/+25 |
| | | |||||
| * | Keep -vet happy | gingerBill | 2024-04-15 | 4 | -18/+17 |
| | | |||||
| * | Merge pull request #3045 from laytan/cbor | gingerBill | 2024-04-15 | 7 | -47/+3713 |
| |\ | | | | | encoding/cbor | ||||
| | * | encoding/cbor: rename `diagnose` to `to_diagnostic_format` to be clearer | Laytan Laats | 2024-03-04 | 2 | -14/+14 |
| | | | |||||
| | * | encoding/cbor: respect default to panic allocator | Laytan | 2024-03-04 | 1 | -1/+1 |
| | | | |||||
| | * | encoding/cbor: make temp allocations more explicit | Laytan | 2024-03-04 | 4 | -114/+62 |
| | | | |||||
| | * | encoding/cbor: core -> base | Laytan | 2024-03-04 | 5 | -8/+13 |
| | | | |||||
| | * | encoding/cbor: remove usage of incl_elem and excl_elem | Laytan | 2024-03-04 | 1 | -4/+4 |
| | | | |||||
| | * | encoding/cbor: adhere to new quaternion rules of master | Laytan Laats | 2024-03-04 | 1 | -3/+3 |
| | | | |||||
| | * | encoding/cbor: add general docs and example | Laytan Laats | 2024-03-04 | 5 | -11/+149 |
| | | | |||||
| | * | encoding/cbor: deterministically store bit sets as big endian | Laytan Laats | 2024-03-04 | 3 | -26/+8 |
| | | | |||||
| | * | encoding/cbor: ignore struct fields with `cbor:"-"` | Laytan Laats | 2024-03-04 | 2 | -10/+31 |
| | | | |||||
| | * | encoding/cbor: clean | Laytan Laats | 2024-03-04 | 1 | -3/+2 |
| | | | |||||
| | * | encoding/cbor: fix wrong allocator bug | Laytan Laats | 2024-03-04 | 1 | -3/+2 |
| | | | |||||
| | * | encoding/cbor: clean and fixup some allocations | Laytan Laats | 2024-03-04 | 3 | -32/+25 |
| | | | |||||
| | * | encoding/cbor: cleanup comments about tags | Laytan Laats | 2024-03-04 | 1 | -12/+13 |
| | | | |||||
| | * | encoding/cbor: cleanup default temp allocator | Laytan Laats | 2024-03-04 | 4 | -35/+77 |
| | | | |||||
| | * | 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 |
| | | | | |||||