summaryrefslogtreecommitdiffstats
path: root/onlineupdate
Commit message (Collapse)AuthorAgeFilesLines
* onlineupdate: work around GCC7 -Werror=implicit-fallthroughMichael Stahl2017-09-132-1/+2
| | | | | | This is pretty stupid, but oh well... Change-Id: I1e605b2858a917f61922df757809a2aceb14a914
* update the gtk updater icon with the new updater iconMarkus Mohrhard2017-08-291-254/+200
| | | | Change-Id: I658a1ec54e74fe57efcaec873991d66be7ba31c1
* update updater iconandreas kainz2017-08-283-0/+649
| | | | | | | 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>
* updater: store the updater GUI icon on linux in the codeMarkus Mohrhard2017-08-222-3/+261
| | | | | | The content can be created through convert from the png version. Change-Id: Icc07a118dfa139f270232a1e708e6907ad02ddea
* updater: get the updater GUI working on LinuxMarkus Mohrhard2017-08-224-4/+12
| | | | Change-Id: I3e7edb5319ab2e2ec316204b917a7e29c1791b5b
* updater: fix error in linux part of updater makefilesMarkus Mohrhard2017-08-221-1/+1
| | | | Change-Id: I2d32159364d34fb4154b7f88590045dc3a442bc3
* updater: add a way to test the dialog code of the updaterMarkus Mohrhard2017-08-213-0/+107
| | | | Change-Id: I7436edc85f87d1f68b50d39bf29564ff498c9ab9
* updater: always show the updater UIMarkus Mohrhard2017-08-211-3/+8
| | | | Change-Id: I0e1dc86673779966ff247b81852fb2f29655d2b9
* updater: set executable type GUI for updater.exeMarkus Mohrhard2017-08-211-2/+8
| | | | Change-Id: I795cbd8634a3afe219db033ce40f833af0eee44a
* updater: reference the correct new static library nameMarkus Mohrhard2017-08-141-1/+1
| | | | | | | 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>
* updater: move the windows process starting code to comphelperMarkus Mohrhard2017-08-086-322/+3
| | | | | | | Change-Id: I1a499f57d01ee28afdb2c4f85dc976f2e6837dfd Reviewed-on: https://gerrit.libreoffice.org/40837 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
* updater: add include guard for windows process start codeMarkus Mohrhard2017-08-081-0/+5
| | | | | | | Change-Id: If021a92163381f2221faa1c7121f6c4af2d51dcf Reviewed-on: https://gerrit.libreoffice.org/40836 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
* updater: use the correct define checkMarkus Mohrhard2017-08-081-3/+1
| | | | | | | Change-Id: I79f47da401732e39bbce778d5b3971d6024a7935 Reviewed-on: https://gerrit.libreoffice.org/40835 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
* updater: disable the special handling of the user profileMarkus Mohrhard2017-08-021-0/+3
| | | | | | | | | 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>
* make it easier to debug the generation of certificate dataMarkus Mohrhard2017-08-011-2/+12
| | | | | | | 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>
* updater: get the signature verification working on WindowsMarkus Mohrhard2017-07-318-30/+77
| | | | | | | | | | | 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>
* updater: fix windows build, string issuesMarkus Mohrhard2017-07-311-2/+2
| | | | | | | Change-Id: I79ff08534dc522ede50cd0c5771576d825977b7c Reviewed-on: https://gerrit.libreoffice.org/40606 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
* updater: fix include and exception support for updater serviceMarkus Mohrhard2017-07-311-1/+2
| | | | | | | Change-Id: Ia0c7a62779bb8e870e8d5e458b81b5d2a09300d0 Reviewed-on: https://gerrit.libreoffice.org/40605 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
* fix updater code on windowsMarkus Mohrhard2017-07-313-5/+199
| | | | | | | Change-Id: Ic1e39bc8f4ef6afe8781ce62997201acba56680a Reviewed-on: https://gerrit.libreoffice.org/40604 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
* updater: remove unnecessary mozilla makefileMarkus Mohrhard2017-07-281-9/+0
| | | | | | | Change-Id: Ia0162482841854cc4cb5c2b004bc978809bdf4c2 Reviewed-on: https://gerrit.libreoffice.org/40534 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
* updater: make it more difficult to misuse the APIMarkus Mohrhard2017-06-261-29/+19
| | | | Change-Id: Ief5b2e37f289d6bfa92a909701c331d50509b0a3
* updater: reduce scope of ArchiveReader and pass by referenceMarkus Mohrhard2017-06-261-53/+48
| | | | Change-Id: Ifbcfa5b612cb0a8670bf3dd0be6e74708cc969c1
* updater: subclasses need to pass the archiveReader parameter to their parentsMarkus Mohrhard2017-06-261-11/+26
| | | | Change-Id: I1d69d592a05908e4e2a2e832a5b6ef9d13fc2e2c
* tdf#108563 Transform global variable gArchiveReader to local variableChristian Barth2017-06-261-23/+46
| | | | | Change-Id: I0830f00bce19bc4b77d8e9e0cb5684338a4c9e5d Signed-off-by: Christian Barth <Christian.Barth@zoho.com>
* updater: add a one step update testMarkus Mohrhard2017-06-244-0/+27
| | | | Change-Id: I548504ecc5fd2403596ad6eb5af116e4a46ddc35
* new cannot return nullptrNoel Grandin2017-06-201-4/+0
| | | | | | | | | 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>
* -Werror=maybe-uninitializedMarkus Mohrhard2017-06-171-1/+1
| | | | Change-Id: Iba942ded86c8e4565bcd14796f05f47e3fc64880
* updater: fix missing header for std::vectorMarkus Mohrhard2017-06-171-0/+1
| | | | Change-Id: Ifd71745ce671a673ff3d4e9c2ca7a4abb6bed363
* updater: get the certificate code working on python2 and 3Markus Mohrhard2017-06-171-5/+12
| | | | Change-Id: Id1b4a443629c95fdbda59153c6f688629f6b1862
* updater: remove unnecessary fileMarkus Mohrhard2017-06-171-1/+0
| | | | Change-Id: I50d4ec48599d64db490b1dcac839a52737d105d9
* updater: remove some of the old mozilla makefile piecesMarkus Mohrhard2017-06-172-43/+0
| | | | Change-Id: Ib94c2a5e8335732823cd6632937ae77774a6746d
* updater: remove old updater certificate dataMarkus Mohrhard2017-06-171-0/+0
| | | | Change-Id: I5e47337682b5a887e544cbc7e7963570253a70fc
* updater: move the data location for the replacement testMarkus Mohrhard2017-06-172-4/+7
| | | | Change-Id: I6b3bbe9dda2461ed83ef8b4e15179ad345c08bd4
* updater: respect version info for manual testsMarkus Mohrhard2017-06-172-0/+0
| | | | Change-Id: Id9df2e685b7a7ff420bb7289089dc1e5c5f5c074
* updater: add manual test for new language updatesMarkus Mohrhard2017-06-164-0/+21
| | | | Change-Id: I6d77039f0cafe0f436cc687bb424588a59c3d464
* updater: fix update file lookup for language pack filesMarkus Mohrhard2017-06-161-2/+3
| | | | Change-Id: I221c81ff2f0bee7a8643304201722dbbbc114bec
* updater: rename test directory to reflect the tested codeMarkus Mohrhard2017-06-163-0/+0
| | | | Change-Id: I672bbb2ac30c5e27b729fe34e206642e436c076b
* updater: add short explanation about the testMarkus Mohrhard2017-06-161-0/+2
| | | | Change-Id: Ic0cfa565048793181ece17b33337e011028a2aad
* updater: find all the language update filesMarkus Mohrhard2017-06-161-2/+28
| | | | Change-Id: I5261d8d96f83b8b81b0dc2576cbd9241705ae9b7
* updater: work on supporting language pack updatesMarkus Mohrhard2017-06-161-86/+96
| | | | Change-Id: I563aa8ee285d4c2ecdb45835b5cee38074295106
* Fix typosAndrea Gelmini2017-06-141-1/+1
| | | | | | | Change-Id: Ia3cf2253ac750b53ccc18ea661cc95dee51a7b12 Reviewed-on: https://gerrit.libreoffice.org/38689 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
* add a way to manually test the automatic updater with a simple test projectMarkus Mohrhard2017-06-113-0/+15
| | | | | | This reduced my development iterations from around 15 minutes to a few seconds. Change-Id: I758a3e534862e8feca2544ee9e80f0330d06b992
* fix automatic updates with user profile in installation dirMarkus Mohrhard2017-06-111-13/+19
| | | | Change-Id: Ice8b73b1e80ce48e14be854b29b55c037b34f981
* start adding my local documentation to the onlineupdate READMEMarkus Mohrhard2017-06-111-0/+11
| | | | | | This is still quite confusing as I'm still confused myself with the user profile in the installation directory. Change-Id: I77f56918d51069ec6c6967339e7e03de4f1a7e4a
* the custom target needs to depend on pythonMarkus Mohrhard2017-06-081-2/+4
| | | | | | | Change-Id: Ie9356a4922f7d01c674ec50bb30cd70e73469055 Reviewed-on: https://gerrit.libreoffice.org/38549 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
* no need to construct unique_ptr hereJochen Nitschke2017-06-041-4/+4
| | | | | | | | | and std::move is not needed when returning unique_ptr Change-Id: I9b4d2d6b8a41b570a9bd99e44a743ff161b78c59 Reviewed-on: https://gerrit.libreoffice.org/38385 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
* Fix typosAndrea Gelmini2017-06-014-4/+4
| | | | | | | Change-Id: Ic7fbd750321e4cfde1cfb0e04ffb545bb1f66d9c Reviewed-on: https://gerrit.libreoffice.org/37921 Reviewed-by: Julien Nabet <serval2412@yahoo.fr> Tested-by: Julien Nabet <serval2412@yahoo.fr>
* take the certifcate info from the update configMarkus Mohrhard2017-05-212-4/+7
| | | | Change-Id: I15856f21d19b45ec50bd3d63d2e526c9e8db450d
* Wdeclaration-after-statementMarkus Mohrhard2017-05-191-1/+2
| | | | Change-Id: Ie3a34305c824e2f04feb8b1db39c0df342588c43
* Wsometimes-uninitializedMarkus Mohrhard2017-05-191-3/+3
| | | | Change-Id: Ia160685694a386358506f94c4cc1510e5e2a6f62