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

1718 commits

Author SHA1 Message Date
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
David Inglis
6a7946eeee Fixed https://bugs.eclipse.org/bugs/show_bug.cgi?id=48596 2003-12-11 21:32:17 +00:00
Alain Magloire
08dab80c33 updated. 2003-12-11 18:42:31 +00:00
Alain Magloire
ba72f8169a New tests for the CPathEntry. 2003-12-11 18:42:20 +00:00
Alain Magloire
00083a79bd call super() in the constructor. 2003-12-11 18:39:44 +00:00
Alain Magloire
3982815009 updated. 2003-12-10 19:23:41 +00:00
Alain Magloire
b9c0291766 quick fix to change the DocumentProvider, to the
TextFileDocumentProvider to deal with external files
2003-12-10 19:23:20 +00:00
John Camelon
6424b6c980 Patch for Andrew Niefer.
UI:
fix bug 43932 Search: Wrong icons for context search in Outline View 
fix bug 48020 Duplicate Mnemonics in Search Dialog
2003-12-10 00:20:47 +00:00
John Camelon
bce674ac9a Patch for Andrew Niefer. 2003-12-10 00:07:32 +00:00
Hoda Amer
0b91eeb637 Content Assist work 2003-12-09 19:58:34 +00:00
John Camelon
7742dab0b8 Fixed compile error in CCompletionProcessor 2003-12-09 16:41:47 +00:00
John Camelon
b363b30e27 CORE
Fixed Bug 47234 : new ParserMode required for a better CModel
	Updated IASTCompletionNode to include a scope as well as a context.  
	Begun parser updates to support code assist & selection search.  

TESTS
	Added ContextualParseTest.java and some test cases.
2003-12-09 16:39:15 +00:00
John Camelon
4ec086bfd1 Broke the Parser up into separate classes per ParserMode. 2003-12-05 21:17:52 +00:00
John Camelon
1a4a0704fc Removed unnecessary import. 2003-12-05 19:48:32 +00:00
Doug Schaefer
b4cdaf9198 Patch for Alain Magloire:
- Fix to fragment xml version dependencies.
2003-12-05 18:53:06 +00:00
Alain Magloire
c3b73e0452 Change the version to reflect the one in the head. 2003-12-05 18:40:06 +00:00
John Camelon
7ff25dd4c8 CORE
Removed some warnings. 
	Fixed Bug 39678 : Scanner doesn't support concatenation of different-type string literals (GCC) 
	Refactored ScannerContext to use constructors rather than initializers.  
	Refactored IScannerContext to use enumeration-esque kinds.  
	Added code assist/selection search support to Scanner.  

TESTS
	Removed some warnings.  
	Moved testBug39678() from ASTFailedTests to QuickParseASTTests.
2003-12-04 21:28:56 +00:00
David Inglis
fffc3b5110 fixed bug # 48063 2003-12-04 15:00:39 +00:00
John Camelon
e43eb360d1 Patch for Andrew Niefer.
This patch changes the handling of ambiguities during prefix lookup.
It also addresses problems in the symbol table to do with qualified 
lookup.  Fixing these revealed problems caused by the 
CompleteParseASTFactory not always using the correct lookup functions.  So 
the factory has been modified to call the appropriate lookups.

The following tests have been created:
        FailedCompleteParseASTTest.testBug47926
        CompleteParseASTTest.testQualifiedLookup
        ParserSymbolTableTest.testPrefixLookup_Ambiguities
        ParserSymbolTableTest.testQualifiedUnqualifiedLookup
        FunctionMethodPatternTests.testLookupForDefinition
2003-12-03 21:48:19 +00:00
Hoda Amer
307d4a1d40 Content Assist work 2003-12-03 20:29:29 +00:00
John Camelon
21f4465862 Patch for Andrew Niefer
CompleteParseASTFactory should use the symbol table's elaboratedLookup 
instead of qualifiedLookup when it encounters an elaborated type 
specifier.

Core:
change createElaboratedTypeSpecifier to call 
IContainerSymbol.elaboratedLookup

