1
1
mirror of https://github.com/wader/fq.git synced 2024-11-29 12:14:17 +03:00
Commit Graph

2770 Commits

Author SHA1 Message Date
Mattias Wadman
2874bc7995 cli: Unbreak colors in windows 2021-09-12 13:08:53 +02:00
Mattias Wadman
75cf46f8f4 cli: Refactor options code
Make nearly all options be just options and cli arguments
just sets various options.
2021-09-12 13:08:53 +02:00
Mattias Wadman
5c8fb5f97a cli: Revert accidental history path change 2021-09-12 13:08:52 +02:00
Mattias Wadman
9797cdc6b2 Cleanup dev/snippets.jq 2021-09-12 13:08:52 +02:00
Mattias Wadman
22eb53d5f6 cli: Cleanup MaybeLogFile 2021-09-12 13:08:52 +02:00
Mattias Wadman
6420928be3 gojq: Update gojq fq fork 2021-09-12 13:08:52 +02:00
Mattias Wadman
6a8ba315fa number_to_bytes: Force int to make it work with bigint 2021-09-12 13:08:52 +02:00
Mattias Wadman
1888bb2892 gojq: Remove div operator
Add intdiv function intead
2021-09-12 13:08:52 +02:00
Mattias Wadman
a34784d7ba gojq: Update fq gojq fork 2021-09-12 13:08:52 +02:00
Mattias Wadman
e374b427f2 test: Less verbose 2021-09-12 13:08:52 +02:00
Mattias Wadman
b9b0326009 doc: fq - jq for files 2021-09-12 13:08:52 +02:00
Mattias Wadman
27ba3592d0 bump: Add action and cleanup names 2021-09-12 13:08:52 +02:00
Mattias Wadman
7ad3d2550c gojq: Update fq gojq fork 2021-09-12 13:08:52 +02:00
Mattias Wadman
8f2f524c1a bump: Move bump config to where it's used 2021-09-12 13:08:52 +02:00
Mattias Wadman
f600f2e54f build: Require go 1.17 2021-09-12 13:08:52 +02:00
Mattias Wadman
d9b45ba1ec internal: _global_var returns new value instead of _global_state 2021-09-12 13:08:52 +02:00
Mattias Wadman
80eaa4637e funcs: format helper 2021-09-12 13:08:52 +02:00
Mattias Wadman
59e7fd4e94 icc_profile: Clamp alignment to end instead of check last tag (might not be last in buffer) 2021-09-12 13:08:52 +02:00
Mattias Wadman
fda1dda1ae snippets: urlencode: only 0-9a-f 2021-09-12 13:08:52 +02:00
Mattias Wadman
a5b802b288 icc_profile: Correct alignment byte count 2021-09-12 13:08:52 +02:00
Mattias Wadman
d5c084c54a funcs: chunk_by comment 2021-09-12 13:08:52 +02:00
Mattias Wadman
af3e6b1220 dev: Add format_summary.jq 2021-09-12 13:08:51 +02:00
Mattias Wadman
79a1aea1d0 snippets: Add urldecode 2021-09-12 13:08:51 +02:00
Mattias Wadman
50d00d823d icc_profile: Add element alignment bytes field 2021-09-12 13:08:51 +02:00
Mattias Wadman
4b48828b32 format: Rename source file to match format name 2021-09-12 13:08:51 +02:00
Mattias Wadman
54e121c72b interp: Refactor repl inputs a bit 2021-09-12 13:08:51 +02:00
Mattias Wadman
86b34a3f41 fqtest: Fix section regexp 2021-09-12 13:08:51 +02:00
Mattias Wadman
2684ed2561 cli: Prepare completion for better variables support 2021-09-12 13:08:51 +02:00
Mattias Wadman
e666380c4f cli: REPL and multiple files 2021-09-12 13:08:51 +02:00
Mattias Wadman
52606c1fa3 test: Less vebose 2021-09-12 13:08:51 +02:00
Mattias Wadman
2387ec8cb9 docker: Use golang 1.17 2021-09-12 13:08:51 +02:00
Mattias Wadman
0dd848de6c cli: Better filenames in errors 2021-09-12 13:08:51 +02:00
Mattias Wadman
394e2b3837 cli: Only compelete at end or whitespace 2021-09-12 13:08:51 +02:00
Mattias Wadman
03af2b5046 gojq: Update rebased fq branch 2021-09-12 13:08:51 +02:00
Mattias Wadman
77f97aade2 builtin: Add chunk_by, count_by and debug 2021-09-12 13:08:51 +02:00
Mattias Wadman
f322e78e8e mp4: More _time decoding 2021-09-12 13:08:51 +02:00
Mattias Wadman
f1507f7f65 mod: Use proper path and dont use replace 2021-09-12 13:08:50 +02:00
Mattias Wadman
1436fdc8ba completion: Better and _internal handling 2021-09-12 13:08:50 +02:00
Mattias Wadman
d7dbe7ccbd gojq: Update fq branch to fix mod (-1 % 256) difference 2021-09-12 13:08:50 +02:00
Mattias Wadman
c155c89ba3 decode: Rename format *Decode to *Format 2021-09-12 13:08:50 +02:00
Mattias Wadman
2d4eb9ccc7 cli: Fix non-string variables and var(; f) variant to delete etc 2021-09-12 13:08:50 +02:00
Mattias Wadman
21bef18666 cli: User defined global vars 2021-09-12 13:08:50 +02:00
Mattias Wadman
0c7fa090b0 gojq: Initial update support
decode value give no updateable error
JQValue json value tries to replicate behaveior
2021-09-12 13:08:50 +02:00
Mattias Wadman
c3b7b5cad2 gojq: Update to rebased fq branch 2021-09-12 13:08:50 +02:00
Mattias Wadman
f8ab00eb84 cli: Remove unused eval debug arg 2021-09-12 13:08:50 +02:00
Mattias Wadman
f89329568a cli: rename fq.jq to interp.jq 2021-09-12 13:08:50 +02:00
Mattias Wadman
ae5566a6ce cli: Include paths and some refactor 2021-09-12 13:08:50 +02:00
Mattias Wadman
706b2f28e5 cli: Add exit 2 (like jq) for no args 2021-09-12 13:08:50 +02:00
Mattias Wadman
8d1fafe4b8 cli: Only show fq info for --help 2021-09-12 13:08:50 +02:00
Mattias Wadman
55cd45f675 cli: Simplify code 2021-09-12 13:08:49 +02:00