Commit Graph

88653 Commits

Author SHA1 Message Date
hjk
fa2a115aa3 debugger: use 'set substitute-path' 2009-11-09 16:25:54 +01:00
Friedemann Kleint
b519a1132a Debugger: Activate code model scope checking, environment var for Trk verbosity.
Reviewed-by: hjk
2009-11-09 16:25:40 +01:00
mae
1e6a90bcb3 optimize extra area painting 2009-11-09 16:06:28 +01:00
mae
55dbc39ed0 Fix auto-indentation when pasting into a selection 2009-11-09 16:06:28 +01:00
Friedemann Kleint
7aa2411693 Code model: Update on changes from the versioning system.
Add state logic to CppCodeModelManagerInterface, making it aware whether
an indexer is running, protect the update methods from another
invocation while running. Add changed signals to IVersionControl and
VCSManager and wire them to the update methods. Add a menu action for
manually updating.

Reviewed-by: Roberto Raggi <roberto.raggi@nokia.com>
Reviewed-by: con <qtc-committer@nokia.com>
2009-11-09 15:57:56 +01:00
Roberto Raggi
33ee1c8884 Added AST forward declaration generation.
Done with Erik Verbruggen
2009-11-09 15:42:55 +01:00
Roberto Raggi
56a677e0b6 Cleanup
Done with: Erik Verbruggen
2009-11-09 15:10:57 +01:00
Tobias Hunger
e0b27ef72e Add build parsers for S60.
This is a initial version including
 * ABLD error parsing
 * RVCT compiler output parsing.

Reviewed-By: con
2009-11-09 14:57:45 +01:00
Roberto Raggi
01473fec8b Addeed generator for the cast methods.
Done with: erikv
2009-11-09 14:52:06 +01:00
Kai Koehne
19fb0311ba Enable run configurations for projects that do not have a build step.
Reviewed-by: dt
2009-11-09 14:46:31 +01:00
con
d8b2598f4f Symbian SDK path should be editable for Qt in PATH.
Reviewed-by: Robert Loehning
2009-11-09 14:19:58 +01:00
Friedemann Kleint
d2bd092b47 Code model: Fix Windows issues (duplicate matches).
Ensure the code model receives file names with clean paths ('/')
and fix paths in the relevant places of the code model. Pass on clean
paths from Cpp reference find and display them correctly in the search
window tooltip.

Reviewed-by: Roberto Raggi <roberto.raggi@nokia.com>
2009-11-09 13:53:28 +01:00
Robert Loehning
6320b06b7c Typo fix in German translation
Reviewed-by: hjk
2009-11-09 13:06:46 +01:00
Friedemann Kleint
901239e1ea Library wizard: Create export symbol correctly.
...if the directory contains a '-'. Export a function to generate
identifier correctly and use that.

Reviewed-by: con <qtc-committer@nokia.com>
Task-number: QTCREATORBUG-248
2009-11-09 12:28:22 +01:00
hjk
9033749198 actually use pixmap cache for toolbar drawing if requested to do so 2009-11-09 11:59:50 +01:00
con
36d0d8500e Merge commit 'origin/1.3' 2009-11-09 11:36:19 +01:00
con
040ab7a93f Merge branch 'master' of git@scm.dev.nokia.troll.no:creator/mainline 2009-11-09 11:36:12 +01:00
Christian Kamm
a253a69980 Do never offer signature autocompletion for constructor calls.
They should always use the function parameter tooltip.

