Friedemann Kleint
0ef59d9970
tr()-Fixes for 2.3: Small spelling/notr-fixes.
...
Change-Id: I66b8b0e20b225429b4399dfca154a2806260ac61
Reviewed-on: http://codereview.qt.nokia.com/483
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com >
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com >
2011-06-15 17:25:36 +02:00
Jarek Kobus
2fad22c030
Add restore fallback functionality, make better tr()
...
Task-number: QTCREATORBUG-5025
Change-Id: Ia3f6fa2380dd1a93f120873f584662a267ca4d50
Reviewed-on: http://codereview.qt.nokia.com/360
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com >
Reviewed-by: Christian Kamm <christian.d.kamm@nokia.com >
2011-06-08 13:27:52 +02:00
Tobias Hunger
04039ac627
Fix warning about unused parameter
...
Change-Id: I2844ebae2cd834b187f01b62d414692aa29b0605
Reviewed-on: http://codereview.qt.nokia.com/354
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com >
Reviewed-by: Jarek Kobus <jaroslaw.kobus@nokia.com >
2011-06-07 09:54:14 +02:00
Christian Kamm
83072da8b0
QmlJS: Fix potential linking problem.
...
Don't use plugin from libs/qmljs.
Change-Id: Ia345c567cd1f244ab2191017810ef3eeb91fe0e4
Reviewed-on: http://codereview.qt.nokia.com/213
Reviewed-by: Roberto Raggi <roberto.raggi@nokia.com >
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com >
2011-05-30 15:19:06 +02:00
Christian Kamm
f0a4e7e225
QmlJS: Output qmltypes parse warnings to General messages pane.
...
Change-Id: I8ca100ef141082c7606bb98f8a2f81502b14e1af
Reviewed-on: http://codereview.qt.nokia.com/204
Reviewed-by: Kai Koehne <kai.koehne@nokia.com >
2011-05-30 11:32:23 +02:00
Christian Kamm
8742026380
QmlJS: Allow for QML modules with version subdirectories.
...
That means
import Foo 2.1
can resolve to
/path/Foo.2.1 or
/path/Foo.2 or
/path/Foo
Task-number: QTCREATORBUG-4607
Change-Id: Ie1efc5be2ca2ed3ccc130e8a662f94aed11bec1a
Reviewed-on: http://codereview.qt.nokia.com/194
Reviewed-by: Roberto Raggi <roberto.raggi@nokia.com >
2011-05-30 08:25:19 +02:00
hjk
0faf7ab922
QmlJSCodeStyleSettingsPage: compile fix
...
Was not compilable with namespaced Qt
Change-Id: Ieab68bb67e6421afbc4e07417c0196d419697f70
Reviewed-on: http://codereview.qt.nokia.com/100
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com >
Reviewed-by: Christian Kamm <christian.d.kamm@nokia.com >
2011-05-25 10:07:46 +02:00
Jarek Kobus
934a8238d4
Implement qml tab settings
...
Change-Id: I0b7365b5b3d7538f2b4a8c5eaff3420f448dd5be
Reviewed-on: http://codereview.qt.nokia.com/99
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com >
Reviewed-by: Christian Kamm <christian.d.kamm@nokia.com >
2011-05-25 09:41:35 +02:00
Christian Kamm
779fafcbfe
Make C++ code style configurable.
...
Change-Id: Iaf08edb2361146e6b5e1cbafdb716a23c938875b
Done-with: Jarek Kobus
Task-number: QTCREATORBUG-2670
Task-number: QTCREATORBUG-4310
Task-number: QTCREATORBUG-2763
Task-number: QTCREATORBUG-3623
Task-number: QTCREATORBUG-567
Reviewed-on: http://codereview.qt.nokia.com/74
Reviewed-by: Leandro T. C. Melo <leandro.melo@nokia.com >
Reviewed-by: Jarek Kobus <jaroslaw.kobus@nokia.com >
Reviewed-by: Roberto Raggi <roberto.raggi@nokia.com >
2011-05-24 12:45:07 +02:00
Christian Kamm
cf15e14e5e
QmlJS: Add tooltips to imports.
...
Task-number: QTCREATORBUG-4814
2011-05-12 15:29:41 +02:00
Tobias Hunger
aa2acec14c
Fix/add copyright headers
...
Change-Id: I8b73d583be1ee7183f4074bce49d5390e38631a2
2011-05-06 15:17:05 +02:00
Thorbjørn Lindeijer
b3e47623c6
Merged "Methods" and QML "Functions" locator filters
...
They're still separate filters, but by default they share the same
prefix, which will now make sure that only one entry shows up in the
list of filters.
Done-with: Christian Kamm
Task-number: QTCREATORBUG-4796
2011-05-06 12:41:15 +02:00
Christian Kamm
8d4d88f072
QmlJS: Fix object literal indent in property initializers.
2011-04-21 12:56:59 +02:00
Christian Kamm
d0d0a8c07e
QmlJS: Fix indent of object literals.
...
Reviewed-by: Roberto Raggi
2011-04-21 12:25:15 +02:00
Christian Kamm
c504d28eb5
QmlJS: Add semantic errors to task window.
...
Task-number: QTCREATORBUG-4103
Reviewed-by: Leandro Melo
2011-04-21 11:16:50 +02:00
Christian Kamm
e21311132b
QmlJS: Fix library-by-path imports.
...
Fixes the problem 5426c3ac2c and
7b25f438c6 worked around.
Reviewed-by: Erik Verbruggen
2011-04-21 11:16:14 +02:00
Friedemann Kleint
774fa49412
Fix more krazy warnings.
2011-04-19 15:43:53 +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
f5cbf87965
Utils: Introduce FileSystemWatcher.
...
Remove duplicated classes ProjectExplorer::FileWatcher
and QmlProjectManager::FileSystemWatcher, create
Utils::FileSystemWatcher from them, merging the functionality.
Also use in HelpManager/Maemo, reducing the number
of QFileSystemWatcher instances (and thus, shutdown time).
2011-04-15 15:55:11 +02:00
hjk
8397663964
Update license.
2011-04-13 11:49:28 +02:00
Kai Koehne
3e0061aaba
Revert "QmlJSEditor: Don't warn about failing dumps if dumper is from 2.1"
...
This reverts commit d40c15abea .
Was superseded by 284b0827 (QmlJS: Don't warn user about imports if static info is available).
2011-04-12 11:27:18 +02:00
Kai Koehne
3e07024e10
QmlJS: Don't warn user about imports if static info is available
...
Don't underline the import if a qmldump fails,
but the typeinfo is available via a .qmltypes file. That should allow
users to 'fix' qmldump issues by shipping a .qmltypes file.
Reviewed-by: Erik Verbruggen
2011-04-12 11:27:17 +02:00
Kai Koehne
d40c15abea
QmlJSEditor: Don't warn about failing dumps if dumper is from 2.1
...
Ignore dumper failures if dumper is from 2.1. This is the case e.g.
for the time being with the Qt SDK 1.1. The type info might still
be available if a .qmltypes file is available.
Task-number: QTCREATORBUG-4380
Reviewed-by: Erik Verbruggen
2011-04-08 14:21:17 +02:00
Thomas Hartmann
5426c3ac2c
QmlJSDumper: improve d1041cc967
...
We have to use --notrelocatable in all cases
2011-03-21 14:49:26 +01:00
Thomas Hartmann
d1041cc967
QmlJSDumper: fix for plugins/components
...
We use "--notrelocatable" for now, since
otherwise plugins and components break.
Reviewed-by: Erik Verbruggen
2011-03-21 14:05:37 +01:00
Christian Kamm
b980a9b964
QmlJS: Fix implicit "." import when . has a QML module.
...
Reviewed-by: Erik Verbruggen
2011-03-10 15:03:36 +01:00
Oswald Buddenhagen
7007326837
clean up DEPENDPATH insanity
...
simply add
CONFIG += depend_includepath
to qtcreator.pri and remove all the manual DEPENDPATHs, as half of them
were missing anyway, and i wouldn't expect it to ever change. not
touching src/shared/ for syncing reasons.
2011-03-09 22:24:13 +01:00
hjk
f576ad9f2c
texteditor: merge ITextEditable into ITextEditor
...
rename BastTextEditor->BaseTextEditorWidget, BaseTextEditorEditable->BaseTextEditor
rename BaseTextEditor{,Widget} subclasses
rename editableInterface->editorInterface
rename createEditableInterface->createEditor
minor cleanups after renamings
2011-02-22 11:23:53 +01:00
Leandro Melo
ea313f3ec8
Text editor: Introduce per project settings
...
With some refactorings to make the code look better.
Reviewed-by: con
2011-02-21 17:22:24 +01:00
Friedemann Kleint
88ba702293
L10n: tr()-Fixes for 2.2
2011-02-15 16:05:52 +01:00
Christian Kamm
187ae1e94a
QmlJS: Rework FakeMetaObjects to no longer contain pointers.
...
Having a duplicate prototype chain - once in FakeMetaObjects and once
in QmlObjectValues was unnecessary. Now FMOs don't contain references
which may allow other simplifications.
2011-02-10 17:04:22 +01:00
Christian Kamm
c935fd36d7
qmldump: Use the new qmldump correctly.
2011-02-09 10:42:49 +01:00
Christian Kamm
2ec429e8ce
QmlJS: Switch to new format for QML meta data.
2011-02-09 10:42:49 +01:00
Christian Kamm
dd1de1b82f
qmldump: Make Creator able to read qmldump's new output.
...
Task-number: QTCREATORBUG-3048
2011-02-09 10:42:48 +01:00
Friedemann Kleint
edb4893547
Header cleanup in src, specify module name.
2011-01-24 12:29:48 +01:00
Christian Kamm
315fc34f3b
qmldump: Produce an error message if module import fails.
...
Reviewed-by: Kai Koehne
2011-01-21 10:28:19 +01:00
Friedemann Kleint
a9a5e3ea17
Exported header cleanup.
2011-01-20 14:03:07 +01:00
Christian Kamm
8ab2735368
QmlJS: Be more efficient when looking for QML libraries.
...
Reviewed-by: Erik Verbruggen
2011-01-20 11:04:00 +01:00
Christian Kamm
ef5dc8c699
QmlJS: Avoid frequent libraryInfoUpdated emissions.
...
Also don't require a rehighlight of every open document when the
signal is emitted.
Reviewed-by: Roberto Raggi
2011-01-12 14:03:01 +01:00
con
d1023c7614
It's 2011 now.
...
Reviewed-by: hjk
2011-01-12 09:46:24 +01:00
Christian Kamm
9cf67d21bd
QmlJSTools: Indicate optional dependency on CppTools.
2011-01-11 15:39:10 +01:00
Christian Kamm
283a3d32cd
Qml/C++: Fix performance problem with type extraction.
...
By moving the offending code into a background thread.
Reviewed-by: Erik Verbruggen
2011-01-06 15:02:06 +01:00
Christian Kamm
ab642bc820
QmlJS: Add refcounting to FakeMetaObjects.
...
Previously they were leaked when a qmldump or the C++ exported QML
type list updated.
Just deleting the previous FakeMetaObjects is not an option, as they
might still be used in a QmlObjectValue owned by an Engine.
Reviewed-by: Erik Verbruggen
2011-01-06 15:01:09 +01:00
Christian Kamm
0194da7300
Qml-C++: Find C++ qmlRegisterType calls and populate QML code model.
...
Reviewed-by: Erik Verbruggen
2011-01-04 15:58:22 +01:00
Christian Kamm
5de7be5f91
LanguageUtils: Add FakeMetaObject and ComponentVersion.
2011-01-04 15:58:21 +01:00
Christian Kamm
87c8cbf44c
LanguageUtils: Introduce new library for cross-language utils.
2011-01-04 15:58:21 +01:00
con
23c22b7c66
License headers, part 2
2010-12-17 17:14:20 +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
Roberto Raggi
b4e421062f
Removed stray tokens and fixed warnings/errors when compiling with pedantic C++ compilers.
2010-12-16 12:05:48 +01:00
Roberto Raggi
8df7fbc67a
Compile fix for pedantic C++ compilers.
...
Get rid of all those ugly stray semicolons. They are not valid C++.
2010-12-16 11:29:24 +01:00