Merge lp:~unity-team/unity/trusty-1374785 into lp:unity
- trusty-1374785
- Merge into trunk
Status: | Superseded |
---|---|
Proposed branch: | lp:~unity-team/unity/trusty-1374785 |
Merge into: | lp:unity |
Diff against target: |
3638 lines (+2854/-62) (has conflicts) 24 files modified
AUTHORS (+7/-0) CMakeLists.txt (+5/-0) ChangeLog (+2055/-0) UnityCore/GnomeSessionManager.cpp (+16/-6) dash/FilterBasicButton.cpp (+20/-0) dash/previews/ActionButton.cpp (+16/-0) dash/previews/Track.cpp (+16/-6) debian/changelog (+206/-26) debian/control (+1/-1) hud/HudButton.cpp (+22/-9) launcher/ApplicationLauncherIcon.cpp (+16/-0) launcher/SwitcherView.cpp (+29/-0) lockscreen/LockScreenController.cpp (+17/-0) lockscreen/LockScreenShield.cpp (+39/-0) lockscreen/LockScreenShield.h (+6/-1) lockscreen/UserPromptView.cpp (+28/-0) lockscreen/UserPromptView.h (+8/-1) po/unity.pot (+70/-3) services/panel-service.c (+27/-0) unity-shared/SearchBar.cpp (+7/-0) unity-shared/TextInput.cpp (+196/-0) unity-shared/TextInput.h (+21/-0) unity-shared/TextureCache.cpp (+22/-9) unity-shared/UnitySettings.cpp (+4/-0) Text conflict in AUTHORS Text conflict in CMakeLists.txt Text conflict in ChangeLog Text conflict in UnityCore/GnomeSessionManager.cpp Text conflict in dash/FilterBasicButton.cpp Text conflict in dash/previews/ActionButton.cpp Text conflict in dash/previews/Track.cpp Text conflict in debian/changelog Text conflict in hud/HudButton.cpp Text conflict in launcher/ApplicationLauncherIcon.cpp Text conflict in launcher/SwitcherView.cpp Text conflict in lockscreen/LockScreenController.cpp Text conflict in lockscreen/LockScreenShield.cpp Text conflict in lockscreen/LockScreenShield.h Text conflict in lockscreen/UserPromptView.cpp Text conflict in lockscreen/UserPromptView.h Text conflict in services/panel-service.c Text conflict in unity-shared/SearchBar.cpp Text conflict in unity-shared/TextInput.cpp Text conflict in unity-shared/TextInput.h Text conflict in unity-shared/TextureCache.cpp Text conflict in unity-shared/UnitySettings.cpp |
To merge this branch: | bzr merge lp:~unity-team/unity/trusty-1374785 |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Unity Team | Pending | ||
Review via email:
|
This proposal has been superseded by a proposal from 2014-12-09.
Commit message
make sure GetScreenGeometry returns the correct value
Description of the change
Make sure GetScreenGeometry returns the correct value (fixes #1374785).
This fix is cherry-picked from trunk for SRUing into Ubuntu 14.04 LTS.
Unmerged revisions
- 3806. By Stephen M. Webb
-
Make sure GetScreenGeometry returns the correct value (lp: #1374785).
- 3805. By Marco Trevisan (Treviño)
-
Preparing for unity 7.2.4
- 3804. By PS Jenkins bot
-
Releasing 7.2.3+14.
04.20140826- 0ubuntu1 - 3803. By Christopher Townsend
-
Release Unity 7.2.3.
- 3802. By Stephen M. Webb
-
Prepare fixes for upstream micro-release 7.2.3. Fixes: 1283415, 1292391, 1306211, 1312107, 1320051, 1320071, 1324114, 1339629, 1340171, 1340394, 1340477, 1340992, 1340996, 1342208, 1342731, 1347735
- 3801. By Marco Trevisan (Treviño)
-
* SECURITY UPDATE: more screen locking fixes (LP: #1349128)
- debian/patches/ lp1349128. patch: flush after ungrabbing the keyboard
in unity-shared/PluginAdapter. cpp, add GrabScreen() function that
retries to lockscreen/LockScreenContr oller.cpp,
lockscreen/LockScreenShiel d.cpp, lockscreen/ LockScreenShiel d.h. - 3800. By PS Jenkins bot
-
Releasing 7.2.2+14.
04.20140714- 0ubuntu1 - 3799. By Christopher Townsend
-
Release Unity 7.2.2.
Approved by: Stephen M. Webb - 3798. By Christopher Townsend
-
Prepare for upstream micro-release 7.2.2 that includes fixes for the following bugs:
Bug #607796: Launcher, Window management - Dragging and holding a selection over an entry in the Launcher should spread out windows belonging to that application
Bug #727902: Launcher icon highlighting should not switch off as soon the cursor moves after the app spread appears.
Bug #741869: Unity/compiz intercepts Super and Alt keypresses from grabbed windows like VMs.
Bug #754580: Cannot move tabs between multiple Firefox or Chromium windows while using Unity unless windows are both unmaximized, unminimized, and visible.
Bug #839728: Launcher - dragging a item on top of a launcher tile that is a valid drop receptacle in the Launcher should cause that launcher tile to glow
Bug #924840: Keyboard shortcuts overlay text too long
Bug #1281058: [UIFe] The system shutdowns when multiple accounts are open
Bug #1283775: Launcher: icon pips are not always updated properly
Bug #1304882: [Regression] Launcher doesn't reappear fully after hiding from DND
Bug #1305586: Lock screen is unusable when some windows have a keyboard/mouse grab
Bug #1307738: Lockscreen caps lock icon drawn under text entry, should be a white icon.
Bug #1308288: Lockscreen warning icon has no tooltip
Bug #1308323: Shutdown/reboot/ login/logout dialogs not scaled after toggling UI scale Edit
Bug #1308911: Clipboard contents are accessible within lockscreen
Bug #1309739: Unity launcher icon edge illumination is offset
Bug #1310200: Indicators disappear at the panel (clementine, dropbox, skype etc)
Bug #1313280: Fullscreen window set to "Always on Top" in single-monitor will hide the lockscreen
Bug #1316005: Panel shadow appears over full screen applications w/ locally integrated menus enabled
Bug #1317348: Switcher (Alt-Tab) does not respect monitor-defined scaling factor
Bug #1317356: Shortcut hint does not respect monitor scaling factor
Bug #1317869: Keyboard shortcuts overlay does not show up when workspaces are enabled at 1366x768
Bug #1320438: Unity launcher auto hide fails on screen unlock using "Super+L"
Bug #1321043: [regression] lock screen bypass with touchpad Fixes: 607796, 727902, 741869, 754580, 839728, 924840, 1281058, 1283775, 1304882, 1305586, 1307738, 1308288, 1308323, 1308911, 1309739, 1310200, 1313280, 1316005, 1317348, 1317356, 1317869, 1320438, 1321043
Approved by: Marco Trevisan (Treviño) - 3797. By Christopher Townsend
-
Modify debian/changleog to match what's in distro since a branch to fix a bug was not actually included in the Trusty SRU.
Preview Diff
1 | === modified file 'AUTHORS' | |||
2 | --- AUTHORS 2014-06-18 14:37:16 +0000 | |||
3 | +++ AUTHORS 2014-12-09 18:52:51 +0000 | |||
4 | @@ -47,6 +47,11 @@ | |||
5 | 47 | Christopher Townsend <christopher.townsend@canonical.com> | 47 | Christopher Townsend <christopher.townsend@canonical.com> |
6 | 48 | Chris Townsend <christopher.townsend@canonical.com> | 48 | Chris Townsend <christopher.townsend@canonical.com> |
7 | 49 | Chris Townsend <Christopher.Townsend@canonical.com> | 49 | Chris Townsend <Christopher.Townsend@canonical.com> |
8 | 50 | <<<<<<< TREE | ||
9 | 51 | ======= | ||
10 | 52 | Chris Townsend <christopher.townsend@canonical.com>, Andrea Azzarone <azzaronea@gmail.com> | ||
11 | 53 | Chris Townsend <christopher.townsend@canonical.com>, Stephen M. Webb <stephen.webb@canonical.com> | ||
12 | 54 | >>>>>>> MERGE-SOURCE | ||
13 | 50 | CI bot <ps-jenkins@lists.canonical.com> | 55 | CI bot <ps-jenkins@lists.canonical.com> |
14 | 51 | Daniel d'Andrada <daniel.dandrada@canonical.com> | 56 | Daniel d'Andrada <daniel.dandrada@canonical.com> |
15 | 52 | Daniel van Vugt <vanvugt@gmail.com> | 57 | Daniel van Vugt <vanvugt@gmail.com> |
16 | @@ -108,6 +113,7 @@ | |||
17 | 108 | Marco Mariani <dfly720@gmail.com>, Thomi Richards <thomi.richards@canonical.com> | 113 | Marco Mariani <dfly720@gmail.com>, Thomi Richards <thomi.richards@canonical.com> |
18 | 109 | Marco Trevisan | 114 | Marco Trevisan |
19 | 110 | Marco Trevisan <mail@3v1n0.net> | 115 | Marco Trevisan <mail@3v1n0.net> |
20 | 116 | Marco Trevisan <mail@3v1n0.net>, Marc Deslauriers <marc.deslauriers@ubuntu.com> | ||
21 | 111 | Marco Trevisan <marco.trevisan@canonical.com> | 117 | Marco Trevisan <marco.trevisan@canonical.com> |
22 | 112 | Marco Trevisan (Treviño) <mail@3v1n0.net> | 118 | Marco Trevisan (Treviño) <mail@3v1n0.net> |
23 | 113 | Marco Trevisan (Treviño) <mail@3v1n0.net>, 3v1n0 <mail@3v1n0.net> | 119 | Marco Trevisan (Treviño) <mail@3v1n0.net>, 3v1n0 <mail@3v1n0.net> |
24 | @@ -184,6 +190,7 @@ | |||
25 | 184 | smspillaz <sam.spilsbury@canonical.com>, Sam Spilsbury <sam.spilsbury@canonical.com> | 190 | smspillaz <sam.spilsbury@canonical.com>, Sam Spilsbury <sam.spilsbury@canonical.com> |
26 | 185 | Stephen M. Webb <stephen.webb@canonical.com> | 191 | Stephen M. Webb <stephen.webb@canonical.com> |
27 | 186 | Stephen M. Webb <stephen.webb@canonical.com>, Andrew McCarthy <me@andrewmccarthy.ie> | 192 | Stephen M. Webb <stephen.webb@canonical.com>, Andrew McCarthy <me@andrewmccarthy.ie> |
28 | 193 | Stephen M. Webb <stephen.webb@canonical.com>, Marco Trevisan (Treviño) <mail@3v1n0.net>, Andrea Azzarone <azzaronea@gmail.com> | ||
29 | 187 | Steve Langasek <steve.langasek@canonical.com> | 194 | Steve Langasek <steve.langasek@canonical.com> |
30 | 188 | Sven Baars <svenb.linux@gmail.com> | 195 | Sven Baars <svenb.linux@gmail.com> |
31 | 189 | Tarmac | 196 | Tarmac |
32 | 190 | 197 | ||
33 | === modified file 'CMakeLists.txt' | |||
34 | --- CMakeLists.txt 2014-08-11 12:30:55 +0000 | |||
35 | +++ CMakeLists.txt 2014-12-09 18:52:51 +0000 | |||
36 | @@ -9,8 +9,13 @@ | |||
37 | 9 | # | 9 | # |
38 | 10 | set (PROJECT_NAME "unity") | 10 | set (PROJECT_NAME "unity") |
39 | 11 | set (UNITY_MAJOR 7) | 11 | set (UNITY_MAJOR 7) |
40 | 12 | <<<<<<< TREE | ||
41 | 12 | set (UNITY_MINOR 3) | 13 | set (UNITY_MINOR 3) |
42 | 13 | set (UNITY_MICRO 1) | 14 | set (UNITY_MICRO 1) |
43 | 15 | ======= | ||
44 | 16 | set (UNITY_MINOR 2) | ||
45 | 17 | set (UNITY_MICRO 4) | ||
46 | 18 | >>>>>>> MERGE-SOURCE | ||
47 | 14 | set (UNITY_VERSION "${UNITY_MAJOR}.${UNITY_MINOR}.${UNITY_MICRO}") | 19 | set (UNITY_VERSION "${UNITY_MAJOR}.${UNITY_MINOR}.${UNITY_MICRO}") |
48 | 15 | set (UNITY_API_VERSION "6.0") | 20 | set (UNITY_API_VERSION "6.0") |
49 | 16 | set (UNITY_COMPONENTS_VERSION "6") | 21 | set (UNITY_COMPONENTS_VERSION "6") |
50 | 17 | 22 | ||
51 | === modified file 'ChangeLog' | |||
52 | --- ChangeLog 2014-06-18 14:37:16 +0000 | |||
53 | +++ ChangeLog 2014-12-09 18:52:51 +0000 | |||
54 | @@ -1,3 +1,4 @@ | |||
55 | 1 | <<<<<<< TREE | ||
56 | 1 | 2014-06-18 Stephen M. Webb <stephen.webb@canonical.com> | 2 | 2014-06-18 Stephen M. Webb <stephen.webb@canonical.com> |
57 | 2 | 3 | ||
58 | 3 | bump upstream to 7.3.0 | 4 | bump upstream to 7.3.0 |
59 | @@ -1648,6 +1649,2060 @@ | |||
60 | 1648 | Since alpha windows might have custom shapes, it's safer not to shadow-decorate them | 1649 | Since alpha windows might have custom shapes, it's safer not to shadow-decorate them |
61 | 1649 | unless they don't provide, for sure, a full decoration. | 1650 | unless they don't provide, for sure, a full decoration. |
62 | 1650 | 1651 | ||
63 | 1652 | ======= | ||
64 | 1653 | 2014-08-26 CI bot <ps-jenkins@lists.canonical.com> | ||
65 | 1654 | |||
66 | 1655 | Releasing 7.2.3+14.04.20140826-0ubuntu1 | ||
67 | 1656 | |||
68 | 1657 | 2014-08-26 Chris Townsend <christopher.townsend@canonical.com> | ||
69 | 1658 | |||
70 | 1659 | Release Unity 7.2.3. | ||
71 | 1660 | |||
72 | 1661 | 2014-08-26 Stephen M. Webb <stephen.webb@canonical.com> | ||
73 | 1662 | |||
74 | 1663 | marked new upstream release as an UNRELEASED package | ||
75 | 1664 | |||
76 | 1665 | 2014-08-25 Stephen M. Webb <stephen.webb@canonical.com> | ||
77 | 1666 | |||
78 | 1667 | removed downstream Ubuntu patches because upstream changes are now included | ||
79 | 1668 | |||
80 | 1669 | 2014-08-25 Stephen M. Webb <stephen.webb@canonical.com> | ||
81 | 1670 | |||
82 | 1671 | merged in security updates from Ubuntu | ||
83 | 1672 | |||
84 | 1673 | 2014-07-24 Chris Townsend <christopher.townsend@canonical.com> | ||
85 | 1674 | |||
86 | 1675 | Bump version to 7.2.3. | ||
87 | 1676 | |||
88 | 1677 | 2014-08-26 Stephen M. Webb <stephen.webb@canonical.com> | ||
89 | 1678 | |||
90 | 1679 | Prepare fixes for upstream micro-release 7.2.3. Fixes: 1283415, 1292391, 1306211, 1312107, 1320051, 1320071, 1324114, 1339629, 1340171, 1340394, 1340477, 1340992, 1340996, 1342208, 1342731, 1347735 | ||
91 | 1680 | |||
92 | 1681 | 2014-08-06 Marco Trevisan (Treviño) <mail@3v1n0.net> | ||
93 | 1682 | |||
94 | 1683 | debian/patches: removing security patch, now included in branch | ||
95 | 1684 | |||
96 | 1685 | 2014-08-06 Marco Trevisan (Treviño) <mail@3v1n0.net> | ||
97 | 1686 | |||
98 | 1687 | Merging with trunk | ||
99 | 1688 | |||
100 | 1689 | 2014-08-06 Marco Trevisan (Treviño) <mail@3v1n0.net> | ||
101 | 1690 | |||
102 | 1691 | debian/changelog: add new revisions | ||
103 | 1692 | |||
104 | 1693 | 2014-08-06 Marco Trevisan (Treviño) <mail@3v1n0.net> | ||
105 | 1694 | |||
106 | 1695 | SwitcherView, PanelService: correctly handle horizontal and vertical scroll events | ||
107 | 1696 | |||
108 | 1697 | 2014-08-06 Andrea Azzarone <azzaronea@gmail.com> | ||
109 | 1698 | |||
110 | 1699 | TextInput: use GdkKeymap to check the caps-lock status | ||
111 | 1700 | |||
112 | 1701 | 2014-08-06 Marco Trevisan (Treviño) <mail@3v1n0.net> | ||
113 | 1702 | |||
114 | 1703 | PlacesOverlayVScrollBar: redirect the mouse wheel scroll events coming from the thumb to the scrollview | ||
115 | 1704 | |||
116 | 1705 | This will make the scrollview to handle then and perform the same scrolling action it would do otherwise. | ||
117 | 1706 | |||
118 | 1707 | 2014-08-06 Marco Trevisan (Treviño) <mail@3v1n0.net> | ||
119 | 1708 | |||
120 | 1709 | LockScreenShield: Add GrabScreen function and retry to make sure we really get grab | ||
121 | 1710 | |||
122 | 1711 | It might happen that the grab is not possible because the PluginAdapter::IsScreenGrabbed | ||
123 | 1712 | request has still not being fully processed, and thus nux is not able to grab the | ||
124 | 1713 | pointer/keyboard. By doing this we instead try to grab the screen, and if this is | ||
125 | 1714 | not happening, we wait a little until we don't get the ungrab event. | ||
126 | 1715 | |||
127 | 1716 | In this way, if we eventually get the grab, all will work as expected. | ||
128 | 1717 | Otherwise, we cancel the lock request (very unlikely to happen). | ||
129 | 1718 | |||
130 | 1719 | 2014-08-06 Marco Trevisan (Treviño) <mail@3v1n0.net> | ||
131 | 1720 | |||
132 | 1721 | PlacesOverlayVScrollBar and VScrollBarOverlayWindow: add support for scaling | ||
133 | 1722 | |||
134 | 1723 | Add a new ScrollView class to create ScrollViews with an OverlayScrollbar and with scaling support. | ||
135 | 1724 | Using them in dash Scopes and Previews. | ||
136 | 1725 | |||
137 | 1726 | 2014-07-24 Chris Townsend <christopher.townsend@canonical.com> | ||
138 | 1727 | |||
139 | 1728 | Added changelog entry for lp:1340477. | ||
140 | 1729 | |||
141 | 1730 | 2014-07-24 Marco Trevisan (Treviño) <mail@3v1n0.net> | ||
142 | 1731 | |||
143 | 1732 | Hud: scale to match current DPI settings for monitor | ||
144 | 1733 | |||
145 | 1734 | 2014-07-24 Chris Townsend <christopher.townsend@canonical.com> | ||
146 | 1735 | |||
147 | 1736 | Added changelog entries for lp:1283415 and lp:1340394. | ||
148 | 1737 | |||
149 | 1738 | 2014-07-24 Marco Trevisan (Treviño) <mail@3v1n0.net> | ||
150 | 1739 | |||
151 | 1740 | OverlayRendering: correctly scale the overlays borders and edges to match settings | ||
152 | 1741 | |||
153 | 1742 | DashStyle has been modified to return smart pointers of textures that are loaded | ||
154 | 1743 | depending on the scale level. The cache will make sure that we don't duplicate | ||
155 | 1744 | the textures and that they get removed when not needed anymore. | ||
156 | 1745 | |||
157 | 1746 | Also thanks to this the SearchBarSpinner textures (and the other spinners as well) | ||
158 | 1747 | uses the SVGs scaled at the proper size (I desgined a new SVG for the magnifier, | ||
159 | 1748 | as we only had a PNG). | ||
160 | 1749 | |||
161 | 1750 | 2014-07-24 Chris Townsend <christopher.townsend@canonical.com> | ||
162 | 1751 | |||
163 | 1752 | Added changelog entry for lp:1340171. | ||
164 | 1753 | |||
165 | 1754 | 2014-07-24 Marco Trevisan (Treviño) <mail@3v1n0.net> | ||
166 | 1755 | |||
167 | 1756 | FilterWidgets: add support for scaling. | ||
168 | 1757 | |||
169 | 1758 | 2014-07-24 Chris Townsend <christopher.townsend@canonical.com> | ||
170 | 1759 | |||
171 | 1760 | Added changelog entries for lp:1339629. | ||
172 | 1761 | |||
173 | 1762 | 2014-07-24 Marco Trevisan (Treviño) <mail@3v1n0.net> | ||
174 | 1763 | |||
175 | 1764 | Previews: scale the dash preview contents to match current monitor scaling | ||
176 | 1765 | |||
177 | 1766 | Improved also the scaling of search-bar, spinner, categories and many other components. | ||
178 | 1767 | |||
179 | 1768 | 2014-07-23 Chris Townsend <christopher.townsend@canonical.com> | ||
180 | 1769 | |||
181 | 1770 | Added changelog entries for lp:1324114. | ||
182 | 1771 | |||
183 | 1772 | 2014-07-23 Stephen M. Webb <stephen.webb@canonical.com> | ||
184 | 1773 | |||
185 | 1774 | Reduce the scope of the kill command when restarting Compiz. | ||
186 | 1775 | |||
187 | 1776 | 2014-07-23 Chris Townsend <christopher.townsend@canonical.com> | ||
188 | 1777 | |||
189 | 1778 | Add changelog entries for lp:1306211, lp:1320051, and lp:1320071. | ||
190 | 1779 | |||
191 | 1780 | 2014-07-23 Marco Trevisan (Treviño) <mail@3v1n0.net> | ||
192 | 1781 | |||
193 | 1782 | LockScreenAcceleratorController: do ther configured action on power special keys press | ||
194 | 1783 | |||
195 | 1784 | We finally can suspend, shutdown, hibernate or start the screensaver when the screen is locked, using | ||
196 | 1785 | the Suspend, Sleep, Hibernate and PowerOff hardware keys. | ||
197 | 1786 | |||
198 | 1787 | Also the Shutdown dialog doesn't allow now to lock the session if it is not allowed by settings. | ||
199 | 1788 | |||
200 | 1789 | 2014-07-23 Chris Townsend <christopher.townsend@canonical.com> | ||
201 | 1790 | |||
202 | 1791 | Add changelog entry for lp:1292391. | ||
203 | 1792 | |||
204 | 1793 | 2014-07-23 Andrea Azzarone <azzaronea@gmail.com> | ||
205 | 1794 | |||
206 | 1795 | Manually emit nux::Area::geometry_changed beucase nux can fail to emit it. | ||
207 | 1796 | |||
208 | 1797 | 2014-07-23 Chris Townsend <christopher.townsend@canonical.com> | ||
209 | 1798 | |||
210 | 1799 | Add changelog entry for lp:1312107. | ||
211 | 1800 | |||
212 | 1801 | 2014-07-23 Andrea Azzarone <andrea.azzarone@canonical.com> | ||
213 | 1802 | |||
214 | 1803 | Remove cross fade effect during lock/unlocking. A simple fading works just fine. | ||
215 | 1804 | |||
216 | 1805 | 2014-08-05 Marco Trevisan <mail@3v1n0.net> | ||
217 | 1806 | |||
218 | 1807 | * SECURITY UPDATE: more screen locking fixes (LP: #1349128) | ||
219 | 1808 | - debian/patches/lp1349128.patch: flush after ungrabbing the keyboard | ||
220 | 1809 | in unity-shared/PluginAdapter.cpp, add GrabScreen() function that | ||
221 | 1810 | retries to lockscreen/LockScreenController.cpp, | ||
222 | 1811 | lockscreen/LockScreenShield.cpp, lockscreen/LockScreenShield.h. | ||
223 | 1812 | |||
224 | 1813 | 2014-07-14 CI bot <ps-jenkins@lists.canonical.com> | ||
225 | 1814 | |||
226 | 1815 | Releasing 7.2.2+14.04.20140714-0ubuntu1 | ||
227 | 1816 | |||
228 | 1817 | 2014-07-14 Chris Townsend <christopher.townsend@canonical.com> | ||
229 | 1818 | |||
230 | 1819 | Release Unity 7.2.2. | ||
231 | 1820 | Approved by: Stephen M. Webb | ||
232 | 1821 | |||
233 | 1822 | 2014-07-03 Chris Townsend <christopher.townsend@canonical.com> | ||
234 | 1823 | |||
235 | 1824 | Bump upstream release to 7.2.2. | ||
236 | 1825 | |||
237 | 1826 | 2014-07-14 Chris Townsend <christopher.townsend@canonical.com> | ||
238 | 1827 | |||
239 | 1828 | Prepare for upstream micro-release 7.2.2 that includes fixes for the following bugs: | ||
240 | 1829 | Bug #607796: Launcher, Window management - Dragging and holding a selection over an entry in the Launcher should spread out windows belonging to that application | ||
241 | 1830 | Bug #727902: Launcher icon highlighting should not switch off as soon the cursor moves after the app spread appears. | ||
242 | 1831 | Bug #741869: Unity/compiz intercepts Super and Alt keypresses from grabbed windows like VMs. | ||
243 | 1832 | Bug #754580: Cannot move tabs between multiple Firefox or Chromium windows while using Unity unless windows are both unmaximized, unminimized, and visible. | ||
244 | 1833 | Bug #839728: Launcher - dragging a item on top of a launcher tile that is a valid drop receptacle in the Launcher should cause that launcher tile to glow | ||
245 | 1834 | Bug #924840: Keyboard shortcuts overlay text too long | ||
246 | 1835 | Bug #1281058: [UIFe] The system shutdowns when multiple accounts are open | ||
247 | 1836 | Bug #1283775: Launcher: icon pips are not always updated properly | ||
248 | 1837 | Bug #1304882: [Regression] Launcher doesn't reappear fully after hiding from DND | ||
249 | 1838 | Bug #1305586: Lock screen is unusable when some windows have a keyboard/mouse grab | ||
250 | 1839 | Bug #1307738: Lockscreen caps lock icon drawn under text entry, should be a white icon. | ||
251 | 1840 | Bug #1308288: Lockscreen warning icon has no tooltip | ||
252 | 1841 | Bug #1308323: Shutdown/reboot/login/logout dialogs not scaled after toggling UI scale Edit | ||
253 | 1842 | Bug #1308911: Clipboard contents are accessible within lockscreen | ||
254 | 1843 | Bug #1309739: Unity launcher icon edge illumination is offset | ||
255 | 1844 | Bug #1310200: Indicators disappear at the panel (clementine, dropbox, skype etc) | ||
256 | 1845 | Bug #1313280: Fullscreen window set to "Always on Top" in single-monitor will hide the lockscreen | ||
257 | 1846 | Bug #1316005: Panel shadow appears over full screen applications w/ locally integrated menus enabled | ||
258 | 1847 | Bug #1317348: Switcher (Alt-Tab) does not respect monitor-defined scaling factor | ||
259 | 1848 | Bug #1317356: Shortcut hint does not respect monitor scaling factor | ||
260 | 1849 | Bug #1317869: Keyboard shortcuts overlay does not show up when workspaces are enabled at 1366x768 | ||
261 | 1850 | Bug #1320438: Unity launcher auto hide fails on screen unlock using "Super+L" | ||
262 | 1851 | Bug #1321043: [regression] lock screen bypass with touchpad Fixes: 607796, 727902, 741869, 754580, 839728, 924840, 1281058, 1283775, 1304882, 1305586, 1307738, 1308288, 1308323, 1308911, 1309739, 1310200, 1313280, 1316005, 1317348, 1317356, 1317869, 1320438, 1321043 | ||
263 | 1852 | Approved by: Marco Trevisan (Treviño) | ||
264 | 1853 | |||
265 | 1854 | 2014-07-01 Chris Townsend <christopher.townsend@canonical.com> | ||
266 | 1855 | |||
267 | 1856 | Add changelog entry for lp:1281058. | ||
268 | 1857 | |||
269 | 1858 | 2014-07-01 Andrea Azzarone <andrea.azzarone@canonical.com> | ||
270 | 1859 | |||
271 | 1860 | Add a warning in the session dialog if other sessions are still open. | ||
272 | 1861 | |||
273 | 1862 | 2014-07-01 Andrea Azzarone <andrea.azzarone@canonical.com> | ||
274 | 1863 | |||
275 | 1864 | Add a warning in the session dialog if other sessions are still open. | ||
276 | 1865 | |||
277 | 1866 | 2014-06-23 Marco Trevisan (Treviño) <marco.trevisan@canonical.com> | ||
278 | 1867 | |||
279 | 1868 | PluginAdapter: pass the state to compiz plugins activations | ||
280 | 1869 | |||
281 | 1870 | Fixes Scale triggering on DnD | ||
282 | 1871 | |||
283 | 1872 | 2014-06-10 Marco Trevisan (Treviño) <mail@3v1n0.net> | ||
284 | 1873 | |||
285 | 1874 | PluginAdapter: pass the state to compiz plugins activations | ||
286 | 1875 | |||
287 | 1876 | Fixes Scale triggering on DnD | ||
288 | 1877 | |||
289 | 1878 | 2014-06-06 CI bot <ps-jenkins@lists.canonical.com> | ||
290 | 1879 | |||
291 | 1880 | Releasing 7.2.0+14.10.20140606.1-0ubuntu1 | ||
292 | 1881 | |||
293 | 1882 | 2014-06-06 Marco Trevisan (Treviño) <mail@3v1n0.net> | ||
294 | 1883 | |||
295 | 1884 | SwitcherView: use RawPixel's for the size values and convert them to match current scaling Fixes: 1317348 | ||
296 | 1885 | |||
297 | 1886 | 2014-06-06 Chris Townsend <christopher.townsend@canonical.com> | ||
298 | 1887 | |||
299 | 1888 | Fix issue where scaling the edge illumination up and down with the size of the Launcher icons would cause the illumination border to be offset and smaller than the icon. Fixes: 1309739 | ||
300 | 1889 | |||
301 | 1890 | 2014-06-06 Brandon Schaefer <brandontschaefer@gmail.com> | ||
302 | 1891 | |||
303 | 1892 | Lockscreen warning icon needs a tooltip to say what the warning is about! Fixes: 1308288 | ||
304 | 1893 | |||
305 | 1894 | 2014-06-06 Brandon Schaefer <brandon.schaefer@canonical.com> | ||
306 | 1895 | |||
307 | 1896 | ShutdownView: Scale up the Buttons and Text plus Borders of the UnityWindowView. Fixes: 1308323 | ||
308 | 1897 | |||
309 | 1898 | 2014-06-06 Brandon Schaefer <brandon.schaefer@canonical.com> | ||
310 | 1899 | |||
311 | 1900 | TextInput: move the warning icon inside the input field, render it white Fixes: 1307738 | ||
312 | 1901 | |||
313 | 1902 | 2014-06-05 Brandon Schaefer <brandon.schaefer@canonical.com> | ||
314 | 1903 | |||
315 | 1904 | * Merge trunk | ||
316 | 1905 | |||
317 | 1906 | 2014-06-06 Marco Trevisan (Treviño) <mail@3v1n0.net> | ||
318 | 1907 | |||
319 | 1908 | ApplicationLauncherIcon: Focus and, in case, Spread the windows on DnD | ||
320 | 1909 | |||
321 | 1910 | After 1 second that an user is over an icon, that icon should focus the relative | ||
322 | 1911 | application and Spread its windows if it has more than one opened. | ||
323 | 1912 | |||
324 | 1913 | Correctly handle the DnD scale in launcher, and apply glow to the icon under pointer. Fixes: 607796, 727902, 754580, 839728 | ||
325 | 1914 | |||
326 | 1915 | 2014-06-06 Alfred Neumayer <dev.beidl@gmail.com> | ||
327 | 1916 | |||
328 | 1917 | Restore the launcher position by reversing the animation and unsetting the DND_PUSHED_OFF quirk. Fixes: 1304882 | ||
329 | 1918 | |||
330 | 1919 | 2014-06-23 Chris Townsend <christopher.townsend@canonical.com> | ||
331 | 1920 | |||
332 | 1921 | Added changelog entry for lp:1310200. | ||
333 | 1922 | |||
334 | 1923 | 2014-06-23 Andrea Azzarone <andrea.azzarone@canonical.com> | ||
335 | 1924 | |||
336 | 1925 | Fix skype indicator blinking. | ||
337 | 1926 | |||
338 | 1927 | 2014-05-30 Andrea Azzarone <azzaronea@gmail.com> | ||
339 | 1928 | |||
340 | 1929 | Fix skype indicator blinking. | ||
341 | 1930 | |||
342 | 1931 | 2014-06-23 Chris Townsend <christopher.townsend@canonical.com> | ||
343 | 1932 | |||
344 | 1933 | Added changelog entry for lp:1316005. | ||
345 | 1934 | |||
346 | 1935 | 2014-06-23 Chris Townsend <christopher.townsend@canonical.com> | ||
347 | 1936 | |||
348 | 1937 | Fix issue where the Panel shadow would get drawn over drop down windows in full screen windows. | ||
349 | 1938 | |||
350 | 1939 | 2014-05-28 Chris Townsend <christopher.townsend@canonical.com> | ||
351 | 1940 | |||
352 | 1941 | Fix issue where the Panel shadow would get drawn over drop down windows in full screen windows. | ||
353 | 1942 | |||
354 | 1943 | 2014-06-23 Chris Townsend <christopher.townsend@canonical.com> | ||
355 | 1944 | |||
356 | 1945 | Added changelog entry for lp:1283775. | ||
357 | 1946 | |||
358 | 1947 | 2014-06-23 Chris Townsend <christopher.townsend@canonical.com> | ||
359 | 1948 | |||
360 | 1949 | Fix issue where the number of Launcher icon pips are not always properly updated when a new window of an already running application is opened. | ||
361 | 1950 | |||
362 | 1951 | 2014-05-28 Chris Townsend <christopher.townsend@canonical.com> | ||
363 | 1952 | |||
364 | 1953 | Get rid of break statement since we need to continue the loop. | ||
365 | 1954 | Relax if/else if logic and just assign boolean regardless what the current value is. | ||
366 | 1955 | |||
367 | 1956 | 2014-05-28 Chris Townsend <christopher.townsend@canonical.com> | ||
368 | 1957 | |||
369 | 1958 | Create a new method that replaces SetWindowVisibleOnMonitor() which also keeps the number of visible windows per monitor for a particular app. | ||
370 | 1959 | Also, remove some of the helper functions added in a previous commit. | ||
371 | 1960 | |||
372 | 1961 | 2014-05-27 Chris Townsend <christopher.townsend@canonical.com> | ||
373 | 1962 | |||
374 | 1963 | Use counter for calculating number of app windows in a viewport and also check if the number of app windows has changed outside of the for loop in order to update Launcher pips for all Launchers in multi-monitor scenarios. | ||
375 | 1964 | |||
376 | 1965 | 2014-05-26 Chris Townsend <christopher.townsend@canonical.com> | ||
377 | 1966 | |||
378 | 1967 | Fix issue where the number of Launcher icon pips are not always properly updated when a new window of an already running application is opened. | ||
379 | 1968 | |||
380 | 1969 | 2014-06-23 Chris Townsend <christopher.townsend@canonical.com> | ||
381 | 1970 | |||
382 | 1971 | Added changelog entry for lp:1320438. | ||
383 | 1972 | |||
384 | 1973 | 2014-06-23 Andrea Azzarone <andrea.azzarone@canonical.com> | ||
385 | 1974 | |||
386 | 1975 | Pass the correct options to showLauncherKeyTerminate in UnityScreen::OnLockScreen | ||
387 | 1976 | |||
388 | 1977 | 2014-05-26 Andrea Azzarone <azzaronea@gmail.com> | ||
389 | 1978 | |||
390 | 1979 | Pass the correct options to showLauncherKeyTerminate in UnityScreen::OnLockScreen. | ||
391 | 1980 | |||
392 | 1981 | 2014-06-23 Chris Townsend <christopher.townsend@canonical.com> | ||
393 | 1982 | |||
394 | 1983 | Added changelog entry for lp:1321043. | ||
395 | 1984 | |||
396 | 1985 | 2014-06-23 Andrea Azzarone <andrea.azzarone@canonical.com> | ||
397 | 1986 | |||
398 | 1987 | Disable switcher gestures if screen is locked. Fixed a regression. | ||
399 | 1988 | |||
400 | 1989 | 2014-05-20 Andrea Azzarone <azzaronea@gmail.com> | ||
401 | 1990 | |||
402 | 1991 | Remove unwated changes. | ||
403 | 1992 | |||
404 | 1993 | 2014-05-20 Andrea Azzarone <azzaronea@gmail.com> | ||
405 | 1994 | |||
406 | 1995 | Disable switcher gestures if screen is locked. Fixed a regression. | ||
407 | 1996 | |||
408 | 1997 | 2014-05-20 Andrea Azzarone <azzaronea@gmail.com> | ||
409 | 1998 | |||
410 | 1999 | Restore clibpoard on unlock. Update tests too. | ||
411 | 2000 | |||
412 | 2001 | 2014-05-20 Andrea Azzarone <azzaronea@gmail.com> | ||
413 | 2002 | |||
414 | 2003 | Clear the clipboard when locking the screen. | ||
415 | 2004 | |||
416 | 2005 | 2014-05-16 Andrea Azzarone <azzaronea@gmail.com> | ||
417 | 2006 | |||
418 | 2007 | Clear the clipboard when locking the screen. | ||
419 | 2008 | |||
420 | 2009 | 2014-06-23 Chris Townsend <christopher.townsend@canonical.com> | ||
421 | 2010 | |||
422 | 2011 | Add changelog entry for lp:1308911. | ||
423 | 2012 | |||
424 | 2013 | 2014-06-23 Andrea Azzarone <andrea.azzarone@canonical.com> | ||
425 | 2014 | |||
426 | 2015 | Clear the clipboard when locking the screen. | ||
427 | 2016 | |||
428 | 2017 | 2014-05-26 Andrea Azzarone <azzaronea@gmail.com> | ||
429 | 2018 | |||
430 | 2019 | Enable clipboard by default. | ||
431 | 2020 | |||
432 | 2021 | 2014-05-26 Andrea Azzarone <azzaronea@gmail.com> | ||
433 | 2022 | |||
434 | 2023 | Disable clibpoard during lockscreen. | ||
435 | 2024 | |||
436 | 2025 | 2014-06-23 Chris Townsend <christopher.townsend@canonical.com> | ||
437 | 2026 | |||
438 | 2027 | Added changelog entry for lp:924840. | ||
439 | 2028 | |||
440 | 2029 | 2014-06-23 Marco Trevisan (Treviño) <marco.trevisan@canonical.com> | ||
441 | 2030 | |||
442 | 2031 | ShortcutView: use RawPixel's for the size values and convert them to match current scaling | ||
443 | 2032 | |||
444 | 2033 | Plus dinamically allocate horizontal space, not to cut the text. | ||
445 | 2034 | |||
446 | 2035 | 2014-05-16 Marco Trevisan (Treviño) <mail@3v1n0.net> | ||
447 | 2036 | |||
448 | 2037 | Merging with lp:~3v1n0/unity/dynamic-shortcut-hint | ||
449 | 2038 | |||
450 | 2039 | 2014-05-14 Marco Trevisan (Treviño) <mail@3v1n0.net> | ||
451 | 2040 | |||
452 | 2041 | ShortcutView: increase max column widths to make sure they will work with big text | ||
453 | 2042 | |||
454 | 2043 | 2014-05-14 Marco Trevisan (Treviño) <mail@3v1n0.net> | ||
455 | 2044 | |||
456 | 2045 | ShortcutView: adjust column maximum width inside PreLayoutManagement instead that when filling the model | ||
457 | 2046 | |||
458 | 2047 | 2014-05-14 Marco Trevisan (Treviño) <mail@3v1n0.net> | ||
459 | 2048 | |||
460 | 2049 | ShortcutView: some cleanup | ||
461 | 2050 | |||
462 | 2051 | 2014-05-14 Marco Trevisan (Treviño) <mail@3v1n0.net> | ||
463 | 2052 | |||
464 | 2053 | ShortcutView: define maximum columns width, way longer than before | ||
465 | 2054 | |||
466 | 2055 | 2014-05-14 Marco Trevisan (Treviño) <mail@3v1n0.net> | ||
467 | 2056 | |||
468 | 2057 | ShortcutView: reduce the line spacing to match old values | ||
469 | 2058 | |||
470 | 2059 | This migtht be caused by the StaticCairoText usage, and this spacing actually matches design | ||
471 | 2060 | |||
472 | 2061 | 2014-05-14 Marco Trevisan (Treviño) <mail@3v1n0.net> | ||
473 | 2062 | |||
474 | 2063 | ShortcutController: always fill the model before setting it | ||
475 | 2064 | |||
476 | 2065 | 2014-05-14 Marco Trevisan (Treviño) <mail@3v1n0.net> | ||
477 | 2066 | |||
478 | 2067 | ShortcutView: compute maximum columns width based on text size | ||
479 | 2068 | |||
480 | 2069 | In this way the text won't be truncated. The text size is computed per each column | ||
481 | 2070 | |||
482 | 2071 | 2014-05-16 Marco Trevisan (Treviño) <mail@3v1n0.net> | ||
483 | 2072 | |||
484 | 2073 | Merging with lp:~brandontschaefer/unity/shutdown-dialog-hi-dpi | ||
485 | 2074 | |||
486 | 2075 | 2014-05-13 Marco Trevisan (Treviño) <mail@3v1n0.net> | ||
487 | 2076 | |||
488 | 2077 | ShortcutView: use string literal to build RawPixel's | ||
489 | 2078 | |||
490 | 2079 | 2014-05-13 Marco Trevisan (Treviño) <mail@3v1n0.net> | ||
491 | 2080 | |||
492 | 2081 | Merge with trunk | ||
493 | 2082 | |||
494 | 2083 | 2014-05-08 Marco Trevisan (Treviño) <mail@3v1n0.net> | ||
495 | 2084 | |||
496 | 2085 | ShortcutView: use RawPixel's for the size values and convert them to match current scaling | ||
497 | 2086 | |||
498 | 2087 | 2014-06-23 Chris Townsend <christopher.townsend@canonical.com> | ||
499 | 2088 | |||
500 | 2089 | Added changelog entry for lp:741869. | ||
501 | 2090 | |||
502 | 2091 | 2014-06-23 Marco Trevisan (Treviño) <marco.trevisan@canonical.com> | ||
503 | 2092 | |||
504 | 2093 | PluginAdapter: try to grab the screen to make sure that the screen is not grabbed | ||
505 | 2094 | |||
506 | 2095 | FocusIn event with NotifyGrab mode is not always triggered by X when a window | ||
507 | 2096 | takes the grab, then we need to ensure that there's no grab by trying to get one. | ||
508 | 2097 | We only care about keyboard here, since pointer grabs don't affect us in general. | ||
509 | 2098 | |||
510 | 2099 | 2014-05-13 Marco Trevisan (Treviño) <mail@3v1n0.net> | ||
511 | 2100 | |||
512 | 2101 | LockScreenController: don't try to lock if there's a keyboard grab around | ||
513 | 2102 | |||
514 | 2103 | 2014-05-13 Marco Trevisan (Treviño) <mail@3v1n0.net> | ||
515 | 2104 | |||
516 | 2105 | PluginAdapter: try to grab the screen to make sure that the screen is not grabbed | ||
517 | 2106 | |||
518 | 2107 | FocusIn event with NotifyGrab mode is not always triggered by X when a window | ||
519 | 2108 | takes the grab, then we need to ensure that there's no grab by trying to get one. | ||
520 | 2109 | We only care about keyboard here, since pointer grabs don't affect us in general. | ||
521 | 2110 | |||
522 | 2111 | 2014-05-12 CI bot <ps-jenkins@lists.canonical.com> | ||
523 | 2112 | |||
524 | 2113 | Releasing 7.2.0+14.10.20140512.4-0ubuntu1 | ||
525 | 2114 | |||
526 | 2115 | 2014-05-12 Stephen M. Webb <stephen.webb@canonical.com> | ||
527 | 2116 | |||
528 | 2117 | disabled precompiled headers on arm64 Ubuntu package builds Fixes: 1317276 | ||
529 | 2118 | |||
530 | 2119 | 2014-05-12 Stephen M. Webb <stephen.webb@canonical.com> | ||
531 | 2120 | |||
532 | 2121 | lockscreen/LockScreenAccelerators.h: added required header for std:vector definition | ||
533 | 2122 | |||
534 | 2123 | 2014-05-12 Mathieu Trudel-Lapierre <mathieu-tl@ubuntu.com> | ||
535 | 2124 | |||
536 | 2125 | Sync with distro upload for 7.2.0+14.04.20140423-0ubuntu2 | ||
537 | 2126 | - replace autopilot-desktop Depends in unity-autopilot with autopilot-desktop-legacy. | ||
538 | 2127 | |||
539 | 2128 | 2014-05-07 Mathieu Trudel-Lapierre <mathieu-tl@ubuntu.com> | ||
540 | 2129 | |||
541 | 2130 | Sync with distro | ||
542 | 2131 | |||
543 | 2132 | 2014-05-12 Andrea Azzarone <azzaronea@gmail.com> | ||
544 | 2133 | |||
545 | 2134 | Add a warning in the session dialog if other sessions are still open. Fixes: 1281058 | ||
546 | 2135 | |||
547 | 2136 | 2014-05-09 Andrea Azzarone <azzaronea@gmail.com> | ||
548 | 2137 | |||
549 | 2138 | Update string. | ||
550 | 2139 | |||
551 | 2140 | 2014-05-09 Andrea Azzarone <azzaronea@gmail.com> | ||
552 | 2141 | |||
553 | 2142 | Merge trunk. | ||
554 | 2143 | |||
555 | 2144 | 2014-04-17 Andrea Azzarone <azzaronea@gmail.com> | ||
556 | 2145 | |||
557 | 2146 | Send the changed event. | ||
558 | 2147 | |||
559 | 2148 | 2014-04-16 Andrea Azzarone <azzaronea@gmail.com> | ||
560 | 2149 | |||
561 | 2150 | Use a ROProperty. | ||
562 | 2151 | |||
563 | 2152 | 2014-04-16 Andrea Azzarone <azzaronea@gmail.com> | ||
564 | 2153 | |||
565 | 2154 | Add an extra /n. | ||
566 | 2155 | |||
567 | 2156 | 2014-04-11 Andrea Azzarone <azzaronea@gmail.com> | ||
568 | 2157 | |||
569 | 2158 | Fix string. | ||
570 | 2159 | |||
571 | 2160 | 2014-04-11 Andrea Azzarone <azzaronea@gmail.com> | ||
572 | 2161 | |||
573 | 2162 | Remove new line. | ||
574 | 2163 | |||
575 | 2164 | 2014-04-11 Andrea Azzarone <azzaronea@gmail.com> | ||
576 | 2165 | |||
577 | 2166 | Add a warning in the session dialog if other sessions are still open. | ||
578 | 2167 | |||
579 | 2168 | 2014-05-12 Brandon Schaefer <brandontschaefer@gmail.com> | ||
580 | 2169 | |||
581 | 2170 | Set the max width, so our static text wraps. So we don't end up rendering text out of the view area. Fixes: 1312749 | ||
582 | 2171 | |||
583 | 2172 | 2014-05-12 Marco Trevisan (Treviño) <mail@3v1n0.net> | ||
584 | 2173 | |||
585 | 2174 | DebugDBusInterface: match properties if they are in the AP array form [<type>, <value>] Fixes: 1307748 | ||
586 | 2175 | |||
587 | 2176 | 2014-05-12 Marco Trevisan (Treviño) <mail@3v1n0.net> | ||
588 | 2177 | |||
589 | 2178 | PluginAdapter: make sure we don't try to call an invalid initiate/terminate callback function Fixes: 1221673 | ||
590 | 2179 | |||
591 | 2180 | 2014-05-12 Marco Trevisan (Treviño) <mail@3v1n0.net> | ||
592 | 2181 | |||
593 | 2182 | UnityScreen: don't try to show Dash/Hud if the screen is grabbed | ||
594 | 2183 | |||
595 | 2184 | Also move the dash opening out from LauncherController, and get rid of UBus | ||
596 | 2185 | as first initialization source, as it can only slow things down here. Fixes: 741869 | ||
597 | 2186 | |||
598 | 2187 | 2014-05-12 Marco Trevisan (Treviño) <mail@3v1n0.net> | ||
599 | 2188 | |||
600 | 2189 | UnityScreen: always paint the lockscreen above, just add menu and onboard as exceptions | ||
601 | 2190 | |||
602 | 2191 | Some code cleanup, factorizing similar code. Fixes: 1313280 | ||
603 | 2192 | |||
604 | 2193 | 2014-05-12 Jinkyu Yi <jincreator@jincreator.net> | ||
605 | 2194 | |||
606 | 2195 | Dash: Fix problem at checking blacklisted unicode range Fixes: 1251193 | ||
607 | 2196 | |||
608 | 2197 | 2014-05-12 William Hua <william.hua@canonical.com> | ||
609 | 2198 | |||
610 | 2199 | Add proper support for modifier-only shortcuts on the lock screen. Fixes: 1291461 | ||
611 | 2200 | |||
612 | 2201 | 2014-06-23 Chris Townsend <christopher.townsend@canonical.com> | ||
613 | 2202 | |||
614 | 2203 | Added changelog for lp:1317348. | ||
615 | 2204 | |||
616 | 2205 | 2014-06-23 Marco Trevisan (Treviño) <marco.trevisan@canonical.com> | ||
617 | 2206 | |||
618 | 2207 | SwitcherView: use RawPixel's for the size values and convert them to match current scaling | ||
619 | 2208 | |||
620 | 2209 | 2014-05-08 Marco Trevisan (Treviño) <mail@3v1n0.net> | ||
621 | 2210 | |||
622 | 2211 | TestSwitcherView: remove obsolete property check | ||
623 | 2212 | |||
624 | 2213 | 2014-05-08 Marco Trevisan (Treviño) <mail@3v1n0.net> | ||
625 | 2214 | |||
626 | 2215 | SwitcherView: use RawPixel's for the size values and convert them to match current scaling | ||
627 | 2216 | |||
628 | 2217 | 2014-06-23 Chris Townsend <christopher.townsend@canonical.com> | ||
629 | 2218 | |||
630 | 2219 | Added changelog entry for lp:1309739. | ||
631 | 2220 | |||
632 | 2221 | 2014-06-23 Chris Townsend <christopher.townsend@canonical.com> | ||
633 | 2222 | |||
634 | 2223 | Fix issue where scaling the edge illumination up and down with the size of the Launcher icons would cause the illumination border to be offset and smaller than the icon. | ||
635 | 2224 | |||
636 | 2225 | 2014-05-08 Chris Townsend <christopher.townsend@canonical.com> | ||
637 | 2226 | |||
638 | 2227 | Revert the last change and instead, use the icon glow .png file instead of the .svg since Gdk does not seem to be able to handle properly scaling the svg file. | ||
639 | 2228 | |||
640 | 2229 | 2014-05-06 Chris Townsend <christopher.townsend@canonical.com> | ||
641 | 2230 | |||
642 | 2231 | Fix issue where scaling the edge illumination up and down with the size of the Launcher icons would cause the illumination border to be offset and smaller than the icon. | ||
643 | 2232 | |||
644 | 2233 | 2014-06-23 Chris Townsend <christopher.townsend@canonical.com> | ||
645 | 2234 | |||
646 | 2235 | Added changelog entry for lp:1308288. | ||
647 | 2236 | |||
648 | 2237 | 2014-06-23 Brandon Schaefer <brandon.schaefer@canonical.com> | ||
649 | 2238 | |||
650 | 2239 | Lockscreen warning icon needs a tooltip to say what the warning is about! | ||
651 | 2240 | |||
652 | 2241 | 2014-04-23 Brandon Schaefer <brandontschaefer@gmail.com> | ||
653 | 2242 | |||
654 | 2243 | * Load the warning icon only when we enable show caps lock. | ||
655 | 2244 | |||
656 | 2245 | 2014-04-22 Brandon Schaefer <brandontschaefer@gmail.com> | ||
657 | 2246 | |||
658 | 2247 | * Remove spin_icon_width | ||
659 | 2248 | |||
660 | 2249 | 2014-04-22 Brandon Schaefer <brandontschaefer@gmail.com> | ||
661 | 2250 | |||
662 | 2251 | * Merge from parent. Fix conflicts. | ||
663 | 2252 | |||
664 | 2253 | 2014-04-22 Brandon Schaefer <brandontschaefer@gmail.com> | ||
665 | 2254 | |||
666 | 2255 | * Merge trunk | ||
667 | 2256 | |||
668 | 2257 | 2014-04-15 Brandon Schaefer <brandontschaefer@gmail.com> | ||
669 | 2258 | |||
670 | 2259 | * Fix multi monitor issue | ||
671 | 2260 | * Fix translation issue | ||
672 | 2261 | |||
673 | 2262 | 2014-04-15 Brandon Schaefer <brandontschaefer@gmail.com> | ||
674 | 2263 | |||
675 | 2264 | * No magic strings! | ||
676 | 2265 | |||
677 | 2266 | 2014-04-15 Brandon Schaefer <brandontschaefer@gmail.com> | ||
678 | 2267 | |||
679 | 2268 | * Add a nice warning tooltip | ||
680 | 2269 | |||
681 | 2270 | 2014-06-19 Chris Townsend <christopher.townsend@canonical.com> | ||
682 | 2271 | |||
683 | 2272 | Added changelog entry for lp:1308323. | ||
684 | 2273 | |||
685 | 2274 | 2014-06-19 Brandon Schaefer <brandon.schaefer@canonical.com> | ||
686 | 2275 | |||
687 | 2276 | ShutdownView: Scale up the Buttons and Text plus Borders of the UnityWindowView. | ||
688 | 2277 | |||
689 | 2278 | 2014-05-13 Brandon Schaefer <brandon.schaefer@canonical.com> | ||
690 | 2279 | |||
691 | 2280 | * Much better way to clean up textures | ||
692 | 2281 | |||
693 | 2282 | 2014-05-13 Brandon Schaefer <brandon.schaefer@canonical.com> | ||
694 | 2283 | |||
695 | 2284 | * Clean up unused textures when a dpi changes, or a monitor changes | ||
696 | 2285 | |||
697 | 2286 | 2014-05-08 Brandon Schaefer <brandon.schaefer@canonical.com> | ||
698 | 2287 | |||
699 | 2288 | * Pre-load textures based on scale value of monitors | ||
700 | 2289 | |||
701 | 2290 | 2014-05-08 Brandon Schaefer <brandon.schaefer@canonical.com> | ||
702 | 2291 | |||
703 | 2292 | * Merge Marcos branch again | ||
704 | 2293 | |||
705 | 2294 | 2014-05-08 Marco Trevisan (Treviño) <mail@3v1n0.net> | ||
706 | 2295 | |||
707 | 2296 | UnityWindowView: don't keep EMConverter around, we don't need it... Let's use just scale | ||
708 | 2297 | |||
709 | 2298 | 2014-05-08 Brandon Schaefer <brandon.schaefer@canonical.com> | ||
710 | 2299 | |||
711 | 2300 | * Move the CP() call for the const sizes to UnityWindowStyle | ||
712 | 2301 | |||
713 | 2302 | 2014-05-08 Brandon Schaefer <brandon.schaefer@canonical.com> | ||
714 | 2303 | |||
715 | 2304 | * Merge Marcos branch | ||
716 | 2305 | * Merge trunk | ||
717 | 2306 | |||
718 | 2307 | 2014-05-08 Marco Trevisan (Treviño) <mail@3v1n0.net> | ||
719 | 2308 | |||
720 | 2309 | SessionButton: don't scale the button size twice... | ||
721 | 2310 | |||
722 | 2311 | 2014-05-08 Marco Trevisan (Treviño) <mail@3v1n0.net> | ||
723 | 2312 | |||
724 | 2313 | SessionButton: remove useless definition | ||
725 | 2314 | |||
726 | 2315 | 2014-05-08 Marco Trevisan (Treviño) <mail@3v1n0.net> | ||
727 | 2316 | |||
728 | 2317 | UnityWindowView: only expose scale instead of the EMConverter, so we get proper notifications | ||
729 | 2318 | |||
730 | 2319 | 2014-05-08 Marco Trevisan (Treviño) <mail@3v1n0.net> | ||
731 | 2320 | |||
732 | 2321 | ShortcutController: set the monitor property | ||
733 | 2322 | |||
734 | 2323 | 2014-05-08 Marco Trevisan (Treviño) <mail@3v1n0.net> | ||
735 | 2324 | |||
736 | 2325 | UnityWindowView: don't include UnitySettings in the header... | ||
737 | 2326 | |||
738 | 2327 | 2014-05-08 Marco Trevisan (Treviño) <mail@3v1n0.net> | ||
739 | 2328 | |||
740 | 2329 | SwitcherView: use the UnityWindowView monitor value and scale padding correctly | ||
741 | 2330 | |||
742 | 2331 | 2014-05-08 Marco Trevisan (Treviño) <mail@3v1n0.net> | ||
743 | 2332 | |||
744 | 2333 | RawPixel: no need to round here, EMConverter will do it | ||
745 | 2334 | |||
746 | 2335 | 2014-05-08 Marco Trevisan (Treviño) <mail@3v1n0.net> | ||
747 | 2336 | |||
748 | 2337 | EMConverter: just multiply the pixels per DPIScale, it's simpler and safer | ||
749 | 2338 | |||
750 | 2339 | 2014-05-08 Marco Trevisan (Treviño) <mail@3v1n0.net> | ||
751 | 2340 | |||
752 | 2341 | UnityWindowView: make sure we update the internal offset correctly | ||
753 | 2342 | |||
754 | 2343 | 2014-05-08 Marco Trevisan (Treviño) <mail@3v1n0.net> | ||
755 | 2344 | |||
756 | 2345 | Merging with lp:~brandontschaefer/unity/shutdown-dialog-hi-dpi | ||
757 | 2346 | |||
758 | 2347 | 2014-05-07 Brandon Schaefer <brandontschaefer@gmail.com> | ||
759 | 2348 | |||
760 | 2349 | * Use a map to map textures based on scale size, so we only load scale sizes we need, | ||
761 | 2350 | and still cache them. Good for multi monitor. | ||
762 | 2351 | |||
763 | 2352 | 2014-05-06 Brandon Schaefer <brandontschaefer@gmail.com> | ||
764 | 2353 | |||
765 | 2354 | * Scale the borders | ||
766 | 2355 | |||
767 | 2356 | 2014-05-06 Brandon Schaefer <brandontschaefer@gmail.com> | ||
768 | 2357 | |||
769 | 2358 | * Scale the closeable window button as well. | ||
770 | 2359 | * TODO Window border, a bit more tricky... | ||
771 | 2360 | |||
772 | 2361 | 2014-05-05 Brandon Schaefer <brandontschaefer@gmail.com> | ||
773 | 2362 | |||
774 | 2363 | * Fix reviews issues. | ||
775 | 2364 | |||
776 | 2365 | 2014-05-02 Brandon Schaefer <brandontschaefer@gmail.com> | ||
777 | 2366 | |||
778 | 2367 | * Undo changes that aren't part of branch | ||
779 | 2368 | |||
780 | 2369 | 2014-04-25 Brandon Schaefer <brandontschaefer@gmail.com> | ||
781 | 2370 | |||
782 | 2371 | * Merge trunk | ||
783 | 2372 | |||
784 | 2373 | 2014-04-25 Brandon Schaefer <brandontschaefer@gmail.com> | ||
785 | 2374 | |||
786 | 2375 | * Fixes based on review | ||
787 | 2376 | |||
788 | 2377 | 2014-04-24 Brandon Schaefer <brandontschaefer@gmail.com> | ||
789 | 2378 | |||
790 | 2379 | * First stage of Shutdown Dialog HiDPI Support | ||
791 | 2380 | |||
792 | 2381 | 2014-06-19 Chris Townsend <christopher.townsend@canonical.com> | ||
793 | 2382 | |||
794 | 2383 | Added changelog entry for lp:1307738. | ||
795 | 2384 | |||
796 | 2385 | 2014-06-19 Brandon Schaefer <brandon.schaefer@canonical.com> | ||
797 | 2386 | |||
798 | 2387 | TextInput: move the warning icon inside the input field, render it white | ||
799 | 2388 | |||
800 | 2389 | 2014-04-17 Brandon Schaefer <brandontschaefer@gmail.com> | ||
801 | 2390 | |||
802 | 2391 | * Need the relayout, otherwise the icon is late to show | ||
803 | 2392 | |||
804 | 2393 | 2014-04-17 Brandon Schaefer <brandontschaefer@gmail.com> | ||
805 | 2394 | |||
806 | 2395 | * Make caps_lock_on private | ||
807 | 2396 | |||
808 | 2397 | 2014-04-17 Brandon Schaefer <brandontschaefer@gmail.com> | ||
809 | 2398 | |||
810 | 2399 | * Move QueueDraw to the changed callback. | ||
811 | 2400 | * Remove ToggleCapsLock | ||
812 | 2401 | |||
813 | 2402 | 2014-04-16 Brandon Schaefer <brandontschaefer@gmail.com> | ||
814 | 2403 | |||
815 | 2404 | * Move over detectiong caps lock to TextInput.cpp as well. | ||
816 | 2405 | * Steal Marcos code that puts the Warning icon into a layout (Thanks!) | ||
817 | 2406 | |||
818 | 2407 | 2014-04-15 Brandon Schaefer <brandontschaefer@gmail.com> | ||
819 | 2408 | |||
820 | 2409 | * Use a fallback icon | ||
821 | 2410 | |||
822 | 2411 | 2014-04-15 Brandon Schaefer <brandontschaefer@gmail.com> | ||
823 | 2412 | |||
824 | 2413 | * Move the warning icon over the TextInput. | ||
825 | 2414 | * This will make adjusting the IMTextEntry width a bit easier (still a TODO) | ||
826 | 2415 | |||
827 | 2416 | 2014-04-14 Brandon Schaefer <brandontschaefer@gmail.com> | ||
828 | 2417 | |||
829 | 2418 | * Use the gnome theme to load the warning icon. Looks better, and will scale :) | ||
830 | 2419 | |||
831 | 2420 | 2014-04-14 Brandon Schaefer <brandontschaefer@gmail.com> | ||
832 | 2421 | |||
833 | 2422 | * make sure we draw the waring icon above the text entry | ||
834 | 2423 | |||
835 | 2424 | 2014-06-19 Chris Townsend <christopher.townsend@canonical.com> | ||
836 | 2425 | |||
837 | 2426 | Added changelog entry for lp:607796. | ||
838 | 2427 | |||
839 | 2428 | 2014-06-19 Marco Trevisan (Treviño) <marco.trevisan@canonical.com> | ||
840 | 2429 | |||
841 | 2430 | ApplicationLauncherIcon: Focus and, in case, Spread the windows on DnD | ||
842 | 2431 | |||
843 | 2432 | After 1 second that an user is over an icon, that icon should focus the relative | ||
844 | 2433 | application and Spread its windows if it has more than one opened. | ||
845 | 2434 | |||
846 | 2435 | Correctly handle the DnD scale in launcher, and apply glow to the icon under pointer. | ||
847 | 2436 | |||
848 | 2437 | 2014-04-16 Marco Trevisan (Treviño) <mail@3v1n0.net> | ||
849 | 2438 | |||
850 | 2439 | {Trash,Volume}LauncherIcon: also shimmer on drop-accept | ||
851 | 2440 | |||
852 | 2441 | 2014-04-16 Marco Trevisan (Treviño) <mail@3v1n0.net> | ||
853 | 2442 | |||
854 | 2443 | Launcher: glow launcher icons under the dnd if they accept dropping on them | ||
855 | 2444 | |||
856 | 2445 | 2014-04-16 Marco Trevisan (Treviño) <mail@3v1n0.net> | ||
857 | 2446 | |||
858 | 2447 | AbstractLauncherIcon: add GLOW quirk | ||
859 | 2448 | |||
860 | 2449 | 2014-04-16 Marco Trevisan (Treviño) <mail@3v1n0.net> | ||
861 | 2450 | |||
862 | 2451 | {Dash,Hud}Controller: use wm signals instead of UBus to hide on VP switch | ||
863 | 2452 | |||
864 | 2453 | 2014-04-16 Marco Trevisan (Treviño) <mail@3v1n0.net> | ||
865 | 2454 | |||
866 | 2455 | UnityScreen: initialize scale_just_activated_ on OnInitiateSpread | ||
867 | 2456 | |||
868 | 2457 | 2014-04-16 Marco Trevisan (Treviño) <mail@3v1n0.net> | ||
869 | 2458 | |||
870 | 2459 | Launcher: don't desaturate the icons when spread is started during DnD | ||
871 | 2460 | |||
872 | 2461 | Also make sure we redraw when bg_effect_helper status changes | ||
873 | 2462 | |||
874 | 2463 | 2014-04-16 Marco Trevisan (Treviño) <mail@3v1n0.net> | ||
875 | 2464 | |||
876 | 2465 | UnityScreen: make sure we always set the scale "x_offset" value | ||
877 | 2466 | |||
878 | 2467 | 2014-04-16 Marco Trevisan (Treviño) <mail@3v1n0.net> | ||
879 | 2468 | |||
880 | 2469 | PluginAdapter: listen to compiz scale events also for setting scale active/disactive | ||
881 | 2470 | |||
882 | 2471 | This will allow to get the scale status also when it doesn't take the grab (like in the DnD case) | ||
883 | 2472 | |||
884 | 2473 | 2014-04-16 Marco Trevisan (Treviño) <mail@3v1n0.net> | ||
885 | 2474 | |||
886 | 2475 | ApplicationLauncherIcon: Focus and, in case, Spread the application windows after some DnD over the icon | ||
887 | 2476 | |||
888 | 2477 | After 1 second that an user is over an icon, that icon should focus the relative application and Spread its windows | ||
889 | 2478 | if it has more than one opened | ||
890 | 2479 | |||
891 | 2480 | 2014-06-19 Chris Townsend <christopher.townsend@canonical.com> | ||
892 | 2481 | |||
893 | 2482 | Added changelog entry for lp:1304882. | ||
894 | 2483 | |||
895 | 2484 | 2014-06-19 Alfred Neumayer <alfred.neumayer.g1@gmail.com> | ||
896 | 2485 | |||
897 | 2486 | Restore the launcher position by reversing the animation and unsetting the DND_PUSHED_OFF quirk. | ||
898 | 2487 | |||
899 | 2488 | 2014-04-16 Alfred Neumayer <dev.beidl@gmail.com> | ||
900 | 2489 | |||
901 | 2490 | Remove redundant SetHidden() | ||
902 | 2491 | |||
903 | 2492 | 2014-04-15 Alfred Neumayer <dev.beidl@gmail.com> | ||
904 | 2493 | |||
905 | 2494 | Unhide the launcher if it was manually dragged out before DND. | ||
906 | 2495 | |||
907 | 2496 | 2014-04-15 Alfred Neumayer <dev.beidl@gmail.com> | ||
908 | 2497 | |||
909 | 2498 | Base change on Trevinhos patch. | ||
910 | 2499 | |||
911 | 2500 | 2014-04-14 Alfred Neumayer <dev.beidl@gmail.com> | ||
912 | 2501 | |||
913 | 2502 | The animation shouldn't get reversed twice as that looks odd. | ||
914 | 2503 | |||
915 | 2504 | 2014-04-14 Alfred Neumayer <dev.beidl@gmail.com> | ||
916 | 2505 | |||
917 | 2506 | Unset DND_PUSHED_OFF and reverse the animation to make launcher reappear after DND. | ||
918 | 2507 | |||
919 | 2508 | 2014-06-19 Chris Townsend <christopher.townsend@canonical.com> | ||
920 | 2509 | |||
921 | 2510 | Added changelog for #1313280. | ||
922 | 2511 | |||
923 | 2512 | 2014-06-19 Marco Trevisan (Treviño) <marco.trevisan@canonical.com> | ||
924 | 2513 | |||
925 | 2514 | UnityScreen: always paint the lockscreen above, just add menu and onboard as exceptions | ||
926 | 2515 | |||
927 | 2516 | Some code cleanup, factorizing similar code. | ||
928 | 2517 | |||
929 | 2518 | 2014-05-02 Marco Trevisan (Treviño) <mail@3v1n0.net> | ||
930 | 2519 | |||
931 | 2520 | UnityWindow: add just one function that computes if a window can bypass lockscreen | ||
932 | 2521 | |||
933 | 2522 | 2014-05-02 Marco Trevisan (Treviño) <mail@3v1n0.net> | ||
934 | 2523 | |||
935 | 2524 | UnityScreen: use a better (and cheaper) way to recognize Onboard window | ||
936 | 2525 | |||
937 | 2526 | 2014-05-02 Marco Trevisan (Treviño) <mail@3v1n0.net> | ||
938 | 2527 | |||
939 | 2528 | UnityScreen: always paint the lockscreen above, just add menu and onboard as exceptions | ||
940 | 2529 | |||
941 | 2530 | 2014-06-06 Chris Townsend <christopher.townsend@canonical.com> | ||
942 | 2531 | |||
943 | 2532 | Modify debian/changleog to match what's in distro since a branch to fix a bug was not actually included in the Trusty SRU. | ||
944 | 2533 | |||
945 | 2534 | 2014-05-13 CI bot <ps-jenkins@lists.canonical.com> | ||
946 | 2535 | |||
947 | 2536 | Releasing 7.2.1+14.04.20140513-0ubuntu1 | ||
948 | 2537 | |||
949 | 2538 | 2014-05-13 Stephen M. Webb <stephen.webb@canonical.com> | ||
950 | 2539 | |||
951 | 2540 | released upstream micro-release 7.2.1 Fixes: 1221673, 1251193, 1291461, 1307748, 1312749, 1313280, 1317276 | ||
952 | 2541 | |||
953 | 2542 | 2014-05-13 Stephen M. Webb <stephen.webb@canonical.com> | ||
954 | 2543 | |||
955 | 2544 | release Unity 7.2.1 | ||
956 | 2545 | |||
957 | 2546 | 2014-05-13 Stephen M. Webb <stephen.webb@canonical.com> | ||
958 | 2547 | |||
959 | 2548 | debian/changelog: updated with additional lockscreen changes | ||
960 | 2549 | |||
961 | 2550 | 2014-05-13 Stephen M. Webb <stephen.webb@canonical.com> | ||
962 | 2551 | |||
963 | 2552 | added changelog for #1317276 | ||
964 | 2553 | |||
965 | 2554 | 2014-05-13 Stephen M. Webb <stephen.webb@canonical.com> | ||
966 | 2555 | |||
967 | 2556 | disabled precompiled headers on arm64 Ubuntu package builds | ||
968 | 2557 | |||
969 | 2558 | 2014-05-12 Stephen M. Webb <stephen.webb@canonical.com> | ||
970 | 2559 | |||
971 | 2560 | disabled precompiled headers for arm64 arch, it seems to cause random ICEs | ||
972 | 2561 | |||
973 | 2562 | 2014-05-13 Stephen M. Webb <stephen.webb@canonical.com> | ||
974 | 2563 | |||
975 | 2564 | lockscreen/LockScreenAccelerators.h: added required header for std:vector definition | ||
976 | 2565 | |||
977 | 2566 | 2014-05-12 Stephen M. Webb <stephen.webb@canonical.com> | ||
978 | 2567 | |||
979 | 2568 | added missing header for std::vector definition | ||
980 | 2569 | |||
981 | 2570 | 2014-05-13 Stephen M. Webb <stephen.webb@canonical.com> | ||
982 | 2571 | |||
983 | 2572 | added changelog for #1312749 | ||
984 | 2573 | |||
985 | 2574 | 2014-05-13 Brandon Schaefer <brandontschaefer@gmail.com> | ||
986 | 2575 | |||
987 | 2576 | Set the max width, so our static text wraps. So we don't end up rendering text out of the view area. | ||
988 | 2577 | |||
989 | 2578 | 2014-04-25 Jonas Schwabe | ||
990 | 2579 | |||
991 | 2580 | * Set the max width, so the static text wraps (and doesn't go out of the view!) | ||
992 | 2581 | |||
993 | 2582 | 2014-05-13 Stephen M. Webb <stephen.webb@canonical.com> | ||
994 | 2583 | |||
995 | 2584 | added changelog for #1307748 | ||
996 | 2585 | |||
997 | 2586 | 2014-05-13 Marco Trevisan (Treviño) <mail@3v1n0.net> | ||
998 | 2587 | |||
999 | 2588 | DebugDBusInterface: match properties if they are in the AP array form [<type>, <value>] | ||
1000 | 2589 | |||
1001 | 2590 | 2014-04-24 Marco Trevisan (Treviño) <mail@3v1n0.net> | ||
1002 | 2591 | |||
1003 | 2592 | DebugDBusInterface: GetPropertyValue should return a proper value only if we've a valid array | ||
1004 | 2593 | |||
1005 | 2594 | Improve debugging messages and fix leaks. | ||
1006 | 2595 | |||
1007 | 2596 | 2014-04-16 Marco Trevisan (Treviño) <mail@3v1n0.net> | ||
1008 | 2597 | |||
1009 | 2598 | DebugDBusInterface: match properties if they are in the AP array form [<type>, <value>] | ||
1010 | 2599 | |||
1011 | 2600 | 2014-05-13 Stephen M. Webb <stephen.webb@canonical.com> | ||
1012 | 2601 | |||
1013 | 2602 | added changelog for #1221673 | ||
1014 | 2603 | |||
1015 | 2604 | 2014-05-13 Marco Trevisan (Treviño) <mail@3v1n0.net> | ||
1016 | 2605 | |||
1017 | 2606 | PluginAdapter: make sure we don't try to call an invalid initiate/terminate callback function | ||
1018 | 2607 | |||
1019 | 2608 | 2014-04-30 Marco Trevisan (Treviño) <mail@3v1n0.net> | ||
1020 | 2609 | |||
1021 | 2610 | PluginAdapter: make sure we don't try to call an invalid initiate/terminate callback function | ||
1022 | 2611 | |||
1023 | 2612 | 2014-05-13 Stephen M. Webb <stephen.webb@canonical.com> | ||
1024 | 2613 | |||
1025 | 2614 | added changelog for #1313280 | ||
1026 | 2615 | |||
1027 | 2616 | 2014-05-13 Marco Trevisan (Treviño) <mail@3v1n0.net> | ||
1028 | 2617 | |||
1029 | 2618 | UnityScreen: always paint the lockscreen above, just add menu and onboard as exceptions | ||
1030 | 2619 | |||
1031 | 2620 | Some code cleanup, factorizing similar code. | ||
1032 | 2621 | |||
1033 | 2622 | 2014-05-02 Marco Trevisan (Treviño) <mail@3v1n0.net> | ||
1034 | 2623 | |||
1035 | 2624 | Mergin with trunk | ||
1036 | 2625 | |||
1037 | 2626 | 2014-04-29 Marco Trevisan (Treviño) <mail@3v1n0.net> | ||
1038 | 2627 | |||
1039 | 2628 | Merging with lp:~3v1n0/unity/lockscreen-keys-disable | ||
1040 | 2629 | |||
1041 | 2630 | 2014-04-25 Marco Trevisan (Treviño) <mail@3v1n0.net> | ||
1042 | 2631 | |||
1043 | 2632 | UnityScreen: Get the Hud initialization event if unity is locked | ||
1044 | 2633 | |||
1045 | 2634 | 2014-04-25 Marco Trevisan (Treviño) <mail@3v1n0.net> | ||
1046 | 2635 | |||
1047 | 2636 | UnityScreen: if the screen is grabbed when showing the Hud, wait for ungrab for a couple of seconds | ||
1048 | 2637 | |||
1049 | 2638 | 2014-04-25 Marco Trevisan (Treviño) <mail@3v1n0.net> | ||
1050 | 2639 | |||
1051 | 2640 | UnityScreen: don't try to show Dash/Hud if the screen is grabbed | ||
1052 | 2641 | |||
1053 | 2642 | Also move the dash opening out from LauncherController, and get rid of UBus | ||
1054 | 2643 | as first initialization source, that can only slow things down here. | ||
1055 | 2644 | |||
1056 | 2645 | 2014-04-25 Marco Trevisan (Treviño) <mail@3v1n0.net> | ||
1057 | 2646 | |||
1058 | 2647 | DashController: return a bool in ShowDash, wait for ungrab for 2 seconds maximum | ||
1059 | 2648 | |||
1060 | 2649 | Now if the screen is grabbed, we just wait a couple of seconds the ungrab-event. | ||
1061 | 2650 | If that happens in such timeframe then we show the dash, otherwise we ignore the request. | ||
1062 | 2651 | |||
1063 | 2652 | Also return a bool weather we've shown the dash or not. | ||
1064 | 2653 | |||
1065 | 2654 | 2014-04-24 Marco Trevisan (Treviño) <mail@3v1n0.net> | ||
1066 | 2655 | |||
1067 | 2656 | UnityScreen: notify grab also when the screen is not grabbed but we got a NotifyWhileGrabbed event | ||
1068 | 2657 | |||
1069 | 2658 | 2014-05-13 Stephen M. Webb <stephen.webb@canonical.com> | ||
1070 | 2659 | |||
1071 | 2660 | added changelog for #1251193 | ||
1072 | 2661 | |||
1073 | 2662 | 2014-05-13 Jinkyu Yi <jincreator@jincreator.net> | ||
1074 | 2663 | |||
1075 | 2664 | Dash: Fix problem at checking blacklisted unicode range | ||
1076 | 2665 | |||
1077 | 2666 | 2014-05-04 Jinkyu Yi <jincreator@jincreator.net> | ||
1078 | 2667 | |||
1079 | 2668 | Dash: Fix problem at checking blacklisted unicode range. Fixes: 1251193 | ||
1080 | 2669 | |||
1081 | 2670 | 2014-05-13 Stephen M. Webb <stephen.webb@canonical.com> | ||
1082 | 2671 | |||
1083 | 2672 | added changelog for #1291461 | ||
1084 | 2673 | |||
1085 | 2674 | 2014-05-13 William Hua <william.hua@canonical.com> | ||
1086 | 2675 | |||
1087 | 2676 | added proper support for modifier-only shortcuts on the lock screen | ||
1088 | 2677 | |||
1089 | 2678 | 2014-04-30 William Hua <william.hua@canonical.com> | ||
1090 | 2679 | |||
1091 | 2680 | Treat Meta modifier as Alt. | ||
1092 | 2681 | |||
1093 | 2682 | 2014-04-30 William Hua <william.hua@canonical.com> | ||
1094 | 2683 | |||
1095 | 2684 | Minor revisions. | ||
1096 | 2685 | |||
1097 | 2686 | 2014-04-29 William Hua <william.hua@canonical.com> | ||
1098 | 2687 | |||
1099 | 2688 | Destroy accelerator controller between locks. | ||
1100 | 2689 | |||
1101 | 2690 | 2014-04-29 William Hua <william.hua@canonical.com> | ||
1102 | 2691 | |||
1103 | 2692 | Remove gotos. | ||
1104 | 2693 | |||
1105 | 2694 | 2014-04-18 William Hua <william.hua@canonical.com> | ||
1106 | 2695 | |||
1107 | 2696 | Make a separate controller just for accelerators. | ||
1108 | 2697 | |||
1109 | 2698 | 2014-04-18 William Hua <william.hua@canonical.com> | ||
1110 | 2699 | |||
1111 | 2700 | Rip everything out and start anew. | ||
1112 | 2701 | |||
1113 | 2702 | 2014-04-15 William Hua <william.hua@canonical.com> | ||
1114 | 2703 | |||
1115 | 2704 | Add proper support for modifier-only shortcuts on the lock screen. | ||
1116 | 2705 | |||
1117 | 2706 | 2014-05-02 Marc Deslauriers <marc.deslauriers@ubuntu.com> | ||
1118 | 2707 | |||
1119 | 2708 | debian/changelog: sync with distro | ||
1120 | 2709 | |||
1121 | 2710 | 2014-05-02 Marco Trevisan (Treviño) <mail@3v1n0.net> | ||
1122 | 2711 | |||
1123 | 2712 | PanelService: emit an invalid EntryActivated signal if the menu hasn't actually been shown | ||
1124 | 2713 | |||
1125 | 2714 | In addition, if the menu is not visible after the first popup call, try to show a menu | ||
1126 | 2715 | without keyboard focus. This will make possible to see menus also when there's a key-grab | ||
1127 | 2716 | (although they will be without keyboard support). | ||
1128 | 2717 | |||
1129 | 2718 | Finally, reset the menu state, if that failed. | ||
1130 | 2719 | |||
1131 | 2720 | 2014-04-29 Marco Trevisan (Treviño) <mail@3v1n0.net> | ||
1132 | 2721 | |||
1133 | 2722 | LockScreenPanel: if a menu is opened, and the screen is not grabbed, give the grab back to the Shield. | ||
1134 | 2723 | |||
1135 | 2724 | 2014-04-29 Marco Trevisan (Treviño) <mail@3v1n0.net> | ||
1136 | 2725 | |||
1137 | 2726 | PanelService: cleanup the menu popup code, avoid unnecessary calls to gtk_widget_is_visible | ||
1138 | 2727 | |||
1139 | 2728 | 2014-04-29 Marco Trevisan (Treviño) <mail@3v1n0.net> | ||
1140 | 2729 | |||
1141 | 2730 | PanelService: if the menu is not visible, try to show a menu without keyboard focus | ||
1142 | 2731 | |||
1143 | 2732 | This will make possible to see menus also when there's a key-grab. | ||
1144 | 2733 | |||
1145 | 2734 | 2014-04-29 Marco Trevisan (Treviño) <mail@3v1n0.net> | ||
1146 | 2735 | |||
1147 | 2736 | PanelService: emit an invalid EntryActivated signal if the menu has not actually been shown | ||
1148 | 2737 | |||
1149 | 2738 | And also reset the menu state, if that failed | ||
1150 | 2739 | |||
1151 | 2740 | 2014-05-02 Marco Trevisan (Treviño) <mail@3v1n0.net> | ||
1152 | 2741 | |||
1153 | 2742 | UnityScreen: toggle activation of all the unity compiz actions when locking the screen | ||
1154 | 2743 | |||
1155 | 2744 | Also, make sure that the lockscreen views are treated as "always-on-front" windows by nux | ||
1156 | 2745 | (and this applies to both visibility and events). | ||
1157 | 2746 | |||
1158 | 2747 | 2014-04-30 Marco Trevisan (Treviño) <mail@3v1n0.net> | ||
1159 | 2748 | |||
1160 | 2749 | TestSessionController: verify correctly the new Hide method | ||
1161 | 2750 | |||
1162 | 2751 | 2014-04-30 Marco Trevisan (Treviño) <mail@3v1n0.net> | ||
1163 | 2752 | |||
1164 | 2753 | LockScreenController: set the primary shield as the always on front window when another basewindow hides | ||
1165 | 2754 | |||
1166 | 2755 | That window might have set itself as the always on front window, so we should restore our role | ||
1167 | 2756 | |||
1168 | 2757 | 2014-04-30 Marco Trevisan (Treviño) <mail@3v1n0.net> | ||
1169 | 2758 | |||
1170 | 2759 | SessionController: set the dialog as the nux always on front view | ||
1171 | 2760 | |||
1172 | 2761 | 2014-04-30 Marco Trevisan (Treviño) <mail@3v1n0.net> | ||
1173 | 2762 | |||
1174 | 2763 | SessionController: delete the views when hidden, we don't need to keep them around | ||
1175 | 2764 | |||
1176 | 2765 | 2014-04-30 Marco Trevisan (Treviño) <mail@3v1n0.net> | ||
1177 | 2766 | |||
1178 | 2767 | UnityScreen: make sure we reset all the unity views before locking | ||
1179 | 2768 | |||
1180 | 2769 | 2014-04-30 Marco Trevisan (Treviño) <mail@3v1n0.net> | ||
1181 | 2770 | |||
1182 | 2771 | UnityScreen: also send the terminate action to Alt pressure on lock | ||
1183 | 2772 | |||
1184 | 2773 | 2014-04-30 Marco Trevisan (Treviño) <mail@3v1n0.net> | ||
1185 | 2774 | |||
1186 | 2775 | UnityScreen: toggle all the unity (and thus the Gnome) key bindings when locking | ||
1187 | 2776 | |||
1188 | 2777 | 2014-04-29 Marco Trevisan (Treviño) <mail@3v1n0.net> | ||
1189 | 2778 | |||
1190 | 2779 | LockScreenShield: don't try to regrab again if we've been just requested to ungrab | ||
1191 | 2780 | |||
1192 | 2781 | 2014-04-29 Marco Trevisan (Treviño) <mail@3v1n0.net> | ||
1193 | 2782 | |||
1194 | 2783 | LockScreenShield: wait for the next ungrab-event if we can't grab when panel is not active anymore | ||
1195 | 2784 | |||
1196 | 2785 | 2014-04-29 Marco Trevisan (Treviño) <mail@3v1n0.net> | ||
1197 | 2786 | |||
1198 | 2787 | UnityScreen: toggle activation of all the unity compiz actions when locking the screen | ||
1199 | 2788 | |||
1200 | 2789 | 2014-04-29 Marco Trevisan (Treviño) <mail@3v1n0.net> | ||
1201 | 2790 | |||
1202 | 2791 | LockScreenController: set the blank window or the primary shield as the always-on-front window | ||
1203 | 2792 | |||
1204 | 2793 | In this way nux won't draw anything above it, nor will pass events to the underneath windows | ||
1205 | 2794 | |||
1206 | 2795 | 2014-04-23 CI bot <ps-jenkins@lists.canonical.com> | ||
1207 | 2796 | |||
1208 | 2797 | Releasing 7.2.0+14.04.20140423-0ubuntu1 | ||
1209 | 2798 | |||
1210 | 2799 | 2014-04-23 Chris Townsend <christopher.townsend@canonical.com> | ||
1211 | 2800 | |||
1212 | 2801 | When setting the STARTING quirk for Application Launcher icons, only do it for the monitor specified in the passed in args. Fixes: 1291362 | ||
1213 | 2802 | |||
1214 | 2803 | 2014-04-21 Chris Townsend <christopher.townsend@canonical.com> | ||
1215 | 2804 | |||
1216 | 2805 | When setting the STARTING quirk for Application Launcher icons, only do it for the monitor specified in the passed in args. | ||
1217 | 2806 | |||
1218 | 2807 | 2014-04-23 Andrea Azzarone <azzaronea@gmail.com> | ||
1219 | 2808 | |||
1220 | 2809 | Close dash/hud/etc. on signal locked too. Fixes: 1308850 | ||
1221 | 2810 | |||
1222 | 2811 | 2014-04-17 Andrea Azzarone <azzaronea@gmail.com> | ||
1223 | 2812 | |||
1224 | 2813 | Use prompt_lock_requested signal. | ||
1225 | 2814 | |||
1226 | 2815 | 2014-04-17 Andrea Azzarone <azzaronea@gmail.com> | ||
1227 | 2816 | |||
1228 | 2817 | Close dash/hud/etc. on signal locked too. | ||
1229 | 2818 | |||
1230 | 2819 | 2014-04-17 Andrea Azzarone <azzaronea@gmail.com> | ||
1231 | 2820 | |||
1232 | 2821 | Close dash/hud/etc. on signal locked too. | ||
1233 | 2822 | |||
1234 | 2823 | 2014-04-16 CI bot <ps-jenkins@lists.canonical.com> | ||
1235 | 2824 | |||
1236 | 2825 | Releasing 7.2.0+14.04.20140416-0ubuntu1 | ||
1237 | 2826 | |||
1238 | 2827 | 2014-04-16 Andrea Azzarone <azzaronea@gmail.com> | ||
1239 | 2828 | |||
1240 | 2829 | Do not allow to activate twice the same entry! Fixes: 1308572 | ||
1241 | 2830 | |||
1242 | 2831 | 2014-04-16 Andrea Azzarone <azzaronea@gmail.com> | ||
1243 | 2832 | |||
1244 | 2833 | Minor change. | ||
1245 | 2834 | |||
1246 | 2835 | 2014-04-16 Andrea Azzarone <azzaronea@gmail.com> | ||
1247 | 2836 | |||
1248 | 2837 | Fix ident. | ||
1249 | 2838 | |||
1250 | 2839 | 2014-04-16 Andrea Azzarone <azzaronea@gmail.com> | ||
1251 | 2840 | |||
1252 | 2841 | Do not allow to activate two times the same entry! | ||
1253 | 2842 | |||
1254 | 2843 | 2014-04-16 Marco Trevisan (Treviño) <mail@3v1n0.net> | ||
1255 | 2844 | |||
1256 | 2845 | UnityScreen: save a locked.stamp file when locking/unlocking, to relock on startup | ||
1257 | 2846 | |||
1258 | 2847 | This makes unity to relocks if it was locked before crashing... Fixes: 1308572 | ||
1259 | 2848 | |||
1260 | 2849 | 2014-04-17 Marco Trevisan (Treviño) <mail@3v1n0.net> | ||
1261 | 2850 | |||
1262 | 2851 | UnityScreen: Save lock file stamp in $XDG_RUNTIME_DIR, cleanup it on destroy | ||
1263 | 2852 | |||
1264 | 2853 | 2014-04-17 Marco Trevisan (Treviño) <mail@3v1n0.net> | ||
1265 | 2854 | |||
1266 | 2855 | DesktopUtilities: add GetUserRuntimeDirectory to fetch $XDG_RUNTIME_DIR | ||
1267 | 2856 | |||
1268 | 2857 | 2014-04-16 Marco Trevisan (Treviño) <mail@3v1n0.net> | ||
1269 | 2858 | |||
1270 | 2859 | UnityScreen: save a locked.stamp file when locking/unlocking, to relock on startup | ||
1271 | 2860 | |||
1272 | 2861 | 2014-04-16 Marco Trevisan (Treviño) <mail@3v1n0.net> | ||
1273 | 2862 | |||
1274 | 2863 | DesktopUtilities: add GetCacheDirectory, to fetch and create an unity cache dir | ||
1275 | 2864 | |||
1276 | 2865 | 2014-04-14 CI bot <ps-jenkins@lists.canonical.com> | ||
1277 | 2866 | |||
1278 | 2867 | Releasing 7.2.0+14.04.20140414.1-0ubuntu1 | ||
1279 | 2868 | |||
1280 | 2869 | 2014-04-14 Marco Trevisan (Treviño) <mail@3v1n0.net> | ||
1281 | 2870 | |||
1282 | 2871 | |||
1283 | 2872 | CompizUtils: only shadow-decorate alpha windows that have full decorations as well | ||
1284 | 2873 | |||
1285 | 2874 | Since alpha windows might have custom shapes, it's safer not to shadow-decorate them | ||
1286 | 2875 | unless they don't provide, for sure, a full decoration. | ||
1287 | 2876 | |||
1288 | 2877 | This fixes, between the others, the unity force-quit dialog. Fixes: 1281825, 1307524 | ||
1289 | 2878 | |||
1290 | 2879 | 2014-04-14 Marco Trevisan (Treviño) <mail@3v1n0.net> | ||
1291 | 2880 | |||
1292 | 2881 | CompizUtils: only shadow-decorate alpha windows that have full decorations as well | ||
1293 | 2882 | |||
1294 | 2883 | Since alpha windows might have custom shapes, it's safer not to shadow-decorate them | ||
1295 | 2884 | unless they don't provide, for sure, a full decoration. | ||
1296 | 2885 | |||
1297 | 2886 | This fixes, between the others, the unity force-quit dialog. | ||
1298 | 2887 | |||
1299 | 2888 | 2014-04-14 Sami Jaktholm <sjakthol@outlook.com> | ||
1300 | 2889 | |||
1301 | 2890 | Scale: Correctly detect the activation of a scale and set scale_just_activated_ | ||
1302 | 2891 | to true properly. Fixes: 1288789 | ||
1303 | 2892 | |||
1304 | 2893 | 2014-04-11 Sami Jaktholm <sjakthol@outlook.com> | ||
1305 | 2894 | |||
1306 | 2895 | Scale: Correctly detect the activation of a scale and set scale_just_activated_ | ||
1307 | 2896 | to true properly. | ||
1308 | 2897 | |||
1309 | 2898 | 2014-04-14 Alfred Neumayer <dev.beidl@gmail.com> | ||
1310 | 2899 | |||
1311 | 2900 | Security issue: Gestures on the lock screen allow to peek inside running applications. | ||
1312 | 2901 | As with keyboard input, gestures should be blocked while the screen is locked. Fixes: 1303041, 1306973 | ||
1313 | 2902 | |||
1314 | 2903 | 2014-04-14 Alfred Neumayer <dev.beidl@gmail.com> | ||
1315 | 2904 | |||
1316 | 2905 | Stop hiding the launchers parent window for now as it breaks urgent icon wiggling and hint shadow. | ||
1317 | 2906 | |||
1318 | 2907 | 2014-04-13 Alfred Neumayer <dev.beidl@gmail.com> | ||
1319 | 2908 | |||
1320 | 2909 | Don't queue up drawing if the gestures are ignored. | ||
1321 | 2910 | |||
1322 | 2911 | 2014-04-12 Alfred Neumayer <dev.beidl@gmail.com> | ||
1323 | 2912 | |||
1324 | 2913 | Make the lockscreen_controller accessible to other classes and don't allow 4 finger gestures in the lock screen. | ||
1325 | 2914 | |||
1326 | 2915 | 2014-04-12 Alfred Neumayer <dev.beidl@gmail.com> | ||
1327 | 2916 | |||
1328 | 2917 | Should not even try to show the switcher if the screen is locked. | ||
1329 | 2918 | |||
1330 | 2919 | 2014-04-12 Alfred Neumayer <dev.beidl@gmail.com> | ||
1331 | 2920 | |||
1332 | 2921 | Forgot a variable | ||
1333 | 2922 | |||
1334 | 2923 | 2014-04-12 Alfred Neumayer <dev.beidl@gmail.com> | ||
1335 | 2924 | |||
1336 | 2925 | Also, don't hide the launcher window if expo or scale are active. | ||
1337 | 2926 | |||
1338 | 2927 | 2014-04-12 Alfred Neumayer <dev.beidl@gmail.com> | ||
1339 | 2928 | |||
1340 | 2929 | Really shouldn't hide the launcher window if the dash is open. | ||
1341 | 2930 | |||
1342 | 2931 | 2014-04-11 CI bot <ps-jenkins@lists.canonical.com> | ||
1343 | 2932 | |||
1344 | 2933 | Releasing 7.2.0+14.04.20140411-0ubuntu1 | ||
1345 | 2934 | |||
1346 | 2935 | 2014-04-11 Sami Jaktholm <sjakthol@outlook.com> | ||
1347 | 2936 | |||
1348 | 2937 | Lockscreen: Give proper grabs to the shield before releasing blank_window_. Fixes: 1306417 | ||
1349 | 2938 | |||
1350 | 2939 | 2014-04-11 Sami Jaktholm <sjakthol@outlook.com> | ||
1351 | 2940 | |||
1352 | 2941 | Lockscreen: Give proper grabs to the shield before releasing blank_window_. | ||
1353 | 2942 | |||
1354 | 2943 | 2014-04-10 CI bot <ps-jenkins@lists.canonical.com> | ||
1355 | 2944 | |||
1356 | 2945 | Releasing 7.2.0+14.04.20140410.1-0ubuntu1 | ||
1357 | 2946 | |||
1358 | 2947 | 2014-04-10 William Hua <william.hua@canonical.com> | ||
1359 | 2948 | |||
1360 | 2949 | Enable sound buttons and input source switching under lock screen. | ||
1361 | 2950 | |||
1362 | 2951 | 2014-04-11 William Hua <william.hua@canonical.com> | ||
1363 | 2952 | |||
1364 | 2953 | Clean up. | ||
1365 | 2954 | |||
1366 | 2955 | 2014-04-11 William Hua <william.hua@canonical.com> | ||
1367 | 2956 | |||
1368 | 2957 | Fix merge errors. | ||
1369 | 2958 | |||
1370 | 2959 | 2014-04-11 William Hua <william.hua@canonical.com> | ||
1371 | 2960 | |||
1372 | 2961 | Minor changes. | ||
1373 | 2962 | |||
1374 | 2963 | 2014-04-11 William Hua <william.hua@canonical.com> | ||
1375 | 2964 | |||
1376 | 2965 | Merge trunk. | ||
1377 | 2966 | |||
1378 | 2967 | 2014-04-11 William Hua <william.hua@canonical.com> | ||
1379 | 2968 | |||
1380 | 2969 | Enable sound and input source shortcuts on lock screen. | ||
1381 | 2970 | |||
1382 | 2971 | 2014-04-10 CI bot <ps-jenkins@lists.canonical.com> | ||
1383 | 2972 | |||
1384 | 2973 | LockScreen: add ability to show without fading in on some system calls | ||
1385 | 2974 | |||
1386 | 2975 | Also, if locking is not enabled, calling Lock causes the screensaver to be initiated. | ||
1387 | 2976 | Many cleanups and misc fixes. Fixes: 1292575, 1305194 | ||
1388 | 2977 | |||
1389 | 2978 | 2014-04-10 Eleni Maria Stea <elenimaria.stea@canonical.com> | ||
1390 | 2979 | |||
1391 | 2980 | It fixes the quicklist menu appearance. Fixes: 1298859 | ||
1392 | 2981 | |||
1393 | 2982 | 2014-04-09 Eleni Maria Stea <elenimaria.stea@canonical.com> | ||
1394 | 2983 | |||
1395 | 2984 | fixed quicklist scaling | ||
1396 | 2985 | |||
1397 | 2986 | 2014-04-10 Brandon Schaefer <brandontschaefer@gmail.com> | ||
1398 | 2987 | |||
1399 | 2988 | When we detect caps lock, or caps lock is pressed, render a warning icon to show its on. Fixes: 1291737 | ||
1400 | 2989 | |||
1401 | 2990 | 2014-04-09 Brandon Schaefer <brandontschaefer@gmail.com> | ||
1402 | 2991 | |||
1403 | 2992 | * Make sure we update the caps lock detector when we change primary sheilds | ||
1404 | 2993 | |||
1405 | 2994 | 2014-04-01 Brandon Schaefer <brandontschaefer@gmail.com> | ||
1406 | 2995 | |||
1407 | 2996 | * Get rid of magic numbers, have to get the width of the cached | ||
1408 | 2997 | spin icon width, so we can place the warning icon in the right spot | ||
1409 | 2998 | |||
1410 | 2999 | 2014-04-01 Brandon Schaefer <brandontschaefer@gmail.com> | ||
1411 | 3000 | |||
1412 | 3001 | * Check if caps is on each time we make a new Prompt, as it can change | ||
1413 | 3002 | when authenticating, and we need to know. | ||
1414 | 3003 | |||
1415 | 3004 | 2014-04-01 Brandon Schaefer <brandontschaefer@gmail.com> | ||
1416 | 3005 | |||
1417 | 3006 | * Detect if caps lock is on, and check if caps lock is pressed. | ||
1418 | 3007 | If so, then render a warning icon. | ||
1419 | 3008 | |||
1420 | 3009 | 2014-04-10 Alfred Neumayer <dev.beidl@gmail.com> | ||
1421 | 3010 | |||
1422 | 3011 | If the dash has not been opened before, a 4 finger tap will result in a dash with no selected scope. | ||
1423 | 3012 | Instead, set up the window and view of the dash by sending DASH_ABOUT_TO_SHOW (same happens when hovering the mouse pointer over the BFB icon) | ||
1424 | 3013 | and open the home scope. Fixes: 1303468 | ||
1425 | 3014 | |||
1426 | 3015 | 2014-04-10 Alfred Neumayer <dev.beidl@gmail.com> | ||
1427 | 3016 | |||
1428 | 3017 | UnityGestureTarget.cpp: Remove spaces | ||
1429 | 3018 | |||
1430 | 3019 | 2014-04-10 Alfred Neumayer <dev.beidl@gmail.com> | ||
1431 | 3020 | |||
1432 | 3021 | 4 finger tap: Set up the dash window and its view, show the home scope afterwards. | ||
1433 | 3022 | |||
1434 | 3023 | 2014-04-10 Alfred Neumayer <dev.beidl@gmail.com> | ||
1435 | 3024 | |||
1436 | 3025 | Launcher: Show and hide the launcher window OnDragUpdate() to fix the gesture animations Fixes: 1303141 | ||
1437 | 3026 | |||
1438 | 3027 | 2014-04-10 Alfred Neumayer <dev.beidl@gmail.com> | ||
1439 | 3028 | |||
1440 | 3029 | Only hide/unhide launcher window if autohide mode is on. | ||
1441 | 3030 | |||
1442 | 3031 | 2014-04-10 Alfred Neumayer <dev.beidl@gmail.com> | ||
1443 | 3032 | |||
1444 | 3033 | Actually, Hide/Un-Hide launcher window in OnDragUpdate. | ||
1445 | 3034 | |||
1446 | 3035 | 2014-04-10 Alfred Neumayer <dev.beidl@gmail.com> | ||
1447 | 3036 | |||
1448 | 3037 | Un-hide launcher window when dragging out using 4 finger gesture: https://bugs.launchpad.net/unity/+bug/1303141 | ||
1449 | 3038 | |||
1450 | 3039 | 2014-04-10 Alfred Neumayer <dev.beidl@gmail.com> | ||
1451 | 3040 | |||
1452 | 3041 | Alt-Tab has always respected the alt-tab-bias-viewport setting, but the 3-finger gesture to switch between windows has not, even though it does the same thing. | ||
1453 | 3042 | They should behave the same way depending on the CCSM setting. Fixes: 1303060 | ||
1454 | 3043 | |||
1455 | 3044 | 2014-04-07 Alfred Neumayer <dev.beidl@gmail.com> | ||
1456 | 3045 | |||
1457 | 3046 | Make 3 finger window switch gesture respect the alt-tab-bias-viewport setting by moving the check to SetUpAndShowSwitcher. | ||
1458 | 3047 | |||
1459 | 3048 | 2014-04-10 Sami Jaktholm <sjakthol@outlook.com> | ||
1460 | 3049 | |||
1461 | 3050 | Shortcuts: Listen and react to view close requests. Fixes: 1297842 | ||
1462 | 3051 | |||
1463 | 3052 | 2014-04-05 Sami Jaktholm <sjakthol@outlook.com> | ||
1464 | 3053 | |||
1465 | 3054 | Shortcuts: Listen and react to view close requests. | ||
1466 | 3055 | |||
1467 | 3056 | 2014-04-10 Marco Trevisan (Treviño) <mail@3v1n0.net> | ||
1468 | 3057 | |||
1469 | 3058 | DecorationsGrabEdge, PanelMenuView: perform proper WM action on clicks, based on user settings Fixes: 1283849 | ||
1470 | 3059 | |||
1471 | 3060 | 2014-04-02 Marco Trevisan (Treviño) <mail@3v1n0.net> | ||
1472 | 3061 | |||
1473 | 3062 | PanelMenuView: use generic actions based on WM settings for double,middle and right clicks | ||
1474 | 3063 | |||
1475 | 3064 | 2014-04-02 Marco Trevisan (Treviño) <mail@3v1n0.net> | ||
1476 | 3065 | |||
1477 | 3066 | WindowManager: add methods to {Horizontally,Vertically}Maximize a window | ||
1478 | 3067 | |||
1479 | 3068 | 2014-04-02 Marco Trevisan (Treviño) <mail@3v1n0.net> | ||
1480 | 3069 | |||
1481 | 3070 | WindowManager: add window shading methods | ||
1482 | 3071 | |||
1483 | 3072 | 2014-04-02 Marco Trevisan (Treviño) <mail@3v1n0.net> | ||
1484 | 3073 | |||
1485 | 3074 | DecorationsGrabEdge: perform proper WM action on clicks, based on user settings | ||
1486 | 3075 | |||
1487 | 3076 | 2014-04-02 Marco Trevisan (Treviño) <mail@3v1n0.net> | ||
1488 | 3077 | |||
1489 | 3078 | DecorationStyle: add WindowManagerAction to get WM click options | ||
1490 | 3079 | |||
1491 | 3080 | 2014-04-02 Marco Trevisan (Treviño) <mail@3v1n0.net> | ||
1492 | 3081 | |||
1493 | 3082 | Merging with lp:~3v1n0/unity/right-left-click-maximize-fix | ||
1494 | 3083 | |||
1495 | 3084 | 2014-04-10 CI bot <ps-jenkins@lists.canonical.com> | ||
1496 | 3085 | |||
1497 | 3086 | Releasing 7.2.0+14.04.20140410-0ubuntu1 | ||
1498 | 3087 | |||
1499 | 3088 | 2014-04-10 CI bot <ps-jenkins@lists.canonical.com> | ||
1500 | 3089 | |||
1501 | 3090 | Session: Don't lock the screen if screen locking is disabled by | ||
1502 | 3091 | org.gnome.desktop.lockdown disable-lock-screen. Fixes: 1292154 | ||
1503 | 3092 | |||
1504 | 3093 | 2014-04-10 CI bot <ps-jenkins@lists.canonical.com> | ||
1505 | 3094 | |||
1506 | 3095 | ScreenSaverDBusManager: start/stop gnome-screensaver if we don't/do handle the locking | ||
1507 | 3096 | |||
1508 | 3097 | This allows to just use the fallback gnome-screensaver lockscreen if we need to use it. Fixes: 1303712 | ||
1509 | 3098 | |||
1510 | 3099 | 2014-04-10 CI bot <ps-jenkins@lists.canonical.com> | ||
1511 | 3100 | |||
1512 | 3101 | GnomeSessionManager: impelement gnome session dbus interface and a fader to blank the screen Fixes: 1291088, 1292041, 1292078, 1292446, 1292451 | ||
1513 | 3102 | |||
1514 | 3103 | 2014-04-10 Marco Trevisan (Treviño) <mail@3v1n0.net> | ||
1515 | 3104 | |||
1516 | 3105 | LockScreen: add ability to show without fading in on some system calls | ||
1517 | 3106 | |||
1518 | 3107 | Also, if locking is not enabled, calling Lock causes the screensaver to be initiated. | ||
1519 | 3108 | Many cleanups and misc fixes. Fixes: 1292575, 1305194 | ||
1520 | 3109 | |||
1521 | 3110 | 2014-04-10 Marco Trevisan (Treviño) <mail@3v1n0.net> | ||
1522 | 3111 | |||
1523 | 3112 | LockScreenController: fire screensaver_post_lock_timeout_ when the view is fully visible | ||
1524 | 3113 | |||
1525 | 3114 | 2014-04-10 Marco Trevisan (Treviño) <mail@3v1n0.net> | ||
1526 | 3115 | |||
1527 | 3116 | GnomeSessionManager: if it's impossible to lock a session, start the screensaver on lock | ||
1528 | 3117 | |||
1529 | 3118 | This is what most of apps expect, and thus we do that. Although it's not really that coherent. | ||
1530 | 3119 | |||
1531 | 3120 | 2014-04-10 Marco Trevisan (Treviño) <mail@3v1n0.net> | ||
1532 | 3121 | |||
1533 | 3122 | SessionManager: add ScreenSaver{Activate,Deactivate} and relevant signals and export them | ||
1534 | 3123 | |||
1535 | 3124 | Update LockScreenController and dbus apis to match this | ||
1536 | 3125 | |||
1537 | 3126 | 2014-04-10 Marco Trevisan (Treviño) <mail@3v1n0.net> | ||
1538 | 3127 | |||
1539 | 3128 | LockScreenController: remove some racy code, avoid to emit multiple signals | ||
1540 | 3129 | |||
1541 | 3130 | And fix pre-lock blank window | ||
1542 | 3131 | |||
1543 | 3132 | 2014-04-10 Marco Trevisan (Treviño) <mail@3v1n0.net> | ||
1544 | 3133 | |||
1545 | 3134 | LockScreenController: increase the lockscreen timeout wait to be bigger to a frame duration | ||
1546 | 3135 | |||
1547 | 3136 | 2014-04-10 Marco Trevisan (Treviño) <mail@3v1n0.net> | ||
1548 | 3137 | |||
1549 | 3138 | SessionDBusManager: export PromptLock method on the dbus | ||
1550 | 3139 | |||
1551 | 3140 | 2014-04-10 Marco Trevisan (Treviño) <mail@3v1n0.net> | ||
1552 | 3141 | |||
1553 | 3142 | BackgroundSettings: don't create new panel style instances, use the actual instance | ||
1554 | 3143 | |||
1555 | 3144 | 2014-04-10 Marco Trevisan (Treviño) <mail@3v1n0.net> | ||
1556 | 3145 | |||
1557 | 3146 | ScreenSaverDBusManager: get rid of the old active_ bool variable, that caused undefined behavior | ||
1558 | 3147 | |||
1559 | 3148 | 2014-04-09 Marco Trevisan (Treviño) <mail@3v1n0.net> | ||
1560 | 3149 | |||
1561 | 3150 | LockScreenController: even more cleanup, move blank window grabbing to own function | ||
1562 | 3151 | |||
1563 | 3152 | 2014-04-09 Marco Trevisan (Treviño) <mail@3v1n0.net> | ||
1564 | 3153 | |||
1565 | 3154 | UnityWindow: we need to paint also the decorations of the windows, when in lock-mode | ||
1566 | 3155 | |||
1567 | 3156 | Othewise their texture won't be rebuilt and this will lead to wrong textures. | ||
1568 | 3157 | Also, we don't need to damage the screen when lock opacity changes as it's done by nux. | ||
1569 | 3158 | |||
1570 | 3159 | 2014-04-09 Marco Trevisan (Treviño) <mail@3v1n0.net> | ||
1571 | 3160 | |||
1572 | 3161 | LockScreenController: also hide BlankWindow on mouse and keyboard down events | ||
1573 | 3162 | |||
1574 | 3163 | 2014-04-09 Marco Trevisan (Treviño) <mail@3v1n0.net> | ||
1575 | 3164 | |||
1576 | 3165 | LockScreenController: show a blank window unless we don't have the lockscreen ready on prompt requests | ||
1577 | 3166 | |||
1578 | 3167 | 2014-04-09 Marco Trevisan (Treviño) <mail@3v1n0.net> | ||
1579 | 3168 | |||
1580 | 3169 | SessionDBusManager: add support for "PromptLock" | ||
1581 | 3170 | |||
1582 | 3171 | 2014-04-09 Marco Trevisan (Treviño) <mail@3v1n0.net> | ||
1583 | 3172 | |||
1584 | 3173 | GnomeSessionManager: use prompt lockscreen on logind lock requests | ||
1585 | 3174 | |||
1586 | 3175 | 2014-04-09 Marco Trevisan (Treviño) <mail@3v1n0.net> | ||
1587 | 3176 | |||
1588 | 3177 | LockScreenController: add support to PromptLockScreen | ||
1589 | 3178 | |||
1590 | 3179 | 2014-04-09 Marco Trevisan (Treviño) <mail@3v1n0.net> | ||
1591 | 3180 | |||
1592 | 3181 | SessionManager: add PromptLockScreen method and signal, to require a fast lock (with no fading) | ||
1593 | 3182 | |||
1594 | 3183 | 2014-04-09 Marco Trevisan (Treviño) <mail@3v1n0.net> | ||
1595 | 3184 | |||
1596 | 3185 | Merging with lp:~sjakthol/unity/fix-1292154 | ||
1597 | 3186 | |||
1598 | 3187 | 2014-04-06 Sami Jaktholm <sjakthol@outlook.com> | ||
1599 | 3188 | |||
1600 | 3189 | Don't cache the value and watch for changes. Check the setting every time instead. | ||
1601 | 3190 | |||
1602 | 3191 | 2014-04-06 Sami Jaktholm <sjakthol@outlook.com> | ||
1603 | 3192 | |||
1604 | 3193 | Session: Don't lock the screen if screen locking is disabled by | ||
1605 | 3194 | org.gnome.desktop.lockdown disable-lock-screen. | ||
1606 | 3195 | |||
1607 | 3196 | 2014-04-09 Marco Trevisan (Treviño) <mail@3v1n0.net> | ||
1608 | 3197 | |||
1609 | 3198 | Merging with parent | ||
1610 | 3199 | |||
1611 | 3200 | 2014-04-09 Marco Trevisan (Treviño) <mail@3v1n0.net> | ||
1612 | 3201 | |||
1613 | 3202 | LockScreenController: make sure whe hide the blank window on unlock | ||
1614 | 3203 | |||
1615 | 3204 | 2014-04-09 Marco Trevisan (Treviño) <mail@3v1n0.net> | ||
1616 | 3205 | |||
1617 | 3206 | Merging with lp:~laney/unity/g-s-replace | ||
1618 | 3207 | |||
1619 | 3208 | Remves the ugly killall | ||
1620 | 3209 | |||
1621 | 3210 | 2014-04-09 Iain Lane <iain@orangesquash.org.uk> | ||
1622 | 3211 | |||
1623 | 3212 | Take over as the owner of the gnome-screensaver interface, if necessary. | ||
1624 | 3213 | |||
1625 | 3214 | 2014-04-09 Iain Lane <iain@orangesquash.org.uk> | ||
1626 | 3215 | |||
1627 | 3216 | Allow skipping of the tests with DEB_BUILD_OPTIONS=nocheck | ||
1628 | 3217 | |||
1629 | 3218 | 2014-04-09 Marco Trevisan (Treviño) <mail@3v1n0.net> | ||
1630 | 3219 | |||
1631 | 3220 | Merging with parent branch | ||
1632 | 3221 | |||
1633 | 3222 | 2014-04-09 Marco Trevisan (Treviño) <mail@3v1n0.net> | ||
1634 | 3223 | |||
1635 | 3224 | LockScreenController: add ShowBlankWindow method | ||
1636 | 3225 | |||
1637 | 3226 | 2014-04-09 Marco Trevisan (Treviño) <mail@3v1n0.net> | ||
1638 | 3227 | |||
1639 | 3228 | UnityShell: ops, remove wrong change | ||
1640 | 3229 | |||
1641 | 3230 | 2014-04-09 Marco Trevisan (Treviño) <mail@3v1n0.net> | ||
1642 | 3231 | |||
1643 | 3232 | Merging with parent branch | ||
1644 | 3233 | |||
1645 | 3234 | 2014-04-09 Marco Trevisan (Treviño) <mail@3v1n0.net> | ||
1646 | 3235 | |||
1647 | 3236 | LockScreenController: start the screensaver after few seconds that the user has locked his session, if there's no more interaction | ||
1648 | 3237 | |||
1649 | 3238 | 2014-04-09 Marco Trevisan (Treviño) <mail@3v1n0.net> | ||
1650 | 3239 | |||
1651 | 3240 | LockScreenShield: emit a signal when we receive a keyboard input | ||
1652 | 3241 | |||
1653 | 3242 | 2014-04-09 Marco Trevisan (Treviño) <mail@3v1n0.net> | ||
1654 | 3243 | |||
1655 | 3244 | LockScreenController: immediately start the screensaver on SetActive dbus call | ||
1656 | 3245 | |||
1657 | 3246 | 2014-04-09 Marco Trevisan (Treviño) <mail@3v1n0.net> | ||
1658 | 3247 | |||
1659 | 3248 | ScreenSaverDBusManager: add request_activate signal that is emitted on remote activation request | ||
1660 | 3249 | |||
1661 | 3250 | 2014-04-09 Marco Trevisan (Treviño) <mail@3v1n0.net> | ||
1662 | 3251 | |||
1663 | 3252 | LockScreenController: some cleanup, and HideBlankWindow on simulate user activity | ||
1664 | 3253 | |||
1665 | 3254 | 2014-04-09 Marco Trevisan (Treviño) <mail@3v1n0.net> | ||
1666 | 3255 | |||
1667 | 3256 | LockScreenController: keep track of dbus_manager and reset screensaver on simulate-user activity | ||
1668 | 3257 | |||
1669 | 3258 | 2014-04-09 Marco Trevisan (Treviño) <mail@3v1n0.net> | ||
1670 | 3259 | |||
1671 | 3260 | ScreenSaverDBusManager: implement SimulateUserActivity | ||
1672 | 3261 | |||
1673 | 3262 | 2014-04-09 Marco Trevisan (Treviño) <mail@3v1n0.net> | ||
1674 | 3263 | |||
1675 | 3264 | ScreenSaverDBusManager: use a nux property for active state | ||
1676 | 3265 | |||
1677 | 3266 | 2014-04-09 Marco Trevisan (Treviño) <mail@3v1n0.net> | ||
1678 | 3267 | |||
1679 | 3268 | LockScreenController: don't animate when locking the screen on suspend or screensaver | ||
1680 | 3269 | |||
1681 | 3270 | 2014-04-09 Marco Trevisan (Treviño) <mail@3v1n0.net> | ||
1682 | 3271 | |||
1683 | 3272 | LockScreenController: we can lock the screen if the GS setting is disabled | ||
1684 | 3273 | |||
1685 | 3274 | Also rename the setting to be more understandable | ||
1686 | 3275 | |||
1687 | 3276 | 2014-04-09 Marco Trevisan (Treviño) <mail@3v1n0.net> | ||
1688 | 3277 | |||
1689 | 3278 | Merging with parent branch | ||
1690 | 3279 | |||
1691 | 3280 | 2014-04-09 Marco Trevisan (Treviño) <mail@3v1n0.net> | ||
1692 | 3281 | |||
1693 | 3282 | LockScreenController: always call LockScreen of SessionManager as it has some checks | ||
1694 | 3283 | |||
1695 | 3284 | 2014-04-09 Marco Trevisan (Treviño) <mail@3v1n0.net> | ||
1696 | 3285 | |||
1697 | 3286 | UnityScreen: damage the screen when the lockscreen opacity changes | ||
1698 | 3287 | |||
1699 | 3288 | 2014-04-09 Marco Trevisan (Treviño) <mail@3v1n0.net> | ||
1700 | 3289 | |||
1701 | 3290 | LockScreenController: use a ROProperty for opacity | ||
1702 | 3291 | |||
1703 | 3292 | 2014-04-09 Marco Trevisan (Treviño) <mail@3v1n0.net> | ||
1704 | 3293 | |||
1705 | 3294 | LockScreenController: only try to lock if locking is enabled | ||
1706 | 3295 | |||
1707 | 3296 | 2014-04-08 Marco Trevisan (Treviño) <mail@3v1n0.net> | ||
1708 | 3297 | |||
1709 | 3298 | LockScreenController: use timeout seconds for lock delay | ||
1710 | 3299 | |||
1711 | 3300 | 2014-04-08 Marco Trevisan (Treviño) <mail@3v1n0.net> | ||
1712 | 3301 | |||
1713 | 3302 | LockScreenController: only use one window to blank the screen, it's not needed to have one per monitor | ||
1714 | 3303 | |||
1715 | 3304 | 2014-04-08 Marco Trevisan (Treviño) <mail@3v1n0.net> | ||
1716 | 3305 | |||
1717 | 3306 | LockScreenController: move OnPresenceStatusChanged into a function | ||
1718 | 3307 | |||
1719 | 3308 | 2014-04-08 Marco Trevisan (Treviño) <mail@3v1n0.net> | ||
1720 | 3309 | |||
1721 | 3310 | LockScreenController: lock the screen on suspend if ubuntu is configured to do so | ||
1722 | 3311 | |||
1723 | 3312 | 2014-04-08 Marco Trevisan (Treviño) <mail@3v1n0.net> | ||
1724 | 3313 | |||
1725 | 3314 | Uscreen: emit suspending signal on PrepareForSleep | ||
1726 | 3315 | |||
1727 | 3316 | 2014-04-08 Marco Trevisan (Treviño) <mail@3v1n0.net> | ||
1728 | 3317 | |||
1729 | 3318 | LockScreenController: use direction to set the animation value | ||
1730 | 3319 | |||
1731 | 3320 | 2014-04-09 Marco Trevisan (Treviño) <mail@3v1n0.net> | ||
1732 | 3321 | |||
1733 | 3322 | ExternalGschema: add missing external settings | ||
1734 | 3323 | |||
1735 | 3324 | 2014-04-08 Marco Trevisan (Treviño) <mail@3v1n0.net> | ||
1736 | 3325 | |||
1737 | 3326 | LockScreenSettings: also use legacy lockscreen if screen reader is enabled | ||
1738 | 3327 | |||
1739 | 3328 | 2014-04-08 Marco Trevisan (Treviño) <mail@3v1n0.net> | ||
1740 | 3329 | |||
1741 | 3330 | ScreenSaverDBusManager: add some comments | ||
1742 | 3331 | |||
1743 | 3332 | 2014-04-08 Marco Trevisan (Treviño) <mail@3v1n0.net> | ||
1744 | 3333 | |||
1745 | 3334 | ScreenSaverDBusManager: use async calls | ||
1746 | 3335 | |||
1747 | 3336 | 2014-04-08 Marco Trevisan (Treviño) <mail@3v1n0.net> | ||
1748 | 3337 | |||
1749 | 3338 | LockScreenController: call gnome-screensaver to lock the screen if we use a legacy lockscreen | ||
1750 | 3339 | |||
1751 | 3340 | 2014-04-08 Marco Trevisan (Treviño) <mail@3v1n0.net> | ||
1752 | 3341 | |||
1753 | 3342 | ScreenSaverDBusManager: start/stop gnome-screensaver if we don't/do handle the locking | ||
1754 | 3343 | |||
1755 | 3344 | 2014-04-08 Marco Trevisan (Treviño) <mail@3v1n0.net> | ||
1756 | 3345 | |||
1757 | 3346 | LockScreenSettings: add use_fallback option, that is on if OSK is active | ||
1758 | 3347 | |||
1759 | 3348 | This is to workaround on screen keyboard issues | ||
1760 | 3349 | |||
1761 | 3350 | 2014-04-07 Marco Trevisan (Treviño) <mail@3v1n0.net> | ||
1762 | 3351 | |||
1763 | 3352 | Add GS schemas to external list | ||
1764 | 3353 | |||
1765 | 3354 | 2014-04-07 Marco Trevisan (Treviño) <mail@3v1n0.net> | ||
1766 | 3355 | |||
1767 | 3356 | GnomeSessionManager: use enum class PresenceStatus instead of magic numbers | ||
1768 | 3357 | |||
1769 | 3358 | 2014-04-07 Andrea Azzarone <azzaronea@gmail.com> | ||
1770 | 3359 | |||
1771 | 3360 | Merge trunk. | ||
1772 | 3361 | |||
1773 | 3362 | 2014-04-07 Andrea Azzarone <azzaronea@gmail.com> | ||
1774 | 3363 | |||
1775 | 3364 | Remove magic numbers. | ||
1776 | 3365 | |||
1777 | 3366 | 2014-04-07 Andrea Azzarone <azzaronea@gmail.com> | ||
1778 | 3367 | |||
1779 | 3368 | Do not implement SimulateUserActivity. | ||
1780 | 3369 | |||
1781 | 3370 | 2014-04-07 Andrea Azzarone <azzaronea@gmail.com> | ||
1782 | 3371 | |||
1783 | 3372 | Update tests. | ||
1784 | 3373 | |||
1785 | 3374 | 2014-04-07 Andrea Azzarone <azzaronea@gmail.com> | ||
1786 | 3375 | |||
1787 | 3376 | Start cleaning lockscreen code. | ||
1788 | 3377 | |||
1789 | 3378 | 2014-04-06 Andrea Azzarone <azzaronea@gmail.com> | ||
1790 | 3379 | |||
1791 | 3380 | Fix. Code style is still WIP. | ||
1792 | 3381 | |||
1793 | 3382 | 2014-04-04 Andrea Azzarone <azzaronea@gmail.com> | ||
1794 | 3383 | |||
1795 | 3384 | Lock the screen after a delay. | ||
1796 | 3385 | |||
1797 | 3386 | 2014-04-02 Andrea Azzarone <azzaronea@gmail.com> | ||
1798 | 3387 | |||
1799 | 3388 | Add the first settings. | ||
1800 | 3389 | |||
1801 | 3390 | 2014-04-02 Andrea Azzarone <azzaronea@gmail.com> | ||
1802 | 3391 | |||
1803 | 3392 | Initial commit to implement g-s dbus interface in unity. | ||
1804 | 3393 | |||
1805 | 3394 | 2014-04-04 CI bot <ps-jenkins@lists.canonical.com> | ||
1806 | 3395 | |||
1807 | 3396 | Releasing 7.2.0+14.04.20140404-0ubuntu1 | ||
1808 | 3397 | |||
1809 | 3398 | 2014-04-04 Marco Trevisan (Treviño) <mail@3v1n0.net> | ||
1810 | 3399 | |||
1811 | 3400 | ForceQuitDialog: add a new "sheet style" dialog that is shown when a window hangs | ||
1812 | 3401 | |||
1813 | 3402 | Listen to compiz toolkit events and prompt a dialog that allows to force-quit an | ||
1814 | 3403 | hanging application. Fixes: 698031, 1299061, 1299080 | ||
1815 | 3404 | |||
1816 | 3405 | 2014-04-02 Marco Trevisan (Treviño) <mail@3v1n0.net> | ||
1817 | 3406 | |||
1818 | 3407 | ForceQuitDialog: make sure that the dialog is not deletable by WM | ||
1819 | 3408 | |||
1820 | 3409 | For this to be safe we need also to ignore the delete events | ||
1821 | 3410 | |||
1822 | 3411 | 2014-04-02 Marco Trevisan (Treviño) <mail@3v1n0.net> | ||
1823 | 3412 | |||
1824 | 3413 | POTFILES: include DecorationsForceQuitDialog.cpp | ||
1825 | 3414 | |||
1826 | 3415 | 2014-04-02 Marco Trevisan (Treviño) <mail@3v1n0.net> | ||
1827 | 3416 | |||
1828 | 3417 | DecoratedWindow: let's do one line things! | ||
1829 | 3418 | |||
1830 | 3419 | 2014-04-02 Marco Trevisan (Treviño) <mail@3v1n0.net> | ||
1831 | 3420 | |||
1832 | 3421 | ForceQuitDialog: make sure we hide the dialog before we killed the parent window | ||
1833 | 3422 | |||
1834 | 3423 | It must be hidden before than the parent, in case the window is not really killed, | ||
1835 | 3424 | it will be shown anyway later. | ||
1836 | 3425 | |||
1837 | 3426 | 2014-04-02 Marco Trevisan (Treviño) <mail@3v1n0.net> | ||
1838 | 3427 | |||
1839 | 3428 | ForceQuitDialog: avoid warnings on close, due to finalized close button | ||
1840 | 3429 | |||
1841 | 3430 | 2014-04-02 Marco Trevisan (Treviño) <mail@3v1n0.net> | ||
1842 | 3431 | |||
1843 | 3432 | DecorationsForceQuitDialog: emit close_request signal on close and "Wait" button | ||
1844 | 3433 | |||
1845 | 3434 | 2014-04-02 Marco Trevisan (Treviño) <mail@3v1n0.net> | ||
1846 | 3435 | |||
1847 | 3436 | DecorationsForceQuitDialog: add close_request signal and destroy window when it gets called | ||
1848 | 3437 | |||
1849 | 3438 | 2014-04-02 Marco Trevisan (Treviño) <mail@3v1n0.net> | ||
1850 | 3439 | |||
1851 | 3440 | DecoratedWindow: add missing call to UpdateForceQuitDialogPosition | ||
1852 | 3441 | |||
1853 | 3442 | Maybe it was removed due to a shelved change... | ||
1854 | 3443 | |||
1855 | 3444 | 2014-04-02 Marco Trevisan (Treviño) <mail@3v1n0.net> | ||
1856 | 3445 | |||
1857 | 3446 | DecorationsForceQuitDialog: implement actual window killing by using both XKillClient and kill -9 | ||
1858 | 3447 | |||
1859 | 3448 | Yeah, now | ||
1860 | 3449 | |||
1861 | 3450 | 2014-04-02 Marco Trevisan (Treviño) <mail@3v1n0.net> | ||
1862 | 3451 | |||
1863 | 3452 | DecorationsForceQuitDialog: use proper class names (mostly for theming) | ||
1864 | 3453 | |||
1865 | 3454 | 2014-04-02 Marco Trevisan (Treviño) <mail@3v1n0.net> | ||
1866 | 3455 | |||
1867 | 3456 | DecorationsForceQuitDialog: use themed button textures | ||
1868 | 3457 | |||
1869 | 3458 | 2014-04-02 Marco Trevisan (Treviño) <mail@3v1n0.net> | ||
1870 | 3459 | |||
1871 | 3460 | DecorationsForceQuitDialog: set the dialog pid/hostname to match the ones of the parent window | ||
1872 | 3461 | |||
1873 | 3462 | In this way we don't confuse BAMF about the ownership of the dialog. | ||
1874 | 3463 | |||
1875 | 3464 | 2014-04-02 Marco Trevisan (Treviño) <mail@3v1n0.net> | ||
1876 | 3465 | |||
1877 | 3466 | ForceQuitDialog: use the same window class of the real parent window | ||
1878 | 3467 | |||
1879 | 3468 | 2014-04-02 Marco Trevisan (Treviño) <mail@3v1n0.net> | ||
1880 | 3469 | |||
1881 | 3470 | ForceQuitDialog: keep the dialog centered on parent window when its geometry changes | ||
1882 | 3471 | |||
1883 | 3472 | 2014-04-02 Marco Trevisan (Treviño) <mail@3v1n0.net> | ||
1884 | 3473 | |||
1885 | 3474 | DecorationsManager.cpp: show a forcequit dialog when we get a toolkitActionForceQuitDialog ClientMessage | ||
1886 | 3475 | |||
1887 | 3476 | These events are triggered directly by compiz, so we only have to catch them! | ||
1888 | 3477 | |||
1889 | 3478 | 2014-04-02 Marco Trevisan (Treviño) <mail@3v1n0.net> | ||
1890 | 3479 | |||
1891 | 3480 | DecoratedWindow: add ShowForceQuitDialog method to show a forcequit dialog on given window | ||
1892 | 3481 | |||
1893 | 3482 | 2014-04-02 Marco Trevisan (Treviño) <mail@3v1n0.net> | ||
1894 | 3483 | |||
1895 | 3484 | DecorationsForceQuitDialog: set dialog X time to match the one of the close event | ||
1896 | 3485 | |||
1897 | 3486 | In this way we correctly handle the focus-stealing prevention | ||
1898 | 3487 | |||
1899 | 3488 | 2014-04-01 Marco Trevisan (Treviño) <mail@3v1n0.net> | ||
1900 | 3489 | |||
1901 | 3490 | ForceQuitDialog: set shape area to ignore input events outside the actual dialog | ||
1902 | 3491 | |||
1903 | 3492 | 2014-04-01 Marco Trevisan (Treviño) <mail@3v1n0.net> | ||
1904 | 3493 | |||
1905 | 3494 | DecorationsForceQuitDialog: set parent window as its actual parent X-side, and center on it | ||
1906 | 3495 | |||
1907 | 3496 | 2014-04-01 Marco Trevisan (Treviño) <mail@3v1n0.net> | ||
1908 | 3497 | |||
1909 | 3498 | ForceQuitDialog: fix label strings | ||
1910 | 3499 | |||
1911 | 3500 | 2014-03-28 Marco Trevisan (Treviño) <mail@3v1n0.net> | ||
1912 | 3501 | |||
1913 | 3502 | Merge with trunk | ||
1914 | 3503 | |||
1915 | 3504 | 2014-03-27 Marco Trevisan (Treviño) <mail@3v1n0.net> | ||
1916 | 3505 | |||
1917 | 3506 | DecorationsForceQuitDialog: obey to style for shadows | ||
1918 | 3507 | |||
1919 | 3508 | 2014-03-27 Marco Trevisan (Treviño) <mail@3v1n0.net> | ||
1920 | 3509 | |||
1921 | 3510 | DecorationsForceQuitDialog: add first basic gtk implementation of the force-quit dialog | ||
1922 | 3511 | |||
1923 | 3512 | 2014-04-04 Chris Townsend <christopher.townsend@canonical.com> | ||
1924 | 3513 | |||
1925 | 3514 | Fix issue where windows that are in Show Desktop mode are selected for spread have a blank preview. This fix will Fade Out the window for Spread and Fade In the window again when Spread exits if that window is not chosen. Fixes: 1104236 | ||
1926 | 3515 | |||
1927 | 3516 | 2014-04-04 Chris Townsend <christopher.townsend@canonical.com> | ||
1928 | 3517 | |||
1929 | 3518 | Fix issue where windows that are in Show Desktop mode are selected for spread have a blank preview. This fix will Fade Out the window for Spread and Fade In the window again when Spread exits if that window is not chosen. | ||
1930 | 3519 | |||
1931 | 3520 | 2014-04-03 CI bot <ps-jenkins@lists.canonical.com> | ||
1932 | 3521 | |||
1933 | 3522 | Releasing 7.2.0+14.04.20140403-0ubuntu1 | ||
1934 | 3523 | |||
1935 | 3524 | 2014-04-03 Marco Trevisan (Treviño) <mail@3v1n0.net> | ||
1936 | 3525 | |||
1937 | 3526 | DecorationsGrabEdge: Only perform tookit actions on right-click Fixes: 1301459 | ||
1938 | 3527 | |||
1939 | 3528 | 2014-04-02 Marco Trevisan (Treviño) <mail@3v1n0.net> | ||
1940 | 3529 | |||
1941 | 3530 | DecorationsGrabEdge: Only perform tookit actions on right-click | ||
1942 | 3531 | |||
1943 | 3532 | 2014-04-03 Marco Trevisan (Treviño) <mail@3v1n0.net> | ||
1944 | 3533 | |||
1945 | 3534 | UnityScreen: reset decoration::DataPool on destruction, otherwise we won't have a valid screen ptr Fixes: 1291243 | ||
1946 | 3535 | |||
1947 | 3536 | 2014-04-02 Marco Trevisan (Treviño) <mail@3v1n0.net> | ||
1948 | 3537 | |||
1949 | 3538 | UnityScreen: reset decoration::DataPool on destruction, otherwise we won't have screen ptr valid | ||
1950 | 3539 | |||
1951 | 3540 | 2014-04-02 Marco Trevisan (Treviño) <mail@3v1n0.net> | ||
1952 | 3541 | |||
1953 | 3542 | DecorationsDataPool: add static Reset method that allows to reset our textures | ||
1954 | 3543 | |||
1955 | 3544 | 2014-04-03 Marco Trevisan (Treviño) <mail@3v1n0.net> | ||
1956 | 3545 | |||
1957 | 3546 | ApplicationLauncherIcon: recompute pips when the screen geometry changes Fixes: 1024101 | ||
1958 | 3547 | |||
1959 | 3548 | 2014-04-02 Marco Trevisan (Treviño) <mail@3v1n0.net> | ||
1960 | 3549 | |||
1961 | 3550 | ApplicationLauncherIcon: recompute pips when the screen geometry changes | ||
1962 | 3551 | |||
1963 | 3552 | 2014-04-03 Marco Trevisan (Treviño) <mail@3v1n0.net> | ||
1964 | 3553 | |||
1965 | 3554 | Launcher: hide the launcher window when in auto-hide mode if it's not presented Fixes: 1301394 | ||
1966 | 3555 | |||
1967 | 3556 | 2014-04-02 Marco Trevisan (Treviño) <mail@3v1n0.net> | ||
1968 | 3557 | |||
1969 | 3558 | Launcher: hide the launcher window when in auto-hide mode if it's not presented | ||
1970 | 3559 | |||
1971 | 3560 | 2014-04-03 Stephen M. Webb <stephen.webb@canonical.com> | ||
1972 | 3561 | |||
1973 | 3562 | remove libsyncindicator from services/panel-service.c | ||
1974 | 3563 | |||
1975 | 3564 | 2014-04-02 Stephen M. Webb <stephen.webb@canonical.com> | ||
1976 | 3565 | |||
1977 | 3566 | remove libsyncindicator.so (lp: #1300916) | ||
1978 | 3567 | |||
1979 | 3568 | 2014-04-03 Dimitri John Ledkov <dimitri.ledkov@canonical.com> | ||
1980 | 3569 | |||
1981 | 3570 | Drop U1 default shortcuts & indicator-sync recommendation. (LP: #1300916) Fixes: 1300916 | ||
1982 | 3571 | |||
1983 | 3572 | 2014-04-02 Dimitri John Ledkov <dimitri.ledkov@canonical.com> | ||
1984 | 3573 | |||
1985 | 3574 | Drop U1 default shortcuts & indicator-sync recommendation. (LP: #1300916) | ||
1986 | 3575 | |||
1987 | 3576 | 2014-04-02 CI bot <ps-jenkins@lists.canonical.com> | ||
1988 | 3577 | |||
1989 | 3578 | Releasing 7.2.0+14.04.20140402-0ubuntu1 | ||
1990 | 3579 | |||
1991 | 3580 | 2014-04-02 Stephen M. Webb <stephen.webb@canonical.com> | ||
1992 | 3581 | |||
1993 | 3582 | bump to release 7.2.0 | ||
1994 | 3583 | |||
1995 | 3584 | 2014-04-01 Stephen M. Webb <stephen.webb@canonical.com> | ||
1996 | 3585 | |||
1997 | 3586 | debian/control: fix some style warnings in package description | ||
1998 | 3587 | |||
1999 | 3588 | 2014-04-01 Stephen M. Webb <stephen.webb@canonical.com> | ||
2000 | 3589 | |||
2001 | 3590 | debian/changelog: fix syntax to silence a lintian warning | ||
2002 | 3591 | |||
2003 | 3592 | 2014-04-01 Stephen M. Webb <stephen.webb@canonical.com> | ||
2004 | 3593 | |||
2005 | 3594 | debian/control(Standards-Version): bump to 3.9.5 (no changes) | ||
2006 | 3595 | |||
2007 | 3596 | 2014-03-31 Stephen M. Webb <stephen.webb@canonical.com> | ||
2008 | 3597 | |||
2009 | 3598 | release 7.2.0 | ||
2010 | 3599 | |||
2011 | 3600 | 2014-04-02 Marco Trevisan (Treviño) <mail@3v1n0.net> | ||
2012 | 3601 | |||
2013 | 3602 | SpreadFilter: use launcher width, scale on HiDPI, match also application names | ||
2014 | 3603 | |||
2015 | 3604 | Launcher Width is now considered in setting the offset of the scale filter (fixes | ||
2016 | 3605 | padding when launcher is in autohide mode). | ||
2017 | 3606 | The search bar is correctly scaled when in HiDPI mode. | ||
2018 | 3607 | We use ApplicationManager and thus BAMF to match windows by their name or app name. Fixes: 1281297, 1282001, 1300763, 1300842 | ||
2019 | 3608 | |||
2020 | 3609 | 2014-04-01 Marco Trevisan (Treviño) <mail@3v1n0.net> | ||
2021 | 3610 | |||
2022 | 3611 | SpreadFilter: use casefold instead that tolower as it's meant for equalty checks as we do here | ||
2023 | 3612 | |||
2024 | 3613 | 2014-04-01 Marco Trevisan (Treviño) <mail@3v1n0.net> | ||
2025 | 3614 | |||
2026 | 3615 | SpreadFilter: implement our own to_lower_copy that works with utf8 | ||
2027 | 3616 | |||
2028 | 3617 | 2014-04-01 Marco Trevisan (Treviño) <mail@3v1n0.net> | ||
2029 | 3618 | |||
2030 | 3619 | UnityScreen: match the scaled windows based on the SpreadFilter matches | ||
2031 | 3620 | |||
2032 | 3621 | 2014-04-01 Marco Trevisan (Treviño) <mail@3v1n0.net> | ||
2033 | 3622 | |||
2034 | 3623 | SpreadFilter: compute a list of filtered windows using both window and application name | ||
2035 | 3624 | |||
2036 | 3625 | 2014-04-01 Marco Trevisan (Treviño) <mail@3v1n0.net> | ||
2037 | 3626 | |||
2038 | 3627 | SpreadFilter: take in consideration the launcher width when setting the spread offset | ||
2039 | 3628 | |||
2040 | 3629 | 2014-04-01 Marco Trevisan (Treviño) <mail@3v1n0.net> | ||
2041 | 3630 | |||
2042 | 3631 | SpreadFilter :Scale the internal searchbar to match DPI settings | ||
2043 | 3632 | |||
2044 | 3633 | 2014-04-01 Marco Trevisan (Treviño) <mail@3v1n0.net> | ||
2045 | 3634 | |||
2046 | 3635 | SearchBar: fix crash when trying to update the show filter scale in a filterless-search bar | ||
2047 | 3636 | |||
2048 | 3637 | 2014-04-02 Marco Trevisan (Treviño) <mail@3v1n0.net> | ||
2049 | 3638 | |||
2050 | 3639 | PanelMenuView: use panel style context for painting the panel title Fixes: 1296866 | ||
2051 | 3640 | |||
2052 | 3641 | 2014-03-31 Marco Trevisan (Treviño) <mail@3v1n0.net> | ||
2053 | 3642 | |||
2054 | 3643 | PanelMenuView: add "panel-title" class to the panel style context when drawing title | ||
2055 | 3644 | |||
2056 | 3645 | 2014-03-31 Marco Trevisan (Treviño) <mail@3v1n0.net> | ||
2057 | 3646 | |||
2058 | 3647 | PanelStyle: return a Style context with different widget path in GetStyleContext based on type | ||
2059 | 3648 | |||
2060 | 3649 | 2014-03-31 Marco Trevisan (Treviño) <mail@3v1n0.net> | ||
2061 | 3650 | |||
2062 | 3651 | PanelMenuView: use panel style context for painting the panel title | ||
2063 | 3652 | |||
2064 | 3653 | 2014-03-31 Marco Trevisan (Treviño) <mail@3v1n0.net> | ||
2065 | 3654 | |||
2066 | 3655 | DecorationStyle: allow to use a different style context in DrawTitle | ||
2067 | 3656 | |||
2068 | 3657 | Panel will need to use a different one | ||
2069 | 3658 | |||
2070 | 3659 | 2014-04-02 Marco Trevisan (Treviño) <mail@3v1n0.net> | ||
2071 | 3660 | |||
2072 | 3661 | Panel, Decorations: draw the background under the text glyphs before the text itself Fixes: 723167 | ||
2073 | 3662 | |||
2074 | 3663 | 2014-03-31 Marco Trevisan (Treviño) <mail@3v1n0.net> | ||
2075 | 3664 | |||
2076 | 3665 | UnitySettings: never allow values minor or equal to 0 as UI scale | ||
2077 | 3666 | |||
2078 | 3667 | 2014-03-31 Marco Trevisan (Treviño) <mail@3v1n0.net> | ||
2079 | 3668 | |||
2080 | 3669 | DecorationsMenuEntry: draw background under text glyphs | ||
2081 | 3670 | |||
2082 | 3671 | 2014-03-31 Marco Trevisan (Treviño) <mail@3v1n0.net> | ||
2083 | 3672 | |||
2084 | 3673 | DecorationsTitle: draw background under text glyphs | ||
2085 | 3674 | |||
2086 | 3675 | 2014-03-31 Marco Trevisan (Treviño) <mail@3v1n0.net> | ||
2087 | 3676 | |||
2088 | 3677 | DecorationStyle: draw text glyphs background on menu items | ||
2089 | 3678 | |||
2090 | 3679 | 2014-03-31 Marco Trevisan (Treviño) <mail@3v1n0.net> | ||
2091 | 3680 | |||
2092 | 3681 | PanelMenuView: draw the background under the text glyphs | ||
2093 | 3682 | |||
2094 | 3683 | 2014-03-31 Marco Trevisan (Treviño) <mail@3v1n0.net> | ||
2095 | 3684 | |||
2096 | 3685 | DecorationStyle: add support for drawing the text background under the glyphs | ||
2097 | 3686 | |||
2098 | 3687 | 2014-03-31 Marco Trevisan (Treviño) <mail@3v1n0.net> | ||
2099 | 3688 | |||
2100 | 3689 | PanelIndicatorEntryView: draw the background under the text glyphs | ||
2101 | 3690 | |||
2102 | 3691 | 2014-04-02 Marco Trevisan (Treviño) <mail@3v1n0.net> | ||
2103 | 3692 | |||
2104 | 3693 | CompizUtils: only shadow-decorate alpha windows that have full decorations as well | ||
2105 | 3694 | |||
2106 | 3695 | Since alpha windows might have custom shapes, it's safer not to shadow-decorate them | ||
2107 | 3696 | unless they don't provide, for sure, a full decoration. Fixes: 1281825 | ||
2108 | 3697 | |||
2109 | 3698 | 2014-03-29 Marco Trevisan (Treviño) <mail@3v1n0.net> | ||
2110 | 3699 | |||
2111 | 3700 | CompizUtils: only shadow-decorate alpha windows that have full decorations as well | ||
2112 | 3701 | |||
2113 | 3702 | Since alpha windows might have custom shapes, it's safer not to shadow-decorate them | ||
2114 | 3703 | unless they don't provide, for sure, a full decoration. | ||
2115 | 3704 | |||
2116 | 3705 | >>>>>>> MERGE-SOURCE | ||
2117 | 1651 | 2014-03-28 CI bot <ps-jenkins@lists.canonical.com> | 3706 | 2014-03-28 CI bot <ps-jenkins@lists.canonical.com> |
2118 | 1652 | 3707 | ||
2119 | 1653 | Releasing 7.1.2+14.04.20140328.1-0ubuntu1 | 3708 | Releasing 7.1.2+14.04.20140328.1-0ubuntu1 |
2120 | 1654 | 3709 | ||
2121 | === modified file 'UnityCore/GnomeSessionManager.cpp' | |||
2122 | --- UnityCore/GnomeSessionManager.cpp 2014-10-21 13:45:43 +0000 | |||
2123 | +++ UnityCore/GnomeSessionManager.cpp 2014-12-09 18:52:51 +0000 | |||
2124 | @@ -426,12 +426,22 @@ | |||
2125 | 426 | { | 426 | { |
2126 | 427 | EnsureCancelPendingAction(); | 427 | EnsureCancelPendingAction(); |
2127 | 428 | 428 | ||
2134 | 429 | if (!manager_->CanLock()) | 429 | <<<<<<< TREE |
2135 | 430 | { | 430 | if (!manager_->CanLock()) |
2136 | 431 | manager_->ScreenSaverActivate(); | 431 | { |
2137 | 432 | return; | 432 | manager_->ScreenSaverActivate(); |
2138 | 433 | } | 433 | return; |
2139 | 434 | 434 | } | |
2140 | 435 | |||
2141 | 436 | ======= | ||
2142 | 437 | if (!manager_->CanLock()) | ||
2143 | 438 | { | ||
2144 | 439 | manager_->ScreenSaverActivate(); | ||
2145 | 440 | return; | ||
2146 | 441 | } | ||
2147 | 442 | |||
2148 | 443 | // FIXME (andy) we should ask gnome-session to emit the logind signal | ||
2149 | 444 | >>>>>>> MERGE-SOURCE | ||
2150 | 435 | prompt ? manager_->prompt_lock_requested.emit() : manager_->lock_requested.emit(); | 445 | prompt ? manager_->prompt_lock_requested.emit() : manager_->lock_requested.emit(); |
2151 | 436 | } | 446 | } |
2152 | 437 | 447 | ||
2153 | 438 | 448 | ||
2154 | === modified file 'dash/FilterBasicButton.cpp' | |||
2155 | --- dash/FilterBasicButton.cpp 2014-08-27 12:56:22 +0000 | |||
2156 | +++ dash/FilterBasicButton.cpp 2014-12-09 18:52:51 +0000 | |||
2157 | @@ -69,13 +69,19 @@ | |||
2158 | 69 | if (GetInputEventSensitivity()) | 69 | if (GetInputEventSensitivity()) |
2159 | 70 | Active() ? Deactivate() : Activate(); | 70 | Active() ? Deactivate() : Activate(); |
2160 | 71 | }); | 71 | }); |
2161 | 72 | <<<<<<< TREE | ||
2162 | 72 | 73 | ||
2163 | 73 | scale.changed.connect(sigc::mem_fun(this, &FilterBasicButton::UpdateScale)); | 74 | scale.changed.connect(sigc::mem_fun(this, &FilterBasicButton::UpdateScale)); |
2164 | 74 | Settings::Instance().font_scaling.changed.connect(sigc::hide(sigc::mem_fun(this, &FilterBasicButton::InitTheme))); | 75 | Settings::Instance().font_scaling.changed.connect(sigc::hide(sigc::mem_fun(this, &FilterBasicButton::InitTheme))); |
2165 | 76 | ======= | ||
2166 | 77 | |||
2167 | 78 | scale.changed.connect(sigc::mem_fun(this, &FilterBasicButton::UpdateScale)); | ||
2168 | 79 | >>>>>>> MERGE-SOURCE | ||
2169 | 75 | } | 80 | } |
2170 | 76 | 81 | ||
2171 | 77 | void FilterBasicButton::InitTheme() | 82 | void FilterBasicButton::InitTheme() |
2172 | 78 | { | 83 | { |
2173 | 84 | <<<<<<< TREE | ||
2174 | 79 | nux::Geometry const& geo = GetGeometry(); | 85 | nux::Geometry const& geo = GetGeometry(); |
2175 | 80 | 86 | ||
2176 | 81 | prelight_.reset(new nux::CairoWrapper(geo, sigc::bind(sigc::mem_fun(this, &FilterBasicButton::RedrawTheme), nux::ButtonVisualState::VISUAL_STATE_PRELIGHT))); | 87 | prelight_.reset(new nux::CairoWrapper(geo, sigc::bind(sigc::mem_fun(this, &FilterBasicButton::RedrawTheme), nux::ButtonVisualState::VISUAL_STATE_PRELIGHT))); |
2177 | @@ -89,6 +95,20 @@ | |||
2178 | 89 | 95 | ||
2179 | 90 | SetMinimumHeight(BUTTON_HEIGHT.CP(font_scaling)); | 96 | SetMinimumHeight(BUTTON_HEIGHT.CP(font_scaling)); |
2180 | 91 | SetMaximumHeight(BUTTON_HEIGHT.CP(font_scaling)); | 97 | SetMaximumHeight(BUTTON_HEIGHT.CP(font_scaling)); |
2181 | 98 | ======= | ||
2182 | 99 | nux::Geometry const& geo = GetGeometry(); | ||
2183 | 100 | |||
2184 | 101 | prelight_.reset(new nux::CairoWrapper(geo, sigc::bind(sigc::mem_fun(this, &FilterBasicButton::RedrawTheme), nux::ButtonVisualState::VISUAL_STATE_PRELIGHT))); | ||
2185 | 102 | active_.reset(new nux::CairoWrapper(geo, sigc::bind(sigc::mem_fun(this, &FilterBasicButton::RedrawTheme), nux::ButtonVisualState::VISUAL_STATE_PRESSED))); | ||
2186 | 103 | normal_.reset(new nux::CairoWrapper(geo, sigc::bind(sigc::mem_fun(this, &FilterBasicButton::RedrawTheme), nux::ButtonVisualState::VISUAL_STATE_NORMAL))); | ||
2187 | 104 | focus_.reset(new nux::CairoWrapper(geo, sigc::mem_fun(this, &FilterBasicButton::RedrawFocusOverlay))); | ||
2188 | 105 | |||
2189 | 106 | SetMinimumWidth(MIN_BUTTON_WIDTH.CP(scale)); | ||
2190 | 107 | ApplyMinWidth(); | ||
2191 | 108 | |||
2192 | 109 | SetMinimumHeight(BUTTON_HEIGHT.CP(scale)); | ||
2193 | 110 | SetMaximumHeight(BUTTON_HEIGHT.CP(scale)); | ||
2194 | 111 | >>>>>>> MERGE-SOURCE | ||
2195 | 92 | } | 112 | } |
2196 | 93 | 113 | ||
2197 | 94 | void FilterBasicButton::RedrawTheme(nux::Geometry const& geom, cairo_t* cr, nux::ButtonVisualState faked_state) | 114 | void FilterBasicButton::RedrawTheme(nux::Geometry const& geom, cairo_t* cr, nux::ButtonVisualState faked_state) |
2198 | 95 | 115 | ||
2199 | === modified file 'dash/ScopeBar.cpp' | |||
2200 | === modified file 'dash/previews/ActionButton.cpp' | |||
2201 | --- dash/previews/ActionButton.cpp 2014-08-27 12:55:52 +0000 | |||
2202 | +++ dash/previews/ActionButton.cpp 2014-12-09 18:52:51 +0000 | |||
2203 | @@ -49,8 +49,12 @@ | |||
2204 | 49 | SetAcceptKeyNavFocusOnMouseEnter(true); | 49 | SetAcceptKeyNavFocusOnMouseEnter(true); |
2205 | 50 | Init(); | 50 | Init(); |
2206 | 51 | BuildLayout(label, icon_hint, ""); | 51 | BuildLayout(label, icon_hint, ""); |
2207 | 52 | <<<<<<< TREE | ||
2208 | 52 | scale.changed.connect(sigc::mem_fun(this, &ActionButton::UpdateScale)); | 53 | scale.changed.connect(sigc::mem_fun(this, &ActionButton::UpdateScale)); |
2209 | 53 | Settings::Instance().font_scaling.changed.connect(sigc::hide(sigc::mem_fun(this, &ActionButton::InitTheme))); | 54 | Settings::Instance().font_scaling.changed.connect(sigc::hide(sigc::mem_fun(this, &ActionButton::InitTheme))); |
2210 | 55 | ======= | ||
2211 | 56 | scale.changed.connect(sigc::mem_fun(this, &ActionButton::UpdateScale)); | ||
2212 | 57 | >>>>>>> MERGE-SOURCE | ||
2213 | 54 | } | 58 | } |
2214 | 55 | 59 | ||
2215 | 56 | ActionButton::~ActionButton() | 60 | ActionButton::~ActionButton() |
2216 | @@ -86,6 +90,7 @@ | |||
2217 | 86 | 90 | ||
2218 | 87 | void ActionButton::InitTheme() | 91 | void ActionButton::InitTheme() |
2219 | 88 | { | 92 | { |
2220 | 93 | <<<<<<< TREE | ||
2221 | 89 | nux::Geometry const& geo = GetGeometry(); | 94 | nux::Geometry const& geo = GetGeometry(); |
2222 | 90 | 95 | ||
2223 | 91 | cr_prelight_.reset(new nux::CairoWrapper(geo, sigc::bind(sigc::mem_fun(this, &ActionButton::RedrawTheme), nux::ButtonVisualState::VISUAL_STATE_PRELIGHT))); | 96 | cr_prelight_.reset(new nux::CairoWrapper(geo, sigc::bind(sigc::mem_fun(this, &ActionButton::RedrawTheme), nux::ButtonVisualState::VISUAL_STATE_PRELIGHT))); |
2224 | @@ -96,6 +101,17 @@ | |||
2225 | 96 | double font_scaling = Settings::Instance().font_scaling() * scale; | 101 | double font_scaling = Settings::Instance().font_scaling() * scale; |
2226 | 97 | SetMinimumHeight(MIN_BUTTON_HEIGHT.CP(font_scaling)); | 102 | SetMinimumHeight(MIN_BUTTON_HEIGHT.CP(font_scaling)); |
2227 | 98 | SetMinimumWidth(MIN_BUTTON_WIDTH.CP(font_scaling)); | 103 | SetMinimumWidth(MIN_BUTTON_WIDTH.CP(font_scaling)); |
2228 | 104 | ======= | ||
2229 | 105 | nux::Geometry const& geo = GetGeometry(); | ||
2230 | 106 | |||
2231 | 107 | cr_prelight_.reset(new nux::CairoWrapper(geo, sigc::bind(sigc::mem_fun(this, &ActionButton::RedrawTheme), nux::ButtonVisualState::VISUAL_STATE_PRELIGHT))); | ||
2232 | 108 | cr_active_.reset(new nux::CairoWrapper(geo, sigc::bind(sigc::mem_fun(this, &ActionButton::RedrawTheme), nux::ButtonVisualState::VISUAL_STATE_PRESSED))); | ||
2233 | 109 | cr_normal_.reset(new nux::CairoWrapper(geo, sigc::bind(sigc::mem_fun(this, &ActionButton::RedrawTheme), nux::ButtonVisualState::VISUAL_STATE_NORMAL))); | ||
2234 | 110 | cr_focus_.reset(new nux::CairoWrapper(geo, sigc::mem_fun(this, &ActionButton::RedrawFocusOverlay))); | ||
2235 | 111 | |||
2236 | 112 | SetMinimumHeight(MIN_BUTTON_HEIGHT.CP(scale)); | ||
2237 | 113 | SetMinimumWidth(MIN_BUTTON_WIDTH.CP(scale)); | ||
2238 | 114 | >>>>>>> MERGE-SOURCE | ||
2239 | 99 | } | 115 | } |
2240 | 100 | 116 | ||
2241 | 101 | void ActionButton::SetExtraHint(std::string const& extra_hint, std::string const& font_hint) | 117 | void ActionButton::SetExtraHint(std::string const& extra_hint, std::string const& font_hint) |
2242 | 102 | 118 | ||
2243 | === modified file 'dash/previews/ErrorPreview.cpp' | |||
2244 | === modified file 'dash/previews/PaymentPreview.cpp' | |||
2245 | === modified file 'dash/previews/PreviewContainer.cpp' | |||
2246 | === modified file 'dash/previews/PreviewInfoHintWidget.cpp' | |||
2247 | === modified file 'dash/previews/PreviewNavigator.cpp' | |||
2248 | === modified file 'dash/previews/SocialPreviewComments.cpp' | |||
2249 | === modified file 'dash/previews/SocialPreviewContent.cpp' | |||
2250 | === modified file 'dash/previews/Track.cpp' | |||
2251 | --- dash/previews/Track.cpp 2014-07-30 00:49:35 +0000 | |||
2252 | +++ dash/previews/Track.cpp 2014-12-09 18:52:51 +0000 | |||
2253 | @@ -36,12 +36,22 @@ | |||
2254 | 36 | namespace previews | 36 | namespace previews |
2255 | 37 | { | 37 | { |
2256 | 38 | 38 | ||
2263 | 39 | namespace | 39 | <<<<<<< TREE |
2264 | 40 | { | 40 | namespace |
2265 | 41 | const RawPixel LAYOUT_SPACING = 6_em; | 41 | { |
2266 | 42 | const RawPixel TITLE_PADDING = 3_em; | 42 | const RawPixel LAYOUT_SPACING = 6_em; |
2267 | 43 | } | 43 | const RawPixel TITLE_PADDING = 3_em; |
2268 | 44 | 44 | } | |
2269 | 45 | |||
2270 | 46 | ======= | ||
2271 | 47 | DECLARE_LOGGER(logger, "unity.dash.preview.music.track"); | ||
2272 | 48 | namespace | ||
2273 | 49 | { | ||
2274 | 50 | const RawPixel LAYOUT_SPACING = 6_em; | ||
2275 | 51 | const RawPixel TITLE_PADDING = 3_em; | ||
2276 | 52 | } | ||
2277 | 53 | |||
2278 | 54 | >>>>>>> MERGE-SOURCE | ||
2279 | 45 | class TmpView : public nux::View | 55 | class TmpView : public nux::View |
2280 | 46 | { | 56 | { |
2281 | 47 | public: | 57 | public: |
2282 | 48 | 58 | ||
2283 | === modified file 'debian/changelog' | |||
2284 | --- debian/changelog 2014-11-28 12:56:29 +0000 | |||
2285 | +++ debian/changelog 2014-12-09 18:52:51 +0000 | |||
2286 | @@ -1,3 +1,4 @@ | |||
2287 | 1 | <<<<<<< TREE | ||
2288 | 1 | unity (7.3.1+15.04.20141128-0ubuntu1) vivid; urgency=low | 2 | unity (7.3.1+15.04.20141128-0ubuntu1) vivid; urgency=low |
2289 | 2 | 3 | ||
2290 | 3 | [ Andrea Azzarone ] | 4 | [ Andrea Azzarone ] |
2291 | @@ -318,11 +319,205 @@ | |||
2292 | 318 | std:vector definition | 319 | std:vector definition |
2293 | 319 | * disabled precompiled headers on arm64 Ubuntu package builds (LP: | 320 | * disabled precompiled headers on arm64 Ubuntu package builds (LP: |
2294 | 320 | #1317276) | 321 | #1317276) |
2295 | 322 | ======= | ||
2296 | 323 | unity (7.2.3+14.04.20140826-0ubuntu2) UNRELEASED; urgency=medium | ||
2297 | 324 | |||
2298 | 325 | * Make sure GetScreenGeometry returns the correct value (lp: #1374785). | ||
2299 | 326 | |||
2300 | 327 | -- Andrea Azzarone <azzaronea@gmail.com> Tue, 09 Dec 2014 13:49:07 -0500 | ||
2301 | 328 | |||
2302 | 329 | unity (7.2.3+14.04.20140826-0ubuntu1) trusty; urgency=medium | ||
2303 | 330 | |||
2304 | 331 | [ Andrea Azzarone ] | ||
2305 | 332 | * Remove cross fade effect during lock/unlocking. A simple fading | ||
2306 | 333 | works just fine. (LP: #1312107) | ||
2307 | 334 | * Manually emit nux::Area::geometry_changed beucase nux can fail to | ||
2308 | 335 | emit it. (LP: #1292391) | ||
2309 | 336 | |||
2310 | 337 | [ Pawel Szubert ] | ||
2311 | 338 | * Reduce the scope of the kill command when restarting Compiz. | ||
2312 | 339 | (LP: #1324114) | ||
2313 | 340 | |||
2314 | 341 | [ Marco Trevisan (Treviño) ] | ||
2315 | 342 | * LockScreenAcceleratorController: do ther configured action on power | ||
2316 | 343 | special keys press. We finally can suspend, shutdown, hibernate or | ||
2317 | 344 | start the screensaver when the screen is locked, using the Suspend, | ||
2318 | 345 | Sleep, Hibernate and PowerOff hardware keys. Also the Shutdown | ||
2319 | 346 | dialog doesn't allow now to lock the session if it is not allowed by | ||
2320 | 347 | settings. (LP: #1306211) (LP: #1320051) (LP: #1320071) | ||
2321 | 348 | * Previews: scale the dash preview contents to match current monitor | ||
2322 | 349 | scaling. Improved also the scaling of search-bar, spinner, categories | ||
2323 | 350 | and many other components. (LP: #1339629) | ||
2324 | 351 | * FilterWidgets: add support for scaling (LP: #1340171) | ||
2325 | 352 | * OverlayRendering: correctly scale the overlays borders and edges to | ||
2326 | 353 | match settings. DashStyle has been modified to return smart pointers | ||
2327 | 354 | of textures that are loaded depending on the scale level. The cache | ||
2328 | 355 | will make sure that we don't duplicate the textures and that they | ||
2329 | 356 | get removed when not needed anymore. Also thanks to this the | ||
2330 | 357 | SearchBarSpinner textures (and the other spinners as well) uses the | ||
2331 | 358 | SVGs scaled at the proper size (I desgined a new SVG for the | ||
2332 | 359 | magnifier, as we only had a PNG). (LP: #1283415) (LP: #1340394) | ||
2333 | 360 | * Hud: scale to match current DPI settings for monitor. (LP: #1340477) | ||
2334 | 361 | |||
2335 | 362 | [ Eleni Maria Stea ] | ||
2336 | 363 | * Previews: scale the dash preview contents to match current monitor | ||
2337 | 364 | scaling. Improved also the scaling of search-bar, spinner, categories | ||
2338 | 365 | and many other components. (LP: #1339629) | ||
2339 | 366 | |||
2340 | 367 | [ Stephen M. Webb ] | ||
2341 | 368 | * Reduce the scope of the kill command when restarting Compiz. | ||
2342 | 369 | (LP: #1324114) | ||
2343 | 370 | |||
2344 | 371 | [ Chris Townsend ] | ||
2345 | 372 | * Bump version to 7.2.3. | ||
2346 | 373 | |||
2347 | 374 | -- Ubuntu daily release <ps-jenkins@lists.canonical.com> Tue, 26 Aug 2014 13:49:00 +0000 | ||
2348 | 375 | |||
2349 | 376 | unity (7.2.2+14.04.20140714-0ubuntu2) trusty; urgency=medium | ||
2350 | 377 | |||
2351 | 378 | [ Andrea Azzarone ] | ||
2352 | 379 | * Remove cross fade effect during lock/unlocking. A simple fading | ||
2353 | 380 | works just fine. (LP: #1312107) | ||
2354 | 381 | * Manually emit nux::Area::geometry_changed beucase nux can fail to | ||
2355 | 382 | emit it. (LP: #1292391) | ||
2356 | 383 | * TextInput: use GdkKeymap to check the caps-lock status (LP: #1347735) | ||
2357 | 384 | |||
2358 | 385 | [ Pawel Szubert ] | ||
2359 | 386 | * Reduce the scope of the kill command when restarting Compiz. | ||
2360 | 387 | (LP: #1324114) | ||
2361 | 388 | |||
2362 | 389 | [ Marco Trevisan (Treviño) ] | ||
2363 | 390 | * LockScreenAcceleratorController: do ther configured action on power | ||
2364 | 391 | special keys press. We finally can suspend, shutdown, hibernate or | ||
2365 | 392 | start the screensaver when the screen is locked, using the Suspend, | ||
2366 | 393 | Sleep, Hibernate and PowerOff hardware keys. Also the Shutdown | ||
2367 | 394 | dialog doesn't allow now to lock the session if it is not allowed by | ||
2368 | 395 | settings. (LP: #1306211) (LP: #1320051) (LP: #1320071) | ||
2369 | 396 | * Previews: scale the dash preview contents to match current monitor | ||
2370 | 397 | scaling. Improved also the scaling of search-bar, spinner, categories | ||
2371 | 398 | and many other components. (LP: #1339629) | ||
2372 | 399 | * FilterWidgets: add support for scaling (LP: #1340171) | ||
2373 | 400 | * OverlayRendering: correctly scale the overlays borders and edges to | ||
2374 | 401 | match settings. DashStyle has been modified to return smart pointers | ||
2375 | 402 | of textures that are loaded depending on the scale level. The cache | ||
2376 | 403 | will make sure that we don't duplicate the textures and that they | ||
2377 | 404 | get removed when not needed anymore. Also thanks to this the | ||
2378 | 405 | SearchBarSpinner textures (and the other spinners as well) uses the | ||
2379 | 406 | SVGs scaled at the proper size (I desgined a new SVG for the | ||
2380 | 407 | magnifier, as we only had a PNG). (LP: #1283415) (LP: #1340394) | ||
2381 | 408 | * Hud: scale to match current DPI settings for monitor. (LP: #1340477) | ||
2382 | 409 | * PlacesOverlayVScrollBar and VScrollBarOverlayWindow: add support for | ||
2383 | 410 | scaling. Add a new ScrollView class to create ScrollViews with an | ||
2384 | 411 | OverlayScrollbar and with scaling support. Using them in dash Scopes and | ||
2385 | 412 | Previews. (LP: #1340996) | ||
2386 | 413 | * LockScreenShield: Add GrabScreen function and retry to make sure we really | ||
2387 | 414 | get the grab. It might happen that the grab is not possible because the | ||
2388 | 415 | PluginAdapter::IsScreenGrabbed request has still not being fully processed, | ||
2389 | 416 | and thus nux is not able to grab the pointer/keyboard. By doing this we | ||
2390 | 417 | instead try to grab the screen, and if this is not happening, we wait a | ||
2391 | 418 | little until we don't get the ungrab event. In this way, if we eventually | ||
2392 | 419 | get the grab, all will work as expected. Otherwise, we cancel the lock | ||
2393 | 420 | request (very unlikely to happen). (LP: #1349128) | ||
2394 | 421 | * PlacesOverlayVScrollBar: redirect the mouse wheel scroll events coming from | ||
2395 | 422 | the thumb to the scrollview. This will make the scrollview to handle then and | ||
2396 | 423 | perform the same scrolling action it would do otherwise. (LP: #1340992) | ||
2397 | 424 | * SwitcherView, PanelService: correctly handle horizontal and vertical scroll | ||
2398 | 425 | events (LP: #1342208) (LP: #1342731) | ||
2399 | 426 | |||
2400 | 427 | [ Eleni Maria Stea ] | ||
2401 | 428 | * Previews: scale the dash preview contents to match current monitor | ||
2402 | 429 | scaling. Improved also the scaling of search-bar, spinner, categories | ||
2403 | 430 | and many other components. (LP: #1339629) | ||
2404 | 431 | |||
2405 | 432 | [ Stephen M. Webb ] | ||
2406 | 433 | * Reduce the scope of the kill command when restarting Compiz. | ||
2407 | 434 | (LP: #1324114) | ||
2408 | 435 | |||
2409 | 436 | -- Chris Townsend <christopher.townsend@canonical.com> Wed, 23 Jul 2014 11:49:11 -0400 | ||
2410 | 437 | |||
2411 | 438 | unity (7.2.2+14.04.20140714-0ubuntu1.1) trusty-security; urgency=medium | ||
2412 | 439 | |||
2413 | 440 | * SECURITY UPDATE: more screen locking fixes (LP: #1349128) | ||
2414 | 441 | - debian/patches/lp1349128.patch: flush after ungrabbing the keyboard | ||
2415 | 442 | in unity-shared/PluginAdapter.cpp, add GrabScreen() function that | ||
2416 | 443 | retries to lockscreen/LockScreenController.cpp, | ||
2417 | 444 | lockscreen/LockScreenShield.cpp, lockscreen/LockScreenShield.h. | ||
2418 | 445 | |||
2419 | 446 | -- Marc Deslauriers <marc.deslauriers@ubuntu.com> Wed, 30 Jul 2014 15:13:41 -0400 | ||
2420 | 447 | |||
2421 | 448 | unity (7.2.2+14.04.20140714-0ubuntu1) trusty; urgency=medium | ||
2422 | 449 | |||
2423 | 450 | [ Alfred Neumayer ] | ||
2424 | 451 | * Restore the launcher position by reversing the animation and | ||
2425 | 452 | unsetting the DND_PUSHED_OFF quirk. (LP: #1304882) | ||
2426 | 453 | |||
2427 | 454 | [ Brandon Schaefer ] | ||
2428 | 455 | * TextInput: move the warning icon inside the input field, render it | ||
2429 | 456 | white (LP: #1307738) | ||
2430 | 457 | * ShutdownView: Scale up the Buttons and Text plus Borders of the | ||
2431 | 458 | UnityWindowView. (LP: #1308323) | ||
2432 | 459 | * Lockscreen warning icon needs a tooltip to say what the warning is | ||
2433 | 460 | about! (LP: #1308288) | ||
2434 | 461 | |||
2435 | 462 | [ Marco Trevisan (Treviño) ] | ||
2436 | 463 | * UnityScreen: always paint the lockscreen above, just add menu and | ||
2437 | 464 | onboard as exceptions Some code cleanup, factorizing similar code. | ||
2438 | 465 | (LP: #1313280) | ||
2439 | 466 | * ApplicationLauncherIcon: Focus and, in case, Spread the windows on | ||
2440 | 467 | DnD After 1 second that an user is over an icon, that icon should | ||
2441 | 468 | focus the relative application and Spread its windows if it has more | ||
2442 | 469 | than one opened. Correctly handle the DnD scale in launcher, and | ||
2443 | 470 | apply glow to the icon under pointer. (LP: #607796) | ||
2444 | 471 | * ShutdownView: Scale up the Buttons and Text plus Borders of the | ||
2445 | 472 | UnityWindowView. (LP: #1308323) | ||
2446 | 473 | * SwitcherView: use RawPixel's for the size values and convert them to | ||
2447 | 474 | match current scaling (LP: #1317348) | ||
2448 | 475 | * PluginAdapter: try to grab the screen to make sure that the screen | ||
2449 | 476 | is not grabbed FocusIn event with NotifyGrab mode is not always | ||
2450 | 477 | triggered by X when a window takes the grab, then we need to ensure | ||
2451 | 478 | that there's no grab by trying to get one. We only care about | ||
2452 | 479 | keyboard here, since pointer grabs don't affect us in general. | ||
2453 | 480 | (LP: #741869) | ||
2454 | 481 | * ShortcutView: use RawPixel's for the size values and convert them to | ||
2455 | 482 | match current scaling Plus dinamically allocate horizontal space, | ||
2456 | 483 | not to cut the text. (LP: #924840) | ||
2457 | 484 | |||
2458 | 485 | [ Chris Townsend ] | ||
2459 | 486 | * Fix issue where scaling the edge illumination up and down with the | ||
2460 | 487 | size of the Launcher icons would cause the illumination border to be | ||
2461 | 488 | offset and smaller than the icon. (LP: #1309739) | ||
2462 | 489 | * Fix issue where the number of Launcher icon pips are not always | ||
2463 | 490 | properly updated when a new window of an already running application | ||
2464 | 491 | is opened. (LP: #1283775) | ||
2465 | 492 | * Fix issue where the Panel shadow would get drawn over drop down | ||
2466 | 493 | windows in full screen windows. (LP: #1316005) | ||
2467 | 494 | * Bump upstream release to 7.2.2. | ||
2468 | 495 | |||
2469 | 496 | [ Andrea Azzarone ] | ||
2470 | 497 | * Clear the clipboard when locking the screen. (LP: #1308911) | ||
2471 | 498 | * Disable switcher gestures if screen is locked. Fixed a regression. | ||
2472 | 499 | (LP: #1321043) | ||
2473 | 500 | * Pass the correct options to showLauncherKeyTerminate in | ||
2474 | 501 | UnityScreen::OnLockScreen (LP: #1320438) | ||
2475 | 502 | * Fix skype indicator blinking. (LP: #1310200) | ||
2476 | 503 | * Add a warning in the session dialog if other sessions are still | ||
2477 | 504 | open. (LP: #1281058) | ||
2478 | 505 | |||
2479 | 506 | [ Ubuntu daily release ] | ||
2480 | 507 | * New rebuild forced | ||
2481 | 508 | |||
2482 | 509 | -- Ubuntu daily release <ps-jenkins@lists.canonical.com> Mon, 14 Jul 2014 14:31:00 +0000 | ||
2483 | 510 | |||
2484 | 511 | unity (7.2.1+14.04.20140513-0ubuntu2) trusty; urgency=medium | ||
2485 | 512 | >>>>>>> MERGE-SOURCE | ||
2486 | 321 | 513 | ||
2487 | 322 | [ Brandon Schaefer ] | 514 | [ Brandon Schaefer ] |
2488 | 323 | * Set the max width, so our static text wraps. So we don't end up | 515 | * Set the max width, so our static text wraps. So we don't end up |
2489 | 324 | rendering text out of the view area. (LP: #1312749) | 516 | rendering text out of the view area. (LP: #1312749) |
2490 | 325 | 517 | ||
2491 | 518 | [ Jnkyu Yi ] | ||
2492 | 519 | * fixed range of blacklisted Unicode characters (lp: #1251193) | ||
2493 | 520 | |||
2494 | 326 | [ Marco Trevisan (Treviño) ] | 521 | [ Marco Trevisan (Treviño) ] |
2495 | 327 | * UnityScreen: toggle activation of all the unity compiz actions when | 522 | * UnityScreen: toggle activation of all the unity compiz actions when |
2496 | 328 | locking the screen Also, make sure that the lockscreen views are | 523 | locking the screen Also, make sure that the lockscreen views are |
2497 | @@ -334,38 +529,23 @@ | |||
2498 | 334 | focus. This will make possible to see menus also when there's a key- | 529 | focus. This will make possible to see menus also when there's a key- |
2499 | 335 | grab (although they will be without keyboard support). Finally, | 530 | grab (although they will be without keyboard support). Finally, |
2500 | 336 | reset the menu state, if that failed. | 531 | reset the menu state, if that failed. |
2501 | 337 | * UnityScreen: always paint the lockscreen above, just add menu and | ||
2502 | 338 | onboard as exceptions Some code cleanup, factorizing similar code. | ||
2503 | 339 | (LP: #1313280) | ||
2504 | 340 | * UnityScreen: don't try to show Dash/Hud if the screen is grabbed | ||
2505 | 341 | Also move the dash opening out from LauncherController, and get rid | ||
2506 | 342 | of UBus as first initialization source, as it can only slow things | ||
2507 | 343 | down here. (LP: #741869) | ||
2508 | 344 | * PluginAdapter: make sure we don't try to call an invalid | 532 | * PluginAdapter: make sure we don't try to call an invalid |
2509 | 345 | initiate/terminate callback function (LP: #1221673) | 533 | initiate/terminate callback function (LP: #1221673) |
2510 | 346 | * DebugDBusInterface: match properties if they are in the AP array | 534 | * DebugDBusInterface: match properties if they are in the AP array |
2511 | 347 | form [<type>, <value>] (LP: #1307748) | 535 | form [<type>, <value>] (LP: #1307748) |
2512 | 348 | 536 | ||
2513 | 537 | [ Stephen M. Webb ] | ||
2514 | 538 | * lockscreen/LockScreenAccelerators.h: added required header for | ||
2515 | 539 | std:vector definition (fixes FTBFS in Ubuntu) | ||
2516 | 540 | * disabled precompiled headers on arm64 Ubuntu package builds | ||
2517 | 541 | (lp: #1317276) | ||
2518 | 542 | * bump upstream release to 7.2.1 | ||
2519 | 543 | |||
2520 | 349 | [ William Hua ] | 544 | [ William Hua ] |
2540 | 350 | * Add proper support for modifier-only shortcuts on the lock screen. | 545 | * added proper support for modifier-only shortcuts on the lock screen |
2541 | 351 | (LP: #1291461) | 546 | (lp: #1291461) |
2542 | 352 | 547 | ||
2543 | 353 | [ Jinkyu Yi ] | 548 | -- Ubuntu daily release <ps-jenkins@lists.canonical.com> Tue, 13 May 2014 20:46:01 +0000 |
2525 | 354 | * Dash: Fix problem at checking blacklisted unicode range (LP: | ||
2526 | 355 | #1251193) | ||
2527 | 356 | |||
2528 | 357 | [ Andrea Azzarone ] | ||
2529 | 358 | * Add a warning in the session dialog if other sessions are still | ||
2530 | 359 | open. (LP: #1281058) | ||
2531 | 360 | |||
2532 | 361 | -- Ubuntu daily release <ps-jenkins@lists.canonical.com> Mon, 12 May 2014 22:03:27 +0000 | ||
2533 | 362 | |||
2534 | 363 | unity (7.2.0+14.04.20140423-0ubuntu2) utopic; urgency=medium | ||
2535 | 364 | |||
2536 | 365 | * debian/control: depends on autopilot-desktop-legacy rather than | ||
2537 | 366 | autopilot-desktop. | ||
2538 | 367 | |||
2539 | 368 | -- Mathieu Trudel-Lapierre <mathieu-tl@ubuntu.com> Thu, 01 May 2014 00:32:05 -0400 | ||
2544 | 369 | 549 | ||
2545 | 370 | unity (7.2.0+14.04.20140423-0ubuntu1.2) trusty-security; urgency=medium | 550 | unity (7.2.0+14.04.20140423-0ubuntu1.2) trusty-security; urgency=medium |
2546 | 371 | 551 | ||
2547 | 372 | 552 | ||
2548 | === modified file 'debian/control' | |||
2549 | --- debian/control 2014-11-04 18:57:33 +0000 | |||
2550 | +++ debian/control 2014-12-09 18:52:51 +0000 | |||
2551 | @@ -179,7 +179,7 @@ | |||
2552 | 179 | Architecture: all | 179 | Architecture: all |
2553 | 180 | Depends: ${misc:Depends}, | 180 | Depends: ${misc:Depends}, |
2554 | 181 | ${python:Depends}, | 181 | ${python:Depends}, |
2556 | 182 | autopilot-desktop-legacy, | 182 | autopilot-desktop, |
2557 | 183 | python-windowmocker, | 183 | python-windowmocker, |
2558 | 184 | gir1.2-appindicator3-0.1, | 184 | gir1.2-appindicator3-0.1, |
2559 | 185 | gir1.2-dee-1.0, | 185 | gir1.2-dee-1.0, |
2560 | 186 | 186 | ||
2561 | === modified file 'hud/HudButton.cpp' | |||
2562 | --- hud/HudButton.cpp 2014-07-30 00:49:35 +0000 | |||
2563 | +++ hud/HudButton.cpp 2014-12-09 18:52:51 +0000 | |||
2564 | @@ -37,15 +37,28 @@ | |||
2565 | 37 | #include "HudButton.h" | 37 | #include "HudButton.h" |
2566 | 38 | #include "HudPrivate.h" | 38 | #include "HudPrivate.h" |
2567 | 39 | 39 | ||
2577 | 40 | namespace unity | 40 | <<<<<<< TREE |
2578 | 41 | { | 41 | namespace unity |
2579 | 42 | namespace hud | 42 | { |
2580 | 43 | { | 43 | namespace hud |
2581 | 44 | 44 | { | |
2582 | 45 | namespace | 45 | |
2583 | 46 | { | 46 | namespace |
2584 | 47 | const RawPixel HLAYOUT_LEFT_PADDING = 46_em; | 47 | { |
2585 | 48 | const RawPixel HEIGHT = 42_em; | 48 | const RawPixel HLAYOUT_LEFT_PADDING = 46_em; |
2586 | 49 | const RawPixel HEIGHT = 42_em; | ||
2587 | 50 | ======= | ||
2588 | 51 | namespace unity | ||
2589 | 52 | { | ||
2590 | 53 | namespace hud | ||
2591 | 54 | { | ||
2592 | 55 | |||
2593 | 56 | namespace | ||
2594 | 57 | { | ||
2595 | 58 | DECLARE_LOGGER(logger, "unity.hud.button"); | ||
2596 | 59 | const RawPixel HLAYOUT_LEFT_PADDING = 46_em; | ||
2597 | 60 | const RawPixel HEIGHT = 42_em; | ||
2598 | 61 | >>>>>>> MERGE-SOURCE | ||
2599 | 49 | const char* const button_font = "Ubuntu 13"; // 17px = 13 | 62 | const char* const button_font = "Ubuntu 13"; // 17px = 13 |
2600 | 50 | } | 63 | } |
2601 | 51 | 64 | ||
2602 | 52 | 65 | ||
2603 | === modified file 'launcher/ApplicationLauncherIcon.cpp' | |||
2604 | --- launcher/ApplicationLauncherIcon.cpp 2014-07-30 13:05:51 +0000 | |||
2605 | +++ launcher/ApplicationLauncherIcon.cpp 2014-12-09 18:52:51 +0000 | |||
2606 | @@ -1161,6 +1161,7 @@ | |||
2607 | 1161 | 1161 | ||
2608 | 1162 | void ApplicationLauncherIcon::OnDndEnter() | 1162 | void ApplicationLauncherIcon::OnDndEnter() |
2609 | 1163 | { | 1163 | { |
2610 | 1164 | <<<<<<< TREE | ||
2611 | 1164 | auto timestamp = nux::GetGraphicsDisplay()->GetCurrentEvent().x11_timestamp; | 1165 | auto timestamp = nux::GetGraphicsDisplay()->GetCurrentEvent().x11_timestamp; |
2612 | 1165 | 1166 | ||
2613 | 1166 | _source_manager.AddTimeout(1000, [this, timestamp] { | 1167 | _source_manager.AddTimeout(1000, [this, timestamp] { |
2614 | @@ -1175,6 +1176,21 @@ | |||
2615 | 1175 | if (GetWindows(WindowFilter::ON_CURRENT_DESKTOP).size() > 1) | 1176 | if (GetWindows(WindowFilter::ON_CURRENT_DESKTOP).size() > 1) |
2616 | 1176 | Spread(true, COMPIZ_SCALE_DND_SPREAD, false); | 1177 | Spread(true, COMPIZ_SCALE_DND_SPREAD, false); |
2617 | 1177 | 1178 | ||
2618 | 1179 | ======= | ||
2619 | 1180 | auto timestamp = nux::GetGraphicsDisplay()->GetCurrentEvent().x11_timestamp; | ||
2620 | 1181 | |||
2621 | 1182 | _source_manager.AddTimeout(1000, [this, timestamp] { | ||
2622 | 1183 | WindowManager::Default().TerminateScale(); | ||
2623 | 1184 | |||
2624 | 1185 | if (!IsRunning()) | ||
2625 | 1186 | return false; | ||
2626 | 1187 | |||
2627 | 1188 | Focus(ActionArg(ActionArg::Source::LAUNCHER, 1, timestamp)); | ||
2628 | 1189 | |||
2629 | 1190 | if (GetWindows(WindowFilter::ON_CURRENT_DESKTOP).size() > 1) | ||
2630 | 1191 | Spread(true, COMPIZ_SCALE_DND_SPREAD, false); | ||
2631 | 1192 | |||
2632 | 1193 | >>>>>>> MERGE-SOURCE | ||
2633 | 1178 | return false; | 1194 | return false; |
2634 | 1179 | }, ICON_DND_OVER_TIMEOUT); | 1195 | }, ICON_DND_OVER_TIMEOUT); |
2635 | 1180 | } | 1196 | } |
2636 | 1181 | 1197 | ||
2637 | === modified file 'launcher/Launcher.cpp' | |||
2638 | === modified file 'launcher/LauncherIcon.cpp' | |||
2639 | === modified file 'launcher/LauncherIcon.h' | |||
2640 | === modified file 'launcher/SwitcherView.cpp' | |||
2641 | --- launcher/SwitcherView.cpp 2014-09-04 22:11:18 +0000 | |||
2642 | +++ launcher/SwitcherView.cpp 2014-12-09 18:52:51 +0000 | |||
2643 | @@ -78,8 +78,13 @@ | |||
2644 | 78 | icon_renderer_->SetTargetSize(tile_size, icon_size, minimum_spacing); | 78 | icon_renderer_->SetTargetSize(tile_size, icon_size, minimum_spacing); |
2645 | 79 | icon_renderer_->scale = scale(); | 79 | icon_renderer_->scale = scale(); |
2646 | 80 | 80 | ||
2647 | 81 | <<<<<<< TREE | ||
2648 | 81 | text_view_->SetMaximumWidth(tile_size * TEXT_TILE_MULTIPLIER); | 82 | text_view_->SetMaximumWidth(tile_size * TEXT_TILE_MULTIPLIER); |
2649 | 82 | text_view_->SetLines(-1); | 83 | text_view_->SetLines(-1); |
2650 | 84 | ======= | ||
2651 | 85 | text_view_->SetMaximumWidth(tile_size * TEXT_TILE_MULTIPLIER); | ||
2652 | 86 | text_view_->SetLines(1); | ||
2653 | 87 | >>>>>>> MERGE-SOURCE | ||
2654 | 83 | text_view_->SetTextColor(nux::color::White); | 88 | text_view_->SetTextColor(nux::color::White); |
2655 | 84 | text_view_->SetFont("Ubuntu Bold 10"); | 89 | text_view_->SetFont("Ubuntu Bold 10"); |
2656 | 85 | text_view_->SetScale(scale); | 90 | text_view_->SetScale(scale); |
2657 | @@ -176,6 +181,7 @@ | |||
2658 | 176 | text_view_->SetText(model->Selection()->tooltip_text(), true); | 181 | text_view_->SetText(model->Selection()->tooltip_text(), true); |
2659 | 177 | } | 182 | } |
2660 | 178 | 183 | ||
2661 | 184 | <<<<<<< TREE | ||
2662 | 179 | void SwitcherView::OnIconSizeChanged(int size) | 185 | void SwitcherView::OnIconSizeChanged(int size) |
2663 | 180 | { | 186 | { |
2664 | 181 | icon_renderer_->SetTargetSize(tile_size, icon_size, minimum_spacing); | 187 | icon_renderer_->SetTargetSize(tile_size, icon_size, minimum_spacing); |
2665 | @@ -198,6 +204,29 @@ | |||
2666 | 198 | text_size = TEXT_SIZE.CP(scale); | 204 | text_size = TEXT_SIZE.CP(scale); |
2667 | 199 | vertical_size = tile_size + VERTICAL_PADDING.CP(scale) * 2; | 205 | vertical_size = tile_size + VERTICAL_PADDING.CP(scale) * 2; |
2668 | 200 | icon_renderer_->scale = scale; | 206 | icon_renderer_->scale = scale; |
2669 | 207 | ======= | ||
2670 | 208 | void SwitcherView::OnIconSizeChanged(int size) | ||
2671 | 209 | { | ||
2672 | 210 | icon_renderer_->SetTargetSize(tile_size, icon_size, minimum_spacing); | ||
2673 | 211 | } | ||
2674 | 212 | |||
2675 | 213 | void SwitcherView::OnTileSizeChanged(int size) | ||
2676 | 214 | { | ||
2677 | 215 | icon_renderer_->SetTargetSize(tile_size, icon_size, minimum_spacing); | ||
2678 | 216 | vertical_size = tile_size + VERTICAL_PADDING.CP(scale) * 2; | ||
2679 | 217 | } | ||
2680 | 218 | |||
2681 | 219 | void SwitcherView::OnScaleChanged(double scale) | ||
2682 | 220 | { | ||
2683 | 221 | text_view_->SetScale(scale); | ||
2684 | 222 | border_size = BORDER_SIZE.CP(scale); | ||
2685 | 223 | flat_spacing = FLAT_SPACING.CP(scale); | ||
2686 | 224 | icon_size = ICON_SIZE.CP(scale); | ||
2687 | 225 | minimum_spacing = MINIMUM_SPACING.CP(scale); | ||
2688 | 226 | tile_size = TILE_SIZE.CP(scale); | ||
2689 | 227 | text_size = TEXT_SIZE.CP(scale); | ||
2690 | 228 | vertical_size = tile_size + VERTICAL_PADDING.CP(scale) * 2; | ||
2691 | 229 | >>>>>>> MERGE-SOURCE | ||
2692 | 201 | } | 230 | } |
2693 | 202 | 231 | ||
2694 | 203 | void SwitcherView::StartAnimation() | 232 | void SwitcherView::StartAnimation() |
2695 | 204 | 233 | ||
2696 | === modified file 'launcher/VolumeLauncherIcon.cpp' | |||
2697 | === modified file 'lockscreen/LockScreenAbstractShield.h' | |||
2698 | === modified file 'lockscreen/LockScreenController.cpp' | |||
2699 | --- lockscreen/LockScreenController.cpp 2014-10-21 18:55:37 +0000 | |||
2700 | +++ lockscreen/LockScreenController.cpp 2014-12-09 18:52:51 +0000 | |||
2701 | @@ -239,12 +239,21 @@ | |||
2702 | 239 | is_new = true; | 239 | is_new = true; |
2703 | 240 | } | 240 | } |
2704 | 241 | 241 | ||
2705 | 242 | <<<<<<< TREE | ||
2706 | 242 | auto old_geo = shield->GetGeometry(); | 243 | auto old_geo = shield->GetGeometry(); |
2707 | 243 | auto new_geo = monitors[i]; | 244 | auto new_geo = monitors[i]; |
2708 | 244 | 245 | ||
2709 | 245 | shield->SetGeometry(new_geo); | 246 | shield->SetGeometry(new_geo); |
2710 | 246 | shield->SetMinMaxSize(new_geo.width, new_geo.height); | 247 | shield->SetMinMaxSize(new_geo.width, new_geo.height); |
2711 | 247 | shield->primary = false; | 248 | shield->primary = false; |
2712 | 249 | ======= | ||
2713 | 250 | auto old_geo = shield->GetGeometry(); | ||
2714 | 251 | auto new_geo = monitors[i]; | ||
2715 | 252 | |||
2716 | 253 | shield->SetGeometry(new_geo); | ||
2717 | 254 | shield->SetMinMaxSize(new_geo.width, new_geo.height); | ||
2718 | 255 | shield->primary = (i == primary); | ||
2719 | 256 | >>>>>>> MERGE-SOURCE | ||
2720 | 248 | shield->monitor = i; | 257 | shield->monitor = i; |
2721 | 249 | 258 | ||
2722 | 250 | // XXX: manually emit nux::Area::geometry_changed beucase nux can fail to emit it. | 259 | // XXX: manually emit nux::Area::geometry_changed beucase nux can fail to emit it. |
2723 | @@ -382,6 +391,10 @@ | |||
2724 | 382 | HideBlankWindow(); | 391 | HideBlankWindow(); |
2725 | 383 | 392 | ||
2726 | 384 | LockScreen(); | 393 | LockScreen(); |
2727 | 394 | <<<<<<< TREE | ||
2728 | 395 | ======= | ||
2729 | 396 | session_manager_->is_locked = true; | ||
2730 | 397 | >>>>>>> MERGE-SOURCE | ||
2731 | 385 | 398 | ||
2732 | 386 | if (prompt_activation_) | 399 | if (prompt_activation_) |
2733 | 387 | { | 400 | { |
2734 | @@ -442,12 +455,16 @@ | |||
2735 | 442 | indicators_ = std::make_shared<indicator::LockScreenDBusIndicators>(); | 455 | indicators_ = std::make_shared<indicator::LockScreenDBusIndicators>(); |
2736 | 443 | upstart_wrapper_->Emit("desktop-lock"); | 456 | upstart_wrapper_->Emit("desktop-lock"); |
2737 | 444 | 457 | ||
2738 | 458 | <<<<<<< TREE | ||
2739 | 445 | shutdown_notifier_ = std::make_shared<ShutdownNotifier>(); | 459 | shutdown_notifier_ = std::make_shared<ShutdownNotifier>(); |
2740 | 446 | shutdown_notifier_->RegisterInterest([](){ | 460 | shutdown_notifier_->RegisterInterest([](){ |
2741 | 447 | WindowManager::Default().UnmapAllNoNuxWindowsSync(); | 461 | WindowManager::Default().UnmapAllNoNuxWindowsSync(); |
2742 | 448 | }); | 462 | }); |
2743 | 449 | 463 | ||
2744 | 450 | accelerator_controller_ = std::make_shared<AcceleratorController>(session_manager_); | 464 | accelerator_controller_ = std::make_shared<AcceleratorController>(session_manager_); |
2745 | 465 | ======= | ||
2746 | 466 | accelerator_controller_ = std::make_shared<AcceleratorController>(session_manager_); | ||
2747 | 467 | >>>>>>> MERGE-SOURCE | ||
2748 | 451 | auto activate_key = WindowManager::Default().activate_indicators_key(); | 468 | auto activate_key = WindowManager::Default().activate_indicators_key(); |
2749 | 452 | auto accelerator = std::make_shared<Accelerator>(activate_key.second, 0, activate_key.first); | 469 | auto accelerator = std::make_shared<Accelerator>(activate_key.second, 0, activate_key.first); |
2750 | 453 | accelerator->activated.connect(std::bind(std::mem_fn(&Controller::ActivatePanel), this)); | 470 | accelerator->activated.connect(std::bind(std::mem_fn(&Controller::ActivatePanel), this)); |
2751 | 454 | 471 | ||
2752 | === modified file 'lockscreen/LockScreenShield.cpp' | |||
2753 | --- lockscreen/LockScreenShield.cpp 2014-09-19 20:44:05 +0000 | |||
2754 | +++ lockscreen/LockScreenShield.cpp 2014-12-09 18:52:51 +0000 | |||
2755 | @@ -19,6 +19,7 @@ | |||
2756 | 19 | 19 | ||
2757 | 20 | #include "LockScreenShield.h" | 20 | #include "LockScreenShield.h" |
2758 | 21 | 21 | ||
2759 | 22 | #include <NuxCore/Logger.h> | ||
2760 | 22 | #include <Nux/VLayout.h> | 23 | #include <Nux/VLayout.h> |
2761 | 23 | #include <Nux/HLayout.h> | 24 | #include <Nux/HLayout.h> |
2762 | 24 | #include <Nux/PaintLayer.h> | 25 | #include <Nux/PaintLayer.h> |
2763 | @@ -36,10 +37,18 @@ | |||
2764 | 36 | { | 37 | { |
2765 | 37 | namespace lockscreen | 38 | namespace lockscreen |
2766 | 38 | { | 39 | { |
2767 | 40 | <<<<<<< TREE | ||
2768 | 39 | namespace | 41 | namespace |
2769 | 40 | { | 42 | { |
2770 | 41 | const unsigned MAX_GRAB_WAIT = 100; | 43 | const unsigned MAX_GRAB_WAIT = 100; |
2771 | 42 | } | 44 | } |
2772 | 45 | ======= | ||
2773 | 46 | namespace | ||
2774 | 47 | { | ||
2775 | 48 | DECLARE_LOGGER(logger, "unity.lockscreen.shield"); | ||
2776 | 49 | const unsigned MAX_GRAB_WAIT = 50; | ||
2777 | 50 | } | ||
2778 | 51 | >>>>>>> MERGE-SOURCE | ||
2779 | 43 | 52 | ||
2780 | 44 | Shield::Shield(session::Manager::Ptr const& session_manager, | 53 | Shield::Shield(session::Manager::Ptr const& session_manager, |
2781 | 45 | indicator::Indicators::Ptr const& indicators, | 54 | indicator::Indicators::Ptr const& indicators, |
2782 | @@ -113,6 +122,7 @@ | |||
2783 | 113 | } | 122 | } |
2784 | 114 | } | 123 | } |
2785 | 115 | 124 | ||
2786 | 125 | <<<<<<< TREE | ||
2787 | 116 | void Shield::GrabScreen(bool cancel_on_failure) | 126 | void Shield::GrabScreen(bool cancel_on_failure) |
2788 | 117 | { | 127 | { |
2789 | 118 | auto& wc = nux::GetWindowCompositor(); | 128 | auto& wc = nux::GetWindowCompositor(); |
2790 | @@ -142,12 +152,38 @@ | |||
2791 | 142 | { | 152 | { |
2792 | 143 | auto& wc = nux::GetWindowCompositor(); | 153 | auto& wc = nux::GetWindowCompositor(); |
2793 | 144 | return (wc.GetPointerGrabArea() == this && wc.GetKeyboardGrabArea() == this); | 154 | return (wc.GetPointerGrabArea() == this && wc.GetKeyboardGrabArea() == this); |
2794 | 155 | ======= | ||
2795 | 156 | void Shield::GrabScreen(bool cancel_on_failure) | ||
2796 | 157 | { | ||
2797 | 158 | auto& wc = nux::GetWindowCompositor(); | ||
2798 | 159 | |||
2799 | 160 | if (wc.GrabPointerAdd(this) && wc.GrabKeyboardAdd(this)) | ||
2800 | 161 | { | ||
2801 | 162 | regrab_conn_->disconnect(); | ||
2802 | 163 | regrab_timeout_.reset(); | ||
2803 | 164 | } | ||
2804 | 165 | else | ||
2805 | 166 | { | ||
2806 | 167 | auto const& retry_cb = sigc::bind(sigc::mem_fun(this, &Shield::GrabScreen), false); | ||
2807 | 168 | regrab_conn_ = WindowManager::Default().screen_ungrabbed.connect(retry_cb); | ||
2808 | 169 | |||
2809 | 170 | if (cancel_on_failure) | ||
2810 | 171 | { | ||
2811 | 172 | regrab_timeout_.reset(new glib::Timeout(MAX_GRAB_WAIT, [this] { | ||
2812 | 173 | LOG_ERROR(logger) << "Impossible to get the grab to lock the screen"; | ||
2813 | 174 | session_manager_->unlock_requested.emit(); | ||
2814 | 175 | return false; | ||
2815 | 176 | })); | ||
2816 | 177 | } | ||
2817 | 178 | } | ||
2818 | 179 | >>>>>>> MERGE-SOURCE | ||
2819 | 145 | } | 180 | } |
2820 | 146 | 181 | ||
2821 | 147 | void Shield::ShowPrimaryView() | 182 | void Shield::ShowPrimaryView() |
2822 | 148 | { | 183 | { |
2823 | 149 | if (primary_layout_) | 184 | if (primary_layout_) |
2824 | 150 | { | 185 | { |
2825 | 186 | <<<<<<< TREE | ||
2826 | 151 | if (prompt_view_) | 187 | if (prompt_view_) |
2827 | 152 | { | 188 | { |
2828 | 153 | prompt_view_->scale = scale(); | 189 | prompt_view_->scale = scale(); |
2829 | @@ -155,6 +191,9 @@ | |||
2830 | 155 | } | 191 | } |
2831 | 156 | 192 | ||
2832 | 157 | GrabScreen(false); | 193 | GrabScreen(false); |
2833 | 194 | ======= | ||
2834 | 195 | GrabScreen(false); | ||
2835 | 196 | >>>>>>> MERGE-SOURCE | ||
2836 | 158 | SetLayout(primary_layout_.GetPointer()); | 197 | SetLayout(primary_layout_.GetPointer()); |
2837 | 159 | return; | 198 | return; |
2838 | 160 | } | 199 | } |
2839 | 161 | 200 | ||
2840 | === modified file 'lockscreen/LockScreenShield.h' | |||
2841 | --- lockscreen/LockScreenShield.h 2014-09-19 18:02:37 +0000 | |||
2842 | +++ lockscreen/LockScreenShield.h 2014-12-09 18:52:51 +0000 | |||
2843 | @@ -68,7 +68,12 @@ | |||
2844 | 68 | nux::ObjectPtr<nux::Layout> cof_layout_; | 68 | nux::ObjectPtr<nux::Layout> cof_layout_; |
2845 | 69 | connection::Wrapper panel_active_conn_; | 69 | connection::Wrapper panel_active_conn_; |
2846 | 70 | connection::Wrapper regrab_conn_; | 70 | connection::Wrapper regrab_conn_; |
2848 | 71 | glib::Source::UniquePtr regrab_timeout_; | 71 | <<<<<<< TREE |
2849 | 72 | glib::Source::UniquePtr regrab_timeout_; | ||
2850 | 73 | ======= | ||
2851 | 74 | glib::Source::UniquePtr regrab_timeout_; | ||
2852 | 75 | UserPromptView* prompt_view_; | ||
2853 | 76 | >>>>>>> MERGE-SOURCE | ||
2854 | 72 | Panel* panel_view_; | 77 | Panel* panel_view_; |
2855 | 73 | CofView* cof_view_; | 78 | CofView* cof_view_; |
2856 | 74 | }; | 79 | }; |
2857 | 75 | 80 | ||
2858 | === modified file 'lockscreen/UserPromptView.cpp' | |||
2859 | --- lockscreen/UserPromptView.cpp 2014-08-25 20:46:31 +0000 | |||
2860 | +++ lockscreen/UserPromptView.cpp 2014-12-09 18:52:51 +0000 | |||
2861 | @@ -40,10 +40,18 @@ | |||
2862 | 40 | const RawPixel PADDING = 10_em; | 40 | const RawPixel PADDING = 10_em; |
2863 | 41 | const RawPixel LAYOUT_MARGIN = 10_em; | 41 | const RawPixel LAYOUT_MARGIN = 10_em; |
2864 | 42 | const RawPixel MSG_LAYOUT_MARGIN = 15_em; | 42 | const RawPixel MSG_LAYOUT_MARGIN = 15_em; |
2865 | 43 | <<<<<<< TREE | ||
2866 | 43 | const RawPixel PROMPT_LAYOUT_MARGIN = 5_em; | 44 | const RawPixel PROMPT_LAYOUT_MARGIN = 5_em; |
2867 | 44 | const int PROMPT_FONT_SIZE = 13; | 45 | const int PROMPT_FONT_SIZE = 13; |
2868 | 45 | 46 | ||
2869 | 46 | nux::AbstractPaintLayer* CrateBackgroundLayer(double width, double height, double scale) | 47 | nux::AbstractPaintLayer* CrateBackgroundLayer(double width, double height, double scale) |
2870 | 48 | ======= | ||
2871 | 49 | const RawPixel PROMPT_LAYOUT_MARGIN = 5_em; | ||
2872 | 50 | |||
2873 | 51 | const int PROMPT_FONT_SIZE = 13; | ||
2874 | 52 | |||
2875 | 53 | nux::AbstractPaintLayer* CrateBackgroundLayer(int width, int height) | ||
2876 | 54 | >>>>>>> MERGE-SOURCE | ||
2877 | 47 | { | 55 | { |
2878 | 48 | nux::CairoGraphics cg(CAIRO_FORMAT_ARGB32, width, height); | 56 | nux::CairoGraphics cg(CAIRO_FORMAT_ARGB32, width, height); |
2879 | 49 | cairo_surface_set_device_scale(cg.GetSurface(), scale, scale); | 57 | cairo_surface_set_device_scale(cg.GetSurface(), scale, scale); |
2880 | @@ -103,9 +111,12 @@ | |||
2881 | 103 | : nux::View(NUX_TRACKER_LOCATION) | 111 | : nux::View(NUX_TRACKER_LOCATION) |
2882 | 104 | , scale(1.0) | 112 | , scale(1.0) |
2883 | 105 | , session_manager_(session_manager) | 113 | , session_manager_(session_manager) |
2884 | 114 | <<<<<<< TREE | ||
2885 | 106 | , username_(nullptr) | 115 | , username_(nullptr) |
2886 | 107 | , msg_layout_(nullptr) | 116 | , msg_layout_(nullptr) |
2887 | 108 | , prompt_layout_(nullptr) | 117 | , prompt_layout_(nullptr) |
2888 | 118 | ======= | ||
2889 | 119 | >>>>>>> MERGE-SOURCE | ||
2890 | 109 | { | 120 | { |
2891 | 110 | user_authenticator_.echo_on_requested.connect([this](std::string const& message, PromiseAuthCodePtr const& promise){ | 121 | user_authenticator_.echo_on_requested.connect([this](std::string const& message, PromiseAuthCodePtr const& promise){ |
2892 | 111 | AddPrompt(message, /* visible */ true, promise); | 122 | AddPrompt(message, /* visible */ true, promise); |
2893 | @@ -127,13 +138,17 @@ | |||
2894 | 127 | ResetLayout(); | 138 | ResetLayout(); |
2895 | 128 | }); | 139 | }); |
2896 | 129 | 140 | ||
2897 | 141 | <<<<<<< TREE | ||
2898 | 130 | scale.changed.connect(sigc::hide(sigc::mem_fun(this, &UserPromptView::UpdateSize))); | 142 | scale.changed.connect(sigc::hide(sigc::mem_fun(this, &UserPromptView::UpdateSize))); |
2899 | 131 | 143 | ||
2900 | 132 | UpdateSize(); | 144 | UpdateSize(); |
2901 | 145 | ======= | ||
2902 | 146 | >>>>>>> MERGE-SOURCE | ||
2903 | 133 | ResetLayout(); | 147 | ResetLayout(); |
2904 | 134 | 148 | ||
2905 | 135 | user_authenticator_.AuthenticateStart(session_manager_->UserName(), | 149 | user_authenticator_.AuthenticateStart(session_manager_->UserName(), |
2906 | 136 | sigc::mem_fun(this, &UserPromptView::AuthenticationCb)); | 150 | sigc::mem_fun(this, &UserPromptView::AuthenticationCb)); |
2907 | 151 | <<<<<<< TREE | ||
2908 | 137 | } | 152 | } |
2909 | 138 | 153 | ||
2910 | 139 | void UserPromptView::UpdateSize() | 154 | void UserPromptView::UpdateSize() |
2911 | @@ -184,6 +199,8 @@ | |||
2912 | 184 | ComputeContentSize(); | 199 | ComputeContentSize(); |
2913 | 185 | QueueRelayout(); | 200 | QueueRelayout(); |
2914 | 186 | QueueDraw(); | 201 | QueueDraw(); |
2915 | 202 | ======= | ||
2916 | 203 | >>>>>>> MERGE-SOURCE | ||
2917 | 187 | } | 204 | } |
2918 | 188 | 205 | ||
2919 | 189 | bool UserPromptView::InspectKeyEvent(unsigned int eventType, unsigned int key_sym, const char* character) | 206 | bool UserPromptView::InspectKeyEvent(unsigned int eventType, unsigned int key_sym, const char* character) |
2920 | @@ -317,15 +334,26 @@ | |||
2921 | 317 | text_input->scale = scale(); | 334 | text_input->scale = scale(); |
2922 | 318 | text_input->input_hint = SanitizeMessage(message); | 335 | text_input->input_hint = SanitizeMessage(message); |
2923 | 319 | text_input->hint_font_size = PROMPT_FONT_SIZE; | 336 | text_input->hint_font_size = PROMPT_FONT_SIZE; |
2924 | 337 | <<<<<<< TREE | ||
2925 | 320 | text_input->show_caps_lock = true; | 338 | text_input->show_caps_lock = true; |
2926 | 321 | text_input->show_activator = true; | 339 | text_input->show_activator = true; |
2927 | 340 | ======= | ||
2928 | 341 | text_input->show_caps_lock = true; | ||
2929 | 342 | >>>>>>> MERGE-SOURCE | ||
2930 | 322 | text_entry->SetPasswordMode(!visible); | 343 | text_entry->SetPasswordMode(!visible); |
2931 | 323 | text_entry->SetPasswordChar("•"); | 344 | text_entry->SetPasswordChar("•"); |
2932 | 324 | text_entry->SetToggleCursorVisibilityOnKeyFocus(true); | 345 | text_entry->SetToggleCursorVisibilityOnKeyFocus(true); |
2933 | 346 | <<<<<<< TREE | ||
2934 | 325 | text_entry->clipboard_enabled = false; | 347 | text_entry->clipboard_enabled = false; |
2935 | 326 | 348 | ||
2936 | 327 | text_input->SetMinimumHeight(Settings::GRID_SIZE.CP(scale)); | 349 | text_input->SetMinimumHeight(Settings::GRID_SIZE.CP(scale)); |
2937 | 328 | text_input->SetMaximumHeight(Settings::GRID_SIZE.CP(scale)); | 350 | text_input->SetMaximumHeight(Settings::GRID_SIZE.CP(scale)); |
2938 | 351 | ======= | ||
2939 | 352 | text_entry->clipboard_enabled = false; | ||
2940 | 353 | |||
2941 | 354 | text_input->SetMinimumHeight(Settings::GRID_SIZE); | ||
2942 | 355 | text_input->SetMaximumHeight(Settings::GRID_SIZE); | ||
2943 | 356 | >>>>>>> MERGE-SOURCE | ||
2944 | 329 | prompt_layout_->AddView(text_input, 1); | 357 | prompt_layout_->AddView(text_input, 1); |
2945 | 330 | focus_queue_.push_back(text_input); | 358 | focus_queue_.push_back(text_input); |
2946 | 331 | 359 | ||
2947 | 332 | 360 | ||
2948 | === modified file 'lockscreen/UserPromptView.h' | |||
2949 | --- lockscreen/UserPromptView.h 2014-07-28 16:58:13 +0000 | |||
2950 | +++ lockscreen/UserPromptView.h 2014-12-09 18:52:51 +0000 | |||
2951 | @@ -74,7 +74,14 @@ | |||
2952 | 74 | StaticCairoText* username_; | 74 | StaticCairoText* username_; |
2953 | 75 | nux::VLayout* msg_layout_; | 75 | nux::VLayout* msg_layout_; |
2954 | 76 | nux::VLayout* prompt_layout_; | 76 | nux::VLayout* prompt_layout_; |
2956 | 77 | std::deque<TextInput*> focus_queue_; | 77 | <<<<<<< TREE |
2957 | 78 | std::deque<TextInput*> focus_queue_; | ||
2958 | 79 | ======= | ||
2959 | 80 | StaticCairoText* message_; | ||
2960 | 81 | StaticCairoText* error_; | ||
2961 | 82 | StaticCairoText* invalid_login_; | ||
2962 | 83 | std::deque<TextInput*> focus_queue_; | ||
2963 | 84 | >>>>>>> MERGE-SOURCE | ||
2964 | 78 | 85 | ||
2965 | 79 | nux::Geometry cached_focused_geo_; | 86 | nux::Geometry cached_focused_geo_; |
2966 | 80 | }; | 87 | }; |
2967 | 81 | 88 | ||
2968 | === modified file 'panel/PanelIndicatorEntryView.cpp' | |||
2969 | === modified file 'plugins/unityshell/src/unityshell.cpp' | |||
2970 | === modified file 'plugins/unityshell/src/unityshell.h' | |||
2971 | === modified file 'po/unity.pot' | |||
2972 | --- po/unity.pot 2014-07-11 17:49:21 +0000 | |||
2973 | +++ po/unity.pot 2014-12-09 18:52:51 +0000 | |||
2974 | @@ -8,7 +8,7 @@ | |||
2975 | 8 | msgstr "" | 8 | msgstr "" |
2976 | 9 | "Project-Id-Version: PACKAGE VERSION\n" | 9 | "Project-Id-Version: PACKAGE VERSION\n" |
2977 | 10 | "Report-Msgid-Bugs-To: ayatana-dev@lists.launchpad.net\n" | 10 | "Report-Msgid-Bugs-To: ayatana-dev@lists.launchpad.net\n" |
2979 | 11 | "POT-Creation-Date: 2013-04-17 16:00+0100\n" | 11 | "POT-Creation-Date: 2014-07-01 11:21-0400\n" |
2980 | 12 | "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" | 12 | "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" |
2981 | 13 | "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" | 13 | "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" |
2982 | 14 | "Language-Team: LANGUAGE <LL@li.org>\n" | 14 | "Language-Team: LANGUAGE <LL@li.org>\n" |
2983 | @@ -38,6 +38,26 @@ | |||
2984 | 38 | msgid "Last Updated" | 38 | msgid "Last Updated" |
2985 | 39 | msgstr "" | 39 | msgstr "" |
2986 | 40 | 40 | ||
2987 | 41 | #. The "%s" is used in the dash preview to display the "<hint>: <value>" infos | ||
2988 | 42 | #, c-format | ||
2989 | 43 | msgid "%s:" | ||
2990 | 44 | msgstr "" | ||
2991 | 45 | |||
2992 | 46 | msgid "Comments" | ||
2993 | 47 | msgstr "" | ||
2994 | 48 | |||
2995 | 49 | msgid "This window is not responding" | ||
2996 | 50 | msgstr "" | ||
2997 | 51 | |||
2998 | 52 | msgid "Do you want to force the application to exit, or wait for it to respond?" | ||
2999 | 53 | msgstr "" | ||
3000 | 54 | |||
3001 | 55 | msgid "_Wait" | ||
3002 | 56 | msgstr "" | ||
3003 | 57 | |||
3004 | 58 | msgid "_Force Quit" | ||
3005 | 59 | msgstr "" | ||
3006 | 60 | |||
3007 | 41 | msgid "Type your command" | 61 | msgid "Type your command" |
3008 | 42 | msgstr "" | 62 | msgstr "" |
3009 | 43 | 63 | ||
3010 | @@ -50,6 +70,12 @@ | |||
3011 | 50 | msgid "Quit" | 70 | msgid "Quit" |
3012 | 51 | msgstr "" | 71 | msgstr "" |
3013 | 52 | 72 | ||
3014 | 73 | msgid "Exit" | ||
3015 | 74 | msgstr "" | ||
3016 | 75 | |||
3017 | 76 | msgid "Close" | ||
3018 | 77 | msgstr "" | ||
3019 | 78 | |||
3020 | 53 | msgid "Search your computer and online sources" | 79 | msgid "Search your computer and online sources" |
3021 | 54 | msgstr "" | 80 | msgstr "" |
3022 | 55 | 81 | ||
3023 | @@ -69,13 +95,16 @@ | |||
3024 | 69 | msgid "Waiting to install" | 95 | msgid "Waiting to install" |
3025 | 70 | msgstr "" | 96 | msgstr "" |
3026 | 71 | 97 | ||
3027 | 98 | msgid "Installing…" | ||
3028 | 99 | msgstr "" | ||
3029 | 100 | |||
3030 | 72 | msgid "Drop To Add Application" | 101 | msgid "Drop To Add Application" |
3031 | 73 | msgstr "" | 102 | msgstr "" |
3032 | 74 | 103 | ||
3033 | 75 | msgid "Trash" | 104 | msgid "Trash" |
3034 | 76 | msgstr "" | 105 | msgstr "" |
3035 | 77 | 106 | ||
3037 | 78 | msgid "Empty Trash..." | 107 | msgid "Empty Trash…" |
3038 | 79 | msgstr "" | 108 | msgstr "" |
3039 | 80 | 109 | ||
3040 | 81 | msgid "Open" | 110 | msgid "Open" |
3041 | @@ -96,6 +125,15 @@ | |||
3042 | 96 | msgid "Unmount" | 125 | msgid "Unmount" |
3043 | 97 | msgstr "" | 126 | msgstr "" |
3044 | 98 | 127 | ||
3045 | 128 | msgid "Password" | ||
3046 | 129 | msgstr "" | ||
3047 | 130 | |||
3048 | 131 | msgid "Username" | ||
3049 | 132 | msgstr "" | ||
3050 | 133 | |||
3051 | 134 | msgid "Invalid password, please try again" | ||
3052 | 135 | msgstr "" | ||
3053 | 136 | |||
3054 | 99 | msgid "Ubuntu Desktop" | 137 | msgid "Ubuntu Desktop" |
3055 | 100 | msgstr "" | 138 | msgstr "" |
3056 | 101 | 139 | ||
3057 | @@ -105,6 +143,14 @@ | |||
3058 | 105 | msgid "Launcher" | 143 | msgid "Launcher" |
3059 | 106 | msgstr "" | 144 | msgstr "" |
3060 | 107 | 145 | ||
3061 | 146 | #, c-format | ||
3062 | 147 | msgid "%s: running: %zu windows open" | ||
3063 | 148 | msgstr "" | ||
3064 | 149 | |||
3065 | 150 | #, c-format | ||
3066 | 151 | msgid "%s: running" | ||
3067 | 152 | msgstr "" | ||
3068 | 153 | |||
3069 | 108 | msgid "Quicklist" | 154 | msgid "Quicklist" |
3070 | 109 | msgstr "" | 155 | msgstr "" |
3071 | 110 | 156 | ||
3072 | @@ -165,6 +211,9 @@ | |||
3073 | 165 | msgid "Opens the Dash Music Lens." | 211 | msgid "Opens the Dash Music Lens." |
3074 | 166 | msgstr "" | 212 | msgstr "" |
3075 | 167 | 213 | ||
3076 | 214 | msgid "Opens the Dash Photo Lens." | ||
3077 | 215 | msgstr "" | ||
3078 | 216 | |||
3079 | 168 | msgid "Opens the Dash Video Lens." | 217 | msgid "Opens the Dash Video Lens." |
3080 | 169 | msgstr "" | 218 | msgstr "" |
3081 | 170 | 219 | ||
3082 | @@ -210,6 +259,9 @@ | |||
3083 | 210 | msgid "Switches between applications." | 259 | msgid "Switches between applications." |
3084 | 211 | msgstr "" | 260 | msgstr "" |
3085 | 212 | 261 | ||
3086 | 262 | msgid "Switches between applications from all workspaces." | ||
3087 | 263 | msgstr "" | ||
3088 | 264 | |||
3089 | 213 | msgid "Switches windows of current applications." | 265 | msgid "Switches windows of current applications." |
3090 | 214 | msgstr "" | 266 | msgstr "" |
3091 | 215 | 267 | ||
3092 | @@ -234,6 +286,12 @@ | |||
3093 | 234 | msgid "Spreads all windows in the current workspace." | 286 | msgid "Spreads all windows in the current workspace." |
3094 | 235 | msgstr "" | 287 | msgstr "" |
3095 | 236 | 288 | ||
3096 | 289 | msgid "Spreads all windows." | ||
3097 | 290 | msgstr "" | ||
3098 | 291 | |||
3099 | 292 | msgid "Spreads all windows in all the workspaces." | ||
3100 | 293 | msgstr "" | ||
3101 | 294 | |||
3102 | 237 | msgid "Minimises all windows." | 295 | msgid "Minimises all windows." |
3103 | 238 | msgstr "" | 296 | msgstr "" |
3104 | 239 | 297 | ||
3105 | @@ -258,7 +316,7 @@ | |||
3106 | 258 | msgid "Places the window in corresponding position." | 316 | msgid "Places the window in corresponding position." |
3107 | 259 | msgstr "" | 317 | msgstr "" |
3108 | 260 | 318 | ||
3110 | 261 | msgid "Ctrl + Alt + Num" | 319 | msgid "Ctrl + Alt + Num (keypad)" |
3111 | 262 | msgstr "" | 320 | msgstr "" |
3112 | 263 | 321 | ||
3113 | 264 | msgid " Drag" | 322 | msgid " Drag" |
3114 | @@ -270,6 +328,11 @@ | |||
3115 | 270 | msgid "Resizes the window." | 328 | msgid "Resizes the window." |
3116 | 271 | msgstr "" | 329 | msgstr "" |
3117 | 272 | 330 | ||
3118 | 331 | msgid "" | ||
3119 | 332 | "Other users are logged in. Restarting or shutting down will close their open applications and may cause them to lose work.\n" | ||
3120 | 333 | "\n" | ||
3121 | 334 | msgstr "" | ||
3122 | 335 | |||
3123 | 273 | msgid "Shut Down" | 336 | msgid "Shut Down" |
3124 | 274 | msgstr "" | 337 | msgstr "" |
3125 | 275 | 338 | ||
3126 | @@ -327,3 +390,7 @@ | |||
3127 | 327 | 390 | ||
3128 | 328 | msgid "Filter results" | 391 | msgid "Filter results" |
3129 | 329 | msgstr "" | 392 | msgstr "" |
3130 | 393 | |||
3131 | 394 | #. avoid wrap lines | ||
3132 | 395 | msgid "Caps lock is on" | ||
3133 | 396 | msgstr "" | ||
3134 | 330 | 397 | ||
3135 | === modified file 'services/panel-service.c' | |||
3136 | --- services/panel-service.c 2014-11-28 12:55:58 +0000 | |||
3137 | +++ services/panel-service.c 2014-12-09 18:52:51 +0000 | |||
3138 | @@ -2506,6 +2506,7 @@ | |||
3139 | 2506 | entry = get_indicator_entry_by_id (self, entry_id); | 2506 | entry = get_indicator_entry_by_id (self, entry_id); |
3140 | 2507 | g_return_if_fail (entry); | 2507 | g_return_if_fail (entry); |
3141 | 2508 | 2508 | ||
3142 | 2509 | <<<<<<< TREE | ||
3143 | 2509 | GdkScrollDirection direction = G_MAXINT; | 2510 | GdkScrollDirection direction = G_MAXINT; |
3144 | 2510 | 2511 | ||
3145 | 2511 | switch (delta) | 2512 | switch (delta) |
3146 | @@ -2541,4 +2542,30 @@ | |||
3147 | 2541 | { | 2542 | { |
3148 | 2542 | gtk_menu_popdown (GTK_MENU (self->priv->last_menu)); | 2543 | gtk_menu_popdown (GTK_MENU (self->priv->last_menu)); |
3149 | 2543 | } | 2544 | } |
3150 | 2545 | ======= | ||
3151 | 2546 | GdkScrollDirection direction = G_MAXINT; | ||
3152 | 2547 | |||
3153 | 2548 | switch (delta) | ||
3154 | 2549 | { | ||
3155 | 2550 | case NUX_VERTICAL_SCROLL_DELTA: | ||
3156 | 2551 | direction = INDICATOR_OBJECT_SCROLL_UP; | ||
3157 | 2552 | break; | ||
3158 | 2553 | case -NUX_VERTICAL_SCROLL_DELTA: | ||
3159 | 2554 | direction = INDICATOR_OBJECT_SCROLL_DOWN; | ||
3160 | 2555 | break; | ||
3161 | 2556 | case NUX_HORIZONTAL_SCROLL_DELTA: | ||
3162 | 2557 | direction = INDICATOR_OBJECT_SCROLL_LEFT; | ||
3163 | 2558 | break; | ||
3164 | 2559 | case -NUX_HORIZONTAL_SCROLL_DELTA: | ||
3165 | 2560 | direction = INDICATOR_OBJECT_SCROLL_RIGHT; | ||
3166 | 2561 | break; | ||
3167 | 2562 | } | ||
3168 | 2563 | |||
3169 | 2564 | if (direction != G_MAXINT) | ||
3170 | 2565 | { | ||
3171 | 2566 | object = get_entry_parent_indicator (entry); | ||
3172 | 2567 | g_signal_emit_by_name(object, INDICATOR_OBJECT_SIGNAL_ENTRY_SCROLLED, | ||
3173 | 2568 | entry, 1, direction); | ||
3174 | 2569 | } | ||
3175 | 2570 | >>>>>>> MERGE-SOURCE | ||
3176 | 2544 | } | 2571 | } |
3177 | 2545 | 2572 | ||
3178 | === modified file 'tests/test_lockscreen_controller.cpp' | |||
3179 | === modified file 'unity-shared/DashStyle.cpp' | |||
3180 | === modified file 'unity-shared/IconTexture.cpp' | |||
3181 | === modified file 'unity-shared/PluginAdapter.cpp' | |||
3182 | === modified file 'unity-shared/SearchBar.cpp' | |||
3183 | --- unity-shared/SearchBar.cpp 2014-09-04 22:11:33 +0000 | |||
3184 | +++ unity-shared/SearchBar.cpp 2014-12-09 18:52:51 +0000 | |||
3185 | @@ -336,10 +336,17 @@ | |||
3186 | 336 | pango_entry_->SetMaximumHeight(entry_min); | 336 | pango_entry_->SetMaximumHeight(entry_min); |
3187 | 337 | layered_layout_->SetMinimumHeight(entry_min); | 337 | layered_layout_->SetMinimumHeight(entry_min); |
3188 | 338 | layered_layout_->SetMaximumHeight(entry_min); | 338 | layered_layout_->SetMaximumHeight(entry_min); |
3189 | 339 | <<<<<<< TREE | ||
3190 | 339 | 340 | ||
3191 | 340 | int search_bar_height = style.GetSearchBarHeight().CP(font_scaling); | 341 | int search_bar_height = style.GetSearchBarHeight().CP(font_scaling); |
3192 | 341 | SetMinimumHeight(search_bar_height); | 342 | SetMinimumHeight(search_bar_height); |
3193 | 342 | SetMaximumHeight(search_bar_height); | 343 | SetMaximumHeight(search_bar_height); |
3194 | 344 | ======= | ||
3195 | 345 | |||
3196 | 346 | int search_bar_height = style.GetSearchBarHeight().CP(scale); | ||
3197 | 347 | SetMinimumHeight(search_bar_height); | ||
3198 | 348 | SetMaximumHeight(search_bar_height); | ||
3199 | 349 | >>>>>>> MERGE-SOURCE | ||
3200 | 343 | } | 350 | } |
3201 | 344 | 351 | ||
3202 | 345 | void SearchBar::UpdateScale(double scale) | 352 | void SearchBar::UpdateScale(double scale) |
3203 | 346 | 353 | ||
3204 | === modified file 'unity-shared/SearchBarSpinner.h' | |||
3205 | === modified file 'unity-shared/SpreadFilter.cpp' | |||
3206 | === modified file 'unity-shared/TextInput.cpp' | |||
3207 | --- unity-shared/TextInput.cpp 2014-09-04 22:11:03 +0000 | |||
3208 | +++ unity-shared/TextInput.cpp 2014-12-09 18:52:51 +0000 | |||
3209 | @@ -19,6 +19,13 @@ | |||
3210 | 19 | 19 | ||
3211 | 20 | #include "config.h" | 20 | #include "config.h" |
3212 | 21 | #include "TextInput.h" | 21 | #include "TextInput.h" |
3213 | 22 | #include "unity-shared/IconTexture.h" | ||
3214 | 23 | #include "unity-shared/DashStyle.h" | ||
3215 | 24 | #include "unity-shared/RawPixel.h" | ||
3216 | 25 | #include "unity-shared/PreviewStyle.h" | ||
3217 | 26 | |||
3218 | 27 | namespace unity | ||
3219 | 28 | { | ||
3220 | 22 | 29 | ||
3221 | 23 | #include <gtk/gtk.h> | 30 | #include <gtk/gtk.h> |
3222 | 24 | #include <glib/gi18n-lib.h> | 31 | #include <glib/gi18n-lib.h> |
3223 | @@ -43,6 +50,7 @@ | |||
3224 | 43 | 50 | ||
3225 | 44 | namespace | 51 | namespace |
3226 | 45 | { | 52 | { |
3227 | 53 | <<<<<<< TREE | ||
3228 | 46 | const int BORDER_RADIUS = 5; | 54 | const int BORDER_RADIUS = 5; |
3229 | 47 | const int TOOLTIP_WAIT = 500; | 55 | const int TOOLTIP_WAIT = 500; |
3230 | 48 | const RawPixel SPACE_BETWEEN_ENTRY_AND_HIGHLIGHT = 10_em; | 56 | const RawPixel SPACE_BETWEEN_ENTRY_AND_HIGHLIGHT = 10_em; |
3231 | @@ -55,13 +63,35 @@ | |||
3232 | 55 | const RawPixel DEFAULT_ICON_SIZE = 22_em; | 63 | const RawPixel DEFAULT_ICON_SIZE = 22_em; |
3233 | 56 | 64 | ||
3234 | 57 | std::string WARNING_ICON = "dialog-warning-symbolic"; | 65 | std::string WARNING_ICON = "dialog-warning-symbolic"; |
3235 | 66 | ======= | ||
3236 | 67 | const float kExpandDefaultIconOpacity = 1.0f; | ||
3237 | 68 | |||
3238 | 69 | const int SPACE_BETWEEN_ENTRY_AND_HIGHLIGHT = 10; | ||
3239 | 70 | const int LEFT_INTERNAL_PADDING = 6; | ||
3240 | 71 | const int TEXT_INPUT_RIGHT_BORDER = 10; | ||
3241 | 72 | |||
3242 | 73 | const int HIGHLIGHT_HEIGHT = 24; | ||
3243 | 74 | |||
3244 | 75 | const RawPixel TOOLTIP_Y_OFFSET = 3_em; | ||
3245 | 76 | const RawPixel TOOLTIP_OFFSET = 10_em; | ||
3246 | 77 | const RawPixel DEFAULT_ICON_SIZE = 22_em; | ||
3247 | 78 | |||
3248 | 79 | std::string WARNING_ICON = "dialog-warning-symbolic"; | ||
3249 | 80 | >>>>>>> MERGE-SOURCE | ||
3250 | 58 | // Fonts | 81 | // Fonts |
3251 | 59 | const std::string HINT_LABEL_DEFAULT_FONT_NAME = "Ubuntu"; | 82 | const std::string HINT_LABEL_DEFAULT_FONT_NAME = "Ubuntu"; |
3252 | 60 | const int HINT_LABEL_FONT_SIZE = 11; | 83 | const int HINT_LABEL_FONT_SIZE = 11; |
3253 | 61 | 84 | ||
3254 | 62 | const std::string PANGO_ENTRY_DEFAULT_FONT_FAMILY = "Ubuntu"; | 85 | const std::string PANGO_ENTRY_DEFAULT_FONT_FAMILY = "Ubuntu"; |
3255 | 86 | <<<<<<< TREE | ||
3256 | 63 | const RawPixel PANGO_ENTRY_FONT_SIZE = 14_em; | 87 | const RawPixel PANGO_ENTRY_FONT_SIZE = 14_em; |
3257 | 64 | 88 | ||
3258 | 89 | ======= | ||
3259 | 90 | const int PANGO_ENTRY_FONT_SIZE = 14; | ||
3260 | 91 | |||
3261 | 92 | } | ||
3262 | 93 | |||
3263 | 94 | >>>>>>> MERGE-SOURCE | ||
3264 | 65 | nux::logging::Logger logger("unity.textinput"); | 95 | nux::logging::Logger logger("unity.textinput"); |
3265 | 66 | 96 | ||
3266 | 67 | std::shared_ptr<nux::AbstractPaintLayer> CreateWarningLayer(nux::BaseTexture* texture) | 97 | std::shared_ptr<nux::AbstractPaintLayer> CreateWarningLayer(nux::BaseTexture* texture) |
3267 | @@ -86,18 +116,46 @@ | |||
3268 | 86 | 116 | ||
3269 | 87 | NUX_IMPLEMENT_OBJECT_TYPE(TextInput); | 117 | NUX_IMPLEMENT_OBJECT_TYPE(TextInput); |
3270 | 88 | 118 | ||
3271 | 119 | nux::AbstractPaintLayer* CreateWarningLayer(nux::BaseTexture* texture) | ||
3272 | 120 | { | ||
3273 | 121 | // Create the texture layer | ||
3274 | 122 | nux::TexCoordXForm texxform; | ||
3275 | 123 | |||
3276 | 124 | texxform.SetTexCoordType(nux::TexCoordXForm::OFFSET_COORD); | ||
3277 | 125 | texxform.SetWrap(nux::TEXWRAP_REPEAT, nux::TEXWRAP_REPEAT); | ||
3278 | 126 | texxform.min_filter = nux::TEXFILTER_LINEAR; | ||
3279 | 127 | texxform.mag_filter = nux::TEXFILTER_LINEAR; | ||
3280 | 128 | |||
3281 | 129 | nux::ROPConfig rop; | ||
3282 | 130 | rop.Blend = true; | ||
3283 | 131 | |||
3284 | 132 | rop.SrcBlend = GL_ONE; | ||
3285 | 133 | rop.DstBlend = GL_ONE_MINUS_SRC_ALPHA; | ||
3286 | 134 | |||
3287 | 135 | return (new nux::TextureLayer(texture->GetDeviceTexture(), | ||
3288 | 136 | texxform, | ||
3289 | 137 | nux::color::White, | ||
3290 | 138 | true, | ||
3291 | 139 | rop)); | ||
3292 | 140 | } | ||
3293 | 141 | |||
3294 | 89 | TextInput::TextInput(NUX_FILE_LINE_DECL) | 142 | TextInput::TextInput(NUX_FILE_LINE_DECL) |
3295 | 90 | : View(NUX_FILE_LINE_PARAM) | 143 | : View(NUX_FILE_LINE_PARAM) |
3296 | 91 | , input_hint("") | 144 | , input_hint("") |
3297 | 92 | , hint_font_name(HINT_LABEL_DEFAULT_FONT_NAME) | 145 | , hint_font_name(HINT_LABEL_DEFAULT_FONT_NAME) |
3298 | 93 | , hint_font_size(HINT_LABEL_FONT_SIZE) | 146 | , hint_font_size(HINT_LABEL_FONT_SIZE) |
3299 | 147 | <<<<<<< TREE | ||
3300 | 94 | , show_activator(false) | 148 | , show_activator(false) |
3301 | 95 | , show_caps_lock(false) | 149 | , show_caps_lock(false) |
3302 | 96 | , scale(1.0) | 150 | , scale(1.0) |
3303 | 151 | ======= | ||
3304 | 152 | , show_caps_lock(false) | ||
3305 | 153 | >>>>>>> MERGE-SOURCE | ||
3306 | 97 | , bg_layer_(new nux::ColorLayer(nux::Color(0xff595853), true)) | 154 | , bg_layer_(new nux::ColorLayer(nux::Color(0xff595853), true)) |
3307 | 98 | , caps_lock_on(false) | 155 | , caps_lock_on(false) |
3308 | 99 | , last_width_(-1) | 156 | , last_width_(-1) |
3309 | 100 | , last_height_(-1) | 157 | , last_height_(-1) |
3310 | 158 | , mouse_over_warning_icon_(false) | ||
3311 | 101 | { | 159 | { |
3312 | 102 | layout_ = new nux::HLayout(NUX_TRACKER_LOCATION); | 160 | layout_ = new nux::HLayout(NUX_TRACKER_LOCATION); |
3313 | 103 | layout_->SetLeftAndRightPadding(LEFT_INTERNAL_PADDING.CP(scale), TEXT_INPUT_RIGHT_BORDER.CP(scale)); | 161 | layout_->SetLeftAndRightPadding(LEFT_INTERNAL_PADDING.CP(scale), TEXT_INPUT_RIGHT_BORDER.CP(scale)); |
3314 | @@ -131,6 +189,7 @@ | |||
3315 | 131 | layered_layout_->SetActiveLayerN(1); | 189 | layered_layout_->SetActiveLayerN(1); |
3316 | 132 | layout_->AddView(layered_layout_, 1, nux::MINOR_POSITION_CENTER, nux::MINOR_SIZE_FIX); | 190 | layout_->AddView(layered_layout_, 1, nux::MINOR_POSITION_CENTER, nux::MINOR_SIZE_FIX); |
3317 | 133 | 191 | ||
3318 | 192 | <<<<<<< TREE | ||
3319 | 134 | UpdateSize(); | 193 | UpdateSize(); |
3320 | 135 | 194 | ||
3321 | 136 | // Caps lock warning | 195 | // Caps lock warning |
3322 | @@ -164,6 +223,27 @@ | |||
3323 | 164 | }); | 223 | }); |
3324 | 165 | 224 | ||
3325 | 166 | // Spinner | 225 | // Spinner |
3326 | 226 | ======= | ||
3327 | 227 | warning_ = new IconTexture(LoadWarningIcon(DEFAULT_ICON_SIZE)); | ||
3328 | 228 | warning_->SetVisible(caps_lock_on()); | ||
3329 | 229 | layout_->AddView(warning_, 0, nux::MINOR_POSITION_CENTER, nux::MINOR_SIZE_FULL); | ||
3330 | 230 | caps_lock_on.changed.connect([this] (bool on) { | ||
3331 | 231 | if (show_caps_lock) | ||
3332 | 232 | { | ||
3333 | 233 | warning_->SetVisible(on); | ||
3334 | 234 | QueueRelayout(); | ||
3335 | 235 | QueueDraw(); | ||
3336 | 236 | } | ||
3337 | 237 | }); | ||
3338 | 238 | |||
3339 | 239 | show_caps_lock.changed.connect([this] (bool changed) { | ||
3340 | 240 | if (!warning_tooltip_.IsValid()) | ||
3341 | 241 | LoadWarningTooltip(); | ||
3342 | 242 | |||
3343 | 243 | CheckIfCapsLockOn(); | ||
3344 | 244 | }); | ||
3345 | 245 | |||
3346 | 246 | >>>>>>> MERGE-SOURCE | ||
3347 | 167 | spinner_ = new SearchBarSpinner(); | 247 | spinner_ = new SearchBarSpinner(); |
3348 | 168 | spinner_->SetVisible(false); | 248 | spinner_->SetVisible(false); |
3349 | 169 | spinner_->scale = scale(); | 249 | spinner_->scale = scale(); |
3350 | @@ -180,12 +260,17 @@ | |||
3351 | 180 | CheckIfCapsLockOn(); | 260 | CheckIfCapsLockOn(); |
3352 | 181 | }); | 261 | }); |
3353 | 182 | 262 | ||
3354 | 263 | sig_manager_.Add<void, GdkKeymap*>(gdk_keymap_get_default(), "state-changed", [this](GdkKeymap*) { | ||
3355 | 264 | CheckIfCapsLockOn(); | ||
3356 | 265 | }); | ||
3357 | 266 | |||
3358 | 183 | input_string.SetGetterFunction(sigc::mem_fun(this, &TextInput::get_input_string)); | 267 | input_string.SetGetterFunction(sigc::mem_fun(this, &TextInput::get_input_string)); |
3359 | 184 | input_string.SetSetterFunction(sigc::mem_fun(this, &TextInput::set_input_string)); | 268 | input_string.SetSetterFunction(sigc::mem_fun(this, &TextInput::set_input_string)); |
3360 | 185 | im_active.SetGetterFunction(sigc::mem_fun(this, &TextInput::get_im_active)); | 269 | im_active.SetGetterFunction(sigc::mem_fun(this, &TextInput::get_im_active)); |
3361 | 186 | im_preedit.SetGetterFunction(sigc::mem_fun(this, &TextInput::get_im_preedit)); | 270 | im_preedit.SetGetterFunction(sigc::mem_fun(this, &TextInput::get_im_preedit)); |
3362 | 187 | input_hint.changed.connect([this](std::string const& s) { OnInputHintChanged(); }); | 271 | input_hint.changed.connect([this](std::string const& s) { OnInputHintChanged(); }); |
3363 | 188 | 272 | ||
3364 | 273 | <<<<<<< TREE | ||
3365 | 189 | warning_->mouse_enter.connect([this] (int x, int y, int button, int key_flags) { | 274 | warning_->mouse_enter.connect([this] (int x, int y, int button, int key_flags) { |
3366 | 190 | tooltip_timeout_.reset(new glib::Timeout(TOOLTIP_WAIT, [this] { | 275 | tooltip_timeout_.reset(new glib::Timeout(TOOLTIP_WAIT, [this] { |
3367 | 191 | tooltip_timeout_.reset(); | 276 | tooltip_timeout_.reset(); |
3368 | @@ -232,6 +317,23 @@ | |||
3369 | 232 | { | 317 | { |
3370 | 233 | GdkKeymap* keymap = gdk_keymap_get_default(); | 318 | GdkKeymap* keymap = gdk_keymap_get_default(); |
3371 | 234 | caps_lock_on = gdk_keymap_get_caps_lock_state(keymap) == FALSE ? false : true; | 319 | caps_lock_on = gdk_keymap_get_caps_lock_state(keymap) == FALSE ? false : true; |
3372 | 320 | ======= | ||
3373 | 321 | warning_->mouse_enter.connect([this] (int x, int y, int button, int key_flags) { | ||
3374 | 322 | mouse_over_warning_icon_ = true; | ||
3375 | 323 | QueueDraw(); | ||
3376 | 324 | }); | ||
3377 | 325 | |||
3378 | 326 | warning_->mouse_leave.connect([this] (int x, int y, int button, int key_flags) { | ||
3379 | 327 | mouse_over_warning_icon_ = false; | ||
3380 | 328 | QueueDraw(); | ||
3381 | 329 | }); | ||
3382 | 330 | } | ||
3383 | 331 | |||
3384 | 332 | void TextInput::CheckIfCapsLockOn() | ||
3385 | 333 | { | ||
3386 | 334 | GdkKeymap* keymap = gdk_keymap_get_default(); | ||
3387 | 335 | caps_lock_on = gdk_keymap_get_caps_lock_state(keymap) == FALSE ? false : true; | ||
3388 | 336 | >>>>>>> MERGE-SOURCE | ||
3389 | 235 | } | 337 | } |
3390 | 236 | 338 | ||
3391 | 237 | void TextInput::SetSpinnerVisible(bool visible) | 339 | void TextInput::SetSpinnerVisible(bool visible) |
3392 | @@ -250,6 +352,7 @@ | |||
3393 | 250 | hint_->SetFont((hint_font_name() + " " + std::to_string(hint_font_size())).c_str()); | 352 | hint_->SetFont((hint_font_name() + " " + std::to_string(hint_font_size())).c_str()); |
3394 | 251 | } | 353 | } |
3395 | 252 | 354 | ||
3396 | 355 | <<<<<<< TREE | ||
3397 | 253 | nux::ObjectPtr<nux::BaseTexture> TextInput::LoadActivatorIcon(int icon_size) | 356 | nux::ObjectPtr<nux::BaseTexture> TextInput::LoadActivatorIcon(int icon_size) |
3398 | 254 | { | 357 | { |
3399 | 255 | TextureCache& cache = TextureCache::GetDefault(); | 358 | TextureCache& cache = TextureCache::GetDefault(); |
3400 | @@ -327,6 +430,78 @@ | |||
3401 | 327 | } | 430 | } |
3402 | 328 | 431 | ||
3403 | 329 | void TextInput::OnFontChanged() | 432 | void TextInput::OnFontChanged() |
3404 | 433 | ======= | ||
3405 | 434 | nux::ObjectPtr<nux::BaseTexture> TextInput::LoadWarningIcon(int icon_size) | ||
3406 | 435 | { | ||
3407 | 436 | auto* theme = gtk_icon_theme_get_default(); | ||
3408 | 437 | GtkIconLookupFlags flags = GTK_ICON_LOOKUP_FORCE_SIZE; | ||
3409 | 438 | glib::Error error; | ||
3410 | 439 | glib::Object<GdkPixbuf> pixbuf(gtk_icon_theme_load_icon(theme, WARNING_ICON.c_str(), icon_size, flags, &error)); | ||
3411 | 440 | |||
3412 | 441 | if (pixbuf != nullptr) | ||
3413 | 442 | { | ||
3414 | 443 | nux::CairoGraphics cg(CAIRO_FORMAT_ARGB32, gdk_pixbuf_get_width(pixbuf), gdk_pixbuf_get_height(pixbuf)); | ||
3415 | 444 | cairo_t* cr = cg.GetInternalContext(); | ||
3416 | 445 | |||
3417 | 446 | cairo_push_group(cr); | ||
3418 | 447 | gdk_cairo_set_source_pixbuf(cr, pixbuf, 0, 0); | ||
3419 | 448 | cairo_paint_with_alpha(cr, 1.0); | ||
3420 | 449 | std::shared_ptr<cairo_pattern_t> pat(cairo_pop_group(cr), cairo_pattern_destroy); | ||
3421 | 450 | |||
3422 | 451 | cairo_set_source_rgba(cr, 1.0f, 1.0f, 1.0f, 1.0f); | ||
3423 | 452 | cairo_rectangle(cr, 0, 0, gdk_pixbuf_get_width(pixbuf), gdk_pixbuf_get_height(pixbuf)); | ||
3424 | 453 | cairo_mask(cr, pat.get()); | ||
3425 | 454 | |||
3426 | 455 | return texture_ptr_from_cairo_graphics(cg); | ||
3427 | 456 | } | ||
3428 | 457 | // Use fallback icon (this one is a png, and does not scale!) | ||
3429 | 458 | else | ||
3430 | 459 | { | ||
3431 | 460 | dash::previews::Style& preview_style = dash::previews::Style::Instance(); | ||
3432 | 461 | return nux::ObjectPtr<nux::BaseTexture>(preview_style.GetWarningIcon()); | ||
3433 | 462 | } | ||
3434 | 463 | } | ||
3435 | 464 | |||
3436 | 465 | void TextInput::LoadWarningTooltip() | ||
3437 | 466 | { | ||
3438 | 467 | glib::String font_name; | ||
3439 | 468 | g_object_get(gtk_settings_get_default(), "gtk-font-name", &font_name, NULL); | ||
3440 | 469 | |||
3441 | 470 | glib::Object<GtkStyleContext> style_context(gtk_style_context_new()); | ||
3442 | 471 | std::shared_ptr<GtkWidgetPath> widget_path(gtk_widget_path_new(), gtk_widget_path_free); | ||
3443 | 472 | gtk_widget_path_append_type(widget_path.get(), GTK_TYPE_TOOLTIP); | ||
3444 | 473 | |||
3445 | 474 | gtk_style_context_set_path(style_context, widget_path.get()); | ||
3446 | 475 | gtk_style_context_add_class(style_context, "tooltip"); | ||
3447 | 476 | |||
3448 | 477 | glib::Object<PangoLayout> layout; | ||
3449 | 478 | glib::Object<PangoContext> context(gdk_pango_context_get_for_screen(gdk_screen_get_default())); | ||
3450 | 479 | layout = pango_layout_new(context); | ||
3451 | 480 | |||
3452 | 481 | std::shared_ptr<PangoFontDescription> desc(pango_font_description_from_string(font_name), pango_font_description_free); | ||
3453 | 482 | pango_context_set_font_description(context, desc.get()); | ||
3454 | 483 | pango_context_set_language(context, gtk_get_default_language()); | ||
3455 | 484 | |||
3456 | 485 | pango_layout_set_height(layout, -1); //avoid wrap lines | ||
3457 | 486 | pango_layout_set_text(layout, _("Caps lock is on"), -1); | ||
3458 | 487 | |||
3459 | 488 | nux::Size extents; | ||
3460 | 489 | pango_layout_get_pixel_size(layout, &extents.width, &extents.height); | ||
3461 | 490 | extents.width += TOOLTIP_OFFSET; | ||
3462 | 491 | extents.height += TOOLTIP_OFFSET; | ||
3463 | 492 | |||
3464 | 493 | nux::CairoGraphics cg(CAIRO_FORMAT_ARGB32, extents.width, extents.height); | ||
3465 | 494 | cairo_t* cr = cg.GetInternalContext(); | ||
3466 | 495 | |||
3467 | 496 | gtk_render_background(style_context, cr, 0, 0, extents.width, extents.height); | ||
3468 | 497 | gtk_render_frame(style_context, cr, 0, 0, extents.width, extents.height); | ||
3469 | 498 | gtk_render_layout(style_context, cr, TOOLTIP_OFFSET/2, TOOLTIP_OFFSET/2, layout); | ||
3470 | 499 | |||
3471 | 500 | warning_tooltip_ = texture_ptr_from_cairo_graphics(cg); | ||
3472 | 501 | } | ||
3473 | 502 | |||
3474 | 503 | void TextInput::OnFontChanged(GtkSettings* settings, GParamSpec* pspec) | ||
3475 | 504 | >>>>>>> MERGE-SOURCE | ||
3476 | 330 | { | 505 | { |
3477 | 331 | glib::String font_name; | 506 | glib::String font_name; |
3478 | 332 | PangoFontDescription* desc; | 507 | PangoFontDescription* desc; |
3479 | @@ -395,9 +570,15 @@ | |||
3480 | 395 | 570 | ||
3481 | 396 | layout_->ProcessDraw(GfxContext, force_draw); | 571 | layout_->ProcessDraw(GfxContext, force_draw); |
3482 | 397 | 572 | ||
3483 | 573 | <<<<<<< TREE | ||
3484 | 398 | if (caps_lock_on && warning_->IsMouseInside() && !tooltip_timeout_) | 574 | if (caps_lock_on && warning_->IsMouseInside() && !tooltip_timeout_) |
3485 | 399 | PaintWarningTooltip(GfxContext); | 575 | PaintWarningTooltip(GfxContext); |
3486 | 400 | 576 | ||
3487 | 577 | ======= | ||
3488 | 578 | if (caps_lock_on && mouse_over_warning_icon_) | ||
3489 | 579 | PaintWarningTooltip(GfxContext); | ||
3490 | 580 | |||
3491 | 581 | >>>>>>> MERGE-SOURCE | ||
3492 | 401 | if (!IsFullRedraw()) | 582 | if (!IsFullRedraw()) |
3493 | 402 | { | 583 | { |
3494 | 403 | gPainter.PopBackground(); | 584 | gPainter.PopBackground(); |
3495 | @@ -410,6 +591,7 @@ | |||
3496 | 410 | GfxContext.PopClippingRectangle(); | 591 | GfxContext.PopClippingRectangle(); |
3497 | 411 | } | 592 | } |
3498 | 412 | 593 | ||
3499 | 594 | <<<<<<< TREE | ||
3500 | 413 | void TextInput::PaintWarningTooltip(nux::GraphicsEngine& graphics_engine) | 595 | void TextInput::PaintWarningTooltip(nux::GraphicsEngine& graphics_engine) |
3501 | 414 | { | 596 | { |
3502 | 415 | nux::Geometry const& warning_geo = warning_->GetGeometry(); | 597 | nux::Geometry const& warning_geo = warning_->GetGeometry(); |
3503 | @@ -426,6 +608,20 @@ | |||
3504 | 426 | nux::GetPainter().PushDrawLayer(graphics_engine, tooltip_geo, warning_layer.get()); | 608 | nux::GetPainter().PushDrawLayer(graphics_engine, tooltip_geo, warning_layer.get()); |
3505 | 427 | } | 609 | } |
3506 | 428 | 610 | ||
3507 | 611 | ======= | ||
3508 | 612 | void TextInput::PaintWarningTooltip(nux::GraphicsEngine& graphics_engine) | ||
3509 | 613 | { | ||
3510 | 614 | nux::Geometry warning_geo = warning_->GetGeometry(); | ||
3511 | 615 | |||
3512 | 616 | nux::Geometry tooltip_geo = {warning_geo.x - (warning_tooltip_->GetWidth() + TOOLTIP_OFFSET / 2), | ||
3513 | 617 | warning_geo.y - TOOLTIP_Y_OFFSET, | ||
3514 | 618 | warning_tooltip_->GetWidth(), | ||
3515 | 619 | warning_tooltip_->GetHeight()}; | ||
3516 | 620 | |||
3517 | 621 | nux::GetPainter().PushDrawLayer(graphics_engine, tooltip_geo, CreateWarningLayer(warning_tooltip_.GetPointer())); | ||
3518 | 622 | } | ||
3519 | 623 | |||
3520 | 624 | >>>>>>> MERGE-SOURCE | ||
3521 | 429 | void TextInput::UpdateBackground(bool force) | 625 | void TextInput::UpdateBackground(bool force) |
3522 | 430 | { | 626 | { |
3523 | 431 | nux::Geometry geo(GetGeometry()); | 627 | nux::Geometry geo(GetGeometry()); |
3524 | 432 | 628 | ||
3525 | === modified file 'unity-shared/TextInput.h' | |||
3526 | --- unity-shared/TextInput.h 2014-08-27 22:08:58 +0000 | |||
3527 | +++ unity-shared/TextInput.h 2014-12-09 18:52:51 +0000 | |||
3528 | @@ -63,9 +63,13 @@ | |||
3529 | 63 | nux::Property<int> hint_font_size; | 63 | nux::Property<int> hint_font_size; |
3530 | 64 | nux::ROProperty<bool> im_active; | 64 | nux::ROProperty<bool> im_active; |
3531 | 65 | nux::ROProperty<bool> im_preedit; | 65 | nux::ROProperty<bool> im_preedit; |
3532 | 66 | <<<<<<< TREE | ||
3533 | 66 | nux::Property<bool> show_activator; | 67 | nux::Property<bool> show_activator; |
3534 | 67 | nux::Property<bool> show_caps_lock; | 68 | nux::Property<bool> show_caps_lock; |
3535 | 68 | nux::Property<double> scale; | 69 | nux::Property<double> scale; |
3536 | 70 | ======= | ||
3537 | 71 | nux::Property<bool> show_caps_lock; | ||
3538 | 72 | >>>>>>> MERGE-SOURCE | ||
3539 | 69 | 73 | ||
3540 | 70 | private: | 74 | private: |
3541 | 71 | void OnFontChanged(); | 75 | void OnFontChanged(); |
3542 | @@ -81,6 +85,7 @@ | |||
3543 | 81 | void AddProperties(debug::IntrospectionData&); | 85 | void AddProperties(debug::IntrospectionData&); |
3544 | 82 | bool AcceptKeyNavFocus(); | 86 | bool AcceptKeyNavFocus(); |
3545 | 83 | 87 | ||
3546 | 88 | <<<<<<< TREE | ||
3547 | 84 | bool ShouldBeHighlighted(); | 89 | bool ShouldBeHighlighted(); |
3548 | 85 | 90 | ||
3549 | 86 | nux::Geometry GetWaringIconGeometry() const; | 91 | nux::Geometry GetWaringIconGeometry() const; |
3550 | @@ -92,6 +97,18 @@ | |||
3551 | 92 | 97 | ||
3552 | 93 | void PaintWarningTooltip(nux::GraphicsEngine& graphics_engine); | 98 | void PaintWarningTooltip(nux::GraphicsEngine& graphics_engine); |
3553 | 94 | 99 | ||
3554 | 100 | ======= | ||
3555 | 101 | bool ShouldBeHighlighted(); | ||
3556 | 102 | |||
3557 | 103 | nux::Geometry GetWaringIconGeometry() const; | ||
3558 | 104 | void CheckIfCapsLockOn(); | ||
3559 | 105 | |||
3560 | 106 | nux::ObjectPtr<nux::BaseTexture> LoadWarningIcon(int icon_size); | ||
3561 | 107 | void LoadWarningTooltip(); | ||
3562 | 108 | |||
3563 | 109 | void PaintWarningTooltip(nux::GraphicsEngine& graphics_engine); | ||
3564 | 110 | |||
3565 | 111 | >>>>>>> MERGE-SOURCE | ||
3566 | 95 | protected: | 112 | protected: |
3567 | 96 | void OnInputHintChanged(); | 113 | void OnInputHintChanged(); |
3568 | 97 | void OnMouseButtonDown(int x, int y, unsigned long button_flags, unsigned long key_flags); | 114 | void OnMouseButtonDown(int x, int y, unsigned long button_flags, unsigned long key_flags); |
3569 | @@ -119,6 +136,10 @@ | |||
3570 | 119 | nux::Property<bool> caps_lock_on; | 136 | nux::Property<bool> caps_lock_on; |
3571 | 120 | int last_width_; | 137 | int last_width_; |
3572 | 121 | int last_height_; | 138 | int last_height_; |
3573 | 139 | bool mouse_over_warning_icon_; | ||
3574 | 140 | |||
3575 | 141 | IconTexture* warning_; | ||
3576 | 142 | nux::ObjectPtr<nux::BaseTexture> warning_tooltip_; | ||
3577 | 122 | 143 | ||
3578 | 123 | IconTexture* warning_; | 144 | IconTexture* warning_; |
3579 | 124 | IconTexture* activator_; | 145 | IconTexture* activator_; |
3580 | 125 | 146 | ||
3581 | === modified file 'unity-shared/TextureCache.cpp' | |||
3582 | --- unity-shared/TextureCache.cpp 2014-07-30 00:49:35 +0000 | |||
3583 | +++ unity-shared/TextureCache.cpp 2014-12-09 18:52:51 +0000 | |||
3584 | @@ -25,15 +25,28 @@ | |||
3585 | 25 | 25 | ||
3586 | 26 | namespace unity | 26 | namespace unity |
3587 | 27 | { | 27 | { |
3597 | 28 | namespace | 28 | <<<<<<< TREE |
3598 | 29 | { | 29 | namespace |
3599 | 30 | // Stolen from boost | 30 | { |
3600 | 31 | template <class T> | 31 | // Stolen from boost |
3601 | 32 | inline std::size_t hash_combine(std::size_t seed, T const& v) | 32 | template <class T> |
3602 | 33 | { | 33 | inline std::size_t hash_combine(std::size_t seed, T const& v) |
3603 | 34 | return seed ^ (std::hash<T>()(v) + 0x9e3779b9 + (seed << 6) + (seed >> 2)); | 34 | { |
3604 | 35 | } | 35 | return seed ^ (std::hash<T>()(v) + 0x9e3779b9 + (seed << 6) + (seed >> 2)); |
3605 | 36 | } | 36 | } |
3606 | 37 | } | ||
3607 | 38 | ======= | ||
3608 | 39 | DECLARE_LOGGER(logger, "unity.internal.texturecache"); | ||
3609 | 40 | namespace | ||
3610 | 41 | { | ||
3611 | 42 | // Stolen from boost | ||
3612 | 43 | template <class T> | ||
3613 | 44 | inline std::size_t hash_combine(std::size_t seed, T const& v) | ||
3614 | 45 | { | ||
3615 | 46 | return seed ^ (std::hash<T>()(v) + 0x9e3779b9 + (seed << 6) + (seed >> 2)); | ||
3616 | 47 | } | ||
3617 | 48 | } | ||
3618 | 49 | >>>>>>> MERGE-SOURCE | ||
3619 | 37 | 50 | ||
3620 | 38 | TextureCache& TextureCache::GetDefault() | 51 | TextureCache& TextureCache::GetDefault() |
3621 | 39 | { | 52 | { |
3622 | 40 | 53 | ||
3623 | === modified file 'unity-shared/UScreen.cpp' | |||
3624 | === modified file 'unity-shared/UnitySettings.cpp' | |||
3625 | --- unity-shared/UnitySettings.cpp 2014-09-04 16:47:13 +0000 | |||
3626 | +++ unity-shared/UnitySettings.cpp 2014-12-09 18:52:51 +0000 | |||
3627 | @@ -60,8 +60,12 @@ | |||
3628 | 60 | const std::string GNOME_TEXT_SCALE_FACTOR = "text-scaling-factor"; | 60 | const std::string GNOME_TEXT_SCALE_FACTOR = "text-scaling-factor"; |
3629 | 61 | 61 | ||
3630 | 62 | const int DEFAULT_LAUNCHER_WIDTH = 64; | 62 | const int DEFAULT_LAUNCHER_WIDTH = 64; |
3631 | 63 | <<<<<<< TREE | ||
3632 | 63 | const int MINIMUM_DESKTOP_HEIGHT = 800; | 64 | const int MINIMUM_DESKTOP_HEIGHT = 800; |
3633 | 64 | const int GNOME_SETTINGS_CHANGED_WAIT_SECONDS = 1; | 65 | const int GNOME_SETTINGS_CHANGED_WAIT_SECONDS = 1; |
3634 | 66 | ======= | ||
3635 | 67 | const int MINIMUM_DESKTOP_HEIGHT = 800; | ||
3636 | 68 | >>>>>>> MERGE-SOURCE | ||
3637 | 65 | const double DEFAULT_DPI = 96.0f; | 69 | const double DEFAULT_DPI = 96.0f; |
3638 | 66 | } | 70 | } |
3639 | 67 | 71 |