Commit Graph

1454 Commits

Author SHA1 Message Date
Roberto Raggi
dca2e82160 Removed obsolete code. 2010-05-10 10:15:23 +02:00
Roberto Raggi
7526954e9a Removed debug info. 2010-05-10 09:57:56 +02:00
Roberto Raggi
3e440ec213 Cache the resolved file names. 2010-05-10 09:57:56 +02:00
Roberto Raggi
aab9c52030 More work on template instantiation. 2010-05-10 09:57:56 +02:00
Roberto Raggi
9e7c13721e Don't use the mime type db to reorder the source files.
It seems that the mime type db got pretty slow, and reordering files
can take minutes.
2010-05-07 11:03:33 +02:00
Roberto Raggi
c0429dbd2a Search for a valid class. 2010-05-06 10:36:11 +02:00
Thorbjørn Lindeijer
b603e77f37 Fixed compile with g++ 4.4.3 2010-05-05 16:49:28 +02:00
Roberto Raggi
95aae8bb5e Get rid of ugly using namespace directives. 2010-05-05 16:36:46 +02:00
Roberto Raggi
d9527680a9 Try to use the new LookupContext. 2010-05-05 16:36:46 +02:00
Roberto Raggi
66a9ef0725 Ported completeScope(), completeNamespace() and completeClass() to use the new LookupContext. 2010-05-05 16:36:45 +02:00
Roberto Raggi
32a84df5c0 Deprecated the current LookupContext. 2010-05-05 16:36:44 +02:00
con
84d9b647ee Version bump. 2010-04-30 11:58:05 +02:00
con
ca14299790 Rename IPlugin::shutdown --> IPlugin::aboutToShutdown
Discussed-with: hjk
2010-04-28 17:32:01 +02:00
Thorbjørn Lindeijer
41ab8fbbf1 Moved TextEditDocumentLayout and related classes to their own file
The Parentheses, TextBlockUserData and TextEditDocumentLayout classes
and their member function implementations were spread around the
BaseTextEditor class. Moving them to their own file to make the code a
bit better organized.

Reviewed-by: mae
2010-04-26 14:42:11 +02:00
dt
f093d0806b Cancel code model indexing on project closing and full code model update
Task-Nr: QTCREATORBUG-1151
2010-04-26 12:29:50 +02:00
Erik Verbruggen
a8fc1f48d4 Fixed icheck build. 2010-04-23 15:25:22 +02:00
Thorbjørn Lindeijer
7fc5c4173d Corrected a bunch of capitalizations in label texts 2010-04-15 15:08:51 +02:00
Thorbjørn Lindeijer
20636f529b Unified the three fake tooltip copies
Reviewed-by: mae
2010-04-15 15:08:51 +02:00
con
616cf61f45 Include scanning fixes.
Allow include paths with any suffix, and do some sanity check for
existence of paths.

Reviewed-by: Thorbjørn Lindeijer
2010-04-14 18:07:41 +02:00
con
b4367cb9a0 Some naming of the progress indicators. 2010-04-14 12:59:30 +02:00
Thorbjørn Lindeijer
662b27153d Removed redundant group boxes from options dialog pages
Reviewed-by: Jens Bache-Wiig
2010-04-13 17:33:36 +02:00
Erik Verbruggen
528ec741c1 Add private frameworks when a framework is added.
Task-number: QTCREATORBUG-1102
Reviewed-by: Roberto Raggi
2010-04-13 12:29:05 +02:00
Thorbjørn Lindeijer
9454fe5689 Create a single parent options page for the Text Editor category
Trying to clean up a little.
2010-04-12 18:54:05 +02:00
mae
0c7312e05d if a tooltip, do as tooltip do
The fake tooltip duplication is not nice.
2010-04-09 13:48:43 +02:00
Alexey Semenko
793ca97016 Add "insert space after function name" option for GNU indenting
Reviewed-by: mae
Merge-request: 133
2010-04-08 17:06:23 +02:00
con
ded5ed975a Version bump 2010-03-31 18:06:02 +02:00
Thorbjørn Lindeijer
2d21060bc9 Added icons to options dialog categories
Some categories do not have icons yet, unfortunately.
2010-03-26 17:47:31 +01:00
Roberto Raggi
645cfb59ba Ignore outdated parsing requests. 2010-03-24 15:54:13 +01:00
Thorbjørn Lindeijer
7f38b76083 Use a reference when possible 2010-03-18 16:16:51 +01:00
Roberto Raggi
61a504c427 Ensure that the memory pool can be reused after a rewind and get rid of the segmented array. 2010-03-18 15:23:13 +01:00
Friedemann Kleint
bbcacaf59f Header cleaning spree in Core/Debugger and Symbian/Maemo-code of Qt4. 2010-03-18 10:59:06 +01:00
Roberto Raggi
bfaf247abd Use Searching' instead of Sarching...'. 2010-03-17 14:37:55 +01:00
Erik Verbruggen
284b8d38e2 Put the DependencyTable calculation into the QFuture.
Done-with: Roberto Raggi
2010-03-17 14:20:17 +01:00
Erik Verbruggen
1cc5e1fe01 Put the include depenency table into a separate class, and cache it when possible. 2010-03-17 14:20:17 +01:00
Roberto Raggi
c9e50605dd Get rid of extra (non Creator-friendly) include paths. 2010-03-15 18:12:44 +01:00
Lasse Holmstedt
68c49a65e9 Plugin manager for enabling/disabling plugins
Go to About Plugins and enable/disable plugins from there.

