1
1
mirror of https://github.com/wader/fq.git synced 2024-12-23 05:13:30 +03:00
Commit Graph

647 Commits

Author SHA1 Message Date
Mattias Wadman
06b67e4b59 doc: Add more license details
Related to #137
2022-02-10 12:38:46 +01:00
Mattias Wadman
929bfcae2f
Merge pull request #136 from wader/usage-cleanup
doc: Cleanup and add more decode value and binary documentation
2022-02-09 21:25:57 +01:00
Mattias Wadman
36307857de doc: Cleanup and add more decode value and binary documentation 2022-02-09 21:08:01 +01:00
Mattias Wadman
b45154e6eb
Merge pull request #135 from wader/bitio-doc-cleanup3
bitio,doc: Even more cleanup
2022-02-09 10:19:25 +01:00
Mattias Wadman
0d74e879fb bitio,doc: Even more cleanup 2022-02-09 01:35:47 +01:00
Mattias Wadman
277afea0ad
Merge pull request #134 from wader/bitio-doc-cleanup2
bitio: More doc cleanup
2022-02-09 01:09:12 +01:00
Mattias Wadman
82aeb35591 bitio: More doc cleanup 2022-02-09 01:03:50 +01:00
Mattias Wadman
d1c75543ed
Merge pull request #133 from wader/binary-decode-doc-fixes
binary,decode,doc: Rename buffer to binary and add some documentation
2022-02-08 22:27:59 +01:00
Mattias Wadman
06245d1295 binary,decode,doc: Rename buffer to binary and add some documentation
Rename buffer to binary. Still some work left what to call buffer/binary in decode code.
Document decode value and binary type
Fix proper unit padding for tobytes and add still undocumenated extra padding argument.
Add some additional binary tests
2022-02-08 22:20:28 +01:00
Mattias Wadman
2dc2a24f92
Merge pull request #132 from wader/asn1-frompem-doc
asn1_ber: Add more doc and multiple outputs for frompem
2022-02-07 18:04:12 +01:00
Mattias Wadman
0312c92c31 asn1_ber: Add more doc and multiple outputs for frompem 2022-02-07 17:41:05 +01:00
Mattias Wadman
1d34cbd5e7
Merge pull request #131 from wader/interp-tovalue-default-opts
interp: Add missing default opts for tovalue
2022-02-07 17:21:01 +01:00
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