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
|
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
|
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
|
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
|
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
|
1d0ebb55e4
|
repl: Handle directives, add tests
|
2021-09-12 13:08:55 +02:00 |
|