Commit Graph

44349 Commits

Author SHA1 Message Date
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
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
65a179da14 A bit of QA testing of CDB.
Handle functions with 0 variables correctly in the stack view.
Give names to unnamed formal parameters (causing WatchData
warnings). Ignore exception 06ba.
2009-05-20 14:20:38 +02:00
Daniel Molkentin
bcb566261f Detect MSVC environments correctly on 64 bit Windows 2009-05-20 12:59:31 +02:00
dt
0852b02a37 Fix running after a failed build&run and subsequent only Build.
That is: Using the Run action, which fails due to build errors.
Using the Build action afterwards to rebuild.
This starts the executable.
2009-05-20 12:06:17 +02:00
hjk
15366dbc6f work on stringbuilder benchmark 2009-05-20 11:49:10 +02:00
Friedemann Kleint
3f19a0504e Improved CDB settings dialog, adapted autodetection to 64bit.
Use correct path, display download link and notify that
settings take effect at next restart.
Acked-by: Daniel Molkentin <daniel.molkentin@nokia.com>
2009-05-20 11:48:31 +02:00
dt
bcaa2556f4 Fix dynamic ui code completion on windows.
I need to test more cases, but this fixes it for newly created projects.
2009-05-20 11:39:42 +02:00
hjk
2ec3334959 qstringbuilder: make it work for the char % string case 2009-05-20 10:37:41 +02:00
con
0b19fb6383 Missing defines and includepaths when using mingw toolchain.
Reviewed-by: dt <qtc-committer@nokia.com>
2009-05-19 19:09:04 +02:00
dt
08001d247c Merge branch 'master' of git@scm.dev.nokia.troll.no:creator/mainline 2009-05-19 19:02:05 +02:00