summaryrefslogtreecommitdiff
path: root/gtk2_ardour
AgeCommit message (Collapse)Author
2017-04-25Lua: Action Script Dialog & MessageBoxRobin Gareus
2017-04-25Expose ArdourDropdown's menu for submenu packingRobin Gareus
2017-04-25Remove old special case (ArdourDialog::on_response hides the dialog)Robin Gareus
2017-04-24Add regions at once rather than individually when restoring Selection stateTim Mayberry
This is a workaround for performance issues with the current implementation when adding many regions to the selection one at a time. If the Selection implementation was to change at some point and adding regions to the selection only takes a small constant amount of time, then this optimization may no longer be necessary. Related to: #7274
2017-04-22Changed "ardour" to PROGRAM_NAMELen Ovens
2017-04-22Close all dialogs when closing a session (not only at exit).Robin Gareus
2017-04-22Set -b switch to only two columns, correct options text.Len Ovens
2017-04-22amend be62d335eeRobin Gareus
2017-04-21fix endless loop when clicking on the canvas w/o backendRobin Gareus
2017-04-21Add HTML output for -b so that output can replace actions page in manual.Len Ovens
2017-04-21Update preferences when Ctrl-surfaces change with session.Robin Gareus
2017-04-21squelch "curl failed: No Error"Robin Gareus
2017-04-20Show the splash-screen if the engine dialog's run() hid it.Robin Gareus
2017-04-20Run gtk-main iteration after hiding dialogsRobin Gareus
2017-04-20Do not set C++ locale.Robin Gareus
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.
2017-04-20Fix crash when clicking on the canvas while un/loading a session.Robin Gareus
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.
2017-04-20Keep Dialogs which report process around.Robin Gareus
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.
2017-04-19Changes needed for building Tim's new 'string_convert' stuff with MSVC ↵John Emmas
(gtk2_ardour)
2017-04-19Use PBD::to_string in AutomationTimeAxis instead of boost::lexical_cast and ↵Tim Mayberry
string_compose
2017-04-19Use PBD::to_string() from pbd/string_convert.h in VCATimeAxisViewTim Mayberry
2017-04-19Use PBD::to_string from pbd/string_convert.h in VCAMasterStrip classTim Mayberry
2017-04-19Use PBD::to_string from pbd/string_convert.h in SoundFileBox classTim Mayberry
Numeric formatting is equivalent.
2017-04-19Use PBD::to_string from pbd/string_convert.h in RouteTimeAxisTim Mayberry
Numeric formatting is equivalent as LC_NUMERIC=C in global C++ locale
2017-04-19Use PBD::to_string from pbd/string_convert.h in MixerStrip classTim Mayberry
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.
2017-04-19Use PBD::to_string from pbd/string_convert.h in MeterStrip classTim Mayberry
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.
2017-04-19Use PBD::to_string from pbd/string_convert.h in ExportTimespanSelectorTim Mayberry
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.
2017-04-19Use PBD::to_string() from pbd/string_convert.h in ControlSlaveUITim Mayberry
The numeric formatting is equivalent.
2017-04-19Use PBD::to_string instead of std::ostream when setting up video server urlTim Mayberry
To avoid issues with locales that use grouping/thousands separators.
2017-04-19Use PBD::to_string to convert period count in EngineControl classTim Mayberry
The functionality is the same so might as well use it.
2017-04-19Use PBD::to_string to convert bufsize to string in EngineControl classTim Mayberry
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"
2017-04-19Use PBD::string_to functions in VideoUtils::video_query_infoTim Mayberry
LocaleGuard is in use so float <=> string conversions must be expected in C locale format
2017-04-19Use snprintf instead of std::stringstream when converting color values to ↵Tim Mayberry
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.
2017-04-19Use PBD::string_to<bool> in MidiTimeAxisView classTim Mayberry
As the conversion was performed with PBD::to_string
2017-04-19Use PBD::string_to<bool> in RouteTimeAxisView classTim Mayberry
As they were converted from bool to string using PBD::to_string
2017-04-19Remove conditional checks that are always true in RouteTimeAxisView classTim Mayberry
2017-04-19Use AxisView::get/set_gui_property API in RouteTimeAxisView classTim Mayberry
2017-04-19Use AxisView::get/set_gui_property API in MixerStrip classTim Mayberry
2017-04-19Use AxisView::get_gui_property API in AutomationTimeAxis classTim Mayberry
2017-04-19Use AxisView::get_gui_property in AudioRegionView classTim Mayberry
2017-04-19Use AxisView::get_gui_property API in TimeAxisView classTim Mayberry
2017-04-19Use AxisView::get_gui_property API in AxisView classTim Mayberry
2017-04-19Add AxisView::get_gui_property method, use PBD::string_to<T> for string ↵Tim Mayberry
conversion
2017-04-19Use PBD::to_string to convert non-string types in AxisView::set_gui_propertyTim Mayberry
2017-04-19Let AxisView::set_gui_property perform type conversion in ↵Tim Mayberry
TimeAxisView::set_height
2017-04-19Use XMLNode::get_property in AudioClock classTim Mayberry
2017-04-19Use XMLNode::get/set_property API in VideoTimeLine classTim Mayberry
2017-04-19Use XMLNode::set_property API in VideoMonitor classTim Mayberry
2017-04-19Use XMLNode::set_property API in UIConfiguration classTim Mayberry
2017-04-19Use XMLNode::get/set_property API in SelectionMemento classTim Mayberry
2017-04-19Use XMLNode::get/set_property API in Selection classTim Mayberry
There were many possible value truncations occuring and some precision loss with the double conversions.