Commit Graph

598 Commits

Author SHA1 Message Date
Script Kiddy
9367040052 SVN_SILENT made messages (.desktop file, second try)
svn path=/trunk/KDE/kdebase/runtime/; revision=1115707
2010-04-17 06:30:04 +00:00
Aaron J. Seigo
be24205109 key modifiers enum
svn path=/trunk/KDE/kdebase/runtime/; revision=1110136
2010-04-02 01:04:06 +00:00
Aaron J. Seigo
dc7f4d59b6 event objects; not sure if this is the fastest way, but in my measuring it takes well under a millisecond per event to do the entire event handling sequence, so the event object reation can't be slow bit ;)
svn path=/trunk/KDE/kdebase/runtime/; revision=1110135
2010-04-02 01:03:55 +00:00
Aaron J. Seigo
282a4f833e ensure the value passed to stretch is always > 0
svn path=/trunk/KDE/kdebase/runtime/; revision=1110071
2010-04-01 19:57:13 +00:00
Aaron J. Seigo
34faad3c3f keep it consistent with the name of callback in the plasmoid object
svn path=/trunk/KDE/kdebase/runtime/; revision=1109758
2010-04-01 00:59:14 +00:00
Aaron J. Seigo
611d61d73f * event handlers, w3c style, for all the plasma callbacks
* added mouse and keyboard events

svn path=/trunk/KDE/kdebase/runtime/; revision=1109755
2010-04-01 00:46:44 +00:00
Aaron J. Seigo
9d78e417c2 save some code; if profiling later shows it too expensive to set up the args lists for some of these calls, then we can check for the existence of the callbacks after first script evaluation and go from there
svn path=/trunk/KDE/kdebase/runtime/; revision=1109723
2010-03-31 21:32:27 +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
d362ce9245 make registerEnums static
svn path=/trunk/KDE/kdebase/runtime/; revision=1107158
2010-03-24 23:31:08 +00:00
Script Kiddy
d10862ddb6 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/runtime/; revision=1104643
2010-03-18 06:54:13 +00:00
Script Kiddy
fd3c8cdaf2 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/runtime/; revision=1101859
2010-03-11 06:51: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
7b3c875217 IntervalAlignment
svn path=/trunk/KDE/kdebase/runtime/; revision=1101332
2010-03-09 22:29:08 +00:00
Aaron J. Seigo
39088b5cd4 make it possible to check for errors externally
svn path=/trunk/KDE/kdebase/runtime/; revision=1101327
2010-03-09 22:18:45 +00:00
Aaron J. Seigo
2003e72a37 not needed atm
svn path=/trunk/KDE/kdebase/runtime/; revision=1101326
2010-03-09 22:18:23 +00:00
Aaron J. Seigo
920eef1666 support for Svg* marshalling, used with e.g. Plasma::SvgWidget
svn path=/trunk/KDE/kdebase/runtime/; revision=1101267
2010-03-09 20:01:51 +00:00
Aaron J. Seigo
e0dbf4f1d8 clean up actions
svn path=/trunk/KDE/kdebase/runtime/; revision=1100980
2010-03-09 05:33:40 +00:00
Aaron J. Seigo
791daecc22 pass on the activate() signal
svn path=/trunk/KDE/kdebase/runtime/; revision=1100979
2010-03-09 05:18:52 +00:00
Script Kiddy
102e3c2bd7 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/runtime/; revision=1098905
2010-03-04 16:46:17 +00:00
Script Kiddy
35f6cbf669 SVN_SILENT made messages (.desktop file, second try)
svn path=/trunk/KDE/kdebase/runtime/; revision=1097842
2010-03-02 09:26:45 +00:00
Aaron J. Seigo
826c9ae1d5 * move kstyles from runtime into workspace
* make a proper library out of the oxygen helper lib
* make the oxygen widget and kwin style link against it

