Commit Graph

312 Commits

Author SHA1 Message Date
Aaron J. Seigo
e3e4a580d9 isUserConfiguring
svn path=/trunk/KDE/kdebase/runtime/; revision=1083610
2010-02-01 16:19:32 +00:00
Aaron J. Seigo
0df331ac6c since dataengine objects are shared, we likely will already have a wrapper object for a dataengine so re-use them if they exist.
svn path=/trunk/KDE/kdebase/runtime/; revision=1083608
2010-02-01 16:18:49 +00:00
Aaron J. Seigo
de26219d43 debug should be hooked up to the debug method
svn path=/trunk/KDE/kdebase/runtime/; revision=1083607
2010-02-01 16:13:21 +00:00
Aaron J. Seigo
52eacdf240 another class of API warts found and fixed thanks to documenting: isFoo -> foo for properties
svn path=/trunk/KDE/kdebase/runtime/; revision=1081161
2010-01-27 21:06:03 +00:00
Aaron J. Seigo
3c299a6678 missing enum
svn path=/trunk/KDE/kdebase/runtime/; revision=1077844
2010-01-20 23:52:32 +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
1549eb3528 move DummyService to dataengine.h where so it doesn't need to be duplicated elsewhere
svn path=/trunk/KDE/kdebase/runtime/; revision=1077830
2010-01-20 23:25:24 +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
59ca56a770 extenders
svn path=/trunk/KDE/kdebase/runtime/; revision=1077776
2010-01-20 21:40:55 +00:00
Aaron J. Seigo
95663c101d subs doesn't act on the KLocalizedString itself, but returns a new one. so we need to assign it to our message each time we call subs(..) so that the values are actually captured.
svn path=/trunk/KDE/kdebase/runtime/; revision=1077771
2010-01-20 21:29:57 +00:00
Aaron J. Seigo
f6d908b151 should be dataUpdated like everywhere else in plasma
svn path=/trunk/KDE/kdebase/runtime/; revision=1077767
2010-01-20 21:12:24 +00:00
Aaron J. Seigo
cfb3f78aee include files in the caller's context
svn path=/trunk/KDE/kdebase/runtime/; revision=1075353
2010-01-15 22:23:00 +00:00
Bernhard Beschow
049da47b89 fix compilation when -DKDE4_ENABLE_FINAL=ON is specified
svn path=/trunk/KDE/kdebase/runtime/; revision=1074622
2010-01-14 12:24:40 +00:00
Aaron J. Seigo
2095163074 missing enums on the Svg objects
svn path=/trunk/KDE/kdebase/runtime/; revision=1073879
2010-01-13 03:14:02 +00:00
Aaron J. Seigo
a876582696 no longer necessary
svn path=/trunk/KDE/kdebase/runtime/; revision=1073850
2010-01-12 23:40:35 +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
André Wöbbeking
d685a5f359 -pedantic
svn path=/trunk/KDE/kdebase/runtime/; revision=1073712
2010-01-12 18:26:56 +00:00
Aaron J. Seigo
c3b9c61da1 able to fetch property animation; was missing in js relative to the c++
svn path=/trunk/KDE/kdebase/runtime/; revision=1073568
2010-01-12 11:16:33 +00:00
Aaron J. Seigo
1ea98c3161 the object, not its data. (if the trolls themselves can't get this stuff right ... ;)
svn path=/trunk/KDE/kdebase/runtime/; revision=1073565
2010-01-12 11:11:35 +00:00
Aaron J. Seigo
6d466c00c5 easing curve enum
svn path=/trunk/KDE/kdebase/runtime/; revision=1073427
2010-01-12 09:23:17 +00:00
Aaron J. Seigo
a8c5f32de4 animation direction
svn path=/trunk/KDE/kdebase/runtime/; revision=1073407
2010-01-12 08:04:51 +00:00
Patrick Spendrin
11c94def34 return a value
svn path=/trunk/KDE/kdebase/runtime/; revision=1073100
2010-01-11 15:57:54 +00:00
Aaron J. Seigo
76c882740b ok, include the moc file everywhere it needs to be, with more ifdef uglies
svn path=/trunk/KDE/kdebase/runtime/; revision=1072594
2010-01-10 13:03:53 +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