Commit graph

6668 commits

Author SHA1 Message Date
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
Paul Davis
dde4d3bbc3 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) 2014-03-04 21:58:17 -05:00
Paul Davis
6863bb9d28 reduce number of points used to define x-fade curves 2014-03-04 21:58:16 -05:00
Paul Davis
fee026c5ef break down GdkEventExpose into distinct rectangles for canvas expose rather than drawing the entire region as a single rect 2014-03-04 21:58:16 -05:00
Robin Gareus
1c839ed541 some more mingw x-compile fixes 2014-03-04 18:53:43 +01:00
Robin Gareus
912f07b919 mingw build fixes (tested with i686-w64-mingw32 on linux-x86_64) 2014-03-04 15:25:58 +01:00
Robin Gareus
3e250d5f06 even more small mingw/win fixes 2014-03-03 18:44:30 +01:00
Robin Gareus
5cfdb7d1ce yet another mingw/win fix 2014-03-03 18:39:30 +01:00
Paul Davis
43421f0b46 minor fix for libpbd wscript on windows 2014-03-03 10:31:53 -05:00
Paul Davis
5db9599e7e some windows build fixes 2014-03-03 10:31:53 -05:00
Robin Gareus
6442f316d4 detect VST midi-in/midi-out ports separately. 2014-03-03 13:35:09 +01:00
Robin Gareus
76fb7278dd paths-dialog gtkmm-2.20 compatibility (part two) 2014-03-02 22:51:04 +01:00
Robin Gareus
f303c9ebb2 paths-dialog gtkmm-2.20 compatibility 2014-03-02 22:38:29 +01:00
Robin Gareus
52b127a35b implement VST midi-output 2014-03-02 21:18:52 +01:00
Paul Davis
e6c3cece64 remove recently added conflation of mingw64 and msvc with respect to symbol export 2014-03-02 14:59:08 -05:00
Paul Davis
86ad316180 fix missing const for windows vst_search_path() 2014-03-02 12:46:33 -05:00
Paul Davis
deb48ff22d add missing extra file 2014-03-02 11:33:35 -05:00
Paul Davis
8040df1897 move export_search_path(), previously in gtk2_ardour/main.cc, into libs/pbd 2014-03-02 11:25:54 -05:00
Paul Davis
b8419ae7cd use "new" VST search path code and adjust build system to reflect new source files 2014-03-02 10:53:25 -05:00
Paul Davis
8ba449bc4e remove fallback_folders code, add simpler more focused get_vst_search_path() and breakout get_win_special_folder() into its own file 2014-03-02 10:52:52 -05:00
Paul Davis
c10e11eca5 for windows build, add fallback_folders.cc to libpbd source list 2014-03-01 22:47:19 -05:00
Paul Davis
fc88eaf392 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.
2014-03-01 22:44:56 -05:00
Paul Davis
fd64bba1de add -DPROGRAM_NAME to libpbd compile flags 2014-03-01 22:43:46 -05:00
Paul Davis
08c89809ee REALLY REALLY CORRECT template export macros for libpbd 2014-03-01 22:31:47 -05:00
Paul Davis
dbd89ed49d REALLY CORRECT template export macros for libpbd 2014-03-01 18:59:44 -05:00
Paul Davis
c1a540f34e use template export forms for MemementoCommand 2014-03-01 18:59:37 -05:00