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

2981 commits

Author SHA1 Message Date
Tanya-Marise De Sousa
c20c27d234 September 25, 2003 delivery 2003-09-25 20:10:11 +00:00
John Camelon
939af66d2e Patch for Andrew Niefer
partial fix for bug 43664 - Search cannot report matches outside of 
workspace.

This enables non-ui reporting of matches outside the workspace.  So 
clients of search, like code assist will get external results.

We still need a resource to report a match to the search view so no 
external matches in the UI.

core:
Modify Matchlocator to not try and create a link if we have no resource, 
instead just use the path

core.tests:
added testNoResourceSearching() to OtherPatternTests

ui:
modify CSearchResultCollector to accept matches without resources, but not 
attempt to report
them in the UI.
* src/org/eclipse/cdt/internal/ui/search/CSearchResultCollector.java
2003-09-25 19:51:50 +00:00
John Camelon
ba0a125734 Patch for Hoda Amer
Core: 
        - Last part of solution to bug#42453: Expression result types not computed 
        Added the handling of POSTFIX_TYPENAME_IDENTIFIER 
        Completed bug#43221: POSTFIX_TYPENAME_IDENTIFIER not implemented 
        - Solution to bug#43644 : 6 triangle icons appearing in outline viewer when typing ... 
Tests: 
        Enabled CompleteParseASTExpressionTest.testPostfixTypenameIdentifier() 
UI: 
        Solution to bug#43646: Code Assist won't work if missing end bracket
2003-09-25 19:40:39 +00:00
Doug Schaefer
f13c66b5ca Fix for Sean. 2003-09-25 19:14:50 +00:00
Alain Magloire
4424209abc Bug fix in isifndef(). 2003-09-25 18:51:06 +00:00
David Inglis
9bc3504cfd apply setting in worksapce runnnable to reduce change notifications 2003-09-25 17:05:47 +00:00
Alain Magloire
b06d6f62f6 updated. 2003-09-25 16:05:22 +00:00
Alain Magloire
fab806abb9 Fix for PR 43496 2003-09-25 16:04:49 +00:00
David Inglis
0b3617b29c revert last change oops... 2003-09-25 14:26:51 +00:00
John Camelon
9cd42c12c5 Patch for Hoda Amer
Core: 
        Partial solution to bug#42453: Expression result types not computed 
        Added the handling of the NEW_TYPEID, CASTEXPRESSION, POSTFIX_DYNAMIC_CAST, 
        POSTFIX_REINTERPRET_CAST, POSTFIX_STATIC_CAST, and POSTFIX_CONST_CAST 

Tests: 
        Added testNewTypeId(), testCastExpression(), testPostfixDynamicCast(), 
        testPostfixReinterpretCast(), testPostfixStaticCast(), and testPostfixConstCast() 
        to CompleteParseASTExpressionTest.
2003-09-25 14:26:33 +00:00
David Inglis
2988957b03 update map should be the last step 2003-09-25 14:26:11 +00:00
Alain Magloire
33cfdee33a updated. 2003-09-25 14:10:30 +00:00
Alain Magloire
4464c93627 New Help ids for the CEditor Preference Page 2003-09-25 14:09:59 +00:00
David Inglis
74fd9f04c9 added seach to default c perscetive 2003-09-25 13:45:28 +00:00
David Inglis
d1e8e5afbd new class wizard enablement should only be on ccnature 2003-09-25 13:45:12 +00:00
David Inglis
4833b2d494 fixed bug#43605
cleanup ui actions Create/Build target so they can be made availible though a hotkey
2003-09-25 13:44:04 +00:00
David Inglis
6b17a6477b added meothd to test for target build on a project
added test for setting build info if value has changed or not
2003-09-25 13:40:29 +00:00
David Inglis
99eeb85fa8 added help id to launch tabs 2003-09-25 13:34:49 +00:00
John Camelon
a6efadb09a CORE
Partial fix for Bug 43221 : POSTFIX_TYPENAME_IDENTIFIER not implemented 

