summaryrefslogtreecommitdiffstats
path: root/bean
Commit message (Collapse)AuthorAgeFilesLines
* @deprecated should be with @DeprecatedTomoyuki Kubota2019-05-273-0/+17
| | | | | | | | | | Without this patch, warnings will be given when LibreOffice is built with JDK9 or later. Change-Id: I7aa6e99ace2377fbdb7dd732949ce10d9bd9df58 Reviewed-on: https://gerrit.libreoffice.org/72947 Tested-by: Jenkins Reviewed-by: Michael Stahl <Michael.Stahl@cib.de>
* an uno -> a unoCaolán McNamara2019-05-103-3/+3
| | | | | | | | Change-Id: I538db88f8477dd2d2ad25c372928fec6c11d979d Reviewed-on: https://gerrit.libreoffice.org/72105 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
* an is used before a vowel soundCaolán McNamara2019-05-101-1/+1
| | | | | | | | | | not before vowels with a consonant sound so its a url not an url Change-Id: Ic27ff3bee67469284d460c31ced6f63cb3633db2 Reviewed-on: https://gerrit.libreoffice.org/72062 Reviewed-by: Jens Carl <j.carl43@gmx.de> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
* Fix typoAndrea Gelmini2019-04-201-4/+4
| | | | | | | Change-Id: Ib61a8a14923864757ed83e3914bcb4ac1aae6a22 Reviewed-on: https://gerrit.libreoffice.org/70991 Tested-by: Jenkins Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
* Fix typoAndrea Gelmini2019-04-091-2/+2
| | | | | | | Change-Id: Ifb1b63c27816c244d98fabfd97114c21c9e4ffa4 Reviewed-on: https://gerrit.libreoffice.org/70443 Tested-by: Jenkins Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
* Fix typoAndrea Gelmini2019-04-091-1/+1
| | | | | | | Change-Id: Ibc0b22ac1e3b58d91674822a2378703c681c6a7c Reviewed-on: https://gerrit.libreoffice.org/70445 Tested-by: Jenkins Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
* Fix typoAndrea Gelmini2019-04-091-3/+3
| | | | | | | Change-Id: Ia52e717551d50e57d59feba5709d6bf25e1dc1a2 Reviewed-on: https://gerrit.libreoffice.org/70441 Tested-by: Jenkins Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
* Fix typoAndrea Gelmini2019-04-091-1/+1
| | | | | | | Change-Id: Icabc8b356d18ee5381f7d43233341a9d8e42ef9c Reviewed-on: https://gerrit.libreoffice.org/70444 Tested-by: Jenkins Reviewed-by: Jens Carl <j.carl43@gmx.de>
* Fix typoAndrea Gelmini2019-01-281-2/+2
| | | | | | | Change-Id: If648e007a6db44e26021c12ac919d81ccceaa081 Reviewed-on: https://gerrit.libreoffice.org/66981 Tested-by: Jenkins Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
* Fix typosAndrea Gelmini2018-07-221-8/+8
| | | | | | | 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-181-1/+1
| | | | | | | Change-Id: I5195d13b351c0eebad1eae901f7ce8408a9e5c92 Reviewed-on: https://gerrit.libreoffice.org/57028 Tested-by: Jenkins Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
* Use https instead of httpGulsah Kose2018-04-161-1/+1
| | | | | | | | | | | Use "https://cgit.freedesktop.org/libreoffice/core" instead of "http://cgit.freedesktop.org/libreoffice/core" Change-Id: Ic7248eeb2a9452da7236eeee08414a77714dd234 Signed-off-by: Gulsah Kose <gulsah.1004@gmail.com> Reviewed-on: https://gerrit.libreoffice.org/52926 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
* bean: MSVC: pragma warning: make more specific, remove obsoleteMike Kaganski2018-01-311-7/+2
| | | | | | | Change-Id: Id575db58199f438e95d9c73778cc520c452e1a42 Reviewed-on: https://gerrit.libreoffice.org/48948 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
* Fix typosAndrea Gelmini2018-01-141-1/+1
| | | | | | | Change-Id: I2a578961837076ebce3c1fb2681b0785d1d490ac Reviewed-on: https://gerrit.libreoffice.org/47857 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
* Fix typosAndrea Gelmini2017-12-281-1/+1
| | | | | | | Change-Id: I0a8579406a70d2f63d96969c766e2a43d830ed6f Reviewed-on: https://gerrit.libreoffice.org/47114 Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com> Tested-by: Tamás Zolnai <tamas.zolnai@collabora.com>
* loplugin:includeform: bean (Windows)Stephan Bergmann2017-10-271-1/+1
| | | | Change-Id: Id35caf31499a437cba9ed3329920c560705be0cf
* loplugin:includeform: beanStephan Bergmann2017-10-231-5/+5
| | | | Change-Id: I3487839569e34552d8b6409b04ef842346c43f5c
* Use explicit function names for fooA/fooW WinAPI; prefer fooWMike Kaganski2017-09-301-5/+5
| | | | | | | | | | | | | | | | | | We should only use generic foo function name when it takes params that are also dependent on UNICODE define, like LoadCursor( nullptr, IDC_ARROW ) where IDC_ARROW is defined in MSVC headers synchronised with LoadCursor definition. We should always use Unicode API for any file paths operations, because otherwise we will get "?" for any character in path that is not in current non-unicode codepage, which will result in failed file operations. Change-Id: I3a7f453ca0f893002d8a9764318919709fd8b633 Reviewed-on: https://gerrit.libreoffice.org/42935 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
* Use even more WIN32_LEAN_AND_MEANMike Kaganski2017-09-181-0/+3
| | | | | | | Change-Id: I538fe5b41156366e0e87b3a93e58a3947afd18f5 Reviewed-on: https://gerrit.libreoffice.org/42398 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
* Typo about "document"Julien Nabet2017-08-201-1/+1
| | | | | | | Change-Id: Id12718b5b80b08f18fa9a0370c1991d94b2892ec Reviewed-on: https://gerrit.libreoffice.org/41353 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
* gbuild: Remove MSVC 2013 legacy codeDavid Ostrovsky2017-04-212-15/+0
| | | | | | | | | 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>
* Fix typosAndrea Gelmini2017-03-262-2/+2
| | | | | | | | Change-Id: Idbf0aa261b829e83d4c08a2e989a4ced871dc6de Reviewed-on: https://gerrit.libreoffice.org/35616 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Julien Nabet <serval2412@yahoo.fr> Tested-by: Julien Nabet <serval2412@yahoo.fr>
* clang-cl loplugin: beanStephan Bergmann2016-10-161-1/+1
| | | | | | | Change-Id: Iedaf2fc0c1e2cab446687c6c73cceb3c6b77e6e1 Reviewed-on: https://gerrit.libreoffice.org/29880 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
* Revert "Don't use the (win32) jawt_md.h as we don't have that when ↵Stephan Bergmann2016-10-141-23/+1
| | | | | | | | | | | | | cross-compiling" This reverts commit db57823374ee65b80cd53c5fd4234ad3bf6e287d, as it causes loplugin:externandnotdefined under clang-cl, and cross-compiling Windows on Linux seems a rather dead project for now. Change-Id: Ia7fd742385fa0d609007f70e5116a99729224f77 Reviewed-on: https://gerrit.libreoffice.org/29835 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
* Remove debug codeStephan Bergmann2016-05-021-1/+0
| | | | | | | ...that got introduced with c30b5d2a382162be94e6a6ac5d5794a074ebfaaa "cid#1358838 cid#1358839 cid#1358840 assert to avoid null pointer dereference" Change-Id: I50faaf291ac9059ee557d059393a97a0fcc397bf
* cid#1358838 cid#1358839 cid#1358840 assert to avoid null pointer dereferenceMiklos Vajna2016-04-291-0/+1
| | | | | | | Change-Id: I95f069cb3efa7137c9382c9d9eb6d1353471d28e Reviewed-on: https://gerrit.libreoffice.org/24498 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> Tested-by: Jenkins <ci@libreoffice.org>
* beans: if loading a library fails, show the reasonMiklos Vajna2016-04-271-2/+6
| | | | | | | | | | Don't do it for the MSVC libraries though, e.g. on my system loading msvcr70 fails, but the SDK example works without problems. Change-Id: I81bc0b64967e7abb74ca1fff7a2e4b4dbd75d5a5 Reviewed-on: https://gerrit.libreoffice.org/24432 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> Tested-by: Jenkins <ci@libreoffice.org>
* bean: fix the OfficeBean SDK exampleMiklos Vajna2016-04-251-1/+2
| | | | | | | | | | | | | | | | | | Regression from 26b4f5be815bc7c77deb3d38d23b51c9dea9fcd1 (java:use System.arrayCopy to copy arrays, 2015-06-09), as the old code used to handle the case when aArguments was null. How to reproduce: 1) Source the SDK environment. 2) cd instdir/sdk/examples/DevelopersGuide/OfficeBean/ 3) make OOoBeanViewer.run 4) Click new document... -> Text Document -> NullPointerException Change-Id: I5521c7fd200f6c74c5f2665f2e4a99f0d6abfeeb Reviewed-on: https://gerrit.libreoffice.org/24366 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> Tested-by: Jenkins <ci@libreoffice.org>
* neither doxygen nor javadoc make use of <type scope="…"> annotationsChristian Lohmaier2016-03-111-6/+6
| | | | | | | | even more so when they are invalid xml. Thus obsolete since the switch from autodoc to doxygen, see also https://lists.freedesktop.org/archives/libreoffice/2013-June/053077.html Change-Id: Ifc2ef7754eca70bf923a2f7e4a652a8d394c370b
* NoConnectionException is com.sun.star.comp.beans.NoConnectionExceptionChristian Lohmaier2016-03-111-2/+2
| | | | | | and not com.sun.star.lang.NoConnectionException Change-Id: Ie7b5a2aaa365fefeca1de470c18edc68c29e4a74
* javadoc is HTML 4, not xhtml or html5, so <br/> is not allowedChristian Lohmaier2016-03-111-4/+4
| | | | Change-Id: I0da91e0f6cb7fca09cb5ae08f6d3ef13829653d9
* coverity#1326333 Unguarded writeCaolán McNamara2016-03-041-1/+1
| | | | Change-Id: I94026a7b66a0cac01a1e42d8eee0ec7b4d5fc513
* Fix typosAndrea Gelmini2016-02-051-1/+1
| | | | | | | Change-Id: Ice72f8d9971e15dd6ef365e64cd567b8581a92d3 Reviewed-on: https://gerrit.libreoffice.org/21797 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
* officebeans: RVP no longer used, only local used nowChris Sherlock2016-02-052-6/+2
| | | | Change-Id: I5f09d25a6e267c793c469c08e8f7f46521fdcd49
* Fix typosAndrea Gelmini2016-01-052-2/+2
| | | | | | | Change-Id: I1b79005d9c4e32325b8dadcc4f805975d6bf2727 Reviewed-on: https://gerrit.libreoffice.org/21103 Reviewed-by: Andras Timar <andras.timar@collabora.com> Tested-by: Andras Timar <andras.timar@collabora.com>
* Add build toolchain to upload LibreOffice API to Maven CentralDavid Ostrovsky2015-12-033-14/+35
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Set up the toolchain to create sources and javadocs artifacts in addition to JARs created during the build. Use Buck build tool for that: [1]. This is a fork of Google's build tool Blaze, created by Xooglers at Facebook. This build tool (like Blaze itself) uses Python to write build files. Add needed tools and build files to install LibreOffice API artifacts to local Maven repository or deploy them to Maven Central. To build all needed artifacts LibreOffice must be built regularly with GNU make first. To build the rest of the API (sources and javadocs): $> buck build api To replace version number with upcoming release version: $> solenv/bin/version.py 5.1.0 To install the API to local Maven repository: $> buck build api_install To deploy the API to Maven Central: $> buck build api_deploy Detailed documentation is added to document the prerequisites and the workflow to upload LibreOffice API to Maven Central. * [1] https://buckbuild.com Change-Id: Ibdd552a01110836703bc069abe829b9921491cac Reviewed-on: https://gerrit.libreoffice.org/20343 Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de> Tested-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
* Expose metadata to deploy LibreOffice artifacts on Maven CentralDavid Ostrovsky2015-12-011-0/+44
| | | | | | | | | | | | | | | | | As outlined in the requirements to deploy the artifacts on Maven Central, the metdata must be provided: * Project Name, Description and URL * License Information * Developer Information * SCM Information [1] http://central.sonatype.org/pages/requirements.html Change-Id: I0bcd19a22d0e1a48f0faec0b414f816f7da5b318 Reviewed-on: https://gerrit.libreoffice.org/20315 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
* java: remove ((unnecessary)) parenthesesNoel Grandin2015-11-051-1/+1
| | | | Change-Id: I39fbe3a260c8dbfc203662c54eec4db064b88195
* java:avoid empty if statementsNoel Grandin2015-11-051-3/+0
| | | | Change-Id: I9c66dd5331f422d8d6271157fece2b346d8b3756
* coverity#1328488 DLS: Dead local storeCaolán McNamara2015-10-221-1/+1
| | | | Change-Id: Ief4b5909d40ee3c3c86f60eeb980591a3e8b230e
* coverity#1326431 Dereference null return valueCaolán McNamara2015-10-201-21/+13
| | | | Change-Id: Ib85b3e03d2a9ce6339cd2496e33cc09cff2b9952
* cid#1326334 Unguarded readNoel Grandin2015-10-161-17/+11
| | | | Change-Id: I8cfe2805f2b8c1ae23fa955a28ff9ec43f353e38
* coverity#1326731 Dm: Dubious method usedCaolán McNamara2015-10-151-2/+5
| | | | | | | | | | | and coverity#1326732 Dm: Dubious method used coverity#1326734 Dm: Dubious method used coverity#1326735 Dm: Dubious method used coverity#1326739 Dm: Dubious method used Change-Id: Id9d39decf7442b503079ebcfe8c881f0f2fe3eb3
* cid#1327023 to cid#1327077 SIC: Inner class could be made staticNoel Grandin2015-10-151-1/+1
| | | | Change-Id: I41f89c4feefe4e012d72c663ebb9bbcb4aa7f163
* cid#1326360 Data race conditionNoel Grandin2015-10-141-12/+13
| | | | Change-Id: Ie7af8c5e5d96b74faab18fd82355a0ab0ecc4f65
* cid#1326347 Check of thread-shared field evades lock acquisitionNoel Grandin2015-10-141-3/+3
| | | | Change-Id: Iaeb21e3a5798c817315f619e0c1c57bd0c37f175
* Fix typosAndrea Gelmini2015-10-021-1/+1
| | | | | | | Change-Id: I776c517ba87838c0c3391f79010a30fa7fe2abd3 Reviewed-on: https://gerrit.libreoffice.org/18939 Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
* Fix typosAndrea Gelmini2015-07-081-2/+2
| | | | | | | Change-Id: I70b03c152f63e48341dc5629a99b0eeab7b497c0 Reviewed-on: https://gerrit.libreoffice.org/16834 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
* Fix typosAndrea Gelmini2015-06-221-1/+1
| | | | | | | Change-Id: I60ed5eb658d50cbc7dc572facb5463b7527b4d9b Reviewed-on: https://gerrit.libreoffice.org/16408 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
* java: 'final static' to 'static final'Noel Grandin2015-06-151-1/+1
| | | | | | | | | this is the canonical order, and it makes the code easier to read Change-Id: I272e7f1e140296e582702b6dbf77a03eefb65470 Reviewed-on: https://gerrit.libreoffice.org/16242 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: David Ostrovsky <david@ostrovsky.org>