1
1
mirror of https://github.com/wader/fq.git synced 2024-12-25 14:23:18 +03:00
Commit Graph

1173 Commits

Author SHA1 Message Date
Mattias Wadman
9e447c9af1 interp: Use RegisterFS instead of format files 2022-07-27 13:22:59 +02:00
Mattias Wadman
b224e948d1
Merge pull request #341 from wader/normalize-to-string-jqvalue
xml,csv,interp: Handle JQValue when string normalizing
2022-07-26 18:00:37 +02:00
Mattias Wadman
fa20c74c22 xml,csv,interp: Handle JQValue when string normalizing
Otherwise nested array/object JQValue:s could end up being JSON marshalled
2022-07-26 17:43:59 +02:00
Mattias Wadman
9e34754fca
Merge pull request #340 from wader/gojq-update-to-value-order
gojq: Preserve keys order for to_entries when used with JQValue
2022-07-26 16:05:47 +02:00
Mattias Wadman
af35b2848d gojq: Preserve keys order for to_entries when used with JQValue
Feels like what one would expect when doing to_entries on a decode value struct etc,
that is get the pairs in same order as decoder wants.

Quite sure this used to the case but was change to sorted key order when
to_entries was move from bein implemented in jq to be internal for performance
reasons. Now internal gojq to_entries has a special case for JQValue objects.

Also use new gojq.JQType* constants for type strings and switch binary type
to look more like strings. Can still use _exttype to get "binary".
2022-07-26 15:55:58 +02:00
Mattias Wadman
055b029b65
Merge pull request #339 from wader/asn1-xml-lf
asn1_ber,goreleaser: Convert CRLF to LF in asn1 xml tests, hopefully …
2022-07-24 12:48:44 +02:00
Mattias Wadman
0326eeb697 asn1_ber,goreleaser: Convert CRLF to LF in asn1 xml tests, hopefully fixes goreleaer workspace dirty error 2022-07-24 12:38:24 +02:00
Mattias Wadman
1d369bcfab
Merge pull request #319 from wader/release-0.0.8
Release 0.0.8
2022-07-24 12:22:52 +02:00
Mattias Wadman
db70fcca4e fq: Release 0.0.8 2022-07-24 12:15:08 +02:00
Mattias Wadman
2cf8575bb3
Merge pull request #338 from wader/doc-formats-cleanup
doc: Improve and cleanup text formats
2022-07-24 12:02:16 +02:00
Mattias Wadman
10cc551871 doc: Improve and cleanup text formats
Hopefully will get time to revamp how docs work
2022-07-24 11:55:50 +02:00
Mattias Wadman
e843e31b20
Merge pull request #336 from wader/avro-fix-missing-schema-crash
avro_ocf: Fix panic on missing meta schema
2022-07-24 11:24:51 +02:00
Mattias Wadman
2426ef0622
Merge pull request #337 from wader/doc-readme-update
doc: Update and shorten README.md a bit
2022-07-23 23:02:02 +02:00
Mattias Wadman
c27646a689 doc: Update and shorten README.md a bit 2022-07-23 22:50:33 +02:00
Mattias Wadman
5d67df47e2 avro_ocf: Fix panic on missing meta schema 2022-07-23 22:20:03 +02:00
Mattias Wadman
e464454583
Merge pull request #335 from wader/format-text2
format,intepr: Refactor json, yaml, etc into formats also move out re…
2022-07-23 22:02:16 +02:00
Mattias Wadman
cae288e6be format,intepr: Refactor json, yaml, etc into formats also move out related functions
json, yaml, toml, xml, html, csv are now normal formats and most of them also particiate
in probing (not html and csv).

