Commit Graph

612 Commits

Author SHA1 Message Date
hjk
e906341df3 fakevim: let autotests pass.
Change-Id: I9d095c904d95ca710e033849723daf249f450486
Reviewed-on: http://codereview.qt.nokia.com/4218
Reviewed-by: hjk <qthjk@ovi.com>
2011-09-05 18:15:49 +02:00
hjk
0f0117b0bf fakevim: fix connection in autotest
Change-Id: I3c7250b1f0e3459d446e9f6f5eb87f175dc84908
Reviewed-on: http://codereview.qt.nokia.com/4217
Reviewed-by: hjk <qthjk@ovi.com>
2011-09-05 18:15:40 +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
9dc9674c6b QmlJS: Share Context.
Previously Context was not entirely thread safe and had to be
copied locally. Now it is thread safe and its lifetime
managed by QSharedPointer.

The non-safe parts were moved into ScopeChain in a previous commit.

Change-Id: I851a93de85cbd6391dbea0fe33b011e2e093addb
Reviewed-on: http://codereview.qt.nokia.com/1695
Reviewed-by: Fawzi Mohamed <fawzi.mohamed@nokia.com>
2011-08-08 12:05:19 +02:00
Aurindam Jana
ab574ba88d Delegate javascript debugging to Script and V8 debugger clients.
The appropriate client handles the debugging based on the service available at the server side.

Change-Id: I46b66036f700fc7e45e8b38cef7f1ce1445b1122
Reviewed-on: http://codereview.qt.nokia.com/2497
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Kai Koehne <kai.koehne@nokia.com>
2011-08-03 11:27:38 +02:00
Christian Kamm
f3a45d7b55 QmlJS: Fix basic code model test.
Change-Id: If62153e9db56e65e10d008d49f0945d3ea77c4f4
Reviewed-on: http://codereview.qt.nokia.com/1502
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@nokia.com>
Reviewed-by: Bill King <bill.king@nokia.com>
2011-07-12 11:25:31 +02:00
Thomas Murach
a4c4d67772 corrected license headers
Change-Id: I56fa50745a80abf52488bebe6a5a72cf26932a8b
Merge-request: 352
Reviewed-by: Tobias Hunger <tobias.hunger@nokia.com>
Reviewed-on: http://codereview.qt.nokia.com/1251
2011-07-06 17:56:15 +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
Christian Kamm
7ffd2e8b9f Add missing license headers.
Change-Id: I2dc5d18bfffc8389ad0b162b7dc3b5cc2406027f
Reviewed-on: http://codereview.qt.nokia.com/1222
Reviewed-by: Jarek Kobus <jaroslaw.kobus@nokia.com>
2011-07-06 11:17:05 +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
hjk
fda652a43e debugger: rename gdbmacros* to dumper*
Was mis-named from the beginning.

(cherry picked from commit 2f119dc2f85b28274d47ff635188872d5ed11521)

Change-Id: I4f2e388edfdded117c5b35d3d04bbdc68d77afa4
Reviewed-on: http://codereview.qt.nokia.com/872
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: hjk <qthjk@ovi.com>
2011-06-29 10:21:55 +02:00
con
f3e22da48c Remove some aggregation deadlocks.
You are not allowed to add components that belong to other aggregate
(including aggregates themselves). Warn in this case instead of locking
up.

