Merge lp:~zsombi/ubuntu-ui-toolkit/01-multiple-theme-engines into lp:ubuntu-ui-toolkit/staging
| Status: | Merged | ||||
|---|---|---|---|---|---|
| Approved by: | Tim Peeters on 2015-04-02 | ||||
| Approved revision: | 1448 | ||||
| Merged at revision: | 1461 | ||||
| Proposed branch: | lp:~zsombi/ubuntu-ui-toolkit/01-multiple-theme-engines | ||||
| Merge into: | lp:ubuntu-ui-toolkit/staging | ||||
| Diff against target: |
1386 lines (+616/-234) 23 files modified
modules/Ubuntu/Components/plugin/plugin.cpp (+3/-3) modules/Ubuntu/Components/plugin/plugin.pro (+6/-4) modules/Ubuntu/Components/plugin/ucdefaulttheme.cpp (+7/-7) modules/Ubuntu/Components/plugin/ucdefaulttheme.h (+6/-6) modules/Ubuntu/Components/plugin/ucdeprecatedtheme.cpp (+124/-0) modules/Ubuntu/Components/plugin/ucdeprecatedtheme.h (+53/-0) modules/Ubuntu/Components/plugin/uclistitem.cpp (+7/-4) modules/Ubuntu/Components/plugin/uctheme.cpp (+57/-46) modules/Ubuntu/Components/plugin/uctheme.h (+17/-10) tests/resources/subtheming/Simple.qml (+45/-0) tests/unit/tst_performance/StyledItemOldTheming.qml (+72/-0) tests/unit/tst_performance/tst_performance.cpp (+4/-0) tests/unit/tst_performance/tst_performance.pro (+2/-1) tests/unit_x11/tst_components/tst_app_theming.qml (+54/-0) tests/unit_x11/tst_components/tst_components.pro (+2/-2) tests/unit_x11/tst_deprecated_theme_engine/Parent.qml (+14/-4) tests/unit_x11/tst_deprecated_theme_engine/SimpleItem.qml (+20/-0) tests/unit_x11/tst_deprecated_theme_engine/themes/CustomTheme/TestStyle.qml (+0/-1) tests/unit_x11/tst_deprecated_theme_engine/themes/TestModule/TestTheme/TestStyle.qml (+0/-1) tests/unit_x11/tst_deprecated_theme_engine/tst_deprecated_theme_engine.cpp (+113/-113) tests/unit_x11/tst_deprecated_theme_engine/tst_deprecated_theme_engine.pro (+9/-2) tests/unit_x11/tst_theme_engine/TestApp.qml (+0/-29) tests/unit_x11/unit_x11.pro (+1/-1) |
||||
| To merge this branch: | bzr merge lp:~zsombi/ubuntu-ui-toolkit/01-multiple-theme-engines | ||||
| Related bugs: |
|
||||
| Related blueprints: |
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| PS Jenkins bot | continuous-integration | Needs Fixing on 2015-04-02 | |
| Tim Peeters | 2015-03-05 | Approve on 2015-04-02 | |
|
Review via email:
|
|||
Commit Message
Separating Theme context property from theme engine, giving the possibility to use the theming engine by multiple instances. Preparations for deprecation. Theming unit tests fixed.
- 1441. By Zsombor Egri on 2015-03-11
-
staging sync
| PS Jenkins bot (ps-jenkins) wrote : | # |
FAILED: Continuous integration, rev:1441
http://
Executed test runs:
UNSTABLE: http://
SUCCESS: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
UNSTABLE: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
Click here to trigger a rebuild:
http://
- 1442. By Zsombor Egri on 2015-03-13
-
staging sync
- 1443. By Zsombor Egri on 2015-03-13
-
Rename ThemeSettings to DefaultTheme
| PS Jenkins bot (ps-jenkins) wrote : | # |
FAILED: Continuous integration, rev:1443
http://
Executed test runs:
UNSTABLE: http://
UNSTABLE: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
UNSTABLE: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
Click here to trigger a rebuild:
http://
| PS Jenkins bot (ps-jenkins) wrote : | # |
FAILED: Continuous integration, rev:1444
http://
Executed test runs:
UNSTABLE: http://
SUCCESS: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
UNSTABLE: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
Click here to trigger a rebuild:
http://
| Tim Peeters (tpeeters) wrote : | # |
Update the copyright year in the files that you changed. At least plugin.cpp, ucdefaulttheme.cpp, ucdefaulttheme.h. Maybe more.
| Tim Peeters (tpeeters) wrote : | # |
The new Simple.qml also has (C) 2014.
| Tim Peeters (tpeeters) wrote : | # |
tests/resources
What is the goal of resources/
| Tim Peeters (tpeeters) wrote : | # |
795 === renamed directory 'tests/
why?
| Tim Peeters (tpeeters) wrote : | # |
836 + function test_0() {
Can you give this test a more useful name?
841 + function test_ambiance()
842 + {
843 + Theme.name = "Ubuntu.
844 + }
845 +
846 + function test_reset()
847 + {
848 + Theme.name = undefined;
849 + }
These tests are setting values, but not checking anything with the new values.
| Tim Peeters (tpeeters) wrote : | # |
991 === modified file 'tests/
Should this be renamed to tst_deprecated_
| Zsombor Egri (zsombi) wrote : | # |
> tests/resources
>
>
> What is the goal of resources/
> there as if it was used in some unit/AP test, but I don't see where you use
> it.
I use this app to test the theming across this chain of MRs.
| Zsombor Egri (zsombi) wrote : | # |
> 795 === renamed directory 'tests/
> 'tests/
>
> why?
The C++ tests have the plugin linked statically with them. This makes the UCDeprecatedThe
| Zsombor Egri (zsombi) wrote : | # |
> 836 + function test_0() {
>
> Can you give this test a more useful name?
>
>
> 841 + function test_ambiance()
> 842 + {
> 843 + Theme.name = "Ubuntu.
> 844 + }
> 845 +
> 846 + function test_reset()
> 847 + {
> 848 + Theme.name = undefined;
> 849 + }
>
> These tests are setting values, but not checking anything with the new values.
Because those values will be set even though you'll get loads of binding loops on MainView. The test is actually to not to have any warnings when they're set. And there is no way to say no warnings, that's why we have that on the runtest.sh level.
| Zsombor Egri (zsombi) wrote : | # |
> 991 === modified file
> 'tests/
>
> Should this be renamed to tst_deprecated_
> the new themning go in there as well?
The new theming tests will go to a separate test module, and these will keep doing the old tests. Not sure whether it is worth renaming it, but I will.
- 1444. By Zsombor Egri on 2015-03-23
-
review comments applied
- 1445. By Zsombor Egri on 2015-03-23
-
staging sync
- 1446. By Zsombor Egri on 2015-03-23
-
funny branch divergence fix
| PS Jenkins bot (ps-jenkins) wrote : | # |
FAILED: Continuous integration, rev:1446
http://
Executed test runs:
UNSTABLE: http://
SUCCESS: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
UNSTABLE: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
Click here to trigger a rebuild:
http://
- 1447. By Zsombor Egri on 2015-04-01
-
staging merge
| PS Jenkins bot (ps-jenkins) wrote : | # |
FAILED: Continuous integration, rev:1447
http://
Executed test runs:
UNSTABLE: http://
SUCCESS: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
UNSTABLE: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
Click here to trigger a rebuild:
http://
- 1448. By Zsombor Egri on 2015-04-02
-
CI kick
| PS Jenkins bot (ps-jenkins) wrote : | # |
FAILED: Continuous integration, rev:1448
http://
Executed test runs:
UNSTABLE: http://
SUCCESS: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
UNSTABLE: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
Click here to trigger a rebuild:
http://

FAILED: Continuous integration, rev:1440 jenkins. qa.ubuntu. com/job/ ubuntu- sdk-team- ubuntu- ui-toolkit- staging- ci/1539/ jenkins. qa.ubuntu. com/job/ generic- deb-autopilot- vivid-touch/ 1721 jenkins. qa.ubuntu. com/job/ ubuntu- sdk-team- ubuntu- ui-toolkit- staging- vivid-amd64- ci/266 jenkins. qa.ubuntu. com/job/ ubuntu- sdk-team- ubuntu- ui-toolkit- staging- vivid-armhf- ci/269 jenkins. qa.ubuntu. com/job/ ubuntu- sdk-team- ubuntu- ui-toolkit- staging- vivid-armhf- ci/269/ artifact/ work/output/ *zip*/output. zip jenkins. qa.ubuntu. com/job/ ubuntu- sdk-team- ubuntu- ui-toolkit- staging- vivid-i386- ci/266 jenkins. qa.ubuntu. com/job/ generic- deb-autopilot- runner- vivid-mako/ 1526 jenkins. qa.ubuntu. com/job/ generic- mediumtests- builder- vivid-armhf/ 1719 jenkins. qa.ubuntu. com/job/ generic- mediumtests- builder- vivid-armhf/ 1719/artifact/ work/output/ *zip*/output. zip s-jenkins. ubuntu- ci:8080/ job/touch- flash-device/ 18745
http://
Executed test runs:
UNSTABLE: http://
SUCCESS: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
UNSTABLE: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
Click here to trigger a rebuild: s-jenkins. ubuntu- ci:8080/ job/ubuntu- sdk-team- ubuntu- ui-toolkit- staging- ci/1539/ rebuild
http://