Commit Graph

88653 Commits

Author SHA1 Message Date
Oswald Buddenhagen
050b2e4ae2 join the two node update lists into one list of pairs
this is probably just as fast (still two allocs per insert), but it is
definitely more elegant.
2009-12-08 17:36:41 +01:00
Oswald Buddenhagen
9ba6f06af7 don't call setQtVersion() - createProFileReader() already does it 2009-12-08 17:36:40 +01:00
Thorbjørn Lindeijer
fdc2463971 Relax the selection requirement for indent/unindent selection
Before, the selection was required to span multiple lines. Now, any
selection will trigger the line indenting functionality of
Tab/Shift+Tab. This should lead to less surprises.

Also, Shift+Tab will now always unindent the current line, even if there
is no selection, since there is nothing else sensible for this shortcut
to do.

Task-number: QTCREATORBUG-414
Reviewed-by: mae
2009-12-08 17:30:27 +01:00
Friedemann Kleint
ff1054fc8d Subversion: Adapt to new VCSBasePlugin.
Remove logic handling several repositories.
2009-12-08 16:50:27 +01:00
dt
168813e9b1 Ups fix connects for cmake project 2009-12-08 15:44:17 +01:00
dt
97929c440f Ensure that the environment widget is updated correctly 2009-12-08 14:42:04 +01:00
Friedemann Kleint
ef3abd9be2 VCS Refactoring: Add missing files II. 2009-12-08 14:31:49 +01:00
Friedemann Kleint
1e433cd50c VCS Refactoring: Add missing files. 2009-12-08 14:30:47 +01:00
Friedemann Kleint
de49067803 Mercurial: Adapt to 8097879d6d
Make use of VCS base class.
2009-12-08 14:28:00 +01:00
Friedemann Kleint
8097879d6d VCS: Introduce Base class for VCS plugins, use in git.
Fixes:
- Cannot diff a file that does not belong to a project
- Cannot commit when a temporary diff/log view is open
  due to the current file pointing to a temporary directory
- git's project-related actions not passing the correct
  relative path.

Implementation:
- Centralize code to listen for Qt Creator's relevant state changes
  in VCSBasePlugin, dispatching the changes to the instances affected.
  (avoiding multiple invocations of searches/QFileInfo on current).
- Do the same for the corelistener catching closing SubmitEditors.
- Introduce VCSBasePluginState representing the relevant state
  (current file/project).
- Call git with working directory set and relative arguments
- Remove setEnabled/isEnabled() logic of IVersionControl
- Pass toplevel from VCSManager to avoid duplicate searches.
2009-12-08 14:26:41 +01:00
Erik Verbruggen
8d6b4e51ab Renamed the ScriptEditorEditable to QmlEditorEditable. 2009-12-08 14:09:36 +01:00
Erik Verbruggen
65b3830b79 Renamed the QmlEditor::ScriptEditor class to QmlEditor::QmlTextEditor. 2009-12-08 14:09:36 +01:00
dt
a84ebd1299 Fix show/hide of importing label 2009-12-08 14:07:15 +01:00
Erik Verbruggen
5f05fb759e Removed unused code. 2009-12-08 13:54:13 +01:00
Erik Verbruggen
1c8ea0b82e Removed unused and problematic class definition. 2009-12-08 13:44:12 +01:00
dt
377e6ff5dd Make runQMake simpler 2009-12-08 13:09:16 +01:00
Roberto Raggi
22d75c4c20 Fixed: Template argument marked as "not a type name" when defined as primitive type
Task-number: QTCREATORBUG-384
Reviewed-by: Thorbjørn Lindeijer <thorbjorn.lindeijer@nokia.com>
2009-12-08 13:06:17 +01:00
Tobias Hunger
e386525613 Cleanup Qt4ProjectManager.
* Remove unnecessary headers.
 * Remove hardly used variables.
 * QTC_ASSERT before using a pointer which might be 0.

Reviewed-by: dt
2009-12-08 12:48:43 +01:00
Roberto Raggi
3d2e454358 Add only symbols declared in class scopes when performing class-completion. 2009-12-08 12:43:40 +01:00
Roberto Raggi
02c7336795 Expand the template parameters. 2009-12-08 12:38:27 +01:00
Roberto Raggi
fef2ad6bba Create TypenameArgument symbols. 2009-12-08 12:20:14 +01:00
Roberto Raggi
f7164ae9d4 Introduced TypenameArgument. 2009-12-08 12:20:13 +01:00
Roberto Raggi
2811d0caf3 Removed unused argument. 2009-12-08 12:20:13 +01:00
Erik Verbruggen
d247c0e1e6 Namespace clean-ups. 2009-12-08 11:52:44 +01:00
Erik Verbruggen
96e5cae4c8 Added metainfo classes from Bauhaus for use in the QML editor. 2009-12-08 11:52:43 +01:00
Roberto Raggi
5a0b7f8ec8 Added initializers to the formal arguments. 2009-12-08 11:35:34 +01:00
Thorbjørn Lindeijer
d20cdc64e3 Merge remote branch 'origin/1.3' 2009-12-08 11:26:05 +01:00
Roberto Raggi
4bbb9219e9 Fixed completion when a typedef symbol is used as class name
For example std::string, which is a typedef of std::basic_string.

