summaryrefslogtreecommitdiff
path: root/scp2
AgeCommit message (Collapse)AuthorFilesLines
2022-06-04ScriptForge - New 'UnitTest' service for BasicJean-Pierre Ledure1-0/+5
The "UnitTest" service is implemented as a new Basic library called 'SFUnitTests'. ScriptForge unit tests (SF_UnitTest class module) ====================== Class providing a framework to execute and check sets of unit tests. The UnitTest unit testing framework was originally inspired by unittest.py in Python and has a similar flavor as major unit testing frameworks in other languages. It supports - test automation - sharing of setupand shutdown code - aggregation of tests into collections. Both the - code describing the unit tests - code to be tested must be written exclusively in Basic (the code might call functions written in other languages). The code to be tested may be released as an extension. It does not need to make use of ScriptForge services. The test reporting device is the Console. Definitions: - Test Case: each test case is a Basic Sub. - Test Suite: a collection of test cases stored in 1 Basic module. - Unit test: a set of test suites stored in 1 library. Two modes: - the normal mode ("full mode"), using test suites and test cases The UnitTest service is passed as argument to each test case. - the "simple mode" limited to the use of the Assert...() methods. Service invocation examples: - In full mode, the service creation is external to test cases Dim myUnitTest As Variant myUnitTest = CreateScriptService("UnitTest", ThisComponent, "Tests") ' Test code is in the library "Tests" ' located in the current document - In simple mode, the service creation is internal to every test case Dim myUnitTest As Variant myUnitTest = CreateScriptService("UnitTest") With myUnitTest If Not .AssertTrue(...) Then ... ' ... .Dispose() End With Error handling To support the debugging of the tested code, the UnitTest service, in cases of - assertion failure - Basic run-time error in the tested code - Basic run-time error in the testing code (the unit tests) will comment the error location and description in a message box and in the console log, providing every test case (in either mode) implements an error handler containing at least a call to the ReportError() method. Change-Id: I9d9b889b148f172cd868af455493c8c696d1e953 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/135365 Tested-by: Jean-Pierre Ledure <jp@ledure.be> Tested-by: Jenkins Reviewed-by: Jean-Pierre Ledure <jp@ledure.be>
2022-05-18tdf#149106 Remove RenamePrgFolder and RemovePrgFolder custom msi actionsSamuel Mehrbrodt1-18/+0
This duplicates MSI functionality - if a folder cannot be written, MSI should request a reboot automatically. See https://bugs.documentfoundation.org/show_bug.cgi?id=149106#c17 for details. Change-Id: I65f295ff6e3bb22afc616feb2ba529413f3e24c0 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/134513 Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com> Reviewed-by: Samuel Mehrbrodt <samuel.mehrbrodt@allotropia.de> Tested-by: Jenkins
2022-04-26Drop unused LanguageTool extensionGabor Kelemen3-33/+0
Do not bundle LanguageTool which is at a 10 year old version (1.7) while upstream has a lot of new releases (now at version 5.5.x) It is not bundled by any downstream distributions so it makes no much sense to keep it integrated here. Change-Id: Icd2ef151b1b8d0252ffa3db0caaba576f2783fa9 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/133356 Tested-by: Jenkins Reviewed-by: Thorsten Behrens <thorsten.behrens@allotropia.de>
2022-04-26Drop unused CT2N extensionGabor Kelemen4-24/+0
It is not bundled by any downstream distributions so it makes no much sense to keep it integrated here. Change-Id: I80180e53e050b8b3cd1b173ef01b51e8d706f295 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/133355 Tested-by: Jenkins Reviewed-by: Thorsten Behrens <thorsten.behrens@allotropia.de>
2022-02-19Fix "Adding Central Kurdish(ckb) Spell Checker & Dictionary"Julien Nabet1-1/+1
Change-Id: I494c515e91ddcab469941ce04d08e9b11974ee7f Reviewed-on: https://gerrit.libreoffice.org/c/core/+/130169 Tested-by: Jenkins Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2022-02-14Adding Central Kurdish(ckb) Spell Checker & DictionaryOlivier Hallot3-0/+26
Part II (core) Dictionary packaging Based on https://gerrit.libreoffice.org/c/core/+/59882 Change-Id: Ib60553acf1764743918e666d4e6308c1976c6813 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/129120 Tested-by: Jenkins Reviewed-by: Eike Rathke <erack@redhat.com>
2022-01-31support for the WebP image format (tdf#114532)Luboš Luňák1-0/+1
This commit implements a WebP reader and writer for both lossless and lossy WebP, export dialog options for selecting lossless/lossy and quality for lossy, and various internal support for the format. Since writing WebP to e.g. ODT documents would make those images unreadable by previous versions with no WebP support, support for that is explicitly disabled in GraphicFilter, to be enabled somewhen later. Change-Id: I9b10f6da6faa78a0bb74415a92e9f163c14685f7 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/128920 Tested-by: Jenkins Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
2021-10-15ScriptForge - new SFWidgets library, new PopupMenu serviceJean-Pierre Ledure1-0/+5
The SFWidgets library is intended to host the Toolbar, ToolbarControl (both future) and PopupMenu services. A popup menu is usually triggered by a mouse action (typically a right-click) on a dialog, a form, or one of their controls. In these cases the menu will be displayed below the clicked area. When triggered by other events, including in the normal flow of a user script, the script should provide the coordinates of the topleft edge of the menu versus the actual component. The menu is described from top to bottom with next methods: AddItem() AddCheckBox() AddRadioButton() Example: .AddCheckBox("View>Toolbars>Dialog") .AddCheckBox("View>Toolbars>Find", Status := True) .AddCheckBox("View>Status Bar", Status := True) .AddItem("View>Full Screen", Name := "FULLSCREEN") The SubmenuCharacter (Default = ">") is modifiable. Each menu item receives a numeric and a string identifier. The execute() method returns the item selected by the user. The service is available both from Basic and Python user scripts. The commit includes the review of build files to include the new library and the new modules. Change-Id: I2940be25313cc8fff7b337766edd348b04a20584 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/123654 Tested-by: Jean-Pierre Ledure <jp@ledure.be> Tested-by: Jenkins Reviewed-by: Jean-Pierre Ledure <jp@ledure.be>
2021-08-23tdf#144031: fix description of STR_DESC_MODULE_LANGPACK_PT_BRJulien Nabet1-1/+1
Change-Id: If12d27fba3a13a1053ac4a0a1afb891f7c2c6069 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/120912 Tested-by: Jenkins Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2021-06-22configure: Improve help-options handlingJan-Marek Glogowski7-7/+7
This patch includes: * A README.help.md as a general documentation for the different help types, the LO code and help-related build options. * Adds --disable-xmlhelp for removing the xmlhelp support from the build. Disable for iOS, Android and Emscripten. This was partly included in HAVE_FEATURE_DESKTOP before. * Rename WITH_HELP define to WITH_HELPPACKS, which reflects the actual usage AFAIK. * Depend --with-omindex on --with-help=online and don't override the --with-help setting. Error out on conflicting options. * Depend --with-helppack-integration on build help variants, which actually result in help packs. Kind of reverts commit 2c38ea6d16b910294220cefaf8ae6a0683e6405a ("Building without --with-help is not supposed to disable help functionality"). Change-Id: Ie4cb73905b3ed94e991d9f1bd75cfbd6de9da385 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/116222 Tested-by: Jenkins Reviewed-by: Jan-Marek Glogowski <glogow@fbihome.de>
2021-04-27Add Mongolian dictionaryAndras Timar3-0/+26
Change-Id: I4613d2e5b77374cbc8fb72033b3dfcd8e2702712 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/114733 Tested-by: Jenkins Reviewed-by: Andras Timar <andras.timar@collabora.com>
2021-04-11Add Esperanto dictionariesAndras Timar3-0/+26
Change-Id: I22d73bb5a6e4d215dc35acdd4ded47d29882671e Reviewed-on: https://gerrit.libreoffice.org/c/core/+/113941 Tested-by: Jenkins Reviewed-by: Andras Timar <andras.timar@collabora.com>
2021-04-07Updated README.md files to represent current code / use Markdown formatHossein1-2/+2
Previously, all of the README files have been renamed to README.md and now, the contents of these files were changed to use Markdown format. Other than format inconsistency, some README.md files lacked information about modules, or were out of date. By using LibreOffice / OpenOffice wiki and other documentation websites, these files were updated. Now every README.md file has a title, and some description. The top-level README.md file is changed to add links to the modules. The result of processing the Markdown format README.md files can be seen at: https://docs.libreoffice.org/ Change-Id: Ic3b0c3c064a2498d6a435253b041df010cd7797a Reviewed-on: https://gerrit.libreoffice.org/c/core/+/113424 Tested-by: Jenkins Reviewed-by: Michael Stahl <michael.stahl@allotropia.de> Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
2021-03-24Using .md extension/Markdown syntax for modules READMEHossein1-0/+0
Renaming all README files for all top level modules to README.md, applying no content change at this stage to be able to track history of the files. These files should be edited to use correct Markdown syntax later. Change-Id: I542fa3f3d32072156f16eaad2211a397cc212665 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/112977 Tested-by: Jenkins Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
2021-01-24Switch http -> https also in scp2-based version ini-fileStephan Bergmann1-1/+1
ba69036c8e889237da4bb312d7c5c94066abbfd3 "Upgrade update check and extension URLs to https" had changed ExtensionUpdateURL only in the corresponding instdir/ version ini-file generated by instsetoo_native/CustomTarget_setup.mk. Change-Id: Ia6281fceec649495681051093ce744edbfe1d225 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/109823 Tested-by: Guilhem Moulin <guilhem@libreoffice.org> Tested-by: Jenkins Reviewed-by: Guilhem Moulin <guilhem@libreoffice.org>
2021-01-24Switch ridl.jar -> libreoffice.jar also in scp2-based fundamental ini-fileStephan Bergmann1-1/+1
35518c92365cc183ba6cce2a4d284a130c0ca13f "Move all public Java classes to libreoffice.jar" had changed URE_MORE_JAVA_TYPES only in the corresponding instdir/ fundamental ini-file generated by instsetoo_native/CustomTarget_setup.mk. Change-Id: I76c65b4f2fc5088b1b9bb1c0976d895b963108b6 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/109822 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2021-01-19add --disable-librelogo to disable LibreLogo at build timeMichael Stahl2-3/+8
Annoyingly the packinfo_*.txt don't support conditionals but we can work-around that with a little duplication. Change-Id: Id00a6831effcc63a917fc21d2cd201474fdb559d Reviewed-on: https://gerrit.libreoffice.org/c/core/+/109569 Tested-by: Jenkins Reviewed-by: Michael Stahl <michael.stahl@allotropia.de>
2020-12-17package Korean(ko-KR) dictionaries into installsetDaeHyun Sung3-0/+26
Change-Id: I30cc4bdf4283cefb5985dc5380e2db5660d7d6e5 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/106840 Tested-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com> Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
2020-11-07ScriptForge - Update build filesJean-Pierre Ledure1-0/+20
modified: Repository.mk modified: desktop/CppunitTest_desktop_lib.mk modified: scp2/source/ooo/directory_ooo.scp modified: wizards/Module_wizards.mk modified: wizards/source/configshare/dialog.xlc modified: wizards/source/configshare/script.xlc Change-Id: Ia2c905179f3c1784a1bd31fcca7340e65c5ce27a Reviewed-on: https://gerrit.libreoffice.org/c/core/+/105410 Tested-by: Jean-Pierre Ledure <jp@ledure.be> Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com> Reviewed-by: Jean-Pierre Ledure <jp@ledure.be>
2020-09-17cli_ure: Disable .NET for Windows Arm64 buildJan-Marek Glogowski2-9/+2
The current .NET 5.0 Arm64 preview doesn't have a mscoree.lib, so linking the climaker isn't possible. Change-Id: Ibbac88aa465a9ca2eb8fb0efaad91d20f358229b Reviewed-on: https://gerrit.libreoffice.org/c/core/+/102858 Tested-by: Jenkins Reviewed-by: Jan-Marek Glogowski <glogow@fbihome.de>
2020-09-12Try fix multiple assignments of gidsMike Kaganski4-4/+10
************************************************ WARNING: multiple assignments of gids: ************************************************ GID: gid_Dir_Shlxthdl Assignments: 2 Change-Id: I4c2f53d8b996fc750465219f320fd8538a4d23f4 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/102494 Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2020-08-19Remove BuildVersion from installation set version ini filesStephan Bergmann1-9/+0
...after 5fdf2009d21fa220dfee70ea755bd698c16257a7 "tdf#134522 remove --with-build-version ./configure flag" had already removed it from the instdir/ version ini file (but apparently forgot to also remove it from installation set version ini files) and 00fa759dc9f13eb4618a7762be9ca6eaf3fd37f7 "tdf#135133: Don't try to read BuildVersion" removed its last consumer now Change-Id: I98fd71e218fc0ede74ebc1b2e649011616d559ad Reviewed-on: https://gerrit.libreoffice.org/c/core/+/100997 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2020-08-10tdf#135579: Don't uninstall vc_redist: make it permanentMike Kaganski1-0/+4
Redist is a system component, that includes a varying set of DLLs, and those DLLs are ref-counted. Installing a newer redist - i.e. updating and increasing refcount of existing DLLs - may add new DLLs (with initial refcount 1) in addition to the updated old DLLs that start depending on the newly added ones; at uninstall, the newly added DLLs may get removed because their refcount gets 0, while other redist DLLs are kept at the updated levels - so their dependencies now are not met, and redist gets broken. Just mark the redist components permanent, which, according to [1], "registers an extra system client for the component in the Windows Installer registry settings". A downside is that uninstall doesn't restore the original system state ideally. [1] https://docs.microsoft.com/en-us/windows/win32/msi/component-table Change-Id: I3fe82bcb5844f826f5b1df622273b4e3a1e3c436 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/100426 Tested-by: Mike Kaganski <mike.kaganski@collabora.com> Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2020-07-02Add Turkish (tr) dictionaryMuhammet Kara3-0/+26
Change-Id: Ibc1e7505e6a7492f4d0714c848a6d1eebcdf4a0a Reviewed-on: https://gerrit.libreoffice.org/c/core/+/97661 Tested-by: Jenkins Reviewed-by: Andras Timar <andras.timar@collabora.com>
2020-06-24add Central Kurdish (ckb) language packChristian Lohmaier1-0/+6
Change-Id: I007edc0e339bd9cfd8caf95ecc954628d450664f
2020-05-13macOS: don't hardcode LibreOffice in SDK directory, use $PRODUCTNAMEChristian Lohmaier1-1/+1
so that it will use LibreOfficeDev when not using --enable-release-build Change-Id: I60794ababce11355659d483197ce8b0193d375b4 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/93817 Tested-by: Jenkins Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
2020-04-23Drop Macromedia Flash export filterGabor Kelemen1-6/+0
Flash technology is going to be retired by the end of 2020 by Adobe: https://theblog.adobe.com/adobe-flash-update/ With this ahead doesn't make much sense for LO 7.0 to support exporting presentations and drawings to swf anymore. Change-Id: Ic2c6e95db2f56bcd4eb25abdd0a6748aee9b0e4c Reviewed-on: https://gerrit.libreoffice.org/c/core/+/92507 Tested-by: Jenkins Reviewed-by: Heiko Tietze <heiko.tietze@documentfoundation.org> Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
2020-04-04tdf#131786 Remove Arrow Galleryandreas kainz1-1/+0
Change-Id: I82536295fcfd6afa3a61aa3726eb7019a3d2cbde Reviewed-on: https://gerrit.libreoffice.org/c/core/+/91690 Tested-by: Jenkins Reviewed-by: andreas_kainz <kainz.a@gmail.com>
2020-04-04tdf#131787 Remove Diagramm Galleryandreas kainz1-1/+0
Change-Id: I3ded18ed9c929ce7fc415f32af426a11d7a90d6a Reviewed-on: https://gerrit.libreoffice.org/c/core/+/91689 Tested-by: Jenkins Reviewed-by: andreas_kainz <kainz.a@gmail.com>
2020-04-04tdf#131796 Remove Symbols Galleryandreas kainz1-1/+0
Change-Id: Ia835ee18df1fe2141f018fb282c97d72bc315950 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/91688 Tested-by: Jenkins Reviewed-by: andreas_kainz <kainz.a@gmail.com>
2020-04-04tdf#131782 Remove Text Shape Galleryandreas kainz1-1/+0
Change-Id: I25c089c81ce039c19e4937600c41e52dd6c4013c Reviewed-on: https://gerrit.libreoffice.org/c/core/+/91686 Tested-by: Jenkins Reviewed-by: andreas_kainz <kainz.a@gmail.com>
2020-04-04tdf#131792 Remove People galleryandreas kainz1-1/+0
Change-Id: I352879b2a0dd814b5d614c0cf6fc4513dcf6e326 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/91683 Tested-by: Jenkins Reviewed-by: andreas_kainz <kainz.a@gmail.com>
2020-04-04tdf#131780 Remove Transportation galleryandreas kainz1-1/+0
Change-Id: I74098444b2c9afbc54e6bf78fa61bc9f30852fa9 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/91681 Tested-by: Jenkins Reviewed-by: andreas_kainz <kainz.a@gmail.com>
2020-04-04tdf#131790 Remove Finance galleryandreas kainz1-1/+0
Change-Id: I35ea3b9aeae1b1bbd11aaf327f2d2db8ee8de6f9 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/91675 Tested-by: Jenkins Reviewed-by: andreas_kainz <kainz.a@gmail.com>
2020-04-04tdf#131789 Remove Environment galleryandreas kainz1-1/+0
Change-Id: I3ed3c2be50457b1ace70f62c23e4495483c80bf1 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/91674 Tested-by: Jenkins Reviewed-by: andreas_kainz <kainz.a@gmail.com>
2020-04-03tdf#131789 Remove Environment gallery will be available as extensionandreas kainz1-1/+0
Change-Id: Ifb27b0999450b0af1659aea14d50b721712c23db Reviewed-on: https://gerrit.libreoffice.org/c/core/+/91662 Tested-by: Jenkins Reviewed-by: andreas_kainz <kainz.a@gmail.com>
2020-04-03Revert "tdf#131224 update bullets and numbering images"Heiko Tietze1-2/+0
This reverts commit 51d78ecd2c0ef0e5b8d44f8ab211e4435f6efeb0. Reason for revert: Breaks Android Change-Id: Id5194ef837bf0f12f2164a070b73379d45d73a62 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/91402 Tested-by: Jenkins Reviewed-by: Heiko Tietze <heiko.tietze@documentfoundation.org>
2020-04-02tdf#131308 Gallery: Remove Computer Galleryandreas kainz1-1/+0
Change-Id: I3205f630d61b86c71a8554432295a9e56c1623a4 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/91492 Tested-by: Jenkins Reviewed-by: andreas_kainz <kainz.a@gmail.com>
2020-03-29tdf#131224 update bullets and numbering imagesandreas kainz1-0/+2
* New bullets added as ordinary gallery * makefile not within the WITH_GALLERY_BUILD switch because Bullets & Numbering rely on these images Change-Id: Iaa2f58129b80bd468baaabd2c495557f053fc59e Reviewed-on: https://gerrit.libreoffice.org/c/core/+/90185 Tested-by: Jenkins Reviewed-by: andreas_kainz <kainz.a@gmail.com>
2020-03-14Revert "Resolves tdf#99675: Add BPMN images to the gallery"Heiko Tietze1-1/+0
This reverts commit 2e74fdc559eb1b7bab1a6661203400017f93b234. Reason for revert: Does not work Change-Id: I8014d2d046385a795777208330e2a6af1b9f5222 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/90395 Tested-by: Jenkins Reviewed-by: Heiko Tietze <heiko.tietze@documentfoundation.org>
2020-03-12Resolves tdf#99675: Add BPMN images to the galleryandreas kainz1-0/+1
Sources provided at the bugzilla ticket Change-Id: Ibef652980f307272278722d85322db81d3682c0a Reviewed-on: https://gerrit.libreoffice.org/c/core/+/77480 Tested-by: Heiko Tietze <heiko.tietze@documentfoundation.org> Reviewed-by: Heiko Tietze <heiko.tietze@documentfoundation.org>
2020-02-28add Friulian (fur) language packChristian Lohmaier1-0/+6
Change-Id: Idfcc1bf39360b49bbe1303317acc841f97d37f43
2020-02-04tdf#117331 Merge jurt and unoil into ridlSamuel Mehrbrodt1-1/+1
jurt.jar and unoil.jar are kept as effectively empty jars, each with a Class-Path: ridl.jar in their meta-inf/manifest.mf, so that 3rd-party code loading them (with or without also loading ridl.jar) will still have access to their content. Conceptually, the UNOIDL entities in unoil.jar (corresponding to module offapi) are not part of the URE, but are now made available by URE's ridl.jar. This should probably not cause problems in practice. At least for now, we seal exactly those packages in ridl.jar that were originally sealed in jurt.jar. Ideally, all of ridl.jar could be sealed now, but that would be mildly incompatible, as it would prevent 3rd-party code from introducing additional UNOIDL entities in the relevant namespaces (even if that is something we do not want 3rd-party code to do anyway). However, some JunitTest_jurt_* define classes in those sealed packages. In the past they got away with that by using gb_JunitTest_use_jar_classset,*,jurt. Instead they now need to gb_JunitTest_use_jar_classset,*,ridl and drop the gb_JunitTest_use_jar,*,ridl. But the former only makes available the classes that are specified in ridljar/Jar_ridl.mk with gb_Jar_add_sourcefiles, not the UNOIDL entities specified via gb_Jar_add_packagedirs. But the tests need the udkapi UNOIDL entities, so introduce gb_JunitTest_add_classpath to let the tests get them explicitly. (Curiously, JunitTest_jurt_uno and JnitTest_jurt_util use gb_JunitTest_use_jar_classset,*,jurt but don't seem to acutally need it; lets leave that for a follow-up clean up.) As a follow-up clean up, relevant files could be moved from jurt/ to ridljar/. Change-Id: I836f4e7bb47fb41f1306e3f223da90dba988eb9a Co-authored-by: Stephan Bergmann <sbergman@redhat.com> Reviewed-on: https://gerrit.libreoffice.org/c/core/+/84946 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2020-01-13Merge both x64 and x86 CRT merge modules into x64 MSIMike Kaganski1-39/+16
... because it contains x86 binaries in addition to x64: e.g., twain32shim, spsupp_x86. The opposite (inclusion of x64 MSM into x86 MSI) is not possible ( see https://stackoverflow.com/questions/58181986 ), so do it just for x64 MSI. And fix inclusion of CRT MSMs in VS2019, which were detected in configure.ac, but not used in scp2/source/ooo/vc_redist.scp. Change-Id: I3935fce751b1b6d04291fede6b82be25fe541582 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/86667 Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com> Tested-by: Mike Kaganski <mike.kaganski@collabora.com>
2020-01-12Make RunQuickstartAtFirstStart branding-dependent keyMike Kaganski1-1/+1
This should not be common to all installed branded flavors of LibreOffice. This is controlled by an installer option, and so should be specific to an installation. Change-Id: I88d30d947b6114f5a271286b226b0e22c171265a Reviewed-on: https://gerrit.libreoffice.org/c/core/+/86603 Tested-by: Jenkins Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de> Reviewed-by: Andras Timar <andras.timar@collabora.com>
2020-01-11Use registry key to track installed state of gm_SharePointSupport_SubstMSOMike Kaganski1-4/+15
Without that, after initial installation, the state of the feature is undefined, and following uninstallation can't define that it needs to be uninstalled, unregistering SharePoint.OpenDocuments class. Change-Id: Ib7455833fb397c332735eb4c8ab63f763b4e469b Reviewed-on: https://gerrit.libreoffice.org/c/core/+/86598 Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2020-01-09Register spsupp*.dll during installationMike Kaganski2-0/+59
This registers SharePoint integration libraries using regsvr.exe. Both 32-bit and 64-bit libraries are registered; registration of LOSPSupport.OpenDocuments is unconditional. This introduces a new hidden MSI feature, which is disabled for installation: gm_SharePointSupport_SubstMSO. When installed, it registers SharePoint.OpenDocuments class in registry, thus overriding registration of this component by MS Office, allowing LibreOffice to serve as MS Office replacement working in IE with SharePoint. To install the feature, either a transform is needed setting the feature's level <= 100, or a command line: msiexec path-to-msi ADDLOCAL=gm_SharePointSupport_SubstMSO Change-Id: I5517bbb68dcc6db8bcb2bbc2368394ee4a62d741 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/86452 Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2019-12-06tdf#126192 tdf#126030 (related) Package translations of ooxKelemen Gábor2-0/+2
Now that there are some available, new mo files need to be added to the installer. Tested with Spanish on Windows to work. Change-Id: Id70305fa5a674bc9e302aa6937a03c4573888da4 Reviewed-on: https://gerrit.libreoffice.org/84569 Tested-by: Jenkins Reviewed-by: Andras Timar <andras.timar@collabora.com>
2019-11-20tdf#127711 Fix msi-soffice.ini CrashDumpEnable-entryJuergen Funk1-1/+1
when the switch --disable-crashdump is set, then the switch "CrashDumpEnable" set to "false", was only in instdir/program/soffice.ini, but was not in soffice.ini in msi it was always true Change-Id: I2668c1425a776fdf5f0c4e4511c2216e8f418a5b Reviewed-on: https://gerrit.libreoffice.org/83171 Tested-by: Jenkins Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
2019-11-11User interface languages: At least one is requiredSamuel Mehrbrodt1-2/+2
Reported here: https://twitter.com/erez/status/1193838467668697089 Change-Id: I96fdb82646e6b2e49b6032766195309a97da0fba Reviewed-on: https://gerrit.libreoffice.org/82439 Tested-by: Jenkins Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>