This fixes a bug where you were offered completion for
C foo( -> C foo(int x)
if C had a constructor taking int x.

Reviewed-by: Thorbjørn Lindeijer <thorbjorn.lindeijer@nokia.com>
2009-11-09 10:13:17 +01:00
Friedemann Kleint
5e0e975873 Debugger/Windows: Register debugger properly if there is no default.
Some systems do not have a default debugger registered. Do not fail
on reading the missing key and disable "Default Debugger" in that case.

Initial-patch-by: Robert Loehning <robert.loehning@nokia.com>
Reviewed-by: Robert Loehning <robert.loehning@nokia.com>
2009-11-09 09:00:59 +01:00
Friedemann Kleint
b0e1fdbfc4 Mercurial: Save resources, polishing.
Start the jobrunner on demand, save options only if changed,
give it the structure used elsewhere in the VCS plugins. Remove
last traces of the cmd /c hack.
2009-11-06 12:32:38 +01:00
hjk
72db7df3a2 fix some documentation glitches 2009-11-06 10:46:24 +01:00
hjk
06570d8d7c debugger: fix display of breakpoint markers in plugins 2009-11-06 10:15:19 +01:00
hjk
5eadf2bef7 debugger: simplify QList dumper 2009-11-06 10:15:19 +01:00
hjk
085f6b2c26 debugger: add autotest for QList<int *> dumper 2009-11-06 10:15:19 +01:00
con
468b76fff2 Merge commit 'origin/1.3' 2009-11-05 19:00:23 +01:00
Roberto Raggi
66a353067d Don't show the warning message (about the dangerous world of code refactoring) if the user pressed the "Yes, I know I am doing" button. 2009-11-05 16:52:56 +01:00
Friedemann Kleint
4ab3446ce0 Qt version tooltip: Display configuration correctly.
Reviewed-by: dt <qtc-committer@nokia.com>
2009-11-05 16:40:27 +01:00
Oswald Buddenhagen
e4e0cadb97 a process scheduled for kill can exit by itself as well ... 2009-11-05 16:20:47 +01:00
Roberto Raggi
61672e136f Fixed a few focus issues we had in the search result window (in replace mode).
Delayed the call to selectAll()
2009-11-05 15:47:33 +01:00
Friedemann Kleint
c489b8db7d i18n: Complete German translation and correct tips on Welcome Page.
Reviewed-by: Robert Loehning <robert.loehning@nokia.com>
2009-11-05 15:43:46 +01:00
Daniel Molkentin
4cb5953e65 Patch multimedia lib, remove version qualifier from qtcore on linux 2009-11-05 15:15:25 +01:00
Daniel Molkentin
c9f3b29807 Known issues: installer does not prepare qtcreator.ini for every user
Reviewed-By: con
2009-11-05 15:15:24 +01:00
Robert Loehning
2dfa6e948e Correct case for translations of "MinGW"
Reviewed-by: Oswald Buddenhagen
2009-11-05 14:05:21 +01:00
Friedemann Kleint
d570b05bec Mercurial: Work on Windows using Tortoise Hg, polishing.
Do not use "cmd /c hg" on Windows as this will fail randomly
depending on arguments with blanks, such as "-U 8". Output log
messages about synchronous commands, format author correctly,
label menus correctly.
2009-11-05 12:45:02 +01:00
Roberto Raggi
eaa2c10a25 Introduced CppTools::CppModelManagerInterface::updateModifiedFiles().
updateModifiedFiles ckecks the timestamp and reparses all the modified files in the current snapshot.
2009-11-05 12:34:02 +01:00
ck
8d810bd1d2 Debugger: Fix dumper tests for 64-bit Linux.
Resolved padding issue for QMapNode.

Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com>
2009-11-05 10:11:46 +01:00
Friedemann Kleint
b1af7f2fd5 Debugger autotests: Compile Windows/gcc 4.4.1, skip tst_gdb
when not applicable.
2009-11-05 10:05:46 +01:00
dt
30a796d4e8 Fixes crashes 2009-11-04 19:41:37 +01:00
dt
b0019bbc64 Revert "revert the latest leak "fix"."
That fix was correct.
This reverts commit 239e0418ca.
2009-11-04 19:32:49 +01:00
dt
a19f6e69eb Fix memory leaking a context per output window 2009-11-04 19:32:49 +01:00
dt
83016e47fe Fix leaking PropertiesPanels 2009-11-04 19:32:49 +01:00
Robert Loehning
876bce493f Fixed dereferencing NULL-pointer.
Reviewed-by: dt
2009-11-04 19:30:55 +01:00
con
c8bb7e174b Merge commit 'origin/1.3'
Conflicts:
	src/plugins/qt4projectmanager/qt4project.cpp
2009-11-04 19:15:14 +01:00
dt
2a7439cde8 Fix compile for -no-webkit 2009-11-04 19:00:02 +01:00
con
9c0ed539cc Prevent global replace before search is done.
Also fix focusing issues of the replace line edit.

Reviewed-by: Roberto Raggi
2009-11-04 18:44:19 +01:00
hjk
239e0418ca revert the latest leak "fix". 2009-11-04 18:35:52 +01:00
hjk
c91aca64e6 debugger: fix item count for QLists with more than 1000 elements
Reviewed-by: Oswald Buddenhagen
2009-11-04 18:31:27 +01:00
Roberto Raggi
f2a0382910 Replace . with -> only when the base expression has type pointer to class.
Reviewed-by: Thorbjørn Lindeijer
2009-11-04 18:21:35 +01:00
hjk
4ceabf26d4 debugger: fix issue where child items oeverwrite parent items in the watch model.
The real problems is somewhere in the watch model. This patch does
only prevent the wrong (and unneeded) questions to be asked in the first
place. It does not fix the wrong handling of the answer in the watch model.

Reviewed-by: Oswald Buddenhagen
2009-11-04 17:48:00 +01:00
hjk
7cb1c08e36 debugger: don't leak... 2009-11-04 17:48:00 +01:00