1
1
mirror of https://github.com/wader/fq.git synced 2024-12-03 01:33:02 +03:00
Commit Graph

717 Commits

Author SHA1 Message Date
Mattias Wadman
9e4f264193 dev: Add .jq-lsp.jq to add additional builtins for jq-lsp
Fixes missing function errors for fq builtins
Add includes to fix some other missing function errors

Add COMPLETION_TIMEOUT env to increase comepletion timeout during test using -race
2022-02-16 19:52:42 +01:00
Mattias Wadman
441b9e55ab
Merge pull request #157 from wader/interp-is-deocde-value-jq
interp: Move _is_decode_value to jq
2022-02-15 22:35:07 +01:00
Mattias Wadman
9dc59e5d39 interp: Move _is_decode_value to jq
Make _extype work like type
2022-02-15 22:20:32 +01:00
Mattias Wadman
ba948219f5
Merge pull request #155 from wader/fq-0.0.5
fq: Update version to 0.0.5
2022-02-13 23:53:42 +01:00
Mattias Wadman
aef476deef fq: Update version to 0.0.5 2022-02-13 23:47:45 +01:00
Mattias Wadman
cdfd052460
Merge pull request #154 from wader/changelog
doc: Add CHANGES.md documenting release changes
2022-02-13 23:41:19 +01:00
Mattias Wadman
68ba2e810e doc: Add CHANGES.md documenting release changes 2022-02-13 23:36:11 +01:00
Mattias Wadman
d4cc544448
Merge pull request #153 from wader/doc-dev-more-decode-api
doc: More decode API details and polish
2022-02-13 17:22:04 +01:00
Mattias Wadman
97f9db59f6
Merge pull request #152 from wader/doc-readme-add-snappy-license
doc: Add snappy license
2022-02-13 16:29:36 +01:00
Mattias Wadman
b3504680f7 doc: More decode API details and polish 2022-02-13 16:28:59 +01:00
Mattias Wadman
0955262817 doc: Add snappy license 2022-02-13 15:52:55 +01:00
Mattias Wadman
84d2176d4f
Merge pull request #151 from wader/bump-snappy
bump: Add snappy config
2022-02-13 10:47:54 +01:00
Mattias Wadman
01ecde640e bump: Add snappy config
Also rearrange requires sections a bit
2022-02-13 10:38:52 +01:00
Mattias Wadman
01c1f378b7
Merge pull request #150 from wader/unbreak-formats-diagram
doc: Unbreak formats_digaram.jq since radix change
2022-02-13 10:36:32 +01:00
Mattias Wadman
dd3e40fb1c doc: Unbreak formats_digaram.jq since radix change 2022-02-13 10:31:53 +01:00
Mattias Wadman
db9c2e3d74
Merge pull request #38 from xentripetal/avro
Avro: Add decoder
2022-02-13 10:27:39 +01:00
Xentripetal
d54011663f make doc 2022-02-12 22:17:32 -06:00
Xentripetal
9636613ec6 Merge branch 'master' of https://github.com/wader/fq into avro 2022-02-12 22:16:50 -06:00
Xentripetal
69c745d3c4 simplify scalar usage 2022-02-12 22:16:46 -06:00
Mattias Wadman
56dffc7670
Merge pull request #149 from wader/doc-dev-decoder-api
doc: Add inital decoder API documentation
2022-02-12 16:18:30 +01:00
Mattias Wadman
d5e7939274
Merge pull request #148 from wader/mpeg-spu-fatal-on-unknown-cmd
mpeg_spu: Fatal error on unknown cmd
2022-02-12 16:16:46 +01:00
Mattias Wadman
b86da7aecc doc: Add inital decoder API documentation 2022-02-12 16:13:29 +01:00
Mattias Wadman
c58ba28da1 mpeg_spu: Fatal error on unknown cmd
Also fixes fuzzer issues
2022-02-12 16:11:41 +01:00
Mattias Wadman
2b291f70a6
Merge pull request #147 from wader/gojq-rebase
gojq: Rebase fq branch
2022-02-12 14:11:26 +01:00
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
Xentripetal
0909fb6dad Comment on snappy decompression 2022-02-10 08:55:56 -06:00
Xentripetal
21cfc70c38 Dates need to specify UTC too 2022-02-10 08:51:51 -06: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
Xentripetal
0300c955c5 Take heading off doc to match make doc format 2022-02-09 20:59:29 -06:00
Xentripetal
2605bce4e3 Lint and add basic doc 2022-02-09 20:46:12 -06:00
Xentripetal
4508241b1f Cleanup snappy 2022-02-09 20:39:31 -06:00