Commit Graph

44349 Commits

Author SHA1 Message Date
Oswald Buddenhagen
b0227ce496 remove linguist-specific functions 2009-07-10 14:04:48 +02:00
Oswald Buddenhagen
a2f40fce2a implement proper vpath handling for qt4 projects
this also removes the bogus special casing of various
filename-containing variables inside the pro parser.
2009-07-10 14:04:48 +02:00
Oswald Buddenhagen
edeb93d6fa micro-optimization 2009-07-10 14:04:48 +02:00
Roberto Raggi
780abd0d4b Store the document's revision used to compute the warning/error marks. 2009-07-10 13:57:55 +02:00
Daniel Molkentin
f5414a4a79 Revert "Make revision sting show up in German translation. Also fix the Spanish one a bit."
This reverts commit 33dd9deaea.
2009-07-10 12:55:44 +01:00
Daniel Molkentin
33dd9deaea Make revision sting show up in German translation. Also fix the Spanish one a bit. 2009-07-10 12:50:14 +01:00
hjk
56b24aac36 debugger: reduce amount of data produced by the dumpers by removing
predicatable parts.
2009-07-10 13:40:54 +02:00
Roberto Raggi
fff9795a1f Reuse as much info as we can from the previous SemanticInfo. 2009-07-10 12:42:56 +02:00
Roberto Raggi
b1f9711859 Cleanup 2009-07-10 12:42:56 +02:00
Roberto Raggi
8f6956e6ec Ignore outdated semantic info. 2009-07-10 12:42:56 +02:00
Roberto Raggi
fd4dbd7446 Introduced Snapshot::simplified(doc) 2009-07-10 12:42:55 +02:00
Thorbjørn Lindeijer
300b60fa98 Fixed warnings about unused variables 2009-07-10 11:52:12 +02:00
hjk
717ae824ce debugger: fix regression in QVector dumper
Was broken due to a change in the QVector implementation (See 343e848abc1 and
a07385de156 in Qt master)
2009-07-10 09:50:51 +02:00
hjk
452c712422 debugger: fix regression + whitespace at eol
Double click on debugger input did not jump to the output anymore.
2009-07-10 09:50:51 +02:00
con
95bf1681be Clean up the menus' separators. 2009-07-09 18:27:56 +02:00
Roberto Raggi
d788306781 Don't expand object-like macro when preprocessing in fast-mode. 2009-07-09 17:52:31 +02:00
Roberto Raggi
e0f550733e Simplified SemanticInfo::Use. 2009-07-09 17:34:07 +02:00
Roberto Raggi
85c501c976 Fixed possible crash when completing function-like arguments. 2009-07-09 16:20:20 +02:00
con
61e468a885 Don't override a shortcut's key when setting the default, as for actions.
Setting the default shortcut may only set the current shortcut if that
has not already been set.
2009-07-09 12:16:35 +02:00
con
6936d5c7d6 Integrate merge-request #832 into branch 'master'
Frédéric Mercille (1):
      Setting the default key sequence should only set the current sequence
         if none is set. Otherwise, it overrides the user configuration in
         QtCreator.ini.

Request-url: http://gitorious.org/qt-creator/qt-creator/merge_requests/832
Reviewed-by: con <qtc-committer@nokia.com>
2009-07-09 12:16:18 +02:00
Roberto Raggi
97f8850a74 Introduced SemanticHighlighter
Done with Thorbjørn Lindeijer
2009-07-09 12:14:00 +02:00
Stian Sandvik Thomassen
9ebba84bfe Prevented project's existing .pro file from being added to project
A project's existing .pro file could be added to the project, making
the .pro file appear twice in the project tree. This is sub-optimal
because

1. It does not make sense for the .pro file to appear twice.
2. Qt Creator crashes when trying to remove either of the duplicate
.pro files.
2009-07-09 14:52:07 +10:00
mae
d991ea2364 Make split view configuration persistent in a session
Task: 254011
2009-07-08 19:00:44 +02:00
hjk
ee9894bf7a debugger: disable parts of L&W context menu when no item is selected 2009-07-08 17:28:04 +02:00
hjk
eb83377f5a debugger: enhance time logging for individual commands 2009-07-08 17:28:04 +02:00
hjk
09a4409c2a debugger: code cosmetics in watch handler 2009-07-08 17:28:04 +02:00
hjk
d024023596 debugger: use enum for formats instead of magic numbers 2009-07-08 17:28:04 +02:00
hjk
c58ba01148 debugger: some color for time stamps in log output 2009-07-08 17:28:04 +02:00
mae
d430a4123b fix uses selection (type with block and line numbers) 2009-07-08 16:38:50 +02:00
kh
e4b0bd28cb Implement import - export of help bookmarks.
Task-number: 254695
2009-07-08 15:03:40 +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
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
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
Roberto Raggi
b261e78f35 Look at template-type parameters. 2009-07-06 13:44:29 +02:00