Commit Graph

14718 Commits

Author SHA1 Message Date
Tobias Hunger
dd62bcc824 Task: Make sure file contains non-native separators 2010-10-25 11:40:37 +02:00
Tobias Hunger
cda261db58 TaskWindow: Improve delegate
Improve the delegate used to paint the tasks inside the taskwindow.

 * Limit maximum size of the area used to paint the filename.
 * Fix glitch where the filename is painted over the line number
 * Reduce size of gradients painted, use clipping instead.

Task-number: QTCREATORBUG-2757
2010-10-25 11:40:36 +02:00
Oswald Buddenhagen
35bb61590d Merge remote branch 'origin/2.1'
Conflicts:
	doc/qtcreator.qdoc
	share/qtcreator/templates/mobileapp/app.pro
2010-10-25 11:27:30 +02:00
Oswald Buddenhagen
49bb852292 fix external doc references 2010-10-25 11:18:06 +02:00
Leena Miettinen
05c24045b0 Doc - Qt Quick Designer UI in more detail
Reviewed-by: Carsten Owerfeldt
2010-10-25 11:00:54 +02:00
Friedemann Kleint
1a8e48e1a5 Debugger: Fix compilation with VS2005.
Reviewed-by: Maurice Kalinowski <maurice.kalinowski@nokia.com>
2010-10-22 17:21:03 +02:00
con
3b2614c697 Fix closing and restoring editors in presence of temporary editors.
* Editor manager should abort closing core, if there's a ICoreListener
that aborts closing of a editor.
* Don't save state of temporary editors, and don't save them as open in
  a splitter. So restoring the editor manager state won't try to reopen
  temporary editors.

Task-number: QTCREATORBUG-2845
Task-number: QTCREATORBUG-2841
Reviewed-by: Tobias Hunger
2010-10-22 16:31:13 +02:00
Daniel Molkentin
ac9159f872 Add our own description file to show all possible QML examples.
Reviewed-By: con
2010-10-22 14:50:44 +02:00
Friedemann Kleint
1f09c6bc45 Debugger/Windows: Do not attach to process being debugged.
Reviewed-by: Robert Loehning <robert.loehning@nokia.com>
Task-number: QTCREATORBUG-2086
2010-10-22 14:03:25 +02:00
Christian Kandeler
83255c08d5 Maemo: Use new SSH convenience class for fetching device environment. 2010-10-22 13:52:50 +02:00
Kai Koehne
c7e47f53bc QmlOutline: Don't use LookupContext due to performance issues
Creating a LookupContext can be sloooow for large projects. We create
one instance for every update in the Outline to get the right icons.

Take a shortcut here and just use the element name directly, ignoring
packages names etc.

This is a hot fix for 2.1, a following patch will change the Icon
retrieval API accordingly.

Reviewed-by: Roberto Raggi
Task-number: QTCREATORBUG-2859
2010-10-22 13:51:22 +02:00
Christian Kandeler
ee53546d8e Maemo: Allow user to add target.path if project does not have it.
Task-number: QTCREATORBUG-2704
2010-10-22 13:29:38 +02:00
Friedemann Kleint
75e2d42448 Debugger: Avoid opening of editor in shutdown phase.
Remove duplicate code. Introduce ScopedPointer for
location mark. Check shutdown phase when opening editors.

Reviewed-by: con
Task-number: QTCREATORBUG-2833
2010-10-22 12:26:13 +02:00
Friedemann Kleint
4456f02d07 Debugger: Suppress Auto-Dereferencing of pointers for char* types.
Sequence of processing changed since 2.0.1.

Reviewed-by: hjk
Task-number: QTCREATORBUG-2664
2010-10-22 12:06:30 +02:00
Friedemann Kleint
6a07c45477 Debugger: Disable gdb post-mortem debugging on Windows.
As it is not able to do the event-handshake required.

Reviewed-by: Leandro T. C. Melo <leandro.melo@nokia.com>
Reviewed-by: Kai Koehne <kai.koehne@nokia.com>
Task-number: QTCREATORBUG-2086
2010-10-22 11:31:33 +02:00
Friedemann Kleint
db671e8202 Debugger: Avoid crashes when no C++-engine is available.
Check for valid runcontrols in various places and initialize
m_engine correcly. In the case of QML-Debugging, handle
NoEngineType.

