1
1
mirror of https://github.com/wader/fq.git synced 2024-12-22 21:01:37 +03:00
Commit Graph

75 Commits

Author SHA1 Message Date
Mattias Wadman
c5f6809b02 decode,fuzz,dev: Move recoverable error check to recoverfn.Run
This preserves the callstack on non-recoverable panics so that using
a debugger and fuzzing is much easier.

Add vscode debug config.
Remove fuzz stacktrace log workaround.
2023-03-31 12:47:04 +02:00
bump
f0b08457ea Update make-golangci-lint to 1.52.2 from 1.52.1
Release notes https://github.com/golangci/golangci-lint/releases/tag/v1.52.2
2023-03-26 16:03:34 +00:00
bump
d3d1f0e80a Update make-golangci-lint to 1.52.1 from 1.52.0
Release notes https://github.com/golangci/golangci-lint/releases/tag/v1.52.1
2023-03-22 16:04:05 +00:00
bump
a63fd684a6 Update make-golangci-lint to 1.52.0 from 1.51.2
Release notes https://github.com/golangci/golangci-lint/releases/tag/v1.52.0
2023-03-18 16:03:47 +00:00
bump
70e08faa18 Update make-golangci-lint to 1.51.2 from 1.51.1
Release notes https://github.com/golangci/golangci-lint/releases/tag/v1.51.2
2023-02-20 16:03:55 +00:00
bump
36df57ebec Update make-golangci-lint to 1.51.1 from 1.51.0
Release notes https://github.com/golangci/golangci-lint/releases/tag/v1.51.1
2023-02-05 16:03:43 +00:00
bump
f1057b9bfe Update make-golangci-lint to 1.51.0 from 1.50.1
Release notes https://github.com/golangci/golangci-lint/releases/tag/v1.51.0
2023-02-02 08:29:30 +00:00
Mattias Wadman
e3ae1440c9 interp: Rename to/from<format> functions to to_/from_<format>
Feels less cluttered, easier to read and more consistent.

Still keep tovalue, tobytes etc that are more basic functions this
only renamed format related functions.
Also there is an exceptin for to/fromjson as it comes from jq.

