summaryrefslogtreecommitdiff
path: root/odk
AgeCommit message (Collapse)Author
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
2014-08-19java: use 'Short.valueOf' instead of 'new Short'Noel Grandin
Change-Id: Icef19ef61ee0af2dd3bda527263934006271f219
2014-08-19java: use 'Integer.valueOf' instead of 'new Integer'Noel Grandin
Change-Id: Ia8befb8d69914ce971174fc5f2ffc0e2f506a940
2014-08-19java: use Boolean.valueOf instead of instantiating Boolean objectsNoel Grandin
Change-Id: Ie41d6b0170a035a694dd270c311a137fd1810e74
2014-08-19java: classes in java.lang package do not need to be fully qualifiedNoel Grandin
Change-Id: I7b18f62336c3a8ca4c538b30ce04c99f202a4756
2014-08-19java: remove unused methodsNoel Grandin
Change-Id: Ibb905e6f3e7d92a0e558f1f6562e5b472cd2717b
2014-08-19odk: Clean up commentsChris Laplante
Change-Id: I38aa34192244cdd29e1cce7ac612aa9cd5f9e8a1 Reviewed-on: https://gerrit.libreoffice.org/11006 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2014-08-16Suppress unchecked warning - this is fineChris Sherlock
Change-Id: I69f47cf975a9ed91d4a1408351b5ad1751aab19e
2014-08-14java: remove unused importsNoel Grandin
Change-Id: Ic60b30141fd1dc61acfb97b811aec680a2ab9c22
2014-08-14java: remove commented out codeNoel Grandin
Change-Id: I05c907a38b562231e968c17f14e09ef80e0a6ed1
2014-08-13java: remove dead methodsNoel Grandin
found by UCDetector Change-Id: I219caa8e680dba5a395541a778df6144841c4dde