Paul Davis [Fri, 6 Sep 2013 01:39:43 +0000 (21:39 -0400)]
fix a problem creating and displaying connected status for ports not owned by ardour (e.g. system:....)
This was caused by using jack_port_get_connections() which will
not return the correct status for ports owned by another JACK
client. Because of the potential for deadlock by calling
jack_port_get_all_connections(), an extra argument was added
to several PortEngine:: API calls to specify whether the call
is in a process-callback context, which defaults to true.
The only place where false is passed is within the GlobalPortMatrix
when we need to determine whether two non-ardour ports are
connected.
Paul Davis [Thu, 5 Sep 2013 18:21:25 +0000 (14:21 -0400)]
always save/keep audio/MIDI setup states so that they are available for use *after* instances where JACK was already running
Paul Davis [Thu, 5 Sep 2013 17:22:34 +0000 (13:22 -0400)]
move MidiPortManager from AudioEngine to Session
This makes the responsibilities and ownership of non-Route related MIDI ports
more clear, and removes a few wierd bits of code. It also ensures that open/close/open
on the same session will retain connections for those MIDI ports
Paul Davis [Thu, 5 Sep 2013 17:21:13 +0000 (13:21 -0400)]
shorten tab labels on audio/midi setup notebook
John Emmas [Thu, 5 Sep 2013 09:10:45 +0000 (10:10 +0100)]
'libs/ardour' - Revert 'std::llabs' to 'llabs' until we find a platform-neutral solution (MOTE - 'llabs' and '::llabs' are being used successfully in other parts of Ardour)
John Emmas [Thu, 5 Sep 2013 09:07:57 +0000 (10:07 +0100)]
'libs/ardour' - Minor changes to prevent MSVC from complaining about malformed comments
John Emmas [Thu, 5 Sep 2013 09:04:18 +0000 (10:04 +0100)]
'surfaces/mackie' - Platform specific changes
John Emmas [Thu, 5 Sep 2013 09:03:07 +0000 (10:03 +0100)]
'surfaces/mackie' - Other minor changes needed for building with MSVC
John Emmas [Thu, 5 Sep 2013 09:02:11 +0000 (10:02 +0100)]
'surfaces/mackie' - Comment out some structure field names which MSVC didn't like
John Emmas [Thu, 5 Sep 2013 08:50:58 +0000 (09:50 +0100)]
'surfaces/generic_midi' - Specify 'MIDI::byte' instead of 'byte' so the compiler knows which one we mean
John Emmas [Thu, 5 Sep 2013 08:49:10 +0000 (09:49 +0100)]
'surfaces/generic_midi' - Comment out some structure field names which MSVC didn't like
John Emmas [Thu, 5 Sep 2013 08:47:37 +0000 (09:47 +0100)]
'surfaces/generic_midi' - Minor modification to prevent MSVC from complaining about a malformed comment
John Emmas [Thu, 5 Sep 2013 08:21:30 +0000 (09:21 +0100)]
'libs/audiographer' - Try 'lrintf' instead of 'rintf' which isn't available in MSVC
John Emmas [Thu, 5 Sep 2013 08:18:30 +0000 (09:18 +0100)]
'libs/audiographer' - Use 'alloca()' for a stack based array whose size is unknown (required to be buildable with MSVC)
Paul Davis [Thu, 5 Sep 2013 02:58:56 +0000 (22:58 -0400)]
save and restore the selected engine state at startup
Paul Davis [Thu, 5 Sep 2013 02:22:18 +0000 (22:22 -0400)]
fix up restoration of saved state from disk, still incomplete
Paul Davis [Wed, 4 Sep 2013 23:34:43 +0000 (19:34 -0400)]
save and restore audio/MIDI setup states to disk (in ardour.rc)
Not finished because the buffer size value will not always stick during restore
Paul Davis [Wed, 4 Sep 2013 19:45:54 +0000 (15:45 -0400)]
save and restore settings for different backend/driver/device combinations
So far, this is only internal - never saved to disk
Paul Davis [Wed, 4 Sep 2013 16:49:52 +0000 (12:49 -0400)]
change names of actions groups that include "jack"
Paul Davis [Wed, 4 Sep 2013 16:37:44 +0000 (12:37 -0400)]
rename interface_ stuff in the engine dialog to device_, since that feels a bit clearer terminology
John Emmas [Wed, 4 Sep 2013 14:54:35 +0000 (15:54 +0100)]
'libs/surfaces' - Add an additional visibility specifier (ARDOURCP_API as well as ARDOURSURFACE_API)
John Emmas [Wed, 4 Sep 2013 14:46:14 +0000 (15:46 +0100)]
'libs/gtkmm2ext' - Minor modification to prevent MSVC from complaining about a malformed comment
John Emmas [Wed, 4 Sep 2013 14:43:35 +0000 (15:43 +0100)]
'libs/gtkmm2ext' - Add the file 'gtkapplication_win32.c' to complement gtkapplication_x11 and gtkapplication_quartz
Robin Gareus [Tue, 3 Sep 2013 23:37:15 +0000 (01:37 +0200)]
squash another compiler warning
Robin Gareus [Tue, 3 Sep 2013 23:36:46 +0000 (01:36 +0200)]
vtl: fix small issue with video source file on export
Paul Davis [Tue, 3 Sep 2013 21:41:49 +0000 (17:41 -0400)]
Merge branch 'master' into audioengine
John Emmas [Tue, 3 Sep 2013 14:58:58 +0000 (15:58 +0100)]
Merge branch 'windows' of git.ardour.org:ardour/ardour into windows
John Emmas [Tue, 3 Sep 2013 14:53:24 +0000 (15:53 +0100)]
'libs/panners' - Remove the temporary export specifiers that were only used for testing
John Emmas [Tue, 3 Sep 2013 13:50:56 +0000 (14:50 +0100)]
'libs/panners' - Disable a compiler-specific warning
John Emmas [Tue, 3 Sep 2013 13:49:49 +0000 (14:49 +0100)]
'libs/panners' - Fix a typo in 'vbap/vbap.cc'
John Emmas [Tue, 3 Sep 2013 13:47:46 +0000 (14:47 +0100)]
'libs/panners' - Use 'std::vector' to implement arrays whose size is unknown (required to be buildable with MSVC)
John Emmas [Tue, 3 Sep 2013 13:46:01 +0000 (14:46 +0100)]
'libs/panners' - Use 'alloca()' for a stack based array whose size is unknown (required to be buildable with MSVC)
Paul Davis [Tue, 3 Sep 2013 13:08:18 +0000 (09:08 -0400)]
bump to 3.4
Paul Davis [Tue, 3 Sep 2013 12:50:38 +0000 (08:50 -0400)]
Merge branch 'master' into windows
Paul Davis [Tue, 3 Sep 2013 12:48:11 +0000 (08:48 -0400)]
fix error introduced during recent changes to Mackie control support, involving ambiguous enum usage
Paul Davis [Tue, 3 Sep 2013 12:46:57 +0000 (08:46 -0400)]
fix a few minor compilation warnings
Paul Davis [Tue, 3 Sep 2013 12:34:27 +0000 (08:34 -0400)]
Merge branch 'master' into windows
Paul Davis [Tue, 3 Sep 2013 12:33:51 +0000 (08:33 -0400)]
use visibility macros to control visibility in control surface DLL/DSO's
Paul Davis [Tue, 3 Sep 2013 12:33:26 +0000 (08:33 -0400)]
add comment
Paul Davis [Tue, 3 Sep 2013 12:00:58 +0000 (08:00 -0400)]
updated .po files from waf i18n, plus an updated gtk2_ardour/de.po from Edgar Aichinger
Paul Davis [Tue, 3 Sep 2013 11:59:59 +0000 (07:59 -0400)]
Revert "bump to 3.4"
This reverts commit
ad7ab8f09afe1eac025a6da87a45c83ada15544d.
Paul Davis [Tue, 3 Sep 2013 02:10:51 +0000 (22:10 -0400)]
revert to --backtrace enabled by default, since the original goal of this change was addressed in other ways
Paul Davis [Tue, 3 Sep 2013 01:57:30 +0000 (21:57 -0400)]
bump to 3.4
Paul Davis [Mon, 2 Sep 2013 21:43:55 +0000 (17:43 -0400)]
add std:: to clarify use of llabs on OS X
Paul Davis [Mon, 2 Sep 2013 20:41:56 +0000 (16:41 -0400)]
replace recently added attempt to use visibility macros with one based on gcc guidelines
I can see no reason to define the "C API Call Type", but perhaps it really is needed for some reason.
I have tested this on Linux only.
Paul Davis [Mon, 2 Sep 2013 20:32:36 +0000 (16:32 -0400)]
add visibility.h to provide generic DSO/DLL visibility macros for use with ardour "helper" and associated libs
John Emmas [Mon, 2 Sep 2013 15:54:17 +0000 (16:54 +0100)]
'libs/panners' - Streamline my previous API changes and include Tim's additions to support the GCC compiler
Robin Gareus [Mon, 2 Sep 2013 14:57:46 +0000 (16:57 +0200)]
LV2 extUI handling - amend to previous commit.
Robin Gareus [Mon, 2 Sep 2013 14:21:12 +0000 (16:21 +0200)]
LV2 external UI handling - revert to <= 3.3. behaviour
Don't ever clean up external UI plugins that use the LV2plug.in URI.
only free the memory of the last instance when the plugin is removed
or ardour closes.
Robin Gareus [Sun, 1 Sep 2013 01:19:13 +0000 (03:19 +0200)]
improve scroll and drag behaviour of volume-controller knob
Robin Gareus [Sat, 31 Aug 2013 18:37:02 +0000 (20:37 +0200)]
fix keyboard interaction with volume knobs (monitor section)
John Emmas [Sat, 31 Aug 2013 15:19:36 +0000 (16:19 +0100)]
'libs/panners' - Add a conventional 'C' API call type to test building with MSVC
John Emmas [Fri, 30 Aug 2013 18:51:45 +0000 (19:51 +0100)]
'libs/panners' - A small test (before going too far) to see if these changes have any detrimental affect on the non-MSVC builds.
Robin Gareus [Thu, 29 Aug 2013 16:46:03 +0000 (18:46 +0200)]
fix typo in IEC-meter 'weird-float' protection.
Robin Gareus [Thu, 29 Aug 2013 15:36:52 +0000 (17:36 +0200)]
protect meters against weird float values
Robin Gareus [Thu, 29 Aug 2013 11:05:11 +0000 (13:05 +0200)]
update external plugin UI handling
amend to
4cdb018 and
1d972d0
override ui_closed() behavior for lv2ui:external
Keep UI around and do not re-instantiate, but simply show it again.
(this is against the original specs but was agreed upon by various
authors and the previous behavior or Ardour.)
kx:external-ui are cleaned up after ui_closed().
Robin Gareus [Tue, 27 Aug 2013 18:55:15 +0000 (20:55 +0200)]
fix vari-speed phase (when used for calculation only)
and clarify an old comment.
John Emmas [Tue, 27 Aug 2013 16:10:46 +0000 (17:10 +0100)]
Modify 'ardourext/misc.h' so that it only uses C++ constructs when the compilation is cplusplus
John Emmas [Tue, 27 Aug 2013 16:07:53 +0000 (17:07 +0100)]
'libs/clearlooks-newer' - Clearlooks needs to be buildable as conventional 'C' but many 'C' compilers require that variables be declared at the top of each function. Move declarations as necessary to accommodate this.
John Emmas [Mon, 26 Aug 2013 16:50:17 +0000 (17:50 +0100)]
Minor tweaks to MSVC build (hopefully of little consequence)
John Emmas [Mon, 26 Aug 2013 16:47:28 +0000 (17:47 +0100)]
'libs/gtkmm2ext' - Compiler specific includes
John Emmas [Mon, 26 Aug 2013 16:45:18 +0000 (17:45 +0100)]
'libs/gtkmm2ext' - Main body of changes required for building with MSVC (mostly #includes and casting)
John Emmas [Mon, 26 Aug 2013 16:28:03 +0000 (17:28 +0100)]
'libs/gtkmm2ext' - Use 'std::vector' instead of dynamically sized arrays (required to be buildable with MSVC)
John Emmas [Mon, 26 Aug 2013 14:43:20 +0000 (15:43 +0100)]
'libs/gtkmm2ext' - Remove "using namespace Gdk;" to avoid confusion (in 'fastmeter.cc') over whether we want namespace ::Cairo or namespace Gdk::Cairo
Robin Gareus [Sun, 25 Aug 2013 14:20:27 +0000 (16:20 +0200)]
add LV2 support for kx:external-ui#
the ABI of http://kxstudio.sf.net/ns/lv2ext/external-ui# is identical to
http://lv2plug.in/ns/extensions/ui#external
It just adds a distinction between #Host and #Widget for cosmetic reasons.
Sadly some newer plugins are released with only support for kxstudio URI :(
Robin Gareus [Sun, 25 Aug 2013 13:54:43 +0000 (15:54 +0200)]
free memory of external plugins on GUI close (major mem leak).
There is at least one known plugin that has a problem with this
(custom thread race condition) but it also crashes in other hosts:
http://www.drumgizmo.org/wiki/doku.php?id=bugs&do=showcaselink&showid=8&project=drumgizmo
tested to be working with various nedko, falktx and x42 plugins
Paul Davis [Sat, 24 Aug 2013 16:27:40 +0000 (12:27 -0400)]
fix compilation on linux
Paul Davis [Sat, 24 Aug 2013 16:18:06 +0000 (12:18 -0400)]
fix merge conflicts from master
Paul Davis [Sat, 24 Aug 2013 15:46:36 +0000 (11:46 -0400)]
pot/po file updates caused by waf i18n
Paul Davis [Sat, 24 Aug 2013 15:45:31 +0000 (11:45 -0400)]
fix confusion about whether flip_mode in the Mackie support code is a bool or an enum
Tim Blechmann [Sat, 24 Aug 2013 12:23:25 +0000 (14:23 +0200)]
export: add support for CAF
Robin Gareus [Fri, 23 Aug 2013 19:26:02 +0000 (21:26 +0200)]
don't run meter in import-dialog if the dialog is not visible
Paul Davis [Thu, 22 Aug 2013 21:46:19 +0000 (17:46 -0400)]
undo the hiding of SR-dependent LV2 ports
Paul Davis [Thu, 15 Aug 2013 18:55:57 +0000 (14:55 -0400)]
update czech translations from pavel fric, part 2
Paul Davis [Thu, 15 Aug 2013 18:55:10 +0000 (14:55 -0400)]
update czech translations from pavel fric
Paul Davis [Thu, 15 Aug 2013 15:44:47 +0000 (11:44 -0400)]
fix newly-appearing crash-at-close caused by muddled thinking in pbd/pthread_utils
threads created with this code can now just return a value as they normally would, and the
infrastructure will ensure cleanup. there is no longer any reason to call pthread_exit_pbd()
and so that has been removed.
Paul Davis [Thu, 15 Aug 2013 15:43:37 +0000 (11:43 -0400)]
check master sources when determining whether a region uses a source. should fix #5618
Paul Davis [Wed, 14 Aug 2013 17:10:59 +0000 (13:10 -0400)]
fix merge issues with master
Paul Davis [Wed, 14 Aug 2013 16:44:48 +0000 (12:44 -0400)]
remove misleading + incorrect documentation
Paul Davis [Wed, 14 Aug 2013 16:40:49 +0000 (12:40 -0400)]
some const_cast<> additions for OS X where gcc believes that volatile int* means const int*
Paul Davis [Wed, 14 Aug 2013 16:40:10 +0000 (12:40 -0400)]
remove JACK midi system stuff from jack_utils, because we're not going to use it (for a while, at least)
Paul Davis [Wed, 14 Aug 2013 16:39:34 +0000 (12:39 -0400)]
provide clock_gettime() implementation for lovely OSX, which doesn't have it
Paul Davis [Wed, 14 Aug 2013 02:06:31 +0000 (22:06 -0400)]
don't bother with old MIDI port data in ardour.rc
result: we lose connections to global MIDI ports in older sessions. may fix this in the future
Paul Davis [Wed, 14 Aug 2013 01:59:05 +0000 (21:59 -0400)]
save and restore all ardour-owned MIDI ports
still need to check on MCU port status
Paul Davis [Tue, 13 Aug 2013 17:24:05 +0000 (13:24 -0400)]
re-enable MIDI tracing for ARDOUR::MidiPort
Paul Davis [Tue, 13 Aug 2013 16:53:28 +0000 (12:53 -0400)]
fixes to get MTC (and probably MIDI clock) slaving working again
incoming MIDI data has to be parsed EVERY process cycle, not just when Slave::speed_and_position() is called.
The private MIDI::Parser owned by the MTC and MClck slaves was irrelevant, since the port has its own.
See comments in midi_port.h on the strangled inheritance heirarchy.
Tim Mayberry [Sat, 10 Aug 2013 02:08:45 +0000 (12:08 +1000)]
Move curve test file handling in main() until after ARDOUR::init is called
This means it doesn't need to call PBD::ID::init directly, which it now
shouldn't be doing
Tim Mayberry [Sat, 10 Aug 2013 02:07:39 +0000 (12:07 +1000)]
Remove call to PBD::ID::init as it is now done via ARDOUR::init
Tim Mayberry [Fri, 26 Jul 2013 02:04:40 +0000 (12:04 +1000)]
Call setup_libpbd_enums in PBD::init for portability
Tim Mayberry [Fri, 9 Aug 2013 12:13:50 +0000 (22:13 +1000)]
Call Gio::init from PBD::init instead of ARDOUR::init
PBD needs Gio for PBD::copy_file and perhaps others
Tim Mayberry [Fri, 9 Aug 2013 12:11:44 +0000 (22:11 +1000)]
Call PBD::init in ARDOUR::init and PBD::cleanup in ARDOUR::cleanup
Tim Mayberry [Fri, 9 Aug 2013 12:03:39 +0000 (22:03 +1000)]
Add PBD::init and PBD::cleanup
A bit of refactoring to move initialization of libpbd into libpbd
rather than rely on "client" code(ui,libardour,tests etc) to do it
Tim Mayberry [Fri, 9 Aug 2013 11:47:16 +0000 (21:47 +1000)]
Move initialization of libardour from ARDOUR_UI class into main()
Tim Mayberry [Thu, 25 Jul 2013 11:38:59 +0000 (21:38 +1000)]
Prevent libardour from being initialized more than once
This is not thread safe of course, it is not intended to be.
This was implemented as at one stage ARDOUR::init was being called multiple
times in the testsuite which was causing a subtle bug that took some
time to track down.
Tim Mayberry [Fri, 9 Aug 2013 10:41:58 +0000 (20:41 +1000)]
Change ARDOUR::init return type to bool type for success/failure
Paul Davis [Mon, 12 Aug 2013 09:40:11 +0000 (05:40 -0400)]
assorted extra debug output for MTC
Robin Gareus [Sun, 11 Aug 2013 15:26:34 +0000 (17:26 +0200)]
Robin Gareus [Sun, 11 Aug 2013 15:19:04 +0000 (17:19 +0200)]
fix
5dee49e19 (32/64 bit unsigned int compatibility)
Robin Gareus [Sun, 11 Aug 2013 13:10:41 +0000 (15:10 +0200)]
make LV2 communication buffers independent from jack-midi buffer-size
fixes issues with plugin communication that are common with
jack1 use due to its very small midi-buffers.
Paul Davis [Sat, 10 Aug 2013 13:25:18 +0000 (09:25 -0400)]
fix output latency option in jack command line