John Emmas
d52eb5bf23
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
2014-03-12 13:22:25 +00:00
Paul Davis
9f98837255
more error messages if session renaming fails, and remove stupid use of RENAME macro and use ::g_rename() instead
2014-03-12 08:49:18 -04:00
Robin Gareus
f6129ed0f4
prototype vfork exec-wrapper.
2014-03-11 15:48:41 +01:00
Paul Davis
c2946ee00f
don't queue redraws when various canvas item properties are "reset" to the same value, plus supporting functions
2014-03-11 07:36:09 -04:00
Paul Davis
495c0de4ac
fix up waf build in wake of search path changes earlier today
2014-03-10 17:30:12 -04:00
Paul Davis
1a3634f3b9
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
2014-03-10 17:30:12 -04:00
Paul Davis
1e4559805f
use PBD::downcase() rather than non-portable MS-based strlwr()
2014-03-10 17:30:12 -04:00
Paul Davis
e25fbeb22d
required header for new search_paths.h
2014-03-10 17:30:12 -04:00
Paul Davis
b6a9bf5d04
add PBD::downcase() functions to libpbd
2014-03-10 17:30:12 -04:00
John Emmas
5ccf1e7346
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'
2014-03-10 18:51:30 +00:00
John Emmas
a4752e057d
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)
2014-03-10 16:24:11 +00:00
John Emmas
e0678ce30f
Modify 'user_config_dir_name' to use the program name (e.g. Ardour or Mixbus) instead of always assuming 'Ardour'.
2014-03-10 16:24:10 +00:00
John Emmas
34c67ba854
Move 'template_search_path()' and 'route_template_search_path()' into 'libs/ardour/search_paths.cc'
2014-03-10 16:24:10 +00:00
John Emmas
b32d9a1c70
Transfer 'vst_search_path()' into 'libs/ardour/search_paths.cc'
2014-03-10 16:24:09 +00:00
John Emmas
f372a66128
Transfer 'panner_search_path()' into 'libs/ardour/search_paths.cc'
2014-03-10 16:24:08 +00:00
John Emmas
aa7c2ab5c2
Transfer 'midi_patch_search_path()' into 'libs/ardour/search_paths.cc'
2014-03-10 16:24:08 +00:00
John Emmas
8a44aa9aba
Transfer 'lv2_bundled_search_path()' into 'libs/ardour/search_paths.cc'
2014-03-10 16:24:07 +00:00
John Emmas
ff053653e1
Transfer 'ladspa_search_path()' into 'libs/ardour/search_paths.cc'
2014-03-10 16:24:06 +00:00
John Emmas
d1fd112bdf
Transfer 'export_formats_search_path()' into 'libs/ardour/search_paths.cc'
2014-03-10 16:24:06 +00:00
John Emmas
75c55b0aa0
Transfer 'control_protocol_search_path()' into 'libs/ardour/search_paths.cc'
2014-03-10 16:24:05 +00:00
John Emmas
06fe0a5172
Create 'libs/ardour/search_paths.cc/.h' and transfer backend_search_path() to it
2014-03-10 16:24:05 +00:00
Paul Davis
032f394b2a
tiny red dots, be gone (expand poly_item bounding box by correct (?) amount)
2014-03-10 11:10:38 -04:00
Paul Davis
ec0be1310f
missing iterator advance
2014-03-10 11:10:38 -04:00
Robin Gareus
1374501727
tempo match midi auditioning - #5881
2014-03-10 00:48:48 +01:00
Robin Gareus
07d5a389fa
add missing include to define LIBPBD_API (mingw build)
2014-03-09 21:05:17 +01:00
Robin Gareus
ba0ae4818a
[VST] scan timeout display and per plugin timeout override.
2014-03-09 20:32:52 +01:00
Robin Gareus
da73b0f670
prepare configurable VST scan timeout
2014-03-09 20:32:52 +01:00
Paul Davis
52c8b6d66a
stupid hack to fix rectangle damage noise
2014-03-09 11:39:57 -04:00
John Emmas
fc94f71d5a
Modified nesting to ensure that 'vst_search_path()' shouldn't return NULL if the first test fails
2014-03-09 11:48:09 +00:00
Robin Gareus
611dc796de
fix reading VST shell-plugin .fsi cache
2014-03-09 00:36:13 +01:00
Robin Gareus
551993b96c
VST? yes, we can do.
2014-03-08 23:34:49 +01:00
Robin Gareus
2fc52ec5fd
paths dialog: use selection as default when adding new dirs
2014-03-08 18:28:16 +01:00
Robin Gareus
732d58ba81
fix double-free() when scanning VST shell plugins
2014-03-08 18:27:30 +01:00
Robin Gareus
cf1363a4a9
VST scanner: fix Ardour type IDs
2014-03-08 17:24:42 +01:00
John Emmas
944c32346b
Add a couple of visibility specifiers that were missing
2014-03-08 11:29:52 +00:00
John Emmas
c7bc009b30
Use LIBPBD_TEMPLATE_API and LIBPBD_TEMPLATE_MEMBER_API where appropriate
2014-03-08 11:28:54 +00:00
Paul Davis
6d3bd4e53c
use fill transparency detection to avoid rendering transparent (invisible) rectangle fill area
2014-03-07 12:29:26 -05:00
Paul Davis
12ef19d90a
if a Fill object is given a zero-alpha (transparent) color, note that
2014-03-07 12:28:52 -05:00
Paul Davis
52cfbb45e1
alter ArdourCanvas::Rect::expand() to not clamp to all-positive values because we now definitely have items that have negative coordinates.
...
This could have drastic consequences but I think the all-positive was a hack to fix a problem that was solved separately by means currently unknown.
2014-03-07 11:26:27 -05:00
Paul Davis
621887cfaa
slightly optimize bounding box computation for ArdourCanvas::PolyItem by avoiding inner conditional
2014-03-07 11:24:51 -05:00
Paul Davis
e5802bdbea
move an assert to cover only cases where it is needed
2014-03-07 11:23:22 -05:00
Paul Davis
2a6fc5af74
tweak Polygon::render() to work whether or not fill or outline are unset
2014-03-06 23:15:59 -05:00
Paul Davis
e4e6010cd4
add on_name_changed() virtual method to CairoWidget
...
If a CairoWidget does not a GtkRC-defined style, then changing its name does not trigger on_style_changed(). Since we want to use CairoWidget::set_name()
to trigger changes in the rendering of a widget, this is ... bad. Adding on_name_changed() provides a workaround for that.
2014-03-06 09:44:33 -05:00
Robin Gareus
142439b9a8
no dot prefix for VST cache files on windows.
2014-03-05 19:44:01 +01:00
Paul Davis
a08c0ea1da
manually revert change to canvas expose handling in fee026c5ef
...
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.
2014-03-05 13:12:18 -05:00
Paul Davis
58a30da03d
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.
2014-03-05 11:38:30 -05:00
Robin Gareus
f3300ec03c
move vst detection code into ARDOUR namespace
2014-03-05 08:47:54 +01:00
Robin Gareus
dd1c397344
clean up and document VST scanner src, add error logging to file
2014-03-05 08:41:29 +01:00
Paul Davis
e6849e9c7e
"correct" curve drawing (no artifacts during redraw)
...
Interpolation errors still need addressing.
2014-03-04 21:58:17 -05:00
Paul Davis
c29d392b0c
tentative intermediate state for ArdourCanvas::Curve
2014-03-04 21:58:17 -05:00