1
1
mirror of https://github.com/wader/fq.git synced 2024-12-29 00:22:38 +03:00
Commit Graph

896 Commits

Author SHA1 Message Date
Mattias Wadman
518f6af4a8 gojq: Rebase fq fork
Upstream changes:
Many performance improvements
Error message improvments
Lots of refactoring

Most of the JQValue interface changes in gojq fork had to be reworked but
resultet in a much nicer and cleaner changeset.

fq changes:
Assignment to JQValue (like a decode value) now shallowly converts the value into
a jq value before assigning. Was a bit hacky as it was and this makes JQValue
behave more like real jq values. This also fixes some advanced indexing issues.

Actual custom path updates will be something for the future.
2022-04-11 19:23:15 +02:00
Mattias Wadman
963a7af0d0
Merge pull request #222 from wader/display-path-root-array-incorrect
interp: Paths with a array as root was missing start dot
2022-04-08 19:03:10 +02:00
Mattias Wadman
bfe60c0303
Merge pull request #223 from wader/tcp-has-start-end
tcp,udp: Refactor and make port matching better
2022-04-08 19:02:49 +02:00
Mattias Wadman
5d25bbc2e1 tcp,udp: Refactor and make port matching better
rtmp: check port based on tcp direction
dns,rtmp: refactor to use tcp and udp port match helpers
flow: add has start/end to tcp to know if stream has missing bytes
2022-04-08 17:44:39 +02:00
Mattias Wadman
6f03471d15 interp: Paths with a array as root was missing start dot 2022-04-08 16:47:40 +02:00
Mattias Wadman
a763840833
Merge pull request #221 from wader/heif-more-boxes-add-scalar-desc-mapper
mp4: Add more HEIF boxes
2022-04-07 19:19:24 +02:00
Mattias Wadman
f8fd6b7f48 mp4: Add more HEIF boxes
Add scalar.*ToDesceription mapper and refactor to use it
2022-04-07 19:11:49 +02:00
Mattias Wadman
66252bd47c
Merge pull request #220 from wader/matroska-sym-cleanup
matroska: More sym cleanup
2022-04-06 20:01:10 +02:00
Mattias Wadman
f8d79a5777 matroska: More sym cleanup 2022-04-06 19:48:26 +02:00
Mattias Wadman
716083e087
Merge pull request #219 from wader/id3v20-pic
id3v2: Add 2.0 PIC support
2022-04-06 13:25:41 +02:00
Mattias Wadman
09385c612e id3v2: Add 2.0 PIC support 2022-04-06 13:21:28 +02:00
Mattias Wadman
dc9663d380
Merge pull request #218 from wader/sym-field-cleanup
formats: Sym and field name cleanup to be more jq friendly
2022-04-05 14:06:34 +02:00
Mattias Wadman
5ff67e4cfe formats: Sym and field name cleanup to be more jq friendly 2022-04-05 13:59:57 +02:00
Mattias Wadman
ee0f431af3
Merge pull request #217 from wader/amf0-strings
amf0: Decode strings in more detail
2022-04-05 11:06:38 +02:00
Mattias Wadman
34cbe48753 amf0: Decode strings in more detail 2022-04-05 11:01:59 +02:00
Mattias Wadman
788b0ac197 rtmp,amf0: Improve decoders, aac asc, chunk stream interrupt, fix amf0 ecma arrays
rtmp: Handle chunk streams that have been interrupted (capture terminated in middle of stream etc)
rtmp: Decode AAC ASC
rtmp: Add ffmpeg client/server stream test
rtmp: Decode user control messages
rtmo: Decode all data messages
amf0: Fix ecma array decoding
2022-04-04 14:42:16 +02:00
Mattias Wadman
78a7265f4c
Merge pull request #216 from wader/ipv6
ipv6,icmpv6: Add decoder
2022-04-03 17:49:02 +02:00
Mattias Wadman
e8dc7112b6 ipv6,icmpv6: Add decoder
Refactor to use groups between network layers to make them less coupled and reusable:
link_frame (ethernet etc)
inet_packet (ipv4,ipv6 etc)
ip_packet (tcp packet (not stream), udp segment etc)

