Mattias Wadman
20a15372ba
mp4: Fix data_format typo
2022-10-02 23:31:38 +02:00
Mattias Wadman
a8c04aa24e
Merge pull request #440 from wader/interp-correct-cli-interrupt
...
interp: Fix interrupt panic for cli eval
2022-09-29 18:25:55 +02:00
Mattias Wadman
c4219d69db
interp: Fix interrupt panic for cli eval
...
Rewrite cli query to use display as output query, same as for repl.
Without this "tovalue" values that don't print in the current eval
will end up in the paren eval and be written using an output without
a cancel context.
2022-09-29 18:17:57 +02:00
Mattias Wadman
88b598ead7
Merge pull request #439 from wader/gojq-update
...
gojq: Update fq fork
2022-09-29 16:36:38 +02:00
Mattias Wadman
404b17047d
gojq: Update fq fork
...
Fixes: Iter function with no outputs in a path(...) throws errors
https://github.com/itchyny/gojq/issues/191
2022-09-29 16:19:40 +02:00
Mattias Wadman
fb6b186122
Merge pull request #438 from wader/update-deps
...
deps: Manual update ones not using bump
2022-09-28 16:12:46 +02:00
Mattias Wadman
a468684ae8
deps: Manual update ones not using bump
...
Uses branch as they lack release tag
github.com/gomarkdown/markdown@master
golang.org/x/crypto@master
golang.org/x/exp@master
golang.org/x/net@master
2022-09-28 16:05:33 +02:00
Mattias Wadman
b242c5ce96
Merge pull request #437 from wader/gojq-update
...
gojq: Update rebased fq fork
2022-09-28 15:58:22 +02:00
Mattias Wadman
376f0ebb24
gojq: Update rebased fq fork
...
Also sync colorjson encoder with gojq encoder
2022-09-28 15:44:16 +02:00
Mattias Wadman
d2d77dae88
Merge pull request #436 from wader/readline-update
...
readline: Update rebased fq fork
2022-09-28 15:07:37 +02:00
Mattias Wadman
ea81efec38
readline: Update rebased fq fork
2022-09-28 15:00:26 +02:00
Mattias Wadman
ac032faf3a
Merge pull request #435 from wader/doc-fix-example-prompts
...
doc: Fix some incorrect example prompts
2022-09-27 13:53:24 +02:00
Mattias Wadman
0fdc03a4f1
doc: Fix some incorrect example prompts
2022-09-27 13:42:31 +02:00
Mattias Wadman
d4315322e0
Merge pull request #433 from wader/wav-smpl-chunk
...
wav: Decode smpl chunk
2022-09-26 12:51:34 +02:00
Mattias Wadman
d6316d5cbf
wav: Decode smpl chunk
2022-09-26 11:28:02 +02:00
Mattias Wadman
50f690cf6d
Merge pull request #432 from wader/decode-toactual-tosym-bitbufs-etc
...
interp: Make to{actual,sym} behave similar to tovalue
2022-09-25 19:21:22 +02:00
Mattias Wadman
00ee10a1a1
interp: Make to{actual,sym} behave similar to tovalue
...
Before if you did toactual it behaved differently and even gave error for
a scalar that only had actual value set. Now both to{actal,sym} works
similar to tovalue but will force if actual or sym value should be used.
2022-09-25 17:53:12 +02:00
Mattias Wadman
2bda12e4b4
Merge pull request #431 from wader/ranges-gap-empty-ranges
...
ranges,decode: Correctly skip empty ranges when adding unknown fields
2022-09-25 16:38:57 +02:00
Mattias Wadman
0f35fe48fd
ranges,decode: Correctly skip empty ranges when adding unknown fields
...
Before an empty range could cause gaps to be devided instead of continous.
2022-09-25 16:02:15 +02:00
David McDonald
1e47f4f2f7
updates tests post integer-bug fix
2022-09-25 00:48:43 -05:00
David McDonald
ebae938d0e
Fixes bug in integer parsing
2022-09-25 00:43:21 -05:00
David McDonald
bcccde2358
Fixes and embeds documentation
2022-09-24 12:57:11 -05:00
David McDonald
3d8ea1deac
updates torepr for data type
2022-09-23 22:12:30 -05:00
David McDonald
12836abe26
updates fqtest
2022-09-23 21:16:28 -05:00
David McDonald
5f61994087
adds function for decoding fixed sized arrays
2022-09-23 20:50:41 -05:00
David McDonald
3deceeebd6
fixes from PR comments
2022-09-23 20:23:29 -05:00
David McDonald
3198602d25
removed unused return type
2022-09-23 20:23:29 -05:00
David McDonald
369f4016c1
removed unneccessary type conversions
2022-09-23 20:23:29 -05:00
David McDonald
6b04f2de1c
Documentation cleanup
2022-09-23 20:23:29 -05:00
David McDonald
368d183b73
Size check on nBits to save memory
2022-09-23 20:23:29 -05:00
David McDonald
a77cec921f
Added documentation and tests, fixed bad date parsing
2022-09-23 20:23:23 -05:00
David McDonald
5711f29084
Code fixes from PR, still need to add tests and testdata
2022-09-23 20:21:32 -05:00
David McDonald
d784db69bc
Adds support for Apple Binary Plist, version 00
2022-09-23 20:21:32 -05:00
Mattias Wadman
783b20ece5
Merge pull request #430 from wader/all-format-test-in-format
...
doc,help: Move help tests into each format
2022-09-22 23:14:40 +02:00
Mattias Wadman
a7a101ca67
doc,help: Nicer format help and move help tests into each format
...
Also add authors to avro and macho decoders
Generated with:
for i in $(go run . -r -n '_registry | [([([.files[][].name | split(".")[0]] | unique[]), (.formats[].name)] | count[] | select(.[1] == 2)[0]), (.formats[] | select(.decode_in_arg).name)] | unique[]'); do DIR=$(dirname $(find format -name $i.go)); echo "$ fq -h $i" > "$DIR/testdata/help_$i.fqtest" ; done
2022-09-22 23:07:58 +02:00
Mattias Wadman
2e3d71fdcc
Merge pull request #429 from wader/more-format-doc
...
doc,html,xml: Add more documentation and examples
2022-09-20 18:32:15 +02:00
Mattias Wadman
725ab1b17b
doc,html,xml: Add more documentation and examples
2022-09-20 17:35:27 +02:00
Mattias Wadman
01be59e459
Merge pull request #428 from wader/ar-allow-empty-integerr
...
ar: Integer strings might be empty
2022-09-17 16:17:47 +02:00
Mattias Wadman
f08f44f12a
ar: Integer strings might be empty
2022-09-17 15:36:34 +02:00
Mattias Wadman
ee7b9f4186
Merge pull request #426 from wader/csv-tsv-doc
...
csv: Add tsv and header example
2022-09-15 01:27:54 +02:00
Mattias Wadman
fe64530e11
csv: Add tsv and header example
...
Also fix string esacpe in fuzz options parser
2022-09-15 01:16:45 +02:00
Mattias Wadman
88009ee9a3
Merge pull request #425 from wader/wasm-doc
...
wasm: Add some documentation
2022-09-13 09:59:17 +02:00
Mattias Wadman
1385b5d0ba
wasm: Add some documentation
2022-09-12 11:53:48 +02:00
Mattias Wadman
1a2cee94b7
Merge pull request #424 from wader/mp4-more-codec-names
...
mp4: More codec names (from mp4ra.org)
2022-09-12 11:42:10 +02:00
Mattias Wadman
2655ba09c5
mp4: More codec names (from mp4ra.org)
2022-09-12 11:25:43 +02:00
Mattias Wadman
ac93da62c2
Merge pull request #423 from wader/doc-formats-sections
...
doc: Fix format sections a bit
2022-09-11 10:08:24 +02:00
Mattias Wadman
abd19ed89b
doc: Fix format sections a bit
2022-09-11 09:55:56 +02:00
Mattias Wadman
577ea7665c
Merge pull request #422 from wader/markdown
...
Move format documentation to markdown again
2022-09-11 00:59:49 +02:00
Mattias Wadman
87b2c6c10c
help,doc: Use markdown for format documentation again
...
Markdown is used as is in online documentation and in cli the markdown decoder
is used to decode and the some jq code massages it into something cli friendly.
Was just too much of a mess to have doc in jq.
2022-09-11 00:53:29 +02:00
Mattias Wadman
00a50662ea
markdown: Add decoder
2022-09-10 18:26:45 +02:00