Commit Graph

21107 Commits

Author SHA1 Message Date
Oswald Buddenhagen
9a2814d646 introduce separate output format for windows debug channel 2011-05-12 20:39:43 +02:00
Oswald Buddenhagen
8a4a7b7118 the windows debug channel knows no stdout/stderr distinction 2011-05-12 20:39:43 +02:00
Oswald Buddenhagen
7c3a291ea0 ignore vanished files while restoring session
there is no point in bothering the user with error messages and/or
having ghost editors hanging around.

Task-number: QTCREATORBUG-2424
2011-05-12 20:39:43 +02:00
Oswald Buddenhagen
98f679d7e5 purge files which cannot be opened from the "open" editors model
Task-number: QTCREATORBUG-2424
2011-05-12 20:39:43 +02:00
Oswald Buddenhagen
3c552e13a1 de-duplicate code a bit 2011-05-12 20:39:42 +02:00
Oswald Buddenhagen
9ac137fb06 add auto-saving of modified editors
Task-number: QTCREATORBUG-2847
2011-05-12 20:10:03 +02:00
Oswald Buddenhagen
a14955d0fb move the "cannot undo" warning to the search result pane
this is where it belongs, rather than into some arbitrary editor.
as a nice side effect, now not only the "rename symbol", but also the
global search&replace has such a warning.
2011-05-12 20:10:03 +02:00
Oswald Buddenhagen
f52e09a965 minor refactoring: use vertical layout instead of qstackedwidget
this allows adding further widgets to the layout. see next commit.
2011-05-12 20:10:03 +02:00
Oswald Buddenhagen
882e34ee28 rewrite editor info bar handling
the info about the bars is now stored in the IFile, not in the
EditorView. this is somewhat more expensive for the bars which
identically apply to all editors of one type, but fixes consistency
issues between views.

additionally, it is now possible to set several simultaneous
info bars per file, which ensures that no information is lost.

Co-authored-by: mae
2011-05-12 20:10:02 +02:00
Oswald Buddenhagen
46c09e77cd change createEditor() error handling
take it out of the editor->open() error path. it's unrelated.
2011-05-12 20:10:02 +02:00
Oswald Buddenhagen
40c6653ff0 don't emit changed() when saving failed 2011-05-12 20:10:02 +02:00
Oswald Buddenhagen
f14f9d1fe1 simplify copying of map 2011-05-12 20:10:02 +02:00
dt
ffd428f2eb DetailsWidget: Only set the summary on one widget
That is not on both the label and the checkbox. The label supports html
formatted text, the checkbox not.
2011-05-12 18:08:06 +02:00
dt
e08d872c7b Fix parten for add new qt dialog
Probably fixes:
Task-Nr: QTCREATORBUG-4884
2011-05-12 18:08:06 +02:00
Tobias Hunger
8966c27207 Git: Add dialog to configure branches 2011-05-12 17:32:56 +02:00
dt
1cf826fae4 Make qtversion dialog columns resize to contents
Task-Nr: QTCREATORBUG-4883
2011-05-12 17:18:33 +02:00
cerf
b48f1d6801 Bazaar: add support of the "max log count" user setting
Merge-request: 327
Reviewed-by: Tobias Hunger <tobias.hunger@nokia.com>
2011-05-12 16:37:59 +02:00
Marco Bubke
1366b12215 QmlDesigner.NodeInstances: Refactor NodeInstanceServer
NodeInstanceServer is now abstract. The informations are now sent by the
InformationNodeInstanceServer.

Reviewed-By: Thomas Hartmann
2011-05-12 16:23:29 +02:00
Thorbjørn Lindeijer
3dfb402706 Avoid using values() to iterate over QMap/QHash containers
It's more performant to iterate over the values directly than to first
stick them into a new container.

Reviewed-by: Thomas Hartmann
2011-05-12 15:56:05 +02:00
Thorbjørn Lindeijer
2b0266d0ee Disable observer and jsdebugger services when they're already part of Qt
As of Qt 4.8 the observer and jsdebugger services are part of Qt. This
means the following changes are necessary in Qt Creator:

* Do not link to the QmlJSDebugger library.
* Do not create JSDebuggerAgent and QDeclarativeViewObserver instances
  in the QmlApplicationViewer and use the new declarative_debug CONFIG
  option to enable those services in Qt. This is done automatically
  for debug builds.
* Point out the QML Debugging Library and the QML Observer are "Not
  needed" in the Qt options page.
* Change the label in qmake options from "Link QML debugging library" to
  "Enable QML debugging". It still remains as a way to enable this
  functionality in release builds or for QtQuick applications not based
  on Qt Creator's template.
* Rely on qmlviewer for debugging QML UI projects rather than the
  observer, which is no longer necessary.

Reviewed-by: Kai Koehne
2011-05-12 15:56:05 +02:00
dt
10b07c97de QtVersion Options: Make qmakePath selectedable
Task-Nr: QTCREATORBUG-4882
2011-05-12 15:54:22 +02:00
dt
28c22a1d63 Make TargetSetupDialog fast for Maemo
Task-Nr: QTCREATORBUG-4880
2011-05-12 15:54:22 +02:00
dt
38fc5adbc5 Open Project: Fix ghost windows
Task-Nr: QTCREATORBUG-4805
Reviewed-By: Robert Loehning
2011-05-12 15:54:08 +02:00
Thorbjørn Lindeijer
8d0601515e QmlJSInspector: Sync crumble path selection back to the observer
Now selecting an item via the crumble path modifies the selection in the
observed QML application accordingly.

