1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-15 21:15:23 +02:00
Commit graph

1450 commits

Author SHA1 Message Date
John Camelon
ebd53b2c6d org.eclipse.cdt.core
Refactored parser to allow for cleaner content assist implementation.  
	Removed IASTCompletionNode.CompletionKind.STATEMENT_START as it is redundant.  
	Fixed bug 50640 - Wrong completion kind when expecting an exception 
	Fixed bug 50471 - Wrong completion kind after the "using" keyword
	Fixed bug 50621 - Wrong completion kind in a class declaration 

org.eclipse.cdt.core.tests
	Renamed ContextualParseTest to CompletionParseTest.
	Updated COMPLETION_PARSE clients to use SINGLE_NAME_REFERENCE rather than STATEMENT_START.  

org.eclipse.cdt.ui
	Updated COMPLETION_PARSE clients to use SINGLE_NAME_REFERENCE rather than STATEMENT_START.  

org.eclipse.cdt.ui.tests
	Updated COMPLETION_PARSE clients to use SINGLE_NAME_REFERENCE rather than STATEMENT_START.  
	Renamed and updated CompletionTest_StatementStart_NoPrefix to CompletionTest_SingleName_Method_NoPrefix.
	Renamed and updated CompletionTest_StatementStart_Prefix to CompletionTest_SingleName_Method_Prefix.
	Renamed and updated CompletionFailedTest_ExceptionReference_NoPrefix_Bug50640 to CompletionTest_ExceptionReference_NoPrefix and moved to passed tests folder.
	Renamed and updated CompletionFailedTest_ExceptionReference_Prefix_Bug50640 to CompletionTest_ExceptionReference_Prefix and moved to passed tests folder.
	Renamed and updated CompletionFailedTest_NamespaceRef_NoPrefix_Bug50471 to CompletionTest_TypeRef_NoPrefix and moved to passed tests folder.
	Renamed and updated CompletionFailedTest_NamespaceRef_Prefix_Bug50471 to CompletionTest_TypeRef_Prefix and moved to passed tests folder.
	Renamed and updated CompletionFailedTest_ClassReference_Prefix_Bug50621 to CompletionTest_ClassReference_Prefix and moved to passed tests folder.
	Renamed and updated CompletionFailedTest_ClassReference_NoPrefix_Bug50621 to CompletionTest_ClassReference_NoPrefix and moved to passed tests folder.
2004-01-28 04:00:32 +00:00
Hoda Amer
069a0e8535 Content Assist Work: More JUnit tests 2004-01-27 20:55:58 +00:00
Hoda Amer
d4ca6eb809 Content Assist Work: More JUnit tests 2004-01-26 21:17:39 +00:00
Hoda Amer
f26c374088 Content Assist Work: More JUnit tests 2004-01-23 19:45:59 +00:00
John Camelon
34754f2099 org.eclipse.cdt.core
Fixed bug 50344 - Wrong completion in Class scope if before the first declaration.

org.eclipse.cdt.ui.tests
	Updated CompletionFailedTest_FieldType_NoPrefix_Bug50344 and moved from failed tests.
