Commit Graph

585 Commits

Author SHA1 Message Date
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
Aaron J. Seigo
9b47926ebe non fatal errors
svn path=/trunk/KDE/kdebase/runtime/; revision=1171474
2010-09-03 22:36:27 +00:00
Aaron J. Seigo
60bda70955 don't kill the entire plugin just because an addon fails
svn path=/trunk/KDE/kdebase/runtime/; revision=1171464
2010-09-03 22:00:12 +00:00
Aaron J. Seigo
bb4f213215 more simplifications thanks to ScriptEnv
svn path=/trunk/KDE/kdebase/runtime/; revision=1171463
2010-09-03 21:59:55 +00:00
Aaron J. Seigo
bf35cc9176 use the centralized global object methods from ScriptEnv in SimpleJavaScriptApplet; gets rid of a handful of code and makes it more consistent
svn path=/trunk/KDE/kdebase/runtime/; revision=1171438
2010-09-03 21:31:37 +00:00
Aaron J. Seigo
6a9b6a302c save fetching the env multiple times when we already have it
svn path=/trunk/KDE/kdebase/runtime/; revision=1171426
2010-09-03 21:00:25 +00:00
Aaron J. Seigo
871d541d9f avoid infinite loop when connecting to a dataengine, but not reimplementing dataUpdated in the js
svn path=/trunk/KDE/kdebase/runtime/; revision=1171421
2010-09-03 20:42:52 +00:00
Aaron J. Seigo
c9b045fa86 themed colors
svn path=/trunk/KDE/kdebase/runtime/; revision=1170430
2010-08-31 20:47:05 +00:00
Script Kiddy
0c5592a447 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/runtime/; revision=1169873
2010-08-30 07:37:07 +00:00
Script Kiddy
d31a0e4708 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/runtime/; revision=1167725
2010-08-25 07:27:29 +00:00
Script Kiddy
0797d724b4 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/runtime/; revision=1166954
2010-08-23 07:32:57 +00:00
Albert Astals Cid
3822565caa There is no *.cpp so the previous line failed
CCMAIL: aseigo@kde.org

