summaryrefslogtreecommitdiff
path: root/setup_native
AgeCommit message (Collapse)AuthorFilesLines
2017-09-22Windows: avoid dependence on UNICODE define; prefer W functionsMike Kaganski4-58/+31
Change-Id: I95b90128e93f0d88ed73601bcc5a7ca9279d4cf1 Reviewed-on: https://gerrit.libreoffice.org/42560 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2017-09-18Use even more WIN32_LEAN_AND_MEANMike Kaganski1-0/+3
Change-Id: I538fe5b41156366e0e87b3a93e58a3947afd18f5 Reviewed-on: https://gerrit.libreoffice.org/42398 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2017-09-16Use more WIN32_LEAN_AND_MEANMike Kaganski2-0/+2
https://msdn.microsoft.com/en-us/aa383745 Change-Id: I83528dc8e6a5e119e7aa816219d35f1ea3723b96 Reviewed-on: https://gerrit.libreoffice.org/42338 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2017-08-31loplugin:constparams: setup_native (clang-cl)Stephan Bergmann1-1/+1
Change-Id: I36331a6caf560c7622f72c2fafa968522f44f5e9
2017-07-21migrate to boost::gettextCaolán McNamara1-2/+2
* all .ui files go from <interface> to <interface domain="MODULE"> e.g. vcl * all .src files go away and the english source strings folded into the .hrc as NC_("context", "source string") * ResMgr is dropped in favour of std::locale imbued by boost::locale::generator pointed at matching MODULE .mo files * UIConfig translations are folded into the module .mo, so e.g. UIConfig_cui goes from l10n target to normal one, so the res/lang.zips of UI files go away * translation via Translation::get(hrc-define-key, imbued-std::locale) * python can now be translated with its inbuilt gettext support (we keep the name strings.hrc there to keep finding the .hrc file uniform) so magic numbers can go away there * java and starbasic components can be translated via the pre-existing css.resource.StringResourceWithLocation mechanism * en-US res files go away, their strings are now the .hrc keys in the source code * remaining .res files are replaced by .mo files * in .res/.ui-lang-zip files, the old scheme missing translations of strings results in inserting the english original so something can be found, now the standard fallback of using the english original from the source key is used, so partial translations shrink dramatically in size * extract .hrc strings with hrcex which backs onto xgettext -C --add-comments --keyword=NC_:1c,2 --from-code=UTF-8 --no-wrap * extract .ui strings with uiex which backs onto xgettext --add-comments --no-wrap * qtz for gettext translations is generated at runtime as ascii-ified crc32 of content + "|" + msgid * [API CHANGE] remove deprecated binary .res resouce loader related uno apis com::sun::star::resource::OfficeResourceLoader com::sun::star::resource::XResourceBundleLoader com::sun::star::resource::XResourceBundle when translating strings via uno apis com.sun.star.resource.StringResourceWithLocation can continue to be used Change-Id: Ia2594a2672b7301d9c3421fdf31b6cfe7f3f8d0a
2017-07-07Add setgid call stub for LinuxTroy1-0/+3
Required by dpkg --build on Debian squeeze. Change-Id: I5e0e9c8f7851555a277d21aa14f9d695bad12198 Reviewed-on: https://gerrit.libreoffice.org/38765 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>
2017-07-04tdf#108928 - Branding for 6.0Heiko Tietze1-0/+0
Initial proposal for branding Change-Id: I9fffe6b1c319505cd8a6b54a84ed585151a93122 Reviewed-on: https://gerrit.libreoffice.org/39507 Reviewed-by: Heiko Tietze <tietze.heiko@googlemail.com> Tested-by: Heiko Tietze <tietze.heiko@googlemail.com>
2017-05-20tdf#105204 fix shellcheck warning in setup_native/scripts/unpack_update.shYeliz Taneroğlu1-2/+2
Change-Id: Ic2a3b58dac3bc148cf9a2bd8237574d4851aabe6 SC2006: Use $(STATEMENT) instead of legacy `STATEMENT` SC2035: Use ./*glob* or -- *glob* so names with dashes won't become options. Reviewed-on: https://gerrit.libreoffice.org/37681 Reviewed-by: Chris Sherlock <chris.sherlock79@gmail.com> Tested-by: Chris Sherlock <chris.sherlock79@gmail.com>
2017-05-16Also filter out flags like -fsanitize-address-globals-dead-strippingStephan Bergmann1-1/+1
...to avoid -Werror,-Wunused-command-line-argument in case some ASan build setting passes in such flags Change-Id: Ia613a10e3564a23715019ee0c7c755cdcbf7a47c
2017-04-21gbuild: Remove MSVC 2013 legacy codeDavid Ostrovsky8-16/+16
Uwinapi is discontinued. Change-Id: I063b4d0d8fab2d60de168e960a63b8181158ac01 Reviewed-on: https://gerrit.libreoffice.org/23198 Reviewed-by: David Ostrovsky <david@ostrovsky.org> Tested-by: David Ostrovsky <david@ostrovsky.org>
2017-04-06tdf#106359: register .iqy in MSI and treat them as templatesMike Kaganski1-3/+4
Change-Id: I7ae94c7717fbea03d96c539e05eeb565bafefd9f Reviewed-on: https://gerrit.libreoffice.org/36188 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2017-04-04typo fixAndras Timar1-1/+1
Change-Id: Ic8a62b0e241f740d3f1352fe48c8405570bfc61a
2017-03-14No need for --disable-activex and --disable-atl any longerTor Lillqvist1-1/+1
Change-Id: I7ac4f32cb01bfcc3a2c06e69280c2150d408ec6b Reviewed-on: https://gerrit.libreoffice.org/35174 Reviewed-by: David Ostrovsky <david@ostrovsky.org> Reviewed-by: Tor Lillqvist <tml@collabora.com> Tested-by: Tor Lillqvist <tml@collabora.com>
2017-02-22Drop some ooo2gd extension packaging bitsGabor Kelemen1-15/+0
Change-Id: I5038652a969f88f6d4266fd540b1b43df1fee453 Reviewed-on: https://gerrit.libreoffice.org/34555 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2017-02-13AutoInstall oox filter data packages to ooo moduleMatúš Kukan1-15/+0
Change-Id: Ib7b0773ee2b347d81d3f8894ea3063c6d6f18d90 Reviewed-on: https://gerrit.libreoffice.org/34168 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>
2017-02-10Remove MinGW supportStephan Bergmann10-1965/+1
In OOo times, there'd originally been efforts to allow building on Windows with MinGW. Later, in LO times, this has been shifted to an attempt of cross- compiling for Windows on Linux. That attempt can be considered abandoned, and the relevant code rotting. Due to this heritage, there are now three kinds of MinGW-specific code in LO: * Code from the original OOo native Windows effort that is no longer relevant for the LO cross-compilation effort, but has never been removed properly. * Code from the original OOo native Windows effort that is re-purposed for the LO cross-compilation effort. * Code that has been added specifially for the LO cross-compilation effort. All three kinds of code are removed. (An unrelated, remaining use of MinGW is for --enable-build-unowinreg, utilizing --with-mingw-cross-compiler, MINGWCXX, and MINGWSTRIP.) Change-Id: I49daad8669b4cbe49fa923050c4a4a6ff7dda568 Reviewed-on: https://gerrit.libreoffice.org/34127 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2017-01-17replace #ifdef SOLARIS with #ifdef __sunMichael Stahl1-1/+1
Check for a macro that is defined by the compiler, we don't really need one defined by the build system. Change-Id: Iccb8e3198396881395c97a6b81690ebe64b7e9d2
2017-01-11loplugin:externvar (clang-cl)Stephan Bergmann1-6/+6
Change-Id: Iebf83ccfb9e7128fd328a548ce77cdee4ef7ca4b
2017-01-02Revert "tdf#99589 tolower changed to rtl::toAsciiLowerCase"Julien Nabet1-2/+1
Following Stephan's message https://gerrit.libreoffice.org/#/c/32462/ This reverts commit 47f338c1cfca96db8f0384c3498755c4cd6ff2c4. Change-Id: I6846fe495a9e1cccce56a2764c61b804c0eaa75c Reviewed-on: https://gerrit.libreoffice.org/32637 Reviewed-by: Julien Nabet <serval2412@yahoo.fr> Tested-by: Julien Nabet <serval2412@yahoo.fr>
2017-01-01Bump copyright year to 2017Adolfo Jayme Barrientos7-86/+86
Change-Id: I26ddcdd7bb9616c0599eec9101603d4be1ea4147
2016-12-28tdf#99589 tolower changed to rtl::toAsciiLowerCaseabdulwd1-1/+2
/home/abdul/libreoffice/setup_native/source/win32/wintools/msimsp/msimsp.c modified Change-Id: Ia7e111d0920ef7f456bc6f5f6536253da3842ccf Reviewed-on: https://gerrit.libreoffice.org/32462 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2016-12-20Fix an annoying comma spliceAdolfo Jayme Barrientos1-1/+1
Change-Id: I9b93b981105339b1db176d6031ccf46149a6d27a
2016-12-02tdf#90753: AutoInstall setup_native packagesMatúš Kukan2-21/+7
Change-Id: Iecf059b974b996fceb57b04197c7dac9b7c8dd47
2016-12-02fix display of DMG background on Mac OS X SierraChristian Lohmaier1-0/+0
Change-Id: Ib553e085337972f74857db0aad9bc885712d5ea3 Reviewed-on: https://gerrit.libreoffice.org/29788 Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com> Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>
2016-11-23tdf#103922: Add Tibetan (bo) dictionaryAron Budea2-0/+16
Change-Id: Ief1a83bb87d03e46a3d3fa7702ab852401d3ed89 Reviewed-on: https://gerrit.libreoffice.org/31089 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Andras Timar <andras.timar@collabora.com>
2016-11-07typo: modul -> moduleAndras Timar2-2/+2
Change-Id: I2839bb336358c4653b018c383440fb91b0b4e0ca Reviewed-on: https://gerrit.libreoffice.org/30657 Reviewed-by: Andras Timar <andras.timar@collabora.com> Tested-by: Andras Timar <andras.timar@collabora.com>
2016-11-07fix description of 'ooofonts' packageAndras Timar2-2/+2
Change-Id: I918505c42bab14cf0ab94574893e064ddea85b66 Reviewed-on: https://gerrit.libreoffice.org/30656 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
2016-10-16clang-cl loplugin: setup_nativeStephan Bergmann13-94/+97
Change-Id: I424164d19ba59697d39b3a3888ec2f743a3a832c Reviewed-on: https://gerrit.libreoffice.org/29853 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2016-10-13LoadLibraryEx returns null on errorStephan Bergmann1-2/+2
Returning <= HINSTANCE_ERROR (aka 32) on error was apparently a feature of LoadLibrary in 16-bit Windows 3 times. Change-Id: Idf9fbd84ac1fadb67449968b65cd5e8e391a39f2 Reviewed-on: https://gerrit.libreoffice.org/29752 Reviewed-by: Stephan Bergmann <sbergman@redhat.com> Tested-by: Stephan Bergmann <sbergman@redhat.com>
2016-10-02cppcheck invalidPrintfArgTypeJochen Nitschke1-2/+2
signedness and long vs int corrections Change-Id: I67c6b9e05b16f5d8d4693879f1656db50dc7ec48 Reviewed-on: https://gerrit.libreoffice.org/29355 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Jochen Nitschke <j.nitschke+logerrit@ok.de>
2016-09-21tdf#92266 better language selection in Windows installerAndras Timar1-1/+6
It won't select 'kok' when we have 'ko', 'sid' when we have 'si', but language variants will fall back, e.g. en_ZW -> en. Change-Id: Ie417b6be664d5148829d2f7280e20653f84bc7a3 Reviewed-on: https://gerrit.libreoffice.org/28744 Reviewed-by: Andras Timar <andras.timar@collabora.com> Tested-by: Andras Timar <andras.timar@collabora.com>
2016-09-21fix en-US language selection logicAndras Timar1-1/+1
Change-Id: I60a90e310bd60c97f4d135a4740928c6e19d3ebc Reviewed-on: https://gerrit.libreoffice.org/28743 Reviewed-by: Andras Timar <andras.timar@collabora.com> Tested-by: Andras Timar <andras.timar@collabora.com>
2016-09-13chmod 644 some source filesStephan Bergmann1-0/+0
Change-Id: Icd8821278635c1bd27b5185cddf5dc25dfba7eb4
2016-09-08Remove obsolete OxygenOffice bitsGabor Kelemen3-267/+0
Since 77104ccd7658cb8f3ac142ea9f7fabc15fc08580 the OxygenOffice distro configs are removed and no other official distro uses these. Change-Id: I2b4d5fea7e4b9098ac88733821af219db23c48fe Reviewed-on: https://gerrit.libreoffice.org/28738 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Andras Timar <andras.timar@collabora.com>
2016-07-04Fix some spelling errors in comments and stringsOtto Kekäläinen1-1/+1
Change-Id: Iecd6b5e13d6be14651f77d8e37f01117ba15a11e Reviewed-on: https://gerrit.libreoffice.org/26883 Reviewed-by: jan iversen <jani@documentfoundation.org> Tested-by: jan iversen <jani@documentfoundation.org>
2016-06-20tdf#89657 sign Mac languagepack installer and force-start-close LOChristian Lohmaier2-1/+9
starting LO once satisfies Gatekeeper's verification, even when the langaugepack's content are added afterwards Change-Id: Ie548df39a7ec07cc485c40148e4ca75101346798
2016-06-07Work towards tdf#72606 EasyHack _tstring/TCHAR eliminationskswales3-64/+64
Functions suffixed with A/W (ANSI/Wide) as needed for clarity This completes the _tstring/TCHAR/TEXT elimination for setup_native/ Change-Id: I66292fd490a09f75b8691274255ba41870074065 Reviewed-on: https://gerrit.libreoffice.org/25771 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>
2016-05-30Work towards tdf#72606 EasyHack _tstring/TCHAR eliminationskswales9-360/+191
setup_native/source/win32/customactions/shellextensions in MSI Installer compiled as UNICODE Functions suffixed with A/W (ANSI/Wide) as needed for clarity Change-Id: I711f781b47c0efdb1e3d9bf995f7658dbb0e38d1 Reviewed-on: https://gerrit.libreoffice.org/25556 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>
2016-05-25-Werror,-Wunused-macrosStephan Bergmann2-2/+0
Change-Id: I321a9e2e51a70517ee344d311eb200540f01a979
2016-05-25-Werror,-Wunused-macrosStephan Bergmann1-1/+0
Change-Id: Ie0684d80740d592ea01546eea36a13c03b9eec4b
2016-05-24Work towards tdf#72606 EasyHack _tstring/TCHAR eliminationskswales2-11/+11
win32/customactions/sellang use A/W suffixed functions as appropriate Change-Id: Ic609a6dfb8033585cd2043a77985578abfdae893 Reviewed-on: https://gerrit.libreoffice.org/25167 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>
2016-05-24Work towards tdf#72606 EasyHack _tstring/TCHAR eliminationskswales5-55/+55
Quickstarter removal code in MSI Installer compiled as UNICODE Functions suffixed with A/W (ANSI/Wide) as needed for clarity Change-Id: I50aa27a753542fc0ddf002f385de78ba106b17ab Reviewed-on: https://gerrit.libreoffice.org/25153 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>
2016-05-24Work towards tdf#72606skswales2-26/+28
EasyHack _tstring/TCHAR elimination These were already compiled UNICODE - changes for clarity and consistency Change-Id: I846063ddf37af80b3a8787b45d97215e1770c0f3 Reviewed-on: https://gerrit.libreoffice.org/24859 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>
2016-05-09Work towards tdf#72606 EasyHack _tstring/TCHAR eliminationskswales1-37/+31
Built and tested Windows MSI installer Change-Id: Id49f7df80e01aaa608fe80687002f44d22bd3200 Reviewed-on: https://gerrit.libreoffice.org/24707 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2016-03-31use SAL_N_ELEMENTS more widelyNoel Grandin2-3/+3
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-09tdf#82335 Register Libreoffice for Kingsoft file typesJaskaran1-4/+10
Registered LO for Kingsoft document , spreadsheet, presentation and their template types. Change-Id: If2b9f428b22f6d104c5ffe699f5264a22b814a0e Reviewed-on: https://gerrit.libreoffice.org/23037 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2016-02-29scp2: move scp2 classification package to AutoInstallMiklos Vajna1-15/+0
Change-Id: I59afb2302b7fe891a83ca5ce7b12eca322bb7ed7
2016-02-22sfx2 classification: include example XML in the instsetMiklos Vajna1-0/+15
Change-Id: I23c0227ee304a6b756ff3d474866609d95e6a071
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>