Commit Graph

72811 Commits

Author SHA1 Message Date
Tobias Hunger
3061d7dc32 Check (build|run)configurations on addition
* Make sure we do not add duplicate or 0 (build|run)configurations
   to a project.

Reviewed-by: dt
2010-01-15 10:54:29 +01:00
Oswald Buddenhagen
95666a2e66 purge unused ProXmlParser class 2010-01-14 21:05:36 +01:00
Tobias Hunger
edf04dd791 Allow access to complete map of values in PersistentSettingsReader
Reviewed-by: dt
2010-01-14 19:42:08 +01:00
Tobias Hunger
8e82a86e32 Small cleanups in Project
* Fix typo in variable name
 * Make member naming more consistent
 * Use a constant for the file name postfix.

Reviewed-by: Alessandro Portale
2010-01-14 19:41:51 +01:00
con
24d592d8fa Merge remote branch 'origin/1.3'
Conflicts:
	src/plugins/bineditor/bineditorplugin.cpp
	src/plugins/coreplugin/editormanager/editormanager.cpp
	src/plugins/debugger/gdb/gdbengine.cpp
	src/plugins/debugger/watchhandler.cpp
2010-01-14 18:45:35 +01:00
con
cd8bc8a207 Opening binary files leaves empty entries in open editors window
Leading to a crash when selecting the empty entry.
The patch fixes a big memory leak with bin editors (neither the widget
nor the IFile instance was deleted, the latter leading to the empty
entry in the open editors window), and also puts a saveguard in the open
editors window, so that empty entries are not shown any more.

