4 Commits

Author SHA1 Message Date
Tim Jenssen
dfbb731676 add exceptionhandler code for connected signals/JS methods
- there wasn't any error information if a C++ triggered signal resulted
   in a JS method which has an error, now it will create an exception for it
 - creating messagebox inside the lib is something what we want to avoid,
   so the developer itself is responsible to catch these exceptions
 - most cases of the installer code does that already

Change-Id: I07486f73be9de13a486de235f14e3a7d7b54f5b1
Reviewed-by: Karsten Heimrich <karsten.heimrich@digia.com>
2013-06-03 16:35:28 +02:00
Tim Jenssen
802fe64d72 fix crash in scriptengine autotest
- destructor deletes components, so there was a double deletion

Change-Id: I5c4f14bb3b964297be542821d10a7ebb27925af5
Reviewed-by: Karsten Heimrich <karsten.heimrich@digia.com>
2013-05-22 18:14:00 +02:00
Tim Jenssen
37e436add7 fix scriptengine autotest
- since we are using one scriptengine the component needs to be
   registered on the packagemangercore to load the script

Change-Id: I931b75e8d68328c2317dd4a55ab9cc298229caba
Reviewed-by: Karsten Heimrich <karsten.heimrich@digia.com>
2013-05-22 17:45:05 +02:00
Tim Jenssen
06449248ab introduce installerscriptengine
- it uses one scriptengine for everything and adds the components
   or/and the install-controller in javascript closure contexts
 - added the gui object to the component script context
 - removed tabController from controlscript context

Change-Id: I3bd6c5dcf470666c30add1b7d04a8fdd094f5f11
Reviewed-by: Iikka Eklund <iikka.eklund@digia.com>
Reviewed-by: Karsten Heimrich <karsten.heimrich@digia.com>
2013-05-16 16:12:52 +02:00