summaryrefslogtreecommitdiffstats
path: root/src/script
Commit message (Collapse)AuthorAgeFilesLines
* make signal handlers understand QVariant againKent Hansen2009-06-051-3/+18
| | | | | | Also, issue a warning if a type is not known to the meta-type system. Task-number: 248129
* have QScriptValue::toVariant() convert Array objects to QVariantListsKent Hansen2009-06-052-0/+3
| | | | | | | Converting the array to its string representation is not very useful. Now round-trip conversion will work as well. Reviewed-by: Ariya Hidayat
* kill dead codeKent Hansen2009-06-051-2/+0
|
* All of Qt's own code compiles with -pedantic now (but pcre and webkit don't ↵David Faure2009-06-042-2/+2
| | | | | | | seem fixable easily) Merge-request: 594 Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
* fix silly typoKent Hansen2009-06-031-1/+1
| | | | | | | | | | Yeesh. The function worked for the common case of the argument being a plain script object (obviously, otherwise this would have been discovered sooner), but it would never pick the less expensive path when replacing the QObject pointer of an existing proxy. And if you passed in a QVariant proxy (now who would ever do something like that...?), it would assert.
* improved string operations all over the placeThierry Bastian2009-05-2811-78/+78
| | | | | used character operations whenever possible better usage of QLatin1String
* Add string-->enum conversion for properties and slotsKent Hansen2009-05-203-7/+32
|
* Don't leak memory when assigning scriptvalue to iteratorKent Hansen2009-05-111-2/+2
| | | | | | The d-pointer was not deleted as it should be. Reviewed-by: Harald Fernengel
* Fix regression in qscriptvalue_cast (primitive-->complex type cast)Kent Hansen2009-03-261-1/+2
| | | | | | | | | | | qscriptvalue_cast implementation was changed from 4.4 to 4.5 because of the introduction of QScriptValue constructors that don't take an engine pointer. However, when the old constructors are used, the behavior of qscriptvalue_cast should be as before, which this patch ensures. In short: If we have an engine pointer, use it. Task-number: 248802 Reviewed-by: Ariya Hidayat
* Long live Qt 4.5!Lars Knoll2009-03-23117-0/+47542