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

2935 commits

Author SHA1 Message Date
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
Alain Magloire
149fe5aa01 disable the task Properth and preference page 2003-09-22 14:41:49 +00:00
David Inglis
46e2ef2f7c fixed bug, https://bugs.eclipse.org/bugs/show_bug.cgi?id=43337 2003-09-22 12:44:46 +00:00
Alain Magloire
0be6729dc5 Contribution from Keith Campbell to add better support for
Drag & drop.
2003-09-22 04:31:51 +00:00
Alain Magloire
7b3404edad The working directory for the build was not set by default
catch it in the MakeBuilder.
2003-09-22 03:39:36 +00:00
Alain Magloire
0fb8fc18c1 updated 2003-09-22 03:24:17 +00:00
Alain Magloire
6695a014e9 add support for '#' style of comment. Pr 41960. 2003-09-22 03:24:00 +00:00
Doug Schaefer
03576ad8a7 Patch for Sean Evoy:
- Since I forgot to do this last release, I am removing the
original managed build model schema and extension
points from the cdt core and ui projects.
2003-09-22 02:38:47 +00:00
Doug Schaefer
0abb42e093 Patch for Sean Evoy:
- I have removed the binary parser selection from the
new managed project wizard and hard-coded the proper
parser ID in the plugin spec for the build model. There is
an updated JUnit test that verifies this change to the
build model. 
- There is also a fix for the library problem on *nix. The
makefile pattern was also changed slightly to better
capture the dependencies between the build target and
the outputs of other managed projects.
2003-09-22 02:32:08 +00:00
Alain Magloire
e1ef9ffd9f More work to support gnu makefiles 2003-09-21 19:10:19 +00:00
Alain Magloire
9c0b2ed659 More work on the GNU makefile parser. 2003-09-21 19:09:27 +00:00
David Inglis
7c7237d20c remove make view ID 2003-09-19 20:46:54 +00:00
David Inglis
963a19457b check for container incase some one builds a target before adding 2003-09-19 18:33:51 +00:00
Alain Magloire
9acbfd6c2d ClassCastException fix 2003-09-19 17:57:24 +00:00
Alain Magloire
ba23269998 ClassCastException fix 2003-09-19 17:46:15 +00:00
John Camelon
8c79a22ec0 Patch for Andrew Niefer
Core :
        - modified Symbol table interfaces to use List & Map instead of 
LinkedList and HashMap
        - fixed warnings in ParserSymbolTable
        - fixed bug43106 - Symbol Table support needed to resolve types
        - fixed bug43156 - require ability to add implicit inheritance 
copy constructor
        - fixed bug43159 - TypeInfo.equals() not working properly
        - fixed bug43238 - Postfix_Subscript expressions confuse function 
resolution

Tests:
        - removed testConditionalExpression_Bug43159 from 
FailedCompleteParseASTExpressionTest
          and uncommented it (testConditionalExpression) in 
CompleteParseASTExpressionTest
        - uncommented the following tests in 
CompleteParseASTExpressionTest :
            testPostfixSubscript, 
            testPostfixSubscriptA, 
            testPostfixSubscriptB,
            testPostfixSubscriptWithReferences
        - updated ParserSymbolTableTests to use new addOperatorExpression 
function
        - added testDerivedReference, testAddCopyConstructor to 
ParserSymbolTableTests
        - fixed warning in ClassDeclarationPatternTests
2003-09-19 16:00:53 +00:00
David Inglis
75031996e1 more check to prevent NPE plus "build" will dismiss the target dialog before building 2003-09-19 14:58:42 +00:00
Doug Schaefer
313f632a5d Fix the build. 2003-09-19 13:50:48 +00:00
Alain Magloire
eaab8181d0 new icons and improvement on the MakefileEditor
by using a working copy to maintain the parse makefile
2003-09-19 05:04:37 +00:00
Alain Magloire
0de973e3c5 Improve on the GNU makefile parser 2003-09-19 05:03:27 +00:00
David Inglis
5484799800 small change... isValild should always start off as true. 2003-09-18 20:30:26 +00:00
John Camelon
6a5af0ed88 Patch for Hoda Amer
UI: 
      The menu item could not be hidden since the "New" menu belongs to the "C Perspective". 
