Adolfo Jayme Barrientos
6e5a95c34c
updater: Tone down the geekiness in user-facing strings
...
Pro tip: The user doesn’t have to know that the updater is a separate program.
Change-Id: I04c447a16a322b7f4139e69f6cababc797148bb1
2018-03-20 05:35:42 -06:00
Stephan Bergmann
0b25dc8231
Blind fix
...
...in --enable-online-update=mar code, after
7d8e94444d "convert a<b?a:b to std::min(a,b)"
Change-Id: I8d03b2fc785595267c855c8ac9953d35782c7718
2018-01-17 09:01:18 +01:00
Andrea Gelmini
f0b857310d
Fix typos
...
Change-Id: Ia976371bf52eb1216d8abe728d80bbb87a3c38a2
Reviewed-on: https://gerrit.libreoffice.org/47858
Tested-by: Jenkins <ci@libreoffice.org >
Reviewed-by: Julien Nabet <serval2412@yahoo.fr >
2018-01-16 14:23:52 +01:00
Stephan Bergmann
337f8922ed
Missing include
...
Change-Id: Id5c7ff8b9d342b557bc87b1ac6f3e2fbc8437d69
2018-01-16 08:51:10 +01:00
Noel Grandin
7d8e94444d
convert a<b?a:b to std::min(a,b)
...
with something like
git grep -nP '(.*)\s*<\s*(.*)\s*\?\s*\g1\s*:\s*\g2' -- *.?xx
Change-Id: Id5078b35961847feb78a66204fdb7598ee63fd23
Note: we also convert a>b?b:a
Reviewed-on: https://gerrit.libreoffice.org/47736
Tested-by: Jenkins <ci@libreoffice.org >
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk >
2018-01-15 07:26:17 +01:00
andreas kainz
4ead201c57
Updater Icon: Shrink svg file
...
Change-Id: I8a45d4e620b1865dda28eb56a89207226eeac9b2
Reviewed-on: https://gerrit.libreoffice.org/47202
Reviewed-by: andreas_kainz <kainz.a@gmail.com >
Tested-by: andreas_kainz <kainz.a@gmail.com >
2017-12-30 23:58:27 +01:00
Andrea Gelmini
86b8c063a4
Fix typos
...
Change-Id: I964528cf4f3b81230c683011e1878b28378b0014
Reviewed-on: https://gerrit.libreoffice.org/44915
Reviewed-by: Julien Nabet <serval2412@yahoo.fr >
Tested-by: Julien Nabet <serval2412@yahoo.fr >
2017-11-19 21:57:17 +01:00
Stephan Bergmann
340c5c20c2
chmod 0755 -> 0644 for some source files
...
Change-Id: Ibe5b5e03374419c2c23cd6559ab213d2dc2fcc66
2017-10-23 20:52:41 +02:00
Michael Stahl
7af14994b5
onlineupdate: work around GCC7 -Werror=implicit-fallthrough
...
This is pretty stupid, but oh well...
Change-Id: I1e605b2858a917f61922df757809a2aceb14a914
2017-09-13 20:55:56 +02:00
Markus Mohrhard
663b0a92dc
update the gtk updater icon with the new updater icon
...
Change-Id: I658a1ec54e74fe57efcaec873991d66be7ba31c1
2017-08-29 14:58:48 +02:00
andreas kainz
c220f42d4d
update updater icon
...
Change-Id: Ie4f38a51e87f29c322ba5aac2a2ad705bae42e71
Reviewed-on: https://gerrit.libreoffice.org/41660
Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com >
Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com >
2017-08-28 22:44:11 +02:00
Markus Mohrhard
b622db74f0
updater: store the updater GUI icon on linux in the code
...
The content can be created through convert from the png version.
Change-Id: Icc07a118dfa139f270232a1e708e6907ad02ddea
2017-08-22 20:33:54 +02:00
Markus Mohrhard
c832aae70e
updater: get the updater GUI working on Linux
...
Change-Id: I3e7edb5319ab2e2ec316204b917a7e29c1791b5b
2017-08-22 20:01:56 +02:00
Markus Mohrhard
e531818579
updater: fix error in linux part of updater makefiles
...
Change-Id: I2d32159364d34fb4154b7f88590045dc3a442bc3
2017-08-22 00:20:12 +02:00
Markus Mohrhard
12b3725aef
updater: add a way to test the dialog code of the updater
...
Change-Id: I7436edc85f87d1f68b50d39bf29564ff498c9ab9
2017-08-21 09:37:13 +02:00
Markus Mohrhard
9e159f8b86
updater: always show the updater UI
...
Change-Id: I0e1dc86673779966ff247b81852fb2f29655d2b9
2017-08-21 08:48:21 +02:00
Markus Mohrhard
5b517e43e2
updater: set executable type GUI for updater.exe
...
Change-Id: I795cbd8634a3afe219db033ce40f833af0eee44a
2017-08-21 05:40:00 +02:00
Markus Mohrhard
2ba7aea158
updater: reference the correct new static library name
...
Change-Id: Ib5920b27429f8414db761387645713498a60904f
Reviewed-on: https://gerrit.libreoffice.org/41142
Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com >
Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com >
2017-08-14 15:19:27 +02:00
Markus Mohrhard
5875fd0313
updater: move the windows process starting code to comphelper
...
Change-Id: I1a499f57d01ee28afdb2c4f85dc976f2e6837dfd
Reviewed-on: https://gerrit.libreoffice.org/40837
Tested-by: Jenkins <ci@libreoffice.org >
Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com >
2017-08-08 07:07:21 +02:00
Markus Mohrhard
9d184e2cc9
updater: add include guard for windows process start code
...
Change-Id: If021a92163381f2221faa1c7121f6c4af2d51dcf
Reviewed-on: https://gerrit.libreoffice.org/40836
Tested-by: Jenkins <ci@libreoffice.org >
Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com >
2017-08-08 07:07:09 +02:00
Markus Mohrhard
a5cda5603c
updater: use the correct define check
...
Change-Id: I79f47da401732e39bbce778d5b3971d6024a7935
Reviewed-on: https://gerrit.libreoffice.org/40835
Tested-by: Jenkins <ci@libreoffice.org >
Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com >
2017-08-08 07:06:56 +02:00
Markus Mohrhard
9d3654668e
updater: disable the special handling of the user profile
...
This should be unnecessary for the one step updating strategy.
Change-Id: I8dddeae4fb4a560a1c261c0c2e84183d72fc638c
Reviewed-on: https://gerrit.libreoffice.org/40656
Tested-by: Jenkins <ci@libreoffice.org >
Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com >
2017-08-02 07:33:03 +02:00
Markus Mohrhard
c210d7cc09
make it easier to debug the generation of certificate data
...
Change-Id: I86e3c3254cef297c46a8ca377b5ceb36b348e2b3
Reviewed-on: https://gerrit.libreoffice.org/40607
Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com >
Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com >
2017-08-01 00:01:09 +02:00
Markus Mohrhard
6de75d132f
updater: get the signature verification working on Windows
...
The updater itself does not link to NSS on Windows and instead uses the
Windows-internal crypto libraries. However the mar executable needs to
link against NSS, so we need to split the code a bit.
Change-Id: Iea61c716aa507a876fdb444eb28ad828bdea18bd
Reviewed-on: https://gerrit.libreoffice.org/40608
Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com >
Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com >
2017-07-31 23:56:19 +02:00
Markus Mohrhard
2539702ff5
updater: fix windows build, string issues
...
Change-Id: I79ff08534dc522ede50cd0c5771576d825977b7c
Reviewed-on: https://gerrit.libreoffice.org/40606
Tested-by: Jenkins <ci@libreoffice.org >
Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com >
2017-07-31 23:39:44 +02:00
Markus Mohrhard
31786ffa1e
updater: fix include and exception support for updater service
...
Change-Id: Ia0c7a62779bb8e870e8d5e458b81b5d2a09300d0
Reviewed-on: https://gerrit.libreoffice.org/40605
Tested-by: Jenkins <ci@libreoffice.org >
Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com >
2017-07-31 23:29:27 +02:00
Markus Mohrhard
bf713ccf74
fix updater code on windows
...
Change-Id: Ic1e39bc8f4ef6afe8781ce62997201acba56680a
Reviewed-on: https://gerrit.libreoffice.org/40604
Tested-by: Jenkins <ci@libreoffice.org >
Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com >
2017-07-31 23:28:49 +02:00
Markus Mohrhard
42277cf8ad
updater: remove unnecessary mozilla makefile
...
Change-Id: Ia0162482841854cc4cb5c2b004bc978809bdf4c2
Reviewed-on: https://gerrit.libreoffice.org/40534
Tested-by: Jenkins <ci@libreoffice.org >
Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com >
2017-07-28 22:03:05 +02:00
Markus Mohrhard
f808c50c6e
updater: make it more difficult to misuse the API
...
Change-Id: Ief5b2e37f289d6bfa92a909701c331d50509b0a3
2017-06-26 15:24:33 +02:00
Markus Mohrhard
07586bc091
updater: reduce scope of ArchiveReader and pass by reference
...
Change-Id: Ifbcfa5b612cb0a8670bf3dd0be6e74708cc969c1
2017-06-26 15:24:32 +02:00
Markus Mohrhard
95eae33ae8
updater: subclasses need to pass the archiveReader parameter to their parents
...
Change-Id: I1d69d592a05908e4e2a2e832a5b6ef9d13fc2e2c
2017-06-26 15:24:32 +02:00
Christian Barth
c806dab3c9
tdf#108563 Transform global variable gArchiveReader to local variable
...
Change-Id: I0830f00bce19bc4b77d8e9e0cb5684338a4c9e5d
Signed-off-by: Christian Barth <Christian.Barth@zoho.com >
2017-06-26 15:24:21 +02:00
Markus Mohrhard
9da0183f3b
updater: add a one step update test
...
Change-Id: I548504ecc5fd2403596ad6eb5af116e4a46ddc35
2017-06-24 11:00:21 +02:00
Noel Grandin
05f67637fc
new cannot return nullptr
...
unless we are using std::nothrow
Change-Id: I3bdd13c8ce18f4e977f18ee5196311bf4fc62de0
Reviewed-on: https://gerrit.libreoffice.org/38998
Tested-by: Jenkins <ci@libreoffice.org >
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk >
2017-06-20 09:51:42 +02:00
Markus Mohrhard
3107c78017
-Werror=maybe-uninitialized
...
Change-Id: Iba942ded86c8e4565bcd14796f05f47e3fc64880
2017-06-17 22:59:42 +02:00
Markus Mohrhard
4c1d68ca54
updater: fix missing header for std::vector
...
Change-Id: Ifd71745ce671a673ff3d4e9c2ca7a4abb6bed363
2017-06-17 21:06:16 +02:00
Markus Mohrhard
d04ab63623
updater: get the certificate code working on python2 and 3
...
Change-Id: Id1b4a443629c95fdbda59153c6f688629f6b1862
2017-06-17 18:44:21 +02:00
Markus Mohrhard
b690d647da
updater: remove unnecessary file
...
Change-Id: I50d4ec48599d64db490b1dcac839a52737d105d9
2017-06-17 17:09:50 +02:00
Markus Mohrhard
4e76505604
updater: remove some of the old mozilla makefile pieces
...
Change-Id: Ib94c2a5e8335732823cd6632937ae77774a6746d
2017-06-17 17:09:50 +02:00
Markus Mohrhard
d221a78d86
updater: remove old updater certificate data
...
Change-Id: I5e47337682b5a887e544cbc7e7963570253a70fc
2017-06-17 17:09:50 +02:00
Markus Mohrhard
44f75d653b
updater: move the data location for the replacement test
...
Change-Id: I6b3bbe9dda2461ed83ef8b4e15179ad345c08bd4
2017-06-17 13:14:50 +02:00
Markus Mohrhard
0a0e569d51
updater: respect version info for manual tests
...
Change-Id: Id9df2e685b7a7ff420bb7289089dc1e5c5f5c074
2017-06-17 13:14:50 +02:00
Markus Mohrhard
f680b3c094
updater: add manual test for new language updates
...
Change-Id: I6d77039f0cafe0f436cc687bb424588a59c3d464
2017-06-16 17:33:31 +02:00
Markus Mohrhard
38a91e27f2
updater: fix update file lookup for language pack files
...
Change-Id: I221c81ff2f0bee7a8643304201722dbbbc114bec
2017-06-16 17:33:30 +02:00
Markus Mohrhard
a87e03035f
updater: rename test directory to reflect the tested code
...
Change-Id: I672bbb2ac30c5e27b729fe34e206642e436c076b
2017-06-16 17:33:30 +02:00
Markus Mohrhard
a5adc48d5f
updater: add short explanation about the test
...
Change-Id: Ic0cfa565048793181ece17b33337e011028a2aad
2017-06-16 17:33:30 +02:00
Markus Mohrhard
5244a49b92
updater: find all the language update files
...
Change-Id: I5261d8d96f83b8b81b0dc2576cbd9241705ae9b7
2017-06-16 17:33:30 +02:00
Markus Mohrhard
ebeb76f00e
updater: work on supporting language pack updates
...
Change-Id: I563aa8ee285d4c2ecdb45835b5cee38074295106
2017-06-16 17:33:30 +02:00
Andrea Gelmini
ada8891af9
Fix typos
...
Change-Id: Ia3cf2253ac750b53ccc18ea661cc95dee51a7b12
Reviewed-on: https://gerrit.libreoffice.org/38689
Reviewed-by: Michael Stahl <mstahl@redhat.com >
Tested-by: Michael Stahl <mstahl@redhat.com >
2017-06-14 13:18:43 +02:00
Markus Mohrhard
62a8ad385f
add a way to manually test the automatic updater with a simple test project
...
This reduced my development iterations from around 15 minutes to a few seconds.
Change-Id: I758a3e534862e8feca2544ee9e80f0330d06b992
2017-06-11 03:57:55 +02:00