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

171 commits

Author SHA1 Message Date
Doug Schaefer
739203fe55 Upversioning head to 2.1.0. 2004-07-15 15:54:47 +00:00
Alain Magloire
a443caeb08 2004-06-18 Alain Magloire
This was heavy and lots of files were change.  The problem: to create the CElementInfo we use
	to synchronize of the CModelManager singleton instance, this was handy and allowed us to serialize
	the creation of the proxy info and save in the LRU cache.  Then came Eclipse-3.0 with job spawning
	everywhere, lots of deadlock since the CModelManager was lock and the singleton is the center
	to get all the info.  We use the same scheme as the JDT by using a ThreadLocal class cache
	to collect the information.  We fixed a couple of bug allong the way and probably introduce some.

	The tests were doing something stupid, by creating directly the TranslationUnit:
		new TranslationUnit(project, file);
	This does not work since only the sourceRoot can be the parent
	of a TranslationUnit, the tests are now fix bug we should restrict access of the class in the core model
	after 2.0.
2004-06-19 02:43:04 +00:00
Andrew Niefer
8d55216fb7 fixing bug 65114, NPE in getParentClassSpecifier(), caused by template
lookup issues in the class base clause
2004-06-09 21:33:50 +00:00
Doug Schaefer
de0397f03e Cleaned up the build.properties files to ensure the right things end up in the binary and source builds. 2004-05-24 17:18:38 +00:00
Andrew Niefer
9446e713c1 - fix bug 60928 - content assist and member definitions
- also fix bug related to the display string for constructor content assist completions
2004-05-11 21:37:37 +00:00
Andrew Niefer
56bd43a638 update test to reflect JohnC's expression changes 2004-05-03 20:08:46 +00:00
Hoda Amer
1d8bbf919e Content Assist fixes 2004-04-30 18:30:39 +00:00
John Camelon
8eaa71ea7a Fixed https://bugs.eclipse.org/bugs/show_bug.cgi?id=51841<BR>
Updated test cases for improved contexts provided in IASTCompletionNode.
2004-04-25 21:36:27 +00:00
Hoda Amer
9494a0f14e Fix for bug#57692 2004-04-12 21:10:29 +00:00
John Camelon
5cc0a37e2b org.eclipse.cdt.core <BR>
&nbsp;&nbsp;Fixed https://bugs.eclipse.org/bugs/show_bug.cgi?id=50808. <BR>
&nbsp;&nbsp;Provided partial fix for https://bugs.eclipse.org/bugs/show_bug.cgi?id=50807. <BR>
&nbsp;&nbsp;Provided partial fix for https://bugs.eclipse.org/bugs/show_bug.cgi?id=52988. <BR>
&nbsp;&nbsp;Introduced EMPTY_STRING, a single constant that replaced > 100'S O literal "" in the code. <BR>
&nbsp;&nbsp;Updated IASTCompletionNode interface to provide better support for FUNCTION_REFERENCE and CONSTRUCTOR_REFERENCE. <BR>
&nbsp;&nbsp;Implemented IASTTypeId.getFullSignature() for both QUICK_PARSE and COMPLETE_PARSE. <BR>
&nbsp;&nbsp;Tweaked ASTNode.lookup() so that it would work for FUNCTION_REFERENCE. <BR><BR>
org.eclipse.cdt.ui <BR>
&nbsp;&nbsp;Updated CompletionEngine to use the extended IASTCompletionNode interface for FUNCTION_REFERENCE. <BR><BR>
org.eclipse.cdt.ui.tests <BR>
&nbsp;&nbsp;Updated CompletionFailedTest_ConstructorReference_Bug50808, renamed it to CompletionTest_ConstructorReference and moved it out of the failed tests folder. <BR>
&nbsp;&nbsp;Updated CompletionFailedTest_TypeDef_Bug52948, renamed it to CompletionTest_TypeDef_Prefix and moved it out of the failed tests folder. <BR>
&nbsp;&nbsp;Renamed CompletionTest_TypeDef_Bug52948 it to CompletionTest_TypeDef_NoPrefix. <BR>
&nbsp;&nbsp;Updated CompletionTest_SingleName_Parameter and renamed it to CompletionTest_FunctionReference_Prefix. <BR>
&nbsp;&nbsp;Updated CompletionFailedTest_FunctionReference_Bug50807, renamed it to CompletionTest_FunctionReference_NoPrefix and moved it out of the failed tests folder. <BR>
2004-04-08 00:33:43 +00:00
John Camelon
26facfb422 org.eclipse.cdt.core
Provided a partial fix for https://bugs.eclipse.org/bugs/show_bug.cgi?id=50152
	Updated IExpressionParser::expression() interface necessitated by this fix, and updated its clients appropriately.  

