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

10974 commits

Author SHA1 Message Date
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
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
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
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
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
John Camelon
f476d6f782 Fixed classOffsets for Hoda 2003-07-23 19:51:30 +00:00
John Camelon
b97503af2c Fix id offsets on variables/fields 2003-07-23 14:39:42 +00:00
John Camelon
89395c5d38 Fix Offsets on Variables. 2003-07-23 13:59:56 +00:00
John Camelon
443dc9c1ec CORE
Added in preliminary support for Field/Variable w/cross references on their types.  

TESTS
	Updated CompleteParseASTTests.
2003-07-22 22:02:24 +00:00
John Camelon
aa45081d82 Fixed Bogdan's timeouts so it doesn't take months to run the test suite. 2003-07-22 18:51:41 +00:00
John Camelon
1db528a01b Add IASTFunction.setHasFunctionBody()/IASTFunction.getHasFunctionBody()
for the sake of the outline view.
2003-07-22 18:32:40 +00:00
John Camelon
4b8ed789cc Offset fixes for Hoda. 2003-07-22 14:50:13 +00:00
John Camelon
329664223a - Added support for digraphs and trigraphs. Both scanner and UI syntax
highlighting are updated.
-  Added support for hex floating point literals.
- Fixed stack overflow problem with string literals concatenation.
- Fixed problem with token pasting in macros.
- This solves PR 39523, 39550, 39552.
2003-07-22 00:44:18 +00:00
John Camelon
c39bb334d0 CORE
Addded in support for BaseSpecifier & class/namespace reference callbacks upon those.  

TESTS
	Updated CompleteParseASTTests.
2003-07-22 00:26:13 +00:00
Doug Schaefer
d8ee61be38 Patch for Bogdan Gheorghe:
- adds namespaces, enums, typedefs, functions,
methods, fields and vars to the index.
- also fixes a problem with the Search label provider
which caused it to not display properly under some
conditions.
2003-07-21 21:14:10 +00:00
Doug Schaefer
a3c2f8e423 Removal of cdt.builder packages. 2003-07-21 18:03:28 +00:00
John Camelon
f25e4d8bd0 CORE
Fleshed out basic declarations for FullParse AST.
	Fixed Bug 40554  - Fields coming back as Vars 
	Fixed Bug 40555  - Methods come back as Functions 

TESTS
	Created CompleteParseASTTest and added it to ParserTestSuite.
2003-07-21 17:30:00 +00:00
Peter Graves
2db6f58160 Include the .jar file. 2003-07-18 18:45:45 +00:00
John Camelon
8aa2e6f9b9 CORE & UI
Added ISourceElementCallbackDelegate interface for AST constructs to allow the Parser to delegate callback's to the nodes themselves.  
	Got rid of ParserMode.STRUCTURAL_PARSE for the time being. 
	Removed org.eclipse.cdt.internal.core.parser.ast.full. 
	Created org.eclipse.cdt.internal.core.parser.ast.complete. 
	Updated ParserFactory.createScanner() to force the user to provide a callback and a ParserMode.
	Introduced ASTSemanticException for COMPLETE_PARSE mode. 
	Fleshed out preliminary IASTReference interfaces and added callbacks to ISourceElementRequestor.
	Removed acceptElaboratedTypeSpecifier() from ISourceElementRequestor.

TESTS
	Updated ParserSymbolTableTests to remove dependencies on parser.ast.full classes.
	Updated Parser test suites for updates to ParserFactory.
2003-07-18 16:39:26 +00:00
John Camelon
e042f101ba CORE
Removed DeclaratorDuple as it was obsolete.
	Fixed offsets in quickParse's IASTTypedefDeclaration implementation.
	Fixed Bug 40436 - Fully Qualified Names Needed (for Indexer/Search features)

TESTS
	Wrote new tests in QuickParseASTQualifiedNameTest.java and added it to ParserTestSuite's suite.
2003-07-18 12:40:48 +00:00
Peter Graves
2566b4d3d9 Remove usage of Java 1.4 reserved keyword assert. 2003-07-18 12:18:22 +00:00
John Camelon
b43dece8ee CORE & UI
Removed IParserCallback.  
	Partially converted DOM to ISourceElementRequestor (requires refactoring of CModelBuilder & StuctureComparator modules in near future).  
	Completely finished ISourceElementRequestor/IASTFactory work for QuickParse mode.  
	Added pointer to methods/functions into AST callback structure.  
	Restructured AST class hierarchy.  
	Removed the old IParserCallback return Objects from every Parser method.

TESTS
	Rewrote the entire DOMTests suite to now be AST tests.  
	Removed DOMTests, BaseDOMTest, DOMFailedTests after methods were migrated to QuickParseASTTests & ASTFailedTests.  
	Made sure every parser failed test had a defect number associated with it.
2003-07-17 20:15:18 +00:00
Peter Graves
a7fedb9060 Remove usage of Java 1.4 reserved keyword assert. 2003-07-17 15:23:56 +00:00
Doug Schaefer
176c8d7bf9 Fixes a couple of cdtproject bugs 40103. 2003-07-16 20:57:09 +00:00
Alain Magloire
51cc929af3 updated. 2003-07-16 15:02:13 +00:00
Alain Magloire
de30a4ac8b Patch from Alex Chapiro to fix a bug 2003-07-16 15:02:00 +00:00
Alain Magloire
aa2f55b2f1 updated 2003-07-16 14:49:45 +00:00
Alain Magloire
42d1154261 Patch from Alex Chapiro to provide build contribution
to the CView.
2003-07-16 14:49:38 +00:00
Alain Magloire
0eb01b1ba1 updated 2003-07-16 14:29:49 +00:00