- 23 May, 2014 22 commits
-
-
Nikolai Kosjar authored
...instead CppModelManager::snapshot().document(). Change-Id: If79bc03d062d309bbf6d4b229255ba281cddf8d5 Reviewed-by:
Erik Verbruggen <erik.verbruggen@digia.com>
-
Nikolai Kosjar authored
...since it's superseded by the class Matcher. For consistency, rename FullySpecifiedType::isEqualTo() to match(). Change-Id: I07640f9218d814e0350265de45f05929e5d595a9 Reviewed-by:
Erik Verbruggen <erik.verbruggen@digia.com>
-
Nikolai Kosjar authored
...before using Matcher instead of {Type,Name}::isEqualTo(). Change-Id: Iba1c04064799fe9c81fe997dbd54fc02b15cdec7 Reviewed-by:
Erik Verbruggen <erik.verbruggen@digia.com>
-
Nikolai Kosjar authored
Change-Id: I38d99b27ff76f44535c02c64886bede0a99c6225 Reviewed-by:
Erik Verbruggen <erik.verbruggen@digia.com>
-
Nikolai Kosjar authored
Auto tests should be preferred. Change-Id: I9fb81c9e0e3b0e72226a3d1193978d6fd1afa6b1 Reviewed-by:
Robert Loehning <robert.loehning@digia.com> Reviewed-by:
Christian Stenger <christian.stenger@digia.com> Reviewed-by:
Orgad Shaneh <orgads@gmail.com> Reviewed-by:
Erik Verbruggen <erik.verbruggen@digia.com>
-
Nikolai Kosjar authored
Change-Id: I9859ebbb57c1bb5b1382c7980bedb737df61542a Reviewed-by:
Erik Verbruggen <erik.verbruggen@digia.com>
-
Nikolai Kosjar authored
In most cases we need to work with the utf16 indices. Only in cppfindreferences the byte interface is still needed since there we read in files and work on a QByteArray to save memory. Change-Id: I6ef6a93fc1875a8c9a305c075d51a9ca034c41bb Reviewed-by:
Erik Verbruggen <erik.verbruggen@digia.com>
-
Nikolai Kosjar authored
* Consolidate code dealing with C++ identifiers into cpptoolsreuse.h * Handle code points that are represented with two QChars Change-Id: I4fb4435aa539f65d88598cac0b50629f33f32440 Reviewed-by:
Erik Verbruggen <erik.verbruggen@digia.com>
-
Christian Kandeler authored
Simply link to Core instead of duplicating all the files. There is a warning on Windows because one translation unit is present twice, but it seems to work anyway. Change-Id: I6c5af590a6051f5c2d810d9449ff5410cf94e78a Reviewed-by:
Joerg Bornemann <joerg.bornemann@digia.com>
-
Christian Kandeler authored
This is also what the Qt mkspecs do. Otherwise we get linker errors on some installations (where libc++abi is required). Change-Id: I1f204da8825ae4dfd4650b921c8e3f32e0ad6380 Reviewed-by:
Joerg Bornemann <joerg.bornemann@digia.com>
-
Nikolai Kosjar authored
Change-Id: I9843c4163aad3fa3f1bfa33060c76328fc2dc25a Reviewed-by:
Erik Verbruggen <erik.verbruggen@digia.com>
-
Nikolai Kosjar authored
This is necessary in order to add tests with multi-byte UTF-8 code points. Otherwise the initial and target source code marker positions will be calculated on the QByteArray (test code) but used with a QString (editor document). Change-Id: I108961b13d32912a4d3193cf26eb59f65d296f57 Reviewed-by:
Erik Verbruggen <erik.verbruggen@digia.com>
-
Nikolai Kosjar authored
...especially in CppTools/CppEditor where the offsets are used with a QString/QTextDocument. Change-Id: Ic6d18fbc01fb9cc899a9bd2d7424cd2edae487f1 Reviewed-by:
Erik Verbruggen <erik.verbruggen@digia.com>
-
Nikolai Kosjar authored
The Lexer can handle it now. Task-number: QTCREATORBUG-7356 Change-Id: I8c4b03a247656e013d44c3cedca4835e133d4036 Reviewed-by:
Erik Verbruggen <erik.verbruggen@digia.com>
-
Nikolai Kosjar authored
...and not byte offsets anymore. This is necessary in order to calculate the line and column numbers correctly with respect to unicode code points. Change-Id: I5d79857b3eaefeb8d563b4f1e3938a64debc5e08 Reviewed-by:
Erik Verbruggen <erik.verbruggen@digia.com>
-
Nikolai Kosjar authored
This will save us toLatin1() conversations in CppTools (which already holds UTF-8 encoded QByteArrays) and thus loss of information (see QTCREATORBUG-7356). It also gives us support for non-latin1 identifiers. API-wise the following functions are added to Token. In follow-up patches these will become handy in combination with QStrings. utf16chars() - aequivalent of bytes() utf16charsBegin() - aequivalent of bytesBegin() utf16charsEnd() - aequivalent of bytesEnd() Next steps: * Adapt functions from TranslationUnit. They should work with utf16 chars in order to calculate lines and columns correctly also for UTF-8 multi-byte code points. * Adapt the higher level clients: * Cpp{Tools,Editor} should expect UTF-8 encoded Literals. * Cpp{Tools,Editor}: When dealing with identifiers on the QString/QTextDocument layer, code points represendet by two QChars need to be respected, too. * Ensure Macro::offsets() and Document::MacroUse::{begin,end}() report offsets usable in CppEditor/CppTools. Addresses QTCREATORBUG-7356. Change-Id: I0791b5236be8215d24fb8e38a1f7cb0d279454c0 Reviewed-by:
Erik Verbruggen <erik.verbruggen@digia.com>
-
hjk authored
Change-Id: I95421efa219a85cb81bf1d6a4acbc71eef5736ac Reviewed-by:
Christian Stenger <christian.stenger@digia.com>
-
Fawzi Mohamed authored
Change-Id: I1b5a597d92e865d2235b15c62e3bbae362e5b7c0 Reviewed-by:
Thomas Hartmann <Thomas.Hartmann@digia.com>
-
Fawzi Mohamed authored
Change-Id: I3ae420ea29ed32b08f95f388b0ced5b5293219da Reviewed-by:
Thomas Hartmann <Thomas.Hartmann@digia.com>
-
Fawzi Mohamed authored
Change-Id: I85e29b0d60234407561ecbeb2883d68c1acb71d6 Reviewed-by:
Thomas Hartmann <Thomas.Hartmann@digia.com>
-
Fawzi Mohamed authored
adding functions to get a string description of fakemetaobjects and related fakemeta* objects Change-Id: Ic65033a245c028993dba1e8c65168a58fbdd8fbc Reviewed-by:
Thomas Hartmann <Thomas.Hartmann@digia.com>
-
Christian Stenger authored
...by adding capabilities that allow a better differentiation between Qt4 and Qt5 object structures. Change-Id: I025d8301c13922e369862eefaad848bbecc76030 Reviewed-by:
hjk <hjk121@nokiamail.com>
-
- 22 May, 2014 18 commits
-
-
Christian Kandeler authored
We accidentally added QT_NO_CAST_FROM_ASCII to the compiler command line in the last patch. Change-Id: I503d5b328d2ffb9812cd8cf79b5d52c8a76f07df Reviewed-by:
Joerg Bornemann <joerg.bornemann@digia.com>
-
El Mehdi Fekari authored
Change-Id: Ia48031a3347e6267d9f84b5850860903d40bc801 Reviewed-by:
Christian Kandeler <christian.kandeler@digia.com>
-
Christian Kandeler authored
Use the right type of include statement. Change-Id: I1bfce500de00687fb4f947a2ccf69f464f798134 Reviewed-by:
Mehdi Fekari <mfekari@blackberry.com> Reviewed-by:
Christian Kandeler <christian.kandeler@digia.com>
-
hjk authored
Change-Id: I0324c53b42424f25b1c70c10d3f31b515398712d Reviewed-by:
Tim Sander <tim@krieglstein.org> Reviewed-by:
hjk <hjk121@nokiamail.com>
-
Christian Stenger authored
Change-Id: Ia75c9d07967d0013f9a351e99757c0acb661d877 Reviewed-by:
hjk <hjk121@nokiamail.com>
-
Kai Koehne authored
Change-Id: Ia185f15cfdb6106e2212a21ebe4c6b84c9da1fc6 Reviewed-by:
Leena Miettinen <riitta-leena.miettinen@digia.com>
-
Thomas Hartmann authored
Controls can connect to this signal and commit data to the backend before the slection changes. This is required since editingFinished signals are usually triggered to "late". Change-Id: I99fa27064473ceee2d1a21b25f64a13370fb4cef Reviewed-by:
Thomas Hartmann <Thomas.Hartmann@digia.com>
-
Thomas Hartmann authored
Commit any data to the backend if the selection will change. The signal editingFinished is usually triggered to late. Change-Id: Ib7adfd32a50ae94b017a7587e81721176440a988 Reviewed-by:
Marco Bubke <marco.bubke@digia.com> Reviewed-by:
Tim Jenssen <tim.jenssen@digia.com>
-
Thomas Hartmann authored
This patch ensures that we only commit data to the backend if the text actually changed. The signal onEditingFinished is triggered even if the user did not edit the string. Change-Id: I2d54f3d79a1c60525e4c9744b364cc014bd407ce Reviewed-by:
Marco Bubke <marco.bubke@digia.com> Reviewed-by:
Tim Jenssen <tim.jenssen@digia.com>
-
El Mehdi Fekari authored
This is a first patch that adds basic support to manage user's QNX configurations. Change-Id: I273939d39e4353dabc2ae3873d7d7be6b3ca9d47 Reviewed-by:
Sergio Ahumada <sahumada@blackberry.com>
-
Tim Jenssen authored
Change-Id: I29d39230bd1f37cb3d57b14045717d893f51e122 Reviewed-by:
Marco Bubke <marco.bubke@digia.com>
-
Tim Jenssen authored
Change-Id: I86147f80a81ff9095c67bcb296488a2a7345434a Reviewed-by:
Marco Bubke <marco.bubke@digia.com>
-
Tim Jenssen authored
Change-Id: I8f038479f31a282db256144a3254e438eb6a629f Reviewed-by:
Marco Bubke <marco.bubke@digia.com>
-
Tim Jenssen authored
Change-Id: I2d2481e2f1a3e0f2d4a5807712e9435b3009e52d Reviewed-by:
Marco Bubke <marco.bubke@digia.com>
-
Orgad Shaneh authored
Change-Id: Id33e46f925c94a970b001e7f34b7deb56224cc97 Reviewed-by:
Marco Bubke <marco.bubke@digia.com>
-
Orgad Shaneh authored
m_resIconSize is passed to m_iconProvider's ctor, so it should be initialized first. Change-Id: I7a5dfb648cce029869b1e8a36eee761a5bd46faf Reviewed-by:
Marco Bubke <marco.bubke@digia.com>
-
Orgad Shaneh authored
Change-Id: I468b2bebec64680289b24044b0b4e3d5d734f604 Reviewed-by:
Tim Jenssen <tim.jenssen@digia.com> Reviewed-by:
Marco Bubke <marco.bubke@digia.com>
-
Leena Miettinen authored
In the FAQ, so that users can copy-paste paths. Task-number: QTCREATORBUG-12283 Change-Id: I4b0e7fda5c8877053d69b7b9b3f7f5f1c5093064 Reviewed-by:
Oswald Buddenhagen <oswald.buddenhagen@digia.com>
-