1
1
mirror of https://github.com/wader/fq.git synced 2024-12-19 11:21:47 +03:00
Commit Graph

886 Commits

Author SHA1 Message Date
Mattias Wadman
ad0e3f5df2
Merge pull request #189 from wader/changes-0.0.6
fq: Update to version 0.0.6
2022-03-11 17:08:33 +01:00
Mattias Wadman
18b3da4de9 fq: Update version to 0.0.6 2022-03-11 17:02:11 +01:00
Mattias Wadman
7cea8757b1 doc: Add 0.0.6 changes 2022-03-11 17:01:26 +01:00
Mattias Wadman
c590964ded
Merge pull request #192 from wader/interp-repl-improv-interrupt
interp,repl: Improved eval and output interrupt
2022-03-11 16:37:48 +01:00
Mattias Wadman
41551de331 interp,repl: Improved eval and output interrupt
repl now rewrites query to do implicit display inside the sub eval.
This makes it possible to interrupt eval and output in a better and faster way.

Make JSON encoder fail early on errors.

Add more interrupt tests.
2022-03-11 16:22:30 +01:00
Mattias Wadman
dd52e85411
Merge pull request #191 from wader/repl-interrupt-fix
interp: Fix interrupt regression after query rewrite refactor
2022-03-11 13:05:12 +01:00
Mattias Wadman
6f10745aa5 interp: Fix interrupt regression after query rewrite refactor
Also add test for it
2022-03-11 12:41:49 +01:00
Mattias Wadman
307fe034c8
Merge pull request #190 from wader/doc-add-bts2022-video
doc: Add bts2022 video
2022-03-09 22:27:42 +01:00
Mattias Wadman
c53bd77718 doc: Add bts2022 video 2022-03-09 22:13:25 +01:00
Mattias Wadman
b0c255fb98
Merge pull request #188 from wader/binary-regexp-explode-clenaup
interp: Cleanup binary regexp overloading and add explode
2022-03-09 20:28:09 +01:00
Mattias Wadman
dff7e7dadb interp: Cleanup binary regexp overloading and add explode
Add explode for binary that explode into an array of the binary unit tobits
Remove scan_toend as it feels a bit weird and one can use tobytes | .[match(...):] instead
Some general cleanup also
2022-03-09 20:17:12 +01:00
Mattias Wadman
c298ed71a7
Merge pull request #187 from wader/present-bts2022
doc: Add fq bts2022 presentation
2022-03-08 18:26:53 +01:00
Mattias Wadman
b97776c9e3 doc: Add fq bts2022 presentation 2022-03-08 18:20:18 +01:00
Mattias Wadman
0ed6b250c9
Merge pull request #186 from wader/format-simplify-torepr
format: Simplify torepr, no need for _f function
2022-03-08 17:25:15 +01:00
Mattias Wadman
27e761570a format: Simplify torepr, no need for _f function 2022-03-08 17:09:48 +01:00
Mattias Wadman
aa250b4468
Merge pull request #185 from wader/testcli-expect-wait-prompt-ubuntu-focal
test: Make expect cli test more robust
2022-03-07 16:31:41 +01:00
Mattias Wadman
56ae4a0c70 test: Make expect cli test more robust
Wait for prompt before sending ^D. Seems to fix issue with expect on ubuntu focal.

