1
1
mirror of https://github.com/wader/fq.git synced 2024-11-23 09:56:07 +03:00
Commit Graph

2116 Commits

Author SHA1 Message Date
bump
6dc0746adc Update gomod-golang-x-crypto to 0.10.0 from 0.9.0
Tags https://github.com/golang/crypto/tags
2023-06-13 16:04:08 +00:00
Mattias Wadman
9d128cc980
Merge pull request #694 from wader/bump-docker-golang-1.20.5
Update docker-golang to 1.20.5 from 1.20.4
2023-06-07 18:15:30 +02:00
Mattias Wadman
05e8bd5396
Merge pull request #695 from wader/bump-github-go-version-1.20.5
Update github-go-version to 1.20.5 from 1.20.4
2023-06-07 18:15:13 +02:00
bump
6faed67512 Update github-go-version to 1.20.5 from 1.20.4 2023-06-07 16:04:05 +00:00
bump
64e17f0ece Update docker-golang to 1.20.5 from 1.20.4 2023-06-07 16:03:58 +00:00
Mattias Wadman
7e2a10c0ef
Merge pull request #691 from Harshad112/patch-1
Improved README.md
2023-06-06 04:38:00 +02:00
Harshad Yelpale
d02b70f7b6
Update README.md
Thanks for suggestion added dashesh it looks better.
let me know still i missed or need to add anything i am happy to add.
2023-06-06 00:49:38 +05:30
Harshad Yelpale
47b90603a3
Improved README.md
Added some Punctuations , spaces , some words in order make Readme file user friendly.
2023-06-06 00:01:36 +05:30
Mattias Wadman
dd90439a1b
Merge pull request #687 from wader/bump-make-golangci-lint-1.53.2
Update make-golangci-lint to 1.53.2 from 1.53.1
2023-06-03 23:31:55 +02:00
Mattias Wadman
88f3302cbd
Merge pull request #688 from wader/bump-github-golangci-lint-1.53.2
Update github-golangci-lint to 1.53.2 from 1.53.1
2023-06-03 23:31:20 +02:00
Mattias Wadman
56a33434bb
Merge pull request #685 from aquova/fix-readme
doc: Fix broken link in README
2023-06-03 23:30:58 +02:00
bump
ff4048c43a Update github-golangci-lint to 1.53.2 from 1.53.1
Release notes https://github.com/golangci/golangci-lint/releases/tag/v1.53.2
2023-06-03 16:03:57 +00:00
bump
7c1da0ef6b Update make-golangci-lint to 1.53.2 from 1.53.1
Release notes https://github.com/golangci/golangci-lint/releases/tag/v1.53.2
2023-06-03 16:03:53 +00:00
aquova
fd2cb6f841 doc: Fix broken link in README
Arch Linux recently merged all entries in its 'community' repository
into 'extra' (https://archlinux.org/news/git-migration-announcement/).
This commit updates the README to reflect this change.
2023-06-03 08:05:37 -05:00
Mattias Wadman
ce85648825
Merge pull request #681 from wader/bump-make-golangci-lint-1.53.1
Update make-golangci-lint to 1.53.1 from 1.52.2
2023-06-02 18:40:04 +02:00
Mattias Wadman
b52189ae59
Merge pull request #682 from wader/bump-github-golangci-lint-1.53.1
Update github-golangci-lint to 1.53.1 from 1.52.2
2023-06-02 18:39:47 +02:00
bump
b9fce9bd7a Update github-golangci-lint to 1.53.1 from 1.52.2
Release notes https://github.com/golangci/golangci-lint/releases/tag/v1.53.1
2023-06-02 16:03:53 +00:00
bump
c3e104bcb6 Update make-golangci-lint to 1.53.1 from 1.52.2
Release notes https://github.com/golangci/golangci-lint/releases/tag/v1.53.1
2023-06-02 16:03:50 +00:00
Mattias Wadman
4a0afcc46d
Merge pull request #679 from wader/gojq-rebase
gojq: Update rebased fq fork
2023-05-29 18:00:03 +02:00
Mattias Wadman
38cb82929a gojq: Update rebased fq fork
From upstream:
e940c43 update GitHub action dependencies
2d97ddb update jq links to the new jqlang organization
2a6cb00 improve error message of various functions
5e26bef add a note on differences of supported functions missing in jq
96c4843 fix functions returning arrays not to emit nil slices
4a681c8 improve .dockerignore
850177b Merge pull request #213 from movableink/uri-decode
dbba5e7 add urid to decode URI values, mirroring uri
2023-05-29 17:47:01 +02:00
Mattias Wadman
a7d54ff190
Merge pull request #677 from wader/binary-bits-format
interp: Make binary also respect bits_format
2023-05-17 18:12:40 +02:00
Mattias Wadman
b2c0e5fcd8 interp: Make binary also respect bits_format 2023-05-17 15:10:32 +02:00
Mattias Wadman
fa5a89c79f
Merge pull request #676 from wader/mp4-udta-len-lang-probe-empty-value
mp4: udta: Improve length/lang box probe and support empty value
2023-05-17 12:06:25 +02:00
Mattias Wadman
1da8069190 mp4: udta: Improve length/lang box probe and support empty value 2023-05-17 11:55:13 +02:00
Mattias Wadman
4335c30075
Merge pull request #675 from wader/release-0.6.0
fq: Release 0.6.0
2023-05-16 16:00:47 +02:00
Mattias Wadman
2388ccdbb8 fq: Release 0.6.0 2023-05-16 14:25:55 +02:00
Mattias Wadman
66e11ea9e9
Merge pull request #674 from wader/mp4-correct-quicktime-epoch
mp4: Use correct epoch for quicktime timestamps
2023-05-16 13:30:03 +02:00
Mattias Wadman
493848a7e5 mp4: Use correct epoch for quicktime timestamps
Somehow was 1904-01-04 should be 1904-01-01
2023-05-16 13:10:56 +02:00
Mattias Wadman
aec2635ea6
Merge pull request #672 from Rogach/pr/fix-tohex
fix to_hex function handling of non-ascii characters
2023-05-16 11:02:03 +02:00
Platon Pronko
b0e4da28de fix non-ascii characters handling in to_hex and to_base64 functions
to_hex and to_base64 functions were expecting `string` as an input type,
which caused the value to be CastFn'ed to string,
which in turn resulted in raw bytes being cast to []rune (in makeDecodeValueOut).
This operation replaces invalid UTF-8 bytes with 0xFFFD, which then were
passed on to the hex/base64 encoders, resulting in incorrect output.

This patch fixes it by expecting `any` as an input type,
which allows the function to correctly read raw bytes of the input data.
2023-05-16 09:44:35 +08:00
Mattias Wadman
93423d0da6
Merge pull request #673 from wader/bit-format-hex
interp: Add hex bits format
2023-05-15 17:49:15 +02:00
Mattias Wadman
8a468f45df interp: Add hex bits format
$ cat random.bin.gz | fq -rV -o bits_format=hex .uncompressed
f6f2074cf77d449d

Also made unknown bit formats an error.
2023-05-15 17:31:38 +02:00
Mattias Wadman
aa6723603e
Merge pull request #671 from Rogach/pr/bitcoin-tx-witness-items
bitcoin: fix witness item structs
2023-05-15 15:17:47 +02:00
Platon Pronko
a3361e70ba bitcoin: fix witness item structs
This commit fixes witness item decoding such that they are represented
as structs with `item_size` and `item` fields, instead of a flat list
of raw bytes.
2023-05-15 18:36:26 +08:00
Mattias Wadman
7eaddb8be5
Merge pull request #670 from kianmeng/fix-typos
doc: fix typos
2023-05-14 16:15:50 +02:00
Kian-Meng Ang
dd4fa26867 doc: fix typos
Found via `codespell -S format -L bu,ue,trys,nd,tbe,te,trun,actuall`
2023-05-14 21:45:15 +08:00
Mattias Wadman
070d5f43ab
Merge pull request #668 from wader/trim-multiline
interp: trim: Add multi-line support
2023-05-12 00:35:04 +02:00
Mattias Wadman
d5ae11659f interp: trim: Add multi-line support 2023-05-12 00:22:04 +02:00
Mattias Wadman
91db201447
Merge pull request #667 from wader/html-probe
html: Add to probe group
2023-05-11 19:20:17 +02:00
Mattias Wadman
e2eb667091 html: Add to probe group
As decoder now can know they are decoding as part of probing we can now
use some heuristics to see if we should decode as html.
The reason heuristics is needed is that x/html parser will alwaus succeed.

Add lazyre package to help delay compile of RE and make it concurrency safe.
2023-05-11 19:07:18 +02:00
Mattias Wadman
f254b16cfc
Merge pull request #666 from wader/bits-bytes-binary
bits,bytes: Behave as binary instead of raw decode value
2023-05-11 18:54:21 +02:00
Mattias Wadman
222cd88b77 bits,bytes: Behave as binary instead of raw decode value
I think this is closer to what one would expect.
With this fq -d bytes 'scan("...")' will match as a binary and also return binaries,
before as raw decode value one would have to use tobytes to get the binary.
2023-05-11 18:45:16 +02:00
Mattias Wadman
dc91e5e899
Merge pull request #665 from wader/interp-explicit-display-no-binary
interp: Don't output raw binary if display is called explicitly
2023-05-11 14:30:04 +02:00
Mattias Wadman
033498b289 interp: Don't output raw binary if display is called explicitly
So raw binay is only outputted if stdout is not a terminal and "... | d" is not used..
fq -n '[1,2,3] | tobytes' | cat > binary
fq -n '[1,2,3] | tobytes | d' | cat > hexdump
2023-05-11 14:15:00 +02:00
Mattias Wadman
1cbc2535c8
Merge pull request #664 from wader/bump-gomod-golang-x-net-0.10.0
Update gomod-golang-x-net to 0.10.0 from 0.9.0
2023-05-09 18:16:33 +02:00
Mattias Wadman
5c7779ba1f
Merge pull request #663 from wader/bump-gomod-golang-x-crypto-0.9.0
Update gomod-golang-x-crypto to 0.9.0 from 0.8.0
2023-05-09 18:16:09 +02:00
bump
ed0cd6d292 Update gomod-golang-x-net to 0.10.0 from 0.9.0
Tags https://github.com/golang/net/tags
2023-05-09 16:04:02 +00:00
bump
c405afd4d4 Update gomod-golang-x-crypto to 0.9.0 from 0.8.0
Tags https://github.com/golang/crypto/tags
2023-05-09 16:03:59 +00:00
Mattias Wadman
37708583fd
Merge pull request #662 from wader/ansisvg-regenerate
doc: Hopefully fix svg fixed font issue
2023-05-09 16:23:36 +02:00
Mattias Wadman
88be3a7f9f doc: Hopefully fix svg fixed font issue
Regenerate with new ansisvg that uses Courier with monospace as fallback

Related to #655
2023-05-08 15:27:00 +02:00