Commit Graph

355 Commits

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