Commit Graph

23 Commits

Author SHA1 Message Date
Marco Martin
49bb894a21 use QUrl::fromLocalFile 2014-08-27 13:11:26 +02:00
Marco Martin
20906f6b0d allow the private imports relative to alloewdPath 2014-08-27 12:20:39 +02:00
Marco Martin
78c779c91d remove the rewrite for platform specific stuff
don't bomb if m_engine->importPathList() changes at runtime
2014-05-30 19:47:06 +02:00
Marco Martin
d4b4a9558f use the interceptor on views too
relax its rules a bit and alter it to make it work with shell packages too
2014-05-23 20:03:41 +02:00
Kevin Ottens
72ba7b4146 Apply the astyle-kdelibs script 2014-04-26 01:48:37 +02:00
Marco Martin
96e2522b8a allow urls that are just an UrlString
BUG:333284
2014-04-11 12:55:05 +02:00
Marco Martin
5bb4761c73 use a namespace in libplasmaquick
right now only the library builds
2014-02-19 19:37:30 +01:00
Sebastian Kügler
94540a4262 Workaround seems to have been accidentally disabled
This workaround is needed for applet internal qmldirs to be loaded.

Fixes crasher in notifications applet.
2014-01-26 23:24:07 +01:00
Marco Martin
92fe107329 put namespace around KDeclarative 2014-01-13 21:21:14 +01:00
Aleix Pol
5c88e300bd Small changes
Fix typo on API documentation
Remove pointless debug output
Remove unneeded loop
2014-01-11 11:17:53 +01:00
Marco Martin
6a0525c1c3 ToolTip->ToolTipArea 2014-01-08 18:13:07 +01:00
Marco Martin
798b7665d4 work around a bug in url resolution of qmldir files 2014-01-08 13:06:23 +01:00
Marco Martin
f9f89eda56 qmldir is like anybody else 2014-01-07 12:30:21 +01:00
Marco Martin
569ad6a41d applets can only import from their own private
importing from the private imports of another applet makes the applet fail to load
2014-01-07 11:16:11 +01:00
Marco Martin
86369030de extra whitelist of allowed paths 2013-12-27 14:59:37 +01:00
Aleix Pol
a6ee7bb8fe Remove warning 2013-12-05 19:35:43 +01:00
Aleix Pol
23eacffcb3 Add more information about interception warnings
It's good to know who is trying to be naughty
2013-12-05 19:32:14 +01:00
Marco Martin
990fd3b860 get completely rid of the packageaccessmanager 2013-10-24 13:27:02 +02:00
Marco Martin
6ff8554ae7 manage plasmapackage:/ with the interceptor
not with the networkaccessmanager
2013-10-24 12:47:56 +02:00
Sebastian Kügler
4f5aa5fab4 Disable debug output in hot path, more QString ctor improvements 2013-10-15 02:58:15 +02:00
Sebastian Kügler
0435cc8b47 Speed up interceptor
Using QStringLiterals and explicit QByteArray ctors makes it possible
for the compiler to skip the more expensive QString ctors and use very
cheap ones. This should give the interceptor a nice speedup.
2013-10-15 02:48:58 +02:00
Sebastian Kügler
48d9bcb9f5 static QQmlNetworkAccessManagerFactory creator in urlinterceptor
Adding this one static to PackageUrlInterceptor allows us to hide it
otherwise from the API. Files can also move into private subdir, and the
factory header isn't installed anymore.
2013-10-15 02:15:54 +02:00
Sebastian Kügler
c42974f52e Move PackageUrlInterceptor and PackageAccessManager into PlasmaQuick 2013-10-15 01:08:47 +02:00