Commit Graph

14 Commits

Author SHA1 Message Date
Robin Gareus 2fe22eeab5
Fix header include, potential fix for #9649 2024-02-29 03:09:00 +01:00
Robin Gareus c9929698ee
Implement FileArchive progress/cancel
* Use PBD::Progress API
* Allow to cancel extraction and compression
* Fix querying download size
2023-05-19 03:08:22 +02:00
Paul Davis aeccb137fd threaded archive inflation for library mgmt 2022-09-13 13:53:45 -06:00
Paul Davis 2061c3780d FileArchive: minor fixes to get progress reporting working 2022-09-13 13:53:45 -06:00
Robin Gareus 57430f33c2
Fix file-archive, curl API 2022-09-08 15:46:06 +02:00
Paul Davis 26b5700957 filearchive: extend API 2022-09-07 17:03:08 -06:00
Paul Davis 48a109e8c8 fix snprintf buffer size warning 2022-06-22 13:31:08 -06:00
Robin Gareus bf43c8d2d4
Set thread names 2021-06-30 17:15:27 +02:00
Johannes Mueller c74cc2675e Extend FileArchive to import archive entries individually
This is needed primarily for a workaround for #7971. When importing a template
that has been exported on Ardour5 on MacOS we need to fix the paths of the
archive entries.

Later we can use this functionality also to handle imported templates if
templates with the same name already exist.

This commit only adds methods and members to FileArchive, it does not modify
anything to make regressions unlikely. This, however, leads to some duplicated
code. Eventually we should consolidate this a bit.
2020-04-05 16:34:48 +02:00
Robin Gareus 0301c47f6b
Update core library GPL boilerplate and (C) from git log 2019-08-03 15:53:17 +02:00
Robin Gareus df83c0381e Prepare support for compression levels (archive + flac) 2017-10-03 02:22:42 +02:00
Robin Gareus b6c80153c3 add API to create [tar.xz] archives 2016-09-19 11:33:07 +02:00
Robin Gareus 77bd398153 implement file-[un]archive progress report 2016-09-14 23:10:41 +02:00
Robin Gareus 53ee3e2e72 Add support for built-in file/url unzip/untar
This introduces new build-dependency: libarchive
(http://www.libarchive.org/)
2016-09-13 16:14:40 +02:00