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

5904 commits

Author SHA1 Message Date
John Camelon
a149a4fbe0 Fixed NPE in parsing the Trilogy for C++ w/the new parser due to a malformed array subscript postfix expression. 2004-11-25 03:27:00 +00:00
Chris Wiebe
75b3224c1c 2004-11-24 Chris Wiebe
fix command binding for OpenTypeInHierarchyAction
	* plugin.xml
2004-11-25 02:19:52 +00:00
Alain Magloire
58c90760ea 2004-11-24 Alain Magloire
Remove unused class, reduce confusion in code maintainance.
	* src/org/eclipse/cdt/internal/ui/util/ProblemItemMapper.java
2004-11-25 00:32:53 +00:00
Alain Magloire
c4a7c7ac9d 2004-11-24 Alain Magloire
Make the terminate() more responsive when gdb is shuting down.
	See long discussion part of the 77435 fixes and 40087.

	* cdi/org/eclipse/cdt/debug/mi/core/cdi/ExpressionManager.java
	* mi/org/eclipse/cdt/debug/core/MIInferior.java
2004-11-24 22:01:05 +00:00
Alain Magloire
317776f413 2004-11-24 Alain Magloire
Use the ICDITarget.deleteAllBreakpoints() for speed.
	* org/eclipse/cdt/debug/internal/core/CBreakpointManager.java
2004-11-24 21:18:08 +00:00
John Camelon
5946594715 Patch for Devin Steffler.
Fixed 78231 - [Parser] open declaration on elaborated type shouldn't jump to object hiding it
2004-11-24 21:15:16 +00:00
Mikhail Khodjaiants
d5a0e947ff Do not request to dispose local variables when the target is resumed. 2004-11-24 20:46:06 +00:00
Andrew Niefer
0bf6b02659 test tweaks 2004-11-24 20:27:41 +00:00
Andrew Niefer
40ca0f5538 patch from Tanya Wolff 2004-11-24 20:27:29 +00:00
Doug Schaefer
dd13cb982b Added helpers to create the standard projects. 2004-11-24 17:53:57 +00:00
Alain Magloire
ed931ba8f9 Typo int definition of "uint32_t" it was define to "uint31_t" !! 2004-11-24 16:49:51 +00:00
Doug Schaefer
a099af8eeb Update UI tests to get rid of warnings. 2004-11-24 16:43:41 +00:00
John Camelon
1a5a30c950 Cloned CompleteParseASTTest to CompleteParse2Tests to be used w/the new parser.
Added CompleteParser2Tests to ParserTestSuite.
Removed unnecessary helper classes in parser2 package.
2004-11-24 16:36:14 +00:00
John Camelon
2a7c0f097f Support for pointer to functions/members. 2004-11-24 15:02:21 +00:00
John Camelon
922006b670 Added ICPPASTTryBlockStatement and implementation. 2004-11-24 04:51:04 +00:00
John Camelon
03de1e32fd Separated C++ and C Physical Implementations to provide Andrew more flexibility.
Added ICPPASTTemplateId and implementation.
2004-11-24 04:28:19 +00:00
Mikhail Khodjaiants
70c6412de3 The enablement of the step actions is calculated in the UI thread. This causes the UI locks for slow or unresponsive targets. Use the cached stack frames to calculate the enablement instead of requesting gdb. 2004-11-23 23:47:49 +00:00
Mikhail Khodjaiants
e1f0f37434 Workaround for bug 69728: IndexOutOfBoundsException in TextPresentation.
This bug is fixed in Eclipse 3.1.
2004-11-23 23:34:37 +00:00
Andrew Niefer
0b6beedffa more GCC tests
plus enumerations and enumerators
2004-11-23 22:27:21 +00:00
John Camelon
34181fda51 QuickParser2Tests now all pass.
Commit it while you can.
2004-11-23 21:46:01 +00:00
Sean Evoy
5360159a8d Fix for bugzilla 78207: Project References hides build error markers.
The same logic applies to the refresh operation on referenced projects as it did for the problem markers. It is no longer necessary given the way the build is sequenced and this avoids needless thrashing in the workspace.
2004-11-23 21:05:28 +00:00
John Camelon
0069e2dae3 Only 3 QuickParse2Tests failing. 2004-11-23 20:42:55 +00:00
John Camelon
dbc642b6b4 Add support for long longs. 2004-11-23 19:29:36 +00:00
Alain Magloire
f516c46c67 2004-11-23 Alain Magloire
Tentative fix for 77435
	* cdi/org/eclipse/cdt/debug/mi/core/cdi/SourceManager.java
