Merge lp:~ken-vandine/content-hub/abi-fix into lp:content-hub

Proposed by Ken VanDine
Status: Merged
Approved by: Michael Sheldon
Approved revision: 99
Merged at revision: 99
Proposed branch: lp:~ken-vandine/content-hub/abi-fix
Merge into: lp:content-hub
Diff against target: 19 lines (+1/-1)
1 file modified
include/com/ubuntu/content/transfer.h (+1/-1)
To merge this branch: bzr merge lp:~ken-vandine/content-hub/abi-fix
Reviewer Review Type Date Requested Status
Brendan Donegan (community) Needs Information
Michael Sheldon (community) Approve
PS Jenkins bot continuous-integration Approve
Review via email: mp+220390@code.launchpad.net

Commit message

reorder virtual functions added with download support, to fix abi compatibility.

Description of the change

reorder virtual functions added with download support, to fix abi compatibility.

To post a comment you must log in.
Revision history for this message
Ken VanDine (ken-vandine) wrote :

Are there any related MPs required for this MP to build/function as expected? Please list.

 * No

Is your branch in sync with latest trunk (e.g. bzr pull lp:trunk -> no changes)

 * Yes

Did you perform an exploratory manual test run of your code change and any related functionality on device or emulator?

 * Yes

Did you successfully run all tests found in your component's Test Plan (https://wiki.ubuntu.com/Process/Merges/TestPlan/content-hub) on device or emulator?

 * Yes

If you changed the UI, was the change specified/approved by design?

 * No change

If you changed the packaging (debian), did you subscribe a core-dev to this MP?

 * No change

Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Approve (continuous-integration)
Revision history for this message
Michael Sheldon (michael-sheldon) wrote :

Did you perform an exploratory manual test run of the code change and any related functionality on device or emulator?

 * Yes

Did CI run pass? If not, please explain why.

 * Yes

Have you checked that submitter has accurately filled out the submitter checklist and has taken no shortcut?

 * Yes

review: Approve
Revision history for this message
Brendan Donegan (brendan-donegan) wrote :

@Ken - can a test be added to cover this case? Wouldn't ABI breakage something that can be statically checked?

review: Needs Information
Revision history for this message
Ken VanDine (ken-vandine) wrote :

I don't think this is something we can reliably test from the content-hub package, but we need a way to validate the platform as a whole. I think there is work underway for that, which can check for ABI breakages across the supported platform.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'include/com/ubuntu/content/transfer.h'
2--- include/com/ubuntu/content/transfer.h 2014-04-03 12:00:41 +0000
3+++ include/com/ubuntu/content/transfer.h 2014-05-21 08:31:42 +0000
4@@ -101,7 +101,6 @@
5 Q_INVOKABLE virtual bool start();
6 Q_INVOKABLE virtual bool abort();
7 Q_INVOKABLE virtual bool finalize();
8- Q_INVOKABLE virtual bool download();
9 Q_INVOKABLE virtual bool charge(const QVector<Item>& items);
10 Q_INVOKABLE virtual QVector<Item> collect();
11 Q_INVOKABLE virtual Store store() const;
12@@ -109,6 +108,7 @@
13 Q_INVOKABLE virtual bool setSelectionType(const SelectionType&);
14 Q_INVOKABLE virtual QString downloadId() const;
15 Q_INVOKABLE virtual bool setDownloadId(const QString);
16+ Q_INVOKABLE virtual bool download();
17
18 Q_SIGNAL void stateChanged();
19 Q_SIGNAL void storeChanged();

Subscribers

People subscribed via source and target branches