Reviewed-by: Thorbjørn Lindeijer <thorbjorn.lindeijer@nokia.com>
2009-12-08 11:09:11 +01:00
Thorbjørn Lindeijer
9839dea6bc Fixed autoindent when using tabs instead of spaces
Several special cases that are handled by the CPPEditor did not take
into account code that was using tab characters.

Task-number: QTCREATORBUG-292
Reviewed-by: Roberto Raggi
2009-12-08 11:09:11 +01:00
dt
b63e6e939d Make BuildConfiguration::setValue and ::value protected 2009-12-07 15:55:41 +01:00
Roberto Raggi
55175c149c Fixed scope completion after a template-id. For example, when completing std::list<int>::i... 2009-12-07 15:33:08 +01:00
Tobias Hunger
44f29afc6b Reduce margin around Qt4ProjectConfigWidget
* This makes sure this widget gets the same margins as all the
   others.

Reviewed-by: dt
2009-12-07 15:27:25 +01:00
Tobias Hunger
50bd482496 Set width of projects mode to 900px.
We are targetting nothing below netbooks. These devices have screens
 that usually are 1024px wide (or wider), so this increase should be OK
 there.

 The 100px bonus do help a bit when editing environment variables, etc.

Reviewed-by: dt
2009-12-07 15:24:57 +01:00
Tobias Hunger
7ed7684b53 Show/hide the no build steps label as appropriate
Reviewed-by: dt
2009-12-07 15:23:32 +01:00
Tobias Hunger
c05c1ceb76 Rename method in buildsettingspropertiespage.
* Init is really setting up the UI, so rename it to setupUi.

Reviewed-by: dt
2009-12-07 15:17:37 +01:00
Tobias Hunger
717e0d3956 Fix graphical glitches in detailsbutton.
* Fix graphical glitches when rendering the detailsbutton.
 * Add copyright headers while touching this file.

Reviewed-by: dt
2009-12-07 15:15:55 +01:00
Tobias Hunger
999cf225b0 DetailsWidget cleanup
* Add expanded signal.
 * Add copyright headers.
 * Improve setExpanded method as well as setting a widget.

Reviewed-by: dt
2009-12-07 15:14:08 +01:00
ck
680222a37e Maemo: Fix ssh command line for Windows.
Reviewed-by: kh1
2009-12-07 15:11:27 +01:00
Roberto Raggi
47cf2cb7f5 Removed extra (unnecessary) semicolon. 2009-12-07 15:10:31 +01:00
Roberto Raggi
988ec82bb5 Check for unnecessary semicolons after function definitions. 2009-12-07 15:08:00 +01:00
Roberto Raggi
f618a9a296 Check for unnecessary semicolons after blocks. 2009-12-07 15:01:02 +01:00
dt
24a4590767 Cmake: Let the generator determine the toolchain
Otherwise we need to parse the cbp file, which happens only if the
buildconfiguration gets active. Also try to decouple a few internals a
little bit by using signals. The CMakeProject still handles a few things
directly instead of via signals, more to come eventually.
2009-12-07 15:00:17 +01:00
dt
1e46cb424e Rework connections on the project pane for Qt4Projects.
Should fix a lot of corner cases, might introduce a few bugs.
Also rename functions/slots to be better named.

Generic Project Manager and CMake Project Manager are missing from this
patch.
2009-12-07 15:00:17 +01:00
dt
429a52742c Remove function that isn't called anywhere 2009-12-07 15:00:17 +01:00
dt
aaae96a00e Remove very old importing code 2009-12-07 15:00:17 +01:00
dt
fe71ca8a55 Fix connect 2009-12-07 15:00:17 +01:00
Roberto Raggi
59e0729826 Improved error recovery when parsing ctor-initializers. 2009-12-07 14:51:29 +01:00
Roberto Raggi
fd4aee7ef6 Added diagnostic messages for ctor-initializers. 2009-12-07 14:51:29 +01:00
Thorbjørn Lindeijer
2be825784c Fixed typo 2009-12-07 14:41:08 +01:00
Roberto Raggi
a93b625697 Compile with msvc. 2009-12-07 13:00:56 +01:00