Martijn van Beurden
3f209c46ca
Fix decoding of FLAC raw entropy partition
2022-08-18 10:11:57 +02:00
Mattias Wadman
ff29fe7154
Merge pull request #377 from wader/force-unicode
...
interp: Add --unicode-output/-U to force use of unicode
2022-08-17 21:49:40 +02:00
Mattias Wadman
baa8ab9271
Merge pull request #376 from wader/mp3_frame-fixes
...
mp3_frame: Add LSF support and fix incorrect main data handling
2022-08-17 21:45:18 +02:00
Mattias Wadman
c7559b59a0
interp: Add --unicode-output/-U to force use of unicode
...
Currently only used to make dump output a bit nicer.
2022-08-17 21:40:42 +02:00
Mattias Wadman
cf15661e9c
mp3_frame: Add LSF support and fix incorrect main data handling
...
Some mpeg versions use LSF (low sampling frequency) when encoding
low sample rates which changes a bit how the side info is layed out.
Also skip trying to separate data and other_data as after reading up
a bit on how main data begin and bit reservoir works i think it was done
incorrectly. To know the real audio data length i think you need to decode
the huffman tables. Instead just have a "audio_data" field which are the
bits with audo data for current and possibly following frames.
2022-08-17 21:36:39 +02:00
Mattias Wadman
63523294e0
Merge pull request #375 from wader/gojq-fix-scope-argcount
...
gojq: Update fq fork, fix scope argcount issue
2022-08-16 12:33:11 +02:00
Mattias Wadman
add3dcfd91
gojq: Update fq fork, fix scope argcount issue
2022-08-16 12:04:36 +02:00
Mattias Wadman
93de19c9b3
Merge pull request #374 from wader/jsonl
...
jsonl: Add decoder, also tojsonl encoder
2022-08-15 19:50:19 +02:00
Mattias Wadman
701c67c136
jsonl: Add decoder, also tojsonl encoder
2022-08-15 19:43:59 +02:00
Mattias Wadman
fbf9fe1d75
Merge pull request #373 from wader/yaml-trailing-yaml
...
yaml: Error on trailing yaml/json
2022-08-15 19:25:09 +02:00
Mattias Wadman
3623eac365
yaml: Error on trailing yaml/json
...
Turns our yaml is a superset of json
2022-08-15 19:14:25 +02:00
Mattias Wadman
4a48faa56e
Merge pull request #372 from wader/tar-try-number-parse
...
tar: Some number fields can be empty
2022-08-15 15:06:48 +02:00
Mattias Wadman
0d44b9376c
tar: Some number fields can be empty
2022-08-15 14:57:16 +02:00
Mattias Wadman
29c188b459
Merge pull request #371 from wader/gojq-new-scope-integers-rawstring
...
gojq: Update fq fork, new scope function, rawstring, stricter integers
2022-08-14 22:49:59 +02:00
Mattias Wadman
d898732c3d
gojq: Update fq fork, new scope function, rawstring, stricter integers
...
Update repl completion for new scope/0 function, now reports name/arity and is more correct
Support for experimental `rawstring` literals, similar to go raw string literals
Sticter number literals, now 0b,0o and 0x fail it they have invalud symbols, ex: 0b123
2022-08-14 22:40:44 +02:00
Mattias Wadman
13ae529ede
Merge pull request #370 from wader/extra-rename-and-more-generics
...
*extra: Rename <pkg>extra to just <pkg>ex and refactor to use generics
2022-08-12 16:45:02 +02:00
Mattias Wadman
0cd846a18c
*extra: Rename <pkg>extra to just <pkg>ex and refactor to use generics
2022-08-12 16:29:47 +02:00
Mattias Wadman
7c036030f9
Merge pull request #369 from wader/matroska-strip-newline
...
matroska: Strip newlines in description
2022-08-12 15:03:22 +02:00
Mattias Wadman
2e407386ae
matroska: Strip newlines in description
...
Will mess up dump formatting
2022-08-12 14:46:35 +02:00
Mattias Wadman
e387d21a63
Merge pull request #368 from wader/xml-allow-procinstr-at-end-better-error
...
xml: Allow trailing <?procinstr?>
2022-08-12 00:03:48 +02:00
Mattias Wadman
9a5fcc89f1
xml: Allow trailing <?procinstr?>
...
Also more context in error messages and refactor trim function
2022-08-11 23:48:29 +02:00
Mattias Wadman
9f8209e38b
Merge pull request #367 from wader/dns-rename-istcp-haslengthheader
...
dns: Rename isTCP to hasLengthHeader
2022-08-10 14:01:24 +02:00
Mattias Wadman
c233215aba
dns: Rename isTCP to hasLengthHeader
2022-08-10 13:35:01 +02:00
Mattias Wadman
104f4a7926
Merge pull request #366 from wader/dns-over-tcp-incorrect-probe
...
dns: Don't use dns (udp) format for tcp also
2022-08-09 18:21:50 +02:00
Mattias Wadman
46dca8cdc5
dns: Don't use dns (udp) format for tcp also
...
Fixes issue with TCP streams being probed as dns over TCP
2022-08-09 18:15:34 +02:00
Mattias Wadman
3a6a80f0e6
Merge pull request #365 from wader/dump-root-header
...
interp,dump: Show address bar for root, nested roots and on format ch…
2022-08-09 18:15:14 +02:00
Mattias Wadman
29005c70bf
interp,dump: Show address bar for root, nested roots and on format change
...
Also increase indent for nested roots a bit.
Makes it a bit easier to read i think.
2022-08-09 18:09:41 +02:00
Mattias Wadman
4dec7ff64b
Merge pull request #364 from wader/decode-refactor-scalar-type-assert
...
decode: Refactor to use scalar type assert helper
2022-08-08 18:17:51 +02:00
Mattias Wadman
fbe7bc9af6
Merge pull request #363 from wader/zip-correct-max-peek
...
zip: Correctly limit max EOCD find
2022-08-08 18:15:55 +02:00
Mattias Wadman
5e8be578b2
Merge pull request #362 from wader/macho-cmd-symtab-symbols
...
macho: Decode cmd symtab symbols
2022-08-08 18:10:18 +02:00
Mattias Wadman
502f451cc3
decode: Refactor to use scalar type assert helper
2022-08-08 18:09:49 +02:00
Mattias Wadman
d607bee180
zip: Correctly limit max EOCD find
2022-08-08 18:04:48 +02:00
Mattias Wadman
b2d4e6d94d
macho: Decode cmd symtab symbols
2022-08-08 18:02:59 +02:00
Mattias Wadman
414f64e84a
Merge pull request #355 from wader/bump-docker-golang-1.19.0
...
Update docker-golang from 1.18.5 to 1.19.0
2022-08-05 00:47:11 +02:00
Mattias Wadman
836eb3703b
Merge pull request #356 from wader/bump-github-go-version-1.19.0
...
Update github-go-version from 1.18.5, 1.18.5, 1.18.5 to 1.19.0
2022-08-05 00:47:02 +02:00
Mattias Wadman
545dac8c86
test: Update tests, go 1.19 uses \xff instead of \u00ff
2022-08-05 00:37:28 +02:00
bump
103991f79a
Update github-go-version from 1.18.5, 1.18.5, 1.18.5 to 1.19.0
2022-08-05 00:33:11 +02:00
Mattias Wadman
eeb6ab3f7c
Merge pull request #360 from wader/bump-make-golangci-lint-1.48.0
...
Update make-golangci-lint from 1.47.3 to 1.48.0
2022-08-05 00:31:23 +02:00
Mattias Wadman
e903dac47f
Merge pull request #361 from wader/bump-github-golangci-lint-1.48.0
...
Update github-golangci-lint from 1.47.3 to 1.48.0
2022-08-05 00:30:53 +02:00
Mattias Wadman
3c21b058e4
lint: Fix ioutil deprecation, reformat for new doc standard
2022-08-05 00:22:32 +02:00
bump
198305ecfc
Update github-golangci-lint from 1.47.3 to 1.48.0
...
Release notes https://github.com/golangci/golangci-lint/releases/tag/v1.48.0
2022-08-04 22:04:21 +00:00
bump
c8069d22a5
Update make-golangci-lint from 1.47.3 to 1.48.0
...
Release notes https://github.com/golangci/golangci-lint/releases/tag/v1.48.0
2022-08-04 22:04:17 +00:00
Mattias Wadman
b135701ccd
Merge pull request #359 from wader/zip-skip-header-check
...
zip: Skip header assert as there are zip files with other things appe…
2022-08-04 12:53:09 +02:00
Mattias Wadman
c683b66769
Merge pull request #358 from wader/decode-scalar-max-error
...
decode,scalar: Map empty string also else sym might ends up nil
2022-08-04 12:38:41 +02:00
Mattias Wadman
19b70899ca
zip: Skip header assert as there are zip files with other things appended
2022-08-04 12:33:33 +02:00
Mattias Wadman
5d9ffead52
decode,scalar: Map empty string also else sym might ends up nil
...
Later mappers should be able to rely on sym being a value of a certain type.
In this crash case tar.go had this:
d.FieldUTF8NullFixedLen("mtime", 12, scalar.SymUParseUint(8), scalar.DescriptionSymUUnixTime)
If mtime was empty string SymUParseUint was not even called so did not bail out running
all mappers.
2022-08-04 12:23:31 +02:00
Mattias Wadman
7d1316244f
Merge pull request #357 from wader/xml-html-array-attrs-null
...
xml,html: Always include attrs and children in array mode
2022-08-04 12:05:16 +02:00
Mattias Wadman
f4e0137244
xml,html: Always include attrs and children in array mode
...
Was hard to use when you dont know what indexes things will have. They are sill optioal for toxml
2022-08-04 11:44:59 +02:00
bump
0de2c9065d
Update docker-golang from 1.18.5 to 1.19.0
2022-08-02 19:40:02 +00:00
Mattias Wadman
37de35dd5a
Merge pull request #353 from wader/bump-docker-golang-1.18.5
...
Update docker-golang from 1.18.4 to 1.18.5
2022-08-02 18:10:39 +02:00