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

3223 commits

Author SHA1 Message Date
John Camelon
63ffe8d959 Fixed name bug for macro names. 2005-01-26 16:07:13 +00:00
John Camelon
f2488626d4 Partial fix for 81806 - [Parser2] Constructor Initializer is mistaken as function prototype 2005-01-26 15:59:30 +00:00
John Camelon
ae8ed5955f Partial fix for 81806 - [Parser2] Constructor Initializer is mistaken as function prototype 2005-01-26 15:57:10 +00:00
Andrew Niefer
ddeca093ea fix bug 83709 2005-01-26 15:22:21 +00:00
Alain Magloire
539b5c0633 2005-01-26 Alain Magloire
Part of implementing PR 83112
	* src/org/eclipse/cdt/internal/ui/cview/CView.java
	* src/org/eclipse/cdt/internal/ui/cview/SelectionTransferDragAdapter.java
	* src/org/eclipse/cdt/internal/ui/cview/SelectionTransferDropAdapter.java
	* src/org/eclipse/cdt/internal/ui/dnd/*.java
2005-01-26 05:47:21 +00:00
Andrew Niefer
22d59f21f5 C++ bindings:
- namespace aliases
- constructor chain references
2005-01-25 23:20:28 +00:00
Andrew Niefer
0a1793e33f - fix up how we resolve function parameter bindings in C 2005-01-25 22:16:03 +00:00
John Camelon
ae4dff5290 Implemented IASTTranslationUnit#getIncludeDirectives() for both C & C++.
Implemented IASTTranslationUnit#getMacroDefinitions() for both C & C++.
2005-01-25 20:42:19 +00:00
Andrew Niefer
06739b170f - remove IBinding.getPhysicalNode, add private interfaces ICBinding & ICPPBinding
- constructor references in new expressions
- get bindings from scope as shortcut
2005-01-24 22:38:34 +00:00
Vladimir Hirsl
66d9c39ea6 New Scanner Config Discovery 'framework' in preparation for per file SC discovery. Currently implemented: Per project profiles for standard make and managed builders. 2005-01-24 18:49:34 +00:00
Alain Magloire
e7a9587ad8 Typo 2005-01-24 17:24:34 +00:00
Alain Magloire
11c4afb8ab 2005-01-24 Alain Magloire
PR 83514 patch form Przemek
	* src/org/eclipse/cdt/internal/ui/actions/ActionMessages.properties
	* src/org/eclipse/cdt/internal/ui/text/CoutlineInformaionControl.java
	* NEWS
2005-01-24 17:24:14 +00:00
Alain Magloire
abd661fca1 Implementation of the CreateXXXOperation classes 2005-01-24 05:42:39 +00:00
Andrew Niefer
0988982be3 - Modify CVisitor.visit* to enable better control over visiting the AST.
- Merge ClearBindingAction & ClearBindingFromScopeAction
- Modify CollectDeclarationsAction to avoid creating bindings as much as possible
2005-01-23 18:23:31 +00:00
Alain Magloire
e7ebb3a57a 2005-01-22 Alain Magloire
PR 38958
	* src/org/eclipse/cdt/internal/ui/viewsupport/CElementImageProvider.java
2005-01-23 04:46:25 +00:00
Alain Magloire
a09eaa034f 2005-01-22 Alain Magloire
PR 38958
	Part implementation of the CreateXXXOperation classes.
	* model/org/eclipse/cdt/core/model/ICElement.java
	* model/org/eclipse/cdt/core/model/IStructure.java
	* model/org/eclipse/cdt/core/model/IStructureDeclaration.java
	* model/org/eclipse/cdt/internal/core/model/CModelBuiilder.java
	* model/org/eclipse/cdt/internal/core/model/CModelOperation.java
	* model/org/eclipse/cdt/internal/core/model/CopyElementOperation.java
	* model/org/eclipse/cdt/internal/core/model/CreateElementIntTUOperation.java
	* model/org/eclipse/cdt/internal/core/model/CreateFieldOperation.java
	* model/org/eclipse/cdt/internal/core/model/CreateIncludeOperation.java
	* model/org/eclipse/cdt/internal/core/model/CreateMethodOperation.java
	* model/org/eclipse/cdt/internal/core/model/CreateSourceReferenceOperation.java
	* model/org/eclipse/cdt/internal/core/model/FuntionInfo.java
	* model/org/eclipse/cdt/internal/core/model/FuntionDeclaration.java
	* model/org/eclipse/cdt/internal/core/model/Structure.java
	* model/org/eclipse/cdt/internal/core/model/StructureDeclaratin.java
	* model/org/eclipse/cdt/internal/core/model/StructureInfo.java
	* model/org/eclipse/cdt/internal/core/model/MethodInfo.java
	* model/org/eclipse/cdt/internal/core/model/util.java
	* model/org/eclipse/cdt/internal/core/model/SurceManipulationInfo.java
2005-01-23 04:44:37 +00:00
Alain Magloire
c67f6d2a40 remove warning 2005-01-23 03:23:06 +00:00
John Camelon
e22c304553 IASTNodeLocation support for #inclusions. 2005-01-21 21:12:17 +00:00
Andrew Niefer
0f10569314 Bindings in the new Parser:
- Class Scopes
- Implicit member functions
2005-01-21 21:07:42 +00:00
John Camelon
f8c0954d72 Patch for Devin Steffler.
This patch updates the following for the K&R C support in GNUCSourceParser:
- updated the existing K&R C tests to test CTranslationUnit#getDeclarations(IBinding) and CVisitor.clearBindings(IASTTranslationUnit)
- GNUCSourceParser now uses simpleDeclaration instead of parseDeclarationOrExpression when parsing the K&R C Parameter Declarations
- added a couple more tests
- fixed a couple K&R C bugs related to CVisitor/CStructure
2005-01-21 15:08:59 +00:00
Alain Magloire
5cf93d3112 2005-01-20
PR 82964
	* icons/full/cview16/view_menu.gif
	* src/org/eclipse/cdt/internal.ui/CPluginImages.java
	* src/org/eclipse/cdt/internal/ui/actions/ActionMessages.properties
	* src/org/eclipse/cdt/internal/ui/editor/CSourceViewer.java
	* src/org/eclipse/cdt/internal/ui/text/CCodeScanner.java
	* src/org/eclipse/cdt/internal/ui/text/COperatorRule.java
	* src/org/eclipse/cdt/internal/ui/text/COutlineInformationControl.java
	* src/org/eclipse/cdt/internal/ui/text/CSourceViewerConfiguration.java
	* src/org/eclipse/cdt/internal/ui/text/contenassist/CCompletionProcessor.java
2005-01-20 22:10:45 +00:00
Andrew Niefer
285899775a Step 1 in supporting user defined conversion sequences during function resolution.
- add ITypeContainer#setType( IType )
- make IType extend Cloneable and implement clone() for the types.
2005-01-20 16:36:58 +00:00
Alain Magloire
c73a71269c Wrong PR number it should be 83224 2005-01-19 21:31:36 +00:00
Alain Magloire
6e57e1adfc 2005-01-19 Alain Magloire
PR 83152
	* model/org/eclipse/cdt/internal/core/model/DeltaProcessor.java
2005-01-19 21:27:31 +00:00
John Camelon
8d833f012a Patch for Devin Steffler.
This patch adds basic K&R C support to the GNUCSourceParser.
- added support for K&R C syntax
- added support for ASTProblemDeclaration with faulty K&R C syntax
- added simple tests
2005-01-19 20:24:01 +00:00
Alain Magloire
8006bc409b 2005-01-19 Alain Magloire
PR 83151
	* model/org/eclipse/cdt/internal/core/model/DeltaProcessor.java
2005-01-19 19:41:37 +00:00
Alain Magloire
a53757cca0 2005-01-19 Alain Magloire
PR 83151
	* src/org/eclipse/cdt/ui/CElementContentProvider.java
2005-01-19 19:40:45 +00:00
John Camelon
2a48843261 Some refactoring of class names.
Consistency is key.
2005-01-19 15:21:38 +00:00
Alain Magloire
84d63b4941 remove warning for hardcoded string. 2005-01-19 01:48:58 +00:00
Andrew Niefer
9e5cafe0d9 handle namespace that are split into pieces 2005-01-18 22:00:09 +00:00
John Camelon
d0606bd516 Cleaned up DOMLocationTest 2005-01-18 20:20:45 +00:00
David Inglis
7cbf02c426 fixed bug #82705 2005-01-18 20:14:39 +00:00
John Camelon
7e265eb12a Updated DOMLocationTests. 2005-01-18 20:13:22 +00:00
John Camelon
0a8634d93f Base case DOMScanner/LocationMap support. 2005-01-18 19:46:43 +00:00
Andrew Niefer
2713b4695c initial work for IProblemBindings 2005-01-18 15:45:05 +00:00
Andrew Niefer
3ba300630d patch from Devin Steffler: field designators 2005-01-17 19:07:16 +00:00
Andrew Niefer
8ee8577dc8 tests :
- method reference after function call eg: get()->size()
2005-01-17 16:24:30 +00:00
Andrew Niefer
60e3bceae6 expanding the CompleteParser2Tests
-fixes for method references
2005-01-14 21:47:13 +00:00
Andrew Niefer
7f89f8b969 there is no core source folder in cdt.ui.tests 2005-01-14 20:43:16 +00:00
Andrew Niefer
4dcca4a96a Patch from Devin Steffler: getDeclarations 2005-01-14 16:52:45 +00:00
John Camelon
a36a7f8613 Warning. 2005-01-14 16:43:41 +00:00
John Camelon
9e365df5f5 Slow road for IASTNodeLocation. 2005-01-14 16:35:02 +00:00
Andrew Niefer
8d0a12de55 Label bindings in the new parser 2005-01-14 16:34:59 +00:00
Andrew Niefer
c20d990dc3 patch from Devin Steffler:
removing IBindings from IScopes
2005-01-13 20:29:34 +00:00
John Camelon
ea5fe525ea Removed lastToken from DOM Parsers. 2005-01-12 16:43:43 +00:00
John Camelon
cdfc350d10 Added lengths to ASTNodes. 2005-01-12 02:16:26 +00:00
David Inglis
dd9f4af843 FIXED bug # 82572 2005-01-11 18:45:57 +00:00
David Inglis
70a3403e0b Further fix to 36837
* src/org/eclipse/cdt/internal/ui/util/ResourceToItemsMapper.java
Fix for 82516
	* src/org/eclipse/cdt/internal/ui/viewsupport/CElementLabels.java
2005-01-11 15:17:45 +00:00
John Camelon
0f2803f134 Patch for Devin Steffler.
This patch adds getProblems() to the CVisitor and CPPVisitor classes.  This is required to get IASTProblems since the new parser doesn't use a callback anymore.
Also, updated tests accordingly.
2005-01-10 21:11:53 +00:00
Alain Magloire
74ebb4ef75 2005-01-07 Alain Magloire
Part of Fix 82323.
	The "New" action was not shown when workspace was empty
	or no selection.
	* src/org/eclipse/cdt/internal/ui/cview/MainActionGroup.java
	And make sure we do not put problem icons on resources that !exist() && isReadOnly().
	* src/org/eclipse/cdt/internal/ui/util/ResourceToItemsMapper.java
2005-01-07 20:43:03 +00:00