svn path=/trunk/KDE/kdebase/runtime/; revision=1097791
2010-03-02 03:40:34 +00:00
Aaron J. Seigo
a70f54e0d3 check for the app on disk first before going through the sycoca entries
svn path=/trunk/KDE/kdebase/runtime/; revision=1097624
2010-03-01 19:24:42 +00:00
Bruno de Oliveira Abinader
1bd327f133 Added support for passing QEasingCurve::Type enumerator literal string as valid argument on type() js binding
svn path=/trunk/KDE/kdebase/runtime/; revision=1097616
2010-03-01 19:11:32 +00:00
Aaron J. Seigo
6722dbdd97 need to return a QIcon otherwise the poor little binding's head gets confused
svn path=/trunk/KDE/kdebase/runtime/; revision=1097598
2010-03-01 18:39:03 +00:00
Aaron J. Seigo
6d184cf6f8 bump the version number
svn path=/trunk/KDE/kdebase/runtime/; revision=1097185
2010-02-28 16:31:17 +00:00
Aaron J. Seigo
3b16876d4a full popupapplet support
svn path=/trunk/KDE/kdebase/runtime/; revision=1097178
2010-02-28 16:11:48 +00:00
Aaron J. Seigo
b03d2dc7bd most calls don't care if the widget has a layout, so make this behaviour controllable by the caller
svn path=/trunk/KDE/kdebase/runtime/; revision=1097162
2010-02-28 15:32:21 +00:00
Aaron J. Seigo
3ce97e4d1d until there is a better solution (e.g. one that doesn't lead to crashes due to dangling pointers in random QScriptValue objects), don't quietly add layouts to existing QGraphicsWidgets that already have a layout
svn path=/trunk/KDE/kdebase/runtime/; revision=1097160
2010-02-28 15:13:54 +00:00
Aaron J. Seigo
320d5f8f69 misnamed
svn path=/trunk/KDE/kdebase/runtime/; revision=1095395
2010-02-24 08:15:10 +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
16cd227083 fix the extraction of the layout items
svn path=/trunk/KDE/kdebase/runtime/; revision=1094811
2010-02-23 09:41:14 +00:00
Aaron J. Seigo
82d8d472b9 rowspan, colspan and alignment
svn path=/trunk/KDE/kdebase/runtime/; revision=1094761
2010-02-23 08:19:13 +00:00
Richard J. Moore
cc5c47e270 A fairly large patch, but mostly moving things. In order to allow
us to use QScriptEngines from other sources (such as QML) we need
to change the code so that we don't have a custom QScriptEngine
subclass - only one codebase can do that at a time. The scriptenv
is now a normal QObject and contains a QScriptEngine instead of
inheriting from it.

svn path=/trunk/KDE/kdebase/runtime/; revision=1094259
2010-02-22 11:33:21 +00:00
Aaron J. Seigo
c58131cd40 don't show progress; this is usually completely unwaranted
svn path=/trunk/KDE/kdebase/runtime/; revision=1091914
2010-02-17 21:38:39 +00:00
Aaron J. Seigo
5ba47f8c6d these are not getters
svn path=/trunk/KDE/kdebase/runtime/; revision=1091416
2010-02-16 21:18:40 +00:00
Aaron J. Seigo
66d58f1229 show file name in error message; can't backport this to the 4.4 branch since it changes a translated string, will do something slightly different in the 4.4 branch instead.
BUG:227137

svn path=/trunk/KDE/kdebase/runtime/; revision=1091105
2010-02-16 17:48:54 +00:00
Aaron J. Seigo
ce64431653 QRectF, so it can be used in the bindings
svn path=/trunk/KDE/kdebase/runtime/; revision=1090779
2010-02-16 00:10:30 +00:00
Aaron J. Seigo
361ffdbbb9 register the animation enums
svn path=/trunk/KDE/kdebase/runtime/; revision=1090654
2010-02-15 18:08:32 +00:00
Aaron J. Seigo
d0c51018c0 unecessary
svn path=/trunk/KDE/kdebase/runtime/; revision=1090651
2010-02-15 18:03:25 +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
1072174a96 a bit more manual, but it works much better.DataEngine::serviceForSource actually works now, for instance
svn path=/trunk/KDE/kdebase/runtime/; revision=1089368
2010-02-13 00:32:26 +00:00
Aaron J. Seigo
dda89cd693 offer as properties
svn path=/trunk/KDE/kdebase/runtime/; revision=1089246
2010-02-12 19:19:54 +00:00
Script Kiddy
a42176e409 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/runtime/; revision=1085566
2010-02-05 13:31:20 +00:00
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
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
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
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
3cafef2efe clean up the api
svn path=/trunk/KDE/kdebase/runtime/; revision=1055279
2009-11-27 19:01:50 +00:00
Script Kiddy
d42ab28719 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/runtime/; revision=1055086
2009-11-27 10:22:18 +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
65ec9a6bcb fix color api
svn path=/trunk/KDE/kdebase/runtime/; revision=1054898
2009-11-27 03:03:48 +00:00
Aaron J. Seigo
bc053f81c1 fix up the rect api
svn path=/trunk/KDE/kdebase/runtime/; revision=1054897
2009-11-27 02:59:09 +00:00
Aaron J. Seigo
d9770c3128 fix point api up
svn path=/trunk/KDE/kdebase/runtime/; revision=1054896
2009-11-27 02:49:38 +00:00
Aaron J. Seigo
23cba1143e declare the default constructors and width/height as getters/setters
svn path=/trunk/KDE/kdebase/runtime/; revision=1054895
2009-11-27 02:43:45 +00:00
Aaron J. Seigo
b0287c853b Svg and FrameSvg; the Plasma prefix seems superfluous, but keep them for compatibility
svn path=/trunk/KDE/kdebase/runtime/; revision=1054889
2009-11-27 02:21:49 +00:00
Aaron J. Seigo
9b44b1b751 mark these as getters
svn path=/trunk/KDE/kdebase/runtime/; revision=1054887
2009-11-27 02:20:33 +00:00
Script Kiddy
70887a12db SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/runtime/; revision=1053120
2009-11-23 10:50:06 +00:00
Script Kiddy
c110691232 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/runtime/; revision=1052700
2009-11-22 10:43:25 +00:00
Aaron J. Seigo
86b12fc8cb add an accepted signal, differentiate between accepted and finished; more qdialog-like and lets the widget react to a failed file dialog
svn path=/trunk/KDE/kdebase/runtime/; revision=1051186
2009-11-18 23:26:28 +00:00
Aaron J. Seigo
e968acb6e6 better ownership and scriptvalue reusage
svn path=/trunk/KDE/kdebase/runtime/; revision=1051166
2009-11-18 22:58:15 +00:00
Aaron J. Seigo
6bce51466f build
svn path=/trunk/KDE/kdebase/runtime/; revision=1051164
2009-11-18 22:57:09 +00:00
Aaron J. Seigo
71f818d1e7 Restore files
svn path=/trunk/KDE/kdebase/runtime/; revision=1051162
2009-11-18 22:55:46 +00:00
Aaron J. Seigo
969a5bdf28 Restore files
svn path=/trunk/KDE/kdebase/runtime/; revision=1051161
2009-11-18 22:55:29 +00:00
Aaron J. Seigo
441ba69f40 Restore files
svn path=/trunk/KDE/kdebase/runtime/; revision=1051160
2009-11-18 22:55:12 +00:00
Aaron J. Seigo
81d14ee7e5 Restore files
svn path=/trunk/KDE/kdebase/runtime/; revision=1051157
2009-11-18 22:54:54 +00:00
Aaron J. Seigo
54d27a6cbf Restore files
svn path=/trunk/KDE/kdebase/runtime/; revision=1051156
2009-11-18 22:54:36 +00:00
Aaron J. Seigo
d7bd1a7a86 Restore files
svn path=/trunk/KDE/kdebase/runtime/; revision=1051155
2009-11-18 22:54:17 +00:00
Aaron J. Seigo
d7ca740b00 Restore files
svn path=/trunk/KDE/kdebase/runtime/; revision=1051154
2009-11-18 22:53:59 +00:00
Aaron J. Seigo
32d85b7e1f Restore files
svn path=/trunk/KDE/kdebase/runtime/; revision=1051153
2009-11-18 22:53:41 +00:00
Aaron J. Seigo
a28943f2ec Restore files
svn path=/trunk/KDE/kdebase/runtime/; revision=1051152
2009-11-18 22:53:23 +00:00
Aaron J. Seigo
5bb3f72d85 Restore files
svn path=/trunk/KDE/kdebase/runtime/; revision=1051150
2009-11-18 22:53:06 +00:00
Aaron J. Seigo
ed48126f88 Restore files
svn path=/trunk/KDE/kdebase/runtime/; revision=1051149
2009-11-18 22:52:48 +00:00
Aaron J. Seigo
ff00206769 Restore files
svn path=/trunk/KDE/kdebase/runtime/; revision=1051148
2009-11-18 22:52:31 +00:00
Aaron J. Seigo
7bf7dbac2d Restore files
svn path=/trunk/KDE/kdebase/runtime/; revision=1051147
2009-11-18 22:52:14 +00:00
Aaron J. Seigo
2be0601378 Restore files
svn path=/trunk/KDE/kdebase/runtime/; revision=1051146
2009-11-18 22:50:35 +00:00
Aaron J. Seigo
9d9d849d72 add a delayed gc() for convenience so one doesn't have to set up a timer in the script to do that (leaving the timer itself behind in all likliehood *sigh*)
svn path=/trunk/KDE/kdebase/runtime/; revision=1051138
2009-11-18 22:40:38 +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
fc05ac9f3b make timers useful
svn path=/trunk/KDE/kdebase/runtime/; revision=1051107
2009-11-18 21:33:00 +00:00
Script Kiddy
de82ed2c25 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/runtime/; revision=1050436
2009-11-17 10:38:46 +00:00
Aaron J. Seigo
2105167c6c file dialogs work, as do extensions. wicked.
svn path=/trunk/KDE/kdebase/runtime/; revision=1050287
2009-11-17 03:56:06 +00:00
Aaron J. Seigo
cd8258f76c make urls a lot more useful
svn path=/trunk/KDE/kdebase/runtime/; revision=1050286
2009-11-17 03:53:37 +00:00
Darío Andrés Rodríguez
e4952b3639 - Reduce the ammount of unused vars/parameters warnings
svn path=/trunk/KDE/kdebase/runtime/; revision=1049628
2009-11-15 15:41:16 +00:00
Aaron J. Seigo
bdfdfae083 plasmoid.hasExtension(string) -> allows plasmoids to check which extensions actually made it into the run time
svn path=/trunk/KDE/kdebase/runtime/; revision=1048914
2009-11-14 07:33:42 +00:00
Aaron J. Seigo
8ec33f16dd * move around some rather old code; debug() belongs to the plasmoid object, findResource is right out
* add a getter for the loaded extensions

svn path=/trunk/KDE/kdebase/runtime/; revision=1048913
2009-11-14 07:32:00 +00:00
Aaron J. Seigo
c3232a4d4b * internal 'extensions'
* rough in the file dialog

svn path=/trunk/KDE/kdebase/runtime/; revision=1048911
2009-11-14 07:28:16 +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
Aaron J. Seigo
19e1114ed5 QColor
svn path=/trunk/KDE/kdebase/runtime/; revision=1048909
2009-11-14 07:19:37 +00:00
Aaron J. Seigo
b89a2bea57 first run at a file dialog wrapper
svn path=/trunk/KDE/kdebase/runtime/; revision=1048908
2009-11-14 07:19:25 +00:00
Aaron J. Seigo
09f29dc6b4 allow including other files in contents/code/ into the Plasmoid. huzzah.
svn path=/trunk/KDE/kdebase/runtime/; revision=1048899
2009-11-14 05:19:19 +00:00
Aaron J. Seigo
847fb93cc4 scrollwidget
svn path=/trunk/KDE/kdebase/runtime/; revision=1048890
2009-11-14 04:23:58 +00:00
Aaron J. Seigo
04301b12cd Qt::ScrollBarPolicy
svn path=/trunk/KDE/kdebase/runtime/; revision=1048889
2009-11-14 04:22:31 +00:00
Aaron J. Seigo
3e0ed44d89 separators and item backgrounds
svn path=/trunk/KDE/kdebase/runtime/; revision=1048884
2009-11-14 04:15:58 +00:00
Aaron J. Seigo
c3fbefdb38 stop using kdebug for prit
svn path=/trunk/KDE/kdebase/runtime/; revision=1048846
2009-11-14 01:09:44 +00:00
Aaron J. Seigo
782ecaac2b version number
svn path=/trunk/KDE/kdebase/runtime/; revision=1048837
2009-11-14 00:24:14 +00:00
Aaron J. Seigo
cb34ebdf8f add immutabile property
svn path=/trunk/KDE/kdebase/runtime/; revision=1048765
2009-11-13 22:27:30 +00:00
Aaron J. Seigo
8acb059ded some more constraints
svn path=/trunk/KDE/kdebase/runtime/; revision=1048762
2009-11-13 22:21:56 +00:00
Aaron J. Seigo
61a1288379 update can take a rect
svn path=/trunk/KDE/kdebase/runtime/; revision=1048754
2009-11-13 22:10:32 +00:00
Aaron J. Seigo
34a21dc5ef add layout property
svn path=/trunk/KDE/kdebase/runtime/; revision=1048748
2009-11-13 22:04:16 +00:00
Aaron J. Seigo
52e72fe5d2 * background hints
* constify some methods that were missing it

svn path=/trunk/KDE/kdebase/runtime/; revision=1048735
2009-11-13 21:44:51 +00:00
Aaron J. Seigo
27f4697300 and optional ones now too
svn path=/trunk/KDE/kdebase/runtime/; revision=1047346
2009-11-11 02:12:40 +00:00
Aaron J. Seigo
9d91ea5a8c * use failed to launch of fatal errors
* error nicely in in it( )so there is more visible feedback with meaning to the user
* sketch in the beginnings of extension loading

svn path=/trunk/KDE/kdebase/runtime/; revision=1047344
2009-11-11 02:09:25 +00:00
Artur Duque de Souza
dbc0337ba2 Include last method (addCornerAnchors()) to js bindings
THe last commit left out this very important function that is a convenience 
function.


svn path=/trunk/KDE/kdebase/runtime/; revision=1046056
2009-11-07 11:46:58 +00:00
Artur Duque de Souza
abcc5a4ea2 Add missing QGraphicsAnchorLayout methods do JS bindings
The methods anchor() (that returns an anchor between two items) and
addAnchors() (convenience method) were missing on the binding.

The binding for this layout is probably 100% now :)

