ardour.git
7 years agosquelch "curl failed: No Error"
Robin Gareus [Thu, 20 Apr 2017 22:12:20 +0000 (00:12 +0200)]
squelch "curl failed: No Error"

7 years agoNO-OP: whitespace
Robin Gareus [Thu, 20 Apr 2017 21:47:39 +0000 (23:47 +0200)]
NO-OP: whitespace

7 years agoShow the splash-screen if the engine dialog's run() hid it.
Robin Gareus [Thu, 20 Apr 2017 21:16:09 +0000 (23:16 +0200)]
Show the splash-screen if the engine dialog's run() hid it.

7 years agoRun gtk-main iteration after hiding dialogs
Robin Gareus [Thu, 20 Apr 2017 21:15:13 +0000 (23:15 +0200)]
Run gtk-main iteration after hiding dialogs

7 years agoFix operator precedence (amend e7e9e025)
Robin Gareus [Thu, 20 Apr 2017 20:47:45 +0000 (22:47 +0200)]
Fix operator precedence (amend e7e9e025)

7 years agoRemove unused enum
Robin Gareus [Thu, 20 Apr 2017 20:14:36 +0000 (22:14 +0200)]
Remove unused enum

7 years agoRelax LocaleGuards
Robin Gareus [Thu, 20 Apr 2017 20:11:50 +0000 (22:11 +0200)]
Relax LocaleGuards

Arodur itself on longer depends on C/C++ locale for saving/loading sessions.
However, the Localeguard is kept for 3rd party plugins: Reset the C locale
to "C" to enforce consisten numerics and portable sessions as well
as verify that no plugin changes the C++ locale.

7 years agoDo not set C++ locale.
Robin Gareus [Thu, 20 Apr 2017 20:12:18 +0000 (22:12 +0200)]
Do not set C++ locale.

Ardour translations and GUI string formatting only depends on the C locale.
Modifying the C++ locale may produce erratic results on various systems
(in particular OSX and macOS) and cause incompatibilies with plugins.

7 years agoFix crash when clicking on the canvas while un/loading a session.
Robin Gareus [Thu, 20 Apr 2017 17:41:06 +0000 (19:41 +0200)]
Fix crash when clicking on the canvas while un/loading a session.

GTK events are still handled while un/loading a session (e.g display
"Loading" message or showing the splash triggers an event-loop run).
Global canvas elements (e.g. Rulers) may respond to session-specific
actions.

7 years agoKeep Dialogs which report process around.
Robin Gareus [Thu, 20 Apr 2017 17:03:52 +0000 (19:03 +0200)]
Keep Dialogs which report process around.

Since 5.8-245-g3e43585fa, a response hides the dialog Window
in ArdourDialog::on_response (to prevent dialogs windows staying
around unresponsively while Ardour does background work).
This logic does not apply to Dialog Windows which implement
ProgressReporter or support dialog responses other than OK, Close.

7 years agoNO-OP: re-order code, add comments
Robin Gareus [Thu, 20 Apr 2017 15:19:03 +0000 (17:19 +0200)]
NO-OP: re-order code, add comments

7 years agoFP8: some code comments and cleanup
Robin Gareus [Thu, 20 Apr 2017 14:06:47 +0000 (16:06 +0200)]
FP8: some code comments and cleanup

7 years agoChanges needed for building Tim's new 'string_convert' stuff with MSVC (gtk2_ardour)
John Emmas [Wed, 19 Apr 2017 16:23:52 +0000 (17:23 +0100)]
Changes needed for building Tim's new 'string_convert' stuff with MSVC (gtk2_ardour)

7 years agoChanges needed for building Tim's new 'string_convert' stuff with MSVC (libardour)
John Emmas [Wed, 19 Apr 2017 16:22:44 +0000 (17:22 +0100)]
Changes needed for building Tim's new 'string_convert' stuff with MSVC (libardour)

7 years agoChanges needed for building Tim's new 'string_convert' stuff with MSVC (libpbd)
John Emmas [Wed, 19 Apr 2017 16:21:12 +0000 (17:21 +0100)]
Changes needed for building Tim's new 'string_convert' stuff with MSVC (libpbd)

7 years agoDon't explicitly store Auditioner -> Monitor connections.
Robin Gareus [Wed, 19 Apr 2017 14:38:41 +0000 (16:38 +0200)]
Don't explicitly store Auditioner -> Monitor connections.

