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

1206 Commits

Author SHA1 Message Date
@0xb17bea125
2037b86abd
wasm: use map, not switch 2022-08-19 18:47:50 +09:00
@0xb17bea125
0ad5a8ec2f
wasm: use underscores for symbol values 2022-08-19 14:50:56 +09:00
@0xb17bea125
63f4a7267c
wasm: use scalar.UToSymStr for simplicity 2022-08-19 14:35:16 +09:00
@0xb17bea125
3fca7cc09a
wasm: fix lint issues 2022-08-19 09:05:46 +09:00
Takashi Oguma
934ed9a809
wasm: initial version 2022-08-18 21:40:30 +09: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
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