Commit Graph

72811 Commits

Author SHA1 Message Date
Roberto Raggi
9a8e724f15 Don't search for undefined symbols in ambiguous typeof expressions. 2009-06-18 14:22:06 +02:00
Roberto Raggi
44aa96fcf5 Disable the undefined-type check for all the C-cast expressions. 2009-06-18 14:14:17 +02:00
hjk
d8b589ceff debugger: remove QtGui dependency from debugging helpers
It was only used for the watch-QImage-while-it-is-being-drawn-on feature,
which does not seem overly useful.
2009-06-18 13:39:19 +02:00
hjk
a595e8f403 debugger: limit log window to 100000 lines. 2009-06-18 13:24:33 +02:00
Roberto Raggi
da6614ce6d Don't check for undefined symbols in ambiguous ast nodes. 2009-06-18 13:00:21 +02:00
hjk
725d8dbfc6 debugger: Prevent updateWatchData from being called multiple times.
Each calls to fetchMore() was triggering an updateWatchData, and that
can happen several times per user interaction.
2009-06-18 12:37:43 +02:00
Friedemann Kleint
6931958041 Recognize DLL not found excption as non-fatal in CDB. 2009-06-18 12:37:19 +02:00
dt
69d04bc069 Simply look at the filesystem to get the list of sessions.
Instead of maintaining a list of sessions in our settings, simply list
all the files that we find.
Note: This will probably ressurect a few lost sessions for some people.

Task-Nr: 255140
2009-06-18 11:36:39 +02:00
Friedemann Kleint
44d02a652b Further cleanup of watch code, do not evaluate "<Edit>" watcher. 2009-06-18 10:34:53 +02:00
mae
81bb2f6378 compile 2009-06-17 20:10:36 +02:00
mae
aa630932b1 make zoom-in/-out apply to all editors 2009-06-17 19:12:57 +02:00
dt
69ff0eeb83 Switching sessions didn't clear the bookmark list from old bookmarks.
Task-Nr: 255922
2009-06-17 19:06:22 +02:00
dt
2d65dec3e9 Add a toolChainType() method to the ApplicationRunConfiguration.
Best effort only though. This can make detection in the debugger which
engine should be used easier.

Task-Nr: 256161
2009-06-17 19:06:17 +02:00
dt
07ddb9f0e2 Fixes git log, git blame and all the others resetting current project
I'm not 100% positive that this is the best fix. Though i can't come up
with a better one for the moment.

Task-Nr: 256251
2009-06-17 19:06:06 +02:00
Friedemann Kleint
24cf802a58 Compile new watch model for CDB. 2009-06-17 17:34:48 +02:00
Roberto Raggi
c222f2aa27 Some cleanup in the AST nodes. 2009-06-17 16:08:33 +02:00
hjk
609f4a437b debugger: Rework watch model.
It's now properly using canFetchMore/fetchMore. cdb is not yet ported.
2009-06-17 16:00:04 +02:00
Friedemann Kleint
24c321d5de Prevent cdb from repetitively initalizing dumpers in case of failures. 2009-06-17 14:21:56 +02:00
Roberto Raggi
a790c13cbe Generated the methods to accept AST nodes. 2009-06-17 14:14:51 +02:00
Friedemann Kleint
67dcfb8e3c Made GUI app and library wizard honor the camelcase file settings.
Add setters in File page and the dialogs, convenience to
QtWizard.
2009-06-17 12:40:54 +02:00
dt
3c6bb2429a Unbreak the cmake plugin for the 1.2 release
Last minute show stopper bug, this only affects cmake projects, so it
should be safe.

Reviewed-By: Trust me
2009-06-17 11:56:49 +02:00
Roberto Raggi
873838fe3a Simplified TypeOf/ResolveExpression. 2009-06-17 11:19:43 +02:00
dt
ddef96ecda Add a working directory line edit to the cmake run configuration
Task-Nr: 254424
2009-06-16 18:37:16 +02:00
con
2919c21007 Cherry-pick: Update license headers and sales contact details.
Reviewed-by: Trust Me

Conflicts:

	src/libs/cplusplus/CppBindings.cpp
	src/libs/cplusplus/CppBindings.h
	src/libs/cplusplus/FastPreprocessor.cpp
	src/libs/cplusplus/FastPreprocessor.h
	src/plugins/cpptools/cppcurrentdocumentfilter.cpp
	src/plugins/cpptools/cppcurrentdocumentfilter.h
	src/plugins/cpptools/cppsemanticsearch.cpp
	src/plugins/cpptools/cppsemanticsearch.h
	src/plugins/duieditor/parser/qmljs.g
	src/plugins/duieditor/parser/qmljsast.cpp
	src/plugins/duieditor/parser/qmljsast_p.h
	src/plugins/duieditor/parser/qmljsastfwd_p.h
	src/plugins/duieditor/parser/qmljsastvisitor.cpp
	src/plugins/duieditor/parser/qmljsastvisitor_p.h
	src/plugins/duieditor/parser/qmljsengine_p.cpp
	src/plugins/duieditor/parser/qmljsengine_p.h
	src/plugins/duieditor/parser/qmljsgrammar.cpp
	src/plugins/duieditor/parser/qmljsgrammar_p.h
	src/plugins/duieditor/parser/qmljslexer.cpp
	src/plugins/duieditor/parser/qmljslexer_p.h
	src/plugins/duieditor/parser/qmljsmemorypool_p.h
	src/plugins/duieditor/parser/qmljsnodepool_p.h
	src/plugins/duieditor/parser/qmljsparser.cpp
	src/plugins/duieditor/parser/qmljsparser_p.h
	src/plugins/duieditor/parser/qmljsprettypretty.cpp
	src/plugins/duieditor/parser/qmljsprettypretty_p.h
	src/plugins/duieditor/rewriter/rewriter.cpp
	src/plugins/duieditor/rewriter/rewriter_p.h
	src/plugins/duieditor/rewriter/textwriter.cpp
	src/plugins/duieditor/rewriter/textwriter_p.h
	src/shared/cplusplus/ASTClone.cpp
	tests/manual/cplusplus/main.cpp