The monitor section connection is implicit and done by default.
This fixes an issue with the auditioner connections being lost when
switching between sessions that use/don't use the monitor-section.

Previously:
1) load session with monitor section, save session
  -> global config explicitly saved
  "auditioner-output-left" -> "ardour:Monitor/audio_in 1"

2) Load a session w/o monitor-section. The config is parsed,
  "ardour:Monitor/audio_in" port does not exist, connection was lost.

7 years agoPrefer boolean over literal
Robin Gareus [Wed, 19 Apr 2017 10:51:11 +0000 (12:51 +0200)]
Prefer boolean over literal

7 years agoRemove cruft. ChanCount::INFINITE is not used
Robin Gareus [Wed, 19 Apr 2017 09:43:08 +0000 (11:43 +0200)]
Remove cruft. ChanCount::INFINITE is not used

7 years agoChange header include order to try and avoid INFINITE define on windows
Tim Mayberry [Wed, 19 Apr 2017 08:04:10 +0000 (18:04 +1000)]
Change header include order to try and avoid INFINITE define on windows

This doesn't seem to be an issue with a newer version of the Mingw-w64 headers
that I use (5.0.2rc2).

7 years agoUse PBD::string_to_uint32 in Playlist class instead of boost::lexical_cast
Tim Mayberry [Tue, 4 Apr 2017 07:54:52 +0000 (17:54 +1000)]
Use PBD::string_to_uint32 in Playlist class instead of boost::lexical_cast

7 years agoUse fixed size type for Playlist sort id as it is serialized
Tim Mayberry [Tue, 4 Apr 2017 07:50:54 +0000 (17:50 +1000)]
Use fixed size type for Playlist sort id as it is serialized

7 years agoUse PBD::to_string in AutomationTimeAxis instead of boost::lexical_cast and string_co...
Tim Mayberry [Tue, 4 Apr 2017 07:42:22 +0000 (17:42 +1000)]
Use PBD::to_string in AutomationTimeAxis instead of boost::lexical_cast and string_compose

7 years agoAdd additional PBD::string_to/to_string specializations for PBD::ID
Tim Mayberry [Sat, 15 Apr 2017 12:02:40 +0000 (22:02 +1000)]
Add additional PBD::string_to/to_string specializations for PBD::ID

7 years agoUse PBD::to_string to set state-dir property in LV2Plugin
Tim Mayberry [Tue, 27 Sep 2016 09:57:26 +0000 (19:57 +1000)]
Use PBD::to_string to set state-dir property in LV2Plugin

To prevent issues with numeric grouping with formatting used by string_compose
template/stringstream when global C++ locale != "C"

7 years agoUse PBD::to_string() in LV2Plugin instead of string_compose for state_dir
Tim Mayberry [Tue, 27 Sep 2016 06:33:05 +0000 (16:33 +1000)]
Use PBD::to_string() in LV2Plugin instead of string_compose for state_dir

To prevent issues with numeric grouping with formatting used by string_compose
template/stringstream when global C++ locale != "C"

7 years agoUse std::string::operator+ instead of string_compose in VSTPlugin
Tim Mayberry [Tue, 27 Sep 2016 06:59:52 +0000 (16:59 +1000)]
Use std::string::operator+ instead of string_compose in VSTPlugin

7 years agoUse std::string::operator+() instead of string_compose template in Route class
Tim Mayberry [Tue, 27 Sep 2016 06:03:54 +0000 (16:03 +1000)]
Use std::string::operator+() instead of string_compose template in Route class

Using string_compose in this instance doesn't seem necessary, is worse in terms
of readability and is no doubt slower.

7 years agoRemove PBD::to_string() function from pbd/convert.h
Tim Mayberry [Wed, 21 Sep 2016 06:23:34 +0000 (16:23 +1000)]
Remove PBD::to_string() function from pbd/convert.h

All uses of this function have now been replaced by PBD::to_string() from
pbd/string_convert.h

Remove this function so that it isn't mistakenly used to perform numeric to
string conversion when the result is being used for serialization as that only
works if the global C++ locale is set with LC_NUMERIC=C, which is the case
currently but may not be in the future.

7 years agoUse PBD::to_string() from pbd/string_convert.h in VCATimeAxisView
Tim Mayberry [Wed, 21 Sep 2016 05:43:56 +0000 (15:43 +1000)]
Use PBD::to_string() from pbd/string_convert.h in VCATimeAxisView

