Commit Graph

34409 Commits

Author SHA1 Message Date
Benjamin Poulain
fe75ea8d62 Merge branch 'master' of git@scm.dev.nokia.troll.no:creator/mainline 2009-07-08 14:28:53 +02:00
Benjamin Poulain
c86acef69a New translations for the French version of Qt Creator 2009-07-08 14:28:09 +02:00
Roberto Raggi
eb7dfc49a0 Made FindScope a member of FindUses. 2009-07-08 13:50:49 +02:00
Roberto Raggi
5b28b53943 --debug 2009-07-08 11:29:00 +02:00
Frédéric Mercille
718cc94a89 Setting the default key sequence should only set the current sequence if none is set. Otherwise, it overrides the user configuration in QtCreator.ini. 2009-07-07 20:12:01 -04:00
axasia
81c454a57d Fix some wrong translations for japanese.
Merge-request: 827
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
2009-07-07 17:09:49 +02:00
Kavindra Devi Palaraja
ea81f663c5 Doc - Starting on Part 7
Reviewed-By: TrustMe
2009-07-07 17:10:52 +02:00
Roberto Raggi
43a957e6e3 Disabled the quick fix engine.
We don't really have any useful quickfix implemented so there's no reason
to waste time visiting the AST.
2009-07-07 17:06:11 +02:00
dt
5139f51376 Merge branch 'master' of git@scm.dev.nokia.troll.no:creator/mainline 2009-07-07 16:13:09 +02:00
dt
660b210e58 Write the last modified time initially into the cache. 2009-07-07 16:12:21 +02:00
Friedemann Kleint
8f02d4daa7 Merge branch 'master' of git@scm.dev.nokia.troll.no:creator/mainline 2009-07-07 16:01:00 +02:00
Friedemann Kleint
7b15d12300 Dumper fixing, dump some common std::map, std::set types with CDB.
- std::set/map: Introduce templates to iterate the MSVC STL
  implementation depending on type (since it inherits some
  basic set_traits that depend on the key/value size.
- Retrieve types correctly in CDB (buffer too short for STL-types)
- Fix std::map in GDB broken by previous commit.
- Introduce a dumper version check in GDB/CDB.
- Make GDB parse sizes in initial dumper call as well
- Fix special sizes to work with namespaced Qt (watchutils)
2009-07-07 16:00:45 +02:00
dt
62220eefc4 Add also the time_t to the output. 2009-07-07 15:56:55 +02:00
dt
e2a06db32e Make FileWatcher more robust, fix a few bugs in that code.
Also cache a lastModified time, so that we don't emit a signal if it
didn't change.
2009-07-07 15:26:56 +02:00
Norwegian Rock Cat
77959c8bc5 Only call setVisible on this item after it has been put in a layout
If you call setVisible(true) on the item before it is placed in a
hierarchy, it will show as a normal top-level window. On some platforms
this isn't really an issue, but with Carbon, the show happens
immediately, so you get this flash of a window which is really
disturbing. I'm surprised it's not noticed on other platforms.
Personally, I'm not sure why we call this at all, but I'm leaving it for
the moment.
2009-07-07 14:59:05 +02:00
Kavindra Devi Palaraja
6bb6f5168d Doc - More of Part 6
Reviewed-By: TrustMe
2009-07-07 13:37:50 +02:00
Jarek Kobus
42adcb9116 Add a public method which reads the content of pro file from string
Rev-by: Oswald Buddenhagen <oswald.buddenhagen@trolltech.com>
2009-07-07 13:15:39 +02:00
Roberto Raggi
6e3bc2c2df Introduced ASTparent 2009-07-07 12:06:58 +02:00
Friedemann Kleint
61afdf6d1e Polish dumpers to show enumeration values, Polish CDB locals output. 2009-07-07 11:38:01 +02:00
Friedemann Kleint
5bd1d2a028 Fix up Debugger helpers to be able to dump QObject's with CDB.
- Make container dumper routines set "childnumchild" when known
  in order to avoid roundtrips; avoid repeated invocations of
  container.end().
- Completed dumper information in some places to avoid roundtrips.
- Extended QVariant helpers by dumpers for common GUI types
  (rectangles, points, sizes, fonts, size policies).
- Introduced artificial QObjectChildList/QObjectProperty types to
  be able to dump QObject children and properties without using
  gdb expressions.
- Fixed dumping of Signal/Slot list to pass on correct types. Avoid
  recursions if signal is connected to self.
- Replaced expressions by addresses in the dumpers to it make work
  for CDB.
- Reworked dumper test program to have -a, making it usable for tests,
  add further types.
- Gdb: Clear output buffer before calling dumpers, avoiding mixups
  in case evaluation of expression fails.
- Fix the dumper parser used by CDB, do not be fooled by
  "<synthetic>" addresses, etc.
- Pass on a "dumperVersion" in initial query.
2009-07-06 17:36:50 +02:00
Roberto Raggi
45448ce5d5 Don't search for undefined types in ambiguous sizeof expressions. 2009-07-06 17:29:57 +02:00
Erik Verbruggen
f14e98342c Added a bit more completion for the DUI editor. 2009-07-06 16:58:03 +02:00
Erik Verbruggen
bb900dd82e Merge branch 'master' of git@scm.dev.nokia.troll.no:creator/mainline 2009-07-06 16:30:21 +02:00
Erik Verbruggen
fb48a262e6 Added a bit more completion for the DUI editor. 2009-07-06 16:29:44 +02:00
Kavindra Devi Palaraja
d9cabebae5 Doc - More of Part 6
Reviewed-By: TrustMe
2009-07-06 15:40:59 +02:00
Roberto Raggi
b261e78f35 Look at template-type parameters. 2009-07-06 13:44:29 +02:00
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
hjk
a125e54b51 add a basic autotest for QVariant dumper 2009-07-03 13:26:07 +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