svn path=/trunk/KDE/kdebase/runtime/; revision=1045801
2009-11-06 20:06:53 +00:00
Artur Duque de Souza
ed65303a82 Add support for QSizePolicy to the plasma JS bindings
This way we can properly setup size policies for anchors,
improving the use cases of the QGraphicsAnchorLayout.


svn path=/trunk/KDE/kdebase/runtime/; revision=1045779
2009-11-06 18:59:41 +00:00
Artur Duque de Souza
a869f09e00 Return the correct object when creating anchors
addAnchor returns the anchor so the developer can set the spacing
and also size policies on the anchor (the last one is not possible
in js yet I think).


svn path=/trunk/KDE/kdebase/runtime/; revision=1045430
2009-11-06 03:51:53 +00:00
André Wöbbeking
26bf81a282 -pedantic
svn path=/trunk/KDE/kdebase/runtime/; revision=1044511
2009-11-03 22:32:46 +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
Script Kiddy
9d6f1e8a8f SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/runtime/; revision=1043345
2009-11-01 10:58:35 +00:00
Aaron J. Seigo
03a314883f support pause
svn path=/trunk/KDE/kdebase/runtime/; revision=1038846
2009-10-22 03:59:07 +00:00
Aaron J. Seigo
c37cfda132 try a bit harder to find a decent parent
svn path=/trunk/KDE/kdebase/runtime/; revision=1038831
2009-10-22 02:17:34 +00:00
Aaron J. Seigo
d3abf0b709 qscriptvalue_cast doesn't work quite as expected
svn path=/trunk/KDE/kdebase/runtime/; revision=1038830
2009-10-22 01:55:53 +00:00
Aaron J. Seigo
f5cb7c67a7 AnimationGroup support and QGraphicsWidget* registration; one can now do things like:
l = new Label;
l.text = 'check this out'
fadeAnim = animation("fade")
fadeAnim.widgetToAnimate = l
rotateAnim = animation("rotate")
animGroup = new AnimationGroup
animGroup.parallel = true
animGroup.add(fadeAnim)
animGroup.add(rotateAnim)
animGroup.start()

