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

585 Commits

Author SHA1 Message Date
Mattias Wadman
a3cfcd0ad2 interp: Add stderr again for jq compat
Also add tests for print* and stderr
2022-01-07 11:30:09 +01:00
Mattias Wadman
2c3e41111d doc,make: Add release script 2022-01-06 09:57:47 +01:00
Mattias Wadman
aa7bbef7f2
Merge pull request #37 from wader/bson
bson: Add decoder
2022-01-06 00:55:09 +01:00
Mattias Wadman
628f0f403d bson: Add decoder
Only supports basic types for now
2022-01-06 00:51:37 +01:00
Mattias Wadman
b6745e1c68
Merge pull request #40 from wader/elf
elf,ar: Add ar decoder, improved elf decoder
2022-01-05 22:11:21 +01:00
Mattias Wadman
681dbc26b7 elf,ar: Add ar decoder, improved elf decoder
Add x86, 386, arm64, arm v6, arm v7 linux elf test files
2022-01-05 22:05:09 +01:00
Mattias Wadman
f6abcff1fc
Merge pull request #54 from wader/interp-stdio-cleanup
interp: Cleanup stdio usage and functions
2022-01-05 21:44:48 +01:00
Mattias Wadman
e365f22084 interp: Cleanup stdio usage and functions 2022-01-05 21:41:11 +01:00
Mattias Wadman
293d8cfc1b
Merge pull request #53 from wader/interp-match-no-buffer-smartness
interp: Remove buffer smartness for regexp match functions
2022-01-05 21:17:17 +01:00
Mattias Wadman
b6515c8b15 interp: Remove buffer smartness for regexp match functions
Just confusing and breaks symbolic grep for decode values (as they are buffers).
To get buffer use tobytes functions intstead.
2022-01-05 21:13:39 +01:00
Mattias Wadman
52dddbbad3 goreleaser: Use draft release to allow release note changes 2022-01-05 00:23:01 +01:00
Mattias Wadman
0f2e593e55
Merge pull request #29 from wader/github-ci-windows-macos
github,ci: Add windows, macos and 32-bit linux
2022-01-05 00:15:13 +01:00
Mattias Wadman
e5c620db83 github,ci: Add windows, macos and 32-bit linux
Split out lint to own job and only run cli bin test on ubuntu (requires expect)
Add .gitattributes with text=lf for *.fqtest as they should be exact
2022-01-05 00:11:43 +01:00
Mattias Wadman
387c48b7a0
Merge pull request #52 from wader/windows-unbreak-include-tests
Unbreak @builtin include and tests on windows
2022-01-04 22:19:18 +01:00
Mattias Wadman
966863cb47 doc,dev: Add note how to setup windows dev env 2022-01-04 22:14:57 +01:00
Mattias Wadman
bf9e13c85a windows: Unbreak tests
Normalize OS specific errors paths to make difftests work

Related to #21
2022-01-04 22:11:25 +01:00
Mattias Wadman
a41f0d4b5f windows: Correct @builtin include path join
Failed because go embed paths always uses /
Switch to always use forward slash paths internally

