History log of /haiku/src/preferences/media/MediaViews.cpp
Revision Date Author Comments
# 38b01557 24-May-2019 Augustin Cavalier <waddlesplash@gmail.com>

Media: Use assignment operators instead of memset.

Spotted by GCC 8 -Werror=class-memaccess.


# bc622f6b 15-Oct-2018 Humdinger <humdingerb@gmail.com>

Fix missing localization

This addresses some of what's reported in ticket #14637.

* Keymap preferences: Localize key labels. Translators have
to be careful not too use too long words here...

* Media preferences: Fix typo "SoundFonts" -> "SoundFont"
The two popup menus, Video input/output, both use "<none>",
which when the catkeys are collected is reduced to one item.
Apparently, Italian likes to have different tranlsations for
them. I hope to fix that by using B_TRANSLATE_COMMENT with
differing comments. Not sure if that'll work...

* Network preferences: Localize "on/off" and "Enable/Disable"
in the Services.

* Repositories preferences:
Add RepoRow.cpp to DoCatalogs.

* Shortcuts preferences: Localize "Left/Right/Both/Either/None"

* Bluetooth replicant: Localize menu items and alerts.

* DeskCalc: Localize button names.

* HaikuDepot:
- Use BStringFormat and variables to replace for the WorkStatusView.
- Put package name in single quotes; nicer if you have package names
with spaces.
- Avoid leading and trailing spaces in translatable strings. Those
can be overlooked b the translator.
- Use B_UTF8_ELLIPSIS instead of "...".

Change-Id: Ia32908f9faad5188aa87c918c31229277decbda9
Reviewed-on: https://review.haiku-os.org/631
Reviewed-by: Jérôme Duval <jerome.duval@gmail.com>


# 939b40d6 15-Jan-2017 Jessica Hamilton <jessica.l.hamilton@gmail.com>

Media preflet: fix runtime warning about incorrect flag usage.


# 8a28f849 28-Aug-2015 Dario Casalinuovo <b.vitruvio@gmail.com>

Media: Fix restart button alignment


# 7482390a 29-Jul-2015 Dario Casalinuovo <b.vitruvio@gmail.com>

Media: Improve both notifications and quit mechanism

* Media is now waiting for media_server to start if the window
is closed before to finish, this was proposed by stippi.
* Moved out anything related to notifications as they are now
managed by the media_kit.
* Solved some TODOs and minor issues too.


# 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.


# 10dfe897 06-May-2011 Axel Dörfler <axeld@pinc-software.de>

* Really, there is absolutely no need to pass the default argument to an
optional parameter...


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


# c97121d3 25-Feb-2011 Alex Wilson <yourpalal2@gmail.com>

Remove the realtime stuff from the media preflet, as these controls actually have no effect whatsoever. Also remove the message to restart the media server after default audio/video inputs or outputs are changed, as these changes take effect immediately. fixes #6012


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


# d2772fb4 19-Jan-2011 Alex Wilson <yourpalal2@gmail.com>

Add missing breaks in SettingsView::MessageReceived() switch-statement.


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


# 0ee86c8d 06-Jan-2011 Alex Wilson <yourpalal2@gmail.com>

In Media preflet, use BAlert to inform users that real-time audio/video is not supported (as per MediaRoster.cpp:3061). This fixes ticket #6012.


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


# 7afc7756 05-Jan-2011 Alex Wilson <yourpalal2@gmail.com>

In Media preflet:
* Modify MediaListItem to use the visitor pattern
* Use the visitor pattern for comparison of MediaListItem subclassed objects
* Use the visitor pattern in MediaWindow to propagate changes to NodeListItems.
* Rename and/or remove some message constants
* Rename SettingsItem class to NodeMenuItem
* Rename Settings2Item class to ChannelMenuItem
* Derive SettingsView from BGridView, and make it an abstract base class for two new classes, AudioSettingsView and VideoSettingsView.
* Have the SettingsView subclasses handle messages originating from their children (for the most part).
* Use a BCardLayout to hold our Audio/Video SettingsViews and our instantiated node view (when applicable).
* small changes


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


