Commit Graph

6473 Commits

Author SHA1 Message Date
hjk
8c52f5720c debugger: make use of full source file list optional 2009-12-09 13:52:12 +01:00
hjk
68bd4d2b95 debugger: refactor the dumper class to make it work with gdb 7.0
This is an attempt to make it work with released gdb 7.0. It uses some
ugly workarounds to compensate for the missing gdb.Block and gdb.Symbol
structures.
2009-12-09 13:51:17 +01:00
Tobias Hunger
c311ab0a4f Reduce flickering in project mode
* Remove one layer of layout.

Reviewed-by: dt
2009-12-09 13:01:09 +01:00
Friedemann Kleint
7ce3683143 CVS: Use new VCSBasePlugin-class.
Make the diff-base directory a property of VCSBaseEditor and use
everywhere.
2009-12-09 12:41:10 +01:00
Roberto Raggi
0a5b2eed4c Fixed parsing of template-ids.
Task-number: QTCREATORBUG-74
2009-12-09 12:32:04 +01:00
Oswald Buddenhagen
2b5016caf5 remove dead header 2009-12-08 20:11:50 +01:00
con
6e1832d55d Update tool tip text for "Show / Hide Sidebar" wrt current state. 2009-12-08 18:30:34 +01:00
Thorbjørn Lindeijer
fec9dc0e80 Fixed the sorting of search results
The search results window assumed the files were searched in sorted
order, which is not always the case especially since "find usages" can
now operate in several threads.

This change makes sure that the list of files in the search results is
always sorted, using a binary search to find the right index to insert
new files.

Reviewed-by: con
2009-12-08 18:22:52 +01:00
Thorbjørn Lindeijer
a248406644 A bit of include cleanup 2009-12-08 18:22:52 +01:00
Thorbjørn Lindeijer
3d2d122472 Moved the mouse navigation option to the Behaviour settings page
It used to be hidden on the Display settings page.

Task-number: QTCREATORBUG-135
2009-12-08 18:22:52 +01:00
dt
2774c9c0bf Also search custom executables in the working directory 2009-12-08 18:19:19 +01:00
dt
14eb1f66e9 Remove BuildConfiguration::setValue/value 2009-12-08 17:59:21 +01:00
con
4d93981be2 "Goto" --> "Go to" in visible strings. 2009-12-08 17:56:51 +01:00
hjk
02e90fd71d debugger: handle large quint64 values 'properly' 2009-12-08 17:46:53 +01:00
hjk
1c94133b58 debugger: start working on infrastructure to allow selection of encoding of char
arrays
2009-12-08 17:46:53 +01:00
hjk
d92f8b80ca debugger: work on QImage dumper 2009-12-08 17:46:53 +01:00
hjk
a5c5cfc42e debugger: make the option to write timestamps to the log persistent 2009-12-08 17:46:52 +01:00
Oswald Buddenhagen
f9d955eb6c cache parsed pri & prf files
no point in re-parsing them over and over during the scan of a bigger
project ...

shaves off another 20% of the loading time of Qt 4.6.
2009-12-08 17:36:41 +01:00
Oswald Buddenhagen
ef660880ad make ProFileOption persist during the scan of an entire project
there is no point in throwing away and re-recreating invariant data over
and over ...

shaves off ~15% of the load time of Qt 4.6.
2009-12-08 17:36:41 +01:00
Oswald Buddenhagen
0682dae77c ProfileEvaluator::Option => ProfileOption
makes forward delcs in headers possible
2009-12-08 17:36:41 +01:00
Oswald Buddenhagen
3657acac5f move various functions from Qt4PriFileNode to Qt4ProFileNode
findProFileFor(), buildDir() and createProFileReader() make sense only
in relation with an actual pro file anyway, so move them there.
2009-12-08 17:36:41 +01:00
Oswald Buddenhagen
b4e7500dbe remove needless conditionals 2009-12-08 17:36:41 +01:00
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
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
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