Revision: 11456
          http://sourceforge.net/p/gmat/code/11456
Author:   lindajun
Date:     2013-03-08 16:45:24 +0000 (Fri, 08 Mar 2013)
Log Message:
-----------
GMT-2543 Systemic Issue: Validation in commands
GMT-3524 GMAT not properly validating array references
GMT-3525 GMAT script allows creation of zero-length Array
GMT-3654 Invalid assignment of integer scalar to integer array field isn't 
caught 

=>Assignment - Added validation check for Gregorian time in 
Validate()(GMT-2543).
=>Validator - Added a new method ClearErrorList() to clear error list. - 
Changed not to create default RHS StringWrapper if LHS is time Parameter when 
creating wrappers for Assignment command to catch invalid Gregorian value 
(GMT-2543). - Correctly flagged to write error message when it failed to create 
an array due to invalid dimension in CreateArray() (GMT-3525).
=>StringUtil.cpp - Changed so that both row and column number can be checked in 
GetArrayIndex() (GMT-3525).   
=>ScriptInterpreter - Showed errors from the Validator when failed to create an 
object in ParseDefinitionBlock() (GMT-3525).   
=>Interpreter - Added a check for [] if object field data type is 
BOOLEANARRAY_TYPE, INTARRAY_TYPE, UNSIGNED_INTARRAY_TYPE, or RVECTOR_TYPE in 
SetProperty() (GMT-3564).

Modified Paths:
--------------
    trunk/src/base/command/Assignment.cpp
    trunk/src/base/interpreter/Interpreter.cpp
    trunk/src/base/interpreter/ScriptInterpreter.cpp
    trunk/src/base/interpreter/Validator.cpp
    trunk/src/base/interpreter/Validator.hpp
    trunk/src/base/util/StringUtil.cpp

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.


------------------------------------------------------------------------------
Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester  
Wave(TM): Endpoint Security, Q1 2013 and "remains a good choice" in the  
endpoint security space. For insight on selecting the right partner to 
tackle endpoint security challenges, access the full report. 
http://p.sf.net/sfu/symantec-dev2dev
_______________________________________________
Gmat-svn mailing list
Gmat-svn@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gmat-svn

Reply via email to