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

2969 commits

Author SHA1 Message Date
John Camelon
3d7a522e3e Patch by Andrew Niefer.
This patch is a refactoring of the C++ search result collecting.

There are 2 new classes:
- BasicSearchMatch implements IMatch
- BasicSearchResultCollector implements ICSearchResultCollector

IMatch itself has been modified to reflect a minimum set of information 
that will be returned by the search.

The old CSearchResultCollector now extends BasicSearchResultCollector and 
the old Match is now gone.

The CSearchResultLabelProvider has been moved from 
org.eclipse.cdt.internal.ui.search  to  org.eclipse.cdt.ui, and it has 
been modified to reflect changes to IMatch.

The result of this is that anyone wishing to take advantage of the search 
engine (ie ClassWizard ) can now do it without implementing their own 
ICSearchResultCollector and IMatch objects.
2003-07-29 22:47:59 +00:00
Mikhail Khodjaiants
84d61d9cfc Fix for PR 40911: Double clicking on breakpoint with no source causes internal error. 2003-07-29 20:23:55 +00:00
Alain Magloire
d0c813b653 updated 2003-07-29 19:51:30 +00:00
Alain Magloire
0e40557ca2 Check for .debug* 2003-07-29 19:51:19 +00:00
John Camelon
ae3a1417f5 Patch for Sean Evoy
In order to meet certain internal guidelines and to test the makefile 
generator, the build model replied to some answers with hard-coded 
information. This patch moves the information into the build model. Tests 
have been updated to reflect these changes, and the patch has been 
smoke-tested on Unix.
2003-07-29 14:28:40 +00:00
John Camelon
5423bbc79e Patch for Victor Mozgin.
Fixed PR 39546 : Parser fails on 'signed' casts.
2003-07-29 14:21:07 +00:00
John Camelon
a3e052456b Patch for Andrew Niefer
core:
- fixed a couple of bugs to do with searching for globally qualified 
patterns
- fixed a bug to do with the '?' wildcard
- fixed a bug to do with searching for functions/methods using patterns 
specifying parameters

tests:
- new search tests:
                ClassDeclarationPatternTests.testClassReferenceInFieldType
                ClassDeclarationPatternTests.testClassReferences
 ClassDeclarationPatternTests.testEnumerationReferenceVisibleByInheritance
                ClassDeclarationPatternTests.testGloballyQualifiedItem
 ClassDeclarationPatternTests.testTypeReferenceVisibleByUsingDirective
                FunctionMethodPatternTests.testMethodDeclaration
                FunctionMethodPatternTests.testMethodDeclarationWithParams
                OtherPatternTests.testFieldDeclaration
                OtherPatternTests.testNamespaceDeclaration
                OtherPatternTests.testNamespaceReferenceInClassBaseClause
                OtherPatternTests.testNamespaceReferenceInUsingDirective
                OtherPatternTests.testVariableDeclaration
2003-07-29 12:40:17 +00:00
Mikhail Khodjaiants
5ad84a932b Minimize the number of the "evaluate expression" requests when changing the value of the floating point types. 2003-07-28 21:39:57 +00:00
John Camelon
95b11e1171 CORE
Fixed Bug 40842 - Parser: NPE while parsing class declaration in full parse mode 
	Fixed Bug 40843 - Parser: failParse doesn't set parsePassed = false on EOF.
	Fixed Miscellaneous overrides issues involving parameters & functions. 


TESTS
	Added/moved tests as necessary for bugfix 40842 & 40843.
