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
Mattias Wadman
d4fe00d65c
Merge pull request #299 from wader/interp-add-group
...
interp: Add group/0
2022-06-30 12:31:37 +02:00
Mattias Wadman
f0f70a5f33
Merge pull request #303 from wader/doc-typos
...
doc: Typos and add note about Try* functions
2022-06-30 12:29:46 +02:00
Mattias Wadman
f96637fb83
Merge pull request #302 from wader/decode-cleanup-trymust
...
decode: Cleanup Try<f>/<f> pairs
2022-06-30 12:24:44 +02:00
Mattias Wadman
b10061196f
doc: Typos and add note about Try* functions
2022-06-30 12:23:59 +02:00
Mattias Wadman
a6a97136b7
decode: Cleanup Try<f>/<f> pairs
...
Decode API design is that Try* returns error non-Try panics.
Also rename Must* as they should panic and introduce some new Try* functions
that were missing.
2022-06-30 12:13:46 +02:00
Mattias Wadman
53ca5f2511
Merge pull request #301 from ksa-real/patch-1
...
Update usage.md
2022-06-26 20:38:43 +02:00
Sergei Kuzmin
02f00be9a6
Update usage.md
2022-06-26 04:56:56 -07:00
Mattias Wadman
184701d215
Merge pull request #300 from wader/doc-add-more-related-tools
...
doc: Add more related tools
2022-06-21 19:01:55 +02:00
Mattias Wadman
3570f1f048
doc: Add more related tools
2022-06-21 18:10:23 +02:00
Mattias Wadman
a3c33fc1f4
interp: Add group/0
...
Also add tests for count, count_by, delta and delta_by
2022-06-21 15:18:12 +02:00
Mattias Wadman
6f92751690
Merge pull request #298 from wader/interp-extract-mapstruct
...
interp: Extract to/from map/struct to own package
2022-06-20 21:34:16 +02:00
Mattias Wadman
c7701851b0
interp: Extract to/from map/struct to own package
2022-06-20 21:24:59 +02:00
Mattias Wadman
854e37f479
Merge pull request #297 from wader/totype-cleanup
...
gojqextra: Cleanup gojq type cast code
2022-06-20 18:08:03 +02:00
Mattias Wadman
32361deefe
gojqextra: Cleanup gojq type cast code
2022-06-20 18:02:35 +02:00
Mattias Wadman
f37ac864bd
Merge pull request #296 from wader/interp-finally-error-empty-fin
...
interp: Make empty _finally fin error on error
2022-06-18 00:12:59 +02:00
Mattias Wadman
81a014ce49
interp: Make empty _finally fin error on error
...
Ex: _finally(error(a); empty)
This is not used by fq atm
2022-06-18 00:00:54 +02:00
Mattias Wadman
13ce14dad6
Merge pull request #295 from wader/random-fixes
...
doc: Correct bencode spec URL
2022-06-13 19:31:13 +02:00
Mattias Wadman
0863374f8c
doc: Correct bencode spec URL
...
Also rename _tojq value_sep to object_sep and fix formats_diagram.jq to use tomd5
2022-06-13 18:49:34 +02:00
Mattias Wadman
f46e7df7fd
Merge pull request #294 from wader/trun-data-offset
...
mp4: Properly use trun data offset
2022-06-07 18:40:55 +02:00
Mattias Wadman
7d25fbfdbb
mp4: Properly use trun data offset
...
Each trun has it's own data offset, before the last offset was wrongly used
for all truns. Could also cause sample ranges to be beyond EOF.
tenc: Decode default constant iv
Fixes #292
2022-06-07 17:43:45 +02:00
Mattias Wadman
f7457ce893
Merge pull request #293 from wader/tovalue-fix-crash
...
dump: Skip JQValueEx if there are not options
2022-06-07 16:47:23 +02:00
Mattias Wadman
a64c28d927
dump: Skip JQValueEx if there are not options
...
I used to tojson and would crash in binary values are there were
not optins deciding how to format the strinh. Now just treat as utf8 string.
2022-06-07 16:39:45 +02:00
Mattias Wadman
068be0acf8
Merge pull request #291 from wader/matroska-allow-unknown
...
matroska: Update ebml_matroska.xml and allow unknown ids
2022-06-06 21:54:03 +02:00
Mattias Wadman
c92f4f13c1
matroska: Update ebml_matroska.xml and allow unknown ids
...
Update spec from https://raw.githubusercontent.com/ietf-wg-cellar/matroska-specification/master/ebml_matroska.xml
Allow unknown ids, decodeas "unknown" type with just binary data
Change "type" field to just a string, there is no type id number.
Make all type field symbols consistently lowercase
2022-06-06 21:43:42 +02:00