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

1454 commits

Author SHA1 Message Date
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
David Inglis
71ace4a897 Fixed #46431 2003-11-13 22:04:21 +00:00
Doug Schaefer
335bab74c2 Patch for Sean Evoy:
- Fixes for bugzilla 44451 and 44841
2003-11-13 19:41:59 +00:00
Hoda Amer
4d7450e8fb Bug Fixes for the complete AST factory 2003-11-13 19:27:29 +00:00
Doug Schaefer
3947a0947a Implemented the AIX feature. 2003-11-13 14:38:25 +00:00
Hoda Amer
757922dcc2 Patch for Bogdan 2003-11-11 18:25:56 +00:00
Doug Schaefer
f2d6ec947a Built the shared libraries for AIX. 2003-11-10 20:20:53 +00:00
Hoda Amer
f14741b541 Fix for Andrew 2003-11-10 19:37:02 +00:00
John Camelon
df634f2e75 CORE
Fixed Bug 39554 : _Pragma directive is not supported (ANSI C99) 

TESTS
	Moved testBug39554() from ASTFailedTests to QuickParseASTTests.
2003-11-07 19:49:36 +00:00
Doug Schaefer
9797bc9040 Fix the compile order of the jar files. 2003-11-06 20:53:49 +00:00
David Inglis
436e271263 Fix for 45835 also changed binary runner control to stop running when project closes/open/deleted 2003-11-06 19:52:40 +00:00
John Camelon
39f8ff8c86 Removed one last remainder of core.model.Util in parser to unbreak 2.0 build. 2003-11-06 19:41:33 +00:00
David Inglis
32c6adb106 *** empty log message *** 2003-11-06 18:59:21 +00:00
David Inglis
927ed83c4e further imporovements for https://bugs.eclipse.org/bugs/show_bug.cgi?id=45736 2003-11-06 18:53:26 +00:00
David Inglis
91f05a8d02 fixed problem with not getting line no. all the time 2003-11-06 18:40:24 +00:00