summaryrefslogtreecommitdiff
path: root/onlineupdate/source
AgeCommit message (Collapse)AuthorFilesLines
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
2017-05-19use own unique identifierMarkus Mohrhard2-2/+2
Change-Id: I6d3b6ca894eceef7ad5757dd7c5b4981eb839c61
2017-05-19make sure not to reuse the Mozilla registry keys and service nameMarkus Mohrhard1-2/+2
Change-Id: I1e7208595313d54b6565c90dae19b8b51a047803
2017-05-19get the update service workingMarkus Mohrhard8-188/+312
Change-Id: I25921090083f20c4bb416f9cfdd5ec6400a27a21
2017-05-19extract the common updater code to an own static libraryMarkus Mohrhard1-1/+0
We again need to use a static lib to prevent the file is in use problem during the update. Change-Id: I22d00ea2ab46949d32cdaae85c799896d6e0468f
2017-05-19fix more platform define checksMarkus Mohrhard1-0/+4
Change-Id: I2e125770fc6c21141c45ccc057d95fada8ccf74c
2017-05-19fix Wundef warningsMarkus Mohrhard1-3/+3
Change-Id: I36a68731e861a58d631249e6580233102cd3b702
2017-05-19more XP_WIN to _WIN32Markus Mohrhard1-4/+4
Change-Id: If2dd733f44675e1f4305afff84a1b16f8c8ff1c5
2017-05-19add missing windows error codesMarkus Mohrhard1-0/+6
Error codes taken for now from the mozilla code. Change-Id: Ib5b8ce4effb62ff0149a70a293ef6d19a0af4bb7
2017-05-19remove header includesMarkus Mohrhard1-4/+0
Change-Id: I72c4b65b733875c8bc18a7e6718e1470bcaf611d
2017-05-19workaround for compile errorMarkus Mohrhard1-1/+2
Change-Id: I23c0e39cf74424febc78a5e0785fa2a889d9cd56
2017-05-19fix warnings in windows only codeMarkus Mohrhard1-3/+3
Change-Id: I33079d9f895e4c596a7804ec1bf6b3acde891ae7
2017-05-19disable warning 4204Markus Mohrhard1-0/+5
nonstandard extension used Change-Id: I7d24417dfb14fa659e50c36889bedee406ce9401
2017-05-19explicitly include header file for unique_ptrMarkus Mohrhard1-0/+1
Change-Id: I060c7554a0b293977c3e4363f246b31bb35b9055
2017-05-19fix unused parameter warningsMarkus Mohrhard2-3/+3
Change-Id: I959129f9cf2ea0534cadf89948f9d1f09a7e2540
2017-05-19add certificate parts for current daily build certMarkus Mohrhard3-0/+6
Change-Id: I33fa792da09b5bfb05291eace3815c1312faa8de
2017-05-19update the updater code from mozillaMarkus Mohrhard1-337/+769
Change-Id: I400a7d103cf5bbd1a8b86c54a5d1b84c7dbf34e8
2017-05-19store the correct version string in the updater and the mar executableMarkus Mohrhard1-4/+6
Change-Id: I52ca969b9fa84320614f77bd51b8aac736478c54
2017-05-19make the script more python3 compliantMarkus Mohrhard1-4/+6
Change-Id: Id23b4890f121c0ffeb7aca4888e1e1d4d3748b91
2017-05-19some steps to getting mar signing workingMarkus Mohrhard1-3/+5
Change-Id: Id5a37530f2660866e83b6072d4d55b45da4a083d
2017-05-19don't use MOZ prefix for variablesMarkus Mohrhard3-9/+9
Change-Id: I4d4cf18c4665ccd14b3a2b93da215113e4f2e23a
2017-05-19adapt indentation to LibO defaultsMarkus Mohrhard1-2538/+2538
Change-Id: I652428a2f11f12d7a2b54d3d425fc6034e1cbbe3
2017-05-19obviously we need to use a LibreOffice registry keyMarkus Mohrhard1-2/+1
Change-Id: I445c5c66f4363b5f20e140b3620a3ece84d73d23
2017-05-19add a way to create mar file from fileMarkus Mohrhard1-1/+36
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-19remove more references to GONKMarkus Mohrhard1-59/+0
Change-Id: I8d51cc42161c3dee5b7a6a791e724cb939e3fc64
2017-05-19remove gonk reference from build filesMarkus Mohrhard2-11/+0
We don't use the build files but they are useful documentation. The GONK case however does not apply to us at all. Change-Id: I2be03d973110957aef93da17ac3b21e9142563d2
2017-05-19remove mozilla certificatesMarkus Mohrhard6-0/+0
Change-Id: I673ce7f7099a2af3ea3d16c01776d24420bbb3be
2017-05-19we use a static lib for this nowMarkus Mohrhard1-577/+0
Change-Id: Iec7ba672ec5be5422a110bc8c09eb77cf31611be
2017-05-19remove unneeded parts from the updater codeMarkus Mohrhard1-71/+0
Change-Id: I6643d00572eceb5c934ac9ecd0edc61da60a3043
2017-05-19make the updater code also work on windowsMarkus Mohrhard1-4/+1
Change-Id: If533ba273237d35cad11fec296e7c48cbc2cd2f2
2017-05-19fix unitialized memoryMarkus Mohrhard1-1/+1
Change-Id: I743df0c568984a1effef34be5a3190a10647e092
2017-05-19make the winhelper library compile on windowsMarkus Mohrhard1-53/+4
Change-Id: I4bfa678b6a028a91a63b79a24f6db3a3644d086a
2017-05-19temp windows fixesMarkus Mohrhard5-11/+8
Change-Id: I86972657e333821a153bb0c1e154f22841f624e5
2017-05-19add files for starting windows processMarkus Mohrhard1-0/+286
Change-Id: Idb2d6a43c8bc86a51fb8e5b937784bedc05a0308
2017-05-19add files for the new update service on windowsMarkus Mohrhard13-0/+2413
2017-05-19use std::thread instead of own solutionMarkus Mohrhard1-71/+8
Change-Id: Id3d71897127c7af39688c9071dbb0e04b08fb327
2017-04-13Removed duplicated includesAndrea Gelmini1-1/+0
No automatic tools. Manual checked and tested. Change-Id: Ife260fa4e1d786cf81f2917a901664cc54943754 Reviewed-on: https://gerrit.libreoffice.org/36371 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2017-03-25Fix typosAndrea Gelmini2-2/+2
Change-Id: I14dca0d55c09187690dc1d94936c40b890ca5cea Reviewed-on: https://gerrit.libreoffice.org/35637 Reviewed-by: Julien Nabet <serval2412@yahoo.fr> Tested-by: Julien Nabet <serval2412@yahoo.fr>
2017-03-06drop various _MSC_VER < 1900 conditionalsCaolán McNamara1-22/+0
Change-Id: I68d93b260db1f542bb3b44858b61b2d30ae93530 Reviewed-on: https://gerrit.libreoffice.org/34856 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2017-01-17replace #ifdef SOLARIS with #ifdef __sunMichael Stahl2-2/+2
Check for a macro that is defined by the compiler, we don't really need one defined by the build system. Change-Id: Iccb8e3198396881395c97a6b81690ebe64b7e9d2
2016-12-30cleanup tailing backslashesJochen Nitschke1-2/+2
Change-Id: Idb4bfc97e7d758c58118742affd9a9345c7a99f2 Reviewed-on: https://gerrit.libreoffice.org/32491 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2016-09-20[API CHANGE] Remove HAVE_GCC_VISIBILITY_FEATURE, always trueStephan Bergmann1-1/+1
* GCC documents -fvisibility at least as far back as the GCC 4.0 online documentation at <https://gcc.gnu.org/onlinedocs/gcc-4.0.4/gcc/Code-Gen-Options.html>. * For external code, odk/settings/settings.mk unconditionally set HAVE_GCC_VISIBILITY_FEATURE for all platforms other than Windows. Make this a fatal configure error for now. The check should be removed completely after LO 5.3 branch-off. Change-Id: I1de415b6ed1591e0a7b6640ece861b6f0ef74112 Reviewed-on: https://gerrit.libreoffice.org/29073 Reviewed-by: Stephan Bergmann <sbergman@redhat.com> Tested-by: Stephan Bergmann <sbergman@redhat.com>
2016-07-13Remove __cplusplus-checks from apparently-C++-only filesStephan Bergmann1-4/+0
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-29move #includes to top of fileNoel Grandin1-7/+8
instead of being randomly embedded somewhere deep inside the CXX code. Found with: git grep -nP '^#include' -- *.cxx | sort -g -k 2 -t : Change-Id: I9ee432d3b665ecb6ec600bd51cc4b735a1b1127a Reviewed-on: https://gerrit.libreoffice.org/26764 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2016-06-13tdf#98602 Duplicate code in onlineupdate/Ras-al-Ghul40-9115/+17
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 Gelmini3-3/+3
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-03-31onlineupdate: revert SAL_N_ELEMENTS changesMichael Stahl7-55/+56
It's not clear if the foreign code in onlineupdate is supposed to include sal headers, so revert the 2 changes from earlier today there. Change-Id: I604720b4bd4897204e354ec230582b0fd2036716
2016-03-31use SAL_N_ELEMENTS more widelyNoel Grandin6-55/+54
found using git grep -n 'sizeof.*/.*sizeof.*[0]' Change-Id: Icd4a6cc1ca8ec8ebd68e1701a02789c74cf0eb2a
2016-03-31use SAL_N_ELEMENTS in for loopsNoel Grandin1-1/+1
for with git grep -n 'for.*sizeof' Change-Id: I6211024385e03ac5eeeb38690d2c1c699e015c2f Reviewed-on: https://gerrit.libreoffice.org/23569 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>