1
1
mirror of https://github.com/wader/fq.git synced 2024-11-28 11:42:50 +03:00
Commit Graph

635 Commits

Author SHA1 Message Date
Mattias Wadman
0a1a5610a9 interp: Add missing default opts for tovalue 2022-02-07 17:11:51 +01:00
Mattias Wadman
ac4d15ccb9
Merge pull request #130 from wader/aac-frame-only-known
aac_frame: Only try decode object types we know about
2022-02-07 16:07:17 +01:00
Mattias Wadman
3bab3d659a aac_frame: Only try decode object types we know about
Fixes issue failing on unknown or future aac standards
Also add missing object type passing for matroska
2022-02-07 16:02:56 +01:00
Mattias Wadman
d048a63753
Merge pull request #129 from wader/mp4-stz2
mp4: Add stz2 support
2022-02-07 12:53:35 +01:00
Mattias Wadman
45b00aabd4 mp4: Add stz2 support 2022-02-07 12:35:39 +01:00
Mattias Wadman
7c05c94233
Merge pull request #92 from wader/asn1
asn1_ber: Add decoder
2022-02-06 22:17:59 +01:00
Mattias Wadman
0829c167cc asn1_ber: Add decoder
Basic support, can also do CER and DER but without any extra validation.
No schema support.

Redo format doc.md usage a bit, now format/<dir>/<format>.md instead.

Related to #20
2022-02-06 22:13:03 +01:00
Mattias Wadman
be71eb01ac decode: Rename LenFn() to LimitedFn, add FramedFn and document
I think framed makes more sense, but not sure
2022-02-06 13:49:00 +01:00
Mattias Wadman
5fab619db7
Merge pull request #128 from wader/fuzz-log-seed-number
fuzz: List seed numbers and make it build again
2022-02-05 18:42:35 +01:00
Mattias Wadman
e1bdfdf8ef fuzz: List seed numbers and make it build again 2022-02-05 18:38:38 +01:00
Mattias Wadman
91b0fed929
Merge pull request #127 from wader/doc-foramts-option-links
doc: Add format links to format table
2022-02-05 18:24:03 +01:00
Mattias Wadman
c15f5283c0 doc: Add format links to format table 2022-02-05 18:15:18 +01:00
Mattias Wadman
032cb7d3d7
Merge pull request #126 from wader/interp-allow-force-as-cli-option
interp: Support force decode as -o force=true
2022-02-05 17:30:37 +01:00
Mattias Wadman
09afd2ab24
Merge pull request #125 from wader/mp4-pnot-jpeg2000
mp4: Add video preview (pnot) and JPEG 2000 (jP) signatures
2022-02-05 17:25:23 +01:00
Mattias Wadman
366f6b185c interp: Support force decode as -o force=true 2022-02-05 17:24:42 +01:00
Mattias Wadman
092609bee1 mp4: Add video preview (pnot) and JPEG 2000 (jP) signatures 2022-02-05 17:03:18 +01:00
Mattias Wadman
8c6eeca141
Merge pull request #124 from wader/bitio-doc-cleanup
bitio: Cleanup documentation a bit
2022-02-05 17:01:59 +01:00
Mattias Wadman
d854ed5737 bitio: Cleanup documentation a bit 2022-02-05 16:54:54 +01:00
Mattias Wadman
6b8867180c
Merge pull request #123 from wader/bitio-refactor-and-correct-slicing
bitio,decode: Refactor bitio usage and make buffer slicing more correct
2022-02-04 21:53:31 +01:00
Mattias Wadman
7c5215347d bitio,decode: Refactor bitio usage and make buffer slicing more correct
Remove bitio.Buffer layer. bitio.Buffer was a kitchen sink layer with helpers
now it's just a buffer and most functions have been moved to decode instead.

bitio package now only have primitive types and functions simialar to standard
library io and bytes packages.

