Commit Graph

54 Commits

Author SHA1 Message Date
836f48457d add a "Pin Management" button to the plugin UI-header 2016-08-05 02:35:51 +02:00
167b9dda37 fix OSX compilation 2016-07-14 23:08:23 +02:00
b402e12d54 fix ppc builds 2016-05-05 01:21:53 +02:00
6a8b177f06 don't bother compiling nsview code swizzling for PPC
The platform has no support for libdispatch which is handy when setting up an objective C block,
and also has no Retina, which means it doesn't suffer the problem this code is intended to fix
2016-05-04 17:38:26 -04:00
bd461fe202 tweak AU redrawing blocking heuristics 2016-05-01 20:02:22 +02:00
35c01e552f increase visibility of actual compiler warnings 2016-05-01 20:02:22 +02:00
84de618047 use CFRunLoopTimer to check the effect of plugin redrawing, not a glib idle 2016-04-30 13:20:08 -04:00
d574039dd4 clean up of displayIfNeeded hack code
Remove most debug output (not all). Rename variables and functions. Add comments
2016-04-29 08:20:01 -04:00
961e7ecdc8 clever tricks with code swizzling to slow down errant plugin GUIs for AU
This commit swizzles (replaces) NSView::displayIfNeeded to allow us to stop redraws of plugin
windows if the Glib idle timer fires less often then every 40msec. The next 10 plugin redraws
(for all plugin windows combined) will be skipped. Heuristics will likely need some adjustments
2016-04-28 18:42:04 -04:00
04d86ebd8d fix logic bomb 2016-04-27 20:12:15 -04:00
42983959d2 if built on OS X without live resizing features, make AU plugin windows non-user-resiable 2016-04-27 19:59:40 -04:00
70b88d5e89 change ordering of origin-move and window-resize for AU plugins 2016-04-27 15:48:13 -04:00
f5f1976600 show debug out when AU NSView doesnt get moved 2016-04-27 15:24:00 -04:00
2cc7faab21 significant reworking of AudioUnit window resizing.
Tested on Apple Multiban Comp, Apple Dynamics Proc, AU Sampler, Zebra2 and Zebralette.

Still have a 1-2 pixel white border at lower and right edge after window is dragged larger.

Also, debug output.
2016-04-27 00:03:14 -04:00
a26850030a Revert "test workaround for OSX IK-Multimedia Plugin GUIs."
This reverts commit b031d762c9.
2016-03-24 23:00:06 +01:00
b031d762c9 test workaround for OSX IK-Multimedia Plugin GUIs. 2016-03-23 16:59:07 +01:00
0992272858 fix embedding AU/carbon UIs
the UI shows top/left (not centered, no resize) more detail work to come.
2015-10-28 14:10:49 +01:00
8d1edb13d3 Revert "potential fix for some AU plugin UIs not displaying"
This reverts commit e8fe35d96e.
2015-10-28 14:02:57 +01:00
e8fe35d96e potential fix for some AU plugin UIs not displaying
looks like not all AU plugin GUIs redraw themselves if 
[win setAutodisplay:1] is unnot.

A user reported that some Waves plugins and Shattered Glass 32bit AUs
are blank in 4.4 on 32bit OSX.

