summaryrefslogtreecommitdiff
path: root/src/libs/cplusplus
Commit message (Collapse)AuthorAgeFilesLines
* Debugger[CDB]: Fix breakpoint location correction in constructors.Friedemann Kleint2011-07-251-6/+1
| | | | | | | Change-Id: I638554936eae2db7ff2f55508d13f1c52c07f17d Reviewed-on: http://codereview.qt.nokia.com/2114 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Erik Verbruggen <erik.verbruggen@nokia.com>
* corrected license headersThomas Murach2011-07-062-0/+64
| | | | | | | Change-Id: I56fa50745a80abf52488bebe6a5a72cf26932a8b Merge-request: 352 Reviewed-by: Tobias Hunger <tobias.hunger@nokia.com> Reviewed-on: http://codereview.qt.nokia.com/1251
* C++ editor: Remove unnecessary line split in find usagesLeandro Melo2011-05-311-3/+30
| | | | | | | | | Avoid extra allocations since we only the actual line for the case. Change-Id: I0d0f0db394d9075bbdce24d1d5b5efa55c52f9b3 Reviewed-on: http://codereview.qt.nokia.com/261 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Erik Verbruggen <erik.verbruggen@nokia.com>
* cplusplus: remove unneeded declaration and destructorhjk2011-05-302-5/+0
| | | | | | Change-Id: I5177c5d46409225a8debda2e0f78fffdea27b266 Reviewed-on: http://codereview.qt.nokia.com/208 Reviewed-by: hjk <qthjk@ovi.com>
* C++ editor: Remove scanning/caching of includesLeandro Melo2011-05-181-2/+0
| | | | | | | With the completion now in a separate thread this should no longer be necessary. Reviewed-by: Roberto Raggi
* fix compile of plugins which use #include <cplusplus/foo.h>Oswald Buddenhagen2011-05-161-1/+1
|
* move src/shared/cplusplus/ -> src/libs/3rdparty/cplusplus/Oswald Buddenhagen2011-05-162-3/+3
| | | | Approved-by: legal
* Fixed auto-test, added constant, and added a bit of doxymentation.Erik Verbruggen2011-05-092-4/+14
|
* Class to find breakpoint positions for CDB.Erik Verbruggen2011-05-093-2/+291
| | | | Reviewed-by: Friedemann Kleint
* Fix/add copyright headersTobias Hunger2011-05-0662-62/+62
| | | | Change-Id: I8b73d583be1ee7183f4074bce49d5390e38631a2
* Fix more krazy warnings.Friedemann Kleint2011-04-192-2/+2
|
* Update license.hjk2011-04-1362-868/+806
|
* Fixed an off-by-one array-out-of-bounds bug.Erik Verbruggen2011-04-111-3/+3
| | | | Reviewed-by: Lasse Holmstedt
* clean up DEPENDPATH insanityOswald Buddenhagen2011-03-091-2/+0
| | | | | | | | simply add CONFIG += depend_includepath to qtcreator.pri and remove all the manual DEPENDPATHs, as half of them were missing anyway, and i wouldn't expect it to ever change. not touching src/shared/ for syncing reasons.
* QmlJS: Disable possibly confusing warnings on qmlRegisterType.Christian Kamm2011-03-031-5/+8
| | | | | Reviewed-by: Roberto Raggi Reviewed-by: Erik Verbruggen
* s:// end of namespace :// namespace :g for consistencyhjk2011-02-0419-19/+19
| | | | We use the latter style everywhere else to signify the end of a namespace block.
* Fixed out-of-bounds when originalSource was not explicitly supplied.Erik Verbruggen2011-01-272-1/+29
| | | | Task-number: QTCREATORBUG-3613
* Header cleanup in src, specify module name.Friedemann Kleint2011-01-241-2/+2
|
* Exported header cleanup.Friedemann Kleint2011-01-209-11/+18
|
* Fixed the line retreival for find-usages.Erik Verbruggen2011-01-172-27/+6
| | | | | | | | Instead of using the pre-processed source, the original one is used. This makes a difference when a macro is used in the line, where the pre- processed source would have a "#gen true" token. Task-number: QTCREATORBUG-3345
* Fix find-usages in template classes.Erik Verbruggen2011-01-171-1/+5
| | | | | | | | | The problem was that the scope of the class declaration in a template-class declaration is the template, not the scope in which that template is defined. The scope-check was not taking this into account. Task-number: QTCREATORBUG-3183 Reviewed-by: Roberto Raggi
* It's 2011 now.con2011-01-1262-62/+62
| | | | Reviewed-by: hjk
* C++/Qml: Don't allow exported types to override builtins.Christian Kamm2011-01-101-2/+2
| | | | | | | There was trouble when a plugin qmlRegisterType'd something like 'Item' into the global default module. Reviewed-by: Roberto Raggi
* Qml/C++: Fix performance problem with type extraction.Christian Kamm2011-01-061-1/+1
| | | | | | By moving the offending code into a background thread. Reviewed-by: Erik Verbruggen
* Qml/C++: Allow dynamic uri in qmlRegisterType if fixed by Q_ASSERT.Christian Kamm2011-01-061-12/+134
| | | | Reviewed-by: Erik Verbruggen
* QmlJS: Add refcounting to FakeMetaObjects.Christian Kamm2011-01-061-1/+1
| | | | | | | | | | 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
* Qml-C++: Find C++ qmlRegisterType calls and populate QML code model.Christian Kamm2011-01-043-0/+135
| | | | Reviewed-by: Erik Verbruggen
* C++: Add parsing of Q_PRIVATE_PROPERTY.Christian Kamm2011-01-041-0/+2
| | | | Reviewed-by: Roberto Raggi
* C++: Fix bind of Q_INVOKABLE functions.Christian Kamm2011-01-041-0/+2
| | | | Reviewed-by: Roberto Raggi
* C++: Move the ModelManagerInterface from CppTools to CPlusPlus.Christian Kamm2011-01-043-2/+221
|
* LanguageUtils: Introduce new library for cross-language utils.Christian Kamm2011-01-041-0/+1
|
* License headers, part 2con2010-12-174-28/+44
|
* Merge branch '2.1'con2010-12-1756-392/+616
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/plugins/coreplugin/basemode.cpp src/plugins/coreplugin/basemode.h src/plugins/coreplugin/scriptmanager/qworkbench_wrapper.cpp src/plugins/coreplugin/scriptmanager/qworkbench_wrapper.h src/plugins/debugger/cdb/cdbsymbolpathlisteditor.cpp src/plugins/debugger/debuggeragents.cpp src/plugins/debugger/debuggeruiswitcher.cpp src/plugins/debugger/debuggeruiswitcher.h src/plugins/projectexplorer/buildconfigdialog.cpp src/plugins/qmldesigner/components/propertyeditor/colorwidget.cpp src/plugins/qmldesigner/components/propertyeditor/colorwidget.h src/plugins/qmldesigner/designercore/include/enumeratormetainfo.h src/plugins/qmldesigner/designercore/include/modelutilities.h src/plugins/qmldesigner/designercore/include/nodeinstance.h src/plugins/qmldesigner/designercore/include/propertymetainfo.h src/plugins/qmldesigner/designercore/instances/graphicsscenenodeinstance.cpp src/plugins/qmldesigner/designercore/instances/graphicsscenenodeinstance.h src/plugins/qmldesigner/designercore/instances/graphicsviewnodeinstance.cpp src/plugins/qmldesigner/designercore/instances/graphicswidgetnodeinstance.cpp src/plugins/qmldesigner/designercore/instances/graphicswidgetnodeinstance.h src/plugins/qmldesigner/designercore/instances/nodeinstance.cpp src/plugins/qmldesigner/designercore/instances/qmlviewnodeinstance.cpp src/plugins/qmldesigner/designercore/instances/widgetnodeinstance.cpp src/plugins/qmldesigner/designercore/instances/widgetnodeinstance.h src/plugins/qmldesigner/designercore/metainfo/enumeratormetainfo.cpp src/plugins/qmldesigner/designercore/metainfo/propertymetainfo.cpp src/plugins/qmldesigner/designercore/model/modelutilities.cpp src/plugins/snippets/inputwidget.cpp src/plugins/snippets/snippetscompletion.cpp src/plugins/snippets/snippetscompletion.h src/plugins/snippets/snippetspec.cpp src/plugins/snippets/snippetsplugin.cpp src/plugins/snippets/snippetswindow.cpp src/plugins/snippets/snippetswindow.h src/plugins/texteditor/snippetsparser.cpp src/tools/qml/qmldom/main.cpp tests/manual/trk/runner.cpp tests/manual/trk/trkolddevice.cpp tests/manual/trk/trkolddevice.h tests/manual/trk/trkserver.cpp
| * License headers.con2010-12-1756-392/+616
| |
* | Introduced CPlusPlus::SymbolNameVisitor and CPlusPlus::SnapshotSymbolVisitor.Roberto Raggi2010-12-155-0/+228
| |
* | Fixes: More autotest cleanup (now release target builds too)Bill King2010-12-141-0/+2
| |
* | Added some initial support for function overloading.Roberto Raggi2010-12-105-36/+124
| |
* | Skip using namespace directives when searching for declarations.Roberto Raggi2010-12-031-0/+4
| |
* | Debugger/CPP: Move helpers to simplify types to CPlusPlus-lib.Friedemann Kleint2010-11-252-8/+183
| | | | | | | | | | | | | | Make available for log simplification, etc. Add autotest, fix broken std::set and MSVC. Rubber-stamped-by: Christian Kamm <christian.d.kamm@nokia.com>
* | C++: implemented switch decl to def for operatorsErik Verbruggen2010-11-191-6/+29
| | | | | | | | | | Task-number: QTCREATORBUG-2313 Reviewed-by: Roberto Raggi
* | Make tests compile on Mac. Use qtLibraryName instead of qtLibraryTarget.con2010-11-011-1/+1
|/ | | | | | qtLibraryTarget is only defined if used with TEMPLATE=lib, which makes it fail in pri files that are used for app pro files. The tests still don't run because of run time linking issues.
* C++ Editor: check for method existing decl/def when inserting new ones.Erik Verbruggen2010-10-081-0/+2
|
* Resolve local using namespace directives.Roberto Raggi2010-10-051-14/+21
| | | | Reviewed-by: Erik Verbruggen
* C++: added quickfix to insert a method definition.Erik Verbruggen2010-09-303-413/+2
| | | | Reviewed-by: Christian Kamm
* Fixed compiler warnings.Erik Verbruggen2010-09-272-10/+3
| | | | (cherry picked from commit b049937ae013b47e9b86aacd60325dbd382319ed)
* C++: make InsertionPointLocator ready for re-use.Erik Verbruggen2010-09-272-14/+48
| | | | (cherry picked from commit 519f1d11947ff3109850e559fae868c4a55deb43)
* Added ResolveExpression::context()Roberto Raggi2010-09-222-0/+6
|
* Keep the lookup context alive.Roberto Raggi2010-09-221-1/+6
|
* C++: fixed completion in braceless statements following a control statement.Erik Verbruggen2010-09-091-1/+3
| | | | | | | | | | | - Changed generator to generate: - Changed AST::lastToken to return 1 if there is none - Changed Bind.cpp to set the scope of the block following a control statement to extend upto (and not including) the first token after the block. So basically, including any whitespace after the control statement. Reviewed-by: Roberto Raggi
* CppTools: Added skipComments flag.Erik Verbruggen2010-09-092-3/+7
|