Mattias Wadman
|
3fafee8559
|
interp: Clearer help for -d
|
2021-11-16 08:43:29 +01:00 |
|
Mattias Wadman
|
1b32b42f93
|
decode: Major decode API refactor
Generate more code
More generic and comfortable API
Improve and Update format decoder to new API
Add some more format tests
|
2021-11-15 21:12:07 +01:00 |
|
Mattias Wadman
|
fcbfc29154
|
make: Move testjq.sh into pkg/interp
|
2021-11-12 00:23:16 +01:00 |
|
Mattias Wadman
|
178032e0a8
|
interp: Fix $opts shadowing in decode
|
2021-11-12 00:22:57 +01:00 |
|
Mattias Wadman
|
cc5f405554
|
interp,format: Update tests after decode refactor/tosym/toactual
|
2021-11-05 17:29:23 +01:00 |
|
Mattias Wadman
|
6a15625587
|
interp,decode: Refactor out Scalar from Value and merge Array/Struct into Compound
Also add tosym, toactual
|
2021-11-05 17:29:22 +01:00 |
|
Mattias Wadman
|
6cacc9b398
|
interp: Move *CtxWriter to ioextra, some comments cleanup
|
2021-11-05 17:28:29 +01:00 |
|
Mattias Wadman
|
ff2077bc0f
|
interp: Simplify Function, aliases done in jq now
|
2021-11-05 17:28:29 +01:00 |
|
Mattias Wadman
|
93322bc434
|
interp: Implement format/0 in jq
|
2021-11-03 10:58:33 +01:00 |
|
Mattias Wadman
|
571bf29ab2
|
Change project title
|
2021-11-01 17:47:36 +01:00 |
|
Mattias Wadman
|
58ba84ff93
|
decode,interp: Add RecoverableErrorer interface instead of enumerate
|
2021-11-01 17:41:39 +01:00 |
|
Mattias Wadman
|
96cc1283cd
|
interp: Eval options in jq instead of calling jq from go
Simpler and causes less weird performance issues
|
2021-11-01 17:05:36 +01:00 |
|
Mattias Wadman
|
13fae09172
|
interp: Don't print context cancel
|
2021-11-01 13:01:05 +01:00 |
|
Mattias Wadman
|
80b5d66c7a
|
interp: Document inputs and repl/cli details
|
2021-11-01 13:01:05 +01:00 |
|
Mattias Wadman
|
0660ff08c6
|
interp: Clear up confusing --rawfile (add a jq alias)
|
2021-11-01 13:01:05 +01:00 |
|
Mattias Wadman
|
472c1ef081
|
interp: Refactor out string_input to own function
|
2021-11-01 11:40:24 +01:00 |
|
Mattias Wadman
|
0d693aa59e
|
interp: Add line between usage and args help
|
2021-10-30 18:35:21 +02:00 |
|
Mattias Wadman
|
67898cb44a
|
interp: Cleanup, use BufferRange for _open, progress for all decode
|
2021-10-30 01:17:14 +02:00 |
|
Mattias Wadman
|
88eade9ab9
|
ogg: Add flac support
Refactor flac_streaminfo and flac_metadata from flac_metadatablocks
Some deocde bitbuf api cleanup
|
2021-10-29 18:30:16 +02:00 |
|
Mattias Wadman
|
97f7317928
|
interp: Rework repl prompt code and fix some whitespace issues again
|
2021-10-28 12:08:19 +02:00 |
|
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 |
|