OSDN Git Service
Oswald Buddenhagen [Thu, 21 Apr 2011 09:36:37 +0000 (11:36 +0200)]
use environment from build config also when starting external processes
this uses QProcessEnvironment directly, which is somewhat inefficient,
but it has no big impact, and it can be optimized on the qt side.
Task-number: QTCREATORBUG-2866
Oswald Buddenhagen [Wed, 20 Apr 2011 20:26:01 +0000 (22:26 +0200)]
use QProcess in profile evaluator if not bootstrapped
this avoids the nasty console popups under windows
Task-number: QTCREATORBUG-1788
Oswald Buddenhagen [Wed, 20 Apr 2011 20:26:25 +0000 (22:26 +0200)]
fix return statement in #if 0'd code
Christian Kamm [Thu, 21 Apr 2011 09:09:29 +0000 (11:09 +0200)]
QmlJS: Add semantic errors to task window.
Task-number: QTCREATORBUG-4103
Reviewed-by: Leandro Melo
Christian Kamm [Wed, 20 Apr 2011 08:46:04 +0000 (10:46 +0200)]
QmlJS: Fix library-by-path imports.
Fixes the problem
5426c3ac2cdf898ca1190a7746ba506ff24abc50 and
7b25f438c67c7cf395ccd2cd846e5d413f6d9222 worked around.
Reviewed-by: Erik Verbruggen
Christian Kandeler [Thu, 21 Apr 2011 09:10:47 +0000 (11:10 +0200)]
Maemo: Fix directory deployment issues.
Christian Kandeler [Thu, 21 Apr 2011 08:53:25 +0000 (10:53 +0200)]
Maemo: Fix issue with cached device configuration.
External functions need to access the real device config,
internal ones need the cached one during deployment.
Task-number: QTCREATORBUG-4514
Christian Kandeler [Thu, 21 Apr 2011 07:38:58 +0000 (09:38 +0200)]
Maemo: Make QML debugging engine aware of early inferior exit.
Christian Kandeler [Thu, 21 Apr 2011 07:37:52 +0000 (09:37 +0200)]
Maemo: Fix misleading error message.
Christian Kandeler [Wed, 20 Apr 2011 13:16:33 +0000 (15:16 +0200)]
struct -> class
Christian Kamm [Thu, 21 Apr 2011 07:43:24 +0000 (09:43 +0200)]
QmlJS: Don't warn about function exp statements.
Reviewed-by: Roberto Raggi
Friedemann Kleint [Thu, 21 Apr 2011 07:10:31 +0000 (09:10 +0200)]
Debugger: Fix up titles/tooltips of memory views.
Oswald Buddenhagen [Wed, 20 Apr 2011 19:16:17 +0000 (21:16 +0200)]
use environment from build configuration in the project evaluator
Task-number: QTCREATORBUG-2866
Oswald Buddenhagen [Wed, 20 Apr 2011 16:19:33 +0000 (18:19 +0200)]
eliminate m_filevaluemap by using source tagging
instead of having a second value map per included file, simply tag all
values with the project file they are coming from. a lot cleaner and
marginally faster.
Christiaan Janssen [Wed, 20 Apr 2011 14:47:47 +0000 (16:47 +0200)]
QmlDebugger: keeping watches when changing stack frames
Reviewed-by: Kai Koehne
Friedemann Kleint [Wed, 20 Apr 2011 15:02:21 +0000 (17:02 +0200)]
Bin editor: Improve tooltip.
Fix endianness.
Show binary, octal for single bytes, float and double.
Use HTML tables for formatting.
Tobias Hunger [Wed, 20 Apr 2011 14:13:15 +0000 (16:13 +0200)]
GCCE: use default debugger
Christiaan Janssen [Wed, 20 Apr 2011 12:27:34 +0000 (14:27 +0200)]
QmlDebugger: don't show editor tooltip while debugging
Reviewed-by: Kai Koehne
Tobias Hunger [Wed, 20 Apr 2011 13:49:06 +0000 (15:49 +0200)]
VCS: Use the configuration page in all the checkout wizards
Task-number: QTCREATORBUG-3752
Tobias Hunger [Wed, 20 Apr 2011 13:48:35 +0000 (15:48 +0200)]
VCS: Add WizardPage asking to configure the VCS
Tobias Hunger [Wed, 20 Apr 2011 13:46:48 +0000 (15:46 +0200)]
VCS: Add id to IVersionControl
... and all derived classes
dt_ [Wed, 20 Apr 2011 13:31:20 +0000 (15:31 +0200)]
ProjectModel: Only claim editable if editable
Task-Nr: QTCREATORBUG-4545
dt [Tue, 19 Apr 2011 17:24:30 +0000 (19:24 +0200)]
Qt4ProjectManager: Be more careful in detecing incompatible builds
Task-Nr: QTCREATORBUG-4555
Reviewed-By: hunger
Friedemann Kleint [Wed, 20 Apr 2011 11:50:47 +0000 (13:50 +0200)]
Compile Mac.
Friedemann Kleint [Wed, 20 Apr 2011 11:49:26 +0000 (13:49 +0200)]
Compile fix MSVC / Qt 4.8 (QStringBuilder ambiguities).
con [Wed, 20 Apr 2011 09:07:25 +0000 (11:07 +0200)]
Merge remote branch 'origin/2.2'
Leena Miettinen [Wed, 20 Apr 2011 09:01:58 +0000 (11:01 +0200)]
Doc: restructure the Manual
Pull out coding topics to separate HTML files.
Put advanced topics to a separate section.
Reviewed-by: con
Leena Miettinen [Wed, 20 Apr 2011 08:59:41 +0000 (10:59 +0200)]
Doc: change topic titles to better reflect their content
Reviewed-by: con
Leena Miettinen [Wed, 20 Apr 2011 08:58:48 +0000 (10:58 +0200)]
Doc: remove subscription instructions and just link to the lists page
Reviewed-by: con
Friedemann Kleint [Wed, 20 Apr 2011 08:48:43 +0000 (10:48 +0200)]
Fix compiler warnings.
Christian Kandeler [Wed, 20 Apr 2011 08:22:45 +0000 (10:22 +0200)]
Maemo: Make "Copy to sysroot" widget a bit more flexible.
Friedemann Kleint [Wed, 20 Apr 2011 08:12:17 +0000 (10:12 +0200)]
WinDebugInterface: Remove windows.h from header, resource cleanup.
Proper termination.
Christian Kandeler [Wed, 20 Apr 2011 07:41:09 +0000 (09:41 +0200)]
Maemo: Replace manual copying to sysroot by "make install".
Marco Bubke [Tue, 19 Apr 2011 15:13:08 +0000 (17:13 +0200)]
QmlDesigner.NodeInstances: Track lost commands
Marco Bubke [Mon, 18 Apr 2011 12:44:22 +0000 (14:44 +0200)]
QmlDesigner.PropertyEditor: More property panes
Christiaan Janssen [Tue, 19 Apr 2011 14:27:12 +0000 (16:27 +0200)]
QmlDebugger: breakpoints in symlinked qmlprojects
Task-number: QTCREATORBUG-4405
Reviewed-by: Kai Koehne
Tobias Hunger [Tue, 19 Apr 2011 14:52:11 +0000 (16:52 +0200)]
GCCE: Do not pick up bullseye as GCCE
Do not pick up bullseye as a GCCE.
Task-number: QTCREATORBUG-4608
Tobias Hunger [Tue, 19 Apr 2011 14:30:24 +0000 (16:30 +0200)]
Use non-native separators internally
Tobias Hunger [Tue, 19 Apr 2011 14:09:23 +0000 (16:09 +0200)]
Fix autodetection of 32bit-only compilers
... on 64bit platforms.
Friedemann Kleint [Tue, 19 Apr 2011 10:56:23 +0000 (12:56 +0200)]
Debugger: Fix memory editing.
Typing characters > 127 caused signedness problems
(causing large uints to be passed to the debuggers).
Reviewed-by: hjk
Tobias Hunger [Tue, 19 Apr 2011 13:48:28 +0000 (15:48 +0200)]
Win: Fix QThread is destroyed while still running warning
Friedemann Kleint [Tue, 19 Apr 2011 13:42:14 +0000 (15:42 +0200)]
Fix more krazy warnings.
Christian Kandeler [Tue, 19 Apr 2011 13:32:34 +0000 (15:32 +0200)]
Maemo: Get rid of some Debian control file entries.
According to the Harmattan people, support for them has been dropped
and they are afraid users could get confused.
Christian Kandeler [Tue, 19 Apr 2011 12:39:32 +0000 (14:39 +0200)]
SSH: Tighter state checking during key exchange.
This will also make it easier for us to initiate a re-exchange
if we ever want to implement that.
Christian Kandeler [Tue, 19 Apr 2011 12:20:25 +0000 (14:20 +0200)]
SSH: Fix typo.
Christian Kandeler [Tue, 19 Apr 2011 12:20:03 +0000 (14:20 +0200)]
SSH: Fix SFTP test for large files.
Christian Kandeler [Tue, 19 Apr 2011 12:19:27 +0000 (14:19 +0200)]
SSH: Fix SFTP download of large files.
Christian Kandeler [Tue, 19 Apr 2011 08:57:12 +0000 (10:57 +0200)]
SSH: Implement key re-exchange support.
Correct protocol-wise, but possibly buggy (fails with dropbear).
Friedemann Kleint [Tue, 19 Apr 2011 12:30:13 +0000 (14:30 +0200)]
Debugger: Allow for debugging executables from command line.
On Windows or if file is executable.
Friedemann Kleint [Tue, 19 Apr 2011 11:57:25 +0000 (13:57 +0200)]
Debugger[CDB]: Interrupt to fetch memory if required.
Tobias Hunger [Tue, 19 Apr 2011 11:52:48 +0000 (13:52 +0200)]
Win: Try to start debug listener
Try to start debug listener if it is not yet running. This can
happen when e.g. a external debug listener was closed in the
meantime.
Tobias Hunger [Tue, 19 Apr 2011 11:52:24 +0000 (13:52 +0200)]
Win: Make sure we do not leak resources
Tobias Hunger [Tue, 19 Apr 2011 11:47:01 +0000 (13:47 +0200)]
Add missing \n to message to outputwindow
hjk [Tue, 19 Apr 2011 09:28:02 +0000 (11:28 +0200)]
debugger: prevent endless loop in resolution of some types
Reviewed-by: Friedemann Kleint
hjk [Tue, 19 Apr 2011 09:37:11 +0000 (11:37 +0200)]
fix krazy warnings
hjk [Mon, 18 Apr 2011 14:40:59 +0000 (16:40 +0200)]
debugger: deactivate thread window operations during stepping
Friedemann Kleint [Tue, 19 Apr 2011 10:17:48 +0000 (12:17 +0200)]
Debugger: Use bin editor widget for standalone-memory views.
Remove MemoryViewWidget/RegisterMemoryViewWidget
in favour of MemoryView/RegisterMemoryView based on the bin
editor widget.
Friedemann Kleint [Tue, 19 Apr 2011 10:15:18 +0000 (12:15 +0200)]
Bin-Editor: Markup/Make widget usable as standalone-view.
Add markup for displaying class layouts in the debugger.
Add a factory registered with the plugin manager
for creation of widgets by soft-dependent plugins.
Tobias Hunger [Tue, 19 Apr 2011 09:43:28 +0000 (11:43 +0200)]
ToolChain: Update build environment when changing tool chains
Tobias Hunger [Tue, 19 Apr 2011 09:42:51 +0000 (11:42 +0200)]
GCCE: Update version number when switching compiler
Task-number: QTCREATORBUG-4589
Tobias Hunger [Tue, 19 Apr 2011 09:14:57 +0000 (11:14 +0200)]
Win: Get debug output from several GUI apps at once
Get debug output for all GUI applications at once. This should
stop the "Cannot retrieve debugging output".
Task-number: QTCREATORBUG-4569
Christiaan Janssen [Mon, 18 Apr 2011 14:49:41 +0000 (16:49 +0200)]
QmlDebugger: fixed shutdown combined engine
Task-number: QTCREATORBUG-4451
Reviewed-by: Kai Koehne
Tobias Hunger [Mon, 18 Apr 2011 14:24:29 +0000 (16:24 +0200)]
Fix adding new files to existing projects VCS
hjk [Mon, 18 Apr 2011 14:15:39 +0000 (16:15 +0200)]
debugger: enable latin1 or utf8 char[] display
hjk [Mon, 18 Apr 2011 13:07:58 +0000 (15:07 +0200)]
debugger: add module and target id information to thread display
hjk [Mon, 18 Apr 2011 12:30:52 +0000 (14:30 +0200)]
debugger: no need to set breakpoints on core files
Oswald Buddenhagen [Mon, 18 Apr 2011 13:40:10 +0000 (15:40 +0200)]
fix setResult(QDataStream *)
it was apparent only with qt 4.8
Kai Koehne [Mon, 18 Apr 2011 12:13:18 +0000 (14:13 +0200)]
QmlDump: Ensure that qmldump is found in QtSDK
We ship a precompiled qmldump in the Qt SDK because the Qt versions
don't have private headers. However, the logic in buildablehelperlibrary
by default rejects any build that is older than the latest changes to the
qmldump source code files; allow Qt Creator to pick up the (maybe
outdated) qmldump nevertheless if no private headers are installed.
Reviewed-by: ckamm
Task-number: QTCREATORBUG-4578
Oswald Buddenhagen [Fri, 15 Apr 2011 19:23:21 +0000 (21:23 +0200)]
improve file change notification suppression in saveFile()
for one, entirely stop monitoring the own IFile.
second, expect changes on the filename - in case other IFiles use it as
well.
these two ensure that nothing weird happens, especially if we show a dialog
and thus enter an event loop.
Oswald Buddenhagen [Fri, 15 Apr 2011 13:06:00 +0000 (15:06 +0200)]
make m_changedFiles a set - for simplicity (and performance).
Oswald Buddenhagen [Fri, 15 Apr 2011 09:19:16 +0000 (11:19 +0200)]
rename misnamed variable
Oswald Buddenhagen [Thu, 14 Apr 2011 18:13:08 +0000 (20:13 +0200)]
minor optimization: QList::removeOne() returns a bool
Oswald Buddenhagen [Fri, 15 Apr 2011 09:53:46 +0000 (11:53 +0200)]
provide default implementation of IFile::reloadBehavior()
there only two classes of files anyway: regularly editable ones which may
ask for interaction, and "background" files which always operate silently.
the regular case is the more complex one, so put that into the base class.
Oswald Buddenhagen [Fri, 15 Apr 2011 09:49:11 +0000 (11:49 +0200)]
de-inline functions from IFile
Oswald Buddenhagen [Wed, 13 Apr 2011 09:32:26 +0000 (11:32 +0200)]
remove empty line truncation from pro editors
it's bogus. and the ProWriter will take care not to add stray empty lines now.
Oswald Buddenhagen [Wed, 30 Mar 2011 14:21:31 +0000 (16:21 +0200)]
use somewhat less arcane error message box
Oswald Buddenhagen [Wed, 30 Mar 2011 13:57:28 +0000 (15:57 +0200)]
unify i/o error reporting in the model
- use Utils::FileSaver
- as a side effect, don't rewrite the desktop file with the same content
if it already exists
- pop up message boxes on errors - this is likely to be more visible
than qWarning()s/nothing
- this is implemented in a somewhat strange way with the model itself
doing the gui interaction, but that seems to be the simplest
solution given the qt class design
Oswald Buddenhagen [Wed, 30 Mar 2011 13:18:52 +0000 (15:18 +0200)]
replace in-place-rewriting of files with a read/modify/write cycle
easier to handle errors that way
Oswald Buddenhagen [Wed, 30 Mar 2011 13:15:15 +0000 (15:15 +0200)]
add/unify i/o error handling
lots of use of Utils::FileSaver and Utils::FileReader
Task-number: QTCREATORBUG-1619
Oswald Buddenhagen [Mon, 4 Apr 2011 13:24:13 +0000 (15:24 +0200)]
add errorString output argument to IFile::reload() & IEditor::open()
add/unify read error handling in all affected classes
Oswald Buddenhagen [Wed, 30 Mar 2011 11:45:16 +0000 (13:45 +0200)]
add errorString output argument to IFile::save()
this centralizes error reporting (in fact, in most cases it adds any in
the first place).
Task-number: QTCREATORBUG-1619
Oswald Buddenhagen [Wed, 30 Mar 2011 10:43:17 +0000 (12:43 +0200)]
abort commit if commit message cannot be saved
Oswald Buddenhagen [Wed, 30 Mar 2011 11:46:57 +0000 (13:46 +0200)]
remove superfluous argument
no need to pass in the current file name
Oswald Buddenhagen [Wed, 30 Mar 2011 10:38:12 +0000 (12:38 +0200)]
file manager: introduce saveFile() and remove blockFileChange() & unblockFileChange()
this replaces the ever-repeating idiom block/save/unblock with a single
call.
Oswald Buddenhagen [Wed, 30 Mar 2011 10:06:05 +0000 (12:06 +0200)]
add fileutils: classes for error-checked reading and writing of files
the internal use of SaveFile ensures that we don't leave truncated
pre-existing files behind if the disk is full or something else bad
happens.
Task-number: QTCREATORBUG-1619
Oswald Buddenhagen [Wed, 30 Mar 2011 10:07:47 +0000 (12:07 +0200)]
add Utils::SaveFile: class for atomic saving of files
inspired by KSaveFile
Oswald Buddenhagen [Mon, 4 Apr 2011 13:34:04 +0000 (15:34 +0200)]
remove redundant error check
no point in checking for file's existence before opening it - the
errorString is verbose enough.
Oswald Buddenhagen [Mon, 4 Apr 2011 13:37:31 +0000 (15:37 +0200)]
better error messages
it's only qWarning()s, but anyway ...
Oswald Buddenhagen [Mon, 4 Apr 2011 13:36:39 +0000 (15:36 +0200)]
use QFile::open()'s return value instead of using weird isOpen() checks
Oswald Buddenhagen [Mon, 4 Apr 2011 12:55:03 +0000 (14:55 +0200)]
don't re-implement QDir::canonicalFilePath() by hand
Oswald Buddenhagen [Mon, 4 Apr 2011 13:31:30 +0000 (15:31 +0200)]
make addOutput() signal const
it doesn't change the emitting object
Oswald Buddenhagen [Thu, 14 Apr 2011 18:32:13 +0000 (20:32 +0200)]
GUI style fixes: spaces before ellipses and excess ellipses
con [Mon, 18 Apr 2011 11:57:18 +0000 (13:57 +0200)]
Merge branch 'master' of scm.dev.nokia.troll.no:creator/mainline
con [Mon, 18 Apr 2011 11:57:07 +0000 (13:57 +0200)]
Merge remote branch 'origin/2.2'
Conflicts:
qtcreator.pri
src/plugins/debugger/breakhandler.cpp
src/plugins/qt4projectmanager/qtversionmanager.cpp
Friedemann Kleint [Mon, 18 Apr 2011 11:01:12 +0000 (13:01 +0200)]
Run/Debug: Do not launch on a library project if user cancels
the executable dialog that pops up.
Reviewed-by: dt
axasia [Mon, 18 Apr 2011 10:27:42 +0000 (12:27 +0200)]
Update japanese translation.
Merge-request: 292
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
con [Mon, 18 Apr 2011 10:30:15 +0000 (12:30 +0200)]
Update version number.
Friedemann Kleint [Mon, 18 Apr 2011 10:25:08 +0000 (12:25 +0200)]
Debugger[gdb]: Locate objdump in MinGW for release build check.
Sergey Belyashov [Mon, 18 Apr 2011 10:18:09 +0000 (12:18 +0200)]
Small correction of Russian translation
Merge-request: 293
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
Friedemann Kleint [Mon, 18 Apr 2011 09:51:44 +0000 (11:51 +0200)]
Debugger: Reduce log severity of locals errors.
Preventing the log view from popping up.
Task-number: QTCREATORBUG-4524
Reviewed-by: hjk