Mattias Wadman
b55ca2cd5d
gojq: Rebase fq branch
...
Add bin,hex,oct bigint number literal tests
2022-02-12 13:03:38 +01:00
Mattias Wadman
cd278e1ac4
Merge pull request #146 from wader/fuzz-unbreak-one-at-time
...
fuzz: Make it compile again and run one format per fuzz
2022-02-12 00:28:07 +01:00
Mattias Wadman
6090b65eca
fuzz: Make it compile again and run one format per fuzz
...
Seems to run into timeouts (1s) if not as some formats can ends up allocating a lot
2022-02-12 00:22:39 +01:00
Mattias Wadman
04ba899334
Merge pull request #145 from wader/interp-unbreak-options-complete
...
repl,interp: Make stdio work during completion
2022-02-11 20:29:39 +01:00
Mattias Wadman
af053811cf
repl,interp: Make stdio work during completion
...
Unbreaks completion using options
2022-02-11 20:04:07 +01:00
Mattias Wadman
37d07926c1
Merge pull request #144 from wader/repl-complete-extkeys-without-underscore
...
repl: Fix completion of non-underscore extkeys
2022-02-11 18:42:36 +01:00
Mattias Wadman
ca234bc1c9
Merge pull request #143 from wader/paste
...
interp: Add paste function to allow pasting text into REPL etc
2022-02-11 18:31:50 +01:00
Mattias Wadman
bd9be2c533
repl: Fix completion of non-underscore extkeys
...
For example .size for binary
2022-02-11 18:30:17 +01:00
Mattias Wadman
48a19cb82c
interp: Add paste function to allow pasting text into REPL etc
...
Also refactor readline and eval args into option struct and partinally start
addressing some side effects during completion.
2022-02-11 17:59:06 +01:00
Mattias Wadman
97a6bf694b
Merge pull request #142 from wader/bump-github-go-version-1.17.7
...
Update github-go-version from 1.17.6, 1.17.6 to 1.17.7
2022-02-11 17:53:33 +01:00
Mattias Wadman
562a4a55d6
Merge pull request #141 from wader/bump-docker-golang-1.17.7
...
Update docker-golang from 1.17.6 to 1.17.7
2022-02-11 17:53:21 +01:00
Mattias Wadman
8e6e992c53
Merge pull request #140 from wader/interp-abs-path-on-error
...
interp: Use absolute path in errors
2022-02-11 17:53:05 +01:00
bump
267e30ec35
Update github-go-version from 1.17.6, 1.17.6 to 1.17.7
2022-02-11 16:08:44 +00:00
bump
d137a72a7b
Update docker-golang from 1.17.6 to 1.17.7
2022-02-11 16:08:41 +00:00
Mattias Wadman
77ab667bfa
interp: Use absolute path in errors
...
Make it easier to find parse error in init.jq etc
2022-02-11 16:34:20 +01:00
Mattias Wadman
ea829b15e7
Merge pull request #139 from wader/tofromradix-cleanup
...
interp: Refactor radix* into toradix($base)/fromradix($base)
2022-02-11 01:33:42 +01:00
Mattias Wadman
26d9650b0e
interp: Refactor radix* into toradix($base)/fromradix($base)
...
There is also toradix($base; $table)/fromradix($base; $table) for custom symbols and bases.
Add radix tests
Part of cleaning up all convert/tranformation functions into to/from*.
Remove number_to_bytes as with better binary support it can be written as:
1234 | tobytes | [.[range(.size)]] and soon as 1234 | tobytes | explode
2022-02-11 01:28:39 +01:00
Mattias Wadman
039f3c4a5d
Merge pull request #137 from thushan/update-readme-for-scoop
...
Adds Windows Scoop instructions for fq in README.
2022-02-10 12:48:33 +01:00
Mattias Wadman
e5f9082c2e
Merge pull request #138 from wader/clearer-mit-license
...
doc: Add more license details
2022-02-10 12:44:30 +01:00
Mattias Wadman
06b67e4b59
doc: Add more license details
...
Related to #137
2022-02-10 12:38:46 +01:00
Thushan Fernando
ae4a6243fc
Adds Windows Scoop instructions for fq.
2022-02-10 21:57:41 +11:00
Mattias Wadman
929bfcae2f
Merge pull request #136 from wader/usage-cleanup
...
doc: Cleanup and add more decode value and binary documentation
2022-02-09 21:25:57 +01:00
Mattias Wadman
36307857de
doc: Cleanup and add more decode value and binary documentation
2022-02-09 21:08:01 +01:00
Mattias Wadman
b45154e6eb
Merge pull request #135 from wader/bitio-doc-cleanup3
...
bitio,doc: Even more cleanup
2022-02-09 10:19:25 +01:00
Mattias Wadman
0d74e879fb
bitio,doc: Even more cleanup
2022-02-09 01:35:47 +01:00
Mattias Wadman
277afea0ad
Merge pull request #134 from wader/bitio-doc-cleanup2
...
bitio: More doc cleanup
2022-02-09 01:09:12 +01:00
Mattias Wadman
82aeb35591
bitio: More doc cleanup
2022-02-09 01:03:50 +01:00
Mattias Wadman
d1c75543ed
Merge pull request #133 from wader/binary-decode-doc-fixes
...
binary,decode,doc: Rename buffer to binary and add some documentation
2022-02-08 22:27:59 +01:00
Mattias Wadman
06245d1295
binary,decode,doc: Rename buffer to binary and add some documentation
...
Rename buffer to binary. Still some work left what to call buffer/binary in decode code.
Document decode value and binary type
Fix proper unit padding for tobytes and add still undocumenated extra padding argument.
Add some additional binary tests
2022-02-08 22:20:28 +01:00
Mattias Wadman
2dc2a24f92
Merge pull request #132 from wader/asn1-frompem-doc
...
asn1_ber: Add more doc and multiple outputs for frompem
2022-02-07 18:04:12 +01:00
Mattias Wadman
0312c92c31
asn1_ber: Add more doc and multiple outputs for frompem
2022-02-07 17:41:05 +01:00
Mattias Wadman
1d34cbd5e7
Merge pull request #131 from wader/interp-tovalue-default-opts
...
interp: Add missing default opts for tovalue
2022-02-07 17:21:01 +01:00
Mattias Wadman
0a1a5610a9
interp: Add missing default opts for tovalue
2022-02-07 17:11:51 +01:00
Mattias Wadman
ac4d15ccb9
Merge pull request #130 from wader/aac-frame-only-known
...
aac_frame: Only try decode object types we know about
2022-02-07 16:07:17 +01:00
Mattias Wadman
3bab3d659a
aac_frame: Only try decode object types we know about
...
Fixes issue failing on unknown or future aac standards
Also add missing object type passing for matroska
2022-02-07 16:02:56 +01:00
Mattias Wadman
d048a63753
Merge pull request #129 from wader/mp4-stz2
...
mp4: Add stz2 support
2022-02-07 12:53:35 +01:00
Mattias Wadman
45b00aabd4
mp4: Add stz2 support
2022-02-07 12:35:39 +01:00
Mattias Wadman
7c05c94233
Merge pull request #92 from wader/asn1
...
asn1_ber: Add decoder
2022-02-06 22:17:59 +01:00
Mattias Wadman
0829c167cc
asn1_ber: Add decoder
...
Basic support, can also do CER and DER but without any extra validation.
No schema support.
Redo format doc.md usage a bit, now format/<dir>/<format>.md instead.
Related to #20
2022-02-06 22:13:03 +01:00
Mattias Wadman
be71eb01ac
decode: Rename LenFn() to LimitedFn, add FramedFn and document
...
I think framed makes more sense, but not sure
2022-02-06 13:49:00 +01:00
Mattias Wadman
5fab619db7
Merge pull request #128 from wader/fuzz-log-seed-number
...
fuzz: List seed numbers and make it build again
2022-02-05 18:42:35 +01:00
Mattias Wadman
e1bdfdf8ef
fuzz: List seed numbers and make it build again
2022-02-05 18:38:38 +01:00
Mattias Wadman
91b0fed929
Merge pull request #127 from wader/doc-foramts-option-links
...
doc: Add format links to format table
2022-02-05 18:24:03 +01:00
Mattias Wadman
c15f5283c0
doc: Add format links to format table
2022-02-05 18:15:18 +01:00
Mattias Wadman
032cb7d3d7
Merge pull request #126 from wader/interp-allow-force-as-cli-option
...
interp: Support force decode as -o force=true
2022-02-05 17:30:37 +01:00
Mattias Wadman
09afd2ab24
Merge pull request #125 from wader/mp4-pnot-jpeg2000
...
mp4: Add video preview (pnot) and JPEG 2000 (jP) signatures
2022-02-05 17:25:23 +01:00
Mattias Wadman
366f6b185c
interp: Support force decode as -o force=true
2022-02-05 17:24:42 +01:00
Mattias Wadman
092609bee1
mp4: Add video preview (pnot) and JPEG 2000 (jP) signatures
2022-02-05 17:03:18 +01:00
Mattias Wadman
8c6eeca141
Merge pull request #124 from wader/bitio-doc-cleanup
...
bitio: Cleanup documentation a bit
2022-02-05 17:01:59 +01:00
Mattias Wadman
d854ed5737
bitio: Cleanup documentation a bit
2022-02-05 16:54:54 +01:00