Reviewed-by: Leandro T. C. Melo <leandro.melo@nokia.com>
Reviewed-by: Kai Koehne <kai.koehne@nokia.com>
Task-number: QTCREATORBUG-2086
2010-10-22 11:27:45 +02:00
Bill King
06843b4c88 qt-maemo: Make compile on windows. 2010-10-22 12:05:47 +10:00
Oswald Buddenhagen
9eccc9cd27 update qt help index to 4.7.1
the file is "only" one meg after compression, so it isn't as bad as it
looks. and it is sorted now, so further updates should be somewhat less
wasteful.

Reviewed-by: danimo
2010-10-21 20:40:11 +02:00
Oswald Buddenhagen
8e993e08e6 fix one more raw data leak
again, qregexp was putting our raw string into its cache - this time
hidden behind a qdir::entrylist().

Reviewed-by: dt
Task-number: QTCREATORBUG-2758
2010-10-21 20:02:08 +02:00
Daniel Molkentin
f6cd848121 update changelog 2010-10-21 18:35:28 +02:00
Daniel Molkentin
64f26d3f9b use http_proxy variable for proxy detection on linux
Reviewed-by: con
2010-10-21 18:35:28 +02:00
Tobias Hunger
7b043ba1d7 Stop navigationwidget from going haywire
Stop navigationwidget from going haywire when faced with old
configuration data. This issue could lead to different effects:
 * A crash
 * Creator not being able to exit anymore
 * The sidebar being messed up

Task-number: QTCREATORBUG-2780
Reviewed-by: con
2010-10-21 18:09:29 +02:00
Thomas Hartmann
24a76a73a9 fix warnings
Reviewed-by: Marco Bubke
2010-10-21 17:14:27 +02:00
Friedemann Kleint
35fe835d02 Debugger: Catch exception if thread name cannot be determined.
As reported on mailing list.

Reviewed-by: hjk
Reviewed-by: Arvid Ephraim Picciani <arvid.picciani@nokia.com>
2010-10-21 16:31:04 +02:00
Christian Kandeler
e6091e7877 Maemo: Give users access to remote process list. 2010-10-21 16:25:16 +02:00
Thomas Hartmann
0a043df690 QmlJsEditor: fixes warning
Reviewed-by: Lasse Holmstedt
2010-10-21 16:12:57 +02:00
Thomas Hartmann
408214486f QuickToolBar: reduce usage of lookup context
Getting the lookup context is expensive. So it is now done only
on user interaction.




Reviewed-by: Roberto Raggi
2010-10-21 15:42:26 +02:00
Thomas Hartmann
ff5eb00643 QuickToolBar: do not show QuickToolBar as tooltip anymore.
Most users perceived this as a bug and found it annoying in
practice. So this feature gets removed.

Reviewed-by: Roberto Raggi
2010-10-21 15:42:26 +02:00
Thomas Hartmann
6841707e7a QmlDesigner: support for QtQuick 1.0
This add preliminary support for import QtQuick 1.0
The RewriterView does type conversion from QtQuick to Qt
so Bauhaus does not have to deal with ambiguities.

Reviewed-by: Marco Bubke
2010-10-21 15:42:25 +02:00
Friedemann Kleint
1a00bf9534 L10n: Final German 2.1 translation. 2010-10-21 15:31:27 +02:00
Oswald Buddenhagen
c9a8dc990a expand working directory before looking for a command in it
Reviewed-by: hunger
2010-10-21 14:21:13 +02:00
con
0765a9819d Fix potential crash when closing settings dialog.
We accessed the m_applied member after the dialog already was deleted.

Task-number: QTCREATORBUG-2844
Reviewed-by: Friedemann Kleint
2010-10-21 14:11:57 +02:00
Friedemann Kleint
a015eb53af Valgrind fix of leak in MaemoSettingsWidget.
Reviewed-by: Christian Kandeler <christian.kandeler@nokia.com>
2010-10-21 14:10:02 +02:00
Friedemann Kleint
67278ca35b Valgrind fixes.
In Debugger and WelcomePageWidget.

