Last commit made on 2016-10-06
Get this branch:
git clone -b ubuntu/yakkety-devel 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


Recent commits

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
  * 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)

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
    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.

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)

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.

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.

c2ff594... by Zoltán Balogh <email address hidden> on 2016-08-14

Import patches-unapplied version 1.3.2060+16.10.20160814 to ubuntu/yakkety-proposed

Imported using git-ubuntu import.

Changelog parent: 4552f911bff563351fe208123dda2814cdaef90b

New changelog entries:
  [ Zoltan Balogh ]
  * Fix OptionSelectorTestCase tests.
  * Fix more OptionSelector autopilot tests
  [ Timo Jyrinki ]
  * Disable documentation building for GLES builds. Fixes LP: #1606222.
  * Replace abs with qFabs due to GCC6 breakage. Fixes LP: #1610943.
  * Limit s390x dependencies more due to upstart/s390x problems and removed
    packages in archives. Fixes LP: #1610951
  [ Andrea Bernabei ]
  * ListItemLayout doc: add elide mode change example and add section about
    labels default properties values. Fixes LP: #1603450.
  * ListItemLayout doc: add explicit note about the need to bind ListItem's
    height to layout's height.
  * More Scrollbar optimizations: 20% faster creation time. Fixes LP: #1606451
  * Scrollbar: fix wrong thumb color on tap/mouse release and increase coverage
    of hover states unit tests. Fixes LP: #1608897
  [ Zsombor Egri ]
  * Fix null pointer property initializer used with 1.3 PageWrapper.
    Fixes LP: #1604780.
  * Fix BottomEdge content URL preloading. Fixes LP: #1604509.
  [Albert Astals Cid ]
  * UCUnits::resolveResource: Prefer image path if it exists. This saves
    searching the disk for @gu images, which is a big speedup. According to
    callgrind loading 100 images from a folder that contains 380 images goes
    from around 3 million instructions per UCUnits::resolveResource call down
    to around 10 thousand. This optimization is ok since it is not correct to
    ship both image.png and image@20.png. You either have to ship gu-enabled
    files or not, but mixing them is not allowed. Searched for cases in which
    that may be happening in my phone and found none. Fixes LP: #1604029.
  [ Tim Peeters ]
  * Configure colors of the buttons in the ActionBar and PageHeader through
    their Styles. Fixes LP: #1597774.
  * Fix assigning of constant values to a grouped property in StyleHints.
    Fixes LP: #1602836.
  * Fix list view keyboard navigation for RightToLeft and BottomToTop
    directions. Fixes LP: #1605634
  * Use external QML files instead of embedded QML strings for autopilot tests.
    Fixes LP: #1578319
  * Fix failing autopilot header tests.
  * Fix ActionSelectionPopover Autopilot CPO tests.
  [Christian Dywan ]
  * Include indexes in "offline" docs and filter out link errors.
    Fixes LP: #1603937.
  * Increase focus ring thickness from 1dp to 2dp. Fixes LP: #1602690.
  * Add a snippet about tests to the toplevel README
  * Enter/Return to trigger, Space to expand ComboButton. Fixes LP: #1523817.
  * Initialize engine variable before using it in the _engine case.
  * Use Qt.rgba instead of #0000 checking ListItem default color.
    Fixes LP: #1560004
  * Don't use a different .desktop file in the gallery tests.
    Fixes LP: #1578319
  * Update scaling docs, set QT_SCALE_FACTOR and unset GRID_UNIT_PX.
    Fixes LP: #1610208
  [ Florian Boucault ]
  * Sections: load Icons asynchronously.

4552f91... by Timo Jyrinki on 2016-08-08

Import patches-unapplied version 1.3.2030+16.10.20160726.15 to ubuntu/yakkety-proposed

Imported using git-ubuntu import.

Changelog parent: 6d1db6b2e7d63c80c2153368f64cbd8a176f05c1

