ardour.git
10 years agono dot prefix for VST cache files on windows.
Robin Gareus [Wed, 5 Mar 2014 18:44:01 +0000 (19:44 +0100)]
no dot prefix for VST cache files on windows.

10 years agomanually revert change to canvas expose handling in fee026c5ef7107d5d594159f5ece59170...
Paul Davis [Wed, 5 Mar 2014 18:12:18 +0000 (13:12 -0500)]
manually revert change to canvas expose handling in fee026c5ef7107d5d594159f5ece5917041591f7

Breaking out the rectangles implies a z-axis ordering of drawing,because the rect drawn last will implicitly be "on top".
But redraw areas are not submitted with any z-axis information, and so drawing like this breaks canvas layering. It
would be more efficient to draw the rects separately, but we don't have any ordering information and so we cannot do it
correctly.

10 years agoalter name of AutomationLine::show() to much more sensibly named ::update_visibility()
Paul Davis [Wed, 5 Mar 2014 17:11:22 +0000 (12:11 -0500)]
alter name of AutomationLine::show() to much more sensibly named ::update_visibility()

10 years agoremove debugging output
Paul Davis [Wed, 5 Mar 2014 16:47:58 +0000 (11:47 -0500)]
remove debugging output

10 years agouse a centripetal catmull-rom curve to smooth ArdourCanvas::Curve
Paul Davis [Wed, 5 Mar 2014 16:37:13 +0000 (11:37 -0500)]
use a centripetal catmull-rom curve to smooth ArdourCanvas::Curve

See http://en.wikipedia.org/wiki/Centripetal_Catmull-Rom to understand the benefits of this.

10 years agomove vst detection code into ARDOUR namespace
Robin Gareus [Wed, 5 Mar 2014 07:47:54 +0000 (08:47 +0100)]
move vst detection code into ARDOUR namespace

10 years agoclean up and document VST scanner src, add error logging to file
Robin Gareus [Wed, 5 Mar 2014 07:41:29 +0000 (08:41 +0100)]
clean up and document VST scanner src, add error logging to file

10 years ago"correct" curve drawing (no artifacts during redraw)
Paul Davis [Wed, 5 Mar 2014 02:58:07 +0000 (21:58 -0500)]
"correct" curve drawing (no artifacts during redraw)

Interpolation errors still need addressing.

10 years agotentative intermediate state for ArdourCanvas::Curve
Paul Davis [Tue, 4 Mar 2014 15:04:49 +0000 (10:04 -0500)]
tentative intermediate state for ArdourCanvas::Curve

10 years agoonly queue an item redraw from Item::show() or Item::Hide() if the call changes the...
Paul Davis [Tue, 4 Mar 2014 15:04:21 +0000 (10:04 -0500)]
only queue an item redraw from Item::show() or Item::Hide() if the call changes the visibility status of the item (i.e. make no-ops really be no-ops)

10 years agofix/adjust logic used to display automation lines
Paul Davis [Tue, 4 Mar 2014 15:03:14 +0000 (10:03 -0500)]
fix/adjust logic used to display automation lines

10 years agoreduce number of points used to define x-fade curves
Paul Davis [Tue, 4 Mar 2014 15:02:43 +0000 (10:02 -0500)]
reduce number of points used to define x-fade curves

10 years agobreak down GdkEventExpose into distinct rectangles for canvas expose rather than...
Paul Davis [Tue, 4 Mar 2014 13:15:35 +0000 (08:15 -0500)]
break down GdkEventExpose into distinct rectangles for canvas expose rather than drawing the entire region as a single rect

10 years agosome more mingw x-compile fixes
Robin Gareus [Tue, 4 Mar 2014 17:53:43 +0000 (18:53 +0100)]
some more mingw x-compile fixes

10 years agomingw build fixes (tested with i686-w64-mingw32 on linux-x86_64)
Robin Gareus [Tue, 4 Mar 2014 14:25:58 +0000 (15:25 +0100)]
mingw build fixes (tested with i686-w64-mingw32 on linux-x86_64)

10 years agoeven more small mingw/win fixes
Robin Gareus [Mon, 3 Mar 2014 17:44:30 +0000 (18:44 +0100)]
even more small mingw/win fixes

