Mattias Wadman
af68511acf
dev,doc Clarify some dev docs and rename launch.json to be a template
2023-05-01 17:39:43 +02:00
Mattias Wadman
9ba8c547ac
Merge pull request #652 from wader/format-naming
...
formats: Clenaup naming a bit
2023-05-01 13:31:16 +02:00
Mattias Wadman
a4a332bf4e
formats: Clenaup naming a bit
2023-05-01 13:19:04 +02:00
Mattias Wadman
f3fc85a63e
Merge pull request #651 from wader/mp4-terminator-atom-desc
...
mp4: Better description for QuickTime terminator atom
2023-05-01 12:45:39 +02:00
Mattias Wadman
7adc1e7030
mp4: Better description for QuickTime terminator atom
...
Addition improvement could be to only allow it in quicktime ftyp brand
and also not as a root book. Currently trailing zero bytes could be
mistaken as a terminator atom.
2023-05-01 12:32:25 +02:00
Mattias Wadman
94834c0378
Merge pull request #649 from wader/tovalue-skip-gaps
...
interp: Add skip_gaps option for tovalue/-V
2023-04-30 13:18:02 +02:00
Mattias Wadman
c51271399c
interp: Add skip_gaps option for tovalue/-V
...
Skips gap fields in struct and arrays.
Gaps fields are bit ranges that a decoder did not add any fields for.
Note that skipping gaps in arrays will affect indexes.
2023-04-30 13:04:39 +02:00
Mattias Wadman
1bdf1df8ba
Merge pull request #647 from wader/tovalue-deep
...
interp: Make tovalue output behave as jq value
2023-04-29 22:41:54 +02:00
Mattias Wadman
ee66fece18
interp: Make tovalue output behave as jq value
...
Now ex "tovalue | .some.thing" on a decode value will make some.thing be jq value
instead of a decode value which woud be displayed as a decode treee, seems confusing.
I think this is more intuetive and make more sense.
2023-04-29 22:31:53 +02:00
Mattias Wadman
6194b87954
Merge pull request #648 from wader/format-group-rework
...
decode,interp: Refactor format groups into a proper struct
2023-04-29 20:10:53 +02:00
Mattias Wadman
b08ef00dd1
decode,interp: Refactor format groups into a proper struct
...
Replaces []Format with a Group type.
A bit more type safe.
Breaking change for RegisterFormat, now takes a first argument that is a "single" format group.
Lots of naming cleanup.
This is also preparation for decode group argument which will enable doing intresting
probing, ex a format decoder could know it's decode as part of probe group (html could
be probed possibly), or have "arg probe" group for decoder who inspect args to know
if they should probe (-d /path/to/schema etc) to enable nice CLI-ergonomics.
2023-04-29 20:02:34 +02:00
Mattias Wadman
b2cb5c3c1b
Merge pull request #645 from wader/matroska-filedata-fallback
...
matroska: file_data: Fallback to raw if probe fails
2023-04-20 20:37:26 +02:00
Mattias Wadman
8941b13932
matroska: file_data: Fallback to raw if probe fails
2023-04-20 20:08:40 +02:00
Mattias Wadman
7362dbf4aa
Merge pull request #644 from castilma/typo
...
gzip.go: fix typo in variablename: delfate
2023-04-19 16:07:30 +02:00
Martin Castillo
b3b6cd0ee3
gzip.go: fix typo in variablename: delfate
2023-04-19 15:51:55 +02:00
Mattias Wadman
26eb7c0a6f
Merge pull request #643 from wader/mp4-isobmff-more-version
...
mp4: ctts,infe,iinf,trun: More ISOMFF version handling
2023-04-17 12:01:02 +02:00
Mattias Wadman
3c6d31b0fe
mp4: ctts,infe,iinf,trun: More ISOMFF version handling
2023-04-17 11:43:54 +02:00
Mattias Wadman
fb8fcffd3a
Merge pull request #642 from wader/usage-more-examples
...
doc: Add some more examples
2023-04-14 10:31:20 +02:00
Mattias Wadman
97c952b3f1
doc: Add some more examples
2023-04-14 10:19:33 +02:00
Mattias Wadman
23d980d4a0
Merge pull request #641 from wader/release-0.5.0
...
fq: Release 0.5.0
2023-04-13 17:39:42 +02:00
Mattias Wadman
43459aa70a
fq: Release 0.5.0
2023-04-13 17:26:37 +02:00
Mattias Wadman
ec2b96715d
Merge pull request #640 from wader/matroska-update-spec
...
matroska: Update ebml specification
2023-04-13 12:28:56 +02:00
Mattias Wadman
2a2b64dda2
matroska: Update ebml specification
...
Also add license note about ebml_matroska.xml
2023-04-13 12:19:41 +02:00
Mattias Wadman
a6fe7111a2
Merge pull request #385 from wader/value-output-arg
...
interp: Add --value-output/-V option to do tovalue before output
2023-04-13 11:58:29 +02:00
Mattias Wadman
427ce78df6
interp: Add --value-output/-V option to do tovalue before output
...
Idea is to skip display so that JSON is outputted instead of showing tree and hexdump etc.
2023-04-13 11:29:16 +02:00
Mattias Wadman
5c69fcc9df
Merge pull request #638 from wader/interp-func-decode-value-struct-args
...
interp: Allow and convert JQValues:s (ex decode value) in function ar…
2023-04-12 12:34:31 +02:00
Mattias Wadman
9a1ef84cdd
interp: Allow and convert JQValues:s (ex decode value) in function arg objects
...
Before it failed when passing a decode value, like an integer, string etc, as a object value
to an internal function (written in go), ex some_function({name: <decode value>}).
A future improvement could be to allow an internal function to say that it wants a "raw"
decode value etc and not one converted to primitive type.
2023-04-12 12:17:46 +02:00
Mattias Wadman
089cf9bbae
Merge pull request #637 from wader/wav-clenaup-avi
...
wav: Cleanup avi leftovers
2023-04-11 20:16:56 +02:00
Mattias Wadman
e1b02312d0
wav: Cleanup avi leftovers
2023-04-11 19:34:34 +02:00
Mattias Wadman
22ab56164c
Merge pull request #636 from wader/msgpack-more-tests
...
msgpack: Add str, array and object type tests
2023-04-08 13:23:02 +02:00
Mattias Wadman
82da99c917
msgpack: Add str, array and object type tests
...
Related to #634
2023-04-08 13:09:15 +02:00
Mattias Wadman
cd4974e45e
Merge pull request #635 from wader/msgpack-correct-fixstr-length
...
msgpack: fixstr length field is 5 bits
2023-04-08 09:03:04 +02:00
Mattias Wadman
97360d6ff9
msgpack: fixstr length field is 5 bits
...
Fixes #634
2023-04-08 08:45:26 +02:00
Mattias Wadman
b9864fc0cf
Merge pull request #633 from wader/bump-gomod-golang-x-net-0.9.0
...
Update gomod-golang-x-net to 0.9.0 from 0.8.0
2023-04-07 18:22:17 +02:00
Mattias Wadman
508960fc70
Merge pull request #632 from wader/bump-gomod-golang-x-crypto-0.8.0
...
Update gomod-golang-x-crypto to 0.8.0 from 0.7.0
2023-04-07 18:21:13 +02:00
bump
6c4aebfe98
Update gomod-golang-x-net to 0.9.0 from 0.8.0
...
Tags https://github.com/golang/net/tags
2023-04-07 16:04:03 +00:00
bump
6e5df724e6
Update gomod-golang-x-crypto to 0.8.0 from 0.7.0
...
Tags https://github.com/golang/crypto/tags
2023-04-07 16:04:00 +00:00
Mattias Wadman
ea05d30e9c
Merge pull request #631 from wader/bump-gomod-golang/text-0.9.0
...
Update gomod-golang/text to 0.9.0 from 0.8.0
2023-04-06 18:14:12 +02:00
bump
f13cc979ea
Update gomod-golang/text to 0.9.0 from 0.8.0
...
Source diff 0.8.0..0.9.0 https://github.com/golang/text/compare/v0.8.0..v0.9.0
2023-04-06 16:04:07 +00:00
Mattias Wadman
c8427ea120
Merge pull request #630 from wader/bump-github-go-version-1.20.3
...
Update github-go-version to 1.20.3 from 1.20.2
2023-04-05 18:24:54 +02:00
Mattias Wadman
1ce29b1af6
Merge pull request #629 from wader/bump-docker-golang-1.20.3
...
Update docker-golang to 1.20.3 from 1.20.2
2023-04-05 18:24:32 +02:00
bump
f7dca47767
Update github-go-version to 1.20.3 from 1.20.2
2023-04-05 16:03:56 +00:00
bump
4ad1cceda2
Update docker-golang to 1.20.3 from 1.20.2
2023-04-05 16:03:53 +00:00
Mattias Wadman
13b36a9bcc
Merge pull request #628 from wader/rework-recoverfn-repanic-debug
...
decode,fuzz,dev: Move recoverable error check to recoverfn.Run
2023-03-31 13:19:06 +02:00
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
Mattias Wadman
664bc3b1b7
Merge pull request #626 from wader/cleanup-old-help
...
decode: Cleanup old unused help system code
2023-03-28 21:59:47 +02:00
Mattias Wadman
a6c4db75fd
decode: Cleanup old unused help system code
2023-03-28 21:51:04 +02:00
Mattias Wadman
4a102df526
Merge pull request #625 from wader/bump-gomod-gopacket-1.1.0
...
Update gomod-gopacket to 1.1.0 from 1.0.0
2023-03-28 18:15:34 +02:00
bump
e2af57ee43
Update gomod-gopacket to 1.1.0 from 1.0.0
...
Release notes https://github.com/gopacket/gopacket/releases/tag/v1.1.0
2023-03-28 16:04:46 +00:00
Mattias Wadman
343ecb77f8
Merge pull request #623 from wader/bump-make-golangci-lint-1.52.2
...
Update make-golangci-lint to 1.52.2 from 1.52.1
2023-03-26 18:34:48 +02:00