aboutsummaryrefslogtreecommitdiff
path: root/core/encoding
Commit message (Collapse)AuthorAgeFilesLines
* Correct json/unmarshal.odingingerBill2022-11-111-1/+1
|
* Fix json marshal for mapsgingerBill2022-11-081-2/+2
|
* Correct reflection usage of mapsgingerBill2022-11-082-20/+14
|
* else statement to allow skipping unused struct fieldsMichael Kutowski2022-09-301-9/+7
|
* Correct json.unmarshal for `map`sgingerBill2022-09-211-2/+2
|
* Update json/unmarshal.odin for the new `runtime.__dynamic_map_set`gingerBill2022-09-171-8/+6
|
* Add missing importgingerBill2022-09-141-1/+2
|
* Use `json` field tag for `json.marshal`gingerBill2022-09-141-1/+5
|
* Allow for ignored fields in struct for `json.unmarshal`gingerBill2022-09-141-1/+8
|
* Fixed marshal_to_writer not supporting i128Despacito6969692022-08-261-0/+1
| | | Previously json.marshal(i128(696969)) would print 0 as there was no `u = i128(i)` initialization.
* Update marshal.odinMichael Kutowski2022-08-121-1/+1
|
* add new soa type, my bad wasnt on masterMichael Kutowski2022-08-121-0/+3
|
* switch styling and opt.spaces maxMichael Kutowski2022-08-121-59/+44
|
* Merge branch 'master' into pretty-json-2gingerBill2022-08-116-10/+13
|\
| * Add `#soa` pointer type to aid with refactoring to `#soa` data typesgingerBill2022-08-081-0/+3
| | | | | | | | | | | | | | | | a: #soa[16]Foo p := &a[6] #assert(type_of(p) == #soa^#soa[16]Foo) p^.x = 123 p.x = 123
| * fix some typoscui fliter2022-08-051-1/+1
| | | | | | | | Signed-off-by: cui fliter <imcusg@gmail.com>
| * Fix bug unmarshalling JSON with assertions disabledWilliam Roe2022-07-281-2/+2
| | | | | | | | | | | | | | | | | | When asserts are disabled, code within the assert isn't run. Having expect_token within an assert means that the state of the Parser is mutated when asserts are run, but not when they aren't. There's already a wrapper procedure for this pattern, which I have reused here.
| * Correct naming in testsgingerBill2022-07-112-2/+2
| |
| * Rename strings.Builder procedures to be consistent with the rest of the core ↵gingerBill2022-07-112-6/+6
| | | | | | | | library
* | add uint as hex optionMichael Kutowski2022-08-081-10/+21
| |
* | ...bad pasteMichael Kutowski2022-08-051-8/+17
| |
* | marshal output options with pretty option and other configMichael Kutowski2022-08-051-51/+214
|/
* Rename to SJSON for the Simplified JSON notation variantgingerBill2022-06-162-3/+4
|
* Minor fixgingerBill2022-06-111-1/+1
|
* Deprecate `a..b` based ranges in favour of `..=`dev-2022-06gingerBill2022-06-012-4/+4
|
* Merge functionality of `#maybe` with the standard 'union' functionalitygingerBill2022-05-231-1/+1
|
* Allow CSV/TSV reader to read multi-line fields.Jeroen van Rijn2022-05-131-21/+65
|
* Add `core:encoding/endian`gingerBill2022-05-122-0/+176
|
* Minor style change in leb128.odingingerBill2022-05-121-6/+4
|
* Minor name changes within `core:encoding/xml` for consistencygingerBill2022-05-123-28/+26
|
* [xml] Add `parse_from_string` overload.Jeroen van Rijn2022-04-301-3/+10
| | | | | `parse` now takes either a `[]u8` slice or a string. `load_from_file` takes a path string.
* [i18n] QT Linguist TS reader.Jeroen van Rijn2022-04-291-1/+0
|
* [xml] Speedup.Jeroen van Rijn2022-04-285-174/+236
|
* Merge branch 'master' into xmlJeroen van Rijn2022-04-278-43/+264
|\
| * [json/unmarshal] Fix quoted strings.Jeroen van Rijn2022-04-191-0/+6
| |
| * Revert "Fix unmarshal for escaped strings."Jeroen van Rijn2022-04-191-5/+0
| | | | | | | | This reverts commit 581255bf23af90b77bb2b6e2671b40e2b565754e.
| * Fix unmarshal for escaped strings.Jeroen van Rijn2022-04-191-0/+5
| |
| * [LEB128] Add byte-at-a-time ILEB decoder.Jeroen van Rijn2022-04-161-14/+28
| |
| * Merge pull request #1718 from Kelimion/varint_streamedJeroen van Rijn2022-04-161-20/+32
| |\ | | | | | | Add uleb128 byte-at-a-time decoder.
| | * Add uleb128 byte-at-a-time decoder.Jeroen van Rijn2022-04-161-20/+32
| | |
| * | [varint] Clear up doc.odin.Jeroen van Rijn2022-04-131-13/+14
| |/
| * Utilize `union #shared_nil` in more placesgingerBill2022-03-241-3/+4
| |
| * Fix some core:encoding/hxa stuff (error handling, header, max -> min)gitlost2022-03-162-7/+28
| | | | | | | | | | Also add missing f16 case to core:reflect as_u64 & as_f64 Add tests for above & add previous tests missing from test/core/build.bat
| * [varint] Add doc.odinJeroen van Rijn2022-03-081-0/+27
| |
| * [varint] Tighten max input bounds.Jeroen van Rijn2022-03-081-2/+2
| |
| * [varint] Add additional LEB128 tests.Jeroen van Rijn2022-03-081-2/+6
| |
| * [varint] Add signed LEB128 encoding.Jeroen van Rijn2022-03-081-14/+82
| |
| * [varint] Add LEB128 decoding + testsJeroen van Rijn2022-03-081-0/+67
| | | | | | | | Also make tests in general less spammy: Don't print [PASS] for each successful test, only report failures and progress.
| * Simplify docs to hide the copyrightgingerBill2022-01-171-6/+6
| |
| * `ODIN_ENDIAN` changed to an enum constant; `ODIN_ENUM_STRING` is the new ↵gingerBill2022-01-151-2/+2
| | | | | | | | string version of the old constant