TEST
	Updated CompleteParseASTExpressionTest::testPostfixTypenameIdentifier() for Hoda.
2003-09-25 13:33:33 +00:00
Doug Schaefer
5f524fb890 Patch for Sean Evoy:
To help out with bug 43051, I have changed the behaviour of the managed 
builder when asked for scanner information. The search feature needs the 
absolute paths to files. Since all the user-specified include paths 
specified in the managed builder UI are either absolute or relative to the 
build project directory, it is relatively easy to convert everything to 
absolute paths before answering the clients of this information.
2003-09-25 03:19:31 +00:00
Mikhail Khodjaiants
c7b323e4fb Fix for PR 43624: The "Show Types Name" action of the Registers view doesn't work. 2003-09-25 02:12:59 +00:00
Alain Magloire
6945eff592 Change the old icon was own by QnX 2003-09-24 20:20:48 +00:00
David Inglis
72dd63daed added make project id 2003-09-24 18:03:36 +00:00
David Inglis
03f315af98 fixed setting location path for target 2003-09-24 17:58:54 +00:00
John Camelon
a317cc46f9 CORE
Fixed Bug 43106 : Symbol Table support needed to resolve types
	Fixed Bug 43375 : isExtern not returning true for extern declarations 

TESTS
	Added testBug43375() to CompleteParseASTTest. 
	Moved testConditionalExpressionWithReferencesB_Bug43106 from failed tests to passed tests. 
	Moved testPMDotStar() and testPMArrowStar to failed tests w/defect number 43579.
2003-09-24 17:26:45 +00:00
Alain Magloire
18908c982d updated. 2003-09-24 15:07:43 +00:00
Alain Magloire
7c16d44639 remove on unused method 2003-09-24 15:07:30 +00:00
Alain Magloire
b91a9b0446 Remove unuse method parser(Inputstream in) 2003-09-24 15:02:32 +00:00
Alain Magloire
56ca1ac8d7 updated 2003-09-24 14:48:29 +00:00
Alain Magloire
4a9b8b97ef NPE when monitor cancel change the other
of the checkline(true) for the flushing.
2003-09-24 14:48:19 +00:00
Peter Graves
55d821e0a2 Cleanup to remove warnings. 2003-09-24 14:41:09 +00:00
Alain Magloire
f683a336e5 File and Folder Wizard removed in plugin.xml
not needed.
2003-09-24 14:22:29 +00:00
Doug Schaefer
e09b94f945 Patch for Sean Evoy:
This patch adds a "hook" for F1 help on the new managed project wizard 
configuration selection page. It also adds functionality to the managed 
build project property page to allow the user to edit the make command and 
build artifact name. They can also add and delete configurations from a 
target. There is no support for adding another target to a project in this 
release.
2003-09-24 14:20:49 +00:00
David Inglis
ec1f9424bb added support for temporary targets 2003-09-24 14:20:21 +00:00
David Inglis
366e74c5bc IBinary speed up
CDescriptor fix #43533
CExtension - null removes attributes
2003-09-24 13:55:26 +00:00
John Camelon
18e0534368 Patch for Andrew Niefer
core:
- modifications to CSearchPattern.scanForNames()
- add getSimpleName to MethodDeclarationPattern

tests:
- Added FunctionMethodPatternTests.testBug43498()
2003-09-24 13:36:50 +00:00
John Camelon
02c194aaf4 CORE
Fixed Bug 43084 : need to restructure TypeId to allow dynamic_cast<> type expression references.
	Fixed Bug 39504 : sizeof-expressions are not handled properly

TESTS
	Replaced ASTFailedTests::testBug39504A() with CompleteParseASTTest::testBug39504(). 
	Moved testPostfixTypeIdExpression2() && testPostfixTypeIdTypeId2() to CompleteParseASTExpressionTest. 
	Restructured expression reference tests so that the order of arrival will not cause JUnit failures.