Related to #21
2022-01-04 22:10:53 +01:00
Mattias Wadman
a8620d2cc0
Merge pull request #50 from wader/pcap-ignore-snaplen
pcap: Don't fail if incl_len > spanlen
2022-01-03 21:32:01 +01:00
Mattias Wadman
af23eb8269 pcap: Don't fail if incl_len > spanlen
Documentation wrong? seems to happen in real pcap files
2022-01-03 21:27:14 +01:00
Mattias Wadman
cbb90cdb85
Merge pull request #49 from wader/bsd-lo-and-link-group
pcap,pcapng,bsd_loopback_frame: Add decoder, refactor link frame into…
2022-01-03 21:16:18 +01:00
Mattias Wadman
b9aef39ed4 pcap,pcapng,bsd_loopback_frame: Add decoder, refactor link frame into a group
Also fix incorrect struct name s/UDPDatagramIn/UDPPayloadIn/
2022-01-03 21:06:27 +01:00
Mattias Wadman
1923ccd082
Merge pull request #48 from wader/docker-lint-not-needed
docker: No need to install golangci-lint, use make lint instead
2022-01-02 15:37:51 +01:00
Mattias Wadman
c07138339c docker: No need to install golangci-lint, use make lint instead 2022-01-02 15:31:39 +01:00
Mattias Wadman
ce64d5854c
Merge pull request #47 from wader/matroska-max-tag-size-only-strings
matroska: Assert sane tag size only for strings
2022-01-01 19:46:39 +01:00
Mattias Wadman
b8671137dd matroska: Assert sane tag size only for strings
Fixes issue with big webm/matroska files
Can be ignored with force decode
2022-01-01 19:37:12 +01:00
Mattias Wadman
b3bbbdf1fa
Merge pull request #46 from mathieu-aubin/patch-2
typ and links
2022-01-01 16:25:05 +01:00
Mathieu Aubin
30aa0925cf
typ and links 2022-01-01 05:45:03 -05:00
Mattias Wadman
d440c4fa11
Merge pull request #45 from wader/doc-improve2
doc: Some more dev infomration
2021-12-31 17:18:24 +01:00
Mattias Wadman
6db7218093 doc: Some more dev infomration 2021-12-31 17:13:16 +01:00
Mattias Wadman
6fbb8563a9
Merge pull request #44 from mathieu-aubin/patch-1
typpp
2021-12-30 15:04:41 +01:00
Mathieu Aubin
c90e3e1d0c
typpp 2021-12-30 08:56:50 -05:00
Doctor-love
708788b6fc
Merge pull request #42 from orhun/update_readme
doc: Update instructions to mention AUR (VCS) package
2021-12-29 11:33:09 +00:00
Orhun Parmaksız
625a1dbe53
doc: Update instructions to mention AUR (VCS) package
A new package has been created in the AUR for building
and installing `fq` from the latest git source:
<https://aur.archlinux.org/packages/fq-git/>

Signed-off-by: Orhun Parmaksız <orhunparmaksiz@gmail.com>
2021-12-29 14:26:32 +03:00
Doctor-love
12c456832b
Merge pull request #41 from orhun/update_readme
doc: Update installation instructions for Arch Linux
2021-12-29 10:23:59 +00:00
Orhun Parmaksız
510b5f08be
doc: Update installation instructions for Arch Linux
`fq` is now moved to the Arch Linux [community] repository:
<https://archlinux.org/packages/community/x86_64/fq/>

Signed-off-by: Orhun Parmaksız <orhunparmaksiz@gmail.com>
2021-12-29 13:10:57 +03:00
Mattias Wadman
9b47806c55
Merge pull request #39 from wader/doc-improve1
doc: Add hopes, pronounce and some more examples
2021-12-28 23:23:25 +01:00
Mattias Wadman
63485efda8 doc: Add hopes, pronounce and some more examples 2021-12-28 23:13:23 +01:00
Mattias Wadman
1a4b332511
Merge pull request #32 from wader/refactor-move-registry-to-decode
interp: Move _registry to decode
2021-12-25 16:33:26 +01:00
Mattias Wadman
55b1d5c3e7 interp: Move _registry to decode
More related to decode than interp. Maybe should have a format.go?
2021-12-25 16:29:45 +01:00
Mattias Wadman
46b59d0ebf crc: Unbreak build on 32-bit arch
Thanks Alexey Dokuchaev @danfe for report and fix.

Fixes #30
2021-12-25 15:47:54 +01:00
Ben Siraphob
5513dc0263 doc: Add Nix instructions to readme 2021-12-24 02:47:49 +01:00
Daniel Milde
a9f5527cac doc: add install instructions for Arch Linux
fixes #19
2021-12-23 23:44:33 +01:00
Mattias Wadman
eb4a6fdbd6 doc: Remove empty comment 2021-12-22 19:34:06 +01:00
Mattias Wadman
6491d08fb0 doc: Add more common usages 2021-12-22 19:33:21 +01:00
Mattias Wadman
916cb30618 doc: Improve usage examples as bit 2021-12-20 17:21:07 +01:00
Mattias Wadman
d02c7c42ff doc: Add some more usage examples 2021-12-20 15:15:43 +01:00
Mattias Wadman
eb9698fce7 mp4,ctts: Seem more usable to treat sample count/offset as signed
Seems to different between specs
Modify avc.fqtest to generate a ctts box
2021-12-20 11:19:38 +01:00
Mattias Wadman
e1e8a236e6 doc: Add color/unicode section and move config section 2021-12-19 11:51:24 +01:00
Mattias Wadman
f7c7801bbe interp: Rework buffer regex support
Now all regexp functions should work similar to string version for buffers.
Added scan_toend that works as scan but outputs buffer from match to end of buffer,
useful when trying to decode a format and you dont know or care to limit.
2021-12-17 16:23:44 +01:00
Mattias Wadman
9f08af31df mpeg,aac: Factor out escape value decoding 2021-12-14 17:34:38 +01:00