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

3064 commits

Author SHA1 Message Date
John Camelon
e3e3ba0e9e Patch for Andrew Niefer
Core:
PST changes for bug 43503 - parser needs to know the different between 
ambiguous functions
        and no functions when no parameter information is provided
        - throw r_UnableToResolveFunction if we have more than 1 function 
and no parameter info was given
        - handle this case in addUsingDeclaration.
        * note that r_UnableToResolveFunction doesn't necessarily mean 
ambiguous if we had enough information

Core.Tests:
added testBug43503_AmbiguousUsing() and 
testBug43503_UnableToResolveFunction() to ParserSymbolTableTest
2003-09-30 18:03:20 +00:00
Alain Magloire
cde1f83a0c new definition. 2003-09-30 17:08:28 +00:00
Alain Magloire
b60fc95e44 updated. 2003-09-30 17:08:15 +00:00
Mikhail Khodjaiants
a44480ebb4 Fix for PR 39737: Tooltip in debug mode over long strings is not handled properly.
Added an internal constant to limit the hover text size.
Present the hover text in HTML format.
2003-09-30 16:08:11 +00:00
Alain Magloire
50e9f2922d forgetbuildstate if not building. 2003-09-30 15:40:51 +00:00
John Camelon
80271560e8 Patch for Hoda Amer
UI: 
         Fix for bug#43524 : Removing a define from a  .c file causes issues in the outline
2003-09-30 14:16:26 +00:00
John Camelon
9cef992b8e Patch for Andrew Niefer
Core:
-bug42911 - Search: cannot find beyond use of data member
   - fix NPE's in BasicSearchMatch.equals & hashCode

TESTS:
-added testBug42911 to OtherPatternTests
2003-09-30 14:10:28 +00:00
John Camelon
16c24c6cc9 Patch for Hoda Amer
Core: 
        Solution to bug#43679 : Exceptions in indexer 
Tests: 
        -Added testBug43679_A() & testBug43679_B() to CompleteParseASTTest 
        -Renamed FailedCompleteParseASTExpressionTest to FailedCompleteParseASTTest 
        -Added FailedCompleteParseASTTest::testBug43503()
2003-09-30 13:51:56 +00:00
John Camelon
c50efc6fd5 Patch for Andrew Niefer
core:
- modify CSearchPattern.scanForNames to use same naming convention as 
TokenDuple.toString()
- modify MatchLocator.report to use 
IASTOffsetableNamedElement.getNameEndOffset()

core.tests:
- added testBug43062 and testConstructorDestructor to 
FunctionMethodPatternTests
- modified resources/search/classDecl.cpp & include.h to include more 
operators and a constructor
2003-09-30 13:42:44 +00:00
Doug Schaefer
9fa37457ae Patch for Sean Evoy:
I have documented the patch in the change log; the only bonus is that it 
fixes 43214 for free. The managed builder should now respond correctly to 
deletions of any types of file in the project (or referenced projects). 
This includes makefiles, intermediate files, and the build target. It 
should also properly handle changes in the project settings in any 
referenced project. Referenced projects should now get their project views 
refreshed as a result of any changes.
2003-09-30 02:14:44 +00:00
Mikhail Khodjaiants
7fab73d44f Improved the layout of the 'Shared Libraries' component. 2003-09-30 02:06:35 +00:00
Mikhail Khodjaiants
dbfda6695e Added the initialization of the shared libraries' attributes to CygwinGDBDebugger. 2003-09-30 01:59:10 +00:00
Doug Schaefer
f72312491a Patch for Bogdan Gheorghe:
Here's a patch that simplifies how workspace scopes are built - instead of getting info from the CModelManager, we go straight to the workspace. This will improve shutdown/search performance.
2003-09-29 21:35:10 +00:00
John Camelon
746563ed2b Patch for Andrew Niefer
Core:
- fixed bug 43834 : Empty Parameter list and parameter list taking one 
void do not match
- fix NPE if IScannerInfoProvider returns null IScannerInfo

Tests:
- added testbug43834 to ParserSymbolTableTest
2003-09-29 19:49:19 +00:00
John Camelon
e95da4dade CORE
Continued work on Bug 43062 : Outline is confused on operator methods containing spaces 
	Partial fix for   Bug 43680 : Fix Parser Error Handling 

TEST
	Added testErrorHandling_1() to CompleteParseASTTest.java.