and watch the label flip fade out while the whole plasmoid rotates. sweet.

svn path=/trunk/KDE/kdebase/runtime/; revision=1038372
2009-10-21 07:53:49 +00:00
Aaron J. Seigo
2385ce930d document this quirk
svn path=/trunk/KDE/kdebase/runtime/; revision=1038370
2009-10-21 07:51:26 +00:00
Aaron J. Seigo
19fcbf7a74 hello, animations.
svn path=/trunk/KDE/kdebase/runtime/; revision=1038309
2009-10-21 02:26:44 +00:00
Aaron J. Seigo
b4a4c88985 fix svg-in-package
svn path=/trunk/KDE/kdebase/runtime/; revision=1038286
2009-10-21 00:01:26 +00:00
Aaron J. Seigo
7049ed1608 typo
svn path=/trunk/KDE/kdebase/runtime/; revision=1038284
2009-10-20 23:49:48 +00:00
Aaron J. Seigo
bf7843b734 typo
svn path=/trunk/KDE/kdebase/runtime/; revision=1038280
2009-10-20 23:31:12 +00:00
Aaron J. Seigo
752f9f61a0 return a QRectF; the F matters
svn path=/trunk/KDE/kdebase/runtime/; revision=1038279
2009-10-20 23:31:03 +00:00
Aaron J. Seigo
bc26a048ec add rect() which returns the contents rect
svn path=/trunk/KDE/kdebase/runtime/; revision=1038277
2009-10-20 23:30:36 +00:00
Aaron J. Seigo
07f1255677 qpixmap
svn path=/trunk/KDE/kdebase/runtime/; revision=1038273
2009-10-20 23:15:33 +00:00
Script Kiddy
bd32426522 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/runtime/; revision=1037926
2009-10-20 09:35:54 +00:00
Script Kiddy
27a9fba904 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/runtime/; revision=1037463
2009-10-19 09:38:03 +00:00
Aaron J. Seigo
ba8d116dc0 move to kdeexamples
svn path=/trunk/KDE/kdebase/runtime/; revision=1036210
2009-10-16 20:16:31 +00:00
Script Kiddy
6064152c36 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/runtime/; revision=1036004
2009-10-16 09:46:18 +00:00
Script Kiddy
5e93e30dab SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/runtime/; revision=1035097
2009-10-14 10:18:37 +00:00
Script Kiddy
185d44ebe1 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/runtime/; revision=1033020
2009-10-09 09:27:45 +00:00
Script Kiddy
5193630955 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/runtime/; revision=1031172
2009-10-04 09:35:04 +00:00
Script Kiddy
f87d78d0f8 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/runtime/; revision=1029577
2009-09-30 09:40:28 +00:00
Script Kiddy
3c2b37ff92 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/runtime/; revision=1024781
2009-09-17 09:29:41 +00:00
Script Kiddy
e642920b66 SVN_SILENT made messages (.desktop file, second try)
svn path=/trunk/KDE/kdebase/runtime/; revision=1018441
2009-09-01 17:52:51 +00:00
Script Kiddy
bd638a4950 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/runtime/; revision=1015779
2009-08-26 09:51:51 +00:00
Script Kiddy
f700c29d4e SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/runtime/; revision=1014621
2009-08-23 12:06:49 +00:00
Script Kiddy
ba5793e76d SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/runtime/; revision=1011617
2009-08-15 09:44:33 +00:00
Script Kiddy
b939e10fb9 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/runtime/; revision=1011290
2009-08-14 09:29:08 +00:00
Script Kiddy
5a24c2cc3e SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/runtime/; revision=1008778
2009-08-08 11:40:11 +00:00
Laurent Montel
bf6469b023 Fix forward declaration
svn path=/trunk/KDE/kdebase/runtime/; revision=1004945
2009-07-31 07:08:24 +00:00
Script Kiddy
80d0baefb8 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/runtime/; revision=1004472
2009-07-30 09:23:14 +00:00
Script Kiddy
830751924f SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/runtime/; revision=1002175
2009-07-25 10:01:02 +00:00
Script Kiddy
f76ae9cfe0 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/runtime/; revision=1001188
2009-07-22 16:53:21 +00:00
Script Kiddy
3d750b8fea SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/runtime/; revision=999876
2009-07-20 14:31:43 +00:00
Script Kiddy
ea9d2470ac SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/runtime/; revision=996576
2009-07-14 14:39:27 +00:00
Script Kiddy
f7e0bf3ee2 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/runtime/; revision=994437
2009-07-10 15:17:59 +00:00
Script Kiddy
c9c2dfb903 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/runtime/; revision=993876
2009-07-09 15:40:59 +00:00
Burkhard Lück
36e0850ba5 typo fix
svn path=/trunk/KDE/kdebase/runtime/; revision=993303
2009-07-08 12:51:41 +00:00
Script Kiddy
5a9e1bc6ef SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/runtime/; revision=992648
2009-07-07 14:08:46 +00:00
Script Kiddy
80f106a92a SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/runtime/; revision=992294
2009-07-06 14:44:00 +00:00
Script Kiddy
cd0d3ef36e SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/runtime/; revision=991713
2009-07-05 14:00:14 +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
Script Kiddy
5ee36b5e83 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/runtime/; revision=990943
2009-07-03 14:05:35 +00:00
Script Kiddy
015c55671f SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/runtime/; revision=988696
2009-06-28 14:31:57 +00:00
Script Kiddy
ae2993f922 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/runtime/; revision=987253
2009-06-25 18:31:11 +00:00
Script Kiddy
069dea9ae0 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/runtime/; revision=986478
2009-06-24 17:22:21 +00:00
Script Kiddy
bc47e7d6d5 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/runtime/; revision=985817
2009-06-23 14:10:37 +00:00
Script Kiddy
2e0eea6385 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/runtime/; revision=985256
2009-06-22 14:13:47 +00:00
Script Kiddy
b983dac84d SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/runtime/; revision=984807
2009-06-21 13:45:48 +00:00
Script Kiddy
5f92da8281 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/runtime/; revision=984344
2009-06-20 15:46:27 +00:00
Script Kiddy
39a5931702 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/runtime/; revision=983936
2009-06-19 14:08:02 +00:00
Script Kiddy
b371f90d9c SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/runtime/; revision=983098
2009-06-17 14:56:21 +00:00
Aaron J. Seigo
09b22fcc3f SVN_SILENT: remove this debug, crept in during testing
svn path=/trunk/KDE/kdebase/runtime/; revision=982399
2009-06-15 19:29:56 +00:00
Laurent Montel
20ecba73af fixuifiles
svn path=/trunk/KDE/kdebase/runtime/; revision=979644
2009-06-10 11:30:43 +00:00
Script Kiddy
16f3a1ab19 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/runtime/; revision=976724
2009-06-02 13:43:16 +00:00
Script Kiddy
fdf934ba39 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/runtime/; revision=976372
2009-06-01 14:32:51 +00:00
Script Kiddy
bf3bae14ad SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/runtime/; revision=975960
2009-05-31 14:22:18 +00:00
Script Kiddy
6f5e9edf6f SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/runtime/; revision=973640
2009-05-27 15:08:18 +00:00
Aaron J. Seigo
dbce6d687e SVN_SILENT: cleanups made while debugging
svn path=/trunk/KDE/kdebase/runtime/; revision=973263
2009-05-26 18:03:15 +00:00
Aaron J. Seigo
2617a0b82d test config ui handling
svn path=/trunk/KDE/kdebase/runtime/; revision=973262
2009-05-26 18:02:32 +00:00
Script Kiddy
5856954871 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/runtime/; revision=973179
2009-05-26 14:19:07 +00:00
Script Kiddy
52934013cd SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/runtime/; revision=972718
2009-05-25 14:03:35 +00:00
Script Kiddy
cc8b6168ad SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/runtime/; revision=972272
2009-05-24 13:43:21 +00:00
Script Kiddy
96419ab7a1 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/runtime/; revision=970665
2009-05-20 14:39:49 +00:00
Script Kiddy
e0e03b9597 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/runtime/; revision=970096
2009-05-19 14:34:38 +00:00
Script Kiddy
1a3c9c8549 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/runtime/; revision=969583
2009-05-18 13:49:28 +00:00
Script Kiddy
2b286e7c6f SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/runtime/; revision=968808
2009-05-16 16:06:06 +00:00
Script Kiddy
5bcdf719e7 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/runtime/; revision=967973
2009-05-14 16:58:45 +00:00
Script Kiddy
d35cecd837 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/runtime/; revision=967596
2009-05-13 15:24: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
Script Kiddy
0a04d9e469 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/runtime/; revision=966627
2009-05-11 17:12:40 +00:00
Script Kiddy
72dfae34fb SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/runtime/; revision=965299
2009-05-08 13:37:48 +00:00
Pino Toscano
143696b16f SVN_SILENT slightly improve error messages
svn path=/trunk/KDE/kdebase/workspace/plasma/scriptengines/javascript/; revision=962287
2009-05-01 23:28:21 +00:00
Pino Toscano
da4ea3dbe7 encoding fixes for the i18n*() functions:
- take the arguments as utf8 for the ki18n* calls
- don't return a utf8 byte array, but just a plain string (should avoid implicit conversion back and forth to another encoding)

