Commit Graph

34409 Commits

Author SHA1 Message Date
Roberto Raggi
3cdd48067c Introduced ForeachStatementAST and the bits to parse foreach statements when qtMocRun is enabled. 2009-07-03 09:12:58 +02:00
Aaron McCarthy
16286b763d Support condition scopes in pro files.
The CONFIG variable was not being checked when testing conditional
scopes. Resulting in, for example, incorrect executable paths when
those paths depend on a particular CONFIG value being set.
2009-07-03 09:21:33 +10:00
Roberto Raggi
981b1354cc Don't call abortMove() when the editor is not in renaming-state. 2009-07-02 18:38:21 +02:00
dt
7efeb1042e Merge branch 'master' of git@scm.dev.nokia.troll.no:creator/mainline 2009-07-02 16:46:45 +02:00
dt
40ff6ab2c4 Make msvc and cmake play together.
Note: This requires a cvs cmake and is not fully tested yet. This adds a
few missing pieces, so now opening new never built projects without a
.user file on systems with just one VS installation should work.
2009-07-02 16:44:51 +02:00
Friedemann Kleint
6e93f4544d Display Q<>Pointers/Work towards displaying maps/QMaps in CDB.
Make dumpers pass on more size information initially, namely the
various Q<>Pointers. Introduce enum for those special template types
whose size does not vary with the arguments (Q<>Pointer,
std::allocators...) to make it more easily extensible.
Pass on some common QMapNode<> sizes as well.
Introduce an expression cache to the common QtDumperHelper
class and make dumpers pass some common expression values
(value offsets of common QMapNode<> incarnations).
Make CDBDumperHelper use the expression cache.
Extend dumper tester.
2009-07-02 16:38:15 +02:00
Thorbjørn Lindeijer
7196c94c65 Unduplicated code that applies an edit operation to all occurrences 2009-07-02 15:18:51 +02:00
Thorbjørn Lindeijer
b11d3606c2 Fixed behaviour of Home and End while renaming
Also allow starting to rename with the cursor at the end of the name.
2009-07-02 12:27:11 +02:00
dt
560b06391d Add msvc support to cmake plugin. Depends on a cvs version of cmake.
The CodeBlocks - NMake Makefiles generator combination is only available
in the cvs version of cmake.
This has not been extensively tested at all.
2009-07-02 11:30:29 +02:00
dt
7d43990da4 Merge branch 'master' of git@scm.dev.nokia.troll.no:creator/mainline 2009-07-02 11:26:27 +02:00
Kavindra Devi Palaraja
2112a1f67d Doc - Fixing parts of Part 5 and more of Part 6
Reviewed-By: TrustMe
2009-07-02 11:25:43 +02:00
Oswald Buddenhagen
fc30904e1d Make some more strings translatable. 2009-07-02 11:18:52 +02:00
Roberto Raggi
ee6d2df072 Removed unused code. 2009-07-02 11:16:14 +02:00
Kavindra Devi Palaraja
d7d2ffaaa6 Doc - More of Part 6
Reviewed-By: TrustMe
2009-07-02 11:07:42 +02:00
Thorbjørn Lindeijer
c55eb917e4 Abort rename when text is changed due to unsupported actions
Done with Roberto Raggi and mae.
2009-07-02 10:48:03 +02:00
Thorbjørn Lindeijer
d9c8f945a5 Added in-place renaming
Done with Roberto Raggi
2009-07-02 10:48:02 +02:00
dt
060a9ee0b5 Merge branch 'master' of git@scm.dev.nokia.troll.no:creator/mainline 2009-07-01 18:26:10 +02:00
Kavindra Devi Palaraja
87fd5298c8 Doc - Starting on Part 6 and some fixes
Reviewed-By: TrustMe
2009-07-01 16:47:37 +02:00
Kavindra Devi Palaraja
87d125db74 Merge branch 'master' of git@scm.dev.nokia.troll.no:creator/mainline 2009-07-01 16:47:00 +02:00
dt
e90696686c Check for a Makefile before running make clean in the debugging helper
directory

Fixes smart make scripts that try to guess the correct working directory
for make.
2009-07-01 16:33:25 +02:00
Friedemann Kleint
f7da76ab27 Fix Gui app wizard to write form classes consistent with Designer.
Make Gui app wizard use Qt Designer wizard code to write the classes.
Remove the settings from the form class wizard page extension area and
add a settings page instead. Polish the designer plugin's structs to
parametrize class generation with QSharedData and settings code.
Export them and use them in the Gui app wizard.

