History log of /haiku/src/add-ons/tracker/zipomatic/ZipperThread.cpp
Revision Date Author Comments
# 56241aab 31-Aug-2023 Augustin Cavalier <waddlesplash@gmail.com>

Zip-O-Matic: Fix and enable _SelectInTracker().

Based on a code example from humdinger.


# 1a3be0ad 19-Oct-2021 Augustin Cavalier <waddlesplash@gmail.com>

Replace usages of B_FILE_NOT_FOUND in non-BeOS-API code.

B_FILE_NOT_FOUND was deprecated in BeOS R5 in favor of B_ENTRY_NOT_FOUND,
but it remained in Haiku and was never removed even conditionally, so
we have accumulated a number of usages of it.

This commit changes all the usages of it in new code, applications,
or anything else that BeOS applications will otherwise never see,
and so should be relatively safe.


# 382eca52 12-Dec-2018 Murai Takashi <tmurai01@gmail.com>

zipomatic: Fix PVS 1103

Fix 'status' is assigned values twice successively.

Change-Id: I348799db32342f0642dac89a62a518d21ef11c34
Reviewed-on: https://review.haiku-os.org/761
Reviewed-by: Barrett17 <b.vitruvio@gmail.com>


# 134b3a71 20-Jun-2015 John Scipione <jscipione@gmail.com>

Revert "Zip-O-Matic: fix zipping single folder."

This reverts commit d1d90b0462faa82489e446a6e25337602939993e.


# ee5588f2 20-Jun-2015 John Scipione <jscipione@gmail.com>

Revert "Partially revert "Zip-O-Matic: fix zipping single folder.""

This reverts commit 1639fe99dbbea9204ba8cf5edb5b67697da70b0e.


# 1639fe99 01-Jun-2015 Augustin Cavalier <waddlesplash@gmail.com>

Partially revert "Zip-O-Matic: fix zipping single folder."

This partially reverts commit d1d90b0462faa82489e446a6e25337602939993e.
The real culprit that was causing this issue is #12105, not the
zip/unzip upgrade as originally thought.


# d1d90b04 01-Jun-2015 Augustin Cavalier <waddlesplash@gmail.com>

Zip-O-Matic: fix zipping single folder.

Fixes #12027. No clue why this code ever worked.


# b2115928 26-Apr-2015 François Revol <revol@free.fr>

zipomatic: notify an error when /bin/zip is missing

Since zip has been outsourced, it's possible to loose it when
upgrading, in which case ZOM went busylooping without noticing the
thread actually never started.

At least now it says "failed to create the archive".

Maybe it should try to install zip?


# 546208a5 16-Apr-2012 Oliver Tappe <zooey@hirschkaefer.de>

More catalog-related cleanup.

* rename B_TRANSLATE_CONTEXT to B_TRANSLATION_CONTEXT and
B_TRANSLATE_WITH_CONTEXT to B_TRANSLATE_CONTEXT, squashing a TODO
* adjust all uses of both macros in Haiku's source tree
* use correct header guard for collecting/Catalog.h

The renamed macros require adjustments to all external applications
using catalogs.


# fc86770b 25-Jun-2010 Wim van der Meer <wpjvandermeer@gmail.com>

Compiler warning fixes.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37253 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 4eb0cbb0 07-May-2010 Matt Madia <mattmadia@gmail.com>

Updated TR_CONTEXT to be B_TRANSLATE_CONTEXT, relating to #5408.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36733 a95241bf-73f2-0310-859d-f6bbb57e9c96


# b842a5ef 06-May-2010 Matt Madia <mattmadia@gmail.com>