Also fixes a bunch of bugs in to/fromxml, to/fromjq etc.
2022-07-23 21:48:45 +02:00
Mattias Wadman
8b5cc89641
Merge pull request #334 from wader/hevc_vps-max-vps-layers
hevc_vps,fuzz: Error on too many vps layers
2022-07-22 22:56:31 +02:00
Mattias Wadman
fd302093e1 hevc_vps,fuzz: Error on too many vps layers 2022-07-22 22:48:25 +02:00
Mattias Wadman
e0a391de56
Merge pull request #332 from wader/elf-error-on-large-strtab
elf,fuzz: Error on too large string table
2022-07-22 22:47:33 +02:00
Mattias Wadman
375e7a7bea
Merge pull request #333 from wader/asn1-nested-range-panic-test
asn1: Add regression test for range decode fix ##330
2022-07-22 22:40:00 +02:00
Mattias Wadman
40481f6692 elf,fuzz: Error on too large string table
Fixes alloc/hang of giant string
2022-07-22 22:35:45 +02:00
Mattias Wadman
75169a65b5 asn1: Add regression test for range decode fix ##330 2022-07-22 22:32:37 +02:00
Mattias Wadman
e50a225f9d
Merge pull request #331 from wader/decode-preserve-bitbuf-on-panic
decode: Range decode with new decoder to preserve bit reader
2022-07-22 19:22:41 +02:00
Mattias Wadman
8bb4a6d27c decode: Range decode with new decoder to preserve bit reader
Fix issue with modified decoder on panic causing other panics as the ranges gets messed up
2022-07-22 19:11:56 +02:00
Mattias Wadman
cec2dede92
Merge pull request #330 from wader/mp4-dont-sort-samples
mp4: Don't range sort samples, keep sample table order
2022-07-22 16:46:38 +02:00
Mattias Wadman
c6d0d89c06 mp4: Don't range sort samples, keep sample table order 2022-07-22 16:35:00 +02:00
Mattias Wadman
691c1888c6
Merge pull request #329 from wader/doc-deocde-slurp-spew-arg
doc: Clarify decode, slurp and spew args
2022-07-21 21:03:36 +02:00
Mattias Wadman
7aff654a43 doc: Clarify decode, slurp and spew args 2022-07-21 20:56:19 +02:00
Mattias Wadman
5523c3d670
Merge pull request #328 from wader/bump-github-golangci-lint-1.47.2
Update github-golangci-lint from 1.47.1 to 1.47.2
2022-07-21 18:10:33 +02:00
Mattias Wadman
7376ecfd45
Merge pull request #327 from wader/bump-make-golangci-lint-1.47.2
Update make-golangci-lint from 1.47.1 to 1.47.2
2022-07-21 18:10:24 +02:00
bump
fc596a7ad4 Update github-golangci-lint from 1.47.1 to 1.47.2
Release notes https://github.com/golangci/golangci-lint/releases/tag/v1.47.2
2022-07-21 16:03:51 +00:00
bump
c4199c0fe7 Update make-golangci-lint from 1.47.1 to 1.47.2
Release notes https://github.com/golangci/golangci-lint/releases/tag/v1.47.2
2022-07-21 16:03:49 +00:00
Mattias Wadman
ec306777d9
Merge pull request #326 from wader/bump-gomod-BurntSushi/toml-1.2.0
Update gomod-BurntSushi/toml from 1.1.0 to 1.2.0
2022-07-20 18:40:10 +02:00
bump
62be9223b3 Update gomod-BurntSushi/toml from 1.1.0 to 1.2.0
Source diff 1.1.0..1.2.0 https://github.com/BurntSushi/toml/compare/v1.1.0..v1.2.0
2022-07-20 16:33:59 +00:00
Mattias Wadman
7537905593
Merge pull request #325 from wader/unbreak-fuzz-test
fuzz: Replace built tag with FUZZTEST env and use new interp api
2022-07-20 18:31:31 +02:00
Mattias Wadman
2464ebc238 fuzz: Replace built tag with FUZZTEST env and use new interp api
Build tag hides build errors
2022-07-20 18:24:07 +02:00
Mattias Wadman
4d7074fd25
Merge pull request #323 from wader/bump-github-golangci-lint-1.47.1
Update github-golangci-lint from 1.47.0 to 1.47.1
2022-07-19 19:03:55 +02:00
Mattias Wadman
78aa96b0ac dev: Cleanup some code to fix a bunch of new linter warnings 2022-07-19 18:56:09 +02:00
bump
1b8f4be88e Update github-golangci-lint from 1.47.0 to 1.47.1
Release notes https://github.com/golangci/golangci-lint/releases/tag/v1.47.1
2022-07-19 18:41:34 +02:00
Mattias Wadman
8325751ca0
Merge pull request #324 from wader/cleanup-linters
dev: Cleanup linters and fix some unused args
2022-07-19 18:41:05 +02:00
Mattias Wadman
08fbce7915
Merge pull request #322 from wader/bump-make-golangci-lint-1.47.1
Update make-golangci-lint from 1.47.0 to 1.47.1
2022-07-19 18:34:41 +02:00
Mattias Wadman
342612eb7e dev: Cleanup linters and fix some unused args 2022-07-19 18:33:50 +02:00
bump
2170925d95 Update make-golangci-lint from 1.47.0 to 1.47.1
Release notes https://github.com/golangci/golangci-lint/releases/tag/v1.47.1
2022-07-19 16:03:44 +00:00
Mattias Wadman
6011d0bbf7
Merge pull request #320 from wader/bump-make-golangci-lint-1.47.0
Update make-golangci-lint from 1.46.2 to 1.47.0
2022-07-18 19:32:39 +02:00
bump
3d69e9d099 Update make-golangci-lint from 1.46.2 to 1.47.0 2022-07-18 18:27:35 +02:00
Mattias Wadman
f04d7ed719
Merge pull request #321 from wader/bump-github-golangci-lint-1.47.0
Update github-golangci-lint from 1.46.2 to 1.47.0
2022-07-18 18:26:22 +02:00
bump
4be8cb9143 Update github-golangci-lint from 1.46.2 to 1.47.0
Release notes https://github.com/golangci/golangci-lint/releases/tag/v1.47.0
2022-07-18 16:04:28 +00:00
Mattias Wadman
90822a8cea
Merge pull request #318 from wader/registry-naming
interp: Cleanup and clarify some format naming
2022-07-16 22:12:03 +02:00
Mattias Wadman
f5be5180f0 interp: Cleanup and clarify some format naming 2022-07-16 22:04:21 +02:00