summaryrefslogtreecommitdiffstats
path: root/onlineupdate
Commit message (Collapse)AuthorAgeFilesLines
* 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
* Wunused-macrosMarkus Mohrhard2017-05-191-0/+2
| | | | Change-Id: Ib50bd405101acb908831d943d449c3cf86b2ac85
* remove the newly unused files with old cert verification dataMarkus Mohrhard2017-05-192-8/+0
| | | | Change-Id: I9753197bcfbff1aaf9bb6ee292d65a356075348f
* generate the certificate verification data as part of the buildMarkus Mohrhard2017-05-195-21/+49
| | | | Change-Id: I30186f76302e7666c833933b059931e8b1b7b78c
* second part for user profile in instdirMarkus Mohrhard2017-05-192-0/+53
| | | | | | | | | This handles the replacement request part. The algorithm moves the user profile out of the backup back into the user profile. Change-Id: Ide45009d7a42b01ee645418b1a0c30b211842510
* first step into supporting user profile in installation dirMarkus Mohrhard2017-05-191-6/+23
| | | | Change-Id: I2485ad2b69ed28b7f964540ac3eecd22099b4f7c
* extract string typedefs to a shared fileMarkus Mohrhard2017-05-194-14/+28
| | | | Change-Id: I6e5d7c828f56b6a3f562ed8a9dd5f63a9d603ce0
* add TODOMarkus Mohrhard2017-05-191-0/+1
| | | | Change-Id: I2d913a878aba91fea41a010237dd685845b5b648
* remove unused hard link supportMarkus Mohrhard2017-05-191-34/+0
| | | | Change-Id: I7f40598df74c8731b13c37b8adaa636086d204b4
* without the wb+ reading the patch file will failMarkus Mohrhard2017-05-191-1/+1
| | | | Change-Id: I61be299647d41bb464bea039630ddd4ff545f412
* add mbsdiff as build executableMarkus Mohrhard2017-05-194-0/+442
| | | | Change-Id: I68c9b14937c219ee142386b72047a6995d004f47
* better flexibility through configurable updated build directoryMarkus Mohrhard2017-05-191-2/+2
| | | | Change-Id: Icaa814cdcd27171fbafc2407d55161cdc13e750e
* add more TODO commentsMarkus Mohrhard2017-05-191-0/+1
|
* add the astyle script used to format the filesMarkus Mohrhard2017-05-191-0/+7
|
* use a more libreoffice like formattingMarkus Mohrhard2017-05-1940-4429/+5373
| | | | | | | | This formatting has been done by an astyle script. The idea is that with a consistent formatting it is much easier to bring in changes from Mozilla. Updating the code with the new version, running the astyle script and then looking through the diff seems like the most sensible option.
* add the resource to the updaterMarkus Mohrhard2017-05-193-0/+18
| | | | Change-Id: I80e80708346aa2850b2964c566ebc6423837a9cd
* add TODO comments for the places that need further inspectionMarkus Mohrhard2017-05-191-0/+16
| | | | | | This is just from a quick scroll through the code. Change-Id: I72132ba9244d7aa559befe63412f7a5ef2005ad1
* hide the function behind the correct define checksMarkus Mohrhard2017-05-191-0/+2
| | | | Change-Id: Ifef59d40975b6061a40b58d80817b6c15b856713
* remove the MOZ_ prefix from a few env variables and definesMarkus Mohrhard2017-05-192-12/+12
| | | | Change-Id: Icbb5f0751cd5f85fc2c4af8d2adbc8d64911a94b
* use std::min instead of own codeMarkus Mohrhard2017-05-191-8/+2
| | | | Change-Id: I4bb62a120c1d791d41cdaaa88faf0fed27cc4787
* remove unnecessary case from updater codeMarkus Mohrhard2017-05-191-11/+1
| | | | Change-Id: I9001b661a929a66723cf8e83ed3d8f664f180b14
* use own unique identifierMarkus Mohrhard2017-05-192-2/+2
| | | | Change-Id: I6d3b6ca894eceef7ad5757dd7c5b4981eb839c61
* make sure not to reuse the Mozilla registry keys and service nameMarkus Mohrhard2017-05-191-2/+2
| | | | Change-Id: I1e7208595313d54b6565c90dae19b8b51a047803
* the update service is windows onlyMarkus Mohrhard2017-05-191-1/+1
| | | | Change-Id: I9de1e8e8ec26dce85107c774c6a1d862dea3ab84
* get the update service workingMarkus Mohrhard2017-05-1910-188/+341
| | | | Change-Id: I25921090083f20c4bb416f9cfdd5ec6400a27a21
* extract the common updater code to an own static libraryMarkus Mohrhard2017-05-194-6/+35
| | | | | | | We again need to use a static lib to prevent the file is in use problem during the update. Change-Id: I22d00ea2ab46949d32cdaae85c799896d6e0468f
* define UNICODE to get the unicode system functionsMarkus Mohrhard2017-05-191-0/+1
| | | | Change-Id: I6eb552d32bd7ef2bbc816549e4bf53e9a8a3de05
* fix more platform define checksMarkus Mohrhard2017-05-191-0/+4
| | | | Change-Id: I2e125770fc6c21141c45ccc057d95fada8ccf74c
* fix Wundef warningsMarkus Mohrhard2017-05-191-3/+3
| | | | Change-Id: I36a68731e861a58d631249e6580233102cd3b702
* include nss also on windows for the updater executableMarkus Mohrhard2017-05-191-2/+3
| | | | Change-Id: I998355e0c4fb97a5b513be0072bced2a611c9928
* more XP_WIN to _WIN32Markus Mohrhard2017-05-191-4/+4
| | | | Change-Id: If2dd733f44675e1f4305afff84a1b16f8c8ff1c5
* add missing windows error codesMarkus Mohrhard2017-05-191-0/+6
| | | | | | Error codes taken for now from the mozilla code. Change-Id: Ib5b8ce4effb62ff0149a70a293ef6d19a0af4bb7
* always build with NSS and therefore verify signaturesMarkus Mohrhard2017-05-191-4/+0
| | | | Change-Id: I7b697b95e620ce915d762ce5d09af33a9e812107
* remove header includesMarkus Mohrhard2017-05-191-4/+0
| | | | Change-Id: I72c4b65b733875c8bc18a7e6718e1470bcaf611d
* workaround for compile errorMarkus Mohrhard2017-05-191-1/+2
| | | | Change-Id: I23c0e39cf74424febc78a5e0785fa2a889d9cd56
* fix warnings in windows only codeMarkus Mohrhard2017-05-191-3/+3
| | | | Change-Id: I33079d9f895e4c596a7804ec1bf6b3acde891ae7
* disable warning 4204Markus Mohrhard2017-05-191-0/+5
| | | | | | nonstandard extension used Change-Id: I7d24417dfb14fa659e50c36889bedee406ce9401
* explicitly include header file for unique_ptrMarkus Mohrhard2017-05-191-0/+1
| | | | Change-Id: I060c7554a0b293977c3e4363f246b31bb35b9055
* fix unused parameter warningsMarkus Mohrhard2017-05-192-3/+3
| | | | Change-Id: I959129f9cf2ea0534cadf89948f9d1f09a7e2540
* add certificate parts for current daily build certMarkus Mohrhard2017-05-193-0/+6
| | | | Change-Id: I33fa792da09b5bfb05291eace3815c1312faa8de