summaryrefslogtreecommitdiffstats
path: root/setup_native/source
Commit message (Collapse)AuthorAgeFilesLines
* loplugin:includeform: setup_native (Windows)Stephan Bergmann2017-10-273-3/+3
| | | | Change-Id: I58cae555a303a8657955ceec08065e8b440bdad4
* Add Albanian (sq) dictionaryAron Budea2017-10-242-0/+16
| | | | | | | Change-Id: I18b166ae8e08b4509154c2ba035d3e9811e947ec Reviewed-on: https://gerrit.libreoffice.org/43707 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Andras Timar <andras.timar@collabora.com>
* Drop check for Windows versions we don't supportMike Kaganski2017-09-291-30/+2
| | | | | | | | | | | | | | | | | | Since we dropped support of Vista and below in master toward 6.0, those checks are needless. Removing the code that only worked in older versions, and streamlining the resulting code. Also, use kernel32.dll version for Windows version, instead of deprecated GetVersionEx, and inconvenient VersionHelpers. Since both GetVersion(Ex) and VersionHelpers (based on VerifyVersionInfo) are subject to manifest-based behavior since Windows 8.1, this move will hopefully result in more reliable OS version detection. Change-Id: I3edd8fc1843e64b6a65bd3a126be6a085511f13c Reviewed-on: https://gerrit.libreoffice.org/42905 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com> Tested-by: Mike Kaganski <mike.kaganski@collabora.com>
* Fix syntax errorsStephan Bergmann2017-09-291-2/+2
| | | | | | ...that are apparently accepted by MSVC, but not by clang-cl Change-Id: I2a11bdc709b9711d9d93d24dcb5957121fcf9efb
* setup_native: use more Unicode in MSI custom actionsMike Kaganski2017-09-2811-266/+228
| | | | | | | Change-Id: Id47ea566c9cf508116216625fe00013e8326b165 Reviewed-on: https://gerrit.libreoffice.org/42839 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
* Windows: avoid dependence on UNICODE define; prefer W functionsMike Kaganski2017-09-224-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>
* Use even more WIN32_LEAN_AND_MEANMike Kaganski2017-09-181-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>
* Use more WIN32_LEAN_AND_MEANMike Kaganski2017-09-162-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>
* loplugin:constparams: setup_native (clang-cl)Stephan Bergmann2017-08-311-1/+1
| | | | Change-Id: I36331a6caf560c7622f72c2fafa968522f44f5e9
* migrate to boost::gettextCaolán McNamara2017-07-211-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
* tdf#108928 - Branding for 6.0Heiko Tietze2017-07-041-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>
* tdf#106359: register .iqy in MSI and treat them as templatesMike Kaganski2017-04-061-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>
* typo fixAndras Timar2017-04-041-1/+1
| | | | Change-Id: Ic8a62b0e241f740d3f1352fe48c8405570bfc61a
* Drop some ooo2gd extension packaging bitsGabor Kelemen2017-02-221-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>
* AutoInstall oox filter data packages to ooo moduleMatúš Kukan2017-02-131-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>
* Remove MinGW supportStephan Bergmann2017-02-107-1893/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* loplugin:externvar (clang-cl)Stephan Bergmann2017-01-111-6/+6
| | | | Change-Id: Iebf83ccfb9e7128fd328a548ce77cdee4ef7ca4b
* Revert "tdf#99589 tolower changed to rtl::toAsciiLowerCase"Julien Nabet2017-01-021-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>
* Bump copyright year to 2017Adolfo Jayme Barrientos2017-01-017-86/+86
| | | | Change-Id: I26ddcdd7bb9616c0599eec9101603d4be1ea4147
* tdf#99589 tolower changed to rtl::toAsciiLowerCaseabdulwd2016-12-281-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>
* Fix an annoying comma spliceAdolfo Jayme Barrientos2016-12-201-1/+1
| | | | Change-Id: I9b93b981105339b1db176d6031ccf46149a6d27a
* fix display of DMG background on Mac OS X SierraChristian Lohmaier2016-12-021-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>
* tdf#103922: Add Tibetan (bo) dictionaryAron Budea2016-11-232-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>
* typo: modul -> moduleAndras Timar2016-11-072-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>
* fix description of 'ooofonts' packageAndras Timar2016-11-072-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>
* clang-cl loplugin: setup_nativeStephan Bergmann2016-10-1613-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>
* LoadLibraryEx returns null on errorStephan Bergmann2016-10-131-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>
* cppcheck invalidPrintfArgTypeJochen Nitschke2016-10-021-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>
* tdf#92266 better language selection in Windows installerAndras Timar2016-09-211-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>
* fix en-US language selection logicAndras Timar2016-09-211-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>
* chmod 644 some source filesStephan Bergmann2016-09-131-0/+0
| | | | Change-Id: Icd8821278635c1bd27b5185cddf5dc25dfba7eb4
* Remove obsolete OxygenOffice bitsGabor Kelemen2016-09-083-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>
* tdf#89657 sign Mac languagepack installer and force-start-close LOChristian Lohmaier2016-06-201-1/+1
| | | | | | | starting LO once satisfies Gatekeeper's verification, even when the langaugepack's content are added afterwards Change-Id: Ie548df39a7ec07cc485c40148e4ca75101346798
* Work towards tdf#72606 EasyHack _tstring/TCHAR eliminationskswales2016-06-073-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>
* Work towards tdf#72606 EasyHack _tstring/TCHAR eliminationskswales2016-05-308-360/+189
| | | | | | | | | | | 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>
* -Werror,-Wunused-macrosStephan Bergmann2016-05-252-2/+0
| | | | Change-Id: I321a9e2e51a70517ee344d311eb200540f01a979
* -Werror,-Wunused-macrosStephan Bergmann2016-05-251-1/+0
| | | | Change-Id: Ie0684d80740d592ea01546eea36a13c03b9eec4b
* Work towards tdf#72606 EasyHack _tstring/TCHAR eliminationskswales2016-05-242-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>
* Work towards tdf#72606 EasyHack _tstring/TCHAR eliminationskswales2016-05-244-55/+53
| | | | | | | | | | | 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>
* Work towards tdf#72606skswales2016-05-242-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>
* Work towards tdf#72606 EasyHack _tstring/TCHAR eliminationskswales2016-05-091-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>
* use SAL_N_ELEMENTS more widelyNoel Grandin2016-03-312-3/+3
| | | | | | | found using git grep -n 'sizeof.*/.*sizeof.*[0]' Change-Id: Icd4a6cc1ca8ec8ebd68e1701a02789c74cf0eb2a
* use SAL_N_ELEMENTS in for loopsNoel Grandin2016-03-311-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>
* tdf#82335 Register Libreoffice for Kingsoft file typesJaskaran2016-03-091-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>
* scp2: move scp2 classification package to AutoInstallMiklos Vajna2016-02-291-15/+0
| | | | Change-Id: I59afb2302b7fe891a83ca5ce7b12eca322bb7ed7
* sfx2 classification: include example XML in the instsetMiklos Vajna2016-02-221-0/+15
| | | | Change-Id: I23c0227ee304a6b756ff3d474866609d95e6a071
* Remove excess newlinesChris Sherlock2016-02-091-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>
* lokdocview: Add scp files for selection handle PNGsPranav Kant2016-01-191-0/+14
| | | | | | | Change-Id: I4d3eab1f16751a1b3f24a995e3d28322fd2f510b Reviewed-on: https://gerrit.libreoffice.org/21606 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> Tested-by: Miklos Vajna <vmiklos@collabora.co.uk>
* Bump copyright year to 2016Adolfo Jayme Barrientos2016-01-087-86/+86
| | | | Change-Id: Ifbd88aa55d5aa32a7b8dc11d7ac0310d0ef1e5d1
* cppcheck: fix memleak in win32/wintools/msidb/msidb.cJulien Nabet2015-12-131-9/+67
| | | | | | | Change-Id: I60ce0dbb26a75b49a50a982214d7adfb7ab833a0 Reviewed-on: https://gerrit.libreoffice.org/20679 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Julien Nabet <serval2412@yahoo.fr>