Updated add-ons/* to use B_TRANSLATE* macros. relates to #5408.
To note, I'm grepping for "TR_CONTEXT" to identify which files to update.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36660 a95241bf-73f2-0310-859d-f6bbb57e9c96


# e2fe56d7 14-Nov-2009 Jonas Sundström <jonas@kirilla.com>

i18n, initial translation to Swedish

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34050 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 714236b8 14-Nov-2009 Jonas Sundström <jonas@kirilla.com>

Work in progress: Tiling window placement, screen-center-preferring with semi-fixed slots. Not sure I like it. (It looks nice as long as the windows stay equally sized, which they don't.) Settings weren't used anymore, and could be removed. Clean-ups. Changed archive creation to not update an existing archive, but instead create a new archive with a slightly altered filename along-side the existing file. Lock added to safe-guard pipe redirection. A window's Stop/Continue alert now shows the name of the archive in making. I added some code to show and select the archive in Tracker, post-creation, but it does not work reliably, so I've disabled it for now.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34044 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 2680698b 03-Aug-2009 Jonas Sundström <jonas@kirilla.com>

Have the application do a single BAlert on a BApplication::QuitRequested()-event in multi-window situations. Move reading/writing of settings from window to application. Cascade-offset the most recent window when they collide.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32092 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 6e645865 29-Jul-2009 Jonas Sundström <jonas@kirilla.com>

Clean-up

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31935 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 3f4b183d 29-Jul-2009 Jonas Sundström <jonas@kirilla.com>

Partial clean-up.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31896 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 8e8e662d 22-Aug-2006 Axel Dörfler <axeld@pinc-software.de>

Forgot to update include names as well...


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18576 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 73d4b58e 22-Aug-2006 Axel Dörfler <axeld@pinc-software.de>

* Renamed ZipOMaticZipper.cpp|h to ZipperThread.cpp|h like the only class it contains.
* Joined the resource files together, updated version info.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18575 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 134b3a71393ba923b566b4a8f5d5d2ae96593918 20-Jun-2015 John Scipione <jscipione@gmail.com>

Revert "Zip-O-Matic: fix zipping single folder."

This reverts commit d1d90b0462faa82489e446a6e25337602939993e.


# ee5588f2abffbca585252c7b6948f8cd9f6ac3f0 20-Jun-2015 John Scipione <jscipione@gmail.com>

Revert "Partially revert "Zip-O-Matic: fix zipping single folder.""

This reverts commit 1639fe99dbbea9204ba8cf5edb5b67697da70b0e.


# 1639fe99dbbea9204ba8cf5edb5b67697da70b0e 01-Jun-2015 Augustin Cavalier <waddlesplash@gmail.com>

Partially revert "Zip-O-Matic: fix zipping single folder."

This partially reverts commit d1d90b0462faa82489e446a6e25337602939993e.
The real culprit that was causing this issue is #12105, not the
zip/unzip upgrade as originally thought.


# d1d90b0462faa82489e446a6e25337602939993e 01-Jun-2015 Augustin Cavalier <waddlesplash@gmail.com>

Zip-O-Matic: fix zipping single folder.

Fixes #12027. No clue why this code ever worked.


# b211592822d80c760e34bb21b8154a005d83f7e9 26-Apr-2015 François Revol <revol@free.fr>

zipomatic: notify an error when /bin/zip is missing

Since zip has been outsourced, it's possible to loose it when
upgrading, in which case ZOM went busylooping without noticing the
thread actually never started.

At least now it says "failed to create the archive".

Maybe it should try to install zip?


# 546208a53940a26c6379c48a7854ade1a8250fc5 16-Apr-2012 Oliver Tappe <zooey@hirschkaefer.de>

More catalog-related cleanup.

* rename B_TRANSLATE_CONTEXT to B_TRANSLATION_CONTEXT and
B_TRANSLATE_WITH_CONTEXT to B_TRANSLATE_CONTEXT, squashing a TODO
* adjust all uses of both macros in Haiku's source tree
* use correct header guard for collecting/Catalog.h

The renamed macros require adjustments to all external applications
using catalogs.


# fc86770ba90420ea2eadb768b6f397d9341a5700 25-Jun-2010 Wim van der Meer <wpjvandermeer@gmail.com>

Compiler warning fixes.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37253 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 4eb0cbb044cf538f18c0d252934a5bcaa33bfd34 07-May-2010 Matt Madia <mattmadia@gmail.com>

Updated TR_CONTEXT to be B_TRANSLATE_CONTEXT, relating to #5408.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36733 a95241bf-73f2-0310-859d-f6bbb57e9c96


# b842a5efaf086876acd72982b5e0a22592d35fb5 06-May-2010 Matt Madia <mattmadia@gmail.com>

Updated add-ons/* to use B_TRANSLATE* macros. relates to #5408.
To note, I'm grepping for "TR_CONTEXT" to identify which files to update.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36660 a95241bf-73f2-0310-859d-f6bbb57e9c96


# e2fe56d7d4174a8d223728f98460878b65991a60 14-Nov-2009 Jonas Sundström <jonas@kirilla.com>

i18n, initial translation to Swedish

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34050 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 714236b8025ce5330711cd2a3d32b50d97ac5cef 14-Nov-2009 Jonas Sundström <jonas@kirilla.com>

Work in progress: Tiling window placement, screen-center-preferring with semi-fixed slots. Not sure I like it. (It looks nice as long as the windows stay equally sized, which they don't.) Settings weren't used anymore, and could be removed. Clean-ups. Changed archive creation to not update an existing archive, but instead create a new archive with a slightly altered filename along-side the existing file. Lock added to safe-guard pipe redirection. A window's Stop/Continue alert now shows the name of the archive in making. I added some code to show and select the archive in Tracker, post-creation, but it does not work reliably, so I've disabled it for now.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34044 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 2680698b6dd6a8fc43dc51f5e9fb94d61b53a651 03-Aug-2009 Jonas Sundström <jonas@kirilla.com>

Have the application do a single BAlert on a BApplication::QuitRequested()-event in multi-window situations. Move reading/writing of settings from window to application. Cascade-offset the most recent window when they collide.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32092 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 6e645865304e06c60123df84c048753a2c35ee17 29-Jul-2009 Jonas Sundström <jonas@kirilla.com>

Clean-up

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31935 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 3f4b183da1a9b652d7a389eab4ccca2df0ada631 29-Jul-2009 Jonas Sundström <jonas@kirilla.com>

Partial clean-up.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31896 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 8e8e662d0a6ad8ec6d1cad9cd0f421db8e8cc869 22-Aug-2006 Axel Dörfler <axeld@pinc-software.de>

Forgot to update include names as well...


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18576 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 73d4b58ec5f958fc7ed905cc3b79992fda716bf1 22-Aug-2006 Axel Dörfler <axeld@pinc-software.de>

* Renamed ZipOMaticZipper.cpp|h to ZipperThread.cpp|h like the only class it contains.
* Joined the resource files together, updated version info.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18575 a95241bf-73f2-0310-859d-f6bbb57e9c96