Commit Graph

219 Commits

Author SHA1 Message Date
Daniel Teske
31739dc0f7 Fix paths to install files
Change-Id: Icc7202c543166c54c5ef5e6d327726454dee3c60
Task-Nr: QTCREATORBUG-5789
Reviewed-on: http://codereview.qt.nokia.com/3339
Reviewed-by: Daniel Teske <daniel.teske@nokia.com>
2011-08-22 18:59:10 +02:00
Friedemann Kleint
d4e1d7c6ad Header cleanup in Qt4ProjectManager.
Disentangle the covariant returns and introduce
convenience accessors.
Move internal classes away from Qt4Project.

Change-Id: I6c3158988824d2a159b1b3f8ecdf8432c32be2bc
Reviewed-on: http://codereview.qt.nokia.com/3216
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com>
2011-08-18 16:50:01 +02:00
Daniel Teske
d0de83d9bd Fix project tree, reported on irc
Reviewed-By: Trust me
Change-Id: Iba035da372a2d005aa1fbf592b29da6b1176c352
Reviewed-on: http://codereview.qt.nokia.com/961
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Daniel Teske <daniel.teske@nokia.com>
2011-06-30 18:02:56 +02:00
Daniel Teske
5c75f295e9 Also filter files found in OTHER_FILES for qml
Change-Id: I85f6958017d18a868bd63745efdd850cabb43761
Reviewed-on: http://codereview.qt.nokia.com/902
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Aurindam Jana <aurindam.jana@nokia.com>
2011-06-30 13:12:24 +02:00
Aurindam Jana
8668fb776f Check QMLType when adding new QML files to project to prevent error message being shown
Change-Id: I68df3c69b535d47109bfb94c3089fd78e8b3683d
Reviewed-on: http://codereview.qt.nokia.com/514
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Daniel Teske <daniel.teske@nokia.com>
2011-06-27 14:59:51 +02:00
dt_
1c1521c3c4 Fix proFileUpdated signal, set correct parse in progress state
Change-Id: I1f7ca269115491323373fe5c4230bd38860c08ce
Reviewed-on: http://codereview.qt.nokia.com/596
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Christian Kandeler <christian.kandeler@nokia.com>
2011-06-22 13:19:49 +02:00
Leena Miettinen
f1889864db UI text: check capitalization and tooltips
Change-Id: I3686ac83e5fdc009b03e84ab3c7b24a052d119c4
Reviewed-on: http://codereview.qt.nokia.com/569
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com>
2011-06-22 10:05:33 +02:00
dt_
2b31dbadcf Add a disabled reason to the display of runconfigurations
Also distinguish between qt runconfigurations that are disabled
due to parsing and due to not being parseable

Change-Id: Ia8ce4eaa7b6bfcc2c5290b254bb288c6d4892170
Task-Nr: QTCREATORBUG-5103
Reviewed-on: http://codereview.qt.nokia.com/451
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Daniel Teske <daniel.teske@nokia.com>
Reviewed-by: Christian Kandeler <christian.kandeler@nokia.com>
2011-06-14 11:58:39 +02:00
Tobias Hunger
95a51ceca8 Qt4: Remove dead code
Change-Id: I3c3575670720fafa1b81d553abaad81303836379
Reviewed-on: http://codereview.qt.nokia.com/351
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Daniel Teske <daniel.teske@nokia.com>
2011-06-07 15:00:03 +02:00
Christian Kandeler
64ba06e221 Maemo: Create dedicated plugin.
No change in functionality for now. More support for generic remote
Linux support is planned to be added.

The changes in decreasing order of magnitude:
1) Move contents of qt4projectmanager/qt-maemo to new "RemoteLinux" plugin.
2) Make some classes in qt4nodes public for now. More decoupling
in that area will follow.
3) Fix some minor problems uncovered by the move.

Change-Id: I51d0c7977c10019eb6080cd6620bc28ecebad3c4
Reviewed-on: http://codereview.qt.nokia.com/106
Reviewed-by: Daniel Teske <daniel.teske@nokia.com>
2011-05-26 13:31:05 +02:00
dt
754be1bcfc Move a lot of qmake independent classes to a new plugin qtsupport
Also adjust qmldumptool to remove the dependency on qt4project/qmlproject, by
passing in the qtversion instead of figuring it out in qmldumptool.

Change-Id: Ie6ac582d36bfef290313c0716b33b62fcf42630c
Reviewed-on: http://codereview.qt.nokia.com/70
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Daniel Teske <daniel.teske@nokia.com>
2011-05-24 18:35:11 +02:00
Christian Kandeler
4678208c3a Qt4ProFileNode: Add project version information.
Reviewed-by: dt
2011-05-13 13:55:05 +02:00
Oswald Buddenhagen
9ac137fb06 add auto-saving of modified editors
Task-number: QTCREATORBUG-2847
2011-05-12 20:10:03 +02:00
dt
8e171e0be0 Qt Version refactoring
Split up target specific code into subclasses. Also change
Qt4BuildConfiguration to allow a null qtversion.

Remove code that relied on always having a qt version.
Also make it possible to remove all qt versions.

