2013-10-10 Marco Trevisan (Treviño) <mail@3v1n0.net>
ApplicationLauncherIcon: don't unset the app if the icon has been already removed
In this case the app is unset when removed, doing it twice causes the app->seen flag to
be reset and this breaks the assumtions of the LauncherController, making it to recreate
a new app for the same BamfApplication. Fixes: https://bugs.launchpad.net/bugs/1237182.
Approved by PS Jenkins bot, Christopher Townsend.
2013-10-10 Marco Trevisan (Treviño) <mail@3v1n0.net>
TestApplicationLauncherIcon: verify that removing/destroying an icon won't break the Seen flag
2013-10-10 Marco Trevisan (Treviño) <mail@3v1n0.net>
ApplicationLauncherIcon: don't unset the app if the icon has been already removed
In this case the app is unset when removed, doing it twice causes the app->seen flag to be
reset and this breaks the assumtions of the LauncherController, making it to recreate a
new app for the same BamfApplication.
2013-10-10 Marco Trevisan (Treviño) <mail@3v1n0.net>
TestApplicationLauncherIcon: verify destruction unsets app parameters
2013-10-10 Marco Trevisan (Treviño) <mail@3v1n0.net>
TestApplicationLauncherIcon: even more Removal tests
2013-10-10 Marco Trevisan (Treviño) <mail@3v1n0.net>
TestApplicationLauncherIcon: add new tests to verify SetApplication
2013-10-10 Marco Trevisan (Treviño) <mail@3v1n0.net>
ApplicationLauncherIcon: keep the stikyness state of the icon when replacing the inner app
No need to do this manually on SoftwareCenterLauncherIcon anymore.
2013-10-10 Marco Trevisan (Treviño) <mail@3v1n0.net>
ApplicationLauncherIcon: add UnsetApplication utility function to reset application parameters
This is done when removing, destructing and replacing the application.
2013-10-10 Marco Trevisan (Treviño) <mail@3v1n0.net>
LauncherIcon: set the removed property true and disconnect from callbacks when removed
2013-10-10 Marco Trevisan (Treviño) <mail@3v1n0.net>
SourceManager: add RemoveAll public method.
Approved by Christopher Townsend, PS Jenkins bot.
2013-10-10 Marco Trevisan (Treviño) <mail@3v1n0.net>
TestGLibSourceManager: add RemoveAll tests
2013-10-10 Marco Trevisan (Treviño) <mail@3v1n0.net>
SourceManager: add RemoveAll public method
2013-10-09 Marco Trevisan (Treviño) <mail@3v1n0.net>
ApplicationLauncherIcon: remove the icon when setting a null application. Fixes: https://bugs.launchpad.net/bugs/1237161.
Approved by PS Jenkins bot, Brandon Schaefer.
2013-10-09 Marco Trevisan (Treviño) <mail@3v1n0.net>
TestSoftwareCenterLauncherIcon: test cleanup
2013-10-09 Marco Trevisan (Treviño) <mail@3v1n0.net>
TestSoftwareCenterLauncherIcon: make sure we don't crash when a new Null app is set
2013-10-09 Marco Trevisan (Treviño) <mail@3v1n0.net>
SoftwareCenterLauncherIcon: be safer when handling new app
It may be null.
2013-10-09 Marco Trevisan (Treviño) <mail@3v1n0.net>
ApplicationLauncherIcon: remove the icon when setting a null application
2013-10-08 Andrea Azzarone <email address hidden>
Fix rendering of italic text in StaticCairoText. Fixes: https://bugs.launchpad.net/bugs/1190275.
Approved by PS Jenkins bot, Brandon Schaefer.
2013-10-08 Andrea Azzarone <email address hidden>
Fix rendering of italic test.
2013-10-08 Marco Trevisan (Treviño) <mail@3v1n0.net>
AP, TestSpread: assertWindowIsNotScaled may fail when getting the Xid. Fixes: https://bugs.launchpad.net/bugs/1236872.
Approved by PS Jenkins bot, Christopher Townsend.
2013-10-08 Marco Trevisan (Treviño) <mail@3v1n0.net>
AP, WindowManagerKeybindingsForWindowHandling: just extend UnityTestCase
Or we have duplicated tests that may fail
2013-10-08 Marco Trevisan (Treviño) <mail@3v1n0.net>
AP, TestSpread: assertWindowIsNotScaled may fail when getting the Xid
2013-10-08 Marco Trevisan (Treviño) <mail@3v1n0.net>
LauncherIcon: Add monitor parameter to GetTipPosition. Fixes: https://bugs.launchpad.net/bugs/1236631.
Approved by PS Jenkins bot, Brandon Schaefer.
2013-10-08 Marco Trevisan (Treviño) <mail@3v1n0.net>
LauncherIcon: Add monitor parameter to GetTipPosition
2013-10-08 Marco Trevisan (Treviño) <mail@3v1n0.net>
VolumeLauncherIcon: copy files to device on DnD
Use filemanager to perform the copy action. If needed, delay the procedure until we
don't have the volume mounted (using a magic utility function to share the code). Fixes: https://bugs.launchpad.net/bugs/838731.
Approved by PS Jenkins bot, Brandon Schaefer.
2013-10-08 Marco Trevisan (Treviño) <mail@3v1n0.net>
GnomeFileManager: don't try to copy files from o to invalid locations
2013-10-07 Marco Trevisan (Treviño) <mail@3v1n0.net>
TestVolumeLauncherIcon: always create icon on init, move some test to DelayedConstruction
2013-10-07 Marco Trevisan (Treviño) <mail@3v1n0.net>
ApplicationLauncherIcon: remove the unneeded ValidateUrisForLaunch function
2013-10-07 Marco Trevisan (Treviño) <mail@3v1n0.net>
TestVolumeLauncherIcon: add tests to verify the copy on DnD
2013-10-07 Marco Trevisan (Treviño) <mail@3v1n0.net>
VolumeLauncherIcon: copy files to device on DnD
Use filemanager to perform the copy action. If needed, delay the procedure until we
don't have the volume mounted (using a magic utility function to share the code).
2013-10-07 Marco Trevisan (Treviño) <mail@3v1n0.net>
FileManager: add CopyFiles method, implement it for GnomeFileManager using nautilus APIs
This way we have the proper transfers notifications on launcher.
2013-10-07 Marco Trevisan (Treviño) <mail@3v1n0.net>
Volume: remove FileManager instance, handle opened status in VolumeLauncherIcon. Fixes: https://bugs.launchpad.net/bugs/1236468.
Approved by PS Jenkins bot, Christopher Townsend.
2013-10-07 Marco Trevisan (Treviño) <mail@3v1n0.net>
IconLoader: use unity::action::Handle as IconLoader::Handle
2013-10-07 Marco Trevisan (Treviño) <mail@3v1n0.net>
Removing wrongly committed file
2013-10-07 Marco Trevisan (Treviño) <mail@3v1n0.net>
Volume: remove FileManager instance, handle opened status in VolumeLauncherIcon
2013-10-07 Marco Trevisan (Treviño) <mail@3v1n0.net>
Volume: move FileManager and Notification actions to VolumeLauncherIcon
2013-10-07 Marco Trevisan (Treviño) <mail@3v1n0.net>
Tests: move TestVolume to test-gtest-xless
2013-10-07 Marco Trevisan (Treviño) <mail@3v1n0.net>
TestDeviceLauncherSection: use mock notification display
2013-10-07 Marco Trevisan (Treviño) <mail@3v1n0.net>
DeviceLauncherSection: allow to mock DeviceNotificationDisplay
2013-10-07 Marco Trevisan (Treviño) <mail@3v1n0.net>
GMockVolume: return the current object to the async callback
2013-10-07 Marco Trevisan (Treviño) <mail@3v1n0.net>
Volume: add mounted, ejected and unmounted signals
2013-10-07 Marco Trevisan (Treviño) <mail@3v1n0.net>
GnomeFileManager: use nwe nautilus dbus paths for actions
2013-10-04 Marco Trevisan (Treviño) <mail@3v1n0.net>
ActionHandle: move connection::handle to a more generic action::handle
2013-10-05 Brandon Schaefer <email address hidden>
Remove the ibus workaround, as im-config has been updated to use 'auto' as its default choice. This means ibus-daemon will start up correctly now.
Approved by PS Jenkins bot, Stephen M. Webb.
2013-10-04 Brandon Schaefer <email address hidden>
* Remove imports that was part of the workaround
2013-10-04 Brandon Schaefer <email address hidden>
* Remove the workaround that hardly worked
2014-10-04 Marco Trevisan (Treviño) <mail@3v1n0.net>
AbstractLauncherIcon: add static icon_size property. Fixes: https://bugs.launchpad.net/bugs/1073103.
Approved by PS Jenkins bot, Brandon Schaefer.
2013-10-04 Marco Trevisan (Treviño) <mail@3v1n0.net>
AbstractLauncherIcon: set default icon size to 48
2013-10-04 Marco Trevisan (Treviño) <mail@3v1n0.net>
IconTextureSource: RememberEmblem and HadEmblem must be multi-monitor aware
This fixes a bug that was causing the emblem not being drawn on secondary monitors.
2013-10-04 Marco Trevisan (Treviño) <mail@3v1n0.net>
Launcher: some cleanup
2013-10-04 Marco Trevisan (Treviño) <mail@3v1n0.net>
LauncherIcon: don't save parent geometries anymore, SetCenter should now include them
This is really not needed anymore since the icon knows its size.
2013-10-04 Marco Trevisan (Treviño) <mail@3v1n0.net>
LauncherIcon: use icon_size to compute the tip position and where it was hardcoded before
2013-10-04 Marco Trevisan (Treviño) <mail@3v1n0.net>
DeviceNotificationDisplayImp: use const value for icon size
2013-10-04 Marco Trevisan (Treviño) <mail@3v1n0.net>
ApplicationLauncherIcon: use correct icon size to set the window-icon geometry
Used for minimizing animation
2013-10-04 Marco Trevisan (Treviño) <mail@3v1n0.net>
Launcher: set the icon_size value for AbstractLauncherIcon when set for itself
2013-10-04 Marco Trevisan (Treviño) <mail@3v1n0.net>
AbstractLauncherIcon: add static icon_size property
2013-10-04 Marco Trevisan (Treviño) <mail@3v1n0.net>
LauncherIcon: add GetTipPosition function to compute where show tooltip and quicklists
2013-10-04 Marco Trevisan (Treviño) <mail@3v1n0.net>
LauncherIcon: don't continue computation if the center has not changed
2013-10-04 Marco Trevisan (Treviño) <mail@3v1n0.net>
BamfApplicationManager: if the app is not found, return compiz manually.
This fixes crashes on standalone clients
2013-10-04 Marco Trevisan (Treviño) <mail@3v1n0.net>
LauncherIcon: don't try to show again quicklists or tooltip if center changed, just move them. Fixes: https://bugs.launchpad.net/bugs/1234778.
Approved by PS Jenkins bot, Brandon Schaefer.
2013-10-04 Marco Trevisan (Treviño) <mail@3v1n0.net>
LauncherIcon: don't try to show again quicklists or tooltip if center changed, just move them
2013-10-04 Marco Trevisan (Treviño) <mail@3v1n0.net>
QuicklistManager: add MoveQuicklist method
2013-10-04 Marco Trevisan (Treviño) <mail@3v1n0.net>
QuicklistView: add position ql setter
2013-10-04 Marco Trevisan (Treviño) <mail@3v1n0.net>
Tooltip: add tooltip position setter
2013-10-03 Marco Trevisan (Treviño) <mail@3v1n0.net>
SimpleLauncherIcon: we need to restore the focus when closing the Overlay for activation. Fixes: https://bugs.launchpad.net/bugs/909870.
Approved by Brandon Schaefer, PS Jenkins bot.
2013-10-03 Marco Trevisan (Treviño) <mail@3v1n0.net>
autopilot, LauncherIconsTests: verify that overlays gets closed on icon Activation
2013-10-03 Marco Trevisan (Treviño) <mail@3v1n0.net>
TestApplicationLauncherIcon: verify that we ask to hide the Overlays on icon activation
2013-10-03 Marco Trevisan (Treviño) <mail@3v1n0.net>
DashController: always restore the input focus when hidden, no need to add a parameter
2013-10-03 Marco Trevisan (Treviño) <mail@3v1n0.net>
HudController: if we're hiding, then the view is already there
2013-10-03 Marco Trevisan (Treviño) <mail@3v1n0.net>
HudController: always restore the input focus when hidden, no need to add a parameter
2013-10-03 Marco Trevisan (Treviño) <mail@3v1n0.net>
SimpleLauncherIcon: we need to restore the focus when closing the Overlay
2013-10-03 Marco Trevisan (Treviño) <mail@3v1n0.net>
DashView: some cleanup
2013-10-03 Marco Trevisan (Treviño) <mail@3v1n0.net>
HudController: don't save input focus, it's really not needed
2013-10-03 Marco Trevisan (Treviño) <mail@3v1n0.net>
PanelService: close a menu and re-send the keyevent when handling a combination
Or when we try to open HUD/Dash. Also, close the active menu if a new application is opened
and focused. Fixes: https://bugs.launchpad.net/bugs/10905, https://bugs.launchpad.net/bugs/1197071, https://bugs.launchpad.net/bugs/1234457.
Approved by PS Jenkins bot, Christopher Townsend.
2013-10-03 Marco Trevisan (Treviño) <mail@3v1n0.net>
TestPanelServiceCompizShortcutParsing: verify the parsing of the compiz shortcuts
2013-10-03 Marco Trevisan (Treviño) <mail@3v1n0.net>
PanelService: add private header, add testable parse_string_keybinding
2013-10-03 Marco Trevisan (Treviño) <mail@3v1n0.net>
Tests: add new monitored keys to external gschemas
2013-10-03 Marco Trevisan (Treviño) <mail@3v1n0.net>
autopilot, PanelIndicatorEntryTests: add new test to verify menu closes on new app
2013-10-03 Marco Trevisan (Treviño) <mail@3v1n0.net>
autopilot, WindowManagerKeybindings: ensure menus are shown
2013-10-03 Marco Trevisan (Treviño) <mail@3v1n0.net>
PanelService: close the active menu if requested to open a NULL entry instead of warn
This will fix orphan menus, when a new application takes focus.
2013-10-03 Marco Trevisan (Treviño) <mail@3v1n0.net>
PanelService: use g_signal_handlers_disconnect_by_data for menu signals
2013-10-03 Marco Trevisan (Treviño) <mail@3v1n0.net>
PanelService: allow print screen key to be used without modifiers
2013-10-03 Marco Trevisan (Treviño) <mail@3v1n0.net>
Switcher: some cleanup
2013-10-03 Marco Trevisan (Treviño) <mail@3v1n0.net>
autopilot, WindowManagerKeybindings: add test to verify interaction with WM when menus are opened
2013-10-03 Marco Trevisan (Treviño) <mail@3v1n0.net>
autopilot, WindowManager: add methods to initiate/terminate spread
2013-10-03 Marco Trevisan (Treviño) <mail@3v1n0.net>
PanelService: save KeySym's internally, convert them to keycode on event
2013-10-03 Marco Trevisan (Treviño) <mail@3v1n0.net>
PanelService: call parent finalize function when finalizing panel
2013-10-03 Marco Trevisan (Treviño) <mail@3v1n0.net>
PanelService: use g_signal_handlers_disconnect_matched to disconnect signals
2013-10-03 Marco Trevisan (Treviño) <mail@3v1n0.net>
PanelService: use switch/case statement for handling events
2013-10-03 Marco Trevisan (Treviño) <mail@3v1n0.net>
PanelService: close a menu and re-send the keyevent when handling a combination
Or when we try to open HUD/Dash
2013-10-02 Marco Trevisan (Treviño) <mail@3v1n0.net>
PanelService: add KeyBinding struct to handle keys and use it for toggle modifier
2013-10-03 Christopher Lee <email address hidden>
Preparing autopilot tests for an upcoming update in autopilot 1.3.
Approved by PS Jenkins bot, Thomi Richards.
2013-10-03 Christopher Lee <email address hidden>
Cleanup to make changes backward compatible with autopilot.
2013-10-03 Christopher Lee <email address hidden>
Updated autopilot tests in preparation for updated autopilot.
2013-10-02 Andrea Azzarone <email address hidden>
Hide the tooltip when an app is closed. Fixes: https://bugs.launchpad.net/bugs/1172769.
Approved by Brandon Schaefer, PS Jenkins bot.
2013-10-02 Andrea Azzarone <email address hidden>
Hide the tooltip when an app is closed.
2013-10-01 Marco Trevisan (Treviño) <mail@3v1n0.net>
CairoBaseWindow: add fade animator to control both QL and Tooltip
Removing the animator from LauncherIcon, and handling the tooltip animation
inside the QL and Tooltip base class.
Approved by PS Jenkins bot, Christopher Townsend.
2013-09-30 Marco Trevisan (Treviño) <mail@3v1n0.net>
JSONParser: no need to use pango for parsing colors, nux can do it!
2013-09-30 Marco Trevisan (Treviño) <mail@3v1n0.net>
TestLauncherIcon: Add tooltip visibility checks
2013-09-30 Marco Trevisan (Treviño) <mail@3v1n0.net>
CairoBaseWindow: add fade animator to control both QL and Tooltip
Removing the animator from LauncherIcon, and handling the tooltip animation
inside the QL and Tooltip base class.
2013-10-01 Andrea Azzarone <email address hidden>
Update icon_under_mouse before process mouse movemnt in the tooltip manager. Fixes: https://bugs.launchpad.net/bugs/1172769, https://bugs.launchpad.net/bugs/1233666.
Approved by PS Jenkins bot, Brandon Schaefer.
2013-10-01 Andrea Azzarone <email address hidden>
Update icon_under_mouse before process mouse movemnt in the tooltip manager.
2013-10-01 Andrea Azzarone <email address hidden>
Fix bad redrawing of dash overlay scrollbar connector. Fixes: https://bugs.launchpad.net/bugs/1233195.
Approved by PS Jenkins bot, Brandon Schaefer.
2013-09-30 Andrea Azzarone <email address hidden>
Fix bad redrawing of scrollbar connector.
2013-10-01 Marco Trevisan (Treviño) <mail@3v1n0.net>
CairoBaseWindow: only regenerate blur texture when visible and damaged. Fixes: https://bugs.launchpad.net/bugs/1233109.
Approved by Christopher Townsend, PS Jenkins bot.
2013-09-30 Marco Trevisan (Treviño) <mail@3v1n0.net>
QuicklistView: use way-better looking quicklists on low-gfx mode
In low-gfx we can still draw the dotted-texture and transparent outline.
We only need to use opaque background.
2013-09-30 Marco Trevisan (Treviño) <mail@3v1n0.net>
Tooltip: still keep semi-transparent borders on low-gfx mode
2013-09-30 Marco Trevisan (Treviño) <mail@3v1n0.net>
CairoBaseWindow: only regenerate blur texture on visible and when damaged
2013-09-30 Brandon Schaefer <email address hidden>
Move the switcher Alt+<ArrowKey> shortcut handling into nux, from compiz. Now nux handles these events instead of compiz. This way its makes much more sense code wise and we no longer ungrab the arrow gets from X... so Alt+LeftArrow will no longer open the hud. Fixes: https://bugs.launchpad.net/bugs/969039.
Approved by PS Jenkins bot, Christopher Townsend.
2013-09-30 Brandon Schaefer <email address hidden>
* Clean ups
* Move KEYUP -> KEYDOWN
2013-09-29 Brandon Schaefer <email address hidden>
* Merge with trunk
2013-09-29 Brandon Schaefer <email address hidden>
* Move AltTab arrow key handling into nux vs having compiz use shortcuts which was ungrabbing the arrow keys.
Causing alt+<arrow_key> to show the hud! This is how the switcher should handle arrow keys anyway.
2013-09-27 Brandon Schaefer <email address hidden>
Break the bump detection by moving to the first icon, then down 5 pixels. Since bump detection needs to move in 3 different directions.
Approved by PS Jenkins bot, Christopher Townsend, Marco Trevisan (Treviño).
2013-09-27 Brandon Schaefer <email address hidden>
* Ensure we always break
2013-09-27 Brandon Schaefer <email address hidden>
* Move Right as well
2013-09-27 Brandon Schaefer <email address hidden>
* Add a break bump detection in the switcher view
2013-09-27 Brandon Schaefer <email address hidden>
* Break the bump detection before testing mouse detection works :)