# 6e62e744 29-Oct-2010 Alex Wilson <yourpalal2@gmail.com>

In Media preflet:
* rename some variables (eg. fMenu1 -> fInputMenu)
* rearrange some code for improved clarity
* fix an instance of casting BMenuItem*s to dormant_node_info*s before deleting them (now we just delete them as BMenuItems)
* use a BGridView to align the MenuFields in Audio/Video setting views.


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


# 6b0cdfbc 23-Oct-2010 Alex Wilson <yourpalal2@gmail.com>

Update Media prefs to use BObjectList in place of BList + a few style fixes.


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


# 7c4e83dd 22-Oct-2010 Alex Wilson <yourpalal2@gmail.com>

In media preferences:
* remove custom 'BarView' class, and replace it with BSeparatorView.
* remove BStringVIew for displaying titles, our BSeparatorView does this now.
* Have the BSeparatorView always draw, BarView was only drawn sometimes.

This helps stabilise the window size, cleans up the code and looks nicer, in my opinion.


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


# a633251f 30-Sep-2010 Alex Wilson <yourpalal2@gmail.com>

Big style cleanup in preparation for refactoring the media preflet and tackling #6544.
Fix one use of sscanf(...) > 0, where it ought to be sscanf(...) == 4.
Otherwise, no functional changes intended.


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


# 91debc87 16-Sep-2010 Stephan Aßmus <superstippi@gmx.de>

Patch by diver, translating some yet untranslated strings.
Closes ticket #6609. Thanks!


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


# 9cedafe6 28-Jun-2010 Wim van der Meer <wpjvandermeer@gmail.com>

Adding missing #undef B_TRANSLATE_CONTEXT

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


# 4eb0cbb0 07-May-2010 Matt Madia <mattmadia@gmail.com>

Updated TR_CONTEXT to be B_TRANSLATE_CONTEXT, relating to #5408.


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


# 176fb40f 06-May-2010 Matt Madia <mattmadia@gmail.com>

Updated to use B_TRANSLATE* macros. relates to #5408.

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


# 9c1a9b92 20-Dec-2009 Adrien Destugues <pulkomandy@pulkomandy.ath.cx>

* Patch by Humdinger to convert a lot of things to sentance case.
* Cleanup and update of all the touched catkeys files


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


# f8a1135c 27-Oct-2009 Adrien Destugues <pulkomandy@pulkomandy.ath.cx>

Localized MEdia preflet and translated it to french.


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


# c8602bcd 13-Jun-2009 Rene Gollent <anevilyak@gmail.com>

The Media preflet was using a mix of old and layout style primitives to set itself up. As a consequence resizing basically didn't work correctly at all. Fixes ticket #3427.



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


# 774e87aa 30-Jun-2008 Philippe Houdoin <philippe.houdoin@gmail.com>

Removed mention of Haiku, a generic "system" sounds both better and distro name independent.


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


# 471913fb 12-Jun-2008 Stephan Aßmus <superstippi@gmx.de>

patch by Nate Eagleson:
* The audio and video panes refered to the OS as "BeOS", now it's "Haiku".

Thanks!


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


# 2af5f895 03-Apr-2008 Stephan Aßmus <superstippi@gmx.de>

Applied patch by Clemens Zeidler:
* The Media preflet itself is now font sensitive by using the new layout
management.


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


# 269fdeef 13-Jan-2008 Jérôme Duval <korli@users.berlios.de>

style cleanup
whitespace => tab


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


# 6df0b2d5 30-Jul-2007 Jérôme Duval <korli@users.berlios.de>

selecting the current default input or the current default output doesn't change the setting anymore, and doesn't ask to restart the media server


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


# b4a12470 18-Feb-2006 Jérôme Duval <korli@users.berlios.de>

fixed naming of variables
fixed some font sensitiveness issues


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


