Merge lp:~zeller-benjamin/qtcreator-plugin-ubuntu/js-scopes-support into lp:qtcreator-plugin-ubuntu

Proposed by Benjamin Zeller
Status: Merged
Approved by: Zoltan Balogh
Approved revision: 442
Merged at revision: 440
Proposed branch: lp:~zeller-benjamin/qtcreator-plugin-ubuntu/js-scopes-support
Merge into: lp:qtcreator-plugin-ubuntu
Diff against target: 61 lines (+14/-4)
4 files modified
src/ubuntu/ubuntupackagingmodel.cpp (+3/-0)
src/ubuntu/ubunturemoterunconfiguration.cpp (+4/-3)
src/ubuntu/ubunturemoteruncontrolfactory.cpp (+5/-0)
src/ubuntu/ubuntuwaitfordevicedialog.cpp (+2/-1)
To merge this branch: bzr merge lp:~zeller-benjamin/qtcreator-plugin-ubuntu/js-scopes-support
Reviewer Review Type Date Requested Status
Zoltan Balogh Approve
ubuntu-sdk-build-bot continuous-integration Approve
Review via email: mp+285464@code.launchpad.net

Commit message

- Fix Bug lp:1537550 "Manifest changes are not saved before publishing
regardless of setting"
- Fix Bug lp:1534509 "Please attach your device - which one?"
- Add support for executing custom scope runners on the phone

Description of the change

- Fix Bug lp:1537550 "Manifest changes are not saved before publishing
regardless of setting"
- Fix Bug lp:1534509 "Please attach your device - which one?"
- Add support for executing custom scope runners on the phone

To post a comment you must log in.
441. By Benjamin Zeller

Add bug

442. By Benjamin Zeller

Remove debug output

Revision history for this message
ubuntu-sdk-build-bot (ubuntu-sdk-build-bot) wrote :
review: Approve (continuous-integration)
Revision history for this message
Zoltan Balogh (bzoltan) wrote :

OK

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'src/ubuntu/ubuntupackagingmodel.cpp'
--- src/ubuntu/ubuntupackagingmodel.cpp 2015-09-01 11:47:03 +0000
+++ src/ubuntu/ubuntupackagingmodel.cpp 2016-02-09 12:10:57 +0000
@@ -427,6 +427,9 @@
427 return;427 return;
428 }428 }
429429
430 if(!ProjectExplorer::ProjectExplorerPlugin::instance()->saveModifiedFiles())
431 return;
432
430 QString mimeType = project->projectManager()->mimeType();433 QString mimeType = project->projectManager()->mimeType();
431 bool isCMake = mimeType == QLatin1String(CMakeProjectManager::Constants::CMAKEPROJECTMIMETYPE);434 bool isCMake = mimeType == QLatin1String(CMakeProjectManager::Constants::CMAKEPROJECTMIMETYPE);
432 bool isHtml = mimeType == QLatin1String(Ubuntu::Constants::UBUNTUPROJECT_MIMETYPE);435 bool isHtml = mimeType == QLatin1String(Ubuntu::Constants::UBUNTUPROJECT_MIMETYPE);
433436
=== modified file 'src/ubuntu/ubunturemoterunconfiguration.cpp'
--- src/ubuntu/ubunturemoterunconfiguration.cpp 2015-09-09 10:01:09 +0000
+++ src/ubuntu/ubunturemoterunconfiguration.cpp 2016-02-09 12:10:57 +0000
@@ -390,9 +390,10 @@
390 m_arguments = args;390 m_arguments = args;
391 return true;391 return true;
392 } else {392 } else {
393 if(errorMessage)393 //no debug support for custom scoperunners
394 *errorMessage = tr("Using a custom scopelauncher is not yet supported");394 m_localExecutable = QString();
395 return false;395 m_remoteExecutable = executable;
396 return true;
396 }397 }
397 }398 }
398399
399400
=== modified file 'src/ubuntu/ubunturemoteruncontrolfactory.cpp'
--- src/ubuntu/ubunturemoteruncontrolfactory.cpp 2015-07-14 13:18:00 +0000
+++ src/ubuntu/ubunturemoteruncontrolfactory.cpp 2016-02-09 12:10:57 +0000
@@ -89,6 +89,11 @@
8989
90 if(debug) qDebug()<<"Free ports on the device: "<<dev->freePorts().count();90 if(debug) qDebug()<<"Free ports on the device: "<<dev->freePorts().count();
9191
92 if (rc->localExecutableFilePath().isEmpty()) {
93 if (errorMessage) *errorMessage = tr("The current project has no support for running in a debugger.");
94 return 0;
95 }
96
92 if (2 > dev->freePorts().count()) {97 if (2 > dev->freePorts().count()) {
93 *errorMessage = tr("Cannot debug: Not enough free ports available.");98 *errorMessage = tr("Cannot debug: Not enough free ports available.");
94 return 0;99 return 0;
95100
=== modified file 'src/ubuntu/ubuntuwaitfordevicedialog.cpp'
--- src/ubuntu/ubuntuwaitfordevicedialog.cpp 2014-08-06 11:47:54 +0000
+++ src/ubuntu/ubuntuwaitfordevicedialog.cpp 2016-02-09 12:10:57 +0000
@@ -54,7 +54,8 @@
54 switch (m_dev->deviceState()) {54 switch (m_dev->deviceState()) {
55 case ProjectExplorer::IDevice::DeviceDisconnected:55 case ProjectExplorer::IDevice::DeviceDisconnected:
56 case ProjectExplorer::IDevice::DeviceStateUnknown:56 case ProjectExplorer::IDevice::DeviceStateUnknown:
57 setLabelText(isEmulator ? tr("Please start your emulator") : tr("Please attach your device"));57 setLabelText(isEmulator ? tr("Please start your emulator: %1").arg(m_dev->displayName())
58 : tr("Please attach your device: %1").arg(m_dev->displayName()));
58 break;59 break;
59 case ProjectExplorer::IDevice::DeviceConnected:60 case ProjectExplorer::IDevice::DeviceConnected:
60 setLabelText(tr("Waiting for your %1 to get ready").arg(isEmulator ? tr("emulator") : tr("device")));61 setLabelText(tr("Waiting for your %1 to get ready").arg(isEmulator ? tr("emulator") : tr("device")));

Subscribers

People subscribed via source and target branches