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

2880 commits

Author SHA1 Message Date
John Camelon
c3f68d1518 Patch for Bogdan Gheorghe
This patch addresses a NPE that pops up on linux while running the 
indexer portion of tests of the core suite.
2003-09-16 17:31:43 +00:00
John Camelon
9b9bf1a17c IASTFunction::previouslyDeclared implementation 2003-09-16 15:34:43 +00:00
John Camelon
6f580b7c1a Patch for Hoda Amer
Core: 
        In completeParseASTFactory.getExpressionResultType(): Added the support 
        for expression type PRIMARY_THIS. 
        In createMethod(): changed the scope of a method definition to point to 
        the parent class. 

Tests: 
    Added CompleteParseASTExpressionTest.testPrimaryThis()
2003-09-16 14:45:39 +00:00
John Camelon
61976f1b51 CORE
Fixed Bug 39556 : 'restrict' qualifier is not supported (ANSI C99) 
	Fixed Bug 43126 : ISourceElementRequestor.acceptParameterReference accesses internal class
	Fixed Bug 43062 : Outline is confused on operator methods containing spaces 
	Cleaned up some warnings in the parser. 

TESTS
	Moved ASTFailedTests::testBug39556() to QuickParseASTTests.
	Cleaned up some warnings in parser tests.
2003-09-15 22:50:59 +00:00
Doug Schaefer
e563e217c7 Added the managed build projects. 2003-09-15 21:50:18 +00:00
John Camelon
994113f274 Patch for Niefer Andrew
Core: 
bug43106 - added getConditionalOperand to ParserSymbolTable

Core.tests:
added testGetConditionalOperand_bug43106 to ParserSymbolTableTests
2003-09-15 21:50:00 +00:00
Doug Schaefer
7b35a1a68b fixed up the build.properties file. 2003-09-15 21:34:16 +00:00
Doug Schaefer
05c2f2915e Removed the dependency on make. 2003-09-15 21:05:54 +00:00
Doug Schaefer
d18851f2d7 Patch for Sean Evoy:
- Move the managed builder to it's own plugins and feature.
2003-09-15 20:44:43 +00:00
Doug Schaefer
c96f650a35 Update the build page. 2003-09-15 19:07:15 +00:00
John Camelon
780a8096ed CORE
Partially fixed Bug 42979 : Cannot search for operator overloaders 
	

TESTS
	Added CompleteParseASTTest::testBug42979().
	Updated CompleteParseASTTest::testAndrewsExample().
2003-09-15 19:04:48 +00:00
Mikhail Khodjaiants
5669e06d25 Fix for PR 43101: Breakpoint exception when source doesn't exist.
The 'fireBreakpointChanged' method of 'BreakpointManager' is used to notify the UI components that a breakpoint is added. This is a part of new implementation to support deffered breakpoints. For new breakpoints the 'delta' argument is null. Check if delta is not null to avoid this problem.
2003-09-15 18:33:15 +00:00
Tanya-Marise De Sousa
56878fb495 September 12, 2003 delivery 2003-09-15 17:47:20 +00:00
John Camelon
7c1af2188d This patch is for the following bugs:
bug42836 - Navigate/search: prepopulate template classes from Outline...
bug42902 - Search: Cannot find typedef
bug43016 - Search: Cannot find macro declarations
 
 Core:
 - add Typedefs to index as Types with suffix T (bug42902)
         - added addTypedefReference to AbstractIndexer
         - modified bestTypePrefix in AbstractIndexer
 - added TYPEDEF_DECL, TYPEDEF_SUFFIX to IIndexConstants
         - modified acceptTypedefReference in SourceIndexerRequestor
 -Searching for Typedefs: (bug42902)
         - modified setElementInfo in BasicSearchResultCollector
        - added TYPEDEF to ICSearchConstants
         - modified CSearchPattern & ClassDeclarationPattern
         - implemented acceptTypedef* in MatchLocator
 
 Core.tests
 - updated testIndexContents and testIndexAll and added them back into the 
   IndexManagerTests suite
 - modified resources/search/classDecl.cpp to include a typedef
  - added testbug42902_TypeDefs to ClassDeclarationPatternTests
  - updated testNamespaceReferenceInClassBaseClause in OtherPatternTests
 
 UI
 - modified performAction & determineInitValuesFrom in CSearchPage
 - modified getImage in CSearchResultLabelProvider