org.eclipse.cdt.core.tests
	Updated test cases that used IExpressionParser::expression().  
	Added CompletionParseTest::testCompletionInFunctionBodyFullyQualified(). 
	Added CompletionParseTest::testCompletionInFunctionBodyQualifiedName().

org.eclipse.cdt.ui.tests
	Updated CompletionFailedTest_ScopedReference_Prefix_Bug50152, moved it out of failed tests package and renamed it to CompletionTest_ScopedReference_Prefix_Bug50152.
	Updated CompletionFailedTest_TypeDef_Bug52948, moved it out of failed tests package and renamed it to CompletionTest_TypeDef_Bug52948. 
	Updated CompletionFailedTest_ScopedReference_NoPrefix_Bug50152 to show Hoda/Andrew what is still broken.
2004-04-07 04:32:18 +00:00
Hoda Amer
29adda7a82 Partial Fix for bug#52948 2004-03-08 21:20:11 +00:00
John Camelon
3f823a9e08 org.eclipse.cdt.core
Refactored parser for further content assist work.

org.eclipse.cdt.ui.tests
	Updated failed test to fail in new way as Content Assist feature work continues on ...
2004-03-03 20:07:59 +00:00
Doug Schaefer
5bebbf5367 Fixed the tests to use the CTestPlugin findFileInPlugin
method. This should get the tests working on M6 and M7.
2004-02-16 03:57:06 +00:00
Doug Schaefer
c7241a4d1a Fixed up the test suites to use getInstallURL and
asLocalURL to find the location of the test plugins.
2004-02-13 20:23:31 +00:00
John Camelon
fbda3f7d9a org.eclipse.cdt.core
Fixed Bug 50487 - Wrong completion kind and prefix after "#ifdef" 

org.eclipse.cdt.ui.tests
	Updated CompletionFailedTest_MacroRef_NoPrefix_Bug50487, renamed it to CompletionTest_MacroRef_NoPrefix and moved to passed test package.
	Updated CompletionFailedTest_MacroRef_Prefix_Bug50487, renamed it to Y and moved to passed test package.
2004-01-30 18:28:07 +00:00
Hoda Amer
7bccc3314d Content Assist Work: More JUnit tests 2004-01-29 18:02:12 +00:00
John Camelon
d46025b64f org.eclipse.cdt.core
Fixed  50642 - Wrong completion kind when declaring an argument type
	Updated using declarations for more accurate keywords and closure.

org.eclipse.cdt.ui.tests
	Updated CompletionTest_ArgumentType_Prefix_Bug50642, renamed it to CompletionTest_ArgumentType_Prefix and moved to passed test package.
	Updated CompletionTest_ArgumentType_Prefix2_Bug50642, renamed it to CompletionTest_ArgumentType_Prefix2 and moved to passed test package.
	Updated CompletionTest_ArgumentType_NoPrefix_Bug50642, renamed it to CompletionTest_ArgumentType_NoPrefix and moved to passed test package.
	Updated CompletionTest_ArgumentType_NoPrefix2_Bug50642, renamed it to CompletionTest_ArgumentType_NoPrefix2 and moved to passed test package.
2004-01-29 16:59:54 +00:00
Hoda Amer
9c870f74bf Content Assist Work: More JUnit tests 2004-01-29 15:03:26 +00:00
John Camelon
a581a6aa81 org.eclipse.cdt.core
Fixed Bug 50711 - Wrong completion kind in a new expression

org.eclipse.cdt.ui.tests
Updated and renamed CompletionFailedTest_NewTypeReference_NoPrefix_Bug50711 to CompletionTest_NewTypeReference_NoPrefix, moving it to the success tests directory.
Updated and renamed CompletionFailedTest_NewTypeReference_Prefix_Bug50711 to CompletionTest_NewTypeReference_Prefix, moving it to the success tests directory.
2004-01-28 22:31:24 +00:00
John Camelon
6dbe39d0d0 org.eclipse.cdt.core
Updated Scanner to add ANSI built-in defined macros for C and C++.
     Updated GCCScannerExtension to add GCC specific defined macros for C++.
     Added factory infrastructure to allow for C/C++ dialect extensions to be added and contained.
     Added IASTExpressionExtension w/implementation to allow for GCC specific leniency on evaluating expressions.

org.clipse.cdt.ui.tests
    Updated CompletionTest_SingleName_NoPrefix to include internal macro definitions.
2004-01-28 19:59:20 +00:00
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