#
5d2e4044 |
|
16-May-2007 |
Axel Dörfler <axeld@pinc-software.de> |
* All functions returning a message will now return an empty message in case there is none yet, instead of returning an error. * Cleanup. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21152 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
bae87c91 |
|
06-Nov-2006 |
Axel Dörfler <axeld@pinc-software.de> |
Added a new type for the vector icon format 'VICN' or B_VECTOR_ICON_TYPE. It's hopefully now used everywhere instead of B_RAW_TYPE where appropriate. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19219 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
7fb6186f |
|
29-Aug-2006 |
Stephan Aßmus <superstippi@gmx.de> |
* integration of vector icons with the registrar and the mime data base * additional versions of SetIcon[ForType] and GetIcon[ForType] in BMimeType and BAppFileInfo, which handle flat vector icon data * changes in Tracker to support scalable icons (currently broken for non-vector icons and needs cleanup) and drawing icons correctly with alpha channel (large parts of this work done by Michael Lotz) If someone feels like looking over the changes, that would be much appreciated! :-) git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18699 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
9ecf9d1c |
|
26-Aug-2006 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
Merge from layout management branch. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18649 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
98d9f1b4 |
|
16-Feb-2006 |
Axel Dörfler <axeld@pinc-software.de> |
* Only allowed application hints of B_MIME_TYPE_LENGTH instead of B_PATH_NAME_LENGTH. * Introduced a _SetStringValue() to avoid code duplication. * The string types now check the original value, and don't write anything if the contents stay unchanged (with the current exception of the sniffer rules). * The monitor notfication methods no longer "clobber" the status result. * Major cleanup. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16432 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
290bc091 |
|
28-Jun-2005 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
We use B_BITMAP_NO_SERVER_LINK BBitmaps internally now. This should remove the only app_server dependency the registrar has before shutdown. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13307 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
17e6de7a |
|
03-Aug-2003 |
shadow303 <shadow303@nowhere.fake> |
gcc 3 fixes git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4227 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
b690150e |
|
29-Sep-2002 |
Tyler Dauwalder <tylerdauwalder@nowhere.fake> |
Removed mime update code git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1271 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
1bd963b6 |
|
23-Sep-2002 |
Tyler Dauwalder <tylerdauwalder@nowhere.fake> |
+ Added file-extension based mime type guessing + Added sniffer rule based mime type guessing + Added get_device_icon() + Added complete (synchronous, asynchronous; recursive, non-recursive; forcing, non-forcing; you name it we got it :-) update_mime_info() implementation. git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1152 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
9a17c3cf |
|
23-Sep-2002 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
Dealt with the *_LENGTH+1 issue: Removed all "+1"s in buffer allocations and adjusted checks etc. git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1131 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
e3a2f206 |
|
09-Sep-2002 |
Tyler Dauwalder <tylerdauwalder@nowhere.fake> |
+ Added SetSupportedTypes() test + Modified BMimeType::SetSupportedTypes functionality so it keeps track of stranded types (i.e. previously supported types that have not had the now unsupporting app signature removed from their supporting apps list yet due to a false fullSync parameter) over consecutive SetSupportedTypes(..., false) calls and updates all appropriate stranded types on the next SetSupportedTypes(..., true) call. + Added fullSync parameter to BMimeType::DeleteSupportedTypes + Made BMimeType::Delete() do a DeleteSupportedTypes(..., true) call to properly update the supporting apps lists when a mime type is deleted. + Added initial BMimeType::Get/SetSnifferRule + Updated BMimeType::CheckSnifferRule() to return B_BAD_VALUE when passed a NULL rule string. + Brought CheckSnifferRule() tests up to date + Added lots of Mime::Database doxygen + Added any missing mime monitor notifications in Mime::Database + Possibly made some other changes as well... :-) git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1004 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
76ba3434 |
|
03-Sep-2002 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
Replaced applications of BBitmap::SetBits() by BBitmap::ImportBits(). git-svn-id: file:///srv/svn/repos/haiku/trunk/current@978 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
32f45afc |
|
27-Aug-2002 |
Tyler Dauwalder <tylerdauwalder@nowhere.fake> |
+ Added GetInstalled[Super]Types functionality + Cleaned up warnings + Added documentation git-svn-id: file:///srv/svn/repos/haiku/trunk/current@899 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
e20a514a |
|
23-Aug-2002 |
Tyler Dauwalder <tylerdauwalder@nowhere.fake> |
After implementing the BMimeType::GetInstalled[Super]Types() functionality, it became apparent that some restructuring was needed if I wanted to keep things clean and managble. storage/MimeDatabase.{h,cpp} have been broken into: storage/mime/database_support.{h,cpp} + MIME database constants + high-level database access functions like open_type(), read_mime_attr(), etc. storage/mime/database_access.{h,cpp} + atomic read functions + is_installed() + get_icon_data() storage/mime/Database.{h,cpp} + Mime::Database class, which is responsible for all write, non-atomic read, and mime monitor functionality. storage/mime/InstalledTypes.{h,cpp} + Helper class for Mime::Database::GetInstalled[Super]Types() storage/mime/Supertype.{h,cpp} + Helper class for Mime::InstalledTypes I haven't merged my intial, somewhat cludgy GetInstalled[Super]Types implementation into the new setup yet. That comes next, and it ought to be a more graceful implementation now. I also implemented BMimeType::Get/SetSupportingTypes(), though they haven't been tested yet (sorry). git-svn-id: file:///srv/svn/repos/haiku/trunk/current@862 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
5d2e4044c7316e2e3ec3a9308334207741e2d90e |
|
16-May-2007 |
Axel Dörfler <axeld@pinc-software.de> |
* All functions returning a message will now return an empty message in case there is none yet, instead of returning an error. * Cleanup. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21152 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
bae87c9140b843a16dd71b5ed9cf467f44b57b98 |
|
06-Nov-2006 |
Axel Dörfler <axeld@pinc-software.de> |
Added a new type for the vector icon format 'VICN' or B_VECTOR_ICON_TYPE. It's hopefully now used everywhere instead of B_RAW_TYPE where appropriate. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19219 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
7fb6186f3cb93a14ea0f96a82bdfc3d18f3ad56e |
|
29-Aug-2006 |
Stephan Aßmus <superstippi@gmx.de> |
* integration of vector icons with the registrar and the mime data base * additional versions of SetIcon[ForType] and GetIcon[ForType] in BMimeType and BAppFileInfo, which handle flat vector icon data * changes in Tracker to support scalable icons (currently broken for non-vector icons and needs cleanup) and drawing icons correctly with alpha channel (large parts of this work done by Michael Lotz) If someone feels like looking over the changes, that would be much appreciated! :-) git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18699 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
9ecf9d1c1d4888d341a6eac72112c72d1ae3a4cb |
|
26-Aug-2006 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
Merge from layout management branch. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18649 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
98d9f1b483cf3c74e88f393f6d551b077fc2c8af |
|
16-Feb-2006 |
Axel Dörfler <axeld@pinc-software.de> |
* Only allowed application hints of B_MIME_TYPE_LENGTH instead of B_PATH_NAME_LENGTH. * Introduced a _SetStringValue() to avoid code duplication. * The string types now check the original value, and don't write anything if the contents stay unchanged (with the current exception of the sniffer rules). * The monitor notfication methods no longer "clobber" the status result. * Major cleanup. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16432 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
290bc091c79a3bb397b5b4e715a1dcf7c9997042 |
|
28-Jun-2005 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
We use B_BITMAP_NO_SERVER_LINK BBitmaps internally now. This should remove the only app_server dependency the registrar has before shutdown. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13307 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
17e6de7a37c5c61f45eb724de108daa70905cb8f |
|
03-Aug-2003 |
shadow303 <shadow303@nowhere.fake> |
gcc 3 fixes git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4227 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
b690150ecf088935c13c18a2f8ac66ebec24d246 |
|
29-Sep-2002 |
Tyler Dauwalder <tylerdauwalder@nowhere.fake> |
Removed mime update code git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1271 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
1bd963b6c27017324c3589c8ea29d635e1552b7f |
|
23-Sep-2002 |
Tyler Dauwalder <tylerdauwalder@nowhere.fake> |
+ Added file-extension based mime type guessing + Added sniffer rule based mime type guessing + Added get_device_icon() + Added complete (synchronous, asynchronous; recursive, non-recursive; forcing, non-forcing; you name it we got it :-) update_mime_info() implementation. git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1152 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
9a17c3cfac5f2463b41b3f233975a2904ef10135 |
|
23-Sep-2002 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
Dealt with the *_LENGTH+1 issue: Removed all "+1"s in buffer allocations and adjusted checks etc. git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1131 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
e3a2f2069e5e2614e2a96c24502c91b482ec8e65 |
|
09-Sep-2002 |
Tyler Dauwalder <tylerdauwalder@nowhere.fake> |
+ Added SetSupportedTypes() test + Modified BMimeType::SetSupportedTypes functionality so it keeps track of stranded types (i.e. previously supported types that have not had the now unsupporting app signature removed from their supporting apps list yet due to a false fullSync parameter) over consecutive SetSupportedTypes(..., false) calls and updates all appropriate stranded types on the next SetSupportedTypes(..., true) call. + Added fullSync parameter to BMimeType::DeleteSupportedTypes + Made BMimeType::Delete() do a DeleteSupportedTypes(..., true) call to properly update the supporting apps lists when a mime type is deleted. + Added initial BMimeType::Get/SetSnifferRule + Updated BMimeType::CheckSnifferRule() to return B_BAD_VALUE when passed a NULL rule string. + Brought CheckSnifferRule() tests up to date + Added lots of Mime::Database doxygen + Added any missing mime monitor notifications in Mime::Database + Possibly made some other changes as well... :-) git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1004 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
76ba3434f81d65243dbc5512872b7da262103396 |
|
03-Sep-2002 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
Replaced applications of BBitmap::SetBits() by BBitmap::ImportBits(). git-svn-id: file:///srv/svn/repos/haiku/trunk/current@978 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
32f45afc2650a8b92c41a10a0fb552752d6b4036 |
|
27-Aug-2002 |
Tyler Dauwalder <tylerdauwalder@nowhere.fake> |
+ Added GetInstalled[Super]Types functionality + Cleaned up warnings + Added documentation git-svn-id: file:///srv/svn/repos/haiku/trunk/current@899 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
e20a514ae90bd65d06ff19517a1220b3f92760ee |
|
23-Aug-2002 |
Tyler Dauwalder <tylerdauwalder@nowhere.fake> |
After implementing the BMimeType::GetInstalled[Super]Types() functionality, it became apparent that some restructuring was needed if I wanted to keep things clean and managble. storage/MimeDatabase.{h,cpp} have been broken into: storage/mime/database_support.{h,cpp} + MIME database constants + high-level database access functions like open_type(), read_mime_attr(), etc. storage/mime/database_access.{h,cpp} + atomic read functions + is_installed() + get_icon_data() storage/mime/Database.{h,cpp} + Mime::Database class, which is responsible for all write, non-atomic read, and mime monitor functionality. storage/mime/InstalledTypes.{h,cpp} + Helper class for Mime::Database::GetInstalled[Super]Types() storage/mime/Supertype.{h,cpp} + Helper class for Mime::InstalledTypes I haven't merged my intial, somewhat cludgy GetInstalled[Super]Types implementation into the new setup yet. That comes next, and it ought to be a more graceful implementation now. I also implemented BMimeType::Get/SetSupportingTypes(), though they haven't been tested yet (sorry). git-svn-id: file:///srv/svn/repos/haiku/trunk/current@862 a95241bf-73f2-0310-859d-f6bbb57e9c96
|