2003-09-23 22:58:34 +00:00
Mikhail Khodjaiants
66859771be Changed the 'hasStackFrames' method of the 'CThread' class to return true regardless if the thread contains stack frames or not. This method is only used by UI to update the thread label. 2003-09-23 20:51:28 +00:00
John Camelon
ef856ea3e1 Patch for Hoda Amer
Core: 
        Solution to bug#43373: No reference to static member in definition  (Major) 
        Solution to bug#43371: constructor incorrectly marked private (Normal) 
Tests: 
        Added CompleteParseASTTest.testBug43373() 
        Added QuickParseASTTests.testBug43371() 
UI: 
        Solution to bug#43143: Naming of Code Assist Menus/Tab are not consistent 
        changed both names to Content Assist. No tests provided.
2003-09-23 20:46:22 +00:00
Tanya-Marise De Sousa
558e9619c2 September 23, 2003 delivery 2003-09-23 20:34:04 +00:00
Alain Magloire
a35ae2df63 Remove of unnecessary lines. 2003-09-23 19:55:13 +00:00
Alain Magloire
4695acb1d8 Refactoring of LocalSelectionTransfer to CLocalSelectionTransfer. 2003-09-23 19:50:48 +00:00
Alain Magloire
1a59094cd1 Remove warnings. 2003-09-23 19:49:56 +00:00
John Camelon
9eab565dd0 Patch for Bogdan Gheorghe
Fixed  Bug 42685, Bug 43474. 

This patch: 
  - removes the old CTags Indexer 
  - removes the remaining Indexer block UI item under  Project Properties 
  - enables the Indexer on all projects
2003-09-23 15:17:20 +00:00
David Inglis
183a84fce3 help ids added for error parser page and binary parser page 2003-09-23 14:40:12 +00:00
David Inglis
e72e820aa8 fixed build location
added build location browser dialog
added help ids.
2003-09-23 14:04:58 +00:00
John Camelon
3e361ae186 Core :
Solution to bug#43162 : Code Assist not showing the right return value: 
        Saved a function return value string in the BasicSearchMatch object. 
        Created a new package org.eclipse.cdt.internal.core.parser.util and 
        added ASTUtil class with static methods to help convert an ASTFunction 
        return type from IASTAbstractDeclaration to String. Note that this was 
        previously implemented in the CModelBuilder. I just moved it to a common 
        library for others (BasicSearchMatch) to use. 
UI: 
        Solutions to 
        bug#43162 : Code Assist not showing the right return value 
        Bug#43145 : foo function still showing in Code Assist even if "f" is deleted 
        Bug#42810 : Code Assist adding characters after pressing <enter> 
        Bug#42861 : Code Assist should be case insensitive. 

Tests: 
        Solution to bug#43162 : Code Assist not showing the right return value. 
        Solution to Bug#42861 : Code Assist should be case insensitive. 
        Modified the CompletionProposalsTest to include upper and lower cases 
        and to include functions with different return values.
2003-09-23 13:54:28 +00:00
John Camelon
e806c7013d Patch for Andrew Niefer
core : 
  - modified MatchLocator to not report local declarations when boolean is 
set
  - modified SearchEngine.search to take an additional parameter 
"excludeLocalDeclarations"

core.tests:
  - modified resources/cfiles/CompletionProposalsTestStart.cpp
  - modified CompletionProposalsTest.testCompletionProposals
  - updated calls to SearchEngine.search

ui:
  - update calls to SearchEngine.search.  CodeCompletion passes true for 
excludeLocalDeclarations
2003-09-22 18:38:30 +00:00
Mikhail Khodjaiants
65f3447d5a Moved the 'AddAddressBreakpointActionDelegate' action to the 'org.eclipse.cdt.debug.internal.ui.actions' package. 2003-09-22 17:31:55 +00:00
John Camelon
6e61fb28d8 Patch for Andrew Niefer
- associate context ID ICHelpContextIds.C_SEARCH_PAGE with the CSearchPage dialog
- add C_SEARCH_PAGE to the ICHelpContextIds.
2003-09-22 15:17:30 +00:00