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

1711 commits

Author SHA1 Message Date
John Camelon
192a8293ce org.eclipse.cdt.core
====================
Renamed IASTNode.LookupResult IASTNode.ILookupResult.  
Introduced new ParseError exception for contextual parse() methods.  
Renamed ParserFactoryException ParserFactoryError.  
Replaced ParserNotImplementedException with a variant of ParseError.
Updated IScanner & IParser to not reference OffsetLimitReachedException explicitly. 
Renamed ParserMode.CONTEXTUAL_PARSE to COMPLETION_PARSE.  
Cleaned up IMacroDescriptor and made Scanner definitions table consistent.
Added IScanner.getDefinitions() to return the entire Map of definitions to a client.
Removed most of the warnings from parser source directory.  
Removed the unused SyntaxErrorException. 
Provided partial fix for Bug 44370  IASTMacro requires more information for clients.  

org.eclipse.cdt.core.tests
==========================
Updated references to LookupResult as it was renamed to ILookupResult.  
Removed some warnings from parser tests.  
Updated Scanner & QuickParseTests to accommodate new errors and signatures.  
Added QuickParseASTTests.testBug44370().  

org.eclipse.cdt.ui
==================
Updated references to LookupResult as it was renamed to ILookupResult.  
Updated references of ParserFactoryException to ParserFactoryError.
Updated references of ParserNotImplementedException to ParseError. 
Updated references of CONTEXTUAL_PARSE to COMPLETION_PARSE.
2004-01-15 13:38:02 +00:00
David Inglis
d70a6ac41a fixed junit test to work without the deprecated CDT stuff 2004-01-14 22:05:56 +00:00
Doug Schaefer
828dff9194 Fixed up test output so that it reports errors in an XML
friendly way.
2004-01-14 21:18:28 +00:00
David Inglis
74f6ab27e8 - removal of deprecated 1.2 methods/classes 2004-01-13 21:25:35 +00:00
Alain Magloire
613c100d78 updated the entry logs 2004-01-13 20:33:43 +00:00
Alain Magloire
9372319dd3 We have to check the range of the st_shndx field
before using it some values are reserved.
2004-01-13 20:32:54 +00:00
John Camelon
ac23c3d878 UI
Updated CompletionEngine to handle IASTCompletionKind.CompletionKind.STATEMENT_START
2004-01-13 17:47:07 +00:00
John Camelon
2c18a23f89 CORE
Fixed bug 48909 - Wrong completion node after a . or an ->
	Fixed bug 49702 - Wrong completion kind sent in const/dest and code blocks
	Added new CompletionKind - STATEMENT_START to indicate the beginning of a statement line.  

TESTS
	Updated ContextualParseTest to accommodate bugfixes 48909 & 49702.  

UI
	Updated CompletionEngine to handle IASTCompletionKind.CompletionKind.STATEMENT_START
2004-01-13 17:07:02 +00:00
Doug Schaefer
53c3d3cbe1 Fixed up the automated integration suite to use the
new workbench test harness.
2004-01-12 19:08:28 +00:00
David Inglis
a33d942f28 fixed 49851 - deadlock when binary parser was changed while binary runner was running for that project. 2004-01-12 16:38:38 +00:00
Alain Magloire
7a06b48359 Implement ISymbol.getSize(). 2004-01-10 05:38:40 +00:00
Alain Magloire
7e143fdba9 update the logs 2004-01-09 22:13:01 +00:00
Alain Magloire
8c26ef7560 Work on the Stabs debug format implementation. 2004-01-09 22:12:07 +00:00
Alain Magloire
0bde2ce901 implement ISymbol.getSize() 2004-01-09 22:08:38 +00:00
Alain Magloire
b4cb4ecb76 Fix a bug when doing the getSymbols() in the binarySearch 2004-01-09 22:07:48 +00:00
Alain Magloire
522d6bc8b3 new method ISymbol.getSize() 2004-01-09 22:06:31 +00:00
John Camelon
51fc347c92 Patch for Andrew Niefer.
Core:
        Added IParameterizedSymbol.setHasVariableArgs() &
hasVariableArgs()
        Modified ParserSymbolTable.resolveFunction & reduceToViable
        Modified CompleteParseASTFactory.createMethod & createFunction

Tests:
        Added CompleteParseASTTest.testBug43110_XRef
        Added ParserSymbolTableTest.testBug43110_Ellipses
        Added ParserSymbolTableTest.testBug43110_EllipsesRanking
        Added ParserSymbolTableTest.testBug43110_EllipsesRanking_2
2004-01-09 16:59:30 +00:00
Alain Magloire
7d3eaf190b improvements. 2004-01-08 22:43:17 +00:00
Alain Magloire
3f777884b8 on going work on stabs. 2004-01-08 22:28:27 +00:00
John Camelon
15e4fa6b79 Patch for Andrew Niefer
Core:
        Added IDerivableContainerSymbol.lookupFunctionForFriendship.
        Modified IASTFactory.createMethod to take an ITokenDuple for the 
method name.
        Added LookupType.FORFRIENDSHIP and use it in LookupElement.
        Modified CompleteParseASTFactory.createMethod to handle friend 
functions.

