History log of /haiku/src/preferences/filetypes/FileTypesWindow.h
Revision Date Author Comments
# 0b4ddda5 12-Feb-2011 Stephan Aßmus <superstippi@gmx.de>

* Some reordering of methods to match declaration order.
* Some updating to new header indentation style
* Improved consistency of asterix style in FileTypes.cpp.
* Implemented passing -type some/type on the command line and having
that type initially selected in the FileTypesWindow. (Unfortunately
BOutlineListView::ScrollToSelection() is broken.)


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


# a9bc82a4 12-Feb-2011 Stephan Aßmus <superstippi@gmx.de>

* Ordered method implementations as their declarations in the header.
* Updated header indentation style.


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


# 2099a792 07-Feb-2011 Stephan Aßmus <superstippi@gmx.de>

Added two new buttons "Move up" and "Move down", which makes it a) possible
to manually sort the attributes and b) very obvious how to do it. Drag&drop
sorting should be implemented eventually (more convenient but less obvious),
but this works pretty well.


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


# 36ef875a 07-Feb-2011 Stephan Aßmus <superstippi@gmx.de>

The left and right side of the FileTypes interface are now divided by
a BSplitView. The layout weight is remembered in the settings.


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


# 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


# 1415b635 15-Nov-2006 Axel Dörfler <axeld@pinc-software.de>

* Added a simple list view that can indicate that it accepts a dragged object.
* The extension list is now using this list view: when you drop some files on
it, it will now take over their extension into the list.


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


# f4e82637 01-Jun-2006 Axel Dörfler <axeld@pinc-software.de>

* FileTypes now stores and retrieves its settings.
* The "Show Icons" option now defaults to true.


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


# d1b62548 14-Mar-2006 Axel Dörfler <axeld@pinc-software.de>

* Added the possibility to see and edit the sniffer rule of a type
(realized as an option enabled in the menu).
* Minor bug fixes and changes.


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


# a051f666 06-Mar-2006 Axel Dörfler <axeld@pinc-software.de>

* Changed the way file panels are created, there is now only a single message
the FileType application understands.
* The FileTypeWindow now has support for setting the type via "Same As...",
also by dropping a file over the window.
* The preferred application of a file can now also be specified via "Select...",
and "Same As...".
* Moved FileTypesWindow::_AdoptPreferredApplication() to PreferredAppMenu.cpp;
FileTypeWindow is now using it as well.
* Shuffled some functions around a bit.


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


# f793ebf4 06-Mar-2006 Axel Dörfler <axeld@pinc-software.de>

* Added an icon view to the file type window.
* Renamed the IconView class in the FileTypesWindow to TypeIconView.


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


# 0353f98b 06-Mar-2006 Axel Dörfler <axeld@pinc-software.de>

* Beginnings of the file type window, ie. the functionality of the
FileType Tracker add-on.
* You can now drop files over the FileTypes window, and their file
types window is opened.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16612 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


# 43fd6fc4 13-Feb-2006 Axel Dörfler <axeld@pinc-software.de>

* You can now also select the preferred application using the "Select..." and
"Same As..." buttons and a file panel.
* The preferred application of a file type is now also displayed correctly if
it's not part of the list of supporting applications.


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


# 06c21b14 12-Feb-2006 Axel Dörfler <axeld@pinc-software.de>

* Only those controls are updated now, that were actually changed, including
references from other types.
* Since the MimeTypeListView now listens to changes automatically, it's no longer
necessary to update the MimeTypeListView manually anymore.


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


# 9432e2e6 12-Feb-2006 Axel Dörfler <axeld@pinc-software.de>

* The controls now listen to BMimeType changes - the MIME list doesn't do this
yet, though.
* Noticed that the "Description" text control in the original FileTypes app is
actually for the long description, not the short one - added another text
control for those descriptions.
* The IconView will now also show an icon when it comes from a super type or
an application - additionally, it will tell you from where the icon actually
comes from.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16362 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


# d2dcb851 10-Feb-2006 Axel Dörfler <axeld@pinc-software.de>

Now it even looks like the original, at least a bit :-)
Still doesn't do anything, though.


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


# f1486a98 08-Feb-2006 Axel Dörfler <axeld@pinc-software.de>

Started new FileTypes preferences application, so that you can at least see
it's supposed to do nothing at the moment :-)


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


# a10cf76e 24-Jun-2005 Axel Dörfler <axeld@pinc-software.de>

Renamed src/prefs to "preferences", as the directory is usually called in BeOS.


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


# 0b4ddda5f0ddc1fef61447b4b49cfc7a4d88e7a6 12-Feb-2011 Stephan Aßmus <superstippi@gmx.de>

* Some reordering of methods to match declaration order.
* Some updating to new header indentation style
* Improved consistency of asterix style in FileTypes.cpp.
* Implemented passing -type some/type on the command line and having
that type initially selected in the FileTypesWindow. (Unfortunately
BOutlineListView::ScrollToSelection() is broken.)


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


