Commit Graph

35 Commits

Author SHA1 Message Date
Friedemann Kleint
ced6fc4136 ProjectExplorer: Compile with QT_NO_CAST_FROM_ASCII.
- Add missing translations
- Remove some unneeded conversions.

Change-Id: Ia30e5c838099e52a9f38ca4854395c10c0391075
Reviewed-by: Daniel Teske <daniel.teske@nokia.com>
2012-01-09 16:45:08 +01:00
hjk
31600758de all: s/info@qt.nokia.com/qt-info@nokia.com/
Change-Id: If18afb5d4665924e7d9250dccbc60a65e6daa75e
Reviewed-by: Eike Ziller <eike.ziller@nokia.com>
2011-11-03 10:33:19 +01:00
Daniel Teske
4e41308a0f Better error feedback on Open project
Task-Nr: QTCREATORBUG-5996
Task-Nr: QTCREATORBUG-5995

Change-Id: I4184a1c652cbfc93a788a8f9b67d936401e197b9
Reviewed-on: http://codereview.qt.nokia.com/4197
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Daniel Teske <daniel.teske@nokia.com>
2011-09-05 15:10:01 +02:00
Friedemann Kleint
ddf4b613f3 Krazy fixes (spelling, single char strings, char constants). 2011-05-10 15:21:41 +02:00
Tobias Hunger
aa2acec14c Fix/add copyright headers
Change-Id: I8b73d583be1ee7183f4074bce49d5390e38631a2
2011-05-06 15:17:05 +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
Friedemann Kleint
3543eefc8c Wizards: Make it possible to check existing files to overwrite.
Present a checkable list of files to be overwritten,
enabling re-generating a part of the project or class.

Task-number: QTCREATORBUG-4538
2011-04-15 11:29:07 +02:00
Friedemann Kleint
fcdc8177b1 Documentation: Add ProjectExplorer plugin..
Reformat existing documentation to qdoc.
2011-04-14 12:58:14 +02:00
hjk
8397663964 Update license. 2011-04-13 11:49:28 +02:00
con
d1023c7614 It's 2011 now.
Reviewed-by: hjk
2011-01-12 09:46:24 +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
con
6954d89893 Fix replacement of variables in wizard parameters.
This was broken in case of no targets page being used, and using
the project name variable in default values for wizard parameters in the
page following the intro page (like it is done in the hello world
wizard).

Reviewed-by: Friedemann Kleint
2010-10-27 12:51:33 +02:00
Friedemann Kleint
111c18e353 Fix Wizard page not offering the right project to add to.
Symptom of file name slashification breakage.

Reviewed-by: dt
Task-number: QTCREATORBUG-2535
2010-09-30 16:50:59 +02:00
Friedemann Kleint
7ccb80aa5a Custom wizard: Add validation rules.
Add XML-elements allowing for Javascript-based
validation rules along with error messages.
Rubber-stamped-by: Erik Verbruggen <erik.verbruggen@nokia.com>
2010-09-27 13:52:34 +02:00
Friedemann Kleint
2c2f15dbc6 Custom wizard: Introduce 'binary' attribute for source files.
Indicating the file is to be copied as is and not preprocessed.

Task-number: QTCREATORBUG-2344
2010-09-14 17:03:08 +02:00
Friedemann Kleint
5ea1efb55f Custom wizard: Add a 'workingdirectory' attribute to generator script.
enabling scripts that completely generate the project directory.
Default to %TargetPath%.
2010-09-07 11:28:00 +02:00
Friedemann Kleint
f7b09f137c Customwizard: Remove unused code. 2010-09-06 16:33:44 +02:00
Friedemann Kleint
14f009da05 Custom wizards: Enhance generator script
following suggestions. Introduce argument syntax in XML allowing for
fine-grained control of handling (omitting empty values, use
temporary files).
2010-09-03 14:27:13 +02:00
Jarek Kobus
8b2eeb9c5f Get rid of virtual generatedProjectFilePath() 2010-09-02 12:15:23 +02:00
Friedemann Kleint
c6132a05f3 Customwizards: Add a way of wrapping a Generator script.
Add attribute to XML syntax specifying a script to generate files.
The script must provide a --dry-run mode in which it prints the files
it intends to create and their attributes to stdout.
Rework the CustomWizardContext structure to contain target path
and parameter mappings, simplify some code there.
2010-09-01 13:27:24 +02:00
Friedemann Kleint
1d45330153 Wizards: Fix custom wizards (fix up delayed creation).
Fixes e5f60a956f
2010-08-31 14:34:09 +02:00
Friedemann Kleint
e5f60a956f Wizards: Delay parsing of custom wizards.
... by introducing signal ICore::showNewItemsDialog().

