Compare commits
1161 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
14a25f9d3f | ||
|
|
4e777aae33 | ||
|
|
5a84452102 | ||
|
|
8aa75ba4a4 | ||
|
|
2f24172bac | ||
|
|
10fba886dc | ||
|
|
046d955f5c | ||
|
|
d0d362664b | ||
|
|
f841450dae | ||
|
|
1fccb23442 | ||
|
|
bfd50ffcd0 | ||
|
|
4f2a171913 | ||
|
|
005d70a73c | ||
|
|
592291cbcb | ||
|
|
7236bd7dd4 | ||
|
|
c02d5f41a5 | ||
|
|
5a7cd815ab | ||
|
|
c2c01bccfc | ||
|
|
fb4728c7ee | ||
|
|
f34621578e | ||
|
|
5e50b1f1fd | ||
|
|
9b62104f30 | ||
|
|
86e42a9cf0 | ||
|
|
3e31d86596 | ||
|
|
ab007e2bb2 | ||
|
|
c45d55b94b | ||
|
|
7048bd8cc9 | ||
|
|
cae6ca987f | ||
|
|
65171cfb3a | ||
|
|
7ec636aeb6 | ||
|
|
c96980a57d | ||
|
|
0959ceeff2 | ||
|
|
1988c9d8c4 | ||
|
|
1eaa1e47fe | ||
|
|
31923b314e | ||
|
|
ee840b62e5 | ||
|
|
363efaa408 | ||
|
|
b0beeea95f | ||
|
|
d0a4650d69 | ||
|
|
ec5a84cf01 | ||
|
|
a057eb8590 | ||
|
|
6a8753b119 | ||
|
|
23fab90a31 | ||
|
|
8fdf9cac6b | ||
|
|
525d12f5a2 | ||
|
|
15d247a708 | ||
|
|
a1d0b85277 | ||
|
|
5e5a77b040 | ||
|
|
e420ae6942 | ||
|
|
0be7c0273e | ||
|
|
864b7cd41e | ||
|
|
78c8f13645 | ||
|
|
c87c456ae0 | ||
|
|
94d9b8fb39 | ||
|
|
2dad027001 | ||
|
|
f97bb240d7 | ||
|
|
80332fb6ab | ||
|
|
287ec2f3df | ||
|
|
eb5824f713 | ||
|
|
eded901f69 | ||
|
|
fd30df82cb | ||
|
|
d8888432c3 | ||
|
|
51712fea53 | ||
|
|
f597f99198 | ||
|
|
74ec37f3c7 | ||
|
|
05178f0fbf | ||
|
|
9ce09713b6 | ||
|
|
4fa6faf608 | ||
|
|
a24ae13d9c | ||
|
|
64dd0d1b45 | ||
|
|
da63b1223c | ||
|
|
36f32c2aef | ||
|
|
063acadc3b | ||
|
|
81c720c05b | ||
|
|
edcdcb945a | ||
|
|
5df6430bb2 | ||
|
|
9a0096d07c | ||
|
|
25d33d6057 | ||
|
|
ab4c6247c7 | ||
|
|
1b69dbb38b | ||
|
|
bfdd488b00 | ||
|
|
54c8809bf4 | ||
|
|
0873665bec | ||
|
|
02b3033ca3 | ||
|
|
a27c8ad90c | ||
|
|
18a58f73de | ||
|
|
d1451a3c90 | ||
|
|
0bef47b2f3 | ||
|
|
ccc05d6658 | ||
|
|
c15de69156 | ||
|
|
8bfb44fd28 | ||
|
|
79d3b84fad | ||
|
|
b97701586e | ||
|
|
b120345fe7 | ||
|
|
ec5c65a530 | ||
|
|
77e7a1fa8d | ||
|
|
f6d45b68ef | ||
|
|
24d76a0d75 | ||
|
|
c3326efe94 | ||
|
|
c0e056bb84 | ||
|
|
8a7df36701 | ||
|
|
39ec6b1bb2 | ||
|
|
30b2406533 | ||
|
|
076d5dda0e | ||
|
|
e78eab46ff | ||
|
|
19a08f8d5e | ||
|
|
c6319117fd | ||
|
|
4c10ed4ada | ||
|
|
b0ab3ca80b | ||
|
|
9f89a2fe76 | ||
|
|
e386bfb550 | ||
|
|
0189a3f1bd | ||
|
|
d3a333e03c | ||
|
|
04d3e282fb | ||
|
|
4be5f970d5 | ||
|
|
31ceff181e | ||
|
|
42abf4101c | ||
|
|
f09cae74fb | ||
|
|
13a6393ec5 | ||
|
|
ace57f9dd4 | ||
|
|
e5117a98c9 | ||
|
|
c1f7af7e6f | ||
|
|
b4c116e2a2 | ||
|
|
a19a960b5e | ||
|
|
29d2094626 | ||
|
|
c3b82e6818 | ||
|
|
1a7c89326b | ||
|
|
3a1f04ac2d | ||
|
|
2c8e95a0f4 | ||
|
|
a9d94ef732 | ||
|
|
2756d17873 | ||
|
|
34d7f84fc2 | ||
|
|
cea9b389bf | ||
|
|
71b1e881d8 | ||
|
|
7ba47e9d44 | ||
|
|
be48cb646c | ||
|
|
47eb5ff1d9 | ||
|
|
b608f5a670 | ||
|
|
e81dc34c4e | ||
|
|
1603e627a3 | ||
|
|
bf978b3e0f | ||
|
|
0fdaf33288 | ||
|
|
367c4153c1 | ||
|
|
395c673a24 | ||
|
|
22de23c651 | ||
|
|
23926d2461 | ||
|
|
c03f31b6ba | ||
|
|
a1060a8538 | ||
|
|
24251bc223 | ||
|
|
f78749d2cd | ||
|
|
0995377d39 | ||
|
|
b9228e64ff | ||
|
|
c4084de716 | ||
|
|
3c667918e7 | ||
|
|
e55745cbcf | ||
|
|
e01ce20431 | ||
|
|
dce8cb83d9 | ||
|
|
8dc956c55b | ||
|
|
6c77921a32 | ||
|
|
55e4748f06 | ||
|
|
5ff9e02517 | ||
|
|
7f7ebc36f5 | ||
|
|
0e5bfc03ce | ||
|
|
b309d333a6 | ||
|
|
ee439382ed | ||
|
|
192212c682 | ||
|
|
148bdfdcd6 | ||
|
|
066c0ba189 | ||
|
|
9651f1cddf | ||
|
|
5feb9b0806 | ||
|
|
44b9ee19e7 | ||
|
|
cc16d19bc4 | ||
|
|
b96c2de2b7 | ||
|
|
f882b80708 | ||
|
|
4d7c014b23 | ||
|
|
1f274699e5 | ||
|
|
697e355f07 | ||
|
|
e89bdfc422 | ||
|
|
c2cc9e62a7 | ||
|
|
1f2ae0d061 | ||
|
|
91a39588c6 | ||
|
|
a642f86d5b | ||
|
|
00cf290574 | ||
|
|
b59952b539 | ||
|
|
88b4ff9809 | ||
|
|
ddd0965a82 | ||
|
|
0a9491ff46 | ||
|
|
32b44e3d87 | ||
|
|
268004b4ff | ||
|
|
6c0f6ae62e | ||
|
|
094f2bb540 | ||
|
|
f4da7f1fb0 | ||
|
|
b058185d3b | ||
|
|
eecb981736 | ||
|
|
46b870e260 | ||
|
|
1ffab7337d | ||
|
|
82fb8c49cf | ||
|
|
ff2d59d32f | ||
|
|
0ced165b3e | ||
|
|
d3378c131a | ||
|
|
0300a85295 | ||
|
|
60a116f3e0 | ||
|
|
ff4d2d488f | ||
|
|
b0852b4cf5 | ||
|
|
c047b4d4de | ||
|
|
6655da9d24 | ||
|
|
cc6abfc366 | ||
|
|
4e3d4c3153 | ||
|
|
c323041040 | ||
|
|
95d600c5f1 | ||
|
|
52a47fbc67 | ||
|
|
4e7c069c1f | ||
|
|
f89ffa513a | ||
|
|
0086916b4d | ||
|
|
df5ef6fe67 | ||
|
|
c9e51dcfc1 | ||
|
|
c05adfd817 | ||
|
|
055410e38f | ||
|
|
6163de378e | ||
|
|
22938cd697 | ||
|
|
a493f81ec2 | ||
|
|
87cb2a7114 | ||
|
|
a875b46a80 | ||
|
|
704ba791fd | ||
|
|
c24d6bd71c | ||
|
|
9b319cf189 | ||
|
|
1a9eb19f0d | ||
|
|
1943cc60b6 | ||
|
|
761c05c358 | ||
|
|
b08c1ada02 | ||
|
|
dab17e381c | ||
|
|
114f66f297 | ||
|
|
f8878833de | ||
|
|
364d4340fd | ||
|
|
6226a6ee8f | ||
|
|
c49edeb09d | ||
|
|
7e794cd94f | ||
|
|
933a62de01 | ||
|
|
23f8e3b4f8 | ||
|
|
3502edf71b | ||
|
|
4d8a371e43 | ||
|
|
01fd3242c4 | ||
|
|
9c289334e9 | ||
|
|
002142539b | ||
|
|
e1d1c10fad | ||
|
|
577bc546d8 | ||
|
|
85a832fb7c | ||
|
|
a9f23a8331 | ||
|
|
5d24599546 | ||
|
|
07d9d3770b | ||
|
|
c9ddb12b5a | ||
|
|
0932ee6051 | ||
|
|
ee1b8465a3 | ||
|
|
26bd164168 | ||
|
|
00e819bd92 | ||
|
|
740d33b378 | ||
|
|
f0b284eda7 | ||
|
|
da370c8b36 | ||
|
|
203b9c7f6b | ||
|
|
7932ec3cc1 | ||
|
|
3f15e02881 | ||
|
|
6fb5c04bde | ||
|
|
578bcc3522 | ||
|
|
99dea76fd1 | ||
|
|
b680540adf | ||
|
|
67f57a443c | ||
|
|
2b3b4f9daf | ||
|
|
ba01a697e6 | ||
|
|
16d81db117 | ||
|
|
4ce92f1a98 | ||
|
|
21c63637bd | ||
|
|
18f764e4d5 | ||
|
|
5930ca8ac7 | ||
|
|
49be4a3be2 | ||
|
|
1e50620f53 | ||
|
|
5e82dc1841 | ||
|
|
33d76962a7 | ||
|
|
6ce1c17ee1 | ||
|
|
8d9b4d3669 | ||
|
|
fb79b8a7f8 | ||
|
|
b0236eaa24 | ||
|
|
19bbff708e | ||
|
|
1399ea13cc | ||
|
|
a25d9fd3b4 | ||
|
|
72d51e4667 | ||
|
|
f6e3838eb2 | ||
|
|
c1fdecae2d | ||
|
|
4104db65bb | ||
|
|
36cb827406 | ||
|
|
69a4558fe4 | ||
|
|
928eae419f | ||
|
|
50edac8ee8 | ||
|
|
945951cda5 | ||
|
|
fa95a638af | ||
|
|
3b6aeb1fc8 | ||
|
|
6543a01418 | ||
|
|
9724e52f1b | ||
|
|
9413a30a08 | ||
|
|
6a9a2559d2 | ||
|
|
78b6f4df01 | ||
|
|
b7e88aa2ef | ||
|
|
224fd21612 | ||
|
|
a6bf33c501 | ||
|
|
306a9421fb | ||
|
|
d5885daf0f | ||
|
|
52b3f7105d | ||
|
|
7f6dc291c0 | ||
|
|
eacb849353 | ||
|
|
367bc401ee | ||
|
|
92af3ea725 | ||
|
|
582ce4cfa0 | ||
|
|
43ae3dfce5 | ||
|
|
ce851a7a8b | ||
|
|
b5b7589b41 | ||
|
|
b638341c14 | ||
|
|
7274417f84 | ||
|
|
1967226c71 | ||
|
|
227ea8ed24 | ||
|
|
e705db8339 | ||
|
|
be65f78174 | ||
|
|
fd6a17f3e6 | ||
|
|
0353d7b6a6 | ||
|
|
a64724be0e | ||
|
|
a0d9d41455 | ||
|
|
84e8ab5b71 | ||
|
|
f5bbb12434 | ||
|
|
a07d2cddd2 | ||
|
|
f1878640c8 | ||
|
|
edf8147561 | ||
|
|
3a9ab3a86f | ||
|
|
8f912ca0c5 | ||
|
|
a827056d28 | ||
|
|
6c90989584 | ||
|
|
08acf5e9aa | ||
|
|
bca295183b | ||
|
|
a400a2e0bb | ||
|
|
8c15839753 | ||
|
|
810024f4c9 | ||
|
|
de7bcca5fe | ||
|
|
6552a48639 | ||
|
|
aee0f0c882 | ||
|
|
e353193fbb | ||
|
|
fb547e9100 | ||
|
|
44289c8781 | ||
|
|
d4a5ab252d | ||
|
|
a3b3c28694 | ||
|
|
976c41a3b8 | ||
|
|
da087292fd | ||
|
|
274f59f93b | ||
|
|
85d810d2cf | ||
|
|
47f151c594 | ||
|
|
7b5ef2186e | ||
|
|
8236dafb96 | ||
|
|
56e5627b6b | ||
|
|
38db0eddab | ||
|
|
710625e2a3 | ||
|
|
a5e7af6c1f | ||
|
|
5fe4d2db2b | ||
|
|
b2c587e2f8 | ||
|
|
40c2d891c1 | ||
|
|
d5ad3a8a70 | ||
|
|
c74382af4f | ||
|
|
0be0111724 | ||
|
|
f0d454b511 | ||
|
|
b79a45403e | ||
|
|
1cc60e755b | ||
|
|
7fb7cc8c46 | ||
|
|
1400889b23 | ||
|
|
44fa9bd141 | ||
|
|
992dffa032 | ||
|
|
5fa7e48c24 | ||
|
|
3b00dfebed | ||
|
|
b42c7e07e6 | ||
|
|
ab7bfabf12 | ||
|
|
ab72644ace | ||
|
|
218fa040c8 | ||
|
|
b8f783f104 | ||
|
|
ae2e3e7fb1 | ||
|
|
edd9d9aee3 | ||
|
|
8c66085621 | ||
|
|
40ab325a37 | ||
|
|
7ae95b14f4 | ||
|
|
5da6103fb5 | ||
|
|
6b5b9db20a | ||
|
|
eb39d144e4 | ||
|
|
cfaaf4a2c4 | ||
|
|
279a738aa6 | ||
|
|
10b55f11a2 | ||
|
|
25065c4151 | ||
|
|
d2657bc154 | ||
|
|
4fde3f4a65 | ||
|
|
e398cfb27c | ||
|
|
3cc670ec29 | ||
|
|
c8d9e8458a | ||
|
|
892419e880 | ||
|
|
13fb49cf39 | ||
|
|
eabe3f968e | ||
|
|
2ca5eaaab9 | ||
|
|
eed3deac67 | ||
|
|
a63863b65c | ||
|
|
748ff13bce | ||
|
|
6c7700c2e7 | ||
|
|
c8ccb014c8 | ||
|
|
f1bd14e8de | ||
|
|
024d01a192 | ||
|
|
b2d02ef0bd | ||
|
|
751d7deda6 | ||
|
|
fff795146e | ||
|
|
c6219581f6 | ||
|
|
d0c5fb2395 | ||
|
|
6c2c81dc83 | ||
|
|
bfdb0c0012 | ||
|
|
d870d6c326 | ||
|
|
c06410e726 | ||
|
|
ef03ebe086 | ||
|
|
a217e8f24c | ||
|
|
c164beb040 | ||
|
|
5171e5880d | ||
|
|
2ef62524d6 | ||
|
|
4bbb29c2b4 | ||
|
|
261776cc78 | ||
|
|
3008142b1b | ||
|
|
152e729768 | ||
|
|
e7c77df59e | ||
|
|
4ff1a13f32 | ||
|
|
b9b18d6120 | ||
|
|
4945ce3c8c | ||
|
|
19aa8c63c0 | ||
|
|
efd11b61c6 | ||
|
|
1facb1f95d | ||
|
|
3db0788a91 | ||
|
|
e068098046 | ||
|
|
f2d289326b | ||
|
|
ae57f27eb9 | ||
|
|
a1767b2f7f | ||
|
|
5e9fcf7537 | ||
|
|
8192cc7eea | ||
|
|
2b8e1f2504 | ||
|
|
9d01f80744 | ||
|
|
1a04c9da67 | ||
|
|
d35e1baee1 | ||
|
|
2f16e50c87 | ||
|
|
3a662f7afb | ||
|
|
903a78623c | ||
|
|
7cd2f39f82 | ||
|
|
949dd5db35 | ||
|
|
49a5c5bb8b | ||
|
|
48aa355eea | ||
|
|
644b2673e0 | ||
|
|
8eed62e639 | ||
|
|
04c8449e5f | ||
|
|
9dd776ff6c | ||
|
|
016868e95a | ||
|
|
5d9c664fba | ||
|
|
a662c85728 | ||
|
|
5c4b7d427d | ||
|
|
12cc8bfd95 | ||
|
|
11c6f20c90 | ||
|
|
c602ec310d | ||
|
|
60a4180dd6 | ||
|
|
8e42721959 | ||
|
|
4553fa1d09 | ||
|
|
b206a3b8e2 | ||
|
|
3bff5a061b | ||
|
|
0bc9b6f44e | ||
|
|
905f70a186 | ||
|
|
a8707b681d | ||
|
|
5d8f9f5346 | ||
|
|
e43ff398cd | ||
|
|
a441b1d562 | ||
|
|
6e2042cd55 | ||
|
|
bb8b58dc66 | ||
|
|
9cd099056b | ||
|
|
0adbc032ae | ||
|
|
22a679fb8c | ||
|
|
35a67fab0a | ||
|
|
fdc8117211 | ||
|
|
24208e6137 | ||
|
|
c0cd255ea3 | ||
|
|
a0375fd000 | ||
|
|
6d847cd5f9 | ||
|
|
6470a3f539 | ||
|
|
c6111d09ce | ||
|
|
d6012854a9 | ||
|
|
46c7026726 | ||
|
|
01ad3c4d81 | ||
|
|
4ac98bde73 | ||
|
|
f42a6d6ef6 | ||
|
|
9055c6ade7 | ||
|
|
1356a5bbaa | ||
|
|
3c320c2736 | ||
|
|
969757199e | ||
|
|
60f1c65a48 | ||
|
|
b87b0e16e6 | ||
|
|
8ed0b1be55 | ||
|
|
91b5f1076f | ||
|
|
8ec2457965 | ||
|
|
82d79b1188 | ||
|
|
e33601becd | ||
|
|
334443adbb | ||
|
|
99579e8a2a | ||
|
|
89438f7ace | ||
|
|
d323ec5dd9 | ||
|
|
bb5cf37330 | ||
|
|
4b0bdd648c | ||
|
|
5588fbe695 | ||
|
|
12ea381205 | ||
|
|
99fbf25fb2 | ||
|
|
b37645e14d | ||
|
|
1ec5a1aaa2 | ||
|
|
3eb7acde25 | ||
|
|
e53e39cfad | ||
|
|
1a17f40233 | ||
|
|
10094a997a | ||
|
|
2af38b093f | ||
|
|
b03c168175 | ||
|
|
1c6bc84d2d | ||
|
|
541239c17b | ||
|
|
74b4ade15a | ||
|
|
205502fd3b | ||
|
|
54e4217216 | ||
|
|
d2579a7754 | ||
|
|
76580840dd | ||
|
|
779e59156c | ||
|
|
b0f0d0b1cd | ||
|
|
858dcb53bd | ||
|
|
9d7db88fcb | ||
|
|
2099b7c6a0 | ||
|
|
4442564ad2 | ||
|
|
12148b5c9b | ||
|
|
d7d77a49fc | ||
|
|
b70c2f5c20 | ||
|
|
033249423f | ||
|
|
0c959e8661 | ||
|
|
79785241ea | ||
|
|
0090862313 | ||
|
|
a4a68c6622 | ||
|
|
49b4c341ae | ||
|
|
7c1f91abdd | ||
|
|
1f2ba7e254 | ||
|
|
8014bcb7c4 | ||
|
|
b1c8bf5954 | ||
|
|
0eb6740bac | ||
|
|
96531b548a | ||
|
|
f3371360ed | ||
|
|
c1b92f9fed | ||
|
|
b028ca0738 | ||
|
|
a9aab30d55 | ||
|
|
efbad3a3c8 | ||
|
|
b6ed959f98 | ||
|
|
477953f965 | ||
|
|
aaf59cece5 | ||
|
|
e88b7e8ec2 | ||
|
|
078b09b5f4 | ||
|
|
0d06fe764a | ||
|
|
94f8c39a9e | ||
|
|
7d1bd9da86 | ||
|
|
ed8cdf6910 | ||
|
|
7ee83847c8 | ||
|
|
52eca1362f | ||
|
|
eec1af09c4 | ||
|
|
c651c8cbf9 | ||
|
|
da6a398624 | ||
|
|
1418512a9f | ||
|
|
dd2859880b | ||
|
|
f38d8ba2e4 | ||
|
|
fdd52a2520 | ||
|
|
e2c0792043 | ||
|
|
e8889530b0 | ||
|
|
23f67d950a | ||
|
|
0bd1f507ab | ||
|
|
2bcfc143f6 | ||
|
|
9dc21bf8a3 | ||
|
|
70f627ba06 | ||
|
|
0683c26d41 | ||
|
|
dbc085d4d4 | ||
|
|
804eaa700e | ||
|
|
646922665d | ||
|
|
62ad2f19e3 | ||
|
|
14f55420f9 | ||
|
|
d4ea0ba6ba | ||
|
|
c06f7b7ecb | ||
|
|
3a50eece9e | ||
|
|
44f0fb0242 | ||
|
|
c210e2b72f | ||
|
|
7b5079f043 | ||
|
|
be4027fb36 | ||
|
|
0f03b47a46 | ||
|
|
c923e0803e | ||
|
|
bd74dbbfc5 | ||
|
|
a0599e75b7 | ||
|
|
f334b6349b | ||
|
|
2ff9fcfa1d | ||
|
|
aa23e4698b | ||
|
|
302fdeb1f9 | ||
|
|
eea8542fc0 | ||
|
|
a36d79e993 | ||
|
|
be5c1b2072 | ||
|
|
f0bd1ea48e | ||
|
|
90d0460a42 | ||
|
|
c15ce2b20b | ||
|
|
b51f210bfa | ||
|
|
105c76c055 | ||
|
|
6b15b7a58f | ||
|
|
fee0aae975 | ||
|
|
b33b638d2d | ||
|
|
1e677a5f0f | ||
|
|
3f3f6c0f39 | ||
|
|
5dd53b48ef | ||
|
|
a215e11b20 | ||
|
|
7d71f9dd2d | ||
|
|
183f1574ca | ||
|
|
504b651bb9 | ||
|
|
c848ff4bdb | ||
|
|
5aa8f5bc01 | ||
|
|
6c5d5a543c | ||
|
|
a8bc849b5d | ||
|
|
5f535b9661 | ||
|
|
eaf865539c | ||
|
|
75448c41d4 | ||
|
|
afc96e2021 | ||
|
|
d7bce80c7b | ||
|
|
7e07d20d31 | ||
|
|
238111be09 | ||
|
|
6f0820a3ed | ||
|
|
1d0d1c249b | ||
|
|
1b5ed68375 | ||
|
|
ce996b3fc8 | ||
|
|
2789522948 | ||
|
|
55a56cc275 | ||
|
|
20101527b2 | ||
|
|
311bd39100 | ||
|
|
fab77a15f0 | ||
|
|
09e7f5c618 | ||
|
|
c5a674b1df | ||
|
|
f83453cfc7 | ||
|
|
1ca8ebebd9 | ||
|
|
7cc73ed46c | ||
|
|
01b4694b47 | ||
|
|
bcc6d59c6b | ||
|
|
b4e2e5f586 | ||
|
|
43ed874789 | ||
|
|
8928c87fc3 | ||
|
|
e3f8a918d6 | ||
|
|
668bb94270 | ||
|
|
89e0543e0a | ||
|
|
6695b50965 | ||
|
|
5c02c85126 | ||
|
|
de99c0c7e7 | ||
|
|
9f0348979b | ||
|
|
5b5cd310b9 | ||
|
|
ea85d68a26 | ||
|
|
fb0a883f7b | ||
|
|
64a0efe29a | ||
|
|
1f361b7260 | ||
|
|
763b06477d | ||
|
|
cd7d2a0778 | ||
|
|
a4be3f304d | ||
|
|
88184d14d6 | ||
|
|
844d8eba47 | ||
|
|
5e65945a53 | ||
|
|
428040762f | ||
|
|
30e0a13bc5 | ||
|
|
275c2b1a6b | ||
|
|
e409814cb6 | ||
|
|
acdb624713 | ||
|
|
3cae8e7124 | ||
|
|
2595b9eae7 | ||
|
|
46a8561925 | ||
|
|
bb74cab887 | ||
|
|
dd7f58b9b9 | ||
|
|
ee080222d8 | ||
|
|
c7aaa3ab28 | ||
|
|
fcde01fd4c | ||
|
|
83be334ee8 | ||
|
|
819f76c2b9 | ||
|
|
783b16676f | ||
|
|
aa6160ab62 | ||
|
|
8bae06802b | ||
|
|
a20f572448 | ||
|
|
f74aa1e9a6 | ||
|
|
86525570aa | ||
|
|
d11ce781d0 | ||
|
|
be5a50a000 | ||
|
|
7309a894bc | ||
|
|
310f29d3fd | ||
|
|
07db03d6bc | ||
|
|
d68c4b379f | ||
|
|
396a12dfde | ||
|
|
c79f4f91a8 | ||
|
|
bec2f7c9b9 | ||
|
|
d4c8cad0e2 | ||
|
|
0ad2bd4b91 | ||
|
|
dcc8f9fa6c | ||
|
|
d7a93c74aa | ||
|
|
408547611b | ||
|
|
a8f0e79046 | ||
|
|
3e45147497 | ||
|
|
48310d3f5e | ||
|
|
1831a975eb | ||
|
|
a766a44bcf | ||
|
|
8165b83a27 | ||
|
|
fa62c270e6 | ||
|
|
c03199e78a | ||
|
|
f346503534 | ||
|
|
287f1c55ff | ||
|
|
1c6523bcec | ||
|
|
337c6d3e4e | ||
|
|
4a57957420 | ||
|
|
c633302f31 | ||
|
|
1315ca2a57 | ||
|
|
2f0474a467 | ||
|
|
db95e7291d | ||
|
|
ae54c27805 | ||
|
|
284285d441 | ||
|
|
2554a67cc7 | ||
|
|
e2cccd8615 | ||
|
|
948a98a871 | ||
|
|
b50d201154 | ||
|
|
25a3ceb94d | ||
|
|
c514fe371a | ||
|
|
9169c70efe | ||
|
|
3c07cea229 | ||
|
|
d3f51c611f | ||
|
|
21123bb029 | ||
|
|
fb8d11650c | ||
|
|
2c250050d5 | ||
|
|
e9b3cbf3f7 | ||
|
|
d31a6e6179 | ||
|
|
26d8c213b0 | ||
|
|
bcb9491f6a | ||
|
|
9d2c3ebad3 | ||
|
|
ad063b0634 | ||
|
|
8765538458 | ||
|
|
dd4aa14a8c | ||
|
|
99814539eb | ||
|
|
dbec98ff48 | ||
|
|
e2e14f2184 | ||
|
|
e85291c4ba | ||
|
|
58a5405343 | ||
|
|
4ba85311da | ||
|
|
3cf7003101 | ||
|
|
ae558a5889 | ||
|
|
0b0b762c6c | ||
|
|
55a4fd752d | ||
|
|
136b699106 | ||
|
|
fd83bf2089 | ||
|
|
75f075feb0 | ||
|
|
817039ddf3 | ||
|
|
6d6deaf6c4 | ||
|
|
9c63b89bac | ||
|
|
2a6e084219 | ||
|
|
ec120cd64c | ||
|
|
a9173b1aa1 | ||
|
|
89f7f75af2 | ||
|
|
8809ac0c4a | ||
|
|
7a03164a9a | ||
|
|
406254cd04 | ||
|
|
f01eeed9d0 | ||
|
|
5b6439e29d | ||
|
|
38954c2193 | ||
|
|
5954fb280c | ||
|
|
8e63652fb3 | ||
|
|
365dfd5380 | ||
|
|
1c70fb3ba4 | ||
|
|
e5af8e87b3 | ||
|
|
bfbec24f43 | ||
|
|
8dd97a358a | ||
|
|
7290afc6fe | ||
|
|
2ba20369ea | ||
|
|
804aef6548 | ||
|
|
85f49b6af4 | ||
|
|
68afc6011d | ||
|
|
524ffcd0e1 | ||
|
|
a7303205b4 | ||
|
|
8a06b2d136 | ||
|
|
7ba8a55fa5 | ||
|
|
ee7dc8e1c5 | ||
|
|
3556f90d68 | ||
|
|
6d984b505d | ||
|
|
8d9336f9f4 | ||
|
|
2b5e694181 | ||
|
|
aa983e4966 | ||
|
|
424b3a9dfc | ||
|
|
5a3bc7af9a | ||
|
|
4501ec10dc | ||
|
|
699ae176df | ||
|
|
9297b3b850 | ||
|
|
cac5f81388 | ||
|
|
28af8068e9 | ||
|
|
a1d64af7b1 | ||
|
|
edbb79b79c | ||
|
|
a000a7b52e | ||
|
|
0a427541d6 | ||
|
|
1c297c56a2 | ||
|
|
6f9bbc431d | ||
|
|
f62626e3eb | ||
|
|
28fcd75494 | ||
|
|
39a89e8fc7 | ||
|
|
38a8096732 | ||
|
|
d358c839ce | ||
|
|
17901e7bc7 | ||
|
|
0ea16c04cc | ||
|
|
f1e0cd1c9c | ||
|
|
e1f404a011 | ||
|
|
69715d2182 | ||
|
|
0285213140 | ||
|
|
1a907f23f0 | ||
|
|
1296be71ed | ||
|
|
0ebcdbbb3f | ||
|
|
891ced0fca | ||
|
|
6276bb3873 | ||
|
|
dbb0cbaff8 | ||
|
|
cfa777260c | ||
|
|
66fc273db6 | ||
|
|
9c9e377cf4 | ||
|
|
f75eb24bfe | ||
|
|
a617a04295 | ||
|
|
dc16f277ce | ||
|
|
07258deaaf | ||
|
|
7b53e0f953 | ||
|
|
2ac764bd1a | ||
|
|
82d2851a6b | ||
|
|
7a3be71452 | ||
|
|
977a513ee5 | ||
|
|
22cbebb7a7 | ||
|
|
72b2e6778a | ||
|
|
08babbf38d | ||
|
|
2ae5ae6962 | ||
|
|
fa6331a40a | ||
|
|
cece465947 | ||
|
|
3f97047abc | ||
|
|
b6d5213880 | ||
|
|
0bcb65db29 | ||
|
|
7734656ae3 | ||
|
|
c14e17e271 | ||
|
|
1f4ea2c60e | ||
|
|
edb4ff6b98 | ||
|
|
279bb47ab4 | ||
|
|
7ef92748ea | ||
|
|
0e6e614318 | ||
|
|
a5b6c3add7 | ||
|
|
fd30d8b0d1 | ||
|
|
5944acf8a6 | ||
|
|
58ace7c774 | ||
|
|
a07444412b | ||
|
|
339f59a4e8 | ||
|
|
4beb9b3efc | ||
|
|
a04cf32a69 | ||
|
|
746c0359d2 | ||
|
|
854852959c | ||
|
|
1e1751e451 | ||
|
|
7cd0179adc | ||
|
|
c0543cdbaf | ||
|
|
d681066dc2 | ||
|
|
b81939bff5 | ||
|
|
f8685c97f1 | ||
|
|
11e06c33db | ||
|
|
c0f2f5bcaa | ||
|
|
bfee6402a6 | ||
|
|
4fac62560e | ||
|
|
d780055b0e | ||
|
|
3f5c53425b | ||
|
|
08f90ce3a6 | ||
|
|
6ee70a852a | ||
|
|
4908dbdee8 | ||
|
|
a6573c21e7 | ||
|
|
aca965f111 | ||
|
|
01a8ab7bf0 | ||
|
|
5dbd987df3 | ||
|
|
e37fc8c6e5 | ||
|
|
7614776e10 | ||
|
|
4ea4c70443 | ||
|
|
ec1946a9ff | ||
|
|
e0332deffc | ||
|
|
afe6caf406 | ||
|
|
1385aab65d | ||
|
|
862a9d938c | ||
|
|
80108727c4 | ||
|
|
84e3d6278d | ||
|
|
a1bf324f47 | ||
|
|
1b8f7059e3 | ||
|
|
b9fe6f2aed | ||
|
|
7794480da0 | ||
|
|
0171b8b998 | ||
|
|
915764cc52 | ||
|
|
381aa701ce | ||
|
|
76653fcedb | ||
|
|
dd0cfec225 | ||
|
|
67b64e0816 | ||
|
|
7552f5e5da | ||
|
|
9af862b455 | ||
|
|
f26f7646ba | ||
|
|
0f36dc03c4 | ||
|
|
36b385ed54 | ||
|
|
5e3f2cf25a | ||
|
|
8b0cfab2b2 | ||
|
|
f678629734 | ||
|
|
635cb4dc7c | ||
|
|
87df74e4d0 | ||
|
|
45c82a2746 | ||
|
|
d3c55c2b7c | ||
|
|
bc3938daa7 | ||
|
|
4d4b509ac3 | ||
|
|
304b484529 | ||
|
|
7025d612c1 | ||
|
|
2eb9406611 | ||
|
|
07034daffe | ||
|
|
dca8ecb929 | ||
|
|
dd2eecec42 | ||
|
|
72ba4213d5 | ||
|
|
11dbacab60 | ||
|
|
4caca2ce1a | ||
|
|
90e39e34e9 | ||
|
|
9a7171068d | ||
|
|
bb2a3590ad | ||
|
|
280dd205d9 | ||
|
|
2a722644b2 | ||
|
|
de69bb9448 | ||
|
|
5c495265f4 | ||
|
|
9cdf2d8150 | ||
|
|
6af1a52305 | ||
|
|
703002bafa | ||
|
|
8104e4bde9 | ||
|
|
763dbfc397 | ||
|
|
e0645b4b63 | ||
|
|
f714759ec7 | ||
|
|
8168e9cca1 | ||
|
|
be470b71ea | ||
|
|
216f39e9bc | ||
|
|
486c4481d8 | ||
|
|
6a154c139f | ||
|
|
d559ac513e | ||
|
|
c2c89c6c6b | ||
|
|
af76c77b18 | ||
|
|
c4be5107df | ||
|
|
c13218d647 | ||
|
|
4ce55a44ba | ||
|
|
905891683b | ||
|
|
f4019f5a5a | ||
|
|
b7aec51ed8 | ||
|
|
e6b9c16d04 | ||
|
|
488943aaa0 | ||
|
|
c3f6153f94 | ||
|
|
87aa3d7c60 | ||
|
|
144a2832b9 | ||
|
|
26c01cefa7 | ||
|
|
91b58bdb3f | ||
|
|
b97d9a4fa9 | ||
|
|
83a1663750 | ||
|
|
76f571f9a9 | ||
|
|
8c53f6ff49 | ||
|
|
08ab13dc4b | ||
|
|
aac9b770fc | ||
|
|
552d979039 | ||
|
|
30494eee75 | ||
|
|
eb0782ec90 | ||
|
|
c6edde1365 | ||
|
|
5c918a486c | ||
|
|
6e3b5e075a | ||
|
|
8b8d78f456 | ||
|
|
3cb2e74d12 | ||
|
|
41082c5e81 | ||
|
|
e939c6f91a | ||
|
|
5da634ed70 | ||
|
|
bee3605275 | ||
|
|
243567bdbb | ||
|
|
52b22b3c58 | ||
|
|
edfefabcf8 | ||
|
|
9c627782d4 | ||
|
|
cb1a9aef3c | ||
|
|
ba9f46ef49 | ||
|
|
5502087017 | ||
|
|
5510135084 | ||
|
|
ddecca47fd | ||
|
|
1eabdee253 | ||
|
|
029535bcea | ||
|
|
4ef89abac7 | ||
|
|
8af257a4cd | ||
|
|
a124dcd4e8 | ||
|
|
fbae2d7330 | ||
|
|
f296fad4bb | ||
|
|
e2d8105f0d | ||
|
|
287c073f00 | ||
|
|
ff1706c729 | ||
|
|
138a060df2 | ||
|
|
6678beadab | ||
|
|
09793fcd59 | ||
|
|
cab503bb2b | ||
|
|
f20db6bbc1 | ||
|
|
d50d4d1a6f | ||
|
|
59b722f663 | ||
|
|
b65fd11a36 | ||
|
|
36c9a29a7b | ||
|
|
6ba098d26d | ||
|
|
fbf25c1529 | ||
|
|
214261e764 | ||
|
|
b74cfcfec5 | ||
|
|
bc67756ff6 | ||
|
|
eccd12923b | ||
|
|
8f9ad524c2 | ||
|
|
5d958a4c07 | ||
|
|
22128781be | ||
|
|
34dcff4ce2 | ||
|
|
bcbdfdd7ab | ||
|
|
ee0125eff6 | ||
|
|
e6409b09a3 | ||
|
|
9c015de00b | ||
|
|
3a04778f97 | ||
|
|
53aea61184 | ||
|
|
b424247daf | ||
|
|
097be61c9f | ||
|
|
b349caeab1 | ||
|
|
593636f135 | ||
|
|
70ea325c75 | ||
|
|
1a9a9cb402 | ||
|
|
9d05a53c89 | ||
|
|
56794e8d7c | ||
|
|
2b2eb853fc | ||
|
|
bf2181f111 | ||
|
|
bd0882ccd5 | ||
|
|
0c2564df86 | ||
|
|
824c97d618 | ||
|
|
271d4fa22e | ||
|
|
a3a0202752 | ||
|
|
0da93f3eb5 | ||
|
|
78c7dc95a0 | ||
|
|
f7b7669be6 | ||
|
|
f607cf55c6 | ||
|
|
6a33b6ec33 | ||
|
|
e1bf2cc626 | ||
|
|
d15c0d046b | ||
|
|
f20bbe05bd | ||
|
|
c560fc5959 | ||
|
|
ee9e814f41 | ||
|
|
9e3d22af2d | ||
|
|
c8ff747194 | ||
|
|
da64639f39 | ||
|
|
faa0f06fe3 | ||
|
|
2b9262f653 | ||
|
|
01ccf679bd | ||
|
|
b55d6742fe | ||
|
|
fc6350cb9a | ||
|
|
9b8b656720 | ||
|
|
8c9f8bdb6d | ||
|
|
be367eb94b | ||
|
|
aa577ce038 | ||
|
|
53b0b96627 | ||
|
|
5173de5798 | ||
|
|
6457153bda | ||
|
|
f8f188add4 | ||
|
|
b6dfdc4c57 | ||
|
|
385f35d356 | ||
|
|
afa48b0cc2 | ||
|
|
94ed186b4c | ||
|
|
8fc1b38359 | ||
|
|
9e66de07f9 | ||
|
|
2a53abbc20 | ||
|
|
ba9a07c2f2 | ||
|
|
e4ae794bac | ||
|
|
01e8c9dbbe | ||
|
|
c5739b4d53 | ||
|
|
158859006b | ||
|
|
1a5a015eb4 | ||
|
|
1acea008c2 | ||
|
|
59a1cc4596 | ||
|
|
39dc4cb46c | ||
|
|
9c3b9b84ae | ||
|
|
a8dbed989b | ||
|
|
78be11b3cf | ||
|
|
6f8824eacb | ||
|
|
12b5ad644d | ||
|
|
35b0a2b116 | ||
|
|
6442c7e5f7 | ||
|
|
8a394dd471 | ||
|
|
02e990b2c5 | ||
|
|
64177df3d9 | ||
|
|
df219dd09b | ||
|
|
59969c3574 | ||
|
|
3b9f4bf825 | ||
|
|
80ecd71fc7 | ||
|
|
5519bc7cbb | ||
|
|
c31f0885a4 | ||
|
|
2501cc57d5 | ||
|
|
fbb46b64f9 | ||
|
|
4d08605b5b | ||
|
|
764c352c8f | ||
|
|
61b9b44fa7 | ||
|
|
7d6eb61f1b | ||
|
|
6d17b9de4e | ||
|
|
ce45c7876c | ||
|
|
7cc3e7e392 | ||
|
|
3a165ad654 | ||
|
|
f04cf3a31e | ||
|
|
4fbfe7bfef | ||
|
|
46a82b69c5 | ||
|
|
0de3ae32c0 | ||
|
|
06e7864174 | ||
|
|
8b60726a48 | ||
|
|
855597bfd9 | ||
|
|
827a31fa02 | ||
|
|
20f04ec6d9 | ||
|
|
83180310af | ||
|
|
829bb7c5a9 | ||
|
|
9feb9b5262 | ||
|
|
f2cfabcdb8 | ||
|
|
6b2be97c22 | ||
|
|
616d8d39b7 | ||
|
|
69b3e9b10d | ||
|
|
0224c3fbd6 | ||
|
|
78c1bc6b22 | ||
|
|
993d33f779 | ||
|
|
0aa403eca3 | ||
|
|
8d1c7ddb9f | ||
|
|
01e601db14 | ||
|
|
0184993795 | ||
|
|
6b0abed4ee | ||
|
|
bf8b9246fe | ||
|
|
6d4f712f83 | ||
|
|
d2ebcd065e | ||
|
|
28e15f5420 | ||
|
|
a315a3b5c7 | ||
|
|
10766182bc | ||
|
|
351f9aedfb | ||
|
|
6757db2e53 | ||
|
|
55c9c3bf12 | ||
|
|
e52d43f68b | ||
|
|
cfe9a2476b | ||
|
|
efa8d7670c | ||
|
|
8ddba655df | ||
|
|
5c13115fee | ||
|
|
f948ce4015 | ||
|
|
2cbcd52f35 | ||
|
|
09405fc9f7 | ||
|
|
651517c3a7 | ||
|
|
b0801d469c | ||
|
|
8fbc0e7c46 | ||
|
|
d8728a56bc | ||
|
|
3e150ee47b | ||
|
|
ddc337303c | ||
|
|
574b6f49c2 | ||
|
|
18a06506b8 | ||
|
|
bbdc7423b9 | ||
|
|
379da4ed0d | ||
|
|
cff0fcee16 | ||
|
|
94346fc12f | ||
|
|
257896969a | ||
|
|
fe665f234d | ||
|
|
bb76365a3a | ||
|
|
dfe30c16c1 | ||
|
|
824a14ebb5 | ||
|
|
6fa9b86ee7 | ||
|
|
0955e8cc1f | ||
|
|
aad21c8c4a | ||
|
|
b7433ccad6 | ||
|
|
04642b3c6d | ||
|
|
85ac69dbe6 | ||
|
|
c491b9c064 | ||
|
|
d52d32f1b3 | ||
|
|
591b71cf18 | ||
|
|
76e9687d6f |
4
.gitattributes
vendored
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
.tag export-subst
|
||||||
|
.gitignore export-ignore
|
||||||
|
.gitattributes export-ignore
|
||||||
|
.commit-template export-ignore
|
||||||
6
.gitignore
vendored
@@ -1,4 +1,8 @@
|
|||||||
*build*
|
.gitmodules
|
||||||
|
*build*/
|
||||||
*flymake*
|
*flymake*
|
||||||
CMakeLists.txt.user*
|
CMakeLists.txt.user*
|
||||||
*.patch
|
*.patch
|
||||||
|
*~
|
||||||
|
*.autosave
|
||||||
|
doc/_build/*
|
||||||
|
|||||||
3
.gitmodules
vendored
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
[submodule "doc/ocdoc"]
|
||||||
|
path = doc/ocdoc
|
||||||
|
url = https://github.com/owncloud/documentation
|
||||||
106
CMakeLists.txt
@@ -4,22 +4,43 @@ project(mirall)
|
|||||||
set(PACKAGE "mirall")
|
set(PACKAGE "mirall")
|
||||||
set( CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake/modules )
|
set( CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake/modules )
|
||||||
|
|
||||||
if ( EXISTS ${CMAKE_SOURCE_DIR}/OEM.cmake )
|
include(Warnings)
|
||||||
include ( ${CMAKE_SOURCE_DIR}/OEM.cmake )
|
|
||||||
|
set(OEM_THEME_DIR "" CACHE STRING "Define directory containing a custom theme")
|
||||||
|
if ( EXISTS ${OEM_THEME_DIR}/OEM.cmake )
|
||||||
|
include ( ${OEM_THEME_DIR}/OEM.cmake )
|
||||||
else ()
|
else ()
|
||||||
include ( ${CMAKE_SOURCE_DIR}/OWNCLOUD.cmake )
|
include ( ${CMAKE_SOURCE_DIR}/OWNCLOUD.cmake )
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
if (NOT DEFINED APPLICATION_SHORTNAME)
|
||||||
|
set ( APPLICATION_SHORTNAME ${APPLICATION_NAME} )
|
||||||
|
endif()
|
||||||
|
|
||||||
include(${CMAKE_SOURCE_DIR}/VERSION.cmake)
|
include(${CMAKE_SOURCE_DIR}/VERSION.cmake)
|
||||||
configure_file( ${CMAKE_SOURCE_DIR}/src/mirall/version.h.in "${CMAKE_CURRENT_BINARY_DIR}/src/mirall/version.h" )
|
configure_file( ${CMAKE_SOURCE_DIR}/src/mirall/version.h.in "${CMAKE_CURRENT_BINARY_DIR}/src/mirall/version.h" )
|
||||||
include_directories(BEFORE "${CMAKE_CURRENT_BINARY_DIR}/src/mirall/")
|
include_directories(BEFORE ${CMAKE_CURRENT_BINARY_DIR} "${CMAKE_CURRENT_BINARY_DIR}/src/mirall/")
|
||||||
|
|
||||||
include(GNUInstallDirs)
|
include(GNUInstallDirs)
|
||||||
## stupid, we should upstream this
|
include(DefineInstallationPaths)
|
||||||
if("${CMAKE_INSTALL_PREFIX}" STREQUAL "/usr" AND NOT CMAKE_INSTALL_SYSCONFDIR)
|
include(GetGitRevisionDescription)
|
||||||
set(CMAKE_INSTALL_SYSCONFDIR "/etc")
|
get_git_head_revision(GIT_REFSPEC GIT_SHA1)
|
||||||
|
|
||||||
|
# if we cannot get it from git, directly try .tag (packages)
|
||||||
|
# this will work if the tar balls have been properly created
|
||||||
|
# via git-archive.
|
||||||
|
if (${GIT_SHA1} STREQUAL "GITDIR-NOTFOUND")
|
||||||
|
file(READ ${CMAKE_SOURCE_DIR}/.tag sha1_candidate)
|
||||||
|
string(REPLACE "\n" "" sha1_candidate ${sha1_candidate})
|
||||||
|
if (NOT ${sha1_candidate} STREQUAL "$Format:%H$")
|
||||||
|
message("${sha1_candidate}")
|
||||||
|
set (GIT_SHA1 "${sha1_candidate}")
|
||||||
|
endif()
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
set(SYSCONFDIR ${SYSCONF_INSTALL_DIR})
|
||||||
|
set(DATADIR ${DATA_INSTALL_DIR})
|
||||||
|
|
||||||
#####
|
#####
|
||||||
## handle BUILD_OWNCLOUD_OSX_BUNDLE
|
## handle BUILD_OWNCLOUD_OSX_BUNDLE
|
||||||
# BUILD_OWNCLOUD_OSX_BUNDLE was not initialized OR set to true on OSX
|
# BUILD_OWNCLOUD_OSX_BUNDLE was not initialized OR set to true on OSX
|
||||||
@@ -37,55 +58,35 @@ else()
|
|||||||
endif()
|
endif()
|
||||||
#####
|
#####
|
||||||
|
|
||||||
find_package(Qt4 4.6.0 COMPONENTS QtCore QtGui QtXml QtNetwork QtTest REQUIRED )
|
#####
|
||||||
find_package(Csync)
|
## handle DBUS for Fdo notifications
|
||||||
find_package(INotify)
|
if( UNIX AND NOT APPLE )
|
||||||
|
add_definitions( -DUSE_FDO_NOTIFICATIONS)
|
||||||
|
endif()
|
||||||
|
####
|
||||||
|
|
||||||
set(WITH_CSYNC CSYNC_FOUND)
|
#### find libs
|
||||||
|
find_package(Qt4 4.7.0 COMPONENTS QtCore QtGui QtXml QtNetwork QtTest QtWebkit REQUIRED )
|
||||||
|
if( UNIX AND NOT APPLE ) # Fdo notifications
|
||||||
|
find_package(Qt4 4.7.0 COMPONENTS QtDBus REQUIRED )
|
||||||
|
endif()
|
||||||
|
find_package(Csync REQUIRED)
|
||||||
|
if(UNIX)
|
||||||
|
find_package(INotify REQUIRED)
|
||||||
|
else()
|
||||||
|
find_package(INotify)
|
||||||
|
endif()
|
||||||
|
find_package(Sphinx)
|
||||||
|
find_package(PdfLatex)
|
||||||
|
find_package(QtKeychain)
|
||||||
|
|
||||||
|
set(WITH_QTKEYCHAIN ${QTKEYCHAIN_FOUND})
|
||||||
set(USE_INOTIFY ${INOTIFY_FOUND})
|
set(USE_INOTIFY ${INOTIFY_FOUND})
|
||||||
|
|
||||||
configure_file(config.h.in ${CMAKE_CURRENT_BINARY_DIR}/config.h)
|
configure_file(config.h.in ${CMAKE_CURRENT_BINARY_DIR}/config.h)
|
||||||
|
|
||||||
|
|
||||||
macro(add_tests)
|
|
||||||
foreach( loop_var ${ARGV} )
|
|
||||||
qt4_automoc(test${loop_var}.cpp)
|
|
||||||
add_executable(test${loop_var} test${loop_var}.cpp)
|
|
||||||
target_link_libraries(test${loop_var} ${QT_LIBRARIES} mirall_static)
|
|
||||||
add_test(test${loop_var} ${CMAKE_CURRENT_BINARY_DIR}/test${loop_var} --catch_system_errors=no)
|
|
||||||
endforeach( loop_var )
|
|
||||||
endmacro(add_tests)
|
|
||||||
|
|
||||||
set(CPACK_SOURCE_IGNORE_FILES
|
|
||||||
# hidden files
|
|
||||||
"/\\\\..+$"
|
|
||||||
# temporary files
|
|
||||||
"\\\\.swp$"
|
|
||||||
# backup files
|
|
||||||
"~$"
|
|
||||||
# others
|
|
||||||
"\\\\.#"
|
|
||||||
"/#"
|
|
||||||
"/build/"
|
|
||||||
"/_build/"
|
|
||||||
# used before
|
|
||||||
"\\\\.o$"
|
|
||||||
"\\\\.lo$"
|
|
||||||
"\\\\.la$"
|
|
||||||
"Makefile\\\\.in$"
|
|
||||||
)
|
|
||||||
|
|
||||||
include(OwnCloudCPack.cmake)
|
include(OwnCloudCPack.cmake)
|
||||||
|
|
||||||
include(CTest)
|
|
||||||
enable_testing()
|
|
||||||
|
|
||||||
#
|
|
||||||
# This cmake builds two targets (aka apps), mirall and owncloud. For the owncloud
|
|
||||||
# target, OWNCLOUD_CLIENT needs to be a compile flag. It is set in src/CMakeLists.txt
|
|
||||||
# but if that fails because cmake is too old, uncomment this here if you want to build
|
|
||||||
# owncloud.
|
|
||||||
# add_definitions(-DOWNCLOUD_CLIENT)
|
|
||||||
add_definitions(-DUNICODE)
|
add_definitions(-DUNICODE)
|
||||||
add_definitions(-D_UNICODE)
|
add_definitions(-D_UNICODE)
|
||||||
|
|
||||||
@@ -94,13 +95,16 @@ file( GLOB TRANS_FILES ${CMAKE_SOURCE_DIR}/translations/mirall_*.ts)
|
|||||||
set(TRANSLATIONS ${TRANS_FILES})
|
set(TRANSLATIONS ${TRANS_FILES})
|
||||||
|
|
||||||
add_subdirectory(src)
|
add_subdirectory(src)
|
||||||
|
add_subdirectory(doc)
|
||||||
|
|
||||||
if(UNIT_TESTING)
|
if(UNIT_TESTING)
|
||||||
|
include(CTest)
|
||||||
|
enable_testing()
|
||||||
add_subdirectory(test)
|
add_subdirectory(test)
|
||||||
endif(UNIT_TESTING)
|
endif(UNIT_TESTING)
|
||||||
|
|
||||||
if(BUILD_OWNCLOUD_OSX_BUNDLE)
|
if(BUILD_OWNCLOUD_OSX_BUNDLE)
|
||||||
install( FILES sync-exclude.lst DESTINATION ${OWNCLOUD_OSX_BUNDLE}/Contents/Resources )
|
configure_file(sync-exclude.lst ${OWNCLOUD_OSX_BUNDLE}/Contents/Resources/sync-exclude.lst COPYONLY)
|
||||||
else()
|
else()
|
||||||
install( FILES sync-exclude.lst DESTINATION ${CMAKE_INSTALL_SYSCONFDIR} )
|
install( FILES sync-exclude.lst DESTINATION ${SYSCONFDIR}/${APPLICATION_SHORTNAME} )
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
|||||||
48
CONTRIBUTING.md
Normal file
@@ -0,0 +1,48 @@
|
|||||||
|
## Submitting Desktop Client issues
|
||||||
|
|
||||||
|
If you have questions about how to use the ownCloud Desktop Client, please
|
||||||
|
direct these to the [mailing list][mailinglist] or our [forum][forum].
|
||||||
|
We are also available on [IRC][irc].
|
||||||
|
|
||||||
|
### Bug Reporting Guidelines
|
||||||
|
* Important: Report the issue using our [template][template], it includes all the
|
||||||
|
informations we need to track down the issue.
|
||||||
|
* This repository is *only* for issues within the ownCloud desktop client.
|
||||||
|
Issues in other compontents should be reported in their own repositores:
|
||||||
|
- [ownCloud server](https://github.com/owncloud/core/issues)
|
||||||
|
- [ownCloud apps](https://github.com/owncloud/apps/issues) (e.g. Calendar,
|
||||||
|
Contacts...)
|
||||||
|
- [Android client](https://github.com/owncloud/android/issues)
|
||||||
|
- [iOS client](https://github.com/owncloud/ios-issues/issues)
|
||||||
|
* Search the existing issues first, it's likely that your issue was already
|
||||||
|
reported.
|
||||||
|
|
||||||
|
If your issue appears to be a bug, and hasn't been reported, open a new issue.
|
||||||
|
|
||||||
|
Help us to maximize the effort we can spend fixing issues and adding new
|
||||||
|
features, by not reporting duplicate issues.
|
||||||
|
|
||||||
|
[template]: https://raw.github.com/owncloud/mirall/master/issue_template.md
|
||||||
|
[mailinglist]: https://mail.kde.org/mailman/listinfo/owncloud
|
||||||
|
[forum]: http://forum.owncloud.org/
|
||||||
|
[irc]: http://webchat.freenode.net/?channels=owncloud&uio=d4
|
||||||
|
|
||||||
|
## Contributing to Source Code
|
||||||
|
|
||||||
|
Thanks for wanting to contribute source code to ownCloud. That's great!
|
||||||
|
|
||||||
|
Before we're able to merge your code to mirall, you need to sign
|
||||||
|
our [Contributor Agreement][agreement].
|
||||||
|
|
||||||
|
Please read the [Desktop Client Manual][mirallman] and the [Developer
|
||||||
|
Manuals][devmanual] to get useful infos like how to create your first
|
||||||
|
application or how to test the ownCloud code with phpunit.
|
||||||
|
|
||||||
|
[agreement]: http://owncloud.org/about/contributor-agreement/
|
||||||
|
[devmanual]: http://owncloud.org/dev/
|
||||||
|
[mirallman]: http://doc.owncloud.org/desktop/1.1/
|
||||||
|
|
||||||
|
## Translations
|
||||||
|
Please submit translations via [Transifex][transifex].
|
||||||
|
|
||||||
|
[transifex]: https://www.transifex.com/projects/p/owncloud/
|
||||||
319
COPYING.documentation
Normal file
@@ -0,0 +1,319 @@
|
|||||||
|
Creative Commons Legal Code
|
||||||
|
|
||||||
|
Attribution 3.0 Unported
|
||||||
|
|
||||||
|
CREATIVE COMMONS CORPORATION IS NOT A LAW FIRM AND DOES NOT PROVIDE
|
||||||
|
LEGAL SERVICES. DISTRIBUTION OF THIS LICENSE DOES NOT CREATE AN
|
||||||
|
ATTORNEY-CLIENT RELATIONSHIP. CREATIVE COMMONS PROVIDES THIS
|
||||||
|
INFORMATION ON AN "AS-IS" BASIS. CREATIVE COMMONS MAKES NO WARRANTIES
|
||||||
|
REGARDING THE INFORMATION PROVIDED, AND DISCLAIMS LIABILITY FOR
|
||||||
|
DAMAGES RESULTING FROM ITS USE.
|
||||||
|
|
||||||
|
License
|
||||||
|
|
||||||
|
THE WORK (AS DEFINED BELOW) IS PROVIDED UNDER THE TERMS OF THIS CREATIVE
|
||||||
|
COMMONS PUBLIC LICENSE ("CCPL" OR "LICENSE"). THE WORK IS PROTECTED BY
|
||||||
|
COPYRIGHT AND/OR OTHER APPLICABLE LAW. ANY USE OF THE WORK OTHER THAN AS
|
||||||
|
AUTHORIZED UNDER THIS LICENSE OR COPYRIGHT LAW IS PROHIBITED.
|
||||||
|
|
||||||
|
BY EXERCISING ANY RIGHTS TO THE WORK PROVIDED HERE, YOU ACCEPT AND AGREE
|
||||||
|
TO BE BOUND BY THE TERMS OF THIS LICENSE. TO THE EXTENT THIS LICENSE MAY
|
||||||
|
BE CONSIDERED TO BE A CONTRACT, THE LICENSOR GRANTS YOU THE RIGHTS
|
||||||
|
CONTAINED HERE IN CONSIDERATION OF YOUR ACCEPTANCE OF SUCH TERMS AND
|
||||||
|
CONDITIONS.
|
||||||
|
|
||||||
|
1. Definitions
|
||||||
|
|
||||||
|
a. "Adaptation" means a work based upon the Work, or upon the Work and
|
||||||
|
other pre-existing works, such as a translation, adaptation,
|
||||||
|
derivative work, arrangement of music or other alterations of a
|
||||||
|
literary or artistic work, or phonogram or performance and includes
|
||||||
|
cinematographic adaptations or any other form in which the Work may be
|
||||||
|
recast, transformed, or adapted including in any form recognizably
|
||||||
|
derived from the original, except that a work that constitutes a
|
||||||
|
Collection will not be considered an Adaptation for the purpose of
|
||||||
|
this License. For the avoidance of doubt, where the Work is a musical
|
||||||
|
work, performance or phonogram, the synchronization of the Work in
|
||||||
|
timed-relation with a moving image ("synching") will be considered an
|
||||||
|
Adaptation for the purpose of this License.
|
||||||
|
b. "Collection" means a collection of literary or artistic works, such as
|
||||||
|
encyclopedias and anthologies, or performances, phonograms or
|
||||||
|
broadcasts, or other works or subject matter other than works listed
|
||||||
|
in Section 1(f) below, which, by reason of the selection and
|
||||||
|
arrangement of their contents, constitute intellectual creations, in
|
||||||
|
which the Work is included in its entirety in unmodified form along
|
||||||
|
with one or more other contributions, each constituting separate and
|
||||||
|
independent works in themselves, which together are assembled into a
|
||||||
|
collective whole. A work that constitutes a Collection will not be
|
||||||
|
considered an Adaptation (as defined above) for the purposes of this
|
||||||
|
License.
|
||||||
|
c. "Distribute" means to make available to the public the original and
|
||||||
|
copies of the Work or Adaptation, as appropriate, through sale or
|
||||||
|
other transfer of ownership.
|
||||||
|
d. "Licensor" means the individual, individuals, entity or entities that
|
||||||
|
offer(s) the Work under the terms of this License.
|
||||||
|
e. "Original Author" means, in the case of a literary or artistic work,
|
||||||
|
the individual, individuals, entity or entities who created the Work
|
||||||
|
or if no individual or entity can be identified, the publisher; and in
|
||||||
|
addition (i) in the case of a performance the actors, singers,
|
||||||
|
musicians, dancers, and other persons who act, sing, deliver, declaim,
|
||||||
|
play in, interpret or otherwise perform literary or artistic works or
|
||||||
|
expressions of folklore; (ii) in the case of a phonogram the producer
|
||||||
|
being the person or legal entity who first fixes the sounds of a
|
||||||
|
performance or other sounds; and, (iii) in the case of broadcasts, the
|
||||||
|
organization that transmits the broadcast.
|
||||||
|
f. "Work" means the literary and/or artistic work offered under the terms
|
||||||
|
of this License including without limitation any production in the
|
||||||
|
literary, scientific and artistic domain, whatever may be the mode or
|
||||||
|
form of its expression including digital form, such as a book,
|
||||||
|
pamphlet and other writing; a lecture, address, sermon or other work
|
||||||
|
of the same nature; a dramatic or dramatico-musical work; a
|
||||||
|
choreographic work or entertainment in dumb show; a musical
|
||||||
|
composition with or without words; a cinematographic work to which are
|
||||||
|
assimilated works expressed by a process analogous to cinematography;
|
||||||
|
a work of drawing, painting, architecture, sculpture, engraving or
|
||||||
|
lithography; a photographic work to which are assimilated works
|
||||||
|
expressed by a process analogous to photography; a work of applied
|
||||||
|
art; an illustration, map, plan, sketch or three-dimensional work
|
||||||
|
relative to geography, topography, architecture or science; a
|
||||||
|
performance; a broadcast; a phonogram; a compilation of data to the
|
||||||
|
extent it is protected as a copyrightable work; or a work performed by
|
||||||
|
a variety or circus performer to the extent it is not otherwise
|
||||||
|
considered a literary or artistic work.
|
||||||
|
g. "You" means an individual or entity exercising rights under this
|
||||||
|
License who has not previously violated the terms of this License with
|
||||||
|
respect to the Work, or who has received express permission from the
|
||||||
|
Licensor to exercise rights under this License despite a previous
|
||||||
|
violation.
|
||||||
|
h. "Publicly Perform" means to perform public recitations of the Work and
|
||||||
|
to communicate to the public those public recitations, by any means or
|
||||||
|
process, including by wire or wireless means or public digital
|
||||||
|
performances; to make available to the public Works in such a way that
|
||||||
|
members of the public may access these Works from a place and at a
|
||||||
|
place individually chosen by them; to perform the Work to the public
|
||||||
|
by any means or process and the communication to the public of the
|
||||||
|
performances of the Work, including by public digital performance; to
|
||||||
|
broadcast and rebroadcast the Work by any means including signs,
|
||||||
|
sounds or images.
|
||||||
|
i. "Reproduce" means to make copies of the Work by any means including
|
||||||
|
without limitation by sound or visual recordings and the right of
|
||||||
|
fixation and reproducing fixations of the Work, including storage of a
|
||||||
|
protected performance or phonogram in digital form or other electronic
|
||||||
|
medium.
|
||||||
|
|
||||||
|
2. Fair Dealing Rights. Nothing in this License is intended to reduce,
|
||||||
|
limit, or restrict any uses free from copyright or rights arising from
|
||||||
|
limitations or exceptions that are provided for in connection with the
|
||||||
|
copyright protection under copyright law or other applicable laws.
|
||||||
|
|
||||||
|
3. License Grant. Subject to the terms and conditions of this License,
|
||||||
|
Licensor hereby grants You a worldwide, royalty-free, non-exclusive,
|
||||||
|
perpetual (for the duration of the applicable copyright) license to
|
||||||
|
exercise the rights in the Work as stated below:
|
||||||
|
|
||||||
|
a. to Reproduce the Work, to incorporate the Work into one or more
|
||||||
|
Collections, and to Reproduce the Work as incorporated in the
|
||||||
|
Collections;
|
||||||
|
b. to create and Reproduce Adaptations provided that any such Adaptation,
|
||||||
|
including any translation in any medium, takes reasonable steps to
|
||||||
|
clearly label, demarcate or otherwise identify that changes were made
|
||||||
|
to the original Work. For example, a translation could be marked "The
|
||||||
|
original work was translated from English to Spanish," or a
|
||||||
|
modification could indicate "The original work has been modified.";
|
||||||
|
c. to Distribute and Publicly Perform the Work including as incorporated
|
||||||
|
in Collections; and,
|
||||||
|
d. to Distribute and Publicly Perform Adaptations.
|
||||||
|
e. For the avoidance of doubt:
|
||||||
|
|
||||||
|
i. Non-waivable Compulsory License Schemes. In those jurisdictions in
|
||||||
|
which the right to collect royalties through any statutory or
|
||||||
|
compulsory licensing scheme cannot be waived, the Licensor
|
||||||
|
reserves the exclusive right to collect such royalties for any
|
||||||
|
exercise by You of the rights granted under this License;
|
||||||
|
ii. Waivable Compulsory License Schemes. In those jurisdictions in
|
||||||
|
which the right to collect royalties through any statutory or
|
||||||
|
compulsory licensing scheme can be waived, the Licensor waives the
|
||||||
|
exclusive right to collect such royalties for any exercise by You
|
||||||
|
of the rights granted under this License; and,
|
||||||
|
iii. Voluntary License Schemes. The Licensor waives the right to
|
||||||
|
collect royalties, whether individually or, in the event that the
|
||||||
|
Licensor is a member of a collecting society that administers
|
||||||
|
voluntary licensing schemes, via that society, from any exercise
|
||||||
|
by You of the rights granted under this License.
|
||||||
|
|
||||||
|
The above rights may be exercised in all media and formats whether now
|
||||||
|
known or hereafter devised. The above rights include the right to make
|
||||||
|
such modifications as are technically necessary to exercise the rights in
|
||||||
|
other media and formats. Subject to Section 8(f), all rights not expressly
|
||||||
|
granted by Licensor are hereby reserved.
|
||||||
|
|
||||||
|
4. Restrictions. The license granted in Section 3 above is expressly made
|
||||||
|
subject to and limited by the following restrictions:
|
||||||
|
|
||||||
|
a. You may Distribute or Publicly Perform the Work only under the terms
|
||||||
|
of this License. You must include a copy of, or the Uniform Resource
|
||||||
|
Identifier (URI) for, this License with every copy of the Work You
|
||||||
|
Distribute or Publicly Perform. You may not offer or impose any terms
|
||||||
|
on the Work that restrict the terms of this License or the ability of
|
||||||
|
the recipient of the Work to exercise the rights granted to that
|
||||||
|
recipient under the terms of the License. You may not sublicense the
|
||||||
|
Work. You must keep intact all notices that refer to this License and
|
||||||
|
to the disclaimer of warranties with every copy of the Work You
|
||||||
|
Distribute or Publicly Perform. When You Distribute or Publicly
|
||||||
|
Perform the Work, You may not impose any effective technological
|
||||||
|
measures on the Work that restrict the ability of a recipient of the
|
||||||
|
Work from You to exercise the rights granted to that recipient under
|
||||||
|
the terms of the License. This Section 4(a) applies to the Work as
|
||||||
|
incorporated in a Collection, but this does not require the Collection
|
||||||
|
apart from the Work itself to be made subject to the terms of this
|
||||||
|
License. If You create a Collection, upon notice from any Licensor You
|
||||||
|
must, to the extent practicable, remove from the Collection any credit
|
||||||
|
as required by Section 4(b), as requested. If You create an
|
||||||
|
Adaptation, upon notice from any Licensor You must, to the extent
|
||||||
|
practicable, remove from the Adaptation any credit as required by
|
||||||
|
Section 4(b), as requested.
|
||||||
|
b. If You Distribute, or Publicly Perform the Work or any Adaptations or
|
||||||
|
Collections, You must, unless a request has been made pursuant to
|
||||||
|
Section 4(a), keep intact all copyright notices for the Work and
|
||||||
|
provide, reasonable to the medium or means You are utilizing: (i) the
|
||||||
|
name of the Original Author (or pseudonym, if applicable) if supplied,
|
||||||
|
and/or if the Original Author and/or Licensor designate another party
|
||||||
|
or parties (e.g., a sponsor institute, publishing entity, journal) for
|
||||||
|
attribution ("Attribution Parties") in Licensor's copyright notice,
|
||||||
|
terms of service or by other reasonable means, the name of such party
|
||||||
|
or parties; (ii) the title of the Work if supplied; (iii) to the
|
||||||
|
extent reasonably practicable, the URI, if any, that Licensor
|
||||||
|
specifies to be associated with the Work, unless such URI does not
|
||||||
|
refer to the copyright notice or licensing information for the Work;
|
||||||
|
and (iv) , consistent with Section 3(b), in the case of an Adaptation,
|
||||||
|
a credit identifying the use of the Work in the Adaptation (e.g.,
|
||||||
|
"French translation of the Work by Original Author," or "Screenplay
|
||||||
|
based on original Work by Original Author"). The credit required by
|
||||||
|
this Section 4 (b) may be implemented in any reasonable manner;
|
||||||
|
provided, however, that in the case of a Adaptation or Collection, at
|
||||||
|
a minimum such credit will appear, if a credit for all contributing
|
||||||
|
authors of the Adaptation or Collection appears, then as part of these
|
||||||
|
credits and in a manner at least as prominent as the credits for the
|
||||||
|
other contributing authors. For the avoidance of doubt, You may only
|
||||||
|
use the credit required by this Section for the purpose of attribution
|
||||||
|
in the manner set out above and, by exercising Your rights under this
|
||||||
|
License, You may not implicitly or explicitly assert or imply any
|
||||||
|
connection with, sponsorship or endorsement by the Original Author,
|
||||||
|
Licensor and/or Attribution Parties, as appropriate, of You or Your
|
||||||
|
use of the Work, without the separate, express prior written
|
||||||
|
permission of the Original Author, Licensor and/or Attribution
|
||||||
|
Parties.
|
||||||
|
c. Except as otherwise agreed in writing by the Licensor or as may be
|
||||||
|
otherwise permitted by applicable law, if You Reproduce, Distribute or
|
||||||
|
Publicly Perform the Work either by itself or as part of any
|
||||||
|
Adaptations or Collections, You must not distort, mutilate, modify or
|
||||||
|
take other derogatory action in relation to the Work which would be
|
||||||
|
prejudicial to the Original Author's honor or reputation. Licensor
|
||||||
|
agrees that in those jurisdictions (e.g. Japan), in which any exercise
|
||||||
|
of the right granted in Section 3(b) of this License (the right to
|
||||||
|
make Adaptations) would be deemed to be a distortion, mutilation,
|
||||||
|
modification or other derogatory action prejudicial to the Original
|
||||||
|
Author's honor and reputation, the Licensor will waive or not assert,
|
||||||
|
as appropriate, this Section, to the fullest extent permitted by the
|
||||||
|
applicable national law, to enable You to reasonably exercise Your
|
||||||
|
right under Section 3(b) of this License (right to make Adaptations)
|
||||||
|
but not otherwise.
|
||||||
|
|
||||||
|
5. Representations, Warranties and Disclaimer
|
||||||
|
|
||||||
|
UNLESS OTHERWISE MUTUALLY AGREED TO BY THE PARTIES IN WRITING, LICENSOR
|
||||||
|
OFFERS THE WORK AS-IS AND MAKES NO REPRESENTATIONS OR WARRANTIES OF ANY
|
||||||
|
KIND CONCERNING THE WORK, EXPRESS, IMPLIED, STATUTORY OR OTHERWISE,
|
||||||
|
INCLUDING, WITHOUT LIMITATION, WARRANTIES OF TITLE, MERCHANTIBILITY,
|
||||||
|
FITNESS FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR THE ABSENCE OF
|
||||||
|
LATENT OR OTHER DEFECTS, ACCURACY, OR THE PRESENCE OF ABSENCE OF ERRORS,
|
||||||
|
WHETHER OR NOT DISCOVERABLE. SOME JURISDICTIONS DO NOT ALLOW THE EXCLUSION
|
||||||
|
OF IMPLIED WARRANTIES, SO SUCH EXCLUSION MAY NOT APPLY TO YOU.
|
||||||
|
|
||||||
|
6. Limitation on Liability. EXCEPT TO THE EXTENT REQUIRED BY APPLICABLE
|
||||||
|
LAW, IN NO EVENT WILL LICENSOR BE LIABLE TO YOU ON ANY LEGAL THEORY FOR
|
||||||
|
ANY SPECIAL, INCIDENTAL, CONSEQUENTIAL, PUNITIVE OR EXEMPLARY DAMAGES
|
||||||
|
ARISING OUT OF THIS LICENSE OR THE USE OF THE WORK, EVEN IF LICENSOR HAS
|
||||||
|
BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
|
||||||
|
|
||||||
|
7. Termination
|
||||||
|
|
||||||
|
a. This License and the rights granted hereunder will terminate
|
||||||
|
automatically upon any breach by You of the terms of this License.
|
||||||
|
Individuals or entities who have received Adaptations or Collections
|
||||||
|
from You under this License, however, will not have their licenses
|
||||||
|
terminated provided such individuals or entities remain in full
|
||||||
|
compliance with those licenses. Sections 1, 2, 5, 6, 7, and 8 will
|
||||||
|
survive any termination of this License.
|
||||||
|
b. Subject to the above terms and conditions, the license granted here is
|
||||||
|
perpetual (for the duration of the applicable copyright in the Work).
|
||||||
|
Notwithstanding the above, Licensor reserves the right to release the
|
||||||
|
Work under different license terms or to stop distributing the Work at
|
||||||
|
any time; provided, however that any such election will not serve to
|
||||||
|
withdraw this License (or any other license that has been, or is
|
||||||
|
required to be, granted under the terms of this License), and this
|
||||||
|
License will continue in full force and effect unless terminated as
|
||||||
|
stated above.
|
||||||
|
|
||||||
|
8. Miscellaneous
|
||||||
|
|
||||||
|
a. Each time You Distribute or Publicly Perform the Work or a Collection,
|
||||||
|
the Licensor offers to the recipient a license to the Work on the same
|
||||||
|
terms and conditions as the license granted to You under this License.
|
||||||
|
b. Each time You Distribute or Publicly Perform an Adaptation, Licensor
|
||||||
|
offers to the recipient a license to the original Work on the same
|
||||||
|
terms and conditions as the license granted to You under this License.
|
||||||
|
c. If any provision of this License is invalid or unenforceable under
|
||||||
|
applicable law, it shall not affect the validity or enforceability of
|
||||||
|
the remainder of the terms of this License, and without further action
|
||||||
|
by the parties to this agreement, such provision shall be reformed to
|
||||||
|
the minimum extent necessary to make such provision valid and
|
||||||
|
enforceable.
|
||||||
|
d. No term or provision of this License shall be deemed waived and no
|
||||||
|
breach consented to unless such waiver or consent shall be in writing
|
||||||
|
and signed by the party to be charged with such waiver or consent.
|
||||||
|
e. This License constitutes the entire agreement between the parties with
|
||||||
|
respect to the Work licensed here. There are no understandings,
|
||||||
|
agreements or representations with respect to the Work not specified
|
||||||
|
here. Licensor shall not be bound by any additional provisions that
|
||||||
|
may appear in any communication from You. This License may not be
|
||||||
|
modified without the mutual written agreement of the Licensor and You.
|
||||||
|
f. The rights granted under, and the subject matter referenced, in this
|
||||||
|
License were drafted utilizing the terminology of the Berne Convention
|
||||||
|
for the Protection of Literary and Artistic Works (as amended on
|
||||||
|
September 28, 1979), the Rome Convention of 1961, the WIPO Copyright
|
||||||
|
Treaty of 1996, the WIPO Performances and Phonograms Treaty of 1996
|
||||||
|
and the Universal Copyright Convention (as revised on July 24, 1971).
|
||||||
|
These rights and subject matter take effect in the relevant
|
||||||
|
jurisdiction in which the License terms are sought to be enforced
|
||||||
|
according to the corresponding provisions of the implementation of
|
||||||
|
those treaty provisions in the applicable national law. If the
|
||||||
|
standard suite of rights granted under applicable copyright law
|
||||||
|
includes additional rights not granted under this License, such
|
||||||
|
additional rights are deemed to be included in the License; this
|
||||||
|
License is not intended to restrict the license of any rights under
|
||||||
|
applicable law.
|
||||||
|
|
||||||
|
|
||||||
|
Creative Commons Notice
|
||||||
|
|
||||||
|
Creative Commons is not a party to this License, and makes no warranty
|
||||||
|
whatsoever in connection with the Work. Creative Commons will not be
|
||||||
|
liable to You or any party on any legal theory for any damages
|
||||||
|
whatsoever, including without limitation any general, special,
|
||||||
|
incidental or consequential damages arising in connection to this
|
||||||
|
license. Notwithstanding the foregoing two (2) sentences, if Creative
|
||||||
|
Commons has expressly identified itself as the Licensor hereunder, it
|
||||||
|
shall have all rights and obligations of Licensor.
|
||||||
|
|
||||||
|
Except for the limited purpose of indicating to the public that the
|
||||||
|
Work is licensed under the CCPL, Creative Commons does not authorize
|
||||||
|
the use by either party of the trademark "Creative Commons" or any
|
||||||
|
related trademark or logo of Creative Commons without the prior
|
||||||
|
written consent of Creative Commons. Any permitted use will be in
|
||||||
|
compliance with Creative Commons' then-current trademark usage
|
||||||
|
guidelines, as may be published on its website or otherwise made
|
||||||
|
available upon request from time to time. For the avoidance of doubt,
|
||||||
|
this trademark restriction does not form part of this License.
|
||||||
|
|
||||||
|
Creative Commons may be contacted at http://creativecommons.org/.
|
||||||
@@ -9,9 +9,10 @@ endif(CPACK_GENERATOR MATCHES "NSIS")
|
|||||||
|
|
||||||
set( CMAKE_SOURCE_DIR @CMAKE_SOURCE_DIR@ )
|
set( CMAKE_SOURCE_DIR @CMAKE_SOURCE_DIR@ )
|
||||||
set( CMAKE_BINARY_DIR @CMAKE_BINARY_DIR@ )
|
set( CMAKE_BINARY_DIR @CMAKE_BINARY_DIR@ )
|
||||||
|
set( OEM_THEME_DIR @OEM_THEME_DIR@ )
|
||||||
|
|
||||||
if ( EXISTS "${CMAKE_SOURCE_DIR}/OEM.cmake" )
|
if ( DEFINED OEM_THEME_DIR AND EXISTS ${OEM_THEME_DIR}/OEM.cmake )
|
||||||
include ( "${CMAKE_SOURCE_DIR}/OEM.cmake" )
|
include ( ${OEM_THEME_DIR}/OEM.cmake )
|
||||||
else ()
|
else ()
|
||||||
include ( "${CMAKE_SOURCE_DIR}/OWNCLOUD.cmake" )
|
include ( "${CMAKE_SOURCE_DIR}/OWNCLOUD.cmake" )
|
||||||
endif()
|
endif()
|
||||||
|
|||||||
217
ChangeLog
@@ -1,10 +1,204 @@
|
|||||||
ChangeLog
|
ChangeLog
|
||||||
=========
|
=========
|
||||||
version 1.1.0 (release ), csync 0.60.0 required
|
|
||||||
*
|
version 1.4.2 (release 2013-10-18 ), csync 0.90.4 required
|
||||||
* [GUI] Added an about dialog
|
|
||||||
* [GUI] Improved themeing capabilities of the client.
|
* Do not show the warning icon in the tray (#944)
|
||||||
* [GUI] Minor fixes in folder assistant.
|
* Fix manual proxy support when switching (#1016)
|
||||||
|
* Add folder column to detailed sync protocol (#1037)
|
||||||
|
* Fix possible endless loop in inotify (#1041)
|
||||||
|
* Do not elide the progress text (#1049)
|
||||||
|
* Fix high CPU load (#1073)
|
||||||
|
* Reconnect if network is unavailable after startup (#1080)
|
||||||
|
* Ensure paused folder stays paused when syncing with more than one folder (#1083)
|
||||||
|
* Don't show desktop notification when the user doesn't want to (#1093)
|
||||||
|
* System tray: Avoid quick flickering up of the ok-icon for the sync prepare state
|
||||||
|
* Progress: Do not show progress if nothing is transmitted
|
||||||
|
* Progress: Show number of deletes.
|
||||||
|
|
||||||
|
version 1.4.1 (release 2013-09-24 ), csync 0.90.1 required
|
||||||
|
|
||||||
|
* Translation and documentation fixes.
|
||||||
|
* Fixed error display in settings/status dialog, displays multi
|
||||||
|
line error messages now correctly.
|
||||||
|
* Wait up to 30 secs before complaining about missing systray
|
||||||
|
Fixes bug #949
|
||||||
|
* Fixed utf8 issues with basic auth authentication, fixes bug #941
|
||||||
|
* Fixed remote folder selector, avoid recursive syncing, fixes bug #962
|
||||||
|
* Handle and display network problems at startup correctly.
|
||||||
|
* Enable and disable the folder watcher during syncs correctly.
|
||||||
|
* Fix setting of thread priority.
|
||||||
|
* Fixed file size display.
|
||||||
|
* Fixed various folder wizard issues, bug #992
|
||||||
|
* Made "Sync started" message optional, fixes bug #934
|
||||||
|
* Fixed shutdown, avoid crashed config on win32, fixes bug #945
|
||||||
|
* Pop up config wizard if no server url is configured, fixes bug #1018
|
||||||
|
* Settings: calculate sidebar width dynamically, fixes bug #1020
|
||||||
|
* Fixed a crash if sync folders were removed, fixes bug #713
|
||||||
|
* Do proper resync after network disconnect, fixes bug #1007
|
||||||
|
* Various minor code fixes
|
||||||
|
|
||||||
|
version 1.4.0 (release 2013-09-04 ), csync 0.90.0 required
|
||||||
|
|
||||||
|
* New Scheduler: Only sync when there are actual changes in the server
|
||||||
|
* Add a Settings Dialog, move Proxy Settings there
|
||||||
|
* Transform folder Status Dialog into Account Settings, provide feedback via context menu
|
||||||
|
* Add Bandwidth Control
|
||||||
|
* Add a visual storage/quota indicator (context menu and account settings)
|
||||||
|
* Add progress indication (context menu and account settings)
|
||||||
|
* Introduce a sync history, persisting results across syncs
|
||||||
|
* Move ability to switch to mono icons from a switch to a Settings option
|
||||||
|
* Add "Launch on System Startup" GUI option
|
||||||
|
* Add "Show Desktop Nofications"GUI option (enabled by default)
|
||||||
|
top optionally disable sync notifications
|
||||||
|
* Add Help item, pointing to online reference
|
||||||
|
* Implement graphical selection of remote folders in FolderWizard
|
||||||
|
* Allow custom ignore patterns
|
||||||
|
* Add an editor for ingore patterns
|
||||||
|
* ALlow to flag certain ignore patterns as discardable
|
||||||
|
* Ensure to ship with all valid translations
|
||||||
|
* Progress Dialog now preserves the last syncned items across sync runs
|
||||||
|
* Split Setup Wizard into multiple pages again
|
||||||
|
* Implement "--logfile -" to log to stdout
|
||||||
|
* Add preliminary support for Shibboleth authentication
|
||||||
|
* Linux: Provide more icon sizes
|
||||||
|
* Linux: Do not trigger notifier on ignored files
|
||||||
|
* Windows: Reduce priority of CSync thread
|
||||||
|
* Documentation: Prem. updates to reflect UI changes
|
||||||
|
* Significant code refactorings
|
||||||
|
* Require Qt 4.7
|
||||||
|
* Known issue: Under certain conditions, a file will only get uploaded after up to five minutes
|
||||||
|
|
||||||
|
version 1.3.0 (release 2013-06-25 ), csync 0.80.0 required
|
||||||
|
|
||||||
|
* Default proxy port to 8080
|
||||||
|
* Don't lose proxy settings when changing passwords
|
||||||
|
* Support SOCKS5 proxy (useful in combination with ssh *D)
|
||||||
|
* Propagate proxy changes to csync at runtime
|
||||||
|
* Improve proxy wizard
|
||||||
|
* Display proxy errors
|
||||||
|
* Solved problems with lock files
|
||||||
|
* Warn if for some reason all files are scheduled for removal on either side
|
||||||
|
* Avoid infinite loop if authentication fails in certain cases
|
||||||
|
* Fix reading the password from the config in certain cases
|
||||||
|
* Do not crash when configured sync target disappears
|
||||||
|
* Make --help work on windows
|
||||||
|
* Make sync feedback less ambiguous.
|
||||||
|
* Fix icon tray tooltip sometimes showing repeated content
|
||||||
|
* More use of native directory separators on Windows
|
||||||
|
* Remove journal when reusing a directory that used to have a journal before
|
||||||
|
* Visual clean up of status dialog items
|
||||||
|
* Wizard: When changing the URL or user name, allow the user to push his data
|
||||||
|
to the new location or wipe the folder and start from scratch
|
||||||
|
* Wizard: Make setting a custom folder as a sync target work again
|
||||||
|
* Fix application icon
|
||||||
|
* User-Agent now contains "Mozilla/5.0" and the Platform name (for firewall/proxy compat)
|
||||||
|
* Server side directory moves will be detected
|
||||||
|
* New setup wizard, defaulting to root syncing (only for new setups)
|
||||||
|
* Improved thread stop/termination
|
||||||
|
|
||||||
|
version 1.2.5 (release 2013-04-23 ), csync 0.70.7 required
|
||||||
|
* [Fixes] NSIS installer fixes
|
||||||
|
* [Fixes] Fix crash race by making certificateChain() thread safe
|
||||||
|
* [Fixes] Build with older CMake versions (CentOS/RHEL 6)
|
||||||
|
* [Fixes] Wording in GUI
|
||||||
|
* [Fixes] Silently ignore "installed = true" status.php
|
||||||
|
* Set log verbosity before calling csync_init.
|
||||||
|
* GUI feedback for the statistics copy action
|
||||||
|
* Safer approach for detecting duplicate sync runs
|
||||||
|
|
||||||
|
version 1.2.4 (release 2013-04-11 ), csync 0.70.6 required
|
||||||
|
* [Fixes] Clarify string in folder wizard
|
||||||
|
* [Fixes] Fixed some valgrind warnings
|
||||||
|
* [Fixes] Ensure that only one sync thread can ever run
|
||||||
|
* [Fixes] Fix default config storage path
|
||||||
|
* [Fixes] Skip folders with no absolute path
|
||||||
|
* [Fixes] Allow setting the configuration directory on command line
|
||||||
|
|
||||||
|
version 1.2.3 (release 2013-04-02 ), csync 0.70.5 required
|
||||||
|
* [Fixes] Unbreak self-signed certificate handling
|
||||||
|
|
||||||
|
version 1.2.2 (release 2013-04-02 ), csync 0.70.5 required
|
||||||
|
* [Fixes] Do not crash when local file tree contains symlinks
|
||||||
|
* [Fixes] Correctly handle locked files on Windows
|
||||||
|
* [Fixes] Display errors in all members of the SSL chain
|
||||||
|
* [Fixes] Enable Accessibility features on Windows
|
||||||
|
* [Fixes] Make setupFavLink work properly on Mac OS
|
||||||
|
* [Fixes] Ignore temporary files created by MS Office
|
||||||
|
* [Gui] Support Nautilus in setupFavLink
|
||||||
|
|
||||||
|
version 1.2.1 (release 2013-02-26 ), csync 0.70.4 required
|
||||||
|
* [Fixes] Leave configured folders on configuration changes.
|
||||||
|
* [Fixes] Do not allow to finish the setup dialog if connection can't be established.
|
||||||
|
* [Fixes] Better handling of credentials in setup dialog.
|
||||||
|
* [Fixes] Do not leak fd's to /dev/null when using gnutls
|
||||||
|
* [Fixes] Stop sync scheduling when configuration wizard starts.
|
||||||
|
* [Fixes] Clear pending network requests when stepping back in config wizard.
|
||||||
|
* [Fixes] User password dialog asynchronous issues.
|
||||||
|
* [Fixes] Make folderman starting and stoping the scheduling.
|
||||||
|
* [Fixes] Various minor fixes and cleanups.
|
||||||
|
* [Fixes] Crash on pausing sync
|
||||||
|
* [Fixes] Stale lock file after pausing sync
|
||||||
|
* [App] Load translations from app dir or bundle as well.
|
||||||
|
* [Platform] Build fixes and simplifications, ie. build only one lib.
|
||||||
|
* [Platform] Added some getter/setters for configuration values.
|
||||||
|
* [Platform] Added man pages.
|
||||||
|
* [Platform] Simplified/fixed credential store usage and custom configs.
|
||||||
|
* [Platform] Added soname version to libowncloudsync.
|
||||||
|
* [Platform] Pull in Qt translations
|
||||||
|
* [Gui] Make sync result popups less annoyingq
|
||||||
|
* [Gui] Fix for result popup
|
||||||
|
|
||||||
|
version 1.2.0 (release 2013-01-24 ), csync 0.70.2 required
|
||||||
|
* [GUI] New status dialog to show a detailed list of synced files.
|
||||||
|
* [GUI] New tray notifications about synced files.
|
||||||
|
* [GUI] New platform specific icon set.
|
||||||
|
* [App] Using cross platform QtKeychain library to store credentials crypted.
|
||||||
|
* [App] Use cross platform notification for changes in the local file system rather than regular poll.
|
||||||
|
* [Fixes] Improved SSL Certificate handling and SSL fixes troughout syncing.
|
||||||
|
* [Fixes] Fixed proxy authentication.
|
||||||
|
* [Fixes] Allow brackets in folder name alias.
|
||||||
|
* [Fixes] Lots of other minor fixes.
|
||||||
|
* [Platform] cmake fixes.
|
||||||
|
* [Platform] Improved, more detailed error reporting.
|
||||||
|
|
||||||
|
version 1.1.4 (release 2012-12-19 ), csync 0.60.4 required
|
||||||
|
* No changes to mirall, only csync fixes.
|
||||||
|
|
||||||
|
version 1.1.3 (release 2012-11-30 ), csync 0.60.3 required
|
||||||
|
* No changes to mirall, only csync fixes.
|
||||||
|
|
||||||
|
version 1.1.2 (release 2012-11-26 ), csync 0.60.2 required
|
||||||
|
* [Fixes] Allow to properly cancel the password dialog.
|
||||||
|
* [Fixes] Share folder name correctly percent encoded with old Qt
|
||||||
|
4.6 builds ie. Debian.
|
||||||
|
* [Fixes] If local sync dir is not existing, create it.
|
||||||
|
* [Fixes] lots of other minor fixes.
|
||||||
|
* [GUI] Display error messages in status dialog.
|
||||||
|
* [GUI] GUI fixes for the connection wizard.
|
||||||
|
* [GUI] Show username for connection in statusdialog.
|
||||||
|
* [GUI] Show intro wizard on new connection setup.
|
||||||
|
* [APP] Use CredentialStore to better support various credential
|
||||||
|
backends.
|
||||||
|
* [APP] Handle missing local folder more robust: Create it if
|
||||||
|
missing instead of ignoring.
|
||||||
|
* [APP] Simplify treewalk code.
|
||||||
|
* [Platform] Fix Mac building
|
||||||
|
|
||||||
|
version 1.1.1 (release 2012-10-18), csync 0.60.1 required
|
||||||
|
* [GUI] Allow changing folder name in single folder mode
|
||||||
|
* [GUI] Windows: Add license to installer
|
||||||
|
* [GUI] owncloud --logwindow will bring up the log window
|
||||||
|
in an already running instance
|
||||||
|
* [Fixes] Make sure SSL errors are always handled
|
||||||
|
* [Fixes] Allow special characters in folder alias
|
||||||
|
* [Fixes] Proper workaround for Menu bug in Ubuntu
|
||||||
|
* [Fixes] csync: Fix improper memory cleanup which could
|
||||||
|
cause memory leaks and crashes
|
||||||
|
* [Fixes] csync: Fix memory leak
|
||||||
|
* [Fixes] csync: Allow single quote (') in file names
|
||||||
|
* [Fixes] csync: Remove stray temporary files
|
||||||
|
|
||||||
* [GUI] Reworked tray context menu.
|
* [GUI] Reworked tray context menu.
|
||||||
* [GUI] Users can now sync the server root folder.
|
* [GUI] Users can now sync the server root folder.
|
||||||
* [Fixes] Proxy support: now supports Proxy Auto-Configuration (PAC)
|
* [Fixes] Proxy support: now supports Proxy Auto-Configuration (PAC)
|
||||||
@@ -23,7 +217,7 @@ version 1.1.0 (release ), csync 0.60.0 required
|
|||||||
* [Platform] csync conf file and database were moved to the users app data
|
* [Platform] csync conf file and database were moved to the users app data
|
||||||
directory, away from the .csync dir.
|
directory, away from the .csync dir.
|
||||||
* Renamed exclude.lst to sync-exclude.lst and moved it to
|
* Renamed exclude.lst to sync-exclude.lst and moved it to
|
||||||
/etc/appName()/ for more clean packaging. From the user path,
|
/etc/appName()/ for more clean packaging. From the user path,
|
||||||
still exclude.lst is read if sync-exclude.lst is not existing.
|
still exclude.lst is read if sync-exclude.lst is not existing.
|
||||||
* Placed custom.ini with customization options to /etc/appName()
|
* Placed custom.ini with customization options to /etc/appName()
|
||||||
|
|
||||||
@@ -32,7 +226,7 @@ version 1.0.5 (release 2012-08-14), csync 0.50.8 required
|
|||||||
|
|
||||||
version 1.0.4 (release 2012-08-10), csync 0.50.8 required
|
version 1.0.4 (release 2012-08-10), csync 0.50.8 required
|
||||||
* [APP] ownCloud is now a single instance app, can not start twice any more.
|
* [APP] ownCloud is now a single instance app, can not start twice any more.
|
||||||
* [APP] Proxy support
|
* [APP] Proxy support
|
||||||
* [APP] Handle HTTP redirection correctly, note new url.
|
* [APP] Handle HTTP redirection correctly, note new url.
|
||||||
* [APP] More relaxed handling of read only directories in the sync paths.
|
* [APP] More relaxed handling of read only directories in the sync paths.
|
||||||
* [APP] Started to split off a library with sync functionality, eg for KDE
|
* [APP] Started to split off a library with sync functionality, eg for KDE
|
||||||
@@ -43,13 +237,13 @@ version 1.0.4 (release 2012-08-10), csync 0.50.8 required
|
|||||||
* [GUI] Removed Log Window Button, log available through command line.
|
* [GUI] Removed Log Window Button, log available through command line.
|
||||||
* [GUI] Proxy configuration dialog added.
|
* [GUI] Proxy configuration dialog added.
|
||||||
* [GUI] Added Translations to languages Slovenian, Polish, Catalan,
|
* [GUI] Added Translations to languages Slovenian, Polish, Catalan,
|
||||||
Portuguese (Brazil), German, Greek, Spanish, Czech, Italian, Slovak,
|
Portuguese (Brazil), German, Greek, Spanish, Czech, Italian, Slovak,
|
||||||
French, Russian, Japanese, Swedish, Portuguese (Portugal)
|
French, Russian, Japanese, Swedish, Portuguese (Portugal)
|
||||||
all with translation rate >90%.
|
all with translation rate >90%.
|
||||||
* [Fixes] Loading of self signed certs into Networkmanager (#oc-843)
|
* [Fixes] Loading of self signed certs into Networkmanager (#oc-843)
|
||||||
* [Fixes] Win32: Handle SSL dll loading correctly.
|
* [Fixes] Win32: Handle SSL dll loading correctly.
|
||||||
* [Fixes] Many other small fixes and improvements.
|
* [Fixes] Many other small fixes and improvements.
|
||||||
|
|
||||||
version 1.0.3 (release 2012-06-19), csync 0.50.7 required
|
version 1.0.3 (release 2012-06-19), csync 0.50.7 required
|
||||||
* [GUI] Added a log window which catches the logging if required and
|
* [GUI] Added a log window which catches the logging if required and
|
||||||
allows to save for information.
|
allows to save for information.
|
||||||
@@ -58,7 +252,7 @@ version 1.0.3 (release 2012-06-19), csync 0.50.7 required
|
|||||||
* [Fixes] Do not use csync database files from a sync before.
|
* [Fixes] Do not use csync database files from a sync before.
|
||||||
* [Fixes] In Connection wizard, write the final config onyl if
|
* [Fixes] In Connection wizard, write the final config onyl if
|
||||||
the user really accepted. Also remove the former database.
|
the user really accepted. Also remove the former database.
|
||||||
* [Fixes] More user expected behaviour deletion of sync folder local
|
* [Fixes] More user expected behaviour deletion of sync folder local
|
||||||
and remote.
|
and remote.
|
||||||
* [Fixes] Allow special characters in the sync directory names
|
* [Fixes] Allow special characters in the sync directory names
|
||||||
* [Fixes] Win32: Fixed directory removal with special character dirs.
|
* [Fixes] Win32: Fixed directory removal with special character dirs.
|
||||||
@@ -99,4 +293,3 @@ version 1.0.1 (release 2012-04-18), csync 0.50.5 required
|
|||||||
* [Platform] MacOSX Bundle creation added
|
* [Platform] MacOSX Bundle creation added
|
||||||
* [Platform] Enabled ranslations on Windows.
|
* [Platform] Enabled ranslations on Windows.
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -1,8 +1,10 @@
|
|||||||
set( APPLICATION_SHORTNAME "owncloud" )
|
|
||||||
set( APPLICATION_NAME "ownCloud" )
|
set( APPLICATION_NAME "ownCloud" )
|
||||||
set( APPLICATION_EXECUTABLE "owncloud" )
|
#set( APPLICATION_SHORTNAME ${APPLICATION_NAME} )
|
||||||
set( APPLICATION_DOMAIN "owncloud.org" )
|
set( APPLICATION_EXECUTABLE "owncloud" )
|
||||||
set( APPLICATION_VENDOR "ownCloud.org" )
|
set( APPLICATION_DOMAIN "owncloud.com" )
|
||||||
set( THEME_CLASS "ownCloudTheme" )
|
set( APPLICATION_VENDOR "ownCloud, Inc" )
|
||||||
SET( APPLICATION_REV_DOMAIN "org.owncloud.desktopclient" )
|
set( THEME_CLASS "ownCloudTheme" )
|
||||||
|
set( APPLICATION_REV_DOMAIN "com.owncloud.desktopclient" )
|
||||||
|
set( WIN_SETUP_BITMAP_PATH "${CMAKE_SOURCE_DIR}/admin/win/nsi" )
|
||||||
|
# set( THEME_INCLUDE "${OEM_THEME_DIR}/mytheme.h" )
|
||||||
|
# set( APPLICATION_LICENSE "${OEM_THEME_DIR}/license.txt )
|
||||||
|
|||||||
@@ -2,8 +2,8 @@ include( InstallRequiredSystemLibraries )
|
|||||||
|
|
||||||
set( CPACK_PACKAGE_CONTACT "Dominik Schmidt <domme@tomahawk-player.org>" )
|
set( CPACK_PACKAGE_CONTACT "Dominik Schmidt <domme@tomahawk-player.org>" )
|
||||||
|
|
||||||
if ( EXISTS "${CMAKE_SOURCE_DIR}/OEM.cmake" )
|
if ( DEFINED OEM_THEME_DIR AND EXISTS ${OEM_THEME_DIR}/OEM.cmake )
|
||||||
include ( "${CMAKE_SOURCE_DIR}/OEM.cmake" )
|
include ( "${OEM_THEME_DIR}/OEM.cmake" )
|
||||||
else ()
|
else ()
|
||||||
include ( "${CMAKE_SOURCE_DIR}/OWNCLOUD.cmake" )
|
include ( "${CMAKE_SOURCE_DIR}/OWNCLOUD.cmake" )
|
||||||
endif()
|
endif()
|
||||||
@@ -21,7 +21,7 @@ if(APPLE)
|
|||||||
set( CPACK_PACKAGE_ICON ${CMAKE_BINARY_DIR}/src/ownCloud.icns)
|
set( CPACK_PACKAGE_ICON ${CMAKE_BINARY_DIR}/src/ownCloud.icns)
|
||||||
|
|
||||||
set( CPACK_DMG_DS_STORE "${CMAKE_SOURCE_DIR}/admin/osx/DS_Store.in")
|
set( CPACK_DMG_DS_STORE "${CMAKE_SOURCE_DIR}/admin/osx/DS_Store.in")
|
||||||
set( CPACK_DMG_BACKGROUND_IMAGE "${CMAKE_SOURCE_DIR}/admin/osx/DMGBackground.png" )
|
# set( CPACK_DMG_BACKGROUND_IMAGE "${CMAKE_SOURCE_DIR}/admin/osx/DMGBackground.png" )
|
||||||
|
|
||||||
set( CPACK_DMG_FORMAT "UDBZ" )
|
set( CPACK_DMG_FORMAT "UDBZ" )
|
||||||
set( CPACK_DMG_VOLUME_NAME "${APPLICATION_NAME}")
|
set( CPACK_DMG_VOLUME_NAME "${APPLICATION_NAME}")
|
||||||
@@ -45,12 +45,12 @@ if(WIN32)
|
|||||||
# CPACK_INCLUDE_TOPLEVEL_DIRECTORY Controls whether CPack adds a top-level directory, usually of the form ProjectName-Version-OS, to the top of package tree. 0 to disable, 1 to enable
|
# CPACK_INCLUDE_TOPLEVEL_DIRECTORY Controls whether CPack adds a top-level directory, usually of the form ProjectName-Version-OS, to the top of package tree. 0 to disable, 1 to enable
|
||||||
# CPACK_INSTALL_CMAKE_PROJECTS List of four values: Build directory, Project Name, Project Component, Directory in the package /home/andy/vtk/CMake-bin;CMake;ALL;/
|
# CPACK_INSTALL_CMAKE_PROJECTS List of four values: Build directory, Project Name, Project Component, Directory in the package /home/andy/vtk/CMake-bin;CMake;ALL;/
|
||||||
set( CPACK_PACKAGE_DESCRIPTION_FILE "${CMAKE_SOURCE_DIR}/README.md" ) # File used as a description of a project /path/to/project/ReadMe.txt
|
set( CPACK_PACKAGE_DESCRIPTION_FILE "${CMAKE_SOURCE_DIR}/README.md" ) # File used as a description of a project /path/to/project/ReadMe.txt
|
||||||
set( CPACK_PACKAGE_DESCRIPTION_SUMMARY "ownCloud Syncing Client" ) # Description summary of a project
|
set( CPACK_PACKAGE_DESCRIPTION_SUMMARY "${APPLICATION_NAME} Syncing Client" ) # Description summary of a project
|
||||||
# CPACK_PACKAGE_EXECUTABLES List of pairs of executables and labels. Used by the NSIS generator to create Start Menu shortcuts. ccmake;CMake
|
# CPACK_PACKAGE_EXECUTABLES List of pairs of executables and labels. Used by the NSIS generator to create Start Menu shortcuts. ccmake;CMake
|
||||||
set( CPACK_PACKAGE_INSTALL_DIRECTORY ${APPLICATION_NAME} ) # Installation directory on the target system -> C:\Program Files\fellody
|
set( CPACK_PACKAGE_INSTALL_DIRECTORY ${APPLICATION_NAME} ) # Installation directory on the target system -> C:\Program Files\fellody
|
||||||
set( CPACK_PACKAGE_INSTALL_REGISTRY_KEY ${APPLICATION_NAME} ) # Registry key used when installing this project CMake 2.5.0
|
set( CPACK_PACKAGE_INSTALL_REGISTRY_KEY ${APPLICATION_NAME} ) # Registry key used when installing this project CMake 2.5.0
|
||||||
set( CPACK_PACKAGE_NAME ${APPLICATION_NAME} ) # Package name, defaults to the project name
|
set( CPACK_PACKAGE_NAME ${APPLICATION_NAME} ) # Package name, defaults to the project name
|
||||||
set( CPACK_PACKAGE_VENDOR "http://owncloud.com" ) # Package vendor name
|
set( CPACK_PACKAGE_VENDOR "http://${APPLICATION_DOMAIN}" ) # Package vendor name
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
# set( CPACK_RESOURCE_FILE_LICENSE "${CMAKE_SOURCE_DIR}/LICENSE.txt" ) # License file for the project, used by the STGZ, NSIS, and PackageMaker generators. /home/andy/vtk/CMake/Copyright.txt
|
# set( CPACK_RESOURCE_FILE_LICENSE "${CMAKE_SOURCE_DIR}/LICENSE.txt" ) # License file for the project, used by the STGZ, NSIS, and PackageMaker generators. /home/andy/vtk/CMake/Copyright.txt
|
||||||
|
|||||||
65
README.md
@@ -2,54 +2,14 @@
|
|||||||
|
|
||||||
## Introduction
|
## Introduction
|
||||||
|
|
||||||
Mirall synchronizes your folders with another computer.
|
Mirall is a tool to synchronize files from ownCloud Server with your computer.
|
||||||
|
It uses OCSync as its syncing backend.
|
||||||
The ultimate goals of Mirall are:
|
|
||||||
|
|
||||||
* Network location aware: should not try to sync against your NAS if you are
|
|
||||||
not in the home network
|
|
||||||
* It is a zero-interaction tool. So forget about resolving conflicts.
|
|
||||||
* It should work silently and realiably.
|
|
||||||
|
|
||||||
Mirall is in early stages of development, and may still eat your
|
|
||||||
files or hang your computer.
|
|
||||||
|
|
||||||
* Network location awareness not implemented yet
|
|
||||||
* Current version supports local and remote (sftp and smb) folders.
|
|
||||||
* It is powered by csync (http://www.csync.org), however
|
|
||||||
the user does not know and other tools will be incorporated to provide other
|
|
||||||
functionality.
|
|
||||||
|
|
||||||
## Current issues
|
|
||||||
|
|
||||||
* No sane way to backup conflicting versions yet, this should be solved
|
|
||||||
in a near csync release (--conflictcopy, available in Jann's branch).
|
|
||||||
Right now the newest copy wins.
|
|
||||||
* You can't remove folder configurations
|
|
||||||
Workaround: delete ~/.local/share/data/Mirall/folders/$alias and restart
|
|
||||||
* Some tasks block the GUI (initial setup of watchers)
|
|
||||||
* May be some concurrency issues
|
|
||||||
|
|
||||||
## Roadmap
|
|
||||||
|
|
||||||
* Improve robustness to minimize user interaction
|
|
||||||
* Improve feedback and sync results
|
|
||||||
* Add support for other folder types: tarsnap, duplicity, git (SparkleShare)
|
|
||||||
|
|
||||||
## Requirements
|
|
||||||
|
|
||||||
* Linux (currently it uses inotify to detect file changes)
|
|
||||||
* unison installed in the local and remote machine
|
|
||||||
(you should not care if you got Mirall with your favorite
|
|
||||||
distribution)
|
|
||||||
|
|
||||||
## Download
|
## Download
|
||||||
|
|
||||||
### openSUSE
|
### Binary packages
|
||||||
|
|
||||||
* 1-click install available in software.opensuse.org
|
* Refer to the download page http://owncloud.org/sync-clients/
|
||||||
|
|
||||||
http://software.opensuse.org/search?q=mirall&baseproject=ALL&lang=en&include_home=true&exclude_debug=true
|
|
||||||
|
|
||||||
### Source code
|
### Source code
|
||||||
|
|
||||||
@@ -57,23 +17,12 @@ http://software.opensuse.org/search?q=mirall&baseproject=ALL&lang=en&include_hom
|
|||||||
|
|
||||||
## Building the source code
|
## Building the source code
|
||||||
|
|
||||||
You need Qt 4.7 and cmake:
|
Please refer to [Building the Client](http://doc.owncloud.org/desktop/1.2/building.html)
|
||||||
|
in the ownCloud client manual.
|
||||||
mkdir build
|
|
||||||
cd build
|
|
||||||
cmake ..
|
|
||||||
make
|
|
||||||
|
|
||||||
To generate a tarball:
|
|
||||||
|
|
||||||
mkdir build
|
|
||||||
cd build
|
|
||||||
cmake ..
|
|
||||||
make package_source
|
|
||||||
|
|
||||||
## Authors
|
## Authors
|
||||||
|
|
||||||
* Duncan Mac-Vicar P. <duncan@kde.org>
|
* Duncan Mac-Vicar P. <duncan@kde.org> (original Mirall author)
|
||||||
* Klaas Freitag <freitag@owncloud.com>
|
* Klaas Freitag <freitag@owncloud.com>
|
||||||
* Daniel Molkentin <danimo@owncloud.com>
|
* Daniel Molkentin <danimo@owncloud.com>
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,6 @@
|
|||||||
set( VERSION_MAJOR 1 )
|
set( VERSION_MAJOR 1 )
|
||||||
set( VERSION_MINOR 1 )
|
set( VERSION_MINOR 4 )
|
||||||
set( VERSION_PATCH 0 )
|
set( VERSION_PATCH 2 )
|
||||||
set( VERSION ${VERSION_MAJOR}.${VERSION_MINOR}.${VERSION_PATCH} )
|
set( VERSION "${VERSION_MAJOR}.${VERSION_MINOR}.${VERSION_PATCH}${VERSION_SUFFIX}")
|
||||||
|
set( SOVERSION 0 )
|
||||||
|
|
||||||
|
|||||||
19
admin/osx/sign_dmg.sh
Executable file
@@ -0,0 +1,19 @@
|
|||||||
|
#!/bin/sh -x
|
||||||
|
|
||||||
|
[ "$#" -lt 2 ] && echo "Usage: sign_dmg.sh <dmg> <identity>" && exit
|
||||||
|
|
||||||
|
src_dmg=$1
|
||||||
|
tmp_dmg=writable_$1
|
||||||
|
signed_dmg=signed_$1
|
||||||
|
identity=$2
|
||||||
|
mount="/Volumes/$(basename $src_dmg|cut -d"-" -f1)"
|
||||||
|
|
||||||
|
test -e $tmp_dmg && rm -rf $tmp_dmg
|
||||||
|
hdiutil convert $src_dmg -format UDRW -o $tmp_dmg
|
||||||
|
hdiutil attach $tmp_dmg
|
||||||
|
pushd $mount
|
||||||
|
codesign -s "$identity" $mount/*.app
|
||||||
|
popd
|
||||||
|
diskutil eject $mount
|
||||||
|
test -e $signed_dmg && rm -rf $signed_dmg
|
||||||
|
hdiutil convert $tmp_dmg -format UDBZ -o $signed_dmg
|
||||||
@@ -32,3 +32,7 @@ SET(QT_MOC_EXECUTABLE ${MINGW_PREFIX}-moc)
|
|||||||
SET(QT_RCC_EXECUTABLE ${MINGW_PREFIX}-rcc)
|
SET(QT_RCC_EXECUTABLE ${MINGW_PREFIX}-rcc)
|
||||||
SET(QT_UIC_EXECUTABLE ${MINGW_PREFIX}-uic)
|
SET(QT_UIC_EXECUTABLE ${MINGW_PREFIX}-uic)
|
||||||
SET(QT_LRELEASE_EXECUTABLE ${MINGW_PREFIX}-lrelease)
|
SET(QT_LRELEASE_EXECUTABLE ${MINGW_PREFIX}-lrelease)
|
||||||
|
|
||||||
|
# neon config
|
||||||
|
SET(NEON_CONFIG_EXECUTABLE ${CMAKE_FIND_ROOT_PATH}/bin/neon-config)
|
||||||
|
# /usr/i686-w64-mingw32/sys-root/mingw/bin/neon-config
|
||||||
|
|||||||
|
Before Width: | Height: | Size: 34 KiB After Width: | Height: | Size: 34 KiB |
|
Before Width: | Height: | Size: 151 KiB After Width: | Height: | Size: 151 KiB |
108
cmake/modules/DefineInstallationPaths.cmake
Normal file
@@ -0,0 +1,108 @@
|
|||||||
|
if (UNIX)
|
||||||
|
# Suffix for Linux
|
||||||
|
SET(LIB_SUFFIX
|
||||||
|
CACHE STRING "Define suffix of directory name (32/64)"
|
||||||
|
)
|
||||||
|
|
||||||
|
SET(EXEC_INSTALL_PREFIX
|
||||||
|
"${CMAKE_INSTALL_PREFIX}"
|
||||||
|
CACHE PATH "Base directory for executables and libraries"
|
||||||
|
)
|
||||||
|
SET(SHARE_INSTALL_PREFIX
|
||||||
|
"${CMAKE_INSTALL_PREFIX}/share"
|
||||||
|
CACHE PATH "Base directory for files which go to share/"
|
||||||
|
)
|
||||||
|
SET(DATA_INSTALL_PREFIX
|
||||||
|
"${SHARE_INSTALL_PREFIX}/${APPLICATION_SHORT_NAME}"
|
||||||
|
CACHE PATH "The parent directory where applications can install their data")
|
||||||
|
|
||||||
|
# The following are directories where stuff will be installed to
|
||||||
|
SET(BIN_INSTALL_DIR
|
||||||
|
"${EXEC_INSTALL_PREFIX}/bin"
|
||||||
|
CACHE PATH "The ${APPLICATION_SHORT_NAME} binary install dir (default prefix/bin)"
|
||||||
|
)
|
||||||
|
SET(SBIN_INSTALL_DIR
|
||||||
|
"${EXEC_INSTALL_PREFIX}/sbin"
|
||||||
|
CACHE PATH "The ${APPLICATION_SHORT_NAME} sbin install dir (default prefix/sbin)"
|
||||||
|
)
|
||||||
|
SET(LIB_INSTALL_DIR
|
||||||
|
"${EXEC_INSTALL_PREFIX}/lib${LIB_SUFFIX}"
|
||||||
|
CACHE PATH "The subdirectory relative to the install prefix where libraries will be installed (default is prefix/lib)"
|
||||||
|
)
|
||||||
|
SET(LIBEXEC_INSTALL_DIR
|
||||||
|
"${EXEC_INSTALL_PREFIX}/libexec"
|
||||||
|
CACHE PATH "The subdirectory relative to the install prefix where libraries will be installed (default is prefix/libexec)"
|
||||||
|
)
|
||||||
|
SET(PLUGIN_INSTALL_DIR
|
||||||
|
"${LIB_INSTALL_DIR}/${APPLICATION_SHORT_NAME}"
|
||||||
|
CACHE PATH "The subdirectory relative to the install prefix where plugins will be installed (default is prefix/lib/${APPLICATION_SHORT_NAME})"
|
||||||
|
)
|
||||||
|
SET(INCLUDE_INSTALL_DIR
|
||||||
|
"${CMAKE_INSTALL_PREFIX}/include"
|
||||||
|
CACHE PATH "The subdirectory to the header prefix (default prefix/include)"
|
||||||
|
)
|
||||||
|
|
||||||
|
SET(DATA_INSTALL_DIR
|
||||||
|
"${DATA_INSTALL_PREFIX}"
|
||||||
|
CACHE PATH "The parent directory where applications can install their data (default prefix/share/${APPLICATION_SHORT_NAME})"
|
||||||
|
)
|
||||||
|
SET(HTML_INSTALL_DIR
|
||||||
|
"${DATA_INSTALL_PREFIX}/doc/HTML"
|
||||||
|
CACHE PATH "The HTML install dir for documentation (default data/doc/html)"
|
||||||
|
)
|
||||||
|
SET(ICON_INSTALL_DIR
|
||||||
|
"${DATA_INSTALL_PREFIX}/icons"
|
||||||
|
CACHE PATH "The icon install dir (default data/icons/)"
|
||||||
|
)
|
||||||
|
SET(SOUND_INSTALL_DIR
|
||||||
|
"${DATA_INSTALL_PREFIX}/sounds"
|
||||||
|
CACHE PATH "The install dir for sound files (default data/sounds)"
|
||||||
|
)
|
||||||
|
|
||||||
|
SET(LOCALE_INSTALL_DIR
|
||||||
|
"${SHARE_INSTALL_PREFIX}/locale"
|
||||||
|
CACHE PATH "The install dir for translations (default prefix/share/locale)"
|
||||||
|
)
|
||||||
|
|
||||||
|
SET(XDG_APPS_DIR
|
||||||
|
"${SHARE_INSTALL_PREFIX}/applications/"
|
||||||
|
CACHE PATH "The XDG apps dir"
|
||||||
|
)
|
||||||
|
SET(XDG_DIRECTORY_DIR
|
||||||
|
"${SHARE_INSTALL_PREFIX}/desktop-directories"
|
||||||
|
CACHE PATH "The XDG directory"
|
||||||
|
)
|
||||||
|
|
||||||
|
IF(NOT "${EXEC_INSTALL_PREFIX}" STREQUAL "/usr")
|
||||||
|
SET(SYSCONFDIR_INSTALL_PREFIX "${EXEC_INSTALL_PREFIX}")
|
||||||
|
endif()
|
||||||
|
|
||||||
|
SET(SYSCONF_INSTALL_DIR
|
||||||
|
"${SYSCONFDIR_INSTALL_PREFIX}/etc"
|
||||||
|
CACHE PATH "The ${APPLICATION_SHORT_NAME} sysconfig install dir (default prefix/etc)"
|
||||||
|
)
|
||||||
|
SET(MAN_INSTALL_DIR
|
||||||
|
"${SHARE_INSTALL_PREFIX}/man"
|
||||||
|
CACHE PATH "The ${APPLICATION_SHORT_NAME} man install dir (default prefix/man)"
|
||||||
|
)
|
||||||
|
SET(INFO_INSTALL_DIR
|
||||||
|
"${SHARE_INSTALL_PREFIX}/info"
|
||||||
|
CACHE PATH "The ${APPLICATION_SHORT_NAME} info install dir (default prefix/info)"
|
||||||
|
)
|
||||||
|
endif (UNIX)
|
||||||
|
|
||||||
|
if (WIN32)
|
||||||
|
# Same same
|
||||||
|
set(SHARE_INSTALL_PREFIX "share" CACHE PATH "-")
|
||||||
|
set(BIN_INSTALL_DIR "." CACHE PATH "-")
|
||||||
|
set(SBIN_INSTALL_DIR "." CACHE PATH "-")
|
||||||
|
set(LIB_INSTALL_DIR "lib" CACHE PATH "-")
|
||||||
|
set(INCLUDE_INSTALL_DIR "include" CACHE PATH "-")
|
||||||
|
set(PLUGIN_INSTALL_DIR "plugins" CACHE PATH "-")
|
||||||
|
set(HTML_INSTALL_DIR "doc/HTML" CACHE PATH "-")
|
||||||
|
set(ICON_INSTALL_DIR "." CACHE PATH "-")
|
||||||
|
set(SOUND_INSTALL_DIR "." CACHE PATH "-")
|
||||||
|
set(LOCALE_INSTALL_DIR "lang" CACHE PATH "-")
|
||||||
|
set(SYSCONF_INSTALL_DIR "config" CACHE PATH "-")
|
||||||
|
set(MAN_INSTALL_DIR "man" CACHE PATH "-")
|
||||||
|
endif (WIN32)
|
||||||
@@ -1,28 +1,28 @@
|
|||||||
IF(EXISTS "${CMAKE_SOURCE_DIR}/../csync/src/csync.h")
|
|
||||||
SET(CSYNC_INCLUDE_PATH ${CMAKE_SOURCE_DIR}/../csync/src/)
|
|
||||||
ELSE()
|
|
||||||
FIND_PATH(CSYNC_INCLUDE_PATH NAMES csync.h HINTS $ENV{CSYNC_DIR} )
|
|
||||||
ENDIF()
|
|
||||||
|
|
||||||
IF( DEFINED CSYNC_LIBRARY_PATH AND DEFINED CSYNC_INCLUDE_PATH )
|
IF( DEFINED CSYNC_BUILD_PATH )
|
||||||
IF( WIN32 )
|
SET(CSYNC_LIBRARY_PATH ${CSYNC_BUILD_PATH})
|
||||||
SET(CSYNC_LIBRARY ${CSYNC_LIBRARY_PATH}/src/libocsync.dll)
|
SET(CSYNC_BINARY_DIR ${CSYNC_BUILD_PATH})
|
||||||
ELSEIF ( APPLE )
|
|
||||||
SET(CSYNC_LIBRARY ${CSYNC_LIBRARY_PATH}/src/libocsync.dylib)
|
IF(WIN32)
|
||||||
|
SET(CSYNC_LIBRARY ${CSYNC_BUILD_PATH}/src/libocsync.dll)
|
||||||
|
ELSEIF( APPLE )
|
||||||
|
SET(CSYNC_LIBRARY ${CSYNC_BUILD_PATH}/src/libocsync.dylib)
|
||||||
ELSE()
|
ELSE()
|
||||||
SET(CSYNC_LIBRARY ${CSYNC_LIBRARY_PATH}/src/libocsync.so)
|
SET(CSYNC_LIBRARY ${CSYNC_BUILD_PATH}/src/libocsync.so)
|
||||||
ENDIF( )
|
ENDIF()
|
||||||
SET(CSYNC_BINARY_DIR ${CSYNC_LIBRARY_PATH})
|
|
||||||
ELSE()
|
ELSE()
|
||||||
FIND_LIBRARY(CSYNC_LIBRARY NAMES ocsync HINTS $ENV{CSYNC_DIR})
|
FIND_LIBRARY(CSYNC_LIBRARY NAMES ocsync HINTS $ENV{CSYNC_DIR})
|
||||||
ENDIF()
|
ENDIF()
|
||||||
|
|
||||||
|
IF(NOT DEFINED CSYNC_INCLUDE_PATH)
|
||||||
|
FIND_PATH(CSYNC_INCLUDE_PATH NAMES csync.h HINTS $ENV{CSYNC_DIR} )
|
||||||
|
ENDIF()
|
||||||
|
|
||||||
SET(CSYNC_INCLUDE_DIR ${CSYNC_INCLUDE_PATH})
|
SET(CSYNC_INCLUDE_DIR ${CSYNC_INCLUDE_PATH})
|
||||||
|
|
||||||
# handle the QUIETLY and REQUIRED arguments and set CSYNC_FOUND to TRUE if
|
# handle the QUIETLY and REQUIRED arguments and set CSYNC_FOUND to TRUE if
|
||||||
# all listed variables are TRUE
|
# all listed variables are TRUE
|
||||||
include(FindPackageHandleStandardArgs)
|
include(FindPackageHandleStandardArgs)
|
||||||
FIND_PACKAGE_HANDLE_STANDARD_ARGS(Csync DEFAULT_MSG
|
FIND_PACKAGE_HANDLE_STANDARD_ARGS(Csync DEFAULT_MSG CSYNC_LIBRARY CSYNC_INCLUDE_PATH)
|
||||||
CSYNC_LIBRARY CSYNC_INCLUDE_PATH)
|
|
||||||
|
|
||||||
MARK_AS_ADVANCED( CSYNC_INCLUDE_PATH CSYNC_LIBRARY )
|
MARK_AS_ADVANCED( CSYNC_INCLUDE_PATH CSYNC_LIBRARY )
|
||||||
|
|||||||
@@ -4,12 +4,12 @@
|
|||||||
# also defined, but not for general use are
|
# also defined, but not for general use are
|
||||||
# INOTIFY_LIBRARY, where to find the inotify library.
|
# INOTIFY_LIBRARY, where to find the inotify library.
|
||||||
|
|
||||||
find_path(INOTIFY_INCLUDE_DIR sys/inotify.h)
|
find_path(INOTIFY_INCLUDE_DIR sys/inotify.h
|
||||||
|
HINTS /usr/include/${CMAKE_LIBRARY_ARCHITECTURE})
|
||||||
mark_as_advanced(INOTIFY_INCLUDE_DIR)
|
mark_as_advanced(INOTIFY_INCLUDE_DIR)
|
||||||
|
|
||||||
|
|
||||||
# handle the QUIETLY and REQUIRED arguments and set INOTIFY_FOUND to TRUE if
|
|
||||||
# all listed variables are TRUE
|
# all listed variables are TRUE
|
||||||
|
# handle the QUIETLY and REQUIRED arguments and set INOTIFY_FOUND to TRUE if
|
||||||
include(FindPackageHandleStandardArgs)
|
include(FindPackageHandleStandardArgs)
|
||||||
find_package_handle_standard_args(INOTIFY DEFAULT_MSG INOTIFY_INCLUDE_DIR)
|
find_package_handle_standard_args(INOTIFY DEFAULT_MSG INOTIFY_INCLUDE_DIR)
|
||||||
|
|
||||||
|
|||||||
16
cmake/modules/FindPdfLatex.cmake
Normal file
@@ -0,0 +1,16 @@
|
|||||||
|
find_program(PDFLATEX_EXECUTABLE NAMES pdflatex
|
||||||
|
HINTS
|
||||||
|
$ENV{PDFLATEX_DIR}
|
||||||
|
PATH_SUFFIXES bin
|
||||||
|
DOC "PDF LaTeX"
|
||||||
|
)
|
||||||
|
|
||||||
|
include(FindPackageHandleStandardArgs)
|
||||||
|
|
||||||
|
find_package_handle_standard_args(PdfLatex DEFAULT_MSG
|
||||||
|
PDFLATEX_EXECUTABLE
|
||||||
|
)
|
||||||
|
|
||||||
|
mark_as_advanced(
|
||||||
|
PDFLATEX_EXECUTABLE
|
||||||
|
)
|
||||||
18
cmake/modules/FindQtKeychain.cmake
Normal file
@@ -0,0 +1,18 @@
|
|||||||
|
# - Try to find QtKeyChain
|
||||||
|
# Once done this will define
|
||||||
|
# QTKEYCHAIN_FOUND - System has QtKeyChain
|
||||||
|
# QTKEYCHAIN_INCLUDE_DIRS - The QtKeyChain include directories
|
||||||
|
# QTKEYCHAIN_LIBRARIES - The libraries needed to use QtKeyChain
|
||||||
|
# QTKEYCHAIN_DEFINITIONS - Compiler switches required for using LibXml2
|
||||||
|
|
||||||
|
find_path(QTKEYCHAIN_INCLUDE_DIR qtkeychain/keychain.h)
|
||||||
|
|
||||||
|
find_library(QTKEYCHAIN_LIBRARY NAMES libqtkeychain qtkeychain)
|
||||||
|
|
||||||
|
include(FindPackageHandleStandardArgs)
|
||||||
|
# handle the QUIETLY and REQUIRED arguments and set QTKEYCHAIN_FOUND to TRUE
|
||||||
|
# if all listed variables are TRUE
|
||||||
|
find_package_handle_standard_args(QtKeyChain DEFAULT_MSG
|
||||||
|
QTKEYCHAIN_LIBRARY QTKEYCHAIN_INCLUDE_DIR)
|
||||||
|
|
||||||
|
mark_as_advanced(QTKEYCHAIN_INCLUDE_DIR QTKEYCHAIN_LIBRARY )
|
||||||
16
cmake/modules/FindSphinx.cmake
Normal file
@@ -0,0 +1,16 @@
|
|||||||
|
find_program(SPHINX_EXECUTABLE NAMES sphinx-build
|
||||||
|
HINTS
|
||||||
|
$ENV{SPHINX_DIR}
|
||||||
|
PATH_SUFFIXES bin
|
||||||
|
DOC "Sphinx documentation generator"
|
||||||
|
)
|
||||||
|
|
||||||
|
include(FindPackageHandleStandardArgs)
|
||||||
|
|
||||||
|
find_package_handle_standard_args(Sphinx DEFAULT_MSG
|
||||||
|
SPHINX_EXECUTABLE
|
||||||
|
)
|
||||||
|
|
||||||
|
mark_as_advanced(
|
||||||
|
SPHINX_EXECUTABLE
|
||||||
|
)
|
||||||
123
cmake/modules/GetGitRevisionDescription.cmake
Normal file
@@ -0,0 +1,123 @@
|
|||||||
|
# - Returns a version string from Git
|
||||||
|
#
|
||||||
|
# These functions force a re-configure on each git commit so that you can
|
||||||
|
# trust the values of the variables in your build system.
|
||||||
|
#
|
||||||
|
# get_git_head_revision(<refspecvar> <hashvar> [<additional arguments to git describe> ...])
|
||||||
|
#
|
||||||
|
# Returns the refspec and sha hash of the current head revision
|
||||||
|
#
|
||||||
|
# git_describe(<var> [<additional arguments to git describe> ...])
|
||||||
|
#
|
||||||
|
# Returns the results of git describe on the source tree, and adjusting
|
||||||
|
# the output so that it tests false if an error occurs.
|
||||||
|
#
|
||||||
|
# git_get_exact_tag(<var> [<additional arguments to git describe> ...])
|
||||||
|
#
|
||||||
|
# Returns the results of git describe --exact-match on the source tree,
|
||||||
|
# and adjusting the output so that it tests false if there was no exact
|
||||||
|
# matching tag.
|
||||||
|
#
|
||||||
|
# Requires CMake 2.6 or newer (uses the 'function' command)
|
||||||
|
#
|
||||||
|
# Original Author:
|
||||||
|
# 2009-2010 Ryan Pavlik <rpavlik@iastate.edu> <abiryan@ryand.net>
|
||||||
|
# http://academic.cleardefinition.com
|
||||||
|
# Iowa State University HCI Graduate Program/VRAC
|
||||||
|
#
|
||||||
|
# Copyright Iowa State University 2009-2010.
|
||||||
|
# Distributed under the Boost Software License, Version 1.0.
|
||||||
|
# (See accompanying file LICENSE_1_0.txt or copy at
|
||||||
|
# http://www.boost.org/LICENSE_1_0.txt)
|
||||||
|
|
||||||
|
if(__get_git_revision_description)
|
||||||
|
return()
|
||||||
|
endif()
|
||||||
|
set(__get_git_revision_description YES)
|
||||||
|
|
||||||
|
# We must run the following at "include" time, not at function call time,
|
||||||
|
# to find the path to this module rather than the path to a calling list file
|
||||||
|
get_filename_component(_gitdescmoddir ${CMAKE_CURRENT_LIST_FILE} PATH)
|
||||||
|
|
||||||
|
function(get_git_head_revision _refspecvar _hashvar)
|
||||||
|
set(GIT_PARENT_DIR "${CMAKE_SOURCE_DIR}")
|
||||||
|
set(GIT_DIR "${GIT_PARENT_DIR}/.git")
|
||||||
|
while(NOT EXISTS "${GIT_DIR}") # .git dir not found, search parent directories
|
||||||
|
set(GIT_PREVIOUS_PARENT "${GIT_PARENT_DIR}")
|
||||||
|
get_filename_component(GIT_PARENT_DIR ${GIT_PARENT_DIR} PATH)
|
||||||
|
if(GIT_PARENT_DIR STREQUAL GIT_PREVIOUS_PARENT)
|
||||||
|
# We have reached the root directory, we are not in git
|
||||||
|
set(${_refspecvar} "GITDIR-NOTFOUND" PARENT_SCOPE)
|
||||||
|
set(${_hashvar} "GITDIR-NOTFOUND" PARENT_SCOPE)
|
||||||
|
return()
|
||||||
|
endif()
|
||||||
|
set(GIT_DIR "${GIT_PARENT_DIR}/.git")
|
||||||
|
endwhile()
|
||||||
|
set(GIT_DATA "${CMAKE_CURRENT_BINARY_DIR}/CMakeFiles/git-data")
|
||||||
|
if(NOT EXISTS "${GIT_DATA}")
|
||||||
|
file(MAKE_DIRECTORY "${GIT_DATA}")
|
||||||
|
endif()
|
||||||
|
|
||||||
|
if(NOT EXISTS "${GIT_DIR}/HEAD")
|
||||||
|
return()
|
||||||
|
endif()
|
||||||
|
set(HEAD_FILE "${GIT_DATA}/HEAD")
|
||||||
|
configure_file("${GIT_DIR}/HEAD" "${HEAD_FILE}" COPYONLY)
|
||||||
|
|
||||||
|
configure_file("${_gitdescmoddir}/GetGitRevisionDescription.cmake.in"
|
||||||
|
"${GIT_DATA}/grabRef.cmake"
|
||||||
|
@ONLY)
|
||||||
|
include("${GIT_DATA}/grabRef.cmake")
|
||||||
|
|
||||||
|
set(${_refspecvar} "${HEAD_REF}" PARENT_SCOPE)
|
||||||
|
set(${_hashvar} "${HEAD_HASH}" PARENT_SCOPE)
|
||||||
|
endfunction()
|
||||||
|
|
||||||
|
function(git_describe _var)
|
||||||
|
if(NOT GIT_FOUND)
|
||||||
|
find_package(Git QUIET)
|
||||||
|
endif()
|
||||||
|
get_git_head_revision(refspec hash)
|
||||||
|
if(NOT GIT_FOUND)
|
||||||
|
set(${_var} "GIT-NOTFOUND" PARENT_SCOPE)
|
||||||
|
return()
|
||||||
|
endif()
|
||||||
|
if(NOT hash)
|
||||||
|
set(${_var} "HEAD-HASH-NOTFOUND" PARENT_SCOPE)
|
||||||
|
return()
|
||||||
|
endif()
|
||||||
|
|
||||||
|
# TODO sanitize
|
||||||
|
#if((${ARGN}" MATCHES "&&") OR
|
||||||
|
# (ARGN MATCHES "||") OR
|
||||||
|
# (ARGN MATCHES "\\;"))
|
||||||
|
# message("Please report the following error to the project!")
|
||||||
|
# message(FATAL_ERROR "Looks like someone's doing something nefarious with git_describe! Passed arguments ${ARGN}")
|
||||||
|
#endif()
|
||||||
|
|
||||||
|
#message(STATUS "Arguments to execute_process: ${ARGN}")
|
||||||
|
|
||||||
|
execute_process(COMMAND
|
||||||
|
"${GIT_EXECUTABLE}"
|
||||||
|
describe
|
||||||
|
${hash}
|
||||||
|
${ARGN}
|
||||||
|
WORKING_DIRECTORY
|
||||||
|
"${CMAKE_SOURCE_DIR}"
|
||||||
|
RESULT_VARIABLE
|
||||||
|
res
|
||||||
|
OUTPUT_VARIABLE
|
||||||
|
out
|
||||||
|
ERROR_QUIET
|
||||||
|
OUTPUT_STRIP_TRAILING_WHITESPACE)
|
||||||
|
if(NOT res EQUAL 0)
|
||||||
|
set(out "${out}-${res}-NOTFOUND")
|
||||||
|
endif()
|
||||||
|
|
||||||
|
set(${_var} "${out}" PARENT_SCOPE)
|
||||||
|
endfunction()
|
||||||
|
|
||||||
|
function(git_get_exact_tag _var)
|
||||||
|
git_describe(out --exact-match ${ARGN})
|
||||||
|
set(${_var} "${out}" PARENT_SCOPE)
|
||||||
|
endfunction()
|
||||||
38
cmake/modules/GetGitRevisionDescription.cmake.in
Normal file
@@ -0,0 +1,38 @@
|
|||||||
|
#
|
||||||
|
# Internal file for GetGitRevisionDescription.cmake
|
||||||
|
#
|
||||||
|
# Requires CMake 2.6 or newer (uses the 'function' command)
|
||||||
|
#
|
||||||
|
# Original Author:
|
||||||
|
# 2009-2010 Ryan Pavlik <rpavlik@iastate.edu> <abiryan@ryand.net>
|
||||||
|
# http://academic.cleardefinition.com
|
||||||
|
# Iowa State University HCI Graduate Program/VRAC
|
||||||
|
#
|
||||||
|
# Copyright Iowa State University 2009-2010.
|
||||||
|
# Distributed under the Boost Software License, Version 1.0.
|
||||||
|
# (See accompanying file LICENSE_1_0.txt or copy at
|
||||||
|
# http://www.boost.org/LICENSE_1_0.txt)
|
||||||
|
|
||||||
|
set(HEAD_HASH)
|
||||||
|
|
||||||
|
file(READ "@HEAD_FILE@" HEAD_CONTENTS LIMIT 1024)
|
||||||
|
|
||||||
|
string(STRIP "${HEAD_CONTENTS}" HEAD_CONTENTS)
|
||||||
|
if(HEAD_CONTENTS MATCHES "ref")
|
||||||
|
# named branch
|
||||||
|
string(REPLACE "ref: " "" HEAD_REF "${HEAD_CONTENTS}")
|
||||||
|
if(EXISTS "@GIT_DIR@/${HEAD_REF}")
|
||||||
|
configure_file("@GIT_DIR@/${HEAD_REF}" "@GIT_DATA@/head-ref" COPYONLY)
|
||||||
|
elseif(EXISTS "@GIT_DIR@/logs/${HEAD_REF}")
|
||||||
|
configure_file("@GIT_DIR@/logs/${HEAD_REF}" "@GIT_DATA@/head-ref" COPYONLY)
|
||||||
|
set(HEAD_HASH "${HEAD_REF}")
|
||||||
|
endif()
|
||||||
|
else()
|
||||||
|
# detached HEAD
|
||||||
|
configure_file("@GIT_DIR@/HEAD" "@GIT_DATA@/head-ref" COPYONLY)
|
||||||
|
endif()
|
||||||
|
|
||||||
|
if(NOT HEAD_HASH)
|
||||||
|
file(READ "@GIT_DATA@/head-ref" HEAD_HASH LIMIT 1024)
|
||||||
|
string(STRIP "${HEAD_HASH}" HEAD_HASH)
|
||||||
|
endif()
|
||||||
@@ -1,23 +1,23 @@
|
|||||||
;ownCloud installer script.
|
;ownCloud installer script.
|
||||||
|
|
||||||
!define APPLICATION_SHORTNAME "@APPLICATION_SHORTNAME@"
|
!define APPLICATION_SHORTNAME "@APPLICATION_EXECUTABLE@"
|
||||||
!define APPLICATION_NAME "@APPLICATION_NAME@"
|
!define APPLICATION_NAME "@APPLICATION_NAME@"
|
||||||
!define APPLICATION_VENDOR "@APPLICATION_VENDOR@"
|
!define APPLICATION_VENDOR "@APPLICATION_VENDOR@"
|
||||||
!define APPLICATION_EXECUTABLE "@APPLICATION_EXECUTABLE@.exe"
|
!define APPLICATION_EXECUTABLE "@APPLICATION_EXECUTABLE@.exe"
|
||||||
!define APPLICATION_DOMAIN "@APPLICATION_DOMAIN@"
|
!define APPLICATION_DOMAIN "@APPLICATION_DOMAIN@"
|
||||||
|
!define APPLICATION_LICENSE "@APPLICATION_LICENSE@"
|
||||||
!define MUI_FINISHPAGE_LINK_LOCATION "http://www.${APPLICATION_DOMAIN}"
|
!define WIN_SETUP_BITMAP_PATH "@WIN_SETUP_BITMAP_PATH@"
|
||||||
|
|
||||||
|
|
||||||
;-----------------------------------------------------------------------------
|
;-----------------------------------------------------------------------------
|
||||||
; Some installer script options (comment-out options not required)
|
; Some installer script options (comment-out options not required)
|
||||||
;-----------------------------------------------------------------------------
|
;-----------------------------------------------------------------------------
|
||||||
;!define OPTION_LICENSE_AGREEMENT
|
!if "@APPLICATION_LICENSE@" != ""
|
||||||
|
!define OPTION_LICENSE_AGREEMENT
|
||||||
|
!endif
|
||||||
!define OPTION_UAC_PLUGIN_ENHANCED
|
!define OPTION_UAC_PLUGIN_ENHANCED
|
||||||
!define OPTION_SECTION_SC_START_MENU
|
!define OPTION_SECTION_SC_START_MENU
|
||||||
!define OPTION_SECTION_SC_DESKTOP
|
!define OPTION_SECTION_SC_DESKTOP
|
||||||
!define OPTION_SECTION_SC_QUICK_LAUNCH
|
!define OPTION_SECTION_SC_QUICK_LAUNCH
|
||||||
!define OPTION_SECTION_SC_AUTOSTART
|
|
||||||
!define OPTION_FINISHPAGE
|
!define OPTION_FINISHPAGE
|
||||||
!define OPTION_FINISHPAGE_LAUNCHER
|
!define OPTION_FINISHPAGE_LAUNCHER
|
||||||
; !define OPTION_FINISHPAGE_RELEASE_NOTES
|
; !define OPTION_FINISHPAGE_RELEASE_NOTES
|
||||||
@@ -30,9 +30,11 @@
|
|||||||
!endif
|
!endif
|
||||||
!define MING_BIN "${MING_PATH}/bin"
|
!define MING_BIN "${MING_PATH}/bin"
|
||||||
!define MING_LIB "${MING_PATH}/lib"
|
!define MING_LIB "${MING_PATH}/lib"
|
||||||
|
!define MING_SHARE "${MING_PATH}/share"
|
||||||
!define BUILD_PATH "@CMAKE_BINARY_DIR@"
|
!define BUILD_PATH "@CMAKE_BINARY_DIR@"
|
||||||
!define SOURCE_PATH "@CMAKE_SOURCE_DIR@"
|
!define SOURCE_PATH "@CMAKE_SOURCE_DIR@"
|
||||||
!define QT_DLL_PATH "${MING_BIN}"
|
!define QT_DLL_PATH "${MING_BIN}"
|
||||||
|
!define ACCESSIBLE_DLL_PATH "${MING_LIB}/qt4/plugins/accessible"
|
||||||
!define SQLITE_DLL_PATH "${MING_LIB}/qt4/plugins/sqldrivers"
|
!define SQLITE_DLL_PATH "${MING_LIB}/qt4/plugins/sqldrivers"
|
||||||
!define IMAGEFORMATS_DLL_PATH "${MING_LIB}/qt4/plugins/imageformats"
|
!define IMAGEFORMATS_DLL_PATH "${MING_LIB}/qt4/plugins/imageformats"
|
||||||
|
|
||||||
@@ -40,7 +42,7 @@
|
|||||||
!define CSYNC_PLUGIN_DIR "@CSYNC_PLUGIN_DIR@"
|
!define CSYNC_PLUGIN_DIR "@CSYNC_PLUGIN_DIR@"
|
||||||
!define CSYNC_CONFIG_DIR "@CSYNC_CONFIG_DIR@"
|
!define CSYNC_CONFIG_DIR "@CSYNC_CONFIG_DIR@"
|
||||||
|
|
||||||
!define NSI_PATH "${SOURCE_PATH}/admin/win/nsi"
|
!define NSI_PATH "${source_path}/admin/win/nsi"
|
||||||
|
|
||||||
;-----------------------------------------------------------------------------
|
;-----------------------------------------------------------------------------
|
||||||
; Installer version
|
; Installer version
|
||||||
@@ -60,7 +62,6 @@
|
|||||||
; Initial installer setup and definitions.
|
; Initial installer setup and definitions.
|
||||||
;-----------------------------------------------------------------------------
|
;-----------------------------------------------------------------------------
|
||||||
Name "@CPACK_NSIS_PACKAGE_NAME@"
|
Name "@CPACK_NSIS_PACKAGE_NAME@"
|
||||||
Caption "${APPLICATION_NAME} Setup"
|
|
||||||
BrandingText "${APPLICATION_NAME} ${VERSION} -- ${BUILD_TIME}"
|
BrandingText "${APPLICATION_NAME} ${VERSION} -- ${BUILD_TIME}"
|
||||||
OutFile "@CPACK_TOPLEVEL_DIRECTORY@/@CPACK_OUTPUT_FILE_NAME@"
|
OutFile "@CPACK_TOPLEVEL_DIRECTORY@/@CPACK_OUTPUT_FILE_NAME@"
|
||||||
InstallDir "$PROGRAMFILES\@CPACK_PACKAGE_INSTALL_DIRECTORY@"
|
InstallDir "$PROGRAMFILES\@CPACK_PACKAGE_INSTALL_DIRECTORY@"
|
||||||
@@ -100,14 +101,12 @@ ReserveFile "${NSISDIR}\Plugins\InstallOptions.dll"
|
|||||||
!define MUI_ABORTWARNING
|
!define MUI_ABORTWARNING
|
||||||
!define MUI_ICON ${NSI_PATH}\installer.ico
|
!define MUI_ICON ${NSI_PATH}\installer.ico
|
||||||
!define MUI_UNICON ${NSI_PATH}\installer.ico
|
!define MUI_UNICON ${NSI_PATH}\installer.ico
|
||||||
!define MUI_WELCOMEFINISHPAGE_BITMAP ${NSI_PATH}\welcome_${APPLICATION_SHORTNAME}.bmp
|
!define MUI_WELCOMEFINISHPAGE_BITMAP ${WIN_SETUP_BITMAP_PATH}/welcome.bmp
|
||||||
!define MUI_WELCOMEPAGE_TITLE "Welcome to the @CPACK_PACKAGE_NAME@ ${VERSION} Setup Wizard"
|
|
||||||
!define MUI_WELCOMEPAGE_TEXT "This wizard will guide you through the installation.$\r$\n$\r$\n$_CLICK"
|
|
||||||
!define MUI_HEADERIMAGE
|
!define MUI_HEADERIMAGE
|
||||||
!define MUI_HEADERIMAGE_BITMAP ${NSI_PATH}\page_header_${APPLICATION_SHORTNAME}.bmp
|
!define MUI_HEADERIMAGE_BITMAP ${WIN_SETUP_BITMAP_PATH}/page_header.bmp
|
||||||
!define MUI_COMPONENTSPAGE_SMALLDESC
|
!define MUI_COMPONENTSPAGE_SMALLDESC
|
||||||
!define MUI_FINISHPAGE_TITLE "@CPACK_PACKAGE_NAME@ Setup Completed"
|
!define MUI_FINISHPAGE_LINK "www.${APPLICATION_DOMAIN}"
|
||||||
!define MUI_FINISHPAGE_LINK "Click here to visit the @CPACK_PACKAGE_NAME@ website."
|
!define MUI_FINISHPAGE_LINK_LOCATION "http://www.${APPLICATION_DOMAIN}"
|
||||||
!define MUI_FINISHPAGE_NOREBOOTSUPPORT
|
!define MUI_FINISHPAGE_NOREBOOTSUPPORT
|
||||||
!ifdef OPTION_FINISHPAGE_RELEASE_NOTES
|
!ifdef OPTION_FINISHPAGE_RELEASE_NOTES
|
||||||
!define MUI_FINISHPAGE_SHOWREADME_NOTCHECKED
|
!define MUI_FINISHPAGE_SHOWREADME_NOTCHECKED
|
||||||
@@ -125,7 +124,7 @@ ReserveFile "${NSISDIR}\Plugins\InstallOptions.dll"
|
|||||||
;-----------------------------------------------------------------------------
|
;-----------------------------------------------------------------------------
|
||||||
!insertmacro MUI_PAGE_WELCOME
|
!insertmacro MUI_PAGE_WELCOME
|
||||||
!ifdef OPTION_LICENSE_AGREEMENT
|
!ifdef OPTION_LICENSE_AGREEMENT
|
||||||
!insertmacro MUI_PAGE_LICENSE "LICENSE.txt"
|
!insertmacro MUI_PAGE_LICENSE "${APPLICATION_LICENSE}"
|
||||||
!endif
|
!endif
|
||||||
Page custom PageReinstall PageLeaveReinstall
|
Page custom PageReinstall PageLeaveReinstall
|
||||||
!insertmacro MUI_PAGE_COMPONENTS
|
!insertmacro MUI_PAGE_COMPONENTS
|
||||||
@@ -267,7 +266,7 @@ FunctionEnd
|
|||||||
# INSTALLER SECTIONS #
|
# INSTALLER SECTIONS #
|
||||||
# #
|
# #
|
||||||
##############################################################################
|
##############################################################################
|
||||||
Section "${APPLICATION_NAME}" SEC_OWNCLOUD
|
Section "${APPLICATION_NAME}" SEC_APPLICATION
|
||||||
SectionIn 1 2 3 RO
|
SectionIn 1 2 3 RO
|
||||||
SetDetailsPrint listonly
|
SetDetailsPrint listonly
|
||||||
|
|
||||||
@@ -283,23 +282,20 @@ Section "${APPLICATION_NAME}" SEC_OWNCLOUD
|
|||||||
!ifndef INSTALL_PATH
|
!ifndef INSTALL_PATH
|
||||||
;Main executable.
|
;Main executable.
|
||||||
File "${BUILD_PATH}\bin\${APPLICATION_EXECUTABLE}"
|
File "${BUILD_PATH}\bin\${APPLICATION_EXECUTABLE}"
|
||||||
File "${BUILD_PATH}\src\libowncloudsync.dll"
|
File "${BUILD_PATH}\src\lib${APPLICATION_SHORTNAME}sync.dll"
|
||||||
File "${BUILD_PATH}\src\mirall_ca.qm"
|
|
||||||
File "${BUILD_PATH}\src\mirall_cs_CZ.qm"
|
File "${BUILD_PATH}\src\mirall_*.qm"
|
||||||
File "${BUILD_PATH}\src\mirall_de.qm"
|
; Make sure only to copy qt, not qt_help, etc
|
||||||
File "${BUILD_PATH}\src\mirall_el.qm"
|
File "${MING_SHARE}\qt4\translations\qt_??.qm"
|
||||||
File "${BUILD_PATH}\src\mirall_en.qm"
|
File "${MING_SHARE}\qt4\translations\qt_??_??.qm"
|
||||||
File "${BUILD_PATH}\src\mirall_es.qm"
|
File "${MING_SHARE}\qt4\translations\qtkeychain_*.qm"
|
||||||
File "${BUILD_PATH}\src\mirall_fr.qm"
|
|
||||||
File "${BUILD_PATH}\src\mirall_it.qm"
|
SetOutPath "$INSTDIR\accessible"
|
||||||
File "${BUILD_PATH}\src\mirall_ja_JP.qm"
|
File "${ACCESSIBLE_DLL_PATH}\qtaccessiblewidgets4.dll"
|
||||||
File "${BUILD_PATH}\src\mirall_pl.qm"
|
SetOutPath "$INSTDIR\imageformats"
|
||||||
File "${BUILD_PATH}\src\mirall_pt_BR.qm"
|
File "${IMAGEFORMATS_DLL_PATH}\qgif4.dll"
|
||||||
File "${BUILD_PATH}\src\mirall_pt_PT.qm"
|
File "${IMAGEFORMATS_DLL_PATH}\qjpeg4.dll"
|
||||||
File "${BUILD_PATH}\src\mirall_ru.qm"
|
File "${IMAGEFORMATS_DLL_PATH}\qico4.dll"
|
||||||
File "${BUILD_PATH}\src\mirall_sk_SK.qm"
|
|
||||||
File "${BUILD_PATH}\src\mirall_sl.qm"
|
|
||||||
File "${BUILD_PATH}\src\mirall_sv.qm"
|
|
||||||
|
|
||||||
SetOutPath "$INSTDIR\modules"
|
SetOutPath "$INSTDIR\modules"
|
||||||
; FIXME: fix installation dir of module, currently needs manual copying to
|
; FIXME: fix installation dir of module, currently needs manual copying to
|
||||||
@@ -313,13 +309,17 @@ Section "${APPLICATION_NAME}" SEC_OWNCLOUD
|
|||||||
|
|
||||||
;License & release notes.
|
;License & release notes.
|
||||||
File "@CPACK_RESOURCE_FILE_LICENSE@"
|
File "@CPACK_RESOURCE_FILE_LICENSE@"
|
||||||
File /oname=NOTES.txt ${NSI_PATH}\RELEASE_NOTES.txt
|
;File /oname=NOTES.txt ${NSI_PATH}\RELEASE_NOTES.txt
|
||||||
|
|
||||||
;QT stuff:
|
;QT stuff:
|
||||||
File "${QT_DLL_PATH}\QtCore4.dll"
|
File "${QT_DLL_PATH}\QtCore4.dll"
|
||||||
File "${QT_DLL_PATH}\QtGui4.dll"
|
File "${QT_DLL_PATH}\QtGui4.dll"
|
||||||
File "${QT_DLL_PATH}\QtNetwork4.dll"
|
File "${QT_DLL_PATH}\QtNetwork4.dll"
|
||||||
File "${QT_DLL_PATH}\QtXml4.dll"
|
File "${QT_DLL_PATH}\QtXml4.dll"
|
||||||
|
File "${QT_DLL_PATH}\QtWebKit4.dll"
|
||||||
|
|
||||||
|
;QtKeyChain stuff
|
||||||
|
File "${MING_BIN}\libqtkeychain.dll"
|
||||||
|
|
||||||
File "${CSYNC_LIBRARY_DIR}/libocsync.dll"
|
File "${CSYNC_LIBRARY_DIR}/libocsync.dll"
|
||||||
File "${MING_BIN}\libsqlite3-0.dll"
|
File "${MING_BIN}\libsqlite3-0.dll"
|
||||||
@@ -328,14 +328,10 @@ Section "${APPLICATION_NAME}" SEC_OWNCLOUD
|
|||||||
File "${MING_BIN}\libpng15-15.dll"
|
File "${MING_BIN}\libpng15-15.dll"
|
||||||
|
|
||||||
; ownCloud plugin
|
; ownCloud plugin
|
||||||
File "${MING_BIN}\libgcrypt-11.dll"
|
|
||||||
File "${MING_BIN}\libgnutls-26.dll"
|
|
||||||
File "${MING_BIN}\libgpg-error-0.dll"
|
|
||||||
File "${MING_BIN}\libintl-8.dll"
|
File "${MING_BIN}\libintl-8.dll"
|
||||||
File "${MING_BIN}\libneon-27.dll"
|
File "${MING_BIN}\libneon-27.dll"
|
||||||
File "${MING_BIN}\libproxy.dll"
|
File "${MING_BIN}\libproxy.dll"
|
||||||
File "${MING_BIN}\libmodman.dll"
|
File "${MING_BIN}\libmodman.dll"
|
||||||
File "${MING_BIN}\libtasn1-3.dll"
|
|
||||||
File "${MING_BIN}\libxml2-2.dll"
|
File "${MING_BIN}\libxml2-2.dll"
|
||||||
|
|
||||||
;MinGW stuff
|
;MinGW stuff
|
||||||
@@ -344,13 +340,12 @@ Section "${APPLICATION_NAME}" SEC_OWNCLOUD
|
|||||||
|
|
||||||
; Other
|
; Other
|
||||||
;File "${MING_BIN}\libpng15-15.dll"
|
;File "${MING_BIN}\libpng15-15.dll"
|
||||||
;File "${MING_BIN}\libjpeg-8.dll"
|
File "${MING_BIN}\libjpeg-8.dll"
|
||||||
File "${MING_BIN}\zlib1.dll"
|
File "${MING_BIN}\zlib1.dll"
|
||||||
File "${MING_BIN}\libcrypto-8.dll"
|
File "${MING_BIN}\libcrypto-10.dll"
|
||||||
File "${MING_BIN}\libssl-8.dll"
|
File "${MING_BIN}\libssl-10.dll"
|
||||||
|
|
||||||
; CSync configs
|
; CSync configs
|
||||||
File "${CSYNC_CONFIG_DIR}/ocsync.conf"
|
|
||||||
File "${SOURCE_PATH}/sync-exclude.lst"
|
File "${SOURCE_PATH}/sync-exclude.lst"
|
||||||
|
|
||||||
SectionEnd
|
SectionEnd
|
||||||
@@ -366,9 +361,9 @@ SectionGroup "Shortcuts"
|
|||||||
SetShellVarContext all
|
SetShellVarContext all
|
||||||
RMDir /r "$SMPROGRAMS\${APPLICATION_NAME}"
|
RMDir /r "$SMPROGRAMS\${APPLICATION_NAME}"
|
||||||
CreateDirectory "$SMPROGRAMS\${APPLICATION_NAME}"
|
CreateDirectory "$SMPROGRAMS\${APPLICATION_NAME}"
|
||||||
CreateShortCut "$SMPROGRAMS\${APPLICATION_NAME}\LICENSE.lnk" "$INSTDIR\LICENSE.txt"
|
;CreateShortCut "$SMPROGRAMS\${APPLICATION_NAME}\LICENSE.lnk" "$INSTDIR\LICENSE.txt"
|
||||||
CreateShortCut "$SMPROGRAMS\${APPLICATION_NAME}\${APPLICATION_NAME}.lnk" "$INSTDIR\${APPLICATION_EXECUTABLE}"
|
CreateShortCut "$SMPROGRAMS\${APPLICATION_NAME}\${APPLICATION_NAME}.lnk" "$INSTDIR\${APPLICATION_EXECUTABLE}"
|
||||||
CreateShortCut "$SMPROGRAMS\${APPLICATION_NAME}\Release notes.lnk" "$INSTDIR\NOTES.txt"
|
;CreateShortCut "$SMPROGRAMS\${APPLICATION_NAME}\Release notes.lnk" "$INSTDIR\NOTES.txt"
|
||||||
CreateShortCut "$SMPROGRAMS\${APPLICATION_NAME}\Uninstall.lnk" "$INSTDIR\uninstall.exe"
|
CreateShortCut "$SMPROGRAMS\${APPLICATION_NAME}\Uninstall.lnk" "$INSTDIR\uninstall.exe"
|
||||||
SetShellVarContext current
|
SetShellVarContext current
|
||||||
${MementoSectionEnd}
|
${MementoSectionEnd}
|
||||||
@@ -396,17 +391,6 @@ SectionGroup "Shortcuts"
|
|||||||
|
|
||||||
SectionGroupEnd
|
SectionGroupEnd
|
||||||
|
|
||||||
!ifdef OPTION_SECTION_SC_AUTOSTART
|
|
||||||
${MementoSection} "Autostart" SEC_AUTOSTART
|
|
||||||
SectionIn 1 2
|
|
||||||
SetDetailsPrint textonly
|
|
||||||
DetailPrint "Creating Windows Start Entry"
|
|
||||||
SetDetailsPrint listonly
|
|
||||||
WriteRegStr HKEY_LOCAL_MACHINE "Software\Microsoft\Windows\CurrentVersion\Run" \
|
|
||||||
"${APPLICATION_NAME}" "$INSTDIR\${APPLICATION_EXECUTABLE}"
|
|
||||||
${MementoSectionEnd}
|
|
||||||
!endif
|
|
||||||
|
|
||||||
${MementoSectionDone}
|
${MementoSectionDone}
|
||||||
|
|
||||||
; Installer section descriptions
|
; Installer section descriptions
|
||||||
@@ -416,7 +400,6 @@ ${MementoSectionDone}
|
|||||||
!insertmacro MUI_DESCRIPTION_TEXT ${SEC_START_MENU} "${APPLICATION_NAME} program group."
|
!insertmacro MUI_DESCRIPTION_TEXT ${SEC_START_MENU} "${APPLICATION_NAME} program group."
|
||||||
!insertmacro MUI_DESCRIPTION_TEXT ${SEC_DESKTOP} "Desktop shortcut for ${APPLICATION_NAME}."
|
!insertmacro MUI_DESCRIPTION_TEXT ${SEC_DESKTOP} "Desktop shortcut for ${APPLICATION_NAME}."
|
||||||
!insertmacro MUI_DESCRIPTION_TEXT ${SEC_QUICK_LAUNCH} "Quick Launch shortcut for ${APPLICATION_NAME}."
|
!insertmacro MUI_DESCRIPTION_TEXT ${SEC_QUICK_LAUNCH} "Quick Launch shortcut for ${APPLICATION_NAME}."
|
||||||
!insertmacro MUI_DESCRIPTION_TEXT ${SEC_QUICK_AUTOSTART} "Register ${APPLICATION_NAME} to run on Windows startup."
|
|
||||||
!insertmacro MUI_FUNCTION_DESCRIPTION_END
|
!insertmacro MUI_FUNCTION_DESCRIPTION_END
|
||||||
|
|
||||||
Section -post
|
Section -post
|
||||||
@@ -519,11 +502,6 @@ Section Uninstall
|
|||||||
|
|
||||||
DeleteRegKey HKCR "${APPLICATION_NAME}"
|
DeleteRegKey HKCR "${APPLICATION_NAME}"
|
||||||
|
|
||||||
;Windows Start entry
|
|
||||||
!ifdef OPTION_SECTION_SC_AUTOSTART
|
|
||||||
DeleteRegValue HKLM "Software\Microsoft\Windows\CurrentVersion\Run" "${APPLICATION_NAME}"
|
|
||||||
!endif
|
|
||||||
|
|
||||||
;Start menu shortcuts.
|
;Start menu shortcuts.
|
||||||
!ifdef OPTION_SECTION_SC_START_MENU
|
!ifdef OPTION_SECTION_SC_START_MENU
|
||||||
SetShellVarContext all
|
SetShellVarContext all
|
||||||
|
|||||||
20
cmake/modules/Warnings.cmake
Normal file
@@ -0,0 +1,20 @@
|
|||||||
|
if(CMAKE_COMPILER_IS_GNUCXX)
|
||||||
|
execute_process(COMMAND ${CMAKE_C_COMPILER} -dumpversion
|
||||||
|
OUTPUT_VARIABLE GCC_VERSION)
|
||||||
|
if(GCC_VERSION VERSION_GREATER 4.8 OR GCC_VERSION VERSION_EQUAL 4.8)
|
||||||
|
set(CMAKE_CXX_FLAGS "-Wall -Wextra -Wpedantic -Wno-long-long")
|
||||||
|
else(GCC_VERSION VERSION_GREATER 4.8 OR GCC_VERSION VERSION_EQUAL 4.8)
|
||||||
|
set(CMAKE_CXX_FLAGS "-Wall -Wextra -pedantic -Wno-long-long")
|
||||||
|
endif(GCC_VERSION VERSION_GREATER 4.8 OR GCC_VERSION VERSION_EQUAL 4.8)
|
||||||
|
endif(CMAKE_COMPILER_IS_GNUCXX)
|
||||||
|
if(CMAKE_CXX_COMPILER MATCHES "clang")
|
||||||
|
set(CMAKE_CXX_FLAGS "-Wall -Wextra -pedantic -Wno-long-long")
|
||||||
|
endif(CMAKE_CXX_COMPILER MATCHES "clang")
|
||||||
|
# TODO: handle msvc compilers warnings?
|
||||||
|
|
||||||
|
if(DEFINED MIRALL_FATAL_WARNINGS)
|
||||||
|
if (CMAKE_COMPILER_IS_GNUCXX OR CMAKE_CXX_COMPILER MATCHES "clang")
|
||||||
|
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Werror")
|
||||||
|
endif (CMAKE_COMPILER_IS_GNUCXX OR CMAKE_CXX_COMPILER MATCHES "clang")
|
||||||
|
# TODO: handle msvc compilers warnings?
|
||||||
|
endif(DEFINED MIRALL_FATAL_WARNINGS)
|
||||||
12
config.h.in
@@ -2,7 +2,17 @@
|
|||||||
#define CONFIG_H
|
#define CONFIG_H
|
||||||
|
|
||||||
#cmakedefine USE_INOTIFY 1
|
#cmakedefine USE_INOTIFY 1
|
||||||
#cmakedefine WITH_CSYNC 1
|
#cmakedefine WITH_QTKEYCHAIN 1
|
||||||
|
|
||||||
|
#cmakedefine GIT_SHA1 "@GIT_SHA1@"
|
||||||
|
#cmakedefine APPLICATION_DOMAIN @APPLICATION_DOMAIN@
|
||||||
#cmakedefine THEME_CLASS @THEME_CLASS@
|
#cmakedefine THEME_CLASS @THEME_CLASS@
|
||||||
|
#cmakedefine THEME_INCLUDE @THEME_INCLUDE@
|
||||||
|
|
||||||
|
#cmakedefine APPLICATION_NAME "@APPLICATION_NAME@"
|
||||||
|
#cmakedefine APPLICATION_SHORTNAME "@APPLICATION_SHORTNAME@"
|
||||||
|
#cmakedefine APPLICATION_EXECUTABLE "@APPLICATION_EXECUTABLE@"
|
||||||
|
|
||||||
|
#cmakedefine SYSCONFDIR "@SYSCONFDIR@"
|
||||||
|
#cmakedefine DATADIR "@DATADIR@"
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
96
doc/CMakeLists.txt
Normal file
@@ -0,0 +1,96 @@
|
|||||||
|
if(SPHINX_FOUND)
|
||||||
|
|
||||||
|
# Sphinx cache with pickled ReST documents
|
||||||
|
set(SPHINX_CACHE_DIR "${CMAKE_CURRENT_BINARY_DIR}/_doctrees")
|
||||||
|
# HTML output directory
|
||||||
|
set(SPHINX_HTML_DIR "${CMAKE_CURRENT_BINARY_DIR}/html")
|
||||||
|
set(SPHINX_MAN_DIR "${CMAKE_CURRENT_BINARY_DIR}/man")
|
||||||
|
set(SPHINX_PDF_DIR "${CMAKE_CURRENT_BINARY_DIR}/latex")
|
||||||
|
set(SPHINX_QCH_DIR "${CMAKE_CURRENT_BINARY_DIR}/qthelp")
|
||||||
|
set(SPHINX_HTMLHELP_DIR "${CMAKE_CURRENT_BINARY_DIR}/htmlhelp")
|
||||||
|
set(MSHTML_COMPILER wine 'C:\\Program Files\\HTML Help Workshop\\hhc.exe')
|
||||||
|
# assets
|
||||||
|
set(LATEX_LOGO "${CMAKE_CURRENT_SOURCE_DIR}/logo-blue.pdf")
|
||||||
|
|
||||||
|
configure_file("${CMAKE_CURRENT_SOURCE_DIR}/conf.py.in" conf.py @ONLY)
|
||||||
|
|
||||||
|
if(WITH_DOC)
|
||||||
|
add_custom_target(doc ALL DEPENDS doc-html doc-man COMMENT "Building documentation...")
|
||||||
|
install(DIRECTORY ${SPHINX_HTML_DIR} DESTINATION ${CMAKE_INSTALL_DOCDIR})
|
||||||
|
install(DIRECTORY ${SPHINX_MAN_DIR} DESTINATION ${CMAKE_INSTALL_MANDIR})
|
||||||
|
else(WITH_DOC)
|
||||||
|
add_custom_target(doc DEPENDS doc-html doc-man COMMENT "Building documentation...")
|
||||||
|
endif(WITH_DOC)
|
||||||
|
|
||||||
|
if (EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/ocdoc/_shared_assets")
|
||||||
|
add_dependencies(doc doc-html-org)
|
||||||
|
add_dependencies(doc doc-html-com)
|
||||||
|
endif()
|
||||||
|
|
||||||
|
if(PDFLATEX_FOUND)
|
||||||
|
# if this still fails on Debian/Ubuntu, run
|
||||||
|
# apt-get install texlive-latex-recommended texlive-latex-extra texlive-fonts-recommended
|
||||||
|
add_custom_target(doc-latex ${SPHINX_EXECUTABLE}
|
||||||
|
-q -c . -b latex
|
||||||
|
-d ${SPHINX_CACHE_DIR}/latex
|
||||||
|
-D latex_logo=${LATEX_LOGO}
|
||||||
|
${CMAKE_CURRENT_SOURCE_DIR}
|
||||||
|
${SPHINX_PDF_DIR} )
|
||||||
|
add_custom_target(doc-pdf make -C ${SPHINX_PDF_DIR} all-pdf
|
||||||
|
DEPENDS doc-latex )
|
||||||
|
add_dependencies(doc doc-pdf)
|
||||||
|
if (WITH_DOC)
|
||||||
|
install(DIRECTORY ${SPHINX_PDF_DIR} DESTINATION ${CMAKE_INSTALL_DOCDIR})
|
||||||
|
endif (WITH_DOC)
|
||||||
|
endif(PDFLATEX_FOUND)
|
||||||
|
if (EXISTS ${QT_QCOLLECTIONGENERATOR_EXECUTABLE})
|
||||||
|
add_custom_target( doc-qch-sphinx ${SPHINX_EXECUTABLE}
|
||||||
|
-q -c . -b qthelp
|
||||||
|
-d ${SPHINX_CACHE_DIR}/qthelp
|
||||||
|
${CMAKE_CURRENT_SOURCE_DIR}
|
||||||
|
${SPHINX_QCH_DIR} )
|
||||||
|
add_custom_target( doc-qch ${QT_QCOLLECTIONGENERATOR_EXECUTABLE}
|
||||||
|
${SPHINX_QCH_DIR}/*.qhcp
|
||||||
|
DEPENDS doc-qch-sphinx )
|
||||||
|
add_dependencies(doc doc-qch)
|
||||||
|
if (WITH_DOC)
|
||||||
|
install(DIRECTORY ${SPHINX_QCH_DIR} DESTINATION ${CMAKE_INSTALL_DOCDIR})
|
||||||
|
endif (WITH_DOC)
|
||||||
|
endif()
|
||||||
|
add_custom_target( doc-html ${SPHINX_EXECUTABLE}
|
||||||
|
-q -c . -b html
|
||||||
|
-d ${SPHINX_CACHE_DIR}/html
|
||||||
|
${CMAKE_CURRENT_SOURCE_DIR}
|
||||||
|
${SPHINX_HTML_DIR}/unthemed )
|
||||||
|
add_custom_target( doc-html-org ${SPHINX_EXECUTABLE}
|
||||||
|
-q -c . -b html
|
||||||
|
-d ${SPHINX_CACHE_DIR}/html
|
||||||
|
-D html_theme=owncloud_org
|
||||||
|
${CMAKE_CURRENT_SOURCE_DIR}
|
||||||
|
${SPHINX_HTML_DIR}/org )
|
||||||
|
add_custom_target( doc-html-com ${SPHINX_EXECUTABLE}
|
||||||
|
-q -c . -b html
|
||||||
|
-d ${SPHINX_CACHE_DIR}/html
|
||||||
|
-D html_theme=owncloud_com
|
||||||
|
${CMAKE_CURRENT_SOURCE_DIR}
|
||||||
|
${SPHINX_HTML_DIR}/com )
|
||||||
|
add_custom_target( doc-man ${SPHINX_EXECUTABLE}
|
||||||
|
-q -c . -b man
|
||||||
|
-d ${SPHINX_CACHE_DIR}/man
|
||||||
|
${CMAKE_CURRENT_SOURCE_DIR}
|
||||||
|
${SPHINX_MAN_DIR} )
|
||||||
|
|
||||||
|
## Building CHM files requires HTML Help Workshop. Since it requires wine
|
||||||
|
## with special dependencies, it's impossible to write a cmake check for it.
|
||||||
|
## This is why doc-chm is not a dependency for doc. Instead, run
|
||||||
|
## doc/scripts/htmlhelp.exe to install them and run this target
|
||||||
|
## explicitly.
|
||||||
|
add_custom_target( doc-chm-sphinx ${SPHINX_EXECUTABLE}
|
||||||
|
-q -c . -b htmlhelp
|
||||||
|
-D html_theme=basic
|
||||||
|
-d ${SPHINX_CACHE_DIR}/htmlhelp
|
||||||
|
${CMAKE_CURRENT_SOURCE_DIR}
|
||||||
|
${SPHINX_HTMLHELP_DIR} )
|
||||||
|
add_custom_target( doc-chm pushd ${SPHINX_HTMLHELP_DIR}; ${MSHTML_COMPILER} *.hhp; popd
|
||||||
|
DEPENDS doc-chm-sphinx )
|
||||||
|
endif(SPHINX_FOUND)
|
||||||
153
doc/Makefile
Normal file
@@ -0,0 +1,153 @@
|
|||||||
|
# Makefile for Sphinx documentation
|
||||||
|
#
|
||||||
|
|
||||||
|
# You can set these variables from the command line.
|
||||||
|
SPHINXOPTS =
|
||||||
|
SPHINXBUILD = sphinx-build
|
||||||
|
PAPER =
|
||||||
|
BUILDDIR = _build
|
||||||
|
|
||||||
|
# Internal variables.
|
||||||
|
PAPEROPT_a4 = -D latex_paper_size=a4
|
||||||
|
PAPEROPT_letter = -D latex_paper_size=letter
|
||||||
|
ALLSPHINXOPTS = -d $(BUILDDIR)/doctrees $(PAPEROPT_$(PAPER)) $(SPHINXOPTS) .
|
||||||
|
# the i18n builder cannot share the environment and doctrees with the others
|
||||||
|
I18NSPHINXOPTS = $(PAPEROPT_$(PAPER)) $(SPHINXOPTS) .
|
||||||
|
|
||||||
|
.PHONY: help clean html dirhtml singlehtml pickle json htmlhelp qthelp devhelp epub latex latexpdf text man changes linkcheck doctest gettext
|
||||||
|
|
||||||
|
help:
|
||||||
|
@echo "Please use \`make <target>' where <target> is one of"
|
||||||
|
@echo " html to make standalone HTML files"
|
||||||
|
@echo " dirhtml to make HTML files named index.html in directories"
|
||||||
|
@echo " singlehtml to make a single large HTML file"
|
||||||
|
@echo " pickle to make pickle files"
|
||||||
|
@echo " json to make JSON files"
|
||||||
|
@echo " htmlhelp to make HTML files and a HTML help project"
|
||||||
|
@echo " qthelp to make HTML files and a qthelp project"
|
||||||
|
@echo " devhelp to make HTML files and a Devhelp project"
|
||||||
|
@echo " epub to make an epub"
|
||||||
|
@echo " latex to make LaTeX files, you can set PAPER=a4 or PAPER=letter"
|
||||||
|
@echo " latexpdf to make LaTeX files and run them through pdflatex"
|
||||||
|
@echo " text to make text files"
|
||||||
|
@echo " man to make manual pages"
|
||||||
|
@echo " texinfo to make Texinfo files"
|
||||||
|
@echo " info to make Texinfo files and run them through makeinfo"
|
||||||
|
@echo " gettext to make PO message catalogs"
|
||||||
|
@echo " changes to make an overview of all changed/added/deprecated items"
|
||||||
|
@echo " linkcheck to check all external links for integrity"
|
||||||
|
@echo " doctest to run all doctests embedded in the documentation (if enabled)"
|
||||||
|
|
||||||
|
clean:
|
||||||
|
-rm -rf $(BUILDDIR)/*
|
||||||
|
|
||||||
|
html:
|
||||||
|
$(SPHINXBUILD) -b html $(ALLSPHINXOPTS) $(BUILDDIR)/html
|
||||||
|
@echo
|
||||||
|
@echo "Build finished. The HTML pages are in $(BUILDDIR)/html."
|
||||||
|
|
||||||
|
dirhtml:
|
||||||
|
$(SPHINXBUILD) -b dirhtml $(ALLSPHINXOPTS) $(BUILDDIR)/dirhtml
|
||||||
|
@echo
|
||||||
|
@echo "Build finished. The HTML pages are in $(BUILDDIR)/dirhtml."
|
||||||
|
|
||||||
|
singlehtml:
|
||||||
|
$(SPHINXBUILD) -b singlehtml $(ALLSPHINXOPTS) $(BUILDDIR)/singlehtml
|
||||||
|
@echo
|
||||||
|
@echo "Build finished. The HTML page is in $(BUILDDIR)/singlehtml."
|
||||||
|
|
||||||
|
pickle:
|
||||||
|
$(SPHINXBUILD) -b pickle $(ALLSPHINXOPTS) $(BUILDDIR)/pickle
|
||||||
|
@echo
|
||||||
|
@echo "Build finished; now you can process the pickle files."
|
||||||
|
|
||||||
|
json:
|
||||||
|
$(SPHINXBUILD) -b json $(ALLSPHINXOPTS) $(BUILDDIR)/json
|
||||||
|
@echo
|
||||||
|
@echo "Build finished; now you can process the JSON files."
|
||||||
|
|
||||||
|
htmlhelp:
|
||||||
|
$(SPHINXBUILD) -b htmlhelp $(ALLSPHINXOPTS) $(BUILDDIR)/htmlhelp
|
||||||
|
@echo
|
||||||
|
@echo "Build finished; now you can run HTML Help Workshop with the" \
|
||||||
|
".hhp project file in $(BUILDDIR)/htmlhelp."
|
||||||
|
|
||||||
|
qthelp:
|
||||||
|
$(SPHINXBUILD) -b qthelp $(ALLSPHINXOPTS) $(BUILDDIR)/qthelp
|
||||||
|
@echo
|
||||||
|
@echo "Build finished; now you can run "qcollectiongenerator" with the" \
|
||||||
|
".qhcp project file in $(BUILDDIR)/qthelp, like this:"
|
||||||
|
@echo "# qcollectiongenerator $(BUILDDIR)/qthelp/OwncloudDocumentation.qhcp"
|
||||||
|
@echo "To view the help file:"
|
||||||
|
@echo "# assistant -collectionFile $(BUILDDIR)/qthelp/OwncloudDocumentation.qhc"
|
||||||
|
|
||||||
|
devhelp:
|
||||||
|
$(SPHINXBUILD) -b devhelp $(ALLSPHINXOPTS) $(BUILDDIR)/devhelp
|
||||||
|
@echo
|
||||||
|
@echo "Build finished."
|
||||||
|
@echo "To view the help file:"
|
||||||
|
@echo "# mkdir -p $$HOME/.local/share/devhelp/OwncloudDocumentation"
|
||||||
|
@echo "# ln -s $(BUILDDIR)/devhelp $$HOME/.local/share/devhelp/OwncloudDocumentation"
|
||||||
|
@echo "# devhelp"
|
||||||
|
|
||||||
|
epub:
|
||||||
|
$(SPHINXBUILD) -b epub $(ALLSPHINXOPTS) $(BUILDDIR)/epub
|
||||||
|
@echo
|
||||||
|
@echo "Build finished. The epub file is in $(BUILDDIR)/epub."
|
||||||
|
|
||||||
|
latex:
|
||||||
|
$(SPHINXBUILD) -b latex $(ALLSPHINXOPTS) $(BUILDDIR)/latex
|
||||||
|
@echo
|
||||||
|
@echo "Build finished; the LaTeX files are in $(BUILDDIR)/latex."
|
||||||
|
@echo "Run \`make' in that directory to run these through (pdf)latex" \
|
||||||
|
"(use \`make latexpdf' here to do that automatically)."
|
||||||
|
|
||||||
|
latexpdf:
|
||||||
|
$(SPHINXBUILD) -b latex $(ALLSPHINXOPTS) $(BUILDDIR)/latex
|
||||||
|
@echo "Running LaTeX files through pdflatex..."
|
||||||
|
$(MAKE) -C $(BUILDDIR)/latex all-pdf
|
||||||
|
@echo "pdflatex finished; the PDF files are in $(BUILDDIR)/latex."
|
||||||
|
|
||||||
|
text:
|
||||||
|
$(SPHINXBUILD) -b text $(ALLSPHINXOPTS) $(BUILDDIR)/text
|
||||||
|
@echo
|
||||||
|
@echo "Build finished. The text files are in $(BUILDDIR)/text."
|
||||||
|
|
||||||
|
man:
|
||||||
|
$(SPHINXBUILD) -b man $(ALLSPHINXOPTS) $(BUILDDIR)/man
|
||||||
|
@echo
|
||||||
|
@echo "Build finished. The manual pages are in $(BUILDDIR)/man."
|
||||||
|
|
||||||
|
texinfo:
|
||||||
|
$(SPHINXBUILD) -b texinfo $(ALLSPHINXOPTS) $(BUILDDIR)/texinfo
|
||||||
|
@echo
|
||||||
|
@echo "Build finished. The Texinfo files are in $(BUILDDIR)/texinfo."
|
||||||
|
@echo "Run \`make' in that directory to run these through makeinfo" \
|
||||||
|
"(use \`make info' here to do that automatically)."
|
||||||
|
|
||||||
|
info:
|
||||||
|
$(SPHINXBUILD) -b texinfo $(ALLSPHINXOPTS) $(BUILDDIR)/texinfo
|
||||||
|
@echo "Running Texinfo files through makeinfo..."
|
||||||
|
make -C $(BUILDDIR)/texinfo info
|
||||||
|
@echo "makeinfo finished; the Info files are in $(BUILDDIR)/texinfo."
|
||||||
|
|
||||||
|
gettext:
|
||||||
|
$(SPHINXBUILD) -b gettext $(I18NSPHINXOPTS) $(BUILDDIR)/locale
|
||||||
|
@echo
|
||||||
|
@echo "Build finished. The message catalogs are in $(BUILDDIR)/locale."
|
||||||
|
|
||||||
|
changes:
|
||||||
|
$(SPHINXBUILD) -b changes $(ALLSPHINXOPTS) $(BUILDDIR)/changes
|
||||||
|
@echo
|
||||||
|
@echo "The overview file is in $(BUILDDIR)/changes."
|
||||||
|
|
||||||
|
linkcheck:
|
||||||
|
$(SPHINXBUILD) -b linkcheck $(ALLSPHINXOPTS) $(BUILDDIR)/linkcheck
|
||||||
|
@echo
|
||||||
|
@echo "Link check complete; look for any errors in the above output " \
|
||||||
|
"or in $(BUILDDIR)/linkcheck/output.txt."
|
||||||
|
|
||||||
|
doctest:
|
||||||
|
$(SPHINXBUILD) -b doctest $(ALLSPHINXOPTS) $(BUILDDIR)/doctest
|
||||||
|
@echo "Testing of doctests in the sources finished, look at the " \
|
||||||
|
"results in $(BUILDDIR)/doctest/output.txt."
|
||||||
37
doc/accountsetup.rst
Normal file
@@ -0,0 +1,37 @@
|
|||||||
|
Setting up an Account
|
||||||
|
=====================
|
||||||
|
|
||||||
|
If no account has been configured, ownCloud Client will automatically assist
|
||||||
|
you in connecting to your ownCloud Server after the application has been
|
||||||
|
started.
|
||||||
|
|
||||||
|
As a first step, specify the URL to your Server, just
|
||||||
|
like you would when you open your ownCloud instance inside a browser.
|
||||||
|
|
||||||
|
.. image:: images/wizard_url.png
|
||||||
|
:scale: 50 %
|
||||||
|
|
||||||
|
.. note:: Make sure to use ``https://`` if the server supports it. Otherwise,
|
||||||
|
your password and all data will be transferred to the server unencrypted.
|
||||||
|
This makes it easy for third parties to intercept your communication, and
|
||||||
|
getting hold of your password!
|
||||||
|
|
||||||
|
Next, you are prompted for your username and password. Again, use the same
|
||||||
|
credentials that you would use to log on via the web interface.
|
||||||
|
|
||||||
|
.. image:: images/wizard_user.png
|
||||||
|
:scale: 50 %
|
||||||
|
|
||||||
|
Finally, choose the folder that ownCloud Client is supposed to sync the
|
||||||
|
contents of your ownCloud account with. By default, this is a folder
|
||||||
|
called `ownCloud`, which will reside in your home directory.
|
||||||
|
|
||||||
|
.. image:: images/wizard_targetfolder.png
|
||||||
|
:scale: 50 %
|
||||||
|
|
||||||
|
After pressing `Connect`, ownCloud Client will commence with the syncing
|
||||||
|
process. The next screen will give you the opportunity to review your
|
||||||
|
settings:
|
||||||
|
|
||||||
|
.. image:: images/wizard_overview.png
|
||||||
|
:scale: 50 %
|
||||||
14
doc/advancedusage.rst
Normal file
@@ -0,0 +1,14 @@
|
|||||||
|
Advanced Usage
|
||||||
|
==============
|
||||||
|
|
||||||
|
.. index:: Advanced Usage
|
||||||
|
|
||||||
|
Options
|
||||||
|
-------
|
||||||
|
.. index:: command line switches, command line, options, parameters
|
||||||
|
.. include:: options.rst
|
||||||
|
|
||||||
|
Config File
|
||||||
|
-----------
|
||||||
|
.. index:: config file
|
||||||
|
.. include:: conffile.rst
|
||||||
161
doc/architecture.rst
Normal file
@@ -0,0 +1,161 @@
|
|||||||
|
Appendix B: Architecture
|
||||||
|
========================
|
||||||
|
|
||||||
|
.. index:: architecture
|
||||||
|
|
||||||
|
The ownCloud project provides desktop sync clients to synchronize the
|
||||||
|
contents of local directories on the desktop machines to the ownCloud.
|
||||||
|
|
||||||
|
The syncing is done with csync_, a bidirectional file synchronizing tool which
|
||||||
|
provides both a command line client as well as a library. A special module for
|
||||||
|
csync was written to synchronize with ownCloud’s built-in WebDAV server.
|
||||||
|
|
||||||
|
The ownCloud sync client is based on a tool called mirall initially written by
|
||||||
|
Duncan Mac Vicar. Later Klaas Freitag joined the project and enhanced it to work
|
||||||
|
with ownCloud server.
|
||||||
|
|
||||||
|
ownCloud Client is written in C++ using the `Qt Framework`_. As a result, the
|
||||||
|
ownCloud Client runs on the three important platforms Linux, Windows and MacOS.
|
||||||
|
|
||||||
|
.. _csync: http://www.csync.org
|
||||||
|
.. _`Qt Framework`: http://www.qt-project.org
|
||||||
|
|
||||||
|
The Sync Process
|
||||||
|
----------------
|
||||||
|
|
||||||
|
First it is important to recall what syncing is: It tries to keep the files
|
||||||
|
on two repositories the same. That means if a file is added to one repository
|
||||||
|
it is going to be copied to the other repository. If a file is changed on one
|
||||||
|
repository, the change is propagated to the other repository. Also, if a file
|
||||||
|
is deleted on one side, it is deleted on the other. As a matter of fact, in
|
||||||
|
ownCloud syncing we do not have a typical client/server system where the
|
||||||
|
server is always master.
|
||||||
|
|
||||||
|
This is the major difference to other systems like a file backup where just
|
||||||
|
changes and new files are propagated but files never get deleted.
|
||||||
|
|
||||||
|
The ownCloud Client checks both repositories for changes frequently after a
|
||||||
|
certain time span. That is refered to as a sync run. In between the local
|
||||||
|
repository is monitored by a file system monitor system that starts a sync run
|
||||||
|
immediately if something was edited, added or removed.
|
||||||
|
|
||||||
|
Sync by Time versus ETag
|
||||||
|
------------------------
|
||||||
|
.. index:: time stamps, file times, etag, unique id
|
||||||
|
|
||||||
|
Until the release of ownCloud 4.5 and ownCloud Client 1.1, ownCloud employed
|
||||||
|
a single file property to decide which file is newer and hence needs to be
|
||||||
|
synced to the other repository: the files modification time.
|
||||||
|
|
||||||
|
The *modification timestamp* is part of the files metadata. It is available on
|
||||||
|
every relevant filesystem and is the natural indicator for a file change.
|
||||||
|
Modification timestamps do not require special action to create and have
|
||||||
|
a general meaning. One design goal of csync is to not require a special server
|
||||||
|
component, that’s why it was chosen as the backend component.
|
||||||
|
|
||||||
|
To compare the modification times of two files from different systems,
|
||||||
|
it is needed to operate on the same base. Before version 1.1.0,
|
||||||
|
csync requires both sides running on the exact same time, which can
|
||||||
|
be achieved through enterprise standard `NTP time synchronisation`_ on all
|
||||||
|
machines.
|
||||||
|
|
||||||
|
Since this strategy is rather fragile without NTP, ownCloud 4.5 introduced a
|
||||||
|
unique number, which changes whenever the file changes. Although it is a unique
|
||||||
|
value, it is not a hash of the file, but a randomly chosen number, which it will
|
||||||
|
transmit in the Etag_ field. Since the file number is guaranteed to change if
|
||||||
|
the file changes, it can now be used to determine if one of the files has
|
||||||
|
changed.
|
||||||
|
|
||||||
|
.. note:: ownCloud Client 1.1 and newer require file ID capabilities on the
|
||||||
|
ownCloud server, hence using them with a server earlier than 4.5.0 is
|
||||||
|
not supported.
|
||||||
|
|
||||||
|
Before the 1.3.0 release of the client the sync process might create faux
|
||||||
|
conflict files if time deviates. The original and the conflict files only
|
||||||
|
differed in the timestamp, but not in content. This behaviour was changed
|
||||||
|
towards a binary check if the files are different.
|
||||||
|
|
||||||
|
Just like files, directories also hold a unique id, which changes whenever
|
||||||
|
one of the contained files or directories gets modified. Since this is a
|
||||||
|
recursive process, it significantly reduces the effort required for a sync
|
||||||
|
cycle, because the client will only walk directories with a modified unique id.
|
||||||
|
|
||||||
|
|
||||||
|
This table outlines the different sync methods attempted depending
|
||||||
|
on server/client combination:
|
||||||
|
|
||||||
|
.. index:: compatiblity table
|
||||||
|
|
||||||
|
+--------------------+-------------------+----------------------------+
|
||||||
|
| Server Version | Client Version | Sync Methods |
|
||||||
|
+====================+===================+============================+
|
||||||
|
| 4.0.x or earlier | 1.0.5 or earlier | Time Stamp |
|
||||||
|
+--------------------+-------------------+----------------------------+
|
||||||
|
| 4.0.x or earlier | 1.1 or later | n/a (incompatible) |
|
||||||
|
+--------------------+-------------------+----------------------------+
|
||||||
|
| 4.5 or later | 1.0.5 or earlier | Time Stamp |
|
||||||
|
+--------------------+-------------------+----------------------------+
|
||||||
|
| 4.5 or later | 1.1 or later | File ID, Time Stamp |
|
||||||
|
+--------------------+-------------------+----------------------------+
|
||||||
|
|
||||||
|
It is highly recommended to upgrade to ownCloud 4.5 or later with ownCloud
|
||||||
|
Client 1.1 or later, since the time stamp-based sync mechanism can
|
||||||
|
lead to data loss in certain edge-cases, especially when multiple clients
|
||||||
|
are involved and one of them is not in sync with NTP time.
|
||||||
|
|
||||||
|
.. _`NTP time synchronisation`: http://en.wikipedia.org/wiki/Network_Time_Protocol
|
||||||
|
.. _Etag: http://en.wikipedia.org/wiki/HTTP_ETag
|
||||||
|
|
||||||
|
Comparison and Conflict Cases
|
||||||
|
-----------------------------
|
||||||
|
|
||||||
|
In a sync run the client first has to detect if one of the two repositories have
|
||||||
|
changed files. On the local repository, the client traverses the file
|
||||||
|
tree and compares the modification time of each file with the value it was
|
||||||
|
before. The previous value is stored in the client's database. If it is not, it
|
||||||
|
means that the file has been added to the local repository. Note that on
|
||||||
|
the local side, the modificaton time a good attribute to detect changes because
|
||||||
|
it does not depend on time shifts and such.
|
||||||
|
|
||||||
|
For the remote (ie. ownCloud) repository, the client compares the ETag of each
|
||||||
|
file with it's previous value. Again the previous value is queried from the
|
||||||
|
database. If the ETag is still the same, the file has not changed.
|
||||||
|
|
||||||
|
In case a file has changed on both, the local and the remote repository since
|
||||||
|
the last sync run, it can not easily be decided which version of the file is
|
||||||
|
the one that should be used. However, changes to any side must not be lost.
|
||||||
|
|
||||||
|
That is called a **conflict case**. The client solves it by creating a conflict
|
||||||
|
file of the older of the two files and save the newer one under the original
|
||||||
|
file name. Conflict files are always created on the client and never on the
|
||||||
|
server. The conflict file has the same name as the original file appended with
|
||||||
|
the timestamp of the conflict detection.
|
||||||
|
|
||||||
|
|
||||||
|
.. _ignored-files-label:
|
||||||
|
|
||||||
|
Ignored Files
|
||||||
|
-------------
|
||||||
|
|
||||||
|
ownCloud Client will refuse to sync the following files:
|
||||||
|
|
||||||
|
* Files matched by one of the pattern in :ref:`ignoredFilesEditor-label`
|
||||||
|
* Files containing characters that do not work on certain file systems.
|
||||||
|
Currently, these characters are: `\, :, ?, *, ", >, <, |`
|
||||||
|
* Files starting in ``.csync_journal.db`` (reserved for journalling)
|
||||||
|
|
||||||
|
The Sync Journal
|
||||||
|
----------------
|
||||||
|
|
||||||
|
The client stores the ETag number in a per-directory database,
|
||||||
|
called the journal. It is a hidden file right in the directory
|
||||||
|
to be synced.
|
||||||
|
|
||||||
|
If the journal database gets removed, ownCloud Client's CSync backend will
|
||||||
|
rebuild the database by comparing the files and their modification times. Thus
|
||||||
|
it should be made sure that both server and client synchronized with NTP time
|
||||||
|
before restarting the client after a database removal.
|
||||||
|
|
||||||
|
Pressing ``F5`` in the Account Settings Dialog that allows to "reset" the
|
||||||
|
journal. That can be used to recreate the journal database. Use this only
|
||||||
|
if advised to do so by the developer or support staff.
|
||||||
178
doc/building.rst
Normal file
@@ -0,0 +1,178 @@
|
|||||||
|
.. _building-label:
|
||||||
|
|
||||||
|
Appendix A: Building the Client
|
||||||
|
===============================
|
||||||
|
|
||||||
|
This section explains how to build the ownCloud Client from source
|
||||||
|
for all major platforms. You should read this section if you want
|
||||||
|
to development on the desktop client.
|
||||||
|
|
||||||
|
Linux
|
||||||
|
-----
|
||||||
|
|
||||||
|
1. Add the `ownCloud repository from OBS`_.
|
||||||
|
2. Install the dependencies (as root, or via sudo):
|
||||||
|
|
||||||
|
* Debian/Ubuntu: ``apt-get update; apt-get build-dep owncloud-client``
|
||||||
|
* openSUSE: ``zypper ref; zypper si -d owncloud-client``
|
||||||
|
* Fedora/CentOS: ``yum install yum-utils; yum-builddep owncloud-client``
|
||||||
|
|
||||||
|
3. Follow the `generic build instructions`_.
|
||||||
|
|
||||||
|
Mac OS X
|
||||||
|
--------
|
||||||
|
|
||||||
|
Next to XCode (and the command line tools!), you will need some
|
||||||
|
extra dependencies.
|
||||||
|
|
||||||
|
You can install these dependencies via MacPorts_ or Homebrew_.
|
||||||
|
This is only needed on the build machine, since non-standard libs
|
||||||
|
will be deployed in the app bundle.
|
||||||
|
|
||||||
|
The tested and preferred way is to use HomeBrew_. The ownCloud team has
|
||||||
|
its own repository which contains non-standard recipes. Add it with::
|
||||||
|
|
||||||
|
brew tap owncloud/owncloud
|
||||||
|
|
||||||
|
Next, install the missing dependencies::
|
||||||
|
|
||||||
|
brew install $(brew deps ocsync)
|
||||||
|
brew install $(brew deps mirall)
|
||||||
|
|
||||||
|
bug:
|
||||||
|
iniparser is not provideed by $(brew deps ocsync)
|
||||||
|
fix with brew install iniparser
|
||||||
|
|
||||||
|
|
||||||
|
To build mirall and csync, follow the `generic build instructions`_.
|
||||||
|
|
||||||
|
.. note::
|
||||||
|
You should not call ``make install`` at any time, since the product of the
|
||||||
|
mirall build is an app bundle. Call ``make package`` instead to create an
|
||||||
|
install-ready disk image.
|
||||||
|
|
||||||
|
Windows (cross-compile)
|
||||||
|
-----------------------
|
||||||
|
|
||||||
|
Due to the amount of dependencies that csync entails, building the client
|
||||||
|
for Windows is **currently only supported on openSUSE**, by using the MinGW
|
||||||
|
cross compiler. You can set up openSUSE 12.1 or 12.2 in a virtual machine
|
||||||
|
if you do not have it installed already.
|
||||||
|
|
||||||
|
In order to cross-compile, the following repositories need to be added
|
||||||
|
via YaST or ``zypper ar`` (adjust when using openSUSE 12.2)::
|
||||||
|
|
||||||
|
zypper ar http://download.opensuse.org/repositories/isv:/ownCloud:/devel:/mingw:/win32/openSUSE_12.1/isv:ownCloud:devel:mingw:win32.repo
|
||||||
|
zypper ar http://download.opensuse.org/repositories/windows:/mingw:/win32/openSUSE_12.1/windows:mingw:win32.repo
|
||||||
|
zypper ar http://download.opensuse.org/repositories/windows:/mingw/openSUSE_12.1/windows:mingw.repo
|
||||||
|
|
||||||
|
Next, install the cross-compiler packages and the cross-compiled dependencies::
|
||||||
|
|
||||||
|
zypper install cmake make mingw32-cross-binutils mingw32-cross-cpp mingw32-cross-gcc \
|
||||||
|
mingw32-cross-gcc-c++ mingw32-cross-pkg-config mingw32-filesystem \
|
||||||
|
mingw32-headers mingw32-runtime site-config mingw32-iniparser-devel \
|
||||||
|
mingw32-libsqlite-devel mingw32-dlfcn-devel mingw32-libssh2-devel \
|
||||||
|
kdewin-png2ico mingw32-libqt4 mingw32-libqt4-devel mingw32-libgcrypt \
|
||||||
|
mingw32-libgnutls mingw32-libneon mingw32-libneon-devel mingw32-libbeecrypt \
|
||||||
|
mingw32-libopenssl mingw32-openssl mingw32-libpng-devel mingw32-libsqlite \
|
||||||
|
mingw32-qtkeychain mingw32-qtkeychain-devel mingw32-iniparser mingw32-dlfcn \
|
||||||
|
mingw32-libintl-devel mingw32-libneon-devel mingw32-libopenssl-devel \
|
||||||
|
mingw32-libproxy-devel mingw32-libxml2-devel mingw32-zlib-devel
|
||||||
|
|
||||||
|
For the installer, the NSIS installer package is also required::
|
||||||
|
|
||||||
|
zypper install mingw32-cross-nsis
|
||||||
|
|
||||||
|
.. Usually, the following would be needed as well, but due to a bug in mingw, they
|
||||||
|
will currently not build properly from source.
|
||||||
|
|
||||||
|
mingw32-cross-nsis-plugin-processes mingw32-cross-nsis-plugin-uac
|
||||||
|
|
||||||
|
You will also need to manually download and install the following files with
|
||||||
|
``rpm -ivh <package>`` (They will also work with OpenSUSE 12.2)::
|
||||||
|
|
||||||
|
rpm -ihv http://pmbs.links2linux.org/download/mingw:/32/openSUSE_12.1/x86_64/mingw32-cross-nsis-plugin-processes-0-1.1.x86_64.rpm
|
||||||
|
rpm -ihv http://pmbs.links2linux.org/download/mingw:/32/openSUSE_12.1/x86_64/mingw32-cross-nsis-plugin-uac-0-3.1.x86_64.rpm
|
||||||
|
|
||||||
|
Now, follow the `generic build instructions`_, but pay attention to
|
||||||
|
the following differences:
|
||||||
|
|
||||||
|
1. For building ``libocsync``, you need to use ``mingw32-cmake`` instead
|
||||||
|
of cmake.
|
||||||
|
2. for building ``mirall``, you need to use ``cmake`` again, but make sure
|
||||||
|
to append the following parameter::
|
||||||
|
3. Also, you need to specify *absolute pathes* for ``CSYNC_LIBRARY_PATH``
|
||||||
|
and ``CSYNC_LIBRARY_PATH`` when running ``cmake`` on mirall.
|
||||||
|
|
||||||
|
``-DCMAKE_TOOLCHAIN_FILE=../mirall/admin/win/Toolchain-mingw32-openSUSE.cmake``
|
||||||
|
|
||||||
|
Finally, just build by running ``make``. ``make package`` will produce
|
||||||
|
an NSIS-based installer, provided the NSIS mingw32 packages are installed.
|
||||||
|
|
||||||
|
Generic Build Instructions
|
||||||
|
--------------------------
|
||||||
|
.. _`generic build instructions`
|
||||||
|
|
||||||
|
The ownCloud Client requires Mirall and CSync_. Mirall is the GUI frontend,
|
||||||
|
while CSync is responsible for handling the actual synchronization process.
|
||||||
|
|
||||||
|
At the moment, ownCloud Client requires a forked version of CSync. Both
|
||||||
|
CMake and Mirall can be downloaded at ownCloud's `Client Download Page`_.
|
||||||
|
|
||||||
|
If you want to build the leading edge version of the client, you should
|
||||||
|
use the latest versions of Mirall and CSync via Git_, like so::
|
||||||
|
|
||||||
|
git clone git://git.csync.org/users/freitag/csync.git ocsync
|
||||||
|
git clone git://github.com/owncloud/mirall.git
|
||||||
|
|
||||||
|
Next, create build directories::
|
||||||
|
|
||||||
|
mkdir ocsync-build
|
||||||
|
mkdir mirall-build
|
||||||
|
|
||||||
|
This guide assumes that all directories are residing next to each other.
|
||||||
|
Next, make sure to check out the 'dav' branch in the newly checked out
|
||||||
|
`ocsync` directory::
|
||||||
|
|
||||||
|
cd ocsync
|
||||||
|
git checkout dav
|
||||||
|
|
||||||
|
The first package to build is CSync::
|
||||||
|
|
||||||
|
cd ocsync-build
|
||||||
|
cmake -DCMAKE_BUILD_TYPE="Debug" ../ocsync
|
||||||
|
make
|
||||||
|
|
||||||
|
You probably have to satisfy some dependencies. Make sure to install all the
|
||||||
|
needed development packages. You will need ``iniparser``, ``sqlite3`` as well as
|
||||||
|
``neon`` for the ownCloud module. Take special care about ``neon``. If that is
|
||||||
|
missing, the cmake run will succeed but silently not build the ownCloud module.
|
||||||
|
``libssh`` and ``libsmbclient`` are optional and not required for the client
|
||||||
|
to work. If you want to install the client, run ``make install`` as a final step.
|
||||||
|
|
||||||
|
Next, we build mirall::
|
||||||
|
|
||||||
|
cd ../mirall-build
|
||||||
|
cmake -DCMAKE_BUILD_TYPE="Debug" ../mirall \
|
||||||
|
-DCSYNC_BUILD_PATH=/path/to/ocsync-build \
|
||||||
|
-DCSYNC_INCLUDE_PATH=/path/to/ocsync/src
|
||||||
|
|
||||||
|
Note that it is important to use absolute pathes for the include- and library
|
||||||
|
directories. If this succeeds, call ``make``. The owncloud binary should appear
|
||||||
|
in the ``bin`` directory. You can also run ``make install`` to install the client to
|
||||||
|
``/usr/local/bin``.
|
||||||
|
|
||||||
|
To build an installer/app bundle (requires the mingw32-cross-nsis packages on Windows)::
|
||||||
|
|
||||||
|
make package
|
||||||
|
|
||||||
|
Known cmake parameters:
|
||||||
|
|
||||||
|
* WITH_DOC=TRUE: create doc and manpages via running ``make``; also adds install statements to be able to install it via ``make install``.
|
||||||
|
|
||||||
|
.. _`ownCloud repository from OBS`: http://software.opensuse.org/download/package?project=isv:ownCloud:devel&package=owncloud-client
|
||||||
|
.. _CSync: http://www.csync.org
|
||||||
|
.. _`Client Download Page`: http://owncloud.org/sync-clients/
|
||||||
|
.. _Git: http://git-scm.com
|
||||||
|
.. _MacPorts: http://www.macports.org
|
||||||
|
.. _Homebrew: http://mxcl.github.com/homebrew/
|
||||||
288
doc/conf.py.in
Normal file
@@ -0,0 +1,288 @@
|
|||||||
|
# -*- coding: utf-8 -*-
|
||||||
|
#
|
||||||
|
# ownCloud Documentation documentation build configuration file, created by
|
||||||
|
# sphinx-quickstart on Mon Oct 22 23:16:40 2012.
|
||||||
|
#
|
||||||
|
# This file is execfile()d with the current directory set to its containing dir.
|
||||||
|
#
|
||||||
|
# Note that not all possible configuration values are present in this
|
||||||
|
# autogenerated file.
|
||||||
|
#
|
||||||
|
# All configuration values have a default; values that are commented out
|
||||||
|
# serve to show the default.
|
||||||
|
|
||||||
|
import sys, os
|
||||||
|
|
||||||
|
# If extensions (or modules to document with autodoc) are in another directory,
|
||||||
|
# add these directories to sys.path here. If the directory is relative to the
|
||||||
|
# documentation root, use os.path.abspath to make it absolute, like shown here.
|
||||||
|
#sys.path.insert(0, os.path.abspath('.'))
|
||||||
|
|
||||||
|
# -- General configuration -----------------------------------------------------
|
||||||
|
|
||||||
|
# If your documentation needs a minimal Sphinx version, state it here.
|
||||||
|
#needs_sphinx = '1.0'
|
||||||
|
|
||||||
|
# Add any Sphinx extension module names here, as strings. They can be extensions
|
||||||
|
# coming with Sphinx (named 'sphinx.ext.*') or your custom ones.
|
||||||
|
extensions = ['sphinx.ext.todo']
|
||||||
|
|
||||||
|
# Add any paths that contain templates here, relative to this directory.
|
||||||
|
templates_path = ['@CMAKE_CURRENT_SOURCE_DIR@/ocdoc/_shared_assets/templates']
|
||||||
|
|
||||||
|
# The suffix of source filenames.
|
||||||
|
source_suffix = '.rst'
|
||||||
|
|
||||||
|
# The encoding of source files.
|
||||||
|
#source_encoding = 'utf-8-sig'
|
||||||
|
|
||||||
|
# The master toctree document.
|
||||||
|
master_doc = 'index'
|
||||||
|
|
||||||
|
# General information about the project.
|
||||||
|
project = u'ownCloud Client Manual'
|
||||||
|
copyright = u'2013, The ownCloud developers'
|
||||||
|
|
||||||
|
# The version info for the project you're documenting, acts as replacement for
|
||||||
|
# |version| and |release|, also used in various other places throughout the
|
||||||
|
# built documents.
|
||||||
|
#
|
||||||
|
# The short X.Y version.
|
||||||
|
version = '@VERSION_MAJOR@.@VERSION_MINOR@'
|
||||||
|
# The full version, including alpha/beta/rc tags.
|
||||||
|
release = '@VERSION@'
|
||||||
|
|
||||||
|
# The language for content autogenerated by Sphinx. Refer to documentation
|
||||||
|
# for a list of supported languages.
|
||||||
|
#language = None
|
||||||
|
|
||||||
|
# There are two options for replacing |today|: either, you set today to some
|
||||||
|
# non-false value, then it is used:
|
||||||
|
#today = ''
|
||||||
|
# Else, today_fmt is used as the format for a strftime call.
|
||||||
|
#today_fmt = '%B %d, %Y'
|
||||||
|
|
||||||
|
# List of patterns, relative to source directory, that match files and
|
||||||
|
# directories to ignore when looking for source files.
|
||||||
|
exclude_patterns = ['_build','scripts/*']
|
||||||
|
|
||||||
|
# The reST default role (used for this markup: `text`) to use for all documents.
|
||||||
|
#default_role = None
|
||||||
|
|
||||||
|
# If true, '()' will be appended to :func: etc. cross-reference text.
|
||||||
|
#add_function_parentheses = True
|
||||||
|
2
|
||||||
|
# If true, the current module name will be prepended to all description
|
||||||
|
# unit titles (such as .. function::).
|
||||||
|
#add_module_names = True
|
||||||
|
|
||||||
|
# If true, sectionauthor and moduleauthor directives will be shown in the
|
||||||
|
# output. They are ignored by default.
|
||||||
|
#show_authors = False
|
||||||
|
|
||||||
|
# The name of the Pygments (syntax highlighting) style to use.
|
||||||
|
pygments_style = 'sphinx'
|
||||||
|
|
||||||
|
# A list of ignored prefixes for module index sorting.
|
||||||
|
#modindex_common_prefix = []
|
||||||
|
|
||||||
|
|
||||||
|
# -- Options for HTML output ---------------------------------------------------
|
||||||
|
|
||||||
|
# Theme options are theme-specific and customize the look and feel of a theme
|
||||||
|
# further. For a list of options available for each theme, see the
|
||||||
|
# documentation.
|
||||||
|
#html_theme_options = {}
|
||||||
|
|
||||||
|
# Add any paths that contain custom themes here, relative to this directory.
|
||||||
|
html_theme_path = ['@CMAKE_CURRENT_SOURCE_DIR@/ocdoc/_shared_assets/themes']
|
||||||
|
|
||||||
|
# The theme to use for HTML and HTML Help pages. See the documentation for
|
||||||
|
# a list of builtin themes.
|
||||||
|
#html_theme = 'bootstrap'
|
||||||
|
html_theme = 'default'
|
||||||
|
# The name for this set of Sphinx documents. If None, it defaults to
|
||||||
|
# "<project> v<release> documentation".
|
||||||
|
#html_title = None
|
||||||
|
|
||||||
|
# A shorter title for the navigation bar. Default is the same as html_title.
|
||||||
|
html_short_title = "Client Manual"
|
||||||
|
|
||||||
|
# The name of an image file (relative to this directory) to place at the top
|
||||||
|
# of the sidebar.
|
||||||
|
#html_logo = None
|
||||||
|
|
||||||
|
# The name of an image file (within the static path) to use as favicon of the
|
||||||
|
# docs. This file should be a Windows icon file (.ico) being 16x16 or 32x32
|
||||||
|
# pixels large.
|
||||||
|
#html_favicon = None
|
||||||
|
|
||||||
|
# Add any paths that contain custom static files (such as style sheets) here,
|
||||||
|
# relative to this directory. They are copied after the builtin static files,
|
||||||
|
# so a file named "default.css" will overwrite the builtin "default.css".
|
||||||
|
html_static_path = ['@CMAKE_CURRENT_SOURCE_DIR@/ocdoc/_shared_assets/static']
|
||||||
|
|
||||||
|
# If not '', a 'Last updated on:' timestamp is inserted at every page bottom,
|
||||||
|
# using the given strftime format.
|
||||||
|
html_last_updated_fmt = '%b %d, %Y'
|
||||||
|
|
||||||
|
# If true, SmartyPants will be used to convert quotes and dashes to
|
||||||
|
# typographically correct entities.
|
||||||
|
#html_use_smartypants = True
|
||||||
|
|
||||||
|
# Custom sidebar templates, maps document names to template names.
|
||||||
|
#html_sidebars = {}
|
||||||
|
|
||||||
|
# Additional templates that should be rendered to pages, maps page names to
|
||||||
|
# template names.
|
||||||
|
#html_additional_pages = {}
|
||||||
|
|
||||||
|
# If false, no module index is generated.
|
||||||
|
#html_domain_indices = True
|
||||||
|
|
||||||
|
# If false, no index is generated.
|
||||||
|
#html_use_index = True
|
||||||
|
|
||||||
|
# If true, the index is split into individual pages for each letter.
|
||||||
|
#html_split_index = False
|
||||||
|
|
||||||
|
# If true, links to the reST sources are added to the pages.
|
||||||
|
#html_show_sourcelink = True
|
||||||
|
|
||||||
|
# If true, "Created using Sphinx" is shown in the HTML footer. Default is True.
|
||||||
|
html_show_sphinx = False
|
||||||
|
|
||||||
|
# If true, "(C) Copyright ..." is shown in the HTML footer. Default is True.
|
||||||
|
#html_show_copyright = True
|
||||||
|
|
||||||
|
# If true, an OpenSearch description file will be output, and all pages will
|
||||||
|
# contain a <link> tag referring to it. The value of this option must be the
|
||||||
|
# base URL from which the finished HTML is served.
|
||||||
|
#html_use_opensearch = ''
|
||||||
|
|
||||||
|
# This is the file name suffix for HTML files (e.g. ".xhtml").
|
||||||
|
#html_file_suffix = None
|
||||||
|
|
||||||
|
# Output file base name for HTML help builder.
|
||||||
|
htmlhelp_basename = 'ownCloudClientManual'
|
||||||
|
|
||||||
|
|
||||||
|
# -- Options for LaTeX output --------------------------------------------------
|
||||||
|
|
||||||
|
latex_elements = {
|
||||||
|
# The paper size ('letterpaper' or 'a4paper').
|
||||||
|
#'papersize': 'letterpaper',
|
||||||
|
|
||||||
|
# The font size ('10pt', '11pt' or '12pt').
|
||||||
|
#'pointsize': '10pt',
|
||||||
|
|
||||||
|
# Additional stuff for the LaTeX preamble.
|
||||||
|
#'preamble': '',
|
||||||
|
}
|
||||||
|
|
||||||
|
# Grouping the document tree into LaTeX files. List of tuples
|
||||||
|
# (source start file, target name, title, author, documentclass [howto/manual]).
|
||||||
|
latex_documents = [
|
||||||
|
('index', 'ownCloudClientManual.tex', u'ownCloud Client Manual',
|
||||||
|
u'The ownCloud developers', 'manual'),
|
||||||
|
]
|
||||||
|
|
||||||
|
# The name of an image file (relative to this directory) to place at the top of
|
||||||
|
# the title page.
|
||||||
|
#latex_logo = None
|
||||||
|
|
||||||
|
# For "manual" documents, if this is true, then toplevel headings are parts,
|
||||||
|
# not chapters.
|
||||||
|
#latex_use_parts = False
|
||||||
|
|
||||||
|
# If true, show page references after internal links.
|
||||||
|
#latex_show_pagerefs = False
|
||||||
|
|
||||||
|
# If true, show URL addresses after external links.
|
||||||
|
#latex_show_urls = False
|
||||||
|
|
||||||
|
# Documents to append as an appendix to all manuals.
|
||||||
|
#latex_appendices = []
|
||||||
|
|
||||||
|
# If false, no module index is generated.
|
||||||
|
#latex_domain_indices = True
|
||||||
|
|
||||||
|
|
||||||
|
# -- Options for manual page output --------------------------------------------
|
||||||
|
|
||||||
|
# One entry per manual page. List of tuples
|
||||||
|
# (source start file, name, description, authors, manual section).
|
||||||
|
man_pages = [
|
||||||
|
('owncloud.1', 'owncloud', u'File synchronisation desktop utility.',
|
||||||
|
[u'The ownCloud developers'], 1),
|
||||||
|
]
|
||||||
|
|
||||||
|
# If true, show URL addresses after external links.
|
||||||
|
man_show_urls = True
|
||||||
|
|
||||||
|
|
||||||
|
# -- Options for Texinfo output ------------------------------------------------
|
||||||
|
|
||||||
|
# Grouping the document tree into Texinfo files. List of tuples
|
||||||
|
# (source start file, target name, title, author,
|
||||||
|
# dir menu entry, description, category)
|
||||||
|
texinfo_documents = [
|
||||||
|
('index', 'ownCloudClientManual', u'ownCloud Client Manual',
|
||||||
|
u'The ownCloud developers', 'ownCloud', 'The ownCloud Client Manual.',
|
||||||
|
'Miscellaneous'),
|
||||||
|
]
|
||||||
|
|
||||||
|
# Documents to append as an appendix to all manuals.
|
||||||
|
#texinfo_appendices = []
|
||||||
|
|
||||||
|
# If false, no module index is generated.
|
||||||
|
#texinfo_domain_indices = True
|
||||||
|
|
||||||
|
# How to display URL addresses: 'footnote', 'no', or 'inline'.
|
||||||
|
#texinfo_show_urls = 'footnote'
|
||||||
|
|
||||||
|
|
||||||
|
# -- Options for Epub output ---------------------------------------------------
|
||||||
|
|
||||||
|
# Bibliographic Dublin Core info.
|
||||||
|
epub_title = u'ownCloud Client Manual'
|
||||||
|
epub_author = u'The ownCloud developers'
|
||||||
|
epub_publisher = u'The ownCloud developers'
|
||||||
|
epub_copyright = u'2013, The ownCloud developers'
|
||||||
|
|
||||||
|
# The language of the text. It defaults to the language option
|
||||||
|
# or en if the language is not set.
|
||||||
|
#epub_language = ''
|
||||||
|
|
||||||
|
# The scheme of the identifier. Typical schemes are ISBN or URL.
|
||||||
|
#epub_scheme = ''
|
||||||
|
|
||||||
|
# The unique identifier of the text. This can be a ISBN number
|
||||||
|
# or the project homepage.
|
||||||
|
#epub_identifier = ''
|
||||||
|
|
||||||
|
# A unique identification for the text.
|
||||||
|
#epub_uid = ''
|
||||||
|
|
||||||
|
# A tuple containing the cover image and cover page html template filenames.
|
||||||
|
#epub_cover = ()
|
||||||
|
|
||||||
|
# HTML files that should be inserted before the pages created by sphinx.
|
||||||
|
# The format is a list of tuples containing the path and title.
|
||||||
|
#epub_pre_files = []
|
||||||
|
|
||||||
|
# HTML files shat should be inserted after the pages created by sphinx.
|
||||||
|
# The format is a list of tuples containing the path and title.
|
||||||
|
#epub_post_files = []
|
||||||
|
|
||||||
|
# A list of files that should not be packed into the epub file.
|
||||||
|
#epub_exclude_files = []
|
||||||
|
|
||||||
|
# The depth of the table of contents in toc.ncx.
|
||||||
|
#epub_tocdepth = 3
|
||||||
|
|
||||||
|
# Allow duplicate toc entries.
|
||||||
|
#epub_tocdup = True
|
||||||
|
|
||||||
|
# Include todos?
|
||||||
|
todo_include_todos = True
|
||||||
26
doc/conffile.rst
Normal file
@@ -0,0 +1,26 @@
|
|||||||
|
ownCloud Client reads a configuration file.
|
||||||
|
|
||||||
|
On Linux it can be found in:
|
||||||
|
``$HOME/.local/share/data/ownCloud/owncloud.cfg``
|
||||||
|
|
||||||
|
On Windows it can be found in:
|
||||||
|
``%LOCALAPPDATA%\ownCloud\owncloud.cfg``
|
||||||
|
|
||||||
|
On Mac it can be found in:
|
||||||
|
``$HOME/Library/Application Support/ownCloud``
|
||||||
|
|
||||||
|
|
||||||
|
It contains settings in the ini file format known from Windows.
|
||||||
|
|
||||||
|
.. note:: Changes here should be done carefully as wrong settings can cause disfunctionality.
|
||||||
|
|
||||||
|
.. note:: Changes may be overwritten by using ownCloud's configuration dialog.
|
||||||
|
|
||||||
|
These are config settings that may be changed:
|
||||||
|
|
||||||
|
``remotePollinterval`` (default: ``30000``)
|
||||||
|
Poll time for the remote repository in milliseconds
|
||||||
|
|
||||||
|
``maxLogLines`` (default: ``20000``)
|
||||||
|
Maximum count of log lines shown in the log window
|
||||||
|
|
||||||
29
doc/glossary.rst
Normal file
@@ -0,0 +1,29 @@
|
|||||||
|
Glossary
|
||||||
|
========
|
||||||
|
|
||||||
|
.. glossary::
|
||||||
|
:sorted:
|
||||||
|
|
||||||
|
ownCloud Sync Client
|
||||||
|
ownCloud Client
|
||||||
|
Name of the official ownCloud syncing client for desktop, which runs on
|
||||||
|
Windows, Mac OS X and Linux. It is based Mirall, and uses the CSync
|
||||||
|
sync engine for synchronization with the ownCloud server.
|
||||||
|
|
||||||
|
ownCloud Server
|
||||||
|
The server counter part of ownCloud Client as provided by the ownCloud
|
||||||
|
community.
|
||||||
|
|
||||||
|
mtime
|
||||||
|
modification time
|
||||||
|
file modification time
|
||||||
|
File property used to determine whether the servers' or the clients' file
|
||||||
|
is more recent. Standard procedure in oCC 1.0.5 and earlier, used by
|
||||||
|
oCC 1.1 and later only when no sync database exists and files already
|
||||||
|
exist in the client directory.
|
||||||
|
|
||||||
|
unique id
|
||||||
|
ETag
|
||||||
|
ID assigned to every file starting with ownCloud server 4.5 and submitted
|
||||||
|
via the HTTP ``Etag``. Used to check if files on client and server have
|
||||||
|
changed.
|
||||||
BIN
doc/images/icon.png
Normal file
|
After Width: | Height: | Size: 1.3 KiB |
BIN
doc/images/ignored_files_editor.png
Normal file
|
After Width: | Height: | Size: 48 KiB |
BIN
doc/images/menu.png
Normal file
|
After Width: | Height: | Size: 18 KiB |
BIN
doc/images/settings_account.png
Normal file
|
After Width: | Height: | Size: 72 KiB |
BIN
doc/images/settings_general.png
Normal file
|
After Width: | Height: | Size: 50 KiB |
BIN
doc/images/settings_network.png
Normal file
|
After Width: | Height: | Size: 59 KiB |
BIN
doc/images/sync_protocol.png
Normal file
|
After Width: | Height: | Size: 168 KiB |
BIN
doc/images/wizard_overview.png
Normal file
|
After Width: | Height: | Size: 40 KiB |
BIN
doc/images/wizard_targetfolder.png
Normal file
|
After Width: | Height: | Size: 39 KiB |
BIN
doc/images/wizard_url.png
Normal file
|
After Width: | Height: | Size: 39 KiB |
BIN
doc/images/wizard_user.png
Normal file
|
After Width: | Height: | Size: 37 KiB |
18
doc/index.rst
Normal file
@@ -0,0 +1,18 @@
|
|||||||
|
.. _contents:
|
||||||
|
|
||||||
|
Contents
|
||||||
|
========
|
||||||
|
|
||||||
|
.. toctree::
|
||||||
|
:maxdepth: 2
|
||||||
|
|
||||||
|
introduction
|
||||||
|
accountsetup
|
||||||
|
visualtour
|
||||||
|
advancedusage
|
||||||
|
|
||||||
|
building
|
||||||
|
architecture
|
||||||
|
troubleshooting
|
||||||
|
glossary
|
||||||
|
|
||||||
37
doc/introduction.rst
Normal file
@@ -0,0 +1,37 @@
|
|||||||
|
Introduction
|
||||||
|
============
|
||||||
|
|
||||||
|
This is the documentation for the ownCloud Sync Client, also referred to as
|
||||||
|
the ownCloud Client.
|
||||||
|
|
||||||
|
The ownCloud Sync Client is a desktop program you install on your computer.
|
||||||
|
Specify one ore more directories on the local machine to sync your ownCloud
|
||||||
|
server, and always have your latest files wherever you are. Make a change to the
|
||||||
|
files on one computer, it will flow across the others using these desktop sync
|
||||||
|
clients.
|
||||||
|
|
||||||
|
ownCloud Client is available for Windows, Mac OS X and various Linux
|
||||||
|
distributions. See below for details on how to obtain the Client.
|
||||||
|
|
||||||
|
Obtaining the Client
|
||||||
|
--------------------
|
||||||
|
|
||||||
|
The latest version of the ownCloud Client can be obtained at
|
||||||
|
http://owncloud.org/sync-clients/.
|
||||||
|
|
||||||
|
ownCloud client for **Windows** is provided as a NSIS-based setup file for
|
||||||
|
machine-wide install. Installing the ownCloud client on **Mac OS** follows
|
||||||
|
the normal app bundle installation pattern:
|
||||||
|
|
||||||
|
1. Download the installation file: Click ``ownCloud-x.y.z.dmg``, a window with
|
||||||
|
the ownCloud icon opens.
|
||||||
|
2. In that window, drag the ownCloud application into the ``Applications``
|
||||||
|
folder.
|
||||||
|
3. On the right hand side From ``Applications``, choose ``ownCloud``.
|
||||||
|
|
||||||
|
The ownCloud Client is also provided as in a convenient repository for a wide
|
||||||
|
range of popular **Linux distributions**. If you want to build the sources
|
||||||
|
instead.
|
||||||
|
|
||||||
|
Supported distributions are Fedora, openSUSE, Ubuntu and Debian.
|
||||||
|
To support other distributions, a is required, see :ref:`building-label`
|
||||||
BIN
doc/logo-blue.pdf
Normal file
190
doc/make.bat
Normal file
@@ -0,0 +1,190 @@
|
|||||||
|
@ECHO OFF
|
||||||
|
|
||||||
|
REM Command file for Sphinx documentation
|
||||||
|
|
||||||
|
if "%SPHINXBUILD%" == "" (
|
||||||
|
set SPHINXBUILD=sphinx-build
|
||||||
|
)
|
||||||
|
set BUILDDIR=_build
|
||||||
|
set ALLSPHINXOPTS=-d %BUILDDIR%/doctrees %SPHINXOPTS% .
|
||||||
|
set I18NSPHINXOPTS=%SPHINXOPTS% .
|
||||||
|
if NOT "%PAPER%" == "" (
|
||||||
|
set ALLSPHINXOPTS=-D latex_paper_size=%PAPER% %ALLSPHINXOPTS%
|
||||||
|
set I18NSPHINXOPTS=-D latex_paper_size=%PAPER% %I18NSPHINXOPTS%
|
||||||
|
)
|
||||||
|
|
||||||
|
if "%1" == "" goto help
|
||||||
|
|
||||||
|
if "%1" == "help" (
|
||||||
|
:help
|
||||||
|
echo.Please use `make ^<target^>` where ^<target^> is one of
|
||||||
|
echo. html to make standalone HTML files
|
||||||
|
echo. dirhtml to make HTML files named index.html in directories
|
||||||
|
echo. singlehtml to make a single large HTML file
|
||||||
|
echo. pickle to make pickle files
|
||||||
|
echo. json to make JSON files
|
||||||
|
echo. htmlhelp to make HTML files and a HTML help project
|
||||||
|
echo. qthelp to make HTML files and a qthelp project
|
||||||
|
echo. devhelp to make HTML files and a Devhelp project
|
||||||
|
echo. epub to make an epub
|
||||||
|
echo. latex to make LaTeX files, you can set PAPER=a4 or PAPER=letter
|
||||||
|
echo. text to make text files
|
||||||
|
echo. man to make manual pages
|
||||||
|
echo. texinfo to make Texinfo files
|
||||||
|
echo. gettext to make PO message catalogs
|
||||||
|
echo. changes to make an overview over all changed/added/deprecated items
|
||||||
|
echo. linkcheck to check all external links for integrity
|
||||||
|
echo. doctest to run all doctests embedded in the documentation if enabled
|
||||||
|
goto end
|
||||||
|
)
|
||||||
|
|
||||||
|
if "%1" == "clean" (
|
||||||
|
for /d %%i in (%BUILDDIR%\*) do rmdir /q /s %%i
|
||||||
|
del /q /s %BUILDDIR%\*
|
||||||
|
goto end
|
||||||
|
)
|
||||||
|
|
||||||
|
if "%1" == "html" (
|
||||||
|
%SPHINXBUILD% -b html %ALLSPHINXOPTS% %BUILDDIR%/html
|
||||||
|
if errorlevel 1 exit /b 1
|
||||||
|
echo.
|
||||||
|
echo.Build finished. The HTML pages are in %BUILDDIR%/html.
|
||||||
|
goto end
|
||||||
|
)
|
||||||
|
|
||||||
|
if "%1" == "dirhtml" (
|
||||||
|
%SPHINXBUILD% -b dirhtml %ALLSPHINXOPTS% %BUILDDIR%/dirhtml
|
||||||
|
if errorlevel 1 exit /b 1
|
||||||
|
echo.
|
||||||
|
echo.Build finished. The HTML pages are in %BUILDDIR%/dirhtml.
|
||||||
|
goto end
|
||||||
|
)
|
||||||
|
|
||||||
|
if "%1" == "singlehtml" (
|
||||||
|
%SPHINXBUILD% -b singlehtml %ALLSPHINXOPTS% %BUILDDIR%/singlehtml
|
||||||
|
if errorlevel 1 exit /b 1
|
||||||
|
echo.
|
||||||
|
echo.Build finished. The HTML pages are in %BUILDDIR%/singlehtml.
|
||||||
|
goto end
|
||||||
|
)
|
||||||
|
|
||||||
|
if "%1" == "pickle" (
|
||||||
|
%SPHINXBUILD% -b pickle %ALLSPHINXOPTS% %BUILDDIR%/pickle
|
||||||
|
if errorlevel 1 exit /b 1
|
||||||
|
echo.
|
||||||
|
echo.Build finished; now you can process the pickle files.
|
||||||
|
goto end
|
||||||
|
)
|
||||||
|
|
||||||
|
if "%1" == "json" (
|
||||||
|
%SPHINXBUILD% -b json %ALLSPHINXOPTS% %BUILDDIR%/json
|
||||||
|
if errorlevel 1 exit /b 1
|
||||||
|
echo.
|
||||||
|
echo.Build finished; now you can process the JSON files.
|
||||||
|
goto end
|
||||||
|
)
|
||||||
|
|
||||||
|
if "%1" == "htmlhelp" (
|
||||||
|
%SPHINXBUILD% -b htmlhelp %ALLSPHINXOPTS% %BUILDDIR%/htmlhelp
|
||||||
|
if errorlevel 1 exit /b 1
|
||||||
|
echo.
|
||||||
|
echo.Build finished; now you can run HTML Help Workshop with the ^
|
||||||
|
.hhp project file in %BUILDDIR%/htmlhelp.
|
||||||
|
goto end
|
||||||
|
)
|
||||||
|
|
||||||
|
if "%1" == "qthelp" (
|
||||||
|
%SPHINXBUILD% -b qthelp %ALLSPHINXOPTS% %BUILDDIR%/qthelp
|
||||||
|
if errorlevel 1 exit /b 1
|
||||||
|
echo.
|
||||||
|
echo.Build finished; now you can run "qcollectiongenerator" with the ^
|
||||||
|
.qhcp project file in %BUILDDIR%/qthelp, like this:
|
||||||
|
echo.^> qcollectiongenerator %BUILDDIR%\qthelp\OwncloudDocumentation.qhcp
|
||||||
|
echo.To view the help file:
|
||||||
|
echo.^> assistant -collectionFile %BUILDDIR%\qthelp\OwncloudDocumentation.ghc
|
||||||
|
goto end
|
||||||
|
)
|
||||||
|
|
||||||
|
if "%1" == "devhelp" (
|
||||||
|
%SPHINXBUILD% -b devhelp %ALLSPHINXOPTS% %BUILDDIR%/devhelp
|
||||||
|
if errorlevel 1 exit /b 1
|
||||||
|
echo.
|
||||||
|
echo.Build finished.
|
||||||
|
goto end
|
||||||
|
)
|
||||||
|
|
||||||
|
if "%1" == "epub" (
|
||||||
|
%SPHINXBUILD% -b epub %ALLSPHINXOPTS% %BUILDDIR%/epub
|
||||||
|
if errorlevel 1 exit /b 1
|
||||||
|
echo.
|
||||||
|
echo.Build finished. The epub file is in %BUILDDIR%/epub.
|
||||||
|
goto end
|
||||||
|
)
|
||||||
|
|
||||||
|
if "%1" == "latex" (
|
||||||
|
%SPHINXBUILD% -b latex %ALLSPHINXOPTS% %BUILDDIR%/latex
|
||||||
|
if errorlevel 1 exit /b 1
|
||||||
|
echo.
|
||||||
|
echo.Build finished; the LaTeX files are in %BUILDDIR%/latex.
|
||||||
|
goto end
|
||||||
|
)
|
||||||
|
|
||||||
|
if "%1" == "text" (
|
||||||
|
%SPHINXBUILD% -b text %ALLSPHINXOPTS% %BUILDDIR%/text
|
||||||
|
if errorlevel 1 exit /b 1
|
||||||
|
echo.
|
||||||
|
echo.Build finished. The text files are in %BUILDDIR%/text.
|
||||||
|
goto end
|
||||||
|
)
|
||||||
|
|
||||||
|
if "%1" == "man" (
|
||||||
|
%SPHINXBUILD% -b man %ALLSPHINXOPTS% %BUILDDIR%/man
|
||||||
|
if errorlevel 1 exit /b 1
|
||||||
|
echo.
|
||||||
|
echo.Build finished. The manual pages are in %BUILDDIR%/man.
|
||||||
|
goto end
|
||||||
|
)
|
||||||
|
|
||||||
|
if "%1" == "texinfo" (
|
||||||
|
%SPHINXBUILD% -b texinfo %ALLSPHINXOPTS% %BUILDDIR%/texinfo
|
||||||
|
if errorlevel 1 exit /b 1
|
||||||
|
echo.
|
||||||
|
echo.Build finished. The Texinfo files are in %BUILDDIR%/texinfo.
|
||||||
|
goto end
|
||||||
|
)
|
||||||
|
|
||||||
|
if "%1" == "gettext" (
|
||||||
|
%SPHINXBUILD% -b gettext %I18NSPHINXOPTS% %BUILDDIR%/locale
|
||||||
|
if errorlevel 1 exit /b 1
|
||||||
|
echo.
|
||||||
|
echo.Build finished. The message catalogs are in %BUILDDIR%/locale.
|
||||||
|
goto end
|
||||||
|
)
|
||||||
|
|
||||||
|
if "%1" == "changes" (
|
||||||
|
%SPHINXBUILD% -b changes %ALLSPHINXOPTS% %BUILDDIR%/changes
|
||||||
|
if errorlevel 1 exit /b 1
|
||||||
|
echo.
|
||||||
|
echo.The overview file is in %BUILDDIR%/changes.
|
||||||
|
goto end
|
||||||
|
)
|
||||||
|
|
||||||
|
if "%1" == "linkcheck" (
|
||||||
|
%SPHINXBUILD% -b linkcheck %ALLSPHINXOPTS% %BUILDDIR%/linkcheck
|
||||||
|
if errorlevel 1 exit /b 1
|
||||||
|
echo.
|
||||||
|
echo.Link check complete; look for any errors in the above output ^
|
||||||
|
or in %BUILDDIR%/linkcheck/output.txt.
|
||||||
|
goto end
|
||||||
|
)
|
||||||
|
|
||||||
|
if "%1" == "doctest" (
|
||||||
|
%SPHINXBUILD% -b doctest %ALLSPHINXOPTS% %BUILDDIR%/doctest
|
||||||
|
if errorlevel 1 exit /b 1
|
||||||
|
echo.
|
||||||
|
echo.Testing of doctests in the sources finished, look at the ^
|
||||||
|
results in %BUILDDIR%/doctest/output.txt.
|
||||||
|
goto end
|
||||||
|
)
|
||||||
|
|
||||||
|
:end
|
||||||
1
doc/ocdoc
Submodule
20
doc/options.rst
Normal file
@@ -0,0 +1,20 @@
|
|||||||
|
ownCloud Client supports the following command line switches:
|
||||||
|
|
||||||
|
``--logwindow``
|
||||||
|
open a window to show log output.
|
||||||
|
|
||||||
|
``--logfile`` `<filename>`
|
||||||
|
write log output to file <filename>.
|
||||||
|
|
||||||
|
``--logdir`` `<name>`
|
||||||
|
write each sync log output in a new file in directory <name>
|
||||||
|
|
||||||
|
``--logexpire`` `<hours>`
|
||||||
|
removes logs older than <hours> hours. (to be used with --logdir)
|
||||||
|
|
||||||
|
``--logflush``
|
||||||
|
flush the log file after every write.
|
||||||
|
|
||||||
|
``--confdir`` `<dirname>`
|
||||||
|
Use the given configuration directory.
|
||||||
|
|
||||||
37
doc/owncloud.1.rst
Normal file
@@ -0,0 +1,37 @@
|
|||||||
|
owncloud(1)
|
||||||
|
-----------
|
||||||
|
|
||||||
|
|
||||||
|
SYNOPSIS
|
||||||
|
========
|
||||||
|
*owncloud* [`OPTIONS`...]
|
||||||
|
|
||||||
|
|
||||||
|
DESCRIPTION
|
||||||
|
===========
|
||||||
|
ownCloud is a file synchronisation desktop utility based on mirall.
|
||||||
|
It synchronizes files on your local machine with an ownCloud Server. If you
|
||||||
|
make a change to the files on one computer, it will flow across the others
|
||||||
|
using this desktop sync clients.
|
||||||
|
|
||||||
|
Normally you start the client by click on the desktop icon or start from the
|
||||||
|
application menu. After starting an ownCloud icon appears in the system tray.
|
||||||
|
|
||||||
|
Options
|
||||||
|
=======
|
||||||
|
.. include:: options.rst
|
||||||
|
|
||||||
|
Config File
|
||||||
|
===========
|
||||||
|
.. include:: conffile.rst
|
||||||
|
|
||||||
|
BUGS
|
||||||
|
====
|
||||||
|
|
||||||
|
Please report bugs at https://github.com/owncloud/core/issues.
|
||||||
|
|
||||||
|
|
||||||
|
SEE ALSO
|
||||||
|
========
|
||||||
|
`csync(1)`
|
||||||
|
|
||||||
15
doc/scripts/README.rst
Normal file
@@ -0,0 +1,15 @@
|
|||||||
|
Doc Build Convenience Scripts
|
||||||
|
=============================
|
||||||
|
|
||||||
|
* ``htmlhelp.sh``: A script to install Microsoft HTML Workshop on Linux or Mac OS using Wine, along with some dependencies.
|
||||||
|
* ``htmlhelp.reg``: Registry file to override some DLLs with their native version and set the right Windows version.
|
||||||
|
|
||||||
|
Those files have been taken from the `HTML Help Project`_.
|
||||||
|
|
||||||
|
License
|
||||||
|
-------
|
||||||
|
|
||||||
|
The HTML Help Project has licensed_ its software under LGPLv2.1 terms
|
||||||
|
|
||||||
|
.. _HTML Help Project: http://code.google.com/p/htmlhelp/wiki/HHW4Wine
|
||||||
|
.. _licensed: https://code.google.com/p/htmlhelp/source/browse/trunk/pyhtmlhelp/COPYING
|
||||||
12
doc/scripts/htmlhelp.reg
Executable file
@@ -0,0 +1,12 @@
|
|||||||
|
REGEDIT4
|
||||||
|
|
||||||
|
[HKEY_CURRENT_USER\Software\Wine]
|
||||||
|
"Version"="win2k"
|
||||||
|
|
||||||
|
[HKEY_CURRENT_USER\Software\Wine\AppDefaults\hhc.exe\DllOverrides]
|
||||||
|
"itircl"="native"
|
||||||
|
"itss"="native"
|
||||||
|
|
||||||
|
[HKEY_CURRENT_USER\Software\Wine\AppDefaults\hhw.exe\DllOverrides]
|
||||||
|
"itircl"="native"
|
||||||
|
"itss"="native"
|
||||||
27
doc/scripts/htmlhelp.sh
Executable file
@@ -0,0 +1,27 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
WINEPREFIX=${WINEPREFIX:=$HOME/.wine}
|
||||||
|
|
||||||
|
test -d "$WINEPREFIX" || wineprefixcreate
|
||||||
|
|
||||||
|
# Setup the registry
|
||||||
|
wine regedit htmlhelp.reg
|
||||||
|
|
||||||
|
# Install HTML Help Workshop
|
||||||
|
wget 'http://go.microsoft.com/fwlink/?LinkId=14188' -O htmlhelp.exe
|
||||||
|
wine htmlhelp.exe
|
||||||
|
|
||||||
|
# Install ITSS.DLL
|
||||||
|
cabextract -F hhupd.exe htmlhelp.exe
|
||||||
|
cabextract -F itircl.dll hhupd.exe
|
||||||
|
cabextract -F itss.dll hhupd.exe
|
||||||
|
cp -a itircl.dll "$WINEPREFIX/drive_c/windows/system32/"
|
||||||
|
cp -a itss.dll "$WINEPREFIX/drive_c/windows/system32/"
|
||||||
|
wine regsvr32 /s 'C:\WINDOWS\SYSTEM32\itircl.dll'
|
||||||
|
wine regsvr32 /s 'C:\WINDOWS\SYSTEM32\itss.dll'
|
||||||
|
|
||||||
|
# Install MFC40.DLL
|
||||||
|
wget -N http://activex.microsoft.com/controls/vc/mfc40.cab
|
||||||
|
cabextract -F mfc40.exe mfc40.cab
|
||||||
|
cabextract -F mfc40.dll mfc40.exe
|
||||||
|
cp -a mfc40.dll "$WINEPREFIX/drive_c/windows/system32/"
|
||||||
136
doc/troubleshooting.rst
Normal file
@@ -0,0 +1,136 @@
|
|||||||
|
Appendix C: Troubleshooting
|
||||||
|
===========================
|
||||||
|
|
||||||
|
If the client fails to start syncing it basically can have two
|
||||||
|
basic reasons: Either the server setup has a problem or the client
|
||||||
|
has a bug. When reporting bugs, it is crucial to find out what part
|
||||||
|
of the system causes the problem.
|
||||||
|
|
||||||
|
Identifying basic functionality problems
|
||||||
|
----------------------------------------
|
||||||
|
|
||||||
|
:Perform a general ownCloud Server test:
|
||||||
|
A very first check is to verify that you can log on to ownClouds web
|
||||||
|
application. Assuming your ownCloud instance is installed at
|
||||||
|
``http://yourserver.com/owncloud``, type
|
||||||
|
``http://yourserver.com/owncloud/`` into your browsers address bar.
|
||||||
|
|
||||||
|
If you are not prompted to enter your user name and password, or if you
|
||||||
|
see a red warning box on the page, your server setup is not correct or needs
|
||||||
|
fixes. Please verify that your server installation is working correctly.
|
||||||
|
|
||||||
|
:Ensure the WebDAV API is working:
|
||||||
|
If all desktop clients fail to connect to ownCloud, but the access via the
|
||||||
|
web interface works, the problem often is a mis-configuration of the WebDAV
|
||||||
|
API.
|
||||||
|
|
||||||
|
The ownCloud client uses the built-in WebDAV access of the server content.
|
||||||
|
Verify that you can log on to ownClouds WebDAV server. Assuming your ownCloud
|
||||||
|
instance is installed at ``http://yourserver.com/owncloud``, type
|
||||||
|
``http://yourserver.com/owncloud/remote.php/webdav`` into your browsers
|
||||||
|
address bar.
|
||||||
|
|
||||||
|
If you are prompted, but the authentication fails even though the credentials
|
||||||
|
your provided are correct, please ensure that your authentication backend
|
||||||
|
is configured properly.
|
||||||
|
|
||||||
|
:Use a WebDAV command line tool to test:
|
||||||
|
A more sophisticated test is to use a WebDAV command line client and log
|
||||||
|
into the ownCloud WebDAV server, such as a little app called cadaver,
|
||||||
|
available on Linux. It can be used to further verify that the WebDAV server is
|
||||||
|
running properly, for example by performing PROPFIND calls:
|
||||||
|
|
||||||
|
``propget .`` called within cadaver will return some properties of the current
|
||||||
|
directory and thus be a successful WebDAV connect.
|
||||||
|
|
||||||
|
Isolating other issues
|
||||||
|
----------------------
|
||||||
|
|
||||||
|
If the sync result is unreliable, please ensure that the folder synced with
|
||||||
|
ownCloud is not shared with other syncing apps.
|
||||||
|
|
||||||
|
.. note:: Syncing the same directory with ownCloud and other sync software such
|
||||||
|
as Unison, rsync, Microsoft Windows Offline Folders or cloud services
|
||||||
|
such as DropBox or Microsoft SkyDrive is not supported and should
|
||||||
|
not be attempted. In the worst case, doing so can result in data
|
||||||
|
loss.
|
||||||
|
|
||||||
|
If some files do not get take a look at the sync protocol. Some files are
|
||||||
|
automatically automatically being ignored because they are system files,
|
||||||
|
others get ignored because their file name contains characters that cannot
|
||||||
|
be represented on certain file systems. See :ref:`_ignored-files-label` for
|
||||||
|
details.
|
||||||
|
|
||||||
|
If you are operating your own server and use the local storage backend (the
|
||||||
|
default), make sure that ownCloud has exclusive access to the directory.
|
||||||
|
|
||||||
|
.. note:: The data directory on the server is exclusive to ownCloud and must
|
||||||
|
not be modified manually.
|
||||||
|
|
||||||
|
If you are using a different backend, you can try to exclude a bug in the
|
||||||
|
backend by reverting to the local backend.
|
||||||
|
|
||||||
|
Logfiles
|
||||||
|
--------
|
||||||
|
|
||||||
|
Doing effective debugging requires to provide as much as relevant logs as
|
||||||
|
possible. The log output can help you with tracking down problem, and if you
|
||||||
|
report a bug, you're advised to include the output.
|
||||||
|
|
||||||
|
Client Logfile
|
||||||
|
~~~~~~~~~~~~~~
|
||||||
|
|
||||||
|
Start the client with ``--logwindow``. That opens a window providing a view
|
||||||
|
on the current log. It provides a Save button to let you save the log to a
|
||||||
|
file.
|
||||||
|
|
||||||
|
You can also open a log window for an already running session, by simply
|
||||||
|
starting the client again with this parameter. Syntax:
|
||||||
|
|
||||||
|
* Windows: ``C:\Program Files (x86)\ownCloud\owncloud.exe --logwindow``
|
||||||
|
* Mac OS X: ``/Applications/owncloud.app/Contents/MacOS/owncloud --logwindow``
|
||||||
|
* Linux: ``owncloud --logwindow``
|
||||||
|
|
||||||
|
It is also possible to directly log to a directory, which is an useful option
|
||||||
|
in case the problem only happens ocassionally. In that case it is better to
|
||||||
|
create a huge amount of data, as the log window has a limited buffer.
|
||||||
|
|
||||||
|
To write logs to disk, start the client with ``--logfile <file>``, where
|
||||||
|
``<file`` is the file you want to log to, or ``--logdir <dir>``, where ``<dir>``
|
||||||
|
is an existing directory. In case of ``--logdir``, each sync run will create a
|
||||||
|
new file. To limit the amount of data that accumulates over time, there is another
|
||||||
|
useful parameter: ``--logexpire <hours>```. If that is combined with ```--logdir```
|
||||||
|
the client automatically erases log data in that directory that is older than the
|
||||||
|
given expiry period.
|
||||||
|
|
||||||
|
For example, for a long running test where you intend to keep the log data of the
|
||||||
|
last two days, this would be the command line:
|
||||||
|
|
||||||
|
```
|
||||||
|
owncloud --logdir /tmp/owncloud_logs --logexpire 48
|
||||||
|
```
|
||||||
|
|
||||||
|
ownCloud server Logfile
|
||||||
|
~~~~~~~~~~~~~~~~~~~~~~~
|
||||||
|
|
||||||
|
The ownCloud server maintains an ownCloud specific logfile as well. It can and
|
||||||
|
must be enabled through the ownCloud Administration page. There you can adjust
|
||||||
|
the loglevel. It is advisable to set it to a verbose level like ``Debug`` or
|
||||||
|
``Info``.
|
||||||
|
|
||||||
|
The logfile can be viewed either in the web interface or can be found in the
|
||||||
|
filesystem in the ownCloud server data dir.
|
||||||
|
|
||||||
|
Webserver Logfiles
|
||||||
|
~~~~~~~~~~~~~~~~~~
|
||||||
|
|
||||||
|
Also, please take a look at your webservers error log file to check if there
|
||||||
|
are problems. For Apache on Linux, the error logs usually can be found at
|
||||||
|
``/var/log/apache2``. A file called ``error_log`` shows errors like PHP code
|
||||||
|
problems. A file called ``access_log`` usually records all requests handled
|
||||||
|
by the server. Especially the access_log is a very good debugging tool as the
|
||||||
|
log line contains a lot of information of every request and it's result.
|
||||||
|
|
||||||
|
More information about the apache logging can be found at
|
||||||
|
``http://httpd.apache.org/docs/current/logs.html``.
|
||||||
|
|
||||||
178
doc/visualtour.rst
Normal file
@@ -0,0 +1,178 @@
|
|||||||
|
Visual Tour
|
||||||
|
===========
|
||||||
|
|
||||||
|
.. index:: visual tour, usage
|
||||||
|
|
||||||
|
ownCloud Client stays in the background, and is visible as an
|
||||||
|
icon in your system tray (Windows, KDE), status bar (Mac OS X)
|
||||||
|
or notification area (Ubuntu), like so:
|
||||||
|
|
||||||
|
.. image:: images/icon.png
|
||||||
|
|
||||||
|
If a setup is still required, it will open the setup. Otherwise, the
|
||||||
|
main menu is opened, which provides several options and displays
|
||||||
|
progress information:
|
||||||
|
|
||||||
|
.. image:: images/menu.png
|
||||||
|
|
||||||
|
Here is an explanation of the individual items in the menu:
|
||||||
|
|
||||||
|
* ``Open ownCloud in browser``: Opens the ownCloud web interface
|
||||||
|
* ``Open folder 'ownCloud'``: Opens the local folder. If you have
|
||||||
|
defined multiple sync targets, you should see multiple entries
|
||||||
|
here.
|
||||||
|
* **Disk space indicator**: Shows how much space is used up on the server.
|
||||||
|
* Operation indicator: Shows the status of the current sync process, or
|
||||||
|
``Up to date`` if server and client are in sync.
|
||||||
|
* **Recent Changes**: shows the last six files modified by sync operations,
|
||||||
|
and provides access to the Sync Protocol, which lists all changes
|
||||||
|
since the last restart of ownCloud Client.
|
||||||
|
* ``Settings...``: provides access to the settings menu.
|
||||||
|
* ``Help``: Opens a browser to display this help.
|
||||||
|
* ``Quit ownCloud``: Quits ownCloud, ending a currently running sync run.
|
||||||
|
|
||||||
|
The settings dialog is split up in three categories: ``Account Settings``,
|
||||||
|
``General Settings`` and ``Network Settings``:
|
||||||
|
|
||||||
|
Account Settings
|
||||||
|
~~~~~~~~~~~~~~~~
|
||||||
|
|
||||||
|
.. index:: account settings, user, password, Server URL
|
||||||
|
|
||||||
|
The ``Account Settings`` tab provides an executive summary about the synced
|
||||||
|
folders in your account and allows to modify them. It also provides a more
|
||||||
|
detailed report about the storage usage. Finally, it allows to change
|
||||||
|
the files that ownCloud Client should ignore (for details, see the
|
||||||
|
``Ignored Files Editor`` section below), and to modify various aspects
|
||||||
|
of the current account settings, such as user name, password and server URL.
|
||||||
|
|
||||||
|
.. image:: images/settings_account.png
|
||||||
|
:scale: 50 %
|
||||||
|
|
||||||
|
General Settings
|
||||||
|
~~~~~~~~~~~~~~~~
|
||||||
|
|
||||||
|
.. index:: general settings, auto start, startup, desktop notifications
|
||||||
|
|
||||||
|
The tab provides several useful options:
|
||||||
|
|
||||||
|
.. image:: images/settings_general.png
|
||||||
|
:scale: 50 %
|
||||||
|
|
||||||
|
* **Launch on System Startup**: This option is automatically activated
|
||||||
|
once a user has conimaged his account. Unchecking the box will cause
|
||||||
|
ownCloud client to not launch on startup for a particular user.
|
||||||
|
* **Show Desktop Nofications**: Do not show bubble notifications whenever
|
||||||
|
a set of sync operations has been performed.
|
||||||
|
* **Use Monochrome Icons**: Use less obstrusive icons. Especially useful
|
||||||
|
on Mac OS.
|
||||||
|
|
||||||
|
The acout menu provides information about authors as well as detailed
|
||||||
|
information about the build conditions. Those are particularly valuable
|
||||||
|
when filing a bug report.
|
||||||
|
|
||||||
|
Network Settings
|
||||||
|
~~~~~~~~~~~~~~~~
|
||||||
|
|
||||||
|
.. index:: proxy settings, SOCKS, bandwith, throttling, limiting
|
||||||
|
|
||||||
|
This tab consollidates ``Proxy Settings`` and ``Bandwith Limiting``:
|
||||||
|
|
||||||
|
.. image:: images/settings_network.png
|
||||||
|
:scale: 50 %
|
||||||
|
|
||||||
|
Proxy Settings
|
||||||
|
^^^^^^^^^^^^^^
|
||||||
|
|
||||||
|
* ``No Proxy``: Check this if ownCloud Client should circumvent the default
|
||||||
|
proxy conimaged on the system.
|
||||||
|
* ``Use system proxy``: Default, will follow the systems proxy settings.
|
||||||
|
On Linux, this will only pick up the value of the variable ``http_proxy``.
|
||||||
|
* ``Specify proxy manually as``: Allows to specify custom proxy settings.
|
||||||
|
If you require to go through a HTTP(S) proxy server such as Squid or Microsoft
|
||||||
|
Forefront TMG, pick ``HTTP(S)``. ``SOCKSv5`` on the other hand is particulary
|
||||||
|
useful in special company LAN setups, or in combination with the OpenSSH
|
||||||
|
dynamic application level forwarding feature (see ``ssh -D``).
|
||||||
|
* ``Host``: Enter the host name or IP address of your proxy server, followed
|
||||||
|
by the port number. HTTP proxies usually listen on Ports 8080 (default) or
|
||||||
|
3128. SOCKS server usually listen on port 1080.
|
||||||
|
* ``Proxy Server requires authentication``: Should be checked if the proxy
|
||||||
|
server does not allow anonymous usage. If you check this option, you must
|
||||||
|
provide username and password in the fields below, or ownless Cloud will no
|
||||||
|
longer be able to connect successfully.
|
||||||
|
|
||||||
|
Bandwidth Limiting
|
||||||
|
^^^^^^^^^^^^^^^^^^
|
||||||
|
|
||||||
|
The ``Download Bandwidth`` (i.e. the bandwidth available for data flowing
|
||||||
|
from the ownCloud Server to the client) can be either ``Unlimited``
|
||||||
|
(the default), or limited to a custom value, specified in bytes
|
||||||
|
|
||||||
|
The ``Upload Bandwith`` (i.e. the bandwith available for data flowing
|
||||||
|
from the ownCloud Client to the server) additionally has the option
|
||||||
|
to ``Limit automatically``: When this option is checked, the ownCloud
|
||||||
|
Client will surrender available upstream bandwith to other applications.
|
||||||
|
Use this option if you expirience problems with real time communication,
|
||||||
|
such as Skype or other VoIP software, in conjunction with ownCloud Client.
|
||||||
|
This is commonly the case with asymmetric internet connection, such as
|
||||||
|
certain DSL lines with very limited upstream capacity.
|
||||||
|
|
||||||
|
ownCloud Client will pick up changes immediately, but ongoing operations
|
||||||
|
will finish using the old settings.
|
||||||
|
|
||||||
|
The Sync Protocol
|
||||||
|
~~~~~~~~~~~~~~~~~
|
||||||
|
|
||||||
|
.. index:: sync protocol
|
||||||
|
|
||||||
|
The ``Sync Protocol`` window, which can be invoked from either from the main
|
||||||
|
menu (``Recent Changes`` -> ``Details...``) or the ``Account Settings``
|
||||||
|
(``Info`` button), will provide you with an in-depth summary of the recent
|
||||||
|
sync activity. It will also show files that have not been synched (ignored
|
||||||
|
files). Those are ignored either because they are listed in the ignored
|
||||||
|
files list (see ``Ignored Files Editor`` section below), or because they
|
||||||
|
cannot be synced in a cross-platform manner because they contain special
|
||||||
|
characters that cannot be stored on certain file systems.
|
||||||
|
|
||||||
|
.. image:: images/sync_protocol.png
|
||||||
|
:scale: 50 %
|
||||||
|
|
||||||
|
.. _ignoredFilesEditor-label:
|
||||||
|
|
||||||
|
The Ignored Files Editor
|
||||||
|
~~~~~~~~~~~~~~~~~~~~~~~~
|
||||||
|
|
||||||
|
.. index:: ignored files, exclude files, pattern
|
||||||
|
|
||||||
|
The ignored files editor allows adding patterns for files or directories
|
||||||
|
that should be excluded from the sync process. Next to normal characters,
|
||||||
|
wildcards can be used to match an arbitrary number of characters, designated
|
||||||
|
by an asterisk (``*``) or a single character, designated by a question mark
|
||||||
|
(``?``).
|
||||||
|
|
||||||
|
Global defaults cannot be directly modified within the editor. Hovering
|
||||||
|
with the mouse will reveal the location of the global exclude definition
|
||||||
|
file.
|
||||||
|
|
||||||
|
In addition to this list, ownCloud Client always excludes files with
|
||||||
|
characters that cannot be synched down to other file systems,
|
||||||
|
see :ref:`ignored-files-label`.
|
||||||
|
|
||||||
|
.. note:: Modifying the global exclude definition file might render the
|
||||||
|
client unusable or cause undesired behavior.
|
||||||
|
|
||||||
|
.. note:: Custom entries are currently not validated for syntactical
|
||||||
|
correctness by the editor, but might fail to load correctly.
|
||||||
|
|
||||||
|
.. image:: images/ignored_files_editor.png
|
||||||
|
:scale: 50%
|
||||||
|
|
||||||
|
Examples:
|
||||||
|
^^^^^^^^^
|
||||||
|
+-----------+------------------------------+
|
||||||
|
| Pattern | Matches |
|
||||||
|
+===========+==============================+
|
||||||
|
| ``~$*`` | ``~$foo``, ``~$example.doc`` |
|
||||||
|
+-----------+------------------------------+
|
||||||
|
| ``fl?p`` | ``flip``, ``flap`` |
|
||||||
|
+-----------+------------------------------+
|
||||||
46
issue_template.md
Normal file
@@ -0,0 +1,46 @@
|
|||||||
|
### Expected behaviour
|
||||||
|
Tell us what should happen
|
||||||
|
|
||||||
|
### Actual behaviour
|
||||||
|
Tell us what happens instead
|
||||||
|
|
||||||
|
### Steps to reproduce
|
||||||
|
1.
|
||||||
|
2.
|
||||||
|
3.
|
||||||
|
|
||||||
|
### Server configuration
|
||||||
|
Operating system:
|
||||||
|
|
||||||
|
Web server:
|
||||||
|
|
||||||
|
Database:
|
||||||
|
|
||||||
|
PHP version:
|
||||||
|
|
||||||
|
ownCloud version:
|
||||||
|
|
||||||
|
Storage backend:
|
||||||
|
|
||||||
|
### Client configuration
|
||||||
|
Client version:
|
||||||
|
|
||||||
|
Operating system:
|
||||||
|
|
||||||
|
OS language:
|
||||||
|
|
||||||
|
Installation path of client:
|
||||||
|
|
||||||
|
### Logs
|
||||||
|
|
||||||
|
Please use Gist (https://gist.github.com/) or a similar code paster for longer
|
||||||
|
logs.
|
||||||
|
|
||||||
|
```Template for output < 10 lines```
|
||||||
|
|
||||||
|
1. Output of `owncloud --logwindow` or `owncloud --logfile log.txt`
|
||||||
|
|
||||||
|
2. Web server error log:
|
||||||
|
|
||||||
|
3. ownCloud log (data/owncloud.log):
|
||||||
|
|
||||||
8
mirall.desktop.in
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
[Desktop Entry]
|
||||||
|
Categories=Utility;X-SuSE-SyncUtility;
|
||||||
|
Type=Application
|
||||||
|
Exec=@APPLICATION_EXECUTABLE@
|
||||||
|
Name=@APPLICATION_NAME@ desktop sync client
|
||||||
|
GenericName=Folder Sync
|
||||||
|
Icon=@APPLICATION_EXECUTABLE@
|
||||||
|
Keywords=@APPLICATION_NAME@;syncing;file;sharing;
|
||||||
34
mirall.qrc
@@ -1,35 +1,17 @@
|
|||||||
<RCC>
|
<RCC>
|
||||||
<qresource prefix="/mirall">
|
<qresource prefix="/mirall">
|
||||||
<file>resources/mirall-32.png</file>
|
|
||||||
<file>resources/mirall-64.png</file>
|
|
||||||
<file>resources/mirall-128.png</file>
|
|
||||||
<file>resources/folder-grey-32.png</file>
|
|
||||||
<file>resources/folder-remote-32.png</file>
|
|
||||||
<file>resources/folder-grey-22.png</file>
|
|
||||||
<file>resources/folder-remote-22.png</file>
|
|
||||||
<file>resources/mirall-22.png</file>
|
|
||||||
<file>resources/mirall-48.png</file>
|
|
||||||
<file>resources/folder-grey-48.png</file>
|
|
||||||
<file>resources/folder-remote-48.png</file>
|
|
||||||
<file>resources/dialog-close.png</file>
|
<file>resources/dialog-close.png</file>
|
||||||
<file>resources/dialog-ok.png</file>
|
<file>resources/dialog-ok.png</file>
|
||||||
<file>resources/dialog-cancel.png</file>
|
<file>resources/dialog-cancel.png</file>
|
||||||
<file>resources/view-refresh.png</file>
|
<file>resources/folder-remote-32.png</file>
|
||||||
<file>resources/folder-favorites.png</file>
|
<file>resources/folder-remote.png</file>
|
||||||
<file>resources/folder-sync-48.png</file>
|
<file>resources/folder-sync.png</file>
|
||||||
<file>resources/folder-important.png</file>
|
|
||||||
<file>resources/folder-grey.png</file>
|
<file>resources/folder-grey.png</file>
|
||||||
<file>resources/owncloud_splash.png</file>
|
|
||||||
<file>resources/task-ongoing.png</file>
|
<file>resources/task-ongoing.png</file>
|
||||||
|
<file>resources/view-refresh.png</file>
|
||||||
<file>resources/owncloud-icon-22.png</file>
|
<file>resources/warning-16.png</file>
|
||||||
<file>resources/owncloud-icon-32.png</file>
|
<file>resources/settings.png</file>
|
||||||
<file>resources/owncloud-icon-48.png</file>
|
<file>resources/network.png</file>
|
||||||
<file>resources/owncloud-icon-64.png</file>
|
<file>resources/owncloud_logo_blue.png</file>
|
||||||
<file>resources/owncloud-icon-128.png</file>
|
|
||||||
<file>resources/owncloud-framed-64.png</file>
|
|
||||||
<file>resources/owncloud-error-48.png</file>
|
|
||||||
<file>resources/owncloud-sync-48.png</file>
|
|
||||||
<file>resources/owncloud-sync-ok-48.png</file>
|
|
||||||
</qresource>
|
</qresource>
|
||||||
</RCC>
|
</RCC>
|
||||||
|
|||||||
|
Before Width: | Height: | Size: 1.3 KiB |
|
Before Width: | Height: | Size: 22 KiB |
|
Before Width: | Height: | Size: 668 B |
|
Before Width: | Height: | Size: 883 B |
|
Before Width: | Height: | Size: 1.3 KiB |
|
Before Width: | Height: | Size: 1.2 KiB |
|
Before Width: | Height: | Size: 1.4 KiB |
|
Before Width: | Height: | Size: 3.9 KiB |
|
Before Width: | Height: | Size: 2.8 KiB After Width: | Height: | Size: 2.8 KiB |
BIN
resources/lock-http.png
Normal file
|
After Width: | Height: | Size: 739 B |
BIN
resources/lock-https.png
Normal file
|
After Width: | Height: | Size: 478 B |
|
Before Width: | Height: | Size: 2.5 KiB |
|
Before Width: | Height: | Size: 523 B |
|
Before Width: | Height: | Size: 523 B |
|
Before Width: | Height: | Size: 698 B |
|
Before Width: | Height: | Size: 991 B |
|
Before Width: | Height: | Size: 1.3 KiB |
BIN
resources/network.png
Normal file
|
After Width: | Height: | Size: 1.1 KiB |
|
Before Width: | Height: | Size: 2.2 KiB |
|
Before Width: | Height: | Size: 5.7 KiB |
|
Before Width: | Height: | Size: 739 B |
|
Before Width: | Height: | Size: 1.1 KiB |
|
Before Width: | Height: | Size: 1.7 KiB |
|
Before Width: | Height: | Size: 2.6 KiB |
|
Before Width: | Height: | Size: 2.0 KiB |
|
Before Width: | Height: | Size: 1.8 KiB |
BIN
resources/owncloud_logo_blue.png
Normal file
|
After Width: | Height: | Size: 3.6 KiB |
|
Before Width: | Height: | Size: 117 KiB |
BIN
resources/settings.png
Normal file
|
After Width: | Height: | Size: 2.7 KiB |
BIN
resources/warning-16.png
Normal file
|
After Width: | Height: | Size: 596 B |
22
src/3rdparty/LGPL_EXCEPTION.txt
vendored
Normal file
@@ -0,0 +1,22 @@
|
|||||||
|
Digia Qt LGPL Exception version 1.1
|
||||||
|
|
||||||
|
As an additional permission to the GNU Lesser General Public License version
|
||||||
|
2.1, the object code form of a "work that uses the Library" may incorporate
|
||||||
|
material from a header file that is part of the Library. You may distribute
|
||||||
|
such object code under terms of your choice, provided that:
|
||||||
|
(i) the header files of the Library have not been modified; and
|
||||||
|
(ii) the incorporated material is limited to numerical parameters, data
|
||||||
|
structure layouts, accessors, macros, inline functions and
|
||||||
|
templates; and
|
||||||
|
(iii) you comply with the terms of Section 6 of the GNU Lesser General
|
||||||
|
Public License version 2.1.
|
||||||
|
|
||||||
|
Moreover, you may apply this exception to a modified version of the Library,
|
||||||
|
provided that such modification does not involve copying material from the
|
||||||
|
Library into the modified Library's header files unless such material is
|
||||||
|
limited to (i) numerical parameters; (ii) data structure layouts;
|
||||||
|
(iii) accessors; and (iv) small macros, templates and inline functions of
|
||||||
|
five lines or less in length.
|
||||||
|
|
||||||
|
Furthermore, you are not required to apply this additional permission to a
|
||||||
|
modified version of the Library.
|
||||||
165
src/3rdparty/QProgressIndicator/LICENSE
vendored
Normal file
@@ -0,0 +1,165 @@
|
|||||||
|
GNU LESSER GENERAL PUBLIC LICENSE
|
||||||
|
Version 3, 29 June 2007
|
||||||
|
|
||||||
|
Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
|
||||||
|
Everyone is permitted to copy and distribute verbatim copies
|
||||||
|
of this license document, but changing it is not allowed.
|
||||||
|
|
||||||
|
|
||||||
|
This version of the GNU Lesser General Public License incorporates
|
||||||
|
the terms and conditions of version 3 of the GNU General Public
|
||||||
|
License, supplemented by the additional permissions listed below.
|
||||||
|
|
||||||
|
0. Additional Definitions.
|
||||||
|
|
||||||
|
As used herein, "this License" refers to version 3 of the GNU Lesser
|
||||||
|
General Public License, and the "GNU GPL" refers to version 3 of the GNU
|
||||||
|
General Public License.
|
||||||
|
|
||||||
|
"The Library" refers to a covered work governed by this License,
|
||||||
|
other than an Application or a Combined Work as defined below.
|
||||||
|
|
||||||
|
An "Application" is any work that makes use of an interface provided
|
||||||
|
by the Library, but which is not otherwise based on the Library.
|
||||||
|
Defining a subclass of a class defined by the Library is deemed a mode
|
||||||
|
of using an interface provided by the Library.
|
||||||
|
|
||||||
|
A "Combined Work" is a work produced by combining or linking an
|
||||||
|
Application with the Library. The particular version of the Library
|
||||||
|
with which the Combined Work was made is also called the "Linked
|
||||||
|
Version".
|
||||||
|
|
||||||
|
The "Minimal Corresponding Source" for a Combined Work means the
|
||||||
|
Corresponding Source for the Combined Work, excluding any source code
|
||||||
|
for portions of the Combined Work that, considered in isolation, are
|
||||||
|
based on the Application, and not on the Linked Version.
|
||||||
|
|
||||||
|
The "Corresponding Application Code" for a Combined Work means the
|
||||||
|
object code and/or source code for the Application, including any data
|
||||||
|
and utility programs needed for reproducing the Combined Work from the
|
||||||
|
Application, but excluding the System Libraries of the Combined Work.
|
||||||
|
|
||||||
|
1. Exception to Section 3 of the GNU GPL.
|
||||||
|
|
||||||
|
You may convey a covered work under sections 3 and 4 of this License
|
||||||
|
without being bound by section 3 of the GNU GPL.
|
||||||
|
|
||||||
|
2. Conveying Modified Versions.
|
||||||
|
|
||||||
|
If you modify a copy of the Library, and, in your modifications, a
|
||||||
|
facility refers to a function or data to be supplied by an Application
|
||||||
|
that uses the facility (other than as an argument passed when the
|
||||||
|
facility is invoked), then you may convey a copy of the modified
|
||||||
|
version:
|
||||||
|
|
||||||
|
a) under this License, provided that you make a good faith effort to
|
||||||
|
ensure that, in the event an Application does not supply the
|
||||||
|
function or data, the facility still operates, and performs
|
||||||
|
whatever part of its purpose remains meaningful, or
|
||||||
|
|
||||||
|
b) under the GNU GPL, with none of the additional permissions of
|
||||||
|
this License applicable to that copy.
|
||||||
|
|
||||||
|
3. Object Code Incorporating Material from Library Header Files.
|
||||||
|
|
||||||
|
The object code form of an Application may incorporate material from
|
||||||
|
a header file that is part of the Library. You may convey such object
|
||||||
|
code under terms of your choice, provided that, if the incorporated
|
||||||
|
material is not limited to numerical parameters, data structure
|
||||||
|
layouts and accessors, or small macros, inline functions and templates
|
||||||
|
(ten or fewer lines in length), you do both of the following:
|
||||||
|
|
||||||
|
a) Give prominent notice with each copy of the object code that the
|
||||||
|
Library is used in it and that the Library and its use are
|
||||||
|
covered by this License.
|
||||||
|
|
||||||
|
b) Accompany the object code with a copy of the GNU GPL and this license
|
||||||
|
document.
|
||||||
|
|
||||||
|
4. Combined Works.
|
||||||
|
|
||||||
|
You may convey a Combined Work under terms of your choice that,
|
||||||
|
taken together, effectively do not restrict modification of the
|
||||||
|
portions of the Library contained in the Combined Work and reverse
|
||||||
|
engineering for debugging such modifications, if you also do each of
|
||||||
|
the following:
|
||||||
|
|
||||||
|
a) Give prominent notice with each copy of the Combined Work that
|
||||||
|
the Library is used in it and that the Library and its use are
|
||||||
|
covered by this License.
|
||||||
|
|
||||||
|
b) Accompany the Combined Work with a copy of the GNU GPL and this license
|
||||||
|
document.
|
||||||
|
|
||||||
|
c) For a Combined Work that displays copyright notices during
|
||||||
|
execution, include the copyright notice for the Library among
|
||||||
|
these notices, as well as a reference directing the user to the
|
||||||
|
copies of the GNU GPL and this license document.
|
||||||
|
|
||||||
|
d) Do one of the following:
|
||||||
|
|
||||||
|
0) Convey the Minimal Corresponding Source under the terms of this
|
||||||
|
License, and the Corresponding Application Code in a form
|
||||||
|
suitable for, and under terms that permit, the user to
|
||||||
|
recombine or relink the Application with a modified version of
|
||||||
|
the Linked Version to produce a modified Combined Work, in the
|
||||||
|
manner specified by section 6 of the GNU GPL for conveying
|
||||||
|
Corresponding Source.
|
||||||
|
|
||||||
|
1) Use a suitable shared library mechanism for linking with the
|
||||||
|
Library. A suitable mechanism is one that (a) uses at run time
|
||||||
|
a copy of the Library already present on the user's computer
|
||||||
|
system, and (b) will operate properly with a modified version
|
||||||
|
of the Library that is interface-compatible with the Linked
|
||||||
|
Version.
|
||||||
|
|
||||||
|
e) Provide Installation Information, but only if you would otherwise
|
||||||
|
be required to provide such information under section 6 of the
|
||||||
|
GNU GPL, and only to the extent that such information is
|
||||||
|
necessary to install and execute a modified version of the
|
||||||
|
Combined Work produced by recombining or relinking the
|
||||||
|
Application with a modified version of the Linked Version. (If
|
||||||
|
you use option 4d0, the Installation Information must accompany
|
||||||
|
the Minimal Corresponding Source and Corresponding Application
|
||||||
|
Code. If you use option 4d1, you must provide the Installation
|
||||||
|
Information in the manner specified by section 6 of the GNU GPL
|
||||||
|
for conveying Corresponding Source.)
|
||||||
|
|
||||||
|
5. Combined Libraries.
|
||||||
|
|
||||||
|
You may place library facilities that are a work based on the
|
||||||
|
Library side by side in a single library together with other library
|
||||||
|
facilities that are not Applications and are not covered by this
|
||||||
|
License, and convey such a combined library under terms of your
|
||||||
|
choice, if you do both of the following:
|
||||||
|
|
||||||
|
a) Accompany the combined library with a copy of the same work based
|
||||||
|
on the Library, uncombined with any other library facilities,
|
||||||
|
conveyed under the terms of this License.
|
||||||
|
|
||||||
|
b) Give prominent notice with the combined library that part of it
|
||||||
|
is a work based on the Library, and explaining where to find the
|
||||||
|
accompanying uncombined form of the same work.
|
||||||
|
|
||||||
|
6. Revised Versions of the GNU Lesser General Public License.
|
||||||
|
|
||||||
|
The Free Software Foundation may publish revised and/or new versions
|
||||||
|
of the GNU Lesser General Public License from time to time. Such new
|
||||||
|
versions will be similar in spirit to the present version, but may
|
||||||
|
differ in detail to address new problems or concerns.
|
||||||
|
|
||||||
|
Each version is given a distinguishing version number. If the
|
||||||
|
Library as you received it specifies that a certain numbered version
|
||||||
|
of the GNU Lesser General Public License "or any later version"
|
||||||
|
applies to it, you have the option of following the terms and
|
||||||
|
conditions either of that published version or of any later version
|
||||||
|
published by the Free Software Foundation. If the Library as you
|
||||||
|
received it does not specify a version number of the GNU Lesser
|
||||||
|
General Public License, you may choose any version of the GNU Lesser
|
||||||
|
General Public License ever published by the Free Software Foundation.
|
||||||
|
|
||||||
|
If the Library as you received it specifies that a proxy can decide
|
||||||
|
whether future versions of the GNU Lesser General Public License shall
|
||||||
|
apply, that proxy's public statement of acceptance of any version is
|
||||||
|
permanent authorization for you to choose that version for the
|
||||||
|
Library.
|
||||||
137
src/3rdparty/QProgressIndicator/QProgressIndicator.cpp
vendored
Normal file
@@ -0,0 +1,137 @@
|
|||||||
|
/*
|
||||||
|
*
|
||||||
|
* This file is part of QProgressIndicator,
|
||||||
|
* an open-source recent files menu widget
|
||||||
|
*
|
||||||
|
* Copyright (C) 2009 - 2010 Morgan Leborgne
|
||||||
|
*
|
||||||
|
* This program is free software: you can redistribute it and/or modify
|
||||||
|
* it under the terms of the GNU Lesser General Public License as published by
|
||||||
|
* the Free Software Foundation, either version 3 of the License, or
|
||||||
|
* (at your option) any later version.
|
||||||
|
*
|
||||||
|
* This program is distributed in the hope that it will be useful,
|
||||||
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
* GNU Lesser General Public License for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU Lesser General Public License
|
||||||
|
* along with QRecentFilesMenu. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
#include "QProgressIndicator.h"
|
||||||
|
|
||||||
|
#include <QPainter>
|
||||||
|
|
||||||
|
QProgressIndicator::QProgressIndicator(QWidget* parent)
|
||||||
|
: QWidget(parent),
|
||||||
|
m_angle(0),
|
||||||
|
m_timerId(-1),
|
||||||
|
m_delay(40),
|
||||||
|
m_displayedWhenStopped(false),
|
||||||
|
m_color(Qt::black)
|
||||||
|
{
|
||||||
|
setSizePolicy(QSizePolicy::Fixed, QSizePolicy::Fixed);
|
||||||
|
setFocusPolicy(Qt::NoFocus);
|
||||||
|
}
|
||||||
|
|
||||||
|
bool QProgressIndicator::isAnimated () const
|
||||||
|
{
|
||||||
|
return (m_timerId != -1);
|
||||||
|
}
|
||||||
|
|
||||||
|
void QProgressIndicator::setDisplayedWhenStopped(bool state)
|
||||||
|
{
|
||||||
|
m_displayedWhenStopped = state;
|
||||||
|
|
||||||
|
update();
|
||||||
|
}
|
||||||
|
|
||||||
|
bool QProgressIndicator::isDisplayedWhenStopped() const
|
||||||
|
{
|
||||||
|
return m_displayedWhenStopped;
|
||||||
|
}
|
||||||
|
|
||||||
|
void QProgressIndicator::startAnimation()
|
||||||
|
{
|
||||||
|
m_angle = 0;
|
||||||
|
|
||||||
|
if (m_timerId == -1)
|
||||||
|
m_timerId = startTimer(m_delay);
|
||||||
|
}
|
||||||
|
|
||||||
|
void QProgressIndicator::stopAnimation()
|
||||||
|
{
|
||||||
|
if (m_timerId != -1)
|
||||||
|
killTimer(m_timerId);
|
||||||
|
|
||||||
|
m_timerId = -1;
|
||||||
|
|
||||||
|
update();
|
||||||
|
}
|
||||||
|
|
||||||
|
void QProgressIndicator::setAnimationDelay(int delay)
|
||||||
|
{
|
||||||
|
if (m_timerId != -1)
|
||||||
|
killTimer(m_timerId);
|
||||||
|
|
||||||
|
m_delay = delay;
|
||||||
|
|
||||||
|
if (m_timerId != -1)
|
||||||
|
m_timerId = startTimer(m_delay);
|
||||||
|
}
|
||||||
|
|
||||||
|
void QProgressIndicator::setColor(const QColor & color)
|
||||||
|
{
|
||||||
|
m_color = color;
|
||||||
|
|
||||||
|
update();
|
||||||
|
}
|
||||||
|
|
||||||
|
QSize QProgressIndicator::sizeHint() const
|
||||||
|
{
|
||||||
|
return QSize(20,20);
|
||||||
|
}
|
||||||
|
|
||||||
|
int QProgressIndicator::heightForWidth(int w) const
|
||||||
|
{
|
||||||
|
return w;
|
||||||
|
}
|
||||||
|
|
||||||
|
void QProgressIndicator::timerEvent(QTimerEvent * /*event*/)
|
||||||
|
{
|
||||||
|
m_angle = (m_angle+30)%360;
|
||||||
|
|
||||||
|
update();
|
||||||
|
}
|
||||||
|
|
||||||
|
void QProgressIndicator::paintEvent(QPaintEvent * /*event*/)
|
||||||
|
{
|
||||||
|
if (!m_displayedWhenStopped && !isAnimated())
|
||||||
|
return;
|
||||||
|
|
||||||
|
int width = qMin(this->width(), this->height());
|
||||||
|
|
||||||
|
QPainter p(this);
|
||||||
|
p.setRenderHint(QPainter::Antialiasing);
|
||||||
|
|
||||||
|
int outerRadius = (width-1)*0.5;
|
||||||
|
int innerRadius = (width-1)*0.5*0.38;
|
||||||
|
|
||||||
|
int capsuleHeight = outerRadius - innerRadius;
|
||||||
|
int capsuleWidth = (width > 32 ) ? capsuleHeight *.23 : capsuleHeight *.35;
|
||||||
|
int capsuleRadius = capsuleWidth/2;
|
||||||
|
|
||||||
|
for (int i=0; i<12; i++)
|
||||||
|
{
|
||||||
|
QColor color = m_color;
|
||||||
|
color.setAlphaF(1.0f - (i/12.0f));
|
||||||
|
p.setPen(Qt::NoPen);
|
||||||
|
p.setBrush(color);
|
||||||
|
p.save();
|
||||||
|
p.translate(rect().center());
|
||||||
|
p.rotate(m_angle - i*30.0f);
|
||||||
|
p.drawRoundedRect(-capsuleWidth*0.5, -(innerRadius+capsuleHeight), capsuleWidth, capsuleHeight, capsuleRadius, capsuleRadius);
|
||||||
|
p.restore();
|
||||||
|
}
|
||||||
|
}
|
||||||
108
src/3rdparty/QProgressIndicator/QProgressIndicator.h
vendored
Normal file
@@ -0,0 +1,108 @@
|
|||||||
|
/*
|
||||||
|
*
|
||||||
|
* This file is part of QProgressIndicator,
|
||||||
|
* an open-source recent files menu widget
|
||||||
|
*
|
||||||
|
* Copyright (C) 2009 - 2010 Morgan Leborgne
|
||||||
|
*
|
||||||
|
* This program is free software: you can redistribute it and/or modify
|
||||||
|
* it under the terms of the GNU Lesser General Public License as published by
|
||||||
|
* the Free Software Foundation, either version 3 of the License, or
|
||||||
|
* (at your option) any later version.
|
||||||
|
*
|
||||||
|
* This program is distributed in the hope that it will be useful,
|
||||||
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
* GNU Lesser General Public License for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU Lesser General Public License
|
||||||
|
* along with QRecentFilesMenu. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
#ifndef QPROGRESSINDICATOR_H
|
||||||
|
#define QPROGRESSINDICATOR_H
|
||||||
|
|
||||||
|
#include <QWidget>
|
||||||
|
#include <QColor>
|
||||||
|
|
||||||
|
/*!
|
||||||
|
\class QProgressIndicator
|
||||||
|
\brief The QProgressIndicator class lets an application display a progress indicator to show that a lengthy task is under way.
|
||||||
|
|
||||||
|
Progress indicators are indeterminate and do nothing more than spin to show that the application is busy.
|
||||||
|
\sa QProgressBar
|
||||||
|
*/
|
||||||
|
class QProgressIndicator : public QWidget
|
||||||
|
{
|
||||||
|
Q_OBJECT
|
||||||
|
Q_PROPERTY(int delay READ animationDelay WRITE setAnimationDelay)
|
||||||
|
Q_PROPERTY(bool displayedWhenStopped READ isDisplayedWhenStopped WRITE setDisplayedWhenStopped)
|
||||||
|
Q_PROPERTY(QColor color READ color WRITE setColor)
|
||||||
|
public:
|
||||||
|
QProgressIndicator(QWidget* parent = 0);
|
||||||
|
|
||||||
|
/*! Returns the delay between animation steps.
|
||||||
|
\return The number of milliseconds between animation steps. By default, the animation delay is set to 40 milliseconds.
|
||||||
|
\sa setAnimationDelay
|
||||||
|
*/
|
||||||
|
int animationDelay() const { return m_delay; }
|
||||||
|
|
||||||
|
/*! Returns a Boolean value indicating whether the component is currently animated.
|
||||||
|
\return Animation state.
|
||||||
|
\sa startAnimation stopAnimation
|
||||||
|
*/
|
||||||
|
bool isAnimated () const;
|
||||||
|
|
||||||
|
/*! Returns a Boolean value indicating whether the receiver shows itself even when it is not animating.
|
||||||
|
\return Return true if the progress indicator shows itself even when it is not animating. By default, it returns false.
|
||||||
|
\sa setDisplayedWhenStopped
|
||||||
|
*/
|
||||||
|
bool isDisplayedWhenStopped() const;
|
||||||
|
|
||||||
|
/*! Returns the color of the component.
|
||||||
|
\sa setColor
|
||||||
|
*/
|
||||||
|
const QColor & color() const { return m_color; }
|
||||||
|
|
||||||
|
virtual QSize sizeHint() const;
|
||||||
|
int heightForWidth(int w) const;
|
||||||
|
public slots:
|
||||||
|
/*! Starts the spin animation.
|
||||||
|
\sa stopAnimation isAnimated
|
||||||
|
*/
|
||||||
|
void startAnimation();
|
||||||
|
|
||||||
|
/*! Stops the spin animation.
|
||||||
|
\sa startAnimation isAnimated
|
||||||
|
*/
|
||||||
|
void stopAnimation();
|
||||||
|
|
||||||
|
/*! Sets the delay between animation steps.
|
||||||
|
Setting the \a delay to a value larger than 40 slows the animation, while setting the \a delay to a smaller value speeds it up.
|
||||||
|
\param delay The delay, in milliseconds.
|
||||||
|
\sa animationDelay
|
||||||
|
*/
|
||||||
|
void setAnimationDelay(int delay);
|
||||||
|
|
||||||
|
/*! Sets whether the component hides itself when it is not animating.
|
||||||
|
\param state The animation state. Set false to hide the progress indicator when it is not animating; otherwise true.
|
||||||
|
\sa isDisplayedWhenStopped
|
||||||
|
*/
|
||||||
|
void setDisplayedWhenStopped(bool state);
|
||||||
|
|
||||||
|
/*! Sets the color of the components to the given color.
|
||||||
|
\sa color
|
||||||
|
*/
|
||||||
|
void setColor(const QColor & color);
|
||||||
|
protected:
|
||||||
|
virtual void timerEvent(QTimerEvent * event);
|
||||||
|
virtual void paintEvent(QPaintEvent * event);
|
||||||
|
private:
|
||||||
|
int m_angle;
|
||||||
|
int m_timerId;
|
||||||
|
int m_delay;
|
||||||
|
bool m_displayedWhenStopped;
|
||||||
|
QColor m_color;
|
||||||
|
};
|
||||||
|
|
||||||
|
#endif // QPROGRESSINDICATOR_H
|
||||||