Sections

Changes QSA 1.1.1

Product: QSA
Version: 1.1.1
QSA 1.1.1 is a patch release, containing mostly bug fixes. It maintains both
forward and backward compatibility (source and binary) with QSA 1.1.0. 

This release also contains some small new features and improvements to the
runtime memory model.

********************************************************************************
Interpreter/Language features:

  * When passing a QVariant of type Map or List to QSA, the variant is 
    recursivly expanded to a native array, meaning that nested QVariant
    structures will be mapped to nested arrays in QSA.

  * String.substr is removed to avoid confusion with JavaScript 1.5 substr
    function. String.substring (from ECMAScript 4.0), or String.mid (from
    QString::mid) should be used instead.

  * Application.exit is removed since it is potentially dangerous.

  * Added: Number.MAX_VALUE and Number.MIN_VALUE.

  * Improved error messages when trying to call undefined functions.
 
  * Bugfix: parseInt() and parseFloat() failed when parsing strings starting
    with whitespaces or ending with nonumeric characters. 

  * Bugfix: Date.parse failed when parsing strings on the YYYY-MM-DD format.

  * Bugfix: Copy constructors of most internal types did not copy content.

  * Bugfix: Fix memleak for parse errors.

  * Bugfix: Fix memleak for runtime errors.

  * Bugfix: Fix crash when objects created by QSObjectFactory is deleted
    outside the interpreter.

  * Bugfix: Scope was setup incorrectly when a member function of a scriptclass
    was triggeded from a signal.

  * Bugfix: Crash when parsing parsing the same class twice in the
    same script.

  * Bugfix: Use of lambda functions would sometimes crash.

  * Bugfix: Declaring a typed variable when the was undefined crashed. This
    does not mean that typed variables are supported.

  * Bugfix: calling eval() would sometimes crash.

  * Bugfix: running interpreters in multiple threads would sometimes crash.


********************************************************************************
Build system:

  * Added support for MinGW and Intel compilers on windows.

********************************************************************************
QSInterpreter:

  * Bugfix: error() signal was not emitted on parse errors.

********************************************************************************
QSProject:

  * Bugfix: Project loading could hang or crash for incompatible files.

********************************************************************************
QSScript:

  * Bugfix: addFunction() rejected functions names containing the letter 'V'

********************************************************************************
QSUtilFactory:

  * Added: File.isFile() and File.isDir() convenience functions.

  * Bugfix: Dir.rmdirs did not delete hidden or system files.
 
  * Bugfix: Process.execute could not write to standard in on some platforms.

  * Bugfix: Process.execute failed on one string commands, e.g. "ls -la" on
    some platforms.

********************************************************************************
QSWrapperFactory:

  * QSA exports the properties, signals and slots of the base classes of any
    wrapper object. This lightens the implementation when wrapping a
    class hierarchy. Inherited members can still be disabled by setting
    SCRIPTABLE false in the Q_PROPERTY declaration.

********************************************************************************
QSWorkbench:

  * Bugfix: QSWorkbench no longer replaces default message handler, but
    coexists with it. This solves problem that qDebug messages dissappeared
    when using QSWorkbench.

  * Added: Find Next, Find Previous, Print script and Rename script.
	
Document Actions
Navigation
 

Patron of KDECustomers

Customers