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

3152 commits

Author SHA1 Message Date
Andrew Niefer
fcc304bee1 expand some of the CompleteParser2Tests
- enumerator getType()
- class decls with qualified names
2004-12-22 00:00:43 +00:00
Alain Magloire
e789bb0fd3 2004-12-21 Alain Magloire
purpose: using charset from 'file' to encode in-memory String object into bytes
        modifer: Wu Zhi Qiang
        action:  first get the charset from 'file', then use it
			to encode the 'buffer.toString()' into bytes
	* src/org/eclipse/cdt/internal/core/model/Util.java
2004-12-21 21:35:45 +00:00
John Camelon
2c4cc97119 Fixed Bug 80978 - [Parser2] C Parser doesnt handle variable length arrays 2004-12-21 20:45:57 +00:00
Alain Magloire
3d65d89fd7 2004-12-21 Alain Magloire
We use TogglePresentation action definition ID rather the one
	define in the CDT, since now the platfrom defines one.
	* src/org/eclipse/cdt/internal/ui/editor/CContentOutlinePage.java
	* src/org/eclipse/cdt/internal/ui/editor/CEditorActionContributor.java
	* src/org/eclipse/cdt/internal/ui/editor/ICEditorActionDefinitionIds.java
	* src/org/eclipse/cdt/internal/ui/editor/ToggglePresentationAction.java
2004-12-21 20:38:06 +00:00
Alain Magloire
7166ea11d2 Remove wrong attribute in the search attribute. 2004-12-21 19:54:18 +00:00
John Camelon
02b95b6d5c Fixed Bug 80992 - [Parser2] C Parser only handles 1 type-qualifier in array modifier 2004-12-21 19:53:15 +00:00
Alain Magloire
3d9e0a2190 2004-12-21 Alain Magloire
Fix PR 81635 patch form Przemek
	* src/org/eclipse/cdt/internal/ui/editor/CEditor.java
2004-12-21 19:37:59 +00:00
John Camelon
b69b32768f Removed warning (Andrew) 2004-12-21 18:17:30 +00:00
John Camelon
ee26471851 Patch for Devin Steffler.
Fix for 108 Perrors in Dave's test associated with testTypedefExample4b (changes made to GNUCSourceParser)
	Better support for Function Types
2004-12-21 16:27:04 +00:00
Alain Magloire
86e2679474 2004-12-20 Alain Magloire
Fix PR 50578
	* src/org/eclipse/cdt/internal/ui/cview/CViewDropAdapter.java
