#
d3da4f98 |
|
28-Sep-2022 |
Augustin Cavalier <waddlesplash@gmail.com> |
FileTypes: Refactor icon handling to use BControlLook::ComposeIconSize(). Fixes #17907.
|
#
aa056123 |
|
06-Apr-2015 |
Janus <janus2@ymail.com> |
User interface: Use user colors in menu and list items. * Use user colors for selected menuItem in ProcessController * Use user colors for selected listItem in FileTypes, Media, Printers * Fixes the menuItem and listItem part of #10840. The BColumnListView and other widgets need more thoughts.
|
#
3aeed660 |
|
07-Aug-2014 |
Jérôme Duval <jerome.duval@gmail.com> |
include strings.h where appriopriate... instead or additionally to string.h, in preparation for functions move. * moves str[n]casecmp() functions and others to strings.h. * strings.h doesn't include string.h anymore. * this solves #10949
|
#
50a2f6d7 |
|
21-Apr-2010 |
Stephan Aßmus <superstippi@gmx.de> |
Puh... basically this is the patch by "yourpalal" from ticket #5690, which converts the FileTypes preflet to use layout management. However, I had to revert r36252, apply the patch and then manually add r36252 back on top. I have fixed issues both in the layout management patch (broken layout in the ApplicationTypesWindow) as well as the translation (untranslated labels in alerts) and other problems with composed strings (one problem remains, but already had a TODO). However, the hard work was taken care of by yourpalal! Thanks a bunch! git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36405 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
741b3d90 |
|
17-Jul-2008 |
Michael Lotz <mmlr@mlotz.ch> |
Use B_RGBA32 instead of B_RGB32 when getting vector icons. Should fix bug #2525. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@26474 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
00cf1f46 |
|
14-Nov-2006 |
Axel Dörfler <axeld@pinc-software.de> |
Moved icon_for_type() to IconView.cpp. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19283 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
0b0ff90f |
|
14-Nov-2006 |
Axel Dörfler <axeld@pinc-software.de> |
* Extended the IconView quite a bit to support what we need: - supports drag&drop from icons (only tested for non-vector icons yet) - allows to remove/edit/add icons (there is still need for support in Icon-O-Matic for this to work completely) - has a mode where it stores the changed icon data in an object rather than directly to disk; this object can maintain all BeOS icon types - reacts to live updates from file icons - supports different view sizes (for later or uses in other apps) * works again on BeOS (it crashed before because of a BeOS "feature"). * in the Application window, the "supported types" listview will now be enlarged with the window instead of the long version description. * To compensate for that, the latter now shows a scroll bar. * Application delivered supported type icons are now shown as well, and can be edited - they're not yet saved, though. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19279 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
bca3f1ef |
|
03-Nov-2006 |
Axel Dörfler <axeld@pinc-software.de> |
Added support for the vector icons to FileTypes and DiskProbe. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19194 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
32553c97 |
|
13-Jun-2006 |
Axel Dörfler <axeld@pinc-software.de> |
If the supertype has the same label as the subtype, they are no longer considered equal in the _MakeTypesUnique() method. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17813 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
139655dd |
|
12-Jun-2006 |
Axel Dörfler <axeld@pinc-software.de> |
* New super types that are added while FileTypes is running are now displayed correctly (without an icon). * Fixed the incorrect __HAIKU__ only section #ifdef. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17808 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
60bf6a1f |
|
02-Apr-2006 |
Axel Dörfler <axeld@pinc-software.de> |
Removed the detached version of the BMessageRunner object again, and instead have a static method for spawning one (BMessageRunner::StartSending()), as suggested by Ingo. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16966 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
56d17f07 |
|
11-Mar-2006 |
Axel Dörfler <axeld@pinc-software.de> |
Now uses the new BMessageRunner form when built for Haiku, and thus, no longer leaks them. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16731 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
dcf60976 |
|
11-Mar-2006 |
Axel Dörfler <axeld@pinc-software.de> |
* New types are now no longer directly added, but delayed a bit (via a BMessageRunner); this is done so that the type can be fully installed before investigating it. * When the preferred app of a type changes, the "is application" property will be reexamined - this should help in letting new application types appear in the FileTypesWindow list, but not in the ApplicationTypesWindow list. * Added a progress window for removing uninstalled apps. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16726 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
31de48b4 |
|
27-Feb-2006 |
Axel Dörfler <axeld@pinc-software.de> |
* When a new type is added during lifetime, the "show icon", "application mode", and "flat" settings of the MimeTypeListView are now honoured. * Fixed warning in AttributeWindow.cpp git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16543 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
9786c1ec |
|
16-Feb-2006 |
Axel Dörfler <axeld@pinc-software.de> |
* When an icon changes, the MimeTypeListView updates the type now. * Selecting "None" as preferred application didn't work. * Forgot to implement changing a MIME type's long description. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16422 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
b2be483b |
|
16-Feb-2006 |
Axel Dörfler <axeld@pinc-software.de> |
The type list will now show the generic file icon for types without an icon. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16420 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
e47433bc |
|
16-Feb-2006 |
Axel Dörfler <axeld@pinc-software.de> |
* The new icon retrieval code didn't always work that well... * For applications without an icon, the default application icon is now shown. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16419 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
84506c14 |
|
15-Feb-2006 |
Axel Dörfler <axeld@pinc-software.de> |
* The MimeTypeListView now supports switching to icon mode and back without needing to reconstruct it. * The file types list can now show icons, too (you can enable it using the menu) git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16418 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
4f926050 |
|
15-Feb-2006 |
Axel Dörfler <axeld@pinc-software.de> |
Moved the "get icon engine" from IconView into a function in MimeTypeListView.cpp; it's now used by the MimeTypeItems as well, if showIcon mode is used. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16409 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
041ea260 |
|
15-Feb-2006 |
Axel Dörfler <axeld@pinc-software.de> |
More work on FileTypes: * You can now edit and add extensions. * The internal name view is no longer a disabled BTextControl, but a simple customized BStringView like view. * New "Application Types" window in the making. * MimeTypeListView can now have icons and supports a flat mode as well as an application only mode. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16405 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
879c65a3 |
|
14-Feb-2006 |
Axel Dörfler <axeld@pinc-software.de> |
You can now create new file types and groups. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16393 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
6ebc02ea |
|
12-Feb-2006 |
Axel Dörfler <axeld@pinc-software.de> |
The MimeTypeListView now listens to changes to the MIME type database as well. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16363 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
3069c957 |
|
12-Feb-2006 |
Axel Dörfler <axeld@pinc-software.de> |
* You can now change a MIME type's name as well as its preferred application. * The menu field will now show the app's signature initially as well, if it's part of the item's label (wasn't picked up before, because BMenuItem::SetMarked() was called before the signature was added to the label). git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16359 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
2602f6e9 |
|
11-Feb-2006 |
Axel Dörfler <axeld@pinc-software.de> |
Some more work in progress, still far from finished: * The extra attributes of a MIME type are now shown as well. * The preferred applications are now not only grouped by level of support, but are also sorted alphabetically, and get the app signature as part of the label in case two (or more) apps have the same name. * And more :) git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16357 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
9941e6c9 |
|
11-Feb-2006 |
Axel Dörfler <axeld@pinc-software.de> |
Some more work on the FileTypes preferences application; it still doesn't do anything, but it will now show you the installed MIME types, and their properties (though the "Extra Attributes" group is still not maintained at all). git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16351 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
aa05612321c6b52f68e2490ae16b5f62ad9c87b4 |
|
06-Apr-2015 |
Janus <janus2@ymail.com> |
User interface: Use user colors in menu and list items. * Use user colors for selected menuItem in ProcessController * Use user colors for selected listItem in FileTypes, Media, Printers * Fixes the menuItem and listItem part of #10840. The BColumnListView and other widgets need more thoughts.
|
#
3aeed6607cd07762c0e709633c012b3a632dbad9 |
|
07-Aug-2014 |
Jérôme Duval <jerome.duval@gmail.com> |
include strings.h where appriopriate... instead or additionally to string.h, in preparation for functions move. * moves str[n]casecmp() functions and others to strings.h. * strings.h doesn't include string.h anymore. * this solves #10949
|
#
50a2f6d7b20e0c0b24b47f85622e445bf84e81a8 |
|
21-Apr-2010 |
Stephan Aßmus <superstippi@gmx.de> |
Puh... basically this is the patch by "yourpalal" from ticket #5690, which converts the FileTypes preflet to use layout management. However, I had to revert r36252, apply the patch and then manually add r36252 back on top. I have fixed issues both in the layout management patch (broken layout in the ApplicationTypesWindow) as well as the translation (untranslated labels in alerts) and other problems with composed strings (one problem remains, but already had a TODO). However, the hard work was taken care of by yourpalal! Thanks a bunch! git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36405 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
741b3d900407a351d228e11d6e7a2b1dfed1f2f3 |
|
17-Jul-2008 |
Michael Lotz <mmlr@mlotz.ch> |
Use B_RGBA32 instead of B_RGB32 when getting vector icons. Should fix bug #2525. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@26474 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
00cf1f4671a33520acd8a6eb937e0e2a83550b5f |
|
14-Nov-2006 |
Axel Dörfler <axeld@pinc-software.de> |
Moved icon_for_type() to IconView.cpp. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19283 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
0b0ff90fa0742fb59c66fc597f34ea16222733a5 |
|
14-Nov-2006 |
Axel Dörfler <axeld@pinc-software.de> |
* Extended the IconView quite a bit to support what we need: - supports drag&drop from icons (only tested for non-vector icons yet) - allows to remove/edit/add icons (there is still need for support in Icon-O-Matic for this to work completely) - has a mode where it stores the changed icon data in an object rather than directly to disk; this object can maintain all BeOS icon types - reacts to live updates from file icons - supports different view sizes (for later or uses in other apps) * works again on BeOS (it crashed before because of a BeOS "feature"). * in the Application window, the "supported types" listview will now be enlarged with the window instead of the long version description. * To compensate for that, the latter now shows a scroll bar. * Application delivered supported type icons are now shown as well, and can be edited - they're not yet saved, though. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19279 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
bca3f1efbfbbeba03fb4e11df34f1c1c8770e2b3 |
|
03-Nov-2006 |
Axel Dörfler <axeld@pinc-software.de> |
Added support for the vector icons to FileTypes and DiskProbe. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19194 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
32553c978898932aaf0c49690ae90a4fdc3462e5 |
|
13-Jun-2006 |
Axel Dörfler <axeld@pinc-software.de> |
If the supertype has the same label as the subtype, they are no longer considered equal in the _MakeTypesUnique() method. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17813 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
139655dd9aa8e243cf3b99c34b906df8ac640839 |
|
12-Jun-2006 |
Axel Dörfler <axeld@pinc-software.de> |
* New super types that are added while FileTypes is running are now displayed correctly (without an icon). * Fixed the incorrect __HAIKU__ only section #ifdef. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17808 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
60bf6a1fbed1eae64bc44f24ee93a649fcc576d9 |
|
02-Apr-2006 |
Axel Dörfler <axeld@pinc-software.de> |
Removed the detached version of the BMessageRunner object again, and instead have a static method for spawning one (BMessageRunner::StartSending()), as suggested by Ingo. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16966 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
56d17f07b9aa540824014498c99db3c8e21d9e31 |
|
11-Mar-2006 |
Axel Dörfler <axeld@pinc-software.de> |
Now uses the new BMessageRunner form when built for Haiku, and thus, no longer leaks them. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16731 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
dcf60976b6db0d2351f40e3fb4125c1baa41e7a0 |
|
11-Mar-2006 |
Axel Dörfler <axeld@pinc-software.de> |
* New types are now no longer directly added, but delayed a bit (via a BMessageRunner); this is done so that the type can be fully installed before investigating it. * When the preferred app of a type changes, the "is application" property will be reexamined - this should help in letting new application types appear in the FileTypesWindow list, but not in the ApplicationTypesWindow list. * Added a progress window for removing uninstalled apps. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16726 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
31de48b49daae388fabf2dc58a7d7321c4fed9ab |
|
27-Feb-2006 |
Axel Dörfler <axeld@pinc-software.de> |
* When a new type is added during lifetime, the "show icon", "application mode", and "flat" settings of the MimeTypeListView are now honoured. * Fixed warning in AttributeWindow.cpp git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16543 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
9786c1ecf9e35d8da85ce7793d155221fe73255b |
|
16-Feb-2006 |
Axel Dörfler <axeld@pinc-software.de> |
* When an icon changes, the MimeTypeListView updates the type now. * Selecting "None" as preferred application didn't work. * Forgot to implement changing a MIME type's long description. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16422 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
b2be483b92dd650b55babe3c0723a6e79548483f |
|
16-Feb-2006 |
Axel Dörfler <axeld@pinc-software.de> |
The type list will now show the generic file icon for types without an icon. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16420 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
e47433bccb749acb38e2b6f624ec2fe9219e0c9c |
|
16-Feb-2006 |
Axel Dörfler <axeld@pinc-software.de> |
* The new icon retrieval code didn't always work that well... * For applications without an icon, the default application icon is now shown. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16419 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
84506c140ef6254f2a6079a4f6b2e64f98bf1e7d |
|
15-Feb-2006 |
Axel Dörfler <axeld@pinc-software.de> |
* The MimeTypeListView now supports switching to icon mode and back without needing to reconstruct it. * The file types list can now show icons, too (you can enable it using the menu) git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16418 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
4f92605003e6714c1dcdf0408868a66b5c2b3332 |
|
15-Feb-2006 |
Axel Dörfler <axeld@pinc-software.de> |
Moved the "get icon engine" from IconView into a function in MimeTypeListView.cpp; it's now used by the MimeTypeItems as well, if showIcon mode is used. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16409 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
041ea260089705137d559753470b0eec731e5640 |
|
15-Feb-2006 |
Axel Dörfler <axeld@pinc-software.de> |
More work on FileTypes: * You can now edit and add extensions. * The internal name view is no longer a disabled BTextControl, but a simple customized BStringView like view. * New "Application Types" window in the making. * MimeTypeListView can now have icons and supports a flat mode as well as an application only mode. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16405 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
879c65a301465f5a12d29419b265865ae607c9a7 |
|
14-Feb-2006 |
Axel Dörfler <axeld@pinc-software.de> |
You can now create new file types and groups. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16393 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
6ebc02eae447102ddef312e2770590b7dddafeef |
|
12-Feb-2006 |
Axel Dörfler <axeld@pinc-software.de> |
The MimeTypeListView now listens to changes to the MIME type database as well. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16363 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
3069c9573a954a666d0712d411a6f1357e80365a |
|
12-Feb-2006 |
Axel Dörfler <axeld@pinc-software.de> |
* You can now change a MIME type's name as well as its preferred application. * The menu field will now show the app's signature initially as well, if it's part of the item's label (wasn't picked up before, because BMenuItem::SetMarked() was called before the signature was added to the label). git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16359 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
2602f6e9c2d27f1d36c3aa8e5dd87d191bb77ac6 |
|
11-Feb-2006 |
Axel Dörfler <axeld@pinc-software.de> |
Some more work in progress, still far from finished: * The extra attributes of a MIME type are now shown as well. * The preferred applications are now not only grouped by level of support, but are also sorted alphabetically, and get the app signature as part of the label in case two (or more) apps have the same name. * And more :) git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16357 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
9941e6c9eace3db5d28311ba73ec8506bdfb79de |
|
11-Feb-2006 |
Axel Dörfler <axeld@pinc-software.de> |
Some more work on the FileTypes preferences application; it still doesn't do anything, but it will now show you the installed MIME types, and their properties (though the "Extra Attributes" group is still not maintained at all). git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16351 a95241bf-73f2-0310-859d-f6bbb57e9c96
|