svn path=/trunk/KDE/kdebase/workspace/plasma/scriptengines/javascript/; revision=962285
2009-05-01 23:21:40 +00:00
Aaron J. Seigo
0a0b73ad8b i18nc, i18ncp
svn path=/trunk/KDE/kdebase/workspace/plasma/scriptengines/javascript/; revision=962276
2009-05-01 22:39:52 +00:00
Aaron J. Seigo
d30bb648aa support plurals and varaiable argument list lengths
svn path=/trunk/KDE/kdebase/workspace/plasma/scriptengines/javascript/; revision=962209
2009-05-01 18:46:02 +00:00
Aaron J. Seigo
bee1aaf2a9 take two, doing it differently after further discussion with the i18n people
svn path=/trunk/KDE/kdebase/workspace/plasma/scriptengines/javascript/; revision=962169
2009-05-01 16:19:21 +00:00
Script Kiddy
f91b6166ed SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/runtime/; revision=962137
2009-05-01 13:50:33 +00:00
Aaron J. Seigo
420b3e445b export i18n into the runtime; now i need to figure out how to extract message files from the plasmoids and how to set the translation from a file on disk as part of the package
svn path=/trunk/KDE/kdebase/workspace/plasma/scriptengines/javascript/; revision=961936
2009-05-01 06:12:07 +00:00
Aaron J. Seigo
46733f00cd use Keywords instead of X-KDE-PluginInfo-Category so we can be translated and even support multiple categories!
svn path=/trunk/KDE/kdebase/workspace/plasma/scriptengines/javascript/; revision=961931
2009-05-01 05:36:11 +00:00
Aaron J. Seigo
15cdbe4607 implement the rest of the linear layout api
svn path=/trunk/KDE/kdebase/workspace/plasma/scriptengines/javascript/; revision=961204
2009-04-29 16:55:21 +00:00
Aaron J. Seigo
816cddf4cd simple access to file paths in the package
svn path=/trunk/KDE/kdebase/workspace/plasma/scriptengines/javascript/; revision=960161
2009-04-28 02:14:26 +00:00
Aaron J. Seigo
f9657ce683 * register the url class
* make sure all widgets always have a parent!