10 years agoyet another mingw/win fix
Robin Gareus [Mon, 3 Mar 2014 17:38:30 +0000 (18:38 +0100)]
yet another mingw/win fix

10 years agominor fix for libpbd wscript on windows
Paul Davis [Mon, 3 Mar 2014 15:27:06 +0000 (10:27 -0500)]
minor fix for libpbd wscript on windows

10 years agosome windows build fixes
Paul Davis [Mon, 3 Mar 2014 02:14:54 +0000 (21:14 -0500)]
some windows build fixes

10 years agosome mingw related tweaks to the build-environment.
Robin Gareus [Mon, 3 Mar 2014 15:09:14 +0000 (16:09 +0100)]
some mingw related tweaks to the build-environment.

10 years agodetect VST midi-in/midi-out ports separately.
Robin Gareus [Mon, 3 Mar 2014 12:35:09 +0000 (13:35 +0100)]
detect VST midi-in/midi-out ports separately.

10 years agopaths-dialog gtkmm-2.20 compatibility (part two)
Robin Gareus [Sun, 2 Mar 2014 21:51:04 +0000 (22:51 +0100)]
paths-dialog gtkmm-2.20 compatibility (part two)

10 years agopaths-dialog gtkmm-2.20 compatibility
Robin Gareus [Sun, 2 Mar 2014 21:38:29 +0000 (22:38 +0100)]
paths-dialog gtkmm-2.20 compatibility

10 years agoimplement VST midi-output
Robin Gareus [Sun, 2 Mar 2014 20:12:25 +0000 (21:12 +0100)]
implement VST midi-output

10 years agoremove recently added conflation of mingw64 and msvc with respect to symbol export
Paul Davis [Sun, 2 Mar 2014 19:59:08 +0000 (14:59 -0500)]
remove recently added conflation of mingw64 and msvc with respect to symbol export

10 years agofix missing const for windows vst_search_path()
Paul Davis [Sun, 2 Mar 2014 17:46:33 +0000 (12:46 -0500)]
fix missing const for windows vst_search_path()

10 years agoinstall small-splash image
Paul Davis [Sun, 2 Mar 2014 17:24:16 +0000 (12:24 -0500)]
install small-splash image

10 years agoadd missing extra file
Paul Davis [Sun, 2 Mar 2014 16:33:35 +0000 (11:33 -0500)]
add missing extra file

10 years agomove fixup_bundle_environment() code into per-platform files
Paul Davis [Sun, 2 Mar 2014 16:30:51 +0000 (11:30 -0500)]
move fixup_bundle_environment() code into per-platform files

10 years agomove export_search_path(), previously in gtk2_ardour/main.cc, into libs/pbd
Paul Davis [Sun, 2 Mar 2014 16:25:54 +0000 (11:25 -0500)]
move export_search_path(), previously in gtk2_ardour/main.cc, into libs/pbd

10 years agouse "new" VST search path code and adjust build system to reflect new source files
Paul Davis [Sun, 2 Mar 2014 15:53:25 +0000 (10:53 -0500)]
use "new" VST search path code and adjust build system to reflect new source files

10 years agoremove fallback_folders code, add simpler more focused get_vst_search_path() and...
Paul Davis [Sun, 2 Mar 2014 15:52:52 +0000 (10:52 -0500)]
remove fallback_folders code, add simpler more focused get_vst_search_path() and breakout get_win_special_folder() into its own file

10 years agofor windows build, add fallback_folders.cc to libpbd source list
Paul Davis [Sun, 2 Mar 2014 03:47:19 +0000 (22:47 -0500)]
for windows build, add fallback_folders.cc to libpbd source list

10 years agoadd likely stub code for adding linkage to libole when building libpbd on windows.
Paul Davis [Sun, 2 Mar 2014 03:44:56 +0000 (22:44 -0500)]
add likely stub code for adding linkage to libole when building libpbd on windows.

I may have gotten the precise linkflags string incorrect, but this my best guess.

10 years agoadd -DPROGRAM_NAME to libpbd compile flags
Paul Davis [Sun, 2 Mar 2014 03:43:46 +0000 (22:43 -0500)]
add -DPROGRAM_NAME to libpbd compile flags

