1
1
mirror of https://github.com/wader/fq.git synced 2024-11-26 21:55:57 +03:00
Commit Graph

1243 Commits

Author SHA1 Message Date
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
Mattias Wadman
1f2ff357d6
Merge pull request #317 from wader/gojqextra-func-simpler
gojqextra: Simplify function type helpers
2022-07-16 22:02:53 +02:00
Mattias Wadman
9b2e474ea8 gojqextra: Simplify function type helpers
No need for env to be a function
2022-07-16 21:55:47 +02:00
Mattias Wadman
361cb48181
Merge pull request #316 from wader/interp-refactor-reg-fns
interp,format: Refactor registry usage and use function helpers
2022-07-16 21:34:09 +02:00
Mattias Wadman
1ddea1ada3 interp,format: Refactor registry usage and use function helpers
Move registry to interp and add support for functions and filesystems.
This will be used later for allow formats to add own functions and fq code.

Add gojqextra function helpers to have more comfortable API to add functions.
Takes care of argument type casting and JQValue:s and some more things.

Refactor interp package to use new function helper and registry. Probably
fixes a bunch of JQValue bugs and other type errors.

Refactor out some mpeg nal things to mpeg format.

Refactor interp jq code into display.q and init.jq.

Remove undocumented aes_ctr funciton, was a test. Hopefully will add more crypto things laster.
2022-07-16 19:24:13 +02:00
Mattias Wadman
88dc847441
Merge pull request #315 from wader/bump-github-go-version-1.18.4
Update github-go-version from 1.18.3, 1.18.3, 1.18.3 to 1.18.4
2022-07-13 18:17:46 +02:00
Mattias Wadman
f289159041
Merge pull request #314 from wader/bump-docker-golang-1.18.4
Update docker-golang from 1.18.3 to 1.18.4
2022-07-13 18:17:34 +02:00
bump
dd283923f7 Update github-go-version from 1.18.3, 1.18.3, 1.18.3 to 1.18.4 2022-07-13 16:04:03 +00:00
bump
51a414dba5 Update docker-golang from 1.18.3 to 1.18.4 2022-07-13 16:03:58 +00:00
Mattias Wadman
66093c4776
Merge pull request #313 from wader/mapstruct-camelcase-nested
mapstruct: Handle nested values when converting to camel case
2022-07-10 10:57:17 +02:00
Mattias Wadman
b1541c3f49
Merge pull request #312 from wader/doc-jq-value
doc: Use singular jq value to refer to jq value
2022-07-10 10:52:06 +02:00
Mattias Wadman
767143491f mapstruct: Handle nested values when converting to camel case 2022-07-10 10:50:47 +02:00
Mattias Wadman
b03887229c doc: Use singular jq value to refer to jq value 2022-07-10 10:44:56 +02:00
Mattias Wadman
942524aa8a
Merge pull request #311 from wader/mp4-senc-skip-encrypted
mp4: Don't  decode encrypted samples
2022-07-07 19:13:08 +02:00
Mattias Wadman
ea2cc3c2ec mp4: Don't decode encrypted samples 2022-07-07 19:02:10 +02:00
Mattias Wadman
1e98655cab
Merge pull request #310 from wader/fairplay
fairplay: Add basic SPC decoder and PSSH system id
2022-07-07 17:25:32 +02:00
Mattias Wadman
64f3e5c717 fairplay: Add basic SPC decoder and PSSH system id 2022-07-07 17:11:55 +02:00
Mattias Wadman
28c1a94003
Merge pull request #309 from wader/argdecode
interp: Rename --decode-file to --argdecode to be more consistent
2022-07-04 12:41:54 +02:00
Mattias Wadman
ab8c728aaa interp: Rename --decode-file to --argdecode to be more consistent
There is still an alias for --decode-file
2022-07-04 12:28:37 +02:00
Mattias Wadman
bbf94a60d6
Merge pull request #308 from wader/update-readline
readline: Rebase on top of tpodowd's update PR
2022-07-04 11:30:13 +02:00
Mattias Wadman
a5122690e4 readline: Rebase on top of tpodowd's update PR
Fixes:
Tab Completion Candidate Pager for when candidates don't fit on a single page
https://github.com/chzyer/readline/pull/207
2022-07-04 11:21:31 +02:00
Mattias Wadman
42727487ef
Merge pull request #239 from wader/blkdat
blkdat: Add Bitcoin blk.dat decoder
2022-07-04 10:22:05 +02:00
Mattias Wadman
417255b72b bitcoin: Add blkdat, block, transcation and script decoder 2022-07-04 09:59:51 +02:00
Mattias Wadman
1317bb2ddc
Merge pull request #307 from wader/update-gojq
gojq: Rebase fq fork
2022-07-03 12:05:42 +02:00
Mattias Wadman
c57dc17d17 gojq: Rebase fq fork
Expose number parse validate functions, will be used later by text format decoders:
gojq.ValidNumber(s string)
gojq.NormalizeNumber(v json.Number)
gojq.NormalizeNumbers(v interface{})

From upstream:
Fixes: Regression since dace191 (fix fromjson to keep integer precision (close #172)) (https://github.com/itchyny/gojq/issues/178)
otherwise mostly cosmetic and cleanups since last rebase
2022-07-03 11:55:28 +02:00
Mattias Wadman
d45fee5221
Merge pull request #306 from wader/golang.org/x/net-crypto-update
mod: Update golang.org/x/{crypto,net}
2022-07-01 20:00:25 +02:00
Mattias Wadman
3dbe2fd582
Merge pull request #305 from wader/readline-update
readline: Rebase on top of tpodowd's redraw/completion fixes PR
2022-07-01 19:49:41 +02:00
Mattias Wadman
c2a359bdbd mod: Update golang.org/x/{crypto,net} 2022-07-01 19:47:45 +02:00
Mattias Wadman
44bab2746a readline: Rebase on top of tpodowd's redraw/completion fixes PR
Also some cleanup and fixup of commits

https://github.com/chzyer/readline/pull/207
2022-07-01 19:43:39 +02:00
Mattias Wadman
5b62224a36
Merge pull request #304 from wader/elf-dynlink-string-table-offset
elf: Use correct offset to dynamic linking string table
2022-07-01 00:04:47 +02:00
Mattias Wadman
f66a359c39 elf: Use correct offset to dynamic linking string table
String table used for "needed" tags (the string seen with ldd etc) was using address as
offset which seem to work as it's usually the same as correct offset. But this is not true
for some ELFs. Then we have to look up offset by finding the section by address and then use
its offset for the string table. Hope this is the correct way.

Not sure how to produce a small test for this.
2022-06-30 23:30:56 +02:00