The wizard was disabled for C Projects.
2003-09-18 19:46:12 +00:00
David Inglis
433976a043 added workbench build/rebuild to content menu 2003-09-18 18:25:39 +00:00
David Inglis
b7c0c7a977 build target control should be right after target name 2003-09-18 18:18:30 +00:00
John Camelon
433a4ca106 *** empty log message *** 2003-09-18 17:56:47 +00:00
John Camelon
43d8ca642d Patch for Hoda Amer
Core: 
         In completeParseASTFactory.getExpressionResultType(): Added  the support 
         for expression types: PM_DOTSTAR, PM_ARROWSTAR, CONDITIONALEXPRESSION
 Tests: 
         Added more success test cases to CompleteParseASTExpressionTest 
         and more failure test cases to FailedCompleteParseASTExpressionTest 
         in testing PM_DOTSTAR, PM_ARROWSTAR, CONDITIONALEXPRESSION
2003-09-18 15:22:48 +00:00
John Camelon
51a73af86d Patch for Andrew Niefer
core :
        - add parameter references to index
        - modify CharOperation.match to allow escaping wildcards 
(bug43063)
        - modify AbstractIndexer.bestPrefix to handle wildcard escaping in 
name (bug43063)
        - modify CSearchPattern to handle escaping wildcards (bug43063)
        - modify enterFunctionBody and enterMethodBody to fix bug42979
        - search for Parameter References
        - added setThrowExceptionOnBadCharacterRead to IScanner to help 
with wildcard bug43063

tests:
        - modified resources/search/classDecl.cpp & include.h to include 
some operators
        - added testOperators_bug43063_bug42979() to 
MethodDeclarationPatternTests
        - added testParameterREferences to OtherPatternTests
2003-09-18 15:15:09 +00:00
David Inglis
d32b3bf161 classpath update 2003-09-18 15:10:44 +00:00
David Inglis
87d759fe44 classpath update 2003-09-18 15:02:00 +00:00
David Inglis
4fbd2992e0 param name change for clarity 2003-09-18 14:56:23 +00:00
David Inglis
52011a4991 add make view is c perspective 2003-09-18 14:33:31 +00:00
David Inglis
045fd62f36 fixed NPE 2003-09-18 14:32:38 +00:00
Mikhail Khodjaiants
6e4db834c0 Temporary fix for PR 39061: Attach source does not work for applications compiled in CygWin. 2003-09-17 21:57:33 +00:00
Alain Magloire
05fddd74ed Fix classpath after make refactoring. 2003-09-17 16:00:24 +00:00
Doug Schaefer
7a365daf02 Fixed up plugin.xml to make sure it exports its classes. 2003-09-17 14:19:33 +00:00
Doug Schaefer
276c84505a Fix up the build properties for the make plugins. 2003-09-17 13:15:14 +00:00
David Inglis
9f68b6cf5e update standard make tests 2003-09-17 03:07:51 +00:00
David Inglis
3949e8e7db update cached info if present 2003-09-17 03:07:01 +00:00
Alain Magloire
2d9d50bb2e First draft on BinaryParserBlock to add dynamic
UI contribution for differen BinaryParserPage
extension.
2003-09-17 02:18:16 +00:00
Alain Magloire
2c1ef469c6 new Binary Parser to add flexibilit to change
commands like addr2line. Still work in progress
2003-09-17 02:11:24 +00:00
David Inglis
f3d847d96a remove unused builder will move other cbuilder later 2003-09-16 22:24:09 +00:00
David Inglis
9362cf3ae8 deprecate ties to old builder from nature and core plugin 2003-09-16 22:07:34 +00:00
Doug Schaefer
9579841bcd Added in the new make projects. 2003-09-16 21:31:41 +00:00
Doug Schaefer
c7a74ef049 Patch for Sean Evoy:
- The fix is for bug 43017, something I need anyway. The 
incremental build work is to make a full rebuild happen when the build 
settings change through the UI. Tested the changes on Linux and Win32.
2003-09-16 21:27:58 +00:00
Mikhail Khodjaiants
6b328b777c Cleanup. 2003-09-16 21:10:35 +00:00
Mikhail Khodjaiants
0cca8134a6 Correct dates. 2003-09-16 21:09:46 +00:00
David Inglis
5d90b3e85b removal of old make ui componets (wizards/views/actions/properties) 2003-09-16 20:45:41 +00:00