Volker Krause
ca77cad251
Make constants const, saves a few symbols in the .data section.
2014-09-28 12:40:40 +02:00
l10n daemon script
88ccf7be3d
SVN_SILENT made messages (.desktop file)
2014-09-22 08:34:39 +00:00
l10n daemon script
f12eb638f0
SVN_SILENT made messages (.desktop file)
2014-09-19 09:02:03 +00:00
Marco Martin
919694a1de
get rid of internal ShellPackage
...
ShellPackage is a plugin in plasma-workspace now, don't duplicate
Change-Id: I77edf63acf6c99314f6062d7ef2f55a129727013
2014-09-15 18:20:34 +02:00
Marco Martin
37b34711d8
make sure applets are sorted by id
...
As with containment, make sure Containment::applets()
is always sorted by id, to have the least sursprises possible
it adds a test
Change-Id: Ib1aeeff7c70bb6969b32b2fef8557889a43edf09
2014-09-15 17:55:36 +02:00
Marco Martin
a159208d54
Ensure corona::containments() is ordered
...
the order in which containments were restored used to be quite random:
ensure that's ordered by id this makes the shell startups be more reproduceable
from one to another, if a new containment arrives, ensure it's inserted
maintaining id order
containment::appelts() will need the same treatment
adds a test as well that checks the order is right
Change-Id: Ie1b278e5b83d7e3645f7293bf6d030aa7f43a221
2014-09-15 17:28:38 +02:00
Marco Martin
052a0c32ae
base on screen() to see what containment is loading
...
if a containment's lastScreen is not -1 (and a valid screen)
*and* its activity() is not the current one, its QML
will *not* be loaded, therefore it would dangle blocking
corona::startupCompleted until the activity is selected
Change-Id: I6757d29240a012377e9ff0a22fe16541ea712ee6
2014-09-15 14:49:18 +02:00
Marco Martin
0b0daa2318
ensure empty containment emit uiReady()
...
Containments with no applets will emit uiReady now
It adds a test as well that checks if this is the case.
There is still a case where the corona doesn't emit startupCompleted()
that's when there is more than one activity, but that, as well the test
will be adressed by another patch on a different part.
Change-Id: I4d83aa612c29fb0f441d11681bc5aba241370bc3
2014-09-13 12:41:24 +02:00
l10n daemon script
edc9eae84b
SVN_SILENT made messages (.desktop file)
2014-09-10 08:47:20 +00:00
l10n daemon script
dc61b4d5c2
SVN_SILENT made messages (.desktop file)
2014-09-04 08:36:35 +00:00
l10n daemon script
cf93514991
SVN_SILENT made messages (.desktop file)
2014-09-02 10:43:04 +00:00
Marco Martin
8c8bd49130
Merge branch 'mart/packageFallback'
...
REVIEW:120029
2014-09-01 20:59:22 +02:00
Marco Martin
6be2e9d46d
use non const pointers
2014-09-01 19:23:18 +02:00
Marco Martin
399156bccc
fix the sycoca query
2014-09-01 19:01:32 +02:00
Marco Martin
5db7db4ae2
crash--
2014-09-01 16:26:34 +02:00
Marco Martin
325ea71a2e
remove the fallback from the metadata
2014-09-01 16:01:10 +02:00
Marco Martin
5ceb8d1197
add an autotest for fallback
...
correct a couple of problems the test catched
2014-09-01 15:51:05 +02:00
Marco Martin
55a6095138
use Floyd cycle detection
2014-09-01 15:15:54 +02:00
Marco Martin
21cf68dbd2
set directly the fallback package not its path
2014-09-01 14:54:10 +02:00
Marco Martin
aba4dcb915
introduce setFallbackPackagePath
...
the fallback package would then be decided by the packagestructure
2014-09-01 14:00:06 +02:00
Nicolás Alvarez
51b77bcd59
Don't use QStringLiteral when concatenating string literals.
...
QStringLiteral("foo" "bar") is documented not to work on MSVC.
2014-08-30 14:46:36 -03:00
Nicolás Alvarez
8515d0ef09
Fix reference to Types::ImmutabilityType.
...
I don't know how Types::Types::ImmutabilityType even worked in gcc...
2014-08-30 14:45:50 -03:00
Aaron Seigo
faf75a95e5
ws for readability
...
REVIEW:119992
2014-08-29 17:24:43 +02:00
Aaron Seigo
cd87344d80
make PackageStructure plugins use the json method as with DataEngines
2014-08-29 17:24:43 +02:00
Aaron Seigo
aa99a4f15c
tidy up the data engine plugin loading code
2014-08-29 17:24:43 +02:00
Aaron Seigo
67cab00bf3
remove the unused ContainmentPackage
2014-08-29 17:24:43 +02:00
Marco Martin
f934b3b6d6
make sure to cleanup applet pointers on deletion
2014-08-29 14:53:56 +02:00
Aaron Seigo
d5f156e968
add an interactive console QML definition
2014-08-28 11:52:49 +02:00
l10n daemon script
ce814a5285
SVN_SILENT made messages (.desktop file)
2014-08-28 08:49:15 +00:00
Marco Martin
5b9bb128d8
ckeck for loops or too deep fallback chains
2014-08-27 17:39:32 +02:00
Aaron Seigo
0401da9ec8
give the applet alternatives QML file an entry
2014-08-26 16:26:07 +02:00
Marco Martin
11094417a3
delete the fallback
2014-08-22 19:27:09 +02:00
Marco Martin
e0db15c96d
crash--
...
use a pointer, so we don't do infinite stack recursion
create the fallback in the proper place
2014-08-22 19:25:49 +02:00
Marco Martin
d369782ae1
ntroduce the concept of package fallback
2014-08-22 18:48:26 +02:00
David Edmundson
f817168d02
Fix remaining doxygen exporting in Plasma.Core
2014-08-13 01:07:55 +02:00
Marco Martin
0ada27caa7
Merge branch 'mart/XPlasmaRootPath'
...
Revieved by: Eike Hein
2014-08-12 10:34:37 +02:00
Marco Martin
90cac04202
recompute actions text on sycoca change
...
it can update the app name it's opening it with
if the file association has been changed
2014-08-11 19:32:30 +02:00
Marco Martin
b5dfbdb0c8
fix build
2014-08-11 17:56:13 +02:00
Marco Martin
7f383b968b
use "open in"
2014-08-10 16:34:19 +02:00
Marco Martin
6a19de43fa
Merge branch 'mart/AssociatedApplicationFromMime'
...
reviewed by: Eike Hein
2014-08-08 16:11:25 +02:00
Marco Martin
52bc83a65a
action in containment as well
2014-08-08 16:09:36 +02:00
Marco Martin
2642fc3329
use open in
2014-08-08 15:45:04 +02:00
Aaron Seigo
928d5e63a5
bool Package::hasValidStructure() const
...
needed to differentiate between packages with structures and without
before path is set
2014-08-08 14:12:22 +02:00
Aaron Seigo
3e61b26178
better variable naming for clarity
2014-08-08 14:12:22 +02:00
Marco Martin
f608e85294
extract the app name and icon we'll be open with
2014-08-08 13:40:34 +02:00
Marco Martin
d266a9594b
valid package internalload even if just structure
...
consider a loaded package valid even if !isvalid() but does have some file
that indicates it has a valid packagestructure.
for how packages are loaded now, a package is never valid at first if has a required file:
because the path gets set only after the package is loaded
this fixes wallpaper loading
2014-08-08 11:29:23 +02:00
Aaron Seigo
b99001ace4
typos in comments
2014-08-08 08:25:27 +02:00
Aaron Seigo
b4f4515d2a
detach on file/directory definition add
2014-08-08 08:25:27 +02:00
Aaron Seigo
402825b301
after detaching, fetch the item from the collection again
...
fixes setting these values on a copy of the package
2014-08-08 08:25:26 +02:00
Marco Martin
2482eb193c
allow applets specify a different root than pluginname
...
introduce X-Plasma-RootPath: it would be used instead of
the plugin name for package root path if present
2014-08-07 16:26:51 +02:00