2003-09-29 19:22:09 +00:00
Mikhail Khodjaiants
3340b03ebf Fix for PR 43856: Format doesn't work for wchar_t. 2003-09-29 19:05:49 +00:00
Doug Schaefer
103296262c Patch for Sean Evoy:
This is a fix for the bug 41275. The problem was pretty simple; the delta 
passed to a project when one of the projects it depends on changes, is 
empty. I tried to optimize the managed builder to run only when a change 
was passed to it, but this is a valid case. Now, if there is a 0-length 
delta passed to a project, it simply calls make without regenerating any 
makefiles.
2003-09-29 18:49:06 +00:00
Tanya-Marise De Sousa
aa1f86e596 September 29, 2003 updated C/C++ editor preferences F1 IDs for the General,
Annotations, Colors and Content Assist pages.
2003-09-29 15:50:44 +00:00
Doug Schaefer
3d7835a362 Initial contribution of AIX port. 2003-09-29 15:03:13 +00:00
John Camelon
b0138f2973 Patch for Hoda Amer
Documentation needs a different help ID for each CEditor preference page.
2003-09-29 14:56:38 +00:00
Doug Schaefer
63b3ca67db Initial contribution of AIX port. 2003-09-29 14:45:51 +00:00
Doug Schaefer
58d60e53f4 Patch for Sean Evoy:
The builder now properly refreshes the files in 
a project after build.
2003-09-29 01:42:26 +00:00
Tanya-Marise De Sousa
563417b2eb September 26, 2003 delivery 2003-09-26 22:02:32 +00:00
David Inglis
7348d15aa0 fixed bug#43776 2003-09-26 20:46:14 +00:00
Doug Schaefer
dcbbea5b74 Patch for Sean Evoy:
Two of the fixes, 43614 and 43756, involved changing property files only, 
which validates the extra work of externalizing strings from the start!

For 43616, I simply took the advice of the bug reporter and added the '-' 
in front of the RM macro in the clean target and the include directives in 
the makefile.

The largest part of the fix involves 43220. Until just now, this was a 
critical bug in bugzilla, so I addressed it. It has just been downgraded 
to an enhancement request. There is now a new entry widget in the linker 
options for user objects. The makefile will simply add these to the final 
build target's command. Most of the work was done in the plugin file and 
the build model to handle the new "type" of option.
2003-09-26 19:54:33 +00:00
John Camelon
a3a827cf92 CORE
Fixed Bug 43644 : 6 triangle icons appearing in outline viewer when typing an error
	Fixed Bug 43062 : Outline is confused on operator methods containing spaces 
	Fixed Bug 39531 : Problems with type conversion operators 

TEST
	Added QuickParseASTTests::testBug43644() & testBug43062().  
	Moved ASTFailedTests::testBug39531() to QuickParseASTTests.
2003-09-26 19:21:12 +00:00
Doug Schaefer
3b2b1c6a42 Patch for Bogdan Gheorghe:
This patch integrates the dependency calculator into
the indexer. As a result the underlying indexer file storage
format has changes. Lots of detail in the change logs of
exactly what changed...
2003-09-26 17:53:45 +00:00
Alain Magloire
9da38c042c updated. 2003-09-26 16:58:36 +00:00
Alain Magloire
82e8f08353 Make sure gdb is ready to receive commnad
before creating the MISession.
2003-09-26 16:58:24 +00:00
Alain Magloire
8bc64c6f3c indentation. 2003-09-26 16:57:53 +00:00
John Camelon
9df570138a Patch for Hoda Amer
UI: 
        Solution to : 
        bug#43149: Code Assist Preferences: Background Color not working.... 
        bug#43153:  Code Assist Preferences: Disabling "Insert single proposa... 
        bug#43154: Code Assist Preferences: Enable Auto activation not working 
        bug#42224: Code Assist preferences Do not work properly
2003-09-26 15:25:45 +00:00
John Camelon
05f6b423c8 Patch for Andrew Niefer
fix bug 43129 - report definitions for variables, fields, enumerators and 
namespaces.

core:
- check definitions for variables, fields, enumerators and namespaces
- handle enter/exitLinkageSpecification
  * search/org/eclipse/cdt/internal/core/search/matching/MatchLocator.java
  * 
search/org/eclipse/cdt/internal/core/search/matching/CSearchPattern.java

core.tests:
-added testbug43129() in OtherPatternTests
modified:
* resources/search/include.h
* resources/search/classDecl.cpp
* search/org/eclipse/cdt/core/search/tests/OtherPatternTests.java

ui:
 modify UI to allow selecting Definitions for more items
* src/org/eclipse/cdt/internal/ui/search/CSearchPage.java
2003-09-26 14:58:17 +00:00
Doug Schaefer
db4d819623 Patch for Sean Evoy:
the new project wizard now filters out targets that should
not be selected by the user, and that the build model
handles inherited option references properly now.
2003-09-26 00:24:42 +00:00
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