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

2475 commits

Author SHA1 Message Date
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
Mikhail Khodjaiants
52e1267d4a Create a special type of ICDIVariable (ErrorVariable) if request to gdb fails. 2003-07-22 22:32:40 +00:00
Mikhail Khodjaiants
6a09808529 Fix in CDTDebugModelPresentation: check if the value that getName returns is not null. 2003-07-22 22:25:42 +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
David Inglis
a91ac220d1 refactor/bug fix 2003-07-22 19:07:36 +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
David Inglis
4da2df9363 see change log 2003-07-22 15:43:02 +00:00
John Camelon
4b8ed789cc Offset fixes for Hoda. 2003-07-22 14:50:13 +00:00
Mikhail Khodjaiants
9a70e8f755 Fixes for CSourceLoator:
Use the 'getReferencedProjects' method of 'CSourceLocator' to obtain the list of referenced projects.
Use the correct tag for additional source locations.
2003-07-22 14:45:21 +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
Tanya-Marise De Sousa
e5b1373aa6 July 18, 2003 build of CDT help. 2003-07-21 15:33:12 +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
Mikhail Khodjaiants
6dbda36f90 Fix for PR 39936: GDB hits modified conditional breakpoints when condition not satisfied.
This is a work around for GDB PR MI/1289.
2003-07-17 21:59:18 +00:00
Mikhail Khodjaiants
ef2a5f83f2 Automatically update the list of source locations when the list of the referenced projects is modified. 2003-07-17 20:56:13 +00:00
Mikhail Khodjaiants
0642ccd81b Automatically update the list of source locations when the list of the referenced projects is modified. 2003-07-17 20:24:01 +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
Alain Magloire
bc45e8c29c updated. 2003-07-17 18:54:09 +00:00
Alain Magloire
b856a2e412 Catching CLI "detach" 2003-07-17 18:54:01 +00:00
Thomas Fletcher
3f0453ac43 Applied patch for a new entry (IResourceChangeListener) to the 'getAdapter' method of the 'DefaultSourceLocator' 2003-07-17 17:46:24 +00:00
Doug Schaefer
83a412df2c Very minor change 2003-07-17 17:23:17 +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
Doug Schaefer
37bc768c73 *** keyword substitution change *** 2003-07-16 19:42:25 +00:00
Doug Schaefer
55a837daad - Initial contribution of the nightly build framework. 2003-07-16 19:41:52 +00:00
Alain Magloire
b398594ee8 updated. 2003-07-16 19:09:21 +00:00
Alain Magloire
4d77a59658 Create ArrayValue ReferenceValue PointerValue
and StructValue.
2003-07-16 19:09:11 +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
Alain Magloire
088b72acaf Thomas Fletcher added new method replacePersistenttarget() 2003-07-16 14:29:40 +00:00
Alain Magloire
dab6ba3ae7 Thomas Fletcher added new command "Edit.." 2003-07-16 14:28:58 +00:00
Thomas Fletcher
c25eb48959 Don't initialize in what may be a non-ui thread. 2003-07-15 21:10:32 +00:00