Commit Graph

626 Commits

Author SHA1 Message Date
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
Marco Martin
9b0b51a7a8 be quiet
svn path=/trunk/KDE/kdebase/runtime/; revision=1187392
2010-10-19 08:45:45 +00:00
Marco Martin
dd4f94ec09 reset the preferred height right before asking for th hint
svn path=/trunk/KDE/kdebase/runtime/; revision=1187391
2010-10-19 08:45:32 +00:00
Marco Martin
994c0cbd9a if the preferred size is less then half m_appletsPerColumn or m_appletsPerRow, divide the corresponding normalAppletSize dimension by 2
svn path=/trunk/KDE/kdebase/runtime/; revision=1187390
2010-10-19 08:35:36 +00:00
Marco Martin
33c9aaf216 be quiet
svn path=/trunk/KDE/kdebase/runtime/; revision=1187303
2010-10-18 21:48:50 +00:00
Marco Martin
d5ef24103d disable the overlay on exppand all
svn path=/trunk/KDE/kdebase/runtime/; revision=1187302
2010-10-18 21:47:42 +00:00
Marco Martin
7dae2f58b8 use ${IMPORTS_INSTALL_DIR}
svn path=/trunk/KDE/kdebase/runtime/; revision=1187247
2010-10-18 19:20:08 +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
Pino Toscano
1cf0db3e2a install the declarative imports plugins in the proper place
(pending an addition to FindKDE4Internal.cmake for a nice variable for this)

svn path=/trunk/KDE/kdebase/runtime/; revision=1186527
2010-10-16 19:28:20 +00:00
Christophe Giboudeaux
d514ff8d30 Don't install files outside CMAKE_INSTALL_PREFIX
svn path=/trunk/KDE/kdebase/runtime/; revision=1186512
2010-10-16 18:29:32 +00:00
Christophe Giboudeaux
258cfab04b Don't install files outside CMAKE_INSTALL_PREFIX
svn path=/trunk/KDE/kdebase/runtime/; revision=1186511
2010-10-16 18:22:02 +00:00
André Wöbbeking
8637029f79 -pedantic
svn path=/trunk/KDE/kdebase/runtime/; revision=1186462
2010-10-16 13:53:51 +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
Laurent Montel
c90b506d8e Fix includes
svn path=/trunk/KDE/kdebase/runtime/; revision=1185374
2010-10-13 07:20:22 +00:00
Laurent Montel
a2513a6a16 Fix forward declaration
svn path=/trunk/KDE/kdebase/runtime/; revision=1185373
2010-10-13 07:19:47 +00:00
Laurent Montel
b6fb9dac52 Fix includes
svn path=/trunk/KDE/kdebase/runtime/; revision=1185371
2010-10-13 07:19:17 +00:00
Laurent Montel
63090af2f4 Fix forward declaration
svn path=/trunk/KDE/kdebase/runtime/; revision=1185370
2010-10-13 07:18:57 +00:00
Laurent Montel
1d9e7ff76f Clean up
svn path=/trunk/KDE/kdebase/runtime/; revision=1185368
2010-10-13 07:17:34 +00:00
Laurent Montel
890ba5f095 Compile it
svn path=/trunk/KDE/kdebase/runtime/; revision=1185366
2010-10-13 07:15:44 +00:00
Laurent Montel
4a75e939b0 Cleanup
svn path=/trunk/KDE/kdebase/runtime/; revision=1185365
2010-10-13 07:12:55 +00:00
Marco Martin
b5510c6569 enable declarative imports build
svn path=/trunk/KDE/kdebase/runtime/; revision=1185281
2010-10-12 20:02:01 +00:00
Marco Martin
2a256d1e74 move the core, graphicslayouts and graphicswidgets imports in runtime
svn path=/trunk/KDE/kdebase/runtime/; revision=1185277
2010-10-12 19:51:57 +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