7 years agoUse PBD::to_string from pbd/string_convert.h in VCAMasterStrip class
Tim Mayberry [Wed, 21 Sep 2016 05:38:42 +0000 (15:38 +1000)]
Use PBD::to_string from pbd/string_convert.h in VCAMasterStrip class

7 years agoUse PBD::to_string from pbd/string_convert.h in SoundFileBox class
Tim Mayberry [Wed, 7 Dec 2016 05:48:23 +0000 (15:48 +1000)]
Use PBD::to_string from pbd/string_convert.h in SoundFileBox class

Numeric formatting is equivalent.

7 years agoUse PBD::to_string from pbd/string_convert.h in RouteTimeAxis
Tim Mayberry [Wed, 21 Sep 2016 05:25:30 +0000 (15:25 +1000)]
Use PBD::to_string from pbd/string_convert.h in RouteTimeAxis

Numeric formatting is equivalent as LC_NUMERIC=C in global C++ locale

7 years agoUse PBD::to_string from pbd/string_convert.h in MixerStrip class
Tim Mayberry [Wed, 21 Sep 2016 05:20:22 +0000 (15:20 +1000)]
Use PBD::to_string from pbd/string_convert.h in MixerStrip class

The numeric formatting is equivalent. Even though this string is being used in
the UI as a label I think this is another case where we don't want a localized
numeric string, which would only be relevant with a track count >=1000.

7 years agoUse PBD::to_string from pbd/string_convert.h in MeterStrip class
Tim Mayberry [Wed, 21 Sep 2016 04:50:01 +0000 (14:50 +1000)]
Use PBD::to_string from pbd/string_convert.h in MeterStrip class

The numeric formatting is equivalent. The string is being used in a label so it
could be argued that we want localized numeric formatting in this case, but as
it is only relevant if we have >=1000 meter strip keep it the same for now.

7 years agoUse PBD::to_string from pbd/string_convert.h in ExportTimespanSelector
Tim Mayberry [Wed, 21 Sep 2016 04:42:13 +0000 (14:42 +1000)]
Use PBD::to_string from pbd/string_convert.h in ExportTimespanSelector

The C++ global locale is currently set to LC_NUMERIC=C by the first instance of
LocaleGuard so this change means numeric formatting is equivalent.

As the string is being used to construct a label, perhaps we do want to
generate localized numeric formatting in this case. Anyway keep it the same for
now.

7 years agoUse PBD::to_string() from pbd/string_convert.h in ControlSlaveUI
Tim Mayberry [Wed, 21 Sep 2016 02:58:56 +0000 (12:58 +1000)]
Use PBD::to_string() from pbd/string_convert.h in ControlSlaveUI

The numeric formatting is equivalent.

7 years agoUse PBD::to_string from pbd/string_convert.h in WaveView debug code
Tim Mayberry [Wed, 21 Sep 2016 02:52:36 +0000 (12:52 +1000)]
Use PBD::to_string from pbd/string_convert.h in WaveView debug code

7 years agoUse PBD::to_string from pbd/string_convert.h in ARDOUR::VCAManager
Tim Mayberry [Wed, 21 Sep 2016 02:41:42 +0000 (12:41 +1000)]
Use PBD::to_string from pbd/string_convert.h in ARDOUR::VCAManager

The numeric formatting is equivalent to iostreams when global C++ locale is set
to "C" without the need for a LocaleGuard.

I'm not sure this would have been an issue as the number of VCA's may never get
high enough for digit grouping of the locale to affect numeric output, but now
it is not a possibility.

7 years agoUse PBD::string_to/to_string in ARDOUR::user_config_directory_name()
Tim Mayberry [Wed, 21 Sep 2016 02:17:19 +0000 (12:17 +1000)]
Use PBD::string_to/to_string in ARDOUR::user_config_directory_name()

The numeric formatting is equivalent without requiring a LocaleGuard or the
global C++ locale is "C".

7 years agoUse PBD::to_string from pbd/string_convert.h in ARDOUR::ExportFilename
Tim Mayberry [Wed, 21 Sep 2016 01:38:22 +0000 (11:38 +1000)]
Use PBD::to_string from pbd/string_convert.h in ARDOUR::ExportFilename

