1
1
mirror of https://github.com/wader/fq.git synced 2024-11-27 14:14:58 +03:00
Commit Graph

1003 Commits

Author SHA1 Message Date
bump
d10a361628 Update github-golangci-lint from 1.45.2 to 1.46.0
Release notes https://github.com/golangci/golangci-lint/releases/tag/v1.46.0
2022-05-09 16:09:38 +00:00
bump
5db7397abb Update make-golangci-lint from 1.45.2 to 1.46.0 2022-05-09 16:09:37 +00:00
Mattias Wadman
394edd0533
Merge pull request #255 from wader/icc-profile-align-eof
icc_profile: Correctly clamp align padding on EOF
2022-05-09 13:33:41 +02:00
Mattias Wadman
efa5e23aaa icc_profile: Correctly clamp align padding on EOF
Also code was mixing bytes and bit units, how could this have worked?
2022-05-09 13:14:20 +02:00
Mattias Wadman
e2577ec9b5
Merge pull request #254 from wader/mp4-tfhd-add-track
mp4: Add track id field and add track for tfhd with unseen track_id
2022-05-08 19:07:18 +02:00
Mattias Wadman
8228ecaeee mp4: Add track id field and add track for tfhd with unseen track_id
Fragmened mp4s can have no tkhd box or tkhd box with a track_id that does not match
any tfhd box track_id. Make is possible to see samples for these fragmented tracks
ny adding tracks for unseen track_ids.

