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

178 commits

Author SHA1 Message Date
John Camelon
0caa2a5bd5 Patch for Devin Steffler.
Fixed Bug 103323 	NPE caused by DOMSearchUtil#getSearchPattern() when IASTName is null
2005-07-13 19:56:39 +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
aa3270e91a Fix for 102779: Project Scope filters out external headers 2005-07-07 20:20:14 +00:00
Bogdan Gheorghe
5e641d7377 Fix for 102066: macro definitions should be found via Search with Declarations 2005-07-07 15:22:03 +00:00
Doug Schaefer
727f454fa7 Bug 98881 - Added lots of goodies to the search completion to make it more usable. 2005-07-06 15:57:55 +00:00
Bogdan Gheorghe
6889eb0c0d Fix for 102790: CSearchPattern misses TYPEDEF in search values 2005-07-06 15:26:42 +00:00
Bogdan Gheorghe
5875bc56e8 Fix for 102782 (Part II) 2005-07-06 04:30:24 +00:00
Bogdan Gheorghe
02c0ca6a3c Fix for 102765: [Search] NPE in NewSearchUI
Fix for 102782: BasicSearchMatch doesn't collect parameters
2005-07-06 04:10:11 +00:00
Andrew Niefer
d94e967724 Patch from Devin Steffler: fix bug 102258 2005-07-05 19:14:55 +00:00
John Camelon
295e397a5a Patch for Devin Steffler.
Fixed Bug 101287  	'find decl/defn' navigation not working using ctags indexer & no ScannerInfo
2005-06-28 20:35:54 +00:00
Bogdan Gheorghe
c79f8eb661 Fix for 101903: Junit failures for RC1 2005-06-27 19:13:00 +00:00
Doug Schaefer
2fd25239b8 EPL'ing the CDT. 2005-06-27 03:46:51 +00:00
Bogdan Gheorghe
9688b97f43 Fix for 101711 : Dependency Tests failing on Linux 2005-06-24 20:48:35 +00:00
David Inglis
cf09e84a32 CPL to EPL transistion - license header update for IBM 2005-06-23 16:02:46 +00:00
Bogdan Gheorghe
08eb1c00e5 Fix for 100640
Fix for 96286
2005-06-20 17:14:04 +00:00
Andrew Niefer
fb5cd0f157 patch from Devin Steffler for bug 100568
- also remove references to implementations of IASTName and use interfaces instead
2005-06-17 14:28:49 +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
Bogdan Gheorghe
e2daf28d35 Fix for 99868 2005-06-17 02:00:54 +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
Bogdan Gheorghe
3eb94cf34a Fix for Bug 100191 2005-06-15 21:51:29 +00:00
Bogdan Gheorghe
2e043c84e6 NPE Fix 2005-06-14 15:25:04 +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
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
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
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
Bogdan Gheorghe
73c23e6b19 Patch for Devin: Fix for 96992 2005-05-27 19:47:34 +00:00
Bogdan Gheorghe
b453ede83c Return search results for include references 2005-05-27 18:16:29 +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
John Camelon
3fa54b37ea Applied patch for Devin Steffler.
FIXED 94135- All Declarations does not include the namespace scope in the search pattern
FIXED 95202- [NPE] on Open Declarations for C++ spec example
FIXED 95219- [Ctrl+Click] is enabled on everything except for keywords
FIXED 95224- [Open Definition] of destructor should have the same logic as constructors
FIXED 95225- [open definition] within constructor in a throw statement fails
FIXED 95229- [open declaration] infinite loop on keyword operator
FIXED 95372- DOMQuery#isLocal() should not reference internal DOM packages
2005-05-16 21:28:45 +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
Andrew Niefer
220206d7e9 - strings for types that are template parameters
- a class template partial specialization is now also considered a specialization in general
- fix collecting of content assist results to allow overloaded functions
- implement the names for specializations
- update CollectDeclarations/references to handle template parameters
- use internal interace during CPPvisitor.getDeclarations to improve open declaration on template stuff
2005-05-13 15:52:29 +00:00
Andrew Niefer
ada5f6bb24 patch from Devin Steffler RE Open Declaration/Definition
bugs 86829, 93589, 94360
2005-05-10 20:31:02 +00:00
Bogdan Gheorghe
6ed4079125 Small change to IMatch 2005-05-06 18:33:27 +00:00
John Camelon
d5663f5134 Patch for Devin Steffler.
FIXED 72716- [Search] Search actions in "magic" include files do not work.
2005-05-03 18:48:24 +00:00
John Camelon
f8927a9f4c Commented out RefactoringRegressionTests#testFunction_31.
Patch for Devin Steffler.
FIXED 69063- [Search] Open Definition vs Open Declaration.
2005-05-03 15:48:34 +00:00
Andrew Niefer
2bd9664bb0 Template Bindings
-Distinguish between specializations and instantiations
- better handling of explicit specializations
- don't need to instantiate an explicit specialization
2005-05-02 18:04:32 +00:00
Bogdan Gheorghe
d3314df607 Patch from Dave - refactored EntryResults to decode index information within the Entry Result itself; updated Index View to make use of new EntryResult 2005-05-02 16:11:40 +00:00
John Camelon
5e0e6d7eb2 Patch for Devin Steffler.
FIXED 86993- [Selection] CPPASTLinkageSpecification with bad offset due to macro expansion causes selection to fail in CPP
FIXED 93167- [Open Declaration] on destructor requires the entire word to be selected
FIXED 92632- [IBinding] CPPClassInstance binding has no declaration
FIXED - prevent DOM AST View from showing internal interfaces
2005-04-29 00:56:11 +00:00
John Camelon
0fedc36b90 Applied patch for Devin Steffler.
Open Declarations/Search For Refs/Search for Decls actions reworked to use the new DOM.
2005-04-27 17:43:33 +00:00
Bogdan Gheorghe
85f5ea3b48 Update to constant references in search patterns 2005-04-25 19:22:32 +00:00
Bogdan Gheorghe
1c5c64581c Index Reader Interface Refactor - a patch contribution by Dave Daoust 2005-04-25 14:01:51 +00:00
Bogdan Gheorghe
cef2041f15 First pass at new Search Engine (queries the index directly - dramatically increasessearch performance; still missing definitions, function parms, Working Copy)
Refactored CIndexStorage - got rid of operations dealing with multiple indexes
Modified the SourceIndexer to encode the proper offsets for references
2005-04-21 15:46:06 +00:00
Bogdan Gheorghe
cf1d5bf0d1 Dave Daoust's patch for 91946 w/ Modifications
Cleaned up deprecated Search UI
2005-04-20 05:59:37 +00:00
Bogdan Gheorghe
1a961a9736 Refactored index storage framework to allow for offset storage
Updated source indexer and ctagsindexer to add offset info to index
Updated IndexViewer to display offsets
Updated Index Tests
2005-04-07 20:19:53 +00:00
Bogdan Gheorghe
824a56b572 Got rid of index flags and put in a new mechanism for indexers to add files
to the index directly.
Got rid of IDocument and replaced it with IFile resources throughout all
indexing framework.
Minor refactoring of CSearchPage to get rid of internal dependency.
2005-04-04 17:46:28 +00:00
Bogdan Gheorghe
50a283a448 Changed indexer change notification to run as a job.
Some additiional ICDTIndexer changes.
2005-03-29 15:33:11 +00:00
Bogdan Gheorghe
b456fdc959 Initial CTags Indexer contribution
Added timing option to all three indexers
Modified event notification for all indexers to make use of ICDTIndexer constants
Modified SearchEngine to work with all 3 indexers
Added UI block for CTagsIndexer
Ironed out some UI wrinkles in Indexer Block
Added indexer change event for UI Block
2005-03-28 16:36:13 +00:00
Bogdan Gheorghe
8cb9d02dae New core framework for indexer
New UI framework for indexer
Updates to core tests/ui tests
2005-03-14 05:32:07 +00:00