path: root/scp2/inc
AgeCommit message (Collapse)AuthorFilesLines
2020-09-12Try fix multiple assignments of gidsMike Kaganski1-2/+2
************************************************ WARNING: multiple assignments of gids: ************************************************ GID: gid_Dir_Shlxthdl Assignments: 2 Change-Id: I4c2f53d8b996fc750465219f320fd8538a4d23f4 Reviewed-on: Tested-by: Jenkins Reviewed-by: Mike Kaganski <>
2019-03-08Related tdf#111344: fix Bad token \text/x-ms-iqyJulien Nabet1-10/+0
Noticed this on console: cpp: <macro>:1 C:/BLP/core/scp2/source/calc/registryitem_calc.scp:1261 \ Bad token \text/x-ms-iqy produced by ## See Change-Id: If6b5b4ae90c1b0fb812a5e2cd87d17fc688d21c6 Reviewed-on: Reviewed-by: Julien Nabet <> Tested-by: Julien Nabet <>
2017-08-29remove some unused macro definitionsNoel Grandin1-8/+0
Change-Id: I253e5108161b932e3dc588b656e550bb9dc022b0 Reviewed-on: Tested-by: Jenkins <> Reviewed-by: Noel Grandin <>
2017-07-21migrate to boost::gettextCaolán McNamara1-4/+4
* 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 can continue to be used Change-Id: Ia2594a2672b7301d9c3421fdf31b6cfe7f3f8d0a
2017-06-06scp2: package 64-bit MSVC runtimes for explorer extensionsMichael Stahl1-0/+8
... and add BUILD_X64 conditional. Change-Id: Id512368dfd9dece583ead5aae1924db96f8a2a40 Reviewed-on: Tested-by: Jenkins <> Reviewed-by: Michael Stahl <>
2017-06-02scp2: remove all ComponentConditions that test Windows versionsMichael Stahl1-4/+1
Windows 7 (6.01) has all the features we want. Change-Id: I96356b2decb26af526bceda8081875d418f17274
2017-06-02scp2: move fonts to AutoInstallMichael Stahl1-20/+11
Add new PACKAGE_FILELIST_FONT The DONT_DELETE style has no effect for files. The FONT_WARN_IF_EXISTS style has no effect. Change-Id: Id062ada0a680341c01827e457b1166d625afe8cc
2017-06-02scp2: replace PACKAGE_FILELIST_DIR macro with SDK_PACKAGE_FILELISTMichael Stahl1-5/+8
Change-Id: I3632c618e385d3f9963637c26d94b8395d5b8cb5
2017-05-15tdf#100837: advertise app URL capabilitiesMike Kaganski1-0/+10
This is required to be able to use handlers when invoked from Office Web Apps (on Win7+) Change-Id: I242111ad365f5cb350b78b75300ddbe8b708b357 Reviewed-on: Tested-by: Jenkins <> Reviewed-by: Mike Kaganski <>
2017-05-02tdf#106359: missing leading dotMike Kaganski1-1/+1
Change-Id: Ibfcbeb0778d9000dad8097384d7f5c7d75be2252 Reviewed-on: Reviewed-by: Mike Kaganski <> Tested-by: Mike Kaganski <>
2017-04-25tdf#106359: register text/x-ms-iqy MediaType default extensionMike Kaganski1-0/+20
Change-Id: I63be77c4e148befa8f41086163ea2919b1e8baac Reviewed-on: Reviewed-by: Andras Timar <> Tested-by: Jenkins <>
2017-04-06tdf#106359: register .iqy in MSI and treat them as templatesMike Kaganski1-3/+6
Change-Id: I7ae94c7717fbea03d96c539e05eeb565bafefd9f Reviewed-on: Tested-by: Jenkins <> Reviewed-by: Mike Kaganski <>
2016-11-30tdf#90753: Autoinstall sdk packagesMatúš Kukan1-1/+5
Change-Id: I54de722335d443813cb4526716c0101a049db03f Reviewed-on: Tested-by: Jenkins <> Reviewed-by: Michael Stahl <>
2016-10-18tdf#100837: Register new URI handlers with installerMike Kaganski1-0/+45
This patch registers vnd.libreoffice.command unconditionally, and also registerd ms-word, ms-excel, ms-visio and ms-powerpoint handlers according to SELECT_WORD, SELECT_EXCEL, SELECT_VISIO, and SELECT_POWERPOINT properties (that are set in FileTypeDialog). This allows to use these URIs in e.g. SharePoint WebDAV integration Change-Id: I3231a15196858da77f1784a47f86f1729a6044bb Reviewed-on: Tested-by: Jenkins <> Reviewed-by: Mike Kaganski <>
2016-06-23tdf#97872 File association in Windows registryskswales1-8/+20
Fix for double backslashes in paths to programs in shell/open etc. registry entries for all non-native file types such as .doc that are mapped by installer to use scalc.exe/swriter.exe etc. Change-Id: Ice8033d4fee079c0fb6d8f84e00ebd784e85d135 Reviewed-on: Tested-by: Jenkins <> Reviewed-by: jan iversen <>
2016-04-22Fix typosAndrea Gelmini1-1/+1
Change-Id: Iea11112a1bf1ff934de0e355b9e81979aa1966a3 Reviewed-on: Tested-by: Jenkins <> Reviewed-by: jan iversen <>
2015-07-27inline a bunch of use-once macrosNoel Grandin1-8/+0
no point in having a macro unless it's actually going to reduce the number of lines of code Change-Id: Ic8760d6506cf272d7bd088f7b3b4dcbf288099fc
2015-07-27remove some unused definesNoel Grandin1-31/+0
Change-Id: Ib2d50e8c29ccbc5ffcb52cdff4ae3eaae9a62188 Reviewed-on: Reviewed-by: Noel Grandin <> Tested-by: Noel Grandin <>
2015-06-22scp2: add AutoInstall support for executables with COMPONENTCONDITIONMichael Stahl1-0/+9
Change-Id: I36f14d9ba08ab2473a555681b934b8b35cfa06b2
2014-12-03Fold URE: WindowsStephan Bergmann1-14/+3
...assuming the delayLoadHook in cli_ure/source/native/native_bootstrap.cxx is no longer necessary and loading of cppuhelper from the program dir cannot fail regardless in whatever scenario the cli_cppuhelper library itself is loaded. Change-Id: I13f32b327bca4cce9780864f5e57cdad3860afe5
2014-12-01Fold URE: Linux ure/share/misc/* -> program/Stephan Bergmann1-6/+0
...and remove now unused ure-link symlink Change-Id: Ic958432c1dad4fae213982d0af072187f151620b
2014-11-28Fold URE: Linux ure/share/java/* -> program/classes/Stephan Bergmann1-1/+2
Change-Id: I86864f832c0377d307cfa0b2c137f452e43797eb
2014-11-28Fold URE: Linux ure/lib/* -> program/Stephan Bergmann1-1/+1
The ../../../program/ links in the URE jar Class-Paths are a temporary kludge (and juh.jar had lacked adaption for Mac OS X). Change-Id: I2542d8a582866485dd61c05df3fc6b4b39a8403d
2014-11-28Fold URE: Linux ure/bin/* -> program/Stephan Bergmann1-0/+4
Change-Id: Id6cab518329829c22600f2a68b6b59abd04a564c
2014-10-29scp2: remove EXENAMEMichael Stahl1-2/+0
Change-Id: I045a65d4efbaf8fcb55318ffce4f8929e2fbbe15
2014-09-28Fix 64914e407ccac9 - #endif/#else mixupChris Sherlock1-1/+2
Change-Id: Ia99ae45e66984ac0d88b6e9b6ca4514cd68f9634
2014-09-27vs2012 express support.Norbert Thiebaud1-0/+14
vs2012 express does not have atl so one need to --disable-atl and --disable-activex but then the packaging still try to include a few _x64.dll that are not built. Change-Id: I88ca5b9d23febd5a714fb48321dde5424cafceb6
2014-09-25scp2: remove some very SPECIAL unused macrosMichael Stahl1-11/+0
Change-Id: I28f2f4bc3c43aac1faf8be35cf7ce89480487102
2014-09-09Make the "Mac-like" or "canonical" app bundle structure always used on OS XTor Lillqvist1-2/+2
In other words, only executable files go in the MacOS folder. Dynamic libraries and bundled frameworks (i.e., LibreOfficePython), and nothing else, go in the Frameworks folder, and all other files go in the Resources folder. Especially, note that Java class files and rc (.ini) files also go in Resources. Such an app bundle structure is what Apple strongly suggests one should use, and it has been hinted that future versions of code signing and/or Gatekeeper will require such a structure. There is still some ugliness thanks to traces of the historical separation of URE from "the office". Like there are two separate "unorc" files, one for URE, one for the LibreOffice application. IMHO, this should be cleaned up, but is probably controversial. (Eek! I now see there are actually *three* unorc files in the app bundle. Not intentional. Need to fix that later.) Change-Id: Idcf235038deb5b8e1d061734993e9f31869b7606
2014-08-17remove executable bitsThomas Arnhold1-0/+0
Change-Id: Iec785ae538de81325812b1e6fe33115789b39770
2014-08-15Fixes for the ENABLE_MACOSX_MACLIKE_APP_STRUCTURE caseTor Lillqvist1-2/+0
Change-Id: Ic3d27298264df9aa4e3e976fbca477106dbe180a
2014-08-02scp2: remove unused STD_LIB_FILE etc. macrosMichael Stahl1-18/+0
Change-Id: Ib6cf165019d72ba64b5111186ea3fdba076c69ba
2014-08-02scp2: move winexplorerext libs to AutoInstallMichael Stahl1-0/+17
Change-Id: I93d08ab46e401a2f37c9ad6e425e8014c7e05db1
2014-07-03fdo#77057 quick fix: do not touch KindMap for alien file typesAndras Timar1-4/+0
Change-Id: Iffc24dc7ce12de07660eadcf8a525e77856593e1
2014-05-27scp: remove unused STD_JAR_FILE, JARFILENAMEMichael Stahl1-10/+0
Change-Id: I7e78e45b66ea2b74268f4e4479ebb0259eba130c
2014-03-18scp2: move bsh to AutoInstallMichael Stahl1-0/+8
Change-Id: Ib030d8fc3bd7c3c38f8728c80414fde505b36537
2014-02-26Remove visual noise from scp2Alexander Wilms1-3/+3
Change-Id: Id333de870389e8b4a074aa07fb2d0af336c5062a Reviewed-on: Reviewed-by: Caolán McNamara <> Tested-by: Caolán McNamara <>
2014-02-26fdo#75526: argh missing semicolonMichael Stahl1-1/+1
Change-Id: I4cabdcd3d4d5e4a446a4784d7a657655a4fbdfdc
2014-02-26fdo#75526: sdk: install URE library symlinks / import libs againMichael Stahl1-0/+22
This is a bit involved because since the LinkTarget now creates the instdir/sdk/lib/* files itself a Package cannot be used; so convert the URE libraries to AutoInstall and add special handling for them to gb_Helper_register_libraries_for_install to create the necessary links in the "sdk" install-module. (regression from 70c35265f517ef372cb739d4cc64499abf57a838) Change-Id: Ia5467f3303d59f7f5f4a88adc22ceffb82a21ff1
2014-02-05scp2: stop cargo-culting DONT_OVERWRITE aroundMichael Stahl1-3/+3
There appears to be no usage of this Style in the installer Perl code in the git history. Change-Id: I137627505af5c7b33006437e83624b34ca2e3583
2014-02-04gbuild: add gb_Helper_register_packages_for_installMichael Stahl1-0/+7
Change-Id: I855a7e260a9ad05d655d121dbed97597b21187d2
2014-02-04scp2: move URE jars to AutoInstallMichael Stahl1-0/+8
Change-Id: I68c5f5ac015e8c5d8efd60921f38eb31c6f8088d
2014-02-04fdo#74495: gbuild: AutoInstall: add support for ComponentConditionMichael Stahl1-0/+7
... via new scp2 macro LIBO_LIB_FILE_COMPONENTCONDITION. (regression from 2feb756dd5ff486a3972cf676f6f1d07017bf0f6) Change-Id: I6ab30cc1c14c34bd7dc1325e3f98d972544e7eea
2013-12-06Zip .ui translations per UIConfig target.Matúš Kukan1-4/+4
Fix installer / scp2 to not ignore directory prefix in 'Name'. Change-Id: Ib319363c8be73a72029f1ba3833e518e15c55e29 Reviewed-on: Reviewed-by: David Tardon <> Tested-by: David Tardon <>
2013-09-22odk: remove Package_bin, instead auto-install executablesMichael Stahl1-0/+8
This is somewhat annoying since it requires re-introducing stupid directories in scp2, but if the executables should be put in INSTDIR directly then the Package_bin needs to go. Change-Id: I893694c7f9d4cb5b9ef8ec4a3d30e08536223740
2013-09-12installer: search files in INSTDIRMichael Stahl1-1/+1
INSTDIR has everything that will be installed anyway, so ideally the file search patch should only be INSTDIR + whatever is needed to get the Package file lists; especially WORKDIR seems inappropriate there. The exception is extension .oxt files which apparently are not in INSTDIR; not sure what to do about those. Change-Id: I2477c25ab9fcf953fae9c219e76c467e14729cda
2013-09-11FILELIST_DIR: gb_INSTROOT already cont. on OS XStephan Bergmann1-1/+1
Change-Id: I2753079ff532642c8fb1b43f02211197cdb2702a
2013-09-10gbuild: install .res files directly from workdirMatúš Kukan1-1/+1
Change-Id: I95e4f150c21f991f629530eebf19748c2768f856
2013-09-10kill VERSION_INDEPENDENT_COMP_IDAndras Timar1-2/+2
Version independent ComponentID in Component table of MSI means that the GUID is calculated from the Component name only, the PRODUCTVERSION is not concatenated to the name. Providing that name is constant in all versions, the resulting GUID would be the same e.g. for 4.0, 4.1, 4.2 etc. But what is it good for? Faster upgrades maybe? But name can also change, we did not pay attention to keep it constant. So in order to help scp2 cleanup, VERSION_INDEPENDENT_COMP_ID flag was obsoleted and removed. Change-Id: I8e1ee450524b02f07d0b0553f6b82d0321dbddcf
2013-08-31scp2: convert BINARYTABLE MSI CustomAction dlls to AutoInstallMichael Stahl1-0/+7
Second attempt, this time using a new type LIBO_LIB_FILE_BINARYTABLE in scp2/; for the resulting MSI file Orca lists the same files in "Binary" table now. Change-Id: I550ede75f16a46da9dd7377594aa28b7c06f0348