Thanks @KristianKarl for report
2022-03-07 16:22:41 +01:00
Mattias Wadman
307216232c
Merge pull request #184 from wader/bump-docker-golang-1.17.8
Update docker-golang from 1.17.7 to 1.17.8
2022-03-04 17:37:56 +01:00
bump
ee5e47189d Update docker-golang from 1.17.7 to 1.17.8 2022-03-04 16:08:37 +00:00
Mattias Wadman
a361812323
Merge pull request #183 from wader/help-less-width
interp: Make help output less wide
2022-03-03 22:12:51 +01:00
Mattias Wadman
eeb59152a6 interp: Make help output less wide 2022-03-03 22:02:33 +01:00
Mattias Wadman
256ab3c322
Merge pull request #182 from wader/repl-color-arrow-pos
repl: Correct error arrow position in color mode
2022-03-03 21:31:46 +01:00
Mattias Wadman
9cb4205b1d repl: Correct error arrow position in color mode 2022-03-03 21:24:03 +01:00
Mattias Wadman
5c9afa5f78
Merge pull request #181 from wader/interp-repl-color-formats-options-help
Add path and value colors to repl and rework options and formats help
2022-03-03 18:33:01 +01:00
Mattias Wadman
3f50bb90a6 interp: Rework formats and options help
Replace --formats with --help formats
Add --help options
2022-03-03 18:25:20 +01:00
Mattias Wadman
33efb02af0 interp,repl: Add path and value colors to prompt 2022-03-03 18:25:19 +01:00
Mattias Wadman
fe8183b500 interp: Color parse in jq 2022-03-03 17:55:24 +01:00
Mattias Wadman
db8076052d
Merge pull request #180 from wader/doc-format-digram-macho
doc: Regenerate and fix macho section size
2022-03-03 10:02:40 +01:00
Mattias Wadman
920629f5fd doc: Regenerate and fix macho section size
Make macho format documentaion a bit more consistent.
2022-03-03 09:55:53 +01:00
Mattias Wadman
a0b32dd57a
Merge pull request #179 from wader/bump-gojq-tonumber-try
gojq: Rebase fq fork and add support for non-10 base for tonumber
2022-03-02 23:53:01 +01:00
Mattias Wadman
be6f00935f gojq: Rebase fq fork and add support for non-10 base for tonumber
tonumber now works with non-10 number literals
Fix try precedences changes
Fix .[]? error handling changes
2022-03-02 23:46:20 +01:00
Mattias Wadman
1c0130c04e
Merge pull request #178 from wader/eval-rewrite-refactor
repl,interp: Refactor repl and slurp
2022-03-01 18:39:02 +01:00
Mattias Wadman
0a043f9096 repl,interp: Refactor repl and slurp
Now repl, slurp and help implemented using same query rewrite.
Include filename context in error if possible.
Add spew function that does opposite of slurp.
Start of help infra, not done or documented yet.
Show error pointer on parse error.
Rename internal eval to _eval and make eval be wrapper that
does rewrite and has various eror handling etc.
Nicer repl, slupr and help errors.
2022-03-01 18:31:00 +01:00
Mattias Wadman
47b3c64bf9
Merge pull request #177 from wader/mp4-colr-reformat
mp4: Reformat and use dv in test
2022-03-01 12:10:12 +01:00
Mattias Wadman
b157751a0a mp4: Reformat and use dv in test 2022-03-01 11:59:28 +01:00
Mattias Wadman
2a252f9591
Merge pull request #176 from wader/mp4-colr
mp4: Add colr box support
2022-03-01 11:54:31 +01:00
Mattias Wadman
f8690e6c59 mp4: Add colr box support 2022-03-01 11:43:50 +01:00
Mattias Wadman
7e51e740ff
Merge pull request #175 from wader/doc-tweak-format-diagram
doc: Tweak format diagram
2022-02-28 10:48:53 +01:00
Mattias Wadman
d3397cf9e7 doc: Tweak format diagram 2022-02-28 10:42:39 +01:00
Mattias Wadman
3e78395a4e
Merge pull request #174 from wader/doc-regenerate
doc: Regenerate after macho merge
2022-02-28 10:32:53 +01:00
Mattias Wadman
758b2d0e34 doc: Regenerate after macho merge 2022-02-28 10:28:21 +01:00
Mattias Wadman
e0f493fa0b
Merge pull request #51 from Akaame/43_macho_support
[WIP] 43: Initial impl for macho support.
2022-02-28 10:22:50 +01:00
siddik.acil
b0911af204 macho: docs review changes 2022-02-27 19:31:18 +01:00
siddik.acil
04eae939eb macho: add basic docs 2022-02-26 19:58:40 +01:00
Mattias Wadman
4798917ae3
Merge pull request #173 from wader/intepr-finally-improv
interp: Make _finally handle null, call fin once and last
2022-02-24 18:46:03 +01:00
Mattias Wadman
f66f115e11 interp: Make _finally handle null, call fin once and last
null value from f did not call fin.
fin was not always called last
Now fin is onyl called once

Might be cause of some weird repl bugs.
2022-02-24 18:39:03 +01:00
Mattias Wadman
9fe90927ee
Merge pull request #172 from wader/interp-skip-redundant-inclues
interp: Skip redundant includes
2022-02-24 12:48:27 +01:00
Mattias Wadman
03f450f82e interp: Skip redundant includes
Speeds up interp quite a bit.
Also good as i've start to use more includes to make code easier to follow
where thigns come from and also makes jq-lsp happier.

Also rename evalContext to evalInstace to make it less confused with context.
2022-02-24 12:44:26 +01:00
Mattias Wadman
9faa793597
Merge pull request #171 from wader/fuzz-more-seeds
fuzz: Include more testdata seed files
2022-02-22 01:12:27 +01:00
Mattias Wadman
206dcd02a1 fuzz: Include more testdata seed files 2022-02-22 01:04:58 +01:00