Vladimir Hirsl
486931b62c
Fix for 101344: problem markers are not being removed from header files
...
Fixed removing indexer problem markers originally created by indexing header files not included by any source files.
2005-06-27 03:26:53 +00:00
Bogdan Gheorghe
230c1eafb1
Fix for 92935
2005-06-27 01:31:33 +00:00
David Inglis
cf09e84a32
CPL to EPL transistion - license header update for IBM
2005-06-23 16:02:46 +00:00
Bogdan Gheorghe
f809cd9fcd
Added ability to specify which CTags you want the CTags indexer to use
2005-06-23 04:48:11 +00:00
Vladimir Hirsl
e28ba5192f
Fix for PR 93573: "[Indexer] endl references are not added to the DOM index"
...
Fixed different encoding of functions references vs. declarations in the index.
Applied Devin's patch for PR 101114: "[AST Util] Inconsistent string representation of IType elements" with slight modifications.
Modified JUnit tests accordingly.
2005-06-22 21:10:11 +00:00
Vladimir Hirsl
b66ffc6cd2
Fix for 100598: DOM Indexer encodes weird things when indexing a CPP file in a C project. Fixed correlation between parser's parser language and indexer visitor.
2005-06-21 17:36:13 +00:00
Vladimir Hirsl
77121513be
Completed optimization #2 in PR 91801: [Indexer] Optimize header file visiting/indexing. Encountered headers are removed before instead of after indexing the whole project, thus enabling 'index external headers only once' optimization to be applied for file/directory indexing.
2005-06-20 20:35:42 +00:00
Bogdan Gheorghe
08eb1c00e5
Fix for 100640
...
Fix for 96286
2005-06-20 17:14:04 +00:00
Bogdan Gheorghe
19721c7ad7
Patch for Dave Daoust: Fix display string
2005-06-17 15:04:44 +00:00
Vladimir Hirsl
7ab54e4dad
Fix for 95174: [Search Engine][DOM AST Indexer] does not find definition of a method.
2005-06-17 04:19:28 +00:00
Vladimir Hirsl
51203a09e7
Fix for PR 99433: [Search] Return parms not part of qualification matching. Function/methos parameters are now used as a part of search pattern.
2005-06-16 19:55:34 +00:00
Bogdan Gheorghe
7026a99e32
Fix for NPE in IndexerTypesJob2
...
Patch for Dave Daoust - change Var encoding in index
Test refactoring
2005-06-16 03:47:39 +00:00
John Camelon
bed6b31350
Fixed hierarchy view.
2005-06-15 20:37:52 +00:00
John Camelon
7e9281e310
Workarounds to keep get type cache dependent features working.
...
Open Type & Class Browser now work with both CTags & Full Indexing.
2005-06-15 19:04:18 +00:00
Bogdan Gheorghe
9423b0371d
Added get file id to IQueryResult
2005-06-15 05:18:02 +00:00
Bogdan Gheorghe
0d6a37aebe
Fix for 93788: CTags indexer should index the include path
2005-06-15 05:14:32 +00:00
Bogdan Gheorghe
fae118c182
Patch for Dave Daoust: Fixes up the string demangling in IEntryResult + IndexerView
2005-06-14 19:52:17 +00:00
Bogdan Gheorghe
d8a971aedb
Added full qualfications to BasicSearchMatch
...
Cleaned up some dead search code
2005-06-14 05:56:50 +00:00
Bogdan Gheorghe
35cc111224
Fix for 99536 : Remove Original Source Indexer
...
Refactored DOM Indexer
Fix for 93571 : Indexer causes deadlock in org.eclipse.cdt.ui.tests AutomatedSuite
2005-06-13 23:51:52 +00:00
Bogdan Gheorghe
37337c303a
CTag Indexer - patch to index include path
...
Clean up of deprecated search UI
2005-06-13 05:21:49 +00:00
Doug Schaefer
967a5b1d91
Made the DOM Indexer the default and put in better names for the indexers.
2005-06-10 03:13:25 +00:00
Alain Magloire
f441ff3778
2005-06-08 Alain Magloire
...
Move to the IContentTypeManager framework: PR 86645
* index/org/eclipse/cdt/internal/core/index/sourceindexer/AbstractIndexer.java
* index/org/eclipse/cdt/internal/core/index/sourceindexer/AddFileToIndex.java
* index/org/eclipse/cdt/internal/core/index/sourceindexer/AddFolderToIndex.java
* index/org/eclipse/cdt/internal/core/index/sourceindexer/SourceIndexerRequestor.java
* model/org/eclipse/cdt/core/model/CoreModel.java
* model/org/eclipse/cdt/core/model/ITranslationUnit.java
* model/org/eclipse/cdt/internal/core/model/CContainer.java
* model/org/eclipse/cdt/internal/core/model/CModelManager.java
+ model/org/eclipse/cdt/internal/core/model/ContentTypeProcessor.java
* model/org/eclipse/cdt/internal/core/model/CreateWorkingCopyOperation.java
* model/org/eclipse/cdt/internal/core/model/DeltaProcessor.java
* model/org/eclipse/cdt/internal/core/model/ExternalTranslationUnit.java
* model/org/eclipse/cdt/internal/core/model/IncludeReference.java
* model/org/eclipse/cdt/internal/core/model/PathEntryManager.java
- model/org/eclipse/cdt/internal/core/model/ResolverProcessor.java
* model/org/eclipse/cdt/internal/core/model/TranslationUnit.java
* model/org/eclipse/cdt/internal/core/model/WorkingCopy.java
* plugin.xml
- schema/CFileType.exsd
- schema//CFileTypeAssociation.exsd
- template/cpp_headers
* search/org/eclipse/cdt/core/search
* src/org/eclipse/cdt/core/CCorePlugin.java
- src/org/eclipse/cdt/core/filetype/*
- src/org/eclipse/cdt/core/internal/filetype/*
2005-06-09 16:06:09 +00:00
Vladimir Hirsl
6e8ba9eebb
Fix for a problem with DOM indexer, where external header files in translation unit's inclusion tree were not visited.
...
Optimization from Dave; skipping declarations in already visited external headers.
2005-06-07 20:40:23 +00:00
Bogdan Gheorghe
f20ffd5b51
Fix for 92296 (Source Indexer doesn't encode definitions)
...
Fix fo 92628 (Definitions missing in new Search Engine)
Got rid of FWD_CLASS, FWD_STRUCT and FWD_UNION encodings (updated all 3 indexers)
Updated Indexer View (got rid of FWD declarations)
2005-06-07 17:48:18 +00:00
Vladimir Hirsl
2290223ab3
Fix for NPE in DOMSourceIndexerRunner.AddMarkerProblem.run().
...
Possible fix for PR 98571: Multiple "Starter.exe" and "cygpath.exe" when launch IDE
2005-06-06 20:22:51 +00:00
Andrew Niefer
58ed6a6cdd
fixing C Bindings:
...
- external functions return empty function type instead of null
- optimizations for indexing
- fix bug regarding function body scopes being marked as fully cached prematurely
2005-06-06 20:11:08 +00:00
Vladimir Hirsl
30084a7e84
Fix for PR 93786: DOM Indexer adds local variables to the index
...
Other smaller fixes in DOM Indexer domain.
2005-06-03 20:32:18 +00:00
Andrew Niefer
a31d84767b
fix null pointer exceptions
2005-06-03 15:41:36 +00:00
Bogdan Gheorghe
98ac994722
Refactored CIndexStorage to persist modifier bit fields and function signatures
...
Updated method search pattern to make use of the newly stored info
2005-06-02 05:44:46 +00:00
Vladimir Hirsl
8e99ab5565
Modified DOM indexer to use IIndexEntry hierarchy to store index entries.
...
This enables more information to be stored during indexing (modifiers, function sigantures,...). Also should address definition/declaration issues raised by Devin.
2005-06-01 19:45:33 +00:00
Bogdan Gheorghe
bfee5d5b13
Added a method to CTagsIndexer to ensure that the proper version of CTags exists
...
Updated CPPSelectionTestsCTagsIndexer to check to see that CTags exists before running tests
2005-05-31 19:36:40 +00:00
John Camelon
b208d1adfd
Patch for Devin Steffler.
...
This patch gets rid of the work around added to CoreModel with the last patch. It was required in order to get C(PP)SelectionTests*Indexer working but the better way to do this is to create a scanner config for the projects for those tests.
This patch also improves the speeds of CSelectionTestsCTagsIndexer and CPPSelectionTestsCTagsIndexer by adding CTagsIndexer#notifyListeners(IndexDelta) to Index.java.
2005-05-31 18:55:35 +00:00
Bogdan Gheorghe
cee31b91f4
Refactoring of SourceIndexer to use new IIndexerOutput
...
Refactoring of IndexerOutput
2005-05-31 17:25:47 +00:00
John Camelon
657c53d31e
Patch for Devin Steffler.
...
Note to specifically look at the changes made to CoreModel.java as this is the fix for 96865.
The rest of the patch consists of tests and the changes to CTagsIndexer.java to make it compatible with those tests.
Updated for 77383 changes:
FIXED 96865- [DOM Indexer] won't run on new Standard Make C Project
includes JUnits for AutomatedSuite to test Open Definition/Open Declaration against the DOM Indexer and the CTags Indexer
added 29 tests for the above and raised the following bugs on those tests: 96689, 96690, 96694
2005-05-31 15:44:40 +00:00
John Camelon
1786169b2b
Added IASTNode#getFileLocation().
...
Updated DOM Indexer to use it.
2005-05-30 19:32:59 +00:00
Bogdan Gheorghe
d2748911a5
Add Includes to Index for DOM Indexer
2005-05-30 15:42:42 +00:00
Bogdan Gheorghe
30c47b2964
Add a new Named Entry constructor that takes strings
2005-05-30 12:53:17 +00:00
Bogdan Gheorghe
e2a5a6dbef
Changed base class storage in CTag Indexer to use INamedEntry
2005-05-30 00:14:31 +00:00
Bogdan Gheorghe
2e324713bd
Fix for compile error in CTagEntry
2005-05-27 20:59:33 +00:00
Bogdan Gheorghe
97ac9f71a0
ITypeEntry baseTypes can now set/return IIndexEntry
2005-05-27 20:03:49 +00:00
Bogdan Gheorghe
3720c60ebd
Refactoring for the DOM Indexer to use new IIndexEntry encoding
2005-05-26 20:00:16 +00:00
Vladimir Hirsl
ab0ae772ae
Indexer performance improvement: indexing nodes from external include files only once.
2005-05-20 20:29:35 +00:00
Bogdan Gheorghe
fa2d057c98
IndexerOutput refactoring to use IIndexEntry
...
CTags indexer refactoring to use new IIndexEntry hierarchy, store modifiers, function signatures
2005-05-20 14:16:38 +00:00
Vladimir Hirsl
d92ccd3e38
Final fix for 95641: [Scanner Config] Per file scanner info not available for header files and not compiled source files.
...
- For include files and source files that are not compiled per file discovered scanner info defaults to project's discovered scanner info.
- A new method is added to CoreModel to determine if per resource scanner info is empty. This method will take into account effective per file discovered scanner info.
2005-05-19 20:08:18 +00:00
Vladimir Hirsl
693f2a4708
Fixed problem marker updating for files that are not indexed due to empty scanner info. Some refactoring of problem marker generation code.
2005-05-17 18:41:26 +00:00
Bogdan Gheorghe
b920965dab
Changed IMatch to return a IMatchLocatable instead of startOffset/endOffset (IMatchLocatable can then be further cast into IOffsetLocatable or ILineLocatable)
...
Updated all clients.
2005-05-16 18:24:31 +00:00
Doug Schaefer
bdecfcfc41
Cleaned up some obvious NLS warnings. Also turned off the warnings for the tests plugins.
2005-05-16 14:44:03 +00:00
Vladimir Hirsl
6f27d5a71c
- Files with empty scanner info are not indexed anymore. Info problem marker is created for each such file.
...
- Fix for resolving header file name for #include "..." preprocessor statements.
- Fix for updating Discovered scanner info container when discovered scanner info changes.
2005-05-13 19:39:24 +00:00
Bogdan Gheorghe
ea15dddbc9
Refactored CTags Indexer to allow individual tags to add themslves to an Indexer Output (consolidated CTagsIndexAll and CTagsAddCompilationUnit)
...
CTagFileReader logic change to read in all tags in ctags file
Patch from Dave with fix for TempVA merge problem (Indexer View was opening BlocksInput without close) + other UI improvements
Renamed generated CTags file
Refactored indexer tests to not depend on EntryResult toString()
2005-05-05 04:25:16 +00:00
Vladimir Hirsl
39e465b9a8
Fix for PR 92599: [Indexer] Remove annotation markers preference from DOMIndexer & friends
...
- Replaced indexer problem markers property page block for DOMIndexer.
(from SourceIndexerBlock to NullIndexerBlock).
Only inclusion not found preprocessor problem markers are going to be
generated (there isn't an option in UI to disable/enable them yet).
- Also, fixed deleting of indexer problem markers when indexer is changed.
2005-05-04 18:58:40 +00:00