Mattias Wadman
|
6ff5acae03
|
gif: Support GIF87a
|
2021-10-19 01:53:37 +02:00 |
|
Mattias Wadman
|
8eaba88a10
|
decode: Refactor walk code a bit, add WalkRoot* to stay inside one root
|
2021-10-18 15:06:08 +02:00 |
|
Mattias Wadman
|
16d1f45de1
|
interp: find buffer should always use ByteRuneReader
Fixes grep and bgrep with buffer
|
2021-10-18 01:34:05 +02:00 |
|
Mattias Wadman
|
d6d94842b5
|
interp: Remove --options, probably just confusing
|
2021-10-18 00:59:35 +02:00 |
|
Mattias Wadman
|
36fd74a181
|
Add comment how raw byte regexp matching works
|
2021-10-17 14:48:50 +02:00 |
|
Mattias Wadman
|
7f36f703dd
|
Add to/bytes/bits[range]
|
2021-10-17 14:43:37 +02:00 |
|
Mattias Wadman
|
7298a4cd8d
|
interp: Add buffer match support to find and grep
|
2021-10-17 01:26:30 +02:00 |
|
Mattias Wadman
|
e86b45bd1a
|
Add *grep/1/2 and find/1/2
|
2021-10-13 01:27:04 +02:00 |
|
Mattias Wadman
|
f0233bb811
|
test: Refactor out diff testing into own package
|
2021-10-10 17:20:49 +02:00 |
|
Mattias Wadman
|
879bb569f3
|
interp: Correctly check if _decode_value, add more has/1 tests
|
2021-10-07 13:35:48 +02:00 |
|
Mattias Wadman
|
691688022f
|
fqtest: Refactor our script part to own package
Hopefully can be reused for docs generation
|
2021-10-06 18:49:03 +02:00 |
|
Mattias Wadman
|
1c3c65b191
|
interp: Rework buffer, still confusing
|
2021-10-05 22:26:05 +02:00 |
|
Mattias Wadman
|
b641c77216
|
interp: Cleanup unfinished/broken preview
|
2021-10-02 20:42:11 +02:00 |
|
Mattias Wadman
|
ff143d0bdb
|
interp: Remove redundant decode arg
|
2021-10-02 10:53:01 +02:00 |
|
Mattias Wadman
|
20021f48ec
|
bitio: Handle < 0 nbits
Read/Write64 panic on < 0 bits
Readers return error
|
2021-09-29 11:53:21 +02:00 |
|
Mattias Wadman
|
aa38ccf0e1
|
format,interp: Use MustGroup and add probe order test
|
2021-09-28 13:08:22 +02:00 |
|
Mattias Wadman
|
13e98d44be
|
lint: Fix unused bufferRange and toBufferView
|
2021-09-28 02:07:44 +02:00 |
|
Mattias Wadman
|
618c1ea79f
|
interp: Refactor/Rename BufferView
TODO: fix bit level dump again
|
2021-09-28 01:46:32 +02:00 |
|
Mattias Wadman
|
c997536f14
|
interp: Add root, buffer_root, format_root, parent and parents
|
2021-09-28 01:46:29 +02:00 |
|
Mattias Wadman
|
f1fcbe5dfb
|
interp: Make has/1 work for _ext keys
|
2021-09-28 01:45:27 +02:00 |
|
Mattias Wadman
|
567bc4b342
|
interp: Rename to* funcs to match
|
2021-09-27 23:03:53 +02:00 |
|
Mattias Wadman
|
ab8080f495
|
make: Reorganize test targets
Fix whitespaces in tests
|
2021-09-27 22:47:17 +02:00 |
|
Mattias Wadman
|
3ff0c9b5e0
|
lint: Enable errcheck adnd revive
|
2021-09-27 11:01:14 +02:00 |
|
Mattias Wadman
|
00b7c18b65
|
doc: Some more doc work
|
2021-09-24 15:41:23 +02:00 |
|
Mattias Wadman
|
cf26b1fc8e
|
interp: _readline: Use _repeat_break, add test
|
2021-09-23 14:39:03 +02:00 |
|
Mattias Wadman
|
0cce5ec61f
|
interp: Reorganize, move out repl and options, more functions to funcs.jq
|
2021-09-22 21:08:36 +02:00 |
|
Mattias Wadman
|
110c86b959
|
interp: Fix broken dynamic width/height
Refactor options to fixed/dynamic and just use stack
Added support for env in fqtest readlines
|
2021-09-22 18:18:57 +02:00 |
|
Mattias Wadman
|
528e6b91ab
|
interp: Refactor and use mapstructure
|
2021-09-22 01:35:27 +02:00 |
|
Mattias Wadman
|
6ce4ba919b
|
interp: Use snake_case for all options
|
2021-09-22 00:32:57 +02:00 |
|
Mattias Wadman
|
bf19588e35
|
interp: Add ansi helper
|
2021-09-21 17:34:02 +02:00 |
|
Mattias Wadman
|
3e7e133047
|
interp: Move formats func def to jq
|
2021-09-21 16:42:35 +02:00 |
|
Mattias Wadman
|
ed21f36b23
|
mp3_frame: Rename samples_per_frame to sample_count
|
2021-09-20 18:54:20 +02:00 |
|
Mattias Wadman
|
976e992c31
|
interp: Move progress logic to jq
|
2021-09-20 17:47:40 +02:00 |
|
Mattias Wadman
|
d4142b875c
|
decode,png: Add FieldFormatReaderLen, refactor out zlib to format
|
2021-09-19 20:49:15 +02:00 |
|
Mattias Wadman
|
3bfc95b3c2
|
test: Nicer test output
|
2021-09-19 11:58:37 +02:00 |
|
Mattias Wadman
|
90c19c6cc1
|
make,test: Move testjq to own script and reuse fq binary
Remove version from --help for now
|
2021-09-19 11:50:41 +02:00 |
|
Mattias Wadman
|
31d7611f55
|
fqtest: Add env support and isterminal/width/height support
|
2021-09-19 02:17:31 +02:00 |
|
Mattias Wadman
|
93fd097b53
|
cli: Add -M -C support and default to color if tty
|
2021-09-19 01:19:48 +02:00 |
|
Mattias Wadman
|
e4e269b162
|
Rename and move cli test to pkg/cli
|
2021-09-18 18:23:28 +02:00 |
|
Mattias Wadman
|
1fe5d95307
|
interp: Some better naming and typos
|
2021-09-18 10:47:43 +02:00 |
|
Mattias Wadman
|
3db11d3fa8
|
decode: Add UTF8Fn functions and trim some null terminated strings
|
2021-09-17 22:13:35 +02:00 |
|
Mattias Wadman
|
797bd4d652
|
flac: Refactor flac_metadatablock into flac_metadatablocks
metadatablocks are not really used alone
|
2021-09-17 15:46:13 +02:00 |
|
Mattias Wadman
|
ee972f490d
|
dump: Add ascii header
|
2021-09-16 22:40:03 +02:00 |
|
Mattias Wadman
|
6ee7977c53
|
decode,format: Allow root array
|
2021-09-16 16:27:47 +02:00 |
|
Mattias Wadman
|
473b2243c9
|
decode: Simplify and move format arg into DecodeOptions
|
2021-09-16 15:29:11 +02:00 |
|
Mattias Wadman
|
26d615b852
|
decode: Move name/description into DecodeOptions
|
2021-09-16 14:42:32 +02:00 |
|
Mattias Wadman
|
c7416e6dcb
|
decode, interp: More buffer reuse
|
2021-09-16 12:24:53 +02:00 |
|
Mattias Wadman
|
6207fcc8f0
|
decode: Pass context to be able to cancel properly
|
2021-09-16 10:32:29 +02:00 |
|
Mattias Wadman
|
8277b79c21
|
gojq: Update fq fork, support JQValue alt //
|
2021-09-16 00:46:25 +02:00 |
|
Mattias Wadman
|
c17483dbe0
|
decode: Fix accidental rename
|
2021-09-15 00:52:57 +02:00 |
|
Mattias Wadman
|
776a6b3136
|
decode: Reuse read buffer per decode to speed things up
|
2021-09-14 18:54:59 +02:00 |
|
Mattias Wadman
|
c770a754dc
|
funcs: make in_bytes/bits_range more generic
|
2021-09-14 12:55:53 +02:00 |
|
Mattias Wadman
|
26c594feb1
|
input: make -R mimic jq on io error
|
2021-09-13 12:12:34 +02:00 |
|
Mattias Wadman
|
dcceaa4b35
|
repl: Fix help and error message a bit
|
2021-09-12 13:08:56 +02:00 |
|
Mattias Wadman
|
7423f450ef
|
interp: Cleanup output types
|
2021-09-12 13:08:56 +02:00 |
|
Mattias Wadman
|
3d90b6d4b3
|
Remove fixed comment
|
2021-09-12 13:08:56 +02:00 |
|
Mattias Wadman
|
c9777aaded
|
repl: completion in jq
|
2021-09-12 13:08:56 +02:00 |
|
Mattias Wadman
|
44d8b66a8e
|
repl: Give error if repl is used in non-repl mode
|
2021-09-12 13:08:56 +02:00 |
|
Mattias Wadman
|
ec98fd315a
|
cli: Make --argjson and --decode-file error similar
|
2021-09-12 13:08:56 +02:00 |
|
Mattias Wadman
|
1d15c1d0f2
|
gojq: Update fq fork
|
2021-09-12 13:08:56 +02:00 |
|
Mattias Wadman
|
4344b621da
|
mp3: Only look for supported mp3 sync headers
|
2021-09-12 13:08:55 +02:00 |
|
Mattias Wadman
|
da386ea282
|
mp3: Be more relaxed with zero padding, just warn
|
2021-09-12 13:08:55 +02:00 |
|
Mattias Wadman
|
d350971fa2
|
cli: Add --decode-file VAR PATH support
|
2021-09-12 13:08:55 +02:00 |
|
Mattias Wadman
|
f5ffd32096
|
cli: Implement --arg, --argjson and --rawfile
|
2021-09-12 13:08:55 +02:00 |
|
Mattias Wadman
|
962d84dc68
|
funcs: Make intdiv truncate to int
|
2021-09-12 13:08:55 +02:00 |
|
Mattias Wadman
|
48517c7c60
|
cli: Unbreak part of completion
|
2021-09-12 13:08:55 +02:00 |
|
Mattias Wadman
|
f8e5944f91
|
dump,json: Properly figure if compound or not
|
2021-09-12 13:08:55 +02:00 |
|
Mattias Wadman
|
0a97f86f32
|
doc: Cleanup and note about repl limit
|
2021-09-12 13:08:55 +02:00 |
|
Mattias Wadman
|
a49e924d5f
|
decode: Use golang.org/x/text for text decoding
|
2021-09-12 13:08:55 +02:00 |
|
Mattias Wadman
|
85d17199de
|
cli: jq compat, multiple -L
|
2021-09-12 13:08:55 +02:00 |
|
Mattias Wadman
|
c8f0264682
|
cli: more jq compat
|
2021-09-12 13:08:55 +02:00 |
|
Mattias Wadman
|
ccf6cab491
|
repl: use map in _query_slurp_wrap
|
2021-09-12 13:08:55 +02:00 |
|
Mattias Wadman
|
538f4ffe71
|
cli: add -nul-output compat
|
2021-09-12 13:08:55 +02:00 |
|
Mattias Wadman
|
8cb380e7d9
|
fq: Generate decode alises code
|
2021-09-12 13:08:55 +02:00 |
|
Mattias Wadman
|
834f4a5893
|
fq: use jq functions for all display alises
|
2021-09-12 13:08:55 +02:00 |
|
Mattias Wadman
|
905c0ab74e
|
fq: Add chunk/1
|
2021-09-12 13:08:55 +02:00 |
|
Mattias Wadman
|
25f5ad7566
|
fq,cli: Rename chunk to streaks, cleanup
|
2021-09-12 13:08:55 +02:00 |
|
Mattias Wadman
|
285356d21e
|
fqtest: Cleanup and dont assert when WRITE_ACTUAL
|
2021-09-12 13:08:55 +02:00 |
|
Mattias Wadman
|
1d0ebb55e4
|
repl: Handle directives, add tests
|
2021-09-12 13:08:55 +02:00 |
|
Mattias Wadman
|
49f541c317
|
cli: Add proper repl iterator support
|
2021-09-12 13:08:54 +02:00 |
|
Mattias Wadman
|
c14c29a4a9
|
cli: Cleanup and more commens
|
2021-09-12 13:08:54 +02:00 |
|
Mattias Wadman
|
184df0a11b
|
cli: A bit clearner array and iter prompt
|
2021-09-12 13:08:54 +02:00 |
|
Mattias Wadman
|
c7d45ff1e0
|
mp4: add pssh_playready format
|
2021-09-12 13:08:54 +02:00 |
|
Mattias Wadman
|
10d7ed7806
|
cli: Fix error filename on script error
|
2021-09-12 13:08:54 +02:00 |
|
Mattias Wadman
|
ac8cfca500
|
cli: Make --raw-string work with input/0 and inputs/0
Also lots of refactor
|
2021-09-12 13:08:54 +02:00 |
|
Mattias Wadman
|
2010caccd5
|
cli: Add error test
|
2021-09-12 13:08:54 +02:00 |
|
Mattias Wadman
|
569b631904
|
cli: Add output join tests
|
2021-09-12 13:08:54 +02:00 |
|
Mattias Wadman
|
3304f2956a
|
cli: Add string_input options test
|
2021-09-12 13:08:54 +02:00 |
|
Mattias Wadman
|
17104f02d3
|
cli: Add --options to make help a bit nicer
|
2021-09-12 13:08:54 +02:00 |
|
Mattias Wadman
|
6356a84f15
|
cli: Add --raw-string
|
2021-09-12 13:08:54 +02:00 |
|
Mattias Wadman
|
4242bf6013
|
*_annexb: Refactor into avc/hevc_annexb
|
2021-09-12 13:08:54 +02:00 |
|
Mattias Wadman
|
9f55b6e619
|
decode: Refactor and add symbol struct and mapping
|
2021-09-12 13:08:53 +02:00 |
|
Mattias Wadman
|
f4b11b4be2
|
mpeg_annexb: Add format
|
2021-09-12 13:08:53 +02:00 |
|
Mattias Wadman
|
b33f2cd678
|
cli: Make profile build optional and move it to cli
|
2021-09-12 13:08:53 +02:00 |
|
Mattias Wadman
|
b849895970
|
fq: Add truncate array support to dump/display
|
2021-09-12 13:08:53 +02:00 |
|
Mattias Wadman
|
ba273be71e
|
fq: Make relative include work with @builtin etc
|
2021-09-12 13:08:53 +02:00 |
|
Mattias Wadman
|
f828ae1319
|
gojq: Update gojq fq fork
Removed some unneeded error changes in fork
|
2021-09-12 13:08:53 +02:00 |
|
Mattias Wadman
|
dfcefc1b55
|
fq: Make format/0 native for performance
|
2021-09-12 13:08:53 +02:00 |
|
Mattias Wadman
|
45afbe6201
|
wip
|
2021-09-12 13:08:53 +02:00 |
|
Mattias Wadman
|
08ec4f0eeb
|
funcs: Remove unsued string function
|
2021-09-12 13:08:53 +02:00 |
|