see also 5eefdf7 and earlier AU/API changes.
2015-10-27 23:12:53 +01:00
4953d09893 hack to keep UI responsive with heavy AU views. 2015-10-20 19:14:14 +02:00
bd6b4025de one less deprecated API 2015-10-18 23:29:58 +02:00
d17b73e989 GUI changes use new AppleUtility Library 2015-10-18 23:03:14 +02:00
5eefdf7536 update AU GUI positioning and resizing. 2015-10-14 22:46:07 +02:00
d1334074af add plugin parameter reset button - closes #6297 2015-05-04 20:52:48 +02:00
3c3586a4e1 AU presets: allow to save & directly use. 2015-02-28 08:04:14 +01:00
e77e7f1f3d fix carbon GUI focus/re-exposure 2015-02-27 19:43:36 +01:00
2249b98f53 cabron? 2015-02-26 19:51:30 +01:00
a0eeb80885 fix embedded plugin UI keyboard handling
When the GUI is opened the first time all is fine, focus is on the
embedded widget. However once a user presses one of the preset buttons
(Add, Save,...) there is no possibility to return focus to the
embedded widget. Ardour always 'sees' it as focus=GtkButton and passes
the event to the editor.
2015-02-21 03:16:04 +01:00
6b1c171dc2 Fix warnings. 2014-12-25 13:50:00 -05:00
5b28e0bc6f Fix position of AU GUIs.
I'm not sure if this will be right everywhere, but it's perfectly centered for
me and corresponds to the spacing/padding that's present, so it seems right.
2014-12-24 13:00:32 -05:00
aab64ecd5c OSX 10.9.5 clang++ loves nil more than ever
#undef nil // for sigc++ compat does no longer work as expected.
2014-10-07 14:48:08 +02:00
Michael R. Fisher
e38cb7de36 OSX GUI - Prevent compiler errors when -std=c++11 is switched on 2013-08-08 15:23:09 -04:00
88f7524118 hack up AU GUI support to handle AUSampler resizing better. Note that this is still one buggy plugin 2013-05-01 18:41:51 -04:00
d54a35a671 cleanup AU GUI support, which was broken because prefheight and prefwidth were left unset after a cleanup attempt some months ago. add a few more tweaks based on current 2.x code and some tricks found elsewhere that dont' change behaviour but are just better 2013-04-30 11:15:23 -04:00
c623cfe0f3 forward port the carbon window position fix from 2.X
git-svn-id: svn://localhost/ardour2/branches/3.0@13069 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-07-23 14:22:27 +00:00
11415b49be first pass at the big rethink of managing sort order keys for editor and mixer. this appears to work, but remote control IDs are not yet correct (frequently off by one because of the presence of the master bus in the editor)
git-svn-id: svn://localhost/ardour2/branches/3.0@12953 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-27 22:57:06 +00:00
c1f46b15d2 remember to disconnect the _notify object when an AU GUI is destroyed
git-svn-id: svn://localhost/ardour2/branches/3.0@12545 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-02 16:01:18 +00:00
e16bb2a078 remove AU GUI debugging test in which arrow keys could be used to change GUI size
git-svn-id: svn://localhost/ardour2/branches/3.0@12538 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-02 12:04:29 +00:00
a025337960 finally, working AU plugin GUI resizing, at least in response to plugin-GUI driven changes
git-svn-id: svn://localhost/ardour2/branches/3.0@12536 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-01 22:27:10 +00:00
5b6721f657 potential fix for AU GUIs resizing (not yet tested)
git-svn-id: svn://localhost/ardour2/branches/3.0@12035 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-19 20:11:15 +00:00
34909f79ad Make Carbon GUI support for AU's optional at compile time (from Robin)
git-svn-id: svn://localhost/ardour2/branches/3.0@10872 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-12-02 20:42:27 +00:00
4f7b88f40f use DEBUG_TRACE for some AudioUnit GUI debugging
git-svn-id: svn://localhost/ardour2/branches/3.0@10523 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-10 01:32:34 +00:00
f3d5ad776b fix AU plugin creation by changing packing of preset combo/box
git-svn-id: svn://localhost/ardour2/branches/3.0@10237 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-10-19 17:11:53 +00:00
0938a42440 fixes for 98% of all the warnings/errors reported by OS X gcc on tiger
git-svn-id: svn://localhost/ardour2/branches/3.0@10179 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-09-30 17:55:14 +00:00
b85b4d9e54 make ardour3 build and link on OS X (tiger, at least)
git-svn-id: svn://localhost/ardour2/branches/3.0@8018 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-11-13 05:14:48 +00:00
e5258d4ed1 Fix angle bracket project-local include paths.
git-svn-id: svn://localhost/ardour2/branches/3.0@5975 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-10-30 00:21:40 +00:00
88beef2e93 merge pre- and post-fader processor boxes; start removing Placement (not finished) ; add -DWAF_BUILD and use per-directory foobar-config.h to correctly pick up configure-time settings like HAVE_OGG ; check for libgiomm (part of upgrade to newer gtk stack); 32 bit marker reload fix from 2.X; audiounit IO config cache fix from 2.X; multi-add route template fix from 2.X; plugin GUI delete fix from 2.X; solo button labels are A or P for listen mode
git-svn-id: svn://localhost/ardour2/branches/3.0@5344 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-07-13 00:26:28 +00:00
bc89fe0147 most of the 2.X->3.0 commit (up to rev 4299) except for gtk2_ardour/editor_canvas.cc; builds and runs and does a few specific things but expect it to be buggy for a while yet
git-svn-id: svn://localhost/ardour2/branches/3.0@4313 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-12-12 14:43:24 +00:00
68e943265e merge from 2.0-ongoing @ 3581
git-svn-id: svn://localhost/ardour2/branches/3.0@3711 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-09-10 15:03:30 +00:00
cb41314642 merge 3.0 from 2.0-ongoing@3243
git-svn-id: svn://localhost/ardour2/branches/3.0@3248 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-04-11 14:06:50 +00:00