summaryrefslogtreecommitdiffstats
path: root/odk
Commit message (Collapse)AuthorAgeFilesLines
* single source file for licensing info with conditional textTamas Bunth2019-06-151-3/+5
| | | | | | | | | | | | | | ... for easier maintenance. This commit only introduces the framework. Follow up commits will update the license file. Advantages: * single source, multiple outputs (html, txt) * conditional text, i.e. output will not include license terms of components that are not configured in the build Change-Id: I0ffad41119228a0a26fd1b6ce19930ca6085adb2 Reviewed-on: https://gerrit.libreoffice.org/69396 Tested-by: Jenkins Reviewed-by: Andras Timar <andras.timar@collabora.com>
* odk: CustomTarget_build-examples hard-codes on "gcc" and "g++"Michael Stahl2019-01-301-0/+1
| | | | | | | | | | | | | ... so it fails if these aren't available; instead use the C++ compiler of the LO build system. Change-Id: I8a95d1865c481dc0a790d6fec6ff9fae8284d76d Reviewed-on: https://gerrit.libreoffice.org/67078 Reviewed-by: Stephan Bergmann <sbergman@redhat.com> Tested-by: Jenkins (cherry picked from commit b05484224df74709edf654901d1da299c168e344) Reviewed-on: https://gerrit.libreoffice.org/67112 Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
* Fix build with recent jdk 11.0.2Fridrich Štrba2019-01-281-1/+1
| | | | | | | | | Change-Id: I0ee68e087e3973b6a148f9bfefc16581606d6568 Reviewed-on: https://gerrit.libreoffice.org/66898 Tested-by: Jenkins Reviewed-by: Rene Engelhard <rene@debian.org> Tested-by: Rene Engelhard <rene@debian.org> Reviewed-by: Michael Stahl <Michael.Stahl@cib.de>
* Bump copyright year to 2019Adolfo Jayme Barrientos2019-01-086-6/+6
| | | | | | | | Change-Id: I0d49ec7db57a0f7d18489dad61e86cbfdf4418cd (cherry picked from commit 588dc2808c79da714cc107548631a65a7ddfe5d0) Reviewed-on: https://gerrit.libreoffice.org/65957 Tested-by: Jenkins Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
* Fix typosAndrea Gelmini2018-11-051-1/+1
| | | | | | | Change-Id: Id5489f3e8f1d3ced3d57b56f8d3a7a4818af0fca Reviewed-on: https://gerrit.libreoffice.org/62377 Reviewed-by: Julien Nabet <serval2412@yahoo.fr> Tested-by: Jenkins
* Java 11 no longer synthesizes DocumentView$1.classStephan Bergmann2018-10-211-2/+1
| | | | | | | | | | ...so, for simplicity, just include whatever generated DocumentView$*.class by wildcard Change-Id: I779e2709c8ef2859d68233300302dd62dbe2455f Reviewed-on: https://gerrit.libreoffice.org/62073 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
* Restore explicit _WIN32_WINVER in the ODK exampleJan-Marek Glogowski2018-10-111-0/+3
| | | | | | | Change-Id: I01855c37955dcae13dbb3c6f028d4030dc48945a Reviewed-on: https://gerrit.libreoffice.org/61657 Reviewed-by: Stephan Bergmann <sbergman@redhat.com> Tested-by: Jenkins
* Drop duplicate WINVER and _WIN32_WINNT definesJan-Marek Glogowski2018-10-111-3/+0
| | | | | | | | | | | Just keep the definition of _WIN32_WINNT in windows.mk, which claims it automatically derivates WINVER in some sdk header. Change-Id: I0a83e91ffdc9e0fc847433a92a45424fbfcb189c Reviewed-on: https://gerrit.libreoffice.org/61631 Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com> Tested-by: Jenkins Reviewed-by: Jan-Marek Glogowski <glogow@fbihome.de>
* Add some colour to a sample odt fileTor Lillqvist2018-10-021-0/+0
| | | | Change-Id: If4dc6458d9c5fb3b574c1bb55196a5086aff3365
* Fix toogle->toggleAndrea Gelmini2018-09-281-3/+3
| | | | | | | | | It passed "make check" on Linux Change-Id: Id25a7893e536a579cef58f63e8ec7ce240ad16fb Reviewed-on: https://gerrit.libreoffice.org/60633 Tested-by: Jenkins Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
* loplugin:external (clang-cl)Stephan Bergmann2018-09-241-5/+5
| | | | | | | | | | | | | | | | | | | | | | Including: * expanding STDAPI to its definition (as per <https://msdn.microsoft.com/library/ms686631(vs.85).aspx> "STDAPI"), to add __declspec(dllexport) into its middle, in extensions/source/activex/so_activex.cxx; as discussed in the comments at <https://gerrit.libreoffice.org/#/c/60691/> "Get rid of Windows .def files in setup_native, use __declspec(dllexport)", having a function both listed in a .def file EXPORTS and marking it dllexport is OK, and the latter helps the heuristics of loplugin:external; however, the relevant functions in extensions/source/activex/so_activex.cxx probably don't even need to be exported in the first place? * follow-up loplugin:salcall in sal/osl/w32/file-impl.hxx Change-Id: Ida6e17eba19cfa3d7e5c72dda57409005c0a0191 Reviewed-on: https://gerrit.libreoffice.org/60938 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
* Get rid of redundant odk/source/unowinreg/win/unowinreg.defStephan Bergmann2018-09-212-12/+0
| | | | | | | | | | | | ...similar to 28b4f4aeaf160c7721dfecf5bd2445d7dbc6f01c "Get rid of Windows .def files in setup_native, use __declspec(dllexport)". And JNIEXPORT (with which the listed functions are decorated in odk/source/unowinreg/win/unowinreg.cxx) already implies __declspec(dllexport). Change-Id: I45fd1d50cd3b072d124002e469c70eb1d6ed7610 Reviewed-on: https://gerrit.libreoffice.org/60819 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
* New loplugin:externalStephan Bergmann2018-09-171-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ...warning about (for now only) functions and variables with external linkage that likely don't need it. The problems with moving entities into unnamed namespacs and breaking ADL (as alluded to in comments in compilerplugins/clang/external.cxx) are illustrated by the fact that while struct S1 { int f() { return 0; } }; int f(S1 s) { return s.f(); } namespace N { struct S2: S1 { int f() { return 1; } }; int f(S2 s) { return s.f(); } } int main() { return f(N::S2()); } returns 1, both moving just the struct S2 into an nunnamed namespace, struct S1 { int f() { return 0; } }; int f(S1 s) { return s.f(); } namespace N { namespace { struct S2: S1 { int f() { return 1; } }; } int f(S2 s) { return s.f(); } } int main() { return f(N::S2()); } as well as moving just the function f overload into an unnamed namespace, struct S1 { int f() { return 0; } }; int f(S1 s) { return s.f(); } namespace N { struct S2: S1 { int f() { return 1; } }; namespace { int f(S2 s) { return s.f(); } } } int main() { return f(N::S2()); } would each change the program to return 0 instead. Change-Id: I4d09f7ac5e8f9bcd6e6bde4712608444b642265c Reviewed-on: https://gerrit.libreoffice.org/60539 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
* SDK: fix image URLs in docsAndras Timar2018-09-151-52/+52
| | | | | | | Change-Id: I2cac00a6da5602e4edbf9f6ca440f3a350e8dea7 Reviewed-on: https://gerrit.libreoffice.org/60540 Reviewed-by: Andras Timar <andras.timar@collabora.com> Tested-by: Andras Timar <andras.timar@collabora.com>
* tdf#42949 Fix IWYU warnings in include/cppuhelper/*Gabor Kelemen2018-09-103-0/+6
| | | | | | | | | | Found with bin/find-unneeded-includes Only removal proposals are dealt with here. Change-Id: Ib420e9216b8313f5ed7634ec375e39ceb741fd45 Reviewed-on: https://gerrit.libreoffice.org/59297 Tested-by: Jenkins Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
* Fix typosAndrea Gelmini2018-08-292-5/+5
| | | | | | | | Change-Id: I6ca53ead2b125618d0aceff05d5fdfa374662799 Reviewed-on: https://gerrit.libreoffice.org/58809 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
* Fix typosAndrea Gelmini2018-07-231-2/+2
| | | | | | | Change-Id: If0d8f4033d9bc20f521d33d732fb349f0df5eeef Reviewed-on: https://gerrit.libreoffice.org/57822 Reviewed-by: Julien Nabet <serval2412@yahoo.fr> Tested-by: Jenkins
* Fix typosAndrea Gelmini2018-07-221-1/+1
| | | | | | | Change-Id: I2715bcbaf642fd24d61f61dbf4e978e06afbf102 Reviewed-on: https://gerrit.libreoffice.org/57824 Tested-by: Jenkins Reviewed-by: Jens Carl <j.carl43@gmx.de>
* Fix typosAndrea Gelmini2018-07-221-1/+1
| | | | | | | Change-Id: I326827c394347cbe9fad242e9da5702cba7a4d95 Reviewed-on: https://gerrit.libreoffice.org/57761 Tested-by: Jenkins Reviewed-by: Jens Carl <j.carl43@gmx.de>
* Fix typosAndrea Gelmini2018-05-271-1/+1
| | | | | | | Change-Id: I907e5dbcd7c62344c2c76fe2fdaf1b18ecfecee1 Reviewed-on: https://gerrit.libreoffice.org/54838 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
* Fix typosAndrea Gelmini2018-05-051-2/+2
| | | | | | | Change-Id: I92078fdece135754744d85424956dbb071f3899e Reviewed-on: https://gerrit.libreoffice.org/53638 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
* Fix typosAndrea Gelmini2018-05-021-4/+4
| | | | | | | Change-Id: I56bd1a7ac204f4302261e46d0b8c5dd62c4b6df9 Reviewed-on: https://gerrit.libreoffice.org/53624 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Bartosz Kosiorek <gang65@poczta.onet.pl>
* Fix quotingStephan Bergmann2018-04-301-4/+4
| | | | | | | ...broken with d3fd9d026592a7c180f2abf763c618624fe016e7 "split odk/build-examples Java tests out into a build-examples_java test" Change-Id: I0bc403e76969bf636a9ba76a7cd40cb895fc3000
* build-examples_common.mk: add mode lines and license headerRene Engelhard2018-04-301-0/+11
| | | | Change-Id: I61db4968af4770817606da0c9c2d0622d7db4812
* add a second argument to the odk_build-examples_test "template"Rene Engelhard2018-04-273-4/+4
| | | | | | | | | | ... as two times my_example_dirs (probably) runs into the same "global variable" issue like with testname= Change-Id: I40dcff8e1e01c0cf557143432003bd9d8787bce1 Reviewed-on: https://gerrit.libreoffice.org/53553 Reviewed-by: Michael Stahl <Michael.Stahl@cib.de> Tested-by: Jenkins <ci@libreoffice.org>
* build-examples_common.mk: quote gb_Output_announce to not announce it to earlyRene Engelhard2018-04-271-2/+2
| | | | | | | Change-Id: I2f515b0647db020179374c66b8ff756e250665b2 Reviewed-on: https://gerrit.libreoffice.org/53559 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Rene Engelhard <rene@debian.org>
* fix buildRene Engelhard2018-04-254-27/+25
| | | | | | | | Change-Id: If2315987d2447b1a44f3e62384f03d2621be7106 Reviewed-on: https://gerrit.libreoffice.org/53455 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Rene Engelhard <rene@debian.org>
* move $(eval $(call gb_CustomTarget_CustomTarget back to build_examples*.mkRene Engelhard2018-04-253-5/+8
| | | | | | ... since otherwise gbuild doesn't understand it and (e.g.) make odk.clean fails Change-Id: Ie6098bcf1ff99ee1a5df5fd5219d3b3c82075f71
* include build-examples_common.mk with full pathRene Engelhard2018-04-242-2/+2
| | | | Change-Id: Ia8a541b3d1e1f27c493ba371d970bfff3a893ae2
* split odk/build-examples Java tests out into a build-examples_java testRene Engelhard2018-04-244-101/+118
| | | | | | | ... since archs with the "Zero VM" take loooong otherwise and eventually gets killed after 150 minutes of "inactivity" (no output) Change-Id: If421378920c791fdc5d165cc452bdd40e136c8d1
* Fix typosAndrea Gelmini2018-04-161-3/+3
| | | | | | | Change-Id: Ife28cd9399cfcb375bad764dac7424eda50d430d Reviewed-on: https://gerrit.libreoffice.org/52198 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
* use https links for api.libreoffice.org and opengrokdennisroczek2018-04-024-8/+8
| | | | | | | Change-Id: I74dd0142562cb8698f19b2715fa1d514f82bd749 Reviewed-on: https://gerrit.libreoffice.org/52262 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
* Typos concerning hierarchyJulien Nabet2018-03-171-1/+1
| | | | | | | Change-Id: Ied3c6d1513f2181a5f7da2904a0df2f806146cec Reviewed-on: https://gerrit.libreoffice.org/51465 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
* Change ODK example to use Graphic property instead of GraphicURLTomaž Vajngerl2018-03-131-3/+17
| | | | | | | Change-Id: I0a8b518a62c35da52008668c6e8cc7d0fd74e1d4 Reviewed-on: https://gerrit.libreoffice.org/51105 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
* Fix typosAndrea Gelmini2018-03-061-1/+1
| | | | | | | Change-Id: I005023337dbe593e0ac1d76f7b10848d24f314a5 Reviewed-on: https://gerrit.libreoffice.org/50785 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
* Adding props to extensible group must use op "replace" (or "fuse")Stephan Bergmann2018-02-161-1/+1
| | | | | | | Change-Id: Ic0101b4baee78096d9ee3b2a6a086a7e808d4d1e Reviewed-on: https://gerrit.libreoffice.org/49862 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
* PopupMenu template doesn't have Target/ImageIdentifier propertiesStephan Bergmann2018-02-163-18/+0
| | | | | | | Change-Id: Ic36f4c6fcf657a7a10e4872856cbb7fc1928c3eb Reviewed-on: https://gerrit.libreoffice.org/49861 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
* Start each run of CustomTarget_odk/build-examples with a clean slateStephan Bergmann2018-02-161-0/+1
| | | | | | | Change-Id: Icf6a12254b32c6fcdb7e9cbe1057c73907cf3005 Reviewed-on: https://gerrit.libreoffice.org/49860 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
* odk: MSVC: pragma warning: make more specific, remove obsoleteMike Kaganski2018-02-012-12/+0
| | | | | | | Change-Id: Ie5957edb3954507505a7df9fad9f8da6b87b09d0 Reviewed-on: https://gerrit.libreoffice.org/49038 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
* Fix typosAndrea Gelmini2018-01-291-1/+1
| | | | | | | Change-Id: Ie4c8076dc48bc02af9308fbf20972df598306dbf Reviewed-on: https://gerrit.libreoffice.org/48834 Reviewed-by: Julien Nabet <serval2412@yahoo.fr> Tested-by: Julien Nabet <serval2412@yahoo.fr>
* Fix typosAndrea Gelmini2018-01-261-1/+1
| | | | | | | Change-Id: I334f0bd5636940ea8105dcf93b95b3af28894aad Reviewed-on: https://gerrit.libreoffice.org/48546 Reviewed-by: Julien Nabet <serval2412@yahoo.fr> Tested-by: Julien Nabet <serval2412@yahoo.fr>
* Fix typosAndrea Gelmini2018-01-251-1/+1
| | | | | | | Change-Id: Ieef0e3f21eb12cb5b72d39da4bc0a8c60dd0d5ce Reviewed-on: https://gerrit.libreoffice.org/48545 Reviewed-by: Julien Nabet <serval2412@yahoo.fr> Tested-by: Julien Nabet <serval2412@yahoo.fr>
* Fix typosAndrea Gelmini2018-01-251-1/+1
| | | | | | | Change-Id: I13acf050d83099be8874514688936bb4ddbb1a26 Reviewed-on: https://gerrit.libreoffice.org/48543 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
* Fix typosAndrea Gelmini2018-01-171-1/+1
| | | | | | | Change-Id: I5fff9ccb1bc74b85ee378439ffa2272583ffcb0f Reviewed-on: https://gerrit.libreoffice.org/48024 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>
* Fix typosAndrea Gelmini2018-01-163-9/+9
| | | | | | | Change-Id: I078626eaa3155cc429320cc8c1532003b382b22a Reviewed-on: https://gerrit.libreoffice.org/47855 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
* Fix typosAndrea Gelmini2018-01-145-8/+8
| | | | | | | Change-Id: I2a578961837076ebce3c1fb2681b0785d1d490ac Reviewed-on: https://gerrit.libreoffice.org/47857 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
* Typo: syles->stylesJulien Nabet2018-01-141-1/+1
| | | | | | | Change-Id: Ia93306eda5e09cc9cae62fc43c472d266ec03bfa Reviewed-on: https://gerrit.libreoffice.org/47846 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
* Bump copyright year to 2018Adolfo Jayme Barrientos2018-01-016-6/+6
| | | | Change-Id: Iabd06fbda15d2f83f6ee0cdd37b268910d380476
* Fix typosAndrea Gelmini2017-12-291-1/+1
| | | | | | | Change-Id: I3d16dc162e5fa2e08134d848a835eb392e64056e Reviewed-on: https://gerrit.libreoffice.org/47126 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
* Fix typosAndrea Gelmini2017-12-201-1/+1
| | | | | | | Change-Id: I6f0eb93ec654e629c8fbe761f000190ea9343103 Reviewed-on: https://gerrit.libreoffice.org/46824 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Julien Nabet <serval2412@yahoo.fr>