1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-29 19:45:01 +02:00
Commit graph

243 commits

Author SHA1 Message Date
Chris Wiebe
565769ca30 2005-08-12 Chris Wiebe
Fix PR 106577: NPE in CTags Indexer
	* index/org/eclipse/cdt/internal/core/index/ctagsindexer/CTagsFileReader.java
	* index/org/eclipse/cdt/internal/core/index/ctagsindexer/CTagsIndexAll.java
2005-08-12 19:09:10 +00:00
Bogdan Gheorghe
888428b1fa User Docs for indexer
Take out "Add to index menu item"
2005-07-27 20:03:26 +00:00
Vladimir Hirsl
5bb3a3f5a1 Re-fixing 103024: NPE in indexerEncoderUtil.nodeInVisitedExternalEheader 2005-07-15 19:51:46 +00:00
Vladimir Hirsl
ecb664818a Fix for 103024: NPE in indexerEncoderUtil.nodeInVisitedExternalEheader
Project was not being set when creating indexer in IndexManager#getDefaultIndexer().
2005-07-14 20:35:58 +00:00
Vladimir Hirsl
4c980d6ac9 Fix for 95826: indexer message "File not indexed because it was not built" won't go away.
Info marker was missing INDEXER_MARKER_ORIGINATOR attribute.
2005-07-14 14:45:28 +00:00
Andrew Niefer
c683a357d4 fix bug 103715 and partial for 98171 (getBases) 2005-07-13 21:59:15 +00:00
Vladimir Hirsl
da12ba63cf Fix for PR 103428: IndexerManager leaks elementchangelisteners on reset()
In case of indexer thread restart after crash/shutdown previous listener is deregistered before registering a new one.
2005-07-13 20:00:11 +00:00
Bogdan Gheorghe
c4d845f895 Fix for 99759: Indexer.indexEnabledOnAllProjects is always "true" 2005-07-12 19:35:39 +00:00
Bogdan Gheorghe
6d9f16002a Fix for : NPE in CTagEntry 2005-07-12 13:56:25 +00:00
Vladimir Hirsl
b305b10095 Fix for PR 100585: [Scanner Discovery - Indexer] Indexer not notified of scanner info change. Change in project/file scanner info will now cause whole project or just affected files to be indexed. 2005-07-11 20:25:09 +00:00
Bogdan Gheorghe
597791a3c7 Fix for 93127: [Search] we do not have an icon for searching for labels
Fix for 99161: Open Declaration's CSearchScope takes too long to create
2005-07-08 20:57:48 +00:00
Bogdan Gheorghe
be44a4b99a Fix for 102783: [ctags] varargs and void param do not show up in the index 2005-07-08 15:03:30 +00:00
Vladimir Hirsl
4f1d0f9247 Applied Andrew's fix for PR 103055: [Indexer] reduce use of getFileForLocation while indexing 2005-07-08 15:02:04 +00:00
Vladimir Hirsl
cc1b8dbe9e DOM indexer fix: void and elipses function parameters. 2005-07-06 20:08:46 +00:00
Doug Schaefer
46807db5b9 Bug 98881 - Added lots of goodies to the search completion to make it more usable. Put the void back in the DOM indexer/no params case. Really trying to remove duplicates more than anything which is 98765. 2005-07-06 19:52:16 +00:00
Doug Schaefer
e8f0d1c55e Bug 98881 - Added lots of goodies to the search completion to make it more usable. Also fixed up the DOM indexer to record varargs. 2005-07-06 17:11:07 +00:00
Bogdan Gheorghe
0d77c8e7e2 Fix for 97281: [CTags Indexer] requires the project to be closed/opened to work 2005-06-30 16:07:38 +00:00
Bogdan Gheorghe
4c2bd01885 Fix for 94434: [SearchEngine] returns typedef as a definition for C++ 2005-06-29 15:58:51 +00:00
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