Skip to content

Commit 5c174ed

Browse files
committed
[Release v2.2.4] QArchive v2.2.4 release.
This release has some minor bug fixes and refactoring, move from Qt's Smart Pointers to C++ Standard Smart Pointers whenever possible. Optimized IO Reader to reduce bad performance. Handle libarchive versions properly when using ZSTD to compress and other minor fixes. Changelog: * Refactor, use of more C++ Standard Smart Pointers than Qt's re-inventions whenever possible, credits to Rosen Panev (@neheb) * Refactor, use best practices in C++ whenever possible, credits to Rosen Panev (@neheb) * Bugfix, fallback to ZIP if ZSTD is not supported by libarchive, credits to @yosicovich * Bugfix, improve IO Reader for more performance. * Bugfix, allow compressing empty files in archive. * Bugfix, fix removeFiles(QStringList &entry) method, credits to Rosen Panev (@neheb) * CI/CD, use meson for macOS testing, credits to Rosen Panev (@neheb) Signed-off-by: Divya Antony J R <[email protected]>
1 parent 519e3b0 commit 5c174ed

File tree

3 files changed

+6
-4
lines changed

3 files changed

+6
-4
lines changed

Diff for: CMakeLists.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
# ---
1212

1313
CMAKE_MINIMUM_REQUIRED( VERSION 3.17)
14-
project(QArchive VERSION 2.2.3)
14+
project(QArchive VERSION 2.2.4)
1515

1616
set(CMAKE_CXX_STANDARD 11)
1717
set(CMAKE_INCLUDE_CURRENT_DIR ON)

Diff for: docs/QArchiveMemoryFile.md

+4-2
Original file line numberDiff line numberDiff line change
@@ -54,9 +54,11 @@ Returns file information as QJsonObject. The QJsonObject has the below format w.
5454

5555
Returns a QBuffer pointer. This QBuffer is closed by default. You can read or write by opening this buffer. **Do not try to free this pointer. This pointer will be freed automatically when this class is destructed.**
5656

57+
> This is obsolete since v2.2.4 in favor of sharedBuffer()
58+
5759
### std::shared_ptr\<QBuffer\> sharedBuffer() const
5860

5961
Returns a std::shared_ptr QBuffer. This QBuffer is closed by default. You can read or write by opening this buffer.
6062

61-
> Only available in the master branch, this is recommended since, you can do whatever with the shared pointer. Even if you free it,
62-
> the pointer will take care of itself.
63+
> Only available in v2.2.4 or later, this is recommended since, you can do whatever with the shared pointer.
64+
> Even if you free it, he pointer will take care of itself.

Diff for: meson.build

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
project(
22
'QArchive',
33
'cpp',
4-
version: '2.2.3',
4+
version: '2.2.4',
55
license: 'BSD-3-Clause',
66
default_options: ['cpp_std=c++17'],
77
meson_version: '>=0.49.0',

0 commit comments

Comments
 (0)