11 Commits

Author SHA1 Message Date
moxian f6c71bc5e9 update paths to moved docs 2025-01-14 12:39:38 -08:00
Alexey 9127ca3e9c Fix windows.h casing for mingw (#67303) 2023-07-30 19:52:30 +03:00
Alexey d7ab3d9be6 Make formatter enable Windows ANSI colors (#67021) 2023-07-19 23:00:53 -04:00
Alexey c011e9de12 Improve output for JSON errors (#66623)
* Colorize JSON errors

* Make formatter feed source filename to TextJsonIn

* Throw exception instead of dumping output to std::cerr

* Adjust math parser's caret appearance

* Set color in chkjson

* Adjust tests and formatters

* Add json error cursor check for unicode string

* Squelch global state lint for entry points

* Adjust stream offset so the buffer for utf8_width is pointing at a codepoint
2023-07-17 19:51:50 -05:00
PatrikLundell 6960bd90d8 Update JSON linting to not lie and ignore forbidden files (#65815)
* Made JSON lint shell script targeted

* Changed 'error' message to indicate change was done

* Removed commented out line
2023-06-14 13:09:09 -03:00
Andrew Krieger 2833d7a974 Rename Json* -> TextJson*, FlexJson* -> Json*, fixup fallout 2022-09-15 22:04:54 -07:00
Binrui Dong f376f8107f Show JSON error exception message 2022-06-09 13:33:18 +08:00
Binrui Dong 2a01d32059 Report JSON error and exit gracefully in JSON formatter 2022-06-08 14:39:47 +08:00
David Seguin 5c39685bad JSON formatter: show filename on empty input (#56524)
* JSON formatter: show filename on empty input

* [SQUASH ME] empty JSON file

* [SQUASH ME] remove empty JSON file
2022-04-01 22:59:39 -07:00
Qrox 5a58e4429a Ignore Window-style line ending in JSON formatter on all Windows builds 2020-10-06 11:40:08 +08:00
ZhilkinSerg b2fdd9abc4 Add JsonFormatter VS library project 2020-08-27 14:12:50 +03:00