Commit Graph

88653 Commits

Author SHA1 Message Date
hjk
57634ab2d1 debugger: add a line edit to specify the local executable for gdb remote
debugging

Long term that would probably better as a run configuration.
2009-12-10 16:58:54 +01:00
hjk
b3154e1b30 debugger: make remote gdb architecture user editable 2009-12-10 16:58:54 +01:00
hjk
d0dfea5a8a debugger: disable some warning, add FIXME 2009-12-10 16:58:54 +01:00
hjk
de23834fc9 debugger: move watchdog timeout initialization to a place where it
actually can access the stored settings.
2009-12-10 16:58:54 +01:00
Daniel Molkentin
771246a5b5 Creators code model cannot handle MVC extensions. Don't pretend it can.
Fixes some highlight errors in code using the win32 API.

Reviewed-By: Roberto Raggi
2009-12-10 16:40:41 +01:00
Daniel Molkentin
5832c6b584 Add windows definitions to make the code model happy.
__stdcall for all compilers (MSVC and MinGW, possibly others may use it)
__w64 is MSVC only, deprecated there, but still used in some places

Reviewed-By: Roberto Raggi
2009-12-10 16:38:19 +01:00
Roberto Raggi
116acbbae0 Removed dummy #defines for __asm__ and __asm 2009-12-10 12:42:06 +01:00
dt
c1816b248e Fix ugly bug found by Thorbjorn on removing/adding qt versions
Reviewed-By: Thorbjorn
2009-12-10 12:10:20 +01:00
dt
73602b48be Remove no longer used code from EnviromentEditModel/Widget
That is unmerged environments
2009-12-10 12:10:19 +01:00
dt
b661cb9992 Improve performance, keys() is slow.
Reviewed-By: Roberto Raggi <roberto.raggi@nokia.com>
2009-12-10 12:09:46 +01:00
Roberto Raggi
f03ce847db Search symbols also in enum scopes. 2009-12-10 10:24:31 +01:00
Thorbjørn Lindeijer
3f1b45b057 Implemented first-letter case-sensitive for completion as default
By default now only the first letter is case-sensitive. It is still
possible to choose full or no case-sensitivity as well.

Task-number: QTCREATORBUG-236
Reviewed-by: Tobias Hunger <tobias.hunger@nokia.com>
2009-12-09 19:26:34 +01:00
hjk
33bdf42953 debugger: fix thinko in time out computation 2009-12-09 19:08:23 +01:00
Oswald Buddenhagen
7a9217e037 fix struct/class mismatch more thoroughly 2009-12-09 18:59:08 +01:00
Tobias Hunger
ec025c6dbf Rework Build Parser handling
* Rework IBuildParser:
    * Remove name() method.
    * Remove enterDirectory and leaveDirectory signals.
    * Allow chaining of parsers.
 * Rename IBuildParser to IOutputParser.
 * Implement GnuMakeParser.
    * Remove entering/leaving directory related code from all other parsers
    * Move filename fixup heuristic based on entering/leaving directory
      massages from gnumake here from AbstractMakeStep.
 * Add outputParser method to ToolChain: This removes the need to map
   toolchains to BuildParser names in the BuildSteps.
 * Enhance AbstractProcessStep to accept a IOutputParser to parse its output.
 * Remove AbstractMakeStep.
 * Set the appropriate Parsers in all classes deriving from AbstractProcessStep
   and append the ToolChain's parser to the parser chain.
 * Remove BuildParserFactories: There is no more need for them.
 * Remove constants used to identify the BuildParsers.
 * Clean up some names:
    * Replace stdOut with stdOutput.
    * Replace addToTaskWindow with addTask and addToOutputWindow with
      addOutput. Do this wherever it is not yet clear that this will end up
      in the Task/Output window.

Reviewed-by: dt
2009-12-09 18:39:03 +01:00
hjk
a0abde6306 fakevim: Add back references, $ and ^ handling to ex-mode substitute 2009-12-09 17:41:59 +01:00
hjk
bf077800b8 debugger: make watchdog timeout configurable 2009-12-09 17:41:59 +01:00
hjk
4db1b37177 make an unused for loop faster 2009-12-09 17:41:58 +01:00
Oswald Buddenhagen
f33efdc580 fix class/struct inconsistency 2009-12-09 16:56:53 +01:00
Thorbjørn Lindeijer
05914458f0 Made it possible to turn off scroll wheel zooming
It activates too easily for some people.

Task-number: QTCREATORBUG-406
2009-12-09 16:31:09 +01:00
Roberto Raggi
0be80466b8 Save/Restore the if-level. 2009-12-09 16:01:20 +01:00
con
3ab0a28cca Less use of slow methods. 2009-12-09 15:31:01 +01:00
con
9097149cee ViewManager --> StatusBarManager 2009-12-09 15:31:01 +01:00
con
4053ac0c10 Throw some unused things from "ViewManager" away. 2009-12-09 15:31:01 +01:00
con
aea194252e StatusBarWidget instead of IView, get rid of one level of abstraction.
Merge IView and BaseView into a single class StatusBarWidget.
2009-12-09 15:31:00 +01:00
dt
0e29cca4cb Adding files for generic project get the right directory now.
For folder nodes.

Task-number: QTCREATORBUG-374
Reviewed-by: Thorbjorn
2009-12-09 14:45:16 +01:00
hjk
fd73952e9a debugger: avoid unpleasant line break in warning 2009-12-09 13:53:57 +01:00
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
Pierre Rossi
cdf2f70c60 "Grayout" the background of the output window on re-run configuration
Maybe we'll need to add an option to toggle that on, or tweak the
blending (50:50 at the moment)

Reviewed-by: dt
2009-12-09 12:58:22 +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