History log of /haiku/src/apps/mediaconverter/MediaFileInfoView.cpp
Revision Date Author Comments
# ae96ed6d 31-Aug-2013 John Scipione <jscipione@gmail.com>

Use a stop alert when you can't open the file.

This is a fatal error that the user has no way to recover from
so using the info alert is not appropriate here.

Also rename the ret variable to result and omit extraneous braces.


# aed35104 05-Aug-2012 Humdinger <humdingerb@gmail.com>

Close alerts with ESCAPE key.

Added SetFlags(B_CLOSE_ON_ESCAPE) or SetShortcut(index, B_ESCAPE) to BAlerts
depending if the result gets used later in the code, or if it's a one-button
BAlert.


# 546208a5 16-Apr-2012 Oliver Tappe <zooey@hirschkaefer.de>

More catalog-related cleanup.

* rename B_TRANSLATE_CONTEXT to B_TRANSLATION_CONTEXT and
B_TRANSLATE_WITH_CONTEXT to B_TRANSLATE_CONTEXT, squashing a TODO
* adjust all uses of both macros in Haiku's source tree
* use correct header guard for collecting/Catalog.h

The renamed macros require adjustments to all external applications
using catalogs.


# 9b2ea762 23-May-2011 Alex Wilson <yourpalal2@gmail.com>

* Fix layout problem which appeared with the introduction of CollapsingLayouter. Basically, one of the layouts expected empty columns to act like glue, which is how they worked at the time. Now use BSpaceLayoutItem::CreateGlue() to get equivalent behaviour.
* Also do a very small bit of refactoring, to have MediaFileInfoView take better charge of its max size.
+alpha


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


# 58a25e21 29-Dec-2010 Adrien Destugues <pulkomandy@pulkomandy.ath.cx>

Missing part of MediaConverter patch. Was a problem with svn getting lost.


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


# f086ada7 15-Dec-2010 Stephan Aßmus <superstippi@gmx.de>

* Applied patch from Barrett (ticket #6497) which fixes some issues
with the previous patch from him.
* More cleanup by myself in MediaConverterWindow::MessageReceived(),
no functional changes intended.


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


# e66d0f55 26-Oct-2010 Stephan Aßmus <superstippi@gmx.de>

Patch by Barrett: Check for errors when obtaining information
about the contained tracks from media files. Display an alert
accordingly. Fixes ticket #6497. Thanks!


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


# dd55ed1a 24-Aug-2010 Alex Wilson <yourpalal2@gmail.com>

*Update MediaConverter to use the Layout API
*Replace StatusView class with BStringView
*Rename some variables (fBox1 -> fSourcesBox, for example)
*Create MediaFileInfo struct to cache strings for media files, these were
previously created on each call to MediaFileInfoView::Draw()
*Update MediaFileInfoView class for layout-friendliness and hopefully
better performance.
*Update other classes for layout-friendliness as well (just remove BRect and
resizeFlags params)
*Add keyboard accels for Open and Quit items in menuBar
*closes #4197
*fixes CIDs 1545 and 1455



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


# 6af4da5d 21-Jun-2007 Stephan Aßmus <superstippi@gmx.de>

* added MediaConverter, the improved version by Jun Suzuki, to the source tree
* I completely rearranged the source and fixed a few bugs, one of which
prevented me to use this tool to convert some XViD encoded AVIs that had
sound to PJPEG encoding.
* it is currently agreed to have this in the source, but not on the image yet,
the MediaKit doesn't support writing anyways as of now


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


# ae96ed6dbe5a87fc378d5a104927c75abc384701 31-Aug-2013 John Scipione <jscipione@gmail.com>

Use a stop alert when you can't open the file.

This is a fatal error that the user has no way to recover from
so using the info alert is not appropriate here.

Also rename the ret variable to result and omit extraneous braces.


# aed35104852941f0f6f3d1dcc5338b5f337d0a3c 05-Aug-2012 Humdinger <humdingerb@gmail.com>

Close alerts with ESCAPE key.

Added SetFlags(B_CLOSE_ON_ESCAPE) or SetShortcut(index, B_ESCAPE) to BAlerts
depending if the result gets used later in the code, or if it's a one-button
BAlert.


# 546208a53940a26c6379c48a7854ade1a8250fc5 16-Apr-2012 Oliver Tappe <zooey@hirschkaefer.de>

More catalog-related cleanup.

* rename B_TRANSLATE_CONTEXT to B_TRANSLATION_CONTEXT and
B_TRANSLATE_WITH_CONTEXT to B_TRANSLATE_CONTEXT, squashing a TODO
* adjust all uses of both macros in Haiku's source tree
* use correct header guard for collecting/Catalog.h

The renamed macros require adjustments to all external applications
using catalogs.


# 9b2ea762dbb43e633cf8ec162fab123db8db034e 23-May-2011 Alex Wilson <yourpalal2@gmail.com>

* Fix layout problem which appeared with the introduction of CollapsingLayouter. Basically, one of the layouts expected empty columns to act like glue, which is how they worked at the time. Now use BSpaceLayoutItem::CreateGlue() to get equivalent behaviour.
* Also do a very small bit of refactoring, to have MediaFileInfoView take better charge of its max size.
+alpha


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


# 58a25e211407409622e2a34658cce8824e191958 29-Dec-2010 Adrien Destugues <pulkomandy@pulkomandy.ath.cx>

Missing part of MediaConverter patch. Was a problem with svn getting lost.


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


# f086ada784c0a90b12dfa682eea871fb2106a0a9 15-Dec-2010 Stephan Aßmus <superstippi@gmx.de>

* Applied patch from Barrett (ticket #6497) which fixes some issues
with the previous patch from him.
* More cleanup by myself in MediaConverterWindow::MessageReceived(),
no functional changes intended.


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


# e66d0f5520dc9b8efb95c88ec5bd8ee9c605cb25 26-Oct-2010 Stephan Aßmus <superstippi@gmx.de>

Patch by Barrett: Check for errors when obtaining information
about the contained tracks from media files. Display an alert
accordingly. Fixes ticket #6497. Thanks!


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


# dd55ed1aefdc5ef51ab24b8783af3dd9ffc7ca31 24-Aug-2010 Alex Wilson <yourpalal2@gmail.com>

*Update MediaConverter to use the Layout API
*Replace StatusView class with BStringView
*Rename some variables (fBox1 -> fSourcesBox, for example)
*Create MediaFileInfo struct to cache strings for media files, these were
previously created on each call to MediaFileInfoView::Draw()
*Update MediaFileInfoView class for layout-friendliness and hopefully
better performance.
*Update other classes for layout-friendliness as well (just remove BRect and
resizeFlags params)
*Add keyboard accels for Open and Quit items in menuBar
*closes #4197
*fixes CIDs 1545 and 1455



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


# 6af4da5dcbc291265146f6cd6b6c7708d7d99a44 21-Jun-2007 Stephan Aßmus <superstippi@gmx.de>

* added MediaConverter, the improved version by Jun Suzuki, to the source tree
* I completely rearranged the source and fixed a few bugs, one of which
prevented me to use this tool to convert some XViD encoded AVIs that had
sound to PJPEG encoding.
* it is currently agreed to have this in the source, but not on the image yet,
the MediaKit doesn't support writing anyways as of now


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