Mike Farah
288ca2d114
Fixing comments in TOML arrays #2592 ( #2595 )
2026-02-03 19:42:49 +11:00
Mike Farah
eb04fa87af
More tests
2026-02-01 10:27:18 +11:00
Mike Farah
06ea4cf62e
Fixing spelling
2026-02-01 09:10:48 +11:00
Tomer Shalev
b4b96f2a68
Fix TOML table parsing after standalone comments
...
Standalone TOML comments immediately inside a table/array-table no longer end the table scope, preventing subsequent keys from being flattened to the document root.
2026-01-31 14:41:30 +02:00
Mike Farah
bdeedbd275
Fixing TOML subarray parsing issue #2581
2026-01-31 15:25:11 +11:00
jfenal
c4f4e6d416
fix: TOML colorization now works when NO_COLOR env is set ( #2584 )
...
The colorizeToml function intended to force colors by setting
color.NoColor = false, but SprintFunc() still respects the NO_COLOR
environment variable. This caused TestTomlColourization to fail in
CI environments where NO_COLOR=1 is set.
Fixed by calling EnableColor() on each color object, which explicitly
forces colors regardless of environment settings.
Vibe-coded with Cursor (Claude Opus 4)
2026-01-31 14:49:42 +11:00
Mike Farah
029ba68014
Bump gosec version
2025-12-20 19:15:36 +11:00
Mike Farah
4a06cce376
Switch to uk ( #2557 )
...
* Setting golangci to UK english (that's what we use in AU)
* Fixing more spelling
* Fixing
* Include MD files in spell checker
2025-12-20 19:11:48 +11:00
Mike Farah
207bec6b29
whitespace
2025-12-20 16:01:07 +11:00
copilot-swe-agent[bot]
5d6c2047cf
Fix spelling: use British English Colourization
...
Co-authored-by: mikefarah <1151925+mikefarah@users.noreply.github.com>
2025-12-20 15:55:17 +11:00
copilot-swe-agent[bot]
7f60daad20
Add test for string escape bug and implement fix
...
Co-authored-by: mikefarah <1151925+mikefarah@users.noreply.github.com>
2025-12-20 15:55:17 +11:00
Mike Farah
56eb3655b8
Formatting
2025-12-20 15:35:41 +11:00
copilot-swe-agent[bot]
1de4ec59f2
Merge remote-tracking branch 'origin/pr/2552' into copilot/sub-pr-2552
...
# Conflicts:
# pkg/yqlib/toml_test.go
2025-12-20 04:26:11 +00:00
copilot-swe-agent[bot]
c132c32731
Convert to UK English spelling (colourization, coloured)
...
Co-authored-by: mikefarah <1151925+mikefarah@users.noreply.github.com>
2025-12-20 04:17:39 +00:00
Mike Farah
0914121d29
Fixing number color issue
2025-12-20 15:12:30 +11:00
copilot-swe-agent[bot]
aa5134e645
Add test case and fix colorization bug for inline arrays in TOML
...
Co-authored-by: mikefarah <1151925+mikefarah@users.noreply.github.com>
2025-12-20 04:09:04 +00:00
Mike Farah
161be10791
Comments!
2025-12-16 20:47:15 +11:00
Mike Farah
4e9d5e8e48
wip
2025-12-15 11:40:28 +11:00
Mike Farah
3a5323824f
Handles comments!
2025-12-14 19:33:00 +11:00
Mike Farah
5f9bf8d241
wip toml encoder
2025-12-14 19:03:54 +11:00
Mike Farah
39fbf01fa8
Fixing TOML ArrayTable parsing issues #1758
2025-11-22 14:49:49 +11:00
Mike Farah
306dc931a5
Fixing TOML ArrayTable parsing issues #1758
2025-11-22 14:35:07 +11:00
Louis Lombard
35d338cc24
modify empty table decode
2025-09-08 20:00:31 +10:00
Mike Farah
7a01e216c4
Refactoring Yaml encoder prefs
2024-02-24 15:36:16 +11:00
Mike Farah
d9e1a789ea
Fixed Toml decoding when table array defined before parent #1922
2024-02-15 16:15:01 +11:00
Mike Farah
5513ac8a7d
Empty TOML table is an empty object
2024-02-08 13:31:56 +11:00
Elijah Lopez
d4e16a413e
fix: empty TOML table ( #1936 )
2024-02-07 19:59:50 +11:00
Mike Farah
010750daf6
Updated to latest golint
2024-01-11 13:17:34 +11:00
Mike Farah
13d1bbb45f
Generic ast ( #1829 )
...
Remove dependency on yaml.Node for internal AST representation. Yaml decoder is now just another decoder.
2023-10-18 12:11:53 +11:00
Mike Farah
eba075294a
Added scalar output for TOML ( #1617 )
2023-04-03 15:40:06 +10:00
Mike Farah
496035c75a
toml docs
2023-03-31 10:24:12 +11:00
Mike Farah
7103b78d38
Draft: Toml ( #1439 )
...
* toml wip
* wip
* Fixed auto parsing toml
* Added build flag not to include toml
* Parse toml docs and tests
* minor updates
2023-03-26 10:59:15 +11:00