Commit Graph

72811 Commits

Author SHA1 Message Date
Friedemann Kleint
85ef2954a2 Enable usage of "_svn" as internal directory name for TortoiseSVN.
Option for  TortoiseSVN to avoid hassle with other IDEs.
2009-05-26 12:25:32 +02:00
Roberto Raggi
f82e76dd7c Removed the local copy of the text rewriter. 2009-05-26 12:10:24 +02:00
Roberto Raggi
1afae90c54 Merge branch 'master' of git@scm.dev.nokia.troll.no:creator/mainline 2009-05-26 12:06:05 +02:00
Thorbjørn Lindeijer
c358a68557 Do still pass the typed character to the indenter
Some indenters need this information. If the C++ indenter misbehaves
based on the typed character, then that should be fixed there.

This reverts part of commit 4c07de50b2.

Reviewed-by: Roberto Raggi
2009-05-26 12:05:05 +02:00
Thorbjørn Lindeijer
5b132339a7 Rely on lazy instantiation of text editor actions
The actions are already lazily instantiated in
TextEditorActionHandler::setupActions(), so there should be no need to
call initializeActions() in all plugins on startup. Only the main text
editor plugin will still initialize its actions, to make sure the menu
items are there.
2009-05-26 12:05:05 +02:00
Thorbjørn Lindeijer
5cc007e9d9 Moved initialization of actions 2009-05-26 12:05:05 +02:00
Thorbjørn Lindeijer
31dada8d92 Renamed braces to brackets
Since we're automatically inserting several kinds of brackets, but not
braces ({ }).
2009-05-26 12:05:05 +02:00
Roberto Raggi
07bd36b69a Expand the tab characters. 2009-05-26 11:58:05 +02:00
hjk
4774ba14f7 qstringbuilder: add a new benchmark using QString::arg 2009-05-26 11:03:39 +02:00
Oswald Buddenhagen
dc0bc58646 micro-optimize: (x.toLower() == y) => !x.compare(y, Qt:: CaseInsensitive) 2009-05-25 18:35:12 +02:00
Oswald Buddenhagen
bd0f0aa182 fix return value of error() & co 2009-05-25 18:35:12 +02:00
Oswald Buddenhagen
a03f8643a7 make message() & co. handling more qmake-like
which basically means cutting features. heh
2009-05-25 18:35:12 +02:00
Oswald Buddenhagen
88de3e6a45 support loops: implement for(), next() & break() 2009-05-25 18:35:12 +02:00
Oswald Buddenhagen
d89338aa81 implement if() test 2009-05-25 18:35:12 +02:00
Oswald Buddenhagen
dbdbe92d5d implement {greater,less}Than(), equals(), clear() & unset() 2009-05-25 18:35:12 +02:00
Oswald Buddenhagen
d077ba29c3 support custom functions: implement defineTest(), defineReplace(), defined(), return() & export() 2009-05-25 18:35:12 +02:00
Oswald Buddenhagen
6ca93b31fd remove return values from the visitors which need none 2009-05-25 18:35:11 +02:00
Oswald Buddenhagen
a86bdfdde4 surround file inclusion with saving/restoring condition state 2009-05-25 18:35:11 +02:00
Oswald Buddenhagen
ed00bd2c85 fix conditionals, in particular the nested else handling
this also removes the optimization to skip test function calls which
appear to be part of a failed test, as this could skip includes, etc. as
well.
2009-05-25 18:35:11 +02:00
Oswald Buddenhagen
68b1b828e6 fix m_invertNext effect scoping
an evaluation function can be an include statement. the included code
must neither inherit nor change the current inversion state.
2009-05-25 18:35:11 +02:00
Oswald Buddenhagen
51f5ee959f put condition state variables into a structure
to enable cleaner save/restore - for later
2009-05-25 18:35:11 +02:00
Oswald Buddenhagen
cee3ca324e return value cleanup
functions which have essentially two return values are kinda confusing.
so represent file & parse errors as false in the regular evaluation
result (like qmake effectively does).
2009-05-25 18:35:11 +02:00
Oswald Buddenhagen
167a09b206 remove totally pointless conditional 2009-05-25 18:35:11 +02:00
kh
9943ec7d0f Fix crash on shutdown.
The onModeChanged gets always called, even after shutdown where we
already had deleted the DebuggerManager. Don't access the 0 pointer.
2009-05-25 18:21:31 +02:00
kh
eb6c6a515e build fix 2009-05-25 18:15:09 +02:00
hjk
5ff00c84ae debugger: basic support for reverse debugging
works only with gbd 7.0 so far.
2009-05-25 17:23:19 +02:00
hjk
a31ce64b9c qstringbuilder: also accept QStringRef 2009-05-25 17:20:15 +02:00
dt
19f7f99b61 Report finished in all cases. 2009-05-25 17:09:38 +02:00
dt
6bb5e2e786 Fixes a non sensical progress bar for projects without any buildsteps 2009-05-25 17:09:16 +02:00
dt
37a9e2bd58 Add a QtVersion::toolChain() method, replacing Qt4Project::toolChain()
Makes the code nicer, we use the ProFileReader to parse the mkspec.
2009-05-25 16:43:50 +02:00
Thorbjørn Lindeijer
7534732d3b Integrate merge-request #444 into branch 'master'
Joel Nordell (1):
      add ':' to electric keys for C++ indenting, and check for electric
         keys anywhere on line, not just at beginning

