ardour.git
10 years agocall AudioBackend::drop_device() when dropping a backend.
Paul Davis [Mon, 24 Mar 2014 17:42:05 +0000 (13:42 -0400)]
call AudioBackend::drop_device() when dropping a backend.

It is not clear that ::drop_device() is part of the same semantic operation as ::stop(), so
we call them separatey

10 years agoadd ::drop_device() method to ARDOUR::AudioBackend
Paul Davis [Mon, 24 Mar 2014 17:40:44 +0000 (13:40 -0400)]
add ::drop_device() method to ARDOUR::AudioBackend

10 years agoadd needed separator
Ben Loftis [Mon, 24 Mar 2014 02:22:33 +0000 (21:22 -0500)]
add needed separator

10 years agofiles for ArdourMenu
Ben Loftis [Sun, 23 Mar 2014 23:15:34 +0000 (18:15 -0500)]
files for ArdourMenu

10 years agoNew theme for editor window using ArdourMenu
harrison [Sun, 23 Mar 2014 23:11:42 +0000 (18:11 -0500)]
New theme for editor window using ArdourMenu

10 years agoproper vpab speaker constraints
Robin Gareus [Sun, 23 Mar 2014 02:42:55 +0000 (03:42 +0100)]
proper vpab speaker constraints

10 years agoprepare for the day when there can be TimeAxisView's that are not RouteTimeAxisViews.
Robin Gareus [Sun, 23 Mar 2014 02:11:08 +0000 (03:11 +0100)]
prepare for the day when there can be TimeAxisView's that are not RouteTimeAxisViews.

10 years agojust bail out (to prevent further harm) if no panners are found.
Robin Gareus [Sun, 23 Mar 2014 02:10:00 +0000 (03:10 +0100)]
just bail out (to prevent further harm) if no panners are found.

10 years agofix undefined value, support netjack2
Robin Gareus [Sun, 23 Mar 2014 01:26:37 +0000 (02:26 +0100)]
fix undefined value, support netjack2

10 years agofix yet another possible memory leak
Robin Gareus [Sun, 23 Mar 2014 01:19:05 +0000 (02:19 +0100)]
fix yet another possible memory leak

10 years agocatch OOM
Robin Gareus [Sun, 23 Mar 2014 01:18:49 +0000 (02:18 +0100)]
catch OOM

10 years agoassure midi patch ID is set before assigning it
Robin Gareus [Sun, 23 Mar 2014 00:14:36 +0000 (01:14 +0100)]
assure midi patch ID is set before assigning it

10 years agoremove dead code (PIChaser has been superseded with PLL,DLL)
Robin Gareus [Sun, 23 Mar 2014 00:07:17 +0000 (01:07 +0100)]
remove dead code (PIChaser has been superseded with PLL,DLL)

10 years agofix timecode initialization
Robin Gareus [Sun, 23 Mar 2014 00:02:36 +0000 (01:02 +0100)]
fix timecode initialization

10 years agofix some memory leaks
Robin Gareus [Sat, 22 Mar 2014 23:46:12 +0000 (00:46 +0100)]
fix some memory leaks

10 years agofix mismatch typo in sizeof
Robin Gareus [Sat, 22 Mar 2014 23:17:19 +0000 (00:17 +0100)]
fix mismatch typo in sizeof

10 years agofix edge case (partial write of LV2 worker message size)
Robin Gareus [Sat, 22 Mar 2014 23:04:46 +0000 (00:04 +0100)]
fix edge case (partial write of LV2 worker message size)

10 years agoremove unused header file
Robin Gareus [Sat, 22 Mar 2014 17:25:09 +0000 (18:25 +0100)]
remove unused header file

10 years agoreplace use of Gio:: for plugin state
Robin Gareus [Sat, 22 Mar 2014 16:40:43 +0000 (17:40 +0100)]
replace use of Gio:: for plugin state

