Commit Graph

21107 Commits

Author SHA1 Message Date
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
295a0102b7 Merge branch 'master' of git@scm.dev.nokia.troll.no:creator/mainline 2009-05-25 17:09:50 +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
Kavindra Devi Palaraja
180fe7215b Merge branch 'master' of git@scm.dev.nokia.troll.no:creator/mainline 2009-05-25 16:56:23 +02:00
Kavindra Devi Palaraja
7de2095b61 Fixes: Doc - adding more of the tutorial 2009-05-25 16:56:00 +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
Kavindra Devi Palaraja
2eb2a382e5 Merge branch 'master' of git@scm.dev.nokia.troll.no:creator/mainline 2009-05-25 15:44:05 +02:00
Kavindra Devi Palaraja
f1a81decf7 Fixes: Doc - adding more documentation for Address Book Part 1
RevBy:    Daniel Molkentin
2009-05-25 15:43:40 +02:00
con
6782dc55f7 Changes file for 1.1.1 2009-05-25 15:36: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
Friedemann Kleint
7e1445368e Fixed MinGW compilation. 2009-05-22 08:43:05 +02:00
Joel Nordell
69a99f0a40 add current editor filename (and, on macosx, proxy icon) to titlebar 2009-05-21 14:11:13 -05:00
Joel Nordell
ffd19fe8a0 XCode-style tab behavior 2009-05-20 11:10:06 -05:00
Friedemann Kleint
3ba72d0e1e Stabilized the QString debug dumper a bit on Windows.
Try to prevent dumper crashes on
unitialized variables that slow down the debugger.
Acked-by: hjk <qtc-committer@nokia.com>
2009-05-20 16:59:40 +02:00