Reviewed-by: mae
2010-03-12 16:02:42 +01:00
Christian Kamm
5a7858f5ec Make sure the BackwardScanner has tokenized before asking for a string.
The problem was that for

Foo::Foo
(|)

when the user triggers completion at |, startOfLine() returns a token
that's not on the current line and not yet tokenized by that instance
of the BackwardScanner.

As a fix I explicitly ask the instance to tokenize up to the given
index.

Task-number: QTCREATORBUG-673
Reviewed-by: Roberto Raggi
2010-03-11 11:09:04 +01:00
dt
90c1c8f54d Cancel a previous update code model 2010-03-10 17:02:24 +01:00
Erik Verbruggen
417a1c9f28 Fixed QTCREATORBUG-745.
Fixed crash in FindUsages on a dirty file in a large project, which is saved
while the FindUsages is still running.
2010-03-09 17:38:02 +01:00
Christian Kamm
9e75ff8ea2 Don't add the default arguments when completing function definitions.
Fixes QTCREATORBUG-787

Reviewed-by: Erik Verbruggen
2010-03-05 15:45:58 +01:00
hjk
9595504bda Long live the king! 2010-03-05 11:28:13 +01:00
con
58703ba73d Version bump. 2010-03-01 17:57:37 +01:00
dt
96e2fef626 Fix CppModelManager::parse broken in recent commit
Reviewed-by: Friedemann Kleint
2010-02-23 15:54:49 +01:00
Erik Verbruggen
2fee6b8a46 Fixed QTCREATORBUG-743 2010-02-22 17:34:06 +01:00
Friedemann Kleint
7d3d9cad32 Fix code model indexing crash on Mac.
Introduce multithread-locking to Core::MimeDatabase as it is
invoked from the indexer thread to sort apart headers and sources.
Add a convenience to operate on a sequence to avoid locking for each
file.
2010-02-22 16:00:47 +01:00
Erik Verbruggen
8de6ccc775 Revert "Split Objective-C keyword parsing to handle the '@' separately."
This reverts commit 2a59d2ae0c.
2010-02-15 12:24:31 +01:00
Erik Verbruggen
2a59d2ae0c Split Objective-C keyword parsing to handle the '@' separately.
Because apparently, while designing the Objective-C language, somebody
thought it was a world-class idea to allow any white-space between the
'@' character and the subsequent keyword. With this fix, we now
correctly parse:
    @  dynamic
and:
    @
      selector
and:
    @"foo"
     "bar"
    @"mooze"
(This last one is 1 single string split over multiple lines.)
Wonderful, isn't it?

What we (and Clang) do not support, but what GCC supports is something
like:
   @"foo"@@  "bar"  @"mooze"  @@
which is equivalent to @"foobarmooze".
2010-02-15 09:27:00 +01:00
Friedemann Kleint
674486a7fa CppCodeModelSupport: functionAt: Prepend namespaces to name.
To improve CDB debugger tooltips which go via the function name.
2010-02-04 15:16:35 +01:00
Wolfgang Beck
e134e24919 Source update. 2010-02-03 13:21:08 +10:00
Friedemann Kleint
f672bff338 Fix some code scanning issues.
foreach()-Loops.
2010-02-01 14:00:07 +01:00