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

6093 commits

Author SHA1 Message Date
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
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
4fae0d2e17 2005-01-19 Alain Magloire
PR 82930
	* src/org/eclipse/cdt/launch/internal/CPropertyTester.java
2005-01-19 22:13:18 +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
Mikhail Khodjaiants
f2d65ec383 Fix for bug 83051: Add global variables deletes existing ones when new added. 2005-01-19 19:04:24 +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
Mikhail Khodjaiants
b0fe8a0287 Fix for bug 82858: NPE when adding global variable to variable view. 2005-01-19 00:12:14 +00:00
Mikhail Khodjaiants
796d57cf24 Update. 2005-01-18 23:29:13 +00:00
Mikhail Khodjaiants
3d4951f408 Fix for bug 82800: Make "Resume At Line" action retargettable. 2005-01-18 23:24:45 +00:00
Mikhail Khodjaiants
03cba52fca Fix for bug 82800: Make "Resume At Line" action retargettable.
CDebugElement should provide an adapter to ICDebugTarget.
2005-01-18 22:21:16 +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
Mikhail Khodjaiants
ff58e4a1ef Fix for bug 82800: Make "Resume At Line" action retargettable.
CStackFrame should provide an adapter to IJumpToLine and IJumpToAddress.
2005-01-18 19:55:58 +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