OSDN Git Service
hjk [Tue, 3 Nov 2009 13:10:45 +0000 (14:10 +0100)]
fakevim: fix undo() behaviour
This is the finalization of the change started with
3c0ca8c18881.
Fakevim undo was broken due to behavioural changes in QTextDocument
in Qt 4.6. Now that QTextDocument has gotten new accessors to the
needed (and previously available) data we can use it.
(cherry picked from commit
0bc1095b70bf698e43e5a5a74a06027aa2ece2e3)
dt [Tue, 3 Nov 2009 13:37:23 +0000 (14:37 +0100)]
Show a cancel button in the opening cmake projects wizard.
Allows the user to change his mind. :)
Reviewed-by: Friedemann Kleint <qtc-committer@nokia.com>
(cherry picked from commit
c8e7df16eb3949eddf0a167239ed9a4bb3a5e527)
dt [Tue, 3 Nov 2009 13:12:15 +0000 (14:12 +0100)]
Also save before running if Project::hasNoBuildSettings
Fixes a QML bug
Reviewed-by: Kai Koehne <kai.koehne@nokia.com>
(cherry picked from commit
afa9da2a61b6f2710dcc408c20d430c1eb1fe292)
dt [Mon, 2 Nov 2009 15:17:13 +0000 (16:17 +0100)]
Also fix the cmake documentation.
(cherry picked from commit
c542714707dfe9df2bab9033ded5710d3883f21f)
dt [Mon, 2 Nov 2009 13:16:57 +0000 (14:16 +0100)]
Update docu of project pane. Missing the screenshots.
(cherry picked from commit
e5b4b65d56d101d3558e2e80cfe1287e486e829e)
con [Mon, 2 Nov 2009 13:30:58 +0000 (14:30 +0100)]
Update tool chains correctly when paths are changed in options.
The tool chains' "equals" methods where out of date.
Reviewed-by: dt
Reviewed-by: Robert Loehning
(cherry picked from commit
dda9df2248acf225b4b8cbfd992bebc56d80bad1)
Robert Loehning [Mon, 2 Nov 2009 18:14:40 +0000 (19:14 +0100)]
Fixed index out of range.
Reviewed-by: Thorbjørn Lindeijer <thorbjorn.lindeijer@nokia.com>
(cherry picked from commit
e68753b48ba515124897bb2a5439dd3d3b1ce819)
Friedemann Kleint [Mon, 2 Nov 2009 14:46:51 +0000 (15:46 +0100)]
Class wizard: Replace "inherits QObject" by type information combo.
Remove the setting from where it does not make sense (library/form class
wizard, etc).
Reviewed-by: con <qtc-committer@nokia.com>
(cherry picked from commit
e917392c27a4eacef1aee0b482cec7c6ca17fd5d)
Friedemann Kleint [Mon, 2 Nov 2009 13:42:42 +0000 (14:42 +0100)]
Debugger: Protect against launching a 2nd session.
Reviewed-by: dt <qtc-committer@nokia.com>
(cherry picked from commit
d23324f41901b027d6791213ff6cf33e944aa40a)
mae [Mon, 2 Nov 2009 13:02:18 +0000 (14:02 +0100)]
add standard cut/copy/paste actions (if available) to the cpp editor's context menu
at a later stage we will look into harmonizing context menu among different editors.
The cpp editor had the biggest need, because its context menu features all sorts of
extra refactoring operations, thus the standard Qt context menu became too large.
(cherry picked from commit
c035290602d4fb618f4443488419c0dabc834a17)
Friedemann Kleint [Mon, 2 Nov 2009 11:47:47 +0000 (12:47 +0100)]
Debugger: Disable "Start debugging" when attaching/starting remote
Directly enable project explorer actions.
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
(cherry picked from commit
c069cd588af0cdc335ec2ed909281a0bf9da666b)
Oswald Buddenhagen [Fri, 30 Oct 2009 17:18:21 +0000 (18:18 +0100)]
filter out expected gdb stderr
Reviewed-By: hjk
(cherry picked from commit
1520963cd6dd81c0863a54d7c9c0f12981354d5e)
Oswald Buddenhagen [Fri, 30 Oct 2009 16:16:56 +0000 (17:16 +0100)]
terminal adapter: make skipping of initial SIGSTOPs more reliable
first, _start being resolvable depends on libc-dbg being installed.
second, depending on the frame being in the dynloader makes it
a) work only for dynamic executables and b) fail on multi-target
systems (due to a hard-coded file name).
so instead just remember the entry point, as we are already there
anyway.
Reviewed-By: hjk
(cherry picked from commit
151b785d010b85ee0b5788f5ea95c4154d7530e0)
Oswald Buddenhagen [Fri, 30 Oct 2009 14:07:17 +0000 (15:07 +0100)]
frames with debug info but without source cannot be navigated to
... - in the source view, that is. so grey them out in the stack view.
Reviewed-By: hjk
(cherry picked from commit
6d6ed26eae39fc6d4b2e843edb8498e0008f15ef)
Oswald Buddenhagen [Fri, 30 Oct 2009 16:40:29 +0000 (17:40 +0100)]
make attaching adapters more robust
to make the behavior consistent across gdb versions, ignore the initial
*stopped which gdb7 delivers while attaching.
Reviewed-By: hjk
(cherry picked from commit
9d20a2abb45af2b1bd038acb191ece351d958d74)
Oswald Buddenhagen [Thu, 29 Oct 2009 16:50:53 +0000 (17:50 +0100)]
fix assertions relating to stack frames without a fullname
d'oh, of course, such frames *do* exist.
Reviewed-By: hjk
(cherry picked from commit
ff72733ccdc2cf29ba22c90178d090e909b1e247)
Oswald Buddenhagen [Thu, 29 Oct 2009 16:49:37 +0000 (17:49 +0100)]
make fullname parsing on windows less optimistic
seems like gdb 6.8 isn't any better than 6.4 wrt file name
normalization.
Reviewed-By: hjk
(cherry picked from commit
e6be1526f1ce9361ca9acc6b1e1dc50166853828)
Robert Loehning [Fri, 30 Oct 2009 20:29:56 +0000 (21:29 +0100)]
Improved German translations for handling different Qt-versions
Reviewed-by: Oswald Buddenhagen
(cherry picked from commit
47acdb5b282ebb98521df4d06fbadea8bb16df94)
con [Mon, 2 Nov 2009 10:45:43 +0000 (11:45 +0100)]
Show active run configuration name in "mismatching configuration" dialog
So the user better knows what he is actually choosing a new build
configuration for.
Reviewed-by: Robert Loehning
(cherry picked from commit
e3880e132fd480a3312b7c6db60da68c830e75b7)
con [Fri, 30 Oct 2009 16:58:14 +0000 (17:58 +0100)]
Minimal translation fix.
Reviewed-by: Friedemann Kleint
(cherry picked from commit
cc7bd7d139f8ae45dad7e4df034707d83803b41d)
Friedemann Kleint [Fri, 30 Oct 2009 16:44:51 +0000 (17:44 +0100)]
Debugger: Make Message prompt a gui-app.
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
(cherry picked from commit
c17dff426876ff96cd6d0fb397208f74d15ab811)
Friedemann Kleint [Fri, 30 Oct 2009 16:40:33 +0000 (17:40 +0100)]
Checkout wizard: Hangs on Windows when VCS binary is missing.
due to StartFailed being emitted from start(). Set state correctly,
improve error reporting.
Reviewed-by: con <qtc-commiter@nokia.com>
(cherry picked from commit
ecf48086de63dc767b37f5a63faf0e6b438c5641)
hjk [Fri, 30 Oct 2009 15:42:33 +0000 (16:42 +0100)]
debugger: list registers only after we have a known target
(cherry picked from commit
50961cb98ddccd5f17b21c47a073335e5410fb63)
Robert Loehning [Fri, 30 Oct 2009 14:43:13 +0000 (15:43 +0100)]
Typo fixes in German translation.
Reviewed-by: Friedemann Kleint
(cherry picked from commit
aa36a5b5fdfea0833ecea6debe91fe0f11973dae)
Friedemann Kleint [Fri, 30 Oct 2009 13:01:45 +0000 (14:01 +0100)]
Documentation: Metnion proper Qt version to build.
Reviewed-by: kh
(cherry picked from commit
4036d2e2133ae34503222023ed04d9639a971194)
Friedemann Kleint [Fri, 30 Oct 2009 13:00:08 +0000 (14:00 +0100)]
S60: Increase timeout for TRK prompt.
Reviewed-by: Robert Loehning <robert.loehning@nokia.com>
(cherry picked from commit
3a64a1035759efcc260f13ebe467d41da39f028b)
Friedemann Kleint [Fri, 30 Oct 2009 12:57:06 +0000 (13:57 +0100)]
CVS: Enable click on revision in filelog
Match regular expression depending on mode. Improve common VCS settings
layout.
Reviewed-by: Thorbjørn Lindeijer <thorbjorn.lindeijer@nokia.com>
(cherry picked from commit
525b26d0cfee216764c4a19984685507187f3958)
Friedemann Kleint [Fri, 30 Oct 2009 08:16:27 +0000 (09:16 +0100)]
Debugger: Completely replace C99 uintptr_t type by quintptr.
(cherry picked from commit
0b37be6e22761ee9342f3d342de0cb6d84505fc0)
Friedemann Kleint [Fri, 30 Oct 2009 09:48:51 +0000 (10:48 +0100)]
Debugger: Show slashes correctly in Stack frame tooltip.
(cherry picked from commit
5f60b055c046b8ce4f8d77402738d05e246e2659)
Robert Loehning [Thu, 29 Oct 2009 19:49:40 +0000 (20:49 +0100)]
Trk: Added i18n in Session::deviceDescription()
Reviewed-by: Oswald Buddenhagen
(cherry picked from commit
cc94b9c638c365127e305e220344eb716932f850)
hjk [Thu, 29 Oct 2009 17:31:45 +0000 (18:31 +0100)]
debugger: workaround for contradictory gdb messages
(cherry picked from commit
d0587eaf011c0fc41711514628e0abe6e285fe60)
Friedemann Kleint [Thu, 29 Oct 2009 16:19:54 +0000 (17:19 +0100)]
Final polishing of German translation.
(cherry picked from commit
c671251ac4201136ab919719eb4b7e3991d394de)
con [Thu, 29 Oct 2009 16:25:31 +0000 (17:25 +0100)]
Version bump.
con [Thu, 29 Oct 2009 16:12:57 +0000 (17:12 +0100)]
Find filter actions must use filter id as id, not filter name.
Jarek Kobus [Thu, 29 Oct 2009 15:43:30 +0000 (16:43 +0100)]
Update Polish translation, fix shortcut in the "tip of the day".
RevBy: Daniel Molkentin <daniel.molkentin@nokia.com>
con [Thu, 29 Oct 2009 14:54:30 +0000 (15:54 +0100)]
Pre-fill build configuration name when adding one.
con [Wed, 28 Oct 2009 16:21:27 +0000 (17:21 +0100)]
Show a dialog in case of mismatching build/run configurations.
con [Thu, 29 Oct 2009 11:19:56 +0000 (12:19 +0100)]
Add setting for GCCE tool chain path.
Friedemann Kleint [Thu, 29 Oct 2009 14:57:21 +0000 (15:57 +0100)]
Update German translation for Release candidate.
dt [Thu, 29 Oct 2009 14:56:24 +0000 (15:56 +0100)]
Add a make active label on the project pane for both edit debug
dt [Thu, 29 Oct 2009 14:17:21 +0000 (15:17 +0100)]
Add a Make this Buildconfiguration active label
Oswald Buddenhagen [Thu, 29 Oct 2009 14:31:43 +0000 (15:31 +0100)]
reset program location when we detect "spontaneous running"
i.e., don't allow user to confuse himself :)
Oswald Buddenhagen [Thu, 29 Oct 2009 13:56:45 +0000 (14:56 +0100)]
fix substituent in error message
Oswald Buddenhagen [Thu, 29 Oct 2009 12:55:16 +0000 (13:55 +0100)]
gdb doesn't care for termination. just kill it.
Oswald Buddenhagen [Thu, 29 Oct 2009 11:52:29 +0000 (12:52 +0100)]
less inefficient
Oswald Buddenhagen [Thu, 29 Oct 2009 10:20:21 +0000 (11:20 +0100)]
ignore inferiorStartFailed after adapterCrashed
technically, it would be cleaner to handle that in the adapters,
but it is a lot of duplicated code without any gain.
Oswald Buddenhagen [Wed, 28 Oct 2009 21:08:58 +0000 (22:08 +0100)]
do not post source & module list query commands too early
if the respective view is enabled, the manager will request the
initial update in some unholy state, probably AdapterStarting -
when gdb isn't up yet.
Oswald Buddenhagen [Wed, 28 Oct 2009 20:33:41 +0000 (21:33 +0100)]
missed some functions while marking iface impls with virtual
Oswald Buddenhagen [Wed, 28 Oct 2009 19:05:11 +0000 (20:05 +0100)]
in fact, older gdbs don't send *stopped after attaching
Oswald Buddenhagen [Wed, 28 Oct 2009 19:03:50 +0000 (20:03 +0100)]
assert pid presence
Oswald Buddenhagen [Wed, 28 Oct 2009 19:03:33 +0000 (20:03 +0100)]
less noise
Oswald Buddenhagen [Tue, 27 Oct 2009 14:36:18 +0000 (15:36 +0100)]
couple breakpoint listing with source listing
the assumption is that pending breakpoints will only be resolved when
the source list changes. consequently it is pointless to update just
one of them.
Oswald Buddenhagen [Tue, 27 Oct 2009 14:31:22 +0000 (15:31 +0100)]
integrate handleStop2 into handleStop1
there seems to be no reason for delaying the display because
of -break-list
Oswald Buddenhagen [Wed, 28 Oct 2009 10:59:57 +0000 (11:59 +0100)]
make sure that symgdb 6.4 "fullnames" are fully normalized
Friedemann Kleint [Thu, 29 Oct 2009 14:13:49 +0000 (15:13 +0100)]
Debugger: Do not use C99 types for pointers in sprintf() formats.
Pointer fit into long or long long (Win64).
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
Jonathan Courtois [Thu, 29 Oct 2009 13:25:01 +0000 (14:25 +0100)]
Update french translation
Merge-request: 1954
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
Oswald Buddenhagen [Wed, 28 Oct 2009 16:11:50 +0000 (17:11 +0100)]
work on french translation
this is a squashed result of some major merging messups. original authors are:
Alp Mestan <alpmestan@gmail.com>
Benjamin Poulain <benjamin.poulain@nokia.com>
Pierre Rossi <pierre.rossi@nokia.com>
Jonathan Courtois [Thu, 29 Oct 2009 13:24:26 +0000 (14:24 +0100)]
don't use backticks as quotes in strings
Merge-request: 1954
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
Robert Loehning [Thu, 29 Oct 2009 13:18:49 +0000 (14:18 +0100)]
TRK: Changed strings.
Using "TRK" when referring to the protocol, "App TRK" when referring to the program on the device.
Reviewed-by: Oswald Buddenhagen
dt [Thu, 29 Oct 2009 13:07:22 +0000 (14:07 +0100)]
Don't crash if the restored default version index is out of range
Daniel Molkentin [Wed, 28 Oct 2009 15:57:18 +0000 (16:57 +0100)]
welcome mode: toNativeSeparators() for project tooltips
Friedemann Kleint [Thu, 29 Oct 2009 11:48:12 +0000 (12:48 +0100)]
S60: Provide a message box prompting to start TRK
... with cancel, similar to the Bluetooth connect box.
Reviewed-by: Robert Loehning <robert.loehning@nokia.com>
dt [Thu, 29 Oct 2009 11:24:25 +0000 (12:24 +0100)]
Update the makesteps the summary on build directory changes
Also ensure that Qt4ProjectConfigWidget does not emit any signals from
it's init method.
hjk [Wed, 28 Oct 2009 17:23:55 +0000 (18:23 +0100)]
debugger: work on autotests
hjk [Wed, 28 Oct 2009 15:32:30 +0000 (16:32 +0100)]
debugger: fix the autotest fix
Jarek Kobus [Thu, 29 Oct 2009 08:28:29 +0000 (09:28 +0100)]
Missing tr()
RevBy: Friedemann Kleint <Friedemann.Kleint@nokia.com>
dt [Wed, 28 Oct 2009 16:36:39 +0000 (17:36 +0100)]
Remove some duplicated code getting the builddirectory
Jarek Kobus [Wed, 28 Oct 2009 16:21:49 +0000 (17:21 +0100)]
Update Polish translation
Friedemann Kleint [Wed, 28 Oct 2009 16:17:01 +0000 (17:17 +0100)]
Fix tr()/compiler warnings
dt [Wed, 28 Oct 2009 15:33:01 +0000 (16:33 +0100)]
Fix crash with no toolchain and clicking on build debugging helper
dt [Wed, 28 Oct 2009 15:26:43 +0000 (16:26 +0100)]
Fix crash with no toolchain.
dt [Wed, 28 Oct 2009 14:06:39 +0000 (15:06 +0100)]
Add two missing updateImportLabel() calls
dt [Wed, 28 Oct 2009 13:51:39 +0000 (14:51 +0100)]
Fix importing via "import settings" label addind a unecessary -spec
Roberto Raggi [Wed, 28 Oct 2009 15:06:26 +0000 (16:06 +0100)]
Process exception declarations.
Daniel Molkentin [Wed, 28 Oct 2009 14:57:13 +0000 (15:57 +0100)]
Datastructures 101: A QMap sorts, and is rarely what you want.
con [Mon, 26 Oct 2009 17:11:58 +0000 (18:11 +0100)]
Move the IWelcomePage to the place it belongs.
hjk [Wed, 28 Oct 2009 14:40:08 +0000 (15:40 +0100)]
debugger: fix fetching of base class information
hjk [Wed, 28 Oct 2009 14:39:07 +0000 (15:39 +0100)]
debugger: add a soft assert to catch cases where broken inames are reported
Roberto Raggi [Wed, 28 Oct 2009 13:53:47 +0000 (14:53 +0100)]
Updated the QML front-end to release
88632908b8923e626f36b6132ac179553d39c333 (qt/kinetic-declarativeui)
Roberto Raggi [Wed, 28 Oct 2009 12:43:06 +0000 (13:43 +0100)]
Don't run the typechecker on the actual arguments.
At least for now we ignore the types of the actual arguments
con [Wed, 28 Oct 2009 12:05:57 +0000 (13:05 +0100)]
Minimum size for Qt version list.
hjk [Wed, 28 Oct 2009 13:35:36 +0000 (14:35 +0100)]
debugger: silence debug output
con [Wed, 28 Oct 2009 13:36:28 +0000 (14:36 +0100)]
Refer to new bug tracker.
hjk [Wed, 28 Oct 2009 13:34:25 +0000 (14:34 +0100)]
debugger: fix dumper breakage caused by
0ee09af6
con [Wed, 28 Oct 2009 12:53:40 +0000 (13:53 +0100)]
Add some sanity checking.
Friedemann Kleint [Wed, 28 Oct 2009 12:51:48 +0000 (13:51 +0100)]
C++ Source file wizard: Do not write out #include directive
... on popular request.
Task-number: QTCREATORBUG-164
Roberto Raggi [Wed, 28 Oct 2009 11:26:08 +0000 (12:26 +0100)]
Fixed: Completion doesn't work for typedefs
Task-number: QTCREATORBUG-170
Roberto Raggi [Wed, 28 Oct 2009 10:51:04 +0000 (11:51 +0100)]
Mark the bindings when searching for class or namespaces.
hjk [Wed, 28 Oct 2009 11:00:18 +0000 (12:00 +0100)]
debugger: fix mac startup in the presence of unknown command
Apple gdb does not give any ^done or ^error for unknown command.
Work around by using -interpreter-exec console.
hjk [Wed, 28 Oct 2009 10:50:58 +0000 (11:50 +0100)]
debugger: better protection from infinite loops due to broken dumpers in
synchroneous mode
hjk [Wed, 28 Oct 2009 10:50:19 +0000 (11:50 +0100)]
debugger: work on auto tests
hjk [Tue, 27 Oct 2009 17:01:14 +0000 (18:01 +0100)]
debugger: allow NULL pointers in QList<Foo*>
Friedemann Kleint [Wed, 28 Oct 2009 10:48:47 +0000 (11:48 +0100)]
Project wizard: Error message does not fit.
Task-number: QTCREATORBUG-176
Friedemann Kleint [Wed, 28 Oct 2009 10:29:13 +0000 (11:29 +0100)]
Debugger/S60: Handle shared library query correctly.
Friedemann Kleint [Wed, 28 Oct 2009 08:51:19 +0000 (09:51 +0100)]
Debugger: Add missing include for intptr-types.
Friedemann Kleint [Wed, 28 Oct 2009 08:39:48 +0000 (09:39 +0100)]
Debugger: Fix gdb autotest
Oswald Buddenhagen [Tue, 27 Oct 2009 13:53:09 +0000 (14:53 +0100)]
eliminate handleDebuggingHelperValue1()
doesn't seem to serve any purpose at this time.
Oswald Buddenhagen [Tue, 27 Oct 2009 14:50:33 +0000 (15:50 +0100)]
call updateMarkers() from attemptBreakpointSynchronization()
and the latter is auto-tiggered by pretty much any breakpoint event.
this will kinda ensure that the markers are up-to date.
Oswald Buddenhagen [Tue, 27 Oct 2009 11:05:03 +0000 (12:05 +0100)]
protect against recursing into handleResponse
those pesky nested event loops ...
i pondered various other scenarios (in particular, the adapter or
gdb crashing while the nested loop is running), but did not discover
serious side effects of it, so i'm not trying to handle it specially.
Oswald Buddenhagen [Tue, 27 Oct 2009 13:52:29 +0000 (14:52 +0100)]
fewer and better debug messages