Changes QSA 1.2.1
QSA 1.2.1 is a patch release, containing mostly bug fixes. It maintains both
forward and backward compatibility (source and binary) with QSA 1.2.0.
********************************************************************************
Interpreter/Language:
* QSA now supports QObject classes declared in namespaces.
* Pixmap class can be constructed from a QByteArray.
* Objects of the Object class can be converted to QVariantMap in C++, where
each property is a key->value pair.
* Conversion of an array object to a QVariant is contents dependent. If the
array contains only numerics it will be a QVariantList (as before). If it
contains string keys it will become a QVariantMap.
* Bugfix: Using variants in slots would some times crash.
* Bugfix: Math.asin was not correct
* Bugfix: Use of enum in slot signatures would not work.
* Bugfix: String.lastIndexOf would some times assert.
* Bugfix: Timers wouldn't send the timer id in the callback function
* Bugfix: The function disconnect() would sometimes hang.
* Bugfix: Use of function objects in classes would sometimes crash.
* Bugfix: It was not possible to call slots with subclasses of QObject/QWidget
as parameters.
* Bugfix: Enum values could not be higher than 16 bit.
* Bugfix: Deleting an object that was connected to a script function
would crash.
* Bugfix: Accessing children of a QObject would sometimes fail.
********************************************************************************
QSWorkbench:
* QSWorkbench was not included in the documentation.
* The list of scripts are sorted.
********************************************************************************
QSEditor:
* Better completion of function return types.
* Bugfix: Entering an opening paranthesis as the first character of a script
would cause a crash.
********************************************************************************
QSInterpreter:
* Bugfix: Starting a timer that would call clear() while the interpreter
was showing an error message box would crash.
* Bugfix: Nested calls to QSInterpreter::evaluate() would crash if any of
the nested scripts had a syntax error.
* Bugfix: Calling presentObjects() when no objects where present would crash.
********************************************************************************
QSInputDialogFactory
* Bugfix: ComboBox.currentItem did not behave as documented.
********************************************************************************
Examples:
* Example for showing how to "import" other script files added, see
Import Example for more details.
* Bugfix: The spreadsheet example would crash when the user typed in a script
containing syntax errors.
* Bugfix: The scribblescripter example would sometimes crash.
********************************************************************************
Buildsystem:
* Support configure -prefix on windows.
* Support building on Mac OS X against binary package using
configure -prefix <target dir>
make
make install
* Support win32-msvc2005 mkspec.