2003-09-15 17:31:28 +00:00
John Camelon
bc7648a24e Patch for Hoda Amer.
Core: 
        In completeParseASTFactory.getExpressionResultType() 
        - Added the handling of some more expression types. 
        See CompleteParseASTExpressionTest for details. 
Tests: 
    - Added lots of test cases to CompleteParseASTExpressionTest
2003-09-15 13:20:30 +00:00
John Camelon
edd344b8af CORE
Fixed Bug 42985 : Search: Qualified function call is treated as a declaration 
	Fixed Bug 40419 : parser fails on heavily templated expressions 

TESTS
	Created QuickParseASTTests::testBug42985(). 
	Moved LokiFailures::testBug40419() to QuickParseASTTests. 
	Deleted LokiFailures as it was empty.
2003-09-12 19:11:22 +00:00
Alain Magloire
277cbf5b68 updated 2003-09-12 18:51:45 +00:00
Alain Magloire
12b70e7a48 New trace attribute for deltaprocessor 2003-09-12 18:51:34 +00:00
Alain Magloire
7fd434f1b0 Catch NPE when dealing with fileextensions. 2003-09-12 18:51:18 +00:00
Alain Magloire
3652dfc5fc Debug trace for the deltaProcessor 2003-09-12 18:50:45 +00:00
John Camelon
9d95cfa455 CORE
Fixed Bug 43013 : IASTParameterDeclaration does not derive from IASTOffsetableNamedElement
2003-09-12 18:36:36 +00:00
Doug Schaefer
bd9cb0bd51 Patch for Keith Campbell.
- Add missing plugin dependency to eliminate warnings
about undefined extension points.
2003-09-12 18:19:05 +00:00
John Camelon
406f05d071 Patch for Andrew Niefer
This is my previous patch updated with a test and resubmitted.

It fixes some NPE's in function resolution if the parameter information is 
bad. 
It also tries to clarify conversion sequence ranking with comments and 
constants.
2003-09-12 15:08:40 +00:00
John Camelon
ceca2f6558 Patch for Andrew Niefer.
Core:
For bug42815
- Modified ICSearchResultCollector.createMatch to not take a parent 
parameter
- modified BasicSearchResultCollector to create the parent string from the 
fully qualified name of the node
- modified MatchLocator to keep track of most recent declaration for 
reporting purposes
- modified MatchLocator.report to use the most recent declaration

Core.Tests:
- Created search/SearchTestSuite
- Added SearchTestSuite to AutomatedIntegrationSuite and removed the 
individual search tests
- Added testReferencesInFunction to ClassDeclarationPatternTests
- Modified resources/search/classDecl.cpp
- Modified testNamespaceReferenceInClassBaseClause, testMacroPattern, 
testEnumerators, 
  and testEnumeratorReferences in OtherPatternTests to test the Match 
result strings

UI:
- bug42837 - fixed populating search dialog on function declarations
- bug42829 - prepopulated search dialog to any element declarations
- bug42815 - group together search results with same label
- modified CSearchResultLabelProvider to not display the "-" in the search 
label
  while sorting by name if there is no parent.
2003-09-12 13:13:58 +00:00
Tanya-Marise De Sousa
3f2ec4d44c September 11, 2003 delivery (technical review version) 2003-09-11 22:15:46 +00:00
Mikhail Khodjaiants
5d9f94704f Reset the selection of variable after casting. 2003-09-11 21:01:20 +00:00
Mikhail Khodjaiants
ad5028bba4 Detail Pane values for casted variables. 2003-09-11 20:58:25 +00:00
Mikhail Khodjaiants
73a655acfe The qualified name should be chached in the InternalVariable. 2003-09-11 20:57:55 +00:00
Mikhail Khodjaiants
8bd60b7ecd Added new field to store the chached value of the qualified name. 2003-09-11 20:57:22 +00:00
David Inglis
77a0015c90 deprecated ui componets due move of builders out of the core/ui 2003-09-11 20:44:26 +00:00
John Camelon
322dcaad49 CORE
Fixed Bug 42840 : Search: Cannot find things after double declarations 
	Fixed Bug 42798 : Selected #include <Angled> off by 1 char 
	Fixed Bug 42872 : dynamic cast not parsed properly 
	Partially fixed Bug 39504 : sizeof-expressions are not handled properly 
	Updated SourceElementRequestor callbacks to include IASTParameterReference callbacks. 

