aboutsummaryrefslogtreecommitdiff
path: root/core/encoding/xml
Commit message (Collapse)AuthorAgeFilesLines
* Fix #4705Jeroen van Rijn2025-06-091-1/+2
| | | | Allocate `doc.tokenizer`, and free it in `destroy`.
* Add commentJeroen van Rijn2025-04-191-0/+4
|
* Fix parsing of CDATA tags (#5059)Jeroen van Rijn2025-04-192-64/+73
| | | Fixes #5054
* core: improve package doc comments for the documentation generatorLaytan Laats2024-09-032-23/+28
|
* Imply `#no_capture` to all variadic parametersgingerBill2024-07-141-3/+3
|
* Add more uses of `#no_capture`gingerBill2024-07-141-3/+3
|
* fix `@(optimization_mode)` usage in builtin collectionsLaytan Laats2024-07-081-5/+5
|
* Fix loads of indentation issues with mixing spaces and tabsgingerBill2024-06-291-5/+5
|
* Update XML reader to normalize whitespace, part 1.Jeroen van Rijn2024-06-122-42/+25
|
* Update numerous package declaration namesgingerBill2024-04-184-4/+4
|
* Replace `core:*` to `base:*` where appropriategingerBill2024-01-281-2/+2
|
* Fix comments in xml_reader.odin for better rendering in documentationKostas Tsiligkiris2024-01-171-130/+53
|
* Fix filename in exampleKostas Tsiligkiris2024-01-171-2/+2
|
* Fix formatting of package documentation stringKostas Tsiligkiris2024-01-171-18/+18
|
* Move package xml before copyrightKostas Tsiligkiris2024-01-173-6/+12
| | | | | Having the same copyright on all files made the documentation script to include it multiple times in the package information.
* Use `or_break` and `or_continue` where appropriate in the core librarygingerBill2023-09-301-2/+2
|
* Clean up usage of `using` throughout core and vendorgingerBill2023-07-311-16/+16
|
* Improve `//+vet`; remove `using` in many places; add `//+vet !using-stmt` ↵gingerBill2023-07-311-17/+13
| | | | where necessary
* Fix #2684Jeroen van Rijn2023-07-284-49/+44
|
* Add `runtime.DEFAULT_TEMP_ALLOCATOR_TEMP_GUARD` where appropriategingerBill2023-02-101-1/+3
|
* Correct naming in testsgingerBill2022-07-111-1/+1
|
* Deprecate `a..b` based ranges in favour of `..=`dev-2022-06gingerBill2022-06-011-1/+1
|
* 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
|
* [xml] Initial optimization.Jeroen van Rijn2021-12-061-22/+46
|
* [xml] Add option.Jeroen van Rijn2021-12-052-26/+53
|
* [xml] Implement optional unboxing of CDATA and decoding of tag values.Jeroen van Rijn2021-12-051-21/+20
|
* [core:encoding/entity] Add new package to decode &<entity>; entities.Jeroen van Rijn2021-12-051-2/+0
| | | | Includes generator to generate a lookup for named entitiess.
* [xml] Improvements.Jeroen van Rijn2021-12-054-32/+94
|
* [xml] Improve CDATA + comment handling in tag body.Jeroen van Rijn2021-12-052-57/+96
|
* [xml] Slight optimization.Jeroen van Rijn2021-12-052-28/+38
| | | | | | About a 5% speed bump. More rigorous optimization later.
* [xml] Robustness improvement.Jeroen van Rijn2021-12-052-24/+55
| | | | Can now parse https://www.w3.org/2003/entities/2007xml/unicode.xml no problem.
* [xml] Allow multi-line bodies w/o CDATA. Strip trailing whitespace.Jeroen van Rijn2021-12-052-6/+24
|
* [xml] Tab indentation in debug printer.Jeroen van Rijn2021-12-051-4/+3
|
* [xml] Use `io.Writer` for `xml.print(doc)`.Jeroen van Rijn2021-12-053-25/+36
|
* [xml] Small cleanup.Jeroen van Rijn2021-12-051-11/+1
|
* [xml] Initial implementation of `core:encoding/xml`.Jeroen van Rijn2021-12-054-0/+1118
A from-scratch XML implementation, loosely modeled on the [spec](https://www.w3.org/TR/2006/REC-xml11-20060816). Features: - Supports enough of the XML 1.0/1.1 spec to handle the 99.9% of XML documents in common current usage. - Simple to understand and use. Small. Caveats: - We do NOT support HTML in this package, as that may or may not be valid XML. If it works, great. If it doesn't, that's not considered a bug. - We do NOT support UTF-16. If you have a UTF-16 XML file, please convert it to UTF-8 first. Also, our condolences. - <[!ELEMENT and <[!ATTLIST are not supported, and will be either ignored or return an error depending on the parser options. TODO: - Optional CDATA unboxing. - Optional `&gt;`, `&#32;`, `&#x20;` and other escape substitution in tag bodies. - Test suite MAYBE: - XML writer? - Serialize/deserialize Odin types?