Online update implementation based on Mozilla's MAR format + update mechanism Parts of this code are copied from the mozilla repository, and adapted to LibreOffice needs: firefox/modules/libmar -> onlineupdate/source/libmar firefox/toolkit/mozapps/update -> onlineupdate/source/update The source/service directory contains the code for the silent windows updater that avoids the repeated administrator check for an update. == NOTE == The updater executable should not depend on any other dynamic library in the LibreOffice installation as we would need to copy that one also to a temporary directory during update. We can't update any library or executable that is currently in use. For the updater executable we solve this problem by copying the updater before using it to a temporary directory. On Windows we use the system to provide us with a crypto library whereas on Linux we use NSS. == Update procedure == The updater executable is run two times. In a first run, the current installation is copied to a "update" directory and the update is applied in this "update" directory. During the next run, a replacement request is executed. The replacement request removes the old installation directory and replaces it with the content of the "update" directory. === User profile in the installation directory === The archive based installations have the user profile by default inside of the installation directory. During the update process this causes some problems that need special handling in the updater. * The "update" directory is inside of the user profile resulting in recursive copying. * During the replacement request the updater log is in the user profile, which changes location from the actual location to a backup location. istro/cib/libreoffice-6-1 LibreOffice 核心代码仓库文档基金会
summaryrefslogtreecommitdiff
path: root/idlc
AgeCommit message (Expand)Author
2019-01-22o3tl::make_unique -> std::make_unique in i18npool...reportdesignGabor Kelemen
2018-12-22idlc: no need to store single OString objects on the heapNoel Grandin
2018-12-08Remove obsolete SAL_FALLTHROUGH completelyStephan Bergmann
2018-12-07loplugin:singlevalfields extend to all static varsNoel Grandin
2018-11-29loplugin:stringconstant look for unnecessary OString constructor useNoel Grandin
2018-11-06loplugin:collapseif in dbaccess..lotuswordproNoel Grandin
2018-10-24remove more rtl::OUString and OString prefixesNoel Grandin
2018-10-18clang-tidy readability-simplify-boolean-exprNoel Grandin
2018-09-24loplugin:external (clang-cl)Stephan Bergmann
2018-09-17New loplugin:externalStephan Bergmann
2018-09-09loplugin:simplifyconstruct in helpcompiler..ioNoel Grandin
2018-08-30loplugin:useuniqueptr in idlc::compileFileNoel Grandin
2018-08-30use std::vector in AstStackNoel Grandin
2018-08-29replace rtl_allocateMemory with std::mallocNoel Grandin
2018-08-11set copy_paste_error to false rather than intentionalCaolán McNamara
2018-07-27Related: rhbz#1602589 add comments to coverity annotationsCaolán McNamara
2018-07-10tdf#42949 Fix IWYU warnings in include/osl/*hxxGabor Kelemen