svn path=/trunk/KDE/kdebase/workspace/plasma/scriptengines/javascript/; revision=960160
2009-04-28 02:13:21 +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
Aaron J. Seigo
63b3110f66 bind kurl for use with, e.g. WebView
svn path=/trunk/KDE/kdebase/workspace/plasma/scriptengines/javascript/; revision=960158
2009-04-28 02:12:33 +00:00
Script Kiddy
c869d3db6d SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/plasma/scriptengines/javascript/; revision=958205
2009-04-23 14:12:32 +00:00
Albert Astals Cid
5d0e70291b const & for foreach 'iterators'
svn path=/trunk/KDE/kdebase/workspace/plasma/scriptengines/javascript/; revision=952187
2009-04-11 11:11:50 +00:00
Script Kiddy
e24635dece SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/runtime/; revision=951138
2009-04-08 15:00:04 +00:00
Aaron J. Seigo
ed6b876a71 coding style fixes
svn path=/trunk/KDE/kdebase/workspace/plasma/scriptengines/javascript/; revision=950746
2009-04-07 18:14:29 +00:00
Petri Damstén
0e5af26cb0 * Support KUrl, QUrl and QColor in script value conversion
* Use variantToScriptValue in readConfig

svn path=/trunk/KDE/kdebase/workspace/plasma/scriptengines/javascript/; revision=948060
2009-04-02 06:15:22 +00:00
Script Kiddy
8de938b689 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/runtime/; revision=944934
2009-03-26 14:43:45 +00:00
Script Kiddy
95433f81f8 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/runtime/; revision=943873
2009-03-24 15:44:46 +00:00
Pino Toscano
c242667181 extract messages from the qtgui subdirectory as well
svn path=/trunk/KDE/kdebase/workspace/plasma/scriptengines/javascript/; revision=943734
2009-03-24 11:24:20 +00:00
Script Kiddy
dd6509ad05 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/plasma/scriptengines/javascript/; revision=942339
2009-03-21 15:26:07 +00:00
Script Kiddy
1c14ef2d3f SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/runtime/; revision=940939
2009-03-18 14:28:37 +00:00
Script Kiddy
c9ab4f1827 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/runtime/; revision=940525
2009-03-17 15:51:17 +00:00
Script Kiddy
fd21ad2d4e SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/runtime/; revision=939654

