Commit Graph

566 Commits

Author SHA1 Message Date
Marco Martin
b6f2751ba2 possible to set drawWallpaper and containmentType 2011-02-22 13:25:03 +01:00
Marco Martin
ea0b394a55 a simple binding for scripted containments 2011-02-20 19:45:40 +01:00
Script Kiddy
5abc23e105 SVN_SILENT made messages (.desktop file) 2011-02-14 16:29:30 +01:00
Script Kiddy
df96956c7b SVN_SILENT made messages (.desktop file) 2011-02-13 20:32:05 +01:00
Aaron Reichman
4037ced032 Fixed spelling errors from krazy (all in comments or debug/warnings, no strings) 2011-02-07 12:29:08 -08:00
Script Kiddy
45a8784f4c SVN_SILENT made messages (.desktop file) 2011-02-03 07:25:02 +01:00
Script Kiddy
d720a8024e SVN_SILENT made messages (.desktop file) 2011-02-02 08:25:29 +01:00
Aaron J. Seigo
906b55c050 unbreak update() method
svn path=/trunk/KDE/kdebase/runtime/; revision=1217812
2011-01-28 19:44:35 +00:00
Marco Martin
ff6234b2ac no spaces before #
svn path=/trunk/KDE/kdebase/runtime/; revision=1216700
2011-01-24 09:34:03 +00:00
Marco Martin
583e3c168b fix setters and getters: set the proper stuff, copy and paste--
svn path=/trunk/KDE/kdebase/runtime/; revision=1216118
2011-01-21 13:29:29 +00:00
Script Kiddy
b6698c3349 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/runtime/; revision=1215655
2011-01-19 06:32:58 +00:00
Script Kiddy
a13812359a SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/runtime/; revision=1213663
2011-01-11 09:07:40 +00:00
Script Kiddy
87d649665e SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/runtime/; revision=1207957
2010-12-20 06:25:07 +00:00
Script Kiddy
b20086135b SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/runtime/; revision=1207443
2010-12-18 06:01:23 +00:00
Script Kiddy
e2fffbfce0 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/runtime/; revision=1207224
2010-12-17 06:24:18 +00:00
Script Kiddy
b8821d3aab SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/runtime/; revision=1206942
2010-12-16 06:59:18 +00:00
Aaron J. Seigo
20d88def72 registerSimpleAppletMetaTypes no longer calls registerNonGuiMetaTypes, so call it explicitly. the i/o example/test plasmoids work again.
svn path=/trunk/KDE/kdebase/runtime/; revision=1206672
2010-12-15 11:15:26 +00:00
Aaron J. Seigo
ad61d813f7 add an explicity conversion to utf8
svn path=/trunk/KDE/kdebase/runtime/; revision=1206671
2010-12-15 11:13:13 +00:00
Script Kiddy
feaa077f5c SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/runtime/; revision=1206377
2010-12-14 07:32:10 +00:00
Aaron J. Seigo
8b17af2880 yes, not used anymore
svn path=/trunk/KDE/kdebase/runtime/; revision=1205344
2010-12-10 22:50:02 +00:00
Aaron J. Seigo
abe038a09e new KRun -> magic. thanks to dfaure for jogging my poor brain.
svn path=/trunk/KDE/kdebase/runtime/; revision=1205333
2010-12-10 22:09:06 +00:00
Script Kiddy
8b67c15937 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/runtime/; revision=1204797
2010-12-09 05:34:09 +00:00
Marco Martin
63a8e6caec deactivate the internal import directory in a (futile?) attempt to prevent binary libraries into /share
svn path=/trunk/KDE/kdebase/runtime/; revision=1204751
2010-12-08 22:45:45 +00:00
Marco Martin
4c6b625f62 don't ue kio on mobile profile
svn path=/trunk/KDE/kdebase/runtime/; revision=1203934
2010-12-05 18:38:36 +00:00
Script Kiddy
c87b8e35b6 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/runtime/; revision=1201312
2010-11-27 10:52:06 +00:00
Script Kiddy
f1f36d19a5 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/runtime/; revision=1199629
2010-11-22 09:54:10 +00:00
Script Kiddy
48307f25d4 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/runtime/; revision=1198064
2010-11-17 09:42:13 +00:00
Christian Ehrlicher
aaf33b765d link on windows
svn path=/trunk/KDE/kdebase/runtime/; revision=1195234
2010-11-10 16:09:18 +00:00
Kevin Ottens
523d2e6128 Add missing debug includes.
svn path=/trunk/KDE/kdebase/runtime/; revision=1195229
2010-11-10 16:03:55 +00:00
Script Kiddy
a525eb7bba SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/runtime/; revision=1194642
2010-11-09 11:22:01 +00:00
Script Kiddy
5cc73ecf16 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/runtime/; revision=1193823
2010-11-07 09:46:18 +00:00
Script Kiddy
1696ca5d8a SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/runtime/; revision=1193244
2010-11-05 09:45:47 +00:00
Script Kiddy
b62bbf4180 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/runtime/; revision=1191852
2010-11-01 09:55:38 +00:00
Script Kiddy
0fe7693cf0 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/runtime/; revision=1191511
2010-10-31 09:11:11 +00:00
Marco Martin
c0cb2a9b2c use m_package->filePath() to resolve the path, includes already security checks (and eventual future fallback)
svn path=/trunk/KDE/kdebase/runtime/; revision=1191099
2010-10-29 15:14:47 +00:00
Script Kiddy
711676009b SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/runtime/; revision=1189884
2010-10-26 09:57:26 +00:00
Marco Martin
2e374dbd8c use a normal QNetworkAccessManager in case of plasmapackage:/
svn path=/trunk/KDE/kdebase/runtime/; revision=1189297
2010-10-24 14:01:56 +00:00
Marco Martin
be83c17415 loadService in SimpleJavaScriptApplet
svn path=/trunk/KDE/kdebase/runtime/; revision=1189270
2010-10-24 12:17:22 +00:00
Script Kiddy
144997ee13 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/runtime/; revision=1189214
2010-10-24 09:03:07 +00:00
Marco Martin
dc0ab1345f loadService() function to load services without dataengines.
will be propagated to the js appletscript too