New changelog entries:
  * More s390x dependencies workarounding until upstart is really fixed.
  * Replace abs with qFabs due to GCC6 breakage (LP: #1610943)

6d1db6b... by Zoltán Balogh <email address hidden> on 2016-07-26

Import patches-unapplied version 1.3.2030+16.10.20160726.2 to ubuntu/yakkety-proposed

Imported using git-ubuntu import.

Changelog parent: a1cff03b9b51a6e5bfc59605d01ff2310ec7d4b5

New changelog entries:
  [ William Hua ]
  * Make qml-module-ubuntu-components-gles depend on
  [ Christian Dywan ]
  * Set default for TextArea.persistentSelection and correct type.
    Fixes LP: #1594400
  * Add version suffix to all unit tests in visual.
  * Stop using macros for namespaces in headers. Fixes LP: #1596536.
  * More robust list and namespace handling in apicheck. Fixes LP: #1595461
  [ Zsombor Egri ]
  * Separate plugin for Ubuntu.Components.Labs.
  * Create separate plugin for Ubuntu.Components.Styles.
  * Move C++ components into UbuntuToolkit library.
  * Remove fw-headers from UbuntuGestures and UbuntuToolkit. We are no longer
    supporting them as public C++ API.
  [ Zoltán Balogh ]
  * Break unity8 with lower version 8.13.
  [ Tim Peeters ]
  * Improve the i18n documentation for plurals. Fixes LP: #1184810
  * Don't get APL subheader colors from MainView AppHeader when there is no
    MainView. Fixes LP: #1588172
  * Add Header.automaticHeight property. Fixes LP: #1540240
  [ Loïc Molinari ]
  * UbuntuShape - Use reference counting to handle shape textures.
    The current shape textures handling system requires to search for the
    textures associated to the current graphics context by doing a search in an
    array for each item at each updatePaintNode() call. It also deletes the
    textures on OpenGLContext::aboutToBeDestroyed() signal emission, which
    appears in some cases to not have any OpenGL context bound.
    We propose an alternative to create and destroy shape textures per material
    creation and destruction with a reference counting mechanism to minimise
    costly calls. We search for the shape textures (hash lookup with an OpenGL
    context pointer as the key) only when a texture material is created or
    deleted, which is much more occasional compared to updatePaintNode() calls.
    That also ensures textures are deleted with the proper OpenGL context bound.
    The only drawback is that shape textures are deleted when there is no shape
    items anymore in a scene and recreated when there is a new one appearing.
    These operations being quite uncommon and relatively fast, the advantages
    seem to be higher than the drawbacks.
  * Expansion of LD_LIBRARY_PATH is broken since it doesn't include a ":", which
    means PerformanceMetrics path, which is at the end, is actually not
    available, nor the current content of LD_LIBRARY_PATH.
    That fixes it using the proper shell expansion syntax.
  [ Timo Jyrinki ]
  * Fix packaging sorting bzr hook to work on bzr branches that are local only.
  * Disable documentation building for GLES builds
  [ Florian Boucault ]
  * ProgressionVisual: do not load the icon until the progression is made
  * Scrollbar: do not load the stepper icon until it is visible.
  * Scrollbar: load stepper icon asynchronously.
  * Icon: only load when completed and therefore avoids multiple reloads caused
    by size changes.

a1cff03... by Timo Jyrinki on 2016-07-20

Import patches-unapplied version 1.3.2009+16.10.20160615.3build1~1 to ubuntu/yakkety-proposed

Imported using git-ubuntu import.

Changelog parent: 6e3dbfd1ad7517d51eff5e79250b5736f6be3d09

New changelog entries:
  * Rebuild against Qt 5.6.

6e3dbfd... by Zoltán Balogh <email address hidden> on 2016-06-15

Import patches-unapplied version 1.3.2009+16.10.20160615.3 to ubuntu/yakkety-proposed

Imported using git-ubuntu import.

Changelog parent: 361817e66737741ba6c0aab2c8ae81a4e4016467

New changelog entries:
  [ Tim Peeters ]
  * Introduce Styles.SectionsStyle. Fixes LP: #1585548
  * Update header contents only after its style was initialized.
    Fixes LP: #1588837
  * Update export_qml_dir.qml to work inside a lxd container.
  * Draw a red outline around the subheader in AdaptivePageLayout to warn that
    the old header is deprecated. Fixes LP: #1583636

  [ Christian Dywan ]
  * Select the current item before adding the test page.
  * Introduce gallery for browsing visual tests.
  * Put Scrollbar in ShaderEffectSource to blend with frame. Fixes LP: #1583543
  * Correctly use build/src dir with unit tests. Fixes LP: #1589982
  [ Florian Boucault ]
  * Do not initialize haptics at startup but only when used for the first time.
  * PageHeadButton: do not load the icon until the button is made visible.

  [ Albert Astals Cid ]
  * Prepend UC_ to performance env vars.
    warning count threshold.
  * Add envvars to change the performance monitor variables.