Commit Graph

1890 Commits

Author SHA1 Message Date
Script Kiddy
a66fde4352 SVN_SILENT made messages (.desktop file)
svn path=/branches/KDE/4.4/kdebase/runtime/; revision=1072527
2010-01-10 10:46:20 +00:00
Aaron J. Seigo
e8796ab87c make it possible to turn off all eternal extensions
svn path=/trunk/KDE/kdebase/runtime/; revision=1071432
2010-01-08 00:55:46 +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
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
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
5946da0f42 implement a specialized findChild; this makes it look like there's the usual findChild, but this one is defanged
svn path=/trunk/KDE/kdebase/runtime/; revision=1070552
2010-01-06 00:23:31 +00:00
Aaron J. Seigo
092bf9d3e6 count/itemAt; plugs some holes that made layouts rather unuseful (though getting reports about these things is nice: people are actually using them! wow! :)
svn path=/trunk/KDE/kdebase/runtime/; revision=1070549
2010-01-05 23:48:56 +00:00
Aaron J. Seigo
03da062151 adapt to Animation api change
svn path=/trunk/KDE/kdebase/runtime/; revision=1069734
2010-01-04 09:24:13 +00:00
Script Kiddy
ef89647363 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/runtime/; revision=1068962
2010-01-02 11:35:49 +00:00
Script Kiddy
7026780377 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/runtime/; revision=1068486
2010-01-01 11:09:03 +00:00
Script Kiddy
e8355527c7 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/runtime/; revision=1068118
2009-12-31 11:34:58 +00:00
Script Kiddy
ff6b504f18 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/runtime/; revision=1067354
2009-12-29 12:23:43 +00:00
John Layt
3d468dfd5f krazy fixes
svn path=/trunk/KDE/kdebase/runtime/; revision=1067066
2009-12-28 20:50:30 +00:00
Script Kiddy
e9da8e52af SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/runtime/; revision=1065981
2009-12-25 09:48:01 +00:00
Script Kiddy
d904d5e66d SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/runtime/; revision=1064230
2009-12-20 12:04:42 +00:00
Script Kiddy
195f8cd2cc SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/runtime/; revision=1063812
2009-12-19 10:51:19 +00:00
Aaron J. Seigo
5e924edc6d need to also register KJob with the runtime otherwise those signals are not very usable from the runtime; found while trying to connect to the finished signal of an http request
svn path=/trunk/KDE/kdebase/runtime/; revision=1063096
2009-12-16 22:46:34 +00:00
Aaron J. Seigo
745dc92f50 --unecessary duplication
svn path=/trunk/KDE/kdebase/runtime/; revision=1063084
2009-12-16 22:29:43 +00:00
Aaron J. Seigo
f26351ef58 typo caught while fixing up isActive
svn path=/trunk/KDE/kdebase/runtime/; revision=1063078
2009-12-16 22:18:02 +00:00
Aaron J. Seigo
f266a263db make isActive a setter as well, more javascriptty
svn path=/trunk/KDE/kdebase/runtime/; revision=1063077
2009-12-16 22:15: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
Andreas Hartmetz
18a9f087a4 Thou shalst not commit old cheese which uses experimental API, unless thou hath
tested that it still compilest.

svn path=/trunk/KDE/kdebase/runtime/; revision=1062521
2009-12-15 00:33:01 +00:00
Aaron J. Seigo
5e3c8f51ff missing license headers and emails
svn path=/trunk/KDE/kdebase/runtime/; revision=1062487
2009-12-14 22:04:05 +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
Aaron J. Seigo
49f3bb58da * make sure we have an animation, return an error if we don't; makes this a bit more robust against changes in libplasma
* don't set the widget to aimate on an animation if the parent is automatically set to the applet; this has odd side-effects like Fade animations causing the plasmoid to disappear ;)