The numeric formatting is equivalent to using iostreams in the C locale without
having to use a LocaleGuard or set global C++ locale.

7 years agoUse XMLNode::get_property in ARDOUR::ElementImporter
Tim Mayberry [Wed, 21 Sep 2016 01:30:31 +0000 (11:30 +1000)]
Use XMLNode::get_property in ARDOUR::ElementImporter

7 years agoUse PBD::to_string/string_to in ARDOUR::ElementImporter class
Tim Mayberry [Wed, 21 Sep 2016 01:25:51 +0000 (11:25 +1000)]
Use PBD::to_string/string_to in ARDOUR::ElementImporter class

7 years agoUse PBD::to_string API from pbd/string_convert.h in AudioFileTagger
Tim Mayberry [Tue, 20 Sep 2016 12:56:39 +0000 (22:56 +1000)]
Use PBD::to_string API from pbd/string_convert.h in AudioFileTagger

Use pbd/string_convert.h API instead of std::ostream for numeric formatting to
remain locale independent and not have to use a LocaleGuard. The formatting is
equivalent.

7 years agoUse PBD::to_string API from pbd/string_convert.h in AudioTrackImporter
Tim Mayberry [Tue, 20 Sep 2016 12:48:59 +0000 (22:48 +1000)]
Use PBD::to_string API from pbd/string_convert.h in AudioTrackImporter

Use pbd/string_convert.h API instead of std::ostream for numeric formatting to
remain locale independent and not have to use a LocaleGuard. The formatting
is equivalent.

The code in this file has been disabled in the GUI for some time...and I doubt
it would now work correctly.

7 years agoUse PBD::to_string() from pbd/string_convert.h in ardour ALSA utils
Tim Mayberry [Tue, 20 Sep 2016 12:27:21 +0000 (22:27 +1000)]
Use PBD::to_string() from pbd/string_convert.h in ardour ALSA utils

Use pbd/string_convert.h API instead of std::ostream for numeric formatting to
remain locale independent and not have to use a LocaleGuard. The formatting is
equivalent

7 years agoUse PBD::to_string() from pbd/string_convert.h in JACK utils
Tim Mayberry [Tue, 20 Sep 2016 12:19:55 +0000 (22:19 +1000)]
Use PBD::to_string() from pbd/string_convert.h in JACK utils

Use pbd/string_convert.h API instead of std::ostream for numeric formatting to
remain locale independent and not have to use a LocaleGuard.

7 years agoUse PBD::string_to/to_string when de/serializing in AutomationList class
Tim Mayberry [Thu, 8 Sep 2016 00:19:12 +0000 (10:19 +1000)]
Use PBD::string_to/to_string when de/serializing in AutomationList class

This avoids requiring a LocaleGuard to get the correct numeric formatting and
saves/restores the automation data to the precision required for roundtrip
equality.

7 years agoRemove unused header include in ARDOUR::Amp source file
Tim Mayberry [Wed, 7 Sep 2016 13:11:48 +0000 (23:11 +1000)]
Remove unused header include in ARDOUR::Amp source file

7 years agoUse PBD::string_to/to_string in IO::find_possible_bundle
Tim Mayberry [Wed, 7 Sep 2016 13:07:36 +0000 (23:07 +1000)]
Use PBD::string_to/to_string in IO::find_possible_bundle

Possible issue with numeric formatting using std::streams in locales with
grouping. Although I don't think it would be an issue in this case use locale
independant alternative for numeric formatting anyway.

7 years agoUse PBD::to_string instead of std::ostream when setting up video server url
Tim Mayberry [Wed, 7 Sep 2016 12:56:50 +0000 (22:56 +1000)]
Use PBD::to_string instead of std::ostream when setting up video server url

To avoid issues with locales that use grouping/thousands separators.

7 years agoUse PBD::to_string to convert period count in EngineControl class
Tim Mayberry [Tue, 6 Sep 2016 11:56:08 +0000 (21:56 +1000)]
Use PBD::to_string to convert period count in EngineControl class

The functionality is the same so might as well use it.

7 years agoUse PBD::to_string to convert bufsize to string in EngineControl class
Tim Mayberry [Tue, 6 Sep 2016 11:39:27 +0000 (21:39 +1000)]
Use PBD::to_string to convert bufsize to string in EngineControl class

string_compose uses std::ostream/stringstream which will insert thousands
separators in some locales. This was not a problem when LocaleGuard set the
global C++ locale to "C"