2003-07-28 20:49:47 +00:00
David Inglis
33fdeeac10 see ChangeLog 2003-07-28 20:22:44 +00:00
Mikhail Khodjaiants
460eff2253 Refactoring: moved the 'isNaN', 'isPositiveInfinity' and 'isNegativeInfinity' to the 'CDebugUtils' class. 2003-07-28 19:59:27 +00:00
Mikhail Khodjaiants
622186c83c Refactoring: moved the 'CDebugUtils' class to the 'org.eclipse.cdt.debug.core' package - the methods of this class are mostly used in UI plugins. 2003-07-28 19:40:24 +00:00
Mikhail Khodjaiants
44c47aa497 Cleanup. Removed the unused 'getNumberOfChildren' method from the 'CValue' class. 2003-07-28 19:08:14 +00:00
Mikhail Khodjaiants
87128db4da Cleanup. Removed the 'reset' and 'getQualifiedName' methods from the 'ICVaraible' interface. 2003-07-28 17:25:01 +00:00
John Camelon
d84488d695 Patch for Andrew Niefer.
This patch creates a new failing test class : FullParseFailedTests.  This 
is for writing failed tests on the parser doing COMPLETE_PARSE.

The first failed test is for bug 40842 "Parser: NPE while parsing class 
declaration in full parse mode"
2003-07-28 17:21:50 +00:00
John Camelon
30f7903424 Fixed Bug 40730 - Parser is not searching the include path for #include"<name>" 2003-07-28 15:40:36 +00:00
John Camelon
9b571cb993 Patch for Victor Mozgin.
Fixed PR 39537 : Parser fails if template parameters contain '>' or
'<'  characters.
2003-07-28 14:18:39 +00:00
David Inglis
de98fe1839 cleanup
reduced # of open/close pre elf file
2003-07-28 13:41:00 +00:00
David Inglis
8daef5ac9c added range checks for section string 2003-07-28 13:36:57 +00:00
David Inglis
0a8f96e1d2 fixed supports cpu test so that it finds debugger that support a cpu which
== native but don't say they support native
2003-07-28 13:36:24 +00:00
John Camelon
c6b470a797 Fixed testBug40714() to faiil properly. 2003-07-28 00:28:24 +00:00
John Camelon
136320038c Patch for Victor Mozgin.
Fixed PR 39553 : Macros are not expanded in #include statements.
2003-07-28 00:02:34 +00:00
Doug Schaefer
432273ae87 *** empty log message *** 2003-07-25 20:17:57 +00:00
Doug Schaefer
e5ca3ac578 Added the dependency dir to the build properties. 2003-07-25 20:16:20 +00:00
John Camelon
32adccaab0 Update CModel failed tests. 2003-07-25 18:09:57 +00:00
Doug Schaefer
3a2ed3957a Patch for Sean Evoy:
- I added the ability to build when there are inter-project dependencies 
(first iteration; I would like to try another way). There is also some 
changes to how libraries are handled. Change logs describe the changes and 
the AllBuildTests has been updated to reflect these changes.
2003-07-25 17:31:01 +00:00
John Camelon
1be03f5cfc Last minute demo fix from Bogdan. 2003-07-25 17:25:49 +00:00
John Camelon
7c5787894d Last minute demo fixes for Search/Indexer/COMPLETE_PARSE. 2003-07-25 16:45:49 +00:00
Tanya-Marise De Sousa
c9baf818e7 July 25, 2003 delivery 2003-07-25 16:32:44 +00:00
John Camelon
ee5dac3bd9 Patch for Bogdan Gheorghe.
This patch adds type refs, function refs, method refs,  fireld refs and namespace refs to the index and changes the parser mode to complete parse.
2003-07-25 15:21:57 +00:00
John Camelon
8b6f29d3ad Fix Symbol Table Lookup in addBaseSpecifier() for Andrew. 2003-07-25 14:49:18 +00:00
Doug Schaefer
2ea02e1982 Patch for Sean Evoy:
- Initial makefile generator for managed build.
2003-07-25 14:40:04 +00:00
John Camelon
196aedf345 Fixed ASTEnumerator::getOwnerEnumerationSpecifier() in COMPLETE_PARSE mode for Bogdan. 2003-07-25 14:30:11 +00:00
Alain Magloire
62a75efc6b updated,. 2003-07-25 01:57:51 +00:00
Alain Magloire
3648e5775a Added case for m68k cpu 2003-07-25 01:57:41 +00:00
John Camelon
4824b20cdc CORE
Added COMPLETE_PARSE support for Method and Field declarations and cross-references. 
	Fixed some small ParserSymbolTable bugs.
	Added support for linkage specification under COMPLETE_PARSE.

