Mattias Wadman
051a70bd4b
interp: Change bit ranges to use exclusive end
...
All other ranges and slicing uses exclusive end so i think it make sense
to make it consistent.
Update docs and add additional example for non-byte-aligned field.
Also fixes issue showing zero bit ranges as start-NA.
2023-10-20 15:37:26 +02:00
Mattias Wadman
23ae4d978b
decode,interp: Make synthetic values more visible and not act as decode values
2023-10-07 17:40:16 +02:00
Mattias Wadman
2c505feec8
help,markdown: Rewrote and made text rendering nicer
...
Plan is to use it for man page etc and also some ansi renderer
2023-05-08 00:07:56 +02:00
Mattias Wadman
dec433fc53
help,markdown: Fix double line breaks when converting to text
...
Also fix ugly last line break hack
2023-03-02 23:38:11 +01:00
Mattias Wadman
a7a101ca67
doc,help: Nicer format help and move help tests into each format
...
Also add authors to avro and macho decoders
Generated with:
for i in $(go run . -r -n '_registry | [([([.files[][].name | split(".")[0]] | unique[]), (.formats[].name)] | count[] | select(.[1] == 2)[0]), (.formats[] | select(.decode_in_arg).name)] | unique[]'); do DIR=$(dirname $(find format -name $i.go)); echo "$ fq -h $i" > "$DIR/testdata/help_$i.fqtest" ; done
2022-09-22 23:07:58 +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
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
2dc509ab2f
interp: Refactor dump and revert #259 for now
...
Causes address bar to not be shown in some cases.
Will have to rethink and redo the whole dump thing somehow.
2022-05-20 12:38:43 +02:00
Mattias Wadman
5109df4a50
interp: dump: Show address bar for nested roots
...
Hopefully makes it a bit easier to read and spot
2022-05-11 00:00:39 +02:00
Xentripetal
21cfc70c38
Dates need to specify UTC too
2022-02-10 08:51:51 -06:00
Xentripetal
4508241b1f
Cleanup snappy
2022-02-09 20:39:31 -06:00
Xentripetal
6f57cdbfd0
Timestamps should be UTC
2022-02-09 18:16:26 -06:00
Xentripetal
31c4c0d3c4
Support snappy and deflate codecs
2022-02-07 23:03:50 -06:00
Xentripetal
66ca1f109e
Change tests to use new verbose syntax
2022-02-07 17:39:37 -06:00
Xentripetal
6fc1efd902
Add test case with all data types
2022-01-19 23:53:33 -06:00
Xentripetal
ee184075b7
Parse header using avro decoders. Still not certain this is the best idea. Will get opinions before finalizing.
2022-01-19 21:00:44 -06:00
Xentripetal
de64a99e72
cleanup some docs, change enum to mapper, error zigzag on more than 8 bytes
2022-01-19 19:35:50 -06:00
Xentripetal
251053ef3c
Initial pass on logical types
2022-01-13 23:32:19 -06:00
Xentripetal
4b809a73f6
Change avro codec to funcs
2021-12-29 16:12:36 -06:00
Xentripetal
d6ca48182e
initial work for avro OCF files
2021-12-28 13:01:53 -06:00