Commit Graph

44349 Commits

Author SHA1 Message Date
Sergey Belyashov
0688b27dc5 make more strings translatable
Added translation macros to some editor kinds.
Added possibility to translate names of editors in Open With context menu. Translation context is "OpenWith::Editors".

Merge-request: 808
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
2009-07-06 13:33:09 +02:00
Oswald Buddenhagen
9bc155ea65 fix action title 2009-07-06 12:03:47 +02:00
Roberto Raggi
7e7c944628 Stop at class or elaborated class specifiers when recovering declarations. 2009-07-06 09:53:25 +02:00
Roberto Raggi
2f649be146 Disable macro expansion when preprocessing in fast-mode. 2009-07-06 09:53:25 +02:00
Roberto Raggi
93cdff1818 Visit the declarator's initializer. 2009-07-06 09:53:25 +02:00
Daniel Molkentin
25b450815a Fix signal signature: Specifying a custom QMLViewer location was broken 2009-07-04 14:07:22 +02:00
dt
4d11487a86 Harcode that on windows the gcc toolchain defaults to make instead of
mingw32-make.exe
2009-07-03 19:06:00 +02:00
dt
723d90c51d Fix updating the codemodel for cmake on switching buildconfigurations
That is we update all files with the new include and defines if we are
switching toolchains.
2009-07-03 18:56:48 +02:00
dt
c33961a07a Merge branch 'master' of git@scm.dev.nokia.troll.no:creator/mainline 2009-07-03 16:47:52 +02:00
dt
e524f52477 Allow restoreSettings() to fail,
E.g. cmake pops up a wizard then, the running of cmake can fail though.
Now you don't end i[ with a empty project then. The error reporting in
that case is not yet optimal.
2009-07-03 16:46:01 +02:00
Kai Koehne
685a23b557 Merge branch 'master' of git@scm.dev.nokia.troll.no:creator/mainline 2009-07-03 15:27:35 +02:00
Kai Koehne
2839fdf617 Added files missing in commit 70073e71 2009-07-03 14:58:43 +02:00
Kai Koehne
21323faaa8 Fix non matching connect, disconnect in editorview 2009-07-03 14:12:51 +02:00
Kai Koehne
01a70073e7 Renamed Core::Internal::EditorModel to Core::OpenEditorsModel
also moved into own header/cpp file. The renaming + export allow
us to reuse the model in the bauhaus plugin.

Reviewed-by: thorbjorn
2009-07-03 14:12:37 +02:00
Friedemann Kleint
5a8b61b2ee Great debugger helper bug fixing spree.
- Fix extractTemplate() not to kill blanks in case there is no
  blank after a comma, fix hardcoded types accordingly.
- Make niceType()'s regexps ignore blanks after commas, add
  unsigned short as char_type and cache the mappings, making
  them work for CDB.
- CDB: Parse map output of dumpers correctly, generally don't
  confuse the parser by unknown keywords encountered when
  parsing children, thus enabling simple QMap types.
- Make dumpInnerValueHelper output std::string types.
2009-07-03 13:56:27 +02:00
hjk
89d49e3b20 debugger: make format for all integer types selectable 2009-07-03 13:26:08 +02:00
hjk
ab4348ff4a fakevim: partial fix for Gyyp 2009-07-03 13:26:08 +02:00
hjk
916fc9aa96 debugger: implement per-type format changes in the watch view 2009-07-03 13:26:08 +02:00
dt
e41adfe6db Merge branch 'master' of git@scm.dev.nokia.troll.no:creator/mainline 2009-07-03 12:48:27 +02:00
dt
2cefad8342 Fix indentation. 2009-07-03 12:46:38 +02:00
dt
935a54c167 Always show the wizard even if we already have a recent enough cbp file.
That case is a corner case, it can happen if the user has run the codeblocks generator on the command line or if the user deleted the .user file. We mostly ask to get the user a chance to check that we set the correct generator. Or let him select the correct one if there are multiple msvc versions.
2009-07-03 12:46:19 +02:00
Roberto Raggi
ca62e4f61c Fixed the parsing of foreach statements. The initializer expression needs to be an assignment expression. 2009-07-03 11:31:00 +02:00
Roberto Raggi
b2df9bddec Made foreach a keyword when parsing with qtMocRun 2009-07-03 11:00:36 +02:00
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
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
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
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
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
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