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
Bogdan Gheorghe
502f1c4822
Fix for Bug 78678: Indexer stops reindexing file after repeated saves
2004-11-17 21:52:45 +00:00
Bogdan Gheorghe
2473fc9bad
Partial Fix for Bug 74427: Indexer needs to store more info
...
Add more info to the index notification mechanism
Updated Indexer Tests to use new notification mechanism
2004-11-02 06:43:17 +00:00
John Camelon
6dc6b84d4b
Fixed 72527 - [Scanner] Remove Scanner, ScannerException & clean up IScanner interface
2004-08-30 15:17:40 +00:00
Andrew Niefer
c2f1517d54
fix parsing international files
...
bug 70852, 70927
2004-08-13 19:52:32 +00:00
Bogdan Gheorghe
5e29d237f6
Fix for 71964: Search parses too many times
2004-08-13 18:54:25 +00:00
Bogdan Gheorghe
9df1ac81b8
Fix for Bug 59493: need to refine index query for open-type
2004-08-11 19:50:26 +00:00
Andrew Niefer
04b2ae06b5
Add IASTQualifiedNameElement.getFullyQualifiedNameCharArrays()
...
and modify Search to take advantage of the IAST providing char[]s.
2004-08-10 20:40:14 +00:00
Andrew Niefer
d38225d581
- add IProblem reporting to Scanner2
...
- modify function macro handling to fix test for bug 62009
- modify Search's use of the scanner to fix FunctionMethodPatternTest::testOperators_bug43063_bug42979
2004-08-06 19:42:57 +00:00
John Camelon
a17096c97e
Fixed https://bugs.eclipse.org/bugs/show_bug.cgi?id=69872 .
...
Moved TimeOut to parser public package in src/ and renamed it to ParserTimeOut.
See resolution description in the defect for more details.
2004-07-21 17:57:57 +00:00
Bogdan Gheorghe
39fd1475ba
Indirect fix for Bug 65551: [Search] Search for Variable references should not include parameters
...
Instead of excluding parameter references from searches, added parm declarations to the index (for
both functions and methods)
2004-06-25 20:43:44 +00:00
Bogdan Gheorghe
1075c0ba5f
Fix for 68550: [Indexer] Cannot restart indexer by touching .c/.cpp/.cc files
2004-06-25 19:02:11 +00:00
Bogdan Gheorghe
0396ced3b7
Fix for 66695: [Indexer] Manually add an include path to a file/folder is ignored
...
Changed CompletionEngine getScannerInfo to get the info from a resource instead of
a project in order to get a complete list of include paths
2004-06-24 21:51:38 +00:00
Andrew Niefer
0bf2405b42
68409
...
- fix out of memory exception while searching.
- fix hierarchical search view issues when offsets are off
2004-06-24 18:58:03 +00:00
John Camelon
68640e20a9
Patch for David Daoust - Updated IBM Copyright notices
2004-06-23 20:31:49 +00:00
Alain Magloire
dbaa2dcea9
Part of PR 68246.
...
Close the inputstream to release resource handle
when we done with it, we can not rely on the GC to do it for us.
2004-06-23 03:32:16 +00:00
Bogdan Gheorghe
726c615400
Modified JobManager to change state from waiting to enabled on a job request.
2004-06-22 03:17:19 +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
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
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
Andrew Niefer
e9f3066ac6
bug 67001 - synchronize indexer job countdown, and only process job
...
cancel on tickdown
2004-06-14 18:21:28 +00:00
Andrew Niefer
41db303fbf
bug 48308 - don't block the content assist while waiting for indexing,
...
force the search to happen on the partial index
2004-06-14 14:39:52 +00:00
Bogdan Gheorghe
49500fb30e
Fix for Bug 63275 - Ensure that only declarations and references are found for enumerations/enumerators
2004-06-14 03:31:51 +00:00
Andrew Niefer
75fee20f69
fix bugs 43063 & 43498
2004-06-11 18:29:03 +00:00
Andrew Niefer
7858f60f7e
fix for bug 64986 - handle containers in CSearchScope
2004-06-10 20:46:57 +00:00