OSDN Git Service
Friedemann Kleint [Mon, 22 Nov 2010 16:06:08 +0000 (17:06 +0100)]
Debugger: Remove 'friend gdbengine' from stackhandler.
Preparing the introduction of tooltips for the new
CDB engine. Fix some breakpoint states in CDB.
Thorbjørn Lindeijer [Mon, 22 Nov 2010 09:20:15 +0000 (10:20 +0100)]
Fixed visible wrap column on systems with non-fractional fonts sizes
QFontMetricsF::averageCharWidth seems to always return a fractional size
(at least on Linux/GNOME with DejaVu Mono), even when the font is not
actually drawn at sub-pixels. This caused the visible wrap column to
appear in the wrong place.
As a workaround, use the width of the character 'x', which is pretty
average and does align to pixels when needed.
Task-number: QTCREATORBUG-2746
Reviewed-by: con
Arvid Ephraim Picciani [Mon, 22 Nov 2010 15:23:05 +0000 (16:23 +0100)]
lldb: fix shadow build
Friedemann Kleint [Mon, 22 Nov 2010 13:53:20 +0000 (14:53 +0100)]
VCS: Allow to run commands synchronously
Run some commands synchronously. This avoids issues with the UI
reacting to file changes done by the VCS on windows which can lead
to crashes.
Task-number: QTCREATORBUG-3021
Reviewed-by: Tobias Hunger
Tobias Hunger [Mon, 22 Nov 2010 12:36:47 +0000 (13:36 +0100)]
Fix whitespace issue
Arvid Ephraim Picciani [Mon, 22 Nov 2010 13:56:49 +0000 (14:56 +0100)]
Import lldb guest engine code
dt [Mon, 22 Nov 2010 14:10:20 +0000 (15:10 +0100)]
Qt4ProjectManager: Show ICON in other files
hjk [Mon, 22 Nov 2010 13:12:53 +0000 (14:12 +0100)]
debugger: make -stack-select-frame and -thread-list-ids discardable
hjk [Mon, 22 Nov 2010 09:20:31 +0000 (10:20 +0100)]
debugger: move qml engine private classes to internal namespace
Friedemann Kleint [Mon, 22 Nov 2010 12:50:40 +0000 (13:50 +0100)]
Debugger[New CDB]: Fix disassembly.
Introduce GDBMI-based 'stack' extension command instead of the
builtin 'k' as this does not print the correct instruction pointer.
Pawel Polanski [Mon, 22 Nov 2010 11:44:59 +0000 (12:44 +0100)]
If no Symbian device is connected to USB port an appropriate message is shown.
Task-Number: QTCREATORBUG-3157
Reviewed-by: Tobias Hunger
Arvid Ephraim Picciani [Mon, 22 Nov 2010 12:09:01 +0000 (13:09 +0100)]
Adapt IpcEngine to breakpoint handling changes
Friedemann Kleint [Mon, 22 Nov 2010 11:21:56 +0000 (12:21 +0100)]
Debugger: Fix switching between assembler and source.
Do not drop stack index in resetLocation (which is called
when switching). Do not switch to source unless we have
the file.
Reviewed-by: hjk
Tobias Hunger [Mon, 22 Nov 2010 09:46:55 +0000 (10:46 +0100)]
Add some comments about code folding
I needed to find out how this works the hard way, so add
at least some hints on how to work with code folding:-)
Tobias Hunger [Sun, 21 Nov 2010 09:15:12 +0000 (10:15 +0100)]
VCS: Handle code folding in diff view
Allow to do codefolding on files and hunks in the diff editor
Tobias Hunger [Thu, 18 Nov 2010 15:58:30 +0000 (16:58 +0100)]
Git: Add options to diff editor
Pawel Polanski [Mon, 22 Nov 2010 09:47:39 +0000 (10:47 +0100)]
Fixed USB detach related bug on Symbian
Task-Number: QTCREATORBUG-3100
Reviewed-by: Tobias Hunger
Pawel Polanski [Mon, 22 Nov 2010 08:29:48 +0000 (09:29 +0100)]
Password dialog for symbian cert has been polished
Reviewed-by: Tobias Hunger
Christian Kamm [Fri, 19 Nov 2010 17:02:14 +0000 (18:02 +0100)]
C++ indenter: Align to next token instead of end of current.
Task-number: QTCREATORBUG-3136
Reviewed-by: Erik Verbruggen
Alessandro Portale [Fri, 19 Nov 2010 20:11:33 +0000 (21:11 +0100)]
Do not link against (the possibly absent) eiksrv.dso
The template .pri file of the "Qt Quick Application" and
"Qt Mobile Application" wizards linked against eiksrv
when locking the screen orientation. That is however not
necessary.
The real problem is that eiksrv does not get shipped with
the Symbian^1 SDK in Nokia Qt SDK 1.0/1.1. Therefore, the
innecessary link attempt even fails.
This patch removes the -leiksrv and bumps the version for
the template.
Cherrypicking into qtcreator/2.1 is highly recommended.
Task-Number: QTCREATORBUG-3142
Task-Number: QTSDK-194
Roberto Raggi [Fri, 19 Nov 2010 15:19:36 +0000 (16:19 +0100)]
Added support for automatic completion.
Friedemann Kleint [Fri, 19 Nov 2010 15:13:22 +0000 (16:13 +0100)]
Debugger[new CDB]: Polish options, add remote debugging.
Kai Koehne [Fri, 19 Nov 2010 14:52:11 +0000 (15:52 +0100)]
Revert "make compile against 4.7 mainline"
This reverts commit
110c58d09eaa9eba81d2c30b0b7c3e438d19b2ef,
and enables qmljs debugging again.
Roberto Raggi [Fri, 19 Nov 2010 14:15:12 +0000 (15:15 +0100)]
Add the identifiers to the completion box.
Well, this is just a temporary hack :)
hjk [Fri, 19 Nov 2010 14:11:19 +0000 (15:11 +0100)]
debugger: even more hacks to display QVariant with custom type and template
hjk [Fri, 19 Nov 2010 14:01:03 +0000 (15:01 +0100)]
debugger: make gdbmacros.py more generic
Mostly move parts of the gdb related quoting to dumper.py, also split
function calls in strings into separate arguments.
hjk [Fri, 19 Nov 2010 12:02:34 +0000 (13:02 +0100)]
debugger: improve python dumper profiling support
Roberto Raggi [Fri, 19 Nov 2010 13:59:33 +0000 (14:59 +0100)]
Report the syntax errors.
Roberto Raggi [Fri, 19 Nov 2010 13:42:55 +0000 (14:42 +0100)]
Introduced GLSL::DiagnosticMessage.
Roberto Raggi [Fri, 19 Nov 2010 13:35:53 +0000 (14:35 +0100)]
Compile.
Roberto Raggi [Fri, 19 Nov 2010 12:01:39 +0000 (13:01 +0100)]
Introduced a simple AST dumper for GLSL.
hjk [Fri, 19 Nov 2010 10:48:52 +0000 (11:48 +0100)]
debugger: adjust format of item count after
f9eea7e1
hjk [Fri, 19 Nov 2010 10:04:36 +0000 (11:04 +0100)]
debugger: make more python dumpers more robust when debug info is missing
Erik Verbruggen [Thu, 18 Nov 2010 16:39:16 +0000 (17:39 +0100)]
C++: implemented switch decl to def for operators
Task-number: QTCREATORBUG-2313
Reviewed-by: Roberto Raggi
hjk [Fri, 19 Nov 2010 08:39:50 +0000 (09:39 +0100)]
debugger: fix thread name display in threads combobox
hjk [Fri, 19 Nov 2010 08:14:08 +0000 (09:14 +0100)]
debugger: improve stepping performance in "instructionwise" mode.
Formatting of disassembler view took too much time.
hjk [Fri, 19 Nov 2010 07:55:01 +0000 (08:55 +0100)]
debugger: remove unused variable in GdbEngine
hjk [Fri, 19 Nov 2010 07:50:53 +0000 (08:50 +0100)]
debugger: remove "quick shot" on stop.
This was used to enhance the user experience in the gdb/MI (non-python)
days as the location marker was shown faster. This does not seem to
make much of a difference anymore. Removal also avoids the "show disassembly
first, source next" flicker.
hjk [Fri, 19 Nov 2010 07:37:43 +0000 (08:37 +0100)]
debugger: fix QRegion dumper for builds without debug info
hjk [Thu, 18 Nov 2010 19:44:36 +0000 (20:44 +0100)]
debugger: better handling of dynamic arrays
dt [Thu, 18 Nov 2010 18:28:23 +0000 (19:28 +0100)]
Merge remote branch 'origin/2.1'
Conflicts:
share/qtcreator/static.pro
src/plugins/qmljseditor/qmljshoverhandler.cpp
src/plugins/qt4projectmanager/gettingstartedwelcomepagewidget.cpp
hjk [Thu, 18 Nov 2010 18:15:39 +0000 (19:15 +0100)]
debugger: show len/ptr pair encoded strings for sources ending in .d
Leandro Melo [Thu, 18 Nov 2010 17:49:21 +0000 (18:49 +0100)]
Generic highlighter: Add some Kate LGPL files
Reviewed-by: con
dt [Thu, 18 Nov 2010 17:18:54 +0000 (18:18 +0100)]
FlatModel: forgotten change + compile on windows
hjk [Thu, 18 Nov 2010 16:53:42 +0000 (17:53 +0100)]
debugger: remove macro from breakhandler/h
hjk [Thu, 18 Nov 2010 16:44:04 +0000 (17:44 +0100)]
debugger: make BreakHandler::setState private
Christian Kandeler [Thu, 18 Nov 2010 16:52:25 +0000 (17:52 +0100)]
Output window: Revert
1d7cb01f64ef83aa397c4f773d415081ae850b53.
It was a quick fix for 2.1, but we want a real solution.
(See QTCREATORBUG-3073.)
dt [Thu, 18 Nov 2010 16:31:30 +0000 (17:31 +0100)]
FlatModel: The simplified tree did not react to hasBuildTarget changes
Task-Nr: QTCREATORBUG-3014
Task-Nr: QTCREATORBUG-2821
hjk [Thu, 18 Nov 2010 16:37:56 +0000 (17:37 +0100)]
debugger: make DebuggerEngine::setState private.
hjk [Thu, 18 Nov 2010 16:35:22 +0000 (17:35 +0100)]
debugger: remove unused DebuggerEngine::{set,is}Active
hjk [Thu, 18 Nov 2010 16:32:41 +0000 (17:32 +0100)]
debugger: code cosmetics
hjk [Thu, 18 Nov 2010 15:50:44 +0000 (16:50 +0100)]
debugger: move BreakpointId to the Debugger::Internal namespace
con [Thu, 18 Nov 2010 16:15:19 +0000 (17:15 +0100)]
Mac: Explicitly do a 10.5+ build if not doing a tiger compatible build.
Qt for some reason doesn't tell the tool chain to require 10.5 when
doing a cocoa build but on x86.
hjk [Thu, 18 Nov 2010 15:31:18 +0000 (16:31 +0100)]
debugger: take unusual marker file names into account when toggling breakpoints.
Friedemann Kleint [Thu, 18 Nov 2010 15:22:41 +0000 (16:22 +0100)]
Debugger: Use Symbol server nagging code in both CDB engines.
hjk [Thu, 18 Nov 2010 15:16:23 +0000 (16:16 +0100)]
debugger: fix some breakpoint state transitions in gdb engine
hjk [Thu, 18 Nov 2010 15:07:42 +0000 (16:07 +0100)]
debugger: stream line acknowledgement of breakpoint property changes
Friedemann Kleint [Thu, 18 Nov 2010 15:06:02 +0000 (16:06 +0100)]
Debugger[new CDB]: Handle command line arguments correctly.
hjk [Thu, 18 Nov 2010 15:00:56 +0000 (16:00 +0100)]
debugger: robustify file name reading on Mac
kh1 [Thu, 18 Nov 2010 14:58:55 +0000 (15:58 +0100)]
Specify the used charset, fixes e.g. polish translation.
hjk [Thu, 18 Nov 2010 14:47:50 +0000 (15:47 +0100)]
debugger: fix markers for breakpoints in constructors
hjk [Thu, 18 Nov 2010 13:57:00 +0000 (14:57 +0100)]
debugger: better synchronize icon selection for editor and view marker
Friedemann Kleint [Thu, 18 Nov 2010 14:47:07 +0000 (15:47 +0100)]
Debugger: CDB extension: Enable shadow-building.
con [Thu, 18 Nov 2010 14:46:15 +0000 (15:46 +0100)]
Avoid recursion and possibly endless recursion at removing file watches
Was introduced by the fix for QTCREATORBUG-965
Task-number: QTCREATORBUG-3116
Reviewed-by: dt
Friedemann Kleint [Thu, 18 Nov 2010 14:40:07 +0000 (15:40 +0100)]
Debugger: Fix broken display of containers with truncated item count.
Introduce convention '<>10 items>' meaning <more than 10 items>.
Task-number: QTCREATORBUG-3132
Alessandro Portale [Thu, 18 Nov 2010 14:36:52 +0000 (15:36 +0100)]
Fixing the generation of examples.
Daniel Molkentin [Tue, 16 Nov 2010 18:10:13 +0000 (19:10 +0100)]
Move Qt QML projects to pro-based projects
Reviewed-by: dt
Daniel Molkentin [Thu, 18 Nov 2010 14:01:18 +0000 (15:01 +0100)]
Make preferred version work in all cases
Reviewed-by: dt
Erik Verbruggen [Thu, 18 Nov 2010 13:32:42 +0000 (14:32 +0100)]
CPPEditor: fix corner cases for complete-switch-statement quick-fix.
The condition resolving now looks through typedefs and calls.
Task-number: QTCREATORBUG-2051
Reviewed-by: Christian Kamm
Friedemann Kleint [Thu, 18 Nov 2010 12:57:15 +0000 (13:57 +0100)]
Debugger: Add missing .def-file for CDB.exe extension.
Friedemann Kleint [Thu, 18 Nov 2010 12:55:52 +0000 (13:55 +0100)]
Debugger: Add extension library to be loaded into CDB.exe
Friedemann Kleint [Thu, 18 Nov 2010 12:51:15 +0000 (13:51 +0100)]
Debugger: Add new CDB-engine.
Rubber-stamped-by: hjk
Francois Ferrand [Tue, 16 Nov 2010 11:58:30 +0000 (12:58 +0100)]
Fix argument count for functions with void argument.
This fixes highlighting calls to these functions.
Merge-request: 219
Reviewed-by: Erik Verbruggen <erik.verbruggen@nokia.com>
hjk [Thu, 18 Nov 2010 12:38:58 +0000 (13:38 +0100)]
debugger: don't replicate response.fileName as markerFileName etc.
hjk [Thu, 18 Nov 2010 11:30:56 +0000 (12:30 +0100)]
debugger: first step to re-enable breakpoint location update.
Friedemann Kleint [Thu, 18 Nov 2010 10:53:45 +0000 (11:53 +0100)]
Debugger/MSVC: Move MSVC-specific code around.
for new CDB engine.
Rhys Weatherley [Thu, 18 Nov 2010 05:57:44 +0000 (15:57 +1000)]
Use QString instead of std::string in GLSL parser
Rhys Weatherley [Thu, 18 Nov 2010 04:42:39 +0000 (14:42 +1000)]
Fix some bugs in GLSL AST generation in the parser
Rhys Weatherley [Thu, 18 Nov 2010 03:01:27 +0000 (13:01 +1000)]
GLSL AST nodes for function and struct decls
Christian Kandeler [Wed, 17 Nov 2010 17:22:23 +0000 (18:22 +0100)]
Maemo: Remove "cd" call from package creation preparation.
At some point, we thought it was necessary, but apparently it's not.
Reviewed-by: kh1
Roman Kovalev [Wed, 17 Nov 2010 16:20:22 +0000 (17:20 +0100)]
svn: annotate codec - bugfix
getCodec() needs to be called with an absolute file name.
As the changed decoding of the file contents will break the decoding of
svn's annotation prefixes (which are in system locale), force LC_ALL=C
to prevent an encoding mix in the first place.
Merge-request: 214
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
Christian Kandeler [Wed, 17 Nov 2010 16:42:56 +0000 (17:42 +0100)]
Fix compilation for namespaced Qt.
Reviewed-by: Oswald Buddenhagen
Christian Kandeler [Wed, 17 Nov 2010 16:22:11 +0000 (17:22 +0100)]
Qt project file parsing: Take target options into account.
Reviewed-by: Oswald Buddenhagen
Reviewed-by: kh1
Reviewed-by: dt
Friedemann Kleint [Wed, 17 Nov 2010 16:16:34 +0000 (17:16 +0100)]
Debugger: Introduce common messages to engine.
Try to achieve consistency in reporting stop messages for all
engines. Report by BreakpointId if available.
Friedemann Kleint [Wed, 17 Nov 2010 16:01:51 +0000 (17:01 +0100)]
Debugger: Move some Windows functionality around.
Preparing the introduction of the new CDB engine.
Sergey Belyashov [Wed, 17 Nov 2010 15:53:06 +0000 (16:53 +0100)]
Updated Russian translation
Merge-request: 220
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
Friedemann Kleint [Wed, 17 Nov 2010 15:22:00 +0000 (16:22 +0100)]
CodePaster: Fix listing of pastebin.com.
Skip multiple left-boxes (mobile section).
Reviewed-by: Leandro T. C. Melo <leandro.melo@nokia.com>
Rubber-stamped-by: dt
Task-number: QTCREATORBUG-3118
Christian Kamm [Wed, 17 Nov 2010 13:48:25 +0000 (14:48 +0100)]
QmlJS: Implement context help and tooltips for properties.
Christian Kamm [Wed, 17 Nov 2010 13:20:06 +0000 (14:20 +0100)]
QmlJS: Return owning object from lookupMember.
Oswald Buddenhagen [Tue, 19 Oct 2010 15:51:52 +0000 (17:51 +0200)]
provide upgrade path for various user file changes
- command argument quoting changes
- environment expansion changes
- substitution of ${SOURCE,BUILD}DIR with %{{source,build}Dir}
- VariableManger syntax change ${} => %{}
Oswald Buddenhagen [Fri, 12 Nov 2010 16:23:55 +0000 (17:23 +0100)]
replace env variable injection with pervasive expando support
do not inject SOURCEDIR and BUILDDIR into the environment of
build steps and run configurations any more.
instead, all custom executable paths, argument lists and working
directories now support the %{sourceDir} and %{buildDir} macros.
this approach is more elegant and more scalable.
Oswald Buddenhagen [Tue, 19 Oct 2010 09:14:03 +0000 (11:14 +0200)]
overhaul process argument handling
get away from argument stringlists. instead, use native shell command
lines which support quoting/splitting, environment variable expansion
and redirections with well-understood semantics.
Task-number: QTCREATORBUG-542
Task-number: QTCREATORBUG-1564
Oswald Buddenhagen [Thu, 14 Oct 2010 16:05:43 +0000 (18:05 +0200)]
add Utils::QtcProcess
this is a wrapper around QProcess with these features:
- setEnvironment() takes a Utils::Environment instead of a QStringList
- instead of taking a stringlist with arguments, take a single shell
command string which is fully compatible with the system's native
shell (the bourne shell on unix and cmd.exe on windows) - with support
for environment variable expansion, and subject to the shell's
splitting and quoting rules. if the command is too complex (e.g.,
contains redirections), it is transparently executed through a real
shell.
- additionally, the class contains a set of helper functions for
manipulating (constructing, splitting, etc.) shell command lines.
in particular, it contains a shell-safe macro expander and the nested
class ArgIterator which can be used for inspecting and manipulating a
shell command line without going through the stringlist indirection
(which is potentially lossy).
some of this is based on KDE code (KShell and KMacroExpander) which i
have written myself.
Oswald Buddenhagen [Mon, 8 Nov 2010 18:54:19 +0000 (19:54 +0100)]
refactor VariableManager
make it provide a macroExpander() instead of a resolve() function.
this detaches the actual variable management from the string
manipulation.
Oswald Buddenhagen [Mon, 8 Nov 2010 20:09:19 +0000 (21:09 +0100)]
add generic macro expansion classes & functions to Utils
AbstractMacroExpander (any macros), AbstractQtcMacroExpander (%{var}
style macros, which is a hybrid of printf format specifiers and unix
environment expansions) and expandMacros() for the actual string
manipulation.
Oswald Buddenhagen [Wed, 3 Nov 2010 17:26:46 +0000 (18:26 +0100)]
change variable manager expansion style from ${} to %{}
this is less confusing, because it doesn't look like an environment
variable expansion under unix.
the syntax is a hybrid of printf format specifiers and braced unix
variable expansions.
Oswald Buddenhagen [Tue, 19 Oct 2010 09:10:58 +0000 (11:10 +0200)]
change Environment::expandVariables() semantics
instead of being os-agnostic, interpret the os-native expansion style,
so it is consistent with proper (shell) command lines.
don't interpret quotes, as this function is meant for expanding isolated
filepaths, where nobody would expect quoting. instead, use the windows
style of simply not doing an expansion if a referenced variable is not
found, which should be good enough - it's rather unlikely that something
which happens to be an expansion of an existing variable is actually not
meant to be one.
Thomas Hartmann [Wed, 17 Nov 2010 11:59:08 +0000 (12:59 +0100)]
QmlDesigner: adding a distinguished context for the form editor
Since Actions like copy/paste and delete interfiere
with controls like LineEdit, I added a special context
for the form editor. Now copy/paste/delete on the Qml items
are only registered for the form editor context and copying the contens
of a LineEdit will not lead to copy an item instead, anymore.
Reviewed-by: Kai Koehne
Arvid Ephraim Picciani [Wed, 17 Nov 2010 11:09:30 +0000 (12:09 +0100)]
Fix compilation
Tobias Hunger [Wed, 17 Nov 2010 09:37:11 +0000 (10:37 +0100)]
Symbian: Fix pathes
Fix pathes for Nokia Qt SDK:
* Set SBS path in one location only
* Fix up perl path
* Set path to CMD on windows. Both ABLD and SBSv2 actually need this.
* Set GCC path only if the directory actually exists
These fixes allow for building both ABLD and SBSv2 based projects in
a clean environment.
Reviewed-by: Tim Jenssen