#
65836233 |
|
21-Jan-2019 |
Augustin Cavalier <waddlesplash@gmail.com> |
Media: Don't delete the BLayoutItem when clearing the parameter view. It is owned by the BView which we delete on the next line; and doing this triggers an assert if there are still child views, which the BView destructor cleans up before deleting the layout item. Change-Id: I2f6f913b963e15c9808328aa2e0581cd1755e8ce Reviewed-on: https://review.haiku-os.org/c/888 Reviewed-by: Adrien Destugues <pulkomandy@gmail.com> Reviewed-by: waddlesplash <waddlesplash@gmail.com>
|
#
5d75f434 |
|
13-May-2018 |
Murai Takashi <tmurai01@gmail.com> |
Media preference: Replace strncpy with strlcpy Replace strncpy() with strlcpy() since destination size equals maximum number of characters to copy. Change-Id: I7d540c60c9915324c2271abaee8b7134bf0c3814
|
#
866084f7 |
|
03-Apr-2016 |
Dario Casalinuovo <b.vitruvio@gmail.com> |
MediaPrefs: No need to start media services anymore * This will cause troubles as the launch_daemon is doing this job for us.
|
#
f0650dc9 |
|
09-Dec-2015 |
looncraz <looncraz@looncraz.net> |
preferences: Convert to using Set*UIColor. Signed-off-by: Augustin Cavalier <waddlesplash@gmail.com> Patches 0023-0037 from looncraz, unmodified.
|
#
d0ac6099 |
|
07-Nov-2015 |
Humdinger <humdingerb@gmail.com> |
Use B_USE_WINDOW_SPACING Use B_USE_WINDOW_SPACING as inset from contents to window border. Some whitespace cleanup.
|
#
e10d416e |
|
29-Aug-2015 |
Humdinger <humdingerb@gmail.com> |
Improved warning alert. Spaces were missing.
|
#
d9971ae7 |
|
26-Aug-2015 |
Dario Casalinuovo <b.vitruvio@gmail.com> |
Media: Show alert while media services restart
|
#
7bdc7eec |
|
30-Jul-2015 |
Dario Casalinuovo <b.vitruvio@gmail.com> |
Media: Refresh window also at QUIT event. * Since the Media preferences are always watching for media status, it's good to clean up the window when the media services are not running. This avoid the user try to use controls where services are down.
|
#
922d2034 |
|
30-Jul-2015 |
Dario Casalinuovo <b.vitruvio@gmail.com> |
Media: Reinit media also when the restart thread finish
|
#
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.
|
#
009034bd |
|
27-Jul-2015 |
Dario Casalinuovo <b.vitruvio@gmail.com> |
Media: Display alert before to quit when restarting * Fixes 10770. * While more complex solutions are proposed, i think of it as a way to get out of an eventual deadlock or to protect from accident close.
|
#
b43b20d3 |
|
23-Jul-2015 |
Dario Casalinuovo <b.vitruvio@gmail.com> |
Media: Add support for media services notifications
|
#
21d247bb |
|
19-Dec-2014 |
Adrien Destugues <pulkomandy@gmail.com> |
Media: add icon to media server restart notification Use the media preferences icon for lack of anything more specific.
|
#
b245bc8d |
|
15-Dec-2014 |
Adrien Destugues <pulkomandy@gmail.com> |
Media Prefs: rework the BNotification code * Factor out the notification sending in a single method * Tweak the "progress" values so the progress bar goes from 0 to 100% in order, and only once, during the restart * Remove one notification that was needlessly sent twice * Some other small cleanups Final fix for #8171.
|
#
aa47adf6 |
|
13-Dec-2014 |
Laurent Chea <contact@laurentchea.com> |
Media service restart is now using BNotification. Fixes 8171.
|
#
bcec5d75 |
|
02-Oct-2014 |
Stefano Ceccherini <stefano.ceccherini@gmail.com> |
Media Preflet: fix #11308 _ClearParamView() should not remove fMidiView, since it's not dynamically generated.
|
#
db5b5dfa |
|
28-Sep-2014 |
Stefano Ceccherini <stefano.ceccherini@gmail.com> |
Integrate MIDI settings with the Media preflet. More or less working.
|
#
0635bcc9 |
|
04-Jul-2013 |
Rene Gollent <anevilyak@gmail.com> |
Media prefs: layout fixes.
|
#
0e662af4 |
|
23-Sep-2012 |
Axel Dörfler <axeld@pinc-software.de> |
Always set a minimum size for the list view. * Otherwise it doesn't look good when the media server is just being launched (so there are no nodes yet).
|
#
1c0cacfb |
|
23-Sep-2012 |
Axel Dörfler <axeld@pinc-software.de> |
Cleanup. * Sort methods like they are declared in the header. * Fixed a number of coding style violations and other oddities.
|
#
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.
|
#
f437c10c |
|
01-Jul-2012 |
Humdinger <humdingerb@gmail.com> |
Small visual changes to left scroll view. Fixes #8659. Fixed width of left scroll view. Added padding to list items. Thanks yourpalal for your hints.
|
#
62115b47 |
|
01-Jul-2012 |
Humdinger <humdingerb@gmail.com> |
Automatic whitespace cleanup and coding style.
|
#
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.
|
#
c67a3f98 |
|
27-May-2011 |
Alex Wilson <yourpalal2@gmail.com> |
Shrink Media preflet main window by removing doubled spacing in one place, and using default spacing (11.0f) in place of a custom spacing (14.0f). +alpha git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41781 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
10c18d38 |
|
22-May-2011 |
Alex Wilson <yourpalal2@gmail.com> |
Replace use of sprintf with snprintf in media preflet. Fixes CID 7943 (secure coding). git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41664 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
560ff447 |
|
25-Mar-2011 |
Jonas Sundström <jonas@kirilla.com> |
Use resource definition files instead of DoCatalogs rule. Rename B_TRANSLATE_APP_NAME and related macros to the more generic B_TRANSLATE_SYSTEM_NAME, to also fits add-ons, folders, etc, and make 'System name' its standard context. Change CodyCam and PoorMan's app signatures to match the overall x-vnd.Haiku-App pattern. Some clean-up. Make SlideShowSaver build again. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41103 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
d374a272 |
|
16-Mar-2011 |
Jonas Sundström <jonas@kirilla.com> |
App name localization. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40980 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
|
#
d49e0a27 |
|
11-Jan-2011 |
Alex Wilson <yourpalal2@gmail.com> |
In Media preflet: add an ItemWidth() method to MediaListItem::Renderer, which tells us how much space is needed onscreen for a MediaListItem. Use the new ItemWidth() method in MediaListItem::Update() to set our width. Add a MediaWindow::_UpdateListItemMinSize() method that uses the items' width to calculate the new explicit min width of our list view. This fixes a problem I saw with localized strings in the listview not being fully displayed. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40207 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
|
#
e7b99741 |
|
15-Nov-2010 |
Alex Wilson <yourpalal2@gmail.com> |
In Media preflet: * Refactor MediaListItem into four/five classes: * MediaListItem : abstract base class which provides an interface for MediaWindow and MediaListItem subclasses * NodeListItem : list item for media nodes * DeviceListItem : list item for audio/video settings (device selection) * MixerListItem : list item for the audio-mixer * MediaListItem::Renderer : does the drawing of MediaListItems, which supply render paramaters via a 'SetRenderParamaters()' method. * Comparison of MediaListItems (for sorting) is done via double-dispatch * MediaListItem provides a pure virtual AlterWindow() method, which removes the burden of distinguishing between different behaviours from MediaWindow. * Add methods to MediaWindow for the MediaListItems to call in their AlterWindow() implementation, eg. SelectNode() * Seperate code into these methods, as well as a few private utility methods. * Add a RAII-style 'SmartNode' nested class for MediaWindow, which handles watching/unwatching allocating/deallocating of media_nodes git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39433 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
|
#
b63e3a34 |
|
28-Oct-2010 |
Alex Wilson <yourpalal2@gmail.com> |
In Media preflet: * Move icons to resource file. * Add MediaIcons class to handle loading and storing the icons. * Use a MediaIcons object in place of a BList for passing icons to our list items. * Add IconHandles.h to hold an enum for identifying icons in/from our resource file. * style fixes git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39180 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
5c0767ca |
|
25-Oct-2010 |
Alex Wilson <yourpalal2@gmail.com> |
Fix a regression I caused in the media preflet with r39070 by remembering to clean out our BListView when (re)initializing. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39150 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
768734a8 |
|
25-Oct-2010 |
Alex Wilson <yourpalal2@gmail.com> |
In media preflet, update handling of nodes with no controls to look nicer and not make our window really small. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39149 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
|
#
e6b421a9 |
|
29-Apr-2008 |
Jérôme Duval <korli@users.berlios.de> |
fix misuse of ... with B_UTF8_ELLIPSIS git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25261 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
|
#
03f068a1 |
|
21-May-2007 |
Jérôme Duval <korli@users.berlios.de> |
tries to handle the case when no view is returned for the web (see bug #1223) git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21197 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
7d1e1e9f |
|
07-Jun-2006 |
Jérôme Duval <korli@users.berlios.de> |
fixed view names to match R5 git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17762 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
|
#
41d9fd9c |
|
03-Jan-2006 |
Axel Dörfler <axeld@pinc-software.de> |
Improved debug output in case adding the volume tray icon failed. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15830 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
4f7d58cb |
|
21-Sep-2005 |
Marcus Overhagen <marcusoverhagen@gmail.com> |
Made sure that nodes which publish audio and video outputs are listed as video. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14222 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
|
#
e10d416e692354b37f4d9a0461f5690b2c4d1be4 |
|
29-Aug-2015 |
Humdinger <humdingerb@gmail.com> |
Improved warning alert. Spaces were missing.
|
#
d9971ae7aace9f9a3fd44558ebb64c706ce3bf11 |
|
26-Aug-2015 |
Dario Casalinuovo <b.vitruvio@gmail.com> |
Media: Show alert while media services restart
|
#
7bdc7eec03d12377f6928b49887697a8f9fbc9dc |
|
30-Jul-2015 |
Dario Casalinuovo <b.vitruvio@gmail.com> |
Media: Refresh window also at QUIT event. * Since the Media preferences are always watching for media status, it's good to clean up the window when the media services are not running. This avoid the user try to use controls where services are down.
|
#
922d2034b2a2818465589969b7d682661553a9fd |
|
30-Jul-2015 |
Dario Casalinuovo <b.vitruvio@gmail.com> |
Media: Reinit media also when the restart thread finish
|
#
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.
|
#
009034bdf0717b41c9d72b6f24b1a1289b3ef0b1 |
|
27-Jul-2015 |
Dario Casalinuovo <b.vitruvio@gmail.com> |
Media: Display alert before to quit when restarting * Fixes 10770. * While more complex solutions are proposed, i think of it as a way to get out of an eventual deadlock or to protect from accident close.
|
#
b43b20d38faf191c5357a77320b8a91a3dad164d |
|
23-Jul-2015 |
Dario Casalinuovo <b.vitruvio@gmail.com> |
Media: Add support for media services notifications
|
#
21d247bb5893058f30042c5b5f3a40b5c3a15340 |
|
19-Dec-2014 |
Adrien Destugues <pulkomandy@gmail.com> |
Media: add icon to media server restart notification Use the media preferences icon for lack of anything more specific.
|
#
b245bc8dbde0733516fd59e3ccae5eadd89863d4 |
|
15-Dec-2014 |
Adrien Destugues <pulkomandy@gmail.com> |
Media Prefs: rework the BNotification code * Factor out the notification sending in a single method * Tweak the "progress" values so the progress bar goes from 0 to 100% in order, and only once, during the restart * Remove one notification that was needlessly sent twice * Some other small cleanups Final fix for #8171.
|
#
aa47adf6e0410809de37a3d57776a6bb2dffc520 |
|
13-Dec-2014 |
Laurent Chea <contact@laurentchea.com> |
Media service restart is now using BNotification. Fixes 8171.
|
#
bcec5d75184178c7962a3cf253831f0132796df1 |
|
02-Oct-2014 |
Stefano Ceccherini <stefano.ceccherini@gmail.com> |
Media Preflet: fix #11308 _ClearParamView() should not remove fMidiView, since it's not dynamically generated.
|
#
db5b5dfa1417cace160abbf2c554010476bf3416 |
|
28-Sep-2014 |
Stefano Ceccherini <stefano.ceccherini@gmail.com> |
Integrate MIDI settings with the Media preflet. More or less working.
|
#
0635bcc98f5de4d82e1cb38593159f95042c836c |
|
04-Jul-2013 |
Rene Gollent <anevilyak@gmail.com> |
Media prefs: layout fixes.
|
#
0e662af47344505c432d16a791df15cb86ee2e2b |
|
23-Sep-2012 |
Axel Dörfler <axeld@pinc-software.de> |
Always set a minimum size for the list view. * Otherwise it doesn't look good when the media server is just being launched (so there are no nodes yet).
|
#
1c0cacfbc585873f3d1c69bfa1d9c8deb791b296 |
|
23-Sep-2012 |
Axel Dörfler <axeld@pinc-software.de> |
Cleanup. * Sort methods like they are declared in the header. * Fixed a number of coding style violations and other oddities.
|
#
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.
|
#
f437c10c48325acce0a27524dc34fa352b255074 |
|
01-Jul-2012 |
Humdinger <humdingerb@gmail.com> |
Small visual changes to left scroll view. Fixes #8659. Fixed width of left scroll view. Added padding to list items. Thanks yourpalal for your hints.
|
#
62115b47721b2659d5dd748cbd4d2dbc7900de4d |
|
01-Jul-2012 |
Humdinger <humdingerb@gmail.com> |
Automatic whitespace cleanup and coding style.
|
#
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.
|
#
c67a3f98aba1cb75f35b624a0c69682ff6117575 |
|
27-May-2011 |
Alex Wilson <yourpalal2@gmail.com> |
Shrink Media preflet main window by removing doubled spacing in one place, and using default spacing (11.0f) in place of a custom spacing (14.0f). +alpha git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41781 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
10c18d38e872b5f241ca6beae69ba72860fd3e20 |
|
22-May-2011 |
Alex Wilson <yourpalal2@gmail.com> |
Replace use of sprintf with snprintf in media preflet. Fixes CID 7943 (secure coding). git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41664 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
560ff4478d5c85455ea3e5ed5e392ef93132d545 |
|
25-Mar-2011 |
Jonas Sundström <jonas@kirilla.com> |
Use resource definition files instead of DoCatalogs rule. Rename B_TRANSLATE_APP_NAME and related macros to the more generic B_TRANSLATE_SYSTEM_NAME, to also fits add-ons, folders, etc, and make 'System name' its standard context. Change CodyCam and PoorMan's app signatures to match the overall x-vnd.Haiku-App pattern. Some clean-up. Make SlideShowSaver build again. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41103 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
d374a27286b8a52974a97dba0d5966ea026a665d |
|
16-Mar-2011 |
Jonas Sundström <jonas@kirilla.com> |
App name localization. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40980 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
|
#
d49e0a272c01332969c00f9cf16960c661baf277 |
|
11-Jan-2011 |
Alex Wilson <yourpalal2@gmail.com> |
In Media preflet: add an ItemWidth() method to MediaListItem::Renderer, which tells us how much space is needed onscreen for a MediaListItem. Use the new ItemWidth() method in MediaListItem::Update() to set our width. Add a MediaWindow::_UpdateListItemMinSize() method that uses the items' width to calculate the new explicit min width of our list view. This fixes a problem I saw with localized strings in the listview not being fully displayed. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40207 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
|
#
e7b99741803a2adf01f19b0fa59ac55b7bb45b19 |
|
15-Nov-2010 |
Alex Wilson <yourpalal2@gmail.com> |
In Media preflet: * Refactor MediaListItem into four/five classes: * MediaListItem : abstract base class which provides an interface for MediaWindow and MediaListItem subclasses * NodeListItem : list item for media nodes * DeviceListItem : list item for audio/video settings (device selection) * MixerListItem : list item for the audio-mixer * MediaListItem::Renderer : does the drawing of MediaListItems, which supply render paramaters via a 'SetRenderParamaters()' method. * Comparison of MediaListItems (for sorting) is done via double-dispatch * MediaListItem provides a pure virtual AlterWindow() method, which removes the burden of distinguishing between different behaviours from MediaWindow. * Add methods to MediaWindow for the MediaListItems to call in their AlterWindow() implementation, eg. SelectNode() * Seperate code into these methods, as well as a few private utility methods. * Add a RAII-style 'SmartNode' nested class for MediaWindow, which handles watching/unwatching allocating/deallocating of media_nodes git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39433 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
|
#
b63e3a348c4dccb50b34a67222bada4ea5b123ce |
|
28-Oct-2010 |
Alex Wilson <yourpalal2@gmail.com> |
In Media preflet: * Move icons to resource file. * Add MediaIcons class to handle loading and storing the icons. * Use a MediaIcons object in place of a BList for passing icons to our list items. * Add IconHandles.h to hold an enum for identifying icons in/from our resource file. * style fixes git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39180 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
5c0767ca6f0e158cfa7869d6f415f2c024ad84c1 |
|
25-Oct-2010 |
Alex Wilson <yourpalal2@gmail.com> |
Fix a regression I caused in the media preflet with r39070 by remembering to clean out our BListView when (re)initializing. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39150 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
768734a83155429a25290bffdefab2fecf0a3762 |
|
25-Oct-2010 |
Alex Wilson <yourpalal2@gmail.com> |
In media preflet, update handling of nodes with no controls to look nicer and not make our window really small. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39149 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
|
#
e6b421a98eee762db7b1c0237e608356a2a26383 |
|
29-Apr-2008 |
Jérôme Duval <korli@users.berlios.de> |
fix misuse of ... with B_UTF8_ELLIPSIS git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25261 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
|
#
03f068a1916e9776e1498b7ad1b339047f829e2b |
|
21-May-2007 |
Jérôme Duval <korli@users.berlios.de> |
tries to handle the case when no view is returned for the web (see bug #1223) git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21197 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
7d1e1e9f074a038f5e7b706d691adb16a6e10cc4 |
|
07-Jun-2006 |
Jérôme Duval <korli@users.berlios.de> |
fixed view names to match R5 git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17762 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
|
#
41d9fd9ce49f5227fe6fe3798e329850d002fb73 |
|
03-Jan-2006 |
Axel Dörfler <axeld@pinc-software.de> |
Improved debug output in case adding the volume tray icon failed. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15830 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
4f7d58cbd5afe150c0f6accd3e148e20d3088678 |
|
21-Sep-2005 |
Marcus Overhagen <marcusoverhagen@gmail.com> |
Made sure that nodes which publish audio and video outputs are listed as video. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14222 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
|