CORE
Fixed bug36434 - Broken outline in winbase.h
Partial Fix for bug36379 - The parser to set Line informations when
scanning.
Fixed CModelManager to include header files with .H extension as C++
headers.
Fixed bug36448 - Parser fails for C programs containing C++ keywords
as identifiers
TESTS
Added ScannerTestCase::testBug36434().
Added ScannerTestCase::testMultipleLines().
Added ParserTestSuite.
Added LineNumberTest.
Updated CModelElementsTests to set the Nature of the C++ project
appropriately.
This patch updates the create methods of the CModelBuilder:
-changes visibility to protected.
-returns the created element.
The new CModelBuilder returns a map of the created elements and their infos.
CORE
Minor cleanup of callbacks due to removal of NewModelBuilder.
Added parser support to partially fix bug36416 & bug36294. Also
added minimal C-Model support for these fixes.
TESTS
Added DOMTests::testPointersToFunctions.
CORE
Minimized the number of objects being returned from Parser
callbacks.
Fixed CModelBuilder to handle errors better.
Reorganized the DOM Hierarchy to ensure that nodes were added to the
tree on End() callbacks.
Fixed defect 36247().
TESTS
Added DOMTests::testBug36247().
-Adds template elements (classes, functions and methods) to core model.
-Updates the C Model Builder to recognize templates.
-Adds UI support for templates in outline view.
CORE
Removed all the old Code Model Builder source that was no longer being used (NewModelBuilder.java, etc.).
Moved all the files in parser.util directory to the dom.
Organized imports.
Fixed bug36250 Parser ignores functions with default parameters that have no name.
Fixed bug36240 Parser incorrectly parses operator=
Fixed bug36254 Parser doesn't recognize unsigned as a type by itself.
TESTS
Organized imports.
Added DOMTests::testTemplateDeclarationOfMethod().
Added DOMTests::testBug36250().
Added DOMTests::testBug36240().
Added DOMTests::testBug36254().
patch_04.08.03(cdt.core).txt
user defined conversions by operator
patch_04.08.04(cdt.ui.tests).txt
added ParserSymbolTableTest::testUserDefinedConversionByOperator()
- Uses "StringBuffer" instead of "String" in CModelBuilder and a couple other places for better performance.
- Displays the volatile decorative for volatile declarations.
- Changes the background of some icons to transparent.
CORE
Brought DOM up to par wrt functionality with Code Model.
Added isFunctionDefinition() to SimpleDeclaration.
Added visiblity indicators for member declarations.
Added offset information that was previously unavailable.
Added preprocessor statements (inclusions, macros) to DOM.
Updated TypeSpecifier hierarchy to allow for parameter declarations to own elaborated types.
Added new constructor to parser to aid testing.
Fixed bug36065.
TESTS
Added testMemberDeclarations(), testPreprocessor(),
testElaboratedParms() to DOMTests.
CORE
Fixed defect 36073.
Fixed error handling for unterminated strings in Scanner.
Fixed offset for inclusions in the outline view.
Significantly updated callback structure to better suite the nature of the Code Model.
Updated all callbacks and parser to accommodate altered callbacks.
TESTS
Added DOMTests::testBug36073().
Core fix for Outline View
- Fixed bug35939. Proper CElement position is set on
Simple Declarations, Class Specifications, Namespaces,
Enumerations and Enumerators, Macros and Inclusions.
- Callbacks updated to provide additional offset
information.
CORE
Fixed defects 36019, 36020, 36045.
Finished template declarations and their callbacks for the DOM (not the Code Model).
TESTS
Updated ScannerTest::testSimpleIfdef() for bug36019.
Updated ScannerTest::testNumerics() for bug36020.
Added ScannerTest::testBug36045().
Updated DOMTests::testTemplateDeclaration() for template grammar updates.
- the support for namespaces in the NewModelBuilder.
- an icon for extern variables.
- a JUnit test case for core model elements, including namespaces. The enum_obj_gif should overwrite the existing file.
CORE
Updated Scanner to convert ungodly control-characters to ' '.
Fixed logic error in model\SimpleDeclarationWrapper.
Added operator support to grammar (conversion and overloading).
Fixed parser/util/Name.toString() to support non-qualified yet multi-part names.
- This patch changes the default for the CModel to use
the new parser.
- Also, I change the preference to be stored in the
CCorePlugin preferences instead of the silly kludge
I had before.
- Modified lookup with respect to resolving ambiguous names,
reducing the number of temporary lists/sets.
- Modified adding using declarations to properly support overloaded
functions.
- Added initial support for user defined conversion sequences when
resolving overloaded functions.