1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-04 07:35:24 +02:00
Commit graph

3275 commits

Author SHA1 Message Date
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
Alain Magloire
0939d72702 2005-01-07 Alain Magloire
Fix PR 82202
	* src/org/eclipse/cdt/internal/ui/cview/CViewDropAdapter.java
	* src/org/eclipse/cdt/internal/ui/editor/DocumentAdapter.java
	* src/org/eclipse/cdt/internal/ui/util/Resources.java
2005-01-07 17:52:07 +00:00
Alain Magloire
e0d1a45365 2005-01-07 Alain Magloire
Fix PR 82202
	* model/org/eclipse/cdt/internal/core/model/CElement.java
	* model/org/eclipse/cdt/internal/core/model/Openable.java
2005-01-07 17:50:11 +00:00
Chris Wiebe
c44a67648d 2005-01-06 Chris Wiebe
added parser timeout to TypeParser
	* browser/org/eclipse/cdt/internal/core/browser/cache/TypeParser.java
2005-01-06 21:07:12 +00:00
John Camelon
d019346a04 Fixed 81887 [Parser2] if () {...} else if () ... else {...} parsed incorrectly
Started DOMScannerTests.
2005-01-06 20:52:07 +00:00
John Camelon
35a922fdfd Add in common IASTProblemHolder interface. 2005-01-06 15:44:56 +00:00
John Camelon
4b39617534 Removing IProblem references from DOM Parser/Scanner 2005-01-05 20:23:09 +00:00
John Camelon
d91724f835 IASTProblems are now attached to the AST rather than reported. 2005-01-05 16:43:46 +00:00
John Camelon
334abb5ab0 Continuation of IProblem/Backtrack migration for Parser2. 2005-01-04 18:51:08 +00:00
John Camelon
416db61299 Start of IProblem/Backtrack migration for Parser2. 2005-01-04 14:52:22 +00:00
David Inglis
e20f39193f fixed qnx spawner 2004-12-24 17:26:22 +00:00
Alain Magloire
8fc3226f2d warning scrubs 2004-12-24 15:24:05 +00:00
Alain Magloire
3e04941539 Remove most to the warnings. 2004-12-24 15:16:00 +00:00
Andrew Niefer
b8955a476e more CompleteParser2Tests
- member visibilty
- destructors
2004-12-24 00:13:43 +00:00
Alain Magloire
2588a0df58 2004-12-22 Alain Magloire
On going work to clean cdt.ui from misc. warnings
	and removing the deprecated interfaces in Eclipse-3.1
2004-12-23 20:10:31 +00:00
Alain Magloire
cc17803d62 2004-12-22 Alain Magloire
On going work to clean cdt.ui from misc. warnings
	and removing the deprecated interfaces in Eclipse-3.1
2004-12-23 19:53:24 +00:00
Alain Magloire
aee9e0e44e 2004-12-22 Alain Magloire
On going work to clean cdt.ui from misc. warnings
	and removing the deprecated interfaces in Eclipse-3.1
2004-12-23 19:38:20 +00:00
Doug Schaefer
0583121e43 Updated the version numbers to 3.0.0. 2004-12-22 19:49:22 +00:00
John Camelon
38f71e03c8 LocationMap meet IProblem. 2004-12-22 19:28:40 +00:00
Andrew Niefer
65428b9be0 more CompleteParser2Tests and
- constructors
- visiting array declarators
2004-12-22 19:10:20 +00:00
John Camelon
f1c7d7672e Further DOMScanner updates. 2004-12-22 17:10:23 +00:00
John Camelon
861c8d0a15 Removed warnings. 2004-12-22 16:07:59 +00:00
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