Skip to content

Commit fe264cf

Browse files
committed
Worked on Jump List format support and documentation
1 parent f0acd8a commit fe264cf

File tree

12 files changed

+210
-168
lines changed

12 files changed

+210
-168
lines changed

.github/workflows/test_docker.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
- name: Install dependencies
1919
run: |
2020
dnf copr -y enable @gift/dev
21-
dnf install -y @development-tools python3 python3-devel libfwsi-python3 libgzipf-python3 liblnk-python3 libolecf-python3 libregf-python3 python3-dfdatetime python3-dtfabric python3-lz4 python3-pyyaml python3-setuptools
21+
dnf install -y @development-tools python3 python3-devel libfwps-python3 libfwsi-python3 libgzipf-python3 liblnk-python3 libolecf-python3 libregf-python3 python3-dfdatetime python3-dtfabric python3-lz4 python3-pyyaml python3-setuptools
2222
- name: Run tests
2323
env:
2424
LANG: C.utf8
@@ -58,7 +58,7 @@ jobs:
5858
run: |
5959
add-apt-repository -y ppa:gift/dev
6060
apt-get update -q
61-
apt-get install -y build-essential python3 python3-dev libfwsi-python3 libgzipf-python3 liblnk-python3 libolecf-python3 libregf-python3 python3-dfdatetime python3-distutils python3-dtfabric python3-lz4 python3-setuptools python3-yaml
61+
apt-get install -y build-essential python3 python3-dev libfwps-python3 libfwsi-python3 libgzipf-python3 liblnk-python3 libolecf-python3 libregf-python3 python3-dfdatetime python3-distutils python3-dtfabric python3-lz4 python3-setuptools python3-yaml
6262
- name: Run tests
6363
env:
6464
LANG: en_US.UTF-8

.github/workflows/test_tox.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ jobs:
4646
add-apt-repository -y ppa:deadsnakes/ppa
4747
add-apt-repository -y ppa:gift/dev
4848
apt-get update -q
49-
apt-get install -y build-essential git libffi-dev python${{ matrix.python-version }} python${{ matrix.python-version }}-dev python${{ matrix.python-version }}-venv libfwsi-python3 libgzipf-python3 liblnk-python3 libolecf-python3 libregf-python3 python3-dfdatetime python3-distutils python3-dtfabric python3-lz4 python3-pip python3-setuptools python3-yaml
49+
apt-get install -y build-essential git libffi-dev python${{ matrix.python-version }} python${{ matrix.python-version }}-dev python${{ matrix.python-version }}-venv libfwps-python3 libfwsi-python3 libgzipf-python3 liblnk-python3 libolecf-python3 libregf-python3 python3-dfdatetime python3-distutils python3-dtfabric python3-lz4 python3-pip python3-setuptools python3-yaml
5050
- name: Install tox
5151
run: |
5252
python3 -m pip install tox

config/appveyor/install.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Script to set up tests on AppVeyor Windows.
22

3-
$Dependencies = "PyYAML dfdatetime dtfabric libfwsi libgzipf liblnk libolecf libregf lz4"
3+
$Dependencies = "PyYAML dfdatetime dtfabric libfwps libfwsi libgzipf liblnk libolecf libregf lz4"
44
$Dependencies = ${Dependencies} -split " "
55

66
$Output = Invoke-Expression -Command "git clone https://github.com/log2timeline/l2tdevtools.git ..\l2tdevtools 2>&1"

config/dpkg/control

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ Description: Data files for dtFormats
1515

1616
Package: python3-dtformats
1717
Architecture: all
18-
Depends: dtformats-data (>= ${binary:Version}), libfwsi-python3 (>= 20150606), libgzipf-python3 (>= 20221229), liblnk-python3 (>= 20150830), libolecf-python3 (>= 20151223), libregf-python3 (>= 20150315), python3-dfdatetime (>= 20180510), python3-dtfabric (>= 20220127), python3-lz4 (>= 0.10.0), python3-yaml (>= 3.10), ${misc:Depends}
18+
Depends: dtformats-data (>= ${binary:Version}), libfwps-python3 (>= 20230131), libfwsi-python3 (>= 20150606), libgzipf-python3 (>= 20221229), liblnk-python3 (>= 20230205), libolecf-python3 (>= 20151223), libregf-python3 (>= 20150315), python3-dfdatetime (>= 20180510), python3-dtfabric (>= 20220127), python3-lz4 (>= 0.10.0), python3-yaml (>= 3.10), ${misc:Depends}
1919
Description: Python 3 module of dtFormats
2020
dtFormats is a collection of various file formats.
2121

