summaryrefslogtreecommitdiff
path: root/src/plugins/projectexplorer/localapplicationruncontrol.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Add a few missing QDir::toNativeSeparators().Friedemann Kleint2014-01-091-1/+1
| | | | | | | | Fix messages shown when trying to launch/debug a non-existing binary. Change-Id: I2b69904595effd97e143b57ee64df085c20bff28 Reviewed-by: hjk <hjk121@nokiamail.com>
* Incremented year in copyright infoRobert Loehning2014-01-081-1/+1
| | | | | | Change-Id: Ib5423fdd064e4546f848c0b640b0ed0514c26d3a Reviewed-by: Leena Miettinen <riitta-leena.miettinen@digia.com> Reviewed-by: Kai Koehne <kai.koehne@digia.com>
* Remove most trailing newlines from translated messages.Friedemann Kleint2013-10-221-6/+6
| | | | | | | | | They are a hassle for translators and reviewers alike. Change-Id: I07c1b61e8b6719e54fdc1f69cf63f573119a6776 Reviewed-by: hjk <hjk121@nokiamail.com> Reviewed-by: Robert Loehning <robert.loehning@digia.com> Reviewed-by: Eike Ziller <eike.ziller@digia.com>
* ApplicationLauncher: Also emit the exit statusDaniel Teske2013-08-021-5/+11
| | | | | | | | | And adjust the message in the appliation output to take the exit status into account. Change-Id: I1b7507fdc8ff6fa7ec3db48dba72ad723f124fc3 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com> Reviewed-by: Daniel Teske <daniel.teske@digia.com>
* LocalRunControl: Fix wrong "exited with error code -1" outputDaniel Teske2013-06-111-1/+5
| | | | | | Task-number: QTCREATORBUG-8337 Change-Id: I585b6330e6aa18891ebf0171bf6c8813761943f1 Reviewed-by: Robert Loehning <robert.loehning@digia.com>
* IRunControlFactory::displayName: Remove unused functionDaniel Teske2013-04-251-5/+0
| | | | | | | It's never used. Change-Id: I11cc85b1d9a5944017b8a03738877f91cfe5d11f Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
* Use EnvironmentAspect to retrieve the environmentTobias Hunger2013-04-111-1/+5
| | | | | Change-Id: If878e22cc2715d05bb3e65ad908cd4fb5e21b03b Reviewed-by: Daniel Teske <daniel.teske@digia.com>
* Clean headers in ProjectExplorer.Friedemann Kleint2013-03-261-3/+0
| | | | | | Change-Id: If61a8a91d2a39c5c97974a5bfcef91892b68d3f1 Reviewed-by: Tobias Hunger <tobias.hunger@digia.com> Reviewed-by: Daniel Teske <daniel.teske@digia.com>
* Merge remote-tracking branch 'origin/2.6'Oswald Buddenhagen2013-01-311-1/+1
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/plugins/autotoolsprojectmanager/AutotoolsProjectManager.pluginspec.in src/plugins/debugger/qtmessageloghandler.cpp src/plugins/debugger/qtmessagelogwindow.cpp src/plugins/madde/maemodeployconfigurationwidget.cpp src/plugins/qmldesigner/components/integration/designdocumentcontroller.cpp src/plugins/qmldesigner/designercore/include/widgetqueryview.h src/plugins/qmldesigner/designercore/metainfo/metainfoparser.cpp src/plugins/qmldesigner/designercore/model/modelnodecontextmenu.cpp src/plugins/qmldesigner/designercore/model/modelnodecontextmenu.h src/plugins/qmlprojectmanager/qmlprojectapplicationwizard.cpp src/plugins/qnx/bardescriptormagicmatcher.h src/plugins/qt4projectmanager/profilekeywords.cpp src/plugins/remotelinux/deployablefilesperprofile.cpp src/plugins/remotelinux/deployablefilesperprofile.h src/plugins/remotelinux/deploymentinfo.cpp src/plugins/remotelinux/deploymentsettingsassistant.cpp src/plugins/remotelinux/profilesupdatedialog.cpp tests/auto/icheckbuild/ichecklib.cpp tests/auto/icheckbuild/parsemanager.cpp tests/auto/icheckbuild/parsemanager.h Change-Id: Ie465a578446a089e1c502d1cb1096e84ca058104
| * Incremented year in copyright infov2.6.2Robert Loehning2013-01-291-1/+1
| | | | | | | | | | Change-Id: Ic6a9ff0359625021ebc061d22db6811814534205 Reviewed-by: Kai Koehne <kai.koehne@digia.com>
* | LocalApplicationRC: Rename files to localapplicationrunconfiguration.(h|cpp)Tobias Hunger2013-01-281-1/+1
| | | | | | | | | | | | | | I ran once too often into them being called applicationrunconfiguration.(h|cpp)! Change-Id: I280a3280173b80d4d955faddedf11688786eee14 Reviewed-by: Daniel Teske <daniel.teske@digia.com>
* | LocalApplicationRunControl: Make sure Starting message is firstDaniel Teske2012-11-271-2/+2
|/ | | | | | | Task-number: QTCREATORBUG-8188 Change-Id: Idacdccc00f8c0fb4c7646fdc2fde2765f79297f1 Reviewed-by: Robert Loehning <robert.loehning@digia.com>
* Adjust license headershjk2012-10-051-21/+20
| | | | | Change-Id: Ice592c6de9951ee3b2c4cb52ed0bb3b6770e0825 Reviewed-by: Eike Ziller <eike.ziller@digia.com>
* Fix error handling for custom executables.Friedemann Kleint2012-09-181-4/+1
| | | | | | | | | | | | | Prevent dialog showing "No executable" when canceling the prompt for the executable when pressing 'Run' / 'Debug' on a library project. Introduce new LocalApplicationRunControl::ensureConfigured() to ensure the configuration is complete and detect cancel via empty/non-null strings. Change-Id: I9bd4a296e7c995d26d6ad265519e7ebd3f98d6fe Reviewed-by: Tobias Hunger <tobias.hunger@digia.com> Reviewed-by: Daniel Teske <daniel.teske@digia.com>
* Add error string to IRunControlFactory::createRunControlDaniel Teske2012-09-051-2/+5
| | | | | | | | | And add a few helpful error messages Task-number: QTCREATORBUG-7826 Change-Id: Ia9f9fa476cecf2cff198bc460408bc062e119338 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com>
* Contact -> qt-project.orgEike Ziller2012-07-191-3/+1
| | | | | Change-Id: I7134d7de30bcf9f9dcfad42520dd45ee083a852d Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
* runconfig: consolidate createConfigurationWidget implementationshjk2012-06-191-6/+0
| | | | | | | | Most derived classes used essentially identical 'return 0;' implementations. Use a base class implementation doing that instead. Change-Id: I99727ac2230a5d9f168b4b0eb5927f8efff44e64 Reviewed-by: Daniel Teske <daniel.teske@nokia.com>
* LocalApplicationRunControl: Track state of stub for isRunningDaniel Teske2012-03-061-2/+4
| | | | | | | | | Task-number: QTCREATORBUG-6885 Task-number: QTCREATORBUG-6926 Change-Id: I1cf29656a1de96817681bc2002d6cbc27ae07d20 Reviewed-by: Robert Löhning <robert.loehning@nokia.com> Reviewed-by: Daniel Teske <daniel.teske@nokia.com>
* Removed module names from #include directives.Erik Verbruggen2012-02-151-3/+3
| | | | | | | | Getting the #include directives ready for Qt5. This includes the new-project wizards. Change-Id: Ia9261f1e8faec06b9285b694d2b7e9a095978d2b Reviewed-by: Eike Ziller <eike.ziller@nokia.com>
* Long live the king!hjk2012-01-261-1/+1
| | | | | Change-Id: I2b72b34c0cfeafc8bdbaf49b83ff723544f2b6e2 Reviewed-by: Daniel Teske <daniel.teske@nokia.com>
* ProjectExplorer: use enum instead of QString for run modehjk2012-01-111-5/+4
| | | | | | Change-Id: Ia906944a489b09afdea59f74afbf759b4caebe37 Reviewed-by: Aurindam Jana <aurindam.jana@nokia.com> Reviewed-by: Daniel Teske <daniel.teske@nokia.com>
* ProjectExplorer: Compile with QT_NO_CAST_FROM_ASCII.Friedemann Kleint2012-01-091-2/+2
| | | | | | | | - Add missing translations - Remove some unneeded conversions. Change-Id: Ia30e5c838099e52a9f38ca4854395c10c0391075 Reviewed-by: Daniel Teske <daniel.teske@nokia.com>
* Do not start LocalRunConfiguration when the executable is empty.Friedemann Kleint2011-12-201-1/+5
| | | | | | | | | | | When accidentally pressing 'Debug' on a library project, the dialog asking for the executable pops up and debugging still starts although cancel is pressed. Add dialog title, set flags, and check its return values. Change-Id: I8518b8af70b12a7059f9ee0e20a9d0b325db1e98 Reviewed-by: Tobias Hunger <tobias.hunger@nokia.com>
* all: s/info@qt.nokia.com/qt-info@nokia.com/hjk2011-11-031-2/+2
| | | | | Change-Id: If18afb5d4665924e7d9250dccbc60a65e6daa75e Reviewed-by: Eike Ziller <eike.ziller@nokia.com>
* Enable attaching to console processesDaniel Teske2011-08-241-0/+8
| | | | | | | | | | | The pid is not immediately set for console processes. setApplicationHandle needs to be called in response to the ConsoleProcess::processStarted signal. Change-Id: I957d829936c33eff004f348a832d95f50b909016 Reviewed-on: http://codereview.qt.nokia.com/3491 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: hjk <qthjk@ovi.com>
* Header cleanup in ProjectExplorer.Friedemann Kleint2011-08-181-0/+1
| | | | | | Change-Id: I19f100003427ba43aaae5ba0dc7078088017cb09 Reviewed-on: http://codereview.qt.nokia.com/3178 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com>
* ProjectExplorer: Fix enabling of buttons in the output pane.Friedemann Kleint2011-07-071-0/+1
| | | | | | | | | | | | | | | | | | | Enable debug only if run control has a valid process handle. Restore icon of rerun-button. Take the concept of the ProcessHandle further (give it descriptive string, add change signal to run control, clear it when process stops to correctly enable debug). No longer set ProcessHandle to debug run control as this would allow attach a 2nd debugger to the process. Reviewed-by: hjk Change-Id: Iecf388e239fcd365864fe59177d76afac7484ecc Reviewed-on: http://codereview.qt.nokia.com/1212 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Eike Ziller <eike.ziller@nokia.com>
* debugger: let debugger attach to currently running processhjk2011-05-311-0/+1
| | | | | | | | Change-Id: I4aab1aa84a3dc9211d84d59be76005a8e841239e (cherry picked from commit 55e399b524721e3561b6c7faae8aef84bf064565) Reviewed-on: http://codereview.qt.nokia.com/251 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: hjk <qthjk@ovi.com>
* Fix/add copyright headersTobias Hunger2011-05-061-1/+1
| | | | Change-Id: I8b73d583be1ee7183f4074bce49d5390e38631a2
* Make output window implementation reusable.con2011-04-261-1/+1
| | | | | Removes the dependencies to project explorer and text editor plugins and moves unrelated code to its own file.
* Move OutputFormatter to Utils lib.con2011-04-261-6/+6
|
* Run/Debug: Do not launch on a library project if user cancelsFriedemann Kleint2011-04-181-4/+8
| | | | | | the executable dialog that pops up. Reviewed-by: dt
* Merge branch '2.2'Oswald Buddenhagen2011-04-141-14/+13
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/plugins/debugger/gdb/pythongdbengine.cpp src/plugins/qt4projectmanager/qt-desktop/qt4desktoptargetfactory.cpp src/plugins/qt4projectmanager/qt-desktop/qt4desktoptargetfactory.h src/plugins/qt4projectmanager/qt-desktop/qt4simulatortargetfactory.cpp src/plugins/qt4projectmanager/qt-desktop/qt4simulatortargetfactory.h src/plugins/qt4projectmanager/qt-maemo/maemodeploystep.cpp src/plugins/qt4projectmanager/qt-maemo/maemodeviceconfigurations.cpp src/plugins/qt4projectmanager/qt-maemo/maemoglobal.cpp src/plugins/qt4projectmanager/qt-maemo/qt4maemotargetfactory.cpp src/plugins/qt4projectmanager/qt-s60/qt4symbiantargetfactory.cpp src/plugins/qt4projectmanager/qt-s60/s60deploystep.cpp src/plugins/qt4projectmanager/qt4target.cpp src/plugins/qt4projectmanager/qt4target.h src/plugins/qt4projectmanager/qtoptionspage.h src/plugins/qt4projectmanager/qtversionmanager.cpp src/plugins/welcome/welcomemode.cpp
| * Update license.hjk2011-04-131-14/+13
| |
* | Fixing tons of application outputdt2011-04-121-2/+2
| | | | | | | | | | | | | | Master fixed a bug where a newline was almost always prepended to any output. As a side effect of that a lot of messages which outputed no newline broke. This commit fixes the obvious ones, probably missing a few.
* | RunControl: Show correct icon in application outputdt2011-03-281-0/+5
|/ | | | | | | Add a virtual icon() method to runcontrol. Actually currently the icon only varies between modes of running. Task-Nr: QTCREATORBUG-1232
* enable adding custom config widgets from a run control factoryMilian Wolff2011-02-281-2/+2
| | | | | | | | | | | | | To achieve this there are two methods in IRunControlFactory you need to implement: 1) createRunConfigurationAspect returns a IRunConfigurationAspect which stores the settings specific to your plugin. 2) createConfigurationWidget returns a RunConfigWidget that will be shown in the project settings Merge-request: 258 Reviewed-by: hjk <qtc-committer@nokia.com>
* It's 2011 now.con2011-01-121-1/+1
| | | | Reviewed-by: hjk
* Fix format of "foo existed with code n" message.con2011-01-111-1/+1
| | | | | | Broke by recent refactorings. Reviewed-by: Tobias Hunger
* applicationlauncher: fix recently introduced signal passing problemhjk2011-01-101-2/+2
|
* introduce a appendMessage overload not requiring the 'this' parameterhjk2011-01-101-3/+3
|
* runcontrols: use ProjectExplorrer::OutputFormat for format selectionhjk2011-01-071-15/+10
|
* merge addToOutputWindow and addToOutputWindowInlinehjk2011-01-071-1/+1
|
* License headers, part 2con2010-12-171-7/+11
|
* overhaul process argument handlingOswald Buddenhagen2010-11-171-1/+1
| | | | | | | | | get away from argument stringlists. instead, use native shell command lines which support quoting/splitting, environment variable expansion and redirections with well-understood semantics. Task-number: QTCREATORBUG-542 Task-number: QTCREATORBUG-1564
* ProjectExplorer: Remove internal classes from exported headers.Friedemann Kleint2010-11-011-0/+141