svn path=/trunk/KDE/kdebase/runtime/; revision=1189005
2010-10-23 17:30:10 +00:00
Script Kiddy
61b3302821 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/runtime/; revision=1188900
2010-10-23 09:30:54 +00:00
Marco Martin
58adcad0a2 add loadUi from the js engine
svn path=/trunk/KDE/kdebase/runtime/; revision=1188406
2010-10-22 10:12:35 +00:00
Marco Martin
bc13065f9a make the authorization global
svn path=/trunk/KDE/kdebase/runtime/; revision=1188264
2010-10-21 20:37:47 +00:00
Marco Martin
ade2a71286 check with the authorization manager whether to allow the import of a certain url (unfortunatel doesn't seem to be any way to block local absolute paths :/)
svn path=/trunk/KDE/kdebase/runtime/; revision=1188241
2010-10-21 19:02:29 +00:00
Marco Martin
155dc2d056 use a custom network access manager, based on the kio one, but has a
special handling for package:/foo  urls

svn path=/trunk/KDE/kdebase/runtime/; revision=1188205
2010-10-21 17:39:05 +00:00
Script Kiddy
2586f3ecb8 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/runtime/; revision=1188056
2010-10-21 08:44:18 +00:00
Marco Martin
5dd5d716dc add the package folder (script) as valid imports dir (will probably have to be contents/imports
svn path=/trunk/KDE/kdebase/runtime/; revision=1187952
2010-10-20 20:55:35 +00:00
Marco Martin
e054fbb8aa don't register print() in the declarative bindings: t' already there
svn path=/trunk/KDE/kdebase/runtime/; revision=1187930
2010-10-20 19:40:30 +00:00
Script Kiddy
81879c1cf4 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/runtime/; revision=1187411
2010-10-19 09:48:57 +00:00
Andreas Hartmetz
f25a4e438f Fix the same typo in CMakeLists.txt
svn path=/trunk/KDE/kdebase/runtime/; revision=1186855
2010-10-17 18:53:53 +00:00
Marco Martin
fd677e7423 correct typo
svn path=/trunk/KDE/kdebase/runtime/; revision=1186804
2010-10-17 16:01:34 +00:00
Script Kiddy
dea66b2269 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/runtime/; revision=1186710
2010-10-17 09:10:25 +00:00
Script Kiddy
ed1935d4ef SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/runtime/; revision=1186391
2010-10-16 08:32:59 +00:00
Marco Martin
3b219d6e39 if the parsing fails, set failed to launch with a reasonable message
svn path=/trunk/KDE/kdebase/runtime/; revision=1186305
2010-10-15 18:56:30 +00:00
Script Kiddy
5d1f73a693 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/runtime/; revision=1186160
2010-10-15 09:10:36 +00:00
Marco Martin
ac187bfc50 build the declarative engine in its new location
svn path=/trunk/KDE/kdebase/runtime/; revision=1185950
2010-10-14 18:43:25 +00:00
Marco Martin
d12cab235a move in runtime
svn path=/trunk/KDE/kdebase/runtime/; revision=1185949
2010-10-14 18:36:53 +00:00
Marco Martin
9a02b74797 move in the proper place
svn path=/trunk/KDE/kdebase/runtime/; revision=1185948
2010-10-14 18:36:09 +00:00
Marco Martin
0ad5112af4 move in runtime
svn path=/trunk/KDE/kdebase/runtime/; revision=1185947
2010-10-14 18:34:46 +00:00
Marco Martin
9de619ed86 remove the QVariant workaround since the QScriptEngine::newVariant() should be fixed now in qt.
it seems to work for now, will keep the js scriptengine unchanged for a while to check for eventual problems.
if this work out will make the merge with the qml engine way easier

svn path=/trunk/KDE/kdebase/runtime/; revision=1185556
2010-10-13 18:08:07 +00:00
Marco Martin
ac8de83bbd first important part for the ml bindings merge:
make appletInterface more generic it could work with QML too
simplejavascriptapplet inherits from an abstract ckass that provides just the virtuals of functions needed by appletinterface so a different scriptengine implementation can be used as well.

The behaviour of the current js bindings should be completely unchanged.

svn path=/trunk/KDE/kdebase/runtime/; revision=1185532
2010-10-13 16:12:43 +00:00
Script Kiddy
017f67bc86 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/runtime/; revision=1184436
2010-10-10 08:43:51 +00:00
Marco Martin
5c3c9106be if event listeners are case insensitive, make them really case
insensitive

svn path=/trunk/KDE/kdebase/runtime/; revision=1182727
2010-10-05 13:36:05 +00:00
Marco Martin
30072e63a3 use args for dataupdated too
svn path=/trunk/KDE/kdebase/runtime/; revision=1182724
2010-10-05 13:32:14 +00:00
Marco Martin
11f05f4df3 don't forget to pass the args
svn path=/trunk/KDE/kdebase/runtime/; revision=1182721
2010-10-05 13:30:38 +00:00
Script Kiddy
fb9a7394af SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/runtime/; revision=1182661
2010-10-05 10:15:44 +00:00
Aaron J. Seigo
a12455114f moved to ScriptEnv some time ago
svn path=/trunk/KDE/kdebase/runtime/; revision=1182527
2010-10-04 20:25:07 +00:00
Marco Martin
65f7d021d1 add QList<double> as the known types: the plotter needs it
svn path=/trunk/KDE/kdebase/runtime/; revision=1182468
2010-10-04 17:23:21 +00:00
Script Kiddy
724af8a44b SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/runtime/; revision=1182318
2010-10-04 08:21:13 +00:00
Aaron J. Seigo
92dce059a1 add activate(), since QGraphicsLayout often does it at rather inopportune times and requires manual intervention
svn path=/trunk/KDE/kdebase/runtime/; revision=1181766
2010-10-02 02:09:38 +00:00
Aaron J. Seigo
a421a1bd6a make it possible to instantiate a plain QGraphicsWidget
svn path=/trunk/KDE/kdebase/runtime/; revision=1181765
2010-10-02 02:05:57 +00:00
Script Kiddy
4b2f78731a SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/runtime/; revision=1180602
2010-09-28 10:17:49 +00:00
Script Kiddy
ad72afdc47 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/runtime/; revision=1179826
2010-09-26 09:11:16 +00:00
Aaron J. Seigo
f968cb8033 fix a small hole whereby a JS applet could load any SVG from disk (or any file, for that matter, though not gain any access to the data therein) instead of being confined just to its package(s) and the Plasma::Theme
svn path=/trunk/KDE/kdebase/runtime/; revision=1179255
2010-09-24 22:51:16 +00:00
Script Kiddy
e7bab22a0a SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/runtime/; revision=1178980
2010-09-24 08:56:03 +00:00
Marco Martin
5b0441484c the event is called configchanged
svn path=/trunk/KDE/kdebase/runtime/; revision=1178639
2010-09-23 12:13:08 +00:00
Marco Martin
107a3d5758 those conditions were actually on the other way around
should be backported?
CCMAIL:aseigo@kde.org

svn path=/trunk/KDE/kdebase/runtime/; revision=1178397
2010-09-22 22:22:37 +00:00
Script Kiddy
3a985eeb1a SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/runtime/; revision=1177799
2010-09-21 10:01:09 +00:00
Aaron J. Seigo
f7c8bd278d make maps-n-hashes in maps-n-hashes work
svn path=/trunk/KDE/kdebase/runtime/; revision=1176437
2010-09-17 18:06:20 +00:00
Aaron J. Seigo
46c28dffcf allow setting empty sources
svn path=/trunk/KDE/kdebase/runtime/; revision=1175923
2010-09-16 07:02:19 +00:00
Aaron J. Seigo
7db67d1164 improve support for arrays and objects passed in to setData
svn path=/trunk/KDE/kdebase/runtime/; revision=1175910
2010-09-16 05:36:28 +00:00
Aaron J. Seigo
0eb578462c SVN_SILENT: ocd
svn path=/trunk/KDE/kdebase/runtime/; revision=1175909
2010-09-16 05:36:10 +00:00
Aaron J. Seigo
23364f9b16 bookkeeping for the dataengine
svn path=/trunk/KDE/kdebase/runtime/; revision=1175803
2010-09-16 01:14:08 +00:00
Aaron J. Seigo
91dafe9793 split out the gui and non-gui bookkeeping; improve the kconfig binding bit
svn path=/trunk/KDE/kdebase/runtime/; revision=1175801
2010-09-16 01:13:34 +00:00
Aaron J. Seigo
fae88be62e typo
svn path=/trunk/KDE/kdebase/runtime/; revision=1175798
2010-09-16 00:33:09 +00:00
Script Kiddy
6456a4f3d6 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/runtime/; revision=1175120
2010-09-14 09:27:13 +00:00
Script Kiddy
fa6c1b4ca6 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/runtime/; revision=1173714
2010-09-10 09:05:39 +00:00
Script Kiddy
631c42cb01 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/runtime/; revision=1172371
2010-09-07 06:20:25 +00:00
Aaron J. Seigo
7a533c24fb support finding paths from the current context
svn path=/trunk/KDE/kdebase/runtime/; revision=1171722
2010-09-04 22:51:48 +00:00
Aaron J. Seigo
0c6ed54a52 use filePathFromScriptContext
svn path=/trunk/KDE/kdebase/runtime/; revision=1171721
2010-09-04 22:51:32 +00:00
Aaron J. Seigo
33c240ffa4 use filePathFromScriptContext
svn path=/trunk/KDE/kdebase/runtime/; revision=1171720
2010-09-04 22:51:13 +00:00
Aaron J. Seigo
f13c8b249c add support for finding a file path from the current context and cleanups around the addons code now that this works reliably
svn path=/trunk/KDE/kdebase/runtime/; revision=1171716
2010-09-04 22:45:55 +00:00
Aaron J. Seigo
3ada6f78e9 allow sub-packages from addons
svn path=/trunk/KDE/kdebase/runtime/; revision=1171702
2010-09-04 22:22:40 +00:00
Laurent Montel
7a4560a677 Need to declare it (make it compile)
svn path=/trunk/KDE/kdebase/runtime/; revision=1171528
2010-09-04 08:12:04 +00:00
Aaron J. Seigo
603096a318 make addon packages work with Svg objects as well (and just about everything else that we might need in future); need to replicate this for DataEngine and Runner now.
svn path=/trunk/KDE/kdebase/runtime/; revision=1171497
2010-09-04 00:27:45 +00:00
Aaron J. Seigo
de6c425f17 package is no longer needed, use the local package if there is one, falling back to the main one when it isn't. overhead is negligable (measured it)
svn path=/trunk/KDE/kdebase/runtime/; revision=1171490
2010-09-04 00:06:18 +00:00
Aaron J. Seigo
d07baae46f set a local package
svn path=/trunk/KDE/kdebase/runtime/; revision=1171489
2010-09-04 00:05:30 +00:00
Aaron J. Seigo
3878087674 define useful paths
svn path=/trunk/KDE/kdebase/runtime/; revision=1171488
2010-09-04 00:05:14 +00:00
Aaron J. Seigo
244ee38b05 simplify the code, less reliance on the applet interface now
svn path=/trunk/KDE/kdebase/runtime/; revision=1171487
2010-09-04 00:04:40 +00:00
Aaron J. Seigo
348343ee0f fix i18np up, avoid fatal errors
svn path=/trunk/KDE/kdebase/runtime/; revision=1171475
2010-09-03 22:36:45 +00:00