1
1
mirror of https://github.com/wader/fq.git synced 2024-10-27 12:19:52 +03:00
Commit Graph

1215 Commits

Author SHA1 Message Date
Mattias Wadman
804ad1e2a2 gojq: Update fq fork
Fixes https://github.com/itchyny/gojq/issues/186
skip appending path while variable argument evaluation
2022-08-22 15:42:14 +02:00
Mattias Wadman
a3d05db894
Merge pull request #390 from wader/dev-fuzz-help
dev,fuzz: Add some useful retrigger snippets
2022-08-22 15:21:27 +02:00
Mattias Wadman
15f7c67a51 dev,fuzz: Add some useful retrigger snippets 2022-08-22 14:03:56 +02:00
Mattias Wadman
76b56841ec
Merge pull request #389 from wader/xml-default-ns
xml: Keep track of default namespace and skip it element names
2022-08-21 10:20:49 +02:00
Mattias Wadman
f24d685a5b xml: Keep track of default namespace and skip it element names
Refactor element name handling a bit, return it instead, feels nicer.
2022-08-21 10:11:59 +02:00
Mattias Wadman
93acc02e97
Merge pull request #387 from wader/decode-leb128
decode: Add LEB128 readers
2022-08-20 12:19:15 +02:00
Mattias Wadman
326dada7ca decode: Add LEB128 readers 2022-08-20 12:05:44 +02:00
Mattias Wadman
3290c8a46b
Merge pull request #386 from wader/gopacket-update-sll2
gopacket: Switch/update to new fork, remove SLL2 hack
2022-08-20 09:37:23 +02:00
Mattias Wadman
394717cae8 gopacket: Switch/update to new fork, remove SLL2 hack
SLL2 support merged upstream https://github.com/gopacket/gopacket/pull/1

This also cuts down a bit on some indirect deps
2022-08-20 01:25:03 +02:00
Mattias Wadman
402ca9f42a
Merge pull request #384 from wader/xml-order-if-seq
xml: Correctly sort if one #seq is found and allow negative seq numbers
2022-08-18 23:44:17 +02:00
Mattias Wadman
71900c2a9d xml: Correctly sort if one #seq is found and allow negative seq numbers 2022-08-18 23:08:31 +02:00
Mattias Wadman
f11be8b995
Merge pull request #378 from ktmf01/flac-32bps
Add sample size entry to list for 32bps flac streams
2022-08-18 14:38:47 +02:00
Martijn van Beurden
fb583e2cc0 Add 32 bps FLAC to test 2022-08-18 14:27:43 +02:00
Martijn van Beurden
c1d5b2b1c3 Add sample size entry to list for 32bps flac streams 2022-08-18 14:16:55 +02:00
Mattias Wadman
429e189073
Merge pull request #382 from wader/pcap-add-ns-and-header-struct
pcap: Add ns support and add header field
2022-08-18 14:15:54 +02:00
Mattias Wadman
74c7dc4eaf pcap: Add ns support and add header field 2022-08-18 14:09:42 +02:00
Mattias Wadman
da6b9413fd
Merge pull request #381 from wader/flac-fix-gen-script
flac: Make gen script generate correct fqtest files
2022-08-18 11:48:00 +02:00
Mattias Wadman
ddec95257b
Merge pull request #380 from wader/flac_frame-cleanup
flac_frame: Cleanup some dev lefterovers and todos
2022-08-18 11:40:34 +02:00
Mattias Wadman
8a19978b2f flac: Make gen script generate correct fqtest files 2022-08-18 11:37:07 +02:00
Mattias Wadman
2bfbe9a94a flac_frame: Cleanup some dev lefterovers and todos 2022-08-18 11:13:45 +02:00
Mattias Wadman
b6c4c27688
Merge pull request #379 from ktmf01/fix-flac-raw-partition
Fix decoding of FLAC raw entropy partition
2022-08-18 11:04:00 +02:00
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