Age | Commit message (Collapse) | Author | |
---|---|---|---|
2023-02-18 | reencode: Don't normalize the capitalization of \uXXXX hex escapes | Luke Shumaker | |
2023-02-18 | compat/json: Don't do actual JSON parsing in HTMLEscape | Luke Shumaker | |
2023-02-18 | encode, reencode: Fix handling of invalid UTF-8 | Luke Shumaker | |
2023-02-18 | jsonparse: Have PushReadBarrier reject trailing whitespace | Luke Shumaker | |
2023-02-18 | decode_scan, jsonparse: Rework the behavior to make a bit more sense | Luke Shumaker | |
- decode_scan: Don't have .Reset() re-play an erroring rune - decode_Scan: Have RuneTypeEOF always be zero-width - jsonparse: Don't replace syntax errors with RuneTypeEOF if there's no barrier | |||
2023-02-18 | jsonparse: Fix a mistake in the comments | Luke Shumaker | |
2023-02-18 | jsonparse: Remove barrier.closed, as it is always false | Luke Shumaker | |
2023-02-18 | fastio: NewAllWriter: Add a special case for io.Discard | Luke Shumaker | |
2023-02-16 | Avoid io.Writer causing buffers to escape to the heap | Luke Shumaker | |
2023-02-16 | reencode: Don't bother tracking the number of bytes written | Luke Shumaker | |
2023-02-16 | Clean up the hex handling | Luke Shumaker | |
2023-02-16 | Move string-encoding to an internal/jsonstring package | Luke Shumaker | |
2023-02-10 | tree-wide: Audit panic error messages | Luke Shumaker | |
These shouldn't happen, but if they do, then let's make it easier to debug. | |||
2023-02-10 | Use go:linkname instead of the awful internal/jsontest package | Luke Shumaker | |
2023-02-10 | tree-wide: Update various references from Go 1.18 to Go 1.20 | Luke Shumaker | |
2023-02-07 | compat: Enable the cache benchmark | Luke Shumaker | |
This should have been done back in 8aa12d3 (struct.go: Cache structIndexes, 2023-01-26) | |||
2023-02-07 | Move struct-handling to internal/jsonstruct | Luke Shumaker | |
2023-02-07 | internal: Split in to sub-packages | Luke Shumaker | |
2023-02-07 | fixup! Move the base64 decode to the internal package | Luke Shumaker | |
2023-01-30 | Invent "barriers" instead of nesting parsers | Luke Shumaker | |
2023-01-30 | reencode: Rethink CompactIfUnder to have linear memory | Luke Shumaker | |
2023-01-30 | Avoid doing type switching in inner functions | Luke Shumaker | |
The CPU profiler tells me that the encoder is spending a lot of time on type switches. | |||
2023-01-30 | parse: Simplify the stack states for arrays | Luke Shumaker | |
We already have a wildcard, no need to invent a new state. | |||
2023-01-29 | Move things between files | Luke Shumaker | |
2023-01-29 | parse: Add an example of how the stack works for arrays, add tests | Luke Shumaker | |
2023-01-29 | parse: Add a runeTypeAny instead of overloading RuneTypeError | Luke Shumaker | |
It was confusing. | |||
2023-01-29 | HexToInt: No need to be generic | Luke Shumaker | |
It's only used with a rune. | |||
2023-01-29 | Move the base64 decode to the internal package | Luke Shumaker | |
2023-01-29 | .golangci.yml: Turn on 'dupl', fix | Luke Shumaker | |
2023-01-29 | .golangci.yml: Turn on formatting linters 'gci' and 'gofumpt', fix | Luke Shumaker | |
All formatting changes are made by ./tools/bin/golangci-lint run --fix ./... | |||
2023-01-29 | Improve/fix documentation and comments | Luke Shumaker | |
2023-01-29 | parse: Change the StringBeg/StringEnd symbols | Luke Shumaker | |
IDK if my eyes are worse, or something changed with my font stack, but I can no longer visually distinguish “ and ” so use " and » instead. Plus » psycologically registers as "kinda special", so it's less confusing to see as an object-thing in a stack. | |||
2023-01-26 | Write documentationv0.2.0 | Luke Shumaker | |
2023-01-26 | Move the Parser to the internal package | Luke Shumaker | |
2022-09-19 | Give every .go file an SPDX-License-Identifier | Luke Shumaker | |
2022-08-16 | Indicate why each of the lines in borrowed files were MODIFIED | Luke Shumaker | |
2022-08-15 | Create a compat/json compatibility library | Luke Shumaker | |