Task-number: QTCREATORBUG-4926
Change-Id: I4908fb9019efbc2fa3b7c3c57e08cc1d7f8f3e2c
Reviewed-on: http://codereview.qt.nokia.com/679
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Bill King <bill.king@nokia.com>
2011-06-23 16:28: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
hjk
e08b797ea5 debugger: make autotest compilable and non-locking again
Change-Id: Ia7cb9e3f4d8aabc1bcd2580dc9d03d06989df1dd
Reviewed-on: http://codereview.qt.nokia.com/265
Reviewed-by: hjk <qthjk@ovi.com>
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
2011-05-31 12:29:36 +02:00
hjk
c29552260c gdb auto test: compile fix with stringbuilder
Change-Id: Ic3cdeb7164dd1685c3dea6047e5bb6c4b496622a
Reviewed-on: http://codereview.qt.nokia.com/259
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: hjk <qthjk@ovi.com>
2011-05-31 11:41:43 +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
Oswald Buddenhagen
8ec8435585 fix ioutils autotest 2011-05-13 16:43:16 +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
Christian Kamm
8d4d88f072 QmlJS: Fix object literal indent in property initializers. 2011-04-21 12:56:59 +02:00
Christian Kamm
d0d0a8c07e QmlJS: Fix indent of object literals.
Reviewed-by: Roberto Raggi
2011-04-21 12:25:15 +02:00
Christian Kamm
e3928941ee Fix the qmljs indenter autotest.
Reviewed-by: Bill King
2011-04-21 12:25:15 +02:00
Oswald Buddenhagen
dc3c156cac Merge branch '2.2'
Conflicts:
	src/plugins/debugger/gdb/pythongdbengine.cpp
	src/plugins/qt4projectmanager/qt-desktop/qt4desktoptargetfactory.cpp
	src/plugins/qt4projectmanager/qt-desktop/qt4desktoptargetfactory.h
	src/plugins/qt4projectmanager/qt-desktop/qt4simulatortargetfactory.cpp
	src/plugins/qt4projectmanager/qt-desktop/qt4simulatortargetfactory.h
	src/plugins/qt4projectmanager/qt-maemo/maemodeploystep.cpp
	src/plugins/qt4projectmanager/qt-maemo/maemodeviceconfigurations.cpp
	src/plugins/qt4projectmanager/qt-maemo/maemoglobal.cpp
	src/plugins/qt4projectmanager/qt-maemo/qt4maemotargetfactory.cpp
	src/plugins/qt4projectmanager/qt-s60/qt4symbiantargetfactory.cpp
	src/plugins/qt4projectmanager/qt-s60/s60deploystep.cpp
	src/plugins/qt4projectmanager/qt4target.cpp
	src/plugins/qt4projectmanager/qt4target.h
	src/plugins/qt4projectmanager/qtoptionspage.h
	src/plugins/qt4projectmanager/qtversionmanager.cpp
	src/plugins/welcome/welcomemode.cpp
2011-04-14 12:39:31 +02:00
hjk
8397663964 Update license. 2011-04-13 11:49:28 +02:00
Bill King
4e7ad2a1b7 tests: Make them compile again properly 2011-04-07 09:10:37 +02:00
Bill King
fc05015226 tests: get autotests compiling again. 2011-04-05 15:04:21 +02:00
Thomas Hartmann
5f27ad85ea QmlDesigner.tests: compilefix 2011-04-04 13:23:38 +02:00
Oswald Buddenhagen
4e894f14c0 support tilde expansion under unix
Task-number: QTCREATORBUG-4239
2011-03-28 15:25:01 +02:00
Oswald Buddenhagen
46da406668 don't be tricked by scope blocks with colons
people write strange code ...
2011-03-16 12:24:38 +01:00
Oswald Buddenhagen
00ac132d59 don't accidentally write into scopes
we get no reliable end-of-block location from the token stream, so we
have to do it ourselves. the solution is qmake-worthy, to put it that
way ...

Task-number: QTCREATORBUG-4049
2011-03-16 12:24:38 +01:00
Oswald Buddenhagen
e03dcf1945 plug leaks in test
makes the valgrind output less annoying
2011-03-16 12:24:38 +01: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
Oswald Buddenhagen
7007326837 clean up DEPENDPATH insanity
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.
2011-03-09 22:24:13 +01:00
Oswald Buddenhagen
645b3c46ed remove "Automatically generated by qmake ..." blurbs
they are a bit misleading (and embarrassing ...)
2011-03-09 22:24:13 +01:00
Oswald Buddenhagen
8b6961b77f add scoped editing of pro-files
only simple textual scopes like "unix" are supported. no negation, no
complex scopes, no scope nesting.
2011-03-07 22:11:27 +01:00
Oswald Buddenhagen
fcbbdf9a38 improve ProWriter editing capabilities
- completely replacing existing value lists
- creating assignments instead of appendings
- writing value lists as a single line
2011-03-07 22:11:26 +01:00
Oswald Buddenhagen
846e4d3d1c fix ProWriter test
finally ...
2011-03-07 22:11:26 +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
con
0c1d21fb5b Make "modifies current document" its own property. Add some tool tips. 2011-02-18 17:15:39 +01:00
con
10b6b2936b Make the "sort selection" tool do something.
* Handle <input> tag.
* Pass input to running process.
* Search for executable in path.
* Add "CurrentSelection" variable.

Remaining issue: ReplaceSelection output handling.
2011-02-18 17:15:36 +01:00
con
6c69638711 Separate std out and std err handling. 2011-02-18 17:15:36 +01:00
con
371478ffb9 Read external tools from resources and show them in menu. 2011-02-18 17:15:35 +01:00
con
e07e914514 External tools need a uid, e.g. for keyboard shortcuts. 2011-02-18 17:15:35 +01:00
con
965ce7abf0 Read localized description, name and category from external tools 2011-02-18 17:15:34 +01:00
con
740743dc25 Implement an external tool container + xml parsing. 2011-02-18 17:15:34 +01:00