1
1
mirror of https://github.com/wader/fq.git synced 2024-12-03 13:46:37 +03:00
Commit Graph

1957 Commits

Author SHA1 Message Date
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
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
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
Mattias Wadman
7362dbf4aa
Merge pull request #644 from castilma/typo
gzip.go: fix typo in variablename: delfate
2023-04-19 16:07:30 +02:00
Martin Castillo
b3b6cd0ee3 gzip.go: fix typo in variablename: delfate 2023-04-19 15:51:55 +02:00
Pavel Safonov
c9b263e925 postgres: version 15 support 2023-04-17 17:12:46 +03:00
Mattias Wadman
26eb7c0a6f
Merge pull request #643 from wader/mp4-isobmff-more-version
mp4: ctts,infe,iinf,trun: More ISOMFF version handling
2023-04-17 12:01:02 +02:00
Mattias Wadman
3c6d31b0fe mp4: ctts,infe,iinf,trun: More ISOMFF version handling 2023-04-17 11:43:54 +02:00
Mattias Wadman
fb8fcffd3a
Merge pull request #642 from wader/usage-more-examples
doc: Add some more examples
2023-04-14 10:31:20 +02:00
Mattias Wadman
97c952b3f1 doc: Add some more examples 2023-04-14 10:19:33 +02:00
Mattias Wadman
23d980d4a0
Merge pull request #641 from wader/release-0.5.0
fq: Release 0.5.0
2023-04-13 17:39:42 +02:00
Mattias Wadman
43459aa70a fq: Release 0.5.0 2023-04-13 17:26:37 +02:00
Mattias Wadman
ec2b96715d
Merge pull request #640 from wader/matroska-update-spec
matroska: Update ebml specification
2023-04-13 12:28:56 +02:00
Mattias Wadman
2a2b64dda2 matroska: Update ebml specification
Also add license note about ebml_matroska.xml
2023-04-13 12:19:41 +02:00
Mattias Wadman
a6fe7111a2
Merge pull request #385 from wader/value-output-arg
interp: Add --value-output/-V option to do tovalue before output
2023-04-13 11:58:29 +02:00
Mattias Wadman
427ce78df6 interp: Add --value-output/-V option to do tovalue before output
Idea is to skip display so that JSON is outputted instead of showing tree and hexdump etc.
2023-04-13 11:29:16 +02:00
Mattias Wadman
5c69fcc9df
Merge pull request #638 from wader/interp-func-decode-value-struct-args
interp: Allow and convert JQValues:s (ex decode value) in function ar…
2023-04-12 12:34:31 +02:00
Mattias Wadman
9a1ef84cdd interp: Allow and convert JQValues:s (ex decode value) in function arg objects
Before it failed when passing a decode value, like an integer, string etc, as a object value
to an internal function (written in go), ex some_function({name: <decode value>}).

A future improvement could be to allow an internal function to say that it wants a "raw"
decode value etc and not one converted to primitive type.
2023-04-12 12:17:46 +02:00
Mattias Wadman
089cf9bbae
Merge pull request #637 from wader/wav-clenaup-avi
wav: Cleanup avi leftovers
2023-04-11 20:16:56 +02:00