10 years agoREALLY REALLY CORRECT template export macros for libpbd
Paul Davis [Sun, 2 Mar 2014 03:31:47 +0000 (22:31 -0500)]
REALLY REALLY CORRECT template export macros for libpbd

10 years agoREALLY CORRECT template export macros for libpbd
Paul Davis [Sat, 1 Mar 2014 23:59:44 +0000 (18:59 -0500)]
REALLY CORRECT template export macros for libpbd

10 years agouse template export forms for MemementoCommand
Paul Davis [Sat, 1 Mar 2014 23:59:37 +0000 (18:59 -0500)]
use template export forms for MemementoCommand

10 years agoCORRECT template export macros for libpbd
Paul Davis [Sat, 1 Mar 2014 23:58:41 +0000 (18:58 -0500)]
CORRECT template export macros for libpbd

10 years agoremove mingw64 special case from evoral visibility header (might be appropriate every...
Paul Davis [Sat, 1 Mar 2014 23:58:12 +0000 (18:58 -0500)]
remove mingw64 special case from evoral visibility header (might be appropriate everywhere, needs testing)

10 years agoadd template export macros for libpbd
Paul Davis [Sat, 1 Mar 2014 23:57:36 +0000 (18:57 -0500)]
add template export macros for libpbd

10 years agofix use of export macros to work with mingw(64). Template issues with msvc will requi...
Paul Davis [Sat, 1 Mar 2014 23:53:55 +0000 (18:53 -0500)]
fix use of export macros to work with mingw(64). Template issues with msvc will require a different solution (if they exist)

10 years agofix use of export macros to work with mingw(64)
Paul Davis [Sat, 1 Mar 2014 23:53:26 +0000 (18:53 -0500)]
fix use of export macros to work with mingw(64)

10 years agofix correct export macro guard in libpbd for mingw64
Paul Davis [Sat, 1 Mar 2014 23:33:31 +0000 (18:33 -0500)]
fix correct export macro guard in libpbd for mingw64

10 years agofix a related-to-last-commit problem in build script for OSC support
Paul Davis [Sat, 1 Mar 2014 21:58:22 +0000 (16:58 -0500)]
fix a related-to-last-commit problem in build script for OSC support

This would have had the effect of hiding -DPACKAGE="ardour_osc" but since there is no i18n stuff in our OSC support,
it really had no effect.

10 years agofix compilation of libcanvas so that when built as a shared lib (the default), -DLIBC...
Paul Davis [Sat, 1 Mar 2014 21:52:08 +0000 (16:52 -0500)]
fix compilation of libcanvas so that when built as a shared lib (the default), -DLIBCANVAS_DLL_EXPORTS=1 is not lost

10 years agoallow hardour to build even when --exports-hidden is used with waf configure
Paul Davis [Sat, 1 Mar 2014 21:17:58 +0000 (16:17 -0500)]
allow hardour to build even when --exports-hidden is used with waf configure

10 years agoardour now requires export visibility macros for all added classes
Paul Davis [Sat, 1 Mar 2014 21:17:33 +0000 (16:17 -0500)]
ardour now requires export visibility macros for all added classes

10 years agowhen mingw is mingw64, it appears that we need to use __declspec() and not __attribut...
Paul Davis [Sat, 1 Mar 2014 20:16:39 +0000 (15:16 -0500)]
when mingw is mingw64, it appears that we need to use __declspec() and not __attribute__((visibility)) for export control

10 years agore-work VST paths configuration.
Robin Gareus [Fri, 28 Feb 2014 23:56:24 +0000 (00:56 +0100)]
re-work VST paths configuration.

environment vars provide the "default", but are no longer
relevant once ardour-internal paths are configured.

10 years agochange code that is never used into assert()s.
Robin Gareus [Fri, 28 Feb 2014 21:28:57 +0000 (22:28 +0100)]
change code that is never used into assert()s.

plugin-scan should always happen explicitly (either on start
or by user request).

10 years agofix semantics of button press -> leave button -> button release, to match typical...
Paul Davis [Fri, 28 Feb 2014 22:17:23 +0000 (17:17 -0500)]
fix semantics of button press -> leave button -> button release, to match typical GUI toolkits

10 years agoremove debug messages, for now
Paul Davis [Fri, 28 Feb 2014 22:17:00 +0000 (17:17 -0500)]
remove debug messages, for now

10 years agochange implementation of ArdourCanvas::Curve to use GIMP-inspired ideas.
Paul Davis [Fri, 28 Feb 2014 22:00:19 +0000 (17:00 -0500)]
change implementation of ArdourCanvas::Curve to use GIMP-inspired ideas.

Presmooth with quadratic bezier, then interpolate when rendering. Not finished yet

10 years agochange latency calibration button from "record enable button" to "generic button"
Paul Davis [Fri, 28 Feb 2014 21:58:30 +0000 (16:58 -0500)]
change latency calibration button from "record enable button" to "generic button"

10 years agoadd generic button style for ArdourButtons
Paul Davis [Fri, 28 Feb 2014 21:58:05 +0000 (16:58 -0500)]
add generic button style for ArdourButtons

10 years agofix problem with splash window on OS X: requesting a redraw of a hidden window doesn...
Paul Davis [Fri, 28 Feb 2014 21:40:01 +0000 (16:40 -0500)]
fix problem with splash window on OS X: requesting a redraw of a hidden window doesn't result in an expose event being delivered.

The splash window was being hidden by default on OS X as soon as someone called Splash::pop_back_for(), because of window layering issues on OS X. But then
the next call to ::message() would not return because a recursive event loop was started that waits for the expose event, which never comes. So, (a) show the
window when ::message() is called AND (b) remove the recursive event loop because (b.1) we don't seem to need it (b.2) recursive event loops are generally evil.

10 years agoremove splash message/window at shutdown - it is just irritating and unnecessary...
Paul Davis [Fri, 28 Feb 2014 21:36:43 +0000 (16:36 -0500)]
remove splash message/window at shutdown - it is just irritating and unnecessary (or ought to be)

10 years agofix typo in doc
Robin Gareus [Fri, 28 Feb 2014 16:35:43 +0000 (17:35 +0100)]
fix typo in doc

10 years agomake custom lxvst path work..
Robin Gareus [Fri, 28 Feb 2014 16:35:26 +0000 (17:35 +0100)]
make custom lxvst path work..

10 years agochange default value for plugin scan progress window
Robin Gareus [Fri, 28 Feb 2014 16:34:57 +0000 (17:34 +0100)]
change default value for plugin scan progress window

goes with b8e4c446374

10 years agopath-dialogue: check for and disallow duplicates
Robin Gareus [Fri, 28 Feb 2014 16:32:57 +0000 (17:32 +0100)]
path-dialogue: check for and disallow duplicates

10 years agobreak out ARDOUR::PluginType
Robin Gareus [Fri, 28 Feb 2014 16:32:22 +0000 (17:32 +0100)]
break out ARDOUR::PluginType

10 years agodo not crash when considering a directory called midi (with any case) as an apparent...
Paul Davis [Fri, 28 Feb 2014 01:35:23 +0000 (20:35 -0500)]
do not crash when considering a directory called midi (with any case) as an apparent MIDI file

10 years agodisplay policy of plugin-scan progress popup-window
Robin Gareus [Thu, 27 Feb 2014 22:41:48 +0000 (23:41 +0100)]
display policy of plugin-scan progress popup-window

Only show scan-progress when discovering new plugins
(discovery can be cancelled) and optionally also show
it during 'scanning index only'
(with insensitive cancel button)

10 years agomove Paths Dialog to libgtkmm2ext
Robin Gareus [Thu, 27 Feb 2014 00:35:57 +0000 (01:35 +0100)]
move Paths Dialog to libgtkmm2ext

10 years agoglib only allows <glib.h> these days; typedef enum in C++ code is redundant
Paul Davis [Thu, 27 Feb 2014 14:23:07 +0000 (09:23 -0500)]
glib only allows <glib.h> these days; typedef enum in C++ code is redundant

10 years agoremove unneeded extra methods in ArdourCanvas::Curve
Paul Davis [Thu, 27 Feb 2014 14:22:36 +0000 (09:22 -0500)]
remove unneeded extra methods in ArdourCanvas::Curve

10 years agoadd back color definitions that were removed in cd68ae78f9
Paul Davis [Thu, 27 Feb 2014 13:43:36 +0000 (08:43 -0500)]
add back color definitions that were removed in cd68ae78f9

10 years agofix transparent waveform outline
Paul Davis [Thu, 27 Feb 2014 00:49:14 +0000 (19:49 -0500)]
fix transparent waveform outline

10 years agouse Canvas::Curve for drawing xfades
Paul Davis [Wed, 26 Feb 2014 23:45:24 +0000 (18:45 -0500)]
use Canvas::Curve for drawing xfades

Pixel-by-pixel we shall rule the earth.

10 years agoincrease number of steps in xfade curves (where applicable) from about 9 to 32
Paul Davis [Wed, 26 Feb 2014 23:44:54 +0000 (18:44 -0500)]
increase number of steps in xfade curves (where applicable) from about 9 to 32

10 years agotweak a few colors, add options and missing colors
Paul Davis [Wed, 26 Feb 2014 23:44:09 +0000 (18:44 -0500)]
tweak a few colors, add options and missing colors

10 years agodon't waste time and effort deleting GUI components in ~ARDOUR_UI - the OS takes...
Paul Davis [Wed, 26 Feb 2014 21:57:53 +0000 (16:57 -0500)]
don't waste time and effort deleting GUI components in ~ARDOUR_UI - the OS takes care of all that stuff

10 years agotreat linux and windows VST plugins equivalent on session load
Robin Gareus [Wed, 26 Feb 2014 23:44:48 +0000 (00:44 +0100)]
treat linux and windows VST plugins equivalent on session load

10 years ago"cancel" only cancels [new VST] discovery, not index-cache-reading
Robin Gareus [Wed, 26 Feb 2014 19:53:42 +0000 (20:53 +0100)]
"cancel" only cancels [new VST] discovery, not index-cache-reading

10 years agoproperly handle VST scan/discover cancellation.
Robin Gareus [Wed, 26 Feb 2014 19:50:36 +0000 (20:50 +0100)]
properly handle VST scan/discover cancellation.

10 years agoadd note to filesystem paths
Robin Gareus [Wed, 26 Feb 2014 19:43:43 +0000 (20:43 +0100)]
add note to filesystem paths

used e.g. for personal (non system wide) VST cache.

10 years agouser-configurable VST search paths (basic UI)
Robin Gareus [Wed, 26 Feb 2014 16:55:06 +0000 (17:55 +0100)]
user-configurable VST search paths (basic UI)

10 years agouser-configurable VST search paths (backend)
Robin Gareus [Wed, 26 Feb 2014 16:47:38 +0000 (17:47 +0100)]
user-configurable VST search paths (backend)

10 years agomake PBD's path-scanner OS agnostic (use glib)
Robin Gareus [Wed, 26 Feb 2014 16:24:38 +0000 (17:24 +0100)]
make PBD's path-scanner OS agnostic (use glib)

10 years agofix typos
Robin Gareus [Tue, 25 Feb 2014 23:39:25 +0000 (00:39 +0100)]
fix typos

10 years agosevere rationalization (still incomplete) of behaviour of cut + copy.
Paul Davis [Wed, 26 Feb 2014 15:51:38 +0000 (10:51 -0500)]
severe rationalization (still incomplete) of behaviour of cut + copy.

Quite a bit more to do here to make this as intuitive as it ought to be.

10 years agofix display of time selection rect(s) when switching mouse modes
Paul Davis [Wed, 26 Feb 2014 15:50:51 +0000 (10:50 -0500)]
fix display of time selection rect(s) when switching mouse modes

10 years agoconvert canvas_event_frame() and window_event_frame() to canvas_event_sample() and...
Paul Davis [Wed, 26 Feb 2014 13:43:53 +0000 (08:43 -0500)]
convert canvas_event_frame() and window_event_frame() to canvas_event_sample() and window_event_sample() to go along with the convention adopted in cairocanvas code re: frames+samples

10 years agofix lack of range selection when moving vertically
Paul Davis [Wed, 26 Feb 2014 13:24:41 +0000 (08:24 -0500)]
fix lack of range selection when moving vertically

10 years agoamending dc38ec88342219005ee9bde850ff62ac168ba284 so that an empty rubber band select...
Paul Davis [Wed, 26 Feb 2014 03:16:34 +0000 (22:16 -0500)]
amending dc38ec88342219005ee9bde850ff62ac168ba284 so that an empty rubber band selection does NOT deselect tracks.

Still need to decide if the logic for a click that does not select is correct - currently it does deselect tracks unless the SAE profile is in effect (see EditorRubberbandSelectDrag::deselect_things()

10 years agorange selection drag ensures that selected tracks include all tracks within the verti...
Paul Davis [Wed, 26 Feb 2014 02:55:25 +0000 (21:55 -0500)]
range selection drag ensures that selected tracks include all tracks within the vertical height spanned by the drag.

Older code looked at the track under the motion event coordinates. With rapid mouse motion, tracks could be "skipped" - no motion event
would be reported within their vertical coordinate range.

10 years agoensure that track selection operations call ::set_selected() for tracks, allowing...
Paul Davis [Wed, 26 Feb 2014 02:53:52 +0000 (21:53 -0500)]
ensure that track selection operations call ::set_selected() for tracks, allowing faster lookups of selected status during drags

10 years agoadd ::covered_by_y_range() to TimeAxisView
Paul Davis [Wed, 26 Feb 2014 02:53:04 +0000 (21:53 -0500)]
add ::covered_by_y_range() to TimeAxisView

10 years agofix canvas enter/leave bug when point is over a group/ignore-event item and we fail...
Paul Davis [Tue, 25 Feb 2014 21:08:36 +0000 (16:08 -0500)]
fix canvas enter/leave bug when point is over a group/ignore-event item and we fail to send a leave event to the previous item

10 years agoadd DEBUG::CanvasEnterLeave to allow runtime toggling of canvas enter/leave events
Paul Davis [Tue, 25 Feb 2014 21:07:51 +0000 (16:07 -0500)]
add DEBUG::CanvasEnterLeave to allow runtime toggling of canvas enter/leave events

10 years agoa rubber-band drag or other selection op that actually selects nothing should cancel...
Paul Davis [Tue, 25 Feb 2014 20:24:41 +0000 (15:24 -0500)]
a rubber-band drag or other selection op that actually selects nothing should cancel the current selection

10 years agofix height of time axis item view trim frame handles
Paul Davis [Tue, 25 Feb 2014 18:37:57 +0000 (13:37 -0500)]
fix height of time axis item view trim frame handles

10 years agooption to en/dis-able VST plugin discovery on startup
Robin Gareus [Tue, 25 Feb 2014 17:48:08 +0000 (18:48 +0100)]
option to en/dis-able VST plugin discovery on startup

10 years agoindent/align
Paul Davis [Tue, 25 Feb 2014 16:55:37 +0000 (11:55 -0500)]
indent/align

10 years agoreorder (in source only) positioning of ruler/marker canvas groups
Paul Davis [Tue, 25 Feb 2014 16:55:21 +0000 (11:55 -0500)]
reorder (in source only) positioning of ruler/marker canvas groups

10 years agofiddle with single pixel adjustments to time axis view item heights; fix region gain...
Paul Davis [Tue, 25 Feb 2014 16:35:55 +0000 (11:35 -0500)]
fiddle with single pixel adjustments to time axis view item heights; fix region gain envelope visibility

10 years agotweak canvas rect drawing to correctly place bottom edge of rectangle inside the...
Paul Davis [Tue, 25 Feb 2014 16:35:00 +0000 (11:35 -0500)]
tweak canvas rect drawing to correctly place bottom edge of rectangle inside the bounds (cairo works in mysterious ways)

10 years agoreverse default behaviour for adding control points to automation with mouse clicks...
Paul Davis [Fri, 21 Feb 2014 20:30:33 +0000 (15:30 -0500)]
reverse default behaviour for adding control points to automation with mouse clicks. unmodified click adds new control point without guard points; ctrl-click adds new point with a guard point (old behaviour)