summaryrefslogtreecommitdiff
path: root/onlineupdate
AgeCommit message (Collapse)AuthorFilesLines
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-19document the no-link to LibO libraries policyMarkus Mohrhard1-0/+3
Change-Id: I6edec26c687c6b31d1847b0b568bda389d84f501
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-19only compile the windows files on windowsMarkus Mohrhard1-3/+4
Change-Id: I489aa2877ff23b556ab587a0fae5125de3b76d21
2017-05-19remove unneeded parts from the updater codeMarkus Mohrhard1-71/+0
Change-Id: I6643d00572eceb5c934ac9ecd0edc61da60a3043
2017-05-19we only want to build winhelper on windowsMarkus Mohrhard1-1/+2
Change-Id: Iae098ef00d000099e13c54349ba37619e545fe4a
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 Mohrhard4-54/+12
Change-Id: I4bfa678b6a028a91a63b79a24f6db3a3644d086a
2017-05-19compile as a true c++ ojectMarkus Mohrhard1-1/+1
Change-Id: Id37074b695e096a057c818a80e3567015422bfb6
2017-05-19temp windows fixesMarkus Mohrhard6-13/+8
Change-Id: I86972657e333821a153bb0c1e154f22841f624e5
2017-05-19we need to link to nssMarkus Mohrhard1-0/+4
Change-Id: I94940d1146430980f11d9dcb1e6c538982a31a1c
2017-05-19use the new winhelper static lib on windowsMarkus Mohrhard1-0/+2
Change-Id: Iecb4328e4c665f7dd24fa7c6a66c3328942fb196
2017-05-19add files for starting windows processMarkus Mohrhard3-0/+326
Change-Id: Idb2d6a43c8bc86a51fb8e5b937784bedc05a0308
2017-05-19include the new files into the build systemMarkus Mohrhard1-5/+6
2017-05-19add files for the new update service on windowsMarkus Mohrhard13-0/+2413
2017-05-19start work on the updater serviceMarkus Mohrhard3-0/+36
Change-Id: Ic0b98c859cf2115195a75e9521c35ef32bd8b833
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-Ghul44-9127/+49
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-05-03Handle wchar_t as native C++11 type on windowsDavid Ostrovsky1-6/+0
The option /Zc:wchar_t- prevented to use wchar_t as a built-in type according to the C++ standard. In Visual C++ 6.0 and earlier, wchar_t was not implemented as a built-in type, but was declared in wchar.h as a typedef for unsigned short. Now, years later after the end of life this outdated toolchain, there is no reason not to use native type. The only issue could be the ABI compatibility. But on a quick look at least, it looks like none of the mangled C++ symbols in the stable URE interface actually depend on wchar_t. We forgot to get rid of /Zc:wchar_t- in 5.1. Do that for LibreOffice 5.2, though. Change-Id: I8d6b380660859efa44c83c830734978d31d756a0 Reviewed-on: https://gerrit.libreoffice.org/22589 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Stephan Bergmann <sbergman@redhat.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>
2016-03-14Revert "tdf#98602 Duplicate code in onlineupdate/"Jan Holesovsky11-32/+1466
Unfortunately needs more work, I've pushed it too early... This reverts commit e60506acc53098b4b479d565048c316562657cec.
2016-03-14tdf#98602 Duplicate code in onlineupdate/Ras-al-Ghul11-1466/+32
Converted libmar into static library and removed duplicated code Change-Id: I6a6c8ce24103a400e1835ccf7e6421024f5cec4b Reviewed-on: https://gerrit.libreoffice.org/23179 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Jan Holesovsky <kendy@collabora.com>
2016-02-17use consistent #define checks for the Windows platformNoel Grandin35-99/+99
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 Grandin4-4/+4
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-09Remove excess newlinesChris Sherlock1-1/+0
A ridiculously fast way of doing this is: for i in $(pcregrep -l -M -r --include='.*[hc]xx$' \ --exclude-dir=workdir --exclude-dir=instdir '^ {3,}' .) do perl -0777 -i -pe 's/^ {3,}/ /gm' $i done Change-Id: Iebb93eccbee9e4fc5c4380474ba595858a27ac2c Reviewed-on: https://gerrit.libreoffice.org/22224 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Chris Sherlock <chris.sherlock79@gmail.com>
2016-02-09Formatting changes across all modulesChris Sherlock1-2/+0
+ Removed comment cruft + Tab formatting in number of files + Some commented out code removed + Tab characters replaced with spaces + Newline cleanup in quite a few files + Tweak header guard #endifs Change-Id: I3208ff2f047da890edcc49b73389aca22442f5fc Reviewed-on: https://gerrit.libreoffice.org/22221 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Chris Sherlock <chris.sherlock79@gmail.com>
2016-02-05Fix typosAndrea Gelmini4-5/+5
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 Gelmini6-7/+7
Change-Id: I9a5940027423ff0791fa7da0b79b617412ce6b86 Reviewed-on: https://gerrit.libreoffice.org/21209 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
2016-01-08cppcheck: noExplicitConstructorCaolán McNamara1-1/+1
Change-Id: If1ddb112c85f127295eb55566360b066e7173ba2 Reviewed-on: https://gerrit.libreoffice.org/21245 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2016-01-06onlineupdate: linking libpthread should work better than including itMichael Stahl1-11/+1
Change-Id: Ib19a5651f7e30108e8fbcdc6f7924c47cbeb4434
2016-01-06onlineupdate: Executable_updater should decide which GTK it wants to useMichael Stahl1-5/+0
Using both GTK2 and GTK3 sounds like a recipe for disaster, so use gtk2 for now (since we get numerous deprecation warnings with gtk3). Change-Id: I32a27c3620503b6c5d7d81510137bfddc5abb05c