The following changes were in SVN, but were removed from git:

M	pics/oxygen/index.theme
2009-03-15 13:46:07 +00:00
Script Kiddy
c0bb2120ba SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/runtime/; revision=939259
2009-03-14 14:36:38 +00:00
Marco Martin
c2a53c12fc add WebView too in the supported widgets
svn path=/trunk/KDE/kdebase/workspace/plasma/scriptengines/javascript/; revision=936993
2009-03-08 20:07:22 +00:00
Script Kiddy
aa49cc2641 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/runtime/; revision=936838

The following changes were in SVN, but were removed from git:

M	pics/oxygen/index.theme
2009-03-08 14:36:22 +00:00
Script Kiddy
efe708f872 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/runtime/; revision=936375
2009-03-07 13:26:46 +00:00
Script Kiddy
296c1c6e63 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/plasma/scriptengines/javascript/; revision=935170
2009-03-04 15:51:12 +00:00
Script Kiddy
232e2e8f3f SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/runtime/; revision=933233
2009-02-28 13:35:50 +00:00
Script Kiddy
4589d2bdff SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/runtime/; revision=932916
2009-02-27 15:36:31 +00:00
Script Kiddy
abecdb2cfe SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/runtime/; revision=931776
2009-02-25 19:33:07 +00:00
Script Kiddy
5614a961f1 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/runtime/; revision=930427
2009-02-23 13:41:51 +00:00
Script Kiddy
b5361fc576 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/runtime/; revision=929949

