Revision: 10761
http://gmat.svn.sourceforge.net/gmat/?rev=10761&view=rev
Author: lindajun
Date: 2012-08-17 14:35:49 +0000 (Fri, 17 Aug 2012)
Log Message:
-----------
Fix for GMT-2997 Equation dialog allows "var = DefaultSC"
>> AssignmentPanel - Added to call Validate() after all wrappers are created.
>> This will catch incompatible data types between lhs and rhs; Updated to set
>> the old saved value of lhs and rhs when user cancels in OnCancel().
>> Assignment - Added SetLHS() and SetRHS() so that previous value can be set
>> when user cancels the change. Added to call mathTree->Validate() to validate
>> the math equation in Validate().
>> MathTree - Added a new method Validate() to catch unallowable objects used
>> in the equation before the execution.
>> Interpreter - Removed duplicate "Interpreter exception:" in the error
>> message.
>> MathElement - Added to throw an exception if refObject is not a type of
>> Gmat::PARAMETER as part of code QA.
>> GmatBase - Added SetLastErrorMessage() to reset last error message.
Modified Paths:
--------------
trunk/src/base/command/Assignment.cpp
trunk/src/base/command/Assignment.hpp
trunk/src/base/foundation/GmatBase.cpp
trunk/src/base/foundation/GmatBase.hpp
trunk/src/base/interpreter/Interpreter.cpp
trunk/src/base/interpreter/MathTree.cpp
trunk/src/base/interpreter/MathTree.hpp
trunk/src/base/math/MathElement.cpp
trunk/src/gui/command/AssignmentPanel.cpp
trunk/src/gui/command/AssignmentPanel.hpp
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Gmat-svn mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gmat-svn