Reviewed-by: Christiaan Janssen
2011-05-12 15:39:11 +02:00
Christian Kamm
cf15e14e5e QmlJS: Add tooltips to imports.
Task-number: QTCREATORBUG-4814
2011-05-12 15:29:41 +02:00
hjk
04c5425de2 add some mimetype for geometry shaders
This gives at least some syntax highlighting.
2011-05-12 15:27:55 +02:00
cerf
e6bbf52f29 Get rid of VCSBaseClient::ExtraCommandOptions
It is replaced by QStringList, allowing a simpler approach to add extra
arguments to a command.
The Bazaar and Mercurial VCS plugins are impacted by this change

Merge-request: 325
Reviewed-by: Tobias Hunger <tobias.hunger@nokia.com>
2011-05-12 14:48:10 +02:00
Tobias Hunger
c647c7b2fd Compile fix for freebsd 2011-05-12 14:17:45 +02:00
dt
bccbccccf8 Make Console apps check the run in terminal option
Task-Nr: QTCREATORBUG-4877
2011-05-12 14:05:33 +02:00
dt
beadef9a51 ProgessBar: Distangle finished from progress
That is allow progress to be at 100% and yet unfinished.

Task-Nr: QTCREATORBUG-4858
2011-05-12 14:05:33 +02:00
Christian Kamm
d72bddc7da QmlJS: Update to new QmlJS parser.
UiPublicMember is now initialized with a statement.
2011-05-12 13:39:53 +02:00
Christian Kamm
f8bcd6c615 QmlJS: Disable collection of semantic messages in 'Build Issues'.
There are too many false positives when a project contains source code
for plugins and qml files using that plugin at the same time. It was
particularly bad for qtdeclarative itself.

Reviewed-by: Roberto Raggi
2011-05-12 12:51:23 +02:00
Kai Koehne
6aa24fd184 DebuggerRunner: Use 'Yes', 'No' buttons for 'Do you want to continue?'. 2011-05-12 12:41:31 +02:00
dt
4d2d7cdb3d Add qml icon to the windows ressources 2011-05-12 12:30:16 +02:00
dt
b4d38705a1 Fix whitespace/coding style 2011-05-12 12:25:25 +02:00
dt
8e171e0be0 Qt Version refactoring
Split up target specific code into subclasses. Also change
Qt4BuildConfiguration to allow a null qtversion.

Remove code that relied on always having a qt version.
Also make it possible to remove all qt versions.

Completly change the qt in path autodetection to be only
a fall back if no configuration was found.

Note: For now the old settings are not removed, as such 2.2 and master
can coexist.

Reviewed-By: hunger
2011-05-12 12:23:06 +02:00
dt
9ef4ea40f2 make Tasks sortable
Sorting according to severity then id

Reviewed-By: hunger
2011-05-12 11:57:46 +02:00
hjk
8ad489664d debugger: fix deletion of breakpoints 2011-05-11 16:57:53 +02:00
Kevin Funk
bf1f5c2b02 Fixes for valgrind-callgrind feedback by Nokia
Most changes include style fixes and UI changes for better usability.

Merge-request: 324
Reviewed-by: hjk <qtc-committer@nokia.com>
2011-05-11 16:26:34 +02:00
hjk
f5601d7b1b debugger: derive breakpoint model from QAbstract*, not QTable*
Preparation for proper mulptiple breakpoint display
2011-05-11 16:25:09 +02:00
hjk
6bcb4dbd5e debugger: fix display of <MULTIPLE> breakpoints 2011-05-11 16:25:09 +02:00
Tobias Hunger
1d77eb4af9 BuildStep: Make buildsteplist page more dynamic
Use signals from buildsteplist to add/remove/move a buildstep in the
UI.

Reviewed-by: dt
2011-05-11 16:20:37 +02:00
Thomas Hartmann
bf02ae6009 QmlDesigner.nodeInstances: avoid conversion 2011-05-11 15:52:37 +02:00
Thomas Hartmann
8ea077a3eb QmlDesigner.nodeInstances: allow qDebug for InformationChangedCommand 2011-05-11 15:52:37 +02:00
hjk
a2518b6db2 debugger: disable address related breakpoints on debugger exit 2011-05-11 15:24:50 +02:00
hjk
ae730dbe7c debugger: remove spurious parantheses in user visible string 2011-05-11 14:43:28 +02:00
hjk
769b21b49d cppeditor: fix crash on uninitialized pointer
Reviewed-by: Erik Verbruggen
2011-05-11 14:42:16 +02:00
hjk
0581219acb pluginhowto: compile fix 2011-05-11 14:42:16 +02:00
dt_
c450abfe3f Symbian: Correctly ignore certain deployment rules
Reviewed-By: Pawel Polanski
Task-Nr: QTCREATORBUG-4840
2011-05-11 13:48:04 +02:00
Christian Kandeler
4e83d167ae Maemo: Set more restrictive permissions for generated private keys.
For better compatibility with the OpenSSH client.
2011-05-11 13:06:19 +02:00