Core.tests
add CompleteParseASTTest.testBug47624
2003-11-28 05:07:26 +00:00
John Camelon
0adb9b9d20 Patch for Andrew Niefer.
Core:
        In prefix lookup, the lookup does not stop when a symbol is found, also abiguity resolution is modified.
        Add IContainerSymbol.prefixLookup (signature subject to change)
        Add ParserSymbolTable.LookupMode, an enum with 2 values: NORMAL, PREFIX
        In prefix mode, the lookup does not stop when a symbol is found.

Tests:
        ParserSymbolTableTest.testBug46882
        ParserSymbolTableTest.testPrefixLookup_Unqualified
        ParserSymbolTableTest.testPrefixLookup_Qualified
        ParserSymbolTableTest.testPrefixLookup_Inheritance
2003-11-28 04:58:00 +00:00
Hoda Amer
89054fc120 New Content Assist framework 2003-11-27 19:52:23 +00:00
Hoda Amer
32fc5c80ab New Content Assist framework 2003-11-27 19:25:49 +00:00
Doug Schaefer
9c677d807f Upversioned the plugins, etc to 2.0.0.
Made sure the jar files got included in the zips.
2003-11-25 18:24:55 +00:00
Doug Schaefer
9dc3aa63e5 Upgrade to Eclipse 3.0. Includes:
- upgrade plugin.xml files
- use PDE containers
- apply Eclipse 3.0 porting items, in particular openEditor and gotoMarker
- remove TestWorkbenches from test plugins
2003-11-24 18:31:03 +00:00
Alain Magloire
6ac0c7539a updated. 2003-11-20 17:06:51 +00:00
Alain Magloire
40ff5c09ea implement returning the linenumber of an offset. 2003-11-20 17:06:42 +00:00
Alain Magloire
e118256c06 Bug fix, the Arrays.binarySearch() return the
insertion index.
2003-11-20 17:06:20 +00:00
Alain Magloire
ace9aa5fd7 Provide a way to give the linenumber from the offset
of a symbol.
2003-11-20 17:05:33 +00:00
Alain Magloire
4133a9ea82 updated. 2003-11-20 16:10:01 +00:00
Alain Magloire
a89c6eff1e Use JDK 1.3 methods. 2003-11-20 16:09:50 +00:00
John Camelon
fcfd56c2af Patch for Andrew Niefer.
Refactor the symbol table by splitting the ParserSymbolTable.Declaration 
class in 4 classes and moving it to not be nested
Tests have been updated and tested on windows & Linux
2003-11-20 15:23:01 +00:00
Alain Magloire
d4457e175e Addr2line returns "??" when it does not find a filename. 2003-11-19 20:51:24 +00:00
Alain Magloire
30d3f00aef clean the cache only if changed 2003-11-19 20:24:56 +00:00
Alain Magloire
bc08db7cc0 updated. 2003-11-19 17:37:44 +00:00
Alain Magloire
93d0a3cccf Do not load the symbols right away 2003-11-19 17:37:32 +00:00
Alain Magloire
f9e69cf8c7 Catch the Info in the IBinary 2003-11-19 17:37:13 +00:00
Hoda Amer
008ec4a579 Completion Engine Work 2003-11-19 15:11:51 +00:00
Alain Magloire
7a446b027c Attempt to address performance problem in the IBinaryParser
To many open()s a new method was create isBinary(byte[] ..)
So the file could be open only one time.
2003-11-18 16:20:49 +00:00
Doug Schaefer
8b5836e830 Test number 3 of the commit log. 2003-11-17 20:33:09 +00:00
Doug Schaefer
004e65e8c1 Another test of the commit logs. 2003-11-17 20:02:41 +00:00
Doug Schaefer
ef2c9618b4 Testing the CVS logging capability. 2003-11-17 19:31:18 +00:00
David Inglis
51efd3ae86 Fixed bug https://bugs.eclipse.org/bugs/show_bug.cgi?id=46685 2003-11-14 18:06:34 +00:00