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

6120 commits

Author SHA1 Message Date
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
Sean Evoy
3dbe65030b Fix (part 2) for bugzilla 76080.
The original fix had two problems. When a source folder had only one file deleted, a complete rebuild was required because the output folder was removed. Now the generator checks.
The parent folder could be deleted accidentally, so that has also been resolved.
Finally, the dependency generator pattern ahs been simplified and now uses a Gnu make-supplied macro for calculating the directory component of a file.
2005-01-26 22:31:15 +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
Vladimir Hirsl
c5183b1756 Fix for a problem where SC was not being discovered for Managed projects. 2005-01-26 20:44:23 +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
Vladimir Hirsl
af85d93c29 New Scanner Config Discovery work in preparation for per file SC discovery. Added GCCPerFile console parser and utility and PerFile scanner info collector. 2005-01-26 16:10:52 +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
Sean Evoy
30b41b6da1 Fix for bugzilla 76080. One of the reported errors in this bug was valid. When a directory containing source was deleted, the Gnu makefilegenerator would mistakenly place it in a list of directories to regenerate makefiles for. The fix places those directories in a list to be deleted. 2005-01-25 20:28:15 +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
Sean Evoy
fe3c4a2eea Basic fix for one of the errors reported in 76080, namely that deletions of files pops up a confirmation box that uses the term "directories". I just added "files or directories". 2005-01-24 20:18:18 +00:00
Sean Evoy
d5994ef1b5 Fix for 83556
The MBS now validates the configuration names more carefully. It checks for duplicates in a case-insenstive way. It also looks for invalid whitespaces at the start of a config name. It also disallows names containing \/:*?"<>

Also corrected a file that had a local variable called "enum" which is now a "sort-of" reserved keyword in Java 1.5
2005-01-24 19:27:28 +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
Mikhail Khodjaiants
e5798cdbb5 Partial fix for bug 83465: Add "Run to line" and "Resume at line" actions to the context menu of Disassembly view. 2005-01-21 23:03:46 +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
Mikhail Khodjaiants
8c18009c05 Fix for bug 83437: Loading symbols should be run in the background. 2005-01-21 19:38:37 +00:00
Mikhail Khodjaiants
57e12dda16 Fix for bug 83412: Run to line and resume at line should run in the background. 2005-01-21 18:37:58 +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
Mikhail Khodjaiants
91b5d1731d Fix for bug 83355: The disable/enable breakpoints durning debugging acts weird. 2005-01-20 23:26:00 +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
Mikhail Khodjaiants
d36d5364f7 Bug 83330: Inconsistent in the label for Add expression. 2005-01-20 21:32:51 +00:00