Thomas Hartmann
7d25b90908
TypeDescriptionReader: Check for files that are not UTF8 encoded
...
We had a qmltypes file that was encoded in UTF16 and did not work.
We should at least warn about it.
Change-Id: I42555782ee16ddd25552f919845aa85ff1f3f636
Reviewed-by: Fawzi Mohamed <fawzi.mohamed@digia.com >
2013-05-15 11:21:44 +02:00
Eike Ziller
bedc477943
Merge remote-tracking branch 'origin/2.7'
...
Conflicts:
src/plugins/qmldesigner/components/formeditor/abstractcustomtool.cpp
Change-Id: I4e0a85795e7f4bfcdc21d106517517b527f85104
2013-04-30 11:43:33 +02:00
Fawzi Mohamed
eac15b5e7d
qmljs: add explicit -relocatable flag to qmlplugindumper and use it
...
This will allow changing the default to nonrelocatable.
Change-Id: I80746a3e70f94040a407cc25cec9ad6fac8b6fec
Reviewed-by: Kai Koehne <kai.koehne@digia.com >
2013-04-25 17:21:45 +02:00
Friedemann Kleint
f6017b8dca
Clean headers in QmlJsTools.
...
Ran script to remove inludes on a trial-and-error basis and
manually corrected it.
Change-Id: I22fb33b8589dcd2f4b880eb320d7fa86de8a6f67
Reviewed-by: Aurindam Jana <aurindam.jana@digia.com >
2013-04-03 11:35:02 +02:00
Daniel Teske
2cc171a0c2
QmlJsTools: Adjust to MessageManager api change
...
Change-Id: I68e662ea30b9c219e3a21e4f48a83c1ad24e2c58
Reviewed-by: Fawzi Mohamed <fawzi.mohamed@digia.com >
2013-03-25 10:42:59 +01:00
Friedemann Kleint
409ff7c3ac
Improve error reporting when running qmlplugindump.
...
Output error message, binary and arguments.
Change-Id: I413d2fcb234ae2444bf2c354b6aed1140aad61c5
Reviewed-by: Kai Koehne <kai.koehne@digia.com >
Reviewed-by: Christiaan Janssen <christiaan.janssen@digia.com >
Reviewed-by: Fawzi Mohamed <fawzi.mohamed@digia.com >
2013-03-18 11:17:44 +01:00
Fawzi Mohamed
5e58349a2d
qmljs: look for builtins also in QTDIR/imports/QtQuick1
...
Change-Id: I661ad330b28bb88a378785afa2c2aee92da67918
Reviewed-by: Kai Koehne <kai.koehne@digia.com >
2013-02-20 16:38:26 +01:00
Leena Miettinen
419c6de735
Doc: replace deprecated QDoc commands
...
The \i and \o commands were replaced with \li and
\bold was replaced with \b in QDoc for Qt 5.
The \input command was replaced with \include in the docs.
Change-Id: I257d1bebb8ebc739ca20e0d29fcf0406ecb14534
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com >
2013-02-06 09:44:18 +01:00
Oswald Buddenhagen
1fda2111d4
Merge remote-tracking branch 'origin/2.6'
...
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
2013-01-31 16:25:33 +01:00
Robert Loehning
298531e370
Incremented year in copyright info
...
Change-Id: Ic6a9ff0359625021ebc061d22db6811814534205
Reviewed-by: Kai Koehne <kai.koehne@digia.com >
2013-01-29 16:27:03 +01:00
Orgad Shaneh
75a3728254
QmlJSTools: Compile with QT_NO_CAST_FROM_ASCII
...
Change-Id: I370075ce75682ea11790a8f91339a01fb3c247f9
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com >
2012-11-22 08:53:45 +01:00
hjk
386ca7c8dd
Adjust license headers
...
Change-Id: Ice592c6de9951ee3b2c4cb52ed0bb3b6770e0825
Reviewed-by: Eike Ziller <eike.ziller@digia.com >
2012-10-05 17:12:56 +02:00
Alessandro Portale
ae23d50576
Removal of Symbian support
...
Qt Creator's support for Symbian was at its peak in version
2.4.x. Nobody really verified it in Qt Creator 2.5 or 2.6.
It is most likely rotten. Let's remove it!
Also, the Symbian support code was spread throughout the whole
Qt Creator code base. The plugin interfaces evolved in the
meantime and target platforms like Android or QNX have 99% of
their code in separate plugins.
In case anyone wants to revive Symbian support in Qt Creator,
please create a plugin for it.
Change-Id: I56a758a3e2fd5b8c64d9aeb8f63d8e916c4883be
Reviewed-by: Alessandro Portale <alessandro.portale@nokia.com >
2012-08-22 13:42:42 +02:00
Eike Ziller
e0e8cf3ada
Contact -> qt-project.org
...
Change-Id: I7134d7de30bcf9f9dcfad42520dd45ee083a852d
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com >
2012-07-19 13:23:21 +02:00
Erik Verbruggen
3fa55b7ab9
Removed module names from #include directives.
...
Getting the #include directives ready for Qt5. This includes the
new-project wizards.
Change-Id: Ia9261f1e8faec06b9285b694d2b7e9a095978d2b
Reviewed-by: Eike Ziller <eike.ziller@nokia.com >
2012-02-15 16:24:46 +01:00
hjk
2931a499e6
Long live the king!
...
Change-Id: I2b72b34c0cfeafc8bdbaf49b83ff723544f2b6e2
Reviewed-by: Daniel Teske <daniel.teske@nokia.com >
2012-01-26 19:55:36 +01:00
Eike Ziller
85cf2b661e
Merge remote-tracking branch 'origin/2.4'
...
Conflicts:
src/libs/qmljs/qmljsinterpreter.cpp
src/libs/qmljs/qmljsinterpreter.h
src/plugins/debugger/qml/scriptconsole.cpp
src/plugins/git/gitplugin.cpp
src/plugins/qmlprofiler/canvas/qdeclarativetiledcanvas.cpp
src/plugins/qmlprofiler/canvas/qdeclarativetiledcanvas_p.h
Change-Id: Iad59c8d87c72a21c79c047e374c0ab689998af39
2011-11-11 09:46:25 +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
Christian Kamm
0b75a66407
QmlJS: Support module apis defined by QML modules.
...
Change-Id: I18ec9daf8088f7db5ff2da11da14b539f501bab3
Reviewed-by: Fawzi Mohamed <fawzi.mohamed@nokia.com >
2011-10-21 08:21:00 +02:00
Christian Kamm
3d4e508d0c
QmlJS: Improve error message.
...
This first line of an error needs to make sense on its own.
Change-Id: Ibf3bce7107e8b3df8fa4d0e75924945027678c63
Reviewed-on: http://codereview.qt-project.org/6114
Reviewed-by: Christian Kamm <christian.d.kamm@nokia.com >
2011-10-06 09:11:46 +02:00
Friedemann Kleint
580f834a5d
tr()-Fixes for 2.4
...
Change-Id: I151e75ebec7bff17a3779f1b367849ca514512c6
Reviewed-on: http://codereview.qt-project.org/5550
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com >
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com >
2011-09-26 16:54:45 +02:00
Christian Kamm
3a110439e9
QmlJS: Only try qmldump on Desktop and Simulator Qt.
...
In particular, don't complain about a missing qmldump binary on other
platforms.
Change-Id: Ie2e96bcb67e609aa5aed31510b06139d2d9ce77e
Reviewed-on: http://codereview.qt-project.org/5327
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com >
Reviewed-by: Leandro T. C. Melo <leandro.melo@nokia.com >
2011-09-21 16:03:41 +02:00
Christian Kamm
43a6a6d58c
QmlJS: Improve import error messages.
...
Change-Id: Ief305b787fbc4577acfdec41083bc72e178db46d
Reviewed-on: http://codereview.qt-project.org/4537
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@nokia.com >
2011-09-14 11:03:16 +02:00
Christian Kamm
bfc95befa8
QmlJS: Honor typeinfo lines in qmldir files.
...
Change-Id: I1ddad1eb031bc4b95671be4a474b5e8e72f6e350
Reviewed-on: http://codereview.qt-project.org/4137
Reviewed-by: Fawzi Mohamed <fawzi.mohamed@nokia.com >
2011-09-08 12:34:32 +02:00
Christian Kamm
8fbaa0d10a
QmlJS: Fix warnings about duplicate and empty file watchers.
...
Change-Id: Ia2d5f7588f1a5eb4192526e85b2569b4b175dad2
Reviewed-on: http://codereview.qt.nokia.com/3085
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com >
2011-08-17 12:08:38 +02:00
Christian Kamm
0e54183d4d
QmlJS: Remove Interpreter namespace.
...
The distinction between QmlJS and QmlJS::Interpreter has always been
weak and the extra namespace just added an unnecessary complication.
Change-Id: I4db8ef4bd91b5f6bf610a9d23fdbf55bd60250fc
Reviewed-on: http://codereview.qt.nokia.com/2743
Reviewed-by: Fawzi Mohamed <fawzi.mohamed@nokia.com >
2011-08-08 13:21:28 +02:00
Christian Kamm
4285b48455
QmlJS: Dump builtins per Qt version.
...
Change-Id: I7b5179c4b33c24e83baf0536d158dd48d277637f
Reviewed-on: http://codereview.qt.nokia.com/1305
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com >
Reviewed-by: Fawzi Mohamed <fawzi.mohamed@nokia.com >
2011-07-11 11:28:38 +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
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
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
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
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
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
315fc34f3b
qmldump: Produce an error message if module import fails.
...
Reviewed-by: Kai Koehne
2011-01-21 10:28:19 +01:00
con
d1023c7614
It's 2011 now.
...
Reviewed-by: hjk
2011-01-12 09:46:24 +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
5de7be5f91
LanguageUtils: Add FakeMetaObject and ComponentVersion.
2011-01-04 15:58:21 +01:00
con
23c22b7c66
License headers, part 2
2010-12-17 17:14:20 +01:00
Christian Kamm
3fcbbd1a65
QmlJS: Allow QML plugins to ship pre-dumped type descriptions.
...
If there's a library.xml file next to the qmldir file, Creator will
read that instead of trying to run qmldump on the library.
Reviewed-by: Erik Verbruggen
2010-11-26 14:27:13 +01:00
Christian Kamm
5dd92328fb
QmlJS: Improve error reporting for failed plugin dumps.
...
Reviewed-by: Erik Verbruggen
2010-11-25 15:06:44 +01:00