Commit Graph

24 Commits

Author SHA1 Message Date
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
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
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
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
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
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
19fcbf7a74 hello, animations.
svn path=/trunk/KDE/kdebase/runtime/; revision=1038309
2009-10-21 02:26:44 +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
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
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
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
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
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
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
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
Aaron J. Seigo
7a47d0ded7 * share the one UiLoader amongst all javascript applets
* use function ptrs to make it a lot easier to add new widget and a lot faster to make them

svn path=/trunk/KDE/kdebase/workspace/plasma/scriptengines/javascript/; revision=907298
2009-01-07 20:35:28 +00:00
Aaron J. Seigo
6a930aea43 make Service work by introducing service("engine", "source")
svn path=/trunk/KDE/kdebase/workspace/plasma/scriptengines/javascript/; revision=906276
2009-01-05 20:48:22 +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