# 5ffd43dc 17-Feb-2006 Jérôme Duval <korli@users.berlios.de>

hopefully completes the fix for bug #190


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


# aaa9b739 17-Feb-2006 Jérôme Duval <korli@users.berlios.de>

improved font sensitiveness


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


# 8a28f8496597f67b9e0f80c1143398763062239b 28-Aug-2015 Dario Casalinuovo <b.vitruvio@gmail.com>

Media: Fix restart button alignment


# 7482390ab4dc1e77ccb42b4f2c290b5bfe814f7f 29-Jul-2015 Dario Casalinuovo <b.vitruvio@gmail.com>

Media: Improve both notifications and quit mechanism

* Media is now waiting for media_server to start if the window
is closed before to finish, this was proposed by stippi.
* Moved out anything related to notifications as they are now
managed by the media_kit.
* Solved some TODOs and minor issues too.


# 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.


# 10dfe8970c81ccbcb818dcfcd484c4006aa42d12 06-May-2011 Axel Dörfler <axeld@pinc-software.de>

* Really, there is absolutely no need to pass the default argument to an
optional parameter...


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


# c97121d35b0e28e4854167484089b3f1344de7e2 25-Feb-2011 Alex Wilson <yourpalal2@gmail.com>

Remove the realtime stuff from the media preflet, as these controls actually have no effect whatsoever. Also remove the message to restart the media server after default audio/video inputs or outputs are changed, as these changes take effect immediately. fixes #6012


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


# d2772fb43e804a2a9e9dea7ad82413e314f521be 19-Jan-2011 Alex Wilson <yourpalal2@gmail.com>

Add missing breaks in SettingsView::MessageReceived() switch-statement.


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


# 0ee86c8d2f9cd46d087f75139fe77f490a956f4f 06-Jan-2011 Alex Wilson <yourpalal2@gmail.com>

In Media preflet, use BAlert to inform users that real-time audio/video is not supported (as per MediaRoster.cpp:3061). This fixes ticket #6012.


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


# 7afc7756306b3fd9667d03fba787e3aa8b60cab5 05-Jan-2011 Alex Wilson <yourpalal2@gmail.com>

In Media preflet:
* Modify MediaListItem to use the visitor pattern
* Use the visitor pattern for comparison of MediaListItem subclassed objects
* Use the visitor pattern in MediaWindow to propagate changes to NodeListItems.
* Rename and/or remove some message constants
* Rename SettingsItem class to NodeMenuItem
* Rename Settings2Item class to ChannelMenuItem
* Derive SettingsView from BGridView, and make it an abstract base class for two new classes, AudioSettingsView and VideoSettingsView.
* Have the SettingsView subclasses handle messages originating from their children (for the most part).
* Use a BCardLayout to hold our Audio/Video SettingsViews and our instantiated node view (when applicable).
* small changes


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


# 6e62e7442344b160f07c3612c9e510a20dccc370 29-Oct-2010 Alex Wilson <yourpalal2@gmail.com>

In Media preflet:
* rename some variables (eg. fMenu1 -> fInputMenu)
* rearrange some code for improved clarity
* fix an instance of casting BMenuItem*s to dormant_node_info*s before deleting them (now we just delete them as BMenuItems)
* use a BGridView to align the MenuFields in Audio/Video setting views.


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


# 6b0cdfbc24e965bcf4f4d934a719c7a429fe0955 23-Oct-2010 Alex Wilson <yourpalal2@gmail.com>

Update Media prefs to use BObjectList in place of BList + a few style fixes.


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


# 7c4e83dd1f03ff988afa68c7ccd21ff2bcac84d4 22-Oct-2010 Alex Wilson <yourpalal2@gmail.com>

In media preferences:
* remove custom 'BarView' class, and replace it with BSeparatorView.
* remove BStringVIew for displaying titles, our BSeparatorView does this now.
* Have the BSeparatorView always draw, BarView was only drawn sometimes.