7 years agoUse PBD::string_to functions in VideoUtils::video_query_info
Tim Mayberry [Sun, 4 Sep 2016 23:28:50 +0000 (09:28 +1000)]
Use PBD::string_to functions in VideoUtils::video_query_info

LocaleGuard is in use so float <=> string conversions must be expected in C
locale format

7 years agoUse snprintf instead of std::stringstream when converting color values to strings
Tim Mayberry [Tue, 6 Sep 2016 04:27:10 +0000 (14:27 +1000)]
Use snprintf instead of std::stringstream when converting color values to strings

std::ostream/stringstream will use the current locale to determine the numeric
formatting. If the locale uses grouping then thousands separators will be
inserted in the output which produces an invalid color string in
UIConfiguration::reset_gtk_theme() and when converting colors to strings in
UIConfiguration::store_color_theme()

This has not been a problem so far because it appears that LocaleGuard does not
reset the LC_NUMERIC value for the global C++ locale. So if a LocaleGuard is
created at any time before these functions are called(even if it goes out of
scope) the numeric formatting used by std::streams will use the "C" locale
formatting facets.

7 years agoUse XMLNode::get/set_property API in Faderport surface
Tim Mayberry [Sat, 15 Apr 2017 02:13:39 +0000 (12:13 +1000)]
Use XMLNode::get/set_property API in Faderport surface

7 years agoRemove now unused PBD::string_is_affirmative function
Tim Mayberry [Wed, 31 Aug 2016 05:38:55 +0000 (15:38 +1000)]
Remove now unused PBD::string_is_affirmative function

The equivalent function is now PBD::string_to<bool>

7 years agoUse PBD::string_to<bool> in MidiTimeAxisView class
Tim Mayberry [Tue, 30 Aug 2016 12:34:40 +0000 (22:34 +1000)]
Use PBD::string_to<bool> in MidiTimeAxisView class

As the conversion was performed with PBD::to_string

7 years agoUse PBD::string_to<bool> in RouteTimeAxisView class
Tim Mayberry [Tue, 30 Aug 2016 12:37:34 +0000 (22:37 +1000)]
Use PBD::string_to<bool> in RouteTimeAxisView class

As they were converted from bool to string using PBD::to_string

7 years agoRemove conditional checks that are always true in RouteTimeAxisView class
Tim Mayberry [Tue, 30 Aug 2016 11:53:50 +0000 (21:53 +1000)]
Remove conditional checks that are always true in RouteTimeAxisView class

7 years agoUse PBD::string_to<bool>() in GenericMidiControlProtocol class
Tim Mayberry [Wed, 31 Aug 2016 04:45:16 +0000 (14:45 +1000)]
Use PBD::string_to<bool>() in GenericMidiControlProtocol class

Equivalent to PBD::string_is_affirmative()

7 years agoUse PBD::string_to<bool> in legacy ARDOUR::Route methods
Tim Mayberry [Wed, 31 Aug 2016 05:37:03 +0000 (15:37 +1000)]
Use PBD::string_to<bool> in legacy ARDOUR::Route methods

7 years agoUse PBD::string_to<bool> in ARDOUR::Processor class
Tim Mayberry [Wed, 31 Aug 2016 05:36:01 +0000 (15:36 +1000)]
Use PBD::string_to<bool> in ARDOUR::Processor class

7 years agoUse PBD::string_to<bool> in AudioPlaylist class
Tim Mayberry [Wed, 31 Aug 2016 05:35:07 +0000 (15:35 +1000)]
Use PBD::string_to<bool> in AudioPlaylist class

7 years agoUse AxisView::get/set_gui_property API in RouteTimeAxisView class
Tim Mayberry [Tue, 30 Aug 2016 12:36:45 +0000 (22:36 +1000)]
Use AxisView::get/set_gui_property API in RouteTimeAxisView class

7 years agoUse AxisView::get/set_gui_property API in MixerStrip class
Tim Mayberry [Tue, 30 Aug 2016 12:33:39 +0000 (22:33 +1000)]
Use AxisView::get/set_gui_property API in MixerStrip class

7 years agoUse AxisView::get_gui_property API in AutomationTimeAxis class
Tim Mayberry [Tue, 30 Aug 2016 12:32:13 +0000 (22:32 +1000)]
Use AxisView::get_gui_property API in AutomationTimeAxis class

