OSDN Git Service
Thomas Hartmann [Wed, 22 Dec 2010 16:35:20 +0000 (17:35 +0100)]
QmlDesigner.propertyEditor: read gradient data from model
We are reading gradient data from the model instead of the instances now.
This avoids problems with asynchronous implementation and is feature wise the same.
Thomas Hartmann [Wed, 22 Dec 2010 16:33:38 +0000 (17:33 +0100)]
QmlDesigner.propertyEditor: cleanup
This was called too often.
Thomas Hartmann [Wed, 22 Dec 2010 16:16:52 +0000 (17:16 +0100)]
QmlDesigner.propertyEditor: fixing GradientLineQmlAdaptor
Fixing slight behaivour changes of refactoring.
Thomas Hartmann [Wed, 22 Dec 2010 16:15:35 +0000 (17:15 +0100)]
QmlDesigner.propertyEditor: bug fix for gradient editing
Thomas Hartmann [Wed, 22 Dec 2010 16:14:57 +0000 (17:14 +0100)]
QmlDesigner.propertyEditor: bug fix
This is cleaner and avoids a regression.
Alessandro Portale [Tue, 21 Dec 2010 20:32:19 +0000 (21:32 +0100)]
Removing trailing white spaces.
Friedemann Kleint [Tue, 21 Dec 2010 16:26:57 +0000 (17:26 +0100)]
Compile fix.
Friedemann Kleint [Tue, 21 Dec 2010 16:23:27 +0000 (17:23 +0100)]
Debugger[New CDB]: First attempts at QMap<>.
Qualify map and hash nodes as Module!QMapNode<>.
Limit recursion depth of GDBMI dump.
Introduce error reporting.
Iterate QMap nodes and create artificial key/value nodes.
hjk [Tue, 21 Dec 2010 14:53:49 +0000 (15:53 +0100)]
debugger: fix recently introduced regression in gotoLocation
don't set the marker when clicking in the breakpoint view
hjk [Tue, 21 Dec 2010 14:14:24 +0000 (15:14 +0100)]
fakevim: implement 's' in visual block mode
Cursor positioning after the operation is wrong, but bearable.
hjk [Tue, 21 Dec 2010 13:41:17 +0000 (14:41 +0100)]
debugger: try to make core file loading appear snappier
hjk [Tue, 21 Dec 2010 12:58:13 +0000 (13:58 +0100)]
debugger: reduce the number of PluginManager::getObject() calls
hjk [Tue, 21 Dec 2010 12:34:59 +0000 (13:34 +0100)]
debugger: add an option to load "missing" symbols for current stack
Pawel Polanski [Tue, 21 Dec 2010 12:22:36 +0000 (13:22 +0100)]
Symbian: small change in cert's capabilities
Kai Koehne [Tue, 21 Dec 2010 11:39:14 +0000 (12:39 +0100)]
Fix capitalization problems with qmlviewer
qmlviewer is picky about file path capitalization, and will bail out with
'File name case mismatch' if e.g. the working directory is wrongly
capitalized. Prevent this by computing the canonical path of
the qml file + working directory in advance.
Reviewed-by: Alessandro Portale
Task-number: QTCREATORBUG-3417
hjk [Tue, 21 Dec 2010 11:41:34 +0000 (12:41 +0100)]
debugger: update stack view after manually loading modules
Task-number: QTCREATORBUG-3427
hjk [Tue, 21 Dec 2010 11:30:17 +0000 (12:30 +0100)]
debugger: don't crash in gotoLocation() if no editor can be created
hjk [Tue, 21 Dec 2010 10:54:15 +0000 (11:54 +0100)]
debugger: don't issue "set print static-members off"
Does not seem to work in an MI context and is not used by the python script.
hjk [Tue, 21 Dec 2010 10:52:21 +0000 (11:52 +0100)]
debugger: make reading of .gdbinit optional
hjk [Tue, 21 Dec 2010 10:36:42 +0000 (11:36 +0100)]
fakevim: start with work on Ctrl-N/Ctrl-P
Pawel Polanski [Tue, 21 Dec 2010 11:25:11 +0000 (12:25 +0100)]
Fixed broken linux compilation
Pawel Polanski [Tue, 21 Dec 2010 09:42:02 +0000 (10:42 +0100)]
Symbian: Distinguish the groups of caps while displaying a certificate's info
Friedemann Kleint [Tue, 21 Dec 2010 07:40:44 +0000 (08:40 +0100)]
Debugger[New CDB]: Simplify MSVC version detection for std::map.
mae [Mon, 20 Dec 2010 17:10:50 +0000 (18:10 +0100)]
Fix QML to UTF-8, unless changed in editor
Task-id: QTCREATORBUG-3424
hjk [Mon, 20 Dec 2010 16:39:51 +0000 (17:39 +0100)]
debugger: make threadnames feature optional
Friedemann Kleint [Mon, 20 Dec 2010 16:09:17 +0000 (17:09 +0100)]
Debugger[New CDB]: Dump std::map,std::multimap and std::set.
Rebuild the structure in memory as back-expanding parent
pointers seems to fail sometimes.
hjk [Mon, 20 Dec 2010 15:55:07 +0000 (16:55 +0100)]
debugger: fix thread switching in ThreadNamesCommand
hjk [Mon, 20 Dec 2010 15:28:26 +0000 (16:28 +0100)]
debugger: keep track of current gdb thread
hjk [Mon, 20 Dec 2010 15:18:22 +0000 (16:18 +0100)]
macro plugin: compile fix with namespaced Qt
Roberto Raggi [Mon, 20 Dec 2010 15:10:56 +0000 (16:10 +0100)]
Sort the completion items when searching for common prefixes.
Reviewed-by: Thorbjørn Lindeijer
hjk [Mon, 20 Dec 2010 13:47:29 +0000 (14:47 +0100)]
debugger: be a bit more verbose in the log on process interruption
hjk [Mon, 20 Dec 2010 12:54:57 +0000 (13:54 +0100)]
debugger: cache results of finding out the current Qt namespace
Thomas Hartmann [Mon, 20 Dec 2010 13:32:59 +0000 (14:32 +0100)]
QmlDesigner.nodeInstances: crash fix
If the instance is not valid return an empty list.
Thomas Hartmann [Mon, 20 Dec 2010 13:32:12 +0000 (14:32 +0100)]
QmlDesigner.model: adding early reject to reparentHere()
If this property is already the parent node,
then there is nothing to do.
Thomas Hartmann [Mon, 20 Dec 2010 12:39:40 +0000 (13:39 +0100)]
QmlDesigner.nodeInstanceView: reverting "further optimizes import changes"
This reverts commit
71df9a6162ef4ab5db057b022acd50088820884f.
The commit introduced timing issues.
Tobias Hunger [Mon, 20 Dec 2010 10:10:30 +0000 (11:10 +0100)]
Macros: Fix license headers
Nicolas Arnaud-Cormos [Mon, 20 Dec 2010 09:35:30 +0000 (10:35 +0100)]
New plugin: plugin macro
This plugin let the user record and replay some macros:
* 3 handlers: action, find and texteditor
* almost all texteditor and cpp actions recorded
* options page to set the directories where the macros are stored
* optional dialog to give a name and comment at the end of a macro
* locator integration to play a macro
* shortcuts assignment to macro
The most important change outside the plugin macros is the isScriptable method
for command: All scriptable commands can be stored in a macro.
Merge-request: 2176
Reviewed-by: Tobias Hunger <tobias.hunger@nokia.com>
Tobias Hunger [Mon, 20 Dec 2010 09:24:35 +0000 (10:24 +0100)]
Git: Improve handling of git submodules
Task-number: QTCREATORBUG-3390
Kai Koehne [Mon, 20 Dec 2010 08:44:54 +0000 (09:44 +0100)]
Outline: Double click should jump to text even in non-sync mode
Kai Koehne [Mon, 20 Dec 2010 08:15:49 +0000 (09:15 +0100)]
Outline: Add context menu for collapsing/expanding tree
Task-number: QTCREATORBUG-2976
Kai Koehne [Fri, 10 Dec 2010 12:53:44 +0000 (13:53 +0100)]
QmlObserver: Remove unconditional qDebug()
Pawel Polanski [Mon, 20 Dec 2010 08:12:33 +0000 (09:12 +0100)]
Symbian: If TRK connection is canceled then the project is not compiled
hjk [Fri, 17 Dec 2010 17:02:02 +0000 (18:02 +0100)]
debugger: fix previous commit
hjk [Fri, 17 Dec 2010 16:41:33 +0000 (17:41 +0100)]
debugger: use to_string attribute to gdb.execute if available
con [Fri, 17 Dec 2010 16:14:20 +0000 (17:14 +0100)]
License headers, part 2
con [Fri, 17 Dec 2010 16:01:09 +0000 (17:01 +0100)]
Compile fix for Mac.
con [Fri, 17 Dec 2010 16:00:53 +0000 (17:00 +0100)]
Merge branch '2.1'
Conflicts:
src/plugins/coreplugin/basemode.cpp
src/plugins/coreplugin/basemode.h
src/plugins/coreplugin/scriptmanager/qworkbench_wrapper.cpp
src/plugins/coreplugin/scriptmanager/qworkbench_wrapper.h
src/plugins/debugger/cdb/cdbsymbolpathlisteditor.cpp
src/plugins/debugger/debuggeragents.cpp
src/plugins/debugger/debuggeruiswitcher.cpp
src/plugins/debugger/debuggeruiswitcher.h
src/plugins/projectexplorer/buildconfigdialog.cpp
src/plugins/qmldesigner/components/propertyeditor/colorwidget.cpp
src/plugins/qmldesigner/components/propertyeditor/colorwidget.h
src/plugins/qmldesigner/designercore/include/enumeratormetainfo.h
src/plugins/qmldesigner/designercore/include/modelutilities.h
src/plugins/qmldesigner/designercore/include/nodeinstance.h
src/plugins/qmldesigner/designercore/include/propertymetainfo.h
src/plugins/qmldesigner/designercore/instances/graphicsscenenodeinstance.cpp
src/plugins/qmldesigner/designercore/instances/graphicsscenenodeinstance.h
src/plugins/qmldesigner/designercore/instances/graphicsviewnodeinstance.cpp
src/plugins/qmldesigner/designercore/instances/graphicswidgetnodeinstance.cpp
src/plugins/qmldesigner/designercore/instances/graphicswidgetnodeinstance.h
src/plugins/qmldesigner/designercore/instances/nodeinstance.cpp
src/plugins/qmldesigner/designercore/instances/qmlviewnodeinstance.cpp
src/plugins/qmldesigner/designercore/instances/widgetnodeinstance.cpp
src/plugins/qmldesigner/designercore/instances/widgetnodeinstance.h
src/plugins/qmldesigner/designercore/metainfo/enumeratormetainfo.cpp
src/plugins/qmldesigner/designercore/metainfo/propertymetainfo.cpp
src/plugins/qmldesigner/designercore/model/modelutilities.cpp
src/plugins/snippets/inputwidget.cpp
src/plugins/snippets/snippetscompletion.cpp
src/plugins/snippets/snippetscompletion.h
src/plugins/snippets/snippetspec.cpp
src/plugins/snippets/snippetsplugin.cpp
src/plugins/snippets/snippetswindow.cpp
src/plugins/snippets/snippetswindow.h
src/plugins/texteditor/snippetsparser.cpp
src/tools/qml/qmldom/main.cpp
tests/manual/trk/runner.cpp
tests/manual/trk/trkolddevice.cpp
tests/manual/trk/trkolddevice.h
tests/manual/trk/trkserver.cpp
con [Thu, 16 Dec 2010 13:03:05 +0000 (14:03 +0100)]
Show Qt Creator resources in Locator on Mac
con [Thu, 16 Dec 2010 10:49:47 +0000 (11:49 +0100)]
Some API beautification in action container.
Done-with: Daniel Molkentin
Friedemann Kleint [Fri, 17 Dec 2010 15:04:33 +0000 (16:04 +0100)]
Debugger[New CDB]: Support MSVC2008 std::deque as well.
con [Fri, 17 Dec 2010 15:01:08 +0000 (16:01 +0100)]
License headers.
Robert Loehning [Fri, 17 Dec 2010 13:06:08 +0000 (14:06 +0100)]
L10n: Improved German translations
%1 contains the error message, not the hostname.
Other typos fixed as well.
Reviewed-by: ossi
Christian Kandeler [Fri, 17 Dec 2010 12:17:35 +0000 (13:17 +0100)]
Maemo: Improve file selection dialog for publishing.
- Make sure file names are completely visible.
- Show hidden files.
- Pre-unselect files of types unlikely to be included in the package.
Friedemann Kleint [Fri, 17 Dec 2010 14:34:18 +0000 (15:34 +0100)]
Debugger[New CDB]: Add std::deque.
hjk [Fri, 17 Dec 2010 13:13:49 +0000 (14:13 +0100)]
debugger: remove accidentally committed debug output
hjk [Fri, 17 Dec 2010 12:49:49 +0000 (13:49 +0100)]
debugger: adjust sizes of some well-known columns in some views
hjk [Fri, 17 Dec 2010 12:22:53 +0000 (13:22 +0100)]
bineditor: allow copying also if selection is "backwards"
hjk [Fri, 17 Dec 2010 12:19:28 +0000 (13:19 +0100)]
bineditor: code cosmetics
hjk [Fri, 17 Dec 2010 12:07:17 +0000 (13:07 +0100)]
debugger: don't retrieve the stack if we know we will continue stepping
Sergey Belyashov [Fri, 17 Dec 2010 11:27:19 +0000 (12:27 +0100)]
Russian translation update
Merge-request: 228
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
hjk [Fri, 17 Dec 2010 11:02:23 +0000 (12:02 +0100)]
debugger: reality check, adjust FIXME comment re. use of gdb 6.8
hjk [Fri, 17 Dec 2010 10:30:32 +0000 (11:30 +0100)]
debugger: remove a bit of stackview flicker by using the 80 ms timer
hjk [Thu, 16 Dec 2010 18:06:33 +0000 (19:06 +0100)]
debugger: introduce the concept of a 'Location', used by gotoLocation
hjk [Thu, 16 Dec 2010 16:58:43 +0000 (17:58 +0100)]
debugger: more tracepoint stuff
Friedemann Kleint [Fri, 17 Dec 2010 11:00:44 +0000 (12:00 +0100)]
Debugger[New CDB]: Add more fine-grained settings for events/break.
Add options to break on Cpp Exceptions, thread creation, etc.
Pawel Polanski [Fri, 17 Dec 2010 10:46:52 +0000 (11:46 +0100)]
Symbian: Make error concerning capabilities prettier
Pawel Polanski [Fri, 17 Dec 2010 09:33:08 +0000 (10:33 +0100)]
Symbian: Fixed crash related to the not responding TRK
Task-number: QTCREATORBUG-3349
Kai Koehne [Fri, 17 Dec 2010 09:18:34 +0000 (10:18 +0100)]
QmlDebugger: Also log messages from JSDebugger to debug console
Kai Koehne [Fri, 17 Dec 2010 07:39:25 +0000 (08:39 +0100)]
QmlDebugger: Improving debug log output
Friedemann Kleint [Fri, 17 Dec 2010 09:11:57 +0000 (10:11 +0100)]
Debugger[New CDB]: Improve and enable auto-detection.
Also take over symbol path of the old CDB engine on
auto-detect.
Christian Kandeler [Thu, 16 Dec 2010 17:33:30 +0000 (18:33 +0100)]
Maemo: Fix "make distclean" step for publishing.
Task-number: QTCREATORBUG-3343
Christian Kandeler [Thu, 16 Dec 2010 17:03:48 +0000 (18:03 +0100)]
Maemo: Fix newlines in debian files when publishing.
The build server does not like CRLF.
Christian Kandeler [Thu, 16 Dec 2010 15:45:08 +0000 (16:45 +0100)]
Maemo: Add a hint to the publishing wizard's upload page.
This should help people realize they need to explicitly request
upload rights.
Christian Kandeler [Thu, 16 Dec 2010 14:44:02 +0000 (15:44 +0100)]
Maemo: Fix detection of valid icon in publishing code.
Task-number: QTCREATORBUG-3342
Christian Kandeler [Thu, 16 Dec 2010 13:46:24 +0000 (14:46 +0100)]
Remove annoying warnings when loading Creator
The proper fix would be to support the QMAKE_SUBSTITUTES variable.
Christian Kandeler [Thu, 16 Dec 2010 12:06:15 +0000 (13:06 +0100)]
Maemo: Fix file removal problem on Windows.
Apparently, we can't delete read-only files.
Task-number: QTCREATORBUG-3343
Thomas Hartmann [Thu, 16 Dec 2010 16:51:58 +0000 (17:51 +0100)]
compilefix
Thomas Hartmann [Thu, 16 Dec 2010 16:47:39 +0000 (17:47 +0100)]
fixes warnings
Thomas Hartmann [Thu, 16 Dec 2010 16:46:38 +0000 (17:46 +0100)]
QmlDesigner.propertyEditor: code cleanup for property editing
Instead of duplicating the code from QmlEditorWigets we now subclass
and expose the gradient editing to qml.
The adaptor class is called GradientLineQmlAdaptor.
Kai Koehne [Thu, 16 Dec 2010 16:26:25 +0000 (17:26 +0100)]
QmlDebugger: Log activity of Observer in debugger log
Kai Koehne [Thu, 16 Dec 2010 15:31:10 +0000 (16:31 +0100)]
QmlJSDebugger: Remove confusing status messages
Clean up status messages logged in the debugger log.
Kai Koehne [Thu, 16 Dec 2010 15:20:21 +0000 (16:20 +0100)]
QmlJSDebugger: Don't mark failing connection attempt as swarning
We're trying multiple times to connect, and it's just normal that
the first tries will fail (because the app isn't initialized yet),
so don't log it as a warning.
Friedemann Kleint [Thu, 16 Dec 2010 14:49:08 +0000 (15:49 +0100)]
Debugger[New CDB]: Dump QHash/QMultiHash/QSet.
Introduce new Symbol group node for fake map nodes.
Iterate over QHash and extract keys, values for QSet/QHash.
Thomas Hartmann [Thu, 16 Dec 2010 13:45:30 +0000 (14:45 +0100)]
QmlDesigner: adding meego and symbian plugin to .pro
Thomas Hartmann [Thu, 16 Dec 2010 13:36:46 +0000 (14:36 +0100)]
QmlDsigner.properyEditor: cleanup
Removing unused files.
Thorbjørn Lindeijer [Tue, 14 Dec 2010 13:34:57 +0000 (14:34 +0100)]
Avoid skipping the closing parenthesis when completing with '('
When the user types '(' then he'll likely also type the matching ')',
in which case skipping the automatic closing parenthesis is annoying
because you would end up with two of them.
Reviewed-by: Roberto Raggi
hjk [Thu, 16 Dec 2010 12:32:47 +0000 (13:32 +0100)]
debugger: fix display of C style 'typedef struct X { ... } X;' types.
hjk [Thu, 16 Dec 2010 12:02:59 +0000 (13:02 +0100)]
debugger: start with some infrastructure for tracepoint support
Kai Koehne [Thu, 16 Dec 2010 12:20:58 +0000 (13:20 +0100)]
QmlOutline: Make QTC_ASSERT more meaningful
Split up QTC_ASSERT to maybe find out why, from times to times,
the original assert fails.
Tobias Hunger [Thu, 16 Dec 2010 11:10:56 +0000 (12:10 +0100)]
GDB: Fix detection of python for GDB on windows
Task-number: QTCREATORBUG-3375
Reviewed-by: hjk
Thomas Hartmann [Thu, 16 Dec 2010 11:59:05 +0000 (12:59 +0100)]
QmlDesigner.designModeWidget: fix style of error tooltip
DocumentWarningWidget is now derived from Utils::FakeToolTip and follows
the Qt Creator styling.
Thomas Hartmann [Thu, 16 Dec 2010 11:57:59 +0000 (12:57 +0100)]
QmlDesigneritemLibrary: relax condition for entriesForType()
>= is makes more sense for providing icons etc...
Thomas Hartmann [Thu, 16 Dec 2010 11:56:37 +0000 (12:56 +0100)]
QmlDesigner.nodeInstanceView: further optimizes import changes
This patch delays the restart of the pupped by 200ms when an import changes.
Kai Koehne [Thu, 16 Dec 2010 11:37:47 +0000 (12:37 +0100)]
Qt4ProjectManager: Fix crash when loading $QTDIR/src/src.pro
Guard access to pointer, which happens to be 0. The regression
was most likely introduced by
057591e0dd.
hjk [Thu, 16 Dec 2010 11:32:04 +0000 (12:32 +0100)]
debugger: make connection list count formally correct
Task-number: QTCREATORBUG-2785
hjk [Thu, 16 Dec 2010 11:07:12 +0000 (12:07 +0100)]
debugger: move memory related context menu items of l&w to submenu
Roberto Raggi [Thu, 16 Dec 2010 11:25:51 +0000 (12:25 +0100)]
Added semantic checks for stray semicolons and topldevel empty declarations.
Friedemann Kleint [Thu, 16 Dec 2010 11:17:54 +0000 (12:17 +0100)]
Debugger[New CDB]: Fix stepping issues, forced shutdown, values.
- Do not report start-up trap as stop reason should one trigger
while stepping.
- Set current frame to first usable frame, avoiding disassembly
while stepping
- Kill process in case of forced shutdown with pending (long)
commands.
- SymbolGroupValue: Do a quick check for accessible values
and mark failure as 'invalid'.
- Introduce flag indicating existence of simple dumpers to types.
Roberto Raggi [Thu, 16 Dec 2010 11:05:48 +0000 (12:05 +0100)]
Removed stray tokens and fixed warnings/errors when compiling with pedantic C++ compilers.
Roberto Raggi [Thu, 16 Dec 2010 10:33:19 +0000 (11:33 +0100)]
Added missing #include directive.