Make nearly eveything internally use bitio.Bit* interfaces so that slicing work
correctly this will also make it possible to start experimenting with more
complicated silcing helpers, ex things like:
breplace(.header.bitrate; 123) to get a new buffer with bitrate changed.
2022-02-04 21:41:53 +01:00
Mattias Wadman
9ed08ec108
Merge pull request #122 from wader/doc-diagram-dep-colors
doc: Color edges in diagram based on dest
2022-02-02 19:52:08 +01:00
Mattias Wadman
710c29b24e doc: Color edges in diagram based on dest 2022-02-02 19:39:33 +01:00
Mattias Wadman
1547dbdd61
Merge pull request #121 from wader/decode-add-missing-scalar-args
decode: Add scalars args to FieldRootBitBuf
2022-02-01 22:59:39 +01:00
Mattias Wadman
556f6ee8e9
Merge pull request #120 from wader/protobuf-doc
protobuf: Add note about sub message decoding
2022-02-01 22:59:33 +01:00
Mattias Wadman
4ab6381dc4 decode: Add scalars args to FieldRootBitBuf
Also move *Value.TryScalarFn to value.go
2022-02-01 22:24:24 +01:00
Mattias Wadman
2ab395a03b protobuf: Add note about sub message decoding
Fix and cleanup some other doc also
2022-02-01 22:22:19 +01:00
Mattias Wadman
e12a14a948
Merge pull request #119 from wader/doc-more-display-fixes
doc: More display alias leftover fixes
2022-01-29 16:36:45 +01:00
Mattias Wadman
6b51b0676f doc: More display alias leftover fixes 2022-01-29 13:22:10 +01:00
Mattias Wadman
7634328536
Merge pull request #118 from wader/doc-display
doc: Document display and some more jq hints
2022-01-29 13:16:02 +01: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
bc20f09fdb
Merge pull request #117 from wader/make-cleanup-targets
make: Cleanup some not very used targets
2022-01-29 12:31:10 +01:00
Mattias Wadman
b66e3287f2
Merge pull request #112 from wader/interp-cleanup-d-alises
interp: Cleanup display aliases, now: d, da, dd, dv, ddv
2022-01-29 12:28:46 +01:00
Mattias Wadman
fc52f20ed1
Merge pull request #116 from wader/doc-fix-filenames
doc,matroska: Fix filesname in example
2022-01-29 12:27:38 +01:00
Mattias Wadman
bf170be8ea make: Cleanup some not very used targets 2022-01-29 12:27:15 +01:00
Mattias Wadman
2efc3cba9b
Merge pull request #115 from wader/doc-example-usages
doc,interp: Add some example usages to cli help
2022-01-29 12:26:08 +01:00
Mattias Wadman
7bc2521938 doc,interp: Add some example usages to cli help 2022-01-29 12:21:51 +01:00
Mattias Wadman
8e47fb1a85 doc,matroska: Fix filesname in example 2022-01-29 12:20:47 +01:00
Mattias Wadman
cae9587c5c
Merge pull request #114 from wader/doc-per-format-doc
doc: Add per format documentation
2022-01-29 12:16:18 +01:00
Mattias Wadman
a8664ed5ba doc: Add per format documentation 2022-01-29 12:01:36 +01:00
Mattias Wadman
ce3508bd8e
Merge pull request #113 from wader/interp-if-add-platform
interp: Add Platform() method to OS interface
2022-01-29 11:35:59 +01:00
Mattias Wadman
ca68e6a1e4 interp: Add Platform() method to OS interface
Felt bad that main should have to know about it
2022-01-29 11:31:36 +01:00
Mattias Wadman
fc0aacb654 interp: Cleanup display aliases, now: d, da, dd, dv, ddv
Think it makes sense to have them all start with d.
Also f is often used as function argument name.
2022-01-28 18:25:38 +01:00
Mattias Wadman
94a863e69a
Merge pull request #111 from wader/decode-scalar-str-number-sym-helper
decode,scalar: Add scalar.Str{Uint/Int/F}ToSym to parse numbers
2022-01-28 17:36:38 +01:00
Mattias Wadman
6cd1c38fbf decode,scalar: Add scalar.Str{Uint/Int/F}ToSym to parse numbers 2022-01-28 17:18:50 +01:00
Mattias Wadman
b2e5a83860
Merge pull request #110 from wader/doc-improve-use-other-func-notation
doc: Use f($a; $b) instead of jq f/2 notation
2022-01-27 10:10:12 +01:00
Mattias Wadman
c52a1a2364 doc: Use f($a; $b) instead of jq f/2 notation
Also some general polish
2022-01-27 09:55:45 +01:00
Mattias Wadman
9918c9ad24
Merge pull request #109 from wader/version-os-arch
fq: Add arch and os to --version
2022-01-26 18:14:47 +01:00
Mattias Wadman
233d86a384 fq: Add arch and os to --version 2022-01-26 18:09:59 +01:00
Doctor-love
5bf83764b2
Merge pull request #108 from wader/fix-issue_template_clarify_install_method
Polish of problem template and clarifying questions
2022-01-26 16:09:45 +00:00
Joel Rangsmo
5a1d35e77c
Remove redudant question and fix typo 2022-01-26 15:50:32 +00:00