7 years agoUse AxisView::get_gui_property in AudioRegionView class
Tim Mayberry [Tue, 30 Aug 2016 12:29:58 +0000 (22:29 +1000)]
Use AxisView::get_gui_property in AudioRegionView class

7 years agoUse AxisView::get_gui_property API in TimeAxisView class
Tim Mayberry [Thu, 1 Sep 2016 11:29:57 +0000 (21:29 +1000)]
Use AxisView::get_gui_property API in TimeAxisView class

7 years agoUse AxisView::get_gui_property API in AxisView class
Tim Mayberry [Tue, 30 Aug 2016 12:33:00 +0000 (22:33 +1000)]
Use AxisView::get_gui_property API in AxisView class

7 years agoAdd AxisView::get_gui_property method, use PBD::string_to<T> for string conversion
Tim Mayberry [Tue, 30 Aug 2016 11:07:24 +0000 (21:07 +1000)]
Add AxisView::get_gui_property method, use PBD::string_to<T> for string conversion

7 years agoUse PBD::to_string to convert non-string types in AxisView::set_gui_property
Tim Mayberry [Tue, 30 Aug 2016 10:02:26 +0000 (20:02 +1000)]
Use PBD::to_string to convert non-string types in AxisView::set_gui_property

7 years agoLet AxisView::set_gui_property perform type conversion in TimeAxisView::set_height
Tim Mayberry [Tue, 30 Aug 2016 09:59:49 +0000 (19:59 +1000)]
Let AxisView::set_gui_property perform type conversion in TimeAxisView::set_height

7 years agoRemove unused XMLNode::add_property methods
Tim Mayberry [Tue, 30 Aug 2016 08:59:05 +0000 (18:59 +1000)]
Remove unused XMLNode::add_property methods

These are now unused and functionality is replaced by XMLNode::set_property

set_property is a better name as a node can only have properties with unique
names and the property will be set or reset(if it already exists). Changing the
name also makes it easier to transition and test the new API.

7 years agoUse XMLNode::set_property API in xml tests
Tim Mayberry [Mon, 26 Sep 2016 13:05:47 +0000 (23:05 +1000)]
Use XMLNode::set_property API in xml tests

7 years agoUse XMLNode::set_property API in copy-mixer Session utility
Tim Mayberry [Tue, 30 Aug 2016 04:01:52 +0000 (14:01 +1000)]
Use XMLNode::set_property API in copy-mixer Session utility

7 years agoUse XMLNode::get_property in AudioClock class
Tim Mayberry [Tue, 30 Aug 2016 07:16:34 +0000 (17:16 +1000)]
Use XMLNode::get_property in AudioClock class

7 years agoUse XMLNode::get/set_property API in VideoTimeLine class
Tim Mayberry [Mon, 29 Aug 2016 13:34:13 +0000 (23:34 +1000)]
Use XMLNode::get/set_property API in VideoTimeLine class

7 years agoUse XMLNode::set_property API in VideoMonitor class
Tim Mayberry [Mon, 29 Aug 2016 12:04:57 +0000 (22:04 +1000)]
Use XMLNode::set_property API in VideoMonitor class

7 years agoUse XMLNode::set_property API in UIConfiguration class
Tim Mayberry [Mon, 29 Aug 2016 12:02:11 +0000 (22:02 +1000)]
Use XMLNode::set_property API in UIConfiguration class

7 years agoUse XMLNode::get/set_property API in SelectionMemento class
Tim Mayberry [Mon, 29 Aug 2016 11:33:17 +0000 (21:33 +1000)]
Use XMLNode::get/set_property API in SelectionMemento class

7 years agoUse XMLNode::get/set_property API in Selection class
Tim Mayberry [Wed, 7 Dec 2016 04:41:46 +0000 (14:41 +1000)]
Use XMLNode::get/set_property API in Selection class

There were many possible value truncations occuring and some precision loss
with the double conversions.

7 years agoUse XMLNode::get/set_property API in ProcessorBox and ProcessorWindowProxy classes
Tim Mayberry [Mon, 29 Aug 2016 10:16:08 +0000 (20:16 +1000)]
Use XMLNode::get/set_property API in ProcessorBox and ProcessorWindowProxy classes

7 years agoUse XMLNode::get/set_property API in ProcessorBox class
Tim Mayberry [Mon, 29 Aug 2016 09:51:55 +0000 (19:51 +1000)]
Use XMLNode::get/set_property API in ProcessorBox class