This helps stabilise the window size, cleans up the code and looks nicer, in my opinion.


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


# a633251fba4685fcce5faba216eb5ee69fcc947f 30-Sep-2010 Alex Wilson <yourpalal2@gmail.com>

Big style cleanup in preparation for refactoring the media preflet and tackling #6544.
Fix one use of sscanf(...) > 0, where it ought to be sscanf(...) == 4.
Otherwise, no functional changes intended.


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


# 91debc877aad7cbf3f64c8fa48ce849561db8715 16-Sep-2010 Stephan Aßmus <superstippi@gmx.de>

Patch by diver, translating some yet untranslated strings.
Closes ticket #6609. Thanks!


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


# 9cedafe60c43b9a27136d05b951342261b3c4d7b 28-Jun-2010 Wim van der Meer <wpjvandermeer@gmail.com>

Adding missing #undef B_TRANSLATE_CONTEXT

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


# 4eb0cbb044cf538f18c0d252934a5bcaa33bfd34 07-May-2010 Matt Madia <mattmadia@gmail.com>

Updated TR_CONTEXT to be B_TRANSLATE_CONTEXT, relating to #5408.


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


# 176fb40f5b76af8cb0aefc17f975de11ea6ae24a 06-May-2010 Matt Madia <mattmadia@gmail.com>

Updated to use B_TRANSLATE* macros. relates to #5408.

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


# 9c1a9b926aa0b1890a011a44398379d1c47f09c1 20-Dec-2009 Adrien Destugues <pulkomandy@pulkomandy.ath.cx>

* Patch by Humdinger to convert a lot of things to sentance case.
* Cleanup and update of all the touched catkeys files


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


# f8a1135cbb665f2d254e948c223ccc26cb8f6a77 27-Oct-2009 Adrien Destugues <pulkomandy@pulkomandy.ath.cx>

Localized MEdia preflet and translated it to french.


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


# c8602bcd111555e5a2c7110f336bb9b2508383c0 13-Jun-2009 Rene Gollent <anevilyak@gmail.com>

The Media preflet was using a mix of old and layout style primitives to set itself up. As a consequence resizing basically didn't work correctly at all. Fixes ticket #3427.



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


# 774e87aac9be280608686bfd91f0ded6a15633ad 30-Jun-2008 Philippe Houdoin <philippe.houdoin@gmail.com>

Removed mention of Haiku, a generic "system" sounds both better and distro name independent.


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


# 471913fbd4b881b713db0ff07395cfb475a2321e 12-Jun-2008 Stephan Aßmus <superstippi@gmx.de>

patch by Nate Eagleson:
* The audio and video panes refered to the OS as "BeOS", now it's "Haiku".

Thanks!


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


# 2af5f8952c9f5fe601d2db1c419914687e9aaa5b 03-Apr-2008 Stephan Aßmus <superstippi@gmx.de>

Applied patch by Clemens Zeidler:
* The Media preflet itself is now font sensitive by using the new layout
management.


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


# 269fdeefff71dbb13136f7404d612ed2e4284131 13-Jan-2008 Jérôme Duval <korli@users.berlios.de>

style cleanup
whitespace => tab


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


# 6df0b2d554277908eed9c44107336ff3f1460a07 30-Jul-2007 Jérôme Duval <korli@users.berlios.de>

selecting the current default input or the current default output doesn't change the setting anymore, and doesn't ask to restart the media server


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


# b4a124700c73ba45cb0e323ffbc17d08669936c3 18-Feb-2006 Jérôme Duval <korli@users.berlios.de>

fixed naming of variables
fixed some font sensitiveness issues


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


# 5ffd43dcb92f771d2244ab0bb8964b7af5351f1c 17-Feb-2006 Jérôme Duval <korli@users.berlios.de>

hopefully completes the fix for bug #190


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


# aaa9b7398079918925b6febb5b135e6baaa422e8 17-Feb-2006 Jérôme Duval <korli@users.berlios.de>

improved font sensitiveness


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