Alain Magloire
a443caeb08
2004-06-18 Alain Magloire
...
This was heavy and lots of files were change. The problem: to create the CElementInfo we use
to synchronize of the CModelManager singleton instance, this was handy and allowed us to serialize
the creation of the proxy info and save in the LRU cache. Then came Eclipse-3.0 with job spawning
everywhere, lots of deadlock since the CModelManager was lock and the singleton is the center
to get all the info. We use the same scheme as the JDT by using a ThreadLocal class cache
to collect the information. We fixed a couple of bug allong the way and probably introduce some.
The tests were doing something stupid, by creating directly the TranslationUnit:
new TranslationUnit(project, file);
This does not work since only the sourceRoot can be the parent
of a TranslationUnit, the tests are now fix bug we should restrict access of the class in the core model
after 2.0.
2004-06-19 02:43:04 +00:00
Andrew Niefer
c5c4b73fed
tweaks to the indexer to fix some files not getting indexed on reopen
...
and potential to get the indexer disabled.
2004-06-18 23:15:25 +00:00
John Camelon
ef4eaa9e09
Deferred typeid reference list creation until absolutely necessary.
2004-06-18 19:58:21 +00:00
Andrew Niefer
57bc1229ab
better problem reporting when DeclarationWrapper.createASTNodes fails
2004-06-18 19:51:20 +00:00
John Camelon
5846544680
Remove NPE from ASTTypeId.getReferences()
2004-06-18 19:39:41 +00:00
John Camelon
efab1f2f3d
Final adjustment on error handling.
2004-06-18 19:25:36 +00:00
John Camelon
c167ba0976
Remove infinite loop on catching Throwable/Exception in Parser.translationUnit().
2004-06-18 19:17:29 +00:00
John Camelon
5cb25a3872
Fixed NPE in cleanup.
2004-06-18 19:00:58 +00:00
Alain Magloire
502926556a
2004-0618 Alain Magloire
...
Patch from Chris W. to fix PR 6606
2004-06-18 19:00:35 +00:00
John Camelon
03d8731b43
Added caching of type ID's in completeparse mode.
2004-06-18 18:54:00 +00:00
Bogdan Gheorghe
ada2d52b6c
Fix for Bug 66933: [Selection Search] Working set name is {0} in search results
2004-06-18 18:03:47 +00:00
Andrew Niefer
38230067bd
better error reporting to the callbacks around the base specifier
2004-06-18 16:02:54 +00:00
John Camelon
59f4a03242
Fixed https://bugs.eclipse.org/bugs/show_bug.cgi?id=67834 . Thanks to Dave for the JUnit test.
2004-06-18 15:49:21 +00:00
Andrew Niefer
0454da5130
bug 67680 - better error handling around problems in the base clause specifier
...
fixes class cast exception
2004-06-18 15:25:56 +00:00
Hoda Amer
77483762af
Patch for Tanya
2004-06-18 13:58:45 +00:00
Bogdan Gheorghe
518cc7a686
Part 2 of Fix for Bug 62668
2004-06-18 11:56:07 +00:00
Bogdan Gheorghe
564b89c196
Partial Fix for Bug 62668: [Search] Search results rely on case of file names in include statement
...
rather then the filesystem
2004-06-18 11:44:12 +00:00
Alain Magloire
f7dc9972f5
Patch from chris wiebe for PR 65154
2004-06-18 03:30:22 +00:00
Alain Magloire
ff1459685f
the method getCDescriptor(IProject, boolean)
...
should check if the file exists.
2004-06-18 03:27:15 +00:00
Doug Schaefer
8a05f34b0b
Scanner2 - lots of little things trying to properly scan windows/stdio/iostream.
2004-06-17 21:27:37 +00:00
Andrew Niefer
daea0331a2
67358 - F1 help
2004-06-17 20:26:13 +00:00
Hoda Amer
5da7eab400
Bug Fixing
2004-06-17 19:36:03 +00:00
Alain Magloire
d52cb5e624
2004-06-17 Alain Magloire
...
Changes from Chris Wiebe to deal
with the memory consumption.
2004-06-17 19:20:08 +00:00
John Camelon
954d5b8b45
Partial fix for https://bugs.eclipse.org/bugs/show_bug.cgi?id=67634
2004-06-17 18:44:38 +00:00
John Camelon
67ad3bb4b0
Fixed ClassCastException in CompleteParseASTTest.
2004-06-17 17:29:12 +00:00
John Camelon
6f1acede84
Patch for David Daoust - Fix for https://bugs.eclipse.org/bugs/show_bug.cgi?id=67622 .<BR>
...
Also added 2 JUnit tests to verify.
2004-06-17 16:11:07 +00:00
Hoda Amer
2b26b06747
Bug Fixing
2004-06-17 15:28:42 +00:00
Doug Schaefer
e92ee9c4db
Added undef support, including remove method for CharArrayMaps.
2004-06-17 15:25:34 +00:00
Doug Schaefer
dec4af0b71
Got inclusions working, almost there for the speed test....
2004-06-16 20:55:10 +00:00
Bogdan Gheorghe
6603ca541d
Got rid of reporting failed indexes in log
2004-06-16 20:21:58 +00:00
Hoda Amer
dc43de0584
Bug Fixing
2004-06-16 19:49:48 +00:00
Hoda Amer
e425b0ea7b
Bug Fixing
2004-06-16 19:29:36 +00:00
Doug Schaefer
ed0afd6243
Scanner2 - added char literals and string concatenation.
2004-06-16 17:42:35 +00:00
Andrew Niefer
4d440deec4
don't try and check the index enabled option if the project doesnt exist
2004-06-16 17:21:51 +00:00
Doug Schaefer
a259c14511
Fixed handling of defined() in expression evaluator.
2004-06-16 13:51:55 +00:00
Bogdan Gheorghe
2164ad4e15
Fix for 60490: Selected resources option should only be enabled/disabled in the Navigator and C/C++ Projects views
2004-06-16 05:47:37 +00:00
Bogdan Gheorghe
b0fba2c9e5
Fix for Bug 63957: Error with external search markers & changed label
...
provider to provide proper paths for external links
2004-06-16 00:43:16 +00:00
Doug Schaefer
f88eb2a537
More fun with Scanner2, including a new Expression Evaluator.
2004-06-15 21:11:29 +00:00
Andrew Niefer
9dc1941ea9
update indexer problem icon
2004-06-15 19:20:12 +00:00
Hoda Amer
f50273233f
Bug Fixing
2004-06-15 18:17:20 +00:00
David Inglis
6f341e4ccb
fixed the following bugs:
...
https://bugs.eclipse.org/bugs/show_bug.cgi?id=66783
https://bugs.eclipse.org/bugs/show_bug.cgi?id=66021
https://bugs.eclipse.org/bugs/show_bug.cgi?id=66754
2004-06-15 16:13:02 +00:00
Alain Magloire
db634def0a
Move the get/set PathEntryStore to the CoreModel
...
so we can sync the access
2004-06-15 15:33:21 +00:00
Alain Magloire
7b15edbc7f
Remove some warnings.
2004-06-15 14:46:13 +00:00
Alain Magloire
eb369cc11c
the lock was initialize at the wrong time.
2004-06-15 13:52:07 +00:00
Bogdan Gheorghe
abaf42acdf
Turned off background type cache for now by setting the CCorePlugin default to false
2004-06-15 13:41:13 +00:00
Doug Schaefer
b4fd69965f
Update to Scanner2.
2004-06-15 03:37:56 +00:00
Andrew Niefer
7f8eb9fbd2
bugs 66981, 66799 - don't do indexer requests if the indexer is turned off
...
for that project. Also, when turning off the indexer, discard the queued up
jobs for that project.
2004-06-14 21:29:33 +00:00
Hoda Amer
55cf39aba4
Bug Fixing
2004-06-14 20:44:05 +00:00
Bogdan Gheorghe
8bfb8707f0
Fix for Bug 66748: Added a _cdtsrchlink_ label to all imports brought in by search and ensure that we don't delete any local files.
2004-06-14 18:55:45 +00:00
Doug Schaefer
5efea562b9
Added command line version of ScannerSpeedTest to check for aprof.
2004-06-14 18:29:52 +00:00