Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-16478

QtScript API changes for Qt 5

    XMLWordPrintable

Details

    • Bug
    • Resolution: Invalid
    • P1: Critical
    • None
    • 5.0.0
    • Qt Script
    • None

    Description

      There are some parts of the QtScript API that we would like to get rid of or replace for Qt 5.

      The reason for this can for example be that the API exposes implementation details, isn't generally useful, is inherently slow, unintuitive, or inconsistent.

      These changes are not expected to be source or behaviorally compatible with Qt 4.

      Attachments

        Issue Links

          1.
          Get rid of invalid QScriptValue type Sub-task Closed Kent Hansen (Inactive)
          2.
          Get rid of QScriptValue::propertyFlags() and friends Sub-task Closed Kent Hansen (Inactive)
          3.
          Get rid of QScriptValue::ResolveFlags Sub-task Closed Kent Hansen (Inactive)
          4.
          Remove QScriptValue::setProperty() PropertyFlags argument Sub-task Closed Kent Hansen (Inactive)
          5.
          Remove QScriptValueIterator functions for iterating backwards Sub-task Closed Kent Hansen (Inactive)
          6.
          Introduce property descriptor-based API Sub-task Closed Kent Hansen (Inactive)
          7.
          Remove QScriptValue::toUInt16() Sub-task Closed Kent Hansen (Inactive)
          8.
          Consider removing QScriptValueIterator::remove() Sub-task Closed Kent Hansen (Inactive)
          9.
          Add QScriptValue::deleteProperty() Sub-task Closed Kent Hansen (Inactive)
          10.
          Consider removing QScriptValue::lessThan() Sub-task Closed Kent Hansen (Inactive)
          11.
          Introduce simplified API for retrieving property names ("keys") of a QScriptValue Sub-task Closed Kent Hansen (Inactive)
          12.
          Remove QScriptEngine::uncaughtExceptionLineNumber() Sub-task Closed Kent Hansen (Inactive)
          13.
          QScriptEngine::newRegExp() should receive flags as a bitmask rather than a string Sub-task Closed Kent Hansen (Inactive)
          14.
          QscriptValueIterator::next should return a value Sub-task Closed Kent Hansen (Inactive)
          15.
          Improve QScriptClass API for prototype usage Sub-task Closed Kent Hansen (Inactive)
          16.
          Consider removing built-in QtScript/JS functions: gc(), version(), print() Sub-task Closed Kent Hansen (Inactive)
          17.
          Remove obsolete and internal methods Sub-task Closed Kent Hansen (Inactive)
          18.
          Introduce QScriptValue::toInt() Sub-task Closed Kent Hansen (Inactive)
          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              kenthans Kent Hansen (Inactive)
              kenthans Kent Hansen (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes