summaryrefslogtreecommitdiff
path: root/odk
AgeCommit message (Collapse)AuthorFilesLines
2015-01-09java: simplify array creationNoel Grandin3-14/+7
and remove the need to worry about keeping indexes correct Change-Id: I9a5fc00f7e28f305279b41099274c96daebebb95
2015-01-09override the overloading of "overload" to decrease cognitive (over-)loadMichael Stahl2-4/+4
Change-Id: I4d0e1de89d0bbdbea23bc5a46bf75ae0ce4e2796
2015-01-04odk: use HTML_TIMESTAMP doxygen optionMiklos Vajna2-0/+2
To be consistent with javadoc, see commit ac631f9ebddbc3674f9628d941e81a7ee73c6c66 (odk: use javadoc -notimestamp, so generated docs don't unnecessarily differ after each build, 2012-10-17). Change-Id: Ie52d2ca08a873e663869d60413be7bf8ec1e0b56
2015-01-01Bump copyright year to 2015Andras Timar6-36/+36
Change-Id: I18f2abfeee3b7e440aace632aec1296a1beab1f7
2014-12-21No need for CppunitTest_odk_checkapi to disable compiler pluginsStephan Bergmann1-2/+0
Change-Id: I258a3bb0fafbea5fa41133c0f223162cc416b36b
2014-12-19No need for RTL_USING in addition to LIBO_INTERNAL_ONLYStephan Bergmann1-10/+0
Change-Id: Iaa65658aed6bb4abb20a4d95dc9c6caf7c1c764b
2014-12-18Introduce gb_*_set_external_codeStephan Bergmann2-3/+6
...to harmonize the mechanisms to not define LIBO_INTERNAL_ONLY for extension code and CppunitTest_odk_checkapi. (It also needs to revert any -Wundef, as the config_host/config_*.h files will not be included, so the HAVE_* macros will be undefined.) This obsoletes the need for RTL_DISABLE_FAST_STRING. Change-Id: If5eacba80c349efb90762aade8f2ea6d2db7e314
2014-12-18The touch module, ByteBufferWrapper, and the libotouch library can go away nowTor Lillqvist1-1/+0
Change-Id: I6f4a6679c263ac81d1cf5c66f18782e857da5ff8
2014-12-15java: remove some unused fields and variablesNoel Grandin1-1/+1
Change-Id: I5d6071096307adbe7df0178000346cf915afa3e7 Reviewed-on: https://gerrit.libreoffice.org/13477 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2014-12-12java: fix non-public UNO implementation classesNoel Grandin8-8/+8
which I messed up in commit 70f56bc22fe952c "java: reduce scope, make member classes private" Change-Id: I817b2a571e2124f551ccd5c0d8e1099d89f0ec46
2014-12-10java: improve use of WrappedTargetException to set cause properlyNoel Grandin1-1/+1
since we introduced the new constructors that pass the cause all the way up to java.lang.Throwable. Also simplify some exeception printing sites, because Throwable will correctly print out child exceptions for us. Change-Id: Ibbecce3c6f971fbc80d6de2052ab4f33a4503c0a
2014-12-10java: remove comment noiseNoel Grandin1-1/+0
Change-Id: If6347197ff4436b4edd06e6e62d8e8e6fe1d4db6 Reviewed-on: https://gerrit.libreoffice.org/13408 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2014-12-03Fold URE: WindowsStephan Bergmann2-19/+5
...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-02Consistently use $(...)Stephan Bergmann1-3/+3
Change-Id: I68d3f99ca2a53988fb40ce0d5d364e19a8781cc0
2014-12-02Fold URE: Remove OO_SDK_URE_HOME on non-WindowsStephan Bergmann4-32/+11
Change-Id: Iad0480eb39e2c1312c27cf9b90146c2beba592fd
2014-12-02Remove obsolete setsdkenv_windows.templateStephan Bergmann4-224/+0
Change-Id: I3a79830c5538e12fc6370ae30168266c0f1c533e
2014-12-01Some Windows Command Prompt don't like if ... ( set PATH=... )Stephan Bergmann1-9/+4
...it appears. At least with Version 6.3.9600 on Windows 8.1, it results in spurious \Windows was unexpected at this time. past the first such construct. Go figure. Change-Id: I21cdb4edce0e7b22f26ac8b2f8b884f18490879b
2014-12-01Generate oxt in OUT_BINStephan Bergmann1-1/+1
Change-Id: Idb4569c64060ef9d60e0d090cf46b053a252d750
2014-12-01Fold URE: Linux ure/share/misc/* -> program/Stephan Bergmann2-18/+6
...and remove now unused ure-link symlink Change-Id: Ic958432c1dad4fae213982d0af072187f151620b
2014-11-28Fold URE: Linux ure/share/java/* -> program/classes/Stephan Bergmann1-1/+1
Change-Id: I86864f832c0377d307cfa0b2c137f452e43797eb
2014-11-28Fold URE: Linux ure/lib/* -> program/: adapt OO_SDK_URE_LIB_DIRStephan Bergmann1-1/+1
Change-Id: I81b4eb422620fefba17fe1877ee91807be22df5c
2014-11-28Fold URE: Linux ure/bin/* -> program/Stephan Bergmann1-1/+1
Change-Id: Id6cab518329829c22600f2a68b6b59abd04a564c
2014-11-25java: remove some comment noiseNoel Grandin5-32/+0
Change-Id: I1c258b853097448d4a59334d915e94dba4c7eb34
2014-11-25java: final fields that can be staticNoel Grandin3-4/+4
found by PMD Change-Id: I2b48f35d252d6e914c2a18a2c175b075a9d3ac0f Reviewed-on: https://gerrit.libreoffice.org/13099 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2014-11-24Adapt documentation to realityStephan Bergmann1-48/+29
...that both OFFICE_HOME and OO_SDK_URE_HOME are always set Change-Id: I74f3a19cd7020fbefc30b08e122ca20e292f1830
2014-11-24Re-indent (no change to content)Stephan Bergmann1-423/+544
Change-Id: I72fa9b85e8544ea7bf1c1dea8ff3358835959f55
2014-11-24Both OFFICE_HOME and OO_SDK_URE_HOME are always setStephan Bergmann1-44/+19
...via setsdkenv_unix -> configure.pl Change-Id: I5b5e8e99736ce6d12ad7796d73cb1cf6871ad7f4
2014-11-19Make SDK examples compile againStephan Bergmann13-0/+18
...after various recent changes to include files etc. Change-Id: I9d2acbcfb09ca1df6247038afa6fbd99aa74a90d
2014-11-18java: fix some raw types warningsNoel Grandin1-2/+2
Change-Id: I0e00739ac36ccc8704ad3c4e4adfa377a6b01f43
2014-11-18java: make fields final where possibleNoel Grandin39-101/+101
found by PMD Change-Id: I87780366119c141cd2dafe6ca1bf2d9798b10aec
2014-11-17document coverity#706181 Use of untrusted string valueCaolán McNamara1-0/+1
Change-Id: If8c80568175b3a5380ee78dda5ebd161c5dba2f6
2014-11-12Fix common typos. No automatic tools. Handmade…Andrea Gelmini16-29/+29
Change-Id: I1ab4e23b0539f8d39974787f226e57a21f96e959 Reviewed-on: https://gerrit.libreoffice.org/12164 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2014-11-12java: convert fields to local variables where possibleNoel Grandin7-29/+18
found by PMD Change-Id: I05b45382b8fb1b734657ce9421a20e6ef6fbe542 Reviewed-on: https://gerrit.libreoffice.org/12376 Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2014-11-12java: last statement in finalize() method should be call to super.finalize()Noel Grandin1-1/+1
Change-Id: I1785c6cef1fe7c1990207a76c263cff388cbb7e1 Reviewed-on: https://gerrit.libreoffice.org/12375 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2014-11-12java: reduce excessive code indentation levelsNoel Grandin1-24/+24
by using early return in some methods Change-Id: I3611c8c89b3a94ef7e1772d178acf065fd7fcdc7 Reviewed-on: https://gerrit.libreoffice.org/12374 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2014-11-03odk: disable MSVC warning C4996Michael Stahl1-0/+5
Change-Id: I6c2dab3b427121366bb2d39b95262311286ae371
2014-10-30Fixed typos. No automatic tools (sed, and so on).Andrea Gelmini1-1/+1
Change-Id: Ia43976d84eede6f699381bc4f3daf89b95e4cb4f Reviewed-on: https://gerrit.libreoffice.org/12150 Reviewed-by: Bryan Quigley <gquigs@gmail.com> Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
2014-10-29remove unnecessary 'using namespace rtl' declarationsNoel Grandin7-8/+0
It turns out that almost none of them were necessary. Change-Id: I1311ed28409c682b57ea8d149bcbaf2c49133e83 Reviewed-on: https://gerrit.libreoffice.org/12133 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2014-10-17java: final fields that can be staticNoel Grandin4-7/+7
Change-Id: I8c06be7bc0b8a38c662209f0de72a00550e25447
2014-10-17java: no need to call String.valueOf to append to a StringNoel Grandin2-5/+5
Change-Id: I5ef45b971d24dde814ab8cbb2e9503d9da4f0d73
2014-10-16java: when rethrowing, store the original exceptionNoel Grandin6-11/+8
Change-Id: I34ce000c48d2d79bfec854c8dd55d12f2bee29c7
2014-10-16java: reduce the depth of some deeply nested if blocksNoel Grandin1-34/+39
Change-Id: I3c0c7f08d4d8ea594e72fc0d9b93d085d4ab4bf5
2014-10-14reformat ValueChangerNoel Grandin1-2/+0
so that it is at least marginally legible Change-Id: I20882ad77d6488bb1f2b9dc9e91dc47458596b4a
2014-10-09update page footer of SDK docsAndras Timar6-6/+6
Change-Id: Id69c946e4e3166f7a9fe20de2247f208d05f2680
2014-10-07java: use equalsIgnoreCase() instead of toLowerCase().equals()Noel Grandin1-2/+2
Change-Id: I8f4afc7e15a9d85d99ea80edbbbd2b507b254ddc
2014-10-07java: use equals() to compare Strings, not ==Noel Grandin6-6/+6
Change-Id: Ia41a4899fb82df7b580a020765404c4ef0cddfa2
2014-10-07java: simplify conditions involving logical negationNoel Grandin1-2/+2
Change-Id: Ib45e58273e650ef9a31dbdb5f71e995a5976f50e
2014-10-07java: no need to explicitly extend java.lang.ObjectNoel Grandin5-5/+5
Change-Id: I635d1f99aa104909bd53a49c18efd433b9b9cb98
2014-10-01fdo#82577: Handle TimeNoel Grandin2-4/+4
Put the TOOLS Time class in the tools namespace. Avoids clash with the X11 Time typedef. Change-Id: Iac57d5aef35e81ace1ee0d5e6d76cb278f8ad866 Reviewed-on: https://gerrit.libreoffice.org/11684 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2014-09-29[API CHANGE] Remove internal-only osl/diagnose.hxx from SDKStephan Bergmann1-1/+0
...which should ideally have no effect on external code anyway, given it only contains internal-only code. Its use of boost/unordered_set.hpp apparently started to cause problems in combination with C++98-enforcing CppunitTest_odk_checkapi, cf. <http://lists.freedesktop.org/archives/libreoffice/2014-September/063637.html> "Re: Performance samples for LibreOffice ..." Change-Id: I8b5623950330180fb0ae158903ccecedaed57dfe