svn path=/trunk/KDE/kdebase/runtime/; revision=1166640
2010-08-22 10:14:40 +00:00
Script Kiddy
81d022f960 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/runtime/; revision=1166621
2010-08-22 08:58:31 +00:00
Script Kiddy
7b53ed0ad5 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/runtime/; revision=1164597
2010-08-17 09:09:15 +00:00
Script Kiddy
6bf4e212d1 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/runtime/; revision=1163863
2010-08-15 07:18:41 +00:00
Aaron J. Seigo
e82fb8db88 add a dash, noticed by Hayro
svn path=/trunk/KDE/kdebase/runtime/; revision=1162802
2010-08-12 18:03:57 +00:00
Script Kiddy
bd370bc62d SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/runtime/; revision=1162562
2010-08-12 07:07:02 +00:00
Script Kiddy
518b146916 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/runtime/; revision=1162023
2010-08-11 07:27:16 +00:00
Script Kiddy
2805bd3aea SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/runtime/; revision=1161505
2010-08-10 09:01:14 +00:00
Aaron J. Seigo
0c6a1d4672 plugin definition
svn path=/trunk/KDE/kdebase/runtime/; revision=1161155
2010-08-09 20:40:56 +00:00
Aaron J. Seigo
39dfc72ef8 the .desktop file
svn path=/trunk/KDE/kdebase/runtime/; revision=1161154
2010-08-09 20:40:38 +00:00
Aaron J. Seigo
4d6e335156 PackageStructure plugin for plasmapkg et al as well as some fixes to the addon package structure definition
svn path=/trunk/KDE/kdebase/runtime/; revision=1161152
2010-08-09 20:40:13 +00:00
Script Kiddy
7ddf64ba43 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/runtime/; revision=1160881
2010-08-09 07:34:28 +00:00
Script Kiddy
e72905af5d SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/runtime/; revision=1160514
2010-08-08 07:03:06 +00:00
Script Kiddy
a846b69826 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/runtime/; revision=1160125
2010-08-07 07:07:22 +00:00
Yuri Chornoivan
307959c614 ws->was
svn path=/trunk/KDE/kdebase/runtime/; revision=1160118
2010-08-07 05:03:08 +00:00
Aaron J. Seigo
4c7b3462c1 new and improved jobs/services mechanisms
svn path=/trunk/KDE/kdebase/runtime/; revision=1160074
2010-08-06 23:07:52 +00:00
Aaron J. Seigo
2bdd15bc2d control the exposed API better
svn path=/trunk/KDE/kdebase/runtime/; revision=1160008
2010-08-06 19:42:08 +00:00
Aaron J. Seigo
0c929d525d Qt ownership of the service object: they are owned by the caller, and so must be deleted by them
svn path=/trunk/KDE/kdebase/runtime/; revision=1160005
2010-08-06 19:34:59 +00:00
Script Kiddy
4ae8247c18 SVN_SILENT made messages (.desktop file, second try)
svn path=/trunk/KDE/kdebase/runtime/; revision=1159765
2010-08-06 07:09:32 +00:00
Yuri Chornoivan
aa827630c2 Plasa->Plasma
svn path=/trunk/KDE/kdebase/runtime/; revision=1159746
2010-08-06 05:07:39 +00:00
Aaron J. Seigo
e09ceabfbd JavaScript DataEngines with JavaScript Services. what's left? custom Jobs.
svn path=/trunk/KDE/kdebase/runtime/; revision=1159737
2010-08-06 04:21:42 +00:00
Aaron J. Seigo
b5669412c5 reorg the sources; was growing increasingly messy and was only going to get "worse" as DataEngine grows
svn path=/trunk/KDE/kdebase/runtime/; revision=1159715
2010-08-06 02:01:40 +00:00
Aaron J. Seigo
87d6ebf09a correct output
svn path=/trunk/KDE/kdebase/runtime/; revision=1159696
2010-08-05 23:40:41 +00:00
Aaron J. Seigo
e68da09400 listAddons now returns an array of objects that contain information about the addons.
svn path=/trunk/KDE/kdebase/runtime/; revision=1159687
2010-08-05 23:17:07 +00:00
Aaron J. Seigo
e96c23c5e1 better return values
svn path=/trunk/KDE/kdebase/runtime/; revision=1159674
2010-08-05 23:00:45 +00:00
Aaron J. Seigo
fe8a1522be * lean on the ScriptEnv for function calling
* allow for event listeners on source and update requests

svn path=/trunk/KDE/kdebase/runtime/; revision=1159648
2010-08-05 21:14:00 +00:00
Aaron J. Seigo
c7e5e9ce79 add a return value to callFunction
svn path=/trunk/KDE/kdebase/runtime/; revision=1159647
2010-08-05 21:13:13 +00:00
Aaron J. Seigo
14ec881538 * correct lower case of "addoncreated" for event listener calling
* semi-failed experiment on adding things to the object (would love to have them availabe when construct() is called). will need to consult with QtScript gurus in their mountaintop fortress dojo