7 years agoUse XMLNode::get/set_property API in MeterBridge class
Tim Mayberry [Mon, 29 Aug 2016 08:50:04 +0000 (18:50 +1000)]
Use XMLNode::get/set_property API in MeterBridge class

7 years agoUse XMLNode::set_property API in LuaInstance class
Tim Mayberry [Mon, 29 Aug 2016 08:14:47 +0000 (18:14 +1000)]
Use XMLNode::set_property API in LuaInstance class

Didn't seem worth converting from XMLNode::property API to
XMLNode::get_property and there may be some ordering issues.

7 years agoUse XMLNode::get/set_property API in LocationUI class
Tim Mayberry [Mon, 29 Aug 2016 08:11:04 +0000 (18:11 +1000)]
Use XMLNode::get/set_property API in LocationUI class

7 years agoUse XMLNode::get/set_property API in Keyboard class
Tim Mayberry [Mon, 29 Aug 2016 08:06:29 +0000 (18:06 +1000)]
Use XMLNode::get/set_property API in Keyboard class

7 years agoUse XMLNode::get_property API in AutomationTimeAxis class
Tim Mayberry [Tue, 30 Aug 2016 12:31:25 +0000 (22:31 +1000)]
Use XMLNode::get_property API in AutomationTimeAxis class

7 years agoUse XMLNode::set_property API in GUIObject class
Tim Mayberry [Mon, 29 Aug 2016 07:54:11 +0000 (17:54 +1000)]
Use XMLNode::set_property API in GUIObject class

7 years agoUse XMLNode::get/set_property in ExportVideoDialog class
Tim Mayberry [Mon, 29 Aug 2016 07:18:45 +0000 (17:18 +1000)]
Use XMLNode::get/set_property in ExportVideoDialog class

7 years agoUse XMLNode::get/set_property API in EditorRulers class
Tim Mayberry [Sun, 28 Aug 2016 23:36:10 +0000 (09:36 +1000)]
Use XMLNode::get/set_property API in EditorRulers class

7 years agoUse XMLNode::get/set_property API in EditorRegions class
Tim Mayberry [Sun, 28 Aug 2016 23:27:25 +0000 (09:27 +1000)]
Use XMLNode::get/set_property API in EditorRegions class

7 years agoUse XMLNode::set_property API in ARDOUR_UI class
Tim Mayberry [Sun, 28 Aug 2016 23:12:35 +0000 (09:12 +1000)]
Use XMLNode::set_property API in ARDOUR_UI class

7 years agoUse XMLNode::get/set_property API in ARDOUR_UI class
Tim Mayberry [Sun, 28 Aug 2016 22:58:39 +0000 (08:58 +1000)]
Use XMLNode::get/set_property API in ARDOUR_UI class

7 years agoAdd AudioClock::on() method as convenience method for serialization
Tim Mayberry [Sun, 28 Aug 2016 22:57:43 +0000 (08:57 +1000)]
Add AudioClock::on() method as convenience method for serialization

7 years agoUse XMLNode::get/set_property API in Mixer_UI class
Tim Mayberry [Sat, 27 Aug 2016 04:15:18 +0000 (14:15 +1000)]
Use XMLNode::get/set_property API in Mixer_UI class

7 years agoRemove unused header include in video_timeline.cc
Tim Mayberry [Sat, 20 Aug 2016 13:45:44 +0000 (23:45 +1000)]
Remove unused header include in video_timeline.cc

7 years agoUse XMLNode::get/set_property API in Editor class
Tim Mayberry [Sat, 27 Aug 2016 03:44:57 +0000 (13:44 +1000)]
Use XMLNode::get/set_property API in Editor class

7 years agoUse XMLNode::get/set_property API in EngineDialog class
Tim Mayberry [Sat, 27 Aug 2016 01:14:54 +0000 (11:14 +1000)]
Use XMLNode::get/set_property API in EngineDialog class

Fixes many of the type conversions but I doubt any would have been an issue.

LocaleGuard is no longer necessary

7 years agoAdd PBD::to_string/string_to template specialisations for types in editing.h
Tim Mayberry [Sat, 27 Aug 2016 03:44:21 +0000 (13:44 +1000)]
Add PBD::to_string/string_to template specialisations for types in editing.h