svn path=/trunk/KDE/kdebase/runtime/; revision=1062483
2009-12-14 21:52:40 +00:00
Script Kiddy
15833bac25 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/runtime/; revision=1062316
2009-12-14 10:51:05 +00:00
Script Kiddy
f1a625524c SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/runtime/; revision=1060615
2009-12-09 11:40:52 +00:00
Aaron J. Seigo
c1cdc1ae40 add the new anims
svn path=/trunk/KDE/kdebase/runtime/; revision=1060137
2009-12-08 09:24:24 +00:00
Romain Pokrzywka
fd18bfc840 AnimationGroup is gone in kdelibs
svn path=/trunk/KDE/kdebase/runtime/; revision=1059559
2009-12-06 22:42:58 +00:00
Aaron J. Seigo
3c7b7a0992 * standardize parent extraction (accept a passed in argument, fall back to the applet)
* use Q[Sequential|Parallel]AniationGroup

svn path=/trunk/KDE/kdebase/runtime/; revision=1059416
2009-12-06 15:34:41 +00:00
Aaron J. Seigo
5b2a547c22 special case pause to use QPauseAnimation
svn path=/trunk/KDE/kdebase/runtime/; revision=1058595
2009-12-04 19:14:40 +00:00
Aaron J. Seigo
243a160dac improve some memory management
svn path=/trunk/KDE/kdebase/runtime/; revision=1058038
2009-12-03 20:58:17 +00:00
Adenilson Cavalcanti Da Silva
64b1a70362 Porting to new animation classes.
svn path=/trunk/KDE/kdebase/runtime/; revision=1058028
2009-12-03 20:42:13 +00:00
Adenilson Cavalcanti Da Silva
7d172a8607 Patches to make kdebase compile with current animation code.
svn path=/trunk/KDE/kdebase/runtime/; revision=1057994
2009-12-03 19:32:42 +00:00
Script Kiddy
68d48c395b SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/runtime/; revision=1057041
2009-12-01 11:16:26 +00:00
Script Kiddy
14769dcf3c SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/runtime/; revision=1056593
2009-11-30 12:31:59 +00:00
André Wöbbeking
83d02aaecb -pedantic
svn path=/trunk/KDE/kdebase/runtime/; revision=1056518
2009-11-30 11:44:47 +00:00
Artur Duque de Souza
4f35912332 Fix the GridLayout bindings as we do not have properties
Now I figured it out: the c++ class has no properties because
the setters need to get the row or the column and this is not
a property. So now this commit fixes the problem of exporting
it as properties in the binding.


svn path=/trunk/KDE/kdebase/runtime/; revision=1055931
2009-11-29 04:38:33 +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
1a607dfab5 * actually process the optional list, not the required list, in the optional loop
* LaunchApp

svn path=/trunk/KDE/kdebase/runtime/; revision=1055423
2009-11-28 00:42:22 +00:00
Aaron J. Seigo
58a46c3d52 now that we've figured out how the gc() works, don't need this around anymore
svn path=/trunk/KDE/kdebase/runtime/; revision=1055417
2009-11-28 00:11:36 +00:00
Aaron J. Seigo
66c5852fb7 don't import extensions twice
svn path=/trunk/KDE/kdebase/runtime/; revision=1055411
2009-11-27 23:58:20 +00:00
Aaron J. Seigo
71b2a8243b failing to load an optional extension shouldn't fail the widget
svn path=/trunk/KDE/kdebase/runtime/; revision=1055409
2009-11-27 23:49:53 +00:00
Aaron J. Seigo
b07076032d clean up api
svn path=/trunk/KDE/kdebase/runtime/; revision=1055360
2009-11-27 21:31:43 +00:00
Andreas Hartmetz
192b733ae2 fix the build
svn path=/trunk/KDE/kdebase/runtime/; revision=1055349
2009-11-27 21:17:11 +00:00
Aaron J. Seigo
ec69b36867 clean up api
svn path=/trunk/KDE/kdebase/runtime/; revision=1055348
2009-11-27 21:15:25 +00:00
Aaron J. Seigo
e28fc530cc provide adjustSize support; annoying and hackish, but it's the only way
svn path=/trunk/KDE/kdebase/runtime/; revision=1055319
2009-11-27 20:47:31 +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
bd7231cd97 clean up api
svn path=/trunk/KDE/kdebase/runtime/; revision=1055310
2009-11-27 20:28:42 +00:00