Completly change the qt in path autodetection to be only
a fall back if no configuration was found.

Note: For now the old settings are not removed, as such 2.2 and master
can coexist.

Reviewed-By: hunger
2011-05-12 12:23:06 +02:00
dt_
c450abfe3f Symbian: Correctly ignore certain deployment rules
Reviewed-By: Pawel Polanski
Task-Nr: QTCREATORBUG-4840
2011-05-11 13:48:04 +02:00
Tobias Hunger
aa2acec14c Fix/add copyright headers
Change-Id: I8b73d583be1ee7183f4074bce49d5390e38631a2
2011-05-06 15:17:05 +02:00
Christian Kandeler
e751a135db Project File Parsing: Add support for new "aux" template.
Reviewed-by: dt
2011-05-05 17:44:27 +02:00
Friedemann Kleint
774fa49412 Fix more krazy warnings. 2011-04-19 15:43:53 +02:00
Oswald Buddenhagen
b950d7aea6 remove empty line truncation from pro editors
it's bogus. and the ProWriter will take care not to add stray empty lines now.
2011-04-18 14:10:15 +02:00
Oswald Buddenhagen
45c9cf7a12 add/unify i/o error handling
lots of use of Utils::FileSaver and Utils::FileReader

Task-number: QTCREATORBUG-1619
2011-04-18 14:10:14 +02:00
Oswald Buddenhagen
fae7dc9584 add errorString output argument to IFile::reload() & IEditor::open()
add/unify read error handling in all affected classes
2011-04-18 14:10:13 +02:00
Oswald Buddenhagen
f1f9904d35 add errorString output argument to IFile::save()
this centralizes error reporting (in fact, in most cases it adds any in
the first place).

Task-number: QTCREATORBUG-1619
2011-04-18 14:10:13 +02:00
hjk
8397663964 Update license. 2011-04-13 11:49:28 +02:00
Pawel Polanski
facd4c360f Symbian: SIS files are not created per project now
Reviewed-by: Daniel Teske
2011-03-22 13:54:21 +01:00
Oswald Buddenhagen
16436a252b move command line args from ProFileEvaluator to ProFileOption 2011-03-18 21:28:04 +01:00
Primrose Mbanefo
8d781af43b Introduce symbian ovi publishing wizard 2011-03-01 16:01:28 +01:00
Friedemann Kleint
88f333267f Fix Krazy code scanning tool warnings (QString, loops, spelling). 2011-02-25 15:28:01 +01:00
Oswald Buddenhagen
d789619170 don't give up on evaluation errors too easily
if the exact evalution fails (possibly because of a parser error), then
still use the cumulative evaluation to construct the project tree. only
the target information won't be updated and the code model will be left
in the dark.

todo: the errors are dumped only to the (unnumbered) "general messages"
output pane, which makes them practically invisible.

Task-number: QTCREATORBUG-3093
2011-02-10 14:56:15 +01:00
Oswald Buddenhagen
20e45a0d2d don't try to collect values from null files
it would collect global values instead.
2011-02-10 14:56:15 +01:00
Oswald Buddenhagen
dc09a3f40b use exact evaluator also for TARGET.CAPABILITY
special-casing it makes no sense, as all other values from the
project would be mismatched and thus worthless for code validation
anyway.
2011-02-10 14:56:15 +01:00
Oswald Buddenhagen
926ba9ffe2 remove unnecessary consistency check between cumulative and exact evaluation
the node updater would check if the cumulative and exact evalutor
returned the same project type and would discard the cumulative one if
they didn't. this was pointless, as a) it would practically never happen
and b) it would be without much consequence anyway.
2011-02-10 14:56:15 +01:00
Oswald Buddenhagen
b991ca562d micro-optimize: use constant instead of variable in invariant case 2011-02-10 14:56:15 +01:00
Oswald Buddenhagen
119908decc save m_varValues before emiting the change notification
... otherwise oldValues equals newValues.
the signal is currently not connected anyway, but whatever.
2011-02-10 14:56:15 +01:00
Oswald Buddenhagen
34a27d1dc5 fix c&p bug: actually use exact evaluation results 2011-02-10 14:56:15 +01:00
dt
063c4ff670 Add "Run" to projectexplorer context menu
Task-Nr: QTCREATORBUG-2166
2011-01-21 13:35:23 +01:00
Roberto Raggi
c238eb9300 Fixed unintialized variables. 2011-01-20 11:00:48 +01:00
dt
e505604b92 ProjectExplore: Introduce dis/enabling of buildconfigurations
The build actions are disabled if the buildconfiguration is disabled.
The deploy and run actions are disabled if deploying or running invokes
building automatically.

Qt4BuildConfigurations are disabled while parsing.

