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

1160 commits

Author SHA1 Message Date
Alain Magloire
d3a258b4d7 Rewrite to use the new Parser ISourceElementRequestor. 2003-08-30 05:21:06 +00:00
Alain Magloire
d10a333672 updated. 2003-08-29 14:25:31 +00:00
Alain Magloire
e64aa39dd6 regenarated 2003-08-29 14:25:21 +00:00
Alain Magloire
a62a1f4305 change the limit of arguments to match OS limit 2003-08-29 14:25:01 +00:00
John Camelon
f0646c36bc Patch for Andrew Niefer
Modified BaseSearchTest.setUp to properly include the "include.h" file.

This fixes the failing 
ClassDeclarationPatternTests.testHeadersVisitedTwice and 
OtherPatternTests.testOrPattern
2003-08-28 20:14:11 +00:00
John Camelon
f8a656fbcf Core:
-#39961: Template parameter signature documentation 
UI: 
        -#39968: Template Union missing an icon
2003-08-28 19:49:37 +00:00
Alain Magloire
f6653a6c61 updated 2003-08-28 19:47:32 +00:00
Alain Magloire
87ebd92130 Overload some methods in WorkingCopy. 2003-08-28 19:47:21 +00:00
Alain Magloire
7edad6b418 Check in the IScannerInfo for include paths. 2003-08-28 19:47:01 +00:00
Alain Magloire
572553e0f9 Use CFileElementWorkingCopy 2003-08-28 19:46:41 +00:00
Alain Magloire
2659282961 updated. 2003-08-28 19:20:16 +00:00
Alain Magloire
d5cb7e7ada Check if the Resource is valid. 2003-08-28 19:20:05 +00:00
Doug Schaefer
e166326ad9 Fixes a problem I had with the CProjectHelper which
compiles using Eclipse's internal java compiler but fails
with the JRE 1.3 compiler.
2003-08-28 17:38:09 +00:00
John Camelon
55bd1089ae Core :
- Added resolving references in a method's qualified name in Complete parse mode. 
        Example (.cpp file ): 
        The method "A::B::C::aMethod(){};" used to be an IASTFunction, with name = "A::B::C::aMethod". 
        Now is an IASTMethod, with name = "aMethod", and references to class A, class B and class C. 

        - Added the checking for "isConstructor" and "isDestructor" for an IASTMethod in complete parse mode.
2003-08-28 15:50:31 +00:00
John Camelon
cb951980f4 CORE
Fixed bug39535 - Parser fails on namesapce aliases
	
TESTS
	Moved bug39535 from failedTests to quickParse success tests.
2003-08-28 15:02:52 +00:00
Doug Schaefer
7289b8404d Fix the version number. 2003-08-28 04:09:30 +00:00
Doug Schaefer
546152864c Cleaned up the project dependencies to remove
dependencies that didn't appear in the plugin.xml file.
2003-08-27 18:38:11 +00:00
Alain Magloire
6c729f13ad updated. 2003-08-27 13:17:58 +00:00
Alain Magloire
f62e609968 Update code completion to include for functions and
methods and to position the cursor appropiately.
2003-08-27 13:17:47 +00:00
Alain Magloire
397cfb2121 updated. 2003-08-26 20:18:09 +00:00
Alain Magloire
9b0231f1ec New error message. 2003-08-26 20:17:59 +00:00
Alain Magloire
a4f0b0b2cd Change the error message. 2003-08-26 20:17:48 +00:00
Doug Schaefer
8f3b6007eb Patch for Bogdan Gheorghe:
Indexer 
======= 
- Changed file extensions to prevent header files from being indexed (they will be indexed via inclusion) 

Search 
======= 
- Added scope checking to MatchLocator 
- Modified CSearchPattern to allow for destructor searches 
- Added debug tracing statements to SearchEngine 
- Added debug tracing statements to MatchLocator 

UI 
== 
- Converted CTags based OpenOnSelectionAction to OpenDeclarationsAction. For now, we do a search on all types with the selected name. 
- Hooked up OpenDeclarationsAction to search engine 

General 
======= 
- Modified start up code to set debug trace options (which are defined from the launcher). I've added the following trace components: 
        - dependency 
        - indexer 
        - indexmanager 
        - matchlocator 
        - model 
        - search 
        - parser 

- Added trace debug statements to CModelBuilder 
- Modified Util.java to make use of IDebugLogConstants
2003-08-26 19:16:03 +00:00
John Camelon
d66610119d Placement New Code Review w/Hoda. 2003-08-25 18:19:55 +00:00
John Camelon
c64fbade9d Modified the IASTFactory to take three expression lists for the createNewDescriptor() instead of just one.
They are : newPlacementExpressions, typeIdExpressions, and newInitializerExpressions.
2003-08-25 15:41:30 +00:00
John Camelon
4f65c461c3 CORE
Fixed bug39526 - Parser doesn't handle initializers correctly.  
	Fixed bug41520 - FullParse : Constructor Initializer is mistaken as function prototype 
	
TESTS
	Moved testBug39526() from ASTFailedTests.java to QuickParseASTTests.java.
	Moved testBug41520() from FullParseFailedTests.java to CompleteParseASTTest.java
2003-08-25 15:19:06 +00:00
John Camelon
d6a7d069a1 Updated TranslationUnitTests to not include K&R 2003-08-25 14:13:26 +00:00
John Camelon
c55ebd35d1 Patch for Bogdan Gheorghe. 2003-08-25 13:55:32 +00:00
John Camelon
7c632b299c Removed debugLog statements from Parser.java. 2003-08-25 12:23:13 +00:00
John Camelon
2f398f309b CORE
Fixed Bug 39530 - More problems with initializers. 
	Fixed Bug 37424 - Crash when opening big files
	Refactored pointerOperators & cvQualifiers to not throw backtracks in optional case.  
	Added tracing support to cdt.core plugin via .options file.  