The following changes were in SVN, but were removed from git:

M	pics/oxygen/index.theme
2009-02-22 13:03:29 +00:00
Marco Martin
5f75ed8359 auto registers all the enums in widgets declared as Q_ENUMS, accessed as
widget.EnumValue

svn path=/trunk/KDE/kdebase/workspace/plasma/scriptengines/javascript/; revision=928727
2009-02-19 22:06:16 +00:00
Script Kiddy
b0df57c67d SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/runtime/; revision=927865
2009-02-18 13:16:56 +00:00
Script Kiddy
6a6a6fb880 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/runtime/; revision=927390
2009-02-17 12:09:45 +00:00
Script Kiddy
f41d8d9488 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/runtime/; revision=926453

The following changes were in SVN, but were removed from git:

M	pics/oxygen/index.theme
2009-02-15 13:05:13 +00:00
Script Kiddy
eb244ad0bb SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/runtime/; revision=926053
2009-02-14 16:04:31 +00:00
Marco Martin
3bc7fa7a01 make VideoWidget::setUsedControls work
separate the enum registering in its own function
use the default controls in the javascript mediaplayer

svn path=/trunk/KDE/kdebase/workspace/plasma/scriptengines/javascript/; revision=925912
2009-02-14 13:57:37 +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
Script Kiddy
398c844dac SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/plasma/scriptengines/javascript/; revision=924734
2009-02-11 14:05:30 +00:00
Christopher Blauvelt
4b4141e4fa setProperty can't take (QString, Qstring) as arguments so convert the second QString to a
QScriptValue.  This allows kdebase to compile.


svn path=/trunk/KDE/kdebase/workspace/plasma/scriptengines/javascript/; revision=924164
2009-02-10 10:39:03 +00:00
Marco Martin
ec7e1e0c73 throw an exception when someone tries to instantiate VideoWidgetwhen
Phonon is not compiled in
thanks richmoore :)

svn path=/trunk/KDE/kdebase/workspace/plasma/scriptengines/javascript/; revision=923937
2009-02-09 19:10:26 +00:00
Marco Martin
a478c54582 don't try to use the videowidget if we don't have phonon
svn path=/trunk/KDE/kdebase/workspace/plasma/scriptengines/javascript/; revision=923932
2009-02-09 18:47:16 +00:00
Marco Martin
de7ebc6d69 an example video player in FIVE lines of javascript code :P
svn path=/trunk/KDE/kdebase/workspace/plasma/scriptengines/javascript/; revision=923866
2009-02-09 16:15:41 +00:00
Marco Martin
0a4aa1f37c add videowidget in UiLoader
svn path=/trunk/KDE/kdebase/workspace/plasma/scriptengines/javascript/; revision=923749
2009-02-09 10:54:26 +00:00
Marco Martin
1f34041d86 now in javascript you can access the applet arguments with
startupArguments

svn path=/trunk/KDE/kdebase/workspace/plasma/scriptengines/javascript/; revision=923312
2009-02-08 15:27:53 +00:00
Chani Armitage
ee8f42c665 change the name of the one to be implemented in js too
svn path=/trunk/KDE/kdebase/workspace/plasma/scriptengines/javascript/; revision=922870
2009-02-07 17:55:08 +00:00
Chani Armitage
480e5f4fb7 remove unused function and name the config function properly so it works
svn path=/trunk/KDE/kdebase/workspace/plasma/scriptengines/javascript/; revision=922868
2009-02-07 17:51:13 +00:00
Script Kiddy
2547125e32 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/runtime/; revision=921684
2009-02-05 14:09:41 +00:00
Script Kiddy
acb1442645 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/plasma/scriptengines/javascript/; revision=920235
2009-02-02 15:35:50 +00:00