aboutsummaryrefslogtreecommitdiff
path: root/core/encoding
Commit message (Collapse)AuthorAgeFilesLines
* [encoding/ini]: Add missing line terminator at the end of the sectionflysand72024-09-241-0/+1
|
* core/encoding/cbor: allow unmarshalling non-string map keysLaytan Laats2024-09-111-27/+11
|
* Merge pull request #4191 from laytan/improve-package-doc-commentsgingerBill2024-09-0412-239/+257
|\ | | | | core: improve package doc comments for the documentation generator
| * core: improve package doc comments for the documentation generatorLaytan Laats2024-09-0312-239/+257
| |
* | unmarshal bitset ints like cbor doesjakubtomsu2024-09-041-1/+24
|/
* fix some doc commentsLaytan Laats2024-09-021-1/+1
|
* encoding/csv: fix examplesLaytan Laats2024-08-301-4/+6
|
* Fix error for uuid to require 36 bytes instead 32 (4 bytes for dashes)Ed Yu2024-08-261-15/+20
|
* encoding/cbor: various fixesLaytan Laats2024-08-093-10/+20
| | | | | | | - "null" is the proper way to represent the nil value in the diagnostic format - hex encoding in diagnostic format was wrong - struct keys weren't sorted the right deterministic way
* Update example to use `err != nil` insteadgingerBill2024-08-041-3/+3
|
* Tidy up codeRonald2024-07-211-2/+1
|
* Ensure that values in ini map are unquotedRonald2024-07-211-0/+2
|
* Allow json to unmarshal empty struct.Jeroen van Rijn2024-07-211-2/+1
|
* Add `core:encoding/ini` to examples/allgingerBill2024-07-191-1/+1
|
* Remove unnecessary changeRonald2024-07-171-4/+1
| | | | This was accidentally added, it was a change I made whilst testing.
* Fix memory leak in encoding/iniRonald2024-07-171-2/+5
| | | | | A simple change that fixes a memory leak caused by not deleting all the values in the map
* fix some bugs with -disable-assertLaytan Laats2024-07-162-2/+4
|
* Clean up `unquote` codegingerBill2024-07-141-1/+1
|
* Merge branch 'master' of https://github.com/odin-lang/OdingingerBill2024-07-142-41/+67
|\
| * Merge pull request #3910 from VladPavliuk/json-add-int-key-map-supportgingerBill2024-07-142-41/+67
| |\ | | | | | | Allow to `marshal` and `unmarshal` maps with int keys
| | * Merge branch 'master' into json-add-int-key-map-supportVladPavliuk2024-07-142-1/+6
| | |\
| | * | Allow to `marshal` and `unmarshal` maps with int keysVladPavliuk2024-07-132-41/+67
| | | |
* | | | Fix #3926gingerBill2024-07-141-7/+9
|/ / /
* | / Reduce the size of `runtime.Type_Info`gingerBill2024-07-144-6/+6
| |/ |/|
* | Fix logic bug in core/encoding/ini/ini.odinRonald2024-07-141-1/+1
| | | | | | | | | | The load_map_from_path had incorrect logic where it would return false for ok when err was equal to nil and true when there was an error.
* | Align ignore syntax of json tags with fmt, cborVladPavliuk2024-07-141-3/+6
| |
* | Add support of `ignore` tag for `json.marshal`VladPavliuk2024-07-131-1/+3
|/
* fix `@(optimization_mode)` usage in builtin collectionsLaytan Laats2024-07-081-5/+5
|
* encoding/cbor: add a custom tag to the exampleLaytan Laats2024-07-081-5/+33
|
* encoding/cbor: improve perf of marshalling array-like typesLaytan Laats2024-07-081-16/+56
|
* encoding/cbor: fix umarshal of big fixed arraysLaytan Laats2024-07-081-14/+6
|
* wasi: make the demo run on wasi and run it in CILaytan Laats2024-06-291-1/+0
|
* Fix loads of indentation issues with mixing spaces and tabsgingerBill2024-06-294-31/+31
|
* Even more style fixesgingerBill2024-06-292-2/+2
|
* Indentation fixesgingerBill2024-06-291-116/+116
|
* Fix generation for unicode entitiesgingerBill2024-06-291-4816/+4816
|
* Add another `-vet-cast` checkgingerBill2024-06-291-1/+1
|
* Keep `-vet` happyFeoramund2024-06-281-2/+2
|
* Merge pull request #3643 from korvahkh/fix-omitempty-commagingerBill2024-06-281-15/+17
|\ | | | | encoding/json: Fix struct marshal() emitting comma after omitted field
| * Merge branch 'odin-lang:master' into fix-omitempty-commakorvahkh2024-06-1316-308/+624
| |\
| * | encoding/json: Fix struct marshal() emitting comma after omitted fieldkorvahkh2024-05-271-15/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously: ```odin package main import "core:fmt" import "core:encoding/json" T :: struct { a: string `json:",omitempty"`, b: string, } main :: proc() { data, _ := json.marshal(T{b = "foo"}) fmt.println(string(data)) } ``` would output: ``` {,"b":"foo"} ``` which is not correct. Also cleaned up some whitespace while I'm at it.
* | | Merge pull request #3792 from Feoramund/core-uuidgingerBill2024-06-288-0/+1082
|\ \ \ | | | | | | | | Add `core:encoding/uuid`
| * | | Use new API `from_nanoseconds` in `uuid`Feoramund2024-06-221-3/+3
| | | |
| * | | Change how `Time` is constructed in `uuid`Feoramund2024-06-221-5/+3
| | | |
| * | | Clarify some `uuid` legacy documentationFeoramund2024-06-221-16/+12
| | | |
| * | | Add API for creating custom version 8 UUIDsFeoramund2024-06-221-0/+89
| | | |
| * | | Add vendor-specific version 8 UUID generation (hashing)Feoramund2024-06-221-0/+116
| | | |
| * | | Add `unsafe_write` to `uuid` packageFeoramund2024-06-221-4/+45
| | | |
| * | | Address minor organizational issuesFeoramund2024-06-223-17/+21
| | | |
| * | | Add buffer-based `to_string` to `uuid` packageFeoramund2024-06-221-1/+30
| | | |