summaryrefslogtreecommitdiff
path: root/bin
AgeCommit message (Collapse)Author
2017-07-21update lo-xlate-lang for "kurdish"/kurmanji, amharic and guaraniRene Engelhard
Change-Id: Ie433614e074da0034ed532ed4569ef3648e48267
2017-07-21migrate to boost::gettextCaolán McNamara
* 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-15emfplus: create a wmf/emf/emf+ primitive based importerArmin Le Grand
First steps to organize an importer that can read/interpret wmf/emf/emf+ and deliver a primitive representation for the content by parsing it. Use the same mechanisms as already applied for Svg, so to reuse abilities to keep original binary data to allow save again and embedding in files and have an implemented replacement bitmap based representation. For this, unify the used helper classes to handle more than just Svg. For 1st try, add test code and static bool switches Change-Id: I6e0a82943541d811a8f8d65a84115569fcd8cee7
2017-07-07drop findunusedcodeCaolán McNamara
Change-Id: If17801c57d8333322985e36f09a022d6c317ba6d Reviewed-on: https://gerrit.libreoffice.org/39663 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2017-07-05gbuild-to-ide: add VisualStudio visualizers file to solutionMike Kaganski
See https://msdn.microsoft.com/en-us/library/jj620914 Change-Id: Ibd18f1c36c46ea47c897542f35e3ea2a8bc0a8ac Reviewed-on: https://gerrit.libreoffice.org/39510 Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com> Tested-by: Jenkins <ci@libreoffice.org>
2017-07-02fix SDK paths (especially cat/sed) in bin/distro-install-sdkRene Engelhard
wonder how that ever worked. cat and sed are in /bin, not /usr/bin. Appparetly the BSDs have them there, though, so generalize though this is for distros and it probably shouldn't matter. Change-Id: I6efb3e92b8f8d15f3671090a3eaa9d8836f9998f Reviewed-on: https://gerrit.libreoffice.org/39276 Reviewed-by: Rene Engelhard <rene@debian.org> Tested-by: Rene Engelhard <rene@debian.org>
2017-06-28remove "vs2013" from gbuild-to-ideMichael Stahl
Too old to build master. Change-Id: I01636c9ae26ddb3954dcfdd1977551c0f115a81b
2017-06-27Ported bin/generate-bash-completion from Perl to PythonArkadiy Illarionov
Change-Id: Ie1b5cd0a1f64198f8e6362a02484055c5ae6b26e Reviewed-on: https://gerrit.libreoffice.org/39077 Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2017-06-22iwyu: add language standard defines to flagsJochen Nitschke
for some reason they are not set and cause parse warnings Change-Id: I1bbc14da8cd7f4cbde8e59934b6ace932245e2a1 Reviewed-on: https://gerrit.libreoffice.org/39093 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
2017-06-22update externals in bin/gen-iwyu-dummy-lib scriptJochen Nitschke
tde and mozilla externals are gone. breakpad, bzip2 and mDNSResponder are omitted. filter out 'orcus-parser\' line, 'orcus-parser' is still in iwyu_EXTERNALS Change-Id: Ida7155b8b00b651146c4307286e9eafbdadb5917 Reviewed-on: https://gerrit.libreoffice.org/39092 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>
2017-06-22reformat bin/gen-iwyu-dummy-lib scriptJochen Nitschke
no logic change intended. follow some shellcheck advises: use block for redirects to same file for better style (SC2129) double quote vars (SC2086) ignore false positive warnings SC1003 and SC2016 Change-Id: Ic3a01484d4d13c8d23662ee24c46b166ee006cd4 Reviewed-on: https://gerrit.libreoffice.org/39090 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>
2017-06-21White-list sw/Jens Carl
Change-Id: Ic4ca1753720d3806cc0fa9f517078dd5032d9e20 Reviewed-on: https://gerrit.libreoffice.org/39029 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>
2017-06-19Ported bin/find-unusedheaders.pl to PythonArkadiy Illarionov
Also fixed bug which prevented .cxx and .hxx files listing Change-Id: I67adc7c52ab5f2f1222e0756cd0087c8d9be102f Reviewed-on: https://gerrit.libreoffice.org/38640 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2017-06-17updater: expand ~ to $HOME in config path of uploader scriptMarkus Mohrhard
Change-Id: I8c5ce1a2c256fbaf046fbe73e5574d48cd3f3a7a
2017-06-13remove TDE integration (vclplug, address book, config backend)Michael Stahl
It has ~no users, can't even be built on modern Linuxes, and it annoys folks who want to refactor VCL. Per ESC decision from 2017-06-08, remove --enable-tde and --enable-tdeab. Change-Id: I51ce4786f29f8fcac2e2bb2a654c41fbfbbd8afd Reviewed-on: https://gerrit.libreoffice.org/38718 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>
2017-06-12Android tinderbox build breakerjan Iversen
add openssl library back for Android static link Change-Id: I7ac5c3f9c00060f926f03fb21d8fa5e87b928c71
2017-06-11undo touch of ANDROID buildjan Iversen
tinderbox had a problem with android build due to test message removed Change-Id: I2ab101dd037257be16eb2771f65e78794bad4489
2017-06-11allow build without tls and ssljan Iversen
support for using --disable-openssl AND --without-tls (needed if you want to avoid including crypto code). Change-Id: I77650e9db679ddf1690560eda069d8645acacfc4 Reviewed-on: https://gerrit.libreoffice.org/38604 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: jan iversen <jani@libreoffice.org>
2017-06-11support executables in vim-ide-integrationMarkus Mohrhard
Change-Id: Ib8827ff7ae00477269c7b47ec75ebdb41595d672
2017-06-06White-list svx.Michael Meeks
Change-Id: Idf3a17c7083e75ebd39887819bd230a913b8a0d5
2017-05-27fix construction of directory pathMarkus Mohrhard
Change-Id: I5fa7ce762ae7e429f685a52b0fed1a1f120da8dd
2017-05-19take the update server url from the configMarkus Mohrhard
Change-Id: I9960cbc0b0c9037a1c9cf0ef7a9699bb09ad054e
2017-05-19fix errors in upload scriptsMarkus Mohrhard
Change-Id: I0ee9fbef7b80e5d37800b4fb9daff7e8ba46d65d
2017-05-19integrate the partial update info into the uploaded infoMarkus Mohrhard
Change-Id: I1b6fc7970d3010c63ae910d55103efb504e15b53
2017-05-19use file instead of complete for the key of the partial update infoMarkus Mohrhard
Change-Id: Ifbb482a4fd9c1c92e9cdd7769d4b16160de14a86
2017-05-19add missing fileMarkus Mohrhard
Change-Id: I7cd9d541b90f4f6b38aa5e36e295e7677bb22f58
2017-05-19use the shared signing codeMarkus Mohrhard
Change-Id: Ica0fad83820569623f3cc2f0217ac9cd8ee19257
2017-05-19simplify path handling in the updater scriptsMarkus Mohrhard
Change-Id: Idcf7f9cedc2368f6a4e4e10c2852cc9b1125b712
2017-05-19create valid partial language updates and write partial update infoMarkus Mohrhard
Change-Id: I4000523cfc944657714267958836dd3ce4ec3b0d
2017-05-19extract the mar signing codeMarkus Mohrhard
Change-Id: I007b0b68a61242b7255a1a58a3637e3307d675aa
2017-05-19extract mar file name generationMarkus Mohrhard
Change-Id: If928cae4c722354d5c3e415e7cb8426a3a4412f7
2017-05-19reuse the new extract mar code for the partial update generationMarkus Mohrhard
Change-Id: Ie8c92472631034935e73e55c934ce128c7b6ecd2
2017-05-19ignore the precomplete file at least for nowMarkus Mohrhard
Change-Id: I997bdc38f705d7536a99a168815ece93dcf0c0de
2017-05-19add a script to extract and uncompress from a mar fileMarkus Mohrhard
Change-Id: I87c11b8f7d42bc438b88482a8dd3fd1512a06df8
2017-05-19remove the split functionality from the update creationMarkus Mohrhard
Change-Id: I036cabff089a2cf464c887ee78b702637cce08b0
2017-05-19start working on the creation of partial update filesMarkus Mohrhard
Change-Id: I13a70e0b12090a7e23529bc35240cefc13d17779
2017-05-19send the csrf token with the updater scriptsMarkus Mohrhard
Change-Id: Iad6953b8206ba02ca09069115e168230b27f72fe
2017-05-19handle signing errors much betterMarkus Mohrhard
Change-Id: I94be7b3626b9ac3389cba0bee640923adda0f118
2017-05-19error out if the path to the updater config is emptyMarkus Mohrhard
Change-Id: Ic199b15222836e096e32203d3458487fead6e3e1
2017-05-19add the manifest file to the mar fileMarkus Mohrhard
Change-Id: I3640d11dba5178cdd9bc49a4630f287b1775640e
2017-05-19make sure that the upload command succeedsMarkus Mohrhard
Change-Id: I18988f949082763a06d6d44175e977b8c6c37cdd
2017-05-19move most of the updater settings to ini fileMarkus Mohrhard
Also finally add the initial version of the upload scripts. Change-Id: I3ad5bcbeba60f0cf9700e5fe5001a24f162a3244
2017-05-19create complete and correct build_config files for the updaterMarkus Mohrhard
Change-Id: I4f6b7aecc24d42d6b248cb8d959aeab59af963c2
2017-05-19we only need the signed mar filesMarkus Mohrhard
Change-Id: Id40651ab3faa5eea68ba5437b2b3fa409b1aed93
2017-05-19improve the build system part for generating mar filesMarkus Mohrhard
Change-Id: If28cca535da20e4633ce025e39a967820eae6945
2017-05-19don't use MOZ_ prefixed env varsMarkus Mohrhard
Change-Id: I35e2321986f6372fc05f3183b8f74580c259f054
2017-05-19also include the platform into the build configMarkus Mohrhard
Change-Id: Ia586e813b33dde0e0b2468c54bed9471c03e8c5a
2017-05-19change of plans, we are not going to use balrogMarkus Mohrhard
Balrog makes a lot of assumptions about the Mozilla infrastructure that we can't clone. As an example the whole admin interface assumes an external authenication system, most likely LDAP. Also it would not support my plans for language pack and SDK handling. We will copy some of the ideas of Balrog but will need an own simple webservice for that. Change-Id: I2e31f3ef7887b19edcd248ddbd02a1965f71b3e3
2017-05-19use the new file based approach for the mar creationMarkus Mohrhard
Change-Id: Ie025709b76960b1dd850fbb2d1f114f7a413611a
2017-05-19add makefile part to generate mar file and update infoMarkus Mohrhard
We still need some parts for the partial update files but we already generate the build information and the complete mar file. Change-Id: I2ae0de0b83518bc3093848b66b6f3054ebd388e1