Task-number: 256927
2009-07-01 16:27:40 +02:00
Benjamin Poulain
310e28ba95 Update the French translation
Validation of some translations from Pierre, a few new translations in
the context of the editor.
2009-07-01 14:33:16 +02:00
hjk
ffee3f98af debugger: fix regression in QVariant dumper 2009-07-01 14:15:44 +02:00
hjk
013437cfab debugger: add widget watchers by mouse click in the debugged application.
The option is hidden in the context menu.
Currently the application must be stopped.
2009-07-01 14:15:44 +02:00
hjk
ac8e371486 remove duplicate entries in File->New->Header, project combobox. also, sort that list 2009-07-01 14:15:44 +02:00
hjk
5797b28f9c debugger: initialize values in saved actions to prevent triggering updates
when reading settings
2009-07-01 14:15:44 +02:00
hjk
ed3b984910 debugger: fix bug in new watch model that led to not re-fetching outdated information. 2009-07-01 14:15:44 +02:00
hjk
41ec53b6c3 debugger: remove debug message 2009-07-01 14:15:44 +02:00
hjk
4d6f8028df debugger: replace a Q_ASSERT by QTC_ASSERT 2009-07-01 14:15:44 +02:00
Pierre Rossi
04c2a73d6d Updated French translation and added phrasebook. 2009-07-01 14:06:01 +02:00
Kavindra Devi Palaraja
d37363f3b6 Doc - Finishing up Part 5, only screenshots pending
Reviewed-By: TrustMe
2009-07-01 14:04:05 +02:00
Kai Koehne
084d3d7839 Allow repeated calls of SideBar::readSettings
Remove any existing SideBarItems before adding the ones stored
in the settings.

Reviewed-by: Thorbjørn Lindeijer
2009-07-01 11:56:00 +02:00
dt
a678cf513b Merge branch 'master' of git@scm.dev.nokia.troll.no:creator/mainline 2009-07-01 11:16:17 +02:00
Roberto Raggi
251f09c953 Protected the new (not yet finished) code that merge environments. 2009-07-01 11:00:00 +02:00
Roberto Raggi
ed2eb296b1 Fixed possible crash in the preprocessing phase when the first token in the
`original' (not preprocessed) token stream has the whitespace atttribute on.
2009-07-01 10:49:27 +02:00
Roberto Raggi
f8531cc833 Merge the environment from the previous parse. 2009-07-01 10:25:31 +02:00
dt
7debdc2b75 Add all cmake files to the project tree
That is if using a cmake that outputs enough information. The necessary
patch for that was commited to cmake's cvs recently by Alexander
Neundorf.

Task-Nr: 250399
2009-06-30 17:38:27 +02:00
Friedemann Kleint
02de790714 Moved the custom widget wizard templates into Qt Creators template dir.
Cannot put a source file template into a resource in a source directory
as Visual Studio will grab and build it.
2009-06-30 17:11:35 +02:00
Kavindra Devi Palaraja
3264878fe6 Doc - More on Part 5
Reviewed-By: TrustMe
2009-06-30 16:58:10 +02:00
Friedemann Kleint
2de887eaa9 Do not give up loading dumpers (MinGW/injection load).
Acked-by: kh <qtc-committer@nokia.com>
2009-06-30 16:54:53 +02:00
Thorbjørn Lindeijer
df3484205a Updated changes with new feature by Kevin
In accordance with new policy of not waiting with updating this file
until the release is nearing.
2009-06-30 16:50:21 +02:00
Kavindra Devi Palaraja
df04fd06eb Doc - More of Part 5
Reviewed-By: TrustMe
2009-06-30 16:32:22 +02:00
Daniel Molkentin
9549205ce4 stub files for 1.3.0 changes 2009-06-30 16:24:30 +02:00
dt
bc3fde7f58 Merge branch 'master' of git@scm.dev.nokia.troll.no:creator/mainline 2009-06-30 15:57:25 +02:00
dt
a12dbe9592 Don't hardcode the minimum size for the find toolbar.
Let Qt figure out the correct monimum size. That fixes a rather strange
resizing behaviour.

Task-Nr: 257144
2009-06-30 15:57:04 +02:00
Friedemann Kleint
e8dafc28a5 Improve error logging of CDB breakpoint setting.
Output warnings to debugger log. Prevent breakpoints from
being set several times when loading session data by
clearing the complete break handler.
Reviewed-by: hjk <qtc-committer@nokia.com>
2009-06-30 15:50:56 +02:00
Kavindra Devi Palaraja
640278e1d0 Doc - More of Part 5 and some minor changes to part 2 to ensure
that the include statements were explained.

Reviewed-By: TrustMe
2009-06-30 15:42:30 +02:00
Thorbjørn Lindeijer
ca1dd20036 Made sure the order of the file list is maintained when removing files
Converting to a QSet and back randomizes the order of the files. Just
doing a linear scan and a QSet for speading up the contains() check
should be enough and maintains the order.
2009-06-30 15:08:39 +02:00
Kevin Michel
b170e3ba87 Enable 'Remove file...' on Generic project
Merge-request: 783
Reviewed-by: Thorbjørn Lindeijer <thorbjorn.lindeijer@nokia.com>
2009-06-30 15:08:38 +02:00
Michael Karcher
a39d7e8d12 Fix test for debug_and_release_target
This is a fix for a446491ae8.
The option debug_and_release determines whether the debug/ and release/
subdirectories are used to put *object* files there. The option
debug_and_release_target is used to put the final taget into debug/
and release/ directories.

Merge-request: 745
Reviewed-by: dt <qtc-committer@nokia.com>
2009-06-30 14:56:26 +02:00