Commit graph

8571 commits

Author SHA1 Message Date
Tim Mayberry
2437bbbe23 Fix state restoration in Engine dialog for Backends with driver selection
Connect to the backend_combo changed signal after setting state as calling
backend_combo.set_active_text() in set_state was triggering backend_changed(),
which would then see the driver_combo had not been set and set it to the
incorrect value.

The value/name of the backend needs to be restored first then we can populate
the driver combo and set the correct active entry from the saved state. After
which backend_changed() will populate the device combo's etc so they can then
be set to the correct active values from the saved state.
2015-07-31 09:59:53 +10:00
Robin Gareus
b2817bfac5 make it easier to get errors out of GTK + Glib 2015-07-30 19:05:12 +02:00
Robin Gareus
a021da9a9d oops. 2015-07-29 03:34:27 +02:00
Robin Gareus
36f6aa9356 work-around OSX loadlocale thread safety.
This is not a real fix; just a stop-gap for the worst offender.

iostream on OSX is not thread safe.
Sadly no crash report so far managed to catch the 2nd thread in action.
looks like the GUI thread is preempted, 2nd thread succeeds, and the 
crash occurs later).

see also https://discussions.apple.com/thread/3479591

crash in
   s << c->internal_to_user (c->get_value ());

ardour-4.1.335(5000,0x7fff777f5300) malloc: *** error for object 0x7fe2f3e06170: pointer being freed was not allocated
1   libsystem_c.dylib       abort + 129
2   libsystem_malloc.dylib  free + 428
3   libsystem_c.dylib       __numeric_load_locale + 544
4   libsystem_c.dylib       loadlocale + 216
5   libstdc++.6.dylib       std::__convert_from_v(int* const&, char*, int, char const*, ...) + 193
6   libstdc++.6.dylib       std::ostreambuf_iterator<char, std::char_traits<char> > std::num_put<char, std::ostreambuf_iterator<char, std::char_traits<char> > >::_M_insert_float<double>(std::ostreambuf_iterator<char, std::char_traits<char> >, std::ios_base&, char, char, double) const + 193
7   libstdc++.6.dylib       std::ostream& std::ostream::_M_insert<double>(double) + 221
8   ardour-4.1.335          ProcessorEntry::Control::set_tooltip() + 854 (processor_box.cc:578)
9   ardour-4.1.335          ProcessorEntry::Control::control_changed() + 446 (processor_box.cc:637)
10  ibpbd.dylib             PBD::StandardTimer::on_elapsed()
2015-07-28 20:54:43 +02:00
John Emmas
a7508a9cf0 When printing an XML related error, guard against NULL pointers getting passed to our error stream 2015-07-23 17:55:14 +01:00
Robin Gareus
e1f168de11 rename Marker class
Classes are in the global namespace.
OSX has a flat namespace and OSX32bit/Carbon has a Marker too.
2015-07-23 17:58:40 +02:00
Robin Gareus
775a400007 amend a3c21ae, video-server localhost -> 127.0.0.1 2015-07-22 12:45:24 +02:00
Robin Gareus
64b63f8ad9 plugin analysis set block-size
fixes live spectrum analysis (for AU)
2015-07-20 16:16:25 +02:00
Robin Gareus
9da934ff29 reworked variant of john’s soundfile locale fix
see 87b89a6

IMPORTANT NOTE: In theory, the correct glibmm function should have been Glib::filename_from_utf8() but I couldn't make that work on Windows and 
ended up using Glib::locale_from_utf8() instead. sfdb import will therefore
need to get re-tested on the other platforms (especially in a non-English locale).


