Merge lp:~unity-team/unity/trusty-1374785 into lp:unity

Proposed by Stephen M. Webb
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
Reviewer Review Type Date Requested Status
Unity Team Pending
Review via email: mp+244200@code.launchpad.net

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.

To post a comment you must log in.

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/LockScreenController.cpp,
    lockscreen/LockScreenShield.cpp, lockscreen/LockScreenShield.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

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'AUTHORS'
--- AUTHORS 2014-06-18 14:37:16 +0000
+++ AUTHORS 2014-12-09 18:52:51 +0000
@@ -47,6 +47,11 @@
47 Christopher Townsend <christopher.townsend@canonical.com>47 Christopher Townsend <christopher.townsend@canonical.com>
48 Chris Townsend <christopher.townsend@canonical.com>48 Chris Townsend <christopher.townsend@canonical.com>
49 Chris Townsend <Christopher.Townsend@canonical.com>49 Chris Townsend <Christopher.Townsend@canonical.com>
50<<<<<<< TREE
51=======
52 Chris Townsend <christopher.townsend@canonical.com>, Andrea Azzarone <azzaronea@gmail.com>
53 Chris Townsend <christopher.townsend@canonical.com>, Stephen M. Webb <stephen.webb@canonical.com>
54>>>>>>> MERGE-SOURCE
50 CI bot <ps-jenkins@lists.canonical.com>55 CI bot <ps-jenkins@lists.canonical.com>
51 Daniel d'Andrada <daniel.dandrada@canonical.com>56 Daniel d'Andrada <daniel.dandrada@canonical.com>
52 Daniel van Vugt <vanvugt@gmail.com>57 Daniel van Vugt <vanvugt@gmail.com>
@@ -108,6 +113,7 @@
108 Marco Mariani <dfly720@gmail.com>, Thomi Richards <thomi.richards@canonical.com>113 Marco Mariani <dfly720@gmail.com>, Thomi Richards <thomi.richards@canonical.com>
109 Marco Trevisan114 Marco Trevisan
110 Marco Trevisan <mail@3v1n0.net>115 Marco Trevisan <mail@3v1n0.net>
116 Marco Trevisan <mail@3v1n0.net>, Marc Deslauriers <marc.deslauriers@ubuntu.com>
111 Marco Trevisan <marco.trevisan@canonical.com>117 Marco Trevisan <marco.trevisan@canonical.com>
112 Marco Trevisan (Treviño) <mail@3v1n0.net>118 Marco Trevisan (Treviño) <mail@3v1n0.net>
113 Marco Trevisan (Treviño) <mail@3v1n0.net>, 3v1n0 <mail@3v1n0.net>119 Marco Trevisan (Treviño) <mail@3v1n0.net>, 3v1n0 <mail@3v1n0.net>
@@ -184,6 +190,7 @@
184 smspillaz <sam.spilsbury@canonical.com>, Sam Spilsbury <sam.spilsbury@canonical.com>190 smspillaz <sam.spilsbury@canonical.com>, Sam Spilsbury <sam.spilsbury@canonical.com>
185 Stephen M. Webb <stephen.webb@canonical.com>191 Stephen M. Webb <stephen.webb@canonical.com>
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>
193 Stephen M. Webb <stephen.webb@canonical.com>, Marco Trevisan (Treviño) <mail@3v1n0.net>, Andrea Azzarone <azzaronea@gmail.com>
187 Steve Langasek <steve.langasek@canonical.com>194 Steve Langasek <steve.langasek@canonical.com>
188 Sven Baars <svenb.linux@gmail.com>195 Sven Baars <svenb.linux@gmail.com>
189 Tarmac196 Tarmac
190197
=== modified file 'CMakeLists.txt'
--- CMakeLists.txt 2014-08-11 12:30:55 +0000
+++ CMakeLists.txt 2014-12-09 18:52:51 +0000
@@ -9,8 +9,13 @@
9#9#
10set (PROJECT_NAME "unity")10set (PROJECT_NAME "unity")
11set (UNITY_MAJOR 7)11set (UNITY_MAJOR 7)
12<<<<<<< TREE
12set (UNITY_MINOR 3)13set (UNITY_MINOR 3)
13set (UNITY_MICRO 1)14set (UNITY_MICRO 1)
15=======
16set (UNITY_MINOR 2)
17set (UNITY_MICRO 4)
18>>>>>>> MERGE-SOURCE
14set (UNITY_VERSION "${UNITY_MAJOR}.${UNITY_MINOR}.${UNITY_MICRO}")19set (UNITY_VERSION "${UNITY_MAJOR}.${UNITY_MINOR}.${UNITY_MICRO}")
15set (UNITY_API_VERSION "6.0")20set (UNITY_API_VERSION "6.0")
16set (UNITY_COMPONENTS_VERSION "6")21set (UNITY_COMPONENTS_VERSION "6")
1722
=== modified file 'ChangeLog'
--- ChangeLog 2014-06-18 14:37:16 +0000
+++ ChangeLog 2014-12-09 18:52:51 +0000
@@ -1,3 +1,4 @@
1<<<<<<< TREE
12014-06-18 Stephen M. Webb <stephen.webb@canonical.com>22014-06-18 Stephen M. Webb <stephen.webb@canonical.com>
23
3 bump upstream to 7.3.04 bump upstream to 7.3.0
@@ -1648,6 +1649,2060 @@
1648 Since alpha windows might have custom shapes, it's safer not to shadow-decorate them1649 Since alpha windows might have custom shapes, it's safer not to shadow-decorate them
1649 unless they don't provide, for sure, a full decoration.1650 unless they don't provide, for sure, a full decoration.
16501651
1652=======
16532014-08-26 CI bot <ps-jenkins@lists.canonical.com>
1654
1655 Releasing 7.2.3+14.04.20140826-0ubuntu1
1656
16572014-08-26 Chris Townsend <christopher.townsend@canonical.com>
1658
1659 Release Unity 7.2.3.
1660
16612014-08-26 Stephen M. Webb <stephen.webb@canonical.com>
1662
1663 marked new upstream release as an UNRELEASED package
1664
16652014-08-25 Stephen M. Webb <stephen.webb@canonical.com>
1666
1667 removed downstream Ubuntu patches because upstream changes are now included
1668
16692014-08-25 Stephen M. Webb <stephen.webb@canonical.com>
1670
1671 merged in security updates from Ubuntu
1672
16732014-07-24 Chris Townsend <christopher.townsend@canonical.com>
1674
1675 Bump version to 7.2.3.
1676
16772014-08-26 Stephen M. Webb <stephen.webb@canonical.com>
1678
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
1680
16812014-08-06 Marco Trevisan (Treviño) <mail@3v1n0.net>
1682
1683 debian/patches: removing security patch, now included in branch
1684
16852014-08-06 Marco Trevisan (Treviño) <mail@3v1n0.net>
1686
1687 Merging with trunk
1688
16892014-08-06 Marco Trevisan (Treviño) <mail@3v1n0.net>
1690
1691 debian/changelog: add new revisions
1692
16932014-08-06 Marco Trevisan (Treviño) <mail@3v1n0.net>
1694
1695 SwitcherView, PanelService: correctly handle horizontal and vertical scroll events
1696
16972014-08-06 Andrea Azzarone <azzaronea@gmail.com>
1698
1699 TextInput: use GdkKeymap to check the caps-lock status
1700
17012014-08-06 Marco Trevisan (Treviño) <mail@3v1n0.net>
1702
1703 PlacesOverlayVScrollBar: redirect the mouse wheel scroll events coming from the thumb to the scrollview
1704
1705 This will make the scrollview to handle then and perform the same scrolling action it would do otherwise.
1706
17072014-08-06 Marco Trevisan (Treviño) <mail@3v1n0.net>
1708
1709 LockScreenShield: Add GrabScreen function and retry to make sure we really get grab
1710
1711 It might happen that the grab is not possible because the PluginAdapter::IsScreenGrabbed
1712 request has still not being fully processed, and thus nux is not able to grab the
1713 pointer/keyboard. By doing this we instead try to grab the screen, and if this is
1714 not happening, we wait a little until we don't get the ungrab event.
1715
1716 In this way, if we eventually get the grab, all will work as expected.
1717 Otherwise, we cancel the lock request (very unlikely to happen).
1718
17192014-08-06 Marco Trevisan (Treviño) <mail@3v1n0.net>
1720
1721 PlacesOverlayVScrollBar and VScrollBarOverlayWindow: add support for scaling
1722
1723 Add a new ScrollView class to create ScrollViews with an OverlayScrollbar and with scaling support.
1724 Using them in dash Scopes and Previews.
1725
17262014-07-24 Chris Townsend <christopher.townsend@canonical.com>
1727
1728 Added changelog entry for lp:1340477.
1729
17302014-07-24 Marco Trevisan (Treviño) <mail@3v1n0.net>
1731
1732 Hud: scale to match current DPI settings for monitor
1733
17342014-07-24 Chris Townsend <christopher.townsend@canonical.com>
1735
1736 Added changelog entries for lp:1283415 and lp:1340394.
1737
17382014-07-24 Marco Trevisan (Treviño) <mail@3v1n0.net>
1739
1740 OverlayRendering: correctly scale the overlays borders and edges to match settings
1741
1742 DashStyle has been modified to return smart pointers of textures that are loaded
1743 depending on the scale level. The cache will make sure that we don't duplicate
1744 the textures and that they get removed when not needed anymore.
1745
1746 Also thanks to this the SearchBarSpinner textures (and the other spinners as well)
1747 uses the SVGs scaled at the proper size (I desgined a new SVG for the magnifier,
1748 as we only had a PNG).
1749
17502014-07-24 Chris Townsend <christopher.townsend@canonical.com>
1751
1752 Added changelog entry for lp:1340171.
1753
17542014-07-24 Marco Trevisan (Treviño) <mail@3v1n0.net>
1755
1756 FilterWidgets: add support for scaling.
1757
17582014-07-24 Chris Townsend <christopher.townsend@canonical.com>
1759
1760 Added changelog entries for lp:1339629.
1761
17622014-07-24 Marco Trevisan (Treviño) <mail@3v1n0.net>
1763
1764 Previews: scale the dash preview contents to match current monitor scaling
1765
1766 Improved also the scaling of search-bar, spinner, categories and many other components.
1767
17682014-07-23 Chris Townsend <christopher.townsend@canonical.com>
1769
1770 Added changelog entries for lp:1324114.
1771
17722014-07-23 Stephen M. Webb <stephen.webb@canonical.com>
1773
1774 Reduce the scope of the kill command when restarting Compiz.
1775
17762014-07-23 Chris Townsend <christopher.townsend@canonical.com>
1777
1778 Add changelog entries for lp:1306211, lp:1320051, and lp:1320071.
1779
17802014-07-23 Marco Trevisan (Treviño) <mail@3v1n0.net>
1781
1782 LockScreenAcceleratorController: do ther configured action on power special keys press
1783
1784 We finally can suspend, shutdown, hibernate or start the screensaver when the screen is locked, using
1785 the Suspend, Sleep, Hibernate and PowerOff hardware keys.
1786
1787 Also the Shutdown dialog doesn't allow now to lock the session if it is not allowed by settings.
1788
17892014-07-23 Chris Townsend <christopher.townsend@canonical.com>
1790
1791 Add changelog entry for lp:1292391.
1792
17932014-07-23 Andrea Azzarone <azzaronea@gmail.com>
1794
1795 Manually emit nux::Area::geometry_changed beucase nux can fail to emit it.
1796
17972014-07-23 Chris Townsend <christopher.townsend@canonical.com>
1798
1799 Add changelog entry for lp:1312107.
1800
18012014-07-23 Andrea Azzarone <andrea.azzarone@canonical.com>
1802
1803 Remove cross fade effect during lock/unlocking. A simple fading works just fine.
1804
18052014-08-05 Marco Trevisan <mail@3v1n0.net>
1806
1807 * SECURITY UPDATE: more screen locking fixes (LP: #1349128)
1808 - debian/patches/lp1349128.patch: flush after ungrabbing the keyboard
1809 in unity-shared/PluginAdapter.cpp, add GrabScreen() function that
1810 retries to lockscreen/LockScreenController.cpp,
1811 lockscreen/LockScreenShield.cpp, lockscreen/LockScreenShield.h.
1812
18132014-07-14 CI bot <ps-jenkins@lists.canonical.com>
1814
1815 Releasing 7.2.2+14.04.20140714-0ubuntu1
1816
18172014-07-14 Chris Townsend <christopher.townsend@canonical.com>
1818
1819 Release Unity 7.2.2.
1820 Approved by: Stephen M. Webb
1821
18222014-07-03 Chris Townsend <christopher.townsend@canonical.com>
1823
1824 Bump upstream release to 7.2.2.
1825
18262014-07-14 Chris Townsend <christopher.townsend@canonical.com>
1827
1828 Prepare for upstream micro-release 7.2.2 that includes fixes for the following bugs:
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
1830 Bug #727902: Launcher icon highlighting should not switch off as soon the cursor moves after the app spread appears.
1831 Bug #741869: Unity/compiz intercepts Super and Alt keypresses from grabbed windows like VMs.
1832 Bug #754580: Cannot move tabs between multiple Firefox or Chromium windows while using Unity unless windows are both unmaximized, unminimized, and visible.
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
1834 Bug #924840: Keyboard shortcuts overlay text too long
1835 Bug #1281058: [UIFe] The system shutdowns when multiple accounts are open
1836 Bug #1283775: Launcher: icon pips are not always updated properly
1837 Bug #1304882: [Regression] Launcher doesn't reappear fully after hiding from DND
1838 Bug #1305586: Lock screen is unusable when some windows have a keyboard/mouse grab
1839 Bug #1307738: Lockscreen caps lock icon drawn under text entry, should be a white icon.
1840 Bug #1308288: Lockscreen warning icon has no tooltip
1841 Bug #1308323: Shutdown/reboot/login/logout dialogs not scaled after toggling UI scale Edit
1842 Bug #1308911: Clipboard contents are accessible within lockscreen
1843 Bug #1309739: Unity launcher icon edge illumination is offset
1844 Bug #1310200: Indicators disappear at the panel (clementine, dropbox, skype etc)
1845 Bug #1313280: Fullscreen window set to "Always on Top" in single-monitor will hide the lockscreen
1846 Bug #1316005: Panel shadow appears over full screen applications w/ locally integrated menus enabled
1847 Bug #1317348: Switcher (Alt-Tab) does not respect monitor-defined scaling factor
1848 Bug #1317356: Shortcut hint does not respect monitor scaling factor
1849 Bug #1317869: Keyboard shortcuts overlay does not show up when workspaces are enabled at 1366x768
1850 Bug #1320438: Unity launcher auto hide fails on screen unlock using "Super+L"
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
1852 Approved by: Marco Trevisan (Treviño)
1853
18542014-07-01 Chris Townsend <christopher.townsend@canonical.com>
1855
1856 Add changelog entry for lp:1281058.
1857
18582014-07-01 Andrea Azzarone <andrea.azzarone@canonical.com>
1859
1860 Add a warning in the session dialog if other sessions are still open.
1861
18622014-07-01 Andrea Azzarone <andrea.azzarone@canonical.com>
1863
1864 Add a warning in the session dialog if other sessions are still open.
1865
18662014-06-23 Marco Trevisan (Treviño) <marco.trevisan@canonical.com>
1867
1868 PluginAdapter: pass the state to compiz plugins activations
1869
1870 Fixes Scale triggering on DnD
1871
18722014-06-10 Marco Trevisan (Treviño) <mail@3v1n0.net>
1873
1874 PluginAdapter: pass the state to compiz plugins activations
1875
1876 Fixes Scale triggering on DnD
1877
18782014-06-06 CI bot <ps-jenkins@lists.canonical.com>
1879
1880 Releasing 7.2.0+14.10.20140606.1-0ubuntu1
1881
18822014-06-06 Marco Trevisan (Treviño) <mail@3v1n0.net>
1883
1884 SwitcherView: use RawPixel's for the size values and convert them to match current scaling Fixes: 1317348
1885
18862014-06-06 Chris Townsend <christopher.townsend@canonical.com>
1887
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
1889
18902014-06-06 Brandon Schaefer <brandontschaefer@gmail.com>
1891
1892 Lockscreen warning icon needs a tooltip to say what the warning is about! Fixes: 1308288
1893
18942014-06-06 Brandon Schaefer <brandon.schaefer@canonical.com>
1895
1896 ShutdownView: Scale up the Buttons and Text plus Borders of the UnityWindowView. Fixes: 1308323
1897
18982014-06-06 Brandon Schaefer <brandon.schaefer@canonical.com>
1899
1900 TextInput: move the warning icon inside the input field, render it white Fixes: 1307738
1901
19022014-06-05 Brandon Schaefer <brandon.schaefer@canonical.com>
1903
1904 * Merge trunk
1905
19062014-06-06 Marco Trevisan (Treviño) <mail@3v1n0.net>
1907
1908 ApplicationLauncherIcon: Focus and, in case, Spread the windows on DnD
1909
1910 After 1 second that an user is over an icon, that icon should focus the relative
1911 application and Spread its windows if it has more than one opened.
1912
1913 Correctly handle the DnD scale in launcher, and apply glow to the icon under pointer. Fixes: 607796, 727902, 754580, 839728
1914
19152014-06-06 Alfred Neumayer <dev.beidl@gmail.com>
1916
1917 Restore the launcher position by reversing the animation and unsetting the DND_PUSHED_OFF quirk. Fixes: 1304882
1918
19192014-06-23 Chris Townsend <christopher.townsend@canonical.com>
1920
1921 Added changelog entry for lp:1310200.
1922
19232014-06-23 Andrea Azzarone <andrea.azzarone@canonical.com>
1924
1925 Fix skype indicator blinking.
1926
19272014-05-30 Andrea Azzarone <azzaronea@gmail.com>
1928
1929 Fix skype indicator blinking.
1930
19312014-06-23 Chris Townsend <christopher.townsend@canonical.com>
1932
1933 Added changelog entry for lp:1316005.
1934
19352014-06-23 Chris Townsend <christopher.townsend@canonical.com>
1936
1937 Fix issue where the Panel shadow would get drawn over drop down windows in full screen windows.
1938
19392014-05-28 Chris Townsend <christopher.townsend@canonical.com>
1940
1941 Fix issue where the Panel shadow would get drawn over drop down windows in full screen windows.
1942
19432014-06-23 Chris Townsend <christopher.townsend@canonical.com>
1944
1945 Added changelog entry for lp:1283775.
1946
19472014-06-23 Chris Townsend <christopher.townsend@canonical.com>
1948
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.
1950
19512014-05-28 Chris Townsend <christopher.townsend@canonical.com>
1952
1953 Get rid of break statement since we need to continue the loop.
1954 Relax if/else if logic and just assign boolean regardless what the current value is.
1955
19562014-05-28 Chris Townsend <christopher.townsend@canonical.com>
1957
1958 Create a new method that replaces SetWindowVisibleOnMonitor() which also keeps the number of visible windows per monitor for a particular app.
1959 Also, remove some of the helper functions added in a previous commit.
1960
19612014-05-27 Chris Townsend <christopher.townsend@canonical.com>
1962
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.
1964
19652014-05-26 Chris Townsend <christopher.townsend@canonical.com>
1966
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.
1968
19692014-06-23 Chris Townsend <christopher.townsend@canonical.com>
1970
1971 Added changelog entry for lp:1320438.
1972
19732014-06-23 Andrea Azzarone <andrea.azzarone@canonical.com>
1974
1975 Pass the correct options to showLauncherKeyTerminate in UnityScreen::OnLockScreen
1976
19772014-05-26 Andrea Azzarone <azzaronea@gmail.com>
1978
1979 Pass the correct options to showLauncherKeyTerminate in UnityScreen::OnLockScreen.
1980
19812014-06-23 Chris Townsend <christopher.townsend@canonical.com>
1982
1983 Added changelog entry for lp:1321043.
1984
19852014-06-23 Andrea Azzarone <andrea.azzarone@canonical.com>
1986
1987 Disable switcher gestures if screen is locked. Fixed a regression.
1988
19892014-05-20 Andrea Azzarone <azzaronea@gmail.com>
1990
1991 Remove unwated changes.
1992
19932014-05-20 Andrea Azzarone <azzaronea@gmail.com>
1994
1995 Disable switcher gestures if screen is locked. Fixed a regression.
1996
19972014-05-20 Andrea Azzarone <azzaronea@gmail.com>
1998
1999 Restore clibpoard on unlock. Update tests too.
2000
20012014-05-20 Andrea Azzarone <azzaronea@gmail.com>
2002
2003 Clear the clipboard when locking the screen.
2004
20052014-05-16 Andrea Azzarone <azzaronea@gmail.com>
2006
2007 Clear the clipboard when locking the screen.
2008
20092014-06-23 Chris Townsend <christopher.townsend@canonical.com>
2010
2011 Add changelog entry for lp:1308911.
2012
20132014-06-23 Andrea Azzarone <andrea.azzarone@canonical.com>
2014
2015 Clear the clipboard when locking the screen.
2016
20172014-05-26 Andrea Azzarone <azzaronea@gmail.com>
2018
2019 Enable clipboard by default.
2020
20212014-05-26 Andrea Azzarone <azzaronea@gmail.com>
2022
2023 Disable clibpoard during lockscreen.
2024
20252014-06-23 Chris Townsend <christopher.townsend@canonical.com>
2026
2027 Added changelog entry for lp:924840.
2028
20292014-06-23 Marco Trevisan (Treviño) <marco.trevisan@canonical.com>
2030
2031 ShortcutView: use RawPixel's for the size values and convert them to match current scaling
2032
2033 Plus dinamically allocate horizontal space, not to cut the text.
2034
20352014-05-16 Marco Trevisan (Treviño) <mail@3v1n0.net>
2036
2037 Merging with lp:~3v1n0/unity/dynamic-shortcut-hint
2038
20392014-05-14 Marco Trevisan (Treviño) <mail@3v1n0.net>
2040
2041 ShortcutView: increase max column widths to make sure they will work with big text
2042
20432014-05-14 Marco Trevisan (Treviño) <mail@3v1n0.net>
2044
2045 ShortcutView: adjust column maximum width inside PreLayoutManagement instead that when filling the model
2046
20472014-05-14 Marco Trevisan (Treviño) <mail@3v1n0.net>
2048
2049 ShortcutView: some cleanup
2050
20512014-05-14 Marco Trevisan (Treviño) <mail@3v1n0.net>
2052
2053 ShortcutView: define maximum columns width, way longer than before
2054
20552014-05-14 Marco Trevisan (Treviño) <mail@3v1n0.net>
2056
2057 ShortcutView: reduce the line spacing to match old values
2058
2059 This migtht be caused by the StaticCairoText usage, and this spacing actually matches design
2060
20612014-05-14 Marco Trevisan (Treviño) <mail@3v1n0.net>
2062
2063 ShortcutController: always fill the model before setting it
2064
20652014-05-14 Marco Trevisan (Treviño) <mail@3v1n0.net>
2066
2067 ShortcutView: compute maximum columns width based on text size
2068
2069 In this way the text won't be truncated. The text size is computed per each column
2070
20712014-05-16 Marco Trevisan (Treviño) <mail@3v1n0.net>
2072
2073 Merging with lp:~brandontschaefer/unity/shutdown-dialog-hi-dpi
2074
20752014-05-13 Marco Trevisan (Treviño) <mail@3v1n0.net>
2076
2077 ShortcutView: use string literal to build RawPixel's
2078
20792014-05-13 Marco Trevisan (Treviño) <mail@3v1n0.net>
2080
2081 Merge with trunk
2082
20832014-05-08 Marco Trevisan (Treviño) <mail@3v1n0.net>
2084
2085 ShortcutView: use RawPixel's for the size values and convert them to match current scaling
2086
20872014-06-23 Chris Townsend <christopher.townsend@canonical.com>
2088
2089 Added changelog entry for lp:741869.
2090
20912014-06-23 Marco Trevisan (Treviño) <marco.trevisan@canonical.com>
2092
2093 PluginAdapter: try to grab the screen to make sure that the screen is not grabbed
2094
2095 FocusIn event with NotifyGrab mode is not always triggered by X when a window
2096 takes the grab, then we need to ensure that there's no grab by trying to get one.
2097 We only care about keyboard here, since pointer grabs don't affect us in general.
2098
20992014-05-13 Marco Trevisan (Treviño) <mail@3v1n0.net>
2100
2101 LockScreenController: don't try to lock if there's a keyboard grab around
2102
21032014-05-13 Marco Trevisan (Treviño) <mail@3v1n0.net>
2104
2105 PluginAdapter: try to grab the screen to make sure that the screen is not grabbed
2106
2107 FocusIn event with NotifyGrab mode is not always triggered by X when a window
2108 takes the grab, then we need to ensure that there's no grab by trying to get one.
2109 We only care about keyboard here, since pointer grabs don't affect us in general.
2110
21112014-05-12 CI bot <ps-jenkins@lists.canonical.com>
2112
2113 Releasing 7.2.0+14.10.20140512.4-0ubuntu1
2114
21152014-05-12 Stephen M. Webb <stephen.webb@canonical.com>
2116
2117 disabled precompiled headers on arm64 Ubuntu package builds Fixes: 1317276
2118
21192014-05-12 Stephen M. Webb <stephen.webb@canonical.com>
2120
2121 lockscreen/LockScreenAccelerators.h: added required header for std:vector definition
2122
21232014-05-12 Mathieu Trudel-Lapierre <mathieu-tl@ubuntu.com>
2124
2125 Sync with distro upload for 7.2.0+14.04.20140423-0ubuntu2
2126 - replace autopilot-desktop Depends in unity-autopilot with autopilot-desktop-legacy.
2127
21282014-05-07 Mathieu Trudel-Lapierre <mathieu-tl@ubuntu.com>
2129
2130 Sync with distro
2131
21322014-05-12 Andrea Azzarone <azzaronea@gmail.com>
2133
2134 Add a warning in the session dialog if other sessions are still open. Fixes: 1281058
2135
21362014-05-09 Andrea Azzarone <azzaronea@gmail.com>
2137
2138 Update string.
2139
21402014-05-09 Andrea Azzarone <azzaronea@gmail.com>
2141
2142 Merge trunk.
2143
21442014-04-17 Andrea Azzarone <azzaronea@gmail.com>
2145
2146 Send the changed event.
2147
21482014-04-16 Andrea Azzarone <azzaronea@gmail.com>
2149
2150 Use a ROProperty.
2151
21522014-04-16 Andrea Azzarone <azzaronea@gmail.com>
2153
2154 Add an extra /n.
2155
21562014-04-11 Andrea Azzarone <azzaronea@gmail.com>
2157
2158 Fix string.
2159
21602014-04-11 Andrea Azzarone <azzaronea@gmail.com>
2161
2162 Remove new line.
2163
21642014-04-11 Andrea Azzarone <azzaronea@gmail.com>
2165
2166 Add a warning in the session dialog if other sessions are still open.
2167
21682014-05-12 Brandon Schaefer <brandontschaefer@gmail.com>
2169
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
2171
21722014-05-12 Marco Trevisan (Treviño) <mail@3v1n0.net>
2173
2174 DebugDBusInterface: match properties if they are in the AP array form [<type>, <value>] Fixes: 1307748
2175
21762014-05-12 Marco Trevisan (Treviño) <mail@3v1n0.net>
2177
2178 PluginAdapter: make sure we don't try to call an invalid initiate/terminate callback function Fixes: 1221673
2179
21802014-05-12 Marco Trevisan (Treviño) <mail@3v1n0.net>
2181
2182 UnityScreen: don't try to show Dash/Hud if the screen is grabbed
2183
2184 Also move the dash opening out from LauncherController, and get rid of UBus
2185 as first initialization source, as it can only slow things down here. Fixes: 741869
2186
21872014-05-12 Marco Trevisan (Treviño) <mail@3v1n0.net>
2188
2189 UnityScreen: always paint the lockscreen above, just add menu and onboard as exceptions
2190
2191 Some code cleanup, factorizing similar code. Fixes: 1313280
2192
21932014-05-12 Jinkyu Yi <jincreator@jincreator.net>
2194
2195 Dash: Fix problem at checking blacklisted unicode range Fixes: 1251193
2196
21972014-05-12 William Hua <william.hua@canonical.com>
2198
2199 Add proper support for modifier-only shortcuts on the lock screen. Fixes: 1291461
2200
22012014-06-23 Chris Townsend <christopher.townsend@canonical.com>
2202
2203 Added changelog for lp:1317348.
2204
22052014-06-23 Marco Trevisan (Treviño) <marco.trevisan@canonical.com>
2206
2207 SwitcherView: use RawPixel's for the size values and convert them to match current scaling
2208
22092014-05-08 Marco Trevisan (Treviño) <mail@3v1n0.net>
2210
2211 TestSwitcherView: remove obsolete property check
2212
22132014-05-08 Marco Trevisan (Treviño) <mail@3v1n0.net>
2214
2215 SwitcherView: use RawPixel's for the size values and convert them to match current scaling
2216
22172014-06-23 Chris Townsend <christopher.townsend@canonical.com>
2218
2219 Added changelog entry for lp:1309739.
2220
22212014-06-23 Chris Townsend <christopher.townsend@canonical.com>
2222
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.
2224
22252014-05-08 Chris Townsend <christopher.townsend@canonical.com>
2226
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.
2228
22292014-05-06 Chris Townsend <christopher.townsend@canonical.com>
2230
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.
2232
22332014-06-23 Chris Townsend <christopher.townsend@canonical.com>
2234
2235 Added changelog entry for lp:1308288.
2236
22372014-06-23 Brandon Schaefer <brandon.schaefer@canonical.com>
2238
2239 Lockscreen warning icon needs a tooltip to say what the warning is about!
2240
22412014-04-23 Brandon Schaefer <brandontschaefer@gmail.com>
2242
2243 * Load the warning icon only when we enable show caps lock.
2244
22452014-04-22 Brandon Schaefer <brandontschaefer@gmail.com>
2246
2247 * Remove spin_icon_width
2248
22492014-04-22 Brandon Schaefer <brandontschaefer@gmail.com>
2250
2251 * Merge from parent. Fix conflicts.
2252
22532014-04-22 Brandon Schaefer <brandontschaefer@gmail.com>
2254
2255 * Merge trunk
2256
22572014-04-15 Brandon Schaefer <brandontschaefer@gmail.com>
2258
2259 * Fix multi monitor issue
2260 * Fix translation issue
2261
22622014-04-15 Brandon Schaefer <brandontschaefer@gmail.com>
2263
2264 * No magic strings!
2265
22662014-04-15 Brandon Schaefer <brandontschaefer@gmail.com>
2267
2268 * Add a nice warning tooltip
2269
22702014-06-19 Chris Townsend <christopher.townsend@canonical.com>
2271
2272 Added changelog entry for lp:1308323.
2273
22742014-06-19 Brandon Schaefer <brandon.schaefer@canonical.com>
2275
2276 ShutdownView: Scale up the Buttons and Text plus Borders of the UnityWindowView.
2277
22782014-05-13 Brandon Schaefer <brandon.schaefer@canonical.com>
2279
2280 * Much better way to clean up textures
2281
22822014-05-13 Brandon Schaefer <brandon.schaefer@canonical.com>
2283
2284 * Clean up unused textures when a dpi changes, or a monitor changes
2285
22862014-05-08 Brandon Schaefer <brandon.schaefer@canonical.com>
2287
2288 * Pre-load textures based on scale value of monitors
2289
22902014-05-08 Brandon Schaefer <brandon.schaefer@canonical.com>
2291
2292 * Merge Marcos branch again
2293
22942014-05-08 Marco Trevisan (Treviño) <mail@3v1n0.net>
2295
2296 UnityWindowView: don't keep EMConverter around, we don't need it... Let's use just scale
2297
22982014-05-08 Brandon Schaefer <brandon.schaefer@canonical.com>
2299
2300 * Move the CP() call for the const sizes to UnityWindowStyle
2301
23022014-05-08 Brandon Schaefer <brandon.schaefer@canonical.com>
2303
2304 * Merge Marcos branch
2305 * Merge trunk
2306
23072014-05-08 Marco Trevisan (Treviño) <mail@3v1n0.net>
2308
2309 SessionButton: don't scale the button size twice...
2310
23112014-05-08 Marco Trevisan (Treviño) <mail@3v1n0.net>
2312
2313 SessionButton: remove useless definition
2314
23152014-05-08 Marco Trevisan (Treviño) <mail@3v1n0.net>
2316
2317 UnityWindowView: only expose scale instead of the EMConverter, so we get proper notifications
2318
23192014-05-08 Marco Trevisan (Treviño) <mail@3v1n0.net>
2320
2321 ShortcutController: set the monitor property
2322
23232014-05-08 Marco Trevisan (Treviño) <mail@3v1n0.net>
2324
2325 UnityWindowView: don't include UnitySettings in the header...
2326
23272014-05-08 Marco Trevisan (Treviño) <mail@3v1n0.net>
2328
2329 SwitcherView: use the UnityWindowView monitor value and scale padding correctly
2330
23312014-05-08 Marco Trevisan (Treviño) <mail@3v1n0.net>
2332
2333 RawPixel: no need to round here, EMConverter will do it
2334
23352014-05-08 Marco Trevisan (Treviño) <mail@3v1n0.net>
2336
2337 EMConverter: just multiply the pixels per DPIScale, it's simpler and safer
2338
23392014-05-08 Marco Trevisan (Treviño) <mail@3v1n0.net>
2340
2341 UnityWindowView: make sure we update the internal offset correctly
2342
23432014-05-08 Marco Trevisan (Treviño) <mail@3v1n0.net>
2344
2345 Merging with lp:~brandontschaefer/unity/shutdown-dialog-hi-dpi
2346
23472014-05-07 Brandon Schaefer <brandontschaefer@gmail.com>
2348
2349 * Use a map to map textures based on scale size, so we only load scale sizes we need,
2350 and still cache them. Good for multi monitor.
2351
23522014-05-06 Brandon Schaefer <brandontschaefer@gmail.com>
2353
2354 * Scale the borders
2355
23562014-05-06 Brandon Schaefer <brandontschaefer@gmail.com>
2357
2358 * Scale the closeable window button as well.
2359 * TODO Window border, a bit more tricky...
2360
23612014-05-05 Brandon Schaefer <brandontschaefer@gmail.com>
2362
2363 * Fix reviews issues.
2364
23652014-05-02 Brandon Schaefer <brandontschaefer@gmail.com>
2366
2367 * Undo changes that aren't part of branch
2368
23692014-04-25 Brandon Schaefer <brandontschaefer@gmail.com>
2370
2371 * Merge trunk
2372
23732014-04-25 Brandon Schaefer <brandontschaefer@gmail.com>
2374
2375 * Fixes based on review
2376
23772014-04-24 Brandon Schaefer <brandontschaefer@gmail.com>
2378
2379 * First stage of Shutdown Dialog HiDPI Support
2380
23812014-06-19 Chris Townsend <christopher.townsend@canonical.com>
2382
2383 Added changelog entry for lp:1307738.
2384
23852014-06-19 Brandon Schaefer <brandon.schaefer@canonical.com>
2386
2387 TextInput: move the warning icon inside the input field, render it white
2388
23892014-04-17 Brandon Schaefer <brandontschaefer@gmail.com>
2390
2391 * Need the relayout, otherwise the icon is late to show
2392
23932014-04-17 Brandon Schaefer <brandontschaefer@gmail.com>
2394
2395 * Make caps_lock_on private
2396
23972014-04-17 Brandon Schaefer <brandontschaefer@gmail.com>
2398
2399 * Move QueueDraw to the changed callback.
2400 * Remove ToggleCapsLock
2401
24022014-04-16 Brandon Schaefer <brandontschaefer@gmail.com>
2403
2404 * Move over detectiong caps lock to TextInput.cpp as well.
2405 * Steal Marcos code that puts the Warning icon into a layout (Thanks!)
2406
24072014-04-15 Brandon Schaefer <brandontschaefer@gmail.com>
2408
2409 * Use a fallback icon
2410
24112014-04-15 Brandon Schaefer <brandontschaefer@gmail.com>
2412
2413 * Move the warning icon over the TextInput.
2414 * This will make adjusting the IMTextEntry width a bit easier (still a TODO)
2415
24162014-04-14 Brandon Schaefer <brandontschaefer@gmail.com>
2417
2418 * Use the gnome theme to load the warning icon. Looks better, and will scale :)
2419
24202014-04-14 Brandon Schaefer <brandontschaefer@gmail.com>
2421
2422 * make sure we draw the waring icon above the text entry
2423
24242014-06-19 Chris Townsend <christopher.townsend@canonical.com>
2425
2426 Added changelog entry for lp:607796.
2427
24282014-06-19 Marco Trevisan (Treviño) <marco.trevisan@canonical.com>
2429
2430 ApplicationLauncherIcon: Focus and, in case, Spread the windows on DnD
2431
2432 After 1 second that an user is over an icon, that icon should focus the relative
2433 application and Spread its windows if it has more than one opened.
2434
2435 Correctly handle the DnD scale in launcher, and apply glow to the icon under pointer.
2436
24372014-04-16 Marco Trevisan (Treviño) <mail@3v1n0.net>
2438
2439 {Trash,Volume}LauncherIcon: also shimmer on drop-accept
2440
24412014-04-16 Marco Trevisan (Treviño) <mail@3v1n0.net>
2442
2443 Launcher: glow launcher icons under the dnd if they accept dropping on them
2444
24452014-04-16 Marco Trevisan (Treviño) <mail@3v1n0.net>
2446
2447 AbstractLauncherIcon: add GLOW quirk
2448
24492014-04-16 Marco Trevisan (Treviño) <mail@3v1n0.net>
2450
2451 {Dash,Hud}Controller: use wm signals instead of UBus to hide on VP switch
2452
24532014-04-16 Marco Trevisan (Treviño) <mail@3v1n0.net>
2454
2455 UnityScreen: initialize scale_just_activated_ on OnInitiateSpread
2456
24572014-04-16 Marco Trevisan (Treviño) <mail@3v1n0.net>
2458
2459 Launcher: don't desaturate the icons when spread is started during DnD
2460
2461 Also make sure we redraw when bg_effect_helper status changes
2462
24632014-04-16 Marco Trevisan (Treviño) <mail@3v1n0.net>
2464
2465 UnityScreen: make sure we always set the scale "x_offset" value
2466
24672014-04-16 Marco Trevisan (Treviño) <mail@3v1n0.net>
2468
2469 PluginAdapter: listen to compiz scale events also for setting scale active/disactive
2470
2471 This will allow to get the scale status also when it doesn't take the grab (like in the DnD case)
2472
24732014-04-16 Marco Trevisan (Treviño) <mail@3v1n0.net>
2474
2475 ApplicationLauncherIcon: Focus and, in case, Spread the application windows after some DnD over the icon
2476
2477 After 1 second that an user is over an icon, that icon should focus the relative application and Spread its windows
2478 if it has more than one opened
2479
24802014-06-19 Chris Townsend <christopher.townsend@canonical.com>
2481
2482 Added changelog entry for lp:1304882.
2483
24842014-06-19 Alfred Neumayer <alfred.neumayer.g1@gmail.com>
2485
2486 Restore the launcher position by reversing the animation and unsetting the DND_PUSHED_OFF quirk.
2487
24882014-04-16 Alfred Neumayer <dev.beidl@gmail.com>
2489
2490 Remove redundant SetHidden()
2491
24922014-04-15 Alfred Neumayer <dev.beidl@gmail.com>
2493
2494 Unhide the launcher if it was manually dragged out before DND.
2495
24962014-04-15 Alfred Neumayer <dev.beidl@gmail.com>
2497
2498 Base change on Trevinhos patch.
2499
25002014-04-14 Alfred Neumayer <dev.beidl@gmail.com>
2501
2502 The animation shouldn't get reversed twice as that looks odd.
2503
25042014-04-14 Alfred Neumayer <dev.beidl@gmail.com>
2505
2506 Unset DND_PUSHED_OFF and reverse the animation to make launcher reappear after DND.
2507
25082014-06-19 Chris Townsend <christopher.townsend@canonical.com>
2509
2510 Added changelog for #1313280.
2511
25122014-06-19 Marco Trevisan (Treviño) <marco.trevisan@canonical.com>
2513
2514 UnityScreen: always paint the lockscreen above, just add menu and onboard as exceptions
2515
2516 Some code cleanup, factorizing similar code.
2517
25182014-05-02 Marco Trevisan (Treviño) <mail@3v1n0.net>
2519
2520 UnityWindow: add just one function that computes if a window can bypass lockscreen
2521
25222014-05-02 Marco Trevisan (Treviño) <mail@3v1n0.net>
2523
2524 UnityScreen: use a better (and cheaper) way to recognize Onboard window
2525
25262014-05-02 Marco Trevisan (Treviño) <mail@3v1n0.net>
2527
2528 UnityScreen: always paint the lockscreen above, just add menu and onboard as exceptions
2529
25302014-06-06 Chris Townsend <christopher.townsend@canonical.com>
2531
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.
2533
25342014-05-13 CI bot <ps-jenkins@lists.canonical.com>
2535
2536 Releasing 7.2.1+14.04.20140513-0ubuntu1
2537
25382014-05-13 Stephen M. Webb <stephen.webb@canonical.com>
2539
2540 released upstream micro-release 7.2.1 Fixes: 1221673, 1251193, 1291461, 1307748, 1312749, 1313280, 1317276
2541
25422014-05-13 Stephen M. Webb <stephen.webb@canonical.com>
2543
2544 release Unity 7.2.1
2545
25462014-05-13 Stephen M. Webb <stephen.webb@canonical.com>
2547
2548 debian/changelog: updated with additional lockscreen changes
2549
25502014-05-13 Stephen M. Webb <stephen.webb@canonical.com>
2551
2552 added changelog for #1317276
2553
25542014-05-13 Stephen M. Webb <stephen.webb@canonical.com>
2555
2556 disabled precompiled headers on arm64 Ubuntu package builds
2557
25582014-05-12 Stephen M. Webb <stephen.webb@canonical.com>
2559
2560 disabled precompiled headers for arm64 arch, it seems to cause random ICEs
2561
25622014-05-13 Stephen M. Webb <stephen.webb@canonical.com>
2563
2564 lockscreen/LockScreenAccelerators.h: added required header for std:vector definition
2565
25662014-05-12 Stephen M. Webb <stephen.webb@canonical.com>
2567
2568 added missing header for std::vector definition
2569
25702014-05-13 Stephen M. Webb <stephen.webb@canonical.com>
2571
2572 added changelog for #1312749
2573
25742014-05-13 Brandon Schaefer <brandontschaefer@gmail.com>
2575
2576 Set the max width, so our static text wraps. So we don't end up rendering text out of the view area.
2577
25782014-04-25 Jonas Schwabe
2579
2580 * Set the max width, so the static text wraps (and doesn't go out of the view!)
2581
25822014-05-13 Stephen M. Webb <stephen.webb@canonical.com>
2583
2584 added changelog for #1307748
2585
25862014-05-13 Marco Trevisan (Treviño) <mail@3v1n0.net>
2587
2588 DebugDBusInterface: match properties if they are in the AP array form [<type>, <value>]
2589
25902014-04-24 Marco Trevisan (Treviño) <mail@3v1n0.net>
2591
2592 DebugDBusInterface: GetPropertyValue should return a proper value only if we've a valid array
2593
2594 Improve debugging messages and fix leaks.
2595
25962014-04-16 Marco Trevisan (Treviño) <mail@3v1n0.net>
2597
2598 DebugDBusInterface: match properties if they are in the AP array form [<type>, <value>]
2599
26002014-05-13 Stephen M. Webb <stephen.webb@canonical.com>
2601
2602 added changelog for #1221673
2603
26042014-05-13 Marco Trevisan (Treviño) <mail@3v1n0.net>
2605
2606 PluginAdapter: make sure we don't try to call an invalid initiate/terminate callback function
2607
26082014-04-30 Marco Trevisan (Treviño) <mail@3v1n0.net>
2609
2610 PluginAdapter: make sure we don't try to call an invalid initiate/terminate callback function
2611
26122014-05-13 Stephen M. Webb <stephen.webb@canonical.com>
2613
2614 added changelog for #1313280
2615
26162014-05-13 Marco Trevisan (Treviño) <mail@3v1n0.net>
2617
2618 UnityScreen: always paint the lockscreen above, just add menu and onboard as exceptions
2619
2620 Some code cleanup, factorizing similar code.
2621
26222014-05-02 Marco Trevisan (Treviño) <mail@3v1n0.net>
2623
2624 Mergin with trunk
2625
26262014-04-29 Marco Trevisan (Treviño) <mail@3v1n0.net>
2627
2628 Merging with lp:~3v1n0/unity/lockscreen-keys-disable
2629
26302014-04-25 Marco Trevisan (Treviño) <mail@3v1n0.net>
2631
2632 UnityScreen: Get the Hud initialization event if unity is locked
2633
26342014-04-25 Marco Trevisan (Treviño) <mail@3v1n0.net>
2635
2636 UnityScreen: if the screen is grabbed when showing the Hud, wait for ungrab for a couple of seconds
2637
26382014-04-25 Marco Trevisan (Treviño) <mail@3v1n0.net>
2639
2640 UnityScreen: don't try to show Dash/Hud if the screen is grabbed
2641
2642 Also move the dash opening out from LauncherController, and get rid of UBus
2643 as first initialization source, that can only slow things down here.
2644
26452014-04-25 Marco Trevisan (Treviño) <mail@3v1n0.net>
2646
2647 DashController: return a bool in ShowDash, wait for ungrab for 2 seconds maximum
2648
2649 Now if the screen is grabbed, we just wait a couple of seconds the ungrab-event.
2650 If that happens in such timeframe then we show the dash, otherwise we ignore the request.
2651
2652 Also return a bool weather we've shown the dash or not.
2653
26542014-04-24 Marco Trevisan (Treviño) <mail@3v1n0.net>
2655
2656 UnityScreen: notify grab also when the screen is not grabbed but we got a NotifyWhileGrabbed event
2657
26582014-05-13 Stephen M. Webb <stephen.webb@canonical.com>
2659
2660 added changelog for #1251193
2661
26622014-05-13 Jinkyu Yi <jincreator@jincreator.net>
2663
2664 Dash: Fix problem at checking blacklisted unicode range
2665
26662014-05-04 Jinkyu Yi <jincreator@jincreator.net>
2667
2668 Dash: Fix problem at checking blacklisted unicode range. Fixes: 1251193
2669
26702014-05-13 Stephen M. Webb <stephen.webb@canonical.com>
2671
2672 added changelog for #1291461
2673
26742014-05-13 William Hua <william.hua@canonical.com>
2675
2676 added proper support for modifier-only shortcuts on the lock screen
2677
26782014-04-30 William Hua <william.hua@canonical.com>
2679
2680 Treat Meta modifier as Alt.
2681
26822014-04-30 William Hua <william.hua@canonical.com>
2683
2684 Minor revisions.
2685
26862014-04-29 William Hua <william.hua@canonical.com>
2687
2688 Destroy accelerator controller between locks.
2689
26902014-04-29 William Hua <william.hua@canonical.com>
2691
2692 Remove gotos.
2693
26942014-04-18 William Hua <william.hua@canonical.com>
2695
2696 Make a separate controller just for accelerators.
2697
26982014-04-18 William Hua <william.hua@canonical.com>
2699
2700 Rip everything out and start anew.
2701
27022014-04-15 William Hua <william.hua@canonical.com>
2703
2704 Add proper support for modifier-only shortcuts on the lock screen.
2705
27062014-05-02 Marc Deslauriers <marc.deslauriers@ubuntu.com>
2707
2708 debian/changelog: sync with distro
2709
27102014-05-02 Marco Trevisan (Treviño) <mail@3v1n0.net>
2711
2712 PanelService: emit an invalid EntryActivated signal if the menu hasn't actually been shown
2713
2714 In addition, if the menu is not visible after the first popup call, try to show a menu
2715 without keyboard focus. This will make possible to see menus also when there's a key-grab
2716 (although they will be without keyboard support).
2717
2718 Finally, reset the menu state, if that failed.
2719
27202014-04-29 Marco Trevisan (Treviño) <mail@3v1n0.net>
2721
2722 LockScreenPanel: if a menu is opened, and the screen is not grabbed, give the grab back to the Shield.
2723
27242014-04-29 Marco Trevisan (Treviño) <mail@3v1n0.net>
2725
2726 PanelService: cleanup the menu popup code, avoid unnecessary calls to gtk_widget_is_visible
2727
27282014-04-29 Marco Trevisan (Treviño) <mail@3v1n0.net>
2729
2730 PanelService: if the menu is not visible, try to show a menu without keyboard focus
2731
2732 This will make possible to see menus also when there's a key-grab.
2733
27342014-04-29 Marco Trevisan (Treviño) <mail@3v1n0.net>
2735
2736 PanelService: emit an invalid EntryActivated signal if the menu has not actually been shown
2737
2738 And also reset the menu state, if that failed
2739
27402014-05-02 Marco Trevisan (Treviño) <mail@3v1n0.net>
2741
2742 UnityScreen: toggle activation of all the unity compiz actions when locking the screen
2743
2744 Also, make sure that the lockscreen views are treated as "always-on-front" windows by nux
2745 (and this applies to both visibility and events).
2746
27472014-04-30 Marco Trevisan (Treviño) <mail@3v1n0.net>
2748
2749 TestSessionController: verify correctly the new Hide method
2750
27512014-04-30 Marco Trevisan (Treviño) <mail@3v1n0.net>
2752
2753 LockScreenController: set the primary shield as the always on front window when another basewindow hides
2754
2755 That window might have set itself as the always on front window, so we should restore our role
2756
27572014-04-30 Marco Trevisan (Treviño) <mail@3v1n0.net>
2758
2759 SessionController: set the dialog as the nux always on front view
2760
27612014-04-30 Marco Trevisan (Treviño) <mail@3v1n0.net>
2762
2763 SessionController: delete the views when hidden, we don't need to keep them around
2764
27652014-04-30 Marco Trevisan (Treviño) <mail@3v1n0.net>
2766
2767 UnityScreen: make sure we reset all the unity views before locking
2768
27692014-04-30 Marco Trevisan (Treviño) <mail@3v1n0.net>
2770
2771 UnityScreen: also send the terminate action to Alt pressure on lock
2772
27732014-04-30 Marco Trevisan (Treviño) <mail@3v1n0.net>
2774
2775 UnityScreen: toggle all the unity (and thus the Gnome) key bindings when locking
2776
27772014-04-29 Marco Trevisan (Treviño) <mail@3v1n0.net>
2778
2779 LockScreenShield: don't try to regrab again if we've been just requested to ungrab
2780
27812014-04-29 Marco Trevisan (Treviño) <mail@3v1n0.net>
2782
2783 LockScreenShield: wait for the next ungrab-event if we can't grab when panel is not active anymore
2784
27852014-04-29 Marco Trevisan (Treviño) <mail@3v1n0.net>
2786
2787 UnityScreen: toggle activation of all the unity compiz actions when locking the screen
2788
27892014-04-29 Marco Trevisan (Treviño) <mail@3v1n0.net>
2790
2791 LockScreenController: set the blank window or the primary shield as the always-on-front window
2792
2793 In this way nux won't draw anything above it, nor will pass events to the underneath windows
2794
27952014-04-23 CI bot <ps-jenkins@lists.canonical.com>
2796
2797 Releasing 7.2.0+14.04.20140423-0ubuntu1
2798
27992014-04-23 Chris Townsend <christopher.townsend@canonical.com>
2800
2801 When setting the STARTING quirk for Application Launcher icons, only do it for the monitor specified in the passed in args. Fixes: 1291362
2802
28032014-04-21 Chris Townsend <christopher.townsend@canonical.com>
2804
2805 When setting the STARTING quirk for Application Launcher icons, only do it for the monitor specified in the passed in args.
2806
28072014-04-23 Andrea Azzarone <azzaronea@gmail.com>
2808
2809 Close dash/hud/etc. on signal locked too. Fixes: 1308850
2810
28112014-04-17 Andrea Azzarone <azzaronea@gmail.com>
2812
2813 Use prompt_lock_requested signal.
2814
28152014-04-17 Andrea Azzarone <azzaronea@gmail.com>
2816
2817 Close dash/hud/etc. on signal locked too.
2818
28192014-04-17 Andrea Azzarone <azzaronea@gmail.com>
2820
2821 Close dash/hud/etc. on signal locked too.
2822
28232014-04-16 CI bot <ps-jenkins@lists.canonical.com>
2824
2825 Releasing 7.2.0+14.04.20140416-0ubuntu1
2826
28272014-04-16 Andrea Azzarone <azzaronea@gmail.com>
2828
2829 Do not allow to activate twice the same entry! Fixes: 1308572
2830
28312014-04-16 Andrea Azzarone <azzaronea@gmail.com>
2832
2833 Minor change.
2834
28352014-04-16 Andrea Azzarone <azzaronea@gmail.com>
2836
2837 Fix ident.
2838
28392014-04-16 Andrea Azzarone <azzaronea@gmail.com>
2840
2841 Do not allow to activate two times the same entry!
2842
28432014-04-16 Marco Trevisan (Treviño) <mail@3v1n0.net>
2844
2845 UnityScreen: save a locked.stamp file when locking/unlocking, to relock on startup
2846
2847 This makes unity to relocks if it was locked before crashing... Fixes: 1308572
2848
28492014-04-17 Marco Trevisan (Treviño) <mail@3v1n0.net>
2850
2851 UnityScreen: Save lock file stamp in $XDG_RUNTIME_DIR, cleanup it on destroy
2852
28532014-04-17 Marco Trevisan (Treviño) <mail@3v1n0.net>
2854
2855 DesktopUtilities: add GetUserRuntimeDirectory to fetch $XDG_RUNTIME_DIR
2856
28572014-04-16 Marco Trevisan (Treviño) <mail@3v1n0.net>
2858
2859 UnityScreen: save a locked.stamp file when locking/unlocking, to relock on startup
2860
28612014-04-16 Marco Trevisan (Treviño) <mail@3v1n0.net>
2862
2863 DesktopUtilities: add GetCacheDirectory, to fetch and create an unity cache dir
2864
28652014-04-14 CI bot <ps-jenkins@lists.canonical.com>
2866
2867 Releasing 7.2.0+14.04.20140414.1-0ubuntu1
2868
28692014-04-14 Marco Trevisan (Treviño) <mail@3v1n0.net>
2870
2871
2872 CompizUtils: only shadow-decorate alpha windows that have full decorations as well
2873
2874 Since alpha windows might have custom shapes, it's safer not to shadow-decorate them
2875 unless they don't provide, for sure, a full decoration.
2876
2877 This fixes, between the others, the unity force-quit dialog. Fixes: 1281825, 1307524
2878
28792014-04-14 Marco Trevisan (Treviño) <mail@3v1n0.net>
2880
2881 CompizUtils: only shadow-decorate alpha windows that have full decorations as well
2882
2883 Since alpha windows might have custom shapes, it's safer not to shadow-decorate them
2884 unless they don't provide, for sure, a full decoration.
2885
2886 This fixes, between the others, the unity force-quit dialog.
2887
28882014-04-14 Sami Jaktholm <sjakthol@outlook.com>
2889
2890 Scale: Correctly detect the activation of a scale and set scale_just_activated_
2891 to true properly. Fixes: 1288789
2892
28932014-04-11 Sami Jaktholm <sjakthol@outlook.com>
2894
2895 Scale: Correctly detect the activation of a scale and set scale_just_activated_
2896 to true properly.
2897
28982014-04-14 Alfred Neumayer <dev.beidl@gmail.com>
2899
2900 Security issue: Gestures on the lock screen allow to peek inside running applications.
2901 As with keyboard input, gestures should be blocked while the screen is locked. Fixes: 1303041, 1306973
2902
29032014-04-14 Alfred Neumayer <dev.beidl@gmail.com>
2904
2905 Stop hiding the launchers parent window for now as it breaks urgent icon wiggling and hint shadow.
2906
29072014-04-13 Alfred Neumayer <dev.beidl@gmail.com>
2908
2909 Don't queue up drawing if the gestures are ignored.
2910
29112014-04-12 Alfred Neumayer <dev.beidl@gmail.com>
2912
2913 Make the lockscreen_controller accessible to other classes and don't allow 4 finger gestures in the lock screen.
2914
29152014-04-12 Alfred Neumayer <dev.beidl@gmail.com>
2916
2917 Should not even try to show the switcher if the screen is locked.
2918
29192014-04-12 Alfred Neumayer <dev.beidl@gmail.com>
2920
2921 Forgot a variable
2922
29232014-04-12 Alfred Neumayer <dev.beidl@gmail.com>
2924
2925 Also, don't hide the launcher window if expo or scale are active.
2926
29272014-04-12 Alfred Neumayer <dev.beidl@gmail.com>
2928
2929 Really shouldn't hide the launcher window if the dash is open.
2930
29312014-04-11 CI bot <ps-jenkins@lists.canonical.com>
2932
2933 Releasing 7.2.0+14.04.20140411-0ubuntu1
2934
29352014-04-11 Sami Jaktholm <sjakthol@outlook.com>
2936
2937 Lockscreen: Give proper grabs to the shield before releasing blank_window_. Fixes: 1306417
2938
29392014-04-11 Sami Jaktholm <sjakthol@outlook.com>
2940
2941 Lockscreen: Give proper grabs to the shield before releasing blank_window_.
2942
29432014-04-10 CI bot <ps-jenkins@lists.canonical.com>
2944
2945 Releasing 7.2.0+14.04.20140410.1-0ubuntu1
2946
29472014-04-10 William Hua <william.hua@canonical.com>
2948
2949 Enable sound buttons and input source switching under lock screen.
2950
29512014-04-11 William Hua <william.hua@canonical.com>
2952
2953 Clean up.
2954
29552014-04-11 William Hua <william.hua@canonical.com>
2956
2957 Fix merge errors.
2958
29592014-04-11 William Hua <william.hua@canonical.com>
2960
2961 Minor changes.
2962
29632014-04-11 William Hua <william.hua@canonical.com>
2964
2965 Merge trunk.
2966
29672014-04-11 William Hua <william.hua@canonical.com>
2968
2969 Enable sound and input source shortcuts on lock screen.
2970
29712014-04-10 CI bot <ps-jenkins@lists.canonical.com>
2972
2973 LockScreen: add ability to show without fading in on some system calls
2974
2975 Also, if locking is not enabled, calling Lock causes the screensaver to be initiated.
2976 Many cleanups and misc fixes. Fixes: 1292575, 1305194
2977
29782014-04-10 Eleni Maria Stea <elenimaria.stea@canonical.com>
2979
2980 It fixes the quicklist menu appearance. Fixes: 1298859
2981
29822014-04-09 Eleni Maria Stea <elenimaria.stea@canonical.com>
2983
2984 fixed quicklist scaling
2985
29862014-04-10 Brandon Schaefer <brandontschaefer@gmail.com>
2987
2988 When we detect caps lock, or caps lock is pressed, render a warning icon to show its on. Fixes: 1291737
2989
29902014-04-09 Brandon Schaefer <brandontschaefer@gmail.com>
2991
2992 * Make sure we update the caps lock detector when we change primary sheilds
2993
29942014-04-01 Brandon Schaefer <brandontschaefer@gmail.com>
2995
2996 * Get rid of magic numbers, have to get the width of the cached
2997 spin icon width, so we can place the warning icon in the right spot
2998
29992014-04-01 Brandon Schaefer <brandontschaefer@gmail.com>
3000
3001 * Check if caps is on each time we make a new Prompt, as it can change
3002 when authenticating, and we need to know.
3003
30042014-04-01 Brandon Schaefer <brandontschaefer@gmail.com>
3005
3006 * Detect if caps lock is on, and check if caps lock is pressed.
3007 If so, then render a warning icon.
3008
30092014-04-10 Alfred Neumayer <dev.beidl@gmail.com>
3010
3011 If the dash has not been opened before, a 4 finger tap will result in a dash with no selected scope.
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)
3013 and open the home scope. Fixes: 1303468
3014
30152014-04-10 Alfred Neumayer <dev.beidl@gmail.com>
3016
3017 UnityGestureTarget.cpp: Remove spaces
3018
30192014-04-10 Alfred Neumayer <dev.beidl@gmail.com>
3020
3021 4 finger tap: Set up the dash window and its view, show the home scope afterwards.
3022
30232014-04-10 Alfred Neumayer <dev.beidl@gmail.com>
3024
3025 Launcher: Show and hide the launcher window OnDragUpdate() to fix the gesture animations Fixes: 1303141
3026
30272014-04-10 Alfred Neumayer <dev.beidl@gmail.com>
3028
3029 Only hide/unhide launcher window if autohide mode is on.
3030
30312014-04-10 Alfred Neumayer <dev.beidl@gmail.com>
3032
3033 Actually, Hide/Un-Hide launcher window in OnDragUpdate.
3034
30352014-04-10 Alfred Neumayer <dev.beidl@gmail.com>
3036
3037 Un-hide launcher window when dragging out using 4 finger gesture: https://bugs.launchpad.net/unity/+bug/1303141
3038
30392014-04-10 Alfred Neumayer <dev.beidl@gmail.com>
3040
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.
3042 They should behave the same way depending on the CCSM setting. Fixes: 1303060
3043
30442014-04-07 Alfred Neumayer <dev.beidl@gmail.com>
3045
3046 Make 3 finger window switch gesture respect the alt-tab-bias-viewport setting by moving the check to SetUpAndShowSwitcher.
3047
30482014-04-10 Sami Jaktholm <sjakthol@outlook.com>
3049
3050 Shortcuts: Listen and react to view close requests. Fixes: 1297842
3051
30522014-04-05 Sami Jaktholm <sjakthol@outlook.com>
3053
3054 Shortcuts: Listen and react to view close requests.
3055
30562014-04-10 Marco Trevisan (Treviño) <mail@3v1n0.net>
3057
3058 DecorationsGrabEdge, PanelMenuView: perform proper WM action on clicks, based on user settings Fixes: 1283849
3059
30602014-04-02 Marco Trevisan (Treviño) <mail@3v1n0.net>
3061
3062 PanelMenuView: use generic actions based on WM settings for double,middle and right clicks
3063
30642014-04-02 Marco Trevisan (Treviño) <mail@3v1n0.net>
3065
3066 WindowManager: add methods to {Horizontally,Vertically}Maximize a window
3067
30682014-04-02 Marco Trevisan (Treviño) <mail@3v1n0.net>
3069
3070 WindowManager: add window shading methods
3071
30722014-04-02 Marco Trevisan (Treviño) <mail@3v1n0.net>
3073
3074 DecorationsGrabEdge: perform proper WM action on clicks, based on user settings
3075
30762014-04-02 Marco Trevisan (Treviño) <mail@3v1n0.net>
3077
3078 DecorationStyle: add WindowManagerAction to get WM click options
3079
30802014-04-02 Marco Trevisan (Treviño) <mail@3v1n0.net>
3081
3082 Merging with lp:~3v1n0/unity/right-left-click-maximize-fix
3083
30842014-04-10 CI bot <ps-jenkins@lists.canonical.com>
3085
3086 Releasing 7.2.0+14.04.20140410-0ubuntu1
3087
30882014-04-10 CI bot <ps-jenkins@lists.canonical.com>
3089
3090 Session: Don't lock the screen if screen locking is disabled by
3091 org.gnome.desktop.lockdown disable-lock-screen. Fixes: 1292154
3092
30932014-04-10 CI bot <ps-jenkins@lists.canonical.com>
3094
3095 ScreenSaverDBusManager: start/stop gnome-screensaver if we don't/do handle the locking
3096
3097 This allows to just use the fallback gnome-screensaver lockscreen if we need to use it. Fixes: 1303712
3098
30992014-04-10 CI bot <ps-jenkins@lists.canonical.com>
3100
3101 GnomeSessionManager: impelement gnome session dbus interface and a fader to blank the screen Fixes: 1291088, 1292041, 1292078, 1292446, 1292451
3102
31032014-04-10 Marco Trevisan (Treviño) <mail@3v1n0.net>
3104
3105 LockScreen: add ability to show without fading in on some system calls
3106
3107 Also, if locking is not enabled, calling Lock causes the screensaver to be initiated.
3108 Many cleanups and misc fixes. Fixes: 1292575, 1305194
3109
31102014-04-10 Marco Trevisan (Treviño) <mail@3v1n0.net>
3111
3112 LockScreenController: fire screensaver_post_lock_timeout_ when the view is fully visible
3113
31142014-04-10 Marco Trevisan (Treviño) <mail@3v1n0.net>
3115
3116 GnomeSessionManager: if it's impossible to lock a session, start the screensaver on lock
3117
3118 This is what most of apps expect, and thus we do that. Although it's not really that coherent.
3119
31202014-04-10 Marco Trevisan (Treviño) <mail@3v1n0.net>
3121
3122 SessionManager: add ScreenSaver{Activate,Deactivate} and relevant signals and export them
3123
3124 Update LockScreenController and dbus apis to match this
3125
31262014-04-10 Marco Trevisan (Treviño) <mail@3v1n0.net>
3127
3128 LockScreenController: remove some racy code, avoid to emit multiple signals
3129
3130 And fix pre-lock blank window
3131
31322014-04-10 Marco Trevisan (Treviño) <mail@3v1n0.net>
3133
3134 LockScreenController: increase the lockscreen timeout wait to be bigger to a frame duration
3135
31362014-04-10 Marco Trevisan (Treviño) <mail@3v1n0.net>
3137
3138 SessionDBusManager: export PromptLock method on the dbus
3139
31402014-04-10 Marco Trevisan (Treviño) <mail@3v1n0.net>
3141
3142 BackgroundSettings: don't create new panel style instances, use the actual instance
3143
31442014-04-10 Marco Trevisan (Treviño) <mail@3v1n0.net>
3145
3146 ScreenSaverDBusManager: get rid of the old active_ bool variable, that caused undefined behavior
3147
31482014-04-09 Marco Trevisan (Treviño) <mail@3v1n0.net>
3149
3150 LockScreenController: even more cleanup, move blank window grabbing to own function
3151
31522014-04-09 Marco Trevisan (Treviño) <mail@3v1n0.net>
3153
3154 UnityWindow: we need to paint also the decorations of the windows, when in lock-mode
3155
3156 Othewise their texture won't be rebuilt and this will lead to wrong textures.
3157 Also, we don't need to damage the screen when lock opacity changes as it's done by nux.
3158
31592014-04-09 Marco Trevisan (Treviño) <mail@3v1n0.net>
3160
3161 LockScreenController: also hide BlankWindow on mouse and keyboard down events
3162
31632014-04-09 Marco Trevisan (Treviño) <mail@3v1n0.net>
3164
3165 LockScreenController: show a blank window unless we don't have the lockscreen ready on prompt requests
3166
31672014-04-09 Marco Trevisan (Treviño) <mail@3v1n0.net>
3168
3169 SessionDBusManager: add support for "PromptLock"
3170
31712014-04-09 Marco Trevisan (Treviño) <mail@3v1n0.net>
3172
3173 GnomeSessionManager: use prompt lockscreen on logind lock requests
3174
31752014-04-09 Marco Trevisan (Treviño) <mail@3v1n0.net>
3176
3177 LockScreenController: add support to PromptLockScreen
3178
31792014-04-09 Marco Trevisan (Treviño) <mail@3v1n0.net>
3180
3181 SessionManager: add PromptLockScreen method and signal, to require a fast lock (with no fading)
3182
31832014-04-09 Marco Trevisan (Treviño) <mail@3v1n0.net>
3184
3185 Merging with lp:~sjakthol/unity/fix-1292154
3186
31872014-04-06 Sami Jaktholm <sjakthol@outlook.com>
3188
3189 Don't cache the value and watch for changes. Check the setting every time instead.
3190
31912014-04-06 Sami Jaktholm <sjakthol@outlook.com>
3192
3193 Session: Don't lock the screen if screen locking is disabled by
3194 org.gnome.desktop.lockdown disable-lock-screen.
3195
31962014-04-09 Marco Trevisan (Treviño) <mail@3v1n0.net>
3197
3198 Merging with parent
3199
32002014-04-09 Marco Trevisan (Treviño) <mail@3v1n0.net>
3201
3202 LockScreenController: make sure whe hide the blank window on unlock
3203
32042014-04-09 Marco Trevisan (Treviño) <mail@3v1n0.net>
3205
3206 Merging with lp:~laney/unity/g-s-replace
3207
3208 Remves the ugly killall
3209
32102014-04-09 Iain Lane <iain@orangesquash.org.uk>
3211
3212 Take over as the owner of the gnome-screensaver interface, if necessary.
3213
32142014-04-09 Iain Lane <iain@orangesquash.org.uk>
3215
3216 Allow skipping of the tests with DEB_BUILD_OPTIONS=nocheck
3217
32182014-04-09 Marco Trevisan (Treviño) <mail@3v1n0.net>
3219
3220 Merging with parent branch
3221
32222014-04-09 Marco Trevisan (Treviño) <mail@3v1n0.net>
3223
3224 LockScreenController: add ShowBlankWindow method
3225
32262014-04-09 Marco Trevisan (Treviño) <mail@3v1n0.net>
3227
3228 UnityShell: ops, remove wrong change
3229
32302014-04-09 Marco Trevisan (Treviño) <mail@3v1n0.net>
3231
3232 Merging with parent branch
3233
32342014-04-09 Marco Trevisan (Treviño) <mail@3v1n0.net>
3235
3236 LockScreenController: start the screensaver after few seconds that the user has locked his session, if there's no more interaction
3237
32382014-04-09 Marco Trevisan (Treviño) <mail@3v1n0.net>
3239
3240 LockScreenShield: emit a signal when we receive a keyboard input
3241
32422014-04-09 Marco Trevisan (Treviño) <mail@3v1n0.net>
3243
3244 LockScreenController: immediately start the screensaver on SetActive dbus call
3245
32462014-04-09 Marco Trevisan (Treviño) <mail@3v1n0.net>
3247
3248 ScreenSaverDBusManager: add request_activate signal that is emitted on remote activation request
3249
32502014-04-09 Marco Trevisan (Treviño) <mail@3v1n0.net>
3251
3252 LockScreenController: some cleanup, and HideBlankWindow on simulate user activity
3253
32542014-04-09 Marco Trevisan (Treviño) <mail@3v1n0.net>
3255
3256 LockScreenController: keep track of dbus_manager and reset screensaver on simulate-user activity
3257
32582014-04-09 Marco Trevisan (Treviño) <mail@3v1n0.net>
3259
3260 ScreenSaverDBusManager: implement SimulateUserActivity
3261
32622014-04-09 Marco Trevisan (Treviño) <mail@3v1n0.net>
3263
3264 ScreenSaverDBusManager: use a nux property for active state
3265
32662014-04-09 Marco Trevisan (Treviño) <mail@3v1n0.net>
3267
3268 LockScreenController: don't animate when locking the screen on suspend or screensaver
3269
32702014-04-09 Marco Trevisan (Treviño) <mail@3v1n0.net>
3271
3272 LockScreenController: we can lock the screen if the GS setting is disabled
3273
3274 Also rename the setting to be more understandable
3275
32762014-04-09 Marco Trevisan (Treviño) <mail@3v1n0.net>
3277
3278 Merging with parent branch
3279
32802014-04-09 Marco Trevisan (Treviño) <mail@3v1n0.net>
3281
3282 LockScreenController: always call LockScreen of SessionManager as it has some checks
3283
32842014-04-09 Marco Trevisan (Treviño) <mail@3v1n0.net>
3285
3286 UnityScreen: damage the screen when the lockscreen opacity changes
3287
32882014-04-09 Marco Trevisan (Treviño) <mail@3v1n0.net>
3289
3290 LockScreenController: use a ROProperty for opacity
3291
32922014-04-09 Marco Trevisan (Treviño) <mail@3v1n0.net>
3293
3294 LockScreenController: only try to lock if locking is enabled
3295
32962014-04-08 Marco Trevisan (Treviño) <mail@3v1n0.net>
3297
3298 LockScreenController: use timeout seconds for lock delay
3299
33002014-04-08 Marco Trevisan (Treviño) <mail@3v1n0.net>
3301
3302 LockScreenController: only use one window to blank the screen, it's not needed to have one per monitor
3303
33042014-04-08 Marco Trevisan (Treviño) <mail@3v1n0.net>
3305
3306 LockScreenController: move OnPresenceStatusChanged into a function
3307
33082014-04-08 Marco Trevisan (Treviño) <mail@3v1n0.net>
3309
3310 LockScreenController: lock the screen on suspend if ubuntu is configured to do so
3311
33122014-04-08 Marco Trevisan (Treviño) <mail@3v1n0.net>
3313
3314 Uscreen: emit suspending signal on PrepareForSleep
3315
33162014-04-08 Marco Trevisan (Treviño) <mail@3v1n0.net>
3317
3318 LockScreenController: use direction to set the animation value
3319
33202014-04-09 Marco Trevisan (Treviño) <mail@3v1n0.net>
3321
3322 ExternalGschema: add missing external settings
3323
33242014-04-08 Marco Trevisan (Treviño) <mail@3v1n0.net>
3325
3326 LockScreenSettings: also use legacy lockscreen if screen reader is enabled
3327
33282014-04-08 Marco Trevisan (Treviño) <mail@3v1n0.net>
3329
3330 ScreenSaverDBusManager: add some comments
3331
33322014-04-08 Marco Trevisan (Treviño) <mail@3v1n0.net>
3333
3334 ScreenSaverDBusManager: use async calls
3335
33362014-04-08 Marco Trevisan (Treviño) <mail@3v1n0.net>
3337
3338 LockScreenController: call gnome-screensaver to lock the screen if we use a legacy lockscreen
3339
33402014-04-08 Marco Trevisan (Treviño) <mail@3v1n0.net>
3341
3342 ScreenSaverDBusManager: start/stop gnome-screensaver if we don't/do handle the locking
3343
33442014-04-08 Marco Trevisan (Treviño) <mail@3v1n0.net>
3345
3346 LockScreenSettings: add use_fallback option, that is on if OSK is active
3347
3348 This is to workaround on screen keyboard issues
3349
33502014-04-07 Marco Trevisan (Treviño) <mail@3v1n0.net>
3351
3352 Add GS schemas to external list
3353
33542014-04-07 Marco Trevisan (Treviño) <mail@3v1n0.net>
3355
3356 GnomeSessionManager: use enum class PresenceStatus instead of magic numbers
3357
33582014-04-07 Andrea Azzarone <azzaronea@gmail.com>
3359
3360 Merge trunk.
3361
33622014-04-07 Andrea Azzarone <azzaronea@gmail.com>
3363
3364 Remove magic numbers.
3365
33662014-04-07 Andrea Azzarone <azzaronea@gmail.com>
3367
3368 Do not implement SimulateUserActivity.
3369
33702014-04-07 Andrea Azzarone <azzaronea@gmail.com>
3371
3372 Update tests.
3373
33742014-04-07 Andrea Azzarone <azzaronea@gmail.com>
3375
3376 Start cleaning lockscreen code.
3377
33782014-04-06 Andrea Azzarone <azzaronea@gmail.com>
3379
3380 Fix. Code style is still WIP.
3381
33822014-04-04 Andrea Azzarone <azzaronea@gmail.com>
3383
3384 Lock the screen after a delay.
3385
33862014-04-02 Andrea Azzarone <azzaronea@gmail.com>
3387
3388 Add the first settings.
3389
33902014-04-02 Andrea Azzarone <azzaronea@gmail.com>
3391
3392 Initial commit to implement g-s dbus interface in unity.
3393
33942014-04-04 CI bot <ps-jenkins@lists.canonical.com>
3395
3396 Releasing 7.2.0+14.04.20140404-0ubuntu1
3397
33982014-04-04 Marco Trevisan (Treviño) <mail@3v1n0.net>
3399
3400 ForceQuitDialog: add a new "sheet style" dialog that is shown when a window hangs
3401
3402 Listen to compiz toolkit events and prompt a dialog that allows to force-quit an
3403 hanging application. Fixes: 698031, 1299061, 1299080
3404
34052014-04-02 Marco Trevisan (Treviño) <mail@3v1n0.net>
3406
3407 ForceQuitDialog: make sure that the dialog is not deletable by WM
3408
3409 For this to be safe we need also to ignore the delete events
3410
34112014-04-02 Marco Trevisan (Treviño) <mail@3v1n0.net>
3412
3413 POTFILES: include DecorationsForceQuitDialog.cpp
3414
34152014-04-02 Marco Trevisan (Treviño) <mail@3v1n0.net>
3416
3417 DecoratedWindow: let's do one line things!
3418
34192014-04-02 Marco Trevisan (Treviño) <mail@3v1n0.net>
3420
3421 ForceQuitDialog: make sure we hide the dialog before we killed the parent window
3422
3423 It must be hidden before than the parent, in case the window is not really killed,
3424 it will be shown anyway later.
3425
34262014-04-02 Marco Trevisan (Treviño) <mail@3v1n0.net>
3427
3428 ForceQuitDialog: avoid warnings on close, due to finalized close button
3429
34302014-04-02 Marco Trevisan (Treviño) <mail@3v1n0.net>
3431
3432 DecorationsForceQuitDialog: emit close_request signal on close and "Wait" button
3433
34342014-04-02 Marco Trevisan (Treviño) <mail@3v1n0.net>
3435
3436 DecorationsForceQuitDialog: add close_request signal and destroy window when it gets called
3437
34382014-04-02 Marco Trevisan (Treviño) <mail@3v1n0.net>
3439
3440 DecoratedWindow: add missing call to UpdateForceQuitDialogPosition
3441
3442 Maybe it was removed due to a shelved change...
3443
34442014-04-02 Marco Trevisan (Treviño) <mail@3v1n0.net>
3445
3446 DecorationsForceQuitDialog: implement actual window killing by using both XKillClient and kill -9
3447
3448 Yeah, now
3449
34502014-04-02 Marco Trevisan (Treviño) <mail@3v1n0.net>
3451
3452 DecorationsForceQuitDialog: use proper class names (mostly for theming)
3453
34542014-04-02 Marco Trevisan (Treviño) <mail@3v1n0.net>
3455
3456 DecorationsForceQuitDialog: use themed button textures
3457
34582014-04-02 Marco Trevisan (Treviño) <mail@3v1n0.net>
3459
3460 DecorationsForceQuitDialog: set the dialog pid/hostname to match the ones of the parent window
3461
3462 In this way we don't confuse BAMF about the ownership of the dialog.
3463
34642014-04-02 Marco Trevisan (Treviño) <mail@3v1n0.net>
3465
3466 ForceQuitDialog: use the same window class of the real parent window
3467
34682014-04-02 Marco Trevisan (Treviño) <mail@3v1n0.net>
3469
3470 ForceQuitDialog: keep the dialog centered on parent window when its geometry changes
3471
34722014-04-02 Marco Trevisan (Treviño) <mail@3v1n0.net>
3473
3474 DecorationsManager.cpp: show a forcequit dialog when we get a toolkitActionForceQuitDialog ClientMessage
3475
3476 These events are triggered directly by compiz, so we only have to catch them!
3477
34782014-04-02 Marco Trevisan (Treviño) <mail@3v1n0.net>
3479
3480 DecoratedWindow: add ShowForceQuitDialog method to show a forcequit dialog on given window
3481
34822014-04-02 Marco Trevisan (Treviño) <mail@3v1n0.net>
3483
3484 DecorationsForceQuitDialog: set dialog X time to match the one of the close event
3485
3486 In this way we correctly handle the focus-stealing prevention
3487
34882014-04-01 Marco Trevisan (Treviño) <mail@3v1n0.net>
3489
3490 ForceQuitDialog: set shape area to ignore input events outside the actual dialog
3491
34922014-04-01 Marco Trevisan (Treviño) <mail@3v1n0.net>
3493
3494 DecorationsForceQuitDialog: set parent window as its actual parent X-side, and center on it
3495
34962014-04-01 Marco Trevisan (Treviño) <mail@3v1n0.net>
3497
3498 ForceQuitDialog: fix label strings
3499
35002014-03-28 Marco Trevisan (Treviño) <mail@3v1n0.net>
3501
3502 Merge with trunk
3503
35042014-03-27 Marco Trevisan (Treviño) <mail@3v1n0.net>
3505
3506 DecorationsForceQuitDialog: obey to style for shadows
3507
35082014-03-27 Marco Trevisan (Treviño) <mail@3v1n0.net>
3509
3510 DecorationsForceQuitDialog: add first basic gtk implementation of the force-quit dialog
3511
35122014-04-04 Chris Townsend <christopher.townsend@canonical.com>
3513
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
3515
35162014-04-04 Chris Townsend <christopher.townsend@canonical.com>
3517
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.
3519
35202014-04-03 CI bot <ps-jenkins@lists.canonical.com>
3521
3522 Releasing 7.2.0+14.04.20140403-0ubuntu1
3523
35242014-04-03 Marco Trevisan (Treviño) <mail@3v1n0.net>
3525
3526 DecorationsGrabEdge: Only perform tookit actions on right-click Fixes: 1301459
3527
35282014-04-02 Marco Trevisan (Treviño) <mail@3v1n0.net>
3529
3530 DecorationsGrabEdge: Only perform tookit actions on right-click
3531
35322014-04-03 Marco Trevisan (Treviño) <mail@3v1n0.net>
3533
3534 UnityScreen: reset decoration::DataPool on destruction, otherwise we won't have a valid screen ptr Fixes: 1291243
3535
35362014-04-02 Marco Trevisan (Treviño) <mail@3v1n0.net>
3537
3538 UnityScreen: reset decoration::DataPool on destruction, otherwise we won't have screen ptr valid
3539
35402014-04-02 Marco Trevisan (Treviño) <mail@3v1n0.net>
3541
3542 DecorationsDataPool: add static Reset method that allows to reset our textures
3543
35442014-04-03 Marco Trevisan (Treviño) <mail@3v1n0.net>
3545
3546 ApplicationLauncherIcon: recompute pips when the screen geometry changes Fixes: 1024101
3547
35482014-04-02 Marco Trevisan (Treviño) <mail@3v1n0.net>
3549
3550 ApplicationLauncherIcon: recompute pips when the screen geometry changes
3551
35522014-04-03 Marco Trevisan (Treviño) <mail@3v1n0.net>
3553
3554 Launcher: hide the launcher window when in auto-hide mode if it's not presented Fixes: 1301394
3555
35562014-04-02 Marco Trevisan (Treviño) <mail@3v1n0.net>
3557
3558 Launcher: hide the launcher window when in auto-hide mode if it's not presented
3559
35602014-04-03 Stephen M. Webb <stephen.webb@canonical.com>
3561
3562 remove libsyncindicator from services/panel-service.c
3563
35642014-04-02 Stephen M. Webb <stephen.webb@canonical.com>
3565
3566 remove libsyncindicator.so (lp: #1300916)
3567
35682014-04-03 Dimitri John Ledkov <dimitri.ledkov@canonical.com>
3569
3570 Drop U1 default shortcuts & indicator-sync recommendation. (LP: #1300916) Fixes: 1300916
3571
35722014-04-02 Dimitri John Ledkov <dimitri.ledkov@canonical.com>
3573
3574 Drop U1 default shortcuts & indicator-sync recommendation. (LP: #1300916)
3575
35762014-04-02 CI bot <ps-jenkins@lists.canonical.com>
3577
3578 Releasing 7.2.0+14.04.20140402-0ubuntu1
3579
35802014-04-02 Stephen M. Webb <stephen.webb@canonical.com>
3581
3582 bump to release 7.2.0
3583
35842014-04-01 Stephen M. Webb <stephen.webb@canonical.com>
3585
3586 debian/control: fix some style warnings in package description
3587
35882014-04-01 Stephen M. Webb <stephen.webb@canonical.com>
3589
3590 debian/changelog: fix syntax to silence a lintian warning
3591
35922014-04-01 Stephen M. Webb <stephen.webb@canonical.com>
3593
3594 debian/control(Standards-Version): bump to 3.9.5 (no changes)
3595
35962014-03-31 Stephen M. Webb <stephen.webb@canonical.com>
3597
3598 release 7.2.0
3599
36002014-04-02 Marco Trevisan (Treviño) <mail@3v1n0.net>
3601
3602 SpreadFilter: use launcher width, scale on HiDPI, match also application names
3603
3604 Launcher Width is now considered in setting the offset of the scale filter (fixes
3605 padding when launcher is in autohide mode).
3606 The search bar is correctly scaled when in HiDPI mode.
3607 We use ApplicationManager and thus BAMF to match windows by their name or app name. Fixes: 1281297, 1282001, 1300763, 1300842
3608
36092014-04-01 Marco Trevisan (Treviño) <mail@3v1n0.net>
3610
3611 SpreadFilter: use casefold instead that tolower as it's meant for equalty checks as we do here
3612
36132014-04-01 Marco Trevisan (Treviño) <mail@3v1n0.net>
3614
3615 SpreadFilter: implement our own to_lower_copy that works with utf8
3616
36172014-04-01 Marco Trevisan (Treviño) <mail@3v1n0.net>
3618
3619 UnityScreen: match the scaled windows based on the SpreadFilter matches
3620
36212014-04-01 Marco Trevisan (Treviño) <mail@3v1n0.net>
3622
3623 SpreadFilter: compute a list of filtered windows using both window and application name
3624
36252014-04-01 Marco Trevisan (Treviño) <mail@3v1n0.net>
3626
3627 SpreadFilter: take in consideration the launcher width when setting the spread offset
3628
36292014-04-01 Marco Trevisan (Treviño) <mail@3v1n0.net>
3630
3631 SpreadFilter :Scale the internal searchbar to match DPI settings
3632
36332014-04-01 Marco Trevisan (Treviño) <mail@3v1n0.net>
3634
3635 SearchBar: fix crash when trying to update the show filter scale in a filterless-search bar
3636
36372014-04-02 Marco Trevisan (Treviño) <mail@3v1n0.net>
3638
3639 PanelMenuView: use panel style context for painting the panel title Fixes: 1296866
3640
36412014-03-31 Marco Trevisan (Treviño) <mail@3v1n0.net>
3642
3643 PanelMenuView: add "panel-title" class to the panel style context when drawing title
3644
36452014-03-31 Marco Trevisan (Treviño) <mail@3v1n0.net>
3646
3647 PanelStyle: return a Style context with different widget path in GetStyleContext based on type
3648
36492014-03-31 Marco Trevisan (Treviño) <mail@3v1n0.net>
3650
3651 PanelMenuView: use panel style context for painting the panel title
3652
36532014-03-31 Marco Trevisan (Treviño) <mail@3v1n0.net>
3654
3655 DecorationStyle: allow to use a different style context in DrawTitle
3656
3657 Panel will need to use a different one
3658
36592014-04-02 Marco Trevisan (Treviño) <mail@3v1n0.net>
3660
3661 Panel, Decorations: draw the background under the text glyphs before the text itself Fixes: 723167
3662
36632014-03-31 Marco Trevisan (Treviño) <mail@3v1n0.net>
3664
3665 UnitySettings: never allow values minor or equal to 0 as UI scale
3666
36672014-03-31 Marco Trevisan (Treviño) <mail@3v1n0.net>
3668
3669 DecorationsMenuEntry: draw background under text glyphs
3670
36712014-03-31 Marco Trevisan (Treviño) <mail@3v1n0.net>
3672
3673 DecorationsTitle: draw background under text glyphs
3674
36752014-03-31 Marco Trevisan (Treviño) <mail@3v1n0.net>
3676
3677 DecorationStyle: draw text glyphs background on menu items
3678
36792014-03-31 Marco Trevisan (Treviño) <mail@3v1n0.net>
3680
3681 PanelMenuView: draw the background under the text glyphs
3682
36832014-03-31 Marco Trevisan (Treviño) <mail@3v1n0.net>
3684
3685 DecorationStyle: add support for drawing the text background under the glyphs
3686
36872014-03-31 Marco Trevisan (Treviño) <mail@3v1n0.net>
3688
3689 PanelIndicatorEntryView: draw the background under the text glyphs
3690
36912014-04-02 Marco Trevisan (Treviño) <mail@3v1n0.net>
3692
3693 CompizUtils: only shadow-decorate alpha windows that have full decorations as well
3694
3695 Since alpha windows might have custom shapes, it's safer not to shadow-decorate them
3696 unless they don't provide, for sure, a full decoration. Fixes: 1281825
3697
36982014-03-29 Marco Trevisan (Treviño) <mail@3v1n0.net>
3699
3700 CompizUtils: only shadow-decorate alpha windows that have full decorations as well
3701
3702 Since alpha windows might have custom shapes, it's safer not to shadow-decorate them
3703 unless they don't provide, for sure, a full decoration.
3704
3705>>>>>>> MERGE-SOURCE
16512014-03-28 CI bot <ps-jenkins@lists.canonical.com>37062014-03-28 CI bot <ps-jenkins@lists.canonical.com>
16523707
1653 Releasing 7.1.2+14.04.20140328.1-0ubuntu13708 Releasing 7.1.2+14.04.20140328.1-0ubuntu1
16543709
=== modified file 'UnityCore/GnomeSessionManager.cpp'
--- UnityCore/GnomeSessionManager.cpp 2014-10-21 13:45:43 +0000
+++ UnityCore/GnomeSessionManager.cpp 2014-12-09 18:52:51 +0000
@@ -426,12 +426,22 @@
426{426{
427 EnsureCancelPendingAction();427 EnsureCancelPendingAction();
428428
429 if (!manager_->CanLock())429<<<<<<< TREE
430 {430 if (!manager_->CanLock())
431 manager_->ScreenSaverActivate();431 {
432 return;432 manager_->ScreenSaverActivate();
433 }433 return;
434434 }
435
436=======
437 if (!manager_->CanLock())
438 {
439 manager_->ScreenSaverActivate();
440 return;
441 }
442
443 // FIXME (andy) we should ask gnome-session to emit the logind signal
444>>>>>>> MERGE-SOURCE
435 prompt ? manager_->prompt_lock_requested.emit() : manager_->lock_requested.emit();445 prompt ? manager_->prompt_lock_requested.emit() : manager_->lock_requested.emit();
436}446}
437447
438448
=== modified file 'dash/FilterBasicButton.cpp'
--- dash/FilterBasicButton.cpp 2014-08-27 12:56:22 +0000
+++ dash/FilterBasicButton.cpp 2014-12-09 18:52:51 +0000
@@ -69,13 +69,19 @@
69 if (GetInputEventSensitivity())69 if (GetInputEventSensitivity())
70 Active() ? Deactivate() : Activate();70 Active() ? Deactivate() : Activate();
71 });71 });
72<<<<<<< TREE
7273
73 scale.changed.connect(sigc::mem_fun(this, &FilterBasicButton::UpdateScale));74 scale.changed.connect(sigc::mem_fun(this, &FilterBasicButton::UpdateScale));
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)));
76=======
77
78 scale.changed.connect(sigc::mem_fun(this, &FilterBasicButton::UpdateScale));
79>>>>>>> MERGE-SOURCE
75}80}
7681
77void FilterBasicButton::InitTheme()82void FilterBasicButton::InitTheme()
78{83{
84<<<<<<< TREE
79 nux::Geometry const& geo = GetGeometry();85 nux::Geometry const& geo = GetGeometry();
8086
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)));
@@ -89,6 +95,20 @@
8995
90 SetMinimumHeight(BUTTON_HEIGHT.CP(font_scaling));96 SetMinimumHeight(BUTTON_HEIGHT.CP(font_scaling));
91 SetMaximumHeight(BUTTON_HEIGHT.CP(font_scaling));97 SetMaximumHeight(BUTTON_HEIGHT.CP(font_scaling));
98=======
99 nux::Geometry const& geo = GetGeometry();
100
101 prelight_.reset(new nux::CairoWrapper(geo, sigc::bind(sigc::mem_fun(this, &FilterBasicButton::RedrawTheme), nux::ButtonVisualState::VISUAL_STATE_PRELIGHT)));
102 active_.reset(new nux::CairoWrapper(geo, sigc::bind(sigc::mem_fun(this, &FilterBasicButton::RedrawTheme), nux::ButtonVisualState::VISUAL_STATE_PRESSED)));
103 normal_.reset(new nux::CairoWrapper(geo, sigc::bind(sigc::mem_fun(this, &FilterBasicButton::RedrawTheme), nux::ButtonVisualState::VISUAL_STATE_NORMAL)));
104 focus_.reset(new nux::CairoWrapper(geo, sigc::mem_fun(this, &FilterBasicButton::RedrawFocusOverlay)));
105
106 SetMinimumWidth(MIN_BUTTON_WIDTH.CP(scale));
107 ApplyMinWidth();
108
109 SetMinimumHeight(BUTTON_HEIGHT.CP(scale));
110 SetMaximumHeight(BUTTON_HEIGHT.CP(scale));
111>>>>>>> MERGE-SOURCE
92}112}
93113
94void FilterBasicButton::RedrawTheme(nux::Geometry const& geom, cairo_t* cr, nux::ButtonVisualState faked_state)114void FilterBasicButton::RedrawTheme(nux::Geometry const& geom, cairo_t* cr, nux::ButtonVisualState faked_state)
95115
=== modified file 'dash/ScopeBar.cpp'
=== modified file 'dash/previews/ActionButton.cpp'
--- dash/previews/ActionButton.cpp 2014-08-27 12:55:52 +0000
+++ dash/previews/ActionButton.cpp 2014-12-09 18:52:51 +0000
@@ -49,8 +49,12 @@
49 SetAcceptKeyNavFocusOnMouseEnter(true);49 SetAcceptKeyNavFocusOnMouseEnter(true);
50 Init();50 Init();
51 BuildLayout(label, icon_hint, "");51 BuildLayout(label, icon_hint, "");
52<<<<<<< TREE
52 scale.changed.connect(sigc::mem_fun(this, &ActionButton::UpdateScale));53 scale.changed.connect(sigc::mem_fun(this, &ActionButton::UpdateScale));
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)));
55=======
56 scale.changed.connect(sigc::mem_fun(this, &ActionButton::UpdateScale));
57>>>>>>> MERGE-SOURCE
54}58}
5559
56ActionButton::~ActionButton()60ActionButton::~ActionButton()
@@ -86,6 +90,7 @@
8690
87void ActionButton::InitTheme()91void ActionButton::InitTheme()
88{92{
93<<<<<<< TREE
89 nux::Geometry const& geo = GetGeometry();94 nux::Geometry const& geo = GetGeometry();
9095
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)));
@@ -96,6 +101,17 @@
96 double font_scaling = Settings::Instance().font_scaling() * scale;101 double font_scaling = Settings::Instance().font_scaling() * scale;
97 SetMinimumHeight(MIN_BUTTON_HEIGHT.CP(font_scaling));102 SetMinimumHeight(MIN_BUTTON_HEIGHT.CP(font_scaling));
98 SetMinimumWidth(MIN_BUTTON_WIDTH.CP(font_scaling));103 SetMinimumWidth(MIN_BUTTON_WIDTH.CP(font_scaling));
104=======
105 nux::Geometry const& geo = GetGeometry();
106
107 cr_prelight_.reset(new nux::CairoWrapper(geo, sigc::bind(sigc::mem_fun(this, &ActionButton::RedrawTheme), nux::ButtonVisualState::VISUAL_STATE_PRELIGHT)));
108 cr_active_.reset(new nux::CairoWrapper(geo, sigc::bind(sigc::mem_fun(this, &ActionButton::RedrawTheme), nux::ButtonVisualState::VISUAL_STATE_PRESSED)));
109 cr_normal_.reset(new nux::CairoWrapper(geo, sigc::bind(sigc::mem_fun(this, &ActionButton::RedrawTheme), nux::ButtonVisualState::VISUAL_STATE_NORMAL)));
110 cr_focus_.reset(new nux::CairoWrapper(geo, sigc::mem_fun(this, &ActionButton::RedrawFocusOverlay)));
111
112 SetMinimumHeight(MIN_BUTTON_HEIGHT.CP(scale));
113 SetMinimumWidth(MIN_BUTTON_WIDTH.CP(scale));
114>>>>>>> MERGE-SOURCE
99}115}
100116
101void ActionButton::SetExtraHint(std::string const& extra_hint, std::string const& font_hint)117void ActionButton::SetExtraHint(std::string const& extra_hint, std::string const& font_hint)
102118
=== modified file 'dash/previews/ErrorPreview.cpp'
=== modified file 'dash/previews/PaymentPreview.cpp'
=== modified file 'dash/previews/PreviewContainer.cpp'
=== modified file 'dash/previews/PreviewInfoHintWidget.cpp'
=== modified file 'dash/previews/PreviewNavigator.cpp'
=== modified file 'dash/previews/SocialPreviewComments.cpp'
=== modified file 'dash/previews/SocialPreviewContent.cpp'
=== modified file 'dash/previews/Track.cpp'
--- dash/previews/Track.cpp 2014-07-30 00:49:35 +0000
+++ dash/previews/Track.cpp 2014-12-09 18:52:51 +0000
@@ -36,12 +36,22 @@
36namespace previews36namespace previews
37{37{
3838
39namespace39<<<<<<< TREE
40{40namespace
41const RawPixel LAYOUT_SPACING = 6_em;41{
42const RawPixel TITLE_PADDING = 3_em;42const RawPixel LAYOUT_SPACING = 6_em;
43}43const RawPixel TITLE_PADDING = 3_em;
4444}
45
46=======
47DECLARE_LOGGER(logger, "unity.dash.preview.music.track");
48namespace
49{
50const RawPixel LAYOUT_SPACING = 6_em;
51const RawPixel TITLE_PADDING = 3_em;
52}
53
54>>>>>>> MERGE-SOURCE
45class TmpView : public nux::View55class TmpView : public nux::View
46{56{
47public:57public:
4858
=== modified file 'debian/changelog'
--- debian/changelog 2014-11-28 12:56:29 +0000
+++ debian/changelog 2014-12-09 18:52:51 +0000
@@ -1,3 +1,4 @@
1<<<<<<< TREE
1unity (7.3.1+15.04.20141128-0ubuntu1) vivid; urgency=low2unity (7.3.1+15.04.20141128-0ubuntu1) vivid; urgency=low
23
3 [ Andrea Azzarone ]4 [ Andrea Azzarone ]
@@ -318,11 +319,205 @@
318 std:vector definition319 std:vector definition
319 * disabled precompiled headers on arm64 Ubuntu package builds (LP:320 * disabled precompiled headers on arm64 Ubuntu package builds (LP:
320 #1317276)321 #1317276)
322=======
323unity (7.2.3+14.04.20140826-0ubuntu2) UNRELEASED; urgency=medium
324
325 * Make sure GetScreenGeometry returns the correct value (lp: #1374785).
326
327 -- Andrea Azzarone <azzaronea@gmail.com> Tue, 09 Dec 2014 13:49:07 -0500
328
329unity (7.2.3+14.04.20140826-0ubuntu1) trusty; urgency=medium
330
331 [ Andrea Azzarone ]
332 * Remove cross fade effect during lock/unlocking. A simple fading
333 works just fine. (LP: #1312107)
334 * Manually emit nux::Area::geometry_changed beucase nux can fail to
335 emit it. (LP: #1292391)
336
337 [ Pawel Szubert ]
338 * Reduce the scope of the kill command when restarting Compiz.
339 (LP: #1324114)
340
341 [ Marco Trevisan (Treviño) ]
342 * LockScreenAcceleratorController: do ther configured action on power
343 special keys press. We finally can suspend, shutdown, hibernate or
344 start the screensaver when the screen is locked, using the Suspend,
345 Sleep, Hibernate and PowerOff hardware keys. Also the Shutdown
346 dialog doesn't allow now to lock the session if it is not allowed by
347 settings. (LP: #1306211) (LP: #1320051) (LP: #1320071)
348 * Previews: scale the dash preview contents to match current monitor
349 scaling. Improved also the scaling of search-bar, spinner, categories
350 and many other components. (LP: #1339629)
351 * FilterWidgets: add support for scaling (LP: #1340171)
352 * OverlayRendering: correctly scale the overlays borders and edges to
353 match settings. DashStyle has been modified to return smart pointers
354 of textures that are loaded depending on the scale level. The cache
355 will make sure that we don't duplicate the textures and that they
356 get removed when not needed anymore. Also thanks to this the
357 SearchBarSpinner textures (and the other spinners as well) uses the
358 SVGs scaled at the proper size (I desgined a new SVG for the
359 magnifier, as we only had a PNG). (LP: #1283415) (LP: #1340394)
360 * Hud: scale to match current DPI settings for monitor. (LP: #1340477)
361
362 [ Eleni Maria Stea ]
363 * Previews: scale the dash preview contents to match current monitor
364 scaling. Improved also the scaling of search-bar, spinner, categories
365 and many other components. (LP: #1339629)
366
367 [ Stephen M. Webb ]
368 * Reduce the scope of the kill command when restarting Compiz.
369 (LP: #1324114)
370
371 [ Chris Townsend ]
372 * Bump version to 7.2.3.
373
374 -- Ubuntu daily release <ps-jenkins@lists.canonical.com> Tue, 26 Aug 2014 13:49:00 +0000
375
376unity (7.2.2+14.04.20140714-0ubuntu2) trusty; urgency=medium
377
378 [ Andrea Azzarone ]
379 * Remove cross fade effect during lock/unlocking. A simple fading
380 works just fine. (LP: #1312107)
381 * Manually emit nux::Area::geometry_changed beucase nux can fail to
382 emit it. (LP: #1292391)
383 * TextInput: use GdkKeymap to check the caps-lock status (LP: #1347735)
384
385 [ Pawel Szubert ]
386 * Reduce the scope of the kill command when restarting Compiz.
387 (LP: #1324114)
388
389 [ Marco Trevisan (Treviño) ]
390 * LockScreenAcceleratorController: do ther configured action on power
391 special keys press. We finally can suspend, shutdown, hibernate or
392 start the screensaver when the screen is locked, using the Suspend,
393 Sleep, Hibernate and PowerOff hardware keys. Also the Shutdown
394 dialog doesn't allow now to lock the session if it is not allowed by
395 settings. (LP: #1306211) (LP: #1320051) (LP: #1320071)
396 * Previews: scale the dash preview contents to match current monitor
397 scaling. Improved also the scaling of search-bar, spinner, categories
398 and many other components. (LP: #1339629)
399 * FilterWidgets: add support for scaling (LP: #1340171)
400 * OverlayRendering: correctly scale the overlays borders and edges to
401 match settings. DashStyle has been modified to return smart pointers
402 of textures that are loaded depending on the scale level. The cache
403 will make sure that we don't duplicate the textures and that they
404 get removed when not needed anymore. Also thanks to this the
405 SearchBarSpinner textures (and the other spinners as well) uses the
406 SVGs scaled at the proper size (I desgined a new SVG for the
407 magnifier, as we only had a PNG). (LP: #1283415) (LP: #1340394)
408 * Hud: scale to match current DPI settings for monitor. (LP: #1340477)
409 * PlacesOverlayVScrollBar and VScrollBarOverlayWindow: add support for
410 scaling. Add a new ScrollView class to create ScrollViews with an
411 OverlayScrollbar and with scaling support. Using them in dash Scopes and
412 Previews. (LP: #1340996)
413 * LockScreenShield: Add GrabScreen function and retry to make sure we really
414 get the grab. It might happen that the grab is not possible because the
415 PluginAdapter::IsScreenGrabbed request has still not being fully processed,
416 and thus nux is not able to grab the pointer/keyboard. By doing this we
417 instead try to grab the screen, and if this is not happening, we wait a
418 little until we don't get the ungrab event. In this way, if we eventually
419 get the grab, all will work as expected. Otherwise, we cancel the lock
420 request (very unlikely to happen). (LP: #1349128)
421 * PlacesOverlayVScrollBar: redirect the mouse wheel scroll events coming from
422 the thumb to the scrollview. This will make the scrollview to handle then and
423 perform the same scrolling action it would do otherwise. (LP: #1340992)
424 * SwitcherView, PanelService: correctly handle horizontal and vertical scroll
425 events (LP: #1342208) (LP: #1342731)
426
427 [ Eleni Maria Stea ]
428 * Previews: scale the dash preview contents to match current monitor
429 scaling. Improved also the scaling of search-bar, spinner, categories
430 and many other components. (LP: #1339629)
431
432 [ Stephen M. Webb ]
433 * Reduce the scope of the kill command when restarting Compiz.
434 (LP: #1324114)
435
436 -- Chris Townsend <christopher.townsend@canonical.com> Wed, 23 Jul 2014 11:49:11 -0400
437
438unity (7.2.2+14.04.20140714-0ubuntu1.1) trusty-security; urgency=medium
439
440 * SECURITY UPDATE: more screen locking fixes (LP: #1349128)
441 - debian/patches/lp1349128.patch: flush after ungrabbing the keyboard
442 in unity-shared/PluginAdapter.cpp, add GrabScreen() function that
443 retries to lockscreen/LockScreenController.cpp,
444 lockscreen/LockScreenShield.cpp, lockscreen/LockScreenShield.h.
445
446 -- Marc Deslauriers <marc.deslauriers@ubuntu.com> Wed, 30 Jul 2014 15:13:41 -0400
447
448unity (7.2.2+14.04.20140714-0ubuntu1) trusty; urgency=medium
449
450 [ Alfred Neumayer ]
451 * Restore the launcher position by reversing the animation and
452 unsetting the DND_PUSHED_OFF quirk. (LP: #1304882)
453
454 [ Brandon Schaefer ]
455 * TextInput: move the warning icon inside the input field, render it
456 white (LP: #1307738)
457 * ShutdownView: Scale up the Buttons and Text plus Borders of the
458 UnityWindowView. (LP: #1308323)
459 * Lockscreen warning icon needs a tooltip to say what the warning is
460 about! (LP: #1308288)
461
462 [ Marco Trevisan (Treviño) ]
463 * UnityScreen: always paint the lockscreen above, just add menu and
464 onboard as exceptions Some code cleanup, factorizing similar code.
465 (LP: #1313280)
466 * ApplicationLauncherIcon: Focus and, in case, Spread the windows on
467 DnD After 1 second that an user is over an icon, that icon should
468 focus the relative application and Spread its windows if it has more
469 than one opened. Correctly handle the DnD scale in launcher, and
470 apply glow to the icon under pointer. (LP: #607796)
471 * ShutdownView: Scale up the Buttons and Text plus Borders of the
472 UnityWindowView. (LP: #1308323)
473 * SwitcherView: use RawPixel's for the size values and convert them to
474 match current scaling (LP: #1317348)
475 * PluginAdapter: try to grab the screen to make sure that the screen
476 is not grabbed FocusIn event with NotifyGrab mode is not always
477 triggered by X when a window takes the grab, then we need to ensure
478 that there's no grab by trying to get one. We only care about
479 keyboard here, since pointer grabs don't affect us in general.
480 (LP: #741869)
481 * ShortcutView: use RawPixel's for the size values and convert them to
482 match current scaling Plus dinamically allocate horizontal space,
483 not to cut the text. (LP: #924840)
484
485 [ Chris Townsend ]
486 * Fix issue where scaling the edge illumination up and down with the
487 size of the Launcher icons would cause the illumination border to be
488 offset and smaller than the icon. (LP: #1309739)
489 * Fix issue where the number of Launcher icon pips are not always
490 properly updated when a new window of an already running application
491 is opened. (LP: #1283775)
492 * Fix issue where the Panel shadow would get drawn over drop down
493 windows in full screen windows. (LP: #1316005)
494 * Bump upstream release to 7.2.2.
495
496 [ Andrea Azzarone ]
497 * Clear the clipboard when locking the screen. (LP: #1308911)
498 * Disable switcher gestures if screen is locked. Fixed a regression.
499 (LP: #1321043)
500 * Pass the correct options to showLauncherKeyTerminate in
501 UnityScreen::OnLockScreen (LP: #1320438)
502 * Fix skype indicator blinking. (LP: #1310200)
503 * Add a warning in the session dialog if other sessions are still
504 open. (LP: #1281058)
505
506 [ Ubuntu daily release ]
507 * New rebuild forced
508
509 -- Ubuntu daily release <ps-jenkins@lists.canonical.com> Mon, 14 Jul 2014 14:31:00 +0000
510
511unity (7.2.1+14.04.20140513-0ubuntu2) trusty; urgency=medium
512>>>>>>> MERGE-SOURCE
321513
322 [ Brandon Schaefer ]514 [ Brandon Schaefer ]
323 * Set the max width, so our static text wraps. So we don't end up515 * Set the max width, so our static text wraps. So we don't end up
324 rendering text out of the view area. (LP: #1312749)516 rendering text out of the view area. (LP: #1312749)
325517
518 [ Jnkyu Yi ]
519 * fixed range of blacklisted Unicode characters (lp: #1251193)
520
326 [ Marco Trevisan (Treviño) ]521 [ Marco Trevisan (Treviño) ]
327 * UnityScreen: toggle activation of all the unity compiz actions when522 * UnityScreen: toggle activation of all the unity compiz actions when
328 locking the screen Also, make sure that the lockscreen views are523 locking the screen Also, make sure that the lockscreen views are
@@ -334,38 +529,23 @@
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-
335 grab (although they will be without keyboard support). Finally,530 grab (although they will be without keyboard support). Finally,
336 reset the menu state, if that failed.531 reset the menu state, if that failed.
337 * UnityScreen: always paint the lockscreen above, just add menu and
338 onboard as exceptions Some code cleanup, factorizing similar code.
339 (LP: #1313280)
340 * UnityScreen: don't try to show Dash/Hud if the screen is grabbed
341 Also move the dash opening out from LauncherController, and get rid
342 of UBus as first initialization source, as it can only slow things
343 down here. (LP: #741869)
344 * PluginAdapter: make sure we don't try to call an invalid532 * PluginAdapter: make sure we don't try to call an invalid
345 initiate/terminate callback function (LP: #1221673)533 initiate/terminate callback function (LP: #1221673)
346 * DebugDBusInterface: match properties if they are in the AP array534 * DebugDBusInterface: match properties if they are in the AP array
347 form [<type>, <value>] (LP: #1307748)535 form [<type>, <value>] (LP: #1307748)
348536
537 [ Stephen M. Webb ]
538 * lockscreen/LockScreenAccelerators.h: added required header for
539 std:vector definition (fixes FTBFS in Ubuntu)
540 * disabled precompiled headers on arm64 Ubuntu package builds
541 (lp: #1317276)
542 * bump upstream release to 7.2.1
543
349 [ William Hua ]544 [ William Hua ]
350 * Add proper support for modifier-only shortcuts on the lock screen.545 * added proper support for modifier-only shortcuts on the lock screen
351 (LP: #1291461)546 (lp: #1291461)
352547
353 [ Jinkyu Yi ]548 -- Ubuntu daily release <ps-jenkins@lists.canonical.com> Tue, 13 May 2014 20:46:01 +0000
354 * Dash: Fix problem at checking blacklisted unicode range (LP:
355 #1251193)
356
357 [ Andrea Azzarone ]
358 * Add a warning in the session dialog if other sessions are still
359 open. (LP: #1281058)
360
361 -- Ubuntu daily release <ps-jenkins@lists.canonical.com> Mon, 12 May 2014 22:03:27 +0000
362
363unity (7.2.0+14.04.20140423-0ubuntu2) utopic; urgency=medium
364
365 * debian/control: depends on autopilot-desktop-legacy rather than
366 autopilot-desktop.
367
368 -- Mathieu Trudel-Lapierre <mathieu-tl@ubuntu.com> Thu, 01 May 2014 00:32:05 -0400
369549
370unity (7.2.0+14.04.20140423-0ubuntu1.2) trusty-security; urgency=medium550unity (7.2.0+14.04.20140423-0ubuntu1.2) trusty-security; urgency=medium
371551
372552
=== modified file 'debian/control'
--- debian/control 2014-11-04 18:57:33 +0000
+++ debian/control 2014-12-09 18:52:51 +0000
@@ -179,7 +179,7 @@
179Architecture: all179Architecture: all
180Depends: ${misc:Depends},180Depends: ${misc:Depends},
181 ${python:Depends},181 ${python:Depends},
182 autopilot-desktop-legacy,182 autopilot-desktop,
183 python-windowmocker,183 python-windowmocker,
184 gir1.2-appindicator3-0.1,184 gir1.2-appindicator3-0.1,
185 gir1.2-dee-1.0,185 gir1.2-dee-1.0,
186186
=== modified file 'hud/HudButton.cpp'
--- hud/HudButton.cpp 2014-07-30 00:49:35 +0000
+++ hud/HudButton.cpp 2014-12-09 18:52:51 +0000
@@ -37,15 +37,28 @@
37#include "HudButton.h"37#include "HudButton.h"
38#include "HudPrivate.h"38#include "HudPrivate.h"
3939
40namespace unity40<<<<<<< TREE
41{41namespace unity
42namespace hud42{
43{43namespace hud
4444{
45namespace45
46{46namespace
47const RawPixel HLAYOUT_LEFT_PADDING = 46_em;47{
48const RawPixel HEIGHT = 42_em;48const RawPixel HLAYOUT_LEFT_PADDING = 46_em;
49const RawPixel HEIGHT = 42_em;
50=======
51namespace unity
52{
53namespace hud
54{
55
56namespace
57{
58DECLARE_LOGGER(logger, "unity.hud.button");
59const RawPixel HLAYOUT_LEFT_PADDING = 46_em;
60const RawPixel HEIGHT = 42_em;
61>>>>>>> MERGE-SOURCE
49const char* const button_font = "Ubuntu 13"; // 17px = 1362const char* const button_font = "Ubuntu 13"; // 17px = 13
50}63}
5164
5265
=== modified file 'launcher/ApplicationLauncherIcon.cpp'
--- launcher/ApplicationLauncherIcon.cpp 2014-07-30 13:05:51 +0000
+++ launcher/ApplicationLauncherIcon.cpp 2014-12-09 18:52:51 +0000
@@ -1161,6 +1161,7 @@
11611161
1162void ApplicationLauncherIcon::OnDndEnter()1162void ApplicationLauncherIcon::OnDndEnter()
1163{1163{
1164<<<<<<< TREE
1164 auto timestamp = nux::GetGraphicsDisplay()->GetCurrentEvent().x11_timestamp;1165 auto timestamp = nux::GetGraphicsDisplay()->GetCurrentEvent().x11_timestamp;
11651166
1166 _source_manager.AddTimeout(1000, [this, timestamp] {1167 _source_manager.AddTimeout(1000, [this, timestamp] {
@@ -1175,6 +1176,21 @@
1175 if (GetWindows(WindowFilter::ON_CURRENT_DESKTOP).size() > 1)1176 if (GetWindows(WindowFilter::ON_CURRENT_DESKTOP).size() > 1)
1176 Spread(true, COMPIZ_SCALE_DND_SPREAD, false);1177 Spread(true, COMPIZ_SCALE_DND_SPREAD, false);
11771178
1179=======
1180 auto timestamp = nux::GetGraphicsDisplay()->GetCurrentEvent().x11_timestamp;
1181
1182 _source_manager.AddTimeout(1000, [this, timestamp] {
1183 WindowManager::Default().TerminateScale();
1184
1185 if (!IsRunning())
1186 return false;
1187
1188 Focus(ActionArg(ActionArg::Source::LAUNCHER, 1, timestamp));
1189
1190 if (GetWindows(WindowFilter::ON_CURRENT_DESKTOP).size() > 1)
1191 Spread(true, COMPIZ_SCALE_DND_SPREAD, false);
1192
1193>>>>>>> MERGE-SOURCE
1178 return false;1194 return false;
1179 }, ICON_DND_OVER_TIMEOUT);1195 }, ICON_DND_OVER_TIMEOUT);
1180}1196}
11811197
=== modified file 'launcher/Launcher.cpp'
=== modified file 'launcher/LauncherIcon.cpp'
=== modified file 'launcher/LauncherIcon.h'
=== modified file 'launcher/SwitcherView.cpp'
--- launcher/SwitcherView.cpp 2014-09-04 22:11:18 +0000
+++ launcher/SwitcherView.cpp 2014-12-09 18:52:51 +0000
@@ -78,8 +78,13 @@
78 icon_renderer_->SetTargetSize(tile_size, icon_size, minimum_spacing);78 icon_renderer_->SetTargetSize(tile_size, icon_size, minimum_spacing);
79 icon_renderer_->scale = scale();79 icon_renderer_->scale = scale();
8080
81<<<<<<< TREE
81 text_view_->SetMaximumWidth(tile_size * TEXT_TILE_MULTIPLIER);82 text_view_->SetMaximumWidth(tile_size * TEXT_TILE_MULTIPLIER);
82 text_view_->SetLines(-1);83 text_view_->SetLines(-1);
84=======
85 text_view_->SetMaximumWidth(tile_size * TEXT_TILE_MULTIPLIER);
86 text_view_->SetLines(1);
87>>>>>>> MERGE-SOURCE
83 text_view_->SetTextColor(nux::color::White);88 text_view_->SetTextColor(nux::color::White);
84 text_view_->SetFont("Ubuntu Bold 10");89 text_view_->SetFont("Ubuntu Bold 10");
85 text_view_->SetScale(scale);90 text_view_->SetScale(scale);
@@ -176,6 +181,7 @@
176 text_view_->SetText(model->Selection()->tooltip_text(), true);181 text_view_->SetText(model->Selection()->tooltip_text(), true);
177}182}
178183
184<<<<<<< TREE
179void SwitcherView::OnIconSizeChanged(int size)185void SwitcherView::OnIconSizeChanged(int size)
180{186{
181 icon_renderer_->SetTargetSize(tile_size, icon_size, minimum_spacing);187 icon_renderer_->SetTargetSize(tile_size, icon_size, minimum_spacing);
@@ -198,6 +204,29 @@
198 text_size = TEXT_SIZE.CP(scale);204 text_size = TEXT_SIZE.CP(scale);
199 vertical_size = tile_size + VERTICAL_PADDING.CP(scale) * 2;205 vertical_size = tile_size + VERTICAL_PADDING.CP(scale) * 2;
200 icon_renderer_->scale = scale;206 icon_renderer_->scale = scale;
207=======
208void SwitcherView::OnIconSizeChanged(int size)
209{
210 icon_renderer_->SetTargetSize(tile_size, icon_size, minimum_spacing);
211}
212
213void SwitcherView::OnTileSizeChanged(int size)
214{
215 icon_renderer_->SetTargetSize(tile_size, icon_size, minimum_spacing);
216 vertical_size = tile_size + VERTICAL_PADDING.CP(scale) * 2;
217}
218
219void SwitcherView::OnScaleChanged(double scale)
220{
221 text_view_->SetScale(scale);
222 border_size = BORDER_SIZE.CP(scale);
223 flat_spacing = FLAT_SPACING.CP(scale);
224 icon_size = ICON_SIZE.CP(scale);
225 minimum_spacing = MINIMUM_SPACING.CP(scale);
226 tile_size = TILE_SIZE.CP(scale);
227 text_size = TEXT_SIZE.CP(scale);
228 vertical_size = tile_size + VERTICAL_PADDING.CP(scale) * 2;
229>>>>>>> MERGE-SOURCE
201}230}
202231
203void SwitcherView::StartAnimation()232void SwitcherView::StartAnimation()
204233
=== modified file 'launcher/VolumeLauncherIcon.cpp'
=== modified file 'lockscreen/LockScreenAbstractShield.h'
=== modified file 'lockscreen/LockScreenController.cpp'
--- lockscreen/LockScreenController.cpp 2014-10-21 18:55:37 +0000
+++ lockscreen/LockScreenController.cpp 2014-12-09 18:52:51 +0000
@@ -239,12 +239,21 @@
239 is_new = true;239 is_new = true;
240 }240 }
241241
242<<<<<<< TREE
242 auto old_geo = shield->GetGeometry();243 auto old_geo = shield->GetGeometry();
243 auto new_geo = monitors[i];244 auto new_geo = monitors[i];
244245
245 shield->SetGeometry(new_geo);246 shield->SetGeometry(new_geo);
246 shield->SetMinMaxSize(new_geo.width, new_geo.height);247 shield->SetMinMaxSize(new_geo.width, new_geo.height);
247 shield->primary = false;248 shield->primary = false;
249=======
250 auto old_geo = shield->GetGeometry();
251 auto new_geo = monitors[i];
252
253 shield->SetGeometry(new_geo);
254 shield->SetMinMaxSize(new_geo.width, new_geo.height);
255 shield->primary = (i == primary);
256>>>>>>> MERGE-SOURCE
248 shield->monitor = i;257 shield->monitor = i;
249258
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.
@@ -382,6 +391,10 @@
382 HideBlankWindow();391 HideBlankWindow();
383392
384 LockScreen();393 LockScreen();
394<<<<<<< TREE
395=======
396 session_manager_->is_locked = true;
397>>>>>>> MERGE-SOURCE
385398
386 if (prompt_activation_)399 if (prompt_activation_)
387 {400 {
@@ -442,12 +455,16 @@
442 indicators_ = std::make_shared<indicator::LockScreenDBusIndicators>();455 indicators_ = std::make_shared<indicator::LockScreenDBusIndicators>();
443 upstart_wrapper_->Emit("desktop-lock");456 upstart_wrapper_->Emit("desktop-lock");
444457
458<<<<<<< TREE
445 shutdown_notifier_ = std::make_shared<ShutdownNotifier>();459 shutdown_notifier_ = std::make_shared<ShutdownNotifier>();
446 shutdown_notifier_->RegisterInterest([](){460 shutdown_notifier_->RegisterInterest([](){
447 WindowManager::Default().UnmapAllNoNuxWindowsSync();461 WindowManager::Default().UnmapAllNoNuxWindowsSync();
448 });462 });
449463
450 accelerator_controller_ = std::make_shared<AcceleratorController>(session_manager_);464 accelerator_controller_ = std::make_shared<AcceleratorController>(session_manager_);
465=======
466 accelerator_controller_ = std::make_shared<AcceleratorController>(session_manager_);
467>>>>>>> MERGE-SOURCE
451 auto activate_key = WindowManager::Default().activate_indicators_key();468 auto activate_key = WindowManager::Default().activate_indicators_key();
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);
453 accelerator->activated.connect(std::bind(std::mem_fn(&Controller::ActivatePanel), this));470 accelerator->activated.connect(std::bind(std::mem_fn(&Controller::ActivatePanel), this));
454471
=== modified file 'lockscreen/LockScreenShield.cpp'
--- lockscreen/LockScreenShield.cpp 2014-09-19 20:44:05 +0000
+++ lockscreen/LockScreenShield.cpp 2014-12-09 18:52:51 +0000
@@ -19,6 +19,7 @@
1919
20#include "LockScreenShield.h"20#include "LockScreenShield.h"
2121
22#include <NuxCore/Logger.h>
22#include <Nux/VLayout.h>23#include <Nux/VLayout.h>
23#include <Nux/HLayout.h>24#include <Nux/HLayout.h>
24#include <Nux/PaintLayer.h>25#include <Nux/PaintLayer.h>
@@ -36,10 +37,18 @@
36{37{
37namespace lockscreen38namespace lockscreen
38{39{
40<<<<<<< TREE
39namespace41namespace
40{42{
41const unsigned MAX_GRAB_WAIT = 100;43const unsigned MAX_GRAB_WAIT = 100;
42}44}
45=======
46namespace
47{
48DECLARE_LOGGER(logger, "unity.lockscreen.shield");
49const unsigned MAX_GRAB_WAIT = 50;
50}
51>>>>>>> MERGE-SOURCE
4352
44Shield::Shield(session::Manager::Ptr const& session_manager,53Shield::Shield(session::Manager::Ptr const& session_manager,
45 indicator::Indicators::Ptr const& indicators,54 indicator::Indicators::Ptr const& indicators,
@@ -113,6 +122,7 @@
113 }122 }
114}123}
115124
125<<<<<<< TREE
116void Shield::GrabScreen(bool cancel_on_failure)126void Shield::GrabScreen(bool cancel_on_failure)
117{127{
118 auto& wc = nux::GetWindowCompositor();128 auto& wc = nux::GetWindowCompositor();
@@ -142,12 +152,38 @@
142{152{
143 auto& wc = nux::GetWindowCompositor();153 auto& wc = nux::GetWindowCompositor();
144 return (wc.GetPointerGrabArea() == this && wc.GetKeyboardGrabArea() == this);154 return (wc.GetPointerGrabArea() == this && wc.GetKeyboardGrabArea() == this);
155=======
156void Shield::GrabScreen(bool cancel_on_failure)
157{
158 auto& wc = nux::GetWindowCompositor();
159
160 if (wc.GrabPointerAdd(this) && wc.GrabKeyboardAdd(this))
161 {
162 regrab_conn_->disconnect();
163 regrab_timeout_.reset();
164 }
165 else
166 {
167 auto const& retry_cb = sigc::bind(sigc::mem_fun(this, &Shield::GrabScreen), false);
168 regrab_conn_ = WindowManager::Default().screen_ungrabbed.connect(retry_cb);
169
170 if (cancel_on_failure)
171 {
172 regrab_timeout_.reset(new glib::Timeout(MAX_GRAB_WAIT, [this] {
173 LOG_ERROR(logger) << "Impossible to get the grab to lock the screen";
174 session_manager_->unlock_requested.emit();
175 return false;
176 }));
177 }
178 }
179>>>>>>> MERGE-SOURCE
145}180}
146181
147void Shield::ShowPrimaryView()182void Shield::ShowPrimaryView()
148{183{
149 if (primary_layout_)184 if (primary_layout_)
150 {185 {
186<<<<<<< TREE
151 if (prompt_view_)187 if (prompt_view_)
152 {188 {
153 prompt_view_->scale = scale();189 prompt_view_->scale = scale();
@@ -155,6 +191,9 @@
155 }191 }
156192
157 GrabScreen(false);193 GrabScreen(false);
194=======
195 GrabScreen(false);
196>>>>>>> MERGE-SOURCE
158 SetLayout(primary_layout_.GetPointer());197 SetLayout(primary_layout_.GetPointer());
159 return;198 return;
160 }199 }
161200
=== modified file 'lockscreen/LockScreenShield.h'
--- lockscreen/LockScreenShield.h 2014-09-19 18:02:37 +0000
+++ lockscreen/LockScreenShield.h 2014-12-09 18:52:51 +0000
@@ -68,7 +68,12 @@
68 nux::ObjectPtr<nux::Layout> cof_layout_;68 nux::ObjectPtr<nux::Layout> cof_layout_;
69 connection::Wrapper panel_active_conn_;69 connection::Wrapper panel_active_conn_;
70 connection::Wrapper regrab_conn_;70 connection::Wrapper regrab_conn_;
71 glib::Source::UniquePtr regrab_timeout_;71<<<<<<< TREE
72 glib::Source::UniquePtr regrab_timeout_;
73=======
74 glib::Source::UniquePtr regrab_timeout_;
75 UserPromptView* prompt_view_;
76>>>>>>> MERGE-SOURCE
72 Panel* panel_view_;77 Panel* panel_view_;
73 CofView* cof_view_;78 CofView* cof_view_;
74};79};
7580
=== modified file 'lockscreen/UserPromptView.cpp'
--- lockscreen/UserPromptView.cpp 2014-08-25 20:46:31 +0000
+++ lockscreen/UserPromptView.cpp 2014-12-09 18:52:51 +0000
@@ -40,10 +40,18 @@
40const RawPixel PADDING = 10_em;40const RawPixel PADDING = 10_em;
41const RawPixel LAYOUT_MARGIN = 10_em;41const RawPixel LAYOUT_MARGIN = 10_em;
42const RawPixel MSG_LAYOUT_MARGIN = 15_em;42const RawPixel MSG_LAYOUT_MARGIN = 15_em;
43<<<<<<< TREE
43const RawPixel PROMPT_LAYOUT_MARGIN = 5_em;44const RawPixel PROMPT_LAYOUT_MARGIN = 5_em;
44const int PROMPT_FONT_SIZE = 13;45const int PROMPT_FONT_SIZE = 13;
4546
46nux::AbstractPaintLayer* CrateBackgroundLayer(double width, double height, double scale)47nux::AbstractPaintLayer* CrateBackgroundLayer(double width, double height, double scale)
48=======
49const RawPixel PROMPT_LAYOUT_MARGIN = 5_em;
50
51const int PROMPT_FONT_SIZE = 13;
52
53nux::AbstractPaintLayer* CrateBackgroundLayer(int width, int height)
54>>>>>>> MERGE-SOURCE
47{55{
48 nux::CairoGraphics cg(CAIRO_FORMAT_ARGB32, width, height);56 nux::CairoGraphics cg(CAIRO_FORMAT_ARGB32, width, height);
49 cairo_surface_set_device_scale(cg.GetSurface(), scale, scale);57 cairo_surface_set_device_scale(cg.GetSurface(), scale, scale);
@@ -103,9 +111,12 @@
103 : nux::View(NUX_TRACKER_LOCATION)111 : nux::View(NUX_TRACKER_LOCATION)
104 , scale(1.0)112 , scale(1.0)
105 , session_manager_(session_manager)113 , session_manager_(session_manager)
114<<<<<<< TREE
106 , username_(nullptr)115 , username_(nullptr)
107 , msg_layout_(nullptr)116 , msg_layout_(nullptr)
108 , prompt_layout_(nullptr)117 , prompt_layout_(nullptr)
118=======
119>>>>>>> MERGE-SOURCE
109{120{
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){
111 AddPrompt(message, /* visible */ true, promise);122 AddPrompt(message, /* visible */ true, promise);
@@ -127,13 +138,17 @@
127 ResetLayout();138 ResetLayout();
128 });139 });
129140
141<<<<<<< TREE
130 scale.changed.connect(sigc::hide(sigc::mem_fun(this, &UserPromptView::UpdateSize)));142 scale.changed.connect(sigc::hide(sigc::mem_fun(this, &UserPromptView::UpdateSize)));
131143
132 UpdateSize();144 UpdateSize();
145=======
146>>>>>>> MERGE-SOURCE
133 ResetLayout();147 ResetLayout();
134148
135 user_authenticator_.AuthenticateStart(session_manager_->UserName(),149 user_authenticator_.AuthenticateStart(session_manager_->UserName(),
136 sigc::mem_fun(this, &UserPromptView::AuthenticationCb));150 sigc::mem_fun(this, &UserPromptView::AuthenticationCb));
151<<<<<<< TREE
137}152}
138153
139void UserPromptView::UpdateSize()154void UserPromptView::UpdateSize()
@@ -184,6 +199,8 @@
184 ComputeContentSize();199 ComputeContentSize();
185 QueueRelayout();200 QueueRelayout();
186 QueueDraw();201 QueueDraw();
202=======
203>>>>>>> MERGE-SOURCE
187}204}
188205
189bool UserPromptView::InspectKeyEvent(unsigned int eventType, unsigned int key_sym, const char* character)206bool UserPromptView::InspectKeyEvent(unsigned int eventType, unsigned int key_sym, const char* character)
@@ -317,15 +334,26 @@
317 text_input->scale = scale();334 text_input->scale = scale();
318 text_input->input_hint = SanitizeMessage(message);335 text_input->input_hint = SanitizeMessage(message);
319 text_input->hint_font_size = PROMPT_FONT_SIZE;336 text_input->hint_font_size = PROMPT_FONT_SIZE;
337<<<<<<< TREE
320 text_input->show_caps_lock = true;338 text_input->show_caps_lock = true;
321 text_input->show_activator = true;339 text_input->show_activator = true;
340=======
341 text_input->show_caps_lock = true;
342>>>>>>> MERGE-SOURCE
322 text_entry->SetPasswordMode(!visible);343 text_entry->SetPasswordMode(!visible);
323 text_entry->SetPasswordChar("•");344 text_entry->SetPasswordChar("•");
324 text_entry->SetToggleCursorVisibilityOnKeyFocus(true);345 text_entry->SetToggleCursorVisibilityOnKeyFocus(true);
346<<<<<<< TREE
325 text_entry->clipboard_enabled = false;347 text_entry->clipboard_enabled = false;
326348
327 text_input->SetMinimumHeight(Settings::GRID_SIZE.CP(scale));349 text_input->SetMinimumHeight(Settings::GRID_SIZE.CP(scale));
328 text_input->SetMaximumHeight(Settings::GRID_SIZE.CP(scale));350 text_input->SetMaximumHeight(Settings::GRID_SIZE.CP(scale));
351=======
352 text_entry->clipboard_enabled = false;
353
354 text_input->SetMinimumHeight(Settings::GRID_SIZE);
355 text_input->SetMaximumHeight(Settings::GRID_SIZE);
356>>>>>>> MERGE-SOURCE
329 prompt_layout_->AddView(text_input, 1);357 prompt_layout_->AddView(text_input, 1);
330 focus_queue_.push_back(text_input);358 focus_queue_.push_back(text_input);
331359
332360
=== modified file 'lockscreen/UserPromptView.h'
--- lockscreen/UserPromptView.h 2014-07-28 16:58:13 +0000
+++ lockscreen/UserPromptView.h 2014-12-09 18:52:51 +0000
@@ -74,7 +74,14 @@
74 StaticCairoText* username_;74 StaticCairoText* username_;
75 nux::VLayout* msg_layout_;75 nux::VLayout* msg_layout_;
76 nux::VLayout* prompt_layout_;76 nux::VLayout* prompt_layout_;
77 std::deque<TextInput*> focus_queue_;77<<<<<<< TREE
78 std::deque<TextInput*> focus_queue_;
79=======
80 StaticCairoText* message_;
81 StaticCairoText* error_;
82 StaticCairoText* invalid_login_;
83 std::deque<TextInput*> focus_queue_;
84>>>>>>> MERGE-SOURCE
7885
79 nux::Geometry cached_focused_geo_;86 nux::Geometry cached_focused_geo_;
80};87};
8188
=== modified file 'panel/PanelIndicatorEntryView.cpp'
=== modified file 'plugins/unityshell/src/unityshell.cpp'
=== modified file 'plugins/unityshell/src/unityshell.h'
=== modified file 'po/unity.pot'
--- po/unity.pot 2014-07-11 17:49:21 +0000
+++ po/unity.pot 2014-12-09 18:52:51 +0000
@@ -8,7 +8,7 @@
8msgstr ""8msgstr ""
9"Project-Id-Version: PACKAGE VERSION\n"9"Project-Id-Version: PACKAGE VERSION\n"
10"Report-Msgid-Bugs-To: ayatana-dev@lists.launchpad.net\n"10"Report-Msgid-Bugs-To: ayatana-dev@lists.launchpad.net\n"
11"POT-Creation-Date: 2013-04-17 16:00+0100\n"11"POT-Creation-Date: 2014-07-01 11:21-0400\n"
12"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"12"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
13"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"13"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
14"Language-Team: LANGUAGE <LL@li.org>\n"14"Language-Team: LANGUAGE <LL@li.org>\n"
@@ -38,6 +38,26 @@
38msgid "Last Updated"38msgid "Last Updated"
39msgstr ""39msgstr ""
4040
41#. The "%s" is used in the dash preview to display the "<hint>: <value>" infos
42#, c-format
43msgid "%s:"
44msgstr ""
45
46msgid "Comments"
47msgstr ""
48
49msgid "This window is not responding"
50msgstr ""
51
52msgid "Do you want to force the application to exit, or wait for it to respond?"
53msgstr ""
54
55msgid "_Wait"
56msgstr ""
57
58msgid "_Force Quit"
59msgstr ""
60
41msgid "Type your command"61msgid "Type your command"
42msgstr ""62msgstr ""
4363
@@ -50,6 +70,12 @@
50msgid "Quit"70msgid "Quit"
51msgstr ""71msgstr ""
5272
73msgid "Exit"
74msgstr ""
75
76msgid "Close"
77msgstr ""
78
53msgid "Search your computer and online sources"79msgid "Search your computer and online sources"
54msgstr ""80msgstr ""
5581
@@ -69,13 +95,16 @@
69msgid "Waiting to install"95msgid "Waiting to install"
70msgstr ""96msgstr ""
7197
98msgid "Installing…"
99msgstr ""
100
72msgid "Drop To Add Application"101msgid "Drop To Add Application"
73msgstr ""102msgstr ""
74103
75msgid "Trash"104msgid "Trash"
76msgstr ""105msgstr ""
77106
78msgid "Empty Trash..."107msgid "Empty Trash…"
79msgstr ""108msgstr ""
80109
81msgid "Open"110msgid "Open"
@@ -96,6 +125,15 @@
96msgid "Unmount"125msgid "Unmount"
97msgstr ""126msgstr ""
98127
128msgid "Password"
129msgstr ""
130
131msgid "Username"
132msgstr ""
133
134msgid "Invalid password, please try again"
135msgstr ""
136
99msgid "Ubuntu Desktop"137msgid "Ubuntu Desktop"
100msgstr ""138msgstr ""
101139
@@ -105,6 +143,14 @@
105msgid "Launcher"143msgid "Launcher"
106msgstr ""144msgstr ""
107145
146#, c-format
147msgid "%s: running: %zu windows open"
148msgstr ""
149
150#, c-format
151msgid "%s: running"
152msgstr ""
153
108msgid "Quicklist"154msgid "Quicklist"
109msgstr ""155msgstr ""
110156
@@ -165,6 +211,9 @@
165msgid "Opens the Dash Music Lens."211msgid "Opens the Dash Music Lens."
166msgstr ""212msgstr ""
167213
214msgid "Opens the Dash Photo Lens."
215msgstr ""
216
168msgid "Opens the Dash Video Lens."217msgid "Opens the Dash Video Lens."
169msgstr ""218msgstr ""
170219
@@ -210,6 +259,9 @@
210msgid "Switches between applications."259msgid "Switches between applications."
211msgstr ""260msgstr ""
212261
262msgid "Switches between applications from all workspaces."
263msgstr ""
264
213msgid "Switches windows of current applications."265msgid "Switches windows of current applications."
214msgstr ""266msgstr ""
215267
@@ -234,6 +286,12 @@
234msgid "Spreads all windows in the current workspace."286msgid "Spreads all windows in the current workspace."
235msgstr ""287msgstr ""
236288
289msgid "Spreads all windows."
290msgstr ""
291
292msgid "Spreads all windows in all the workspaces."
293msgstr ""
294
237msgid "Minimises all windows."295msgid "Minimises all windows."
238msgstr ""296msgstr ""
239297
@@ -258,7 +316,7 @@
258msgid "Places the window in corresponding position."316msgid "Places the window in corresponding position."
259msgstr ""317msgstr ""
260318
261msgid "Ctrl + Alt + Num"319msgid "Ctrl + Alt + Num (keypad)"
262msgstr ""320msgstr ""
263321
264msgid " Drag"322msgid " Drag"
@@ -270,6 +328,11 @@
270msgid "Resizes the window."328msgid "Resizes the window."
271msgstr ""329msgstr ""
272330
331msgid ""
332"Other users are logged in. Restarting or shutting down will close their open applications and may cause them to lose work.\n"
333"\n"
334msgstr ""
335
273msgid "Shut Down"336msgid "Shut Down"
274msgstr ""337msgstr ""
275338
@@ -327,3 +390,7 @@
327390
328msgid "Filter results"391msgid "Filter results"
329msgstr ""392msgstr ""
393
394#. avoid wrap lines
395msgid "Caps lock is on"
396msgstr ""
330397
=== modified file 'services/panel-service.c'
--- services/panel-service.c 2014-11-28 12:55:58 +0000
+++ services/panel-service.c 2014-12-09 18:52:51 +0000
@@ -2506,6 +2506,7 @@
2506 entry = get_indicator_entry_by_id (self, entry_id);2506 entry = get_indicator_entry_by_id (self, entry_id);
2507 g_return_if_fail (entry);2507 g_return_if_fail (entry);
25082508
2509<<<<<<< TREE
2509 GdkScrollDirection direction = G_MAXINT;2510 GdkScrollDirection direction = G_MAXINT;
25102511
2511 switch (delta)2512 switch (delta)
@@ -2541,4 +2542,30 @@
2541 {2542 {
2542 gtk_menu_popdown (GTK_MENU (self->priv->last_menu));2543 gtk_menu_popdown (GTK_MENU (self->priv->last_menu));
2543 }2544 }
2545=======
2546 GdkScrollDirection direction = G_MAXINT;
2547
2548 switch (delta)
2549 {
2550 case NUX_VERTICAL_SCROLL_DELTA:
2551 direction = INDICATOR_OBJECT_SCROLL_UP;
2552 break;
2553 case -NUX_VERTICAL_SCROLL_DELTA:
2554 direction = INDICATOR_OBJECT_SCROLL_DOWN;
2555 break;
2556 case NUX_HORIZONTAL_SCROLL_DELTA:
2557 direction = INDICATOR_OBJECT_SCROLL_LEFT;
2558 break;
2559 case -NUX_HORIZONTAL_SCROLL_DELTA:
2560 direction = INDICATOR_OBJECT_SCROLL_RIGHT;
2561 break;
2562 }
2563
2564 if (direction != G_MAXINT)
2565 {
2566 object = get_entry_parent_indicator (entry);
2567 g_signal_emit_by_name(object, INDICATOR_OBJECT_SIGNAL_ENTRY_SCROLLED,
2568 entry, 1, direction);
2569 }
2570>>>>>>> MERGE-SOURCE
2544}2571}
25452572
=== modified file 'tests/test_lockscreen_controller.cpp'
=== modified file 'unity-shared/DashStyle.cpp'
=== modified file 'unity-shared/IconTexture.cpp'
=== modified file 'unity-shared/PluginAdapter.cpp'
=== modified file 'unity-shared/SearchBar.cpp'
--- unity-shared/SearchBar.cpp 2014-09-04 22:11:33 +0000
+++ unity-shared/SearchBar.cpp 2014-12-09 18:52:51 +0000
@@ -336,10 +336,17 @@
336 pango_entry_->SetMaximumHeight(entry_min);336 pango_entry_->SetMaximumHeight(entry_min);
337 layered_layout_->SetMinimumHeight(entry_min);337 layered_layout_->SetMinimumHeight(entry_min);
338 layered_layout_->SetMaximumHeight(entry_min);338 layered_layout_->SetMaximumHeight(entry_min);
339<<<<<<< TREE
339340
340 int search_bar_height = style.GetSearchBarHeight().CP(font_scaling);341 int search_bar_height = style.GetSearchBarHeight().CP(font_scaling);
341 SetMinimumHeight(search_bar_height);342 SetMinimumHeight(search_bar_height);
342 SetMaximumHeight(search_bar_height);343 SetMaximumHeight(search_bar_height);
344=======
345
346 int search_bar_height = style.GetSearchBarHeight().CP(scale);
347 SetMinimumHeight(search_bar_height);
348 SetMaximumHeight(search_bar_height);
349>>>>>>> MERGE-SOURCE
343}350}
344351
345void SearchBar::UpdateScale(double scale)352void SearchBar::UpdateScale(double scale)
346353
=== modified file 'unity-shared/SearchBarSpinner.h'
=== modified file 'unity-shared/SpreadFilter.cpp'
=== modified file 'unity-shared/TextInput.cpp'
--- unity-shared/TextInput.cpp 2014-09-04 22:11:03 +0000
+++ unity-shared/TextInput.cpp 2014-12-09 18:52:51 +0000
@@ -19,6 +19,13 @@
1919
20#include "config.h"20#include "config.h"
21#include "TextInput.h"21#include "TextInput.h"
22#include "unity-shared/IconTexture.h"
23#include "unity-shared/DashStyle.h"
24#include "unity-shared/RawPixel.h"
25#include "unity-shared/PreviewStyle.h"
26
27namespace unity
28{
2229
23#include <gtk/gtk.h>30#include <gtk/gtk.h>
24#include <glib/gi18n-lib.h>31#include <glib/gi18n-lib.h>
@@ -43,6 +50,7 @@
4350
44namespace51namespace
45{52{
53<<<<<<< TREE
46const int BORDER_RADIUS = 5;54const int BORDER_RADIUS = 5;
47const int TOOLTIP_WAIT = 500;55const int TOOLTIP_WAIT = 500;
48const RawPixel SPACE_BETWEEN_ENTRY_AND_HIGHLIGHT = 10_em;56const RawPixel SPACE_BETWEEN_ENTRY_AND_HIGHLIGHT = 10_em;
@@ -55,13 +63,35 @@
55const RawPixel DEFAULT_ICON_SIZE = 22_em;63const RawPixel DEFAULT_ICON_SIZE = 22_em;
5664
57std::string WARNING_ICON = "dialog-warning-symbolic";65std::string WARNING_ICON = "dialog-warning-symbolic";
66=======
67const float kExpandDefaultIconOpacity = 1.0f;
68
69const int SPACE_BETWEEN_ENTRY_AND_HIGHLIGHT = 10;
70const int LEFT_INTERNAL_PADDING = 6;
71const int TEXT_INPUT_RIGHT_BORDER = 10;
72
73const int HIGHLIGHT_HEIGHT = 24;
74
75const RawPixel TOOLTIP_Y_OFFSET = 3_em;
76const RawPixel TOOLTIP_OFFSET = 10_em;
77const RawPixel DEFAULT_ICON_SIZE = 22_em;
78
79std::string WARNING_ICON = "dialog-warning-symbolic";
80>>>>>>> MERGE-SOURCE
58// Fonts81// Fonts
59const std::string HINT_LABEL_DEFAULT_FONT_NAME = "Ubuntu";82const std::string HINT_LABEL_DEFAULT_FONT_NAME = "Ubuntu";
60const int HINT_LABEL_FONT_SIZE = 11;83const int HINT_LABEL_FONT_SIZE = 11;
6184
62const std::string PANGO_ENTRY_DEFAULT_FONT_FAMILY = "Ubuntu";85const std::string PANGO_ENTRY_DEFAULT_FONT_FAMILY = "Ubuntu";
86<<<<<<< TREE
63const RawPixel PANGO_ENTRY_FONT_SIZE = 14_em;87const RawPixel PANGO_ENTRY_FONT_SIZE = 14_em;
6488
89=======
90const int PANGO_ENTRY_FONT_SIZE = 14;
91
92}
93
94>>>>>>> MERGE-SOURCE
65nux::logging::Logger logger("unity.textinput");95nux::logging::Logger logger("unity.textinput");
6696
67std::shared_ptr<nux::AbstractPaintLayer> CreateWarningLayer(nux::BaseTexture* texture)97std::shared_ptr<nux::AbstractPaintLayer> CreateWarningLayer(nux::BaseTexture* texture)
@@ -86,18 +116,46 @@
86116
87NUX_IMPLEMENT_OBJECT_TYPE(TextInput);117NUX_IMPLEMENT_OBJECT_TYPE(TextInput);
88118
119nux::AbstractPaintLayer* CreateWarningLayer(nux::BaseTexture* texture)
120{
121 // Create the texture layer
122 nux::TexCoordXForm texxform;
123
124 texxform.SetTexCoordType(nux::TexCoordXForm::OFFSET_COORD);
125 texxform.SetWrap(nux::TEXWRAP_REPEAT, nux::TEXWRAP_REPEAT);
126 texxform.min_filter = nux::TEXFILTER_LINEAR;
127 texxform.mag_filter = nux::TEXFILTER_LINEAR;
128
129 nux::ROPConfig rop;
130 rop.Blend = true;
131
132 rop.SrcBlend = GL_ONE;
133 rop.DstBlend = GL_ONE_MINUS_SRC_ALPHA;
134
135 return (new nux::TextureLayer(texture->GetDeviceTexture(),
136 texxform,
137 nux::color::White,
138 true,
139 rop));
140}
141
89TextInput::TextInput(NUX_FILE_LINE_DECL)142TextInput::TextInput(NUX_FILE_LINE_DECL)
90 : View(NUX_FILE_LINE_PARAM)143 : View(NUX_FILE_LINE_PARAM)
91 , input_hint("")144 , input_hint("")
92 , hint_font_name(HINT_LABEL_DEFAULT_FONT_NAME)145 , hint_font_name(HINT_LABEL_DEFAULT_FONT_NAME)
93 , hint_font_size(HINT_LABEL_FONT_SIZE)146 , hint_font_size(HINT_LABEL_FONT_SIZE)
147<<<<<<< TREE
94 , show_activator(false)148 , show_activator(false)
95 , show_caps_lock(false)149 , show_caps_lock(false)
96 , scale(1.0)150 , scale(1.0)
151=======
152 , show_caps_lock(false)
153>>>>>>> MERGE-SOURCE
97 , bg_layer_(new nux::ColorLayer(nux::Color(0xff595853), true))154 , bg_layer_(new nux::ColorLayer(nux::Color(0xff595853), true))
98 , caps_lock_on(false)155 , caps_lock_on(false)
99 , last_width_(-1)156 , last_width_(-1)
100 , last_height_(-1)157 , last_height_(-1)
158 , mouse_over_warning_icon_(false)
101{159{
102 layout_ = new nux::HLayout(NUX_TRACKER_LOCATION);160 layout_ = new nux::HLayout(NUX_TRACKER_LOCATION);
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));
@@ -131,6 +189,7 @@
131 layered_layout_->SetActiveLayerN(1);189 layered_layout_->SetActiveLayerN(1);
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);
133191
192<<<<<<< TREE
134 UpdateSize();193 UpdateSize();
135194
136 // Caps lock warning195 // Caps lock warning
@@ -164,6 +223,27 @@
164 });223 });
165224
166 // Spinner225 // Spinner
226=======
227 warning_ = new IconTexture(LoadWarningIcon(DEFAULT_ICON_SIZE));
228 warning_->SetVisible(caps_lock_on());
229 layout_->AddView(warning_, 0, nux::MINOR_POSITION_CENTER, nux::MINOR_SIZE_FULL);
230 caps_lock_on.changed.connect([this] (bool on) {
231 if (show_caps_lock)
232 {
233 warning_->SetVisible(on);
234 QueueRelayout();
235 QueueDraw();
236 }
237 });
238
239 show_caps_lock.changed.connect([this] (bool changed) {
240 if (!warning_tooltip_.IsValid())
241 LoadWarningTooltip();
242
243 CheckIfCapsLockOn();
244 });
245
246>>>>>>> MERGE-SOURCE
167 spinner_ = new SearchBarSpinner();247 spinner_ = new SearchBarSpinner();
168 spinner_->SetVisible(false);248 spinner_->SetVisible(false);
169 spinner_->scale = scale();249 spinner_->scale = scale();
@@ -180,12 +260,17 @@
180 CheckIfCapsLockOn();260 CheckIfCapsLockOn();
181 });261 });
182262
263 sig_manager_.Add<void, GdkKeymap*>(gdk_keymap_get_default(), "state-changed", [this](GdkKeymap*) {
264 CheckIfCapsLockOn();
265 });
266
183 input_string.SetGetterFunction(sigc::mem_fun(this, &TextInput::get_input_string));267 input_string.SetGetterFunction(sigc::mem_fun(this, &TextInput::get_input_string));
184 input_string.SetSetterFunction(sigc::mem_fun(this, &TextInput::set_input_string));268 input_string.SetSetterFunction(sigc::mem_fun(this, &TextInput::set_input_string));
185 im_active.SetGetterFunction(sigc::mem_fun(this, &TextInput::get_im_active));269 im_active.SetGetterFunction(sigc::mem_fun(this, &TextInput::get_im_active));
186 im_preedit.SetGetterFunction(sigc::mem_fun(this, &TextInput::get_im_preedit));270 im_preedit.SetGetterFunction(sigc::mem_fun(this, &TextInput::get_im_preedit));
187 input_hint.changed.connect([this](std::string const& s) { OnInputHintChanged(); });271 input_hint.changed.connect([this](std::string const& s) { OnInputHintChanged(); });
188272
273<<<<<<< TREE
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) {
190 tooltip_timeout_.reset(new glib::Timeout(TOOLTIP_WAIT, [this] {275 tooltip_timeout_.reset(new glib::Timeout(TOOLTIP_WAIT, [this] {
191 tooltip_timeout_.reset();276 tooltip_timeout_.reset();
@@ -232,6 +317,23 @@
232{317{
233 GdkKeymap* keymap = gdk_keymap_get_default();318 GdkKeymap* keymap = gdk_keymap_get_default();
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;
320=======
321 warning_->mouse_enter.connect([this] (int x, int y, int button, int key_flags) {
322 mouse_over_warning_icon_ = true;
323 QueueDraw();
324 });
325
326 warning_->mouse_leave.connect([this] (int x, int y, int button, int key_flags) {
327 mouse_over_warning_icon_ = false;
328 QueueDraw();
329 });
330}
331
332void TextInput::CheckIfCapsLockOn()
333{
334 GdkKeymap* keymap = gdk_keymap_get_default();
335 caps_lock_on = gdk_keymap_get_caps_lock_state(keymap) == FALSE ? false : true;
336>>>>>>> MERGE-SOURCE
235}337}
236338
237void TextInput::SetSpinnerVisible(bool visible)339void TextInput::SetSpinnerVisible(bool visible)
@@ -250,6 +352,7 @@
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());
251}353}
252354
355<<<<<<< TREE
253nux::ObjectPtr<nux::BaseTexture> TextInput::LoadActivatorIcon(int icon_size)356nux::ObjectPtr<nux::BaseTexture> TextInput::LoadActivatorIcon(int icon_size)
254{357{
255 TextureCache& cache = TextureCache::GetDefault();358 TextureCache& cache = TextureCache::GetDefault();
@@ -327,6 +430,78 @@
327}430}
328431
329void TextInput::OnFontChanged()432void TextInput::OnFontChanged()
433=======
434nux::ObjectPtr<nux::BaseTexture> TextInput::LoadWarningIcon(int icon_size)
435{
436 auto* theme = gtk_icon_theme_get_default();
437 GtkIconLookupFlags flags = GTK_ICON_LOOKUP_FORCE_SIZE;
438 glib::Error error;
439 glib::Object<GdkPixbuf> pixbuf(gtk_icon_theme_load_icon(theme, WARNING_ICON.c_str(), icon_size, flags, &error));
440
441 if (pixbuf != nullptr)
442 {
443 nux::CairoGraphics cg(CAIRO_FORMAT_ARGB32, gdk_pixbuf_get_width(pixbuf), gdk_pixbuf_get_height(pixbuf));
444 cairo_t* cr = cg.GetInternalContext();
445
446 cairo_push_group(cr);
447 gdk_cairo_set_source_pixbuf(cr, pixbuf, 0, 0);
448 cairo_paint_with_alpha(cr, 1.0);
449 std::shared_ptr<cairo_pattern_t> pat(cairo_pop_group(cr), cairo_pattern_destroy);
450
451 cairo_set_source_rgba(cr, 1.0f, 1.0f, 1.0f, 1.0f);
452 cairo_rectangle(cr, 0, 0, gdk_pixbuf_get_width(pixbuf), gdk_pixbuf_get_height(pixbuf));
453 cairo_mask(cr, pat.get());
454
455 return texture_ptr_from_cairo_graphics(cg);
456 }
457 // Use fallback icon (this one is a png, and does not scale!)
458 else
459 {
460 dash::previews::Style& preview_style = dash::previews::Style::Instance();
461 return nux::ObjectPtr<nux::BaseTexture>(preview_style.GetWarningIcon());
462 }
463}
464
465void TextInput::LoadWarningTooltip()
466{
467 glib::String font_name;
468 g_object_get(gtk_settings_get_default(), "gtk-font-name", &font_name, NULL);
469
470 glib::Object<GtkStyleContext> style_context(gtk_style_context_new());
471 std::shared_ptr<GtkWidgetPath> widget_path(gtk_widget_path_new(), gtk_widget_path_free);
472 gtk_widget_path_append_type(widget_path.get(), GTK_TYPE_TOOLTIP);
473
474 gtk_style_context_set_path(style_context, widget_path.get());
475 gtk_style_context_add_class(style_context, "tooltip");
476
477 glib::Object<PangoLayout> layout;
478 glib::Object<PangoContext> context(gdk_pango_context_get_for_screen(gdk_screen_get_default()));
479 layout = pango_layout_new(context);
480
481 std::shared_ptr<PangoFontDescription> desc(pango_font_description_from_string(font_name), pango_font_description_free);
482 pango_context_set_font_description(context, desc.get());
483 pango_context_set_language(context, gtk_get_default_language());
484
485 pango_layout_set_height(layout, -1); //avoid wrap lines
486 pango_layout_set_text(layout, _("Caps lock is on"), -1);
487
488 nux::Size extents;
489 pango_layout_get_pixel_size(layout, &extents.width, &extents.height);
490 extents.width += TOOLTIP_OFFSET;
491 extents.height += TOOLTIP_OFFSET;
492
493 nux::CairoGraphics cg(CAIRO_FORMAT_ARGB32, extents.width, extents.height);
494 cairo_t* cr = cg.GetInternalContext();
495
496 gtk_render_background(style_context, cr, 0, 0, extents.width, extents.height);
497 gtk_render_frame(style_context, cr, 0, 0, extents.width, extents.height);
498 gtk_render_layout(style_context, cr, TOOLTIP_OFFSET/2, TOOLTIP_OFFSET/2, layout);
499
500 warning_tooltip_ = texture_ptr_from_cairo_graphics(cg);
501}
502
503void TextInput::OnFontChanged(GtkSettings* settings, GParamSpec* pspec)
504>>>>>>> MERGE-SOURCE
330{505{
331 glib::String font_name;506 glib::String font_name;
332 PangoFontDescription* desc;507 PangoFontDescription* desc;
@@ -395,9 +570,15 @@
395570
396 layout_->ProcessDraw(GfxContext, force_draw);571 layout_->ProcessDraw(GfxContext, force_draw);
397572
573<<<<<<< TREE
398 if (caps_lock_on && warning_->IsMouseInside() && !tooltip_timeout_)574 if (caps_lock_on && warning_->IsMouseInside() && !tooltip_timeout_)
399 PaintWarningTooltip(GfxContext);575 PaintWarningTooltip(GfxContext);
400576
577=======
578 if (caps_lock_on && mouse_over_warning_icon_)
579 PaintWarningTooltip(GfxContext);
580
581>>>>>>> MERGE-SOURCE
401 if (!IsFullRedraw())582 if (!IsFullRedraw())
402 {583 {
403 gPainter.PopBackground();584 gPainter.PopBackground();
@@ -410,6 +591,7 @@
410 GfxContext.PopClippingRectangle();591 GfxContext.PopClippingRectangle();
411}592}
412593
594<<<<<<< TREE
413void TextInput::PaintWarningTooltip(nux::GraphicsEngine& graphics_engine)595void TextInput::PaintWarningTooltip(nux::GraphicsEngine& graphics_engine)
414{596{
415 nux::Geometry const& warning_geo = warning_->GetGeometry();597 nux::Geometry const& warning_geo = warning_->GetGeometry();
@@ -426,6 +608,20 @@
426 nux::GetPainter().PushDrawLayer(graphics_engine, tooltip_geo, warning_layer.get());608 nux::GetPainter().PushDrawLayer(graphics_engine, tooltip_geo, warning_layer.get());
427}609}
428610
611=======
612void TextInput::PaintWarningTooltip(nux::GraphicsEngine& graphics_engine)
613{
614 nux::Geometry warning_geo = warning_->GetGeometry();
615
616 nux::Geometry tooltip_geo = {warning_geo.x - (warning_tooltip_->GetWidth() + TOOLTIP_OFFSET / 2),
617 warning_geo.y - TOOLTIP_Y_OFFSET,
618 warning_tooltip_->GetWidth(),
619 warning_tooltip_->GetHeight()};
620
621 nux::GetPainter().PushDrawLayer(graphics_engine, tooltip_geo, CreateWarningLayer(warning_tooltip_.GetPointer()));
622}
623
624>>>>>>> MERGE-SOURCE
429void TextInput::UpdateBackground(bool force)625void TextInput::UpdateBackground(bool force)
430{626{
431 nux::Geometry geo(GetGeometry());627 nux::Geometry geo(GetGeometry());
432628
=== modified file 'unity-shared/TextInput.h'
--- unity-shared/TextInput.h 2014-08-27 22:08:58 +0000
+++ unity-shared/TextInput.h 2014-12-09 18:52:51 +0000
@@ -63,9 +63,13 @@
63 nux::Property<int> hint_font_size;63 nux::Property<int> hint_font_size;
64 nux::ROProperty<bool> im_active;64 nux::ROProperty<bool> im_active;
65 nux::ROProperty<bool> im_preedit;65 nux::ROProperty<bool> im_preedit;
66<<<<<<< TREE
66 nux::Property<bool> show_activator;67 nux::Property<bool> show_activator;
67 nux::Property<bool> show_caps_lock;68 nux::Property<bool> show_caps_lock;
68 nux::Property<double> scale;69 nux::Property<double> scale;
70=======
71 nux::Property<bool> show_caps_lock;
72>>>>>>> MERGE-SOURCE
6973
70private:74private:
71 void OnFontChanged();75 void OnFontChanged();
@@ -81,6 +85,7 @@
81 void AddProperties(debug::IntrospectionData&);85 void AddProperties(debug::IntrospectionData&);
82 bool AcceptKeyNavFocus();86 bool AcceptKeyNavFocus();
8387
88<<<<<<< TREE
84 bool ShouldBeHighlighted();89 bool ShouldBeHighlighted();
8590
86 nux::Geometry GetWaringIconGeometry() const;91 nux::Geometry GetWaringIconGeometry() const;
@@ -92,6 +97,18 @@
9297
93 void PaintWarningTooltip(nux::GraphicsEngine& graphics_engine);98 void PaintWarningTooltip(nux::GraphicsEngine& graphics_engine);
9499
100=======
101 bool ShouldBeHighlighted();
102
103 nux::Geometry GetWaringIconGeometry() const;
104 void CheckIfCapsLockOn();
105
106 nux::ObjectPtr<nux::BaseTexture> LoadWarningIcon(int icon_size);
107 void LoadWarningTooltip();
108
109 void PaintWarningTooltip(nux::GraphicsEngine& graphics_engine);
110
111>>>>>>> MERGE-SOURCE
95protected:112protected:
96 void OnInputHintChanged();113 void OnInputHintChanged();
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);
@@ -119,6 +136,10 @@
119 nux::Property<bool> caps_lock_on;136 nux::Property<bool> caps_lock_on;
120 int last_width_;137 int last_width_;
121 int last_height_;138 int last_height_;
139 bool mouse_over_warning_icon_;
140
141 IconTexture* warning_;
142 nux::ObjectPtr<nux::BaseTexture> warning_tooltip_;
122143
123 IconTexture* warning_;144 IconTexture* warning_;
124 IconTexture* activator_;145 IconTexture* activator_;
125146
=== modified file 'unity-shared/TextureCache.cpp'
--- unity-shared/TextureCache.cpp 2014-07-30 00:49:35 +0000
+++ unity-shared/TextureCache.cpp 2014-12-09 18:52:51 +0000
@@ -25,15 +25,28 @@
2525
26namespace unity26namespace unity
27{27{
28namespace28<<<<<<< TREE
29{29namespace
30// Stolen from boost30{
31template <class T>31// Stolen from boost
32inline std::size_t hash_combine(std::size_t seed, T const& v)32template <class T>
33{33inline std::size_t hash_combine(std::size_t seed, T const& v)
34 return seed ^ (std::hash<T>()(v) + 0x9e3779b9 + (seed << 6) + (seed >> 2));34{
35}35 return seed ^ (std::hash<T>()(v) + 0x9e3779b9 + (seed << 6) + (seed >> 2));
36}36}
37}
38=======
39DECLARE_LOGGER(logger, "unity.internal.texturecache");
40namespace
41{
42// Stolen from boost
43template <class T>
44inline std::size_t hash_combine(std::size_t seed, T const& v)
45{
46 return seed ^ (std::hash<T>()(v) + 0x9e3779b9 + (seed << 6) + (seed >> 2));
47}
48}
49>>>>>>> MERGE-SOURCE
3750
38TextureCache& TextureCache::GetDefault()51TextureCache& TextureCache::GetDefault()
39{52{
4053
=== modified file 'unity-shared/UScreen.cpp'
=== modified file 'unity-shared/UnitySettings.cpp'
--- unity-shared/UnitySettings.cpp 2014-09-04 16:47:13 +0000
+++ unity-shared/UnitySettings.cpp 2014-12-09 18:52:51 +0000
@@ -60,8 +60,12 @@
60const std::string GNOME_TEXT_SCALE_FACTOR = "text-scaling-factor";60const std::string GNOME_TEXT_SCALE_FACTOR = "text-scaling-factor";
6161
62const int DEFAULT_LAUNCHER_WIDTH = 64;62const int DEFAULT_LAUNCHER_WIDTH = 64;
63<<<<<<< TREE
63const int MINIMUM_DESKTOP_HEIGHT = 800;64const int MINIMUM_DESKTOP_HEIGHT = 800;
64const int GNOME_SETTINGS_CHANGED_WAIT_SECONDS = 1;65const int GNOME_SETTINGS_CHANGED_WAIT_SECONDS = 1;
66=======
67const int MINIMUM_DESKTOP_HEIGHT = 800;
68>>>>>>> MERGE-SOURCE
65const double DEFAULT_DPI = 96.0f;69const double DEFAULT_DPI = 96.0f;
66}70}
6771