Request-url: http://gitorious.org/qt-creator/qt-creator/merge_requests/444
Reviewed-by: Thorbjørn Lindeijer <thorbjorn.lindeijer@nokia.com>
2009-05-25 16:31:56 +02:00
Friedemann Kleint
c4a0abcda7 Enabled passing on PIDs from the command line to the debugger.
Introduced struct DebuggerStartParameters to pass around
start parameters, removing the need for the engines to
access private members of DebuggerManager. Pass it
to DebuggerManager::startNewDebugger() and move
the GUI parts of that function into DebuggerPlugin,
making it possible to create the struct from command line
parameters. Introduce command line parsing with a few more
-enable-xx options. Introduce warning() to debugger panel
in the CDB engine.

On this occasion, clean out a few trailing whitespaces.
2009-05-25 16:22:11 +02:00
Roberto Raggi
169a22caf2 Compile 2009-05-25 15:34:58 +02:00
Thorbjørn Lindeijer
281cea13a0 Implemented SettingsDatabase::remove
At the same time, fixed the order in the QuickOpen plugin to make sure
the RefreshInterval setting isn't immediately removed after saving it.

Also disabled debug output for settings database.
2009-05-25 15:30:19 +02:00
Thorbjørn Lindeijer
93e61533aa Implemented backwards compatibility to old QuickOpen settings
Also fixed the restoring of the refresh interval, which was broken due
to different keys being used for saving and restoring.
2009-05-25 15:30:19 +02:00
Thorbjørn Lindeijer
94aa58a6b5 Used the settings database in the editor manager
Mainly because DocumentStates should be moved there, because it can grow
quite large. Backward compatibility is kept.
2009-05-25 15:30:19 +02:00
Thorbjørn Lindeijer
8a28a98f9b Some documentation for the settings database 2009-05-25 15:30:19 +02:00
Thorbjørn Lindeijer
c9e88a968a Introduced settings database based on sqlite
Potential replacement for QSettings. This database will allow us to save
settings incrementially, removing most of the performance issues we're
having when our few megabytes of settings are being saved.

Not done in the form of a QSettings backend because it doesn't seem the
backends can do an incremental update of the settings.

Currently used by the QuickOpenPlugin for testing.
2009-05-25 15:30:19 +02:00
con
8951302ab2 Fix floating dock widget support in debug mode.
The dock widget visibility was not saved/restored correctly, and pulling
floating dock widgets back into the layout didn't remove the header
widget in case of locked mode.
Now we track visibility and floating state of dock widgets directly.
2009-05-25 15:27:56 +02:00
Roberto Raggi
8638e83433 Compile 2009-05-25 15:27:16 +02:00
dt
7fcaf214fa Merge branch 'master' of git@scm.dev.nokia.troll.no:creator/mainline 2009-05-25 15:12:48 +02:00
dt
1e865551e5 Fixes spelling of temporaryEditor 2009-05-25 15:12:37 +02:00
con
13714f4ef4 Fix gcc3.3 build 2009-05-25 14:07:16 +02:00
Daniel Molkentin
83d451be32 Make strings consistant, part. descriptions in the 'New' wizard. 2009-05-25 13:45:12 +02:00
dt
41b3b3e3b4 Fixes showing temporary files 2009-05-25 13:42:13 +02:00
dt
dc3641b9e1 Fix warning. 2009-05-25 13:42:03 +02:00
con
994929b50d Fix compilation with gcc3.3
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com>
2009-05-25 13:27:06 +02:00
hjk
eb47988f3f qstringbuilder: handle QLatin1Strings directly.
This also extends and re-organizes the benchmark a bit
2009-05-25 12:20:47 +02:00
Friedemann Kleint
aca4386a0f Ignore EXCEPTION_ACCESS_VIOLATION in the dumpers for speedup.
Do not trigger the whole debugger mechanism when Dumpers
crash on encountering uninitizialized variables. Temporarily
ignore the exceptions while in dumper call.
2009-05-22 14:31:37 +02:00
Roberto Raggi
18cba96a19 Dummy implementation of MakeStep. 2009-05-22 12:46:06 +02:00