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

2246 Commits

Author SHA1 Message Date
Mattias Wadman
29e75411ed interp: Fix infinite recursion when casting synthetic raw value into a jq value 2023-10-29 16:11:05 +01:00
Mattias Wadman
4783e52d78
Merge pull request #798 from wader/bump-make-golangci-lint-1.55.1
Update make-golangci-lint to 1.55.1 from 1.55.0
2023-10-25 18:17:58 +02:00
Mattias Wadman
d8e9c20582
Merge pull request #799 from wader/bump-github-golangci-lint-1.55.1
Update github-golangci-lint to 1.55.1 from 1.55.0
2023-10-25 18:17:51 +02:00
Mattias Wadman
5cc27329d6
Merge pull request #797 from wader/macho-timestamps
macho: Move timestamp string to description
2023-10-25 18:10:33 +02:00
bump
60edf973b8 Update github-golangci-lint to 1.55.1 from 1.55.0
Release notes https://github.com/golangci/golangci-lint/releases/tag/v1.55.1
2023-10-25 16:03:49 +00:00
bump
5f06364f30 Update make-golangci-lint to 1.55.1 from 1.55.0
Release notes https://github.com/golangci/golangci-lint/releases/tag/v1.55.1
2023-10-25 16:03:47 +00:00
Mattias Wadman
797c7d9065 macho: Move timestamp string to description 2023-10-25 18:00:44 +02:00
Mattias Wadman
a418eb0e63
Merge pull request #796 from wader/macho-flags-endian
macho: Respect endian when decoding flags
2023-10-25 17:57:24 +02:00
Mattias Wadman
71a5fc91ad macho: Respect endian when decoding flags 2023-10-25 17:43:36 +02:00
Mattias Wadman
0cebaed5ca
Merge pull request #795 from wader/gzip-multi-memebers
gzip: Correctly handle multiple members
2023-10-24 19:02:43 +02:00
Mattias Wadman
ac276ee119 gzip: Correctly handle multiple members
A gzip file consists of one or more "members" that are concatenated on uncompress.

Introduce a members array with each member and uncompressed is now the concatenation.

Fixes #794
2023-10-24 10:45:32 +02:00
Mattias Wadman
a4cfdcf518
Merge pull request #793 from wader/zip-correct-date-time-fields
zip: Fix incorrect time/date, add extended timestamp and refactor
2023-10-24 00:06:36 +02:00
Mattias Wadman
a83cac6021 zip: Fix incorrect time/date, add extended timestamp and refactor
MSDOS time/date was read in wrong order and also did not take into account
that the bit ranges in the shortis are in little-endian.

Remodel modification_time/date to be one struct with fat_time, fat_date LE shorts
and then synthetic values for day, hours, minute etc and also a unix field with the
timestamp as unix time.

Also refactor and clenaup extra fields/extended code a bit.

Fixes #792
2023-10-23 11:11:27 +02:00
Mattias Wadman
1a3823f187
Merge pull request #790 from wader/bump-make-golangci-lint-1.55.0
Update make-golangci-lint to 1.55.0 from 1.54.2
2023-10-20 18:44:45 +02:00
Mattias Wadman
3f7455a05f
Merge pull request #791 from wader/bump-github-golangci-lint-1.55.0
Update github-golangci-lint to 1.55.0 from 1.54.2
2023-10-20 18:44:37 +02:00
bump
de7fdae598 Update github-golangci-lint to 1.55.0 from 1.54.2
Release notes https://github.com/golangci/golangci-lint/releases/tag/v1.55.0
2023-10-20 16:03:51 +00:00
bump
0c22c79b51 Update make-golangci-lint to 1.55.0 from 1.54.2
Release notes https://github.com/golangci/golangci-lint/releases/tag/v1.55.0
2023-10-20 16:03:48 +00:00
Mattias Wadman
11c9df49da
Merge pull request #786 from wader/avi-decode-extended-chunks
avi: Add extended chunks support and option
2023-10-20 16:07:17 +02:00
Mattias Wadman
d703321a7a avi: Add extended chunks support and option
This is used for >1gb files. Disable decode will speed up
deocde a lot but will probably also produce some gaps as same
part of the movi chunks will not be reference by the indx index.
2023-10-20 15:55:19 +02:00
Mattias Wadman
76edd48dff
Merge pull request #789 from wader/display-bits-exclusive-end
interp: Change bit ranges to use exclusive end
2023-10-20 15:53:00 +02:00
Mattias Wadman
051a70bd4b interp: Change bit ranges to use exclusive end
All other ranges and slicing uses exclusive end so i think it make sense
to make it consistent.

Update docs and add additional example for non-byte-aligned field.

