1
1
mirror of https://github.com/wader/fq.git synced 2024-11-26 21:55:57 +03:00
Commit Graph

923 Commits

Author SHA1 Message Date
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
siddik.acil
2e7767cd05 macho: remake docs 2022-02-21 20:33:30 +01:00
siddik.acil
228757b92a macho: review fixes 2022-02-21 20:32:18 +01:00
siddik.acil
78699f3ace macho: parse flags individually 2022-02-21 20:32:18 +01:00
siddik.acil
3991c51ab5 macho: handle unknown lc_commands better 2022-02-21 20:32:18 +01:00
siddik.acil
ef2919b300 macho: introduce arm and fat tests 2022-02-21 20:32:18 +01:00
siddik.acil
d1f093ce80 macho: fix fat header decode bug 2022-02-21 20:32:18 +01:00
siddik.acil
d47e04c494 fixup! macho: CPU_SUBTYPE_MULTIPLE and TYPE_ALL are 0xff_ff_ff_ff 2022-02-21 20:32:18 +01:00
siddik.acil
c5918d234b macho: CPU_SUBTYPE_MULTIPLE and TYPE_ALL are 0xff_ff_ff_ff 2022-02-21 20:32:18 +01:00
siddik.acil
5ee9a23c14 macho: review fixes 2022-02-21 20:32:18 +01:00
siddik.acil
5c97420989 macho: TS string to UTC 2022-02-21 20:32:18 +01:00
siddik.acil
2ccb8087b0 macho: update test cases v to dv 2022-02-21 20:32:18 +01:00
siddik.acil
e3daee7d94 macho: simplify thread state decoder 2022-02-21 20:32:18 +01:00
siddik.acil
70c9d5196c macho: thread state visualization 2022-02-21 20:32:18 +01:00