Commit Graph

296 Commits

Author SHA1 Message Date
Script Kiddy
1aefc78bb0 SVN_SILENT made messages (.desktop file)
svn path=/branches/KDE/4.4/kdebase/runtime/; revision=1075591
2010-01-16 11:47:39 +00:00
Aaron J. Seigo
35249faad6 include files in the caller's context
svn path=/branches/KDE/4.4/kdebase/runtime/; revision=1075375
2010-01-15 23:18:08 +00:00
Aaron J. Seigo
8a90de27ef and now the engine as parameter and lo it builds again
svn path=/branches/KDE/4.4/kdebase/runtime/; revision=1073898
2010-01-13 07:22:57 +00:00
Aaron J. Seigo
33091bd856 in 4.4, the engine isn't a share impl and register enums is just a file local function
svn path=/branches/KDE/4.4/kdebase/runtime/; revision=1073897
2010-01-13 07:20:16 +00:00
Aaron J. Seigo
e1a843f33f add enums to Svg objects
svn path=/branches/KDE/4.4/kdebase/runtime/; revision=1073881
2010-01-13 03:15:17 +00:00
Aaron J. Seigo
ae23922496 unecessary now
svn path=/branches/KDE/4.4/kdebase/runtime/; revision=1073849
2010-01-12 23:38:56 +00:00
Aaron J. Seigo
4bf5eaa024 easing curve is now necessary due to change in animation API from easingCurveType to easingCurve
svn path=/branches/KDE/4.4/kdebase/runtime/; revision=1073847
2010-01-12 23:34:07 +00:00
Aaron J. Seigo
fa9d627844 able to fetch property animation; was missing in js relative to the c++
svn path=/branches/KDE/4.4/kdebase/runtime/; revision=1073569
2010-01-12 11:18:32 +00:00
Aaron J. Seigo
fe764e43a0 the object, not its data.
svn path=/branches/KDE/4.4/kdebase/runtime/; revision=1073566
2010-01-12 11:13:32 +00:00
Aaron J. Seigo
0b9ae6270b easing curve enum
svn path=/branches/KDE/4.4/kdebase/runtime/; revision=1073428
2010-01-12 09:25:14 +00:00
Aaron J. Seigo
5d2b90e6f7 animation direction
svn path=/branches/KDE/4.4/kdebase/runtime/; revision=1073408
2010-01-12 08:06:09 +00:00
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
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