Erik Verbruggen
368d5926ca
C++: handle destructor names with template parameters.
...
Change-Id: I74b4fd5e043db935abc18345b303d294b71e8fc2
Reviewed-by: Tobias Hunger <tobias.hunger@nokia.com >
Reviewed-by: Erik Verbruggen <erik.verbruggen@nokia.com >
2012-02-23 08:39:34 +01:00
Erik Verbruggen
3fa55b7ab9
Removed module names from #include directives.
...
Getting the #include directives ready for Qt5. This includes the
new-project wizards.
Change-Id: Ia9261f1e8faec06b9285b694d2b7e9a095978d2b
Reviewed-by: Eike Ziller <eike.ziller@nokia.com >
2012-02-15 16:24:46 +01:00
Erik Verbruggen
d679dc4d53
C++: Added tests for C++11 features.
...
Change-Id: Ifa0bc37916d3ac3a523580bec15a6685709e7810
Reviewed-by: Roberto Raggi <roberto.raggi@nokia.com >
2012-02-10 08:30:48 +01:00
Roberto Raggi
5fb624b1db
Fix semantic of C++ 11 inline namespaces.
...
Add the declaring `inline' namespace to the `using list' of its
enclosing namespace symbol. This should be enough to ensure
the correct visibility of the symbols declarated in the inlined
namespace.
Change-Id: Id4de74577c498fe439a49709a306ef0deb145988
Reviewed-by: Leandro Melo <leandro.melo@nokia.com >
2012-02-03 15:37:17 +01:00
David Schulz
6d85b53f9c
Revert "Editor: Highlight background for whitespaces in strings and comments"
...
The change brokes the Lexer.
This reverts commit e46a5579d3 .
Change-Id: I3363c6eff74b53a7f2d9f417941cde07aaa92619
Reviewed-by: Leandro Melo <leandro.melo@nokia.com >
2012-02-03 11:52:01 +01:00
David Schulz
e46a5579d3
Editor: Highlight background for whitespaces in strings and comments
...
The whitespaces are now highlighted with the same backgroundcolor as the characters.
Also added a test for the Lexer.
Task-number: QTCREATORBUG-5802
Change-Id: Ic1bcd8cfe30d6b8a0281b7963eaab310f972b9d2
Reviewed-by: Roberto Raggi <roberto.raggi@nokia.com >
2012-02-01 11:17:56 +01:00
hjk
2931a499e6
Long live the king!
...
Change-Id: I2b72b34c0cfeafc8bdbaf49b83ff723544f2b6e2
Reviewed-by: Daniel Teske <daniel.teske@nokia.com >
2012-01-26 19:55:36 +01:00
Leandro Melo
c287d90604
C++: Rename source/setSource to utf8Source/setUtf8Source
...
Continuinng a previous commit... This is in order to make
the interface clearer.
Change-Id: Ic1b05217f878578bc84a064927507b75981c47d6
Reviewed-by: Roberto Raggi <roberto.raggi@nokia.com >
2012-01-13 11:22:28 +01:00
Christian Kamm
0ba1234108
C++ indenter: Improve member initializer indent.
...
If you indent the first initializer differently, that will now stick
for the following ones.
Change-Id: Ib08dfbf64282eda41202528b7255e693c350f7c6
Reviewed-by: Leandro Melo <leandro.melo@nokia.com >
2011-12-08 13:55:16 +01:00
Christian Kamm
bc1b724476
C++: Move codegen test into the CppTools plugin.
...
Change-Id: I4c70a9dbd5445188c3d202427da96e1c6ff90b63
Reviewed-by: Bill King <bill.king@nokia.com >
2011-11-15 15:37:29 +01:00
Eike Ziller
85cf2b661e
Merge remote-tracking branch 'origin/2.4'
...
Conflicts:
src/libs/qmljs/qmljsinterpreter.cpp
src/libs/qmljs/qmljsinterpreter.h
src/plugins/debugger/qml/scriptconsole.cpp
src/plugins/git/gitplugin.cpp
src/plugins/qmlprofiler/canvas/qdeclarativetiledcanvas.cpp
src/plugins/qmlprofiler/canvas/qdeclarativetiledcanvas_p.h
Change-Id: Iad59c8d87c72a21c79c047e374c0ab689998af39
2011-11-11 09:46:25 +01:00
hjk
31600758de
all: s/info@qt.nokia.com/qt-info@nokia.com/
...
Change-Id: If18afb5d4665924e7d9250dccbc60a65e6daa75e
Reviewed-by: Eike Ziller <eike.ziller@nokia.com >
2011-11-03 10:33:19 +01:00
Eike Ziller
81cce8902e
Merge remote-tracking branch 'origin/2.4'
...
Conflicts:
qtcreator.pri
src/libs/qmljs/qmljscheck.cpp
src/plugins/debugger/gdb/gdbengine.cpp
src/plugins/debugger/gdb/remotegdbserveradapter.cpp
src/plugins/plugins.pro
src/plugins/projectexplorer/buildmanager.cpp
src/plugins/qmldesigner/designercore/metainfo/nodemetainfo.cpp
Change-Id: Id2dcebf95b94dc46c1d85908ba1d1378aaf362ac
2011-10-28 10:17:44 +02:00
Christian Kamm
65ef5f7a35
Fix tests/auto/cplusplus/codegen on windows.
...
Change-Id: I765baa58c6b39d98949c0c8530623baf112f42bb
Reviewed-by: Bill King <bill.king@nokia.com >
2011-10-20 11:44:15 +02:00
Christian Kamm
aa3d406faf
C++ indenter: Accept attributes in access specifiers.
...
Change-Id: Ie85b8264c9579e8c8312e30018280fb11f95edda
Reviewed-on: http://codereview.qt-project.org/6328
Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com >
Reviewed-by: Erik Verbruggen <erik.verbruggen@nokia.com >
Sanity-Review: Erik Verbruggen <erik.verbruggen@nokia.com >
2011-10-11 12:45:04 +02:00
Christian Kamm
71b2cbef9a
CDB breakpoints: Fix line adjustment in case statements.
...
Task-number: QTCREATORBUG-6207
Change-Id: I4df50a412dd960a0d53a824a6c4a93712bd743e8
Reviewed-on: http://codereview.qt-project.org/5964
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com >
2011-10-04 09:35:45 +02:00
Christian Kamm
151475a0fe
C++: Fix function return type printing.
...
We used to print T * foo(), but our style suggests T *foo().
Change-Id: Ie3b0ce6b620785ec98aeb394f7955ce959440619
Reviewed-on: http://codereview.qt-project.org/4634
Reviewed-by: Leandro T. C. Melo <leandro.melo@nokia.com >
2011-09-12 11:16:39 +02:00
Christian Kamm
930e7b711d
C++ insert def: Insert next to surrounding definitions.
...
Change-Id: I1bef659084727d7fe69670c991ee5efe2be66497
Reviewed-on: http://codereview.qt.nokia.com/3713
Reviewed-by: Leandro T. C. Melo <leandro.melo@nokia.com >
2011-08-30 09:03:08 +02:00
Christian Kamm
1f9be179f0
C++ indenter: Make continuations after ( consistent.
...
Change-Id: Iae780127065e3fce274db10e173f5c0bde15bd92
Reviewed-on: http://codereview.qt.nokia.com/1229
Reviewed-by: Leandro T. C. Melo <leandro.melo@nokia.com >
2011-07-06 13:06:42 +02:00
hjk
a322bd606f
Replace qt-info@nokia.com with info@qt.nokia.com
...
Change-Id: I61e7cf189a1c4ea04e2a88a80a4f15e43cd3c018
Reviewed-on: http://codereview.qt.nokia.com/1187
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com >
Reviewed-by: Eike Ziller <eike.ziller@nokia.com >
2011-07-06 11:14:01 +02:00
Christian Kamm
e2cdaf7888
C++ indenter: Fix function declaration continuation indent.
...
Change-Id: I0ebe1f0f531cb4830f80b80c6bb52caeaee01353
Reviewed-on: http://codereview.qt.nokia.com/1167
Reviewed-by: Leandro T. C. Melo <leandro.melo@nokia.com >
2011-07-06 10:00:05 +02:00
Christian Kamm
794f296701
C++ indenter: Fix multiple initializers.
...
Task-number: QTCREATORBUG-4993
Change-Id: I0f7d541eb7b26c37b8167e30e2949b6b939fe4b8
Reviewed-on: http://codereview.qt.nokia.com/297
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com >
Reviewed-by: Roberto Raggi <roberto.raggi@nokia.com >
2011-06-01 11:14:50 +02:00
Christian Kamm
f762d93702
C++ indenter: Fix indent in body of function with default argument.
...
Change-Id: I9d4f5b3ae7b8a59f8350cf756979a3a430398112
Reviewed-on: http://codereview.qt.nokia.com/206
Reviewed-by: Roberto Raggi <roberto.raggi@nokia.com >
2011-05-30 12:02:04 +02:00
Christian Kamm
779fafcbfe
Make C++ code style configurable.
...
Change-Id: Iaf08edb2361146e6b5e1cbafdb716a23c938875b
Done-with: Jarek Kobus
Task-number: QTCREATORBUG-2670
Task-number: QTCREATORBUG-4310
Task-number: QTCREATORBUG-2763
Task-number: QTCREATORBUG-3623
Task-number: QTCREATORBUG-567
Reviewed-on: http://codereview.qt.nokia.com/74
Reviewed-by: Leandro T. C. Melo <leandro.melo@nokia.com >
Reviewed-by: Jarek Kobus <jaroslaw.kobus@nokia.com >
Reviewed-by: Roberto Raggi <roberto.raggi@nokia.com >
2011-05-24 12:45:07 +02:00
Christian Kamm
c5ce20c5f7
C++ indenter: Treat extern "C" like namespace.
...
Change-Id: Ib0553d35fbd83aada2b8809aa008b1f75ca77c32
Done-with: Erik Verbruggen
Reviewed-on: http://codereview.qt.nokia.com/14
Reviewed-by: Erik Verbruggen <erik.verbruggen@nokia.com >
2011-05-19 13:23:50 +02:00
Christian Kamm
86d5df063c
C++ indenter: Fix extra specifier in return type of func decl.
...
Like
struct Foo bar() { }
Change-Id: I946937c23d1660909757952a5a3bd400c4781826
Reviewed-on: http://codereview.qt.nokia.com/13
Reviewed-by: Erik Verbruggen <erik.verbruggen@nokia.com >
2011-05-19 13:14:07 +02:00
Oswald Buddenhagen
67704b8b41
move src/shared/cplusplus/ -> src/libs/3rdparty/cplusplus/
...
Approved-by: legal
2011-05-16 11:05:30 +02:00
Friedemann Kleint
56fea4ad3a
Fix test compile.
2011-05-09 15:08:21 +02:00
Erik Verbruggen
49814d9ea5
Class to find breakpoint positions for CDB.
...
Reviewed-by: Friedemann Kleint
2011-05-09 13:43:19 +02:00
hjk
8397663964
Update license.
2011-04-13 11:49:28 +02:00
Christian Kamm
faff0c8ace
C++ indenter: Fix for use of << and >> in parentheses.
...
Task-number: QTCREATORBUG-4076
2011-03-15 15:05:05 +01:00
Christian Kamm
c876ad1cad
Add tests for type pretty printer.
...
Mainly to not have unused functions inside the autotest.
Reviewed-by: Bill King
2011-03-02 16:41:58 +01:00
Bill King
3593fe08ae
tests: add licence headers
2011-02-18 14:48:16 +01:00
Bill King
800e962c33
tests: Add a failing test to make sure diagnostic reporting is working.
2011-02-17 17:00:09 +01:00
Bill King
748ea3edb1
Tests: Fix a crash bug.
2011-02-17 16:08:43 +01:00
Bill King
853b16ccee
Tests: cleanup output so that it appears inline with associated test.
2011-02-17 16:08:42 +01:00
Bill King
d2a16578f0
tests: code cleanup
2011-02-17 12:13:53 +01:00
Erik Verbruggen
6d00ff37f3
Added tests for the DiagnosticClient.
2011-02-17 11:20:50 +01:00
Bill King
d6a257f8f9
Tests: Simplify the simplifytest.
2011-02-16 17:37:08 +01:00
Bill King
36c72ac388
Tests: More autotest cleanup.
2011-02-16 17:09:20 +01:00
Christian Kamm
dc1f1cc310
C++: Fix Bind run on QtPropertyDeclarationAST.
...
Also adjust findusages test to account for QtProperty symbol.
Reviewed-by: Erik Verbruggen
2011-02-07 12:18:05 +01:00
Erik Verbruggen
be3f3a159d
Corrected fix to the FindUsages auto-tests.
2011-01-20 15:05:27 +01:00
Friedemann Kleint
6b153c8747
Tests: Fix compilation/plugin test.
2011-01-20 14:43:06 +01:00
con
d1023c7614
It's 2011 now.
...
Reviewed-by: hjk
2011-01-12 09:46:24 +01:00
con
23c22b7c66
License headers, part 2
2010-12-17 17:14:20 +01:00
Bill King
16dc934a48
Fixes autotests for windows.
2010-12-14 11:01:17 +10:00
Bill King
6b7535d8b3
tests: fixes
2010-12-03 15:04:19 +10:00
Christian Kamm
c5c4bacda9
C++ indenter: Fix labels.
...
Reviewed-by: Roberto Raggi
2010-12-01 10:22:41 +01:00
Friedemann Kleint
2960c735df
Debugger/CPP: Move helpers to simplify types to CPlusPlus-lib.
...
Make available for log simplification, etc.
Add autotest, fix broken std::set and MSVC.
Rubber-stamped-by: Christian Kamm <christian.d.kamm@nokia.com >
2010-11-25 13:51:54 +01:00
Christian Kamm
7a616d5896
C++ indenter: Align to next token instead of end of current.
...
Task-number: QTCREATORBUG-3136
Reviewed-by: Erik Verbruggen
2010-11-22 10:09:39 +01:00