The user may start the wizard from the navigator view. In this case, the selection is a resource, not a CModel Element, which caused some troubles.
This patch fixes this problem. Change log has been updated.
Core
1. Added 2 new option types: Boolean and enumerated
2. Changed the IOption interface to get new option type values
3. In plugin manifest and IOption interface added concept of a default enumerated value to support on-going GUI work
4. In plugin manifest and IOption, added field to map the actual command line argument with the option for makefile generation.
Tests
1. Changed the plugin.xml manifest to match the new option types
2. AllBuildTests.java updated to test new option types and fields added in core
core: Structural changes to ParserSymbolTable:
- moved TypeInfo & Declaration inside ParserSymbolTable
- removed the stack & push/pop/peek
- moved nonstatic add/lookup fuctions from the table to Declaration
- began undo framework: added AddDeclarationCommand
tests:
Rewrote ParserSymbolTableTest to reflect structural changes to the symbol table.
This patch enables Outline view filters to show/hide -static members, non-public members, and fields (same as in JDT).
Please note that the patch creates three new packages and 5 new classes.
It also has 9 new icon files (in three different directories).
The modified files + the new files are all zipped into the attached file.
Fixed Bug 37019 - RTS: Parser fails on variable defn using constructor
Fixed Bug 36767 - STL Testing: Parser is confused and goes into template function body
TESTS
Moved testBug37019() from DOMFailedTests to DOMTests.
Partial fix for Bug 36932 - RTS: Parser fails on "new" in ctor initializer
Fixed Bug 36704 - Problem parsing Loki's Reference Typelist.h
Fixed Bug 36699 - Problem parsing Loki's Reference SmartPtr.h Impl
Fixed Bug 36691 - Problem parsing Loki's Reference HierarchyGenerators.h Impl
TESTS
Added testBug36932() to DOMTests.
Moved testBugFunctor758() from LokiFailures to DOMTests.
Moved testBug36704() from DOMFailedTest to DOMTests.
Moved testBug36699() from DOMFailedTest to DOMTests.
Moved testBug36691() from DOMFailedTest to DOMTests.
Core
Fixed bug36771 - Outline view shows include with no name
Fixed bug36714 - Parser fails on initial assignment using floating-suffix
Revisted bug36816 - Incomplete #include stops outline view
Tests
Moved ACEFailedTest::testBug36771 to DOMTests
Moved DOMFailedTest::testBug36714 to DOMTests
Updated ScannerTestCase::testBug36816