Commit Graph

10896 Commits

Author SHA1 Message Date
Roberto Raggi a31de2c37a Fixed header protection. 2010-05-28 17:17:11 +02:00
Erik Verbruggen 344e0b9ca7 Removed debug line. 2010-05-28 17:03:15 +02:00
Erik Verbruggen 8390d165bd Fixed missing include, and #undeffed debug code. 2010-05-28 17:02:32 +02:00
Erik Verbruggen 41bc5dac15 Added a utility method to search by line/column. 2010-05-28 16:29:53 +02:00
Erik Verbruggen 3eee397abd Moved ASTPath to its own header/source files. 2010-05-28 16:29:53 +02:00
Erik Verbruggen d4e1a24daa Fixed off-by-1-token for symbol end offsets. 2010-05-28 16:29:52 +02:00
hjk 1b3e9db046 debugger: implement "old" QSize and QSizeF dumpers, re-enable QImage/QPixmap 2010-05-28 15:48:20 +02:00
hjk a2bb9893a5 debugger: add another version string to the auto test 2010-05-28 15:48:20 +02:00
hjk 4c2c654c2a fakevim: fix (again) 'r' at last position of a line 2010-05-28 15:48:20 +02:00
Roberto Raggi 1b41c06590 Always remove the duplicates from the completion, even when the items are not sorted. 2010-05-28 15:22:57 +02:00
Leandro Melo 2dc7a6a1eb More functionality for the generic highlighter options. Other small changes. 2010-05-28 15:04:44 +02:00
Christian Kamm 68cec6a7c7 QmlJS: Fix folding information for multi-line comments after edits.
Since the highlighter doesn't run on the whole file, only on the changed
line, we need to store the information whether a block starts in a
multi-line comment.

Reviewed-by: Erik Verbruggen
2010-05-28 13:50:52 +02:00
hjk 381c54063c debugger: remove obsolete createBreakpointByFileAndLine() 2010-05-28 13:44:49 +02:00
hjk 5c44689793 fakevim: cleanup 'r' handling 2010-05-28 13:16:13 +02:00
hjk 25a30c402b debugger: add some wcout related tests 2010-05-28 13:16:13 +02:00
Oswald Buddenhagen 123937fb2a Merge remote branch 'origin/2.0' 2010-05-28 12:45:41 +02:00
Erik Verbruggen 3082395c14 Disabled invalid ObjC++ discovery code.
Task-number: QTCREATORBUG-1501
Reviewed-by: Roberto Raggi
2010-05-28 12:15:54 +02:00
Roberto Raggi e343b33342 Check for possible 0x0 accesses. 2010-05-28 11:15:08 +02:00
Robert Loehning 49d5cacd35 Don't call QDirIterator::filePath() twice 2010-05-27 21:23:44 +02:00
Roberto Raggi 75bcf2bc66 Speedup global completion.
Don't sort the global completion items when we have too many of them, instead
populate the completion box in a way where local symbols are showed before
global symbols.
2010-05-27 19:00:44 +02:00
hjk 6ac8bd0c1b debugger: std::basic_string's refcount can be -1.
Reviewed-By: Oswald Buddenhagen
2010-05-27 17:28:13 +02:00
dt 69bd2df4e4 Fix QMAKE_CXX parsing
Task-Nr: QTCREATORBUG-1411
2010-05-27 16:36:26 +02:00
Roberto Raggi 64e9f652e0 Handle using declarations 2010-05-27 16:33:18 +02:00
Thorbjørn Lindeijer de7af4f22b Fixed the default UI color
When there was no existing configuration, it would get set to pure black
on startup, resulting in a very dark gray Qt Creator. Now it is back to
its old friendly gray as default color.

Also made sure that the default on startup and the color used for
resetting the UI color in the settings are always in sync.

Reviewed-by: Jens Bache-Wiig
2010-05-27 16:21:29 +02:00
hjk 5afeaa720d debugger: more robust version string parsing
Fix for QTCREATORBUG-1490

Reviewed-By: Friedemann Kleint
2010-05-27 15:55:01 +02:00
Jarek Kobus aa93d6f422 Update Polish translations 2010-05-27 15:29:34 +02:00
Bill King 9cde6baebc Fix invalid delete shown up by coverity scanning. 2010-05-27 15:20:50 +02:00
Thorbjørn Lindeijer ee6d7ae384 Fixed position of current argument highlight for constructors
It was broken due to a leading space which was trimmed off, breaking the
begin and end positions. Instead, don't trim, but just make sure not to
add a leading space when it is not necessary.

