summaryrefslogtreecommitdiff
path: root/src/plugins/qmljseditor/qmljsmodelmanager.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Move shared code to a new QmlJSTools plugin.Christian Kamm2010-11-111-594/+0
| | | | Reviewed-by: Thomas Hartmann
* QmlJS: Fix code model update when project filelist changes.Christian Kamm2010-11-091-0/+23
| | | | | Task-number: QTCREATORBUG-2986 Reviewed-by: Roberto Raggi
* Debugger/JS Code model: Set environment for QML tools correctly.Friedemann Kleint2010-10-261-0/+1
| | | | | | | | | Set complete build environment (MinGW). Reviewed-by: Christian Kamm <christian.d.kamm@nokia.com> Reviewed-by: Kai Koehne <kai.koehne@nokia.com> Task-number: QTCREATORBUG-2883
* QmlJS: Simplify document and library updating.Christian Kamm2010-10-151-23/+16
| | | | | | | | | | It is now guaranteed that the ModelManager's snapshot will be updated before the documentChanged/libraryInfoChanged signals are emitted. Whether the updated document/library is already in the snapshot or not was undefined before. Task-number: QTCREATORBUG-2640 Reviewed-by: Roberto Raggi
* QmlJS: Fix plugin dumpers running all the time if dump fails.Christian Kamm2010-10-141-18/+23
| | | | | Task-number: QTCREATORBUG-2733 Reviewed-by: Kai Koehne
* QML Observer: Build together on runtime with debugging toolsLasse Holmstedt2010-09-291-20/+7
| | | | | | | | Moved qmljsdebugger to a dir under qml/, made qmlobserver compile without creator dependencies and made it compile with debugging helpers. Reviewed-by: hjk
* Compile qmldump with debugging helpersLasse Holmstedt2010-09-291-10/+8
| | | | | | | Must be compiled during runtime - otherwise, the app may not work with Qt that is compiled with another compiler. Reviewed-by: hjk
* QmlJS: Add initial 'Find Usages' support.Christian Kamm2010-09-241-27/+24
|
* QmlJS: Speed up Link significantly, provide more info on imports.Christian Kamm2010-09-161-12/+13
| | | | | | | | | | | | Link now caches imports. That means importing the same library (say, Qt) from more than one file no longer creates an importing namespace for each one. Instead, a single one is created for the instance of Link. To make this work, the type environment in ScopeChain has been given its own type: Interpreter::TypeEnvironment. That has the added benefit of being able to carry meta-information about imports. You can use TypeEnvironment::importInfo(qmlComponentName) to get information about the import node that caused the import of the component.
* Qml: Make import classification in Bind less verbose.Christian Kamm2010-09-161-11/+14
|
* Qml: Write qmldump errors to 'General messages'.Christian Kamm2010-09-151-3/+27
| | | | | | | This should make it easier to debug problems with Qml plugin type dumping. Reviewed-by: Roberto Raggi
* MIME database: Add support for attribut weight; Add magic matcher for byte ↵Leandro Melo2010-09-131-4/+4
| | | | | | | | | | patterns. This affects how files are identified by the MIME database. Although this is a general improvement, it was triggered by the following bug report. Task-number: QTCREATORBUG-1793 Reviewed-by: Friedemann Kleint
* QmlJS: Fix import path list growing over time.Christian Kamm2010-09-081-0/+2
| | | | Reviewed-by: Roberto Raggi
* Concate strings instead of using the QDir API to speed up the linking phase.Roberto Raggi2010-09-081-2/+3
| | | | Reviewed-by: Christian Kamm
* Introduced SemanticInfo::isValid().Roberto Raggi2010-09-081-1/+6
|
* QmlJS: Fix running qmldump on plugins that require a specific uri.Christian Kamm2010-08-251-6/+18
| | | | | | | | | | | | | The builtin QML plugins require to be imported with the full uri, i.e. import Qt.labs.particles 1.0 so setting the import path to imports/Qt/labs and doing import particles 1.0 is not supposed to work. (see QTBUG-11139) This change adjusts qmldump to take an import path *and* the import uri, so it will be able to dump the type information for these plugins. Reviewed-by: Erik Verbruggen
* Truned qmldump into an .app, and suppress its dock icon.Erik Verbruggen2010-08-241-4/+8
|
* Renamed QmlJS::Document::documentRevision().Roberto Raggi2010-07-071-1/+1
|
* QmlJS: Fix import path handling in the model manager.Christian Kamm2010-06-221-18/+48
| | | | | | | | Previously, the model manager always had exactly one import path - but you can open more than one Qml project at once. Now, we store the union of all import paths in the model manager. Reviewed-by: Roberto Raggi
* QmlJS: Revert to supplying a xml file for builtin type information.Christian Kamm2010-06-211-1/+3
| | | | | | | | | It'll be much saver to move to the qmldump based functionality once it has been moved into Qt. Essentially reverts: 45415783e7e29b2cd5a24c460fe2865a3b01cd18 Reviewed-by: Erik Verbruggen
* QmlJS: Get rid of xml file describing qml builtin types.Christian Kamm2010-06-101-3/+10
| | | | The type information is now generated at runtime.
* QmlJS: Store plugin metatypes in LibraryInfo. Rework type loading.Christian Kamm2010-06-091-2/+64
|
* QmlJS: Get at types defined in plugins by running qmldump on them.Christian Kamm2010-06-091-1/+4
| | | | | Task-number: QTCREATORBUG-1021 Reviewed-by: Roberto Raggi
* QmlJS: Collect import version numbers in Bind.Christian Kamm2010-06-091-10/+10
|
* Fixed QTCREATORBUG-1397.Erik Verbruggen2010-05-181-0/+10
| | | | | | | When adding a new file, refreshing semantic errors in the open editor should have worked. It now also works for removing existing files. Done-with: Christian Kamm
* QmlJS: The qml document's path is no longer an implicit import path.Christian Kamm2010-04-261-2/+1
|
* QmlJS: Set importing scopes for scripts correctly.Christian Kamm2010-04-221-11/+8
| | | | | | They had not yet been updated to the new way of importing javascript. Reviewed-by: Erik Verbruggen
* Emit extra signals to have the task manager show issues on project-load.Erik Verbruggen2010-04-161-5/+8
|
* Hooked up the QML task manager again.Erik Verbruggen2010-04-161-2/+15
| | | | | The QML task manager behaviour is to show warnings/errors for _saved_ files only.
* QmlJSEditor: When looking for qml libraries scan the current doc's path.Christian Kamm2010-04-071-1/+3
| | | | Reviewed-by: Erik Verbruggen
* QmlJSEditor: Build Snapshot by looking at imports of parsed files.Christian Kamm2010-04-061-106/+132
| | | | | | | | | Previously we just scanned every directory containing a qml file for other qml files. This makes import ".." work. Reviewed-by: Erik Verbruggen
* QmlJSEditor: Fix file/directory imports for qml files not in a project.Christian Kamm2010-03-311-1/+13
| | | | Reviewed-by: Roberto Raggi
* Read qmldir files in a thread and cache them in Snapshot.Christian Kamm2010-03-181-2/+36
| | | | Reviewed-by: Erik Verbruggen
* Improve Qml code model import handling.Christian Kamm2010-03-181-0/+105
| | | | | | | | | * Fill the snapshot with files that could be imported. * Implement package imports. * The qmldir file is not parsed yet. Reviewed-by: Erik Verbruggen
* Long live the king!hjk2010-03-051-1/+1
|
* Removed private header dependencies and introduced loading QML types from ↵Erik Verbruggen2010-03-011-0/+20
| | | | XML file.
* Check the file's mimetype before creating QML/JS documents.Roberto Raggi2010-02-151-7/+14
|
* Renamed qmlmodelmanager.Roberto Raggi2010-02-151-0/+206