Also add id field for tracks.
2022-05-08 19:02:21 +02:00
Mattias Wadman
3c1f46e4c5
Merge pull request #253 from wader/time-description
scalar,mp4,gzip,tar: Add timestamp to description
2022-05-07 13:19:58 +02:00
Mattias Wadman
76161a1b99 scalar,mp4,gzip,tar: Add timestamp to description
Scalar api for this needs some work
2022-05-07 13:15:13 +02:00
Mattias Wadman
2b25cca5c5
Merge pull request #252 from wader/scalar-map-fn-cleanup
scalar: Add *Fn type to map value and clearer naming
2022-05-07 13:00:12 +02:00
Mattias Wadman
9133f0e527 scalar: Add *Fn type to map value and clearer naming
Should replace most of this with generics at some point
2022-05-07 12:46:34 +02:00
Mattias Wadman
3349c157e0
Merge pull request #251 from wader/tcp-skipped-bytes
tcp: Split into client/server structs and add skipped_bytes and has_s…
2022-05-06 16:58:58 +02:00
Mattias Wadman
34cf5442b3 tcp: Split into client/server structs and add skipped_bytes and has_start/end per direction
Feels clenaer and removes _client/server field prefixes
2022-05-06 16:52:18 +02:00
Mattias Wadman
51ea1a31b9
Merge pull request #250 from wader/wav-bencode-random-fixes
wav,bencode: Random fixes
2022-05-05 20:21:16 +02:00
Mattias Wadman
1aaaefb0ac wav,bencode,mpeg_ps_packet,id3v1: Random fixes
wav: Rest of file should description not symbolic value
bencode: Remove redundant torepr example
mpeg_ps_packet,id3v1: Remove whitespace in symbolic value
2022-05-05 19:45:05 +02:00
Mattias Wadman
140521930b
Merge pull request #249 from wader/mp4-iinf-version0
mp4: iinf: Only assume sub boxes for version 0
2022-05-04 15:42:14 +02:00
Mattias Wadman
0e02bb669c mp4: iinf: Only assume sub boxes for version 0 2022-05-04 15:35:00 +02:00
Mattias Wadman
6013588723
Merge pull request #248 from wader/avc_pps-correct-more-rbsp-data
avc_pps: Correct check if there is more rbsp data
2022-05-04 12:40:09 +02:00
Mattias Wadman
b0096bc170 avc_pps: Correct check if there is more rbsp data
Also add rbsp_stop_one_bit field
2022-05-04 12:34:40 +02:00
Mattias Wadman
d1ca8ff40f
Merge pull request #247 from wader/gojq-update
gojq: Fix JQValue index and destructuring issue and rebase fq fork
2022-05-03 18:27:07 +02:00
Mattias Wadman
0f78687b78 gojq: Fix JQValue index and destructuring issue and rebase fq fork
Rebase on upstream main
Fix issue using JQValue as object index
Fix issue destructuring JQValue array
2022-05-03 18:22:26 +02:00
Mattias Wadman
9e527c3fdb
Merge pull request #246 from wader/decode-opt-range-sorted
decode: Make compound range sort optional
2022-05-03 16:22:07 +02:00
Mattias Wadman
c4dd518e04 decode: Make compound range sort optional
Some formats might want to control child order
mp4: Keep tracks in track id order
dns: Keep label component order
elf: Keep seciton order
macho: Keep command and section order
2022-05-03 16:16:09 +02:00
Mattias Wadman
81a58c73d8
Merge pull request #245 from wader/decode-keep-tree-on-error
decode: Keep decode tree on RangeFn error
2022-05-03 11:05:51 +02:00
Mattias Wadman
3ce660a2cf decode: Keep decode tree on RangeFn error 2022-05-03 10:57:43 +02:00
Mattias Wadman
8c9de70546
Merge pull request #244 from herbygillot/patch-1
readme: add MacPorts install details
2022-05-02 13:23:03 +02:00
Herby Gillot
6e7267d2b0
readme: add MacPorts install details
https://ports.macports.org/port/fq/
2022-05-02 06:57:31 -04:00
Mattias Wadman
19617a69f4
Merge pull request #243 from wader/release-0.0.7
fq: Release 0.0.7
2022-05-01 17:44:16 +02:00
Mattias Wadman
3745181dea fq: Release 0.0.7 2022-05-01 17:39:07 +02:00
Mattias Wadman
fe0ab89efb
Merge pull request #242 from wader/format-opts
decode,interp: Support for format specific options
2022-05-01 17:15:47 +02:00
Mattias Wadman
f4480c6fe5 decode,interp: Support for format specific options
interp: Refactor format help and also include options
interp: Add -o name=@path to load file content as value (not documented yet, might change)
interp,decode: Expose decode out value as _out (might change)
interp: Refactor foramts.jq into format_{decode,func,include}.jq
interp: Refactor torepr into _format_func for generic format function overloading
interp: Refactor -o options parsing to be more generic and collect unknowns options to be used as format options
decode of decode alises
func for format overloaded functions
include for format specific jq functions (also _help, torepr etc)
flac_frame: Add bits_per_sample option
mp3: Add max_unique_header_config and max_sync_seek options
mp4: Add decode_samples and allow_truncate options
avc_au: Has length_size option
hevc_au: Has length_size option
aac_frame: Has object_typee option
doc: Rewrite format doc generation, less hack more jq
2022-05-01 17:08:30 +02:00
Mattias Wadman
411c970093
Merge pull request #238 from wader/macho-sections-data
macho: Add section and encryption_info raw data fields
2022-04-25 20:33:39 +02:00
Mattias Wadman
d6c31dac2b macho: Add section and encryption_info raw data fields 2022-04-25 20:26:35 +02:00
Mattias Wadman
43d78340d6
Merge pull request #237 from wader/bump-gomod-mapstructure-1.5.0
Update gomod-mapstructure from 1.4.3 to 1.5.0
2022-04-21 18:21:43 +02:00
bump
d9195ac48a Update gomod-mapstructure from 1.4.3 to 1.5.0
CHANGELOG https://github.com/mitchellh/mapstructure/blob/master/CHANGELOG.md
2022-04-21 16:08:54 +00:00
Mattias Wadman
20193d046f
Merge pull request #236 from wader/dump-array-in-array-name-cleanup
interp: dump: Show field name for compound values in arrays
2022-04-21 17:55:41 +02:00
Mattias Wadman
21ad628add interp: dump: Show field name for compound values in arrays
mp3: Remove one level of struct for granales
dump: Makes it a bit easier to understand array of arrays/structs.
avro_ocf: Rename ocf.go -> avro_ocr.go to have same name of source file as format
pcap,pcapng: Rename tcp flow struct to tcp_connection, makes more sense i think
mp4: Add ISOBMFF to format description
2022-04-21 17:47:15 +02:00
Mattias Wadman
8dc2fdea34
Merge pull request #235 from wader/gojq-rebase
gojq: Rebase fq fork. Fixes JQValue path tracking when iterating
2022-04-19 19:06:57 +02:00
Mattias Wadman
afd724bf9c gojq: Rebase fq fork. Fixes JQValue path tracking when iterating
Add some decode value path and assign tests
2022-04-19 19:00:37 +02:00
Mattias Wadman
6b4dbbf415
Merge pull request #234 from wader/field-truncate2
interp: Don't truncate last display column
2022-04-19 18:30:17 +02:00
Mattias Wadman
8f1b2bceca
Merge pull request #233 from wader/interp-decode-tobinary-simplier
interp: Simpler and more efficient hexdump
2022-04-19 18:21:39 +02:00
Mattias Wadman
607202bb67 interp: Don't truncate last display column
Wrapping lines might be annoying but not seeing things even worse i think.
Hopefully once column config is in jq it could be an option.
2022-04-19 18:19:42 +02:00
Mattias Wadman
087d12419e interp: Simpler and more efficient hexdump
Should not need to copy bits, just use existing bitreader
2022-04-19 18:12:58 +02:00
Mattias Wadman
16dc8b417a
Merge pull request #232 from wader/gojq-rebase2
gojq: Rebase fq fork
2022-04-17 19:54:12 +02:00
Mattias Wadman
02a97fa39a gojq: Rebase fq fork
debug code conflict and removed some unused code
2022-04-17 19:45:58 +02:00
Mattias Wadman
9d2f176ba4
Merge pull request #231 from wader/field-truncate2
interp: Proper display column truncate
2022-04-16 18:56:54 +02:00
Mattias Wadman
dabad85080 interp: Proper display column truncate
Also speed up by using less string allocs
2022-04-16 18:48:21 +02:00
Mattias Wadman
7bdb3d815a
Merge pull request #230 from wader/bump-github-go-version-1.18.1
Update github-go-version from 1.18.0, 1.18.0, 1.18.0 to 1.18.1
2022-04-16 18:41:51 +02:00
bump
fdfc5c5b75 Update github-go-version from 1.18.0, 1.18.0, 1.18.0 to 1.18.1 2022-04-16 16:04:07 +00:00
Mattias Wadman
c4acbd51d3
Merge pull request #229 from wader/bump-docker-golang-1.18.1
Update docker-golang from 1.18.0 to 1.18.1
2022-04-13 18:17:49 +02:00
bump
05096f501b Update docker-golang from 1.18.0 to 1.18.1 2022-04-13 16:08:57 +00:00