summaryrefslogtreecommitdiff
path: root/odk
AgeCommit message (Collapse)Author
2015-06-17Fix CalcAddins exampleStephan Bergmann
was broken with 70f56bc22fe952c75ec714e05e1bb5296491a36a "java: reduce scope, make member classes private" Change-Id: I84a3fafbfdddf6bb04ab7787d344bf50ffd22994 (cherry picked from commit 3b07120a72a5fd28836b226becbc100e24e84edf) Conflicts: odk/examples/java/Spreadsheet/CalcAddins.java (cherry picked from commit df5c4b956b7634c9f5cf2fd84a7946c7d97cd408)
2014-11-19Make SDK examples compile againStephan Bergmann
...after various recent changes to include files etc. Change-Id: I9d2acbcfb09ca1df6247038afa6fbd99aa74a90d
2014-11-18java: fix some raw types warningsNoel Grandin
Change-Id: I0e00739ac36ccc8704ad3c4e4adfa377a6b01f43
2014-11-18java: make fields final where possibleNoel Grandin
found by PMD Change-Id: I87780366119c141cd2dafe6ca1bf2d9798b10aec
2014-11-17document coverity#706181 Use of untrusted string valueCaolán McNamara
Change-Id: If8c80568175b3a5380ee78dda5ebd161c5dba2f6
2014-11-12Fix common typos. No automatic tools. Handmade…Andrea Gelmini
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 Grandin
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 Grandin
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 Grandin
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 Stahl
Change-Id: I6c2dab3b427121366bb2d39b95262311286ae371
2014-10-30Fixed typos. No automatic tools (sed, and so on).Andrea Gelmini
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 Grandin
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 Grandin
Change-Id: I8c06be7bc0b8a38c662209f0de72a00550e25447
2014-10-17java: no need to call String.valueOf to append to a StringNoel Grandin
Change-Id: I5ef45b971d24dde814ab8cbb2e9503d9da4f0d73
2014-10-16java: when rethrowing, store the original exceptionNoel Grandin
Change-Id: I34ce000c48d2d79bfec854c8dd55d12f2bee29c7
2014-10-16java: reduce the depth of some deeply nested if blocksNoel Grandin
Change-Id: I3c0c7f08d4d8ea594e72fc0d9b93d085d4ab4bf5
2014-10-14reformat ValueChangerNoel Grandin
so that it is at least marginally legible Change-Id: I20882ad77d6488bb1f2b9dc9e91dc47458596b4a
2014-10-09update page footer of SDK docsAndras Timar
Change-Id: Id69c946e4e3166f7a9fe20de2247f208d05f2680
2014-10-07java: use equalsIgnoreCase() instead of toLowerCase().equals()Noel Grandin
Change-Id: I8f4afc7e15a9d85d99ea80edbbbd2b507b254ddc
2014-10-07java: use equals() to compare Strings, not ==Noel Grandin
Change-Id: Ia41a4899fb82df7b580a020765404c4ef0cddfa2
2014-10-07java: simplify conditions involving logical negationNoel Grandin
Change-Id: Ib45e58273e650ef9a31dbdb5f71e995a5976f50e
2014-10-07java: no need to explicitly extend java.lang.ObjectNoel Grandin
Change-Id: I635d1f99aa104909bd53a49c18efd433b9b9cb98
2014-10-01fdo#82577: Handle TimeNoel Grandin
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 Bergmann
...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
2014-09-17Fix OFFICE_PROGRAM_PATH for new Mac OS X layoutStephan Bergmann
Change-Id: Id8c6082b4b90c3020e1187dd311f0afd0320d155
2014-09-17Remove obsolete -malign-natural on Mac OS X from SDK, tooStephan Bergmann
...causes "clang: error: unknown argument: '-malign-natural' [-Wunused-command-line-argument-hard-error-in-future]; clang: note: this will be a hard error (cannot be downgraded to a warning) in the future" at least with "Apple LLVM version 5.1 (clang-503.0.40) (based on LLVM 3.4svn)", and last mention of -malign-natural in solenv/gbuild was removed with 4ea84822b1b638a61495af5006041bea8db8a3eb "OSX: drop -malign-natural flag for non-clang compilers." Change-Id: I0db1de484e45ba3eddf113392da71f20d099e9b5
2014-09-16typoStephan Bergmann
Change-Id: Ie883b12392ae5361d29fa0991edf42d13027891f
2014-09-16Fix OO_SDK_URE_HOME for new Mac OS X layoutStephan Bergmann
Change-Id: I438b9ca643819cfd3e636e8157c6ef491beb1903
2014-09-16Use OO_SDK_URE_BIN_DIRStephan Bergmann
Change-Id: Ifd40e523f146ee26f49fe443e2455d053c7b6bfc
2014-09-16Move the non-Darwin way to determine OO_SDK_URE_HOME to where it belongsStephan Bergmann
Change-Id: Iedd35be577835a24c8d593859b1c1086d1e1ae92
2014-09-16Remove unused OFFICE_OR_URE[_SUGGESTION] variablesStephan Bergmann
Change-Id: Ifc90af4e536f860eb4bea5420a5e233471c4b291
2014-09-16config.guess is apparently not supposed to be called directlyStephan Bergmann
(if you look at how it is used by generated configure scripts); this fixes the inadvertent loss of executable flag in 3379a4d028a77de5a50e305175d80f65560d5688 "Update config.{guess,sub}" Change-Id: I29b3467970093006c994af63cb5f5bf087831ae6
2014-09-16Add back XTestDialogHandler methodsStephan Bergmann
...erroneously removed by 34bcf9b498bccb5c924f4cec850ff15d88df6f07 "java: remove dead methods," plus fix-up of d5a31b221510a506a9c43d2c9f44c55405ce13fd "java: remove unused parameters" regression. Change-Id: I2913af8f35b89ebc580ab5f4f0025b595ad8cd0f
2014-09-16Add back XExampleAddIn methodsStephan Bergmann
...erroneously removed by 34bcf9b498bccb5c924f4cec850ff15d88df6f07 "java: remove dead methods" Change-Id: I3a6dc7b08af2097f15779a5116d04dd0c80429ec
2014-09-16There is no com.sun.star.lib.util.ExceptionHelperStephan Bergmann
Regression introduced with 6884ef6317ddc29a713a342fb102e28ebc8fa5cc "java: don't catch and then just rethrow an exception." Change-Id: I626eaefc7846e152dfb4cc105d665c9ccca68c08
2014-09-16Add back getMyFirst/SecondValue methodsStephan Bergmann
...erroneously removed by 34bcf9b498bccb5c924f4cec850ff15d88df6f07 "java: remove dead methods" Change-Id: Ic8e34eadb0d2f4d6abaa7ee243788dfcdffa7d1f
2014-09-16Add back __writeRegistryServiceInfo methodStephan Bergmann
...erroneously removed by 34bcf9b498bccb5c924f4cec850ff15d88df6f07 "java: remove dead methods" Change-Id: I4a687bc83dd1c9d26d146fe0423b603f27ee2845
2014-09-15check that ODK headers compile with C++03Luboš Luňák
Change-Id: Ief191a5bbbdca45aaaa8ae5bcc395124ed189796
2014-09-15build ODK headers check without LIBO_INTERNAL_ONLYLuboš Luňák
Change-Id: Ia8bca09a877bed6070c10e1c008bdb05ac088485
2014-09-15do not call the checkapi cxx file 'strings.cxx', now that it's the only oneLuboš Luňák
Change-Id: I796a6c4b460f83d6e6aef501055c8896565afc85
2014-09-10Typo: (N|n)ormaly->(N|n)ormallyJulien Nabet
Change-Id: I96d081f394b0b62d99ec1034bf5e99da9aedd9d9
2014-08-28Fixed some CppunitTest namesStephan Bergmann
Change-Id: I57b039c7114c03944e8eaba9ca1bb81da563640a
2014-08-27Typo: mesage->messageJulien Nabet
Change-Id: I92557a6096fd5637f9bdd7892bca98566339253f
2014-08-20java: remove unnecessary constructor declarationsNoel Grandin
in the absence of any other constructors, the compiler will automatically generate a public no-arg constructor Change-Id: I70eca507cd8e16e33580b3398d41d70690bc2909
2014-08-20java: don't catch and then just rethrow an exceptionNoel Grandin
without doing anything else useful Change-Id: I5803d84d46e0a70e1759f2202e2c2273087f8723
2014-08-20java: remove modifiers implied by the contextNoel Grandin
found by PMD Change-Id: I04cbf986ddbcffff987784f381b8a9f52f1b3f31
2014-08-20java: remove unnecessary return statementsNoel Grandin
found by PMD Change-Id: I3d150421948d17eaed34fac2b1a212da34288d1a
2014-08-20java: avoid unnecessary comparisons in boolean expressionsNoel Grandin
i.e. stuff like "x == true" Change-Id: Ib82a4a30e736df392405332fa197b588482cffcf
2014-08-20java: Avoid naming non-fields with the prefix m_Noel Grandin
found by PMD Change-Id: I5955cfc9c4d777496a2e8e4b2c422a51764a8bc1
2014-08-19java: no need to instantiate String objects directlyNoel Grandin
Change-Id: I7610774c94bf673ed3b574ffce04c4ee6ca93c03