summaryrefslogtreecommitdiff
path: root/odk
AgeCommit message (Collapse)AuthorFilesLines
2017-12-12odk: fix 32-bit Linux build on 64-bit OSMichael Stahl1-0/+14
In this situation gcc/g++ will default to x86_64, so pass the "-m32" flag to produce x86 binaries. Change-Id: Ie31cd4240e353db606621cb03107ce03a74cfbef (cherry picked from commit 71d7532f59b6e87729617d6c91bf65f7364ac78a) Reviewed-on: https://gerrit.libreoffice.org/46260 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2017-11-21Fix typosAndrea Gelmini1-1/+1
Change-Id: I40b3a46d46f0586d086bdbe41876c088f8c1cb58 Reviewed-on: https://gerrit.libreoffice.org/45007 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Jens Carl <j.carl43@gmx.de>
2017-11-17Fix typosAndrea Gelmini1-1/+1
Change-Id: Idc648e4673cca1b1dec8c1f009d52cfa290508ff Reviewed-on: https://gerrit.libreoffice.org/44895 Reviewed-by: Julien Nabet <serval2412@yahoo.fr> Tested-by: Julien Nabet <serval2412@yahoo.fr>
2017-11-16Fix typosAndrea Gelmini3-3/+3
Change-Id: I7b6c699b46fb71c1f19b5e5548c22a11efe8b864 Reviewed-on: https://gerrit.libreoffice.org/44836 Reviewed-by: Julien Nabet <serval2412@yahoo.fr> Tested-by: Julien Nabet <serval2412@yahoo.fr>
2017-11-15Fix typosAndrea Gelmini1-1/+1
Change-Id: I8bdced3fa572074aedabdcfce841adf525ae8b81 Reviewed-on: https://gerrit.libreoffice.org/44710 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Mark Page <aptitude@btconnect.com>
2017-11-13odk: fix broken link to the Developer's GuideMuhammet Kara1-1/+1
Change-Id: I0ba8a017a0c9178cb185c9a44bcee36caaf145de Reviewed-on: https://gerrit.libreoffice.org/44692 Reviewed-by: Julien Nabet <serval2412@yahoo.fr> Tested-by: Julien Nabet <serval2412@yahoo.fr>
2017-11-13Fix typosAndrea Gelmini2-2/+2
Change-Id: I2a10e087a776ac96b3193226610577227d2492a8 Reviewed-on: https://gerrit.libreoffice.org/44655 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Mark Page <aptitude@btconnect.com>
2017-11-13Fix typosAndrea Gelmini1-3/+3
Change-Id: Ia544298334364ece3b3963a4adc00c5e01189b91 Reviewed-on: https://gerrit.libreoffice.org/44654 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Mark Page <aptitude@btconnect.com>
2017-11-08fix also odk/settings/settings.mk wrt Java 9 to find jawtRene Engelhard1-1/+1
since we can't use HAVE_JAVA= here since it's in a different environment and we don't know the Java version just do the -L. Doesn't do harm if Java has the "old" path Change-Id: I2f912c417597d3b14e570f362f2cfc2df5954108
2017-10-27loplugin:includeform: odk (Windows)Stephan Bergmann1-2/+2
Change-Id: I654aa2cf1175f91619b70c9257e88f7006b0c04c
2017-10-23loplugin:includeform: odkStephan Bergmann2-4/+4
Change-Id: Ic8ede7a0377d9ec4f360b63889e0ccf3c5dda93f
2017-10-11fix grammar / typos in German ODK exampledennisroczek3-106/+106
Change-Id: Iea4494d13bc201bba501302b08e81af21ca6083a Reviewed-on: https://gerrit.libreoffice.org/43327 Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com> Tested-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
2017-10-02Tone down excessive directional chars in Back/Next buttonsAdolfo Jayme Barrientos1-3/+3
This tiny inconsistency with other software has annoyed me for too long. Change-Id: Ieef8cdcf13f1cea0e414fbe086e45a4e05895467
2017-09-27cppuhelper_detail_findSofficePath: use Unicode on WindowsMike Kaganski2-126/+111
On Windows, UTF-8 is never current locale encoding; so using 8-bit strings will always fail for paths containing characters outside of current codepage. Also fix leaks caused by failing to release its result: previously it could return either result of getenv (that shouldn't get freed), or an allocated string, but never got freed; now the result is always allocated and properly freed. Change-Id: I8b255dea20040eec0572de2b34280749fe8f071c Reviewed-on: https://gerrit.libreoffice.org/42743 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2017-09-25Fix typosAndrea Gelmini1-1/+1
Change-Id: I879a52820d78d9151ef64dd21612379f617f66e2 Reviewed-on: https://gerrit.libreoffice.org/42726 Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com> Tested-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2017-09-19odk: document what doxygen means by "Protected Member" in IDLMichael Stahl1-0/+9
Interfaces and services that are marked as "optional" in IDL are deliberately tagged as "Protected" by doxygen, while everything else is "Public", so that in the inheritance diagrams dashed lines are drawn for "optional" bases and solid lines for non-optional bases. Unfortunately this also causes doxygen to produce the text "Protected Members", which appears hard to change, so just document it for now. Change-Id: Ice878981bac5bbb7a8a33a10f2b5f68c394e4340
2017-09-18Some more WIN32_LEAN_AND_MEANMike Kaganski2-0/+6
Change-Id: Iadb0ebb66809c192fb817b8c7cf2f8cdb4d0b874 Reviewed-on: https://gerrit.libreoffice.org/42419 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2017-09-06OSX fix ODK example builds with enabled SIPJan-Marek Glogowski1-1/+11
The "System Integrity Protection”, introduced in macOS El Capitan, strips DYLD_* environment variables from all calls of software in /bin and /usr/bin. As a workaround we copy the shell to a temporary file and use it in our "sub-make" calls to build the examples. Change-Id: I3f07492782d56e153e8fcdea605a042ec1898276 Reviewed-on: https://gerrit.libreoffice.org/41975 Reviewed-by: Stephan Bergmann <sbergman@redhat.com> Tested-by: Jenkins <ci@libreoffice.org>
2017-08-31Use vector and replace m_aBatchList by m_aBatchVectorJulien Nabet2-3/+3
Change-Id: I7c2c529eb78679f9733374bf0785773684c728c4 Reviewed-on: https://gerrit.libreoffice.org/41770 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2017-08-31loplugin:constparams: odk (clang-cl)Stephan Bergmann1-2/+2
Change-Id: I2daf0b0868d4bdfb412575b25dbe644e76607342
2017-08-17Fix typosAndrea Gelmini4-9/+9
Change-Id: Iaa9c0aea3ea1a239e378bd714ba335f91bb1faf3 Reviewed-on: https://gerrit.libreoffice.org/41194 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
2017-08-17odk: oops, typo "have have"Michael Stahl1-1/+1
Change-Id: I3ab67d22985c8023da9db78ee085db07835aa2bf
2017-08-17tdf#107785 odk: document where to download the SDKMichael Stahl1-2/+22
Change-Id: I56368bc7e75671f170cce2360ac093e43b629e66
2017-07-21migrate to boost::gettextCaolán McNamara1-1/+0
* 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-17use ifeq "$(SDK_AUTO_DEPLOYMENT)" "YES"Rene Engelhard1-1/+1
... instead of ifneq "$(SDK_AUTO_DEPLOYMENT)" "", as the variable is = NO if disabled Change-Id: I7dd2d165235f5cb7e55a8fed628ada71b04c7881
2017-06-16Still more tests to suppressStephan Bergmann1-0/+5
...that were missing from 3de594d3347ead24f3211714f0e0010c1434cdf2 "More tests to suppress (all .PHONY test targets should be covered now)" (and one wasn't even properly marked as .PHONY). Thanks to Rene for spotting. Change-Id: Ieed81a3999921bdfe9bca96c6002d8906b2ddfad
2017-06-12Fix unclear commentStephan Bergmann1-1/+1
...after 5312da481ea8e25f06a7a0b725001b40069af081 "Translate German comments and debug strings (leftovers in dirs j... to q...)" Change-Id: I4155abb0a2d3d58b92be6835b8e9de37d2a19cfd
2017-06-12Translate German comments and debug strings (leftovers in dirs j... to q...)Johnny_M1-2/+1
Translates all (leftovers) found using a custom regex, in directories not shown by /bin/find-german-comments and beginning with "j" to "q". Additionally: - A few spelling fixes Change-Id: I5abf71dde3efc0dbaad162c705c6dc17af50f6c1 Reviewed-on: https://gerrit.libreoffice.org/38613 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
2017-06-09odk settings.mk: add various missing JAVA_PROC_TYPE overrides for Linux archesRene Engelhard1-0/+24
... which were missing since ~ ever but now break the odk_build-examples test with /usr/bin/ld: cannot find -ljawt Change-Id: Ie504ce0c8e21c7d58f1b7e591505940a2f80a2ea
2017-06-09More tests to suppress (all .PHONY test targets should be covered now)Stephan Bergmann1-0/+4
Change-Id: Ib948547e5c177ac62506fc42a564368a8d31fa4e
2017-06-05typosJulien Nabet2-2/+2
Change-Id: I3a28b5ce7464de724799997234925533d45f6121 Reviewed-on: https://gerrit.libreoffice.org/38420 Reviewed-by: Julien Nabet <serval2412@yahoo.fr> Tested-by: Julien Nabet <serval2412@yahoo.fr>
2017-06-05Fix typosAndrea Gelmini1-1/+1
Change-Id: I9eb05432732a04e816946fbb13001df100a31f73 Reviewed-on: https://gerrit.libreoffice.org/38395 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2017-06-05spelling instanciate -> instantiateNoel Grandin6-8/+8
Change-Id: Ic1393da64328c0dc7e2860334b204139bf537d81 Reviewed-on: https://gerrit.libreoffice.org/38401 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-06-03odk: fix extremely stupid typoMichael Stahl2-4/+4
Better to delete Set than get. (regression from 83719c5d4a91222b8aa30fe1cc64b97eb) Change-Id: If4ba3982ad5391206641e56a7674a1dfe3bef646
2017-06-02odk: remove PackageSet_odk_headersMichael Stahl4-20/+4
This is quite confusing: the gb_Helper_register_packages_for_install odk_headers does not actually use the Package odk_headers, but the PackageSet odk_headers, because the name is the same and the PackageSet directory comes first in the search path. This means that the Package odk_headers_generated is installed despite there being no obvious reason why. The PackageSet doesn't provide much value here, so just remove it. Change-Id: I564f3b9fc6acaabe700328bc8c3db70c3b2de0cd
2017-05-09cleanup osl/diagnose.h includesJochen Nitschke6-6/+0
with command > git grep -l osl/diagnose.h *.cxx | xargs grep -L -w 'OSL_\w*' | xargs sed -i '/#include *\(<\|\"\)osl\/diagnose.h\(>\|\"\).*/d' headers need more work Change-Id: I906519ebbd47a04703b4fa5943b2f7abea7a97ab Reviewed-on: https://gerrit.libreoffice.org/37350 Tested-by: Jochen Nitschke <j.nitschke+logerrit@ok.de> Reviewed-by: Michael Stahl <mstahl@redhat.com>
2017-05-02Fix typosMuhammet Kara1-5/+5
Change-Id: Ib6a65c21916d808adfabb1c400937c4ebf12ce2d Reviewed-on: https://gerrit.libreoffice.org/37150 Reviewed-by: Cor Nouws <cor.nouws@documentfoundation.org> Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2017-04-21gbuild: Remove MSVC 2013 legacy codeDavid Ostrovsky3-4/+2
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-21remove unnecessary explicit linefeeds from end of SAL and OSL log callsNoel Grandin1-1/+1
Change-Id: I3fa363c8e76e6cfb297f4ec346e3f031c09d6fbf Reviewed-on: https://gerrit.libreoffice.org/36727 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-04-03tdf#39468 Translate German commentsJens Carl1-5/+4
Translate German comments and terms in UnoControls/, editeng/, filter/, odk/, reportdesign/, sd/, sfx2/, starmath/, svl/, svtools/, toolkit/, tools/, writerfilter/, and xmloff/. Change-Id: Ibc401a425ddfdf41e4e4a78600f3fbce8cfaa2b1 Reviewed-on: https://gerrit.libreoffice.org/35992 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>
2017-03-31fix typo: databse --> databasedennisroczek1-10/+10
Change-Id: I3ae198eb599a6b0db1be900a2c464ab7b4c20e89 Reviewed-on: https://gerrit.libreoffice.org/35236 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Julien Nabet <serval2412@yahoo.fr> Tested-by: Julien Nabet <serval2412@yahoo.fr>
2017-03-25Fix typosAndrea Gelmini10-10/+10
Change-Id: I14dca0d55c09187690dc1d94936c40b890ca5cea Reviewed-on: https://gerrit.libreoffice.org/35637 Reviewed-by: Julien Nabet <serval2412@yahoo.fr> Tested-by: Julien Nabet <serval2412@yahoo.fr>
2017-03-19TyposJulien Nabet1-1/+1
Change-Id: I13020539fe121151e884a90d72d47788fb3ae65c Reviewed-on: https://gerrit.libreoffice.org/35436 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2017-03-19Fix typosAndrea Gelmini3-4/+4
Change-Id: I5c89a47e658ae4ad2b0cdfcdb4988c4b79353085 Reviewed-on: https://gerrit.libreoffice.org/35413 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-03-12Fix typosAndrea Gelmini6-7/+7
Change-Id: I63da858b3f264cd099e60192633b44d362b6fad7 Reviewed-on: https://gerrit.libreoffice.org/35055 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2017-03-12fix typo: ambigous --> ambiguousdennisroczek1-1/+1
Change-Id: I4940fe7e51df19275ba42a572c7a7a35ac2079f4 Reviewed-on: https://gerrit.libreoffice.org/35090 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2017-03-07Force CustomTarget_build-examples into en-US localeStephan Bergmann1-1/+1
odk/examples/DevelopersGuide/Components/SimpleLicense/ builds an example extension with a license that needs to be accepted when the extension is installed. That's why odk/CustomTarget_build-examples.mk writes "yes" into stdin. Unfortunately, the expected acceptance string is localized, so running this in e.g. a Linux de_DE.UTF-8 locale fails. For Linux and macOS at least (which are the only platforms on which this test is currently enabled), it suffices to to set LC_ALL=C to force LO into its en-US locale. Change-Id: I1df0ea89400913ac3f1c90507721040119354727 Reviewed-on: https://gerrit.libreoffice.org/34951 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Jan-Marek Glogowski <glogow@fbihome.de> Tested-by: Jan-Marek Glogowski <glogow@fbihome.de>
2017-03-02Fix typosAndrea Gelmini6-10/+10
Change-Id: Ic6c41fbcc36c11a7528cde0986593a39c2d6738b Reviewed-on: https://gerrit.libreoffice.org/34803 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-02-22Fixed typos, HTML code cleanupMatthias Seidel2-5/+5
(cherry picked from commit b160330c34367bc355031a3850bb2910535049c4) Change-Id: I6fbcf51c1cd3112330cb39c04210a4bd6a4c73f8
2017-02-10Remove MinGW supportStephan Bergmann2-5/+4
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>