TESTS
	Updated CompleteParseASTTests for Method/Field updates.
	Fixed TortureTest's parser mode switch (was always QuickParsing).
2003-07-25 00:35:42 +00:00
John Camelon
a446c41e78 Patch for Hoda Amer.
This core patch cleans up the CModelBuilder. It also solves a bug and all tests in IStructureTests now pass successfully. 
In the core.tests patch, the test for templates of variables is removed from ITemplateTests because it is moved to the failed tests.
2003-07-24 21:47:13 +00:00
John Camelon
e312c1724b Patch for Andrew Niefer
This patch is for the search.  No new things can be searched yet, but this 
brings more things closer to being able to be searched.

        - Implemented decodeIndexEntry & matchIndexEntry for all patterns
        - changed MatchLocator to use a COMPLETE_PARSE.
        - added TYPE_ALL, FUNCTION_ALL, METHOD_ALL, NAMESPACE_ALL, 
FIELD_ALL constants to IIndexConstants
        - modified AbstractIndexer prefix functions to properly handle 
searching for all occurences
2003-07-24 21:43:47 +00:00
Doug Schaefer
bcbcf4266c Added automatic upload of the test result reports. 2003-07-24 20:27:32 +00:00
Mikhail Khodjaiants
191615c830 New icon for closed projects. 2003-07-24 19:25:06 +00:00
Mikhail Khodjaiants
beb9e0d679 When initializing the generic source locations list filter out non-generic locations. 2003-07-24 18:39:43 +00:00
Mikhail Khodjaiants
3b39a5f585 Fix for PR 40696. 2003-07-24 17:59:00 +00:00
John Camelon
62d269c6f8 Moved Template of Variable test case to Failed tests 2003-07-24 17:20:07 +00:00
Doug Schaefer
6e1589de13 Move the dependencies directory to the right place. 2003-07-24 15:11:52 +00:00
John Camelon
ea9038f44b Fix ending offsets of Functions/Methods w/bodies for Hoda. 2003-07-24 14:47:32 +00:00
Doug Schaefer
7a408c3e1d Patch for Andrew Niefer:
Core:
- modifications to the Indexer to better support qualified names
- functions to create Index entry prefixes for the different Search 
Patterns
- all of the search patterns are now being created and all do at least 
some matching
- all of the parser callbacks for declarations, definitions, and 
references are now being handled, though the patterns and indexer both 
need some work here

Core.tests:
- new BaseSearchTest which creates a project and uses the indexer
- new test class FunctionMethodPatternTests to test aspects of the 
Function & Method patterns
- new test class OtherPatternTests to test the other (Namespace, Field & 
variable) patterns
- new tests to test index prefixes for the patterns

UI:
- handle more varied search results and display more icons
2003-07-24 14:20:16 +00:00
Doug Schaefer
33b684ca91 Patch for Bogdan Gheorghe:
- Here's a first take at the dependency tree service
which is needed by both the managed build and the
indexer. The service is in a really early form with no
persistance or notification mechanisms in place yet.
There is just enough in here to allow Sean to get his
makefile dependencies. I added a check box to the
indexer tab to enable the service on a per project basis.
2003-07-24 14:15:07 +00:00
John Camelon
9d44e90798 CORE
Added CompleteParse - UsingDirective & UsingDeclarations w/namespace/class/field variable references.
	Added CompleteParse support for enumeration specifiers and references in variables & fields.  
	Stubbed out other Scopes/Declarations for COMPLETE_PARSE mode to allow indexer team to switch over ASAP. 

TESTS
	Updated CompleteParseASTTests.
2003-07-24 13:47:20 +00:00
John Camelon
d67f2b25cf Patch for Hoda Amer.
This patch updates the CModelBuilder to use the AST instead of the DOM.
2003-07-24 13:30:30 +00:00
John Camelon
b9273831d1 Fix offsets of PointerToFunctions/PointerTo Methods for OutlineView 2003-07-23 20:20:50 +00:00