Also fixes lots of spelling errors while reading thru.
2022-12-21 17:48:39 +01:00
Mattias Wadman
423bab9e33 dev,test: Use jqtest code from jqjq for jq tests 2022-12-05 20:52:27 +01:00
Mattias Wadman
42debe5871 dev,doc,make: Cleanup makefile and have proper targets for *.md and *.svg
Update format dev docs to only generate README.md and doc/foramts.md to not
cause formats.svg conflicts.
2022-12-04 12:37:10 +01:00
Mattias Wadman
c93301fc70 raw,bits,bytes: Replace raw format with bits and bytes format that decode to a binary
raw format was a hack to skip decoding to be able to get a binary using tobyte etc.
Now you can do fq -d bytes ... instead of fq -d raw 'tobytes | ...'
2022-11-20 19:51:12 +01:00
bump
753927ba68 Update make-golangci-lint to 1.50.1 from 1.50.0
Release notes https://github.com/golangci/golangci-lint/releases/tag/v1.50.1
2022-10-22 16:04:28 +00:00
Mattias Wadman
7cb2a6c995 fuzz: gotip not needed anymore 2022-10-11 15:00:12 +02:00
Mattias Wadman
cef4245b49 fuzz: make fuzz GROUP=mp4 to fuzz one group 2022-10-10 21:07:10 +02:00
bump
21f2980e4d Update make-golangci-lint to 1.50.0 from 1.49.0
Release notes https://github.com/golangci/golangci-lint/releases/tag/v1.50.0
2022-10-04 16:06:13 +00:00
Piggy NL
808202fa34
test: Skip go test with -race by default 2022-09-09 15:15:18 +08:00
bump
004eb5641e Update make-golangci-lint from 1.48.0 to 1.49.0
Release notes https://github.com/golangci/golangci-lint/releases/tag/v1.49.0
2022-08-24 16:03:56 +00:00
Mattias Wadman
38984dd311
Merge pull request #383 from bitbears-dev/wasm-support
Add WASM format
2022-08-23 15:49:14 +02:00
@0xb17bea125
074c22c955
wasm: add -timeout 20m for go test to workaround ci test fail 2022-08-23 22:13:15 +09:00
Mattias Wadman
15f7c67a51 dev,fuzz: Add some useful retrigger snippets 2022-08-22 14:03:56 +02:00
bump
c8069d22a5 Update make-golangci-lint from 1.47.3 to 1.48.0
Release notes https://github.com/golangci/golangci-lint/releases/tag/v1.48.0
2022-08-04 22:04:17 +00:00
bump
f579e9c327 Update make-golangci-lint from 1.47.2 to 1.47.3
Release notes https://github.com/golangci/golangci-lint/releases/tag/v1.47.3
2022-08-01 16:03:57 +00:00
bump
c4199c0fe7 Update make-golangci-lint from 1.47.1 to 1.47.2
Release notes https://github.com/golangci/golangci-lint/releases/tag/v1.47.2
2022-07-21 16:03:49 +00:00
Mattias Wadman
7537905593
Merge pull request #325 from wader/unbreak-fuzz-test
fuzz: Replace built tag with FUZZTEST env and use new interp api
2022-07-20 18:31:31 +02:00
Mattias Wadman
2464ebc238 fuzz: Replace built tag with FUZZTEST env and use new interp api
Build tag hides build errors
2022-07-20 18:24:07 +02:00
bump
2170925d95 Update make-golangci-lint from 1.47.0 to 1.47.1
Release notes https://github.com/golangci/golangci-lint/releases/tag/v1.47.1
2022-07-19 16:03:44 +00:00
bump
3d69e9d099 Update make-golangci-lint from 1.46.2 to 1.47.0 2022-07-18 18:27:35 +02:00
bump
06757119c5 Update make-golangci-lint from 1.46.1 to 1.46.2 2022-05-17 16:03:52 +00:00
bump
456742ead6 Update make-golangci-lint from 1.46.0 to 1.46.1 2022-05-12 16:08:46 +00:00
bump
5db7397abb Update make-golangci-lint from 1.45.2 to 1.46.0 2022-05-09 16:09:37 +00:00
bump
3a0799cb9b Update make-golangci-lint from 1.45.0 to 1.45.2 2022-03-24 16:03:45 +00:00
bump
cf88bc11fe Update make-golangci-lint from 1.44.2 to 1.45.0 2022-03-18 16:04:04 +00:00
Mattias Wadman
9cb4b57a45 interp,cli: Handle ctrl-c properly
Should supress cancel error message
Add CLI ctlr-c/ctrl-d tests and make them more robust
2022-03-15 22:38:12 +01:00
bump
9d5ba82649 Update make-golangci-lint from 1.44.1 to 1.44.2 2022-02-18 16:09:00 +00:00
bump
1b8e693656 Update make-golangci-lint from 1.44.0 to 1.44.1 2022-02-17 16:08:32 +00:00
Mattias Wadman
f0ce7179b2 doc: Document display and some more jq hints
Also fixed some verbose -> dv leftovers
2022-01-29 13:10:25 +01:00
Mattias Wadman
bf170be8ea make: Cleanup some not very used targets 2022-01-29 12:27:15 +01:00
bump
d02d8968e7 Update make-golangci-lint from 1.43.0 to 1.44.0 2022-01-25 16:09:18 +00:00
Mattias Wadman
8d10423d06 make: Fix quote issue in release script 2022-01-21 12:16:34 +01:00
Mattias Wadman
7461264e40 fuzz: Skip other tests when fuzzing 2022-01-20 16:13:02 +01:00
Mattias Wadman
78c0775e63 fq: Embed version in source
Related to #68
2022-01-19 20:45:08 +01:00
Mattias Wadman
2c3e41111d doc,make: Add release script 2022-01-06 09:57:47 +01:00
Mattias Wadman
e5c620db83 github,ci: Add windows, macos and 32-bit linux
Split out lint to own job and only run cli bin test on ubuntu (requires expect)
Add .gitattributes with text=lf for *.fqtest as they should be exact
2022-01-05 00:11:43 +01:00
Mattias Wadman
e5e81e7c6f make: Fix prof build issue 2021-12-12 15:25:28 +01:00
Mattias Wadman
b66ed32614 decode,interp: Make fuzzing work again and cleanup fatal/error code 2021-11-16 17:11:26 +01:00
Mattias Wadman
fcbfc29154 make: Move testjq.sh into pkg/interp 2021-11-12 00:23:16 +01:00
bump
233aaa11ab Update make-golangci-lint from 1.42.1 to 1.43.0 2021-11-03 17:28:03 +01:00
Mattias Wadman
b0ad3f2036 w 2021-11-02 16:15:36 +01:00
Mattias Wadman
95b9c3253a make: doc/formats.svg: Ignore graphviz verison to get less diff 2021-11-01 17:44:37 +01:00
Mattias Wadman
8019212f6e make: Enable -race for tests 2021-10-27 14:56:42 +02:00