# a9bc82a4b0a610ed65b6eab6dbaf0b676cb4e479 12-Feb-2011 Stephan Aßmus <superstippi@gmx.de>

* Ordered method implementations as their declarations in the header.
* Updated header indentation style.


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


# 2099a79214566e2d6c38e4c5a3f0e8c183fdfb08 07-Feb-2011 Stephan Aßmus <superstippi@gmx.de>

Added two new buttons "Move up" and "Move down", which makes it a) possible
to manually sort the attributes and b) very obvious how to do it. Drag&drop
sorting should be implemented eventually (more convenient but less obvious),
but this works pretty well.


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


# 36ef875aada2ed4fde5336f3c70575e5288dd977 07-Feb-2011 Stephan Aßmus <superstippi@gmx.de>

The left and right side of the FileTypes interface are now divided by
a BSplitView. The layout weight is remembered in the settings.


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


# 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


# 1415b635123528326f1f3af1756a15f672f380d4 15-Nov-2006 Axel Dörfler <axeld@pinc-software.de>

* Added a simple list view that can indicate that it accepts a dragged object.
* The extension list is now using this list view: when you drop some files on
it, it will now take over their extension into the list.


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


# f4e8263700211f15194530da5a5e255dd76f2029 01-Jun-2006 Axel Dörfler <axeld@pinc-software.de>

* FileTypes now stores and retrieves its settings.
* The "Show Icons" option now defaults to true.


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


# d1b62548b120c3b2ed06118da60abd7a03b469b5 14-Mar-2006 Axel Dörfler <axeld@pinc-software.de>

* Added the possibility to see and edit the sniffer rule of a type
(realized as an option enabled in the menu).
* Minor bug fixes and changes.


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


# a051f66681931057536717d0f5b56773a2a4963e 06-Mar-2006 Axel Dörfler <axeld@pinc-software.de>

* Changed the way file panels are created, there is now only a single message
the FileType application understands.
* The FileTypeWindow now has support for setting the type via "Same As...",
also by dropping a file over the window.
* The preferred application of a file can now also be specified via "Select...",
and "Same As...".
* Moved FileTypesWindow::_AdoptPreferredApplication() to PreferredAppMenu.cpp;
FileTypeWindow is now using it as well.
* Shuffled some functions around a bit.


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


# f793ebf4db716f31e32e86b83fe9160bbfb04e70 06-Mar-2006 Axel Dörfler <axeld@pinc-software.de>

* Added an icon view to the file type window.
* Renamed the IconView class in the FileTypesWindow to TypeIconView.


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


# 0353f98bc36f4c87b827a202ef720811cd733fd3 06-Mar-2006 Axel Dörfler <axeld@pinc-software.de>

* Beginnings of the file type window, ie. the functionality of the
FileType Tracker add-on.
* You can now drop files over the FileTypes window, and their file
types window is opened.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16612 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


# 43fd6fc453a4800ccc5023ff4376ae3ec1182b17 13-Feb-2006 Axel Dörfler <axeld@pinc-software.de>

* You can now also select the preferred application using the "Select..." and
"Same As..." buttons and a file panel.
* The preferred application of a file type is now also displayed correctly if
it's not part of the list of supporting applications.


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


# 06c21b14fefd498a1c16e6e8759fe7e937d8abdc 12-Feb-2006 Axel Dörfler <axeld@pinc-software.de>

* Only those controls are updated now, that were actually changed, including
references from other types.
* Since the MimeTypeListView now listens to changes automatically, it's no longer
necessary to update the MimeTypeListView manually anymore.


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


# 9432e2e65aa88fe27aecd7a18a71ae6d5d3ffddd 12-Feb-2006 Axel Dörfler <axeld@pinc-software.de>

* The controls now listen to BMimeType changes - the MIME list doesn't do this
yet, though.
* Noticed that the "Description" text control in the original FileTypes app is
actually for the long description, not the short one - added another text
control for those descriptions.
* The IconView will now also show an icon when it comes from a super type or
an application - additionally, it will tell you from where the icon actually
comes from.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16362 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


# d2dcb851e64e9cef6ba8ddeceffa18a5531d8230 10-Feb-2006 Axel Dörfler <axeld@pinc-software.de>

Now it even looks like the original, at least a bit :-)
Still doesn't do anything, though.


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


# f1486a980fe3ec20d30c12709b315df49819b839 08-Feb-2006 Axel Dörfler <axeld@pinc-software.de>

Started new FileTypes preferences application, so that you can at least see
it's supposed to do nothing at the moment :-)


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


# a10cf76ef5b9e8c726ebc47183abd6943023cf8f 24-Jun-2005 Axel Dörfler <axeld@pinc-software.de>

Renamed src/prefs to "preferences", as the directory is usually called in BeOS.


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