summaryrefslogtreecommitdiff
path: root/onlineupdate/source/libmar
AgeCommit message (Collapse)Author
2020-09-29Fix typo in codeAndrea Gelmini
It passed "make check" on Linux Change-Id: Id08fb3de62c55ab24f585b1bd1b9f719c78f91b5 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/103464 Tested-by: Jenkins Reviewed-by: Jan Holesovsky <kendy@collabora.com>
2019-08-19Fix typosAndrea Gelmini
Change-Id: I33a99be34f41c3583fc6684fc68ba6b76ef2f056 Reviewed-on: https://gerrit.libreoffice.org/77682 Tested-by: Jenkins Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2019-08-19Fix typosAndrea Gelmini
Change-Id: Ida64346bc11053bf43fd1208914407b3b2f1338e Reviewed-on: https://gerrit.libreoffice.org/77681 Tested-by: Jenkins Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2019-07-23Fix typosAndrea Gelmini
Change-Id: Iea3bd498b1c8934f37085bdf6df71b073e4a871c Reviewed-on: https://gerrit.libreoffice.org/76203 Tested-by: Jenkins Reviewed-by: Andrea Gelmini <andrea.gelmini@gelma.net>
2018-11-18fix off by one errorMarkus Mohrhard
BLRG-PT-18-004 Change-Id: I9cd2582aebf2b33d40f23254047c35c8dee90f4b Reviewed-on: https://gerrit.libreoffice.org/63508 Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com> Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2017-09-13onlineupdate: work around GCC7 -Werror=implicit-fallthroughMichael Stahl
This is pretty stupid, but oh well... Change-Id: I1e605b2858a917f61922df757809a2aceb14a914
2017-07-31updater: get the signature verification working on WindowsMarkus Mohrhard
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-28updater: remove unnecessary mozilla makefileMarkus Mohrhard
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-05-19Wdeclaration-after-statementMarkus Mohrhard
Change-Id: Ie3a34305c824e2f04feb8b1db39c0df342588c43
2017-05-19use a more libreoffice like formattingMarkus Mohrhard
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-19fix more platform define checksMarkus Mohrhard
Change-Id: I2e125770fc6c21141c45ccc057d95fada8ccf74c
2017-05-19disable warning 4204Markus Mohrhard
nonstandard extension used Change-Id: I7d24417dfb14fa659e50c36889bedee406ce9401
2017-05-19store the correct version string in the updater and the mar executableMarkus Mohrhard
Change-Id: I52ca969b9fa84320614f77bd51b8aac736478c54
2017-05-19add a way to create mar file from fileMarkus Mohrhard
We exceed the command line limit when we try to use the stuff directly so storing it in a file seems like the best approach. Currently the memory that we allocate in the new code path is leaked but as the program ends a bit later anyway this is not too bad. Change-Id: I87350c617e577a319ce4be37cbd707011c0bd502
2017-05-19fix unitialized memoryMarkus Mohrhard
Change-Id: I743df0c568984a1effef34be5a3190a10647e092
2017-05-19temp windows fixesMarkus Mohrhard
Change-Id: I86972657e333821a153bb0c1e154f22841f624e5
2017-03-25Fix typosAndrea Gelmini
Change-Id: I14dca0d55c09187690dc1d94936c40b890ca5cea Reviewed-on: https://gerrit.libreoffice.org/35637 Reviewed-by: Julien Nabet <serval2412@yahoo.fr> Tested-by: Julien Nabet <serval2412@yahoo.fr>
2016-07-13Remove __cplusplus-checks from apparently-C++-only filesStephan Bergmann
Change-Id: I87e9ce45cf945e75e8140a9d4608da8abcddada6 Reviewed-on: https://gerrit.libreoffice.org/27187 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2016-06-13tdf#98602 Duplicate code in onlineupdate/Ras-al-Ghul
Converted libmar into static library and removed duplicate code. Change-Id: I51c58ae9a6a1f1128422b4a79491d0cd62e6ced6 Reviewed-on: https://gerrit.libreoffice.org/23312 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com> Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com> Reviewed-by: Jan Holesovsky <kendy@collabora.com>
2016-04-30Fix typosAndrea Gelmini
Change-Id: Id81b16ff26283611f0b84929d831c827f847ab73 Reviewed-on: https://gerrit.libreoffice.org/24317 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2016-02-17use consistent #define checks for the Windows platformNoel Grandin
stage 2 of replacing usage of various checks for the windows platform with the compiler-defined '_WIN32' macro In this stage we focus on replacing usage of the WIN macro Change-Id: Ie8a4a63198a6de96bd158ecd707dadafb9c8ea84 Reviewed-on: https://gerrit.libreoffice.org/22393 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2016-02-16use consistent #define checks for the Windows platformNoel Grandin
stage 1 of replacing usage of various checks for the windows platform with the compiler-defined '_WIN32' macro Change-Id: Iece73abdee530937e0737190b1aa97a46cd3075f Reviewed-on: https://gerrit.libreoffice.org/22390 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>
2016-02-05Fix typosAndrea Gelmini
Change-Id: Ice72f8d9971e15dd6ef365e64cd567b8581a92d3 Reviewed-on: https://gerrit.libreoffice.org/21797 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
2016-01-10Fix typosAndrea Gelmini
Change-Id: I9a5940027423ff0791fa7da0b79b617412ce6b86 Reviewed-on: https://gerrit.libreoffice.org/21209 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
2015-11-04onlineupdate: -Werror=unused-but-set-variableMichael Stahl
Change-Id: I136eb25d2831cdbd3f1ce81714039cbd28b16577
2015-11-04onlineupdate: -Werror=unused-variableMichael Stahl
There are actually 2 identical copies of the file in onlineupdate! WTF? Change-Id: I967bd90045ca0f56db151dd82d3baf8e848a8863
2015-10-12cppcheck:variableScopeNoel Grandin
Change-Id: I037feb335499629300309851dcda3bb661f03d4f Reviewed-on: https://gerrit.libreoffice.org/19316 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-09-30Fix typosAndrea Gelmini
Change-Id: I013414cf10e25acd5216643855aaa230258a1b5f Reviewed-on: https://gerrit.libreoffice.org/18962 Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2015-08-12Add the needed #ifndef instead of removing the variable.Jan Holesovsky
This reverts commit 058c924c9385d003eefa728be7b23b2effd73913. Change-Id: I0418af18177cef350b2bf13008ed54336c54938c
2015-08-10cppcheck: arrayIndexThenCheckCaolán McNamara
Change-Id: I66dc4dd095d4e1a9d963b1c2c6a99b16d9f9bf61
2015-08-10cppcheck: unusedVariableCaolán McNamara
Change-Id: I11e9a952fdb401e08d6095fc36f0eb2dba6e2917
2015-07-22online update: Fix many warnings.Jan Holesovsky
Not all yet, though. Change-Id: Ic4f0fe3ded31d585faefd8bda8ab87f54b88dc6c
2015-07-22online update tdf#68274: fix --enable-online-update=mar on WindowsNathan Yee
Change-Id: I397566ae2488799399cad361b24a281d3599cc5b
2015-07-03online update: Remove unneeded files.Nathan Yee
Change-Id: Id69448d893f7492e7321c6c6f84d6cccc9024220
2015-06-29online update: Add mar executable build supportNathan Yee
Remove unneeded mar library build support Add macro workarounds in mar.c; will deal with them in the future Change PL_strdup to strdup (is this safe?) Change-Id: Ib3108abdf360f6fc1ccc1bf5030df8529d724b82
2015-06-29online update: MAR-based online update - initial import from Mozilla.Jan Holesovsky
This commit copies several source files around the Mozilla's online update from the Mozilla sources to LibreOffice. The hope is that we will be able to modify it so that LibreOffice can use the same update mechanism as Firefox, including downloading the packs on background, and applying them on the next start. changeset: 248917:ce863f9d8864 The following locations in the Mozzila sources were copied: firefox/modules/libmar -> onlineupdate/source/libmar firefox/toolkit/mozapps/update -> onlineupdate/source/update JavaScript parts were omitted. Change-Id: I0c92dc0bf734bfd5d8746822f674e162d64fa62f