Marco Martin
1471d27cfa
compactRepresentation property
...
qml popupapplets that export this property to the root item (a component) will use that instead of an icon
2012-03-01 22:49:34 +01:00
Aaron Seigo
6924341329
tidy up the sources and put the app finding code from desktopscripting here
...
* better name for jsscriptenv (it's about adding gui, as declarative is about add qml)
* break extension code out to their own sources for clarity
2011-05-27 11:35:56 +02:00
Marco Martin
6f9f911c68
don't re-bind what was done in libkdeclarative
2011-04-07 23:27:05 +02:00
Marco Martin
2a54c9c416
use the engine access in DeclarativeWidget
...
now DeclarativeWidget itself steals the scriptengine, so use it instead of having the hack there
2011-04-07 22:39:18 +02:00
Marco Martin
4c6b625f62
don't ue kio on mobile profile
...
svn path=/trunk/KDE/kdebase/runtime/; revision=1203934
2010-12-05 18:38:36 +00:00
Christian Ehrlicher
aaf33b765d
link on windows
...
svn path=/trunk/KDE/kdebase/runtime/; revision=1195234
2010-11-10 16:09:18 +00:00
Marco Martin
155dc2d056
use a custom network access manager, based on the kio one, but has a
...
special handling for package:/foo urls
svn path=/trunk/KDE/kdebase/runtime/; revision=1188205
2010-10-21 17:39:05 +00:00
Marco Martin
e054fbb8aa
don't register print() in the declarative bindings: t' already there
...
svn path=/trunk/KDE/kdebase/runtime/; revision=1187930
2010-10-20 19:40:30 +00:00
Andreas Hartmetz
f25a4e438f
Fix the same typo in CMakeLists.txt
...
svn path=/trunk/KDE/kdebase/runtime/; revision=1186855
2010-10-17 18:53:53 +00:00
Marco Martin
ac187bfc50
build the declarative engine in its new location
...
svn path=/trunk/KDE/kdebase/runtime/; revision=1185950
2010-10-14 18:43:25 +00:00
Marco Martin
9de619ed86
remove the QVariant workaround since the QScriptEngine::newVariant() should be fixed now in qt.
...
it seems to work for now, will keep the js scriptengine unchanged for a while to check for eventual problems.
if this work out will make the merge with the qml engine way easier
svn path=/trunk/KDE/kdebase/runtime/; revision=1185556
2010-10-13 18:08:07 +00:00
Aaron J. Seigo
f968cb8033
fix a small hole whereby a JS applet could load any SVG from disk (or any file, for that matter, though not gain any access to the data therein) instead of being confined just to its package(s) and the Plasma::Theme
...
svn path=/trunk/KDE/kdebase/runtime/; revision=1179255
2010-09-24 22:51:16 +00:00
Aaron J. Seigo
23364f9b16
bookkeeping for the dataengine
...
svn path=/trunk/KDE/kdebase/runtime/; revision=1175803
2010-09-16 01:14:08 +00:00
Aaron J. Seigo
348343ee0f
fix i18np up, avoid fatal errors
...
svn path=/trunk/KDE/kdebase/runtime/; revision=1171475
2010-09-03 22:36:45 +00:00
Aaron J. Seigo
4d6e335156
PackageStructure plugin for plasmapkg et al as well as some fixes to the addon package structure definition
...
svn path=/trunk/KDE/kdebase/runtime/; revision=1161152
2010-08-09 20:40:13 +00:00
Aaron J. Seigo
e09ceabfbd
JavaScript DataEngines with JavaScript Services. what's left? custom Jobs.
...
svn path=/trunk/KDE/kdebase/runtime/; revision=1159737
2010-08-06 04:21:42 +00:00
Aaron J. Seigo
b5669412c5
reorg the sources; was growing increasingly messy and was only going to get "worse" as DataEngine grows
...
svn path=/trunk/KDE/kdebase/runtime/; revision=1159715
2010-08-06 02:01:40 +00:00
Aaron J. Seigo
f6d9a84da1
register the servicetype
...
svn path=/trunk/KDE/kdebase/runtime/; revision=1159609
2010-08-05 19:26:25 +00:00
Aaron J. Seigo
076c25883d
in data/ now
...
svn path=/trunk/KDE/kdebase/runtime/; revision=1159333
2010-08-05 04:42:21 +00:00
Aaron J. Seigo
99945e5a99
QSizePolicy, need to make size policy setting possible
...
svn path=/trunk/KDE/kdebase/runtime/; revision=1107165
2010-03-24 23:56:07 +00:00
Aaron J. Seigo
8df3489f24
allow connecting engine sources to pretty much anything in the script
...
svn path=/trunk/KDE/kdebase/runtime/; revision=1101799
2010-03-10 23:10:33 +00:00
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