Mattias Wadman
|
cfdd92215d
|
interp: Fix prompt issue with format
|
2021-10-27 16:40:39 +02:00 |
|
Mattias Wadman
|
80a69977a1
|
interp: Fix file leak and always cache for now
|
2021-10-26 11:50:59 +02:00 |
|
Mattias Wadman
|
826c8bd555
|
interp: Make include abs path work again
|
2021-10-26 11:02:30 +02:00 |
|
Mattias Wadman
|
2e964fa44f
|
interp: Disable progress after decode is done
Otherwise reading might cause progress output
|
2021-10-25 11:11:26 +02:00 |
|
Mattias Wadman
|
bc1b3bf819
|
todo: Add note about symbols and iprint improvments
|
2021-10-22 11:01:48 +02:00 |
|
Mattias Wadman
|
b024316289
|
interp: Remove accidental extra space after path in prompt
|
2021-10-22 00:17:46 +02:00 |
|
Mattias Wadman
|
95ec5e1077
|
Cleanup and rename s/BufferView/BufferRange
|
2021-10-21 00:48:30 +02:00 |
|
Mattias Wadman
|
eedfd16b40
|
interp: Replace find with overloaded match that support buffer
|
2021-10-20 21:16:13 +02:00 |
|
Mattias Wadman
|
4af5739712
|
interp: Rework string/buffer for decode values
|
2021-10-20 01:31:59 +02:00 |
|
Mattias Wadman
|
58bf069ad5
|
interp: Return []byte value as a buffer for now
|
2021-10-19 15:44:48 +02:00 |
|
Mattias Wadman
|
5052bae18e
|
decode,interp: Refactor to allow decode/fillgap a range
|
2021-10-19 14:38:11 +02:00 |
|
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 |
|