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

3198 commits

Author SHA1 Message Date
John Camelon
2091bd2767 Added getUnpreprocressedSignature() to IASTDeclSpecifier.
Added appropriate support to ILocationResolver.
2005-01-28 15:18:04 +00:00
John Camelon
1abb819f59 Fixed Bug 83853 - no offset for IASTConditionalExpression 2005-01-27 21:20:43 +00:00
John Camelon
eeb02a4027 Fixed Bug 83852 - offset problems with cast expressions and type id 2005-01-27 21:10:56 +00:00
Andrew Niefer
6df133bc09 Bug 83855: visiting designators 2005-01-27 21:10:10 +00:00
John Camelon
35805f1d38 Patch for Devin Steffler.
Further UI indicator infrastructure for testing DOM AST.
2005-01-27 20:42:56 +00:00
John Camelon
736de0128d Fixed failing JUnit tests.
Fixed Macro Definition offsets in inclusions.
2005-01-27 20:31:21 +00:00
Andrew Niefer
b2ff153008 Refactor core.tests/suite/org.eclipse.cdt.testplugin and
ui.tests/src/org.eclipse.cdt.testplugin
packages to  org.eclipse.cdt.core.testplugin and org.eclipse.cdt.ui.testplugin respectively.

This fixes a problem where the tests were incorrectly loading the wrong test plugin class.
2005-01-27 18:48:00 +00:00
Alain Magloire
a6a5451a0c Update the NEWS file:
DnD support
2005-01-27 17:08:22 +00:00
John Camelon
9592a5366f Fixed a few incorrect locations/offsets. 2005-01-27 16:55:20 +00:00
John Camelon
493b29d4e4 Patch for Devin Steffler.
Further updates to DOM AST View.
2005-01-27 16:31:58 +00:00
Alain Magloire
e6868902c5 2005-01-26 Alain Magloire
Part of implementing PR 83112
	* src/org/eclipse/cdt/internal/ui/editor/CContentOutlinePage.java
	Changes in the interface of the Core Model
	* refactor/org/eclipse/cdt/internal/corext/refactoring/rename/RenameElementProcessor.java
	* refactor/org/eclipse/cdt/internal/ui/refactoring/actions/RenameRefactoringAction.java
2005-01-27 03:41:50 +00:00
Alain Magloire
a03bc42e1a Changing in the Inteface of the CModel. 2005-01-27 03:39:28 +00:00
Alain Magloire
8df4a09141 2005-01-26 Alain Magloire
The line and offset information should be cache in the SourceManipulationInfo
	* model/org/eclipse/cdt/iternal/core/BinaryElement.java
	* model/org/eclipse/cdt/iternal/core/CElement.java
	* model/org/eclipse/cdt/iternal/core/CModelBuilder.java
	* model/org/eclipse/cdt/iternal/core/Namespace.java
	* model/org/eclipse/cdt/iternal/core/SourceManipulation.java
	* model/org/eclipse/cdt/iternal/core/SourceManipulationInfo.java
2005-01-27 03:39:09 +00:00
John Camelon
a047b603b5 Add offset to IASTMacroDefinition name. 2005-01-27 02:14:19 +00:00
John Camelon
11f8e7fc7a Patch for Devin Steffler.
Further updates to DOM AST View.
2005-01-27 02:14:04 +00:00
Andrew Niefer
47c65486a6 External C bindings 2005-01-26 21:19:45 +00:00
Andrew Niefer
eea3244085 C++ bindings
- Field references before their declaration in inline class members
- references in parameter declarations for member functions defined outside their scope
- constructor references
2005-01-26 21:13:52 +00:00
John Camelon
fa5ac845bb Removed warnings. 2005-01-26 20:22:45 +00:00
John Camelon
b811a0479b Further DOM/AST fixes (w/viewer). 2005-01-26 20:21:07 +00:00
John Camelon
d7b97a7f42 Use DOMScanner rather than Scanner2. 2005-01-26 19:22:44 +00:00
John Camelon
4d00261705 Patch for Devin Steffler.
Further UI indicator infrastructure for testing DOM AST.
2005-01-26 18:56:09 +00:00
John Camelon
1466819ee6 Fixed Bug 83664 - [Offset/Location] found a couple with my simple K&R C test 2005-01-26 18:39:40 +00:00
John Camelon
39952fcbff Patch for Devin Steffler.
UI Infrastructure for testing the DOM AST Interfaces.
2005-01-26 17:03:26 +00:00
John Camelon
7fa07edcf2 Slight refactoring. 2005-01-26 16:52:57 +00:00
John Camelon
c2664b26e1 Function style macro parameters working through IASTTranslationUnit#getMacroDefinitions() 2005-01-26 16:41:02 +00:00
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