Commit Graph

539 Commits

Author SHA1 Message Date
Aaron J. Seigo
7a533c24fb support finding paths from the current context
svn path=/trunk/KDE/kdebase/runtime/; revision=1171722
2010-09-04 22:51:48 +00:00
Aaron J. Seigo
0c6ed54a52 use filePathFromScriptContext
svn path=/trunk/KDE/kdebase/runtime/; revision=1171721
2010-09-04 22:51:32 +00:00
Aaron J. Seigo
33c240ffa4 use filePathFromScriptContext
svn path=/trunk/KDE/kdebase/runtime/; revision=1171720
2010-09-04 22:51:13 +00:00
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
Marco Martin
2737eb6890 abilitate scroll during drag again
and stop the scroll timer when it should

svn path=/trunk/KDE/kdebase/runtime/; revision=1171546
2010-09-04 10:02:14 +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
Marco Martin
3a6168ca60 too many events were ignored
svn path=/trunk/KDE/kdebase/runtime/; revision=1170427
2010-08-31 20:36:32 +00:00
Marco Martin
5172d406c1 embed a mobile toolbox, if installed
svn path=/trunk/KDE/kdebase/runtime/; revision=1170414
2010-08-31 19:43:05 +00:00
Marco Martin
661a280f09 friends--
svn path=/trunk/KDE/kdebase/runtime/; revision=1170358
2010-08-31 16:55:31 +00:00
Marco Martin
65657a369b don't paint over applets without background
svn path=/trunk/KDE/kdebase/runtime/; revision=1170347
2010-08-31 16:26:25 +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
Marco Martin
3da8feb335 make always possible to drag applets by the titlebar
svn path=/trunk/KDE/kdebase/runtime/; revision=1169120
2010-08-28 13:37:08 +00:00
Marco Martin
58cc96aefb a bit less transparent
svn path=/trunk/KDE/kdebase/runtime/; revision=1169112
2010-08-28 13:28:11 +00:00
Marco Martin
0d97ab30c8 put an overlay over applets different from the current one
svn path=/trunk/KDE/kdebase/runtime/; revision=1169099
2010-08-28 12:53:08 +00:00
Marco Martin
5aed9e0c84 forcedButtonsVisible() -> isActive()
svn path=/trunk/KDE/kdebase/runtime/; revision=1169083
2010-08-28 11:53:06 +00:00
Marco Martin
3c628e0cc5 e the applets geometry to decide the current one, a bit more reliable
svn path=/trunk/KDE/kdebase/runtime/; revision=1169080
2010-08-28 11:43:53 +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
Marco Martin
10dcf20c32 do the snap size update in a single place
svn path=/trunk/KDE/kdebase/runtime/; revision=1167441
2010-08-24 16:23:18 +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
b54d1d3ab7 SVN_SILENT made messages (.desktop file, second try)
svn path=/trunk/KDE/kdebase/runtime/; revision=1166277
2010-08-21 11:58:35 +00:00
Marco Martin
7a21022a03 set the minimum size of the spacer, not only the height
svn path=/trunk/KDE/kdebase/runtime/; revision=1164732
2010-08-17 15:01:22 +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
Marco Martin
329f903d14 tweak the number of minimum lines
svn path=/trunk/KDE/kdebase/runtime/; revision=1164273
2010-08-16 11:31:31 +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
Marco Martin
852f1e7e97 map correctly the requested drag position
svn path=/trunk/KDE/kdebase/runtime/; revision=1163659
2010-08-14 18:35:23 +00:00
Andrew Coles
6af20614ed Proof-reading:
i) 'Builtins:' -> 'Built in:' , the former looking somewhat like a word that doesn't exist

ii) 'widgets layout script' -> 'widget layout script'.  The choice is between using widget
    as an adjective, describing the layout script (as I have done here); or adding a
    possessive apostrophe, i.e. "widgets' layout script".


svn path=/trunk/KDE/kdebase/runtime/; revision=1163648
2010-08-14 18:19:03 +00:00
Marco Martin
c77fc275b5 appletoverlay now just paints and nothing more
remove a ton of duplicate code

svn path=/trunk/KDE/kdebase/runtime/; revision=1163637
2010-08-14 17:23:40 +00:00
Marco Martin
2555cfd2d7 put the move indicator in the center of the VISIBLE area of the applet
svn path=/trunk/KDE/kdebase/runtime/; revision=1163636
2010-08-14 17:19:20 +00:00
Marco Martin
92f2768021 the moving logic of the applet overlay is no more used
svn path=/trunk/KDE/kdebase/runtime/; revision=1163633
2010-08-14 17:10:50 +00:00
Marco Martin
e5d87d09e1 clear the movingapplet pointer when the drag ends
svn path=/trunk/KDE/kdebase/runtime/; revision=1163630
2010-08-14 16:57:04 +00:00
Marco Martin
2696e40489 map properly positions of dragevents
svn path=/trunk/KDE/kdebase/runtime/; revision=1163622
2010-08-14 16:41:43 +00:00
Marco Martin
6f97c52f91 pass drop events to the containment
svn path=/trunk/KDE/kdebase/runtime/; revision=1163610
2010-08-14 16:02:50 +00:00
Marco Martin
46aba1b3e7 drag and drop support in view
remove useless variable in newspaper

svn path=/trunk/KDE/kdebase/runtime/; revision=1163605
2010-08-14 15:39:55 +00:00
Marco Martin
d7dffaa367 the titlebar accepts mouse presses: the overall behaviour improved a bit
svn path=/trunk/KDE/kdebase/runtime/; revision=1163602
2010-08-14 15:22:02 +00:00