Also fixes issue showing zero bit ranges as start-NA.
2023-10-20 15:37:26 +02:00
Mattias Wadman
677c7e4258
Merge pull request #788 from wader/from_jq-better-error
interp: Better from_jq error handling
2023-10-20 14:39:44 +02:00
Mattias Wadman
45a8dd9c74 interp: Better from_jq error handling
Thanks @emanuele6 for reporting
2023-10-20 14:21:58 +02:00
Mattias Wadman
5b9c902949
Merge pull request #787 from wader/matroska-ebml-date
matroska: Decode ebml date type
2023-10-17 11:31:32 +02:00
Mattias Wadman
1d14ea51cd matroska: Decode ebml date type
Also some refactor of shared date decode functions to allow unit
2023-10-17 11:10:48 +02:00
Mattias Wadman
5af1174741
Merge pull request #784 from wader/bump-gomod-golang-x-net-0.17.0
Update gomod-golang-x-net to 0.17.0 from 0.16.0
2023-10-11 18:16:16 +02:00
Mattias Wadman
1e992d4b12
Merge pull request #783 from wader/bump-docker-golang-1.21.3
Update docker-golang to 1.21.3 from 1.21.2
2023-10-11 18:15:52 +02:00
Mattias Wadman
8fecd75ef0
Merge pull request #785 from wader/bump-github-go-version-1.21.3
Update github-go-version to 1.21.3 from 1.21.2
2023-10-11 18:14:29 +02:00
bump
d7663569bd Update github-go-version to 1.21.3 from 1.21.2 2023-10-11 16:04:00 +00:00
bump
5381f38108 Update gomod-golang-x-net to 0.17.0 from 0.16.0
Tags https://github.com/golang/net/tags
2023-10-11 16:03:58 +00:00
bump
d70471169b Update docker-golang to 1.21.3 from 1.21.2 2023-10-11 16:03:51 +00:00
Mattias Wadman
80aaef9e84
Merge pull request #781 from wader/brightbg-fixes
interp: Improve colors when using light background
2023-10-11 14:51:10 +02:00
Mattias Wadman
a6984a8d1b
Merge pull request #782 from wader/avi-indx-unused
avi: Add unused field for extra indx chunk space
2023-10-10 17:03:43 +02:00
Mattias Wadman
0f225c3245 avi: Add unused field for extra indx chunk space 2023-10-10 16:46:05 +02:00
Mattias Wadman
c28163f8f4 interp: Improve colors when using light background
Related to #729
2023-10-10 11:08:38 +02:00
Mattias Wadman
a9051e8c5a
Merge pull request #780 from wader/avi-even-better-sample-size-heuristics
avi: Increase sample size heuristics to 32bit stereo
2023-10-08 10:51:12 +02:00
Mattias Wadman
c7ec18d6d2 avi: Increase sample size heuristics to 32bit stereo 2023-10-08 10:33:36 +02:00
Mattias Wadman
b921a5f91e
Merge pull request #779 from wader/avi-cleanup-consts
avi: Add stream type constants
2023-10-07 21:52:36 +02:00
Mattias Wadman
55521bbaec avi: Add stream type constants 2023-10-07 21:19:14 +02:00
Mattias Wadman
9e92cdc6f7
Merge pull request #778 from wader/avi-only-sample-heru-if-no-format
avi: Only use sample size heuristics if there is no format
2023-10-07 18:21:29 +02:00
Mattias Wadman
9b10e59802 avi: Only use sample size heuristics if there is no format 2023-10-07 18:07:46 +02:00
Mattias Wadman
87ac051c3d
Merge pull request #777 from wader/scalar-refactor-syntetic
decode,interp: Make synthetic values more visible and not act as deco…
2023-10-07 18:01:01 +02:00
Mattias Wadman
23ae4d978b decode,interp: Make synthetic values more visible and not act as decode values 2023-10-07 17:40:16 +02:00
Mattias Wadman
aa00c8f67c
Merge pull request #776 from wader/avi-sample-size
avi: Handle stream sample size
2023-10-07 17:12:24 +02:00
Mattias Wadman
df085b91b9 avi: Handle stream sample size
When > 0 split sample into sub samples
2023-10-07 16:48:59 +02:00
Mattias Wadman
3549e5ecfb
Merge pull request #775 from wader/avi-stream-type-handler
avi: Add type, handler, format_tag and compreession per stream
2023-10-07 15:45:32 +02:00
Mattias Wadman
5196554989 avi: Add type, handler, format_tag and compreession per stream
Also simplify stream tracking code a bit
2023-10-07 11:35:30 +02:00
Mattias Wadman
4fbeacdf50
Merge pull request #772 from wader/bump-docker-golang-1.21.2
Update docker-golang to 1.21.2 from 1.21.1
2023-10-06 18:18:10 +02:00
Mattias Wadman
a74eefe0ed
Merge pull request #773 from wader/bump-gomod-golang-x-net-0.16.0
Update gomod-golang-x-net to 0.16.0 from 0.15.0
2023-10-06 18:18:04 +02:00
Mattias Wadman
9e0d57b24d
Merge pull request #774 from wader/bump-github-go-version-1.21.2
Update github-go-version to 1.21.2 from 1.21.1
2023-10-06 18:17:58 +02:00