UI 
	Updated SourceElementRequestor callbacks to include IASTParameterReference callbacks. 

TESTS
	Added CompleteParseASTTest::testBug42840() & testBug42872().
	Moved testBug39504B(), testBug39505A() & testBug39505B() from failed to QuickParse tests.
2003-09-11 18:06:15 +00:00
Mikhail Khodjaiants
22e130fbe7 Moving the shared library search paths block to mi UI. 2003-09-11 17:44:42 +00:00
Doug Schaefer
b3898357e2 Patch for Bogdan:
UI 
- This patch changes the search context menu in the CEditor, CContentPage and CView: 
    Search > C/C++ Search... 
                File Search > Workspace 
                             WorkingSets 
- C/C++ Search pops up the search dialog with the chosen element filled out. 
- File Search does a text based file search on the Workspace or a chosen WorkingSet 

Core 
- Added some error checking to the dependency generator.
2003-09-11 17:13:03 +00:00
Alain Magloire
af12903eaa updated. 2003-09-11 16:40:30 +00:00
Alain Magloire
0f58242ba8 FIx parsing. 2003-09-11 16:40:19 +00:00
Mikhail Khodjaiants
09c4ef716b Added the 'org.eclipse.cdt.debug.mi.internal.ui.dialogfields' package. 2003-09-11 15:26:14 +00:00
John Camelon
32f2565b50 Patch for Hoda Amer
- Removed any reference to jdt.ineternal package for property files 
        in TextManipulationMessages and CUIMessages 
        - Added a CUIMessages.properties file to org.eclipse.cdt.internal.ui
2003-09-11 14:58:30 +00:00
John Camelon
64911fc186 Patch for Sean Evoy
Hi All,
Details are in the change log, but this patch contains work that partially 
implements incremental build. There are 2 major use cases not implemented: 
full rebuild on project settings change and properly handling header file 
changes. Both problems require build model work, so I will deliver that 
functionality in another patch. There are also fixes for bugs 41412 and 
42735.

As always, I have run the JUnit tests on Solaris (Motif) and Linux (Gtk).
2003-09-11 14:46:18 +00:00
Mikhail Khodjaiants
86bd34cb79 If breakpoint is a line breakpoint check if source locator contains the file instead of container project. 2003-09-10 21:23:38 +00:00
Tanya-Marise De Sousa
6f2e1a8f42 September 10, 2003 delivery 2003-09-10 21:16:27 +00:00
Mikhail Khodjaiants
95edb19234 Fix for PR 42790: Memory view is not cleared when target is terminated 2003-09-10 15:26:23 +00:00
Doug Schaefer
5a1119fd18 Got rid of the old parser. 2003-09-10 14:26:08 +00:00
Doug Schaefer
492f586b96 Creating zip distributions and got the source feature to work. 2003-09-10 13:40:31 +00:00
John Camelon
d4cfca7836 Patch for Hoda Amer
Core: 
        - Solved the double reference problem 
        - solution to bugs #42822, #42823, & #42822B 

Tests: 

        Moved three failed tests (bugs #42822, #42823, & #42822B) 
        from FailedCompleteParseASTExpressionTest to CompleteParseASTExpressionTest
2003-09-10 13:21:53 +00:00
Alain Magloire
79a8a117d0 Fix the parser 2003-09-10 03:10:10 +00:00
Tanya-Marise De Sousa
9c9ed44482 September 9, 2003 delivery 2003-09-09 22:18:54 +00:00
John Camelon
f2feec1e3c Patch for Bogdan Gheorghe
Here is a patch that should get the build going again...
2003-09-09 20:13:37 +00:00
John Camelon
7ff5917dad Patch for Hoda Amer
CORE
	-Added more IASTExpression.Kind handling to CompleteParseASTFactory.getExpressionResultType()	
TESTS
	-Seperated the Expression result type test in a new file : completeParseASTExpressionTests.
	-Added more test cases for simple types.
	-Added FailedCompleteParseASTExpressionTest for failed reference tests.
2003-09-09 20:01:23 +00:00
Mikhail Khodjaiants
cc49de64a7 Fix for PR 39680: Gash in error message for memory view. 2003-09-09 19:25:07 +00:00
Alain Magloire
9f964e420c Fix ClassCastException. 2003-09-09 19:22:54 +00:00