- 19 Sep, 2014 1 commit
-
-
hjk authored
Replace the CppModelManagerInterface/derived CppModelManager combo by a more common CppModelManager/CppModelManagerPrivate pimpl pattern. Change-Id: Ia4582845ed94d5ef60b8571bab9b2260c6290287 Reviewed-by:
Nikolai Kosjar <nikolai.kosjar@digia.com>
-
- 02 Sep, 2014 2 commits
-
-
Eike Ziller authored
instead of manually adding a context everywhere. Change-Id: I4336015a6d19349171a255e949da89b0013d6700 Reviewed-by:
hjk <hjk121@nokiamail.com>
-
hjk authored
Only used there, and avoids back-links to editors. Change-Id: I81206057ce89d42aef7febb840cf9e44b869df0e Reviewed-by:
Christian Stenger <christian.stenger@digia.com>
-
- 27 Aug, 2014 3 commits
-
-
hjk authored
Change-Id: I947f76b4dbc3a197cd49993855c3b0f5e3dc7b49 Reviewed-by:
Christian Stenger <christian.stenger@digia.com>
-
hjk authored
Better in line with the rest. Change-Id: I692c8b6b9bebf22f059709fb60e53ea04fcb7d53 Reviewed-by:
Christian Stenger <christian.stenger@digia.com> Reviewed-by:
hjk <hjk121@nokiamail.com>
-
Eike Ziller authored
Remove usage of the Q_EXPORT_PLUGIN macros, which do not exist in Qt 5. Change-Id: I678c3cf10b9c5d5c1b9f252b0ecd1c97dc810a47 Reviewed-by:
hjk <hjk121@nokiamail.com> Reviewed-by:
Christian Stenger <christian.stenger@digia.com>
-
- 25 Aug, 2014 1 commit
-
-
Nikolai Kosjar authored
This mainly takes CppEditorSupport apart. * Parsing is now invoked by CPPEditorDocument itself by listening to QTextDocument::contentsChanged(). * Upon construction and destruction CPPEditorDocument creates and deletes an EditorDocumentHandle for (un)registration in the model manager. This handle provides everything to generate the working copy and to access the editor document processor. * A CPPEditorDocument owns a BaseEditorDocumentProcessor instance that controls parsing, semantic info recalculation and the semantic highlighting for the document. This is more or less what is left from CppEditorSupport and can be considered as the backend of a CPPEditorDocument. CPPEditorDocument itself is quite small. * BuiltinEditorDocumentProcessor and ClangEditorDocumentProcessor derive from BaseEditorDocumentProcessor and implement the gaps. * Since the semantic info calculation was bound to the widget, it also calculated the local uses, which depend on the cursor position. This calculation got moved into the extracted class UseSeletionsUpdater in the cppeditor plugin, which is run once the cursor position changes or the semantic info document is updated. * Some more logic got extracted: - SemanticInfoUpdater (logic was in CppEditorSupport) - SemanticHighlighter (logic was in CppEditorSupport) * The *Parser and *Processor classes can be easily accessed by the static function get(). * CppHighlightingSupport is gone since it turned out to be useless. * The editor dependency in CompletionAssistProviders is gone since we actually only need the file path now. Change-Id: I49d3a7bd138c5ed9620123e34480772535156508 Reviewed-by:
Orgad Shaneh <orgads@gmail.com> Reviewed-by:
Erik Verbruggen <erik.verbruggen@digia.com>
-
- 22 Aug, 2014 1 commit
-
-
hjk authored
This needs more reorganization. For now, use a method to add cpp editor support directly without relying on a fully set up editor/widget/document combo. Change-Id: Id8631c75ccd209f418faef31f8b8a4c71e53d87d Reviewed-by:
Christian Stenger <christian.stenger@digia.com>
-
- 20 Aug, 2014 1 commit
-
-
hjk authored
All editors did that manually, with varying approaches. Connect once when the document is made known to the EditorWidget instead. Change-Id: Ib0828b08158539859f6f89c8080435a027aa06ed Reviewed-by:
Christian Stenger <christian.stenger@digia.com>
-
- 19 Aug, 2014 1 commit
-
-
hjk authored
Change-Id: I45d87d0be722ac36d64af222f03f8cb76242c9df Reviewed-by:
Christian Stenger <christian.stenger@digia.com>
-
- 18 Aug, 2014 1 commit
-
-
hjk authored
Change-Id: I6462403d2d06c7c6c3f79627fbba80f0ce0683ef Reviewed-by:
Nikolai Kosjar <nikolai.kosjar@digia.com>
-
- 31 Jul, 2014 1 commit
-
-
hjk authored
The base pattern is FooEditor for BaseTextEditor derived classes and FooEditorWidget for BaseTextEditorWidget derived classes. So: CPPEditorWidget -> CppEditorWidget CPPEditorWidgetPrivate -> CppEditorWidgetPrivate ...::EditorWidget -> PythonEditorWidget GLSLTextEditorWidget -> GlslEditorWidget GLSLEditorEditable -> GlslEditor Change-Id: I76d34a3694c2fb35491982d86e83f7e4774c0be6 Reviewed-by:
Daniel Teske <daniel.teske@digia.com> Reviewed-by:
Christian Stenger <christian.stenger@digia.com>
-
- 26 Jun, 2014 1 commit
-
-
hjk authored
Change-Id: I555639a9137dcb8ccb471e1615823870c8158b3c Reviewed-by:
Daniel Teske <daniel.teske@digia.com> Reviewed-by:
hjk <hjk121@nokiamail.com>
-
- 13 Jun, 2014 1 commit
-
-
Nikolai Kosjar authored
Change-Id: I3b41f91f17ce9fb24796f2f6bff353fb3c6177ec Reviewed-by:
Erik Verbruggen <erik.verbruggen@digia.com>
-
- 10 Jun, 2014 1 commit
-
-
Nikolai Kosjar authored
* Excess includes and forward declarations * Access protection levels * QTC_OVERRIDE * Remove declared but not implemented/used functions. * Remove unused class Change-Id: Ia19ddddccd9adde827a7875b466fde5ca4d96e7d Reviewed-by:
Erik Verbruggen <erik.verbruggen@digia.com>
-
- 26 May, 2014 1 commit
-
-
Tobias Hunger authored
Start at splitting up the wizard functionality a bit. Currently it is a factory but also contains a lot of logic that is invoked by the real wizard dialogs. This change renames/moves a couple of things only. Change-Id: I1fa114ee3ee262f7c0690841f361bbf09e674725 Reviewed-by:
Orgad Shaneh <orgads@gmail.com>
-
- 05 Mar, 2014 1 commit
-
-
Nikolai Kosjar authored
Change-Id: Icd20ec482542011476d1baf1fa81d5584b3df1c6 Reviewed-by:
Eike Ziller <eike.ziller@digia.com> Reviewed-by:
hjk <hjk121@nokiamail.com>
-
- 08 Jan, 2014 2 commits
-
-
Eike Ziller authored
It was never called with a sensible value anyhow, and only complicates things. Change-Id: I005848700b6c00114d91495670d4a0e15a2d2e64 Reviewed-by:
Eike Ziller <eike.ziller@digia.com>
-
Robert Loehning authored
Change-Id: Ib5423fdd064e4546f848c0b640b0ed0514c26d3a Reviewed-by:
Leena Miettinen <riitta-leena.miettinen@digia.com> Reviewed-by:
Kai Koehne <kai.koehne@digia.com>
-
- 07 Jan, 2014 1 commit
-
-
hjk authored
Now "alphabetically" instead of "file order". Change-Id: I9b534e9171fda59752ae430bede67561f8aa0038 Reviewed-by:
Eike Ziller <eike.ziller@digia.com>
-
- 12 Dec, 2013 2 commits
-
-
Eike Ziller authored
The action handler implicitly passed ownership to ICore, which is non- to the action handler. We now consistently create the action handler in the editor factory, give ownership to the editor factory, and don't hold a reference to it. Change-Id: I4372f8de966e3ceff87c06c5528c6b54522c1d57 Reviewed-by:
David Schulz <david.schulz@digia.com>
-
Eike Ziller authored
The action handler already knows which editors to handle through the context. It only needs to receive signals for updating the actions from the current editor. So there is no need to tell the action handler about every individual editor. This also removes some noise from the text editor implementations. Change-Id: I76dc5b1559cc8cf54ff313e6cdba4e789a3108aa Reviewed-by:
David Schulz <david.schulz@digia.com>
-
- 11 Dec, 2013 1 commit
-
-
Nikolai Kosjar authored
By default invokable via Ctrl+Shift+F12. Change-Id: If8d61233b6d38d12131718f7c20bf40f76bc9ae4 Reviewed-by:
Erik Verbruggen <erik.verbruggen@digia.com>
-
- 21 Nov, 2013 1 commit
-
-
Erik Verbruggen authored
This was done to do a semantic re-highlight, but the CppEditorSupport now handles this by also listening for currentEditorChanged signals. Change-Id: Iaca6212f88c8d02203727f5d89d093c328b9e33c Reviewed-by:
Nikolai Kosjar <nikolai.kosjar@digia.com>
-
- 24 Oct, 2013 1 commit
-
-
Eike Ziller authored
Change-Id: Iad756a8f18736da79cca63232eb00fcee8a2f38c Reviewed-by:
David Schulz <david.schulz@digia.com>
-
- 21 Oct, 2013 2 commits
-
-
Nikolai Kosjar authored
Change-Id: Ifeff4455b1ce0a0a7299f009beaf6319e9abb523 Reviewed-by:
David Schulz <david.schulz@digia.com>
-
David Schulz authored
Change-Id: I5ed09f6b8a358652145012e137ab717729999aca Reviewed-by:
Nikolai Kosjar <nikolai.kosjar@digia.com>
-
- 10 Oct, 2013 1 commit
-
-
Nikolai Kosjar authored
Only methods as programming functions are affected. Besides renaming some actions like "Switch Between Function Declaration/Definition" this mostly touches (api) code comments. This is a follow-up patch to commit 872bfb70. Change-Id: Icb65e8d73b59a022f8885b14df497169543a3b92 Reviewed-by:
hjk <hjk121@nokiamail.com>
-
- 04 Oct, 2013 1 commit
-
-
Nikolai Kosjar authored
It was not clear what "Update Code Model" did. Change-Id: I245307039f8770047b80c7234481099edfe60bc9 Reviewed-by:
Leena Miettinen <riitta-leena.miettinen@digia.com> Reviewed-by:
Eike Ziller <eike.ziller@digia.com>
-
- 01 Oct, 2013 1 commit
-
-
Przemyslaw Gorszkowski authored
Based on type hierarchy. Added to context menu ('Open Include Hierarchy') Shortcut(Ctrl+Shift+I) 'Include Hierarchy' contains: FileName for which 'Include Hierarchy' is done Includes(which files are included by current file - tree hierarchy) Included by(which files include current file - tree hierarchy) It is possible to open/goto each file by clicking on specific item. Additionally for 'Included by' files it goes to the line where is include directive for current file. Change-Id: I549b1ed64e4c9f6955f60d00efb12950a3259f81 Reviewed-by:
Nikolai Kosjar <nikolai.kosjar@digia.com>
-
- 24 Sep, 2013 1 commit
-
-
hjk authored
Added 639 lines, removed 1391. Change-Id: I15ec7dd056d4f7ad79c6dd6a4181007ad14f6a43 Reviewed-by:
Tobias Hunger <tobias.hunger@digia.com>
-
- 20 Sep, 2013 1 commit
-
-
hjk authored
Change-Id: I4e6f573d893c0aa2bb4ca9812fc8db2961dac172 Reviewed-by:
Tobias Hunger <tobias.hunger@digia.com>
-
- 13 Sep, 2013 1 commit
-
-
hjk authored
Change-Id: I98c3c8796cb887f5bb3c5184854562ff36727836 Reviewed-by:
Christian Kandeler <christian.kandeler@digia.com>
-
- 04 Sep, 2013 1 commit
-
-
hjk authored
Change-Id: I72993fda50ad70ad2d7c2f449923ac6e34b9e737 Reviewed-by:
Tobias Hunger <tobias.hunger@digia.com>
-
- 03 Sep, 2013 1 commit
-
-
hjk authored
Also adjust and streamline using and surrounding code. Change-Id: I6a8b05126bdcbb74ff611b21c7cb3c5902a2d5ca Reviewed-by:
Tobias Hunger <tobias.hunger@digia.com> Reviewed-by:
Orgad Shaneh <orgads@gmail.com>
-
- 02 Sep, 2013 1 commit
-
-
hjk authored
Change-Id: I4af8793ca69a3af9e99baeb7c31dad3864266f91 Reviewed-by:
Tobias Hunger <tobias.hunger@digia.com>
-
- 30 Aug, 2013 1 commit
-
-
hjk authored
In the majority of cases we were doing that anyways, having two ways is just needlessly confusing. Change-Id: Ied362a702c23beee528368d74df1f2aabe5807f8 Reviewed-by:
Tobias Hunger <tobias.hunger@digia.com>
-
- 29 Aug, 2013 1 commit
-
-
jkobus authored
All Qt Creator's main highlighters are used in the first place, for other mimetypes generic highlighter is used as a fallback. Task-number: QTCREATORBUG-9580 Change-Id: I863b9085520e5bdda142ce88f2074afeacee0531 Reviewed-by:
Orgad Shaneh <orgads@gmail.com> Reviewed-by:
Petar Perisin <petar.perisin@gmail.com> Reviewed-by:
Jarek Kobus <jaroslaw.kobus@digia.com>
-
- 02 Aug, 2013 1 commit
-
-
hjk authored
Change-Id: I014cb57460c4e3a36bf7403960908b5ffec867ff Reviewed-by:
David Schulz <david.schulz@digia.com>
-
- 25 Jul, 2013 1 commit
-
-
Nikolai Kosjar authored
Change-Id: I216b74933f5e94c49be7f05f0b09ac01b3319d8c Reviewed-by:
Aurindam Jana <aurindam.jana@digia.com>
-