summaryrefslogtreecommitdiff
path: root/libs
AgeCommit message (Collapse)Author
2017-04-21Notify GUI when tearing down ctrl-surfacesRobin Gareus
2017-04-20NO-OP: whitespaceRobin Gareus
2017-04-20Fix operator precedence (amend e7e9e025)Robin Gareus
2017-04-20Remove unused enumRobin Gareus
2017-04-20Relax LocaleGuardsRobin Gareus
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.
2017-04-20NO-OP: re-order code, add commentsRobin Gareus
2017-04-20FP8: some code comments and cleanupRobin Gareus
2017-04-19Changes needed for building Tim's new 'string_convert' stuff with MSVC ↵John Emmas
(libardour)
2017-04-19Changes needed for building Tim's new 'string_convert' stuff with MSVC (libpbd)John Emmas
2017-04-19Don't explicitly store Auditioner -> Monitor connections.Robin Gareus
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.
2017-04-19Prefer boolean over literalRobin Gareus
2017-04-19Remove cruft. ChanCount::INFINITE is not usedRobin Gareus
2017-04-19Change header include order to try and avoid INFINITE define on windowsTim Mayberry
This doesn't seem to be an issue with a newer version of the Mingw-w64 headers that I use (5.0.2rc2).
2017-04-19Use PBD::string_to_uint32 in Playlist class instead of boost::lexical_castTim Mayberry
2017-04-19Use fixed size type for Playlist sort id as it is serializedTim Mayberry
2017-04-19Add additional PBD::string_to/to_string specializations for PBD::IDTim Mayberry
2017-04-19Use PBD::to_string to set state-dir property in LV2PluginTim Mayberry
To prevent issues with numeric grouping with formatting used by string_compose template/stringstream when global C++ locale != "C"
2017-04-19Use PBD::to_string() in LV2Plugin instead of string_compose for state_dirTim Mayberry
To prevent issues with numeric grouping with formatting used by string_compose template/stringstream when global C++ locale != "C"
2017-04-19Use std::string::operator+ instead of string_compose in VSTPluginTim Mayberry
2017-04-19Use std::string::operator+() instead of string_compose template in Route classTim Mayberry
Using string_compose in this instance doesn't seem necessary, is worse in terms of readability and is no doubt slower.
2017-04-19Remove PBD::to_string() function from pbd/convert.hTim Mayberry
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.
2017-04-19Use PBD::to_string from pbd/string_convert.h in WaveView debug codeTim Mayberry
2017-04-19Use PBD::to_string from pbd/string_convert.h in ARDOUR::VCAManagerTim Mayberry
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-19Use PBD::string_to/to_string in ARDOUR::user_config_directory_name()Tim Mayberry
The numeric formatting is equivalent without requiring a LocaleGuard or the global C++ locale is "C".
2017-04-19Use PBD::to_string from pbd/string_convert.h in ARDOUR::ExportFilenameTim Mayberry
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-19Use XMLNode::get_property in ARDOUR::ElementImporterTim Mayberry
2017-04-19Use PBD::to_string/string_to in ARDOUR::ElementImporter classTim Mayberry
2017-04-19Use PBD::to_string API from pbd/string_convert.h in AudioFileTaggerTim Mayberry
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-19Use PBD::to_string API from pbd/string_convert.h in AudioTrackImporterTim Mayberry
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-19Use PBD::to_string() from pbd/string_convert.h in ardour ALSA utilsTim Mayberry
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-19Use PBD::to_string() from pbd/string_convert.h in JACK utilsTim Mayberry
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-19Use PBD::string_to/to_string when de/serializing in AutomationList classTim Mayberry
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-19Remove unused header include in ARDOUR::Amp source fileTim Mayberry
2017-04-19Use PBD::string_to/to_string in IO::find_possible_bundleTim Mayberry
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-19Use XMLNode::get/set_property API in Faderport surfaceTim Mayberry
2017-04-19Remove now unused PBD::string_is_affirmative functionTim Mayberry
The equivalent function is now PBD::string_to<bool>
2017-04-19Use PBD::string_to<bool>() in GenericMidiControlProtocol classTim Mayberry
Equivalent to PBD::string_is_affirmative()
2017-04-19Use PBD::string_to<bool> in legacy ARDOUR::Route methodsTim Mayberry
2017-04-19Use PBD::string_to<bool> in ARDOUR::Processor classTim Mayberry
2017-04-19Use PBD::string_to<bool> in AudioPlaylist classTim Mayberry
2017-04-19Remove unused XMLNode::add_property methodsTim Mayberry
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-19Use XMLNode::set_property API in xml testsTim Mayberry
2017-04-19Use locale independent string conversion functions in SVAModifier classTim Mayberry
2017-04-19Use XMLNode::get/set_property API in Gtkmm2ext::WindowProxy classTim Mayberry
2017-04-19Use XMLNode::get/set_property API in Gtkmm2ext::Tearoff classTim Mayberry
2017-04-19Use XMLNode::get/set_property API in Gtkmm2ext::Tabbable classTim Mayberry
2017-04-19Use XMLNode::get/set_property API in Gtkmm2ext::Keyboard classTim Mayberry
2017-04-19Use XMLNode::set_property API in Gtkmm2ext::Bindings classTim Mayberry
2017-04-19Use XMLProperty::get/set_property API in CC121 Surface moduleTim Mayberry
2017-04-19Use XMLNode::set_property API in WiimoteControlProtocol classTim Mayberry