If this fix doesn't work we should probably revert to the previous strategy
but using the global specifier "::g_open()" explicitly…
… and only on PLATFORM_WINDOWS  (POSIX #define g_open open) fails regardless.
2015-07-17 16:03:24 +02:00
Ben Loftis
9673e6b271 merge fix again 2015-07-16 17:14:14 -05:00
Ben Loftis
46c8369328 merge fix 2015-07-16 16:13:24 -05:00
Robin Gareus
edce75973c offer to scan for plugins at first start. 2015-07-16 21:11:22 +02:00
Robin Gareus
762ed5cd18 remove “Refresh” button in Plugin manager
use Preferences > Plugins
2015-07-16 20:01:44 +02:00
Robin Gareus
87b89a605f Revert "Possible fix for http://tracker.ardour.org/view.php?id=6332"
This reverts commit 1a619472ca.

On Unix systems "#define g_open open" interferes with class member function
IMHO this is the wrong approach, the filename should be converted using
glib::filename_from_utf8().
2015-07-16 19:29:45 +02:00
John Emmas
1a619472ca Possible fix for http://tracker.ardour.org/view.php?id=6332
For sfdb stuff, use glib file functions in preference to ANSI or libsndfile handling. On Windows, we need functions which understand UTF-8 (so that we'll be able to import sound files, even in a non-English locale).
2015-07-16 18:27:52 +02:00
Paul Davis
a95b6cfd92 ctrl-shift-click on solo isolate now enables AND disables solo-isolate for all routes.
It would be nice to have operate-on-selection for all this RouteUI stuff, wouldn't it?
2015-07-16 10:11:04 -04:00
Robin Gareus
84485a4cf2 remove insanely fast meter fall-off (inaccurate) 2015-07-15 23:16:18 +02:00
Robin Gareus
3f25b7ec4f Revert "add debug info for xjadeo binary"
This reverts commit 8af2d08f88.
2015-07-15 19:03:56 +02:00
Len Ovens
847946694b Removed (version specific) keybindings file name from usage. 2015-07-13 14:05:32 -07:00
Robin Gareus
1c438e9a05 almost uname -m :) 2015-07-12 19:27:23 +02:00
Robin Gareus
34315a59ad consolidate windows pingback 2015-07-12 01:54:44 +02:00
Robin Gareus
6315b2ebf5 add ProductName to windows pingback 2015-07-12 01:16:44 +02:00
Robin Gareus
be14d600c9 windows announcements file name 2015-07-11 23:39:22 +02:00
Robin Gareus
e7c60afd6b another windows pingback fix 2015-07-11 22:59:15 +02:00
Robin Gareus
7775933cd8 tweak windows pingback 2015-07-11 22:35:59 +02:00
Robin Gareus
e188051ea0 add missing include 2015-07-11 22:20:55 +02:00
Robin Gareus
9abed822b8 cont'd work on windows pingback 2015-07-11 22:19:08 +02:00
Robin Gareus
96a9bf988f prepare windows pingback 2015-07-11 21:46:25 +02:00
Robin Gareus
5c1b594920 GUI checkbox to en/disable verbose plugin-scan 2015-07-11 21:46:25 +02:00
Robin Gareus
81c7eff66b fix “Show waveform in regions” Preference. 2015-07-11 05:25:47 +02:00
Robin Gareus
95545630e5 tweak video import dialog (handle non video files) 2015-07-10 23:46:48 +02:00
Robin Gareus
8c56770593 Allow to select video-files regardless of file ext. 2015-07-10 23:46:48 +02:00
Thomas Vecchione
7d3ef23183 Add in MXF file as a supported video format 2015-07-10 16:45:10 -04:00
Robin Gareus
4c608b6e04 assign new IDs to plugin copies on paste.
when copying a plugin the state is transferred by serializing
XML and setting state from XML. This state includes the unique ID.

This ID needs to be identical at first in order to load
the state from <session-dir>/plugins/<ID>/*
2015-07-10 22:09:18 +02:00
Robin Gareus
ad9f76a8c5 add context menu to hide/show Midi-tracks - fixes #6430 2015-07-10 11:47:20 +02:00
Robin Gareus
8af2d08f88 add debug info for xjadeo binary 2015-07-09 21:06:30 +02:00
Robin Gareus
364022a35a add locale-guard when saving engine states, also #6418 2015-07-08 11:34:57 +02:00
Robin Gareus
821cc80a35 stationary PH: improve performance and reduce jitter. 2015-07-07 03:21:01 +02:00
Robin Gareus
ccc8823461 tweak human readable names for meter-types 2015-07-05 17:19:55 +02:00
Robin Gareus
74d13efd8d Preference GUI for default meters 2015-07-05 17:19:39 +02:00
Robin Gareus
7a7c87d5f4 remove tabs from python code 2015-07-05 14:50:13 +02:00
Robin Gareus
3ada7398e9 another python3 issue 2015-07-05 14:43:26 +02:00
Robin Gareus
025e8db11d stationary playhead implies follow playhead 2015-07-04 16:35:49 +02:00
Robin Gareus
cba7d37107 fix various issues when deleting midi region during step-edit
fixes #6404
2015-07-04 12:33:10 +02:00
Robin Gareus
2fd506c07c possible fix for stack overflow when parsing video info 2015-07-02 14:46:46 +02:00
Robin Gareus
71595234bc indicate port-connections of non-track type
Previously a Midi-track with synth showed “-“ for the output
even if the audio output ports were connected. (only MIDI
connections are displayed on the button).
2015-07-02 10:03:21 +02:00
Robin Gareus
e32bf13016 set [new] draggable flag for draggable items with tooltips. 2015-06-30 13:08:55 +02:00
Alexandre Prokoudine
e92cd5b06c Update Russian translation 2015-06-30 10:25:36 +02:00
Paul Davis
c3edce9a26 if a session cannot be loaded, dump the error stack to stderr 2015-06-29 16:28:04 -04:00
Paul Davis
b822a77193 handle libXML errors via our own error handling methods 2015-06-29 16:27:49 -04:00