2004-12-20 19:47:19 +00:00
Andrew Niefer
1d28de7fde using declarations 2004-12-20 18:09:05 +00:00
Bogdan Gheorghe
145b478b9c Patch for Tanya Wolff: Content Assist Regession Tests 2004-12-17 22:26:55 +00:00
John Camelon
0cb94d4f49 Patch for Devin Steffler.
This patch adds the implementation of CFunctionTypes to the new parser.  In it I also cleaned up some of the old implementation that I had for other types so that it was easier to implement FunctionTypes.
2004-12-17 20:23:47 +00:00
John Camelon
ec4d154f13 Fixed type-ohs. 2004-12-17 14:29:28 +00:00
John Camelon
1c56aae7c8 Remove warning. 2004-12-16 21:01:17 +00:00
John Camelon
c66fd5bdef Designated Initializers were not being seen in the physical AST. 2004-12-16 20:56:35 +00:00
Andrew Niefer
73f50ce64b More Tests for C++ bindings 2004-12-16 00:03:44 +00:00
John Camelon
ef21d7a687 Check for null. 2004-12-15 21:29:47 +00:00
John Camelon
50f8dcd8aa Address some performance issues regarding opening inclusions in the resource tree for both the new and old parser framework. 2004-12-15 21:12:51 +00:00
Andrew Niefer
495d10915b This someone got left out of the last commit 2004-12-15 17:57:28 +00:00
Andrew Niefer
04105fe09e Array Types patch from Devin Steffler
plus small changes to fix broken GCCTests
2004-12-15 17:56:49 +00:00
Andrew Niefer
7c6a5a0094 C++: enumerations, enumerators and pointers to functions 2004-12-15 17:09:04 +00:00
John Camelon
8e1dc14197 Switch DOM tests to use DOMScanner.
Updated DOMScanner constructor.
Added __asm__ macro to GNUScannerConfiguration
2004-12-15 15:55:55 +00:00
John Camelon
cac97aa220 asm was not a keyword in C. :-( 2004-12-15 15:30:02 +00:00
Alain Magloire
b5b9cb7f7d add news item 2004-12-14 22:02:02 +00:00
Alain Magloire
20eff26a4f NEWS file 2004-12-14 22:01:31 +00:00
John Camelon
b0c3398285 Separate Scanner2 into BaseScanner, Scanner2 & DOMScanner. 2004-12-14 21:17:49 +00:00
Andrew Niefer
b6fa19a6f7 for statements, field references 2004-12-14 20:17:23 +00:00
Andrew Niefer
b0f2b85991 more C Types from Devin Steffler 2004-12-14 20:07:42 +00:00
Alain Magloire
57a32ca95d 2004-12-14 Alain Magloire
PR 80631 Patch form Przemek Tomaszewski
	* src/org/eclipse/cdt/internal/ui/editor/CContentOutilinePage.java
	* src/org/eclipse/cdt/internal/ui/editor/CContentOutlinerProvider.java
	* src/org/eclipse/cdt/internal/ui/editor/CEditor.java
	* src/org/eclipse/cdt/internal/ui/editor/CEditorMessages.properties
	* src/org/eclipse/cdt/internal/ui/editor/CSourceViewer.java
	* src/org/eclipse/cdt/internal/ui/editor/ICEdtiroActionDefinitionIds.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/util/ProblemTreeViewer.java
	* src/org/eclpse/cdt/ui/CElementContentProvider.java
	* plugin.properties.
	* plugin.xml
2004-12-14 18:46:40 +00:00
John Camelon
46150fa029 Goodbye IScannerExtension.
Hello IScannerConfiguration.
2004-12-14 16:17:21 +00:00
Andrew Niefer
656d059c25 - IArrayType
- function types and parameter bindings
2004-12-14 15:33:13 +00:00
Bogdan Gheorghe
5e4ae64149 Patch for Tanya Wolff: Search Regression Tests 2004-12-13 21:53:15 +00:00
John Camelon
bafd80d00c Fixed a regression in previous update to CCompletionProcessor, easily discovered through running the JUnit suite. 2004-12-13 21:16:29 +00:00
John Camelon
c07a9f8750 Revert. 2004-12-13 21:09:44 +00:00
John Camelon
a49710a25a Fixed ui.tests ... Content Assist tests were asserting out of order. 2004-12-13 21:03:12 +00:00
John Camelon
7c23d4f9bb Refactored Scanner2 to make it subclassable.
Started to merge GCCScannerExtension into Scanner2 making it configuration based.
2004-12-13 20:40:02 +00:00
Andrew Niefer
0d99c950b0 fix CQualifierType#getType(), from Devin Steffler 2004-12-13 18:54:02 +00:00
Andrew Niefer
b9d472dbe3 Start of types for C. By Devin Steffler 2004-12-13 18:17:23 +00:00
Alain Magloire
5ad554739c 2004-12-12 Alain Magloire
PR 80631 Patch form Przemek Tomaszewski
	* src/org/eclipse/cdt/internal.ui/preferences/CEditorPreferencePage.java
	* src/org/eclipse/cdt/internal.ui/preferences/CEditorPreferencePage.properties
	* src/org/eclipse/cdt/internal/ui/text/CBraceRule.java
	* src/org/eclipse/cdt/internal/ui/text/CCodeScanner.java
	* src/org/eclipse/cdt/internal/ui/text/CppCodeScanner.java
	* src/org/eclipse/cdt/internal/ui/text/ICColorConstants.java
	* src/org/eclipse/cdt/internal/ui/text/NumberRule.java
	* src/org/eclipse/cdt/internal/ui/text/SingleCharRule.java
2004-12-13 01:52:48 +00:00
Andrew Niefer
22964c077e - initial pass at function resolution for bindings
- start of IType implementations for C++
2004-12-11 17:47:31 +00:00
John Camelon
d4bd5b2942 Further IASTNodeLocation & framework updates. 2004-12-10 21:02:55 +00:00
Alain Magloire
da52887933 2004-12-09 Alain Magloire
Fix for 80724: not showing initialized global variables.
	* utils/org/eclipse/cdt/utils/coff/parser/CygwinPEBinaryObject.java
2004-12-10 20:32:53 +00:00
Alain Magloire
2db439e528 remove the core folder for now. 2004-12-10 20:28:33 +00:00
David Inglis
1cd952bf2b fixed bug # 80713 2004-12-10 19:59:14 +00:00
Alain Magloire
817d04d43f 2004-12-10 Alain Magloire
No need for TestBuffer test, it is now in JFace.
2004-12-10 17:49:05 +00:00
Alain Magloire
3c9660722e 2004-12-10 Alain Magloire
Fix for 77874.
	In order to fix this we removed all of the Eclipse-1.0 classes
	that we copied in the CDT.
	The good news is that it is now part of Eclipse-3.x platform and we no
	need to carry the duplicate.
	The templates support was rewritten to use the JFace templates support
	classes.

	* src/org/eclipse/cdt/internal/corext/template/*: remove to use
	JFace Templates support.
	* src/org/eclipse/cdt/internal/corext/template/c/*: rewritten to use
	JFace Templates classes.
	* src/org/eclipse/cdt/intenal/corext/texmanipulation/*: remove to use
	JFace TextEdit support
	* src/org/eclipse/cdt/internal/ui/preferences/CTemplatePreferencePage.java:
	Rewritten to take advantage of JFace support for Templates.
	* src/org/eclipse/cdt/internal/ui/text/link/*: Remove use JFace
	* src/org/eclipse/cdt/internal/ui/text/template/*: Remove use JFace templates
	* plugin.xml
	* plugin.properties
	* template/default-templates.xml
2004-12-10 17:22:41 +00:00
Andrew Niefer
3b8838d4bc Interfaces for basic types 2004-12-10 17:03:16 +00:00
John Camelon
97c7e2b893 Fixed compile error. 2004-12-10 03:55:37 +00:00
John Camelon
b9bdbe47af Moved parser2 packages to dom.parser 2004-12-10 03:53:10 +00:00