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
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
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
David McDonald
a873819ea2
decode: fixes endian of unicode strings
2022-12-10 21:04:56 -06: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
9ac453a17d
mp4: Fix typo in sample flags sample_is_depended_on description
2022-12-09 17:22:17 +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
1d6ce2c07a
mp4: Decode hint and hnti child boxes
2022-12-08 20:47:33 +01:00
Mattias Wadman
83ccedc506
mp4,decode: Properly decode ilst items (both mdta and mdir)
...
Refactor mp4 decoder to be simpler and have fallback for unknown box type
Cleanup some old ilst hacks
Add generic string reader to decode API that takes an encoding parameters
2022-12-08 15:56:22 +01:00
David McDonald
8d5dcff8e3
test: applebookmark: adds problematic test case
2022-12-08 01:48:59 -06:00
David McDonald
330d5f7f28
decode: apple_bookmark: simplifies flag decoding
2022-12-08 01:47:00 -06:00
David McDonald
a162e07b76
decode: minor change to method receiver name
2022-12-08 01:33:38 -06:00
David McDonald
04379df8d4
decode: revert decode.D back, place posLoopDetector in apple_bookmark
2022-12-07 16:25:34 -06:00
David McDonald
63a4e80c8b
test: fixed doc test
2022-12-06 19:46:25 -06:00
David McDonald
3942db79c2
pkg/decode/D: Adds PushAndPop, Push, Pop methods. doc: adds help_applebookmark.fqtestdecode: converts applebookmark to use new d.PushAndPop method
2022-12-06 19:40:28 -06:00
David McDonald
34c560c2f5
Merge branch 'master' of https://github.com/wader/fq into macos_bookmark
2022-12-05 22:01:44 -06:00
David McDonald
7ab446626e
decode: remove unused field from decoder, unused parens from torepr
2022-12-05 21:37:36 -06:00
Mattias Wadman
47a568e076
text,test: Unbeak base64 tests
2022-12-05 20:51:30 +01:00
Mattias Wadman
a23fe618b0
mp4: sidx version 1 segment_duration is s64
2022-12-05 17:04:05 +01:00
Mattias Wadman
2c4862c9fb
Merge pull request #498 from bitbears-dev/master
...
support tzif (time zone information format)
2022-12-04 13:21:19 +01:00
@0xb17bea125
fd22426b3d
tzif: add help_tzif.fqtest
2022-12-04 21:04:15 +09:00
@0xb17bea125
c4e7fc7919
tzif: moved document to tzif.md
2022-12-04 21:04:13 +09:00
@0xb17bea125
4481a77a1c
tzif: use scalar.Fn() to define a mapper ad hoc
2022-12-04 21:02:39 +09:00
@0xb17bea125
abde823a79
tzif: use PeekFindByte() to find end of the string
2022-12-04 21:02:39 +09:00
@0xb17bea125
2ee6360b97
support tzif (time zone information format)
2022-12-04 21:02:39 +09:00
Mattias Wadman
42debe5871
dev,doc,make: Cleanup makefile and have proper targets for *.md and *.svg
...
Update format dev docs to only generate README.md and doc/foramts.md to not
cause formats.svg conflicts.
2022-12-04 12:37:10 +01:00
David McDonald
b45f9fa67b
decode: improve stack push/pop
2022-12-03 15:27:59 -06:00
David McDonald
62f377c2fe
doc: fixes snippet for recursive bookmark searching
2022-12-03 15:24:49 -06:00
Mattias Wadman
6fc84a885c
doc,dev: Add more usage and dev tips
2022-12-03 19:00:47 +01:00
David McDonald
d199793af6
created stack type
2022-12-02 00:29:29 -06:00
David McDonald
b2aeac6ad3
updates bplist fq tests
2022-12-01 23:45:48 -06:00
David McDonald
55f4f1aa04
moved a flag bit fields into correct positions
2022-12-01 23:31:57 -06:00
David McDonald
c7d00b87b6
fixes unknown bit ranges
2022-12-01 23:31:57 -06:00
David McDonald
cb15b37175
added checks to prevent infinite looping and recursion
2022-12-01 23:31:57 -06:00
David McDonald
9bd65f93b7
migrates tests to per-sample files
2022-12-01 23:31:57 -06:00
David McDonald
7d13cf7312
adds flag parsing to applebookmark
2022-12-01 23:31:57 -06:00
David McDonald
1352598af9
removed commented out line
2022-12-01 23:31:57 -06:00
David McDonald
a23ac8f553
updates fqtest for torepr in apple_bookmarkdata
2022-12-01 23:31:57 -06:00
David McDonald
1e1fc551eb
fixed one more snake_case letter
2022-12-01 23:31:57 -06:00
David McDonald
d0b76cae23
fixes broken test and removes long link from markdown body
2022-12-01 23:31:57 -06:00
David McDonald
c244533540
added some sfl2 test files to bplist package
2022-12-01 23:31:57 -06:00
David McDonald
64351e8b44
fixes tests and adds torepr test
2022-12-01 23:31:57 -06:00
David McDonald
f7d7a49fb6
missed a letter on last commit - converting to snake_case
2022-12-01 23:31:57 -06:00
David McDonald
0c216dff48
refactors some decoder logic in apple_bookmark for better querying
2022-12-01 23:31:57 -06:00
David McDonald
44c91d8296
tweaks apple_bookmark markdown documentation
2022-12-01 23:31:57 -06:00