Reviewed-by: Daniel Molkentin <daniel.molkentin@trolltech.com>
2010-10-21 12:36:19 +02:00
Christian Kandeler
a4501441cb Maemo: Fix debugger race condition.
"gdbserver started" does not necessarily mean "gdbserver has opened its port".

Reviewed-by: Tobias Hunger
2010-10-21 11:36:54 +02:00
con
6b47a0f277 Fix previous fakevim fix (make slot actually a slot)
Reviewed-by: Friedemann Kleint
2010-10-21 10:02:05 +02:00
Friedemann Kleint
b529660461 Wizards: Format UI-form class code correctly.
Reviewed-by: Kai Köhne <kai.koehne@nokia.com>
Task-number: QTCREATORBUG-2779
2010-10-21 09:08:33 +02:00
Bill King
2ede8e3c16 tests: get tst_codegen running again, if not passing yet. 2010-10-21 14:52:56 +10:00
Bill King
524a9ac4a8 tests: more test project cleanup 2010-10-21 14:49:58 +10:00
con
0d5211cc45 Prevent crash when closing Qt Creator while cdb session is running.
The debugger plugin opens an editor in this case, leading to fakevim and
cppeditor crashing.
This commit doesn't fix the problem's source, but adds safeguards that
are sensible anyhow: FakeVim should not register with editors during
shutdown, and CppEditor should not unconditionally assume an existing
editor manager in the destructor.

Reviewed-by: Friedemann Kleint
2010-10-20 17:10:47 +02:00
con
ffbbca4cc6 Don't crash while reporting a configuration error (S60 debugging)
Task-number: QTCREATORBUG-2828
Reviewed-by: Robert Loehning
Reviewed-by: Friedemann Kleint
2010-10-20 15:37:22 +02:00
Friedemann Kleint
e0e5923296 Debugger: Do not pass -client for Windows-post-mortem debugging.
Reviewed-by: Robert Loehning <robert.loehning@nokia.com>
Task-number: QTCREATORBUG-2827
2010-10-20 15:17:19 +02:00
Christian Kamm
b2369973a4 QmlJS: Fix a performance problem.
In order to determine all components that instantiate a given component,
Bind::usesQmlPrototype was called on each document in the snapshot.
That, in turn, had to iterate over all object definitions inside the
document, resolving their prototype references.

All in all, it lead to a very large amount of fairly expensive lookups
that were slowing down Creator considerably.

Reviewed-by: Erik Verbruggen
2010-10-20 14:54:07 +02:00
Kai Koehne
9eea942aa6 QmlOutline: Fix reordering of array elements
Make sure that a comma is added when inserting array elements
into the array.

Task-number: QTCREATORBUG-2796
Reviewed-by: Erik Verbruggen
2010-10-20 14:48:58 +02:00
Christiaan Janssen
3938cd671b DebuggerEngine: fixed race condition at qml engine startup
Reviewed by: hjk
2010-10-20 13:45:04 +02:00
Christiaan Janssen
63f2b87eac QmlDesiger: fixed format for the easing parameters in the easing dialog
Reviewed by: Thomas Hartmann
2010-10-20 13:44:52 +02:00
Christian Kandeler
d4b45a25b3 Mobile wizards: Add hint for Qt Mobility.
Reviewed-by: dt
2010-10-20 12:42:29 +02:00
Friedemann Kleint
2836fde7e6 Debugger: Fix attaching via QtSingleApplication.
In case qtcdebugger sends a command to an already running
instance of Qt Creator (Windows).

Reviewed-by: hjk
Task-number: QTCREATORBUG-2814
2010-10-20 12:13:28 +02:00
con
a1664c12e9 Avoid changing text on toggle menu item.
We actually only want to change the tool tip.

Reviewed-by: Thorbjørn Lindeijer
2010-10-20 12:10:02 +02:00
con
3a82e22982 Opening recent files wasn't opening with right encoding (Windows)
Confusion between native and internal path representation (i.e.
backslashes). File names should always be "portable" internally.

Reviewed-by: Robert Loehning
2010-10-20 12:10:02 +02:00