summaryrefslogtreecommitdiff
path: root/unity-shared
AgeCommit message (Collapse)Author
2013-12-04* Revert most of lp:unity revno. 3509 as the Compiz Grid plugin is a better ↵Chris Townsend
place to handle the Ctrl-Super-Left/Right shortcuts. * Expanded autopilot test to check for correct window placement when semi-maximizing and restoring. Fixes LP: #1251777 (bzr r3606.1.1)
2013-11-21{Dash,Hud}Controller: unset the keyfocus area only if one of their children ↵Marco Trevisan (Treviño)
has the focus Otherwise we could steal the focus to another view (such as the Alt+Tab switcher). Fixes: https://bugs.launchpad.net/bugs/1252760. Approved by PS Jenkins bot, Brandon Schaefer. (bzr r3602)
2013-11-21SwitcherView: define a custom GeometryGetterFunc and notify helper on changesMarco Trevisan (Treviño)
Thanks to this the switcher won't make BackgroundEffectHelper to create a blurred area as big as the current monitor (with just a small padding), but an area big enough to draw its background. This get updated automagically when the switcher view changes its geometry... Also, use nux::AnimateValue for switcher animations, making compiz to orchestrate it and only redraw the view if an icon changed since the last progress iteration. We don't want the switcher to be drawn unless its geometry or an icon changes. Also we don't want to redraw the switcher multiple times if only a not-animated parameter of an icon (such as a pip or the selection glow) has changed. As bonus, reduce lots of list copies. Approved by Christopher Townsend, PS Jenkins bot. (bzr r3601)
2013-11-21UnityWindowView: add the ability to override the blurred-background area sizeMarco Trevisan (Treviño)
By default that's the same of the BackgroundGeometry, but other clients (ehm, switcher, ehm...) might need custom setups. (bzr r3347.6.10)
2013-11-20BackgroundEffectHelper: Specify the required blur area before drawing so ↵Marco Trevisan (Treviño)
selectively copy it at paint time This means that we don't have to waste fragment bandwidth copying the entire backbuffer when we could just do parts of it. Now BackgroundEffectHelper listens to windows and views geometry changes and updates a list of blurred regions that might be copied to the backup texture at every repaint that affects them. This avoids to copy large regions (especially when using big resolutions or multiple monitors), but only the ones we really need to blur. Approved by PS Jenkins bot, Eleni Maria Stea, Christopher Townsend. Original authors: - Marco Trevisan (Treviño) <mail@3v1n0.net> - Sam Spilsbury <sam.spilsbury@canonical.com> (bzr r3600)
2013-11-20BackgroundEffectHelper: add new constructor that allows to define owner ↵Marco Trevisan (Treviño)
immediately And use it in Panel, UnityWindowView and Launcher (bzr r3347.7.5)
2013-11-20IntrospectionData: use a template-based internal function to add a SIMPLE ↵Marco Trevisan (Treviño)
type value (bzr r3506.7.12)
2013-11-20IntrospectionData: add missing returnsMarco Trevisan (Treviño)
(bzr r3506.7.11)
2013-11-20IntrospectionData: Use Variant to initialize also 32 bits dataMarco Trevisan (Treviño)
(bzr r3506.7.10)
2013-11-19A new merge with lp:~3v1n0/unity/ap1.4-introspection-cleanupMarco Trevisan (Treviño)
(bzr r3506.7.9)
2013-11-19IntrospectionData: add definition for long in 32bit platformsMarco Trevisan (Treviño)
(bzr r3506.6.21)
2013-11-19Merging again with lp:~3v1n0/unity/ap1.4-introspection-cleanupMarco Trevisan (Treviño)
(bzr r3506.7.8)
2013-11-19IntrospectionData: add missing parameterMarco Trevisan (Treviño)
(bzr r3506.6.19)
2013-11-19Merging with lp:~3v1n0/unity/ap1.4-introspection-cleanupMarco Trevisan (Treviño)
(bzr r3506.7.7)
2013-11-19IntrospectionData: add definition for unsigned long if not on 64 bitsMarco Trevisan (Treviño)
As it is used by Window type on these platforms (bzr r3506.6.18)
2013-11-19Merge with trunkMarco Trevisan (Treviño)
(bzr r3506.6.16)
2013-11-19AbstractIconRenderer: implement operator== and operator!=Marco Trevisan (Treviño)
(bzr r3347.6.7)
2013-11-19Merging with lp:~unity-team/unity/blur-regionMarco Trevisan (Treviño)
(bzr r3347.6.4)
2013-11-19Merging with trunkMarco Trevisan (Treviño)
(bzr r3347.5.23)
2013-11-19BackgroundEffectHelper: allow children to define a custom ↵Marco Trevisan (Treviño)
BackgroundEffectHelper::GeometryGetterFunc This is mostly needed by the switcher. Also remove the unneeded offsets when painting the blurred bg. (bzr r3347.6.2)
2013-11-19BackgroundEffectHelper: Set radius to 0 when using no blur, some cleanupMarco Trevisan (Treviño)
(bzr r3347.5.22)
2013-11-18BackgroundEffectHelper: keep a cached version of blur geometriesMarco Trevisan (Treviño)
Now the blurred geometries are saved in a list that gets updated only when they change, this allows to reduce a lot the cost of GetBlurGeometries that now only returns a const reference of the actual vector. Improved also HasEnabledHelpers (no helper can be registered if it's not enabled). (bzr r3347.5.20)
2013-11-18adds virtual destructors to classes with virtual methods to prevent memory ↵Eleni Maria Stea
leaks - ABI break. Approved by Christopher Townsend, PS Jenkins bot. (bzr r3597)
2013-11-18OverlayRenderer: remove debug dataMarco Trevisan (Treviño)
(bzr r3347.5.19)
2013-11-18OverlayRenderer: update the blur region before drawing, otherwise we'll get ↵Marco Trevisan (Treviño)
a lag We need to update BackgroundEffectHelper about the new blurred regions before drawing, otherwise compiz will copy the wrong area to the backbuffer and as result we'll get a corrupted blurred image as background. (bzr r3347.5.17)
2013-11-17Unity: always prefer passing [this] to lambdas than [&].Marco Trevisan (Treviño)
Approved by PS Jenkins bot, Andrea Azzarone. (bzr r3596)
2013-11-16BackgroundEffectHelper: connect to owner geometry changes to update the ↵Marco Trevisan (Treviño)
requested blur geo Now BGHelper clients doesn't need to do this manually: as soon as they register with the helper, it connects to owner's geometry changes. Each owner can also provide a custom function for defining another blur region instead of its absolute geometry (mostly needed by the dash). (bzr r3347.5.14)
2013-11-15BackgroundEffectHelper: only register helpers if an owner is setMarco Trevisan (Treviño)
Plus some code cleanup, remove some unused properties and move others to static consts. (bzr r3347.5.13)
2013-11-15UnityShell: some code cleanupMarco Trevisan (Treviño)
(bzr r3347.5.11)
2013-11-14BackgroundEffectHelper: use GetExpand for computing the blurred areaMarco Trevisan (Treviño)
Also factorize the BlurSigma and BlurRadius computation (bzr r3347.5.9)
2013-11-14Merging with lp:~3v1n0/unity/gl-bottleneck-fixMarco Trevisan (Treviño)
(bzr r3347.5.8)
2013-11-14Unity: always prefer passing [this] to lambdas than [&]Marco Trevisan (Treviño)
(bzr r3592.2.1)
2013-11-14Merging with lp:~3v1n0/unity/ap1.4-introspection-cleanupMarco Trevisan (Treviño)
(bzr r3506.7.6)
2013-11-14LauncherIcon, autopilot: introspect nux::Point3 directly, remove unneeded ↵Marco Trevisan (Treviño)
duplications. (bzr r3506.6.15)
2013-11-14IntrospectionData: add support for nux::Point3Marco Trevisan (Treviño)
Fixes LP: #1227131 (bzr r3506.6.14)
2013-11-14Merge with trunkMarco Trevisan (Treviño)
(bzr r3506.6.9)
2013-11-12Fix indentation.Andrea Azzarone
(bzr r3587.3.6)
2013-11-11Remove unwanted empty line.Andrea Azzarone
(bzr r3587.3.5)
2013-11-11Fix build issue on ARM.Andrea Azzarone
(bzr r3587.3.4)
2013-11-08merged to trunkEleni Maria Stea
(bzr r3587.4.3)
2013-11-07Merge lp:unity trunk.Andrea Azzarone
(bzr r3587.3.3)
2013-11-07Merge with lp:unityAndrea Azzarone
(bzr r3587.3.2)
2013-11-07Merge in lp:unity.Chris Townsend
(bzr r3347.3.18)
2013-11-06Alt-Tab, shutdown dialog and shortcut overlay should not be transparent in ↵Andrea Azzarone
Low GFX Mode. Fixes LP: #1170508 (bzr r3587.3.1)
2013-11-06added virtual destructors in classes that have virtual methodsEleni Maria Stea
to prevent future memory leaks (bzr r3587.4.1)
2013-11-01Merging with trunkMarco Trevisan (Treviño)
(bzr r3506.5.36)
2013-10-31BackgroundEffectHelper: use IsIntersectingMarco Trevisan (Treviño)
(bzr r3347.3.16)
2013-10-30Unity: use IsIntersecting when possibleMarco Trevisan (Treviño)
(bzr r3347.3.13)
2013-10-29Reverting support for libxpathselect1.4.Francis Ginther
(bzr r3585.1.1)
2013-10-23Support libxpathselect1.4.Marco Trevisan (Treviño)
Fixes LP: #1243529 (bzr r3580.1.1)