Mattias Wadman
|
0480a2f722
|
decode: Some format decode and sub buffer work
|
2021-11-20 18:56:59 +01:00 |
|
Mattias Wadman
|
9cba69e64d
|
interp: Use todescription in tests
|
2021-11-19 11:56:58 +01:00 |
|
Mattias Wadman
|
07b421011f
|
interp: add topath/0 and make todescription return null if there is none
Move out more code from funcs.jq
|
2021-11-19 11:44:23 +01:00 |
|
Mattias Wadman
|
07c7daaf92
|
doc: Some rewording
|
2021-11-19 00:23:04 +01:00 |
|
Mattias Wadman
|
d838d2f613
|
zip: Add format decoder
|
2021-11-19 00:22:26 +01:00 |
|
Mattias Wadman
|
f9f866000e
|
interp,decode: Add force option to ignore asserts
|
2021-11-16 13:03:56 +01:00 |
|
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
|
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
|
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
|
0660ff08c6
|
interp: Clear up confusing --rawfile (add a jq alias)
|
2021-11-01 13:01:05 +01:00 |
|
Mattias Wadman
|
0d693aa59e
|
interp: Add line between usage and args help
|
2021-10-30 18:35:21 +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
|
826c8bd555
|
interp: Make include abs path work again
|
2021-10-26 11:02:30 +02:00 |
|
Mattias Wadman
|
b024316289
|
interp: Remove accidental extra space after path in prompt
|
2021-10-22 00:17:46 +02:00 |
|
Mattias Wadman
|
eedfd16b40
|
interp: Replace find with overloaded match that support buffer
|
2021-10-20 21:16:13 +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
|
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
|
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
|
618c1ea79f
|
interp: Refactor/Rename BufferView
TODO: fix bit level dump again
|
2021-09-28 01:46:32 +02:00 |
|
Mattias Wadman
|
f1fcbe5dfb
|
interp: Make has/1 work for _ext keys
|
2021-09-28 01:45:27 +02:00 |
|
Mattias Wadman
|
ab8080f495
|
make: Reorganize test targets
Fix whitespaces in tests
|
2021-09-27 22:47:17 +02:00 |
|
Mattias Wadman
|
cf26b1fc8e
|
interp: _readline: Use _repeat_break, add test
|
2021-09-23 14:39:03 +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
|
6ce4ba919b
|
interp: Use snake_case for all options
|
2021-09-22 00:32:57 +02:00 |
|
Mattias Wadman
|
ed21f36b23
|
mp3_frame: Rename samples_per_frame to sample_count
|
2021-09-20 18:54:20 +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
|
1fe5d95307
|
interp: Some better naming and typos
|
2021-09-18 10:47:43 +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
|
8277b79c21
|
gojq: Update fq fork, support JQValue alt //
|
2021-09-16 00:46:25 +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
|
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 |
|