Tim Mayberry
926a064744
Use PBD::to_string from pbd/string_convert.h in WaveView debug code
2017-04-19 09:37:01 +10:00
Tim Mayberry
aede5c85d5
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.
2017-04-19 09:37:00 +10:00
Tim Mayberry
2386dc7ede
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".
2017-04-19 09:37:00 +10:00
Tim Mayberry
797fbfc5de
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.
2017-04-19 09:37:00 +10:00
Tim Mayberry
0ae2985a21
Use XMLNode::get_property in ARDOUR::ElementImporter
2017-04-19 09:37:00 +10:00
Tim Mayberry
5c387b76b8
Use PBD::to_string/string_to in ARDOUR::ElementImporter class
2017-04-19 09:37:00 +10:00
Tim Mayberry
37d76e4104
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.
2017-04-19 09:37:00 +10:00
Tim Mayberry
0dbb9e6346
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.
2017-04-19 09:37:00 +10:00
Tim Mayberry
0de5722fb1
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
2017-04-19 09:37:00 +10:00
Tim Mayberry
bf5864aaca
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.
2017-04-19 09:37:00 +10:00
Tim Mayberry
ca7bbea6d8
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.
2017-04-19 09:37:00 +10:00
Tim Mayberry
c65f30b4b1
Remove unused header include in ARDOUR::Amp source file
2017-04-19 09:36:59 +10:00
Tim Mayberry
18011482bb
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.
2017-04-19 09:36:59 +10:00
Tim Mayberry
0656d5ab1a
Use XMLNode::get/set_property API in Faderport surface
2017-04-19 09:36:59 +10:00
Tim Mayberry
ac8b5192cd
Remove now unused PBD::string_is_affirmative function
...
The equivalent function is now PBD::string_to<bool>
2017-04-19 09:36:59 +10:00
Tim Mayberry
23eb1fbf01
Use PBD::string_to<bool>() in GenericMidiControlProtocol class
...
Equivalent to PBD::string_is_affirmative()
2017-04-19 09:36:59 +10:00
Tim Mayberry
04a027a031
Use PBD::string_to<bool> in legacy ARDOUR::Route methods
2017-04-19 09:36:58 +10:00
Tim Mayberry
9ce1d7c357
Use PBD::string_to<bool> in ARDOUR::Processor class
2017-04-19 09:36:58 +10:00
Tim Mayberry
603d944530
Use PBD::string_to<bool> in AudioPlaylist class
2017-04-19 09:36:58 +10:00
Tim Mayberry
6e467153a0
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.
2017-04-19 09:36:57 +10:00
Tim Mayberry
e4b1ece143
Use XMLNode::set_property API in xml tests
2017-04-19 09:36:57 +10:00
Tim Mayberry
7085d7305d
Use locale independent string conversion functions in SVAModifier class
2017-04-19 09:36:55 +10:00
Tim Mayberry
9488cb0b69
Use XMLNode::get/set_property API in Gtkmm2ext::WindowProxy class
2017-04-19 09:36:55 +10:00
Tim Mayberry
6779770fee
Use XMLNode::get/set_property API in Gtkmm2ext::Tearoff class
2017-04-19 09:36:55 +10:00
Tim Mayberry
c627da0a9f
Use XMLNode::get/set_property API in Gtkmm2ext::Tabbable class
2017-04-19 09:36:55 +10:00
Tim Mayberry
1f3589b122
Use XMLNode::get/set_property API in Gtkmm2ext::Keyboard class
2017-04-19 09:36:55 +10:00
Tim Mayberry
ac89bfd229
Use XMLNode::set_property API in Gtkmm2ext::Bindings class
2017-04-19 09:36:54 +10:00
Tim Mayberry
7170dd84d8
Use XMLProperty::get/set_property API in CC121 Surface module
2017-04-19 09:36:54 +10:00
Tim Mayberry
bd533e305d
Use XMLNode::set_property API in WiimoteControlProtocol class
2017-04-19 09:36:54 +10:00
Tim Mayberry
bd3965e278
Use XMLNode::get/set_property in Push2 surface
...
Fix push2 property names to use hyphen word separator.
2017-04-19 09:36:54 +10:00
Tim Mayberry
0df955412e
Use XMLNode::set_property in OSC_GUI class
2017-04-19 09:36:54 +10:00
Tim Mayberry
6c1e7153ef
Use XMLNode::get/set_property API in OSC class
2017-04-19 09:36:54 +10:00
Tim Mayberry
1680811dbf
Use XMLNode::get_property API in Mackie DeviceInfo class
2017-04-19 09:36:54 +10:00
Tim Mayberry
77b4e041ac
Use XMLNode::get/set_property API in mackie Surface class
2017-04-19 09:36:54 +10:00
Tim Mayberry
86f403cbbd
Use XMLNode::get/set_property API in MackieControlProtocol class
2017-04-19 09:36:54 +10:00
Tim Mayberry
9554dd4445
Use XMLNode::get/set_property API in mackie surface DeviceProfile class
2017-04-19 09:36:54 +10:00
Tim Mayberry
f82cb87f0c
Use XMLNode::get/set_property API in MIDIControllable class
2017-04-19 09:36:54 +10:00
Tim Mayberry
3be0170e82
Use XMLNode::get/set_property API in GenericMidiControlProtocol class
2017-04-19 09:36:54 +10:00
Tim Mayberry
f28bfb2648
Use XMLNode::get/set_property API in FaderPort class
2017-04-19 09:36:54 +10:00
Tim Mayberry
8144b197c0
Use XMLNode::get/set_property API in ARDOUR::ControlProtocol class
2017-04-19 09:36:54 +10:00
Tim Mayberry
a59288a1f2
Use XMLNode::set_property API in all Panner classes
2017-04-19 09:36:53 +10:00
Tim Mayberry
f9af328bca
Use XMLProperty::get/set_property API in PortManager class
2017-04-19 09:36:53 +10:00
Tim Mayberry
161cd4f3cd
Use XMLNode::get/set_property API in ARDOUR::VCA class
2017-04-19 09:36:53 +10:00
Tim Mayberry
e8d0c2324f
Use XMLNode::get/set_property API in ARDOUR::UserBundle class
2017-04-19 09:36:53 +10:00
Tim Mayberry
81b0da4067
Use XMLNode::get/set_property API in ARDOUR::Track class
2017-04-19 09:36:53 +10:00
Tim Mayberry
12ffebab05
Use XMLNode::get/set_property API in ARDOUR::Source class
2017-04-19 09:36:53 +10:00
Tim Mayberry
baf0cf9393
Use XMLNode::set_property API in ARDOUR::SMFSource class
2017-04-19 09:36:53 +10:00
Tim Mayberry
e6eab345a1
Use XMLNode::get/set_property API in ARDOUR::SlavableAutomationControl class
2017-04-19 09:36:53 +10:00
Tim Mayberry
9ec25b307b
Use XMLNode::get/set_property API in ARDOUR::Slavable class
2017-04-19 09:36:53 +10:00
Tim Mayberry
89519d2e37
Use XMLNode::set_property in ARDOUR::SideChain class
2017-04-19 09:36:53 +10:00