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
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
Bernhard Beschow
049da47b89
fix compilation when -DKDE4_ENABLE_FINAL=ON is specified
...
svn path=/trunk/KDE/kdebase/runtime/; revision=1074622
2010-01-14 12:24:40 +00:00
Aaron J. Seigo
2095163074
missing enums on the Svg objects
...
svn path=/trunk/KDE/kdebase/runtime/; revision=1073879
2010-01-13 03:14:02 +00:00
Aaron J. Seigo
a876582696
no longer necessary
...
svn path=/trunk/KDE/kdebase/runtime/; revision=1073850
2010-01-12 23:40:35 +00:00
Aaron J. Seigo
a44ebee80d
easing curve is now necessary due to change in animation API from easingCurveType to easingCurve
...
svn path=/trunk/KDE/kdebase/runtime/; revision=1073846
2010-01-12 23:32:56 +00:00
André Wöbbeking
d685a5f359
-pedantic
...
svn path=/trunk/KDE/kdebase/runtime/; revision=1073712
2010-01-12 18:26:56 +00:00
Aaron J. Seigo
c3b9c61da1
able to fetch property animation; was missing in js relative to the c++
...
svn path=/trunk/KDE/kdebase/runtime/; revision=1073568
2010-01-12 11:16:33 +00:00
Aaron J. Seigo
1ea98c3161
the object, not its data. (if the trolls themselves can't get this stuff right ... ;)
...
svn path=/trunk/KDE/kdebase/runtime/; revision=1073565
2010-01-12 11:11:35 +00:00
Aaron J. Seigo
6d466c00c5
easing curve enum
...
svn path=/trunk/KDE/kdebase/runtime/; revision=1073427
2010-01-12 09:23:17 +00:00
Aaron J. Seigo
a8c5f32de4
animation direction
...
svn path=/trunk/KDE/kdebase/runtime/; revision=1073407
2010-01-12 08:04:51 +00:00
Patrick Spendrin
11c94def34
return a value
...
svn path=/trunk/KDE/kdebase/runtime/; revision=1073100
2010-01-11 15:57:54 +00:00
Aaron J. Seigo
76c882740b
ok, include the moc file everywhere it needs to be, with more ifdef uglies
...
svn path=/trunk/KDE/kdebase/runtime/; revision=1072594
2010-01-10 13:03:53 +00:00
Aaron J. Seigo
e8796ab87c
make it possible to turn off all eternal extensions
...
svn path=/trunk/KDE/kdebase/runtime/; revision=1071432
2010-01-08 00:55:46 +00:00
Aaron J. Seigo
f8eb8c96e9
runners now support extensions (and network/local io), though without any access restrictions
...
svn path=/trunk/KDE/kdebase/runtime/; revision=1070945
2010-01-07 02:39:49 +00:00
Aaron J. Seigo
366ca646bd
dataengines now support extensions (and network/local io), though without any access restrictions
...
svn path=/trunk/KDE/kdebase/runtime/; revision=1070944
2010-01-07 02:27:54 +00:00
Aaron J. Seigo
88496997f9
moderately lame way to get conditional compilation of GUI features
...
svn path=/trunk/KDE/kdebase/runtime/; revision=1070943
2010-01-07 02:26:44 +00:00
Aaron J. Seigo
a85e29367a
isolate out the common QScriptEngine setup that is sharable between the various ScriptEngines; this will prevent having to reimplement (or more likely copy and paste) the extensions loading, print, debug, etc. from the applet implementation to get that support in dataengines and runners.
...
svn path=/trunk/KDE/kdebase/runtime/; revision=1070936
2010-01-07 02:04:59 +00:00
Aaron J. Seigo
5946da0f42
implement a specialized findChild; this makes it look like there's the usual findChild, but this one is defanged
...
svn path=/trunk/KDE/kdebase/runtime/; revision=1070552
2010-01-06 00:23:31 +00:00
Aaron J. Seigo
092bf9d3e6
count/itemAt; plugs some holes that made layouts rather unuseful (though getting reports about these things is nice: people are actually using them! wow! :)
...
svn path=/trunk/KDE/kdebase/runtime/; revision=1070549
2010-01-05 23:48:56 +00:00
Aaron J. Seigo
03da062151
adapt to Animation api change
...
svn path=/trunk/KDE/kdebase/runtime/; revision=1069734
2010-01-04 09:24:13 +00:00
Script Kiddy
ef89647363
SVN_SILENT made messages (.desktop file)
...
svn path=/trunk/KDE/kdebase/runtime/; revision=1068962
2010-01-02 11:35:49 +00:00
Script Kiddy
7026780377
SVN_SILENT made messages (.desktop file)
...
svn path=/trunk/KDE/kdebase/runtime/; revision=1068486
2010-01-01 11:09:03 +00:00
Script Kiddy
e8355527c7
SVN_SILENT made messages (.desktop file)
...
svn path=/trunk/KDE/kdebase/runtime/; revision=1068118
2009-12-31 11:34:58 +00:00
Script Kiddy
ff6b504f18
SVN_SILENT made messages (.desktop file)
...
svn path=/trunk/KDE/kdebase/runtime/; revision=1067354
2009-12-29 12:23:43 +00:00