Merge lp:~gaul/unity/on_entry_added_leak_5.0 into lp:unity

Proposed by Andrew Gaul
Status: Superseded
Proposed branch: lp:~gaul/unity/on_entry_added_leak_5.0
Merge into: lp:unity
Diff against target: 25805 lines (+18358/-228) (has conflicts)
162 files modified
AUTHORS (+17/-0)
CMakeLists.txt (+16/-0)
ChangeLog (+2441/-0)
HACKING (+4/-0)
UnityCore/DBusIndicators.cpp (+38/-2)
UnityCore/DBusIndicators.h (+4/-0)
UnityCore/GLibSignal.cpp (+16/-0)
UnityCore/GLibSignal.h (+4/-0)
UnityCore/Indicator.cpp (+28/-0)
dash/DashController.cpp (+80/-0)
dash/DashController.h (+3/-0)
dash/DashView.cpp (+111/-0)
dash/PlacesGroup.cpp (+6/-0)
dash/ResultRendererTile.cpp (+89/-11)
dash/ResultView.cpp (+10/-0)
dash/ResultViewGrid.cpp (+119/-0)
dash/ResultViewGrid.h (+29/-0)
dash/ScopeBar.cpp (+49/-0)
dash/ScopeBarIcon.cpp (+5/-0)
hud/HudButton.cpp (+50/-2)
hud/HudButton.h (+25/-0)
hud/HudController.cpp (+169/-3)
hud/HudController.h (+43/-5)
hud/HudIcon.cpp (+12/-0)
hud/HudView.cpp (+156/-11)
hud/HudView.h (+32/-1)
launcher/AbstractLauncherIcon.h (+31/-0)
launcher/ApplicationLauncherIcon.cpp (+507/-0)
launcher/ApplicationLauncherIcon.h (+28/-0)
launcher/BFBLauncherIcon.cpp (+9/-0)
launcher/DesktopLauncherIcon.cpp (+14/-0)
launcher/DeviceLauncherSection.cpp (+74/-0)
launcher/DeviceLauncherSection.h (+33/-0)
launcher/DndData.cpp (+20/-0)
launcher/EdgeBarrierController.cpp (+66/-12)
launcher/EdgeBarrierController.h (+4/-0)
launcher/HudLauncherIcon.cpp (+42/-0)
launcher/Launcher.cpp (+576/-1)
launcher/Launcher.h (+33/-1)
launcher/LauncherController.cpp (+331/-1)
launcher/LauncherController.h (+8/-0)
launcher/LauncherIcon.cpp (+64/-5)
launcher/LauncherIcon.h (+17/-0)
launcher/QuicklistMenuItem.cpp (+258/-0)
launcher/QuicklistMenuItem.h (+27/-0)
launcher/QuicklistMenuItemSeparator.cpp (+85/-0)
launcher/QuicklistMenuItemSeparator.h (+2/-0)
launcher/QuicklistView.cpp (+159/-1)
launcher/QuicklistView.h (+5/-0)
launcher/SimpleLauncherIcon.cpp (+12/-0)
launcher/SimpleLauncherIcon.h (+7/-0)
launcher/SoftwareCenterLauncherIcon.cpp (+47/-0)
launcher/SoftwareCenterLauncherIcon.h (+10/-0)
launcher/StandaloneLauncher.cpp (+20/-0)
launcher/SwitcherController.cpp (+139/-0)
launcher/SwitcherController.h (+23/-0)
launcher/SwitcherModel.cpp (+31/-0)
launcher/SwitcherModel.h (+27/-0)
launcher/SwitcherView.cpp (+42/-0)
launcher/SwitcherView.h (+11/-0)
launcher/TrashLauncherIcon.cpp (+30/-0)
launcher/VolumeLauncherIcon.cpp (+496/-0)
launcher/VolumeLauncherIcon.h (+55/-0)
manual-tests/Dash.txt (+60/-29)
manual-tests/Launcher.txt (+214/-0)
manual-tests/Panel.txt (+17/-0)
manual-tests/ShortcutsOverlay.txt (+1/-0)
manual-tests/SoftwareCenter.txt (+211/-104)
manual-tests/Switcher.txt (+91/-0)
manual-tests/WindowButtons.txt (+28/-0)
manual-tests/WindowManagement.txt (+23/-0)
panel/PanelController.cpp (+20/-1)
panel/PanelController.h (+5/-0)
panel/PanelMenuView.cpp (+31/-0)
panel/PanelView.cpp (+10/-0)
plugins/unityshell/src/HudAbstractView.cpp (+33/-0)
plugins/unityshell/src/HudAbstractView.h (+66/-0)
plugins/unityshell/src/LauncherControllerPrivate.h (+160/-0)
plugins/unityshell/src/ScreenEffectFramebufferObject.cpp.OTHER (+238/-0)
plugins/unityshell/src/UnityGestureBroker.cpp (+247/-0)
plugins/unityshell/src/UnityShowdesktopHandler.cpp (+9/-0)
plugins/unityshell/src/compizminimizedwindowhandler.h (+10/-0)
plugins/unityshell/src/unity-launcher-accessible.cpp (+10/-0)
plugins/unityshell/src/unity-util-accessible.cpp (+2/-2)
plugins/unityshell/src/unitya11y.cpp (+20/-0)
plugins/unityshell/src/unityshell.cpp (+753/-9)
plugins/unityshell/src/unityshell.h (+66/-1)
services/panel-service.c (+9/-0)
shortcuts/ShortcutController.cpp (+5/-0)
shortcuts/ShortcutView.cpp (+8/-0)
standalone-clients/CMakeLists.txt.OTHER (+574/-0)
tests/CMakeLists.txt (+191/-0)
tests/autopilot/autopilot/emulators/bamf.py.OTHER (+411/-0)
tests/autopilot/autopilot/keybindings.py.OTHER (+259/-0)
tests/autopilot/autopilot/matchers/__init__.py (+31/-0)
tests/autopilot/autopilot/utilities.py.OTHER (+78/-0)
tests/autopilot/unity/emulators/__init__.py (+289/-0)
tests/autopilot/unity/emulators/dash.py (+58/-1)
tests/autopilot/unity/emulators/hud.py (+5/-0)
tests/autopilot/unity/emulators/icons.py (+13/-0)
tests/autopilot/unity/emulators/launcher.py (+159/-2)
tests/autopilot/unity/emulators/quicklist.py (+46/-0)
tests/autopilot/unity/emulators/tooltip.py (+23/-0)
tests/autopilot/unity/emulators/window_manager.py (+25/-0)
tests/autopilot/unity/tests/__init__.py (+232/-0)
tests/autopilot/unity/tests/test_command_lens.py (+70/-0)
tests/autopilot/unity/tests/test_dash.py (+339/-6)
tests/autopilot/unity/tests/test_home_lens.py (+17/-0)
tests/autopilot/unity/tests/test_hud.py (+390/-0)
tests/autopilot/unity/tests/test_ibus.py (+189/-1)
tests/autopilot/unity/tests/test_launcher.py.OTHER (+999/-0)
tests/autopilot/unity/tests/test_panel.py (+507/-1)
tests/autopilot/unity/tests/test_quicklist.py (+319/-0)
tests/autopilot/unity/tests/test_shortcut_hint.py (+113/-0)
tests/autopilot/unity/tests/test_switcher.py (+58/-0)
tests/test-gestures/CMakeLists.txt (+6/-0)
tests/test-gestures/compiz_mock/core/screen.h (+30/-0)
tests/test-gestures/test_gesture_broker.cpp (+140/-0)
tests/test-minimize-window-handler/test-minimize-handler.cpp (+14/-0)
tests/test_dbus_indicators.cpp (+98/-0)
tests/test_glib_signals.cpp (+23/-0)
tests/test_hud_button.cpp (+76/-0)
tests/test_hud_controller.cpp (+87/-0)
tests/test_hud_private.cpp (+80/-0)
tests/test_hud_view.cpp (+74/-0)
tests/test_im_text_entry.cpp (+173/-0)
tests/test_keyboard_util.cpp (+118/-0)
tests/test_launcher_controller.cpp (+215/-0)
tests/test_main.cpp (+12/-0)
tests/test_resultviewgrid.cpp (+103/-0)
tests/test_service_lens.c.OTHER (+187/-0)
tests/test_service_main.cpp (+68/-0)
tests/test_service_panel.c (+253/-0)
tests/test_service_panel.h (+46/-0)
tests/test_switcher_controller.cpp (+43/-0)
tests/test_time_util.cpp (+38/-0)
tests/test_uscreen_mock.h (+87/-1)
tests/test_utils.h (+31/-0)
tests/unit/TestQuicklistMenuitems.cpp.OTHER (+258/-0)
tools/unity.cmake (+50/-1)
unity-shared/DebugDBusInterface.cpp (+24/-0)
unity-shared/IMTextEntry.cpp (+81/-0)
unity-shared/IMTextEntry.h (+13/-0)
unity-shared/IconRenderer.cpp (+183/-0)
unity-shared/IconTexture.cpp (+2/-0)
unity-shared/IconTexture.h (+4/-0)
unity-shared/OverlayRenderer.cpp (+51/-1)
unity-shared/PluginAdapter.cpp (+222/-0)
unity-shared/PluginAdapter.h (+36/-0)
unity-shared/SearchBar.cpp (+18/-4)
unity-shared/StaticCairoText.cpp (+37/-0)
unity-shared/TimeUtil.h (+6/-0)
unity-shared/UBusMessages.h (+10/-0)
unity-shared/UScreen.cpp (+82/-8)
unity-shared/UScreen.h (+19/-0)
unity-shared/UnityWindowView.cpp (+48/-0)
unity-shared/UnityWindowView.h (+9/-0)
unity-shared/WindowButtons.cpp (+103/-0)
unity-shared/XKeyboardUtil.cpp (+44/-0)
unity-shared/XKeyboardUtil.h (+34/-0)
unity-shared/XWindowManager.cpp (+249/-0)
unity-shared/XWindowManager.h (+132/-0)
Text conflict in AUTHORS
Text conflict in CMakeLists.txt
Text conflict in ChangeLog
Text conflict in HACKING
Text conflict in UnityCore/DBusIndicators.cpp
Text conflict in UnityCore/GLibSignal.cpp
Text conflict in UnityCore/GLibSignal.h
Text conflict in UnityCore/Indicator.cpp
Text conflict in dash/DashController.cpp
Text conflict in dash/DashView.cpp
Text conflict in dash/PlacesGroup.cpp
Text conflict in dash/ResultRendererTile.cpp
Text conflict in dash/ResultView.cpp
Text conflict in dash/ResultViewGrid.cpp
Text conflict in dash/ResultViewGrid.h
Text conflict in dash/ScopeBar.cpp
Text conflict in dash/ScopeBarIcon.cpp
Text conflict in hud/HudButton.cpp
Text conflict in hud/HudButton.h
Text conflict in hud/HudController.cpp
Text conflict in hud/HudController.h
Text conflict in hud/HudIcon.cpp
Path conflict: hud/HudPrivate.cpp / plugins/unityshell/src/HudPrivate.cpp
Path conflict: hud/HudPrivate.h / plugins/unityshell/src/HudPrivate.h
Text conflict in hud/HudView.cpp
Text conflict in hud/HudView.h
Text conflict in launcher/AbstractLauncherIcon.h
Text conflict in launcher/ApplicationLauncherIcon.cpp
Text conflict in launcher/ApplicationLauncherIcon.h
Text conflict in launcher/BFBLauncherIcon.cpp
Text conflict in launcher/DesktopLauncherIcon.cpp
Text conflict in launcher/DeviceLauncherSection.cpp
Text conflict in launcher/DeviceLauncherSection.h
Text conflict in launcher/DndData.cpp
Text conflict in launcher/EdgeBarrierController.cpp
Text conflict in launcher/EdgeBarrierController.h
Text conflict in launcher/HudLauncherIcon.cpp
Text conflict in launcher/Launcher.cpp
Text conflict in launcher/Launcher.h
Text conflict in launcher/LauncherController.cpp
Text conflict in launcher/LauncherController.h
Path conflict: launcher/LauncherControllerPrivate.h / plugins/unityshell/src/LauncherControllerPrivate.h
Text conflict in launcher/LauncherIcon.cpp
Text conflict in launcher/LauncherIcon.h
Text conflict in launcher/QuicklistMenuItem.cpp
Text conflict in launcher/QuicklistMenuItem.h
Text conflict in launcher/QuicklistMenuItemSeparator.cpp
Text conflict in launcher/QuicklistView.cpp
Text conflict in launcher/QuicklistView.h
Text conflict in launcher/SimpleLauncherIcon.cpp
Text conflict in launcher/SimpleLauncherIcon.h
Text conflict in launcher/SoftwareCenterLauncherIcon.cpp
Text conflict in launcher/SoftwareCenterLauncherIcon.h
Text conflict in launcher/StandaloneLauncher.cpp
Text conflict in launcher/SwitcherController.cpp
Text conflict in launcher/SwitcherController.h
Text conflict in launcher/SwitcherModel.cpp
Text conflict in launcher/SwitcherModel.h
Text conflict in launcher/SwitcherView.cpp
Text conflict in launcher/SwitcherView.h
Text conflict in launcher/TrashLauncherIcon.cpp
Text conflict in launcher/VolumeLauncherIcon.cpp
Text conflict in launcher/VolumeLauncherIcon.h
Text conflict in manual-tests/Dash.txt
Text conflict in manual-tests/Launcher.txt
Text conflict in manual-tests/SoftwareCenter.txt
Text conflict in manual-tests/Switcher.txt
Text conflict in manual-tests/WindowButtons.txt
Text conflict in manual-tests/WindowManagement.txt
Text conflict in panel/PanelController.cpp
Text conflict in panel/PanelController.h
Text conflict in panel/PanelMenuView.cpp
Text conflict in panel/PanelView.cpp
Text conflict in plugins/unityshell/src/LauncherControllerPrivate.h
Contents conflict in plugins/unityshell/src/ScreenEffectFramebufferObject.cpp
Text conflict in plugins/unityshell/src/UnityGestureBroker.cpp
Text conflict in plugins/unityshell/src/UnityShowdesktopHandler.cpp
Text conflict in plugins/unityshell/src/compizminimizedwindowhandler.h
Text conflict in plugins/unityshell/src/unity-launcher-accessible.cpp
Text conflict in plugins/unityshell/src/unitya11y.cpp
Text conflict in plugins/unityshell/src/unityshell.cpp
Text conflict in plugins/unityshell/src/unityshell.h
Text conflict in shortcuts/ShortcutController.cpp
Conflict adding files to standalone-clients.  Created directory.
Conflict because standalone-clients is not versioned, but has versioned children.  Versioned directory.
Contents conflict in standalone-clients/CMakeLists.txt
Text conflict in tests/CMakeLists.txt
Conflict adding files to tests/autopilot/autopilot.  Created directory.
Conflict because tests/autopilot/autopilot is not versioned, but has versioned children.  Versioned directory.
Conflict adding files to tests/autopilot/autopilot/emulators.  Created directory.
Conflict because tests/autopilot/autopilot/emulators is not versioned, but has versioned children.  Versioned directory.
Contents conflict in tests/autopilot/autopilot/emulators/bamf.py
Contents conflict in tests/autopilot/autopilot/keybindings.py
Contents conflict in tests/autopilot/autopilot/utilities.py
Text conflict in tests/autopilot/unity/emulators/__init__.py
Text conflict in tests/autopilot/unity/emulators/dash.py
Text conflict in tests/autopilot/unity/emulators/hud.py
Text conflict in tests/autopilot/unity/emulators/icons.py
Text conflict in tests/autopilot/unity/emulators/launcher.py
Text conflict in tests/autopilot/unity/emulators/quicklist.py
Text conflict in tests/autopilot/unity/emulators/tooltip.py
Text conflict in tests/autopilot/unity/emulators/window_manager.py
Text conflict in tests/autopilot/unity/tests/__init__.py
Text conflict in tests/autopilot/unity/tests/test_command_lens.py
Text conflict in tests/autopilot/unity/tests/test_dash.py
Text conflict in tests/autopilot/unity/tests/test_home_lens.py
Text conflict in tests/autopilot/unity/tests/test_hud.py
Text conflict in tests/autopilot/unity/tests/test_ibus.py
Contents conflict in tests/autopilot/unity/tests/test_launcher.py
Text conflict in tests/autopilot/unity/tests/test_panel.py
Text conflict in tests/autopilot/unity/tests/test_quicklist.py
Text conflict in tests/autopilot/unity/tests/test_shortcut_hint.py
Text conflict in tests/autopilot/unity/tests/test_switcher.py
Text conflict in tests/test-gestures/CMakeLists.txt
Text conflict in tests/test-gestures/compiz_mock/core/screen.h
Text conflict in tests/test-gestures/test_gesture_broker.cpp
Text conflict in tests/test-minimize-window-handler/test-minimize-handler.cpp
Conflict adding file tests/test_dbus_indicators.cpp.  Moved existing file to tests/test_dbus_indicators.cpp.moved.
Text conflict in tests/test_glib_signals.cpp
Text conflict in tests/test_hud_button.cpp
Conflict adding file tests/test_hud_controller.cpp.  Moved existing file to tests/test_hud_controller.cpp.moved.
Text conflict in tests/test_hud_private.cpp
Conflict adding file tests/test_hud_view.cpp.  Moved existing file to tests/test_hud_view.cpp.moved.
Text conflict in tests/test_im_text_entry.cpp
Text conflict in tests/test_keyboard_util.cpp
Text conflict in tests/test_launcher_controller.cpp
Text conflict in tests/test_main.cpp
Conflict adding file tests/test_resultviewgrid.cpp.  Moved existing file to tests/test_resultviewgrid.cpp.moved.
Contents conflict in tests/test_service_lens.c
Text conflict in tests/test_service_main.cpp
Conflict adding file tests/test_service_panel.h.  Moved existing file to tests/test_service_panel.h.moved.
Text conflict in tests/test_switcher_controller.cpp
Conflict adding file tests/test_time_util.cpp.  Moved existing file to tests/test_time_util.cpp.moved.
Text conflict in tests/test_uscreen_mock.h
Text conflict in tests/test_utils.h
Conflict adding files to tests/unit.  Created directory.
Conflict because tests/unit is not versioned, but has versioned children.  Versioned directory.
Contents conflict in tests/unit/TestQuicklistMenuitems.cpp
Text conflict in tools/unity.cmake
Text conflict in unity-shared/DebugDBusInterface.cpp
Text conflict in unity-shared/IMTextEntry.cpp
Text conflict in unity-shared/IMTextEntry.h
Text conflict in unity-shared/IconRenderer.cpp
Text conflict in unity-shared/IconTexture.h
Text conflict in unity-shared/OverlayRenderer.cpp
Text conflict in unity-shared/PluginAdapter.cpp
Text conflict in unity-shared/PluginAdapter.h
Text conflict in unity-shared/SearchBar.cpp
Text conflict in unity-shared/StaticCairoText.cpp
Text conflict in unity-shared/TimeUtil.h
Text conflict in unity-shared/UBusMessages.h
Text conflict in unity-shared/UScreen.cpp
Text conflict in unity-shared/UScreen.h
Text conflict in unity-shared/UnityWindowView.cpp
Text conflict in unity-shared/UnityWindowView.h
Text conflict in unity-shared/WindowButtons.cpp
Text conflict in unity-shared/XKeyboardUtil.cpp
Text conflict in unity-shared/XKeyboardUtil.h
Text conflict in unity-shared/XWindowManager.cpp
Text conflict in unity-shared/XWindowManager.h
To merge this branch: bzr merge lp:~gaul/unity/on_entry_added_leak_5.0
Reviewer Review Type Date Requested Status
Unity Team Pending
Review via email: mp+176753@code.launchpad.net

This proposal has been superseded by a proposal from 2013-07-24.