2004-01-22 18:51:18 +00:00
Hoda Amer
e1fcb18b59 Content Assist Work: More JUnit tests 2004-01-21 21:45:19 +00:00
Hoda Amer
c44ab7ec78 Content Assist Work: More JUnit tests 2004-01-21 19:33:29 +00:00
David Inglis
8104889038 due to changes in CPRojectHelper 2004-01-19 20:06:51 +00:00
Hoda Amer
69cb22837f Content Assist Work : Added lookups for Macros with Function style 2004-01-19 19:42:34 +00:00
Hoda Amer
bcdd0ab7c3 Content Assist Work: More JUnit tests 2004-01-16 20:19:05 +00:00
John Camelon
2e53b260f0 Updated classpath so it uses dynamic classpath entries. 2004-01-15 19:40:37 +00:00
Hoda Amer
1196d4a5ff Content Assist Work : Moved logging and testing to the UI side of CDT 2004-01-15 18:06:14 +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
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
Doug Schaefer
fe07db2d72 Upversioning everything to 1.2.0. 2003-10-01 20:23:21 +00:00
Doug Schaefer
7289b8404d Fix the version number. 2003-08-28 04:09:30 +00:00
Peter Graves
a7fedb9060 Remove usage of Java 1.4 reserved keyword assert. 2003-07-17 15:23:56 +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
b628cfb34b Patch for Vlad H.
Emergency fix for cdt.ui.tests for autobuild/test.
2003-06-27 20:26:35 +00:00
John Camelon
d16fc6884e Patch for Brent Nicolle.
Remove redundant tests from cdt.ui.tests (following their move to cdt.core.tests).
2003-06-26 20:43:14 +00:00
John Camelon
6a7293f951 Create new interface and support for calculating lineNumber/offset mapping.
Updated IASTClassSpecifier for qualified name query.  
Began structuring expressions and declarators in Parser for ISourceElementRequestor.  
Updated other packages to use new interfaces.
Updated automatedtests/torture test to use new line number information.
2003-06-25 22:47:52 +00:00
John Camelon
effbc07d12 Updates for ISourceElementRequestor - elaborated types & enumerations. 2003-06-24 20:18:16 +00:00
John Camelon
f61006c9fe Updated Factory infrastructure, constructors, etc.
Introduced Preprocessor class for transitive closure calc. client.
2003-06-23 18:05:31 +00:00
Doug Schaefer
b8059d7f27 Patch for Sean Evoy:
1. Fix for bug 38665 - Need to select platform before configurations become visible 
2. Icon files that were not delivered in my last patch 
3. A new interface for clients of the build model to extract include paths and defined symbols for managed projects. Unmanaged projects to follow soon.
2003-06-23 14:36:31 +00:00
John Camelon
4347f9b681 Patch for Victor Mozgin.
Fixes problem with offsets of elements that were created as macro expansions (PR 36463).
2003-06-20 17:16:05 +00:00
John Camelon
5ef908593a Patch for Victor Mozgin.
K&R Support.  God help us.
2003-06-18 19:36:20 +00:00
John Camelon
727db1c990 Patch for Victor Mozgin
Implemented correct handling of nested declarators in CModelBuilder.
Added proper support for function pointers as parameters.
2003-06-18 13:56:58 +00:00
John Camelon
b1c1e00a78 Patch for Brent Nicolle
Added Interface tests for IStructure.
2003-06-17 21:38:29 +00:00
John Camelon
d45de32ff5 Patch for Vladimir Hirsl.
This patch adds some missing source folders to the ui.tests library.
2003-06-17 20:58:41 +00:00
John Camelon
15f0d21085 Patch for Victor Mozgin.
implemented support for pointers to class members;
added handling of declarations for nested scopes (like A::B::C);
fixed handling of parameter lists for typedefs for functions;
some errorhandling in CModelBuilder;
2003-06-16 21:41:54 +00:00
John Camelon
d664093420 Added Class/Base infrastructure to public interfaces & requestor callback.
Moved many internal interfaces to external packages. 
Organized imports.
2003-06-13 19:59:47 +00:00
John Camelon
729fbe3c68 Patch for Victor Mozgin.
Fixing AutomatedTest.java after PST/HEAD merge.
2003-06-13 18:24:26 +00:00
John Camelon
89913324d4 Merge Parser_SymbolTable branch into HEAD. 2003-06-13 15:01:26 +00:00
John Camelon
f4829f4428 Fixing .cvsignore. 2003-06-11 19:26:44 +00:00
John Camelon
9a0f3c98cc Trying to fix .cvsignore problem. 2003-06-11 19:24:14 +00:00
John Camelon
415dff9a88 Patch for Victor Mozgin.
This patch enables us to use extensive GCC C/C++ testsuites to test CDT parser.
2003-06-11 19:14:01 +00:00
Peter Graves
00257fb5de Minor update to make automation easier. 2003-06-11 18:47:32 +00:00
John Camelon
5dd01f7ee2 Patch for Victor Mozgin.
I replaced old Java testcases for partitioning with C/C++ ones, and 
fixed AutomatedIntegrationSuite so it doesn't produce a JUnit warning (which is a failure) anymore. So now all tests in org.eclipse.cdt.ui.tests should pass.
2003-06-11 18:09:23 +00:00
John Camelon
362dd49676 Patch for Brent Nicolle.
Added some Interface tests of (IInclude, IMacro, IStructure). 
Made sure all the Test Suites have names in the JUnit hierarchy.
2003-06-10 22:57:05 +00:00
John Camelon
d4a1629964 Patch for Victor Mozgin.
This patch enables parsing of conversion operators. Fixes PR 38657 and the rest of PR 36769.
2003-06-10 14:41:42 +00:00
John Camelon
1aae7b2fa4 Patch for Victor Mozgin.
This patch should improve parsing of new-expressions, including placements, array allocations and multiple parameters in initializers. Fixes PR36932.
2003-06-09 22:02:31 +00:00
Doug Schaefer
da0c569bff Patch for Sean Evoy:
- Initial contribution of Managed Build UI.
2003-06-09 19:22:21 +00:00
John Camelon
e9adc8cbbb Patch for Victor Mozgin.
Fix for PR36701 (Preprocessor stringizing)
2003-06-09 18:40:17 +00:00
John Camelon
de2f7c52bc Patch for Victor Mozgin.
Here is the patch that should take care of parsing templated constructor/destructor/operator declarations.
2003-06-09 18:21:28 +00:00
John Camelon
c3bab5f786 Patch for Victor Mozgin
Update of ChangeLog & ui.tests for PR 38065.
2003-06-06 15:01:36 +00:00
John Camelon
f5f345cdff CORE
Fix Bug 38380  "Include" class public methods fails JUnit tests 
	Updated CModel, DOM, Scanner and current Parser callback to set the information appropriately.  

TESTS
	Moved testBug23478A() & testBug23478B() from failed tests to TranslationUnitTests.java.
	Removed TranslationUnitFailedTests.java as it was empty. 

I also had to apply Alain's partial fix to the Parser_SymbolTable branch to get this working.
2003-06-05 20:01:54 +00:00
Doug Schaefer
6fa98d379b Patch for Sean Evoy:
- More data types for build model
- New natures for managed build
2003-05-29 14:01:04 +00:00
John Camelon
6deffd9b82 Patch for Vlad Hirsl.
New test suite added to run all build, model, parser and failure JUnit tests 
and produce a report.
2003-05-26 16:59:50 +00:00