dependencies.ini

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,14 @@ pypi_name: lz4
1818
rpm_name: python3-lz4
1919
version_property: __version__
2020

21+
[pyfwps]
22+
dpkg_name: libfwps-python3
23+
l2tbinaries_name: libfwps
24+
minimum_version: 20230131
25+
pypi_name: libfwps-python
26+
rpm_name: libfwps-python3
27+
version_property: get_version()
28+
2129
[pyfwsi]
2230
dpkg_name: libfwsi-python3
2331
l2tbinaries_name: libfwsi
@@ -28,7 +36,6 @@ version_property: get_version()
2836

2937
[pygzipf]
3038
dpkg_name: libgzipf-python3
31-
is_optional: true
3239
l2tbinaries_name: libgzipf
3340
minimum_version: 20221229
3441
pypi_name: libgzipf-python
@@ -38,7 +45,7 @@ version_property: get_version()
3845
[pylnk]
3946
dpkg_name: liblnk-python3
4047
l2tbinaries_name: liblnk
41-
minimum_version: 20150830
48+
minimum_version: 20230205
4249
pypi_name: liblnk-python
4350
rpm_name: liblnk-python3
4451
version_property: get_version()

documentation/Jump lists format.asciidoc

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ specification.
2929
== License
3030

3131
....
32-
Copyright (C) 2014-2019, Joachim Metz <[email protected]>.
32+
Copyright (C) 2014-2023, Joachim Metz <[email protected]>.
3333
Permission is granted to copy, distribute and/or modify this document under the
3434
terms of the GNU Free Documentation License, Version 1.3 or any later version
3535
published by the Free Software Foundation; with no Invariant Sections, no
@@ -46,9 +46,10 @@ in the section entitled "GNU Free Documentation License".
4646
| 0.0.1 | J.B. Metz | July 2014 | Initial version based on earlier notes.
4747
| 0.0.2 | J.B. Metz | November 2014 | Switched to asccidoc format.
4848
| 0.0.3 | J.B. Metz | August 2015 | Additional information about Jump lists stored in the Windows Registry.
49-
| 0.0.4 | J.B. Metz | February 2016 | Additional information about version 3 automatic destinations jump lists with thanks to E. Zimmerman.
50-
| 0.0.5 | J.B. Metz | March 2016 | Additional information about version 4 automatic destinations jump lists with thanks to E. Zimmerman.
49+
| 0.0.4 | J.B. Metz | February 2016 | Additional information about format version 3 automatic destinations jump lists with thanks to E. Zimmerman.
50+
| 0.0.5 | J.B. Metz | March 2016 | Additional information about format version 4 automatic destinations jump lists with thanks to E. Zimmerman.
5151
| 0.0.6 | J.B. Metz | June 2019 | Corrected typos and formatting changes.
52+
| 0.0.7 | J.B. Metz | February 2023 | Additional information about format version 2.
5253
|===
5354

5455
:numbered:
@@ -93,6 +94,9 @@ The DestList stream consists of:
9394
* A DestList header
9495
* An array of DestList entries
9596

97+
[NOTE]
98+
The DestList stream can be 0 of bytes in size if the file is empty.
99+
96100
==== DestList header
97101

98102
The DestList header is 32 bytes of size and consists of:
@@ -162,9 +166,9 @@ The path points to:
162166
* a directory [yellow-background]*containing LNK files?*
163167
* A XML .library-ms file
164168

165-
===== DestList entry - version 3
169+
===== DestList entry - version 2 or later
166170

167-
The DestList entry - version 3 is variable of size and consists of:
171+
The DestList entry - version 2 or later is variable of size and consists of:
168172

169173
[cols="1,1,1,5",options="header"]
170174
|===

0 commit comments

Comments
 (0)