Rename data to payload as i think it makes more sense for network data
2022-04-03 17:43:51 +02:00
Mattias Wadman
2a8104de90
Merge pull request #214 from wader/rtmp
rtmp,amf0: Add decoders
2022-04-01 13:20:19 +02:00
Mattias Wadman
d8aaf30345 rtmp,amf0: Add decoders
Basic RTMP support, used via tcp_stream group (pcap etc) or manually.
Basic AMF0 support, mostly what is used in RTMP.
2022-04-01 13:07:20 +02:00
Mattias Wadman
8f85b436d1
Merge pull request #213 from wader/bump-gojq
gojq: Rebase fq fork (speedup and fix range with JQValue)
2022-03-28 22:59:39 +02:00
Mattias Wadman
dd0d97eabc gojq: Rebase fq fork (speedup and fix range with JQValue)
Include upstream speedups to:
flatten
join
ltrimstr
rtrimstr
startswith
endswith
min_by
max_by
min
max
sort
2022-03-28 22:51:23 +02:00
Mattias Wadman
0ad4d389a7
Merge pull request #212 from wader/interp-opts-refactor-leftover
interp: Remove opts refactor leftover
2022-03-28 15:44:10 +02:00
Mattias Wadman
e8678ca88e interp: Remove opts refactor leftover 2022-03-28 15:37:38 +02:00
Mattias Wadman
069985b025
Merge pull request #211 from wader/hevc-sps-pps-vps-naming
hevc_vpc,hevc_sps: Use same nameing for profile as in spec
2022-03-25 10:01:39 +01:00
Mattias Wadman
c0202483b9 hevc_vpc,hevc_sps: Use same nameing for profile as in spec 2022-03-25 09:48:28 +01:00
Mattias Wadman
95987a1bb2
Merge pull request #210 from wader/hevc-sps-pps-vps
hevc: Add hevc_vps, hevc_sps and hevc_pps decoders
2022-03-24 19:09:23 +01:00
Mattias Wadman
74978c9d08 hevc: Add hevc_vps, hevc_sps and hevc_pps decoders
Some extensions and other things still missing
2022-03-24 18:56:56 +01:00
Mattias Wadman
ebfe68dfab
Merge pull request #208 from wader/bump-make-golangci-lint-1.45.2
Update make-golangci-lint from 1.45.0 to 1.45.2
2022-03-24 17:36:57 +01:00
Mattias Wadman
e682905c34
Merge pull request #209 from wader/bump-github-golangci-lint-1.45.2
Update github-golangci-lint from 1.45.0 to 1.45.2
2022-03-24 17:36:25 +01:00
bump
2a90485bf0 Update github-golangci-lint from 1.45.0 to 1.45.2
Release notes https://github.com/golangci/golangci-lint/releases/tag/v1.45.2
2022-03-24 16:03:47 +00:00
bump
3a0799cb9b Update make-golangci-lint from 1.45.0 to 1.45.2 2022-03-24 16:03:45 +00:00
Mattias Wadman
fdb0e83f10
Merge pull request #207 from wader/mp4-more-heif-boxes
mp4: Add some more HEIF boxes
2022-03-23 21:48:00 +01:00
Mattias Wadman
f34ebd839b mp4: Add more HEIF boxes 2022-03-23 17:04:17 +01:00
Mattias Wadman
5cb9dcf576
Merge pull request #206 from wader/gojq6
gojq: Rebase fq fork
2022-03-21 10:53:00 +01:00
Mattias Wadman
adde8c7004 gojq: Rebase fq fork 2022-03-21 10:47:22 +01:00
Mattias Wadman
b60726a2bb
Merge pull request #201 from wader/bump-github-go-version-1.18.0
Update github-go-version from 1.17.7, 1.17.7, 1.17.7 to 1.18.0
2022-03-18 21:21:58 +01:00
bump
e5f61e22e9 Update github-go-version from 1.17.7, 1.17.7, 1.17.7 to 1.18.0
Replace strings.Title and and fix deprecation warning
2022-03-18 21:09:42 +01:00
Mattias Wadman
57377e8fc6
Merge pull request #205 from wader/bump-github-golangci-lint-1.45.0
Update github-golangci-lint from 1.44.2 to 1.45.0
2022-03-18 20:58:40 +01:00
Mattias Wadman
bfab450838
Merge pull request #204 from wader/bump-make-golangci-lint-1.45.0
Update make-golangci-lint from 1.44.2 to 1.45.0
2022-03-18 20:58:27 +01:00
bump
4ea362e3ba Update github-golangci-lint from 1.44.2 to 1.45.0
Release notes https://github.com/golangci/golangci-lint/releases/tag/v1.45.0
2022-03-18 16:04:08 +00:00
bump
cf88bc11fe Update make-golangci-lint from 1.44.2 to 1.45.0 2022-03-18 16:04:04 +00:00
Mattias Wadman
df4a1e1ee0
Merge pull request #203 from wader/avc-sps-chroma-format-map
avc_sps: Add chroma format name mapping
2022-03-18 12:29:39 +01:00
Mattias Wadman
b2a865eac7 avc_sps: Add chroma format name mapping 2022-03-18 12:22:08 +01:00
Mattias Wadman
9a7909abfa
Merge pull request #202 from wader/binary-stdout-pad-fix
interp: Remove to*range pad argument and fix stdout padding issue
2022-03-17 20:22:54 +01:00
Mattias Wadman
d376520f11 interp: Remove to*range pad argument and fix stdout padding issue
Padding could end up double.
Remove to*range($pad) as it probably just confusing to be able
to pad an existing range, what to show in hexdump etc? zero bits
that do not actuall exist at that range?

Add tests and binary stdout support to tests
2022-03-17 20:15:35 +01:00
Mattias Wadman
ae94fc4ff0
Merge pull request #200 from wader/bump-docker-golang-1.18.0
Update docker-golang from 1.17.8 to 1.18.0
2022-03-16 17:42:00 +01:00
bump
010f64301c Update docker-golang from 1.17.8 to 1.18.0 2022-03-16 16:07:10 +00:00
Mattias Wadman
8217601b6a
Merge pull request #199 from wader/gojq5
gojq: Rebase fq fork
2022-03-16 10:44:41 +01:00
Mattias Wadman
2e240447e3 gojq: Rebase fq fork 2022-03-16 10:26:59 +01:00