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

1335 commits

Author SHA1 Message Date
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
Alain Magloire
ac6c8db915 2005-06-08 Alain Magloire
Move to the IContentTypeManager framework: PR 86645
	* src.org.eclipse/cdt/ui/tests/DOMAST/DOMAST.java
2005-06-09 16:07:10 +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
f4ae254411 Refactor CPPSelectionTestsCTagsIndexer to check to see if the proper CTags is installed prior to running the test 2005-05-31 19:43:31 +00:00
John Camelon
e5610988d7 Patch for David Daoust.
Cleaning up the Indexer View.
2005-05-31 19:23:26 +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
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
24648ae9ed Moved clients towards IASTNode.getFileLocation() and away from IASTTranslationUnit.flattenLocations( ... ). 2005-05-30 20:32:56 +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
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
Bogdan Gheorghe
fb6c76a062 Temporary Fix for UI JUnits 2005-05-16 12:50:49 +00:00
Andrew Niefer
793e00edda modified version of patch from Devin Steffler for bug 95202 2005-05-13 19:52:38 +00:00
Andrew Niefer
2d27b6de65 binary search for finding nodes in the DOM AST view 2005-05-12 16:20:31 +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
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
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
c338788697 Forgot to comment broken test out of suite(). 2005-05-03 18:01:39 +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
Bogdan Gheorghe
bdb7bbaf87 Some new index constants
Patch for Dave - IndexerView refactoring
2005-05-03 03:43:13 +00:00
John Camelon
e95f21d2d8 Patch for Devin Steffler.
FIXED 93281- [Open Declaration] the entire operator string shouldn't have to be selected for features to work
2005-05-02 17:40:48 +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
Andrew Niefer
9e7f365eba tweaks to the DOM AST view by Devin
- better handling of DOMExceptions
- don't call IScope.flushCache
2005-04-27 21:30:25 +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
John Camelon
bc812babe8 Fix Bug 92605 - [LocationMap] context_directive_end is off by 1 somewhere
Updated DOMAST Find In View action accordingly.
2005-04-25 18:08:50 +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
f9c9df1db7 Patch for Devin Steffler -
Fixed 92074- [Indexer View] constructors (now methodDecl) do not show up in Indexer View
2005-04-21 15:53:36 +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
5ae8e3d4b7 Patch for Devin Steffler w/ Modifications - Indexer View Search 2005-04-18 19:06:02 +00:00
John Camelon
81d46bfbf6 Patch for Devin Steffler.
FIXED 91233: DOM AST Viewer gets stuck on C stdio
2005-04-15 13:51:21 +00:00
John Camelon
f1b89e7b94 Applied patch for Devin Steffler.
patch includes:
- made getUnpreprocessedSignature public in IASTNode
- refactored it to be named getRawSignature
2005-04-08 17:58:25 +00:00
Bogdan Gheorghe
817b4953c6 Added offset lengths to index storage
Refactored IndexView to display offset lengths
2005-04-08 06:07:51 +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
John Camelon
1834447dce NPE fix for Devin. 2005-04-07 16:34:36 +00:00
John Camelon
7beab5038c Patch for Devin Steffler.
ArrayIndexOutOfBoundsException fix for DOMAST View
2005-04-07 14:39:29 +00:00
John Camelon
3119b13099 Further LocationMap fixes to remove loops. 2005-04-06 18:05:52 +00:00
John Camelon
a11aba0b33 Fixed Bug 88996 - [DOM AST] IASTFileLocation needs to make reference to line numbers. 2005-04-05 18:31:36 +00:00
John Camelon
1e8393f7a2 Added support for MacroExpansions as IASTNodeLocation.
Fixed Bug 88108 - Add support for Macro bindings.
2005-04-05 17:06:22 +00:00
John Camelon
26b0ae693a Patch for Devin Steffler.
This patch includes:
- ICPPASTConversionName that represents C++ conversion member functions
 -> also keeps track of the IASTTypeId for the conversion member function
- ICPPASTOperatorName that represents C++ overloaded operator member function
- a couple tests
2005-04-04 19:27:22 +00:00
Bogdan Gheorghe
82b1a286d2 Patch for Devin Steffler: IndexViewer update 2005-03-30 19:47:40 +00:00
Bogdan Gheorghe
7a1f792fe6 Patch for Devin Steffler: Initial IndexViewer patch 2005-03-29 21:40:34 +00:00
Andrew Niefer
88e9c1712a tweaks to Devin's stuff that I just previously applied 2005-03-23 16:25:51 +00:00
Andrew Niefer
e8ba635111 caching of IASTNames in C 2005-03-23 15:26:11 +00:00
Andrew Niefer
6f3bf0d981 Patch from Devin Steffler, using the properties view to help test IASTNodes and IBindings 2005-03-18 18:58:15 +00:00
John Camelon
371fb48bfe Patch for Devin Steffler.
Remove ArrayStoreException.
2005-03-15 18:18:19 +00:00
Bogdan Gheorghe
a936f8db56 Fix for Bugs # 87978, 87982, 87993 2005-03-15 03:35:34 +00:00
John Camelon
bd9022596d Patch for Devin Steffler.
This patch includes:
- several enhancements made to the DOM AST View to improve performance
- "Display Problems" button that will display all found IASTProblems in the AST via the Search View
2005-03-15 00:39:42 +00:00