Commit Graph

22 Commits

Author SHA1 Message Date
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
Christian Kamm
2b1fe08641 QmlJS: Move plugin dumping code and redump on file change.
Task-number: QTCREATORBUG-3047
Reviewed-by: Erik Verbruggen
2010-11-11 12:27:50 +01:00