2004-11-23 18:28:18 +00:00
Andrew Niefer
2399f89255 more GCC based Tests.
impl CParameter.getType, check for definitions of variables,
visit parameter declSpecifiers
2004-11-23 17:43:16 +00:00
John Camelon
b36410c4ee Fixed bug in GNUCSourceParser regarding parsing typedefed anonymous structs as parameters in a function definition. 2004-11-23 15:22:42 +00:00
John Camelon
894e597b9e Brutally painful Parser2 fixes. 2004-11-23 14:50:24 +00:00
John Camelon
edd4a3ebf0 Most of C++ Expressions & Declarations.
80% of QuickParseTest2 passing.
2004-11-23 02:48:32 +00:00
Sean Evoy
778d51ed87 Commit for Leo Treggiari
The patch contains a fix for Bug 69114.  The particular problem was that the manifest file contained an invalid id in an optionCategory “owner” attribute.  The patch contains a change to all appropriate resolveReferences methods to check for unresolved references and write out an error message.  For the optionCategory “owner” attribute, the “owner” is set to the Tool by default.
2004-11-22 21:50:46 +00:00
Andrew Niefer
b260655021 Add GCCTests based on GCC torture test suite 2004-11-22 19:25:26 +00:00
Mikhail Khodjaiants
9969ce47df Check if the pointer value is not null before pass it to the address factory. 2004-11-22 17:00:34 +00:00
John Camelon
cf15755c35 New parser fixes.
Remove NPE in consumeArrayModifiers().
Add stronger typing to bitfield expression in declarator().
2004-11-22 15:10:37 +00:00
Doug Schaefer
fa0262f964 We now have template projects for all project types: C/C++
and Standard/Managed.
2004-11-22 14:59:34 +00:00
David Daoust
bf25c0b470 New Managed build documentation from Leo 2004-11-22 14:16:44 +00:00
Doug Schaefer
21342769d7 Hooked up the DOM to the Core Model (kind of). Put in a little more docs. 2004-11-22 03:45:18 +00:00
John Camelon
3fab76a13d Removed warning. 2004-11-22 02:41:04 +00:00
John Camelon
80e8ac3fc6 Finished DeclSpecifier for new C++ Parser. 2004-11-22 02:39:23 +00:00
John Camelon
ece695b022 Templates, Linkage Specs & the start of DeclSpecifierSeq. 2004-11-21 20:40:43 +00:00
Doug Schaefer
b34fcf2fc9 Some clean up to make the core.tests plugin more 3.0 compliant.
Also added in a new ProjectCreator that creates projects from
prebuilt zip files.
2004-11-21 15:53:55 +00:00
Doug Schaefer
753aa6132f Some clean up to make the core.tests plugin more 3.0 compliant.
Also added in a new ProjectCreator that creates projects from
prebuilt zip files.
2004-11-21 15:51:31 +00:00
John Camelon
f6aa88405c Adding using declaration/directive support.
Refactored use of ICPPASTQualifiedName.
2004-11-20 19:29:14 +00:00
John Camelon
0ad6f1bcb0 Applied patch for Devin Steffler.
Fixed 78217 - [Parser][IProblems] template operator has invalid IProblem with blank description
	Fixed 79103 - [Parser][IProblems] 3 new lineNumber=-1 found in cpp_headers
2004-11-20 17:56:43 +00:00
John Camelon
78555dc686 Patch for Devin Steffler
Removes ClassCastException from CompleteParseASTFactory
2004-11-20 17:48:48 +00:00
Alain Magloire
b488499fcc 2004-11-19 Alain Magloire
Protect agains possible NPE.
	* cdi/org/eclipse/cdt/debug/mi/core/cdi/RegisterManager.java
	* cdi/org/eclipse/cdt/debug/mi/core/cdi/SourceManager.java
	* cdi/org/eclipse/cdt/debug/mi/core/cdi/model/VariableDescriptor.java
2004-11-20 04:25:17 +00:00
Sean Evoy
2c296b89c0 Commit for Leo Treggiari:
Fix for Bug 78207 "Project References hides build error markers”
2004-11-19 22:42:47 +00:00
Mikhail Khodjaiants
c59a365bc3 Use the qualified name when creating a register.
Destroy the corresponding gdb variable on register's disposal.
Added the "dispose" method to the "Register" class.
2004-11-19 22:32:37 +00:00
Andrew Niefer
d72d34cf02 Parser2 : fixed some stuff, added some more stuff
(visit initializers, add a kind of tag namespace for resolving structs)
2004-11-19 21:26:33 +00:00
John Camelon
bf7b23eb9e Writable DOM Support for:
C++ Qualified Names.
	ASM Declarations in C++.
	Namespace Definitions & Aliases.
2004-11-19 21:16:52 +00:00
Alain Magloire
06a31c42a6 2004-11-19 Alain Magloire
RegisterManager.findRegister() was not implemented correctly
	* cdi/org/eclipse/cdt/debug/mi/core/cdi/RegisterManager.java
2004-11-19 21:10:51 +00:00
Doug Schaefer
4470cb7627 Added the C Model classes into the API reference. 2004-11-19 19:55:18 +00:00