History log of /haiku/src/apps/expander/ExpanderRules.cpp
Revision Date Author Comments
# e326cef6 09-Jun-2014 John Scipione <jscipione@gmail.com>

Expander: style fixes, no functional change intended


# 4b7e2196 03-Oct-2013 Ingo Weinhold <ingo_weinhold@gmx.de>

Remove /boot/common for good

* Remove support for the "common" installation location from packagefs,
package kit, package daemon, package managers.
* Rename the B_COMMON_*_DIRECTORY constants referring to writable
directories to B_SYSTEM_*_DIRECTORY.
* Remove/adjust the use of various B_COMMON_*_DIRECTORY constants.
I'm sure some occurrence still remain. They can be adjusted when the
remaining B_COMMON_*_DIRECTORY constants are removed.


# 4f82f6fa 01-Jul-2013 Ingo Weinhold <ingo_weinhold@gmx.de>

Add Expander rule for Haiku package


# 301f4b46 30-Jun-2013 Ingo Weinhold <ingo_weinhold@gmx.de>

Expander: also read rules from data directories

* ExpanderSettings: Use a settings directory "expander" and rename
settings file to "settings".
* ExpanderRules: Read expander rules from "rules" files in the settings
directory, then from files in expander/rules subdirectories of the
installation location data directories, and finally add the built-in
rules. This allows packages to provide expander rules (as already
done by the p7zip package).
* OptionalPackages: Remove AddExpanderRuleToHaikuImage invocations.
* ImageRules: Remove Expander rule file related rules.


# 2cf916cb 29-Jun-2013 Ingo Weinhold <ingo_weinhold@gmx.de>

ExpanderRules: Coding style update

Also makes the ExpanderRule getters const. No other functional change.


# 3a450d5f 20-Dec-2009 Jérôme Duval <korli@users.berlios.de>

