Commit Graph

371 Commits

Author SHA1 Message Date
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