TESTS
	Added QuickParseASTTests::testBug39530().
2003-08-25 12:19:43 +00:00
John Camelon
94b8758d5c patch to keep CDT working for Java 1.3 2003-08-25 11:54:00 +00:00
Doug Schaefer
eaab6a9736 Patch for Hoda Amer:
Core: 
        -Solutions to bug#38985 & bug#38986 
        In IStructure: 
                getField(String)                Implemented 
                getFields()                        Implemented 
                getMethod(String)                Implemented 
                getMethods()                Implemented 
                isAbstract()                Implemented 
                getBaseTypes()                Has been replaced by getSuperClassesNames() 
                getAccessControl(int)        Has been replaced by getSuperClassAccess(String name) 

        - Added some methods to IMethodDeclaration, namely: 
        isFriend(), isInline(), isVirtual(), and isPureVirtual(). 

Core Tests: 
        Enabled some tests in the IStructureTests, namely: 
        testGetFields(), testGetField(), testGetMethods(), testGetMethod(), 
        testIsAbstract(), testGetBaseTypes(), and testGetAccessControl().
2003-08-25 04:20:47 +00:00
Doug Schaefer
a80d2f71de Patch for Bogdan Gheorghe:
Indexer 
- Added additional file extensions to supported indexed files 
- Changed the parser instantiation to pass in retrieved build info 
- Added function decl index entry based on enterFunctionBody 
- Added method decl index entry based on enterMethodBody 
- Added forward decl refs 
- Added debug tracing to AbstractIndexer 

Search 
- Changed matching and reporting functions to handle nodes 
  of type IElaboratedTypeSpecifier 

UI 
- Added a search dialog pop up item to the context menu for the 
  CEditor and CContentOutlinePage
2003-08-20 20:53:50 +00:00
Doug Schaefer
301de9ca43 Patch for Sean Evoy:
I forgot (again) that the Eclipse patching mechanism does not pay 
attention to gifs. So, here are the build icons redone with the proper 
transparency settings. Now they no longer show up as an annoying white 
blob on the grey Motif background/ or Gtk selection box.
2003-08-20 20:09:31 +00:00
Alain Magloire
fac3669873 updated. 2003-08-20 20:05:40 +00:00
Alain Magloire
fa5928f508 Terminate when the thread is interrupted. 2003-08-20 20:05:05 +00:00
Doug Schaefer
a55df357e1 Patch for Hoda Amer:
Core: 
        Modified the parser's newExpression() to send all its sub expressions to the newDescriptor and check on each expression to find references in the CompleteParserASTFactory.createExpression(). 

Core Tests: 
        Added testNewExpressions() to CompleteParseASTTest to test new expression's references.
2003-08-20 18:05:30 +00:00
Doug Schaefer
cc710063b4 Patch for Sean Evoy:
This patch contains some minor UI changes and a big chunk of work to add 
built-in symbols and includes search paths to a tool specification. 

The UI change is a switch from dynamically resizing the property page when 
an option category is selected from the list, but rather using a scrolled 
edit area. Now, if the option set is larger than the viewable area, a 
horizontal and/or vertical scrollbar is displayed.

In terms of built-ins, there is no UI support to change the values just 
yet. That is coming, but I wanted to get the framework and some 
definitions in place so that the indexer and scanner can start using them.
2003-08-20 17:52:32 +00:00
Alain Magloire
5fd96de2e5 updated. 2003-08-20 17:34:42 +00:00
Alain Magloire
279655a2ff support d&d non-resources in the CView. 2003-08-20 17:34:33 +00:00
David Inglis
0f45720f3d patch from sean see changelog 2003-08-18 17:34:23 +00:00
David Inglis
e5e277adaf removed abstract method as it does not need to be abstract 2003-08-18 16:16:10 +00:00
David Inglis
746f6bfdc7 new project C/C++ project wizard classes 2003-08-18 16:10:59 +00:00
David Inglis
8c4b0d9020 update so that it can be extended to use other type control 2003-08-17 19:49:30 +00:00
John Camelon
6acb69e971 CORE
Removed warnings from SymbolTable & QuickParseCallback (removing implicit accessor generation).
	Made IASTElaboratedTypeSpecifier derive from IASTOffsetableNamedElement (as it should).  

TESTS
	Removed warnings from AutomatedIntegrationSuite.java (removing implicit accessor generation).
2003-08-14 19:49:48 +00:00
John Camelon
83c27c9bb1 CORE
Added X-Reference support for ArrayModifiers and Exception Specifications.  
	Fixed Bug 41551  -  HandleInclusion always throws ScannerException on local includes.

TESTS
	Added CompleteParseASTTest::testArrayModExpression(), testPointerVariable() & 
	testExceptionSpecification().
2003-08-14 15:33:32 +00:00
David Inglis
21a6509a3b fixed problem with large lists (resize policy did not has a height hint) 2003-08-14 13:55:11 +00:00
John Camelon
80ee3e49e7 CORE
Added constructor expression support for variables.  
	Added constructor chain x-reference support for methods. 

TESTS
	Added testBug41520() to FullParseFailedTests.java.  
	Added testConstructorChain() to CompleteParseASTTest.java
2003-08-13 23:54:09 +00:00
John Camelon
fa8baf0518 CORE
Added Expression x-reference support into Parser.

TESTS
	Added testSimpleExpression(), testParameterExpressions() && 
	testNestedNamespaceExpression() to CompleteParseASTTest.java.
2003-08-13 21:51:53 +00:00
David Inglis
4c82ed5537 new C project options controls 2003-08-13 19:26:27 +00:00