Reviewed-by: Kai Köhne <kai.koehne@nokia.com>
2010-08-27 09:50:34 +02:00
Jarek Kobus
1cefde9e45 Implement adding new project into opened subdirs project
Reviewed-by: dt <qtc-committer@nokia.com>
2010-08-26 18:35:05 +02:00
Daniel Molkentin
6efe7d33c1 Find wizard templates in newly introduced userResourcePath(), too. 2010-08-25 19:12:53 +02:00
hjk
64e4a8f7ae Merge remote branch 'origin/2.0'
Conflicts:
	share/qtcreator/gdbmacros/dumper.py
	share/qtcreator/gdbmacros/gdbmacros.py
	src/plugins/projectexplorer/customwizard/customwizardparameters.cpp
2010-08-13 11:19:44 +02:00
Friedemann Kleint
b44efd097b Custom wizard: Add boolean 'enabled' attribute to <wizard>.
Reviewed-by: Kai Koehne <kai.koehne@nokia.com>
2010-08-13 11:10:11 +02:00
Friedemann Kleint
ba6b52ce14 Customwizard: Add a simple preprocessor.
Allowing for nesting sections depending on Javascript expression using
the (expanded) wizard field variables as in:

-- test.pro.template:
QT = core
@if "%NETWORK_CHECKBOX%" == "true"
QT += network
@endif
Rubber-stamped-by: Alessandro Portale <alessandro.portale@nokia.com>
2010-07-09 08:31:46 +02:00
Tobias Hunger
f71049bee4 Make targetsetuppage work in customwizard 2010-04-20 15:21:20 +02:00
Friedemann Kleint
0a643a1994 Wizards: Open a relevant file in editor after the wizard run
Remove all hacks/conventions of considering the last generated
file as project file, etc. and instead add attributes flags to
Core::GeneratedFile, giving fine-grained control of what to do
with the file. Implement static utility functions in wizards
that handle it. Add boolean XML-attributes "openeditor"/"openproject"
to the file elements used by the CustomWizard XML-specification.
Manually set the attributes in all wizards.

Task-number: QTCREATORBUG-1166
2010-04-16 15:55:38 +02:00
Jarek Kobus
20c0817a3f Replace QWizard with Utils::Wizard 2010-03-31 15:22:14 +02:00
Friedemann Kleint
5bc886c5b6 Custom wizards: Make it possible to use fields in default texts.
Pass around shared context containing basic replacement map.
CustomProjectWizard adds %ProjectName% to it obtained from signal
BaseProjectWizardDialog::introPageLeft(). Move replacement code into
context. Add new modifier 'c' for capitalizing words.
2010-03-22 15:33:33 +01:00
Friedemann Kleint
51cc919467 Wizards: Make verbose log appear in message pane.
Also list all registered wizards. Bring initialization
of Core::MessageManager forward.
Acked-by: con
2010-03-19 11:26:56 +01:00
Friedemann Kleint
64bf3ef1d2 Custom wizards: Add option -customwizard-verbose. 2010-03-17 15:17:03 +01:00
Friedemann Kleint
1606cf1b33 Wizards/Custom Wizards: Add code.
Task-number: QTCREATORBUG-423
2010-03-12 11:20:32 +01:00