History log of /haiku/src/kits/storage/mime/MimeInfoUpdater.cpp
Revision Date Author Comments
# 902fd96c 26-Jan-2014 Ingo Weinhold <ingo_weinhold@gmx.de>

MimeInfoUpdater: Don't touch the MIME DB

Use the new SetIconForType() and SetSupportedTypes() versions and
request the MIME DB not to be updated. This changes the
update_mime_info() and mimeset (without -a/-A) behavior in that they
only modify the (application) file attributes, now. Addresses #10453.


# 701a5d6b 20-Jan-2014 Rene Gollent <rene@gollent.com>

Resolve #10435.

Adjust Database{Location} to only attempt to create a mimetype when
actually necessary, and fail otherwise if a writable version doesn't yet
exist. Correspondingly, adjust callers such as
DatabaseLocation::DeleteAttribute(). Fixes a problem where a caller asking
to perform a mimeset could fail early due to SetSupportedTypes() attempting
to update the read-only mime database entry supplied by a package, and
consequently most of the mimeset operations would be skipped.


# 826a109f 09-May-2013 Ingo Weinhold <ingo_weinhold@gmx.de>

MimeInfoUpdater: Fix is_shared_object_mime_type()

The comparison must be case insensitive.


# 865ab281 08-May-2013 Ingo Weinhold <ingo_weinhold@gmx.de>

Pull class MimeInfoUpdater out of UpdateMimeInfoThread

* Pull out base class MimeEntryProcessor out of AppMetaMimeCreator.
* Pull class MimeInfoUpdater out of UpdateMimeInfoThread and derive it
from MimeEntryProcessor.
* MimeInfoUpdater: Instead of BMimeType::GuessMimeType(), use
Database::GuessMimeType() directly.


# 902fd96ce2de5be78ae2d301c96766acbf5aa697 26-Jan-2014 Ingo Weinhold <ingo_weinhold@gmx.de>

MimeInfoUpdater: Don't touch the MIME DB

Use the new SetIconForType() and SetSupportedTypes() versions and
request the MIME DB not to be updated. This changes the
update_mime_info() and mimeset (without -a/-A) behavior in that they
only modify the (application) file attributes, now. Addresses #10453.


# 701a5d6b7983b88c588594637fd09d2f746fcbf1 20-Jan-2014 Rene Gollent <rene@gollent.com>

Resolve #10435.

Adjust Database{Location} to only attempt to create a mimetype when
actually necessary, and fail otherwise if a writable version doesn't yet
exist. Correspondingly, adjust callers such as
DatabaseLocation::DeleteAttribute(). Fixes a problem where a caller asking
to perform a mimeset could fail early due to SetSupportedTypes() attempting
to update the read-only mime database entry supplied by a package, and
consequently most of the mimeset operations would be skipped.


# 826a109f96dbd877c8270c00f402671fb81854aa 09-May-2013 Ingo Weinhold <ingo_weinhold@gmx.de>

MimeInfoUpdater: Fix is_shared_object_mime_type()

The comparison must be case insensitive.


# 865ab2816de47da3e2d82a3ef808d03d69fe1436 08-May-2013 Ingo Weinhold <ingo_weinhold@gmx.de>

Pull class MimeInfoUpdater out of UpdateMimeInfoThread

* Pull out base class MimeEntryProcessor out of AppMetaMimeCreator.
* Pull class MimeInfoUpdater out of UpdateMimeInfoThread and derive it
from MimeEntryProcessor.
* MimeInfoUpdater: Instead of BMimeType::GuessMimeType(), use
Database::GuessMimeType() directly.