Task-number: QTCREATORBUG-571
Reviewed-by: Thorbjørn
2010-01-14 18:16:15 +01:00
con
00142e4cf4 Work around a Mac specific QSettings bug for the moment. 2010-01-14 18:12:40 +01:00
dt
1da2e9e8d8 Fix for wrong version in gdb substitute for qt path
Reviewed-By: thorbjorn
2010-01-14 17:26:18 +01:00
Roberto Raggi
70dc105278 Highlight using the `label char format' the identifiers and the dots at the left of a colon. 2010-01-14 16:49:12 +01:00
con
601038689e Remove one level of the Command class hierarchy.
Remove the historical separation of "Action" and "OverridableAction".
The latter is now merged into the former.
2010-01-14 16:37:40 +01:00
con
e172eccb04 Mac: Open generic and qml projects from Finder with Qt Creator. 2010-01-14 16:37:40 +01:00
con
ba31cfa505 Fix the path for global configuration. 2010-01-14 16:37:40 +01:00
Kai Koehne
6f0adb7180 Fix MSVC warning 2010-01-14 16:34:29 +01:00
Kai Koehne
33ec15b9ab Prevent symbol clashes for qml classes
Fix namespace usage such that all classes in shared/qml live in the
Qml namespace, and classes in QmlDesigner plugin in the QmlDesigner
namespace.

This should prevent any symbol clashes until we can finally get rid
of the file dublicates (e.g. QmlDocument).
2010-01-14 16:32:22 +01:00
Roberto Raggi
f808377344 Improved highlighting of QML ids. 2010-01-14 16:30:48 +01:00
Daniel Molkentin
99a9b4a6a1 Initialize global settings object 2010-01-14 15:54:35 +01:00
Tobias Hunger
b1e1f44a8d Add method to verify existence of CMake targets
* Add a simple method to test whether a CMake target exists.

Reviewed-by: dt
2010-01-14 15:51:49 +01:00
Roberto Raggi
ea9f96a395 Improved QML/JS indenter when using C-like multiline comments. 2010-01-14 15:35:36 +01:00
Roberto Raggi
35e3526825 Access the method insert() using its fully qualified name. 2010-01-14 15:35:36 +01:00
Daniel Molkentin
45fb49ccdc Add timestamp for when to pick up new Qt versions.
This assumes that new Qt version entries will be put into
the System scope settings file.
2010-01-14 15:28:33 +01:00
Daniel Molkentin
047901aab2 Allow access to system scope setting.
This commit add a Settings::Scope parameter to
Core::ICore::settings(), the default is UserScope,
which falls back to SystemScope. Specifying SystemScope
instead gives exclusive access to the SystemScope.
2010-01-14 15:27:14 +01:00
Daniel Molkentin
88e24a61d6 Force system scope for settings to be in $CREATORDIR/share/qtcreator.
Note that according to QSettings design, the file itself then is
in $CREATORDIR/share/qtcreator/Nokia/QtCreator.ini. Note case (Unix)
and Vendor dir!
2010-01-14 15:27:09 +01:00
Daniel Molkentin
6ba9ae6685 Be a good citizen, retrieve the settings from ICore::instance(). 2010-01-14 15:27:03 +01:00
Tobias Hunger
6c3c839c12 Add new base class for project related configuration
* Add a new base class to derive build- and runconfigurations as
   well as buildsteps from.

Reviewed-by: dt
2010-01-14 15:11:01 +01:00
Roberto Raggi
c98cc836d4 Removed extra copy of the QML/JS front-end 2010-01-14 13:33:39 +01:00
Roberto Raggi
fb66c8da85 Removed duplicate symbols. 2010-01-14 13:33:39 +01:00
Robert Loehning
4665719194 qtcdebugger: Overwriting other versions when registering.
Reviewed-by: Friedemann Kleint
2010-01-14 13:07:05 +01:00
Thomas Hartmann
09fb4e56d7 Merge branch 'master' of git@scm.dev.nokia.troll.no:creator/mainline 2010-01-14 12:45:43 +01:00
Roberto Raggi
1879838324 Use the QML/JS incremental scanner in the indenter. 2010-01-14 12:02:27 +01:00
Thorbjørn Lindeijer
f3b738bb66 Reuse local snapshot reference 2010-01-14 11:54:11 +01:00
Roberto Raggi
2e556b5c07 Removed duplicated symbols. 2010-01-14 11:14:53 +01:00
Roberto Raggi
934e5d0336 Removed obsolete code. 2010-01-14 11:01:20 +01:00
dt
fb3ae97df3 Add Build to the right click menu of sub projects for Qt4 Projects
They do what you expect them to do, that is build only a subtree.
The implementation is a little bit strange. We temporarly set the sub
node to be built on the BuildConfiguration, enqueue that
BuildConfiguration (which calls BuildStep::init()), and then reset that
temporary value.

A more general way would be to have the ability to extend
BuildConfiguration::buildProject() in a way that additional data can be
passed to the BuildSteps.

Task-Nr: QTCREATOR-5
Task-Nr: QTCREATORBUG-44
2010-01-13 18:02:22 +01:00
dt
407b7f1ff0 Move BuildStep::init() to where they are added to the buildqueue
Actually that's more correct. E.g. imagine building a project, and while
the qmake step runs changing the working directory. The make step would
be affected by that. With the change both the qmake and make step get
their working directory on beeing added to the queue and so don't care
if the setting is changed afterwards.
2010-01-13 18:02:22 +01:00
Marco Bubke
dd14b75f6c Change id removing 2010-01-13 17:20:13 +01:00
Thorbjørn Lindeijer
c47f1e3a7f Made "All Files" filter always available
Needed to be able to open text files with arbitrary or no extension.
Previously, the "All Files" filter would disappear when there was no
plugin with an empty filter string, like the BinEditor plugin.

Reviewed-by: con
2010-01-13 17:17:21 +01:00
Thorbjørn Lindeijer
87a7ed94a3 Fixed an issue with keeping a shipped color scheme selected
When the path to the shipped color schemes changes, Qt Creator was
unable to load the chosen color scheme. Now, when it can't find the
color scheme, it will look for it in the default color scheme path.

Reviewed-by: con
2010-01-13 17:17:12 +01:00
ck
355d5a321b Botan lib: Add missing flag to link with librt. 2010-01-13 17:03:39 +01:00
hjk
d5c9192c6b debugger: several small fixes for new gdb in trkadapter 2010-01-13 15:20:22 +01:00
hjk
4d7341beca debugger: whitespace 2010-01-13 15:20:21 +01:00
hjk
d3cdfe8134 debugger: add some debug output to trk device 2010-01-13 15:20:21 +01:00
hjk
1bd707ca87 debugger: invalidate current snapshot state whenever trk reports a stop 2010-01-13 15:20:21 +01:00
hjk
c8a992bf90 debugger: properly handle breakpoints above 2<<31 in the trk adapter
Also: re-enable 'Step over' fallback, report error for failed breakpoints
2010-01-13 15:20:21 +01:00
hjk
19b9f1404f debugger: extra 'continue' for stops delivered by new symbian gdb 2010-01-13 15:20:21 +01:00
ck
e83c2e40a6 Help plugin: Simplify code path in doc registering. 2010-01-13 15:08:07 +01:00
Thomas Hartmann
47b2bde031 Qml Designer.ItemLibrary: fixes graphical glitch (dnd)
See BAUHAUS-277
2010-01-13 14:49:57 +01:00
kh1
3b7527de2e Make use of the new ssh lib feature. 2010-01-13 14:47:03 +01:00
kh1
1c8f321cb9 Add ssh support to build. 2010-01-13 14:47:01 +01:00
Roberto Raggi
ea9dc16430 Fixed indentation of QML/JS function calls. 2010-01-13 14:42:54 +01:00
Roberto Raggi
e3e4f1b986 Improved the QML/JS indenter when indenting statements with inserted semicolons 2010-01-13 14:42:54 +01:00