- Sponsor
-
Notifications
You must be signed in to change notification settings - Fork 531
Permalink
Choose a base ref
{{ refName }}
default
Choose a head ref
{{ refName }}
default
Comparing changes
Choose two branches to see what’s changed or to start a new pull request.
If you need to, you can also or
learn more about diff comparisons.
Open a pull request
Create a new pull request by comparing changes across two branches. If you need to, you can also .
Learn more about diff comparisons here.
base repository: BurntSushi/toml
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v1.3.2
Could not load branches
Nothing to show
Loading
Could not load tags
Nothing to show
{{ refName }}
default
Loading
...
head repository: BurntSushi/toml
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v1.4.0
Could not load branches
Nothing to show
Loading
Could not load tags
Nothing to show
{{ refName }}
default
Loading
3
contributors
Commits on Jun 8, 2023
-
The only reason I retained backwards-compatibility is because Debian 11 is still on Go 1.15, but Debian 12 should be released this week with Go 1.19 so we can fairly safely drop it.
Configuration menu - View commit details
-
Copy full SHA for cfb3ca9 - Browse repository at this point
Copy the full SHA cfb3ca9View commit details
Commits on Sep 23, 2023
-
Because toml-test now requires Go 1.18, also update the version here to Go 1.18. Latest Debian has Go 1.19, and Go 1.18 is EOL now. People can still continue to use older versions for older Go versions.
Configuration menu - View commit details
-
Copy full SHA for 99c5690 - Browse repository at this point
Copy the full SHA 99c5690View commit details -
Configuration menu - View commit details
-
Copy full SHA for c63ff8a - Browse repository at this point
Copy the full SHA c63ff8aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 01fb725 - Browse repository at this point
Copy the full SHA 01fb725View commit details -
Configuration menu - View commit details
-
Copy full SHA for 61d6a9c - Browse repository at this point
Copy the full SHA 61d6a9cView commit details
Commits on Sep 30, 2023
-
Small performance boost by allocating arrays if we can
In the case of valueArray() we don't actually know the array length, but allocating an empty array and an array with a cap of 2 is identical in terms of performance, and it saves a few allocation for the common case of len>=2.
Configuration menu - View commit details
-
Copy full SHA for 41f8cc8 - Browse repository at this point
Copy the full SHA 41f8cc8View commit details -
Is this useful? Doubtful. But doesn't hurt either, and it is useful for toml-test. Also write the signbit back, and don't write explicit +inf – just inf is enough.
Configuration menu - View commit details
-
Copy full SHA for d17285a - Browse repository at this point
Copy the full SHA d17285aView commit details
Commits on Oct 1, 2023
-
Configuration menu - View commit details
-
Copy full SHA for fb576ca - Browse repository at this point
Copy the full SHA fb576caView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9775128 - Browse repository at this point
Copy the full SHA 9775128View commit details -
Configuration menu - View commit details
-
Copy full SHA for 59c762d - Browse repository at this point
Copy the full SHA 59c762dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 663cca6 - Browse repository at this point
Copy the full SHA 663cca6View commit details -
Wrap UnmarshalTOML()/UnmarshalText return values in ParseError
This adds position information. Fixes #398
Configuration menu - View commit details
-
Copy full SHA for b6fe702 - Browse repository at this point
Copy the full SHA b6fe702View commit details -
Correct error position with tab indentation
Previously the ^^^s would be misplaced, e.g.: 2 | k1 = "asd" 3 | k2 = "ok" 4 | k3 = "invalid" ^^^^^^^
Configuration menu - View commit details
-
Copy full SHA for 1905bd7 - Browse repository at this point
Copy the full SHA 1905bd7View commit details -
This is never called, as the value here is never a pointer.
Configuration menu - View commit details
-
Copy full SHA for b41de93 - Browse repository at this point
Copy the full SHA b41de93View commit details -
Mark Primitive, MetaData.PrimitiveDecode() as deprecated
It's not really needed: if you're not sure of the structure you can use any with type switches, and if you want some custom (un)marshal logic you can use the (Un)Marshal interface. Did some basic performance tests: Primitive isn't really faster. It's also not really more convenient. And it does complicate things quite a bit.
Configuration menu - View commit details
-
Copy full SHA for 4f8abaa - Browse repository at this point
Copy the full SHA 4f8abaaView commit details
Commits on Oct 10, 2023
-
Write "inf" instead of "Inf" in JSON tests
Doesn't really matter for the toml-test test runner, but we use toml-test-decoder for generating tests, and "Inf" with capital was causing issues for some: toml-lang/toml-test#143
Configuration menu - View commit details
-
Copy full SHA for c0a26cb - Browse repository at this point
Copy the full SHA c0a26cbView commit details -
replaceEscapes() got called for every string, and key.String() gets called a lot in the parser, so small improvements add up. Also figured that calling replaceEscapes() for every string isn't really needed. It's about 20 to 30% faster (depending on the TOML file).
Configuration menu - View commit details
-
Copy full SHA for 6fb5266 - Browse repository at this point
Copy the full SHA 6fb5266View commit details
Commits on Dec 3, 2023
-
arp242/uni@5f9eb0d This is actually not really an issue here, because U+FFFD isn't valid in TOML, but it doesn't hurt to properly check.
Configuration menu - View commit details
-
Copy full SHA for c320c2d - Browse repository at this point
Copy the full SHA c320c2dView commit details
Commits on Dec 7, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 45e7e49 - Browse repository at this point
Copy the full SHA 45e7e49View commit details -
Fix inline tables with dotted keys inside inline arrays (#400)
For example this: arr = [ {a.b.c = 1}, ] Would lose the a.b context, and it would just be map["c" = 1].
Configuration menu - View commit details
-
Copy full SHA for 4223137 - Browse repository at this point
Copy the full SHA 4223137View commit details
Commits on Jan 2, 2024
-
Configuration menu - View commit details
-
Copy full SHA for c299e75 - Browse repository at this point
Copy the full SHA c299e75View commit details
Commits on Jan 3, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 0e879cb - Browse repository at this point
Copy the full SHA 0e879cbView commit details
Commits on May 2, 2024
-
Added the Marshal function which returns the TOML representation of the Go value as bytes along with any error that may occur while marshaling.
Configuration menu - View commit details
-
Copy full SHA for 77ce858 - Browse repository at this point
Copy the full SHA 77ce858View commit details
Commits on May 6, 2024
-
fuzz: move fuzz_targets from oss-fuzz (#406)
- Moves fuzz_targets from oss-fuzz. This makes it easy to maintain the fuzzers and minimizes breakages that can arise as source code changes over time. - Adds cifuzz action workflow which is a service provided by oss-fuzz where this project already runs, this helps in catching shallow bugs,regression or build breakage by running fuzzers on PR for ~5 minutes.
Configuration menu - View commit details
-
Copy full SHA for 3203540 - Browse repository at this point
Copy the full SHA 3203540View commit details
Commits on May 10, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 9a80667 - Browse repository at this point
Copy the full SHA 9a80667View commit details
Commits on May 23, 2024
-
Configuration menu - View commit details
-
Copy full SHA for f8f7e48 - Browse repository at this point
Copy the full SHA f8f7e48View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1e2c053 - Browse repository at this point
Copy the full SHA 1e2c053View commit details
There are no files selected for viewing