Patch by Matt Madia (#4936 and #5154): Changed behavior for .bz2 and .gz files: Keep source compressed files.


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


# 2b1296e8 08-Nov-2009 Axel Dörfler <axeld@pinc-software.de>

* Expander now searches its rules file in the data directory, no longer in /etc.


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


# bcfe344c 22-May-2009 Ingo Weinhold <ingo_weinhold@gmx.de>

* Made our struct stat POSIX compliant again -- the time_t fields have been
replaced by timespec fields. Via macros the structure is still source
compatible with the old one.
* Introduced header <compat/sys/stat.h> that defines the old stat structure
(as stat_beos) and conversion functions
* Introduced versions for [l,f]stat().
* Added symbol versions for BDirectory::GetStatFor() for sake of binary
compatibility.
* BStatable::GetStat(): Renamed the old method, changed its parameter to
stat_beos*, and and made it private. Added a new version (using up a
reserved vtable slot). It remains source and binary compatible.
* BRefFilter::Filter(): Changed the struct stat* parameter to struct stat_beos*
for sake of binary compatibility. This breaks source compatibility, though,
which we can't help, since the class doesn't have reserved vtable slots.
* Fixed several issues with the stat structure change, mostly adjusted uses of
BRefFilter.


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


# 2be56e75 12-Apr-2008 Jérôme Duval <korli@users.berlios.de>

Applied patch from n3s: the check for file extension was broken. Thanks!
This fixes bug #2034


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


# 0b847ab5 04-Jan-2008 Axel Dörfler <axeld@pinc-software.de>

Applied patch by Fredrik Ekdahl, this fixes bug #1695.


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


# 96303159 03-Mar-2007 Jérôme Duval <korli@users.berlios.de>

fixing indenting style issues


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


# 2c3cd1b9 20-Nov-2006 Axel Dörfler <axeld@pinc-software.de>

Added unrar 3.6.7 to the repository. Most changes to the original versions done
by Ioan Molnar - thanks!
Looks like our mbstowcs() function is broken, BTW - it needs to be disabled when
used under Haiku.


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


# bf8c5a04 31-Jan-2005 Jérôme Duval <korli@users.berlios.de>

Using only mime types now work (bug from Fredrik Ekdahl, thanks!)


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


# 7f2a4198 28-Jan-2005 Jérôme Duval <korli@users.berlios.de>

Removed -v flag for tar expanding as noticed by Fredrik Ekdahl


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


# 3a830972 21-Nov-2004 shatty <shatty@nowhere.fake>

address compiler warning


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


# e6efcd0f 18-Mar-2004 Jérôme Duval <korli@users.berlios.de>

Now use the mimetype of the file linked and not the link itself


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


# 1592b084 17-Mar-2004 Jérôme Duval <korli@users.berlios.de>

Added bzip2 1.0.2. Expander has now built in rules and icons for it.


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


# 55a5a6bd 16-Mar-2004 Jérôme Duval <korli@users.berlios.de>

Initial checkin of the Expander replacement app.
Redone from scratch because we don't have Dan Lee's code.
Beta version. Testing is welcome.


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


# e326cef6202a94eeab5149052a48c05db8000eaa 09-Jun-2014 John Scipione <jscipione@gmail.com>

Expander: style fixes, no functional change intended


# 4b7e219688450694efc9d1890f83f816758c16d3 03-Oct-2013 Ingo Weinhold <ingo_weinhold@gmx.de>

Remove /boot/common for good

* Remove support for the "common" installation location from packagefs,
package kit, package daemon, package managers.
* Rename the B_COMMON_*_DIRECTORY constants referring to writable
directories to B_SYSTEM_*_DIRECTORY.
* Remove/adjust the use of various B_COMMON_*_DIRECTORY constants.
I'm sure some occurrence still remain. They can be adjusted when the
remaining B_COMMON_*_DIRECTORY constants are removed.


# 4f82f6fa7225e5622544bc205e55da4c7ad33566 01-Jul-2013 Ingo Weinhold <ingo_weinhold@gmx.de>

Add Expander rule for Haiku package


# 301f4b463a2125f77ed0acfe708050da9cc67368 30-Jun-2013 Ingo Weinhold <ingo_weinhold@gmx.de>

Expander: also read rules from data directories

* ExpanderSettings: Use a settings directory "expander" and rename
settings file to "settings".
* ExpanderRules: Read expander rules from "rules" files in the settings
directory, then from files in expander/rules subdirectories of the
installation location data directories, and finally add the built-in
rules. This allows packages to provide expander rules (as already
done by the p7zip package).
* OptionalPackages: Remove AddExpanderRuleToHaikuImage invocations.
* ImageRules: Remove Expander rule file related rules.


# 2cf916cbe2e43b8e562b87f43ba8b69584d5c785 29-Jun-2013 Ingo Weinhold <ingo_weinhold@gmx.de>

ExpanderRules: Coding style update

Also makes the ExpanderRule getters const. No other functional change.


# 3a450d5f3d5b3fd24a35825727dad0ac70997b30 20-Dec-2009 Jérôme Duval <korli@users.berlios.de>

Patch by Matt Madia (#4936 and #5154): Changed behavior for .bz2 and .gz files: Keep source compressed files.


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


# 2b1296e8c4d823e80cab8d9db2a5a8f0db2854b8 08-Nov-2009 Axel Dörfler <axeld@pinc-software.de>

* Expander now searches its rules file in the data directory, no longer in /etc.


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


# bcfe344c537cb0dcee183c5a9afb4c362f5abe86 22-May-2009 Ingo Weinhold <ingo_weinhold@gmx.de>

* Made our struct stat POSIX compliant again -- the time_t fields have been
replaced by timespec fields. Via macros the structure is still source
compatible with the old one.
* Introduced header <compat/sys/stat.h> that defines the old stat structure
(as stat_beos) and conversion functions
* Introduced versions for [l,f]stat().
* Added symbol versions for BDirectory::GetStatFor() for sake of binary
compatibility.
* BStatable::GetStat(): Renamed the old method, changed its parameter to
stat_beos*, and and made it private. Added a new version (using up a
reserved vtable slot). It remains source and binary compatible.
* BRefFilter::Filter(): Changed the struct stat* parameter to struct stat_beos*
for sake of binary compatibility. This breaks source compatibility, though,
which we can't help, since the class doesn't have reserved vtable slots.
* Fixed several issues with the stat structure change, mostly adjusted uses of
BRefFilter.


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


# 2be56e7576f77794da73d4c18213892b82b7215c 12-Apr-2008 Jérôme Duval <korli@users.berlios.de>

Applied patch from n3s: the check for file extension was broken. Thanks!
This fixes bug #2034


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


# 0b847ab539189ad9cb56e2d57a53aba9a88068ad 04-Jan-2008 Axel Dörfler <axeld@pinc-software.de>

Applied patch by Fredrik Ekdahl, this fixes bug #1695.


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


# 96303159b3cf4f09c9903dae259ef40ad51a7579 03-Mar-2007 Jérôme Duval <korli@users.berlios.de>

fixing indenting style issues


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


# 2c3cd1b95d2caaf8ec89417b250b07f2601db791 20-Nov-2006 Axel Dörfler <axeld@pinc-software.de>

Added unrar 3.6.7 to the repository. Most changes to the original versions done
by Ioan Molnar - thanks!
Looks like our mbstowcs() function is broken, BTW - it needs to be disabled when
used under Haiku.


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


# bf8c5a04402c81bb64b065bee2220a00df4bef04 31-Jan-2005 Jérôme Duval <korli@users.berlios.de>

Using only mime types now work (bug from Fredrik Ekdahl, thanks!)


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


# 7f2a4198291f295a7e3013f646e125c9b61bbad3 28-Jan-2005 Jérôme Duval <korli@users.berlios.de>

Removed -v flag for tar expanding as noticed by Fredrik Ekdahl


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


# 3a83097201823b93bfbb148b7c52ff6ec84e081c 21-Nov-2004 shatty <shatty@nowhere.fake>

address compiler warning


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


# e6efcd0fdba974bfdc46c3f6570438ee8ca6029e 18-Mar-2004 Jérôme Duval <korli@users.berlios.de>

Now use the mimetype of the file linked and not the link itself


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


# 1592b084a9e74deb81362588c50f9e53e1ee8e99 17-Mar-2004 Jérôme Duval <korli@users.berlios.de>

Added bzip2 1.0.2. Expander has now built in rules and icons for it.


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


# 55a5a6bdfa5537e5422bf6ef0b1800537f981066 16-Mar-2004 Jérôme Duval <korli@users.berlios.de>

Initial checkin of the Expander replacement app.
Redone from scratch because we don't have Dan Lee's code.
Beta version. Testing is welcome.


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