1
0
mirror of https://github.com/imgproxy/imgproxy.git synced 2025-12-23 22:11:10 +02:00
Commit Graph

5 Commits

Author SHA1 Message Date
Victor Sokolov
69c7d2f117 IMG-76: new linter config & fixes (#1587)
* IMG-76: new linter config & fixes

* Upgrade golangci-lint to 2.7.2
2025-12-10 13:46:22 +01:00
DarthSim
8530d1a74c Add xmlparser.Decoder.FlushTo 2025-12-09 23:50:04 +06:00
DarthSim
213cd8d700 xmlparser: Make tokens writeable 2025-12-09 23:50:04 +06:00
DarthSim
876d19d825 xmlparser: always write attribute values even if they are empty 2025-11-27 10:39:49 +03:00
Sergei Aleksandrovich
98feb29e57 Use homegrown XML parser (#1559)
* Use XML parser based on encoding/xml

* Implement raw XML parser

* Speed-up xml parser

* Add line number to XML parser syntax errors

* Add svgparser.StartElement.SelfClosing

* Utilize bufio.Reader.ReadSlice in XML parser

* Polish XML parser tests; Add XML parser benchmark

* Move XML parser to ./xmlparser

* Use all XML parser tokens as pointers

* Add xmlparser.Document.ReplaceEntities method

* Combine xmlparser.Text and xmlparset.CData

* Optimize entities replacement in xmlparser

* xmlparser.parseEntityMap: ignore comments

* xmlparser: add document parsing benchmark

* xmlparser: Refactor attributes

* xmlparser: simplify Attributes.Filter

* xmlparser: add Attributes.Has, Node.FilterChildren, and Node.FilterChildNodes

* xmlparser: add Node.ChildNodes
2025-11-27 01:43:04 +06:00