svn path=/trunk/KDE/kdebase/runtime/; revision=1159621
2010-08-05 20:08:26 +00:00
Aaron J. Seigo
2922aec6a7 correct name
svn path=/trunk/KDE/kdebase/runtime/; revision=1159612
2010-08-05 19:41:21 +00:00
Aaron J. Seigo
522bbc4de0 we will want this in code/ .. addons may want to grab other data as well
svn path=/trunk/KDE/kdebase/runtime/; revision=1159611
2010-08-05 19:40:13 +00:00
Aaron J. Seigo
f6d9a84da1 register the servicetype
svn path=/trunk/KDE/kdebase/runtime/; revision=1159609
2010-08-05 19:26:25 +00:00
Aaron J. Seigo
003d75fadb allow the common properties implemented in ScriptEnv (for code sharing, consistency) to be assigned to any object (e.g. the m_self/m_iface script values created in the DataEngine and Runner ScriptEngines)
svn path=/trunk/KDE/kdebase/runtime/; revision=1159605
2010-08-05 19:05:37 +00:00
Aaron J. Seigo
7e92e302af correct signal connection
svn path=/trunk/KDE/kdebase/runtime/; revision=1159601
2010-08-05 18:44:51 +00:00
Aaron J. Seigo
e24fd94056 actually into data this time; not sure how svn managed to get that move wrong
svn path=/trunk/KDE/kdebase/runtime/; revision=1159335
2010-08-05 04:44:20 +00:00
Aaron J. Seigo
f46d99ceec bring back the old hack
svn path=/trunk/KDE/kdebase/runtime/; revision=1159334
2010-08-05 04:42:39 +00:00
Aaron J. Seigo
076c25883d in data/ now
svn path=/trunk/KDE/kdebase/runtime/; revision=1159333
2010-08-05 04:42:21 +00:00
Aaron J. Seigo
6df1d10c0b too much copy and paste :)
svn path=/trunk/KDE/kdebase/runtime/; revision=1159166
2010-08-04 15:46:44 +00:00
Aaron J. Seigo
948fa2720f move the event listener concept to the scriptenv, introduce the concept of addons for javascript components
svn path=/trunk/KDE/kdebase/runtime/; revision=1158928
2010-08-04 03:53:41 +00:00
Script Kiddy
3d8bedb45a SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/runtime/; revision=1158610
2010-08-03 08:28:40 +00:00
Aaron J. Seigo
814448e8ac it's ok if it is an array as well
svn path=/trunk/KDE/kdebase/runtime/; revision=1158468
2010-08-02 19:59:49 +00:00
Script Kiddy
39c4c8d3c6 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/runtime/; revision=1155392
2010-07-27 09:11:06 +00:00
Script Kiddy
d99a645979 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/runtime/; revision=1144877
2010-07-01 06:52:15 +00:00
Aaron J. Seigo
0e4d7f18f4 include()
svn path=/trunk/KDE/kdebase/runtime/; revision=1144460
2010-06-29 23:44:27 +00:00
Aaron J. Seigo
e36fc57156 include functionality
svn path=/trunk/KDE/kdebase/runtime/; revision=1144434
2010-06-29 22:11:15 +00:00
Aaron J. Seigo
c567598828 load the main script
svn path=/trunk/KDE/kdebase/runtime/; revision=1141021
2010-06-22 02:08:33 +00:00
Aaron J. Seigo
b15e66d188 javascript dataengines now actually work
svn path=/trunk/KDE/kdebase/runtime/; revision=1141016
2010-06-22 01:55:53 +00:00
Script Kiddy
cad340213b SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/runtime/; revision=1137475
2010-06-13 06:22:19 +00:00
Script Kiddy
12727c90c9 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/runtime/; revision=1131891
2010-05-29 06:53:39 +00:00
Script Kiddy
d920725c79 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/runtime/; revision=1130726
2010-05-26 06:47:45 +00:00
Aaron J. Seigo
f2ebfa98e3 --buildWarnings;
svn path=/trunk/KDE/kdebase/runtime/; revision=1129249
2010-05-21 18:49:40 +00:00
Aaron J. Seigo
a0822e0beb make Qt::MouseButton in signals work
svn path=/trunk/KDE/kdebase/runtime/; revision=1129248
2010-05-21 18:48:09 +00:00
Aaron J. Seigo
cd753894be support setting full arrays of data
svn path=/trunk/KDE/kdebase/runtime/; revision=1128673
2010-05-19 22:22:52 +00:00
Aaron J. Seigo
a52bd2b9fb avoid an infinite loop
svn path=/trunk/KDE/kdebase/runtime/; revision=1128665
2010-05-19 21:58:18 +00:00
Alex Merry
01c231b642 Remove a Q_DECLARE_METATYPE for DataEngine* - this is now in dataengine.h
svn path=/trunk/KDE/kdebase/runtime/; revision=1126824
2010-05-14 23:17:01 +00:00
Aaron J. Seigo
5b66232873 hook up the JS engine to the JS animation support, and don't make animation loading failure a fatal error
svn path=/trunk/KDE/kdebase/runtime/; revision=1126036
2010-05-13 00:53:49 +00:00
Aaron J. Seigo
d1451eeca0 report and clear exceptions, even when caused by a method connected to a signal
BUG:234811

svn path=/trunk/KDE/kdebase/runtime/; revision=1124155
2010-05-07 23:37:25 +00:00
Aaron J. Seigo
e11acef040 support javascript animations
svn path=/trunk/KDE/kdebase/runtime/; revision=1120789
2010-04-29 23:58:01 +00:00
Aaron J. Seigo
47406f1250 some janitoring
svn path=/trunk/KDE/kdebase/runtime/; revision=1120759
2010-04-29 22:00:19 +00:00
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