Commit Graph

425 Commits

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