Commit Graph

71 Commits

Author SHA1 Message Date
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
e53ecf1788 SVN_SILENT made messages (.desktop file) 2014-09-12 09:02:02 +00:00
l10n daemon script
edc9eae84b SVN_SILENT made messages (.desktop file) 2014-09-10 08:47:20 +00:00
l10n daemon script
9b6205c99e SVN_SILENT made messages (.desktop file) 2014-09-08 08:41:03 +00:00
l10n daemon script
afbd6226c0 SVN_SILENT made messages (.desktop file) 2014-09-07 08:45:23 +00:00
l10n daemon script
2a91cd3969 SVN_SILENT made messages (.desktop file) 2014-09-06 08:54:16 +00:00
l10n daemon script
f6250ff903 SVN_SILENT made messages (.desktop file) 2014-09-05 09:05:29 +00:00
l10n daemon script
dc61b4d5c2 SVN_SILENT made messages (.desktop file) 2014-09-04 08:36:35 +00:00
l10n daemon script
17a60889ab SVN_SILENT made messages (.desktop file) 2014-09-03 08:37:24 +00:00
Marco Martin
04593a3f1b more verbose name 2014-09-01 20:36:06 +02:00
Marco Martin
6be2e9d46d use non const pointers 2014-09-01 19:23:18 +02:00
Marco Martin
7e73be169c add a timeout, in case the cycle was infinite 2014-09-01 16:40:38 +02:00
Marco Martin
36e585d7e7 comments++ 2014-09-01 15:53:58 +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
Aaron Seigo
b9405c5702 tests for isValid and hasValidStructure 2014-08-08 14:12:22 +02:00
Aaron Seigo
c8c342abd3 test removing a defintion on a copy 2014-08-08 08:25:27 +02:00
Aaron Seigo
bc571d98e2 test adding files/directories to copied Package object 2014-08-08 08:25:27 +02:00
Aaron Seigo
cbec4fda2d test more mutators 2014-08-08 08:25:27 +02:00
Aaron Seigo
d376a9ac28 test for mutating after copying Package objects
required and mimetype were not working, and this tests to ensure
that doesn't break again
2014-08-08 08:25:27 +02:00
Aleix Pol
e613662ab5 Make framesvg unit test pass
Revert the changes in contentsRect, it was clearly not the best place to
put the code that contains the code that computes the content size.
Instead move the code in FrameSvgItem, duplicates data and code but works.
2014-07-22 03:14:26 +02:00
Marco Martin
963a900e0e add an autotest for some properties of FrameSvg
shows that contentsRect() is broken in master right now
2014-07-21 19:38:11 +02:00
l10n daemon script
f7208d7d21 SVN_SILENT made messages (.desktop file) 2014-07-17 08:59:54 +00:00
Marco Martin
188d131d77 make the uiloaded tests pass
work in case of every order the various applets and containments emit uiready
REVIEW:119284
2014-07-15 10:16:10 +02:00
Marco Martin
eb172f0d34 Master is broken, mark tests as expect to fail 2014-07-14 20:54:13 +02:00
Marco Martin
081dd241e5 remove done todo 2014-07-14 19:20:11 +02:00
Marco Martin
f54b9dc323 check immutability of every single applet/containment 2014-07-14 19:17:47 +02:00
Marco Martin
200d71c943 wait for sycoca to finish 2014-07-14 18:23:21 +02:00
Marco Martin
2b2764cc44 leak-- 2014-07-14 18:07:58 +02:00
Marco Martin
741618a049 fix copyright 2014-07-14 18:03:37 +02:00
Marco Martin
6666445af5 don't make failed applet block the corona 2014-07-14 14:22:36 +02:00
Marco Martin
bcf5b9aa8e the applets will finish their "ui" asyncronously 2014-07-14 11:23:22 +02:00
Marco Martin
eac81fe1bf custom loader and applet 2014-07-14 11:04:48 +02:00
Marco Martin
719590dea3 add a simple autotest for corona layouts 2014-07-11 22:01:56 +02:00
l10n daemon script
8afadc6410 SVN_SILENT made messages (.desktop file) 2014-07-10 04:23:58 +00:00
l10n daemon script
ee230c4d21 SVN_SILENT made messages (.desktop file) 2014-07-09 03:37:24 +00:00
l10n daemon script
29908f145a SVN_SILENT made messages (.desktop file) 2014-07-01 12:38:20 +00:00
l10n daemon script
b06bb52100 SVN_SILENT made messages (.desktop file) 2014-06-29 08:42:52 +00:00
l10n daemon script
ac4f519188 SVN_SILENT made messages (.desktop file) 2014-06-23 08:35:39 +00:00
l10n daemon script
b092bbed31 SVN_SILENT made messages (.desktop file) 2014-06-12 08:31:04 +00:00
David Edmundson
d6b8ea9161 Add a test that i18nd is used throughout 2014-06-05 13:03:39 +02:00
l10n daemon script
fd1674450e SVN_SILENT made messages (.desktop file) 2014-05-25 08:47:48 +00:00
Marco Martin
fd87694c8d fix build 2014-05-19 18:29:41 +02:00
Patrick Spendrin
aa75425637 remove unneeded file which collides with kf5plasma exports
REVIEW:118153
2014-05-15 23:09:52 +02:00
l10n daemon script
80be35661c SVN_SILENT made messages (.desktop file) 2014-05-15 08:13:55 +00:00
l10n daemon script
1b3060649c SVN_SILENT made messages (.desktop file) 2014-05-14 08:29:33 +00:00
l10n daemon script
eb6a3ea9d4 SVN_SILENT made messages (.desktop file) 2014-05-10 08:17:04 +00:00
l10n daemon script
5713f72542 SVN_SILENT made messages (.desktop file) 2014-05-03 08:34:24 +00:00