ubuntu/+source/ubuntu-ui-toolkit:applied/ubuntu/yakkety-proposed

Last commit made on 2016-10-06
Get this branch:
git clone -b applied/ubuntu/yakkety-proposed https://git.launchpad.net/ubuntu/+source/ubuntu-ui-toolkit
Members of Ubuntu Server Dev import team can upload to this branch. Log in for directions.

Branch merges

Branch information

Name:
applied/ubuntu/yakkety-proposed
Repository:
lp:ubuntu/+source/ubuntu-ui-toolkit

Recent commits

5b14b6d... by Zoltán Balogh <email address hidden> on 2016-10-03

Import patches-applied version 1.3.2135+16.10.20161003.1 to applied/ubuntu/yakkety-proposed

Imported using git-ubuntu import.

Changelog parent: 68d0cf8b75ea3fbf376d2c826aa0016fca2b8b13
Unapplied parent: 6ccb5b636b315556a50b5a99bcbb847768e193b3

New changelog entries:
  [ Christian Dywan ]
  * Fix warning about using implicit char* to QString conversion.
  * __styleInstance may be null, when doesn't handle that. Fixes LP: #1586013
  * Focus ring, arrow keys and space to expand OptionSelector.
    Fixes LP: #1514860
  * Use QStringLiteral with QString.replace. Fixes LP: #1625507
  * Use displayText to determine if the clear button should show.
    Fixes LP: #1461571
  * && escapes an ampersand used in a mnemonic label. Fixes LP: #1587580
  * Try harder to pass an item to QuickUtils.rootItem. Fixes LP: #1586013

  [ Timo Jyrinki ]
  * Enable arm64 unit tests on xenial and newer. Fixes LP: #1580172.
  * Add initial snapcraft.yaml

  [ Marco Trevisan ]
  * UCSlotsLayout: update the size of the element when top/bottom paddings change.
    Fixes LP: #1628161

  [ Tim Peeters ]
  * Ensure that the model in TabBarStyle is a list and not null.
    Fixes LP: #1622577.
  * Initialize the 'window' context property with null and add MainView 1.3 unit
    tests. Fixes LP: #1610231, LP: #1621509, LP: #1625993.
  * Fix libpng sRGB profile warnings on Yakkety. Fixes LP: #1625137.
  * Disable layouts unit test to work around bug 1625137 on Yakkety.

  [ Zsombor Egri ]
  * Fix AdaptivePageLayout behavior on Qt5.6. Fixes LP: #1585996.
  * Fix property binding restore on theme palette values. Fixes LP: #1570478.
  * Move activeFocusOnTab from style into components. Fixes LP: #1590005.
  [ Loïc Molinari ]
  * Added public headers extra robustness checks. Made use of the qmake
    headersclean feature to check the robustness of our public headers.
  * Excluded LTTng features from non-Linux builds.
  * Moved common C++ configs to ubuntu_common.prf. The common config file
    doesn't add -Werror directly to QMAKE_CXXFLAGS anymore, it sets the
    warnings_are_errors variable so that it is correctly handled by different
    compilers (not just GCC). That allows to remove the
    -Werror=deprecated-declarations flag since warnings_are_errors defines it
    for us. Removed the DEFINES += QT_USE_QSTRINGBUILDER lines since it's
    already handled by qt_module.prf. Set the -Wsuggest-override warning to
    QMAKE_CXXFLAGS_WARN_ON instead of QMAKE_CXXFLAGS directly.
  * Cleaned up qmake Ubuntu packaging variables. The qtbase packaging for Ubuntu
    exports the CFLAGS, CXXFLAGS and LFLAGS variables in the environment before
    running configure so that the qtbase shared libraries can be compiled with
    the required distribution defined compiler flags. That is fine (though I
    guess that could be handled better at the qtbase packaging level with maybe
    a dedicated prf) but it results in qt_build_config.prf defining the
    QMAKE_CFLAGS, QMAKE_CXXFLAGS and QMAKE_LFLAGS variables with these
    distribution specific flags. Since we load this prf, these variables end up
    being defined when building the toolkit for development purpose. This is
    problematic because -O2 and -g are always defined (whatever the debug or
    release config chosen by the developer), also these are GCC specific flags
    which makes our build break with other compilers. This is also ugly because
    preprocessor defines are directly set in the QMAKE_C*FLAGS. In order to
    workaround these issues, we unset these variables and set the different
    flags apart from -g and -O2 in the right qmake variables. This allows to
    keep compiling with the Debian flags but in a more flexible way. For the
    Debian packaging, we keep the former behaviour by simply passing the
    debian_build config.
  * Optimised QString code gen for ASCII strings known at compile-time. That
    allows the compiler to optimise our code better by putting all these
    QStrings known at compile time in the .rodata section of the binary as well
    as preventing a bunch of useless processing on them. That also allows us to
    remove "DEFINES -= QT_ASCII_CAST_WARNINGS" from the UbuntuToolkit pro file.

  [ Zoltán Balogh ]
  * Explicit include of cstdio.

  [ Andrea Bernabei ]
  * Qt5.6: Fix expandablescolumn.11 and expandables.11 unit tests
  * Qt5.6 fixes QTBUG-41686 and requires x/y to be explicitly passed.
    Fixes LP: #1610230.
  * Qt5.6: fix Scrollbar unit tests
  * Qt5.6: fix ubuntulistview.10 unit test
  * Enable arm64 unit tests on xenial and newer. (LP: #1580172)

6ccb5b6... by Zoltán Balogh <email address hidden> on 2016-10-03

Import patches-unapplied version 1.3.2135+16.10.20161003.1 to ubuntu/yakkety-proposed

Imported using git-ubuntu import.

Changelog parent: 7fce5c055981a8a1ec610257300b80a69b817fa2

New changelog entries:
  [ Christian Dywan ]
  * Fix warning about using implicit char* to QString conversion.
  * __styleInstance may be null, when doesn't handle that. Fixes LP: #1586013
  * Focus ring, arrow keys and space to expand OptionSelector.
    Fixes LP: #1514860
  * Use QStringLiteral with QString.replace. Fixes LP: #1625507
  * Use displayText to determine if the clear button should show.
    Fixes LP: #1461571
  * && escapes an ampersand used in a mnemonic label. Fixes LP: #1587580
  * Try harder to pass an item to QuickUtils.rootItem. Fixes LP: #1586013

  [ Timo Jyrinki ]
  * Enable arm64 unit tests on xenial and newer. Fixes LP: #1580172.
  * Add initial snapcraft.yaml

  [ Marco Trevisan ]
  * UCSlotsLayout: update the size of the element when top/bottom paddings change.
    Fixes LP: #1628161

  [ Tim Peeters ]
  * Ensure that the model in TabBarStyle is a list and not null.
    Fixes LP: #1622577.
  * Initialize the 'window' context property with null and add MainView 1.3 unit
    tests. Fixes LP: #1610231, LP: #1621509, LP: #1625993.
  * Fix libpng sRGB profile warnings on Yakkety. Fixes LP: #1625137.
  * Disable layouts unit test to work around bug 1625137 on Yakkety.

  [ Zsombor Egri ]
  * Fix AdaptivePageLayout behavior on Qt5.6. Fixes LP: #1585996.
  * Fix property binding restore on theme palette values. Fixes LP: #1570478.
  * Move activeFocusOnTab from style into components. Fixes LP: #1590005.
  [ Loïc Molinari ]
  * Added public headers extra robustness checks. Made use of the qmake
    headersclean feature to check the robustness of our public headers.
  * Excluded LTTng features from non-Linux builds.
  * Moved common C++ configs to ubuntu_common.prf. The common config file
    doesn't add -Werror directly to QMAKE_CXXFLAGS anymore, it sets the
    warnings_are_errors variable so that it is correctly handled by different
    compilers (not just GCC). That allows to remove the
    -Werror=deprecated-declarations flag since warnings_are_errors defines it
    for us. Removed the DEFINES += QT_USE_QSTRINGBUILDER lines since it's
    already handled by qt_module.prf. Set the -Wsuggest-override warning to
    QMAKE_CXXFLAGS_WARN_ON instead of QMAKE_CXXFLAGS directly.
  * Cleaned up qmake Ubuntu packaging variables. The qtbase packaging for Ubuntu
    exports the CFLAGS, CXXFLAGS and LFLAGS variables in the environment before
    running configure so that the qtbase shared libraries can be compiled with
    the required distribution defined compiler flags. That is fine (though I
    guess that could be handled better at the qtbase packaging level with maybe
    a dedicated prf) but it results in qt_build_config.prf defining the
    QMAKE_CFLAGS, QMAKE_CXXFLAGS and QMAKE_LFLAGS variables with these
    distribution specific flags. Since we load this prf, these variables end up
    being defined when building the toolkit for development purpose. This is
    problematic because -O2 and -g are always defined (whatever the debug or
    release config chosen by the developer), also these are GCC specific flags
    which makes our build break with other compilers. This is also ugly because
    preprocessor defines are directly set in the QMAKE_C*FLAGS. In order to
    workaround these issues, we unset these variables and set the different
    flags apart from -g and -O2 in the right qmake variables. This allows to
    keep compiling with the Debian flags but in a more flexible way. For the
    Debian packaging, we keep the former behaviour by simply passing the
    debian_build config.
  * Optimised QString code gen for ASCII strings known at compile-time. That
    allows the compiler to optimise our code better by putting all these
    QStrings known at compile time in the .rodata section of the binary as well
    as preventing a bunch of useless processing on them. That also allows us to
    remove "DEFINES -= QT_ASCII_CAST_WARNINGS" from the UbuntuToolkit pro file.

  [ Zoltán Balogh ]
  * Explicit include of cstdio.

  [ Andrea Bernabei ]
  * Qt5.6: Fix expandablescolumn.11 and expandables.11 unit tests
  * Qt5.6 fixes QTBUG-41686 and requires x/y to be explicitly passed.
    Fixes LP: #1610230.
  * Qt5.6: fix Scrollbar unit tests
  * Qt5.6: fix ubuntulistview.10 unit test
  * Enable arm64 unit tests on xenial and newer. (LP: #1580172)

68d0cf8... by Zoltán Balogh <email address hidden> on 2016-09-19

Import patches-applied version 1.3.2104+16.10.20160919.3 to applied/ubuntu/yakkety-proposed

Imported using git-ubuntu import.

Changelog parent: ebb282eff6d15b111240433f0d8d4a8eee8391a4
Unapplied parent: 7fce5c055981a8a1ec610257300b80a69b817fa2

New changelog entries:
  [ Andrea Bernabei ]
  * Scrollbar: more hover related bugfixes and unit tests.
    Fixes: LP: #1616868, LP: #1616926

  [ Christian Dywan ]
  * QuickUtils.rootObject() needs to handle QQuickWindow. Fixes: LP: #1617745
  * Correctly test and fix trigger override of ComboButton. Fixes: LP: #1614045

  [ Zoltan Balogh ]
  Increase the top marging when scrolling upwards. Fixes LP: 1618581

  [ Timo Jyrinki ]
  * Temporarily skip unit tests on xenial while not all MPs to fix Qt 5.6 issues
    have landed yet.

  [ Michael Terry ]
  * Make ActivityIndicator spinner blue instead of orange. Fixes: LP: #1577828.

  [ Loïc Molinari ]
  * Changed src/ directory layout. Made the source directory layout consistent
    with Qt libs. The C++ libraries have been moved to src/ and the QML modules
    to src/imports/. That also makes it easier to differentiate between modules
    and libraries since we have a bunch of them now.
  * Moved internal tools meant to generate code for the toolkit lib from the QML
    module directory to the lib directory where it makes more sense.
  * Fixed the build as a Qt submodule.
  * Fixed, cleaned up and standardised header inclusions. Apart from the clean
    up and the readability improvements, this fixes a bunch of broken private
    header inclusions (#include "foo_p.h" in private headers instead of
    "private/foo_p.h" or better ), now all the private headers of the UITK can
    be included by the users withour compilation issues. It also removes a bunch
    of direct includes from sources and a few INCLUDEPATHs hacks.See the CODING
    file for more details.
  * Cleaned up ubuntu_qt_module.prf and the libs using it.
    1/ Moved the common config options from the pro files to the prf file to
       avoid duplications and simplify the files.
    2/ Removed the useless "TEMPLATE=lib" and "load(qt_build_config)" lines from
       the pro files since it's done for us by qt_module.prf.
    3/ Use QT= instead of QT*= since it's well defined that by default its
       content is "core gui".
    4/ Prefixed headers and sources by $$PWD/ and sorted the lines
       alphabetically.
    5/ Merged the SOURCES declarations in UbuntuToolkit.pro.
    6/ Removed the useless "DEFINES += QT_USE_QSTRINGBUILDER" line from
       UbuntuToolkit.pro since it's done for us by qt_module.prf.
    7/ Removed the useless "QMAKE_CXXFLAGS -= -Werror=deprecated-declarations"
       and "DEFINES -= QT_DEPRECATED_WARNINGS" lines from UbuntuToolkit.pro
       since it's already done in ubuntu_qt_module.prf.
    8/ Added a few comments.
  * Made use of Qt builtin to check GCC version.

  [ Tim Peeters ]
  * Improve the initialization of Action when it gets both iconName and
    iconSource from an external component when iconSource is undefined. This
    fixes the some times missing overflow button in the ActionBar with Qt 5.6.
    I also removed action: modelData from the OverflowPanel because this is
    already set automatically in ActionSelectionPopover after everything is
    initialized. That fixes a ReferenceError in OverflowPanel with Qt 5.6.
    Fixes: LP: #1616858.
  * Use the new arrow icons from the suru-icon-theme in the scrolling ActionBar.
  * Do not skip Xenial and Yakkety series for running unit tests. Individual
    unit tests that fail with Qt 5.6 have been disabled, and bugs are reported
    here: http://goo.gl/stAe43

  [ Zsombor Egri ]
  * New visuals for ProgressBar. Fixes: LP: #1587176.
  * Fix regression on ActionList API. Fixes: bugs 1623841.
  * Do not show focus frame on disabled items. Fixes: bugs 1611327.

7fce5c0... by Zoltán Balogh <email address hidden> on 2016-09-19

Import patches-unapplied version 1.3.2104+16.10.20160919.3 to ubuntu/yakkety-proposed

Imported using git-ubuntu import.

Changelog parent: 5a5b5c5ed923e0ed44730b049c72a38b1bdfa93e

New changelog entries:
  [ Andrea Bernabei ]
  * Scrollbar: more hover related bugfixes and unit tests.
    Fixes: LP: #1616868, LP: #1616926

  [ Christian Dywan ]
  * QuickUtils.rootObject() needs to handle QQuickWindow. Fixes: LP: #1617745
  * Correctly test and fix trigger override of ComboButton. Fixes: LP: #1614045

  [ Zoltan Balogh ]
  Increase the top marging when scrolling upwards. Fixes LP: 1618581

  [ Timo Jyrinki ]
  * Temporarily skip unit tests on xenial while not all MPs to fix Qt 5.6 issues
    have landed yet.

  [ Michael Terry ]
  * Make ActivityIndicator spinner blue instead of orange. Fixes: LP: #1577828.

  [ Loïc Molinari ]
  * Changed src/ directory layout. Made the source directory layout consistent
    with Qt libs. The C++ libraries have been moved to src/ and the QML modules
    to src/imports/. That also makes it easier to differentiate between modules
    and libraries since we have a bunch of them now.
  * Moved internal tools meant to generate code for the toolkit lib from the QML
    module directory to the lib directory where it makes more sense.
  * Fixed the build as a Qt submodule.
  * Fixed, cleaned up and standardised header inclusions. Apart from the clean
    up and the readability improvements, this fixes a bunch of broken private
    header inclusions (#include "foo_p.h" in private headers instead of
    "private/foo_p.h" or better ), now all the private headers of the UITK can
    be included by the users withour compilation issues. It also removes a bunch
    of direct includes from sources and a few INCLUDEPATHs hacks.See the CODING
    file for more details.
  * Cleaned up ubuntu_qt_module.prf and the libs using it.
    1/ Moved the common config options from the pro files to the prf file to
       avoid duplications and simplify the files.
    2/ Removed the useless "TEMPLATE=lib" and "load(qt_build_config)" lines from
       the pro files since it's done for us by qt_module.prf.
    3/ Use QT= instead of QT*= since it's well defined that by default its
       content is "core gui".
    4/ Prefixed headers and sources by $$PWD/ and sorted the lines
       alphabetically.
    5/ Merged the SOURCES declarations in UbuntuToolkit.pro.
    6/ Removed the useless "DEFINES += QT_USE_QSTRINGBUILDER" line from
       UbuntuToolkit.pro since it's done for us by qt_module.prf.
    7/ Removed the useless "QMAKE_CXXFLAGS -= -Werror=deprecated-declarations"
       and "DEFINES -= QT_DEPRECATED_WARNINGS" lines from UbuntuToolkit.pro
       since it's already done in ubuntu_qt_module.prf.
    8/ Added a few comments.
  * Made use of Qt builtin to check GCC version.

  [ Tim Peeters ]
  * Improve the initialization of Action when it gets both iconName and
    iconSource from an external component when iconSource is undefined. This
    fixes the some times missing overflow button in the ActionBar with Qt 5.6.
    I also removed action: modelData from the OverflowPanel because this is
    already set automatically in ActionSelectionPopover after everything is
    initialized. That fixes a ReferenceError in OverflowPanel with Qt 5.6.
    Fixes: LP: #1616858.
  * Use the new arrow icons from the suru-icon-theme in the scrolling ActionBar.
  * Do not skip Xenial and Yakkety series for running unit tests. Individual
    unit tests that fail with Qt 5.6 have been disabled, and bugs are reported
    here: http://goo.gl/stAe43

  [ Zsombor Egri ]
  * New visuals for ProgressBar. Fixes: LP: #1587176.
  * Fix regression on ActionList API. Fixes: bugs 1623841.
  * Do not show focus frame on disabled items. Fixes: bugs 1611327.

ebb282e... by Zoltán Balogh <email address hidden> on 2016-09-15

Import patches-applied version 1.3.2085+16.10.20160915 to applied/ubuntu/yakkety-proposed

Imported using git-ubuntu import.

Changelog parent: 65976d5f9daa58766a60ea23fbd841ecd64d414d
Unapplied parent: 5a5b5c5ed923e0ed44730b049c72a38b1bdfa93e

New changelog entries:
  [ Zsombor Egri ]
  * Fix ActionList API break. (LP: #1623841)

5a5b5c5... by Zoltán Balogh <email address hidden> on 2016-09-15

Import patches-unapplied version 1.3.2085+16.10.20160915 to ubuntu/yakkety-proposed

Imported using git-ubuntu import.

Changelog parent: e3a52ab51755f88e7b3fe04af319e414d53ab73b

New changelog entries:
  [ Zsombor Egri ]
  * Fix ActionList API break. (LP: #1623841)

65976d5... by Zoltán Balogh <email address hidden> on 2016-08-31

Import patches-applied version 1.3.2085+16.10.20160831.4 to applied/ubuntu/yakkety-proposed

Imported using git-ubuntu import.

Changelog parent: 946453497300cadde29632a621a895b58fe874df
Unapplied parent: e3a52ab51755f88e7b3fe04af319e414d53ab73b

New changelog entries:
  [ Zoltan Balogh ]
  * Remove the *.la files from the -dev package; they have been obsolete for
    many years, cause dependency trouble.
  * Fix the sscanf and roundf incompatiblity for Yaketty builds
  [ Nick Dedekind ]
  * API for MenuBar, Menus, MenuItem & MenuSeparator.
  * Introduced Action states & ExclusiveGroup action list
  [ Tim Peeters ]
  * Add ScrollingActionBarStyle.
  [ Zsombor Egri ]
  * SplitView to Ubuntu.Components.Labs.
  * Get rid of pragma warning, use standard way to mark an argument unused; fix
    build failure related to static const used in qMin(), happening with Qt5.5.1
  [ Florian Boucault ]
  * ActivityIndicatorStyle: set default size on component instead of style.
  [ Morgan ]
  * Update Popover and ListItem code examples to use the new ListItem and
    ListItemLayout components.

e3a52ab... by Zoltán Balogh <email address hidden> on 2016-08-31

Import patches-unapplied version 1.3.2085+16.10.20160831.4 to ubuntu/yakkety-proposed

Imported using git-ubuntu import.

Changelog parent: d99b230c3f457c82f0d6eb883f520353ea5bae48

New changelog entries:
  [ Zoltan Balogh ]
  * Remove the *.la files from the -dev package; they have been obsolete for
    many years, cause dependency trouble.
  * Fix the sscanf and roundf incompatiblity for Yaketty builds
  [ Nick Dedekind ]
  * API for MenuBar, Menus, MenuItem & MenuSeparator.
  * Introduced Action states & ExclusiveGroup action list
  [ Tim Peeters ]
  * Add ScrollingActionBarStyle.
  [ Zsombor Egri ]
  * SplitView to Ubuntu.Components.Labs.
  * Get rid of pragma warning, use standard way to mark an argument unused; fix
    build failure related to static const used in qMin(), happening with Qt5.5.1
  [ Florian Boucault ]
  * ActivityIndicatorStyle: set default size on component instead of style.
  [ Morgan ]
  * Update Popover and ListItem code examples to use the new ListItem and
    ListItemLayout components.

9464534... by Zoltán Balogh <email address hidden> on 2016-08-24

Import patches-applied version 1.3.2073+16.10.20160824 to applied/ubuntu/yakkety-proposed

Imported using git-ubuntu import.

Changelog parent: dce8115cfba7fd235f9348f10aaf3933ebc891c1
Unapplied parent: d99b230c3f457c82f0d6eb883f520353ea5bae48

New changelog entries:
  [ Zsombor Egri ]
  * No need to check the setting anymore when vibrate. Fixes LP: #1433590.
  [ Albert Astals Cid ]
  * AbstractButton: Bind mouse area signals earlier. Otherwise it can happen that
    someone clicks on button and the binding is still not done, i.e. 22911213 .
    Fixes LP: #1610165.
  [ Christian Dywan ]
  * Fix build warnings.
  * Remove unused Q_Q(UCAbtractButton) declaration.
  [ Larry Price ]
  * Address documentation issue in UbuntuListView - pullToRefresh has "enabled"
    property. Fixes LP: #1387679
  [ Loïc Molinari ]
  * Added new C++ UbuntuMetrics library.
    This library allows the monitoring of various metrics in QtQuick 2
    applications. It allows the logging of different metrics as well as
    overlaying these metrics on top of each QtQuick windows.
  * Added LTTng support to UbuntuMetrics.
  * Added support for logging generic events. Made use of it to log predefined
    ApplicationMonitor events. Predefined events only define UserInterfaceReady
    for now, as it's needed to track start-up time.
  * Wrapped libUbuntuMetrics to QML.
  [ Florian Boucault ]
  * Icon, Switch and ProgressBar: enable use of texture atlas.
  * ActivityIndicator: do not load the image until the ActivityIndicator is
    made visible. Load it asynchronously.
  [ Tim Peeters ]
  * Remove unused CHANGES, CHANGES.syntax and NEWS files.

d99b230... by Zoltán Balogh <email address hidden> on 2016-08-24

Import patches-unapplied version 1.3.2073+16.10.20160824 to ubuntu/yakkety-proposed

Imported using git-ubuntu import.

Changelog parent: c2ff5946643bf4149aeea6f76f10be42e459f9d0

New changelog entries:
  [ Zsombor Egri ]
  * No need to check the setting anymore when vibrate. Fixes LP: #1433590.
  [ Albert Astals Cid ]
  * AbstractButton: Bind mouse area signals earlier. Otherwise it can happen that
    someone clicks on button and the binding is still not done, i.e. 22911213 .
    Fixes LP: #1610165.
  [ Christian Dywan ]
  * Fix build warnings.
  * Remove unused Q_Q(UCAbtractButton) declaration.
  [ Larry Price ]
  * Address documentation issue in UbuntuListView - pullToRefresh has "enabled"
    property. Fixes LP: #1387679
  [ Loïc Molinari ]
  * Added new C++ UbuntuMetrics library.
    This library allows the monitoring of various metrics in QtQuick 2
    applications. It allows the logging of different metrics as well as
    overlaying these metrics on top of each QtQuick windows.
  * Added LTTng support to UbuntuMetrics.
  * Added support for logging generic events. Made use of it to log predefined
    ApplicationMonitor events. Predefined events only define UserInterfaceReady
    for now, as it's needed to track start-up time.
  * Wrapped libUbuntuMetrics to QML.
  [ Florian Boucault ]
  * Icon, Switch and ProgressBar: enable use of texture atlas.
  * ActivityIndicator: do not load the image until the ActivityIndicator is
    made visible. Load it asynchronously.
  [ Tim Peeters ]
  * Remove unused CHANGES, CHANGES.syntax and NEWS files.