Commit Graph

8 Commits

Author SHA1 Message Date
Richard J. Moore
cc5c47e270 A fairly large patch, but mostly moving things. In order to allow
us to use QScriptEngines from other sources (such as QML) we need
to change the code so that we don't have a custom QScriptEngine
subclass - only one codebase can do that at a time. The scriptenv
is now a normal QObject and contains a QScriptEngine instead of
inheriting from it.

svn path=/trunk/KDE/kdebase/runtime/; revision=1094259
2010-02-22 11:33:21 +00:00
Aaron J. Seigo
58c8a6cc0a share the dataengine bindings between applet and dataengine
svn path=/trunk/KDE/kdebase/runtime/; revision=1089372
2010-02-13 00:53:46 +00:00
Aaron J. Seigo
10238e16af implementation of Service
svn path=/trunk/KDE/kdebase/runtime/; revision=1077832
2010-01-20 23:29:53 +00:00
Aaron J. Seigo
c1f3d903d8 * much simpler way of registering DataEngine::Data
* register the metatype by name with Qt so it can find it; this allows DataEngine::query() to work properly

svn path=/trunk/KDE/kdebase/runtime/; revision=1077821
2010-01-20 23:13:40 +00:00
Aaron J. Seigo
366ca646bd dataengines now support extensions (and network/local io), though without any access restrictions
svn path=/trunk/KDE/kdebase/runtime/; revision=1070944
2010-01-07 02:27:54 +00:00
Aaron J. Seigo
47deeea77c huge cleanup with lots of inter-twined changes, but this should be more or less ready for 4.4.0 at this point! changes include:
* discovered QByteArrays were completely opaque to the runtime, obviously not good seeing how many things use them. fortunately, Qt has bindings for them ... in the examples! so just pulled those over (license compatible, thankfully) and now that works
* implement the remaining security hooks so it knows the difference between different kinds of urls
* export KIO::Job into the runtime; i really wish we could have had more time to do something more elegant than just pushing the object wholesale into the runtime as it exposes a LOT of API, but this works, should be safe (security wise) and as we are in feature freeze there's really nothing better that can be done to replace it at this point in time
* move some of the utility bindings (i18n, DataEngine) into simplebindings/ for consistency
* break out the qvariant stuff that is used outside of the DataEngine bindings for clarity
* brea out a bunch of the bookkeeping setup stuff from simplejavascriptapplet.cpp (it was getting messy) and put it into a separate .cpp file

svn path=/trunk/KDE/kdebase/runtime/; revision=1063070
2009-12-16 22:05:46 +00:00
Burkhard Lück
36e0850ba5 typo fix
svn path=/trunk/KDE/kdebase/runtime/; revision=993303
2009-07-08 12:51:41 +00:00
Aaron J. Seigo
d7c89e409e initial draft of a ECMAScript driven DataEngine.
TODO:
* testing
* binding Plasma::Service

svn path=/trunk/KDE/kdebase/runtime/; revision=991101
2009-07-04 04:30:57 +00:00