10 years agoreplace use of Gio:: with primitives (fix for #5889 part 1)
Robin Gareus [Sat, 22 Mar 2014 16:02:39 +0000 (17:02 +0100)]
replace use of Gio:: with primitives (fix for #5889 part 1)

10 years agomerge with master, primarily for adrian's maximise-mixer change
Paul Davis [Sat, 22 Mar 2014 14:58:26 +0000 (10:58 -0400)]
Merge ... master, primarily for adrian's maximise-mixer change

10 years agofix thinko
Paul Davis [Fri, 21 Mar 2014 20:28:07 +0000 (16:28 -0400)]
fix thinko

10 years agoMinor visibility changes to libevoral (template objects can be exported in libevoral...
John Emmas [Fri, 21 Mar 2014 18:57:36 +0000 (18:57 +0000)]
Minor visibility changes to libevoral (template objects can be exported in libevoral because they're always instantiated in the actual DLL).

10 years agoAvoid some ambiguous calls to 'floor()' which were upsetting MSVC
John Emmas [Fri, 21 Mar 2014 18:24:36 +0000 (18:24 +0000)]
Avoid some ambiguous calls to 'floor()' which were upsetting MSVC

10 years agoString object for Greek locale testing should have been Glib::ustring, rather than...
John Emmas [Fri, 21 Mar 2014 16:00:44 +0000 (16:00 +0000)]
String object for Greek locale testing should have been Glib::ustring, rather than std::string

(see my previous commit)

10 years agocheck if session dir is writable (needed for .bak files, undo, etc)
Robin Gareus [Fri, 21 Mar 2014 15:06:59 +0000 (16:06 +0100)]
check if session dir is writable (needed for .bak files, undo, etc)

10 years agoKeybindings for maximising the mixer window
Adrian Knoth [Fri, 21 Mar 2014 13:00:00 +0000 (14:00 +0100)]
Keybindings for maximising the mixer window

10 years agoAdd option to display the mixer in fullscreen
Adrian Knoth [Fri, 21 Mar 2014 12:45:00 +0000 (13:45 +0100)]
Add option to display the mixer in fullscreen

This is useful for dual-head setups.

10 years agoImplement 'fixup_bundle_environment()' for the MSVC build
John Emmas [Fri, 21 Mar 2014 14:56:59 +0000 (14:56 +0000)]
Implement 'fixup_bundle_environment()' for the MSVC build

10 years agoWhen finding the control surface DLLs (MSVC built), make sure we only find ones that...
John Emmas [Fri, 21 Mar 2014 14:54:21 +0000 (14:54 +0000)]
When finding the control surface DLLs (MSVC built), make sure we only find ones that match our build target

10 years agofix editor full-screen state when re-loading session
Robin Gareus [Fri, 21 Mar 2014 14:20:25 +0000 (15:20 +0100)]
fix editor full-screen state when re-loading session

10 years agolatest tweaks to autoscroll: symmetrical boundary on both sides, stop runaway scrolli...
Paul Davis [Fri, 21 Mar 2014 13:41:47 +0000 (09:41 -0400)]
latest tweaks to autoscroll: symmetrical boundary on both sides, stop runaway scrolling, and more

10 years agotweak meter-peak hold when using LED-striped meters
Robin Gareus [Fri, 21 Mar 2014 13:15:38 +0000 (14:15 +0100)]
tweak meter-peak hold when using LED-striped meters

10 years agofirst pass at quantizing vertical scroll to whole tracks.
Paul Davis [Fri, 21 Mar 2014 01:59:37 +0000 (21:59 -0400)]
first pass at quantizing vertical scroll to whole tracks.

Dragging regions vertically does the quantization BUT speed control is lacking and the region ends up on
a track that is still invisible ... to be fixed as the sun rises.

10 years agochange the meters into CairoWidget, add expose_area to CairoWidget::render()
Robin Gareus [Thu, 20 Mar 2014 22:50:40 +0000 (23:50 +0100)]
change the meters into CairoWidget, add expose_area to CairoWidget::render()

10 years agobig rework of scrolling, horizontal part considered almost 100% done.
Paul Davis [Thu, 20 Mar 2014 17:29:29 +0000 (13:29 -0400)]
big rework of scrolling, horizontal part considered almost 100% done.

Many more changes than I would typically like in a single commit, but this was all very intertwined.
Vertical scrolling using track-stepping still to follow.

10 years agovideotimeline: fix black-frame generation (sample aspect ratio) on export
Robin Gareus [Wed, 19 Mar 2014 22:46:01 +0000 (23:46 +0100)]
videotimeline: fix black-frame generation (sample aspect ratio) on export

10 years agotweak A/V import logic
Robin Gareus [Wed, 19 Mar 2014 17:12:16 +0000 (18:12 +0100)]
tweak A/V import logic

10 years agoclarify A/V import options
Robin Gareus [Wed, 19 Mar 2014 16:34:45 +0000 (17:34 +0100)]
clarify A/V import options

10 years agovideotimeline: fix black-frame generation (sample aspect ratio) on export
Robin Gareus [Wed, 19 Mar 2014 22:46:01 +0000 (23:46 +0100)]
videotimeline: fix black-frame generation (sample aspect ratio) on export

10 years agotweak A/V import logic
Robin Gareus [Wed, 19 Mar 2014 17:12:16 +0000 (18:12 +0100)]
tweak A/V import logic

10 years agoclarify A/V import options
Robin Gareus [Wed, 19 Mar 2014 16:34:45 +0000 (17:34 +0100)]
clarify A/V import options

10 years agoUse glibmm to simplify my earlier efforts with 'user_config_directory()' and 'user_ca...
John Emmas [Wed, 19 Mar 2014 14:38:41 +0000 (14:38 +0000)]
Use glibmm to simplify my earlier efforts with 'user_config_directory()' and 'user_cache_directory()'

(improves my previous commit from 10th Mar 2014)

10 years agoModify 'ardour_config_search_path()' and 'ardour_data_search_path()'
John Emmas [Wed, 19 Mar 2014 13:42:58 +0000 (13:42 +0000)]
Modify 'ardour_config_search_path()' and 'ardour_data_search_path()'

     1) So that the Windows version will use appropriate environment variables (if they exist)
     2) So that we don't exit if the env vars can't be found (we can still return some kind of path so just alert the user)

10 years agofixed a few warnings from clang static analysis
Robin Gareus [Tue, 18 Mar 2014 21:51:44 +0000 (22:51 +0100)]
fixed a few warnings from clang static analysis

10 years agofix potential uninitialized object pointer.
Robin Gareus [Tue, 18 Mar 2014 19:38:37 +0000 (20:38 +0100)]
fix potential uninitialized object pointer.

10 years agoRe-validate our iterator after SessionEventManager removes an event
John Emmas [Tue, 18 Mar 2014 19:23:28 +0000 (19:23 +0000)]
Re-validate our iterator after SessionEventManager removes an event

10 years agoWhen finding (MSVC built) panner DLLs, make sure we only find ones that match our...
John Emmas [Tue, 18 Mar 2014 17:32:39 +0000 (17:32 +0000)]
When finding (MSVC built) panner DLLs, make sure we only find ones that match our build target

Will most likely also need to get done for similarly "discovered" DLLs (backends / surfaces etc). TBC

10 years agog_close() is only available in select versions of glib; fix up non-standard use of...
Paul Davis [Mon, 17 Mar 2014 14:16:45 +0000 (10:16 -0400)]
g_close() is only available in select versions of glib; fix up non-standard use of glib/cerr to report errors and other related mess

10 years agoadd helper binaries to bundles
Robin Gareus [Mon, 17 Mar 2014 13:40:29 +0000 (14:40 +0100)]
add helper binaries to bundles

10 years agoMake sure that windows_search_path() is 'visible' in Windows (will be needed for...
John Emmas [Mon, 17 Mar 2014 11:29:17 +0000 (11:29 +0000)]
Make sure that windows_search_path() is 'visible' in Windows (will be needed for fixup_bundle_environment)

10 years agoClose a temporary file as soon as we know we've created it (the function which needs...
John Emmas [Sat, 15 Mar 2014 14:42:20 +0000 (14:42 +0000)]
Close a temporary file as soon as we know we've created it (the function which needs the file will re-open it itself)

10 years agoMove '++next' (when sorting marker labels) so there's absolutely no chance of increme...
John Emmas [Sat, 15 Mar 2014 14:40:36 +0000 (14:40 +0000)]
Move '++next' (when sorting marker labels) so there's absolutely no chance of incrementing it once it reaches the list end

10 years agosmall cleanup.
Robin Gareus [Fri, 14 Mar 2014 19:25:04 +0000 (20:25 +0100)]
small cleanup.

10 years agocomment libardour functions that are not used in external scanner.
Robin Gareus [Fri, 14 Mar 2014 19:18:02 +0000 (20:18 +0100)]
comment libardour functions that are not used in external scanner.

10 years agoremoved duplicated (and dangerous) call to close(2)
Paul Davis [Fri, 14 Mar 2014 19:16:15 +0000 (15:16 -0400)]
removed duplicated (and dangerous) call to close(2)

10 years agofix compile of libs/vfork with slightly older(?) glibc headers
Paul Davis [Fri, 14 Mar 2014 18:52:23 +0000 (14:52 -0400)]
fix compile of libs/vfork with slightly older(?) glibc headers

10 years agofix thinko when relabelling markers
Paul Davis [Fri, 14 Mar 2014 17:43:51 +0000 (13:43 -0400)]
fix thinko when relabelling markers

10 years agocall BaseUI::quit() from inside the MIDI Control UI destructor, to properly shutdown...
Paul Davis [Thu, 13 Mar 2014 21:14:50 +0000 (17:14 -0400)]
call BaseUI::quit() from inside the MIDI Control UI destructor, to properly shutdown its thread

10 years agorework SystemExec - use vfork wrapper (and lots of related stuff)
Robin Gareus [Thu, 13 Mar 2014 15:50:44 +0000 (16:50 +0100)]
rework SystemExec - use vfork wrapper (and lots of related stuff)

10 years agodo not use Item::move() when dragging notes since this resets the Item's position...
Paul Davis [Thu, 13 Mar 2014 15:02:06 +0000 (11:02 -0400)]
do not use Item::move() when dragging notes since this resets the Item's position in its group, rather than its coordinates.

This fixes the double-distance/wrongly drawn location of MIDI notes after a drag

10 years agoremove debug output
Paul Davis [Thu, 13 Mar 2014 12:43:07 +0000 (08:43 -0400)]
remove debug output

10 years agofix up button selection operation so that fade drags work again
Paul Davis [Thu, 13 Mar 2014 12:39:14 +0000 (08:39 -0400)]
fix up button selection operation so that fade drags work again

10 years agoupdated version of boost shared ptr debugging patch
Paul Davis [Wed, 12 Mar 2014 22:47:49 +0000 (18:47 -0400)]
updated version of boost shared ptr debugging patch

10 years agofinally put this patch into git, where it belong
Paul Davis [Wed, 12 Mar 2014 14:00:24 +0000 (10:00 -0400)]
finally put this patch into git, where it belong

10 years agofix #ifdef in localtime_r header (from Valeriy)
Paul Davis [Wed, 12 Mar 2014 13:37:49 +0000 (09:37 -0400)]
fix #ifdef in localtime_r header (from Valeriy)

10 years agoA few days ago a #define got changed because the relevant section of code was no...
John Emmas [Wed, 12 Mar 2014 13:21:21 +0000 (13:21 +0000)]
A few days ago a #define got changed because the relevant section of code was no longer needed when building with mingw. However, it's not needed for msvc either (in fact, msvc won't compile it) so hopefully, the code fragment can be safely removed

10 years agomore error messages if session renaming fails, and remove stupid use of RENAME macro...
Paul Davis [Wed, 12 Mar 2014 12:49:18 +0000 (08:49 -0400)]
more error messages if session renaming fails, and remove stupid use of RENAME macro and use ::g_rename() instead

10 years agofixes, hopefully, for canvas cursor misbehaviour near/in regionviews
Paul Davis [Wed, 12 Mar 2014 02:38:48 +0000 (22:38 -0400)]
fixes, hopefully, for canvas cursor misbehaviour near/in regionviews

10 years agoprototype vfork exec-wrapper.
Robin Gareus [Tue, 11 Mar 2014 14:48:13 +0000 (15:48 +0100)]
prototype vfork exec-wrapper.

10 years agofix error in height computation of MIDI region views (FUDGE!) use Rectangle::set_outl...
Paul Davis [Tue, 11 Mar 2014 11:39:25 +0000 (07:39 -0400)]
fix error in height computation of MIDI region views (FUDGE!) use Rectangle::set_outline_all() and avoid the removed integer version of ::set_outline_what()

10 years agouse and wrap Rectangle::set_outline_all() method
Paul Davis [Tue, 11 Mar 2014 11:38:02 +0000 (07:38 -0400)]
use and wrap Rectangle::set_outline_all() method

10 years agoavoid multiple requests for redraws when resetting a TimeAxisViewItem name highlight
Paul Davis [Tue, 11 Mar 2014 11:37:20 +0000 (07:37 -0400)]
avoid multiple requests for redraws when resetting a TimeAxisViewItem name highlight

10 years agodon't queue redraws when various canvas item properties are "reset" to the same value...
Paul Davis [Tue, 11 Mar 2014 11:36:09 +0000 (07:36 -0400)]
don't queue redraws when various canvas item properties are "reset" to the same value, plus supporting functions

10 years agofix up waf build in wake of search path changes earlier today
Paul Davis [Mon, 10 Mar 2014 21:28:18 +0000 (17:28 -0400)]
fix up waf build in wake of search path changes earlier today

10 years agouse buf_index_in() to identify VST MIDI buffer
Paul Davis [Mon, 10 Mar 2014 21:27:47 +0000 (17:27 -0400)]
use buf_index_in() to identify VST MIDI buffer

Probably unnecessary as long we only have 1 MIDI port route, but this at least keeps symmetry with the output side

10 years agouse PBD::downcase() rather than non-portable MS-based strlwr()
Paul Davis [Mon, 10 Mar 2014 21:27:02 +0000 (17:27 -0400)]
use PBD::downcase() rather than non-portable MS-based strlwr()

10 years agorequired header for new search_paths.h
Paul Davis [Mon, 10 Mar 2014 21:26:31 +0000 (17:26 -0400)]
required header for new search_paths.h

10 years agoadd PBD::downcase() functions to libpbd
Paul Davis [Mon, 10 Mar 2014 21:26:06 +0000 (17:26 -0400)]
add PBD::downcase() functions to libpbd

10 years agoJust noticed a small problem with my previous commit. Windows config files should...
John Emmas [Mon, 10 Mar 2014 18:51:30 +0000 (18:51 +0000)]
Just noticed a small problem with my previous commit. Windows config files should be in 'Application Data/PROGRAM_NAME' rather than directly in 'Application Data'

10 years agoModify 'user_config_directory()' and 'user_cache_directory()' so that (on Windows...
John Emmas [Mon, 10 Mar 2014 16:05:40 +0000 (16:05 +0000)]
Modify 'user_config_directory()' and 'user_cache_directory()' so that (on Windows) they'll always return a directory that's guaranteed to be writable (in Windows, this isn't always true for the user's home folder)

10 years agoModify 'user_config_dir_name' to use the program name (e.g. Ardour or Mixbus) instead...
John Emmas [Mon, 10 Mar 2014 16:01:50 +0000 (16:01 +0000)]
Modify 'user_config_dir_name' to use the program name (e.g. Ardour or Mixbus) instead of always assuming 'Ardour'.

10 years agoMove 'template_search_path()' and 'route_template_search_path()' into 'libs/ardour...
John Emmas [Mon, 10 Mar 2014 15:59:12 +0000 (15:59 +0000)]
Move 'template_search_path()' and 'route_template_search_path()' into 'libs/ardour/search_paths.cc'

10 years agoTransfer 'vst_search_path()' into 'libs/ardour/search_paths.cc'
John Emmas [Mon, 10 Mar 2014 15:37:23 +0000 (15:37 +0000)]
Transfer 'vst_search_path()' into 'libs/ardour/search_paths.cc'

10 years agoTransfer 'panner_search_path()' into 'libs/ardour/search_paths.cc'
John Emmas [Mon, 10 Mar 2014 15:04:26 +0000 (15:04 +0000)]
Transfer 'panner_search_path()' into 'libs/ardour/search_paths.cc'

10 years agoTransfer 'midi_patch_search_path()' into 'libs/ardour/search_paths.cc'
John Emmas [Mon, 10 Mar 2014 14:54:29 +0000 (14:54 +0000)]
Transfer 'midi_patch_search_path()' into 'libs/ardour/search_paths.cc'

10 years agoTransfer 'lv2_bundled_search_path()' into 'libs/ardour/search_paths.cc'
John Emmas [Mon, 10 Mar 2014 14:42:45 +0000 (14:42 +0000)]
Transfer 'lv2_bundled_search_path()' into 'libs/ardour/search_paths.cc'

10 years agoTransfer 'ladspa_search_path()' into 'libs/ardour/search_paths.cc'
John Emmas [Mon, 10 Mar 2014 14:33:15 +0000 (14:33 +0000)]
Transfer 'ladspa_search_path()' into 'libs/ardour/search_paths.cc'

10 years agoTransfer 'export_formats_search_path()' into 'libs/ardour/search_paths.cc'
John Emmas [Mon, 10 Mar 2014 14:20:45 +0000 (14:20 +0000)]
Transfer 'export_formats_search_path()' into 'libs/ardour/search_paths.cc'

10 years agoTransfer 'control_protocol_search_path()' into 'libs/ardour/search_paths.cc'
John Emmas [Mon, 10 Mar 2014 14:10:04 +0000 (14:10 +0000)]
Transfer 'control_protocol_search_path()' into 'libs/ardour/search_paths.cc'

10 years agoCreate 'libs/ardour/search_paths.cc/.h' and transfer backend_search_path() to it
John Emmas [Mon, 10 Mar 2014 13:47:00 +0000 (13:47 +0000)]
Create  'libs/ardour/search_paths.cc/.h' and transfer backend_search_path() to it

10 years agoimprove (though not 100% perfect) handling of region trim handles and mouse mode...
Paul Davis [Mon, 10 Mar 2014 16:14:37 +0000 (12:14 -0400)]
improve (though not 100% perfect) handling of region trim handles and mouse mode interaction

10 years agotiny red dots, be gone (expand poly_item bounding box by correct (?) amount)
Paul Davis [Mon, 10 Mar 2014 15:10:07 +0000 (11:10 -0400)]
tiny red dots, be gone (expand poly_item bounding box by correct (?) amount)

10 years agomissing iterator advance
Paul Davis [Mon, 10 Mar 2014 14:41:41 +0000 (10:41 -0400)]
missing iterator advance

10 years agotempo match midi auditioning - #5881
Robin Gareus [Sun, 9 Mar 2014 23:48:48 +0000 (00:48 +0100)]
tempo match midi auditioning - #5881

10 years agoadd missing include to define LIBPBD_API (mingw build)
Robin Gareus [Sun, 9 Mar 2014 20:05:17 +0000 (21:05 +0100)]
add missing include to define LIBPBD_API (mingw build)

10 years agodefault plugin scan timeout preference
Robin Gareus [Sun, 9 Mar 2014 19:32:02 +0000 (20:32 +0100)]
default plugin scan timeout preference

10 years ago[VST] scan timeout display and per plugin timeout override.
Robin Gareus [Sun, 9 Mar 2014 18:34:53 +0000 (19:34 +0100)]
[VST] scan timeout display and per plugin timeout override.

10 years agoprepare configurable VST scan timeout
Robin Gareus [Sun, 9 Mar 2014 15:33:58 +0000 (16:33 +0100)]
prepare configurable VST scan timeout

10 years agostupid hack to fix rectangle damage noise
Paul Davis [Sun, 9 Mar 2014 15:33:09 +0000 (11:33 -0400)]
stupid hack to fix rectangle damage noise