2009-06-16 17:26:44 +02:00
Jason McDonald
884b7af769 Update license headers and sales contact details.
Reviewed-by: Trust Me
2009-06-17 00:01:27 +10:00
Daniel Molkentin
bcefb62a72 (un)install -> (un)register, add nogui mode for use in installer
The nogui mode is required for the installer, to keep the noise low.
Also, get rid of QApplication passing, as all methods we call
are static anyway, which made the compiler complain about
unreferenced formal parameters.

Revieved-by: Friedemann Kleint
2009-06-16 15:56:01 +02:00
con
4f4f767b2b Merge commit 'origin/1.2' 2009-06-16 14:58:28 +02:00
dt
7594cc5a41 Fixes YACCSOURCES and LEXSOURCES files not visible in the project tree.
Task-number: 255267
2009-06-16 14:41:25 +02:00
Thorbjørn Lindeijer
aa2836f1dc Fixed the alignment of the line/column number label
This depended on a stretch that was removed. Instead, make the stretch
factor of the stretch 0 and make sure that the method boxes used by the
CppEditor and ScriptEditor take all its space.

Reviewed-by: con
2009-06-16 14:29:23 +02:00
Thorbjørn Lindeijer
b76ebd66e0 Fixed the mouse cursor no longer turning into a hand above the mark area
Reviewed-by: mae
Reviewed-by: con
2009-06-16 14:29:16 +02:00
dt
a446491ae8 Fixes identifing the right WD for .pro chaning debug_and_release
CONFIG+=debug_and_release not working on linux and
CONFIG-=debug_and_release not working on windows.
The logic should be now correct. That is the profile reader reads the
values that are set for the qt build, gets qmake arguments which we
might pass on the command line and reads the .pro files, and in the end
we are interested what CONFIG contains. Patch from Michael Karcher

Task-number: 254925
2009-06-16 14:14:21 +02:00
Friedemann Kleint
86284e43a6 Fixed arguments glitch (ignore empty arguments). 2009-06-16 13:44:45 +02:00
Oswald Buddenhagen
d585fa0fdf fix build, part 2 2009-06-16 13:31:08 +02:00
Oswald Buddenhagen
daef597bc4 whooops ... fix compile 2009-06-16 13:27:18 +02:00
Friedemann Kleint
e86e7f960d Fixed tr()-glitches, updated German translation.
Acked-by: dt <qtc-committer@nokia.com>
2009-06-16 12:34:23 +02:00
Friedemann Kleint
cd8af32ed4 Add install/uninstall to qtcdebugger dispatcher.
Acked-by: Daniel Molkentin <daniel.molkentin@nokia.com>
2009-06-16 11:59:32 +02:00
Oswald Buddenhagen
86ca8f4e30 consolidate attemptBreakpointSynchronization()-related code paths
this removes some unnecessary conditions and parallelizes more

Reviewed-by: hjk
2009-06-16 10:33:27 +02:00
Oswald Buddenhagen
afbd04d5d8 fix slightly bizarre plural use 2009-06-16 10:32:01 +02:00
Oswald Buddenhagen
2c5cf82ea2 no need to translate these 2009-06-16 10:31:18 +02:00
Roberto Raggi
4164d31712 Fixed crash in SimpleDeclarationAST::lastToken() 2009-06-16 10:00:07 +02:00
Friedemann Kleint
9a82946d67 Source code typos as reported on mailing list. 2009-06-16 08:33:44 +02:00
con
5a5b1ca5a8 qSharedPointerCast -> qSharedPointerDynamicCast
Especially in the canRun methods this is essential.

Reviewed-by: dt
2009-06-15 19:08:59 +02:00
Friedemann Kleint
e242929d35 Finish Debugger session properly, releasing all files. 2009-06-15 16:30:52 +02:00
con
36fc7f160b Remove superfluous creation of iterator. 2009-06-15 16:16:34 +02:00
Thorbjørn Lindeijer
ffd03aaf66 Fixed issues with line number colors on dark themes
By using the palette foreground color for line numbers when the
background is very dark, instead of the palette's "dark" color.
2009-06-15 15:53:47 +02:00
Roberto Raggi
e2a0a4d7c5 Keep the original encoded text around while preprocessing. 2009-06-15 15:39:20 +02:00
Roberto Raggi
dbba0ff8d7 Removed the filename literals. 2009-06-15 15:39:20 +02:00
hjk
1754aefdb1 fakevim: some re-organization of ex mode command handling 2009-06-15 15:14:16 +02:00
Daniel Molkentin
5a6c636935 Run git on windows properly when git is called synchronously.
Reviewed-By: Friedemann Kleint
2009-06-15 14:04:14 +02:00
con
1cdd2c279b Merge commit 'origin/1.2' 2009-06-15 10:23:02 +02:00