Mattias Wadman
e3ae1440c9
interp: Rename to/from<format> functions to to_/from_<format>
...
Feels less cluttered, easier to read and more consistent.
Still keep tovalue, tobytes etc that are more basic functions this
only renamed format related functions.
Also there is an exceptin for to/fromjson as it comes from jq.
Also fixes lots of spelling errors while reading thru.
2022-12-21 17:48:39 +01:00
Mattias Wadman
d3c172c456
Merge pull request #532 from wader/bplist-from_ns_keyed_archiver-jq-style
...
bplist: Harmonize ns_keyed_archive jq style a bit
2022-12-20 01:06:02 +01:00
Mattias Wadman
8f39ef6335
bplist: Harmonize ns_keyed_archive jq style a bit
...
Let root arg be a lambda so torepr can be done once
2022-12-20 00:56:19 +01:00
Mattias Wadman
6f354bb350
Merge pull request #527 from dgmcdona/apple_package
...
decode: add ns_keyed_archiver, restructure apple decoders into package
2022-12-19 22:47:29 +01:00
David McDonald
22064f50d6
doc: remake
2022-12-19 15:27:48 -06:00
David McDonald
129b4b7026
bplist: doc: update docs to reflect changes to ns_keyed_archiver
2022-12-19 15:24:57 -06:00
David McDonald
a9047c0278
bplist: updates from_ns_keyed_archiver to do automatic torepr based on format detection
2022-12-19 15:18:05 -06:00
David McDonald
9dab3c606c
bplist: minor fix to from_ns_keyed_archiver
2022-12-19 14:22:17 -06:00
David McDonald
448c3efb28
bplist: update docs with from_ns_keyed_archiver reference, add error case to function
2022-12-19 13:30:34 -06:00
Mattias Wadman
ea37ca42a7
Merge pull request #530 from wader/decode-cleanup-fieldfornmat-a-bit
...
decode: Make FieldFormat usage more consistent
2022-12-19 19:31:54 +01:00
Mattias Wadman
a85da29544
decode: Make FieldFormat usage more consistent
...
Will make it easier to refactor later on
2022-12-19 19:12:57 +01:00
Mattias Wadman
b87afae021
Merge pull request #529 from nichtich/patch-1
...
Add related file format projects to README
2022-12-19 14:36:32 +01:00
Jakob Voß
7fa8b63518
Add related file format projects to README
2022-12-19 11:40:13 +01:00
David McDonald
cba72dbdf0
bplist: added overload for from_ns_keyed_archiver jq func
2022-12-19 02:04:23 -06:00
David McDonald
98eab8cb5b
decode: rename parameter for consistency
2022-12-17 13:36:16 -06:00
David McDonald
93f2aa5d73
decode: change PosLoopDetector to use generics
2022-12-17 13:26:40 -06:00
David McDonald
3232f9cc15
decode: moves PosLoopDetector into its own package
2022-12-17 02:18:48 -06:00
David McDonald
fa368bb790
decode: updates all.go with correct macho path
2022-12-17 01:57:23 -06:00
David McDonald
7c9504c727
decode: moves macho decoder to apple package
2022-12-17 01:54:59 -06:00
David McDonald
708346784f
decode: remove dead code from ns_keyed_archiver
2022-12-17 01:52:46 -06:00
David McDonald
3ec0ba3f25
decode: add ns_keyed_archiver, restructure apple decoder into apple package
2022-12-17 01:47:27 -06:00
Mattias Wadman
ec01566fea
Merge pull request #526 from wader/mp4-doc-box-json
...
mp4,doc: Add JSON box tree example and reorder a bit
2022-12-15 14:24:05 +01:00
Mattias Wadman
1dea40e6af
mp4,doc: Add JSON box tree example and reorder a bit
2022-12-15 14:15:31 +01:00
Mattias Wadman
502e1e3059
Merge pull request #525 from wader/mp3-tags-split-decoder
...
mp3_frame_tags: Covert to decode group and split to mp3_frame_{xing,v…
2022-12-15 12:20:16 +01:00
Mattias Wadman
9e5a072e50
mp3_frame_tags: Covert to decode group and split to mp3_frame_{xing,vbri} decoders
2022-12-15 12:10:06 +01:00
Mattias Wadman
f092bff1ac
Merge pull request #524 from wader/mp4-pdin-box
...
mp4: Add pdin box support
2022-12-15 11:57:52 +01:00
Mattias Wadman
7b60b24ab7
mp4: Add pdin box support
2022-12-15 11:42:05 +01:00
Mattias Wadman
6f0c5a9682
Merge pull request #523 from wader/decode-scalar-type-safer-split
...
decode: More type safe API and split scalar into multiple types
2022-12-14 16:56:22 +01:00
Mattias Wadman
9b81d4d3ab
decode: More type safe API and split scalar into multiple types
...
Preparation to make decoder use less memory and API more type safe.
Now each scalar type has it's own struct type so it can store different
things and enables to have a scalar interface.
Also own types will enable experimenting with decode DLS designs like
using chained methods that are type aware.
2022-12-14 16:23:58 +01:00
Mattias Wadman
b43cf5775d
Merge pull request #522 from wader/mp3_frame-vbri
...
mp3_tags,mp3: Add VBRI header support and rename tags to tag as there is only one
2022-12-14 11:43:31 +01:00
Mattias Wadman
48522e3cb8
mp3_tags,mp3: Add VBRI header support and rename tags to tag as there is only one
2022-12-14 11:34:53 +01:00
Mattias Wadman
0c11ab5354
Merge pull request #521 from wader/mp4-ilst-namespace
...
mp4: Add namespace to mdta ilst boxes
2022-12-14 11:26:28 +01:00
Mattias Wadman
b1b3b63d27
mp4: Add namespace to mdta ilst boxes
2022-12-14 10:49:02 +01:00
Mattias Wadman
5789a74373
Merge pull request #520 from dgmcdona/bplist_gap_decoding
...
decode: implements lost and found for unreferenced objects
2022-12-13 09:21:51 +01:00
David McDonald
7fb674b532
decode: unexport methods
2022-12-13 00:47:58 -06:00
David McDonald
f747873dbc
decode: implements lost and found for unreferenced objects
2022-12-12 23:48:33 -06:00
Mattias Wadman
6279cda7bc
Merge pull request #518 from dgmcdona/bplist_unicode_fix
...
decode: fixes endian of unicode strings
2022-12-11 11:16:55 +01:00
David McDonald
a873819ea2
decode: fixes endian of unicode strings
2022-12-10 21:04:56 -06:00
Mattias Wadman
9bad968911
Merge pull request #516 from wader/go1.18-quote-0x7f-workaround
...
interp,display: Add workaround for go 1.18 when escaping 0x7f
2022-12-10 11:50:52 +01:00
Mattias Wadman
578b84d4cf
interp,display: Add workaround for go 1.18 when escaping 0x7f
2022-12-10 11:34:21 +01:00
Mattias Wadman
0b9426976f
Merge pull request #493 from dgmcdona/macos_bookmark
...
Apple bookmarkData
2022-12-10 08:58:33 +01:00
David McDonald
bdb8166261
decode: removed unnecessary struct
2022-12-09 20:13:25 -06:00
Mattias Wadman
09f3537ae6
Merge pull request #515 from wader/mp4-frag-sample-flags-typo
...
mp4: Fix typo in sample flags sample_is_depended_on description
2022-12-09 17:33:17 +01:00
Mattias Wadman
9ac453a17d
mp4: Fix typo in sample flags sample_is_depended_on description
2022-12-09 17:22:17 +01:00
Mattias Wadman
1a0ea16363
Merge pull request #514 from wader/mp4-frag-sample-flags
...
mp4: Add sym and description for traf sample flags
2022-12-09 17:17:57 +01:00
Mattias Wadman
5fb81a148b
mp4: Add sym and description for traf sample flags
2022-12-09 16:22:43 +01:00
David McDonald
7e98b53894
decode: fix type on defer function call, test: add loop.fqtest
2022-12-08 15:01:16 -06:00
Mattias Wadman
3dee9ba099
Merge pull request #513 from wader/mp4-decode-hnti-hint
...
mp4: Decode hint and hnti child boxes
2022-12-08 20:59:20 +01:00
Mattias Wadman
1d6ce2c07a
mp4: Decode hint and hnti child boxes
2022-12-08 20:47:33 +01:00
Mattias Wadman
8ad7d56c6d
Merge pull request #512 from wader/mp4-ilst-keys
...
mp4,decode: Properly decode ilst items (both mdta and mdir)
2022-12-08 16:12:20 +01:00