Miva Empresa 5.21 Now Supports Windows 2012, IIS7 and 64 Bit Windows.
There are a number of new additions in 5.21 that radically increase what's possible with the Template Language. Specifically support for MvCall and MvDo natively from the Template Language. In addition we've added the concept of &mvtj for JavaScript Encoding.
Please read the Customer Impact section immediately below, if you're store is running on MivaSQL, we strongly recommend testing your site post upgrade prior to utilizing any of the new features just mentioned.
Customer Impact
· The fix for bug 16943 changed the MivaSQL parser in a way that may cause errors in queries that worked in previous versions, if the queries contain spurious punctuation characters, such as “!” or “}”. Users are advised to make sure they are not affected by this change prior to making use of the new template language features, so that they can roll back to a previous version of Miva Empresa if required.Bugs Fixed
8122: Compiler: Nested MvCOMMENTS are not detected
8961: Compiler: Compiler should at least warn about spaces in parameter variable names
15402: Compiler: Compiler crash in expression with extra close paren
15445: Assembler: Starting a function name with a number gives an unfriendly error
15591: Assembler: mvasm --version fails to display version
16392: Virtual Machine: MvLOCKFILE doesn't work with IPv6 on windows
16480: Builtins: system: miva_array_serialize/deserialize do not properly handle special characters in structure member names
16834: Builtins: system: miva_array_collapse copies array contents
16943: MivaSQL: Operator != does not throw a syntax error
16944: MivaSQL: Stack Underflow error on query with a negative value hardcoded
17099: MivaSQL: Mathematical operations in WHERE clause with parenthesis fail
17502: Compiler: Compiler enters an infinite loop when compiling unquoted string
17505: Compiler: Multiple periods in a decimal should not be allowed
17506: Virtual Machine: Multiple periods in a decimal should not be allowed - MvDO Expressions
17517: Compiler: Characters passed to isXXX functions should be casted to an unsigned char
Platform Support
· IIS 7.0 and newer are now supported. There is no automated installer for this platform. See the README file for installation instructions.
· 64-bit Windows is now support for both IIS 6.x (ISAPI) and IIS 7.0 and newer.
API Changes
void mvProgram_SetCharacterSet( mvProgram program, const char *charset, int charset_len );
Sets the current character set to "charset"
char *mvProgram_JavaScriptString_Encode( mvProgram program, const char *data, int data_length, int *result_length, int *result_size );
Encodes "data" in a format suitable for use inside a JavaScript quoted
string declaration honoring the current character set.
Returns a newly allocated buffer containing the encoded string.
"result_length" is populated with the length, in bytes, of the encoded
string
"result_size" is populated with the length, in bytes, of the allocated
buffer
New Builtin Functions
encodejavascriptstring( string )
Encodes "string" in a format suitable for use inside a JavaScript quoted
string declaration, honoring the current character set.
Returns the encoded string.
miva_json_decode( data, output var )
Decodes a block of JSON data in "data", returning the parsed aggregate
value in "output".
Returns 1 on success, 0 on error.
miva_json_decode_last_error()
Returns a textual description of the most recent parsing error encountered
by json_decode
StoreMorph Changes
· New tag exposes MvCALL functionality to the template language.
o Attributes are identical to those for MvCALL.
o and are permitted.
· New tag exposes MvDO functionality to the template language.
o Attributes are identical to those for MvDO.
· New entity method &mvtj allows tokens to be output with the correct encoding for use within JavaScript quoted strings.
New Features
· Hexadecimal integer constants are now consistently handled across all platforms.
Miva Empresa 5.21 is available for Download at: http://www.miva.com/support/downloads
There are a number of new additions in 5.21 that radically increase what's possible with the Template Language. Specifically support for MvCall and MvDo natively from the Template Language. In addition we've added the concept of &mvtj for JavaScript Encoding.
Please read the Customer Impact section immediately below, if you're store is running on MivaSQL, we strongly recommend testing your site post upgrade prior to utilizing any of the new features just mentioned.
Customer Impact
· The fix for bug 16943 changed the MivaSQL parser in a way that may cause errors in queries that worked in previous versions, if the queries contain spurious punctuation characters, such as “!” or “}”. Users are advised to make sure they are not affected by this change prior to making use of the new template language features, so that they can roll back to a previous version of Miva Empresa if required.Bugs Fixed
8122: Compiler: Nested MvCOMMENTS are not detected
8961: Compiler: Compiler should at least warn about spaces in parameter variable names
15402: Compiler: Compiler crash in expression with extra close paren
15445: Assembler: Starting a function name with a number gives an unfriendly error
15591: Assembler: mvasm --version fails to display version
16392: Virtual Machine: MvLOCKFILE doesn't work with IPv6 on windows
16480: Builtins: system: miva_array_serialize/deserialize do not properly handle special characters in structure member names
16834: Builtins: system: miva_array_collapse copies array contents
16943: MivaSQL: Operator != does not throw a syntax error
16944: MivaSQL: Stack Underflow error on query with a negative value hardcoded
17099: MivaSQL: Mathematical operations in WHERE clause with parenthesis fail
17502: Compiler: Compiler enters an infinite loop when compiling unquoted string
17505: Compiler: Multiple periods in a decimal should not be allowed
17506: Virtual Machine: Multiple periods in a decimal should not be allowed - MvDO Expressions
17517: Compiler: Characters passed to isXXX functions should be casted to an unsigned char
Platform Support
· IIS 7.0 and newer are now supported. There is no automated installer for this platform. See the README file for installation instructions.
· 64-bit Windows is now support for both IIS 6.x (ISAPI) and IIS 7.0 and newer.
API Changes
void mvProgram_SetCharacterSet( mvProgram program, const char *charset, int charset_len );
Sets the current character set to "charset"
char *mvProgram_JavaScriptString_Encode( mvProgram program, const char *data, int data_length, int *result_length, int *result_size );
Encodes "data" in a format suitable for use inside a JavaScript quoted
string declaration honoring the current character set.
Returns a newly allocated buffer containing the encoded string.
"result_length" is populated with the length, in bytes, of the encoded
string
"result_size" is populated with the length, in bytes, of the allocated
buffer
New Builtin Functions
encodejavascriptstring( string )
Encodes "string" in a format suitable for use inside a JavaScript quoted
string declaration, honoring the current character set.
Returns the encoded string.
miva_json_decode( data, output var )
Decodes a block of JSON data in "data", returning the parsed aggregate
value in "output".
Returns 1 on success, 0 on error.
miva_json_decode_last_error()
Returns a textual description of the most recent parsing error encountered
by json_decode
StoreMorph Changes
· New tag
o Attributes are identical to those for MvCALL.
o
· New tag
o Attributes are identical to those for MvDO.
· New entity method &mvtj allows tokens to be output with the correct encoding for use within JavaScript quoted strings.
New Features
· Hexadecimal integer constants are now consistently handled across all platforms.
Miva Empresa 5.21 is available for Download at:
Comment