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

2968 commits

Author SHA1 Message Date
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
Doug Schaefer
0c232fa416 Patch for Andrew Niefer:
Patch for C++ Search to support searching for class declarations

Interface changes:
- modified search Interfaces : 
        - ICSearchConstants - changed SearchFor instantiations to more 
closely match what we can search for.
        - ICSearchPattern - added getLimitTo() 
        - ICSearchResultCollector - added createMatch(), which should 
return an object implementing the new IMatch interface, these store the 
any data needed to keep found matches.
  These interfaces are still new and its too early for anyone other than 
search and the indexer to be using them.
- added search interface IMatch.


Changes to core.search had to do with keeping track of the current scope 
during the search, as well as other modifications for matching class 
declarations, and the start of the patterns for matching other things.

Changes to ui.search had to do with creating IMatch objects to store the 
information needed by the label provider to display icons and sort the 
results.
2003-07-15 14:48:13 +00:00
Peter Graves
2c445a38b7 Cleanup some left over gunk from the move of stuff to org.eclipse.cdt.core.tests
and updated test.xml to point to the correct test suite.
2003-07-15 13:43:18 +00:00
John Camelon
1a23ab7152 Patch for Victor Mozgin
Added support for long long and wide char literals.

Fix for PR 39349 : Scanner fails on long long literals.
Fix for PR 39544 : Scanner fails on wide char literals.
2003-07-15 13:35:45 +00:00
Doug Schaefer
c3710b47a6 Fix up paths. 2003-07-14 20:14:41 +00:00
Doug Schaefer
489e790d30 Fix missing directories from build. 2003-07-14 19:54:17 +00:00
Doug Schaefer
b03158193f Patch for Bogdan Gheorge:
- UI for C/C++ Search
2003-07-14 15:34:57 +00:00
John Camelon
9a0d1c0511 Patch for Victor Mozgin.
Added failed tests that correspond to recently reported parser PRs.
2003-07-14 14:04:21 +00:00