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
Mattias Wadman
be0bbfbc37
Merge pull request #661 from wader/markdown-nicer-to-text
...
help,markdown: Rewrote and made text rendering nicer
2023-05-08 09:48:59 +02:00
Mattias Wadman
2c505feec8
help,markdown: Rewrote and made text rendering nicer
...
Plan is to use it for man page etc and also some ansi renderer
2023-05-08 00:07:56 +02:00
Mattias Wadman
a200d3eee0
Merge pull request #415 from pnsafonov/postgres
...
Postgres
2023-05-06 09:07:13 +02:00
Pavel Safonov
e6a9cdbecf
postgres: doc
2023-05-06 08:54:56 +03:00
Pavel Safonov
c9350de352
postgres: use bit stream instead of masks to get flags
2023-05-06 08:42:16 +03:00
Pavel Safonov
e839191679
postgres: btree refactored by Mattias Wadman
2023-05-05 11:28:38 +03:00
Pavel Safonov
c23bc4216f
postgres: fix line endings in error messages, simplify code, add comments
2023-05-04 09:16:55 +03:00
Pavel Safonov
08c535239b
postgres: refactoring
2023-05-04 08:45:42 +03:00
Pavel Safonov
7a89234b13
postgres: update doc
2023-05-04 08:34:32 +03:00
Mattias Wadman
1cbfebb56d
Merge pull request #660 from wader/bump-github-go-version-1.20.4
...
Update github-go-version to 1.20.4 from 1.20.3
2023-05-03 18:50:10 +02:00
Mattias Wadman
70d07d5572
Merge pull request #659 from wader/bump-docker-golang-1.20.4
...
Update docker-golang to 1.20.4 from 1.20.3
2023-05-03 18:49:58 +02:00
bump
2a5927b5db
Update github-go-version to 1.20.4 from 1.20.3
2023-05-03 16:04:01 +00:00
bump
c9d3b8fb49
Update docker-golang to 1.20.4 from 1.20.3
2023-05-03 16:03:56 +00:00
Pavel Safonov
f6f8d5c037
postgres: refactoring
2023-05-03 15:40:32 +03:00
Pavel Safonov
9508a209ea
postgres: fix lint
2023-05-03 15:28:29 +03:00
Mattias Wadman
4f9c43ffa1
Merge pull request #658 from wader/decode-group-arg
...
interp,decode: Support decode group argument
2023-05-03 10:20:40 +02:00
Mattias Wadman
684a083813
interp,decode: Support decode group argument
...
Will be used for probing via -d <string> and filename
2023-05-03 10:01:13 +02:00
Pavel Safonov
e5f15c5fed
postgres: fix compilation, fix tests
2023-05-03 10:10:03 +03:00
Pavel Safonov
bb2659d442
Merge remote-tracking branch 'master' into postgres_merge_master_0
2023-05-03 09:44:02 +03:00
Mattias Wadman
ee729c2d61
Merge pull request #657 from wader/id3v2-ctoc-flags
...
id3v2: Decode CTOC flags
2023-05-02 14:46:06 +02:00
Mattias Wadman
f237db2794
id3v2: Decode CTOC flags
2023-05-02 13:43:58 +02:00
Mattias Wadman
b1b08917ae
Merge pull request #656 from wader/id3v2-add-wxxx
...
id3v2: Add WXXX (desc/url) frame support
2023-05-02 12:02:52 +02:00
Mattias Wadman
d010dcec06
id3v2: Add WXXX (desc/url) frame support
2023-05-02 11:54:11 +02:00
Mattias Wadman
ddd7b0e439
Merge pull request #650 from matthewdale/fix-bson
...
bson: support all non-deprecated types and fix int/uint bugs
2023-05-02 09:33:25 +02:00
Matt Dale
40630d39b2
bson: fix doc formatting and add author info
2023-05-01 18:41:52 -07:00
Mattias Wadman
25ca5e15c5
Merge pull request #654 from wader/dev-doc-cleanup
...
dev,doc Clarify some dev docs and rename launch.json to be a template
2023-05-01 17:51:56 +02:00
Mattias Wadman
af68511acf
dev,doc Clarify some dev docs and rename launch.json to be a template
2023-05-01 17:39:43 +02:00
Mattias Wadman
f28d39ee64
Merge pull request #653 from wader/pcap-help-test
...
pcap: Add forgotten help test
2023-05-01 16:15:53 +02:00
Mattias Wadman
d6f785c6a6
pcap: Add forgotten help test
2023-05-01 16:06:22 +02:00
Mattias Wadman
9ba8c547ac
Merge pull request #652 from wader/format-naming
...
formats: Clenaup naming a bit
2023-05-01 13:31:16 +02:00
Mattias Wadman
a4a332bf4e
formats: Clenaup naming a bit
2023-05-01 13:19:04 +02:00
Mattias Wadman
f3fc85a63e
Merge pull request #651 from wader/mp4-terminator-atom-desc
...
mp4: Better description for QuickTime terminator atom
2023-05-01 12:45:39 +02:00
Mattias Wadman
7adc1e7030
mp4: Better description for QuickTime terminator atom
...
Addition improvement could be to only allow it in quicktime ftyp brand
and also not as a root book. Currently trailing zero bytes could be
mistaken as a terminator atom.
2023-05-01 12:32:25 +02:00
Matt Dale
9a982d0a76
bson: add BSON test file generator module and correct BSON format docs
2023-04-30 21:25:57 -07:00
Matt Dale
2017ff8766
bson: support all non-deprecated types and fix int/uint bugs
2023-04-30 10:28:42 -07:00
Mattias Wadman
94834c0378
Merge pull request #649 from wader/tovalue-skip-gaps
...
interp: Add skip_gaps option for tovalue/-V
2023-04-30 13:18:02 +02:00
Mattias Wadman
c51271399c
interp: Add skip_gaps option for tovalue/-V
...
Skips gap fields in struct and arrays.
Gaps fields are bit ranges that a decoder did not add any fields for.
Note that skipping gaps in arrays will affect indexes.
2023-04-30 13:04:39 +02:00
Mattias Wadman
1bdf1df8ba
Merge pull request #647 from wader/tovalue-deep
...
interp: Make tovalue output behave as jq value
2023-04-29 22:41:54 +02:00
Mattias Wadman
ee66fece18
interp: Make tovalue output behave as jq value
...
Now ex "tovalue | .some.thing" on a decode value will make some.thing be jq value
instead of a decode value which woud be displayed as a decode treee, seems confusing.
I think this is more intuetive and make more sense.
2023-04-29 22:31:53 +02:00
Mattias Wadman
6194b87954
Merge pull request #648 from wader/format-group-rework
...
decode,interp: Refactor format groups into a proper struct
2023-04-29 20:10:53 +02:00
Mattias Wadman
b08ef00dd1
decode,interp: Refactor format groups into a proper struct
...
Replaces []Format with a Group type.
A bit more type safe.
Breaking change for RegisterFormat, now takes a first argument that is a "single" format group.
Lots of naming cleanup.
This is also preparation for decode group argument which will enable doing intresting
probing, ex a format decoder could know it's decode as part of probe group (html could
be probed possibly), or have "arg probe" group for decoder who inspect args to know
if they should probe (-d /path/to/schema etc) to enable nice CLI-ergonomics.
2023-04-29 20:02:34 +02:00
Mattias Wadman
b2cb5c3c1b
Merge pull request #645 from wader/matroska-filedata-fallback
...
matroska: file_data: Fallback to raw if probe fails
2023-04-20 20:37:26 +02:00
Mattias Wadman
8941b13932
matroska: file_data: Fallback to raw if probe fails
2023-04-20 20:08:40 +02:00