To post a comment you must log in.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'AUTHORS'
2--- AUTHORS 2013-04-03 13:42:12 +0000
3+++ AUTHORS 2013-07-24 18:20:41 +0000
4@@ -22,10 +22,14 @@
5 Benjamin Kerensa <bkerensa@ubuntu.com>
6 Bilal Akhtar <bilalakhtar@ubuntu.com>
7 Bilal Akhtar <bilalakhtar@ubuntu.com>, Thomi Richards <thomi.richards@canonical.com>
8+<<<<<<< TREE
9 Brandon Schaefer <brandon.schaefer@canonical.com>
10 Brandon Schaefer <brandon.schaefer@canonical.com>, Brandon Schaefer <brandontschaefer@gmail.com>
11 Brandon Schaefer <brandon.schaefer@canonical.com>, MC Return <mc.return@gmx.net>
12 Brandon Schaefer <brandon.schaefer@canonical.com>, Nick Dedekind <nicholas.dedekind@gmail.com>
13+=======
14+ Brandon Schaefer <brandon.schaefer@canonical.com>
15+>>>>>>> MERGE-SOURCE
16 Brandon Schaefer <brandontschaefer@gmail.com
17 Brandon Schaefer <brandontschaefer@gmail.com>
18 Brandon Schaefer <brandontschaefer@gmail.com, Brandon Schaefer <brandontschaefer@gmail.com>
19@@ -96,9 +100,13 @@
20 Marco Trevisan (Treviño) <mail@3v1n0.net>
21 Marco Trevisan (Treviño) <mail@3v1n0.net>, 3v1n0 <mail@3v1n0.net>
22 Marco Trevisan (Treviño) <mail@3v1n0.net>, Andrea Cimitan <andrea.cimitan@canonical.com>
23+<<<<<<< TREE
24 Marco Trevisan (Treviño) <mail@3v1n0.net>, Brandon Schaefer <brandon.schaefer@canonical.com>
25 Marco Trevisan (Treviño) <mail@3v1n0.net>, Brandon Schaefer <brandontschaefer@gmail.com>, Tim Penhey <tim.penhey@canonical.com>
26 Marco Trevisan (Treviño) <mail@3v1n0.net>, Lukas Vacek <lucas.vacek@gmail.com>
27+=======
28+ Marco Trevisan (Treviño) <mail@3v1n0.net>, Brandon Schaefer <brandontschaefer@gmail.com>, Tim Penhey <tim.penhey@canonical.com>
29+>>>>>>> MERGE-SOURCE
30 Marco Trevisan (Treviño) <mail@3v1n0.net>, Michal Hruby <michal.mhr@gmail.com>
31 Marco Trevisan (Treviño) <mail@3v1n0.net>, Thomi Richards <thomi.richards@canonical.com>
32 Marius Gedminas <marius@gedmin.as>
33@@ -165,19 +173,28 @@
34 Thomi Richards <thomir@gmail.com>, Alex Launi <alex.launi@canonical.com>
35 Thomi Richards <thomir@gmail.com>, Thomi Richards <thomi.richards@canonical.com>
36 Thomi Richards <thomi.richards@canonical.com>
37+<<<<<<< TREE
38 Thomi Richards <thomi.richards@canonical.com>, Albert Astals <albert.astals@canonical.com>
39 Thomi Richards <thomi.richards@canonical.com>, Alex Launi <alex.launi@canonical.com>
40 Thomi Richards <thomi.richards@canonical.com>, Brandon Schaefer <brandon.schaefer@canonical.com>
41 Thomi Richards <thomi.richards@canonical.com>, Brandon Schaefer <brandontschaefer@gmail.com>
42 Thomi Richards <thomi.richards@canonical.com>, Christopher Lee <chris.lee@canonical.com>
43+=======
44+ Thomi Richards <thomi.richards@canonical.com>, Alex Launi <alex.launi@canonical.com>
45+ Thomi Richards <thomi.richards@canonical.com>, Brandon Schaefer <brandontschaefer@gmail.com>
46+>>>>>>> MERGE-SOURCE
47 Thomi Richards <thomi.richards@canonical.com>, Gordon Allott <gord.allott@canonical.com>
48 Thomi Richards <thomi.richards@canonical.com>, Jason Smith <jason.smith@canonical.com>
49 Thomi Richards <thomi.richards@canonical.com>, Miklos Juhasz <juhasz.miklos.1@gmail.com>
50 Thomi Richards <thomi.richards@canonical.com>, Ted Gould <ted@gould.cx>
51 Thomi Richards <thomi.richards@canonical.com>, Thomi Richards <thomir@gmail.com>
52 Thomi Richards <thomi.richards@canonical.com>, Tim Penhey <tim.penhey@canonical.com>
53+<<<<<<< TREE
54 timo.jyrinki@canonical.com
55 Timo Jyrinki <timo.jyrinki@canonical.com>
56+=======
57+ Timo Jyrinki <timo.jyrinki@canonical.com>
58+>>>>>>> MERGE-SOURCE
59 Tim Penhey <tim.penhey@canonical.com>
60 Tim Penhey <tim.penhey@canonical.com>, Bowmore <bowmores@telia.com>
61 Tim Penhey <tim.penhey@canonical.com>, Gordon Allott <gord.allott@canonical.com>
62
63=== modified file 'CMakeLists.txt'
64--- CMakeLists.txt 2013-07-10 17:12:02 +0000
65+++ CMakeLists.txt 2013-07-24 18:20:41 +0000
66@@ -8,9 +8,15 @@
67 # Base bits
68 #
69 set (PROJECT_NAME "unity")
70+<<<<<<< TREE
71 set (UNITY_MAJOR 7)
72 set (UNITY_MINOR 0)
73 set (UNITY_MICRO 2)
74+=======
75+set (UNITY_MAJOR 5)
76+set (UNITY_MINOR 20)
77+set (UNITY_MICRO 0)
78+>>>>>>> MERGE-SOURCE
79 set (UNITY_VERSION "${UNITY_MAJOR}.${UNITY_MINOR}.${UNITY_MICRO}")
80 set (UNITY_API_VERSION "6.0")
81 set (UNITY_COMPONENTS_VERSION "6")
82@@ -212,6 +218,7 @@
83 #
84 # Compiz Plugins
85 #
86+<<<<<<< TREE
87 set(UNITY_PROTOCOL_PRIVATE_DEPS unity-protocol-private>=7.0.8)
88 set(UNITY_PLUGIN_SHARED_DEPS
89 ${UNITY_PROTOCOL_PRIVATE_DEPS}
90@@ -266,6 +273,15 @@
91 add_subdirectory(shutdown)
92 add_subdirectory(unity-standalone)
93 endif ()
94+=======
95+set (UNITY_PLUGIN_DEPS "compiz;nux-2.0>=2.0.0;libbamf3;dee-1.0;gio-2.0;gio-unix-2.0;dbusmenu-glib-0.4;x11;libstartup-notification-1.0;gthread-2.0;indicator3-0.4>=0.4.90;atk;unity-misc>=0.4.0;gconf-2.0;libgeis;gtk+-3.0>=3.1;sigc++-2.0;json-glib-1.0;libnotify;gnome-desktop-3.0;gdu;xfixes")
96+
97+add_subdirectory(plugins/unityshell)
98+add_subdirectory(plugins/gtkloader)
99+add_subdirectory(plugins/networkarearegion)
100+add_subdirectory(plugins/unitydialog)
101+add_subdirectory(plugins/unity-mt-grab-handles)
102+>>>>>>> MERGE-SOURCE
103
104 # subdirs
105 add_subdirectory(doc)
106
107=== modified file 'ChangeLog'
108--- ChangeLog 2013-04-03 13:42:12 +0000
109+++ ChangeLog 2013-07-24 18:20:41 +0000
110@@ -1,3 +1,4 @@
111+<<<<<<< TREE
112 2013-04-03 Stephen M. Webb <stephen.webb@canonical.com>
113
114 Bump the Unity version to 7.0.0.
115@@ -31898,6 +31899,2446 @@
116
117 Release\ 5.10.0
118
119+=======
120+2013-04-04 Marco Trevisan (Treviño) <mail@3v1n0.net>
121+
122+ UnityWindow: properly draw the panel shadow when a Nux window is focused or during WS switch
123+
124+ If a nux window is the active one, compiz won't draw it, so the code that is doing the
125+ panelShadow drawing is excluded. We need to make sure that this will be executed
126+ also in this case.
127+
128+2013-04-04 Marco Trevisan (Treviño) <mail@3v1n0.net>
129+
130+ UnityShell: paint the panel shadow only if we don't have a mask set
131+
132+2013-04-04 Marco Trevisan (Treviño) <mail@3v1n0.net>
133+
134+ UnityWindow: properly draw the panel shadow when a Nux window is focused or during WS switch
135+
136+ If a nux window is the active one, compiz won't draw it, so the code that is doing the panelShadow drawing is excluded. We need to make sure that this will be executed also in this case.
137+
138+2013-04-03 Łukasz 'sil2100' Zemczak <lukasz.zemczak@canonical.com>
139+
140+ Partial backport of Unity trunk revno. 2901 to fix where window decorations are being drawn when they should not be (LP: #1122478) (LP: #1083186).
141+
142+2013-03-18 Chris Townsend <christopher.townsend@canonical.com>
143+
144+ Fix issue whare a window created without decorations would have decorations when maximizing and minimizing the window very quicly. This fix was taken from upstream Unity.
145+
146+2013-02-18 Andrea Azzarone <azzaronea@gmail.com>
147+
148+ Backport fix for 991637.
149+
150+ Merged branch lp:~andyrock/unity/fix-991637-5.0
151+
152+2013-02-14 Andrea Azzarone <azzaronea@gmail.com>
153+
154+ Backport fix for 991637.
155+
156+2013-01-31 Marco Trevisan (Treviño) <mail@3v1n0.net>
157+
158+ ResultRendererTile: fix a crash if row.renderer<TextureContainer*>() is null
159+
160+2013-01-30 Marco Trevisan (Treviño) <mail@3v1n0.net>
161+
162+ test_service_lens: 12.04 has not preview support, fix compilation
163+
164+2013-01-30 Marco Trevisan (Treviño) <mail@3v1n0.net>
165+
166+ ResultRendererTile: Fix compilation issue.
167+
168+2013-01-30 Marco Trevisan (Treviño) <mail@3v1n0.net>
169+
170+ merging with lp:unity/5.0
171+
172+2012-07-21 Marco Trevisan (Treviño) <mail@3v1n0.net>
173+
174+ ResultRendererTile: don't crash in LoadIcon if row.renderer<TextureContainer*>() is null
175+
176+2012-12-05 Brandon Schaefer <brandon.schaefer@canonical.com>
177+
178+ Change TimeUtil to use int64, so the buffer wont overflow within our lifetimes.. Fixes: https://bugs.launchpad.net/bugs/806248. Approved by Łukasz Zemczak.
179+
180+2012-12-05 Brandon Schaefer <brandon.schaefer@canonical.com>
181+
182+ * Fix header
183+
184+2012-12-03 Brandon Schaefer <brandon.schaefer@canonical.com>
185+
186+ * Fix TimeUtil and int32 buffer overflow, now uses an int64
187+
188+2012-11-12 Timo Jyrinki <timo.jyrinki@canonical.com>
189+
190+ Release\ 5.18.0
191+
192+2012-10-18 Andrea Azzarone <azzaronea@gmail.com>
193+
194+ Use linear filtering to draw icons (when needed).. Fixes: https://bugs.launchpad.net/bugs/1036231. Approved by Marco Trevisan (Treviño).
195+
196+2012-10-17 Andrea Azzarone <azzaronea@gmail.com>
197+
198+ Use linear filtering to draw icons (when needed).
199+
200+2012-10-15 Marco Trevisan (Treviño) <mail@3v1n0.net>
201+
202+ BamfLauncherIcon: ensure the icon and name values when the running state changes
203+
204+ This avoids to get "?" icons. Fixes: https://bugs.launchpad.net/bugs/772986. Approved by Brandon Schaefer.
205+
206+2012-10-12 Marco Trevisan (Treviño) <mail@3v1n0.net>
207+
208+ BamfLauncherIcon: ensure the icon and name values when the running state changes
209+
210+ This avoids to get "?" icons
211+
212+2012-10-09 Albert Astals <albert.astals@canonical.com>
213+
214+ Do not reuse the menu entries if their order changes
215+
216+ Since the indicators api only have "add" and "remove" signals, if we reuse an entry that is not in the correct order it will case the menus or whatever this indicator represents to be in the wrong order
217+ . Fixes: https://bugs.launchpad.net/bugs/1062283. Approved by Marco Trevisan (Treviño).
218+
219+2012-10-09 Albert Astals <albert.astals@canonical.com>
220+
221+ Do not reuse the menu entries if their order changes
222+
223+ Since the indicators api only have "add" and "remove" signals, if we reuse an entry that is not in the correct order it will case the menus or whatever this indicator represents to be in the wrong order
224+
225+2012-10-09 Andrea Azzarone <azzaronea@gmail.com>
226+
227+ Use GMountOperation in g_volume_mount. GMountOperation provides a mechanism for interacting with the use.. Fixes: https://bugs.launchpad.net/bugs/713432. Approved by Marco Trevisan (Treviño).
228+
229+2012-10-02 Andrea Azzarone <azzaronea@gmail.com>
230+
231+ Use GMountOperation in g_volume_mount. GMountOperation provides a mechanism for interacting with the use.
232+
233+2012-10-05 Brandon Schaefer <brandon.schaefer@canonical.com>
234+
235+ If no icon is found then use the default one. This will cause all blank icons to be a '?' icon.. Fixes: https://bugs.launchpad.net/bugs/886778. Approved by Marco Trevisan (Treviño).
236+
237+2012-09-21 Brandon Schaefer <brandon.schaefer@canonical.com>
238+
239+ * If no icon is found, then use the default one.
240+
241+2012-10-05 Brandon Schaefer <brandon.schaefer@canonical.com>
242+
243+ Fixes alt+tab losing focus when alt+tabing to quickly due to ubus being to slow to send a message.. Fixes: https://bugs.launchpad.net/bugs/1035628. Approved by Marco Trevisan (Treviño).
244+
245+2012-09-26 Brandon Schaefer <brandon.schaefer@canonical.com>
246+
247+ * added manual test
248+
249+2012-09-25 Brandon Schaefer <brandon.schaefer@canonical.com>
250+
251+ * Fixes alt+tab focus issues
252+
253+2012-10-03 Albert Astals <albert.astals@canonical.com>
254+
255+ Ignore transient unmmaped windows on minimize/unminimize
256+
257+ Doesn't make much sense since they are not shown and it confuses Qt code. Fixes: https://bugs.launchpad.net/bugs/929712. Approved by Marco Trevisan (Treviño).
258+
259+2012-10-03 Albert Astals <albert.astals@canonical.com>
260+
261+ Cherry-picked 2786: Ignore transient unmmaped windows on minimize/unminimize
262+
263+ Doesn't make much sense since they are not shown and it confuses Qt code.
264+
265+2012-09-26 Marco Trevisan (Treviño) <mail@3v1n0.net>
266+
267+ Launcher: start the drag icon request from the original mouse-down position.. Fixes: https://bugs.launchpad.net/bugs/858540. Approved by Andrea Azzarone, Tim Penhey.
268+
269+2012-08-11 Marco Trevisan (Treviño) <mail@3v1n0.net>
270+
271+ manual-test: Launcher, added test about dragging launcher icons
272+
273+2012-08-11 Marco Trevisan (Treviño) <mail@3v1n0.net>
274+
275+ Launcher: start the drag icon request from the original mouse-down position.
276+
277+2012-09-11 Łukasz 'sil2100' Zemczak <lukasz.zemczak@canonical.com>
278+
279+ Release\ 5.16.0
280+
281+2012-09-10 Francis Ginther <francis.ginther@canonical.com>
282+
283+ Updates dependency on the renamed libgeis.. Fixes: . Approved by Sam Spilsbury.
284+
285+2012-08-23 Francis Ginther <francis.ginther@canonical.com>
286+
287+ Update dependency on the renamed libgeis.
288+
289+2012-08-22 Andrea Azzarone <azzaronea@gmail.com>
290+
291+ Backport lp:~andyrock/unity/fix-1035951. Fixes: https://bugs.launchpad.net/bugs/1035951. Approved by Łukasz Zemczak.
292+
293+2012-08-20 Andrea Azzarone <azzaronea@gmail.com>
294+
295+ Backport lp:~andyrock/unity/fix-1035951.
296+
297+2012-08-21 Brandon Schaefer <brandontschaefer@gmail.com>
298+
299+ The switcher in detail mode will now focus the last active window, instead of the current one. If the current focus window activated the switcher.. Fixes: https://bugs.launchpad.net/bugs/1035668. Approved by Tim Penhey.
300+
301+2012-08-15 Brandon Schaefer <brandontschaefer@gmail.com>
302+
303+ * Fixed doc string
304+
305+2012-08-15 Brandon Schaefer <brandontschaefer@gmail.com>
306+
307+ * more fixes
308+
309+2012-08-15 Brandon Schaefer <brandontschaefer@gmail.com>
310+
311+ * ugg more typos
312+
313+2012-08-15 Brandon Schaefer <brandontschaefer@gmail.com>
314+
315+ * fixed AP test
316+
317+2012-08-15 Brandon Schaefer <brandontschaefer@gmail.com>
318+
319+ * Fixed tpyo
320+
321+2012-08-15 Brandon Schaefer <brandontschaefer@gmail.com>
322+
323+ * Fixes Alt+` not switching to last active window
324+
325+2012-08-21 Omer Akram <om26er@ubuntu.com>
326+
327+ Fix lensbar indicator to not appear if using alt-f2. thx Nicolas. Fixes: https://bugs.launchpad.net/bugs/998752. Approved by Andrea Azzarone, Tim Penhey.
328+
329+2012-08-09 Omer Akram <om26er@ubuntu.com>
330+
331+ backport fix for lp:998752 to P
332+
333+2012-08-03 Marco Trevisan (Treviño) <mail@3v1n0.net>
334+
335+ unityshell: correctly damage the LauncherDragWindow region. Fixes: https://bugs.launchpad.net/bugs/1026247, https://bugs.launchpad.net/bugs/1032700. Approved by Brandon Schaefer, Andrea Azzarone.
336+
337+2012-08-03 Marco Trevisan (Treviño) <mail@3v1n0.net>
338+
339+ Launcher: ooops, removed the LauncherDragWindow type...
340+
341+2012-08-03 Marco Trevisan (Treviño) <mail@3v1n0.net>
342+
343+ Launcher: don't return a temporary
344+
345+2012-08-03 Marco Trevisan (Treviño) <mail@3v1n0.net>
346+
347+ Launcher: use ObjectPtr for _drag_window
348+
349+2012-08-03 Marco Trevisan (Treviño) <mail@3v1n0.net>
350+
351+ unityshell: correctly damage the LauncherDragWindow region
352+
353+2012-08-03 Andrea Azzarone <azzaronea@gmail.com>
354+
355+ Backport lp:~andyrock/unity/fix-987223. Fixes: https://bugs.launchpad.net/bugs/987223. Approved by Marco Trevisan (Treviño).
356+
357+2012-08-03 Andrea Azzarone <azzaronea@gmail.com>
358+
359+ Backport fix for 987223.
360+
361+2012-08-03 Marco Trevisan (Treviño) <mail@3v1n0.net>
362+
363+ unityshell: fix the nvidia crash on glDrawArrays disabling/enabling the client state on nuxPrologue/Epilogue (LP: #982626) (LP: #1031554). Fixes: https://bugs.launchpad.net/bugs/982626, https://bugs.launchpad.net/bugs/1031554. Approved by Daniel van Vugt, Sam Spilsbury.
364+
365+2012-08-01 Marco Trevisan (Treviño) <mail@3v1n0.net>
366+
367+ Ooops, remove badly committed changes
368+
369+2012-08-01 Marco Trevisan (Treviño) <mail@3v1n0.net>
370+
371+ unityshell: fix the nvidia crash on glDrawArrays disabling/enabling the client state on nuxPrologue/Epilogue
372+
373+2012-08-01 Marco Trevisan (Treviño) <mail@3v1n0.net>
374+
375+ Merge with duflu branch
376+
377+2012-08-02 Daniel van Vugt <daniel.van.vugt@canonical.com>
378+
379+ Backport the fixes for regional damage, and the regressions that were introduced by it.
380+ Fixes lots of bugs.. Fixes: https://bugs.launchpad.net/bugs/734908, https://bugs.launchpad.net/bugs/865006, https://bugs.launchpad.net/bugs/874230, https://bugs.launchpad.net/bugs/874619, https://bugs.launchpad.net/bugs/886605, https://bugs.launchpad.net/bugs/915265, https://bugs.launchpad.net/bugs/967112, https://bugs.launchpad.net/bugs/988079, https://bugs.launchpad.net/bugs/992516, https://bugs.launchpad.net/bugs/1016430. Approved by Łukasz Zemczak, Marco Trevisan (Treviño), Daniel van Vugt.
381+
382+2012-07-26 Daniel van Vugt <daniel.van.vugt@canonical.com>
383+
384+ Cherry-pick fix for bug #1024459 from lp:unity r2504.
385+
386+2012-07-26 Daniel van Vugt <daniel.van.vugt@canonical.com>
387+
388+ Cherry-pick fix for bug #1024911 from lp:unity r2503.
389+
390+2012-07-26 Daniel van Vugt <daniel.van.vugt@canonical.com>
391+
392+ Cherry-pick fix for bug #1021665 and #874230 from lp:unity r2478.
393+
394+2012-07-26 Daniel van Vugt <daniel.van.vugt@canonical.com>
395+
396+ Cherry-pick fix for bug #1021541 from lp:unity r2473.
397+
398+2012-07-26 Daniel van Vugt <daniel.van.vugt@canonical.com>
399+
400+ Cherry-pick fix for bug #1021549 from lp:unity r2472.
401+
402+2012-07-26 Daniel van Vugt <daniel.van.vugt@canonical.com>
403+
404+ Cherry-pick regional-damage fix for bug #988079 from lp:unity r2470.
405+
406+2012-07-26 Daniel van Vugt <daniel.van.vugt@canonical.com>
407+
408+ Cherry-pick fix for bug #865006 from lp:unity r2410.
409+
410+2012-07-27 Marco Trevisan (Treviño) <mail@3v1n0.net>
411+
412+ LauncherController: Rewritten EnsureLaunchers() added tests, fix a crash caused by invalid barrier subscriptions.. Fixes: https://bugs.launchpad.net/bugs/1020075. Approved by Andrea Azzarone.
413+
414+2012-07-26 Marco Trevisan (Treviño) <mail@3v1n0.net>
415+
416+ EdgeBarrierController: use auto const&
417+
418+2012-07-26 Marco Trevisan (Treviño) <mail@3v1n0.net>
419+
420+ Backport lp:~3v1n0/unity/launcher-controller-ensure-new
421+
422+2012-07-19 Łukasz 'sil2100' Zemczak <lukasz.zemczak@canonical.com>
423+
424+ Release\ 5.14.0
425+
426+2012-07-18 Gary Lasker <gary.lasker@canonical.com>
427+
428+ manual-tests/SoftwareCenter.txt: added tests for Ubuntu Software Center/Unity launcher integration feature. Fixes: . Approved by Marco Trevisan (Treviño), Brandon Schaefer, Christopher Lee.
429+
430+2012-07-12 Gary Lasker <gary.lasker@canonical.com>
431+
432+ clarify the steps for selecting a game (many thanks Christopher Lee)
433+
434+2012-07-10 Gary Lasker <gary.lasker@canonical.com>
435+
436+ targeted to the 5.0 series branch, update Unity launcher Software Center integration manual tests and provide additional important test cases to thoroughly test the full set of integration details, including all of the bug fixes for Unity branch https://code.launchpad.net/~bilalakhtar/unity/5.0series-sru-software-center-integration-fixes/+merge/110214 and the corresponding Software Center branch https://code.launchpad.net/~gary-lasker/software-center/unity-launcher-integration-fixes
437+
438+2012-07-17 Andrea Azzarone <azzaronea@gmail.com>
439+
440+ Backport lp:~thomir/unity/fix-for-754565. Fixes: https://bugs.launchpad.net/bugs/754565. Approved by Marco Trevisan (Treviño).
441+
442+2012-07-16 Andrea Azzarone <azzaronea@gmail.com>
443+
444+ Minor changes.
445+
446+2012-07-16 Andrea Azzarone <azzaronea@gmail.com>
447+
448+ Backport AP test.
449+
450+2012-07-16 Andrea Azzarone <azzaronea@gmail.com>
451+
452+ Backport lp:~yeganeh/unity/fix-for-754565.
453+
454+2011-09-30 Zaid Yeganeh <zaid.yeganeh@gmail.com>
455+
456+ [unityshell] Added key modifier/flags to the mouse events of launcher icons, and added logic for shift+click = new instance
457+
458+ modified:
459+ plugins/unityshell/src/AbstractLauncherIcon.h
460+ - Added flags to the mouse events
461+
462+ plugins/unityshell/src/Launcher.cpp
463+ - Pass through key flags to launcher icons
464+
465+ plugins/unityshell/src/LauncherIcon.cpp
466+ - Logic added for shift click based on flag state
467+
468+ plugins/unityshell/src/LauncherIcon.h
469+ plugins/unityshell/src/SimpleLauncherIcon.cpp
470+ plugins/unityshell/src/SimpleLauncherIcon.h
471+ - Changed interfaces based on the AbstractLauncherIcon
472+
473+2012-07-17 Bilal Akhtar <bilalakhtar@ubuntu.com>
474+
475+ SoftwareCenterLauncherIcon: avoid the "Waiting to Install" tooltip to stay after installation
476+
477+ Be consistent with auto-hiding launcher.. Fixes: https://bugs.launchpad.net/bugs/925014, https://bugs.launchpad.net/bugs/1002440, https://bugs.launchpad.net/bugs/1012896. Approved by Marco Trevisan (Treviño), Brandon Schaefer, Thomi Richards.
478+
479+2012-06-27 Bilal Akhtar <bilalakhtar@ubuntu.com>
480+
481+ Merge from 5.0 branch
482+
483+2012-06-27 Bilal Akhtar <bilalakhtar@ubuntu.com>
484+
485+ Added test, need to probably fix it though
486+
487+2012-06-20 Bilal Akhtar <bilalakhtar@ubuntu.com>
488+
489+ Fix urgent quirk after installation of paid app
490+
491+2012-06-17 Bilal Akhtar <bilalakhtar@ubuntu.com>
492+
493+ Fixed string comparison, thanks Tim
494+
495+2012-06-13 Bilal Akhtar <bilalakhtar@ubuntu.com>
496+
497+ Fix the delay in adding launcher icons to the launcher by ensuring a redraw takes place (bug #1012896) and also fix the string comparison of desktop file with software-center-agent.
498+
499+2012-06-13 Bilal Akhtar <bilalakhtar@ubuntu.com>
500+
501+ Fix bug #925014 on the Unity side. Check if an aptdaemon task was specified. If not, then the icon tooltip will stay the same (i.e. the app name, rather than Waiting to install)
502+
503+2012-06-13 Bilal Akhtar <bilalakhtar@ubuntu.com>
504+
505+ Fix bug #1002440, by not creating SC launcher icon if the desktop file was unspecified or set to SC's agent, as in the case of paid apps. Instead, the icon will be added at the end of the install
506+
507+2012-07-17 Andrea Azzarone <azzaronea@gmail.com>
508+
509+ Backport lp:~andyrock/unity/fix-987955. Fixes: https://bugs.launchpad.net/bugs/987955. Approved by Marco Trevisan (Treviño).
510+
511+2012-07-03 Andrea Azzarone <azzaronea@gmail.com>
512+
513+ Backport lp:~andyrock/unity/fix-987955.
514+
515+2012-07-16 Brandon Schaefer <brandontschaefer@gmail.com>
516+
517+ Scale mode now does not skip the first super to open the dash.. Fixes: https://bugs.launchpad.net/bugs/1023811. Approved by Marco Trevisan (Treviño).
518+
519+2012-07-13 Brandon Schaefer <brandontschaefer@gmail.com>
520+
521+ * fixes launcher -> scale mode -> dash problem
522+
523+2012-07-13 Andrea Azzarone <azzaronea@gmail.com>
524+
525+ Backport lp:~andyrock/unity/fix-772445. Fixes: https://bugs.launchpad.net/bugs/772445. Approved by Marco Trevisan (Treviño).
526+
527+2012-07-13 Andrea Azzarone <azzaronea@gmail.com>
528+
529+ Minor changes.
530+
531+2012-07-13 Andrea Azzarone <azzaronea@gmail.com>
532+
533+ Merge trunk.
534+
535+2012-07-13 Andrea Azzarone <azzaronea@gmail.com>
536+
537+ Backport lp:~andyrock/unity/fix-772445
538+
539+2012-07-13 Andrea Azzarone <azzaronea@gmail.com>
540+
541+ Backport branch lp:~andyrock/unity/fix-839717. Fixes: https://bugs.launchpad.net/bugs/839717. Approved by Marco Trevisan (Treviño).
542+
543+2012-07-13 Andrea Azzarone <azzaronea@gmail.com>
544+
545+ Backport lp:~andyrock/unity/fix-839717.
546+
547+2012-07-09 Marco Trevisan (Treviño) <mail@3v1n0.net>
548+
549+ KeyboardUtil: fix possible crash if XkbGetKeyboard returns null
550+
551+ Also use initializer list. Fixes: https://bugs.launchpad.net/bugs/920258. Approved by Gord Allott.
552+
553+2012-07-06 Marco Trevisan (Treviño) <mail@3v1n0.net>
554+
555+ KeyboardUtil: fix typo
556+
557+2012-07-06 Marco Trevisan (Treviño) <mail@3v1n0.net>
558+
559+ KeyboardUtil: oops, fix return value.
560+
561+2012-07-06 Marco Trevisan (Treviño) <mail@3v1n0.net>
562+
563+ KeyboardUtil: fix possible crash if XkbGetKeyboard returns null
564+
565+ Also use initializer list
566+
567+2012-07-04 Andrea Azzarone <azzaronea@gmail.com>
568+
569+ Backport lp:~andyrock/unity/fix-932531. Fixes: https://bugs.launchpad.net/bugs/932531. Approved by Tim Penhey.
570+
571+2012-07-03 Andrea Azzarone <azzaronea@gmail.com>
572+
573+ Backport lp:~andyrock/unity/fix-932531.
574+
575+2012-07-04 Andrea Azzarone <azzaronea@gmail.com>
576+
577+ Backport lp:~andyrock/unity/fix-bug-955158. Fixes: https://bugs.launchpad.net/bugs/955158. Approved by Tim Penhey.
578+
579+2012-07-04 Andrea Azzarone <azzaronea@gmail.com>
580+
581+ Remove default_item_layout/list.
582+
583+2012-07-03 Andrea Azzarone <azzaronea@gmail.com>
584+
585+ Backport lp:~andyrock/unity/fix-bug-955158.
586+
587+2012-07-03 Andrea Azzarone <azzaronea@gmail.com>
588+
589+ Backport lp:~andyrock/unity/fix-934062. Fixes: https://bugs.launchpad.net/bugs/934062. Approved by Marco Trevisan (Treviño).
590+
591+2012-07-03 Andrea Azzarone <azzaronea@gmail.com>
592+
593+ Backport lp:~andyrock/unity/fix-934062.
594+
595+2012-07-02 Andrea Azzarone <azzaronea@gmail.com>
596+
597+ Backport lp:~andyrock/unity/fix-851982.. Fixes: https://bugs.launchpad.net/bugs/851982. Approved by Brandon Schaefer.
598+
599+2012-07-02 Andrea Azzarone <azzaronea@gmail.com>
600+
601+ Backport lp:~andyrock/unity/fix-851982
602+
603+2012-06-29 Marco Trevisan (Treviño) <mail@3v1n0.net>
604+
605+ PluginAdapterCompiz: ignore offscreen windows when looking for the top one. Fixes: https://bugs.launchpad.net/bugs/996604. Approved by Brandon Schaefer.
606+
607+2012-06-30 Marco Trevisan (Treviño) <mail@3v1n0.net>
608+
609+ test_launcher: add autopilot test to check spread initialization on double click
610+
611+2012-06-30 Marco Trevisan (Treviño) <mail@3v1n0.net>
612+
613+ PluginAdapterCompiz: ignore offscreen windows when looking for the top one
614+
615+2012-06-29 Didier Roche <didier.roche@canonical.com>
616+
617+ Fix a crash when a GError exception is triggered. Fixes: https://bugs.launchpad.net/bugs/778470. Approved by Sam Spilsbury.
618+
619+2012-06-28 Didier Roche <didier.roche@canonical.com>
620+
621+ import glib for handling the GError (LP: #778470)
622+
623+2012-06-28 Marco Trevisan (Treviño) <mail@3v1n0.net>
624+
625+ DashView: filter out the unprintable keys when focusing the search bar
626+
627+ The search bar can't be focused when invalid keys (such as shift, ctrl, F1...) are pressed.. Fixes: https://bugs.launchpad.net/bugs/931393. Approved by Andrea Azzarone.
628+
629+2012-06-28 Marco Trevisan (Treviño) <mail@3v1n0.net>
630+
631+ DashView: filter out the unprintable keys when focusing the search bar
632+
633+ The search bar can't be focused when invalid keys (such as shift, ctrl, F1...) are pressed...
634+
635+2012-06-28 Andrea Azzarone <azzaronea@gmail.com>
636+
637+ Backport lp:~andyrock/unity/fix-1016239. Fixes: https://bugs.launchpad.net/bugs/1016239. Approved by Marco Trevisan (Treviño).
638+
639+2012-06-27 Andrea Azzarone <azzaronea@gmail.com>
640+
641+ Backport lp:~andyrock/unity/fix-1016239
642+
643+2012-06-27 Brandon Schaefer <brandontschaefer@gmail.com>
644+
645+ The dash will now open when invoked while in spread/scale mode.. Fixes: https://bugs.launchpad.net/bugs/944033. Approved by Thomi Richards.
646+
647+2012-06-26 Brandon Schaefer <brandontschaefer@gmail.com>
648+
649+ * Fixes opening the dash when in scale mode
650+
651+2012-06-25 Brandon Schaefer <brandontschaefer@gmail.com>
652+
653+ The switcher now focuses it's own window, instead of leaving it to the current one. Now Alt+F4 does not work while the switcher is active.. Fixes: . Approved by Thomi Richards.
654+
655+2012-06-25 Brandon Schaefer <brandontschaefer@gmail.com>
656+
657+ * SRU fix for alt+f4 re opening a program while using the switcher.
658+
659+2012-06-25 Brandon Schaefer <brandontschaefer@gmail.com>
660+
661+ Fixes closing the shurnk Hud when clicking outside it's geometry.. Fixes: https://bugs.launchpad.net/bugs/962651. Approved by Thomi Richards.
662+
663+2012-06-25 Brandon Schaefer <brandontschaefer@gmail.com>
664+
665+ * switched close and it...
666+
667+2012-06-25 Brandon Schaefer <brandontschaefer@gmail.com>
668+
669+ * ap and minor fixes
670+
671+2012-06-22 Brandon Schaefer <brandontschaefer@gmail.com>
672+
673+ * Hud will close when clicking anywhere outside of it's current geo (including being shrunk)
674+
675+2012-06-25 Andrea Azzarone <azzaronea@gmail.com>
676+
677+ Backport lp:~andyrock/unity/fix-994163. Fixes: https://bugs.launchpad.net/bugs/994163. Approved by Łukasz Zemczak.
678+
679+2012-06-22 Andrea Azzarone <azzaronea@gmail.com>
680+
681+ Backport lp:~andyrock/unity/fix-994163.
682+
683+2012-06-22 Brandon Schaefer <brandontschaefer@gmail.com>
684+
685+ Fixes AP test, get_compiz_option wasn't included in utilities.. Fixes: . Approved by Thomi Richards.
686+
687+2012-06-21 Brandon Schaefer <brandontschaefer@gmail.com>
688+
689+ * fixes ap test get_compiz_option wasn't in 5.0
690+
691+2012-06-21 Marco Trevisan (Treviño) <mail@3v1n0.net>
692+
693+ IMTextEntry: don't ingore ctrl/alt keypress to make ibus still working. Fixes: . Approved by Brandon Schaefer.
694+
695+2012-06-22 Marco Trevisan (Treviño) <mail@3v1n0.net>
696+
697+ IMTextEntry: don't ingore ctrl/alt keypress to make ibus still working
698+
699+2012-06-21 Brandon Schaefer <brandontschaefer@gmail.com>
700+
701+ Fixes focus problem when entering expo mode from KeyNav(Alt+F1).. Fixes: https://bugs.launchpad.net/bugs/962408. Approved by Marco Trevisan (Treviño).
702+
703+2012-06-21 Brandon Schaefer <brandontschaefer@gmail.com>
704+
705+ * Fixes going into expo mode from key nav mode (alt+f1)
706+
707+2012-06-21 Brandon Schaefer <brandontschaefer@gmail.com>
708+
709+ Documents and files now dragged from the Dash to the Launcher into an application will close the dash.. Fixes: https://bugs.launchpad.net/bugs/865168. Approved by Marco Trevisan (Treviño).
710+
711+2012-06-21 Brandon Schaefer <brandontschaefer@gmail.com>
712+
713+ * Dragging documents and files to an app on the launcher closes the dash.
714+
715+2012-06-20 Marco Trevisan (Treviño) <mail@3v1n0.net>
716+
717+ IMTextEntry: ignore invalid keypress when using modifiers keys.
718+
719+ All the key pressure when pressing the Alt or Super key should be ignored.
720+ When pressing Ctrl key we should only allow: A key, arrow keys, Backspace or Delete keys and Home or Delete keys.. Fixes: https://bugs.launchpad.net/bugs/1013751. Approved by .
721+
722+2012-06-20 Marco Trevisan (Treviño) <mail@3v1n0.net>
723+
724+ test_im_text_entry: fix the IMTextEntry inclusion
725+
726+2012-06-19 Marco Trevisan (Treviño) <mail@3v1n0.net>
727+
728+ IMTextEntry: ignore invalid keypress when using modifiers keys.
729+
730+ All the key pressure when pressing the Alt or Super key should be ignored.
731+ When pressing Ctrl key we should only allow: A key, arrow keys, Backspace or
732+ Delete keys and Home or Delete keys.
733+
734+2012-06-20 Marco Trevisan (Treviño) <mail@3v1n0.net>
735+
736+ DashController / HudController: hide the overlay when the spread is initiated. Fixes: https://bugs.launchpad.net/bugs/870284. Approved by .
737+
738+2012-06-19 Marco Trevisan (Treviño) <mail@3v1n0.net>
739+
740+ autopilot, added tests for Dash and Hud on spread
741+
742+2012-06-19 Marco Trevisan (Treviño) <mail@3v1n0.net>
743+
744+ HudController: hide the HUD when the spread is initiated
745+
746+2012-06-19 Marco Trevisan (Treviño) <mail@3v1n0.net>
747+
748+ DashController: hide the dash when spread is initiated
749+
750+2012-06-19 Łukasz 'sil2100' Zemczak <lukasz.zemczak@canonical.com>
751+
752+ Cherry-picked from unity trunk (rev2407):
753+ Launcher: Fix dragging to the last position when out of the launcher. Fixes: https://bugs.launchpad.net/bugs/971421. Approved by Marco Trevisan (Treviño).
754+
755+2012-06-18 Łukasz 'sil2100' Zemczak <lukasz.zemczak@canonical.com>
756+
757+ Cherry-picked from unity trunk (rev2407):
758+ Launcher: Fix dragging to the last position when out of the launcher
759+
760+2012-06-17 Andrea Azzarone <azzaronea@gmail.com>
761+
762+ Backport lp:~andyrock/unity/fix-987674. Fixes: https://bugs.launchpad.net/bugs/987674. Approved by Tim Penhey.
763+
764+2012-06-15 Andrea Azzarone <azzaronea@gmail.com>
765+
766+ Fix bug 987674.
767+
768+2012-06-17 Andrea Azzarone <azzaronea@gmail.com>
769+
770+ Backport lp:~andyrock/unity/hud-reset
771+ . Fixes: https://bugs.launchpad.net/bugs/1011507. Approved by Tim Penhey.
772+
773+2012-06-15 Andrea Azzarone <azzaronea@gmail.com>
774+
775+ Add missing files.
776+
777+2012-06-15 Andrea Azzarone <azzaronea@gmail.com>
778+
779+ Backport lp:~andyrock/unity/hud-reset.
780+
781+2012-06-06 Andrea Azzarone <azzaronea@gmail.com>
782+
783+ Backport lp:~andyrock/unity/fix-1008656.. Fixes: https://bugs.launchpad.net/bugs/1008656. Approved by Łukasz Zemczak.
784+
785+2012-06-06 Andrea Azzarone <azzaronea@gmail.com>
786+
787+ Backport lp:~andyrock/unity/fix-1008656.
788+
789+2012-06-06 Łukasz 'sil2100' Zemczak <lukasz.zemczak@canonical.com>
790+
791+ Back-porting fix from unity trunk.
792+ When dragging a non-application, do not saturate all icons automatically, but only those that are needed.
793+
794+ Eliminates flickering before 'prelighting' the Launcher icons that can handle the current drag-and-drop (LP #863230).. Fixes: https://bugs.launchpad.net/bugs/863230. Approved by .
795+
796+2012-06-06 Łukasz 'sil2100' Zemczak <lukasz.zemczak@canonical.com>
797+
798+ When dragging a non-application, do not saturate all icons automatically, but only those that are needed.
799+
800+ Eliminates flickering before 'prelighting' the Launcher icons that can handle the current drag-and-drop (LP #863230)
801+
802+2012-06-06 Andrea Azzarone <azzaronea@gmail.com>
803+
804+ Draw the result grid in proximity of the search entry. Backport lp:~andyrock/unity/fix-1008603. Fixes: https://bugs.launchpad.net/bugs/1008603. Approved by Łukasz Zemczak.
805+
806+2012-06-06 Andrea Azzarone <azzaronea@gmail.com>
807+
808+ Backport lp:~andyrock/unity/fix-1008603
809+
810+2012-06-06 Łukasz 'sil2100' Zemczak <lukasz.zemczak@canonical.com>
811+
812+ Back-porting fix from unity trunk.
813+ Don't show the switcher window during constructing the view. Wait for the ShowView timeout.. Fixes: https://bugs.launchpad.net/bugs/987156. Approved by Tim Penhey.
814+
815+2012-06-05 Łukasz 'sil2100' Zemczak <lukasz.zemczak@canonical.com>
816+
817+ Added two manual-tests for testing the fixed behavior. Better have everything well tested.
818+
819+2012-06-05 Łukasz 'sil2100' Zemczak <lukasz.zemczak@canonical.com>
820+
821+ Added a unit test for the switcher show functionality. The same as in the previous proposition.
822+
823+2012-06-05 Łukasz 'sil2100' Zemczak <lukasz.zemczak@canonical.com>
824+
825+ Don't show the switcher window during constructing the view. Wait for the show timeout.
826+
827+2012-06-04 Andrea Azzarone <azzaronea@gmail.com>
828+
829+ Backports branch lp:~andyrock/unity/hud-text.. Fixes: https://bugs.launchpad.net/bugs/939436. Approved by Tim Penhey.
830+
831+2012-05-31 Andrea Azzarone <azzaronea@gmail.com>
832+
833+ Backport lp:~andyrock/unity/hud-text.
834+
835+2012-05-24 Marco Trevisan (Treviño) <mail@3v1n0.net>
836+
837+ BamfLauncherIcon: Unset the BamfApplication when removing the icon.
838+
839+ Doing this manually, we prevent that a duplicated application can be added between the removal of the BamfLauncherIcon and the effective destruction (that is controlled by a timeout in LauncherModel).. Fixes: https://bugs.launchpad.net/bugs/1003574. Approved by .
840+
841+2012-05-24 Marco Trevisan (Treviño) <mail@3v1n0.net>
842+
843+ LauncherController: use glib::Signal to handle the Bamf matcher signal.
844+
845+2012-05-24 Marco Trevisan (Treviño) <mail@3v1n0.net>
846+
847+ BamfLauncherIcon: Disconnect all the _bamf_app signals at once on removal.
848+
849+2012-05-24 Marco Trevisan (Treviño) <mail@3v1n0.net>
850+
851+ GLib::SignalManager: allow to disconnect all the signals for a given Object.
852+
853+ When the signal string name is empty, we disconnect all the sigals
854+ for the given object.
855+
856+2012-05-24 Gord Allott <gord.allott@canonical.com>
857+
858+ * Capture information about the icon of the application to be installed from the software center. Re-use it when rendering the launcher interface.
859+ * Fix bug #981168. Fixes: https://bugs.launchpad.net/bugs/981168. Approved by Gord Allott.
860+
861+2012-05-24 Gord Allott <gord.allott@canonical.com>
862+
863+ fixed up memory leaks
864+
865+2012-04-17 Jay Taoko <jay.taoko@canonical.com>
866+
867+ * Capture information about the icon of the application to be installed from the software center. Re-use it when rendering the launcher interface.
868+
869+2012-04-16 Jay Taoko <jay.taoko@canonical.com>
870+
871+ * Capture part of the content of Launcher::handle_dbus_method_call into a lambda call.
872+
873+2012-05-23 Łukasz 'sil2100' Zemczak <lukasz.zemczak@canonical.com>
874+
875+ Backported andyrock's fix from lp:unity/6.0 - Unmute launcher (LP: #949448).. Fixes: https://bugs.launchpad.net/bugs/949448. Approved by Andrea Azzarone.
876+
877+2012-05-23 Łukasz 'sil2100' Zemczak <lukasz.zemczak@canonical.com>
878+
879+ Backported andyrock's fix for LP: #949448 from lp:unity/6.0.
880+
881+2012-05-23 Andrea Azzarone <azzaronea@gmail.com>
882+
883+ Backports lp:~andyrock/unity/queue-draw-result-view-grid from lp:unity/6.0.. Fixes: . Approved by Andrea Azzarone, Łukasz Zemczak.
884+
885+2012-05-23 Andrea Azzarone <azzaronea@gmail.com>
886+
887+ Backports branch lp:~andyrock/unity/queue-draw-result-view-grid.
888+
889+2012-05-23 Marco Trevisan (Treviño) <mail@3v1n0.net>
890+
891+ UnityScreen: reduce the BGHash::RefreshColor() calls
892+
893+ Don't call BGHash::RefreshColor() every atom on the XRoot window changes,
894+ do it only when the target one changes. Fixes: . Approved by Andrea Azzarone.
895+
896+2012-05-23 Marco Trevisan (Treviño) <mail@3v1n0.net>
897+
898+ UnityScreen: reduce the BGHash::RefreshColor() calls
899+
900+ Don't call BGHash::RefreshColor() every atom on the XRoot window changes,
901+ do it only when the target one changes.
902+
903+2012-05-23 Andrea Azzarone <azzaronea@gmail.com>
904+
905+ Backports branch lp:~vanvugt/unity/fix-987304.. Fixes: https://bugs.launchpad.net/bugs/987304. Approved by Marco Trevisan (Treviño).
906+
907+2012-05-23 Andrea Azzarone <azzaronea@gmail.com>
908+
909+ Backports branch lp:~vanvugt/unity/fix-987304.
910+
911+2012-05-23 Andrea Azzarone <azzaronea@gmail.com>
912+
913+ Backported fix from lp:unity/6.0 - Dash - search field is hidden by tooltips (LP: #978030).. Fixes: https://bugs.launchpad.net/bugs/978030. Approved by Andrea Azzarone, Łukasz Zemczak.
914+
915+2012-05-23 Andrea Azzarone <azzaronea@gmail.com>
916+
917+ Backports branch lp:~andyrock/unity/fix-978030.
918+
919+2012-04-27 Andrea Azzarone <azzaronea@gmail.com>
920+
921+ Add AP tests.
922+
923+2012-04-27 Andrea Azzarone <azzaronea@gmail.com>
924+
925+ Disable the bfb/hudlaunchericon tooltip when the dash/hud is open.
926+ Hide a launcher icon tooltip as soon as the dash/hud is shown.
927+
928+2012-05-23 Łukasz 'sil2100' Zemczak <lukasz.zemczak@canonical.com>
929+
930+ Backported andyrock's fix from trunk - fix UnityViewWindow background when blur is disabled.. Fixes: . Approved by Gord Allott.
931+
932+2012-05-23 Łukasz 'sil2100' Zemczak <lukasz.zemczak@canonical.com>
933+
934+ Backported andyrock's fix for LP: #989291. Fix UnityViewWindow background when blur is disabled.
935+
936+2012-05-21 Marco Trevisan (Treviño) <mail@3v1n0.net>
937+
938+ Merged branches lp:~3v1n0/unity/launcher-double-icons-tests and lp:~3v1n0/unity/quick-app-reopen-icon-fix. Fixes: https://bugs.launchpad.net/bugs/772063, https://bugs.launchpad.net/bugs/995916, https://bugs.launchpad.net/bugs/999820. Approved by .
939+
940+2012-05-21 Marco Trevisan (Treviño) <mail@3v1n0.net>
941+
942+ Merging fix for "Missing GIMP icon bug"
943+
944+2012-05-21 Marco Trevisan (Treviño) <mail@3v1n0.net>
945+
946+ Merging single-icon AP tests.
947+
948+2012-04-27 Didier Roche <didier.roche@canonical.com>
949+
950+ Release\ 5.12.0
951+
952+2012-04-26 Sebastien Bacher <seb128@ubuntu.com>
953+
954+ Revert r2331, it's creating hang issues on start.. Fixes: . Approved by Didier Roche.
955+
956+2012-04-26 Sebastien Bacher <seb128@ubuntu.com>
957+
958+ Revert r2331, it's creating hang issues on start. The commit is not fixing any
959+ important issue and not needed in the SRU, it can come once the problems have
960+ been resolved.
961+
962+2012-04-26 Michael Vogt <michael.vogt@ubuntu.com>
963+
964+ Check for "exit_state" on the install-finished signal from aptdaemon (LP: #982921) and remove launcher icon again on failure.. Fixes: https://bugs.launchpad.net/bugs/982921. Approved by Tim Penhey.
965+
966+2012-04-26 Michael Vogt <michael.vogt@ubuntu.com>
967+
968+ manual-tests/SoftwareCenter.txt: add manual test for the launcher integration cancel
969+
970+2012-04-17 Michael Vogt <michael.vogt@ubuntu.com>
971+
972+ remove USC launcher again from unity on download/install failure or cancel
973+
974+2012-04-26 Marco Trevisan (Treviño) <mail@3v1n0.net>
975+
976+ We need to flag a bamf view that we control using an icon using the "unity-seen" qdata, or unity will duplicate it on bamfdaemon respawn. (LP: #928912). Fixes: https://bugs.launchpad.net/bugs/928912. Approved by Michal Hruby, Tim Penhey.
977+
978+2012-04-26 Marco Trevisan (Treviño) <mail@3v1n0.net>
979+
980+ autopilot, test_launcher: removed the xclock test... We'll put it back soon.
981+
982+2012-04-26 Marco Trevisan (Treviño) <mail@3v1n0.net>
983+
984+ Merging thomi's fixes
985+
986+2012-04-26 Thomi Richards <thomi.richards@canonical.com>
987+
988+ Added xclock.
989+
990+2012-04-26 Thomi Richards <thomi.richards@canonical.com>
991+
992+ Renamed test methods.
993+
994+2012-04-26 Thomi Richards <thomi.richards@canonical.com>
995+
996+ Removed tautology from the test.
997+
998+2012-04-26 Thomi Richards <thomi.richards@canonical.com>
999+
1000+ CLeaned up test.
1001+
1002+2012-04-26 Marco Trevisan (Treviño) <mail@3v1n0.net>
1003+
1004+ autopilot, use kill instead of pkill to close applications
1005+
1006+2012-04-26 Marco Trevisan (Treviño) <mail@3v1n0.net>
1007+
1008+ BamfLauncherIcon: export the application ID for introspection
1009+
1010+2012-04-26 Marco Trevisan (Treviño) <mail@3v1n0.net>
1011+
1012+ autopilot, test_launcher: added test to check the launcher status after bamfdaemon killing
1013+
1014+2012-04-26 Marco Trevisan (Treviño) <mail@3v1n0.net>
1015+
1016+ LauncherController: set the "unity-seen" qdata to all the BamfApplications we have
1017+
1018+ This avoid that we create two icons for the same application instance.
1019+ Moving to the safer GUINT...
1020+
1021+2012-04-26 Marco Trevisan (Treviño) <mail@3v1n0.net>
1022+
1023+ BamfLauncherIcon: Focus an application if no child window is actually on top of the stack. Raises all urgent windows.
1024+
1025+ This fixes bug #802816 that happens when an application raises a window on the top of the stack but the focus doesn't change.
1026+
1027+ Plus, don't perform unneeded checks when focusing non-active applications.. Fixes: https://bugs.launchpad.net/bugs/802816, https://bugs.launchpad.net/bugs/986443. Approved by Tim Penhey.
1028+
1029+2012-04-26 Marco Trevisan (Treviño) <mail@3v1n0.net>
1030+
1031+ Merging with trunk.
1032+
1033+2012-04-26 Marco Trevisan (Treviño) <mail@3v1n0.net>
1034+
1035+ manual test: updated.
1036+
1037+2012-04-25 Marco Trevisan (Treviño) <mail@3v1n0.net>
1038+
1039+ Merge with trunk
1040+
1041+2012-04-25 Marco Trevisan (Treviño) <mail@3v1n0.net>
1042+
1043+ manual-tests, Launcher: added a test for non top non-focused windows
1044+
1045+2012-04-21 Marco Trevisan (Treviño) <mail@3v1n0.net>
1046+
1047+ BamfLauncherIcon: raise all the urgent windows, if there are any
1048+
1049+2012-04-21 Marco Trevisan (Treviño) <mail@3v1n0.net>
1050+
1051+ BamfLauncherIcon: focus an application if no child window is actually on top of the stack.
1052+
1053+ This fixes bug #802816 that happens when an application raises a window on the top of the stack but the
1054+ focus doesn't change.
1055+
1056+ Plus, don't perform unneeded checks for non-active applications.
1057+
1058+2012-04-21 Marco Trevisan (Treviño) <mail@3v1n0.net>
1059+
1060+ WindowManager: add method to get if a window is on top.
1061+
1062+ Top window is a window that is on top of the stack, excluding invisible, not mapped,
1063+ minimized, set "above" and unity windows.
1064+
1065+2012-04-26 Marco Trevisan (Treviño) <mail@3v1n0.net>
1066+
1067+ manual-test, Launcher: added manual test for the Chromium web applications. Fixes: . Approved by Tim Penhey.
1068+
1069+2012-04-26 Marco Trevisan (Treviño) <mail@3v1n0.net>
1070+
1071+ manual-test, Launcher: added manual test for the Chromium web applications
1072+
1073+2012-04-25 Marco Trevisan (Treviño) <mail@3v1n0.net>
1074+
1075+ BamfLauncherIcon: activate the icon using the quicklist item using an Idle.
1076+
1077+ This fixes the bug #986461 that caused the spread not to initiate clicking on the quicklist application name.. Fixes: https://bugs.launchpad.net/bugs/986461. Approved by Thomi Richards.
1078+
1079+2012-04-26 Marco Trevisan (Treviño) <mail@3v1n0.net>
1080+
1081+ WindowManager: removed the g_debug("%s", G_STRFUNC); from AddProperties dummy implementation
1082+
1083+2012-04-25 Marco Trevisan (Treviño) <mail@3v1n0.net>
1084+
1085+ autopilot, test_quicklist: add a test to check that spread works when initiated by quicklist
1086+
1087+2012-04-25 Marco Trevisan (Treviño) <mail@3v1n0.net>
1088+
1089+ autopilot, keybindings: include spread keybindings
1090+
1091+2012-04-25 Marco Trevisan (Treviño) <mail@3v1n0.net>
1092+
1093+ autopilot, add WindowManager emulator
1094+
1095+2012-04-25 Marco Trevisan (Treviño) <mail@3v1n0.net>
1096+
1097+ test_quicklist: added test to check if the application label works
1098+
1099+2012-04-24 Marco Trevisan (Treviño) <mail@3v1n0.net>
1100+
1101+ unityshell: set PluginAdapter as introspectable child
1102+
1103+2012-04-24 Marco Trevisan (Treviño) <mail@3v1n0.net>
1104+
1105+ WindowManager: make it introspectable, implementation in PluginAdapter.
1106+
1107+2012-04-24 Marco Trevisan (Treviño) <mail@3v1n0.net>
1108+
1109+ Merge with trunk
1110+
1111+2012-04-23 Marco Trevisan (Treviño) <mail@3v1n0.net>
1112+
1113+ BamfLauncherIcon: remove the _quicklist_activated_id related source on destruction
1114+
1115+2012-04-21 Marco Trevisan (Treviño) <mail@3v1n0.net>
1116+
1117+ BamfLauncherIcon: activate the icon using the quicklist item using an Idle.
1118+
1119+ This fixes the bug #986461 that caused the spread not to initiate clicking on the quicklist
1120+ application name.
1121+
1122+2012-04-25 Michal Hruby <michal.mhr@gmail.com>
1123+
1124+ Fix scale inversion when processing non-rect tile textures. Fixes: https://bugs.launchpad.net/bugs/988338. Approved by Gord Allott.
1125+
1126+2012-04-25 Michal Hruby <michal.mhr@gmail.com>
1127+
1128+ Fix scale inversion when processing non-rect tile textures
1129+
1130+2012-04-25 Andrea Azzarone <azzaronea@gmail.com>
1131+
1132+ Don't crop the bottom of results in card view when a category is not expanded.. Fixes: https://bugs.launchpad.net/bugs/975003. Approved by Marco Trevisan (Treviño).
1133+
1134+2012-04-25 Andrea Azzarone <azzaronea@gmail.com>
1135+
1136+ Fixes LP bug #975003.
1137+
1138+2012-04-25 Michal Hruby <michal.mhr@gmail.com>
1139+
1140+ Destroy lens views before destroying lens models. Fixes: . Approved by Gord Allott, Sam Spilsbury.
1141+
1142+2012-04-24 Michal Hruby <michal.mhr@gmail.com>
1143+
1144+ Add a comment
1145+
1146+2012-04-24 Michal Hruby <michal.mhr@gmail.com>
1147+
1148+ Destroy lens views before destroying lens models
1149+
1150+2012-04-25 Michal Hruby <michal.mhr@gmail.com>
1151+
1152+ Make sure hud's spinner stops spinning after hud service returns reply. Fixes: https://bugs.launchpad.net/bugs/987781. Approved by Gord Allott, Marco Trevisan (Treviño).
1153+
1154+2012-04-24 Michal Hruby <michal.mhr@gmail.com>
1155+
1156+ Make sure hud's spinner stops spinning after hud service returns reply
1157+
1158+2012-04-25 Brandon Schaefer <brandontschaefer@gmail.com>
1159+
1160+ Shorten the press/release time of the Ctrl+Space for the IBus AP tests.. Fixes: . Approved by Thomi Richards.
1161+
1162+2012-04-24 Brandon Schaefer <brandontschaefer@gmail.com>
1163+
1164+ * Shortens the press/release time for Ctrl+Space as jenkins is a little slow
1165+
1166+2012-04-24 Andrea Azzarone <azzaronea@gmail.com>
1167+
1168+ Enable dnd for all launcher icons (and not just the ones matching the type).. Fixes: https://bugs.launchpad.net/bugs/880798. Approved by Marco Trevisan (Treviño).
1169+
1170+2012-04-25 Andrea Azzarone <azzaronea@gmail.com>
1171+
1172+ Fix typo.
1173+
1174+2012-04-25 Andrea Azzarone <azzaronea@gmail.com>
1175+
1176+ Fixes.
1177+
1178+2012-04-25 Andrea Azzarone <azzaronea@gmail.com>
1179+
1180+ Add a manual test.
1181+
1182+2012-04-25 Andrea Azzarone <azzaronea@gmail.com>
1183+
1184+ Fixes bug #880798.
1185+
1186+2012-04-24 Andrea Azzarone <azzaronea@gmail.com>
1187+
1188+ Set a shortcut for the new apps on the launcher too.. Fixes: https://bugs.launchpad.net/bugs/778499. Approved by Marco Trevisan (Treviño).
1189+
1190+2012-04-24 Andrea Azzarone <azzaronea@gmail.com>
1191+
1192+ Fix.
1193+
1194+2012-04-24 Andrea Azzarone <azzaronea@gmail.com>
1195+
1196+ Merge trunk.
1197+
1198+2012-04-23 Andrea Azzarone <azzaronea@gmail.com>
1199+
1200+ Adds AP test.
1201+
1202+2012-04-23 Andrea Azzarone <azzaronea@gmail.com>
1203+
1204+ Fixes bug #778499.
1205+
1206+2012-04-24 Marco Trevisan (Treviño) <mail@3v1n0.net>
1207+
1208+ DeviceLauncherSection: updated to use glib::SignalManager and glib::Object
1209+
1210+ This allow to be more safe; it fixes also some crashes caused by the fact that DeviceLauncherIcon didn't own the GVolume* object. Now it uses glib::Object completely, so we can automagically ref/unref the volume when the icon is created/removed.. Fixes: https://bugs.launchpad.net/bugs/918548, https://bugs.launchpad.net/bugs/977762. Approved by Andrea Azzarone.
1211+
1212+2012-04-24 Marco Trevisan (Treviño) <mail@3v1n0.net>
1213+
1214+ DeviceLauncherSection: use glib::SignalManager
1215+
1216+2012-04-24 Marco Trevisan (Treviño) <mail@3v1n0.net>
1217+
1218+ DeviceLauncherIcon: use a glib::Object to handle the volume.
1219+
1220+ So we can be safe about reference. This will automagically add
1221+ and remove a reference when needed.
1222+
1223+2012-04-24 Brandon Schaefer <brandontschaefer@gmail.com>
1224+
1225+ UnityScreen: use smart_pointers correctly, destruct items in correct order. Fixes: https://bugs.launchpad.net/bugs/987932. Approved by Marco Trevisan (Treviño).
1226+
1227+2012-04-24 Brandon Schaefer <brandontschaefer@gmail.com>
1228+
1229+ * Remove useless namespace
1230+
1231+2012-04-24 Brandon Schaefer <brandontschaefer@gmail.com>
1232+
1233+ * Fixed spacing issue
1234+
1235+2012-04-24 Brandon Schaefer <brandontschaefer@gmail.com>
1236+
1237+ * Some fixes, also added some comments about the ordering (was causing the crashes)
1238+
1239+2012-04-24 Brandon Schaefer <brandontschaefer@gmail.com>
1240+
1241+ * Changed WindowThread to use a unique ptr
1242+ * Also fixed a memory leak with the debugger
1243+ * Some cleaning up also
1244+ * Thanks Treviño for the information :)
1245+
1246+2012-04-24 Brandon Schaefer <brandontschaefer@gmail.com>
1247+
1248+ UnityScreen: destroy the controllers before the window thread
1249+
1250+ Fixes crashes enabling/disabling plugins in CCSM. Fixes: https://bugs.launchpad.net/bugs/931201, https://bugs.launchpad.net/bugs/942286, https://bugs.launchpad.net/bugs/947844, https://bugs.launchpad.net/bugs/952378. Approved by Marco Trevisan (Treviño).
1251+
1252+2012-04-23 Brandon Schaefer <brandontschaefer@gmail.com>
1253+
1254+ * Fixes some crashes with the ccsm and plugins
1255+ * There still seems to be a crash, but it looks to be in bamf
1256+
1257+2012-04-24 Michal Hruby <michal.mhr@gmail.com>
1258+
1259+ GLibDBusProxy: Remove 1 second timeout we used before connecting to dbus proxies. Fixes: . Approved by Marco Trevisan (Treviño).
1260+
1261+2012-04-24 Michal Hruby <michal.mhr@gmail.com>
1262+
1263+ Remove 1 second timeout we used before connecting to dbus proxies
1264+
1265+2012-04-24 Marco Trevisan (Treviño) <mail@3v1n0.net>
1266+
1267+ HudLauncherIcon: close the HUD when activating the icon
1268+
1269+ As design requested in bug #963918. Fixes: https://bugs.launchpad.net/bugs/963918. Approved by Gord Allott.
1270+
1271+2012-04-24 Marco Trevisan (Treviño) <mail@3v1n0.net>
1272+
1273+ HudLauncherIcon: removed unneeded space.
1274+
1275+2012-04-24 Marco Trevisan (Treviño) <mail@3v1n0.net>
1276+
1277+ autopilot, test_hud: add test to check if clicking over the HUD icon closes it.
1278+
1279+2012-04-24 Marco Trevisan (Treviño) <mail@3v1n0.net>
1280+
1281+ HudLauncherIcon: close the HUD when activating the icon
1282+
1283+ As design requested in bug #963918
1284+
1285+2012-04-24 smspillaz <sam.spilsbury@canonical.com>
1286+
1287+ See Bug 880449 : Minimized windows were being considered for showdesktop and had their input shape removed twice.
1288+
1289+ 1) Never allow different entities to fight over the input shape of the window. Have one shared interface between them with RAII semantics
1290+ 2) Don't allow minimized windows to enter showdesktop mode. Fixes: . Approved by Gord Allott.
1291+
1292+2012-04-23 smspillaz <sam.spilsbury@canonical.com>
1293+
1294+ Fix style, use <memory>
1295+
1296+2012-04-18 smspillaz <sam.spilsbury@canonical.com>
1297+
1298+ Don't showdesktop minimized windows
1299+
1300+2012-04-18 smspillaz <sam.spilsbury@canonical.com>
1301+
1302+ Make the minimize handler use the same mechanism
1303+
1304+2012-04-18 smspillaz <sam.spilsbury@canonical.com>
1305+
1306+ Acquire input shape removal through RAII semantics
1307+
1308+2012-04-23 Marco Trevisan (Treviño) <mail@3v1n0.net>
1309+
1310+ Hud: update the icon size to match the launcher icon size when in auto-hide mode
1311+
1312+ Plus prevent a couple of crashes. Fixes: https://bugs.launchpad.net/bugs/921506, https://bugs.launchpad.net/bugs/983646. Approved by Tim Penhey.
1313+
1314+2012-04-23 Marco Trevisan (Treviño) <mail@3v1n0.net>
1315+
1316+ HudView: Set the minimum icon height to match the content_layout
1317+
1318+ So the icon is vertically centered to the hud search (minimal) layout if needed.
1319+
1320+2012-04-23 Marco Trevisan (Treviño) <mail@3v1n0.net>
1321+
1322+ HudIcon: use unsigned integer for padding.
1323+
1324+2012-04-23 Marco Trevisan (Treviño) <mail@3v1n0.net>
1325+
1326+ HudView: remove space
1327+
1328+2012-04-23 Marco Trevisan (Treviño) <mail@3v1n0.net>
1329+
1330+ HudIcon: Fix the icon position to be relative to size, add a minimum vertical padding
1331+
1332+ This makes the icon draw correctly when it's big, also it makes the view to increas its
1333+ vertical size slightly to use some padding if needed.
1334+
1335+2012-04-23 Marco Trevisan (Treviño) <mail@3v1n0.net>
1336+
1337+ HudView: fix the geometry not to change when the icon size changes
1338+
1339+2012-04-23 Marco Trevisan (Treviño) <mail@3v1n0.net>
1340+
1341+ HudController: add SetIcon function that removes some code duplication
1342+
1343+2012-04-23 Marco Trevisan (Treviño) <mail@3v1n0.net>
1344+
1345+ IconTexture: be more safe when handling _pixbuf_cached
1346+
1347+ Set it to null when invalid and during initialization
1348+
1349+2012-04-22 Marco Trevisan (Treviño) <mail@3v1n0.net>
1350+
1351+ Merging with trunk (window button fixes)
1352+
1353+2012-04-22 Marco Trevisan (Treviño) <mail@3v1n0.net>
1354+
1355+ Merging with trunk
1356+
1357+2012-04-01 Marco Trevisan (Treviño) <mail@3v1n0.net>
1358+
1359+ Hud: update the icon size to match the launcher icon size.
1360+
1361+2012-04-01 Marco Trevisan (Treviño) <mail@3v1n0.net>
1362+
1363+ Merging with icon fixes branch
1364+
1365+2012-04-23 Andrea Azzarone <azzaronea@gmail.com>
1366+
1367+ Use 2 columns in the card view in desktop mode when filters are opened.. Fixes: https://bugs.launchpad.net/bugs/977817. Approved by Mirco Müller, Marco Trevisan (Treviño), Andrea Cimitan.
1368+
1369+2012-04-20 Andrea Azzarone <azzaronea@gmail.com>
1370+
1371+ Fix bug #977817.
1372+
1373+2012-04-20 Andrea Azzarone <azzaronea@gmail.com>
1374+
1375+ Merge trunk.
1376+
1377+2012-04-21 Michael Rawson <michaelrawson76@gmail.com>
1378+
1379+ Fixes position of "show desktop" icon-LP:964073. Fixes: https://bugs.launchpad.net/bugs/964073. Approved by Marco Trevisan (Treviño).
1380+
1381+2012-04-18 Michael Rawson <michaelrawson76@gmail.com>
1382+
1383+ Fixed braces
1384+
1385+2012-04-17 Michael Rawson <michaelrawson76@gmail.com>
1386+
1387+ Fixed indentation
1388+
1389+2012-04-15 Michael Rawson <michaelrawson76@gmail.com>
1390+
1391+ Fixed ccsm problem
1392+
1393+2012-04-15 Michael Rawson <michaelrawson76@gmail.com>
1394+
1395+ Removed excess DesktopLauncherIcons()
1396+
1397+2012-04-14 Michael Rawson <michaelrawson76@gmail.com>
1398+
1399+ Re-added code
1400+
1401+2012-04-14 Michael Rawson <michaelrawson76@gmail.com>
1402+
1403+ Made fix more explicit-thanks Marco
1404+
1405+2012-04-13 Michael Rawson <michaelrawson76@gmail.com>
1406+
1407+ Moved show desktop icon to intended position
1408+
1409+2012-04-21 Marco Trevisan (Treviño) <mail@3v1n0.net>
1410+
1411+ WindowButtons: avoid to disable the Overlay close button.
1412+
1413+ This fixes a regression I probabily introduced (sorry).. Fixes: https://bugs.launchpad.net/bugs/986264. Approved by Andrea Azzarone.
1414+
1415+2012-04-20 Marco Trevisan (Treviño) <mail@3v1n0.net>
1416+
1417+ WindowButtons: remove extra space, and be more crash-safe
1418+
1419+2012-04-20 Marco Trevisan (Treviño) <mail@3v1n0.net>
1420+
1421+ WindowButtons: avoid to disable the Overlay close button.
1422+
1423+ This fixes a regression I probabily introduced (sorry).
1424+
1425+2012-04-20 Andrea Azzarone <azzaronea@gmail.com>
1426+
1427+ Don't activate "home.lens" during dash closing.. Fixes: https://bugs.launchpad.net/bugs/914785. Approved by Michal Hruby, Marco Trevisan (Treviño).
1428+
1429+2012-04-20 Andrea Azzarone <azzaronea@gmail.com>
1430+
1431+ Merge trunk.
1432+
1433+2012-04-20 Andrea Azzarone <azzaronea@gmail.com>
1434+
1435+ Don't activate the home lens during the dash closing.
1436+
1437+2012-04-20 Thomi Richards <thomi.richards@canonical.com>
1438+
1439+ Update IBus tests to only set the IME once per test case class.. Fixes: . Approved by Brandon Schaefer, Thomi Richards.
1440+
1441+2012-04-20 Thomi Richards <thomi.richards@canonical.com>
1442+
1443+ Use a single setUpClass method.
1444+
1445+2012-04-20 Brandon Schaefer <brandontschaefer@gmail.com>
1446+
1447+ * setUpClass, not tearDownClass
1448+
1449+2012-04-20 Brandon Schaefer <brandontschaefer@gmail.com>
1450+
1451+ * Removed param, as it is no longer needed
1452+
1453+2012-04-20 Brandon Schaefer <brandontschaefer@gmail.com>
1454+
1455+ * Now the ibus only reset the context when it changes test engines
1456+
1457+2012-04-19 Brandon Schaefer <brandontschaefer@gmail.com>
1458+
1459+ * Changed to deactivate to an explicit call
1460+
1461+2012-04-20 Chase Douglas <chase.douglas@ubuntu.com>
1462+
1463+ Fix potential pointer lockup on initial drag gesture.. Fixes: https://bugs.launchpad.net/bugs/979418. Approved by Marco Trevisan (Treviño), Alex Launi.
1464+
1465+2012-04-12 Chase Douglas <chase.douglas@ubuntu.com>
1466+
1467+ Add test comment
1468+
1469+2012-04-11 Chase Douglas <chase.douglas@ubuntu.com>
1470+
1471+ Fix pointer locking up after three touch window drag
1472+
1473+ GestureEngine::EndDrag() checks if a drag gesture was performed before
1474+ ungrabbing the pointer. Unfortunately, it checks if the gesture ID is
1475+ non-zero, but a zero ID is valid. We don't need to check the gesture ID
1476+ at all since the drag window is maintained properly.
1477+
1478+2012-04-11 Chase Douglas <chase.douglas@ubuntu.com>
1479+
1480+ Add regression test for drag gesture pointer grabs not being removed
1481+
1482+2012-04-11 Chase Douglas <chase.douglas@ubuntu.com>
1483+
1484+ Add grab counting in compiz screen mock
1485+
1486+2012-04-19 Marco Trevisan (Treviño) <mail@3v1n0.net>
1487+
1488+ WindowButtons: disable the close button if the controlled window is not closable
1489+
1490+ Added support to WindowManager to get if a window is closable and maximizable, then used the IsWindowClosable method to enable or disable the close window button.. Fixes: https://bugs.launchpad.net/bugs/981196. Approved by Thomi Richards, Brandon Schaefer.
1491+
1492+2012-04-14 Marco Trevisan (Treviño) <mail@3v1n0.net>
1493+
1494+ manual-tests: WindowButtons, added test case for disabled close button
1495+
1496+2012-04-13 Marco Trevisan (Treviño) <mail@3v1n0.net>
1497+
1498+ WindowButtons: disable the close button if the controlled window is not closable
1499+
1500+2012-04-13 Marco Trevisan (Treviño) <mail@3v1n0.net>
1501+
1502+ WindowManager: add functions to get if a window is maximizable and closable
1503+
1504+2012-04-19 Thomi Richards <thomi.richards@canonical.com>
1505+
1506+ IBus autopilot tests now wait for input method context to be created before typing characters.. Fixes: . Approved by Brandon Schaefer.
1507+
1508+2012-04-20 Thomi Richards <thomi.richards@canonical.com>
1509+
1510+ ibus tests now wait for ibus to be activated in the target widget. This removes the need for sleep statements alltogether.
1511+
1512+2012-04-20 Thomi Richards <thomi.richards@canonical.com>
1513+
1514+ IBus tests now wait until the im_active property on the SearchBar is set to true.
1515+
1516+2012-04-20 Thomi Richards <thomi.richards@canonical.com>
1517+
1518+ First pass at fixing the ibus tests.
1519+
1520+2012-04-20 Thomi Richards <thomi.richards@canonical.com>
1521+
1522+ Merged launcher tests fix, needed by this branch.
1523+
1524+2012-04-19 Andrea Azzarone <azzaronea@gmail.com>
1525+
1526+ Add a sanity check to avoid crashes.. Fixes: https://bugs.launchpad.net/bugs/982730. Approved by Marco Trevisan (Treviño).
1527+
1528+2012-04-20 Andrea Azzarone <azzaronea@gmail.com>
1529+
1530+ Adds a sanity check to avoid crashes.
1531+
1532+2012-04-19 Thomi Richards <thomi.richards@canonical.com>
1533+
1534+ Fixes autopilot launcher test.. Fixes: . Approved by Alex Launi.
1535+
1536+2012-04-20 Thomi Richards <thomi.richards@canonical.com>
1537+
1538+ Fixed launcher emulator and tests.
1539+
1540+2012-04-19 Michal Hruby <michal.mhr@gmail.com>
1541+
1542+ Finetune priorities when updating dash results, prevents flickering. Fixes: https://bugs.launchpad.net/bugs/961979. Approved by Gord Allott.
1543+
1544+2012-04-19 Michal Hruby <michal.mhr@gmail.com>
1545+
1546+ Finetune priorities when updating dash results, prevents flickering
1547+
1548+2012-04-19 Thomi Richards <thomi.richards@canonical.com>
1549+
1550+ Shortcut hint tests now all pass.. Fixes: . Approved by Alex Launi.
1551+
1552+2012-04-19 Thomi Richards <thomi.richards@canonical.com>
1553+
1554+ Fixed shortcut hint tests, cleaned up the shortcut hint controller, and made tests use the new Eventually() matcher, which eliminates the need for many sleep() statements.
1555+
1556+2012-04-19 Thomi Richards <thomi.richards@canonical.com>
1557+
1558+ Fixed two failing tests.
1559+
1560+2012-04-19 Thomi Richards <thomi.richards@canonical.com>
1561+
1562+ Improve autopilot assertion messages inside the new wait_for method.. Fixes: . Approved by Alex Launi.
1563+
1564+2012-04-19 Thomi Richards <thomi.richards@canonical.com>
1565+
1566+ Autopilot wait_for assertions have a slightly better error message.
1567+
1568+2012-04-19 Thomi Richards <thomi.richards@canonical.com>
1569+
1570+ Fixed failing panel autopilot tests.. Fixes: . Approved by Brandon Schaefer.
1571+
1572+2012-04-19 Thomi Richards <thomi.richards@canonical.com>
1573+
1574+ Fixed two failing panel tests.
1575+
1576+2012-04-19 Brandon Schaefer <brandontschaefer@gmail.com>
1577+
1578+ HudIcon now filters out windows on different workspaces and windows that are hidden.. Fixes: . Approved by Marco Trevisan (Treviño).
1579+
1580+2012-04-18 Brandon Schaefer <brandontschaefer@gmail.com>
1581+
1582+ * changed xid back to a 0, not a pointer
1583+
1584+2012-04-18 Brandon Schaefer <brandontschaefer@gmail.com>
1585+
1586+ * Fixed ap test
1587+ * Uses nullptr now
1588+
1589+2012-04-18 Brandon Schaefer <brandontschaefer@gmail.com>
1590+
1591+ * remove debug include
1592+
1593+2012-04-18 Brandon Schaefer <brandontschaefer@gmail.com>
1594+
1595+ * Fixed the ? icon appearing.
1596+
1597+2012-04-18 Brandon Schaefer <brandontschaefer@gmail.com>
1598+
1599+ * Added ap test
1600+
1601+2012-04-18 Brandon Schaefer <brandontschaefer@gmail.com>
1602+
1603+ * Now the hud filters out windows on different workspaces for the HudIcon.
1604+
1605+2012-04-19 Thomi Richards <thomi.richards@canonical.com>
1606+
1607+ Fixed a failing test in the command_lens test suite.. Fixes: . Approved by Brandon Schaefer.
1608+
1609+2012-04-19 Thomi Richards <thomi.richards@canonical.com>
1610+
1611+ Fixed a failing command lens test. Somehow the assertion got inverted in the porting process.
1612+
1613+2012-04-18 Thomi Richards <thomi.richards@canonical.com>
1614+
1615+ Hud autopilot tests use the new Eventually autopilot matcher to reduce the number of test failures due to timing issues.. Fixes: . Approved by Thomi Richards.
1616+
1617+2012-04-19 Thomi Richards <thomi.richards@canonical.com>
1618+
1619+ Merged trunk, resolved conflicts.
1620+
1621+2012-04-18 Brandon Schaefer <brandontschaefer@gmail.com>
1622+
1623+ * Fixed indent error
1624+
1625+2012-04-18 Brandon Schaefer <brandontschaefer@gmail.com>
1626+
1627+ * Fixed the dash test that was removed
1628+
1629+2012-04-18 Brandon Schaefer <brandontschaefer@gmail.com>
1630+
1631+ * uses properties
1632+
1633+2012-04-18 Brandon Schaefer <brandontschaefer@gmail.com>
1634+
1635+ * merged trunk, fixed conflicts* merged trunk, fixed conflicts* merged trunk, fixed conflicts* merged trunk, fixed conflicts* merged trunk, fixed conflicts* merged trunk, fixed conflicts* merged trunk, fixed conflicts* merged trunk, fixed conflicts
1636+
1637+2012-04-17 Brandon Schaefer <brandontschaefer@gmail.com>
1638+
1639+ * Fixed 2 ap fails
1640+
1641+2012-04-18 Marco Trevisan (Treviño) <mail@3v1n0.net>
1642+
1643+ QuicklistView: fixed the quicklist key navigation, to make it consistent with Gtk menus navigation.
1644+
1645+ The prelight of the items is now completely controlled by QuicklistView and never by QuicklistMenuItem, the children can define now when they are slectable.. Fixes: https://bugs.launchpad.net/bugs/911561, https://bugs.launchpad.net/bugs/978926, https://bugs.launchpad.net/bugs/979096. Approved by Thomi Richards.
1646+
1647+2012-04-19 Marco Trevisan (Treviño) <mail@3v1n0.net>
1648+
1649+ autopilot, test_quicklist: cyclic keynav docstring fixes
1650+
1651+2012-04-19 Marco Trevisan (Treviño) <mail@3v1n0.net>
1652+
1653+ autopilot, test_quicklist: use the Eventually matcher to avoid false-negatives
1654+
1655+2012-04-19 Marco Trevisan (Treviño) <mail@3v1n0.net>
1656+
1657+ Merging with trunk
1658+
1659+2012-04-19 Marco Trevisan (Treviño) <mail@3v1n0.net>
1660+
1661+ autopilot: quicklist emulator, applying Thomi's fixes.
1662+
1663+2012-04-18 Marco Trevisan (Treviño) <mail@3v1n0.net>
1664+
1665+ autopilot, test_quicklist: docstrings updated.
1666+
1667+2012-04-18 Marco Trevisan (Treviño) <mail@3v1n0.net>
1668+
1669+ autopilot: quicklist, use only properties
1670+
1671+2012-04-13 Marco Trevisan (Treviño) <mail@3v1n0.net>
1672+
1673+ TestQuicklistMenuitems: added GetSelectable tests
1674+
1675+2012-04-13 Marco Trevisan (Treviño) <mail@3v1n0.net>
1676+
1677+ autopilot, quicklist: added other tests to check the cyclic key-navigation
1678+
1679+ Also the quicklist emulator now includes the selectable_items property
1680+
1681+2012-04-13 Marco Trevisan (Treviño) <mail@3v1n0.net>
1682+
1683+ autopilot, quicklist: use the new selectable item property instead of computing it
1684+
1685+2012-04-13 Marco Trevisan (Treviño) <mail@3v1n0.net>
1686+
1687+ QuicklistMenuItem: add GetSelectable virtual method
1688+
1689+ So each item can define when it's possible to select them, by default all
1690+ the items are selectable when visible and enabled, while the Separator
1691+ item can never be selected.
1692+
1693+2012-04-13 Marco Trevisan (Treviño) <mail@3v1n0.net>
1694+
1695+ autopilot, quicklist: add more last/first tests
1696+
1697+2012-04-12 Marco Trevisan (Treviño) <mail@3v1n0.net>
1698+
1699+ autopilot, test_quicklist: added first bunch of key navigation tests
1700+
1701+2012-04-12 Marco Trevisan (Treviño) <mail@3v1n0.net>
1702+
1703+ QuicklistView, QuicklistMenuItem: export absolute geometries for introspection
1704+
1705+2012-04-11 Marco Trevisan (Treviño) <mail@3v1n0.net>
1706+
1707+ QuicklistView: add support to Home/End Page up/down buttons to select items
1708+
1709+2012-04-11 Marco Trevisan (Treviño) <mail@3v1n0.net>
1710+
1711+ QuicklistView: use the new SelectItem into RecvItemMouseDrag
1712+
1713+2012-04-11 Marco Trevisan (Treviño) <mail@3v1n0.net>
1714+
1715+ QuicklistMenuItem: don't change the focus on move, only on enter/leave
1716+
1717+ This to keep the consistency with GTK menus.
1718+ Also when leaving an unselected entry, we shouldn't unselect all.
1719+
1720+2012-04-11 Marco Trevisan (Treviño) <mail@3v1n0.net>
1721+
1722+ QuicklistMenuItem: make the introspection prelight name more explicit
1723+
1724+2012-04-11 Marco Trevisan (Treviño) <mail@3v1n0.net>
1725+
1726+ QuicklistView: enhance the key navigation to follow the same menus behavior
1727+
1728+ 1) When no item is selected pressing the Down arrow key should
1729+ select the first item (from top)
1730+ 2) When no item is selected pressing the Up arrow key should
1731+ select the last item (from top)
1732+ 3) When the last item is selected, pressing the Down arrow key
1733+ should select the first item
1734+ 4) When the first item is selected, pressing the Up arrow key
1735+ should select the last item
1736+
1737+ All these cases assume that the mouse pointer is outside the
1738+ quicklist or over an item and not moving, in the case that the
1739+ mouse pointer is moved over an unselected item, the focus should
1740+ be moved to that item.
1741+
1742+2012-04-11 Marco Trevisan (Treviño) <mail@3v1n0.net>
1743+
1744+ QuicklistView: manage the prelight item status, avoid double-selected items
1745+
1746+2012-04-18 Thomi Richards <thomi.richards@canonical.com>
1747+
1748+ Update HUD tests to use the new Eventually() matcher.. Fixes: . Approved by Brandon Schaefer.
1749+
1750+2012-04-19 Thomi Richards <thomi.richards@canonical.com>
1751+
1752+ Removed unused import, fixed reference to property being treated as a function.
1753+
1754+2012-04-19 Thomi Richards <thomi.richards@canonical.com>
1755+
1756+ Merged trunk.
1757+
1758+2012-04-18 Thomi Richards <thomi.richards@canonical.com>
1759+
1760+ Cleaned up code after review.
1761+
1762+2012-04-18 Thomi Richards <thomi.richards@canonical.com>
1763+
1764+ Merged home-lens-tests-to-wait_for-feature into hud-tests-to-wait_for-feature.
1765+
1766+2012-04-18 Thomi Richards <thomi.richards@canonical.com>
1767+
1768+ Merged home-lens-tests-to-wait_for-feature into hud-tests-to-wait_for-feature.
1769+
1770+2012-04-18 Thomi Richards <thomi.richards@canonical.com>
1771+
1772+ Hud tests now use Eventually() matcher object instead of wait_for.
1773+
1774+2012-04-18 Brandon Schaefer <brandontschaefer@gmail.com>
1775+
1776+ Fixed going from the Hud to the Dash forgetting window focus when exiting from the Dash.. Fixes: https://bugs.launchpad.net/bugs/984639. Approved by Andrea Azzarone, Thomi Richards.
1777+
1778+2012-04-18 Brandon Schaefer <brandontschaefer@gmail.com>
1779+
1780+ * Use the correct assert
1781+
1782+2012-04-18 Brandon Schaefer <brandontschaefer@gmail.com>
1783+
1784+ * removed sleep
1785+
1786+2012-04-18 Brandon Schaefer <brandontschaefer@gmail.com>
1787+
1788+ * Fixes Hud to Dash not restoring window focus
1789+ * Also fixes a Dash ap test failing
1790+
1791+2012-04-18 Thomi Richards <thomi.richards@canonical.com>
1792+
1793+ Home lens tests use wait_for instead of explicit sleep statements.. Fixes: . Approved by Brandon Schaefer, Alex Launi, Thomi Richards.
1794+
1795+2012-04-19 Thomi Richards <thomi.richards@canonical.com>
1796+
1797+ Merged trunk, reso;lved conflicts.
1798+
1799+2012-04-18 Thomi Richards <thomi.richards@canonical.com>
1800+
1801+ Merged dash-tests-to-wait_for-feature into home-lens-tests-to-wait_for-feature.
1802+
1803+2012-04-18 Thomi Richards <thomi.richards@canonical.com>
1804+
1805+ Merged fix-command-lens-ap-tests-with-new-wait_for-featuer into dash-tests-to-wait_for-feature.
1806+
1807+2012-04-18 Thomi Richards <thomi.richards@canonical.com>
1808+
1809+ Merged wait_for-to-use-testtools-exception into fix-command-lens-ap-tests-with-new-wait_for-featuer.
1810+
1811+2012-04-18 Thomi Richards <thomi.richards@canonical.com>
1812+
1813+ Merged dash-tests-to-wait_for-feature into home-lens-tests-to-wait_for-feature.
1814+
1815+2012-04-18 Thomi Richards <thomi.richards@canonical.com>
1816+
1817+ Merged fix-command-lens-ap-tests-with-new-wait_for-featuer into dash-tests-to-wait_for-feature.
1818+
1819+2012-04-18 Thomi Richards <thomi.richards@canonical.com>
1820+
1821+ Merged wait_for-to-use-testtools-exception into fix-command-lens-ap-tests-with-new-wait_for-featuer.
1822+
1823+2012-04-18 Thomi Richards <thomi.richards@canonical.com>
1824+
1825+ Home lens tests now use the Eventually() syntax.
1826+
1827+2012-04-18 Thomi Richards <thomi.richards@canonical.com>
1828+
1829+ IBus tests use new Eventually matcher.. Fixes: . Approved by Thomi Richards.
1830+
1831+2012-04-18 Thomi Richards <thomi.richards@canonical.com>
1832+
1833+ IBus tests now use the Eventually() matcher instead of wait_for.
1834+
1835+2012-04-18 Andrea Azzarone <azzaronea@gmail.com>
1836+
1837+ Don't close the dash if the click is inside the desktop dash border.. Fixes: https://bugs.launchpad.net/bugs/839472. Approved by Tim Penhey.
1838+
1839+2012-04-18 Andrea Azzarone <azzaronea@gmail.com>
1840+
1841+ Merge trunk.
1842+
1843+2012-04-18 Andrea Azzarone <azzaronea@gmail.com>
1844+
1845+ Fix AP test.
1846+
1847+2012-04-17 Andrea Azzarone <azzaronea@gmail.com>
1848+
1849+ Fixes typo. Adds AP test.
1850+
1851+2012-04-17 Andrea Azzarone <azzaronea@gmail.com>
1852+
1853+ Clicking on the desktop dash border should do nothing, *NOT* close the dash.
1854+
1855+2012-04-18 Michal Hruby <michal.mhr@gmail.com>
1856+
1857+ Make sure we don't try to remove sources that were already removed.. Fixes: . Approved by Marco Trevisan (Treviño), Andrea Azzarone.
1858+
1859+2012-04-18 Michal Hruby <michal.mhr@gmail.com>
1860+
1861+ Don't remove invalid sources
1862+
1863+2012-04-18 Andrea Azzarone <azzaronea@gmail.com>
1864+
1865+ Fixes bug #980924.. Fixes: https://bugs.launchpad.net/bugs/980924. Approved by Gord Allott, Marco Trevisan (Treviño).
1866+
1867+2012-04-18 Andrea Azzarone <azzaronea@gmail.com>
1868+
1869+ Remove unneeded code.
1870+
1871+2012-04-17 Andrea Azzarone <azzaronea@gmail.com>
1872+
1873+ Fixes LP bug #980924.
1874+
1875+2012-04-18 Marco Trevisan (Treviño) <mail@3v1n0.net>
1876+
1877+ UScreen: code updated to be more C++ friendly.
1878+
1879+ Also moved into the unity namespace.. Fixes: . Approved by Andrea Azzarone.
1880+
1881+2012-04-18 Marco Trevisan (Treviño) <mail@3v1n0.net>
1882+
1883+ UScreen: ref the GdkScreen object we own.
1884+
1885+2012-04-18 Marco Trevisan (Treviño) <mail@3v1n0.net>
1886+
1887+ UScreen: code updated to be more C++ friendly.
1888+
1889+ Also moved into the unity namespace.
1890+
1891+2012-04-18 Andrea Azzarone <azzaronea@gmail.com>
1892+
1893+ Fix compilation of standalone launcher.. Fixes: https://bugs.launchpad.net/bugs/983989. Approved by Marco Trevisan (Treviño), Sam Spilsbury.
1894+
1895+2012-04-18 Andrea Azzarone <azzaronea@gmail.com>
1896+
1897+ Fix standalone launcher.
1898+
1899+2012-04-18 Andrea Azzarone <azzaronea@gmail.com>
1900+
1901+ Use std::shared_ptr::reset instead of = some::Ptr(new...) for UScreen::proxy_. Fixes: . Approved by Marco Trevisan (Treviño).
1902+
1903+2012-04-18 Andrea Azzarone <azzaronea@gmail.com>
1904+
1905+ Revert prev commit. Use std::shared_ptr::reset.
1906+
1907+2012-04-18 Andrea Azzarone <azzaronea@gmail.com>
1908+
1909+ Makes UScreen::proxy_ a unity::glib::DBusProxy.
1910+
1911+2012-04-18 Andrea Azzarone <azzaronea@gmail.com>
1912+
1913+ Fix bug #977922.. Fixes: https://bugs.launchpad.net/bugs/977922. Approved by Tim Penhey.
1914+
1915+2012-04-18 Andrea Azzarone <azzaronea@gmail.com>
1916+
1917+ Fix.
1918+
1919+2012-04-18 Andrea Azzarone <azzaronea@gmail.com>
1920+
1921+ Fix bug #977922.
1922+
1923+2012-04-18 Andrea Azzarone <azzaronea@gmail.com>
1924+
1925+ Fix the switcher so it displays the full title of apps in Chinese. Fixes: https://bugs.launchpad.net/bugs/830801. Approved by Tim Penhey.
1926+
1927+2012-04-18 Andrea Azzarone <azzaronea@gmail.com>
1928+
1929+ Merge trunk
1930+
1931+2012-04-16 Andrea Azzarone <azzaronea@gmail.com>
1932+
1933+ Add a manual test.
1934+
1935+2012-04-14 Andrea Azzarone <azzaronea@gmail.com>
1936+
1937+ Fix bug #830801.
1938+
1939+2012-04-18 Thomi Richards <thomi.richards@canonical.com>
1940+
1941+ Launcher tests use Eventually() matcher.. Fixes: . Approved by Thomi Richards.
1942+
1943+2012-04-18 Thomi Richards <thomi.richards@canonical.com>
1944+
1945+ Launcher emulator now uses wait_for to block until the action has been performed. Reduces the need for sleep() statements inside tests.
1946+
1947+2012-04-18 Thomi Richards <thomi.richards@canonical.com>
1948+
1949+ Launcher tests now use Eventually() matcher. Also removed some cruft from the launcher emulators.
1950+
1951+2012-04-18 Thomi Richards <thomi.richards@canonical.com>
1952+
1953+ Merged ibus-test-to-wait_for-feature into launcher-tests-pep8-whitespace-fixes.
1954+
1955+2012-04-18 Thomi Richards <thomi.richards@canonical.com>
1956+
1957+ Merged hud-tests-to-wait_for-feature into ibus-test-to-wait_for-feature.
1958+
1959+2012-04-18 Thomi Richards <thomi.richards@canonical.com>
1960+
1961+ Merged home-lens-tests-to-wait_for-feature into hud-tests-to-wait_for-feature.
1962+
1963+2012-04-18 Thomi Richards <thomi.richards@canonical.com>
1964+
1965+ Merged dash-tests-to-wait_for-feature into home-lens-tests-to-wait_for-feature.
1966+
1967+2012-04-18 Thomi Richards <thomi.richards@canonical.com>
1968+
1969+ Merged ibus-test-to-wait_for-feature into launcher-tests-pep8-whitespace-fixes.
1970+
1971+2012-04-18 Thomi Richards <thomi.richards@canonical.com>
1972+
1973+ Merged hud-tests-to-wait_for-feature into ibus-test-to-wait_for-feature.
1974+
1975+2012-04-18 Thomi Richards <thomi.richards@canonical.com>
1976+
1977+ Merged home-lens-tests-to-wait_for-feature into hud-tests-to-wait_for-feature.
1978+
1979+2012-04-18 Thomi Richards <thomi.richards@canonical.com>
1980+
1981+ Merged dash-tests-to-wait_for-feature into home-lens-tests-to-wait_for-feature.
1982+
1983+2012-04-18 Thomi Richards <thomi.richards@canonical.com>
1984+
1985+ Merged ibus-test-to-wait_for-feature into launcher-tests-pep8-whitespace-fixes.
1986+
1987+2012-04-18 Thomi Richards <thomi.richards@canonical.com>
1988+
1989+ Merged hud-tests-to-wait_for-feature into ibus-test-to-wait_for-feature.
1990+
1991+2012-04-18 Thomi Richards <thomi.richards@canonical.com>
1992+
1993+ Merged home-lens-tests-to-wait_for-feature into hud-tests-to-wait_for-feature.
1994+
1995+2012-04-18 Thomi Richards <thomi.richards@canonical.com>
1996+
1997+ Merged dash-tests-to-wait_for-feature into home-lens-tests-to-wait_for-feature.
1998+
1999+2012-04-17 Thomi Richards <thomi.richards@canonical.com>
2000+
2001+ Fixes PEP8 and whitespace issues.
2002+
2003+2012-04-17 Thomi Richards <thomi.richards@canonical.com>
2004+
2005+ IBUs tests now make use of the wait_for attribute feature. Also refactored the ibus tests so many of them are only a few lines long, and reduced the amount of duplicated code.
2006+
2007+2012-04-17 Thomi Richards <thomi.richards@canonical.com>
2008+
2009+ Merged home-lens-tests-to-wait_for-feature into hud-tests-to-wait_for-feature.
2010+
2011+2012-04-17 Thomi Richards <thomi.richards@canonical.com>
2012+
2013+ Merged dash-tests-to-wait_for-feature into home-lens-tests-to-wait_for-feature.
2014+
2015+2012-04-17 Thomi Richards <thomi.richards@canonical.com>
2016+
2017+ Fixes several timing issues. Unity exports some properties in arrays, which makes it slightly tricky to use the wait_for feature.
2018+
2019+2012-04-17 Thomi Richards <thomi.richards@canonical.com>
2020+
2021+ More hud test changes.
2022+
2023+2012-04-17 Thomi Richards <thomi.richards@canonical.com>
2024+
2025+ Hud test changes first pass merge.
2026+
2027+2012-04-17 Thomi Richards <thomi.richards@canonical.com>
2028+
2029+ Home lens uses wait_for instead of explicit sleeps.
2030+
2031+2012-04-18 Thomi Richards <thomi.richards@canonical.com>
2032+
2033+ Dash autopilot tests use the new autopilot wait_for feature.. Fixes: . Approved by Brandon Schaefer, Tim Penhey.
2034+
2035+2012-04-18 Thomi Richards <thomi.richards@canonical.com>
2036+
2037+ Missed one spot.
2038+
2039+2012-04-18 Thomi Richards <thomi.richards@canonical.com>
2040+
2041+ Dash tests changed to use Eventually matcher.
2042+
2043+2012-04-18 Thomi Richards <thomi.richards@canonical.com>
2044+
2045+ Merged fix-command-lens-ap-tests-with-new-wait_for-featuer into dash-tests-to-wait_for-feature.
2046+
2047+2012-04-18 Thomi Richards <thomi.richards@canonical.com>
2048+
2049+ Merged fix-command-lens-ap-tests-with-new-wait_for-featuer into dash-tests-to-wait_for-feature.
2050+
2051+2012-04-18 Thomi Richards <thomi.richards@canonical.com>
2052+
2053+ Merged fix-command-lens-ap-tests-with-new-wait_for-featuer into dash-tests-to-wait_for-feature.
2054+
2055+2012-04-17 Thomi Richards <thomi.richards@canonical.com>
2056+
2057+ Merged fix-command-lens-ap-tests-with-new-wait_for-featuer into dash-tests-to-wait_for-feature.
2058+
2059+2012-04-17 Thomi Richards <thomi.richards@canonical.com>
2060+
2061+ fixed code after code review.
2062+
2063+2012-04-17 Thomi Richards <thomi.richards@canonical.com>
2064+
2065+ Merged fix-command-lens-ap-tests-with-new-wait_for-featuer into dash-tests-to-wait_for-feature.
2066+
2067+2012-04-17 Thomi Richards <thomi.richards@canonical.com>
2068+
2069+ More fixes.
2070+
2071+2012-04-17 Thomi Richards <thomi.richards@canonical.com>
2072+
2073+ Merged fix-command-lens-ap-tests-with-new-wait_for-featuer into dash-tests-to-wait_for-feature.
2074+
2075+2012-04-17 Thomi Richards <thomi.richards@canonical.com>
2076+
2077+ Merged in code to fix up the dash tests.
2078+
2079+2012-04-18 Thomi Richards <thomi.richards@canonical.com>
2080+
2081+ Command lens uses Eventually() autopilot matcher to eliminate the need for sleep() statements in autopilot tests.. Fixes: . Approved by Brandon Schaefer, Tim Penhey.
2082+
2083+2012-04-18 Thomi Richards <thomi.richards@canonical.com>
2084+
2085+ Updated to use the Eventually matcher.
2086+
2087+2012-04-18 Thomi Richards <thomi.richards@canonical.com>
2088+
2089+ Merged wait_for-to-use-testtools-exception into fix-command-lens-ap-tests-with-new-wait_for-featuer.
2090+
2091+2012-04-18 Thomi Richards <thomi.richards@canonical.com>
2092+
2093+ Merged wait_for-to-use-testtools-exception into fix-command-lens-ap-tests-with-new-wait_for-featuer.
2094+
2095+2012-04-18 Thomi Richards <thomi.richards@canonical.com>
2096+
2097+ Merged wait_for-to-use-testtools-exception into fix-command-lens-ap-tests-with-new-wait_for-featuer.
2098+
2099+2012-04-17 Thomi Richards <thomi.richards@canonical.com>
2100+
2101+ Merged wait_for-to-use-testtools-exception into fix-command-lens-ap-tests-with-new-wait_for-featuer.
2102+
2103+2012-04-17 Thomi Richards <thomi.richards@canonical.com>
2104+
2105+ Merged wait_for-to-use-testtools-exception into fix-command-lens-ap-tests-with-new-wait_for-featuer.
2106+
2107+2012-04-17 Thomi Richards <thomi.richards@canonical.com>
2108+
2109+ Removed unused import
2110+
2111+2012-04-17 Thomi Richards <thomi.richards@canonical.com>
2112+
2113+ Command lens tests updated to use the new wait_for feature, and various other API fixes.
2114+
2115+2012-04-18 Thomi Richards <thomi.richards@canonical.com>
2116+
2117+ Cleaned up docstrings and whitespace in autopilot panel tests.. Fixes: . Approved by Tim Penhey.
2118+
2119+2012-04-18 Thomi Richards <thomi.richards@canonical.com>
2120+
2121+ Whitespace, PEP8 and PEP257 fixes for the panel tests.
2122+
2123+2012-04-17 Thomi Richards <thomi.richards@canonical.com>
2124+
2125+ Adds an Eventually() matcher that allows us to block a while until a unity attribute matches a testtools match object.. Fixes: . Approved by Tim Penhey, Thomi Richards.
2126+
2127+2012-04-18 Thomi Richards <thomi.richards@canonical.com>
2128+
2129+ Check match and wait_for attribute are callables.:
2130+
2131+2012-04-18 Thomi Richards <thomi.richards@canonical.com>
2132+
2133+ Fixed code from review.
2134+
2135+2012-04-18 Thomi Richards <thomi.richards@canonical.com>
2136+
2137+ Fixed code from review.
2138+
2139+2012-04-17 Andrea Azzarone <azzaronea@gmail.com>
2140+
2141+ Fix some uninitialized variables.. Fixes: https://bugs.launchpad.net/bugs/983333. Approved by Tim Penhey.
2142+
2143+2012-04-16 Andrea Azzarone <azzaronea@gmail.com>
2144+
2145+ Fix bug #983333
2146+
2147+2012-04-17 Andrea Azzarone <azzaronea@gmail.com>
2148+
2149+ Fixes bug #983268. Fixes: https://bugs.launchpad.net/bugs/983268. Approved by Thomi Richards.
2150+
2151+2012-04-17 Andrea Azzarone <azzaronea@gmail.com>
2152+
2153+ Fixes bug #983268.
2154+
2155+2012-04-17 Thomi Richards <thomi.richards@canonical.com>
2156+
2157+ Extend the autopilot wait_for feature to use testtools matcher instances as well as ordinary values. Also added an 'Eventually' matcher which makes tests more explicit.. Fixes: . Approved by Alex Launi.
2158+
2159+2012-04-18 Thomi Richards <thomi.richards@canonical.com>
2160+
2161+ Fixed typo
2162+
2163+2012-04-18 Thomi Richards <thomi.richards@canonical.com>
2164+
2165+ Added 'Eventually' autopilot matcher.
2166+
2167+2012-04-17 Thomi Richards <thomi.richards@canonical.com>
2168+
2169+ Extend the autopilot wait_for feature to use testtools matcher instances as well as ordinary values.. Fixes: . Approved by Alex Launi.
2170+
2171+2012-04-18 Thomi Richards <thomi.richards@canonical.com>
2172+
2173+ Don't use hasattr,
2174+
2175+2012-04-17 Thomi Richards <thomi.richards@canonical.com>
2176+
2177+ Cleaned up code after code review.
2178+
2179+2012-04-17 Thomi Richards <thomi.richards@canonical.com>
2180+
2181+ wait_for now deals with attributes that have a '-' in them correctly.
2182+
2183+2012-04-17 Thomi Richards <thomi.richards@canonical.com>
2184+
2185+ wait_for attribute now accept testtools matchers.
2186+
2187+2012-04-17 Thomi Richards <thomi.richards@canonical.com>
2188+
2189+ Attribute wait_for feature now raises an AssertionError instead of a RuntimeError. THis will make unit tests FAIL instead of ERRORing when wa wait_for call fails.
2190+
2191+2012-04-17 Andrea Cimitan <andrea.cimitan@canonical.com>
2192+
2193+ Fix transparent panel in non-GLSL hardware, and use bool 'false' instead 'FALSE'. Fixes: https://bugs.launchpad.net/bugs/965323. Approved by Robert Carr, Michal Hruby.
2194+
2195+2012-04-17 Andrea Cimitan <andrea.cimitan@canonical.com>
2196+
2197+ Correct fix for 965323
2198+
2199+2012-04-17 Andrea Cimitan <andrea.cimitan@canonical.com>
2200+
2201+ Use false as boolean instead FALSE, whitespaces
2202+
2203+2012-04-17 Andrea Cimitan <andrea.cimitan@canonical.com>
2204+
2205+ Attempt to fix 965323
2206+
2207+2012-04-17 Thomi Richards <thomi.richards@canonical.com>
2208+
2209+ Added the autopilot wait_for attribute feature.. Fixes: . Approved by Marco Trevisan (Treviño), Brandon Schaefer.
2210+
2211+2012-04-13 Thomi Richards <thomi.richards@canonical.com>
2212+
2213+ Dash and hud emulators use new wait_for attribute feature.
2214+
2215+2012-04-13 Thomi Richards <thomi.richards@canonical.com>
2216+
2217+ Merged autopilot-attribute-feature into convert-to-use-wait_for.
2218+
2219+2012-04-13 Thomi Richards <thomi.richards@canonical.com>
2220+
2221+ Don't change dash in this pipeline.
2222+
2223+2012-04-13 Thomi Richards <thomi.richards@canonical.com>
2224+
2225+ Merged branch that fixes the multi key code.
2226+
2227+2012-04-12 Thomi Richards <thomi.richards@canonical.com>
2228+
2229+ Cleaned up gsettings calling code. Don't want to run command through a shell, and removed extra quotes.
2230+
2231+2012-04-11 Alex Launi <alex.launi@canonical.com>
2232+
2233+ Small fixes for compose key tests
2234+
2235+2012-04-11 Alex Launi <alex.launi@canonical.com>
2236+
2237+ Args should be a list not a tuple
2238+
2239+2012-04-13 Thomi Richards <thomi.richards@canonical.com>
2240+
2241+ Merged trunk.
2242+
2243+2012-04-13 Thomi Richards <thomi.richards@canonical.com>
2244+
2245+ Dash tests now use new autopilot wait_for mechanism.
2246+
2247+2012-04-13 Thomi Richards <thomi.richards@canonical.com>
2248+
2249+ Fix unity logging reset.
2250+
2251+2012-04-11 Thomi Richards <thomi.richards@canonical.com>
2252+
2253+ Feature seems to work. Trying it out on the dash tests.
2254+
2255+2012-04-11 Thomi Richards <thomi.richards@canonical.com>
2256+
2257+ Removed old code, added special sauce.
2258+
2259+2012-04-17 Lars Uebernickel <lars.uebernickel@canonical.com>
2260+
2261+ Force menu reposition on popup in case its contents have changed.
2262+
2263+ Fixes bug 883317.. Fixes: https://bugs.launchpad.net/bugs/883317. Approved by Marco Trevisan (Treviño).
2264+
2265+2012-04-13 Lars Uebernickel <lars.uebernickel@canonical.com>
2266+
2267+ Force menu reposition on popup in case its contents have changed
2268+
2269+2012-04-17 Michal Hruby <michal.mhr@gmail.com>
2270+
2271+ Fix a couple of wrong reference/memory management issues. Fixes: https://bugs.launchpad.net/bugs/979429. Approved by Marco Trevisan (Treviño).
2272+
2273+2012-04-16 Michal Hruby <michal.mhr@gmail.com>
2274+
2275+ Fix possible signal disconnection on already dead object
2276+
2277+2012-04-16 Michal Hruby <michal.mhr@gmail.com>
2278+
2279+ Fix incorrect string freeing in Hud
2280+
2281+2012-04-16 Michal Hruby <michal.mhr@gmail.com>
2282+
2283+ Fix wrong unref in DebugInterface
2284+
2285+2012-04-17 Gord Allott <gord.allott@canonical.com>
2286+
2287+ Small fix for the unity cmake, depend on unity core was missing from a test. Fixes: . Approved by Michal Hruby.
2288+
2289+2012-04-17 Gord Allott <gord.allott@canonical.com>
2290+
2291+ fixes small cmake depends issue
2292+
2293+2012-04-16 Andrea Azzarone <azzaronea@gmail.com>
2294+
2295+ The shortcut keys in workspace section of the shortcut overlay aren't translated.. Fixes: https://bugs.launchpad.net/bugs/980828. Approved by Didier Roche.
2296+
2297+2012-04-13 Andrea Azzarone <azzaronea@gmail.com>
2298+
2299+ Fixes bug #980828.
2300+
2301+2012-04-16 Marco Trevisan (Treviño) <mail@3v1n0.net>
2302+
2303+ Fix the behaviour of alt-tab and clicking on the launcher icon to just raise the most recently used window, not all for that app.
2304+
2305+
2306+ BamfLauncherIcon's activation related code has been updated to be more multimonitor aware (for free I've fixed also some bugs that caused the windows not to be put in spread mode in multi-monitor), and to support both the "Launcher only on Primary Monitor" and "Launcher on all monitors" options.
2307+
2308+ PluginAdapter's FocusWindowGroup method has been updated to optionally only unminimize / raise and activate only the top window. This code would have been more optimized using a reverse iterator to fetch the top_window, but not to change the whole logic and to allow to keep the previous behavior (that initially we wanted for "long alt+tab") without duplicating code, I've just hacked that.
2309+ Implemented also GetWindowMonitor to workaround the mismatch we had with the compiz' window->outputDevice() and the UScreen values that now we use in the whole unity.
2310+
2311+ Screencast of the fixed version: http://ubuntuone.com/7YaWciQnaZHfzr35asSz0N. Fixes: https://bugs.launchpad.net/bugs/861250, https://bugs.launchpad.net/bugs/959339, https://bugs.launchpad.net/bugs/981795. Approved by Thomi Richards, Tim Penhey.
2312+
2313+2012-04-16 Tim Penhey <tim.penhey@canonical.com>
2314+
2315+ Test the alt-tab appears on the monitor that has window focus.
2316+
2317+2012-04-16 Tim Penhey <tim.penhey@canonical.com>
2318+
2319+ Add window stack assertions to the switcher tests.
2320+
2321+2012-04-16 Tim Penhey <tim.penhey@canonical.com>
2322+
2323+ Assert that the visible window stack is what we expect.
2324+
2325+2012-04-16 Tim Penhey <tim.penhey@canonical.com>
2326+
2327+ More AP test tweaks.
2328+
2329+2012-04-16 Tim Penhey <tim.penhey@canonical.com>
2330+
2331+ Tweaks to the test.
2332+
2333+2012-04-15 Marco Trevisan (Treviño) <mail@3v1n0.net>
2334+
2335+ PluginAdapter: avoid to raise and unminimize top_window if already done
2336+
2337+2012-04-15 Marco Trevisan (Treviño) <mail@3v1n0.net>
2338+
2339+ Launcher: be more clear in comment (yeah?)
2340+
2341+2012-04-15 Marco Trevisan (Treviño) <mail@3v1n0.net>
2342+
2343+ UScreen: use GetMonitorAtPosition in GetMonitorWithMouse
2344+
2345+2012-04-15 Marco Trevisan (Treviño) <mail@3v1n0.net>
2346+
2347+ WindowManager, BamfLauncherIcon: some code cleanup
2348+
2349+2012-04-15 Marco Trevisan (Treviño) <mail@3v1n0.net>
2350+
2351+ autopilot, test_launcher: updated click test to check minimized windows too
2352+
2353+ Removed debug data
2354+
2355+2012-04-15 Marco Trevisan (Treviño) <mail@3v1n0.net>
2356+
2357+ autopilot, test_switcher: updated against new updates
2358+
2359+2012-04-15 Marco Trevisan (Treviño) <mail@3v1n0.net>
2360+
2361+ unityshell: show the Alt+Tab window in the monitor where is the active window
2362+
2363+ As per design.
2364+
2365+2012-04-15 Marco Trevisan (Treviño) <mail@3v1n0.net>
2366+
2367+ WindowManager: add method to get the active window.
2368+
2369+2012-04-15 Marco Trevisan (Treviño) <mail@3v1n0.net>
2370+
2371+ PluginAdapter: removing debugging bits
2372+
2373+2012-04-14 Marco Trevisan (Treviño) <mail@3v1n0.net>
2374+
2375+ Merging with branch changes
2376+
2377+2012-04-14 Brandon Schaefer <brandontschaefer@gmail.com>
2378+
2379+ * removed something that got added somehow
2380+
2381+2012-04-14 Brandon Schaefer <brandontschaefer@gmail.com>
2382+
2383+ * Added an AP test for the new design changes.
2384+
2385+2012-04-14 Marco Trevisan (Treviño) <mail@3v1n0.net>
2386+
2387+ SwitcherController: Removing the code for the Quick Alt+Tab, it should behave always at the same way
2388+
2389+ 19:11:04 <JohnLea> so to summarize the above, when a app icon is selected
2390+ in Alt-Tab, the most recently focused window (on any monitor, but only in
2391+ the current workspace) of that application which is not minimised
2392+ should be focused
2393+
2394+2012-04-14 Marco Trevisan (Treviño) <mail@3v1n0.net>
2395+
2396+ autopilot: fixed the AP test
2397+
2398+2012-04-14 Marco Trevisan (Treviño) <mail@3v1n0.net>
2399+
2400+ BamfLauncherIcon: Also invisible windows shouldn't be counted as available in monitor
2401+
2402+ Now the spread works as expected, clicking on each monitor's panel! ;)
2403+
2404+2012-04-14 Marco Trevisan (Treviño) <mail@3v1n0.net>
2405+
2406+ BamfLauncherIcon: don't consider an unmapped window as one in monitor
2407+
2408+2012-04-14 Marco Trevisan (Treviño) <mail@3v1n0.net>
2409+
2410+ BamfLauncherIcon: focus a window if the application is not active on the current monitor
2411+
2412+2012-04-14 Marco Trevisan (Treviño) <mail@3v1n0.net>
2413+
2414+ Launcher: if the current launcher is used for all the monitors, don't filter windows per monitor
2415+
2416+2012-04-14 Marco Trevisan (Treviño) <mail@3v1n0.net>
2417+
2418+ SwitcherController: include the switcher monitor when activating a group
2419+
2420+2012-04-14 Marco Trevisan (Treviño) <mail@3v1n0.net>
2421+
2422+ WindowManager: add GetWindowMonitor method, and use UScreen to fetch it
2423+
2424+ This now used in PluginAdapter not to have inconsistences.
2425+
2426+2012-04-14 Marco Trevisan (Treviño) <mail@3v1n0.net>
2427+
2428+ UScreen: allow to get the monitor for a given point
2429+
2430+2012-04-14 Marco Trevisan (Treviño) <mail@3v1n0.net>
2431+
2432+ unityshell: switcher, use UScreen to get the monitor value.
2433+
2434+ Not using this can cause inconsistences, due to the fact that compiz
2435+ numbers the devices in a different way.
2436+
2437+2012-04-14 Marco Trevisan (Treviño) <mail@3v1n0.net>
2438+
2439+ PluginAdapter::FocusWindowGroup: add a parameter to define if focusing the on-top window only
2440+
2441+ This allow to be more monitor/VP safe
2442+
2443+2012-04-12 Brandon Schaefer <brandontschaefer@gmail.com>
2444+
2445+ * remove extra line
2446+
2447+2012-04-12 Brandon Schaefer <brandontschaefer@gmail.com>
2448+
2449+ * Fixed the No new line error diff was reporting
2450+
2451+2012-04-12 Brandon Schaefer <brandontschaefer@gmail.com>
2452+
2453+ * merged trunk
2454+
2455+2012-04-12 Brandon Schaefer <brandontschaefer@gmail.com>
2456+
2457+ * removed random dash '-'
2458+
2459+2012-04-12 Brandon Schaefer <brandontschaefer@gmail.com>
2460+
2461+ * Add autopilot test for both bugs!
2462+
2463+2012-04-12 Brandon Schaefer <brandontschaefer@gmail.com>
2464+
2465+ * Added more autopilot test for quick alt+tab
2466+
2467+2012-04-11 Brandon Schaefer <brandontschaefer@gmail.com>
2468+
2469+ * merged trunk
2470+
2471+2012-04-09 Brandon Schaefer <brandontschaefer@gmail.com>
2472+
2473+ * merged trunk
2474+
2475+2012-04-06 Brandon Schaefer <brandontschaefer@gmail.com>
2476+
2477+ * Added 2 autopilot test showing quick tab is true when pressed fast enough
2478+
2479+2012-04-06 Brandon Schaefer <brandontschaefer@gmail.com>
2480+
2481+ * fixed manual test I messed up
2482+
2483+2012-04-06 Brandon Schaefer <brandontschaefer@gmail.com>
2484+
2485+ * Added a timer for quick tab
2486+
2487+2012-04-06 Brandon Schaefer <brandontschaefer@gmail.com>
2488+
2489+ * Merged trunk
2490+
2491+2012-04-05 Brandon Schaefer <brandontschaefer@gmail.com>
2492+
2493+ * Added another manual test
2494+ * Fixes
2495+
2496+2012-04-04 Brandon Schaefer <brandontschaefer@gmail.com>
2497+
2498+ * Fixed tabbing issues
2499+
2500+2012-04-04 Brandon Schaefer <brandontschaefer@gmail.com>
2501+
2502+ * Merged with trunk, fixed conficts
2503+
2504+2011-12-15 Marco Trevisan (Treviño) <mail@3v1n0.net>
2505+
2506+ BamfLauncherIcon: don't include dialog windows on Alt+Tab.
2507+
2508+2011-12-14 Marco Trevisan (Treviño) <mail@3v1n0.net>
2509+
2510+ manual-tests: Added test for QuickAltTab
2511+
2512+2011-12-14 Marco Trevisan (Treviño) <mail@3v1n0.net>
2513+
2514+ PluginAdapter: Add support for the FocusVisibility::OnlyVisibleOnTop on FocusWindowGroup
2515+
2516+ When a group is asked to focus with OnlyVisibleOnTop, we look for the
2517+ first non-minimized window on top of the stack and we raise and activate it.
2518+
2519+ Code indentation fixes included.
2520+
2521+2011-12-14 Marco Trevisan (Treviño) <mail@3v1n0.net>
2522+
2523+ BamfLauncherIcon: when we receive a "quick" activate, use the OnlyVisibleOnTop focus visbility
2524+
2525+ Defined a new FocusVisibility called OnlyVisibleOnTop that is meant
2526+ to only focus the first application window on top of the stack.
2527+ That is used when we receive a Switcher activate with a button != 0.
2528+
2529+2011-12-14 Marco Trevisan (Treviño) <mail@3v1n0.net>
2530+
2531+ SwitcherController: use the button value of ActionArg to indicate the switch type
2532+
2533+ Instead of defining another type of ActionArg, I've used the button value
2534+ of ActionArg to define if we're currently performing a quick-alt+tab or
2535+ a standard switch.
2536+ Basically:
2537+
2538+2012-04-16 Alexandros Frantzis <alexandros.frantzis@linaro.org>
2539+
2540+ Fix compilation with OpenGL ES 2.0.. Fixes: . Approved by Sam Spilsbury.
2541+
2542+2012-04-06 Alexandros Frantzis <alexandros.frantzis@linaro.org>
2543+
2544+ Fix compilation with OpenGL ES 2.0.
2545+
2546+2012-04-12 Gord Allott <gord.allott@canonical.com >
2547+
2548+ fixes an uninitalised variable in the dashview code
2549+
2550+2012-04-12 Gord Allott <gord.allott@canonical.com>
2551+
2552+ fixed uninitalised value
2553+
2554+2012-04-12 Didier Roche <didier.roche@canonical.com>
2555+
2556+ Release\ 5.10.0
2557+
2558+>>>>>>> MERGE-SOURCE
2559 2012-04-12 Michal Hruby <michal.mhr@gmail.com>
2560
2561 Make sure the lenses search for things we want on startup. Fixes: https://bugs.launchpad.net/bugs/979799. Approved by Gord Allott.
2562
2563=== modified file 'HACKING'
2564--- HACKING 2012-09-13 10:56:42 +0000
2565+++ HACKING 2013-07-24 18:20:41 +0000
2566@@ -7,7 +7,11 @@
2567 - gthread-2.0
2568 - indicator
2569 - atk
2570+<<<<<<< TREE
2571 - libatk-adaptor
2572+=======
2573+ - libgeis
2574+>>>>>>> MERGE-SOURCE
2575
2576 Or if you are on ubuntu run the command, apt-get build-dep unity
2577
2578
2579=== modified file 'UnityCore/DBusIndicators.cpp'
2580--- UnityCore/DBusIndicators.cpp 2013-06-17 11:16:12 +0000
2581+++ UnityCore/DBusIndicators.cpp 2013-07-24 18:20:41 +0000
2582@@ -47,7 +47,12 @@
2583 class DBusIndicators::Impl
2584 {
2585 public:
2586- Impl(std::string const& dbus_name, DBusIndicators* owner);
2587+<<<<<<< TREE
2588+ Impl(std::string const& dbus_name, DBusIndicators* owner);
2589+=======
2590+ Impl(std::string const& dbus_name, DBusIndicators* owner);
2591+ ~Impl();
2592+>>>>>>> MERGE-SOURCE
2593
2594 void CheckLocalService();
2595 void RequestSyncAll();
2596@@ -82,7 +87,14 @@
2597 // Public Methods
2598 DBusIndicators::Impl::Impl(std::string const& dbus_name, DBusIndicators* owner)
2599 : owner_(owner)
2600- , gproxy_(dbus_name, SERVICE_PATH, SERVICE_IFACE,
2601+<<<<<<< TREE
2602+ , gproxy_(dbus_name, SERVICE_PATH, SERVICE_IFACE,
2603+=======
2604+ , reconnect_timeout_id_(0)
2605+ , show_entry_idle_id_(0)
2606+ , show_appmenu_idle_id_(0)
2607+ , gproxy_(dbus_name, SERVICE_PATH, SERVICE_IFACE,
2608+>>>>>>> MERGE-SOURCE
2609 G_BUS_TYPE_SESSION, G_DBUS_PROXY_FLAGS_DO_NOT_LOAD_PROPERTIES)
2610 {
2611 gproxy_.Connect("ReSync", sigc::mem_fun(this, &DBusIndicators::Impl::OnReSync));
2612@@ -261,8 +273,13 @@
2613 gint32 priority = -1;
2614
2615 std::map<Indicator::Ptr, Indicator::Entries> indicators;
2616+<<<<<<< TREE
2617 int wanted_idx = 0;
2618 bool any_different_idx = false;
2619+=======
2620+ int wantedIndex = 0;
2621+ bool anyIndexDifferent = false;
2622+>>>>>>> MERGE-SOURCE
2623
2624 g_variant_get(args, "(a(ssssbbusbbi))", &iter);
2625 while (g_variant_iter_loop(iter, "(ssssbbusbbi)",
2626@@ -292,6 +309,7 @@
2627 // Empty entries are empty indicators.
2628 if (!entry.empty())
2629 {
2630+<<<<<<< TREE
2631 Entry::Ptr e;
2632 if (!any_different_idx)
2633 {
2634@@ -307,6 +325,20 @@
2635 any_different_idx = true;
2636 }
2637 }
2638+=======
2639+ Entry::Ptr e;
2640+ if (!anyIndexDifferent)
2641+ {
2642+ // Indicators can only add or remove entries, so if
2643+ // there is a index change we can't reuse the existing ones
2644+ // after that index
2645+ int existingEntryIndex = indicator->EntryIndex(entry_id);
2646+ if (wantedIndex == existingEntryIndex)
2647+ e = indicator->GetEntry(entry_id);
2648+ else
2649+ anyIndexDifferent = true;
2650+ }
2651+>>>>>>> MERGE-SOURCE
2652
2653 if (!e)
2654 {
2655@@ -322,7 +354,11 @@
2656 }
2657
2658 entries.push_back(e);
2659+<<<<<<< TREE
2660 ++wanted_idx;
2661+=======
2662+ wantedIndex++;
2663+>>>>>>> MERGE-SOURCE
2664 }
2665 }
2666 g_variant_iter_free(iter);
2667
2668=== modified file 'UnityCore/DBusIndicators.h'
2669--- UnityCore/DBusIndicators.h 2012-12-04 00:33:18 +0000
2670+++ UnityCore/DBusIndicators.h 2013-07-24 18:20:41 +0000
2671@@ -50,6 +50,10 @@
2672 DBusIndicators(std::string const& dbus_name);
2673 bool IsConnected() const;
2674
2675+protected:
2676+ DBusIndicators(std::string const& dbus_name);
2677+ bool IsConnected() const;
2678+
2679 private:
2680 class Impl;
2681 std::unique_ptr<Impl> pimpl;
2682
2683=== modified file 'UnityCore/GLibSignal.cpp'
2684--- UnityCore/GLibSignal.cpp 2012-08-15 16:58:14 +0000
2685+++ UnityCore/GLibSignal.cpp 2013-07-24 18:20:41 +0000
2686@@ -37,8 +37,12 @@
2687
2688 void SignalBase::Disconnect()
2689 {
2690+<<<<<<< TREE
2691 if (connection_id_ && G_IS_OBJECT(object_))
2692 {
2693+=======
2694+ if (connection_id_ && G_IS_OBJECT(object_))
2695+>>>>>>> MERGE-SOURCE
2696 g_signal_handler_disconnect(object_, connection_id_);
2697 g_object_remove_weak_pointer(object_, reinterpret_cast<gpointer*>(&object_));
2698 }
2699@@ -110,10 +114,15 @@
2700 // (it allows you to pass in a GObject without casting up).
2701 void SignalManager::Disconnect(void* object, std::string const& signal_name)
2702 {
2703+<<<<<<< TREE
2704 bool all_signals = signal_name.empty();
2705
2706 for (auto it = connections_.begin(); it != connections_.end();)
2707+=======
2708+ for (auto it = connections_.begin(); it != connections_.end(); ++it)
2709+>>>>>>> MERGE-SOURCE
2710 {
2711+<<<<<<< TREE
2712 auto const& signal = *it;
2713
2714 if (signal->object() == object && (all_signals || signal->name() == signal_name))
2715@@ -124,6 +133,13 @@
2716 else
2717 {
2718 ++it;
2719+=======
2720+ if ((*it)->object() == object &&
2721+ (signal_name.empty() || (*it)->name() == signal_name))
2722+ {
2723+ (*it)->Disconnect();
2724+ connections_.erase(it, it);
2725+>>>>>>> MERGE-SOURCE
2726 }
2727 }
2728 }
2729
2730=== modified file 'UnityCore/GLibSignal.h'
2731--- UnityCore/GLibSignal.h 2012-08-15 16:58:14 +0000
2732+++ UnityCore/GLibSignal.h 2013-07-24 18:20:41 +0000
2733@@ -87,6 +87,7 @@
2734 SignalManager();
2735 ~SignalManager();
2736 void Add(SignalBase* signal);
2737+<<<<<<< TREE
2738 void Add(SignalBase::Ptr const& signal);
2739 template <typename R, typename G, typename... Ts>
2740 void Add(G object, std::string const& signal_name, typename Signal<R, G, Ts...>::SignalCallback const& callback)
2741@@ -95,6 +96,9 @@
2742 }
2743
2744 void Disconnect(void* object, std::string const& signal_name = "");
2745+=======
2746+ void Disconnect(void* object, std::string const& signal_name = "");
2747+>>>>>>> MERGE-SOURCE
2748
2749 private:
2750 static void OnObjectDestroyed(SignalManager* self, GObject* old_obj);
2751
2752=== modified file 'UnityCore/Hud.cpp'
2753=== modified file 'UnityCore/Indicator.cpp'
2754--- UnityCore/Indicator.cpp 2013-07-01 14:58:29 +0000
2755+++ UnityCore/Indicator.cpp 2013-07-24 18:20:41 +0000
2756@@ -101,6 +101,7 @@
2757 return Entry::Ptr();
2758 }
2759
2760+<<<<<<< TREE
2761 int Indicator::EntryIndex(std::string const& entry_id) const
2762 {
2763 int i = 0;
2764@@ -125,6 +126,33 @@
2765 void Indicator::OnEntrySecondaryActivate(std::string const& entry_id)
2766 {
2767 on_secondary_activate.emit(entry_id);
2768+=======
2769+int Indicator::EntryIndex(std::string const& entry_id) const
2770+{
2771+ int i = 0;
2772+ for (auto entry : entries_)
2773+ {
2774+ if (entry->id() == entry_id)
2775+ {
2776+ return i;
2777+ }
2778+ ++i;
2779+ }
2780+
2781+ return -1;
2782+}
2783+
2784+void Indicator::OnEntryShowMenu(std::string const& entry_id, unsigned int xid,
2785+ int x, int y, unsigned int button, unsigned int timestamp)
2786+{
2787+ on_show_menu.emit(entry_id, xid, x, y, button, timestamp);
2788+}
2789+
2790+void Indicator::OnEntrySecondaryActivate(std::string const& entry_id,
2791+ unsigned int timestamp)
2792+{
2793+ on_secondary_activate.emit(entry_id, timestamp);
2794+>>>>>>> MERGE-SOURCE
2795 }
2796
2797 void Indicator::OnEntryScroll(std::string const& entry_id, int delta)
2798
2799=== modified file 'UnityCore/Indicator.h'
2800=== modified file 'dash/DashController.cpp'
2801--- dash/DashController.cpp 2013-07-01 21:19:33 +0000
2802+++ dash/DashController.cpp 2013-07-24 18:20:41 +0000
2803@@ -90,11 +90,20 @@
2804 }
2805
2806 SetupWindow();
2807+<<<<<<< TREE
2808 UScreen::GetDefault()->changed.connect([&] (int, std::vector<nux::Geometry>&) { Relayout(true); });
2809
2810 Settings::Instance().form_factor.changed.connect([this](FormFactor)
2811+=======
2812+
2813+ Settings::Instance().changed.connect([&]()
2814+>>>>>>> MERGE-SOURCE
2815 {
2816+<<<<<<< TREE
2817 if (window_ && view_ && visible_)
2818+=======
2819+ if (window_ && view_)
2820+>>>>>>> MERGE-SOURCE
2821 {
2822 // Relayout here so the input window size updates.
2823 Relayout();
2824@@ -104,6 +113,7 @@
2825 nux::GetWindowCompositor().SetKeyFocusArea(view_->default_focus());
2826 }
2827 });
2828+<<<<<<< TREE
2829
2830 auto spread_cb = sigc::bind(sigc::mem_fun(this, &Controller::HideDash), true);
2831 WindowManager::Default().initiate_spread.connect(spread_cb);
2832@@ -115,6 +125,24 @@
2833
2834 return static_cast<GVariant*>(nullptr);
2835 });
2836+=======
2837+
2838+ auto spread_cb = sigc::bind(sigc::mem_fun(this, &Controller::HideDash), true);
2839+ PluginAdapter::Default()->initiate_spread.connect(spread_cb);
2840+}
2841+
2842+Controller::~Controller()
2843+{
2844+ if (window_)
2845+ window_->UnReference();
2846+ window_ = 0;
2847+
2848+ if (timeline_id_)
2849+ g_source_remove(timeline_id_);
2850+
2851+ if (ensure_id_)
2852+ g_source_remove(ensure_id_);
2853+>>>>>>> MERGE-SOURCE
2854 }
2855
2856 void Controller::SetupWindow()
2857@@ -125,6 +153,7 @@
2858 window_->ShowWindow(false);
2859 window_->SetOpacity(0.0f);
2860 window_->mouse_down_outside_pointer_grab_area.connect(sigc::mem_fun(this, &Controller::OnMouseDownOutsideWindow));
2861+<<<<<<< TREE
2862
2863 if (nux::GetWindowThread()->IsEmbeddedWindow())
2864 {
2865@@ -137,6 +166,14 @@
2866 window_->EnableInputWindow(false, dash::window_title, true, false);
2867 wm.RestoreInputFocus();
2868 }
2869+=======
2870+
2871+ /* FIXME - first time we load our windows there is a race that causes the input window not to actually get input, this side steps that by causing an input window show and hide before we really need it. */
2872+ PluginAdapter::Default()->saveInputFocus ();
2873+ window_->EnableInputWindow(true, "Dash", true, false);
2874+ window_->EnableInputWindow(false, "Dash", true, false);
2875+ PluginAdapter::Default()->restoreInputFocus ();
2876+>>>>>>> MERGE-SOURCE
2877 }
2878
2879 void Controller::SetupDashView()
2880@@ -306,9 +343,13 @@
2881 return;
2882 }
2883
2884+<<<<<<< TREE
2885 monitor_ = GetIdealMonitor();
2886
2887+=======
2888+>>>>>>> MERGE-SOURCE
2889 view_->AboutToShow();
2890+ visible_ = true;
2891
2892 FocusWindow();
2893
2894@@ -326,6 +367,7 @@
2895 void Controller::FocusWindow()
2896 {
2897 window_->ShowWindow(true);
2898+<<<<<<< TREE
2899 window_->PushToFront();
2900 if (nux::GetWindowThread()->IsEmbeddedWindow())
2901 {
2902@@ -335,9 +377,16 @@
2903 window_->UpdateInputWindowGeometry();
2904 }
2905 window_->SetInputFocus();
2906+=======
2907+ window_->EnableInputWindow(true, "Dash", true, false);
2908+ FocusInput();
2909+
2910+ window_->CaptureMouseDownAnyWhereElse(true);
2911+>>>>>>> MERGE-SOURCE
2912 window_->QueueDraw();
2913
2914 nux::GetWindowCompositor().SetKeyFocusArea(view_->default_focus());
2915+<<<<<<< TREE
2916 }
2917
2918 void Controller::QuicklyHideDash(bool restore)
2919@@ -345,6 +394,25 @@
2920 HideDash(restore);
2921 timeline_animator_.Stop();
2922 window_->ShowWindow(false);
2923+=======
2924+
2925+ need_show_ = false;
2926+
2927+ StartShowHideTimeline();
2928+
2929+ monitor_ = GetIdealMonitor();
2930+ GVariant* info = g_variant_new(UBUS_OVERLAY_FORMAT_STRING, "dash", TRUE, monitor_);
2931+ ubus_manager_.SendMessage(UBUS_OVERLAY_SHOWN, info);
2932+>>>>>>> MERGE-SOURCE
2933+}
2934+
2935+void Controller::FocusInput()
2936+{
2937+ if (visible_)
2938+ {
2939+ window_->PushToFront();
2940+ window_->SetInputFocus();
2941+ }
2942 }
2943
2944 void Controller::HideDash(bool restore)
2945@@ -402,6 +470,11 @@
2946 }
2947 }
2948
2949+bool Controller::IsVisible() const
2950+{
2951+ return visible_;
2952+}
2953+
2954 void Controller::OnActivateRequest(GVariant* variant)
2955 {
2956 EnsureDash();
2957@@ -414,11 +487,18 @@
2958 std::string scope_id = view_->GetIdForShortcutActivation(std::string(key_string));
2959 if (scope_id != "")
2960 {
2961+<<<<<<< TREE
2962 WindowManager& wm = WindowManager::Default();
2963 if (wm.IsScaleActive())
2964 wm.TerminateScale();
2965
2966 GVariant* args = g_variant_new("(sus)", scope_id.c_str(), dash::GOTO_DASH_URI, "");
2967+=======
2968+ if (PluginAdapter::Default()->IsScaleActive())
2969+ PluginAdapter::Default()->TerminateScale();
2970+
2971+ GVariant* args = g_variant_new("(sus)", lens_id.c_str(), dash::GOTO_DASH_URI, "");
2972+>>>>>>> MERGE-SOURCE
2973 OnActivateRequest(args);
2974 g_variant_unref(args);
2975 return true;
2976
2977=== modified file 'dash/DashController.h'
2978--- dash/DashController.h 2013-07-01 21:19:33 +0000
2979+++ dash/DashController.h 2013-07-24 18:20:41 +0000
2980@@ -69,6 +69,9 @@
2981 bool IsCommandLensOpen() const;
2982 nux::Geometry GetInputWindowGeometry();
2983
2984+ void FocusInput();
2985+ bool IsVisible() const;
2986+
2987 protected:
2988 std::string GetName() const;
2989 void AddProperties(GVariantBuilder* builder);
2990
2991=== modified file 'dash/DashView.cpp'
2992--- dash/DashView.cpp 2013-07-01 21:19:33 +0000
2993+++ dash/DashView.cpp 2013-07-24 18:20:41 +0000
2994@@ -32,6 +32,7 @@
2995 #include <UnityCore/RadioOptionFilter.h>
2996 #include <UnityCore/PaymentPreview.h>
2997
2998+<<<<<<< TREE
2999 #include "unity-shared/DashStyle.h"
3000 #include "unity-shared/KeyboardUtil.h"
3001 #include "unity-shared/PreviewStyle.h"
3002@@ -39,6 +40,13 @@
3003 #include "unity-shared/UBusMessages.h"
3004 #include "unity-shared/UnitySettings.h"
3005 #include "unity-shared/WindowManager.h"
3006+=======
3007+#include "DashStyle.h"
3008+#include "DashSettings.h"
3009+#include "UBusMessages.h"
3010+#include "KeyboardUtil.h"
3011+#include "WindowManager.h"
3012+>>>>>>> MERGE-SOURCE
3013
3014 namespace unity
3015 {
3016@@ -165,6 +173,7 @@
3017
3018 DashView::~DashView()
3019 {
3020+<<<<<<< TREE
3021 // Do this explicitely, otherwise dee will complain about invalid access
3022 // to the scope models
3023 RemoveLayout();
3024@@ -177,6 +186,16 @@
3025 g_variant_get(data, "(dddd)", &red, &green, &blue, &alpha);
3026 background_color_ = nux::Color(red, green, blue, alpha);
3027 QueueDraw();
3028+=======
3029+ if (searching_timeout_id_)
3030+ g_source_remove (searching_timeout_id_);
3031+ if (hide_message_delay_id_)
3032+ g_source_remove(hide_message_delay_id_);
3033+
3034+ // Do this explicitely, otherwise dee will complain about invalid access
3035+ // to the lens models
3036+ RemoveLayout ();
3037+>>>>>>> MERGE-SOURCE
3038 }
3039
3040 void DashView::SetMonitorOffset(int x, int y)
3041@@ -1079,10 +1098,23 @@
3042
3043 void DashView::OnMouseButtonDown(int x, int y, unsigned long button, unsigned long key)
3044 {
3045+<<<<<<< TREE
3046 dash::Style& style = dash::Style::Instance();
3047 nux::Geometry geo(content_geo_);
3048
3049 if (Settings::Instance().form_factor() == FormFactor::DESKTOP)
3050+=======
3051+ dash::Style& style = dash::Style::Instance();
3052+ nux::Geometry geo(content_geo_);
3053+
3054+ if (Settings::Instance().GetFormFactor() == FormFactor::DESKTOP)
3055+ {
3056+ geo.width += style.GetDashRightTileWidth();
3057+ geo.height += style.GetDashBottomTileHeight();
3058+ }
3059+
3060+ if (!geo.IsPointInside(x, y))
3061+>>>>>>> MERGE-SOURCE
3062 {
3063 geo.width += style.GetDashRightTileWidth();
3064 geo.height += style.GetDashBottomTileHeight();
3065@@ -1097,6 +1129,7 @@
3066
3067 g_variant_get(args, "(sus)", &uri, &handled_type, &search_string);
3068
3069+<<<<<<< TREE
3070 std::string id(AnalyseScopeURI(uri.Str()));
3071
3072 LOG_DEBUG(logger) << "External activation request: " << id << " (uri: "<< uri.Str() << ")";
3073@@ -1124,6 +1157,23 @@
3074 if (!visible_)
3075 ubus_manager_.SendMessage(UBUS_DASH_EXTERNAL_ACTIVATION);
3076 }
3077+=======
3078+ std::string id(AnalyseLensURI(uri.Str()));
3079+
3080+ if (!visible_)
3081+ {
3082+ lens_bar_->Activate(id);
3083+ ubus_manager_.SendMessage(UBUS_DASH_EXTERNAL_ACTIVATION);
3084+ }
3085+ else if (/* visible_ && */ handled_type == NOT_HANDLED)
3086+ {
3087+ ubus_manager_.SendMessage(UBUS_PLACE_VIEW_CLOSE_REQUEST);
3088+ }
3089+ else if (/* visible_ && */ handled_type == GOTO_DASH_URI)
3090+ {
3091+ lens_bar_->Activate(id);
3092+ }
3093+>>>>>>> MERGE-SOURCE
3094 }
3095
3096 std::string DashView::AnalyseScopeURI(std::string const& uri)
3097@@ -1253,8 +1303,20 @@
3098 preview_state_machine_.ActivatePreview(model); // this does not immediately display a preview - we now wait.
3099 });
3100
3101+<<<<<<< TREE
3102 if (!active_scope_view_)
3103 scope_bar_->Activate(scope->id);
3104+=======
3105+ // global search done is handled by the home lens, no need to connect to it
3106+ // BUT, we will special case global search finished coming from
3107+ // the applications lens, because we want to be able to launch applications
3108+ // immediately without waiting for the search finished signal which will
3109+ // be delayed by all the lenses we're searching
3110+ if (id == "applications.lens")
3111+ {
3112+ lens->global_search_finished.connect(sigc::mem_fun(this, &DashView::OnAppsGlobalSearchFinished));
3113+ }
3114+>>>>>>> MERGE-SOURCE
3115 }
3116
3117 void DashView::OnScopeBarActivated(std::string const& id)
3118@@ -1444,12 +1506,17 @@
3119 wrapper.add(nux::Geometry(GetAbsoluteX(), GetAbsoluteY(), content_geo_.width, content_geo_.height));
3120 wrapper.add("num_rows", num_rows);
3121 wrapper.add("form_factor", form_factor);
3122+<<<<<<< TREE
3123 wrapper.add("right-border-width", style.GetDashRightTileWidth());
3124 wrapper.add("bottom-border-height", style.GetDashBottomTileHeight());
3125 wrapper.add("preview_displaying", preview_displaying_);
3126 wrapper.add("preview_animation", animate_split_value_ * animate_preview_container_value_ * animate_preview_value_);
3127 wrapper.add("dash_maximized", style.always_maximised());
3128 wrapper.add("overlay_window_buttons_shown", overlay_window_buttons_->IsVisible());
3129+=======
3130+ wrapper.add("right-border-width", style.GetDashRightTileWidth());
3131+ wrapper.add("bottom-border-height", style.GetDashBottomTileHeight());
3132+>>>>>>> MERGE-SOURCE
3133 }
3134
3135 nux::Area* DashView::KeyNavIteration(nux::KeyNavDirection direction)
3136@@ -1483,9 +1550,15 @@
3137 ubus_manager_.SendMessage(UBUS_OVERLAY_CLOSE_REQUEST);
3138 }
3139
3140+<<<<<<< TREE
3141 nux::Area* DashView::FindKeyFocusArea(unsigned int key_symbol,
3142 unsigned long x11_key_code,
3143 unsigned long special_keys_state)
3144+=======
3145+Area* DashView::FindKeyFocusArea(unsigned int key_symbol,
3146+ unsigned long x11_key_code,
3147+ unsigned long special_keys_state)
3148+>>>>>>> MERGE-SOURCE
3149 {
3150 // Only care about states of Alt, Ctrl, Super, Shift, not the lock keys
3151 special_keys_state &= (nux::NUX_STATE_ALT | nux::NUX_STATE_CTRL |
3152@@ -1494,8 +1567,12 @@
3153 // Do what nux::View does, but if the event isn't a key navigation,
3154 // designate the text entry to process it.
3155
3156+<<<<<<< TREE
3157 using namespace nux;
3158 nux::KeyNavDirection direction = KEY_NAV_NONE;
3159+=======
3160+ nux::KeyNavDirection direction = KEY_NAV_NONE;
3161+>>>>>>> MERGE-SOURCE
3162 bool ctrl = (special_keys_state & NUX_STATE_CTRL);
3163
3164 switch (x11_key_code)
3165@@ -1526,6 +1603,7 @@
3166 direction = KEY_NAV_ENTER;
3167 break;
3168 default:
3169+<<<<<<< TREE
3170 auto const& close_key = WindowManager::Default().close_window_key();
3171
3172 if (close_key.first == special_keys_state && close_key.second == x11_key_code)
3173@@ -1534,12 +1612,25 @@
3174 return nullptr;
3175 }
3176
3177+=======
3178+ auto const& close_key = WindowManager::Default()->close_window_key();
3179+
3180+ if (close_key.first == special_keys_state && close_key.second == x11_key_code)
3181+ {
3182+ ubus_manager_.SendMessage(UBUS_PLACE_VIEW_CLOSE_REQUEST);
3183+ return nullptr;
3184+ }
3185+
3186+>>>>>>> MERGE-SOURCE
3187 direction = KEY_NAV_NONE;
3188+<<<<<<< TREE
3189 }
3190
3191 if (preview_displaying_)
3192 {
3193 return preview_container_->FindKeyFocusArea(key_symbol, x11_key_code, special_keys_state);
3194+=======
3195+>>>>>>> MERGE-SOURCE
3196 }
3197
3198 // We should not do it here, but I really don't want to make DashView
3199@@ -1628,6 +1719,7 @@
3200 }
3201 }
3202
3203+<<<<<<< TREE
3204 bool search_key = false;
3205
3206 if (direction == KEY_NAV_NONE)
3207@@ -1640,6 +1732,20 @@
3208 }
3209
3210 if (!preview_displaying_ && (search_key || search_bar_->im_preedit))
3211+=======
3212+ bool search_key = false;
3213+
3214+ if (direction == KEY_NAV_NONE)
3215+ {
3216+ if (ui::KeyboardUtil::IsPrintableKeySymbol(x11_key_code) ||
3217+ ui::KeyboardUtil::IsMoveKeySymbol(x11_key_code))
3218+ {
3219+ search_key = true;
3220+ }
3221+ }
3222+
3223+ if (search_key || search_bar_->im_preedit)
3224+>>>>>>> MERGE-SOURCE
3225 {
3226 // then send the event to the search entry
3227 return search_bar_->text_entry();
3228@@ -1648,6 +1754,7 @@
3229 {
3230 return next_object_to_key_focus_area_->FindKeyFocusArea(key_symbol, x11_key_code, special_keys_state);
3231 }
3232+<<<<<<< TREE
3233
3234 return nullptr;
3235 }
3236@@ -1676,6 +1783,10 @@
3237 nux::Geometry const& DashView::GetContentGeometry() const
3238 {
3239 return content_geo_;
3240+=======
3241+
3242+ return nullptr;
3243+>>>>>>> MERGE-SOURCE
3244 }
3245
3246 }
3247
3248=== modified file 'dash/PlacesGroup.cpp'
3249--- dash/PlacesGroup.cpp 2013-05-01 18:11:32 +0000
3250+++ dash/PlacesGroup.cpp 2013-07-24 18:20:41 +0000
3251@@ -371,11 +371,17 @@
3252 void
3253 PlacesGroup::Relayout()
3254 {
3255+<<<<<<< TREE
3256 if (_relayout_idle)
3257 return;
3258
3259 _relayout_idle.reset(new glib::Idle(glib::Source::Priority::HIGH));
3260 _relayout_idle->Run(sigc::mem_fun(this, &PlacesGroup::OnIdleRelayout));
3261+=======
3262+ if (_idle_id == 0)
3263+ _idle_id = g_idle_add_full(G_PRIORITY_HIGH,
3264+ (GSourceFunc)OnIdleRelayout, this, NULL);
3265+>>>>>>> MERGE-SOURCE
3266 }
3267
3268 bool
3269
3270=== modified file 'dash/ResultRendererTile.cpp'
3271--- dash/ResultRendererTile.cpp 2013-04-30 16:58:48 +0000
3272+++ dash/ResultRendererTile.cpp 2013-07-24 18:20:41 +0000
3273@@ -20,9 +20,21 @@
3274 *
3275 */
3276
3277+<<<<<<< TREE
3278+=======
3279+
3280+>>>>>>> MERGE-SOURCE
3281 #include "ResultRendererTile.h"
3282
3283+<<<<<<< TREE
3284+=======
3285+#include <pango/pango.h>
3286+>>>>>>> MERGE-SOURCE
3287 #include <pango/pangocairo.h>
3288+<<<<<<< TREE
3289+=======
3290+#include <gtk/gtk.h>
3291+>>>>>>> MERGE-SOURCE
3292
3293 #include <NuxCore/Logger.h>
3294 #include <UnityCore/GLibWrapper.h>
3295@@ -44,6 +56,12 @@
3296
3297 namespace
3298 {
3299+<<<<<<< TREE
3300+=======
3301+nux::logging::Logger logger("unity.dash.results");
3302+const std::string DEFAULT_GICON = ". GThemedIcon text-x-preview";
3303+
3304+>>>>>>> MERGE-SOURCE
3305 const int FONT_SIZE = 10;
3306
3307 const float CORNER_HIGHTLIGHT_RADIUS = 2.0f;
3308@@ -122,16 +140,32 @@
3309 // set up our texture mode
3310 nux::TexCoordXForm texxform;
3311
3312- int icon_width, icon_height;
3313- if (container->icon == nullptr)
3314- {
3315- icon_width = icon_height = tile_icon_size;
3316- }
3317- else
3318- {
3319- icon_width = container->icon->GetWidth();
3320- icon_height = container->icon->GetHeight();
3321- }
3322+<<<<<<< TREE
3323+ int icon_width, icon_height;
3324+ if (container->icon == nullptr)
3325+ {
3326+ icon_width = icon_height = tile_icon_size;
3327+ }
3328+ else
3329+ {
3330+ icon_width = container->icon->GetWidth();
3331+ icon_height = container->icon->GetHeight();
3332+ }
3333+=======
3334+ int icon_width, icon_height;
3335+ if (container->icon == nullptr)
3336+ {
3337+ icon_width = icon_height = tile_icon_size;
3338+ }
3339+ else
3340+ {
3341+ icon_width = container->icon->GetWidth();
3342+ icon_height = container->icon->GetHeight();
3343+ }
3344+
3345+ int icon_left_hand_side = geometry.x + (geometry.width - icon_width) / 2;
3346+ int icon_top_side = geometry.y + padding + (tile_icon_size - icon_height) / 2;
3347+>>>>>>> MERGE-SOURCE
3348
3349 int icon_left_hand_side = geometry.x + (geometry.width - icon_width) / 2;
3350 int icon_top_side = geometry.y + padding + (tile_icon_size - icon_height) / 2;
3351@@ -210,7 +244,7 @@
3352
3353 void ResultRendererTile::Preload(Result const& row)
3354 {
3355- if (row.renderer<TextureContainer*>() == nullptr)
3356+ if (!row.renderer<TextureContainer*>())
3357 {
3358 // Shouldn't really do this, but it's safe in this case and quicker than making a copy.
3359 const_cast<Result&>(row).set_renderer(new TextureContainer());
3360@@ -221,6 +255,7 @@
3361
3362 void ResultRendererTile::Unload(Result const& row)
3363 {
3364+<<<<<<< TREE
3365 TextureContainer *container = row.renderer<TextureContainer*>();
3366 if (container)
3367 {
3368@@ -245,10 +280,31 @@
3369 }
3370
3371 void ResultRendererTile::LoadIcon(Result const& row)
3372+=======
3373+ delete row.renderer<TextureContainer*>();
3374+ row.set_renderer<TextureContainer*>(nullptr);
3375+}
3376+
3377+void ResultRendererTile::LoadIcon(Result& row)
3378+>>>>>>> MERGE-SOURCE
3379 {
3380+ auto container = row.renderer<TextureContainer*>();
3381+
3382+ if (!container)
3383+ {
3384+ LOG_ERROR(logger) << "No valid container for Result " << row.name() << " with URI "
3385+ << row.uri();
3386+ return;
3387+ }
3388+
3389 Style& style = Style::Instance();
3390+<<<<<<< TREE
3391 std::string icon_hint(row.icon_hint);
3392+=======
3393+ std::string const& icon_hint = row.icon_hint;
3394+>>>>>>> MERGE-SOURCE
3395 std::string icon_name;
3396+
3397 if (G_UNLIKELY(neko))
3398 {
3399 int tmp1 = style.GetTileGIconSize() + (rand() % 16) - 8;
3400@@ -264,6 +320,7 @@
3401 icon_name = !icon_hint.empty() ? icon_hint : DEFAULT_GICON;
3402 }
3403
3404+<<<<<<< TREE
3405 glib::Object<GIcon> icon(g_icon_new_for_string(icon_name.c_str(), NULL));
3406 TextureContainer* container = row.renderer<TextureContainer*>();
3407
3408@@ -282,9 +339,30 @@
3409 bool use_large_icon = icon.IsType(G_TYPE_FILE_ICON) || !icon.IsType(G_TYPE_THEMED_ICON);
3410 container->slot_handle = IconLoader::GetDefault().LoadFromGIconString(icon_name, style.GetTileImageSize(), use_large_icon ? style.GetTileImageSize() : style.GetTileGIconSize(), slot);
3411 }
3412+=======
3413+ auto slot = sigc::bind(sigc::mem_fun(this, &ResultRendererTile::IconLoaded), icon_hint, row);
3414+
3415+ if (icon_name.find("://") != std::string::npos)
3416+ {
3417+ container->slot_handle = IconLoader::GetDefault().LoadFromURI(icon_name, style.GetTileIconSize(), slot);
3418+ }
3419+>>>>>>> MERGE-SOURCE
3420 else
3421 {
3422+<<<<<<< TREE
3423 container->slot_handle = IconLoader::GetDefault().LoadFromIconName(icon_name, -1, style.GetTileGIconSize(), slot);
3424+=======
3425+ glib::Object<GIcon> icon(g_icon_new_for_string(icon_name.c_str(), nullptr));
3426+
3427+ if (G_IS_ICON(icon.RawPtr()))
3428+ {
3429+ container->slot_handle = IconLoader::GetDefault().LoadFromGIconString(icon_name, style.GetTileIconSize(), slot);
3430+ }
3431+ else
3432+ {
3433+ container->slot_handle = IconLoader::GetDefault().LoadFromIconName(icon_name, style.GetTileIconSize(), slot);
3434+ }
3435+>>>>>>> MERGE-SOURCE
3436 }
3437 }
3438
3439
3440=== modified file 'dash/ResultView.cpp'
3441--- dash/ResultView.cpp 2013-07-01 21:19:33 +0000
3442+++ dash/ResultView.cpp 2013-07-24 18:20:41 +0000
3443@@ -60,6 +60,7 @@
3444
3445 ResultView::~ResultView()
3446 {
3447+<<<<<<< TREE
3448 for( auto wrapper: introspectable_children_)
3449 {
3450 delete wrapper.second;
3451@@ -71,6 +72,15 @@
3452 renderer_->Unload(*it);
3453 }
3454
3455+=======
3456+ ClearIntrospectableWrappers();
3457+
3458+ for (auto result : results_)
3459+ {
3460+ renderer_->Unload(result);
3461+ }
3462+
3463+>>>>>>> MERGE-SOURCE
3464 renderer_->UnReference();
3465 }
3466
3467
3468=== modified file 'dash/ResultViewGrid.cpp'
3469--- dash/ResultViewGrid.cpp 2013-07-18 18:27:35 +0000
3470+++ dash/ResultViewGrid.cpp 2013-07-24 18:20:41 +0000
3471@@ -66,8 +66,15 @@
3472 , mouse_over_index_(-1)
3473 , active_index_(-1)
3474 , selected_index_(-1)
3475+<<<<<<< TREE
3476 , last_lazy_loaded_result_(0)
3477 , all_results_preloaded_(true)
3478+=======
3479+ , preview_row_(0)
3480+ , last_lazy_loaded_result_ (0)
3481+ , lazy_load_handle_(0)
3482+ , view_changed_handle_(0)
3483+>>>>>>> MERGE-SOURCE
3484 , last_mouse_down_x_(-1)
3485 , last_mouse_down_y_(-1)
3486 , drag_index_(~0)
3487@@ -80,13 +87,25 @@
3488 EnableDoubleClick(true);
3489 SetAcceptKeyNavFocusOnMouseDown(false);
3490
3491+<<<<<<< TREE
3492 auto needredraw_lambda = [&](int value) { NeedRedraw(); };
3493+=======
3494+ auto needredraw_lambda = [&](int value)
3495+ {
3496+ NeedRedraw();
3497+ };
3498+
3499+>>>>>>> MERGE-SOURCE
3500 horizontal_spacing.changed.connect(needredraw_lambda);
3501 vertical_spacing.changed.connect(needredraw_lambda);
3502 padding.changed.connect(needredraw_lambda);
3503+<<<<<<< TREE
3504 selected_index_.changed.connect(needredraw_lambda);
3505 expanded.changed.connect([&](bool value) { if (value) all_results_preloaded_ = false; });
3506 results_per_row.changed.connect([&](int value) { if (value > 0) all_results_preloaded_ = false; });
3507+=======
3508+ selected_index_.changed.connect(needredraw_lambda);
3509+>>>>>>> MERGE-SOURCE
3510
3511 key_nav_focus_change.connect(sigc::mem_fun(this, &ResultViewGrid::OnKeyNavFocusChange));
3512 key_nav_focus_activate.connect([&] (nux::Area *area)
3513@@ -179,6 +198,7 @@
3514 });
3515
3516 SetDndEnabled(true, false);
3517+<<<<<<< TREE
3518 }
3519
3520 void ResultViewGrid::Activate(LocalResult const& local_result, int index, ResultView::ActivateType type)
3521@@ -217,10 +237,30 @@
3522 guint64 timestamp = nux::GetGraphicsDisplay()->GetCurrentEvent().x11_timestamp;
3523 glib::Variant data(g_variant_new("(tiiiiii)", timestamp, column_x, row_y, column_width, row_height, left_results, right_results));
3524 ResultActivated.emit(local_result, type, data);
3525+=======
3526+}
3527+
3528+ResultViewGrid::~ResultViewGrid()
3529+{
3530+ if (lazy_load_handle_)
3531+ g_source_remove(lazy_load_handle_);
3532+
3533+ if (view_changed_handle_)
3534+ g_source_remove(view_changed_handle_);
3535+}
3536+
3537+gboolean ResultViewGrid::OnLazyLoad (gpointer data)
3538+{
3539+ ResultViewGrid *self = (ResultViewGrid*)data;
3540+ self->lazy_load_handle_ = 0;
3541+ self->DoLazyLoad();
3542+ return FALSE;
3543+>>>>>>> MERGE-SOURCE
3544 }
3545
3546 void ResultViewGrid::QueueLazyLoad()
3547 {
3548+<<<<<<< TREE
3549 if (all_results_preloaded_ || GetNumResults() == 0)
3550 return;
3551
3552@@ -261,6 +301,55 @@
3553
3554 bool ResultViewGrid::DoLazyLoad()
3555 {
3556+=======
3557+ if (lazy_load_handle_ == 0)
3558+ {
3559+ lazy_load_handle_ = g_idle_add_full (G_PRIORITY_DEFAULT, (GSourceFunc)(&ResultViewGrid::OnLazyLoad), this, NULL);
3560+ }
3561+ last_lazy_loaded_result_ = 0; // we always want to reset the lazy load index here
3562+}
3563+
3564+void ResultViewGrid::QueueViewChanged()
3565+{
3566+ if (view_changed_handle_ == 0)
3567+ {
3568+ // using G_PRIORITY_HIGH because this needs to happen *before* next draw
3569+ view_changed_handle_ = g_idle_add_full (G_PRIORITY_HIGH,
3570+ [](gpointer data) -> gboolean
3571+ {
3572+ ResultViewGrid *self = (ResultViewGrid*)data;
3573+ self->SizeReallocate();
3574+ self->last_lazy_loaded_result_ = 0; // reset the lazy load index
3575+ self->DoLazyLoad(); // also calls QueueDraw
3576+ self->view_changed_handle_ = 0;
3577+ return FALSE;
3578+ }, this, NULL);
3579+ }
3580+}
3581+
3582+void ResultViewGrid::DoLazyLoad()
3583+{
3584+ // FIXME - so this code was nice, it would only load the visible entries on the screen
3585+ // however nux does not give us a good enough indicator right now that we are scrolling,
3586+ // thus if you scroll more than a screen in one frame, you will end up with at least one frame where
3587+ // no icons are displayed (they have not been preloaded yet) - it sucked. we should fix this next cycle when we can break api
3588+ //~ int index = 0;
3589+//~
3590+ //~ ResultListBounds visible_bounds = GetVisableResults();
3591+ //~ int lower_bound = std::get<0>(visible_bounds);
3592+ //~ int upper_bound = std::get<1>(visible_bounds);
3593+//~
3594+ //~ ResultList::iterator it;
3595+ //~ for (it = results_.begin(); it != results_.end(); it++)
3596+ //~ {
3597+ //~ if (index >= lower_bound && index <= upper_bound)
3598+ //~ {
3599+ //~ renderer_->Preload((*it));
3600+ //~ }
3601+ //~ index++;
3602+ //~ }
3603+
3604+>>>>>>> MERGE-SOURCE
3605 util::Timer timer;
3606 bool queue_additional_load = false; // if this is set, we will return early and start loading more next frame
3607
3608@@ -323,16 +412,25 @@
3609
3610 void ResultViewGrid::AddResult(Result const& result)
3611 {
3612+<<<<<<< TREE
3613 all_results_preloaded_ = false;
3614 QueueResultsChanged();
3615+=======
3616+ results_.push_back(result);
3617+ QueueViewChanged();
3618+>>>>>>> MERGE-SOURCE
3619 }
3620
3621 void ResultViewGrid::RemoveResult(Result const& result)
3622 {
3623 ResultView::RemoveResult(result);
3624+<<<<<<< TREE
3625 // removing a result might make a non-preloaded one visible
3626 all_results_preloaded_ = false;
3627 QueueResultsChanged();
3628+=======
3629+ QueueViewChanged();
3630+>>>>>>> MERGE-SOURCE
3631 }
3632
3633 void ResultViewGrid::SizeReallocate()
3634@@ -518,6 +616,7 @@
3635 break;
3636 }
3637
3638+<<<<<<< TREE
3639 selected_index_ = std::max(0, selected_index_());
3640 selected_index_ = std::min(static_cast<int>(num_results - 1), selected_index_());
3641 ResultIterator iter(GetIteratorAtRow(selected_index_));
3642@@ -527,15 +626,26 @@
3643
3644 int focused_x = std::get<0>(focused_coord);
3645 int focused_y = std::get<1>(focused_coord);
3646+=======
3647+ selected_index_ = std::max(0, selected_index_());
3648+ selected_index_ = std::min(static_cast<int>(results_.size() - 1), selected_index_());
3649+ focused_uri_ = results_[selected_index_].uri;
3650+
3651+ int focused_x = (renderer_->width + horizontal_spacing + extra_horizontal_spacing_) * (selected_index_ % items_per_row);
3652+ int focused_y = (renderer_->height + vertical_spacing) * (selected_index_ / items_per_row);
3653+>>>>>>> MERGE-SOURCE
3654
3655 ubus_.SendMessage(UBUS_RESULT_VIEW_KEYNAV_CHANGED,
3656 g_variant_new("(iiii)", focused_x, focused_y, renderer_->width(), renderer_->height()));
3657 selection_change.emit();
3658+<<<<<<< TREE
3659
3660 if (event_type == nux::NUX_KEYDOWN && event_keysym == XK_Menu)
3661 {
3662 Activate(focused_result_, selected_index_, ActivateType::PREVIEW);
3663 }
3664+=======
3665+>>>>>>> MERGE-SOURCE
3666 }
3667
3668 nux::Area* ResultViewGrid::KeyNavIteration(nux::KeyNavDirection direction)
3669@@ -547,7 +657,11 @@
3670 {
3671 if (HasKeyFocus())
3672 {
3673+<<<<<<< TREE
3674 if (result_model_ && selected_index_ < 0 && GetNumResults())
3675+=======
3676+ if (selected_index_ < 0 and !results_.empty())
3677+>>>>>>> MERGE-SOURCE
3678 {
3679 ResultIterator first_iter(result_model_->model());
3680 focused_result_ = (*first_iter);
3681@@ -592,8 +706,13 @@
3682 {
3683 SizeReallocate();
3684 QueueLazyLoad();
3685+<<<<<<< TREE
3686
3687 return ResultView::ComputeContentSize();
3688+=======
3689+ long ret = ResultView::ComputeContentSize();
3690+ return ret;
3691+>>>>>>> MERGE-SOURCE
3692 }
3693
3694
3695
3696=== modified file 'dash/ResultViewGrid.h'
3697--- dash/ResultViewGrid.h 2013-05-13 19:24:26 +0000
3698+++ dash/ResultViewGrid.h 2013-07-24 18:20:41 +0000
3699@@ -48,6 +48,7 @@
3700 nux::Property<int> padding;
3701
3702 sigc::signal<void> selection_change;
3703+<<<<<<< TREE
3704
3705 virtual int GetSelectedIndex() const;
3706 virtual void SetSelectedIndex(int index);
3707@@ -59,6 +60,11 @@
3708 virtual void RenderResultTexture(ResultViewTexture::Ptr const& result_texture);
3709
3710 virtual void GetResultDimensions(int& rows, int& columns);
3711+=======
3712+
3713+ int GetSelectedIndex();
3714+ virtual uint GetIndexAtPosition(int x, int y);
3715+>>>>>>> MERGE-SOURCE
3716
3717 protected:
3718 void MouseMove(int x, int y, int dx, int dy, unsigned long button_flags, unsigned long key_flags);
3719@@ -94,19 +100,33 @@
3720 typedef std::tuple <int, int> ResultListBounds;
3721 ResultListBounds GetVisableResults();
3722
3723+<<<<<<< TREE
3724 void DrawRow(nux::GraphicsEngine& GfxContext, ResultListBounds const& visible_bounds, int row_index, int y_position, nux::Geometry const& absolute_position);
3725
3726+=======
3727+ static gboolean OnLazyLoad(gpointer data);
3728+>>>>>>> MERGE-SOURCE
3729 void QueueLazyLoad();
3730+<<<<<<< TREE
3731 void QueueResultsChanged();
3732 bool DoLazyLoad();
3733+=======
3734+ void QueueViewChanged();
3735+ void DoLazyLoad();
3736+>>>>>>> MERGE-SOURCE
3737
3738 int GetItemsPerRow();
3739 void SizeReallocate();
3740+<<<<<<< TREE
3741 std::tuple<int, int> GetResultPosition(LocalResult const& local_result);
3742 std::tuple<int, int> GetResultPosition(const unsigned int& index);
3743+=======
3744+ void PositionPreview();
3745+>>>>>>> MERGE-SOURCE
3746
3747 unsigned mouse_over_index_;
3748 int active_index_;
3749+<<<<<<< TREE
3750 nux::Property<int> selected_index_;
3751 LocalResult focused_result_;
3752
3753@@ -114,6 +134,15 @@
3754
3755 unsigned last_lazy_loaded_result_;
3756 bool all_results_preloaded_;
3757+=======
3758+ nux::Property<int> selected_index_;
3759+ uint preview_row_;
3760+ std::string focused_uri_;
3761+
3762+ int last_lazy_loaded_result_;
3763+ unsigned lazy_load_handle_;
3764+ unsigned view_changed_handle_;
3765+>>>>>>> MERGE-SOURCE
3766 int last_mouse_down_x_;
3767 int last_mouse_down_y_;
3768 LocalResult current_drag_result_;
3769
3770=== modified file 'dash/ScopeBar.cpp'
3771--- dash/ScopeBar.cpp 2013-07-12 10:26:02 +0000
3772+++ dash/ScopeBar.cpp 2013-07-24 18:20:41 +0000
3773@@ -23,11 +23,16 @@
3774 #include <Nux/HLayout.h>
3775 #include <Nux/LayeredLayout.h>
3776
3777+<<<<<<< TREE
3778 #include "unity-shared/DashStyle.h"
3779 #include "unity-shared/StaticCairoText.h"
3780 #include "unity-shared/CairoTexture.h"
3781 #include "unity-shared/GraphicsUtils.h"
3782 #include "unity-shared/UBusMessages.h"
3783+=======
3784+#include "CairoTexture.h"
3785+#include "LensBar.h"
3786+>>>>>>> MERGE-SOURCE
3787
3788 namespace unity
3789 {
3790@@ -66,6 +71,7 @@
3791 layout_->SetContentDistribution(nux::MAJOR_POSITION_CENTER);
3792 SetLayout(layout_);
3793
3794+<<<<<<< TREE
3795 SetMinimumHeight(SCOPEBAR_HEIGHT);
3796 SetMaximumHeight(SCOPEBAR_HEIGHT);
3797 }
3798@@ -85,6 +91,39 @@
3799 }
3800
3801 void ScopeBar::Activate(std::string id)
3802+=======
3803+ SetMinimumHeight(LENSBAR_HEIGHT);
3804+ SetMaximumHeight(LENSBAR_HEIGHT);
3805+}
3806+
3807+void LensBar::SetupHomeLens()
3808+{
3809+ LensBarIcon* icon = new LensBarIcon("home.lens", PKGDATADIR"/lens-nav-home.svg");
3810+ icon->SetVisible(true);
3811+ icon->active = true;
3812+ icons_.push_back(icon);
3813+ layout_->AddView(icon, 0, nux::eCenter, nux::MINOR_SIZE_FULL);
3814+ AddChild(icon);
3815+
3816+ icon->mouse_click.connect([&, icon] (int x, int y, unsigned long button, unsigned long keyboard) { SetActive(icon); });
3817+ icon->key_nav_focus_activate.connect([&, icon](nux::Area*){ SetActive(icon); });
3818+}
3819+
3820+void LensBar::AddLens(Lens::Ptr& lens)
3821+{
3822+ LensBarIcon* icon = new LensBarIcon(lens->id, lens->icon_hint);
3823+ icon->SetVisible(lens->visible);
3824+ lens->visible.changed.connect([icon](bool visible) { icon->SetVisible(visible); } );
3825+ icons_.push_back(icon);
3826+ layout_->AddView(icon, 0, nux::eCenter, nux::eFix);
3827+ AddChild(icon);
3828+
3829+ icon->mouse_click.connect([&, icon] (int x, int y, unsigned long button, unsigned long keyboard) { SetActive(icon); });
3830+ icon->key_nav_focus_activate.connect([&, icon](nux::Area*){ SetActive(icon); });
3831+}
3832+
3833+void LensBar::Activate(std::string id)
3834+>>>>>>> MERGE-SOURCE
3835 {
3836 for (auto icon: icons_)
3837 {
3838@@ -100,6 +139,7 @@
3839 {
3840 nux::Geometry const& base = GetGeometry();
3841
3842+<<<<<<< TREE
3843 graphics_engine.PushClippingRectangle(base);
3844
3845 if (RedirectedAncestor())
3846@@ -112,6 +152,15 @@
3847 }
3848
3849 graphics_engine.PopClippingRectangle();
3850+=======
3851+ gfx_context.PushClippingRectangle(base);
3852+ nux::GetPainter().PaintBackground(gfx_context, base);
3853+
3854+ bg_layer_->SetGeometry(base);
3855+ nux::GetPainter().RenderSinglePaintLayer(gfx_context, base, bg_layer_.get());
3856+
3857+ gfx_context.PopClippingRectangle();
3858+>>>>>>> MERGE-SOURCE
3859 }
3860
3861 void ScopeBar::DrawContent(nux::GraphicsEngine& graphics_engine, bool force_draw)
3862
3863=== modified file 'dash/ScopeBarIcon.cpp'
3864--- dash/ScopeBarIcon.cpp 2013-02-12 11:45:57 +0000
3865+++ dash/ScopeBarIcon.cpp 2013-07-24 18:20:41 +0000
3866@@ -56,8 +56,13 @@
3867 SetAcceptKeyNavFocusOnMouseDown(false);
3868 SetAcceptKeyNavFocusOnMouseEnter(true);
3869
3870+<<<<<<< TREE
3871 active.changed.connect(sigc::mem_fun(this, &ScopeBarIcon::OnActiveChanged));
3872 key_nav_focus_change.connect([&](nux::Area*, bool, nux::KeyNavDirection){ QueueDraw(); });
3873+=======
3874+ active.changed.connect(sigc::mem_fun(this, &LensBarIcon::OnActiveChanged));
3875+ key_nav_focus_change.connect([&](nux::Area*, bool, nux::KeyNavDirection){ QueueDraw(); });
3876+>>>>>>> MERGE-SOURCE
3877 }
3878
3879 ScopeBarIcon::~ScopeBarIcon()
3880
3881=== modified file 'hud/HudButton.cpp'
3882--- hud/HudButton.cpp 2012-12-14 12:14:34 +0000
3883+++ hud/HudButton.cpp 2013-07-24 18:20:41 +0000
3884@@ -33,8 +33,13 @@
3885 #include <UnityCore/GLibWrapper.h>
3886 #include <UnityCore/Variant.h>
3887
3888+<<<<<<< TREE
3889 #include "unity-shared/DashStyle.h"
3890 #include "unity-shared/StaticCairoText.h"
3891+=======
3892+#include "DashStyle.h"
3893+#include "StaticCairoText.h"
3894+>>>>>>> MERGE-SOURCE
3895
3896 #include "HudButton.h"
3897 #include "HudPrivate.h"
3898@@ -42,8 +47,15 @@
3899 DECLARE_LOGGER(logger, "unity.hud.button");
3900 namespace
3901 {
3902-const int hlayout_left_padding = 46;
3903-const char* const button_font = "Ubuntu 13"; // 17px = 13
3904+<<<<<<< TREE
3905+const int hlayout_left_padding = 46;
3906+const char* const button_font = "Ubuntu 13"; // 17px = 13
3907+=======
3908+nux::logging::Logger logger("unity.hud.HudButton");
3909+
3910+const int hlayout_left_padding = 46;
3911+const char* const button_font = "Ubuntu 13"; // 17px = 13
3912+>>>>>>> MERGE-SOURCE
3913 }
3914
3915 namespace unity
3916@@ -51,6 +63,7 @@
3917 namespace hud
3918 {
3919
3920+<<<<<<< TREE
3921 NUX_IMPLEMENT_OBJECT_TYPE(HudButton);
3922
3923 HudButton::HudButton(NUX_FILE_LINE_DECL)
3924@@ -63,6 +76,20 @@
3925 hlayout_->SetLeftAndRightPadding(hlayout_left_padding, -1);
3926 SetLayout(hlayout_);
3927
3928+=======
3929+NUX_IMPLEMENT_OBJECT_TYPE(HudButton);
3930+
3931+HudButton::HudButton (NUX_FILE_LINE_DECL)
3932+ : nux::Button (NUX_FILE_LINE_PARAM)
3933+ , is_rounded(false)
3934+ , is_focused_(false)
3935+ , skip_draw_(true)
3936+{
3937+ hlayout_ = new nux::HLayout(NUX_TRACKER_LOCATION);
3938+ hlayout_->SetLeftAndRightPadding(hlayout_left_padding, -1);
3939+ SetLayout(hlayout_);
3940+
3941+>>>>>>> MERGE-SOURCE
3942 InitTheme();
3943
3944 key_nav_focus_change.connect([&](nux::Area*, bool, nux::KeyNavDirection)
3945@@ -92,6 +119,9 @@
3946 });
3947 }
3948
3949+HudButton::~HudButton() {
3950+}
3951+
3952 void HudButton::InitTheme()
3953 {
3954 is_rounded.changed.connect([&](bool)
3955@@ -212,6 +242,7 @@
3956 {
3957 query_ = query;
3958 label = query->formatted_text;
3959+<<<<<<< TREE
3960
3961 auto items(impl::RefactorText(label));
3962
3963@@ -224,6 +255,19 @@
3964 text->SetInputEventSensitivity(false);
3965 hlayout_->AddView(text, 0, nux::MINOR_POSITION_CENTER, nux::MINOR_SIZE_FULL);
3966 }
3967+=======
3968+
3969+ auto items(impl::RefactorText(label()));
3970+
3971+ hlayout_->Clear();
3972+ for (auto item : items)
3973+ {
3974+ nux::StaticCairoText* text = new nux::StaticCairoText(item.first);
3975+ text->SetTextColor(nux::Color(1.0f, 1.0f, 1.0f, item.second ? 1.0f : 0.5f));
3976+ text->SetFont(button_font);
3977+ hlayout_->AddView(text, 0, nux::MINOR_POSITION_CENTER, nux::MINOR_SIZE_FULL);
3978+ }
3979+>>>>>>> MERGE-SOURCE
3980 }
3981
3982 Query::Ptr HudButton::GetQuery()
3983@@ -246,8 +290,12 @@
3984 void HudButton::AddProperties(GVariantBuilder* builder)
3985 {
3986 variant::BuilderWrapper(builder)
3987+<<<<<<< TREE
3988 .add("label", label())
3989 .add("focused", fake_focused());
3990+=======
3991+ .add("label", label());
3992+>>>>>>> MERGE-SOURCE
3993 }
3994
3995 } // namespace hud
3996
3997=== modified file 'hud/HudButton.h'
3998--- hud/HudButton.h 2012-06-27 21:32:48 +0000
3999+++ hud/HudButton.h 2013-07-24 18:20:41 +0000
4000@@ -27,6 +27,7 @@
4001 #include <Nux/Button.h>
4002 #include <Nux/TextureArea.h>
4003 #include <UnityCore/Hud.h>
4004+<<<<<<< TREE
4005 #include "unity-shared/Introspectable.h"
4006
4007 namespace nux { class HLayout; }
4008@@ -36,15 +37,34 @@
4009 namespace hud
4010 {
4011
4012+=======
4013+
4014+#include "Introspectable.h"
4015+
4016+namespace nux { class HLayout; }
4017+
4018+namespace unity
4019+{
4020+namespace hud
4021+{
4022+
4023+>>>>>>> MERGE-SOURCE
4024 class HudButton : public nux::Button, public unity::debug::Introspectable
4025 {
4026 NUX_DECLARE_OBJECT_TYPE(HudButton, nux::Button);
4027
4028 public:
4029 typedef nux::ObjectPtr<HudButton> Ptr;
4030+<<<<<<< TREE
4031
4032 HudButton(NUX_FILE_LINE_PROTO);
4033
4034+=======
4035+
4036+ HudButton (NUX_FILE_LINE_PROTO);
4037+ virtual ~HudButton();
4038+
4039+>>>>>>> MERGE-SOURCE
4040 void SetQuery(Query::Ptr query);
4041 std::shared_ptr<Query> GetQuery();
4042
4043@@ -62,8 +82,13 @@
4044
4045 std::string GetName() const;
4046 void AddProperties(GVariantBuilder* builder);
4047+<<<<<<< TREE
4048
4049 void InitTheme();
4050+=======
4051+
4052+ void InitTheme();
4053+>>>>>>> MERGE-SOURCE
4054 void RedrawTheme(nux::Geometry const& geom, cairo_t* cr, nux::ButtonVisualState faked_state);
4055
4056 private:
4057
4058=== modified file 'hud/HudController.cpp'
4059--- hud/HudController.cpp 2013-03-20 01:14:35 +0000
4060+++ hud/HudController.cpp 2013-07-24 18:20:41 +0000
4061@@ -16,11 +16,14 @@
4062 * Authored by: Gord Allott <gord.allott@canonical.com>
4063 */
4064
4065+#include <config.h>
4066+
4067 #include "HudController.h"
4068
4069 #include <NuxCore/Logger.h>
4070 #include <Nux/HLayout.h>
4071 #include <UnityCore/Variant.h>
4072+<<<<<<< TREE
4073
4074 #include "unity-shared/ApplicationManager.h"
4075 #include "unity-shared/WindowManager.h"
4076@@ -30,15 +33,33 @@
4077
4078 #include "config.h"
4079
4080+=======
4081+#include "WindowManager.h"
4082+#include "PanelStyle.h"
4083+#include "UBusMessages.h"
4084+#include "UScreen.h"
4085+
4086+#include <libbamf/libbamf.h>
4087+>>>>>>> MERGE-SOURCE
4088
4089 namespace unity
4090 {
4091 namespace hud
4092 {
4093+<<<<<<< TREE
4094 DECLARE_LOGGER(logger, "unity.hud.controller");
4095
4096 Controller::Controller(Controller::ViewCreator const& create_view,
4097 Controller::WindowCreator const& create_window)
4098+=======
4099+
4100+namespace
4101+{
4102+nux::logging::Logger logger("unity.hud.controller");
4103+}
4104+
4105+Controller::Controller(std::function<AbstractView*(void)> const& function)
4106+>>>>>>> MERGE-SOURCE
4107 : launcher_width(64)
4108 , launcher_locked_out(false)
4109 , multiple_launchers(true)
4110@@ -47,9 +68,14 @@
4111 , need_show_(false)
4112 , view_(nullptr)
4113 , monitor_index_(0)
4114+<<<<<<< TREE
4115 , create_view_(create_view)
4116 , create_window_(create_window)
4117 , timeline_animator_(90)
4118+=======
4119+ , type_wait_handle_(0)
4120+ , view_function_(function)
4121+>>>>>>> MERGE-SOURCE
4122 {
4123 LOG_DEBUG(logger) << "hud startup";
4124
4125@@ -97,9 +123,15 @@
4126
4127 launcher_width.changed.connect([&] (int new_width) { Relayout(); });
4128
4129+<<<<<<< TREE
4130 WindowManager& wm = WindowManager::Default();
4131 wm.screen_ungrabbed.connect(sigc::mem_fun(this, &Controller::OnScreenUngrabbed));
4132 wm.initiate_spread.connect(sigc::bind(sigc::mem_fun(this, &Controller::HideHud), true));
4133+=======
4134+ auto wm = WindowManager::Default();
4135+ wm->compiz_screen_ungrabbed.connect(sigc::mem_fun(this, &Controller::OnScreenUngrabbed));
4136+ wm->initiate_spread.connect(sigc::bind(sigc::mem_fun(this, &Controller::HideHud), true));
4137+>>>>>>> MERGE-SOURCE
4138
4139 hud_service_.queries_updated.connect(sigc::mem_fun(this, &Controller::OnQueriesFinished));
4140 timeline_animator_.updated.connect(sigc::mem_fun(this, &Controller::OnViewShowHideFrame));
4141@@ -107,6 +139,25 @@
4142 EnsureHud();
4143 }
4144
4145+<<<<<<< TREE
4146+=======
4147+Controller::~Controller()
4148+{
4149+ if (window_)
4150+ window_->UnReference();
4151+ window_ = 0;
4152+
4153+ if (timeline_id_)
4154+ g_source_remove(timeline_id_);
4155+
4156+ if (ensure_id_)
4157+ g_source_remove(ensure_id_);
4158+
4159+ if (type_wait_handle_)
4160+ g_source_remove(type_wait_handle_);
4161+}
4162+
4163+>>>>>>> MERGE-SOURCE
4164 void Controller::SetupWindow()
4165 {
4166 // Since BaseWindow is a View it is initially unowned. This means that the first
4167@@ -117,6 +168,7 @@
4168 window_->SetConfigureNotifyCallback(&Controller::OnWindowConfigure, this);
4169 window_->ShowWindow(false);
4170 window_->SetOpacity(0.0f);
4171+<<<<<<< TREE
4172 window_->mouse_down_outside_pointer_grab_area.connect(
4173 sigc::mem_fun(this, &Controller::OnMouseDownOutsideWindow));
4174
4175@@ -131,12 +183,26 @@
4176 window_->EnableInputWindow(false, "Hud", true, false);
4177 wm.RestoreInputFocus();
4178 }
4179+=======
4180+ window_->mouse_down_outside_pointer_grab_area.connect(sigc::mem_fun(this, &Controller::OnMouseDownOutsideWindow));
4181+
4182+ /* FIXME - first time we load our windows there is a race that causes the input window not to actually get input, this side steps that by causing an input window show and hide before we really need it. */
4183+ auto wm = WindowManager::Default();
4184+ wm->saveInputFocus ();
4185+ window_->EnableInputWindow(true, "Hud", true, false);
4186+ window_->EnableInputWindow(false, "Hud", true, false);
4187+ wm->restoreInputFocus ();
4188+>>>>>>> MERGE-SOURCE
4189 }
4190
4191 void Controller::SetupHudView()
4192 {
4193 LOG_DEBUG(logger) << "SetupHudView called";
4194+<<<<<<< TREE
4195 view_ = create_view_();
4196+=======
4197+ view_ = view_function_();
4198+>>>>>>> MERGE-SOURCE
4199
4200 layout_ = new nux::VLayout(NUX_TRACKER_LOCATION);
4201 layout_->AddView(view_, 1, nux::MINOR_POSITION_START);
4202@@ -322,7 +388,11 @@
4203
4204 void Controller::ShowHud()
4205 {
4206+<<<<<<< TREE
4207 WindowManager& wm = WindowManager::Default();
4208+=======
4209+ WindowManager* adaptor = WindowManager::Default();
4210+>>>>>>> MERGE-SOURCE
4211 LOG_DEBUG(logger) << "Showing the hud";
4212 EnsureHud();
4213
4214@@ -346,6 +416,7 @@
4215 view_->ShowEmbeddedIcon(!IsLockedToLauncher(monitor_index_));
4216 view_->AboutToShow();
4217
4218+<<<<<<< TREE
4219 ApplicationManager& app_manager = ApplicationManager::Default();
4220 ApplicationPtr active_application;
4221 ApplicationWindowPtr active_window = app_manager.GetActiveWindow();
4222@@ -355,6 +426,54 @@
4223 if (active_application)
4224 {
4225 focused_app_icon_ = active_application->icon();
4226+=======
4227+ // We first want to grab the currently active window
4228+ glib::Object<BamfMatcher> matcher(bamf_matcher_get_default());
4229+ BamfWindow* active_win = bamf_matcher_get_active_window(matcher);
4230+
4231+ Window active_xid = bamf_window_get_xid(active_win);
4232+ std::vector<Window> const& unity_xids = nux::XInputWindow::NativeHandleList();
4233+
4234+ // If the active window is an unity window, we must get the top-most valid window
4235+ if (std::find(unity_xids.begin(), unity_xids.end(), active_xid) != unity_xids.end())
4236+ {
4237+ // Windows list stack for all the monitors
4238+ GList *windows = bamf_matcher_get_window_stack_for_monitor(matcher, -1);
4239+
4240+ // Reset values, in case we can't find a window ie. empty current desktop
4241+ active_xid = 0;
4242+ active_win = nullptr;
4243+
4244+ for (GList *l = windows; l; l = l->next)
4245+ {
4246+ if (!BAMF_IS_WINDOW(l->data))
4247+ continue;
4248+
4249+ auto win = static_cast<BamfWindow*>(l->data);
4250+ auto view = static_cast<BamfView*>(l->data);
4251+ Window xid = bamf_window_get_xid(win);
4252+
4253+ if (bamf_view_user_visible(view) && bamf_window_get_window_type(win) != BAMF_WINDOW_DOCK &&
4254+ WindowManager::Default()->IsWindowOnCurrentDesktop(xid) &&
4255+ WindowManager::Default()->IsWindowVisible(xid) &&
4256+ std::find(unity_xids.begin(), unity_xids.end(), xid) == unity_xids.end())
4257+ {
4258+ active_win = win;
4259+ active_xid = xid;
4260+ }
4261+ }
4262+
4263+ g_list_free(windows);
4264+ }
4265+
4266+ BamfApplication* active_app = bamf_matcher_get_application_for_window(matcher, active_win);
4267+
4268+ if (BAMF_IS_VIEW(active_app))
4269+ {
4270+ auto active_view = reinterpret_cast<BamfView*>(active_app);
4271+ glib::String view_icon(bamf_view_get_icon(active_view));
4272+ focused_app_icon_ = view_icon.Str();
4273+>>>>>>> MERGE-SOURCE
4274 }
4275 else
4276 {
4277@@ -362,14 +481,28 @@
4278 }
4279
4280 LOG_DEBUG(logger) << "Taking application icon: " << focused_app_icon_;
4281- SetIcon(focused_app_icon_);
4282-
4283+<<<<<<< TREE
4284+ SetIcon(focused_app_icon_);
4285+=======
4286+ SetIcon(focused_app_icon_);
4287+
4288+ visible_ = true;
4289+>>>>>>> MERGE-SOURCE
4290+
4291+<<<<<<< TREE
4292 WindowManager::Default().SaveInputFocus();
4293 FocusWindow();
4294+=======
4295+ window_->ShowWindow(true);
4296+ window_->EnableInputWindow(true, "Hud", true, false);
4297+ FocusInput();
4298+ window_->CaptureMouseDownAnyWhereElse(true);
4299+ view_->CaptureMouseDownAnyWhereElse(true);
4300+ window_->QueueDraw();
4301+>>>>>>> MERGE-SOURCE
4302
4303 view_->ResetToDefault();
4304 need_show_ = true;
4305- visible_ = true;
4306
4307 StartShowHideTimeline();
4308
4309@@ -386,6 +519,7 @@
4310 window_->SetEnterFocusInputArea(view_->default_focus());
4311 }
4312
4313+<<<<<<< TREE
4314 void Controller::FocusWindow()
4315 {
4316 window_->ShowWindow(true);
4317@@ -401,6 +535,17 @@
4318 window_->QueueDraw();
4319 }
4320
4321+=======
4322+void Controller::FocusInput()
4323+{
4324+ if (visible_)
4325+ {
4326+ window_->PushToFront();
4327+ window_->SetInputFocus();
4328+ }
4329+}
4330+
4331+>>>>>>> MERGE-SOURCE
4332 void Controller::HideHud(bool restore)
4333 {
4334 LOG_DEBUG (logger) << "hiding the hud";
4335@@ -420,7 +565,11 @@
4336
4337 restore = true;
4338 if (restore)
4339+<<<<<<< TREE
4340 WindowManager::Default().RestoreInputFocus();
4341+=======
4342+ WindowManager::Default ()->restoreInputFocus ();
4343+>>>>>>> MERGE-SOURCE
4344
4345 hud_service_.CloseQuery();
4346
4347@@ -444,8 +593,25 @@
4348 }
4349 else
4350 {
4351+<<<<<<< TREE
4352 if (visible_)
4353 timeline_animator_.SetStartValue(0.0f).SetFinishValue(1.0f).Start();
4354+=======
4355+ self->window_->SetOpacity(last_opacity - (last_opacity * progress));
4356+ }
4357+
4358+ if (diff > LENGTH)
4359+ {
4360+ self->timeline_id_ = 0;
4361+
4362+ // Make sure the state is right
4363+ self->window_->SetOpacity(self->visible_ ? 1.0f : 0.0f);
4364+ if (!self->visible_)
4365+ {
4366+ self->window_->ShowWindow(false);
4367+ self->view_->ResetToDefault();
4368+ }
4369+>>>>>>> MERGE-SOURCE
4370 else
4371 timeline_animator_.SetStartValue(1.0f).SetFinishValue(0.0f).Start();
4372 }
4373
4374=== modified file 'hud/HudController.h'
4375--- hud/HudController.h 2012-12-13 03:17:19 +0000
4376+++ hud/HudController.h 2013-07-24 18:20:41 +0000
4377@@ -47,8 +47,13 @@
4378 typedef std::function<AbstractView*()> ViewCreator;
4379 typedef std::function<ResizingBaseWindow*()> WindowCreator;
4380
4381+<<<<<<< TREE
4382 Controller(ViewCreator const& create_view = nullptr,
4383 WindowCreator const& create_window = nullptr);
4384+=======
4385+ Controller(std::function<AbstractView*(void)> const& function = []() { return new View; });
4386+ ~Controller();
4387+>>>>>>> MERGE-SOURCE
4388
4389 nux::BaseWindow* window() const;
4390
4391@@ -64,8 +69,13 @@
4392 void ReFocusKeyInput();
4393 bool IsVisible();
4394
4395+<<<<<<< TREE
4396 nux::Geometry GetInputWindowGeometry();
4397
4398+=======
4399+ void FocusInput();
4400+
4401+>>>>>>> MERGE-SOURCE
4402 protected:
4403 // Introspectable
4404 std::string GetName() const;
4405@@ -76,11 +86,17 @@
4406 void SetupWindow();
4407 void SetupHudView();
4408 void RegisterUBusInterests();
4409+<<<<<<< TREE
4410 void SetIcon(std::string const& icon_name);
4411
4412 void FocusWindow();
4413
4414 int GetIdealMonitor();
4415+=======
4416+ void SetIcon(std::string const& icon_name);
4417+
4418+ int GetTargetMonitor();
4419+>>>>>>> MERGE-SOURCE
4420 bool IsLockedToLauncher(int monitor);
4421
4422 nux::Geometry GetIdealWindowGeometry();
4423@@ -110,11 +126,21 @@
4424 bool visible_;
4425 bool need_show_;
4426
4427- AbstractView* view_;
4428+<<<<<<< TREE
4429+ AbstractView* view_;
4430+=======
4431+ guint timeline_id_;
4432+ float last_opacity_;
4433+ gint64 start_time_;
4434+
4435+ AbstractView* view_;
4436+ guint ensure_id_;
4437+>>>>>>> MERGE-SOURCE
4438 std::string focused_app_icon_;
4439 nux::Layout* layout_;
4440 uint monitor_index_;
4441 std::string last_search_;
4442+<<<<<<< TREE
4443
4444 ViewCreator create_view_;
4445 WindowCreator create_window_;
4446@@ -122,9 +148,21 @@
4447 UBusManager ubus;
4448 glib::SignalManager sig_manager_;
4449 nux::animation::AnimateValue<double> timeline_animator_;
4450+=======
4451+
4452+ std::function<AbstractView*(void)> view_function_;
4453+>>>>>>> MERGE-SOURCE
4454 };
4455
4456-} // namespace hud
4457-} // namespace unity
4458-
4459-#endif // UNITYSHELL_HUD_CONTROLLER_H
4460+<<<<<<< TREE
4461+} // namespace hud
4462+} // namespace unity
4463+
4464+#endif // UNITYSHELL_HUD_CONTROLLER_H
4465+=======
4466+} // namespace hud
4467+} // namespace unity
4468+
4469+#endif // UNITYSHELL_HUD_CONTROLLER_H
4470+
4471+>>>>>>> MERGE-SOURCE
4472
4473=== modified file 'hud/HudIcon.cpp'
4474--- hud/HudIcon.cpp 2013-02-13 17:34:32 +0000
4475+++ hud/HudIcon.cpp 2013-07-24 18:20:41 +0000
4476@@ -22,6 +22,14 @@
4477 #include "NuxCore/Logger.h"
4478 #include "config.h"
4479
4480+<<<<<<< TREE
4481+=======
4482+namespace
4483+{
4484+nux::logging::Logger logger("unity.hud.icon");
4485+}
4486+
4487+>>>>>>> MERGE-SOURCE
4488 namespace unity
4489 {
4490 namespace hud
4491@@ -31,7 +39,11 @@
4492 Icon::Icon()
4493 : IconTexture("", 0, true)
4494 {
4495+<<<<<<< TREE
4496 texture_updated.connect([this] (nux::ObjectPtr<nux::BaseTexture> const& texture)
4497+=======
4498+ texture_updated.connect([&] (nux::BaseTexture* texture)
4499+>>>>>>> MERGE-SOURCE
4500 {
4501 icon_texture_source_ = new HudIconTextureSource(texture);
4502 icon_texture_source_->ColorForIcon(_pixbuf_cached);
4503
4504=== modified file 'hud/HudIcon.h'
4505=== modified file 'hud/HudView.cpp'
4506--- hud/HudView.cpp 2013-03-22 12:44:53 +0000
4507+++ hud/HudView.cpp 2013-07-24 18:20:41 +0000
4508@@ -26,6 +26,7 @@
4509 #include <UnityCore/GLibWrapper.h>
4510 #include <UnityCore/Variant.h>
4511 #include <Nux/HLayout.h>
4512+<<<<<<< TREE
4513 #include <Nux/VLayout.h>
4514
4515 #include "unity-shared/Introspectable.h"
4516@@ -33,6 +34,13 @@
4517 #include "unity-shared/UBusMessages.h"
4518 #include "unity-shared/DashStyle.h"
4519 #include "unity-shared/WindowManager.h"
4520+=======
4521+#include <Nux/VLayout.h>
4522+
4523+#include "UBusMessages.h"
4524+#include "DashStyle.h"
4525+#include "WindowManager.h"
4526+>>>>>>> MERGE-SOURCE
4527
4528 namespace unity
4529 {
4530@@ -41,6 +49,12 @@
4531 DECLARE_LOGGER(logger, "unity.hud.view");
4532 namespace
4533 {
4534+<<<<<<< TREE
4535+=======
4536+
4537+nux::logging::Logger logger("unity.hud.view");
4538+
4539+>>>>>>> MERGE-SOURCE
4540 const int grow_anim_length = 90 * 1000;
4541 const int pause_before_grow_length = 32 * 1000;
4542
4543@@ -58,10 +72,16 @@
4544 NUX_IMPLEMENT_OBJECT_TYPE(View);
4545
4546 View::View()
4547+<<<<<<< TREE
4548 : AbstractView()
4549 , button_views_(nullptr)
4550 , visible_(false)
4551 , timeline_animating_(false)
4552+=======
4553+ : AbstractView()
4554+ , button_views_(NULL)
4555+ , timeline_id_(0)
4556+>>>>>>> MERGE-SOURCE
4557 , start_time_(0)
4558 , last_known_height_(0)
4559 , current_height_(0)
4560@@ -126,12 +146,22 @@
4561
4562 View::~View()
4563 {
4564+<<<<<<< TREE
4565 }
4566
4567 void View::SetMonitorOffset(int x, int y)
4568 {
4569 renderer_.x_offset = x;
4570 renderer_.y_offset = y;
4571+=======
4572+ for (auto button = buttons_.begin(); button != buttons_.end(); button++)
4573+ {
4574+ RemoveChild((*button).GetPointer());
4575+ }
4576+
4577+ if (timeline_id_)
4578+ g_source_remove(timeline_id_);
4579+>>>>>>> MERGE-SOURCE
4580 }
4581
4582 void View::ProcessGrowShrink()
4583@@ -162,10 +192,19 @@
4584 current_height_ = new_height;
4585 }
4586
4587- for (auto button : buttons_)
4588- {
4589- button->SetSkipDraw((button->GetAbsoluteY() + button->GetBaseHeight()) > (GetAbsoluteY() + current_height_));
4590- }
4591+<<<<<<< TREE
4592+ for (auto button : buttons_)
4593+ {
4594+ button->SetSkipDraw((button->GetAbsoluteY() + button->GetBaseHeight()) > (GetAbsoluteY() + current_height_));
4595+ }
4596+=======
4597+ for (auto button : buttons_)
4598+ {
4599+ button->SetSkipDraw((button->GetAbsoluteY() + button->GetBaseHeight()) > (GetAbsoluteY() + current_height_));
4600+ }
4601+
4602+ QueueDraw();
4603+>>>>>>> MERGE-SOURCE
4604
4605 if (diff > grow_anim_length + pause_before_grow_length)
4606 {
4607@@ -189,25 +228,76 @@
4608
4609 void View::ResetToDefault()
4610 {
4611+<<<<<<< TREE
4612 SetQueries(Hud::Queries());
4613 current_height_ = content_layout_->GetBaseHeight();;
4614
4615 UpdateLayoutGeometry();
4616
4617+=======
4618+ SetQueries(Hud::Queries());
4619+ current_height_ = content_layout_->GetBaseHeight();
4620+
4621+>>>>>>> MERGE-SOURCE
4622 search_bar_->search_string = "";
4623 search_bar_->search_hint = _("Type your command");
4624 }
4625
4626+<<<<<<< TREE
4627+=======
4628+void View::Relayout()
4629+{
4630+ nux::Geometry const& geo = GetGeometry();
4631+ content_geo_ = GetBestFitGeometry(geo);
4632+ LOG_DEBUG(logger) << "content_geo: " << content_geo_.width << "x" << content_geo_.height;
4633+
4634+ layout_->SetMinimumWidth(content_geo_.width);
4635+ layout_->SetMaximumSize(content_geo_.width, content_geo_.height);
4636+
4637+ QueueDraw();
4638+}
4639+
4640+long View::PostLayoutManagement(long LayoutResult)
4641+{
4642+ Relayout();
4643+ if (GetGeometry().height != last_known_height_)
4644+ {
4645+ // Start the timeline of drawing the dash resize
4646+ if (timeline_need_more_draw_)
4647+ {
4648+ // already started, just reset the last known height
4649+ last_known_height_ = current_height_;
4650+ }
4651+
4652+ timeline_need_more_draw_ = true;
4653+ start_time_ = g_get_monotonic_time();
4654+ QueueDraw();
4655+ }
4656+
4657+ return LayoutResult;
4658+}
4659+
4660+
4661+>>>>>>> MERGE-SOURCE
4662 nux::View* View::default_focus() const
4663 {
4664 return search_bar_->text_entry();
4665 }
4666
4667-std::list<HudButton::Ptr> const& View::buttons() const
4668-{
4669- return buttons_;
4670-}
4671-
4672+<<<<<<< TREE
4673+std::list<HudButton::Ptr> const& View::buttons() const
4674+{
4675+ return buttons_;
4676+}
4677+
4678+=======
4679+std::list<HudButton::Ptr> const& View::buttons() const
4680+{
4681+ return buttons_;
4682+}
4683+
4684+
4685+>>>>>>> MERGE-SOURCE
4686 void View::SetQueries(Hud::Queries queries)
4687 {
4688 // early exit, if the user is key navigating on the hud, we don't want to set new
4689@@ -232,10 +322,16 @@
4690
4691 HudButton::Ptr button(new HudButton());
4692 buttons_.push_front(button);
4693+<<<<<<< TREE
4694 button->SetInputEventSensitivity(false);
4695 button->SetMinimumWidth(content_width);
4696 button->SetMaximumWidth(content_width);
4697 button->SetQuery(query);
4698+=======
4699+ button->SetMinimumWidth(content_width);
4700+ button->SetMaximumWidth(content_width);
4701+ button->SetQuery(query);
4702+>>>>>>> MERGE-SOURCE
4703
4704 button_views_->AddView(button.GetPointer(), 0, nux::MINOR_POSITION_START);
4705
4706@@ -243,6 +339,7 @@
4707 query_activated.emit(dynamic_cast<HudButton*>(view)->GetQuery());
4708 });
4709
4710+<<<<<<< TREE
4711 button->mouse_move.connect([this](int x, int y, int dx, int dy, unsigned long mouse_button, unsigned long special_key) {
4712 if (keyboard_stole_focus_)
4713 {
4714@@ -260,10 +357,17 @@
4715 });
4716
4717 button->key_nav_focus_activate.connect([this](nux::Area* area) {
4718+=======
4719+ button->key_nav_focus_activate.connect([&](nux::Area* area) {
4720+>>>>>>> MERGE-SOURCE
4721 query_activated.emit(dynamic_cast<HudButton*>(area)->GetQuery());
4722 });
4723
4724+<<<<<<< TREE
4725 button->key_nav_focus_change.connect([this](nux::Area* area, bool recieving, nux::KeyNavDirection direction){
4726+=======
4727+ button->key_nav_focus_change.connect([&](nux::Area* area, bool recieving, KeyNavDirection direction){
4728+>>>>>>> MERGE-SOURCE
4729 if (recieving)
4730 query_selected.emit(dynamic_cast<HudButton*>(area)->GetQuery());
4731 });
4732@@ -276,7 +380,12 @@
4733 buttons_.front()->is_rounded = true;
4734 buttons_.back()->fake_focused = true;
4735 selected_button_ = 1;
4736- }
4737+<<<<<<< TREE
4738+ }
4739+=======
4740+ }
4741+
4742+>>>>>>> MERGE-SOURCE
4743
4744 QueueRelayout();
4745 QueueDraw();
4746@@ -422,10 +531,19 @@
4747 {
4748 LOG_DEBUG(logger) << "got search change";
4749 search_changed.emit(search_string);
4750+<<<<<<< TREE
4751
4752 for(auto button : buttons_)
4753 button->fake_focused = false;
4754
4755+=======
4756+
4757+ for (auto button : buttons_)
4758+ {
4759+ button->fake_focused = false;
4760+ }
4761+
4762+>>>>>>> MERGE-SOURCE
4763 if (!buttons_.empty())
4764 buttons_.back()->fake_focused = true;
4765 }
4766@@ -497,6 +615,7 @@
4767
4768 gfx_context.PopClippingRectangle();
4769
4770+<<<<<<< TREE
4771 renderer_.DrawInnerCleanup(gfx_context, draw_content_geo, GetAbsoluteGeometry(), GetGeometry());
4772 }
4773
4774@@ -523,6 +642,13 @@
4775 for (auto it = buttons_.rbegin(); it != buttons_.rend(); ++it)
4776 {
4777 if ((*it)->fake_focused)
4778+=======
4779+ renderer_.DrawInnerCleanup(gfx_context, draw_content_geo, absolute_window_geometry_, window_geometry_);
4780+
4781+ if (timeline_need_more_draw_ && !timeline_id_)
4782+ {
4783+ timeline_id_ = g_idle_add([] (gpointer data) -> gboolean
4784+>>>>>>> MERGE-SOURCE
4785 {
4786 query_selected.emit((*it)->GetQuery());
4787 selected_button_ = button_index;
4788@@ -559,7 +685,7 @@
4789 {
4790 unsigned num_buttons = buttons_.size();
4791 variant::BuilderWrapper(builder)
4792- .add(GetGeometry())
4793+ .add(content_geo_)
4794 .add("selected_button", selected_button_)
4795 .add("overlay_window_buttons_shown", overlay_window_buttons_->IsVisible())
4796 .add("num_buttons", num_buttons);
4797@@ -596,11 +722,19 @@
4798 return false;
4799 }
4800
4801+<<<<<<< TREE
4802 void View::SearchFinished()
4803 {
4804 search_bar_->SetSearchFinished();
4805 }
4806
4807+=======
4808+void View::SearchFinished()
4809+{
4810+ search_bar_->SearchFinished();
4811+}
4812+
4813+>>>>>>> MERGE-SOURCE
4814 void View::OnSearchbarActivated()
4815 {
4816 // The "Enter" key has been received and the text entry has the key focus.
4817@@ -655,6 +789,7 @@
4818 direction = nux::KEY_NAV_ENTER;
4819 break;
4820 default:
4821+<<<<<<< TREE
4822 auto const& close_key = WindowManager::Default().close_window_key();
4823
4824 if (close_key.first == special_keys_state && close_key.second == x11_key_code)
4825@@ -663,6 +798,16 @@
4826 return nullptr;
4827 }
4828
4829+=======
4830+ auto const& close_key = WindowManager::Default()->close_window_key();
4831+
4832+ if (close_key.first == special_keys_state && close_key.second == x11_key_code)
4833+ {
4834+ ubus.SendMessage(UBUS_HUD_CLOSE_REQUEST);
4835+ return nullptr;
4836+ }
4837+
4838+>>>>>>> MERGE-SOURCE
4839 direction = nux::KEY_NAV_NONE;
4840 break;
4841 }
4842
4843=== modified file 'hud/HudView.h'
4844--- hud/HudView.h 2013-03-19 17:52:08 +0000
4845+++ hud/HudView.h 2013-07-24 18:20:41 +0000
4846@@ -23,15 +23,26 @@
4847
4848 #include <Nux/Nux.h>
4849 #include <Nux/VLayout.h>
4850+<<<<<<< TREE
4851 #include <UnityCore/GLibSource.h>
4852
4853+=======
4854+
4855+#include "HudAbstractView.h"
4856+>>>>>>> MERGE-SOURCE
4857 #include "HudIcon.h"
4858 #include "HudButton.h"
4859+<<<<<<< TREE
4860 #include "HudAbstractView.h"
4861 #include "unity-shared/OverlayRenderer.h"
4862 #include "unity-shared/OverlayWindowButtons.h"
4863 #include "unity-shared/SearchBar.h"
4864 #include "unity-shared/UBusWrapper.h"
4865+=======
4866+#include "SearchBar.h"
4867+#include "OverlayRenderer.h"
4868+#include "UBusWrapper.h"
4869+>>>>>>> MERGE-SOURCE
4870
4871 namespace unity
4872 {
4873@@ -40,8 +51,13 @@
4874
4875 class View : public AbstractView
4876 {
4877+<<<<<<< TREE
4878 NUX_DECLARE_OBJECT_TYPE(View, AbstractView);
4879 public:
4880+=======
4881+ NUX_DECLARE_OBJECT_TYPE(HudView, AbstractView);
4882+public:
4883+>>>>>>> MERGE-SOURCE
4884 typedef nux::ObjectPtr<View> Ptr;
4885
4886 View();
4887@@ -60,7 +76,11 @@
4888 void AboutToShow();
4889 void AboutToHide();
4890
4891+<<<<<<< TREE
4892 void SetMonitorOffset(int x, int y);
4893+=======
4894+ void SetWindowGeometry(nux::Geometry const& absolute_geo, nux::Geometry const& geo);
4895+>>>>>>> MERGE-SOURCE
4896
4897 nux::Geometry GetContentGeometry();
4898
4899@@ -71,7 +91,12 @@
4900
4901 void SetupViews();
4902 void OnSearchChanged(std::string const& search_string);
4903-
4904+<<<<<<< TREE
4905+
4906+=======
4907+ virtual long PostLayoutManagement(long LayoutResult);
4908+
4909+>>>>>>> MERGE-SOURCE
4910 private:
4911 void OnMouseButtonDown(int x, int y, unsigned long button, unsigned long key);
4912 void OnKeyDown (unsigned long event_type, unsigned long event_keysym,
4913@@ -127,8 +152,14 @@
4914 nux::ObjectPtr<OverlayWindowButtons> overlay_window_buttons_;
4915 };
4916
4917+} // namespace hud
4918+} // namespace unity
4919
4920+<<<<<<< TREE
4921 } // namespace hud
4922 } // namespace unity
4923+=======
4924+#endif // UNITYSHELL_HUD_VIEW_H
4925+>>>>>>> MERGE-SOURCE
4926
4927 #endif // UNITYSHELL_HUD_VIEW_H
4928
4929=== modified file 'launcher/AbstractLauncherIcon.h'
4930--- launcher/AbstractLauncherIcon.h 2013-07-01 21:20:51 +0000
4931+++ launcher/AbstractLauncherIcon.h 2013-07-24 18:20:41 +0000
4932@@ -136,9 +136,13 @@
4933 virtual ~AbstractLauncherIcon() {}
4934
4935 nux::Property<std::string> tooltip_text;
4936+<<<<<<< TREE
4937 nux::Property<bool> tooltip_enabled;
4938 nux::Property<Position> position;
4939 nux::Property<bool> removed;
4940+=======
4941+ nux::Property<bool> tooltip_enabled;
4942+>>>>>>> MERGE-SOURCE
4943
4944 virtual void ShowTooltip() = 0;
4945 virtual void HideTooltip() = 0;
4946@@ -149,8 +153,12 @@
4947
4948 virtual void SetSortPriority(int priority) = 0;
4949
4950+<<<<<<< TREE
4951 virtual bool OpenQuicklist(bool select_first_item = false, int monitor = -1) = 0;
4952 virtual void CloseQuicklist() = 0;
4953+=======
4954+ virtual bool OpenQuicklist(bool select_first_item = false, int monitor = -1) = 0;
4955+>>>>>>> MERGE-SOURCE
4956
4957 virtual void SetCenter(nux::Point3 const& center, int monitor, nux::Geometry const& parent_geo) = 0;
4958
4959@@ -197,6 +205,7 @@
4960
4961 virtual std::string RemoteUri() = 0;
4962
4963+<<<<<<< TREE
4964 virtual MenuItemsVector Menus() = 0;
4965
4966 virtual nux::DndAction QueryAcceptDrop(DndData const& dnd_data) = 0;
4967@@ -204,6 +213,15 @@
4968 virtual bool ShouldHighlightOnDrag(DndData const& dnd_data) = 0;
4969
4970 virtual void AcceptDrop(DndData const& dnd_data) = 0;
4971+=======
4972+ virtual std::list<DbusmenuMenuitem*> Menus() = 0;
4973+
4974+ virtual nux::DndAction QueryAcceptDrop(DndData const& dnd_data) = 0;
4975+
4976+ virtual bool ShouldHighlightOnDrag(DndData const& dnd_data) = 0;
4977+
4978+ virtual void AcceptDrop(DndData const& dnd_data) = 0;
4979+>>>>>>> MERGE-SOURCE
4980
4981 virtual void SendDndEnter() = 0;
4982
4983@@ -228,6 +246,7 @@
4984
4985 virtual void UnStick() = 0;
4986
4987+<<<<<<< TREE
4988 static int DefaultPriority(IconType type)
4989 {
4990 return static_cast<int>(type) * 1000;
4991@@ -238,15 +257,27 @@
4992 sigc::signal<void, int, int, unsigned long> mouse_down;
4993 sigc::signal<void, int, int, unsigned long> mouse_up;
4994 sigc::signal<void, int, int, unsigned long> mouse_click;
4995+=======
4996+ sigc::signal<void, int, unsigned long, int> mouse_down;
4997+ sigc::signal<void, int, unsigned long, int> mouse_up;
4998+ sigc::signal<void, int, unsigned long, int> mouse_click;
4999+>>>>>>> MERGE-SOURCE
5000 sigc::signal<void, int> mouse_enter;
The diff has been truncated for viewing.