Tests:
        Added CompleteParseASTTest::testBug48307_FriendFunction_1
        Added CompleteParseASTTest::testBug48307_FriendFunction_2
2004-01-08 16:57:54 +00:00
Hoda Amer
ed90c66221 Content Assist Work : Adding logging capabilities 2004-01-08 15:37:26 +00:00
Sebastien Marineau
c209012141 Replace QNX copyright with standard CPL copyright. 2004-01-08 12:06:08 +00:00
Alain Magloire
41a0020d24 Fix for PR 49595
The error parsers were not save in the correct order.
2004-01-07 17:39:05 +00:00
John Camelon
7a48cc3a16 Patch for Andrew Niefer
CORE

Support the content assist lookup kind LookupKind.THIS, where the lookup 
looks in the class of the this pointer.
Fix a bug where the forward declared functions/methods appeared twice in 
the content assist results .

TESTS

Added ContextualParseTest::testCompletionLookup_LookupKindTHIS
2004-01-07 02:00:22 +00:00
Alain Magloire
24e017a04a First implementation of STABS debug format parsing 2004-01-06 21:19:57 +00:00
John Camelon
d02df84a93 CORE
Renamed IToken::tELIPSE to IToken::tELLIPSIS
	Partially fixed Bug 43110 : Parser support needed for functions with ellipses 

TESTS
	Added CompleteParseASTTest::testBug43110() and QuickParseASTTests::testBug43110().
2004-01-06 15:26:48 +00:00
John Camelon
0ec807acad CORE
Removed warnings.  
	Moved StructuralParseCallback from model to parser directory to facilitate building the parser standalone.
2004-01-05 21:31:04 +00:00
Doug Schaefer
8cceffb272 Fix the classpaths to use dynamic containers again.
My apologies :-)
2004-01-05 21:16:28 +00:00
Doug Schaefer
e1b04cf0c0 Added org.eclipse.core.runtime.compatability as a
dependency to satisfy Eclipse 3.0M6 requirements.
2004-01-05 20:26:57 +00:00
Hoda Amer
b4c1ec6c05 Content Assist work: Bug fixing 2003-12-31 20:39:37 +00:00
Hoda Amer
4ce12b38ca Content Assist work: Bug fixing 2003-12-31 18:37:59 +00:00
Hoda Amer
4ae8242ff6 Content Assist work: Bug fixing 2003-12-30 22:39:05 +00:00
Hoda Amer
93369ee4cd Content Assist work 2003-12-29 22:01:31 +00:00
Hoda Amer
7dc9ef21ba Content Assist work : Template Engine work 2003-12-22 21:12:56 +00:00
Alain Magloire
fae44f1c82 updated log 2003-12-19 17:15:22 +00:00
Alain Magloire
a1d50b221a Added a CommandLauncher.getCommandLine() 2003-12-19 17:14:41 +00:00
Alain Magloire
16f0fdb92f Fix PR 40247
Overload the ViewSorter in CViewSorter not to use
the labelProvider.
2003-12-19 15:54:11 +00:00
Hoda Amer
67ad10a37b Symbol Table work for Content Assist By Andrew 2003-12-17 20:51:39 +00:00
Hoda Amer
33f033599d Content Assist work 2003-12-17 19:21:32 +00:00
Alain Magloire
6f2d021b52 updated the log. 2003-12-17 01:53:05 +00:00
Alain Magloire
190a43899d Fix PR 48921.
Check also for Object files.
2003-12-17 01:52:41 +00:00
Hoda Amer
c8b4fb4ce5 Symbol Table work for Content Assist By Andrew 2003-12-16 15:18:16 +00:00
Alain Magloire
3241b09765 New Header icon from Mirza Hadzic. 2003-12-15 22:48:34 +00:00
Alain Magloire
3e715ec551 updated. 2003-12-15 21:40:47 +00:00
Alain Magloire
dcdae63502 Patch from Thomas F. Some patterns were marked
as error instead of warning.
2003-12-15 21:40:36 +00:00
Hoda Amer
a8950694c7 Fix for [Bug 47234] new ParserMode required for a better CModel 2003-12-15 19:50:46 +00:00
David Inglis
1148b378c8 Fixed https://bugs.eclipse.org/bugs/show_bug.cgi?id=48619 2003-12-15 18:28:51 +00:00
John Camelon
15c39a3ed3 CORE
Added preliminary keyword support into IASTCompletionNode::getKeywords().  
	Refactored parser to put keyword string literals in one utility class.  

TESTS
	Updated testBaseCase_SimpleDeclaration() for keyword assertions.
2003-12-12 19:44:52 +00:00
David Inglis
987e8fadf3 fixed junit test failure 2003-12-12 18:28:23 +00:00
John Camelon
938c206289 CORE
Added OffsetLimitReachedException and restructured Parser exceptions.  
	Continued support for code assist/selection search parser.  
	Ensured all source in parser/ have copyright notices.  

TESTS
	Expanded ContextualParseTest::testBaseCase().  
	Updated tests to deal with new signatures/exceptions.  

UI
	Updated CompletionEngine to deal with new signatures/exceptions in parser.
2003-12-12 02:03:55 +00:00