summaryrefslogtreecommitdiff
path: root/onlineupdate
AgeCommit message (Collapse)AuthorFilesLines
2017-06-26updater: make it more difficult to misuse the APIMarkus Mohrhard1-29/+19
Change-Id: Ief5b2e37f289d6bfa92a909701c331d50509b0a3
2017-06-26updater: reduce scope of ArchiveReader and pass by referenceMarkus Mohrhard1-53/+48
Change-Id: Ifbcfa5b612cb0a8670bf3dd0be6e74708cc969c1
2017-06-26updater: subclasses need to pass the archiveReader parameter to their parentsMarkus Mohrhard1-11/+26
Change-Id: I1d69d592a05908e4e2a2e832a5b6ef9d13fc2e2c
2017-06-26tdf#108563 Transform global variable gArchiveReader to local variableChristian Barth1-23/+46
Change-Id: I0830f00bce19bc4b77d8e9e0cb5684338a4c9e5d Signed-off-by: Christian Barth <Christian.Barth@zoho.com>
2017-06-24updater: add a one step update testMarkus Mohrhard4-0/+27
Change-Id: I548504ecc5fd2403596ad6eb5af116e4a46ddc35
2017-06-20new cannot return nullptrNoel Grandin1-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>
2017-06-17-Werror=maybe-uninitializedMarkus Mohrhard1-1/+1
Change-Id: Iba942ded86c8e4565bcd14796f05f47e3fc64880
2017-06-17updater: fix missing header for std::vectorMarkus Mohrhard1-0/+1
Change-Id: Ifd71745ce671a673ff3d4e9c2ca7a4abb6bed363
2017-06-17updater: get the certificate code working on python2 and 3Markus Mohrhard1-5/+12
Change-Id: Id1b4a443629c95fdbda59153c6f688629f6b1862
2017-06-17updater: remove unnecessary fileMarkus Mohrhard1-1/+0
Change-Id: I50d4ec48599d64db490b1dcac839a52737d105d9
2017-06-17updater: remove some of the old mozilla makefile piecesMarkus Mohrhard2-43/+0
Change-Id: Ib94c2a5e8335732823cd6632937ae77774a6746d
2017-06-17updater: remove old updater certificate dataMarkus Mohrhard1-0/+0
Change-Id: I5e47337682b5a887e544cbc7e7963570253a70fc
2017-06-17updater: move the data location for the replacement testMarkus Mohrhard2-4/+7
Change-Id: I6b3bbe9dda2461ed83ef8b4e15179ad345c08bd4
2017-06-17updater: respect version info for manual testsMarkus Mohrhard2-0/+0
Change-Id: Id9df2e685b7a7ff420bb7289089dc1e5c5f5c074
2017-06-16updater: add manual test for new language updatesMarkus Mohrhard4-0/+21
Change-Id: I6d77039f0cafe0f436cc687bb424588a59c3d464
2017-06-16updater: fix update file lookup for language pack filesMarkus Mohrhard1-2/+3
Change-Id: I221c81ff2f0bee7a8643304201722dbbbc114bec
2017-06-16updater: rename test directory to reflect the tested codeMarkus Mohrhard3-0/+0
Change-Id: I672bbb2ac30c5e27b729fe34e206642e436c076b
2017-06-16updater: add short explanation about the testMarkus Mohrhard1-0/+2
Change-Id: Ic0cfa565048793181ece17b33337e011028a2aad
2017-06-16updater: find all the language update filesMarkus Mohrhard1-2/+28
Change-Id: I5261d8d96f83b8b81b0dc2576cbd9241705ae9b7
2017-06-16updater: work on supporting language pack updatesMarkus Mohrhard1-86/+96
Change-Id: I563aa8ee285d4c2ecdb45835b5cee38074295106
2017-06-14Fix typosAndrea Gelmini1-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>
2017-06-11add a way to manually test the automatic updater with a simple test projectMarkus Mohrhard3-0/+15
This reduced my development iterations from around 15 minutes to a few seconds. Change-Id: I758a3e534862e8feca2544ee9e80f0330d06b992
2017-06-11fix automatic updates with user profile in installation dirMarkus Mohrhard1-13/+19
Change-Id: Ice8b73b1e80ce48e14be854b29b55c037b34f981
2017-06-11start adding my local documentation to the onlineupdate READMEMarkus Mohrhard1-0/+11
This is still quite confusing as I'm still confused myself with the user profile in the installation directory. Change-Id: I77f56918d51069ec6c6967339e7e03de4f1a7e4a
2017-06-08the custom target needs to depend on pythonMarkus Mohrhard1-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>
2017-06-04no need to construct unique_ptr hereJochen Nitschke1-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>
2017-06-01Fix typosAndrea Gelmini4-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>
2017-05-21take the certifcate info from the update configMarkus Mohrhard2-4/+7
Change-Id: I15856f21d19b45ec50bd3d63d2e526c9e8db450d
2017-05-19Wdeclaration-after-statementMarkus Mohrhard1-1/+2
Change-Id: Ie3a34305c824e2f04feb8b1db39c0df342588c43
2017-05-19Wsometimes-uninitializedMarkus Mohrhard1-3/+3
Change-Id: Ia160685694a386358506f94c4cc1510e5e2a6f62
2017-05-19Wunused-macrosMarkus Mohrhard1-0/+2
Change-Id: Ib50bd405101acb908831d943d449c3cf86b2ac85
2017-05-19remove the newly unused files with old cert verification dataMarkus Mohrhard2-8/+0
Change-Id: I9753197bcfbff1aaf9bb6ee292d65a356075348f
2017-05-19generate the certificate verification data as part of the buildMarkus Mohrhard5-21/+49
Change-Id: I30186f76302e7666c833933b059931e8b1b7b78c
2017-05-19second part for user profile in instdirMarkus Mohrhard2-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
2017-05-19first step into supporting user profile in installation dirMarkus Mohrhard1-6/+23
Change-Id: I2485ad2b69ed28b7f964540ac3eecd22099b4f7c
2017-05-19extract string typedefs to a shared fileMarkus Mohrhard4-14/+28
Change-Id: I6e5d7c828f56b6a3f562ed8a9dd5f63a9d603ce0
2017-05-19add TODOMarkus Mohrhard1-0/+1
Change-Id: I2d913a878aba91fea41a010237dd685845b5b648
2017-05-19remove unused hard link supportMarkus Mohrhard1-34/+0
Change-Id: I7f40598df74c8731b13c37b8adaa636086d204b4
2017-05-19without the wb+ reading the patch file will failMarkus Mohrhard1-1/+1
Change-Id: I61be299647d41bb464bea039630ddd4ff545f412
2017-05-19add mbsdiff as build executableMarkus Mohrhard4-0/+442
Change-Id: I68c9b14937c219ee142386b72047a6995d004f47
2017-05-19better flexibility through configurable updated build directoryMarkus Mohrhard1-2/+2
Change-Id: Icaa814cdcd27171fbafc2407d55161cdc13e750e
2017-05-19add more TODO commentsMarkus Mohrhard1-0/+1
2017-05-19add the astyle script used to format the filesMarkus Mohrhard1-0/+7
2017-05-19use a more libreoffice like formattingMarkus Mohrhard40-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.
2017-05-19add the resource to the updaterMarkus Mohrhard3-0/+18
Change-Id: I80e80708346aa2850b2964c566ebc6423837a9cd
2017-05-19add TODO comments for the places that need further inspectionMarkus Mohrhard1-0/+16
This is just from a quick scroll through the code. Change-Id: I72132ba9244d7aa559befe63412f7a5ef2005ad1
2017-05-19hide the function behind the correct define checksMarkus Mohrhard1-0/+2
Change-Id: Ifef59d40975b6061a40b58d80817b6c15b856713
2017-05-19remove the MOZ_ prefix from a few env variables and definesMarkus Mohrhard2-12/+12
Change-Id: Icbb5f0751cd5f85fc2c4af8d2adbc8d64911a94b
2017-05-19use std::min instead of own codeMarkus Mohrhard1-8/+2
Change-Id: I4bb62a120c1d791d41cdaaa88faf0fed27cc4787
2017-05-19remove unnecessary case from updater codeMarkus Mohrhard1-11/+1
Change-Id: I9001b661a929a66723cf8e83ed3d8f664f180b14