Commit Graph

25 Commits

Author SHA1 Message Date
Aaron J. Seigo
befcae6884 minimal icon bindings, makes Plasma::IconWidget actually useful
svn path=/trunk/KDE/kdebase/runtime/; revision=1095318
2010-02-24 00:35:37 +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
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
a44ebee80d easing curve is now necessary due to change in animation API from easingCurveType to easingCurve
svn path=/trunk/KDE/kdebase/runtime/; revision=1073846
2010-01-12 23:32:56 +00:00
Aaron J. Seigo
f8eb8c96e9 runners now support extensions (and network/local io), though without any access restrictions
svn path=/trunk/KDE/kdebase/runtime/; revision=1070945
2010-01-07 02:39:49 +00:00
Aaron J. Seigo
88496997f9 moderately lame way to get conditional compilation of GUI features
svn path=/trunk/KDE/kdebase/runtime/; revision=1070943
2010-01-07 02:26:44 +00:00
Aaron J. Seigo
a85e29367a isolate out the common QScriptEngine setup that is sharable between the various ScriptEngines; this will prevent having to reimplement (or more likely copy and paste) the extensions loading, print, debug, etc. from the applet implementation to get that support in dataengines and runners.
svn path=/trunk/KDE/kdebase/runtime/; revision=1070936
2010-01-07 02:04:59 +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
Aaron J. Seigo
52aaea24e7 make animation groups work again in javascript by subclassing the Qt classes and making the interesting methods scriptable in the subclasses and calling the parent class implementations.
svn path=/trunk/KDE/kdebase/runtime/; revision=1062484
2009-12-14 21:54:23 +00:00
Artur Duque de Souza
a356b3d452 Create bindings for QGraphicsGridLayout
We should definetely have a common header for the layout bindings
so we avoid duplicating the "layoutItem" function with different
names all around.

I created some macros to help creating the binding for GridLayout
that may be helpful in other scenarious. Maybe put this macros on
this shared header too ?

Anyway, the bindings for this class are ready if I didn't forget
any important functions and the code for layout item was a little
bit simplified trying to qscriptvalue_cast to QGraphicsLayout* instead
of each implementation of it.


svn path=/trunk/KDE/kdebase/runtime/; revision=1055930
2009-11-29 04:17:30 +00:00
Aaron J. Seigo
0ab7db4524 pen, without which painter is a lot less useful
svn path=/trunk/KDE/kdebase/runtime/; revision=1055311
2009-11-27 20:29:14 +00:00
Aaron J. Seigo
24133e0882 move AppletInterface into the simplebindings dir
svn path=/trunk/KDE/kdebase/runtime/; revision=1055288
2009-11-27 19:34:04 +00:00
Aaron J. Seigo
acc0469b24 uiloader is part of the simplebindings
svn path=/trunk/KDE/kdebase/runtime/; revision=1054901
2009-11-27 03:12:43 +00:00
Aaron J. Seigo
8ff52246b7 rename qtgui to reflect its actual purpose
svn path=/trunk/KDE/kdebase/runtime/; revision=1051137
2009-11-18 22:39:12 +00:00
Aaron J. Seigo
c0061c9666 add QColor and FileDialogProxy to the build
svn path=/trunk/KDE/kdebase/runtime/; revision=1048910
2009-11-14 07:27:49 +00:00
Artur Duque de Souza
ad5e59fdeb Support for Anchor Layout (Qt 4.6)
Now we have support for anchor layout on javascript
plasmoids. This is at 90%. It's not working properly yet
as we need either a patch in Qt (being discussed) or another
not so beautiful approach. After this it will work 98%, and
I'll just need to do the QGraphicsAnchor bindings to support
spacing and size policies of anchors.


svn path=/trunk/KDE/kdebase/runtime/; revision=1044107
2009-11-03 03:06:04 +00:00
Aaron J. Seigo
07f1255677 qpixmap
svn path=/trunk/KDE/kdebase/runtime/; revision=1038273
2009-10-20 23:15:33 +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
Aaron J. Seigo
71789306b7 ok, this time _really_ move it over. svn is sometimes a little too forgiving / sloppy :(
svn path=/trunk/KDE/kdebase/runtime/; revision=967245
2009-05-13 00:55:25 +00:00
Aaron J. Seigo
94cdfc4149 move javascript engine and plasmapkg to runtime; libplasma uses plasmapkg via knewstuff and 3rd party apps with to use both that and the javascript engine. no new dependencies on runtime are incurred with this change
svn path=/trunk/KDE/kdebase/runtime/; revision=966840
2009-05-11 23:40:57 +00:00
Aaron J. Seigo
79317e3470 add url to build
svn path=/trunk/KDE/kdebase/workspace/plasma/scriptengines/javascript/; revision=960159
2009-04-28 02:12:47 +00:00
Marco Martin
0589a221e2 revert the phonon check, it appears HAVE_PHONON isn't defined and phonon
is required anyways

svn path=/trunk/KDE/kdebase/workspace/plasma/scriptengines/javascript/; revision=924894
2009-02-11 21:31:26 +00:00
Aaron J. Seigo
57f3358108 simple binding of QGraphicsLinearLayout; will do Grid later
svn path=/trunk/KDE/kdebase/workspace/plasma/scriptengines/javascript/; revision=905862
2009-01-05 09:58:26 +00:00
Aaron J. Seigo
b27afeb94d add uiloader to the gang, add the layouts to API, but now i have a new challenge ... layouts aren't qobjects. oh nos.
svn path=/trunk/KDE/kdebase/workspace/plasma/scriptengines/javascript/; revision=905832
2009-01-05 08:34:14 +00:00
Aaron J. Seigo
e0e01efa94 qtscript->javascript
svn path=/trunk/KDE/kdebase/workspace/plasma/scriptengines/javascript/; revision=905822
2009-01-05 08:08:38 +00:00