Task-Nr: QTCREATORBUG-2576
2011-01-19 15:47:00 +01:00
con
d1023c7614 It's 2011 now.
Reviewed-by: hjk
2011-01-12 09:46:24 +01:00
hjk
d6a459c332 cppmodelmanagerinterface: use singleton instead of object pool 2011-01-05 09:56:00 +01:00
Christian Kamm
5f50a6ae34 C++: Move the ModelManagerInterface from CppTools to CPlusPlus. 2011-01-04 15:58:21 +01:00
con
b1bcf081d8 Merge branch '2.1'
Conflicts:
	src/plugins/coreplugin/basemode.cpp
	src/plugins/coreplugin/basemode.h
	src/plugins/coreplugin/scriptmanager/qworkbench_wrapper.cpp
	src/plugins/coreplugin/scriptmanager/qworkbench_wrapper.h
	src/plugins/debugger/cdb/cdbsymbolpathlisteditor.cpp
	src/plugins/debugger/debuggeragents.cpp
	src/plugins/debugger/debuggeruiswitcher.cpp
	src/plugins/debugger/debuggeruiswitcher.h
	src/plugins/projectexplorer/buildconfigdialog.cpp
	src/plugins/qmldesigner/components/propertyeditor/colorwidget.cpp
	src/plugins/qmldesigner/components/propertyeditor/colorwidget.h
	src/plugins/qmldesigner/designercore/include/enumeratormetainfo.h
	src/plugins/qmldesigner/designercore/include/modelutilities.h
	src/plugins/qmldesigner/designercore/include/nodeinstance.h
	src/plugins/qmldesigner/designercore/include/propertymetainfo.h
	src/plugins/qmldesigner/designercore/instances/graphicsscenenodeinstance.cpp
	src/plugins/qmldesigner/designercore/instances/graphicsscenenodeinstance.h
	src/plugins/qmldesigner/designercore/instances/graphicsviewnodeinstance.cpp
	src/plugins/qmldesigner/designercore/instances/graphicswidgetnodeinstance.cpp
	src/plugins/qmldesigner/designercore/instances/graphicswidgetnodeinstance.h
	src/plugins/qmldesigner/designercore/instances/nodeinstance.cpp
	src/plugins/qmldesigner/designercore/instances/qmlviewnodeinstance.cpp
	src/plugins/qmldesigner/designercore/instances/widgetnodeinstance.cpp
	src/plugins/qmldesigner/designercore/instances/widgetnodeinstance.h
	src/plugins/qmldesigner/designercore/metainfo/enumeratormetainfo.cpp
	src/plugins/qmldesigner/designercore/metainfo/propertymetainfo.cpp
	src/plugins/qmldesigner/designercore/model/modelutilities.cpp
	src/plugins/snippets/inputwidget.cpp
	src/plugins/snippets/snippetscompletion.cpp
	src/plugins/snippets/snippetscompletion.h
	src/plugins/snippets/snippetspec.cpp
	src/plugins/snippets/snippetsplugin.cpp
	src/plugins/snippets/snippetswindow.cpp
	src/plugins/snippets/snippetswindow.h
	src/plugins/texteditor/snippetsparser.cpp
	src/tools/qml/qmldom/main.cpp
	tests/manual/trk/runner.cpp
	tests/manual/trk/trkolddevice.cpp
	tests/manual/trk/trkolddevice.h
	tests/manual/trk/trkserver.cpp
2010-12-17 17:00:53 +01:00
con
04e32b0049 License headers. 2010-12-17 16:03:42 +01:00
Pawel Polanski
5df88137d1 Symbian: Make error concerning capabilities prettier 2010-12-17 11:46:52 +01:00
Christian Kandeler
c3fe628dc9 Remove annoying warnings when loading Creator master.
The proper fix would be to support the QMAKE_SUBSTITUTES variable.
2010-12-16 18:05:22 +01:00
Kai Koehne
34846ac499 Qt4ProjectManager: Fix crash when loading $QTDIR/src/src.pro
Guard access to pointer, which happens to be 0. The regression
was most likely introduced by 057591e0dd.
2010-12-16 12:46:06 +01:00
Roberto Raggi
b4e421062f Removed stray tokens and fixed warnings/errors when compiling with pedantic C++ compilers. 2010-12-16 12:05:48 +01:00
Pawel Polanski
057591e0dd If capabilities inside pro files do not match the dev cert an error is generated (SymbianOS) 2010-12-14 16:37:50 +01:00
con
519b544f62 Merge remote branch 'origin/2.1'
Conflicts:
	doc/qtcreator.qdoc
	src/plugins/qmldesigner/designercore/instances/nodeinstance.cpp
	src/plugins/qt4projectmanager/qmakestep.cpp
	src/plugins/qt4projectmanager/qt-maemo/maemopackagecreationstep.cpp
	src/plugins/qt4projectmanager/qtversionmanager.cpp
2010-12-08 10:57:21 +01:00
hjk
b9f92c29a0 vcsmanager: coding convention 2010-12-08 07:58:23 +01:00
dt
592b44e9b5 Qt4ProjectManager: Force a qmake run on change in the deploy folder
On a change to the deployment folder, we need to run qmake again to
recreate the pkg file, we do that by setting a flag on all qmakesteps
for symbian and saving/restoring that flag.

Reviewed-By: hunger
Task-Nr: QTCREATORBUG-3062
2010-12-06 13:01:18 +01:00