Done-with: Christian Kamm <christian.d.kamm@nokia.com>
Task-number: QTCREATORBUG-1398
2010-05-27 14:49:45 +02:00
Daniel Molkentin 272de3b881 Rewording due to ambiguity. Breaks string freeze.
Reviewed-by: Oswald Buddenhagen
2010-05-27 14:26:43 +02:00
Erik Verbruggen 25d7933d7a Fixed __attribute__ parsing after struct declarations.
Task-number: QTCREATORBUG-1358
Reviewed-by: Roberto Raggi
2010-05-27 14:22:53 +02:00
Thorbjørn Lindeijer f089b93029 Switched completion to be case-insensitive by default
Quite a few people seem to prefer this and it is the default in Eclipse
and MSVC.

This applies to both C++ and QML completion.

Task-number: QTCREATORBUG-1474
2010-05-27 14:21:26 +02:00
Thorbjørn Lindeijer 3bc20dbb60 Fixed vertical alignment of line numbers in search results on Mac
Due to different text positioning logic between the QItemDelegate and
the way SearchResultTreeItemDelegate drew the line numbers, the line
numbers did not align properly to the line of text next to it.

This was fixed by relying on QItemDelegate::drawDisplay for drawing the
line numbers, so that the same positioning logic is used.

This exposed a small right-alignment bug in QTextLayout, for which a fix
is coming to Qt.

Done-with: Erik Verbruggen
2010-05-27 13:49:36 +02:00
Friedemann Kleint 647c5d9b63 ProjectExplorer: Header cleanup in Taskwindow.
Introduce TaskWindowPrivate, add and reformat some
comments.
2010-05-27 13:28:07 +02:00
Christian Kamm 57f2b3e44d QmlJS: Allow folding of multi-line comments.
This also makes the editor auto-fold the license comment.

Task-number: QTCREATORBUG-1455
Reviewed-by: Erik Verbruggen
2010-05-27 12:56:44 +02:00
hjk 385034722c fix latest merge from 2.0 2010-05-27 12:18:32 +02:00
Bill King b201dcb584 Fix issues in botan shown up by a coverity scan
Reviewed-by: kh
2010-05-27 12:15:53 +02:00
Thomas Hartmann a49bbb4d15 QmlDesigner.test: adding qml files 2010-05-27 12:00:12 +02:00
dt fc4e7b2e6d Oh well symbian doesn't support dots in dirs 2010-05-27 11:53:04 +02:00
Thomas Hartmann 238dfa5185 QmlDesigner.propertyEditor: anchor fill button is now checkable 2010-05-27 11:48:06 +02:00
Thomas Hartmann 251c259b60 QmlDesigner.autoTest: adds testComponentLoadingTabWidget 2010-05-27 11:48:04 +02:00
Thomas Hartmann 6e388a3941 QmlDesigner.autoTests: compilefix
Reviewed-by: Kai Koehne
2010-05-27 11:48:03 +02:00
Thomas Hartmann 3d01b6af69 QmlDesigner.propertyEditor: remove ambigous typedef
Reviewed-by: Kai Koehne
2010-05-27 11:48:02 +02:00
Thomas Hartmann 7f6601951c QmlDesigner.propertyEditor: cleanup of includes
Reviewed-by: Kai Koehne
2010-05-27 11:48:01 +02:00
hjk ed018f691a qml auto test: add DEFINES+=QT_CREATOR 2010-05-27 11:12:31 +02:00
hjk 5805788290 Merge remote branch 'origin/2.0'
Conflicts:
	src/plugins/projectexplorer/miniprojecttargetselector.cpp
	src/plugins/qmldesigner/designercore/model/modeltotextmerger.cpp
	src/plugins/qmldesigner/designercore/model/rewriteactioncompressor.cpp
	src/plugins/qt4projectmanager/qt-maemo/maemosshthread.cpp
	src/plugins/qt4projectmanager/qt-maemo/maemosshthread.h
	tests/manual/gdbdebugger/simple/app.cpp
2010-05-27 11:11:53 +02:00
Leandro Melo 125aaf8615 Settings page for the generic highlighter. 2010-05-27 09:54:59 +02:00
Oswald Buddenhagen 0b52a873bd escape backslashes (or don't use them at all, resp.) 2010-05-26 19:35:21 +02:00
Oswald Buddenhagen 27cb7ac26a remove outdated qt version check
all of creator requires qt 4.7 now
2010-05-26 19:35:21 +02:00
mae 7c82944750 Fix qml autocompletion on Enter
Only insert necessary newlines

Reviewed-by: thorbjorn
Task-number: QTCREATORBUG-1476
2010-05-26 19:21:32 +02:00
mae 154b312de6 Fix qml autocompletion on Enter
Only insert necessary newlines

Reviewed-by: thorbjorn
Task-number: QTCREATORBUG-1476
2010-05-26 19:19:42 +02:00