mirror of
https://github.com/wader/fq.git
synced 2024-12-01 02:30:32 +03:00
34 KiB
34 KiB
0.0.5
Improved binary slicing and bit reading, avro_ocf
decoder (thanks @xentripetal), asn1_ber
decoder, renamed display
aliases, new grep_by
and paste
function.
Changes
- Big internal bit reader refactor. Now much more consistent code and fixes some issues reading and decoding of binary arrays and binary slices. #123
- Bit reading and IO have been moved to a
bitio
package. - Non-simple bit reading have been move out of
bitio
todecode
package. [0,1,1,0,0,1,1,0,0,1,1,1,0,0,0,1 | tobits] | tobytes | tostring
returns"fq"
.[.frames[0], .frames[-1]] | mp3
decode mp3 based on first and last frame of other mp3.
- Bit reading and IO have been moved to a
- Add
grep_by
that recursively selects using a filter condition and ignores errors. #102grep_by(.type == "trak")
finds all objects where.type
is "trak" (all mp4 track boxes).grep_by(tonumber | . >= 40 and . <= 100)
find all numbers between 40 and 100.grep_by(format == "jpeg")
find all jpegs.
- Add
paste
function to read string from stdin util ^D (EOF). Can be used to paste in REPl etc. #143paste | frompem | asn1_ber | repl
wait for PEM encoded text on stdin (paste and press ^D), decode it withasn1_ber
and start a sub-REPL with the result.paste | fromjson
decode pasted JSON.eval(paste)
eval pasted jq expression.
- Cleanup display aliases. Remove
v
andf
, addda
,dd
,dv
andddv
. #112d
/d($opts)
display value and truncate long arrays and buffersda
/da($opts)
display value and don't truncate arraysdd
/dd($opts)
display value and don't truncate arrays or buffersdv
/dv($opts)
verbosely display value and don't truncate arrays but truncate buffersddv
/ddv($opts)
verbosely display value and don't truncate arrays or buffers
- Refactor
radix
intotoradix($base)
/fromradix($base)
. #139 - Remove
number_to_bytes
. Can be done withtobytes
. #139 - Change
tobytes
to zero pad most significant bits to byte alignment if needed. #133 - Add
tobytes
/tobits
variant that takes an argument to add extra padding. #1330xf | tobytes
8 bit binary with last 4 bits set0xf | tobytes(4)
32 bit binary with last 4 bits set0xf | tobits(12)
12 bit binary with last 4 bits set
- Rename fq type buffer to binary as it makes more sense. #133
- Add
topem
/frompem
to work with PEM encoding. #92 - Add Windows scoop install. #137 Thanks @thushan
- Add
display
, decode value, binary and binary array documentation. #118 #136 #133 - Add decode API documentation. #149
- Improved REPL completion for keys. #144
- Add
-o force=<bool>
option that sets force decode option. Same asmp4({force: true})
. #126
Decoder changes
avro_ocf
Add decoder. #38 Thanks @xentripetal- Full avro OCF support. Handles all primitive, complex, and logical types besides decimals.
- Able to handle deflate, snappy, and null codecs for blocks.
asn1_ber
Add decoder. #92- Also decodes CER and DER (X.690) but with no additional validation at the moment.
- Support all types but real type is currently limited to range for 64 bit interger/float.
- Has
torepr
support. - No schema support.
aac_frame
Only decode object types we know about. #130mp3
Shorter sync find heuristics. #104mp4
Addstz2
supportmp4
Addpnot
(preview container) andjP
(JPEG 2000) signature. #125
Also thanks to @Doctor-love for keeping things tidy.
Changelog
6fc1efd9
Add test case with all data typesae4a6243
Adds Windows Scoop instructions for fq.4b809a73
Change avro codec to funcs66ca1f10
Change tests to use new verbose syntax7345b8c7
Cleanup07ddf36f
Cleanup for linting4508241b
Cleanup snappy0909fb6d
Comment on snappy decompression21cfc70c
Dates need to specify UTC too75b84961
Fix lint7a8e3ca2
Hook into registry, add codecs251053ef
Initial pass on logical types2605bce4
Lint and add basic docee184075
Parse header using avro decoders. Still not certain this is the best idea. Will get opinions before finalizing.ab50088d
Polish of problem template and clarifying questions27789f2d
Regenerate docs5a1d35e7
Remove redudant question and fix typo31c4c0d3
Support snappy and deflate codecs0300c955
Take heading off doc to match make doc format6f57cdbf
Timestamps should be UTC06085a26
Undo change to doc/file.mp4. I have no idea how this got changed in the first place? Maybe some macos shenanigans.d137a72a
Update docker-golang from 1.17.6 to 1.17.7267e30ec
Update github-go-version from 1.17.6, 1.17.6 to 1.17.71e859cda
Update github-golangci-lint from 1.43.0 to 1.44.016849c8f
Update lintingd02d8968
Update make-golangci-lint from 1.43.0 to 1.44.068e85a2d
Use existing scalar description helper3bab3d65
aac_frame: Only try decode object types we know about0829c167
asn1_ber: Add decoder0312c92c
asn1_ber: Add more doc and multiple outputs for frompem06245d12
binary,decode,doc: Rename buffer to binary and add some documentation7c521534
bitio,decode: Refactor bitio usage and make buffer slicing more correct0d74e879
bitio,doc: Even more cleanupd854ed57
bitio: Cleanup documentation a bit82aeb355
bitio: More doc cleanup01ecde64
bump: Add snappy configde64a99e
cleanup some docs, change enum to mapper, error zigzag on more than 8 bytes6cd1c38f
decode,scalar: Add scalar.Str{Uint/Int/F}ToSym to parse numbers4ab6381d
decode: Add scalars args to FieldRootBitBufbe71eb01
decode: Rename LenFn() to LimitedFn, add FramedFn and document7bc25219
doc,interp: Add some example usages to cli help8e47fb1a
doc,matroska: Fix filesname in examplec15f5283
doc: Add format links to format tableb86da7ae
doc: Add inital decoder API documentation49c90f89
doc: Add macOS security notes and move supported format up a bit06b67e4b
doc: Add more license detailsa8664ed5
doc: Add per format documentation09552628
doc: Add snappy license36307857
doc: Cleanup and add more decode value and binary documentation710c29b2
doc: Color edges in diagram based on destf0ce7179
doc: Document display and some more jq hintsb3504680
doc: More decode API details and polish6b51b067
doc: More display alias leftover fixesdd3e40fb
doc: Unbreak formats_digaram.jq since radix changec52a1a23
doc: Use f($a; $b) instead of jq f/2 notation233d86a3
fq: Add arch and os to --versionb8efd8e5
fuzz: Fuzz all formatse1bdfdf8
fuzz: List seed numbers and make it build again6090b65e
fuzz: Make it compile again and run one format per fuzzaea48847
github: Add basic issue templateb55ca2cd
gojq: Rebase fq branch47c978e4
goreleaser: Use zip for macos85371173
id3v2: Should assert not validate magicd6ca4818
initial work for avro OCF filesca68e6a1
interp: Add Platform() method to OS interfacee792598c
interp: Add grep_by/1 to recursively match using a filter0a1a5610
interp: Add missing default opts for tovalue48a19cb8
interp: Add paste function to allow pasting text into REPL etcfc0aacb6
interp: Cleanup display aliases, now: d, da, dd, dv, ddvbf7a483f
interp: Fix handling of group decode error from stdin26d9650b
interp: Refactor radix* into toradix($base)/fromradix($base)366f6b18
interp: Support force decode as -o force=true77ab667b
interp: Use absolute path in errorsc31ec2a3
interp: Use correct sym color898dfec1
lint: Fix typeassert and case exhaustive warningsd5401166
make docbf170be8
make: Cleanup some not very used targets8d2d88f4
mp3: Decrease max sync seek length between frames to 4kd555c324
mp4,fuzz: Fatal error on infinite sgpd box entries45b00aab
mp4: Add stz2 support092609be
mp4: Add video preview (pnot) and JPEG 2000 (jP) signaturesfebce5a5
mpeg_spu: Fatal error on infinite loopc58ba28d
mpeg_spu: Fatal error on unknown cmdd1943dad
pcapng,fuzz: Fix infinite loop by fatal error on block length <= 02ab395a0
protobuf: Add note about sub message decodingaf053811
repl,interp: Make stdio work during completionbd9be2c5
repl: Fix completion of non-underscore extkeys69c745d3
simplify scalar usage778a1a41
zip: Assert signature not validate
(Some commits have been removed from list for clarity)
0.0.4
Changes
- Add a
torepr/0
function that converts decoded value into what it represents. Initially works for:bencode
,cbor
,bson
andmsgpack
#74 Example usage:fq torepr file.cbor
fq -i torepr file.cbor
fq torepr.field file.cbor
fq 'torepr | .field | ...' file.cbor
- Add
stderr/0
function for jq compatibility #58 - Bitwise operators
band
,bor
etc are now normal functions instead of operators. Was done to be syntax compatible with jq #61 Uses the same convention as jq math functions: Unary uses input123 | bnot
, more than one argument all as argumentsband(123; 456)
- Decode API now supports null values #81
- Decode API now supports arbitrary large integers #79
- TCP reassembly now supports streams with missing SYN/ACK #57
- Update readline package to version with less dependencies #83
- Make REPL prompt more jqish #70
Decoder changes
bencode
Add decoder #64cbor
Add decoder #75msgpack
Add decoder #69mp4
Much improved sample decode #82 #78png
Decode PLTE and tRNS chunks #59tar
Don't assume there is a end marker and support more than 2 blocks #86 #87
Also thanks to @Doctor-love for keeping things tidy.
Changelog
af8e7ef
bencode: Add decoder0b0f28e
cbor: Add decoder1383b41
decode,interp: Add arbitrary large integer support (BigInt)548a065
decode,interp: Finish up nil value supportff5c0b8
decode: Error on negative number of bits when reading numberscf8a50c
decode: Use stable sort for values to not change order or values with same range startb4694b6
doc,dev: Add some more decoder implementation help0c1716b
doc: Add alpine and go run809210b
doc: Add more dev tips59b8803
doc: Document dev dependencies and related PRs/issues etc6ca4767
doc: Improve formats graph a bit8e9700d
doc: Improve readme a bit and add torepr example0cf486d
elf: fix all-platforms naming typo263f1ae
flac: Don't allow zero subframe sample size729a6ca
formats: Sort and make lists less likely to cause collision78c0775
fq: Embed version in sourceaa7adb6
fq: Update version to 0.0.47461264
fuzz: Skip other tests when fuzzingbe0ef80
interp,fq: Make bit operators normal functionsa3cfcd0
interp: Add stderr again for jq compat149cb3f
interp: Add torepr/0 that converts decode value into what it reptresentsb3a0980
interp: Document bit opts funcs and add some error tests8d10423
make: Fix quote issue in release script4a1e859
mp4: Improved stsz handling61bf2ce
mp4: Refactor sample decode into something more sanea6bf62c
msgpack: Add decoderedad481
num,mathextra: Rename num package to mathextrabfc977b
png: Decode PLTE and tRNS chunks and cleanup syms a bit36d2891
readline: Update to verison with less deps9770b00
repl: Make prompt for array and iter more jqishba1edef
tar: Allow more than 2 zero end blocks at end5921d76
tar: Don't assume there is a end markeredd0ae1
tcp,flow: By default allow missing syn/ack for now
(Some commits have been removed from list for clarity)
0.0.3
Changes
- Now works on Windows #52
- Now builds and runs on 32-bit CPUs #30 @danfe
print/0
,println/0
function now properly convert input to string if needed. #54match
functions now don't try to be smart with buffers, use.tobytes
etc instead. Less confusing and also unbreakgrep
:ing decode values. #53 Now this works:fq 'grep("^strtab$") | parent | {name, string}' /bin/ls
- Add Arch package #19 @orhun @ulrichSchreiner @dundee
- Add Nix package #22 @siraben @jtojnar @portothree
- Add FreeBSD port @danfe
Decoder changes
bson
Add Binary JSON deccoderar
Add Unix archive decoderbsd_loopback_frame
Add BSD lookback frame decoder (used in pcap files)elf
Now does a two-pass decode to correctly handle string table referenceself
Decode more sections: symbol tables and hashesmatroska
Assert sane tag size only for stringspcap
Don't fail if incl_len > spanlen
Also thanks to @Doctor-love @mathieu-aubin for keeping things tidy.
Changelog
628f0f4
bson: Add decoder46b59d0
crc: Unbreak build on 32-bit arch681dbc2
elf,ar: Add ar decoder, improved elf decodere5c620d
github,ci: Add windows, macos and 32-bit linux52dddbb
goreleaser: Use draft release to allow release note changese365f22
interp: Cleanup stdio usage and functions55b1d5c
interp: Move _registry to decodeb6515c8
interp: Remove buffer smartness for regexp match functionsb867113
matroska: Assert sane tag size only for stringsb9aef39
pcap,pcapng,bsd_loopback_frame: Add decoder, refactor link frame into a groupaf23eb8
pcap: Don't fail if incl_len > spanlena41f0d4
windows: Correct @builtin include path joinbf9e13c
windows: Unbreak tests
(Some commits have been removed from list for clarity)
0.0.2
Changelog
00f34c2
Update docker-golang from 1.17.3 to 1.17.405b179c
Update docker-golang from 1.17.4 to 1.17.5c721ac8
Update github-go-version from 1.17.3, 1.17.3 to 1.17.4befe783
Update github-go-version from 1.17.4, 1.17.4 to 1.17.575aa475
decode: Generate Try?Scalar* methods for readers too9b683cd
deocde: Cleanup some io panic(err)e1e8a23
doc: Add color/unicode section and move config sectionee023d7
doc: Add some more related and similar projectsd02c7c4
doc: Add some more usage examplesbe46d5f
doc: Cleanup todo and add some dev notes47deb4d
doc: Fix interpretation typofe68b51
doc: Improve readme text a bit916cb30
doc: Improve usage examples as bit5cb3496
docker: Fix broken build, copy fq.goc2131bb
flac: Cleanup scalar usage and fix incorrect sample rates1500fd9
gojq: Update to rebased fq fork3601fe3
gzip: fuzz: Don't uncompress on unknown compress method (nil create reader fn)f4f6383
interp: Add ._index for values in arrays4558192
interp: Cleanup buffer code and implement ExtType()e823475
interp: Fix help a bitfa350c6
interp: Move display to jqf7c7801
interp: Rework buffer regex support6ed2e2e
interp: dump: Indicate arrays using jq-syntax9aec91a
interp: match: Fix issue with regexp meta characters when matching using a buffere5e81e7
make: Fix prof build issuee91b22b
matroska,ebml: Use scalar and require sane tag sizeeb9698f
mp4,ctts: Seem more usable to treat sample count/offset as signedc149732
mp4,trun,fuzz: Limit number of constant sample entries406263b
mp4: Add comment about hdlr.component_name prefix byte28a3b71
mp4: Cleanup sample decode code6278529
mp4: fuzz: Make sure stsz has sane number of entries on constant sample size9f08af3
mpeg,aac: Factor out escape value decodingdc1aea3
opus: Cleanup endian usage and fix incorrect preskip decode2b2320d
pcap,flows: fuzz: Handle broken packets more nicely1d7ace3
pcap,pcapng,tcp: Use capture length not original lengthb525d0b
pcap: fuzz: Skip ssl2 packet if too short713ffe4
scalar: Add Require* and Require/Validate/AssertRange*f348002
sll2: fuzz: Limit address length to max 8 byteseb4718f
tar: Cleanup api usage45026eb
tar: Cleanup constant usage a bit more91cc6d8
tar: Fix size decode regression after cleanup07a2ebe
tiff,fuzz: Fatal error on infinite ifd loops91217e8
tiff: Fix endian typo and cleanup todos3850968
udp: Use proper udp payload format var name6a8d77b
vorbis_comment: Cleanup endian usage and naming a bit57e9f41
vorbis_packet: Cleanup endian usagef5a4d26
vscode: Use tabsize 2 for jq filesdd883b3
wav: Cleanup endian usagee260830
webp: Cleanup endian usage
0.0.1
Changelog
4242bf6
*_annexb: Refactor into avc/hevc_annexbe86b45b
Add *grep/1/2 and find/1/236fd74a
Add comment how raw byte regexp matching worksd1be167
Add decode struct each order test7f36f70
Add to/bytes/bits[range]571bf29
Change project title95ec5e1
Cleanup and rename s/BufferView/BufferRange9797cdc
Cleanup dev/snippets.jq565f18d
Correct avc_au format variable name6a1fa04
Decode hvc1 as hevc samplesa also74bad2d
Fix broken value.fqtest514739a
Give proper error on missing short flag57f0ec1
Improve cli help a bit9704659
Initf33b310
Refactor decode.Value gojq bindings3d90b6d
Remove fixed commente4e269b
Rename and move cli test to pkg/cli1bd34bf
Same args error behavior as jq3693667
Start of configurable json bit buffer formats590ee52
Update ci-golang from 1.17.0 to 1.17.172a3f69
Update ci-golangci-lint from 1.42.0 to 1.42.1078cf29
Update docker-golang from 1.17.1 to 1.17.2f5a8484
Update docker-golang from 1.17.2 to 1.17.31371bc7
Update docker-golangci-lint from 1.42.1 to 1.43.0f1ad700
Update github-go-version from 1.17.1, 1.17.1 to 1.17.2314bd17
Update github-go-version from 1.17.2, 1.17.2 to 1.17.353a8d91
Update github-golangci-lint from 1.42.1 to 1.43.0898cd26
Update golang from 1.17.0 to 1.17.131cd26e
Update golangci-lint from 1.42.0 to 1.42.1d4b2d58
Update gomod-mapstructure from 1.4.2 to 1.4.31decf85
Update make-golangci-lint from 1.42.0 to 1.42.1233aaa1
Update make-golangci-lint from 1.42.1 to 1.43.015e9f6f
ansi: Correct background reset code1ccab2d
apev2: Add test27e4770
apev2: Fatal if > 1000 tags3bf1a57
avc: Cleanup and add color names etc777191f
avc: Correct sign expgolomb decode20021f4
bitio: Handle < 0 nbits7c4b0b3
bitio: Simplify by embedding readerf600f2e
build: Require go 1.1777f97aa
builtin: Add chunk_by, count_by and debug27ba359
bump: Add action and cleanup names71e87e6
bump: Cleanup config, add config for release.yml8f2f524
bump: Move bump config to where it's used184df0a
cli: A bit clearner array and iter promptd350971
cli: Add --decode-file VAR PATH support17104f0
cli: Add --options to make help a bit nicer6356a84
cli: Add --raw-string93fd097
cli: Add -M -C support and default to color if tty8dc0f06
cli: Add completion tests2010cac
cli: Add error test706b2f2
cli: Add exit 2 (like jq) for no args569b631
cli: Add output join tests49f541c
cli: Add proper repl iterator support3304f29
cli: Add string_input options test0dd848d
cli: Better filenames in errors22eb53d
cli: Cleanup MaybeLogFilec14c29a
cli: Cleanup and more commens10d7ed7
cli: Fix error filename on script error2b8d11d
cli: Fix indent2d4eb9c
cli: Fix non-string variables and var(; f) variant to delete etcf5ffd32
cli: Implement --arg, --argjson and --rawfileae5566a
cli: Include paths and some refactorec98fd3
cli: Make --argjson and --decode-file error similarac8cfca
cli: Make --raw-string work with input/0 and inputs/0b33f2cd
cli: Make profile build optional and move it to clie2ff2a2
cli: Move help/0 to inter.jq, better help for -nd0bb9a5
cli: Nicer grammar for --null-input help78eb737
cli: Nicer usage and indent input iteration394e2b3
cli: Only compelete at end or whitespace8d1fafe
cli: Only show fq info for --help2684ed2
cli: Prepare completion for better variables supporte666380
cli: REPL and multiple files75cf46f
cli: Refactor options codef8ab00e
cli: Remove unused eval debug arg5c8fb5f
cli: Revert accidental history path change55cd45f
cli: Simplify code2874bc7
cli: Unbreak colors in windows48517c7
cli: Unbreak part of completion518b725
cli: Use format/0 to check if value is a format21bef18
cli: User defined global vars538f4ff
cli: add -nul-output compat85d1719
cli: jq compat, multiple -Lc8f0264
cli: more jq compatf893295
cli: rename fq.jq to interp.jq1436fdc
completion: Better and _internal handlingc7416e6
decode, interp: More buffer reuse6ee7977
decode,format: Allow root array58ba84f
decode,interp: Add RecoverableErrorer interface instead of enumerateb66ed32
decode,interp: Make fuzzing work again and cleanup fatal/error code5052bae
decode,interp: Refactor to allow decode/fillgap a ranged4142b8
decode,png: Add FieldFormatReaderLen, refactor out zlib to format826c509
decode: Add Generated header for scalar3db11d3
decode: Add UTF8Fn functions and trim some null terminated stringsc083a9e
decode: Fix MapRawToScalar regressionc17483d
decode: Fix accidental rename6fba1a8
decode: Fix bitbuf root handling a bitd1e1cd9
decode: Fix walk root depth issue causing dump to indent incorrectly1b32b42
decode: Major decode API refactor7af191d
decode: Move io helper into *D26d615b
decode: Move name/description into DecodeOptions986d5ec
decode: Move registry package to decode/registry and add a format group typeede2e77
decode: Nicer scalar template and add doc6207fcc
decode: Pass context to be able to cancel properly5d98a69
decode: Refactor Error/Fatal into printf functions9f55b6e
decode: Refactor and add symbol struct and mapping2fc0a71
decode: Refactor scalar usage8eaba88
decode: Refactor walk code a bit, add WalkRoot* to stay inside one rootf40320b
decode: Remove D.Scalar* and add d.(Try)FieldScala*Fn insteadc155c89
decode: Rename format *Decode to *Formatf801cc0
decode: Rename s/FieldTryFormat/TryFieldFormat for consistency776a6b3
decode: Reuse read buffer per decode to speed things up9d116df
decode: Rework use of TryFieldReaderRangeFormatd48ebc1
decode: Simplify Compound.Children473b224
decode: Simplify and move format arg into DecodeOptions0480a2f
decode: Some format decode and sub buffer worka49e924
decode: Use golang.org/x/text for text decodingaf3e6b1
dev: Add format_summary.jq4c6de82
dev: Add summary how start to dump tree worksa926c8f
dev: Some debug notesb17a715
difftest: Remove accidental log1e1ad14
difftest: Sync code3cea849
dns: Cleanup a bitd469edf
doc,make: Correctly strip out graphviz version from svg15d85e1
doc: Add find/1 find/226ea6d8
doc: Cleanupa131210
doc: Cleanup and add note about . argument0a97f86
doc: Cleanup and note about repl limit8440e8a
doc: Cleanup todo and dev a bit15b6d64
doc: Cleanup up a bit1047d90
doc: Document io packages a bit1a0089e
doc: Fix typo and some improvments97c7403
doc: Fix typo in README0814206
doc: Fix typos and old examples0e8c82a
doc: Improve readme goals a bit2f9d93d
doc: Improved readme and cleanup todo242525f
doc: Move formats to own file583bc38
doc: Regenerate demo.svga050adc
doc: Regenerate demo.svg18e3e20
doc: Regenerate demo.svg with newer ansisvg1f61704
doc: Regenerate svg after ansisvg monospace updatea7459b3
doc: Some basic usage and cleanup6fa5ae8
doc: Some fixes00b7c18
doc: Some more doc work07c7daa
doc: Some rewording5a82224
doc: Update21a74fa
doc: Updated6d3265
doc: Update README a bitdf5bd19
doc: Update TODOfb13fe5
doc: Update todoeee3c4e
doc: Use unicode pipe in demob9b0326
doc: fq - jq for files790198c
docker: Make image build again and install expect2387ec8
docker: Use golang 1.17f8e5944
dump,json: Properly figure if compound or notee972f4
dump: Add ascii header69c6d15
editlit.jq: Update after mp4 field renames27095b5
es: Decode MPEG ASC if audio stream761c411
exif: Add note about JPEGInterchangeFormat344f628
flac: Calculate correct md5 when total samples count is zeroce044ba
flac: Cleanup2af08da
flac: Fix block_size regression4f0bf92
flac: Make md5_calculated be a buffer797bd4d
flac: Refactor flac_metadatablock into flac_metadatablocks1f26d4f
flac_frame: Correctly read escaped samples and also a bit less allocationsbc9951c
flac_frame: Fail if trying to decode outside block size723542a
flac_frame: Make utf8Uint reader more correct and robustb643e22
flac_frame: Support non-8 bit align sample size2daa738
flac_frame: Use d.Invalid for posssible errorsc1d9b4d
flac_metadatablocks: typ > 127 can't happen, add app id984ba1a
flac_metadatablocks: type >= 127 is invalid2b35d28
flac_picture,mp4: avif images and data fallback is image format fails509b8f8
flac_picture: Add picture_type names4f8d037
format,decode: Some crc and endian refactoraa38ccf
format,interp: Use MustGroup and add probe order test577c0f5
format: Add panic if register after resolve606c0b6
format: Add vorbis-comment-picture test, add .gitignore and cleanup798141a
format: Cleanup commentsc0eebcc
format: Remove unused ProtoBufType4b48828
format: Rename source file to match format named1b514e
format: Some claeanupec97eca
format: Split default.go into format.go and shared.go25f5ad7
fq,cli: Rename chunk to streaks, cleanup905c0ab
fq: Add chunk/146d37ef
fq: Add cli sanity testb849895
fq: Add truncate array support to dump/display8cb380e
fq: Generate decode alises codedfcefc1
fq: Make format/0 native for performanceba273be
fq: Make relative include work with @builtin etcd23edaa
fq: Rename bits/0 bytes/0 to tobits tobytes, remove string/0a7a58c8
fq: Rename main.go to fq.go834f4a5
fq: use jq functions for all display alises31d7611
fqtest: Add env support and isterminal/width/height support285356d
fqtest: Cleanup and dont assert when WRITE_ACTUAL86b34a3
fqtest: Fix section regexpdee10db
fqtest: No need to escape empty stdout6916880
fqtest: Refactor our script part to own package01d8a90
funcs: Add delta/0 delta_by/096f7a75
funcs: Fix typo add count/0962d84d
funcs: Make intdiv truncate to int08ec4f0
funcs: Remove unsued string functiond5c084c
funcs: chunk_by comment80eaa46
funcs: format helperc770a75
funcs: make in_bytes/bits_range more generic6ff5aca
gif: Support GIF87a0d87018
github: Install expect to cli test8e3d9d8
github: bump: Checkout with bump token so it's used when push0c7fa09
gojq: Initial update support1888bb2
gojq: Remove div operatord7dbe7c
gojq: Update fq branch to fix mod (-1 % 256) differencebf5c222
gojq: Update fq fork093ee71
gojq: Update fq fork1d15c1d
gojq: Update fq fork3044fef
gojq: Update fq fork5a5f01e
gojq: Update fq forkbfec366
gojq: Update fq fork4104a18
gojq: Update fq fork31a5047
gojq: Update fq fork0b90558
gojq: Update fq fork8277b79
gojq: Update fq fork, support JQValue alt //a34784d
gojq: Update fq gojq fork7ad3d25
gojq: Update fq gojq forkf5164ee
gojq: Update fq gojq forkac7568d
gojq: Update gojq fq forkf828ae1
gojq: Update gojq fq fork845bc6b
gojq: Update gojq fq forkd365ab7
gojq: Update gojq fq fork6420928
gojq: Update gojq fq forkc8776ab
gojq: Update gojq fq forkf4cd7bf
gojq: Update jq forkb75da30
gojq: Update jq fork03af2b5
gojq: Update rebased fq branchc3b7b5c
gojq: Update to rebased fq branch2d6573d
gojq: Update to rebased fq branchfdb811e
gojqextra,decode: Add generic lazy JQValueaab32cf
gojqextra,interp: Add lazy string to speed usage of decode value buffer where string is not used9035278
gojqextra: Move errors to own file86092e6
golangci: unused: Assume go 1.17ac106d9
goreleaser: Cleanupee611a4
gzip,bzip2: Calculate CRC5344c7e
icc: Add mluc support50d00d8
icc_profile: Add element alignment bytes field59e7fd4
icc_profile: Clamp alignment to end instead of check last tag (might not be last in buffer)a5b802b
icc_profile: Correct alignment byte count57a1207
id3v2: Support GEOB tagsf55b1af
inet: Add tcp and ipv4 reassembly26c594f
input: make -R mimic jq on io errord9b45ba
internal: _global_var returns new value instead of _global_statef9f8660
interp,decode: Add force option to ignore asserts6a15625
interp,decode: Refactor out Scalar from Value and merge Array/Struct into Compoundcc5f405
interp,format: Update tests after decode refactor/tosym/toactual9f2dddc
interp,gojqextra: Make buffers values even more lazy and error early on non-scalar callsbf19588
interp: Add ansi helper7298a4c
interp: Add buffer match support to find and grep0d693aa
interp: Add line between usage and args helpc997536
interp: Add root, buffer_root, format_root, parent and parents69e4eea
interp: Better error if format/group is not found7423f45
interp: Cleanup output types8d442b8
interp: Cleanup stdin reading and add more option testsb641c77
interp: Cleanup unfinished/broken preview67898cb
interp: Cleanup, use BufferRange for _open, progress for all decode0660ff0
interp: Clear up confusing --rawfile (add a jq alias)3fafee8
interp: Clearer help for -d879bb56
interp: Correctly check if _decode_value, add more has/1 tests2e964fa
interp: Disable progress after decode is done80b5d66
interp: Document inputs and repl/cli details13fae09
interp: Don't print context cancel96cc128
interp: Eval options in jq instead of calling jq from go178032e
interp: Fix $opts shadowing in decode4eccb1e
interp: Fix broken aes_ctr, should return buffer instead of []byte110c86b
interp: Fix broken dynamic width/height80a6997
interp: Fix file leak and always cache for nowcfdd922
interp: Fix prompt issue with format93322bc
interp: Implement format/0 in jq8e5442f
interp: Limit how often decode progress fn is calledf1fcbe5
interp: Make has/1 work for _ext keys826c8bd
interp: Make include abs path work again6034ad7
interp: More sure stdOS stops the signal forward gorutine6cacc9b
interp: Move *CtxWriter to ioextra, some comments cleanupafb1050
interp: Move _decode_value to value.jq3e7e133
interp: Move formats func def to jq5cd5633
interp: Move jq function impls closer to where they belong996be0f
interp: Move more options code into options.jq976e992
interp: Move progress logic to jq528e6b9
interp: Refactor and use mapstructure472c1ef
interp: Refactor out string_input to own function54e121c
interp: Refactor repl inputs a bit618c1ea
interp: Refactor/Rename BufferViewd6d9484
interp: Remove --options, probably just confusingb024316
interp: Remove accidental extra space after path in promptff143d0
interp: Remove redundant decode argabcecb8
interp: Remove unused []byte type01a407a
interp: Rename s/bufferrange/buffer and cleanup567bc4b
interp: Rename to* funcs to match36e5562
interp: Rename value.* to decode.* as it makes more sense0cce5ec
interp: Reorganize, move out repl and options, more functions to funcs.jqeedfd16
interp: Replace find with overloaded match that support buffer58bf069
interp: Return []byte value as a buffer for now1c3c65b
interp: Rework buffer, still confusing97f7317
interp: Rework repl prompt code and fix some whitespace issues again4af5739
interp: Rework string/buffer for decode valuesff2077b
interp: Simplify Function, aliases done in jq now1fe5d95
interp: Some better naming and typos1b7b2f9
interp: Use gojqextra.NonUpdatableTypeError6ce4ba9
interp: Use snake_case for all options9cba69e
interp: Use todescription in testscf26b1f
interp: _readline: Use _repeat_break, add test07b4210
interp: add topath/0 and make todescription return null if there is none16d1f45
interp: find buffer should always use ByteRuneReader3ff0c9b
lint: Enable errcheck adnd revive13e98d4
lint: Fix unused bufferRange and toBufferView13d5cbd
lint: Remove usused nolint, should somehow tell about decode.Copyad850d6
lint: want explicit types in gojqextra.go90c19c6
make,test: Move testjq to own script and reuse fq binary052b9c0
make: Build with -s -w same as goreleaser1557e14
make: CGO_ENABLED=0 for static build8019212
make: Enable -race for tests263a77f
make: Mark actual and cover as phonyb0694f5
make: Move build flags to vars75b59db
make: Move doc generate to helper scriptfcbfc29
make: Move testjq.sh into pkg/interp5bf4bc7
make: Rename testwrite to actual40e26e8
make: Rename to testjqab8080f
make: Reorganize test targets98a8bae
make: Silence git if no repo version found95b9c32
make: doc/formats.svg: Ignore graphviz verison to get less diff30ad643
make: go build args should not be quotedf1507f7
mod: Use proper path and dont use replacec4a3120
mp3,README: some cleanupda386ea
mp3: Be more relaxed with zero padding, just warn1325e5c
mp3: Cleanup commentse104748
mp3: Continue try find frames on error046f2fd
mp3: Don't allow more than 64k between frames527f917
mp3: Error if > 5 unique header configs4344b62
mp3: Only look for supported mp3 sync headers8a4f66f
mp3: Probe order after formwats with raw samples and similar sync headers60df04b
mp3_frame: Only supports layer 3, fixes some probe issuesed21f36
mp3_frame: Rename samples_per_frame to sample_countdb586eb
mp4,matroska: Add *_path/0 variant that uses format_root9ac17bd
mp4: Add comment about future truncate to size option2e71fa1
mp4: Add smhd box278e909
mp4: Add tapt, prof, enof and clap boxes161dcaf
mp4: Better fragmented mp4 supporte47888e
mp4: Fix 64bit size regression0801882
mp4: Fix field name typo for sample_composition_time_offsets_presentf322e78
mp4: More _time decoding6b8d26c
mp4: Properly decode tfraf2c1327
mp4: Use ISOBMFF naming and some more tests589207d
mp4: Use descriptor field for all descriptor boxesc7d45ff
mp4: add pssh_playready formate6cb708
mpeg: Nicer sym and descriptionf4b11b4
mpeg_annexb: Add format6a8ba31
number_to_bytes: Force int to make it work with bigint88eade9
ogg: Add flac support7f76986
ogg: Cleanup bitio in format out, maybe later7b7faaf
pcap: Add pcap, pcapng, ether8023, ipv4, udp, udpfc76907
png: Add proper color type5c733ad
readline: Update fq fork4cee498
readme: Nicer demoffb5adf
registry: Move to pkg/registry, feels betterdcceaa4
repl: Fix help and error message a bit44d8b66
repl: Give error if repl is used in non-repl mode1d0ebb5
repl: Handle directives, add testsc9777aa
repl: completion in jqccf6cab
repl: use map in _query_slurp_wrap74b5750
shquote: Remove unnecessary sb.Reset()44251ca
snippet: Add mp4_matrix_structure_rotation79a1aea
snippets: Add urldecode684193a
snippets: add changes/1fda1dda
snippets: urlencode: only 0-9a-f5ad048d
tar: Fix 0 trim regression49d2e61
tar: Unbreak num parsing and add testc8fad57
tiff: Fix reading of mluc tags with multiple recordsb55f24a
todo: Add ignore range check ideabc1b3bf
todo: Add note about symbols and iprint improvments1d83554
todo: Add note about test and capture with bufferf839317
todo: Add some known issues4d94c9a
todo: Clenaup a bit17a708f
todo: Remove fixed repl item0af4c2b
todo: Update about readlined03a1c9
todo: add echo '{} {} {}' | jq differencef9622c2
vorbis_comment: Fix field name typobe0fdbe
vp9: Add profile and fix reserved_zero field collision646f902
vpx_ccr: Add color namesb0ad3f2
w45afbe6
wipd838d2f
zip: Add format decoder9029143
zip: Fix nested decode for none compress