Commit Graph
31 Commits
Author SHA1 Message Date
Miklos Vajna 44aefdf90d odk: add missing modelines
Change-Id: I0bd2d761b5a75681c8c3e53664084dd3b8176107
Reviewed-on: https://gerrit.libreoffice.org/25051
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Tested-by: Jenkins <ci@libreoffice.org>
2016-05-17 09:03:30 +00:00
Noel Grandin efd4bfa818 java:regulatize the order of 'final' and public/private
Make the order be 'public static' or 'private static'
Just makes the code nicer to read.

Change-Id: I182424bda45a2d68642e5d04c6091d268ace1fe2
Reviewed-on: https://gerrit.libreoffice.org/16202
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Tested-by: Noel Grandin <noelgrandin@gmail.com>
2015-06-11 09:34:00 +00:00
Noel Grandin 0063cf2856 java: make fields final where possible
found by PMD

Change-Id: I87780366119c141cd2dafe6ca1bf2d9798b10aec
2014-11-18 12:44:28 +02:00
Andrea Gelmini da40cac540 Fix common typos. No automatic tools. Handmade…
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-12 11:04:11 +00:00
Noel Grandin 36ff1527c9 java: reduce excessive code indentation levels
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-12 08:01:55 +00:00
Noel Grandin 4b4bff3402 java: no need to instantiate String objects directly
Change-Id: I7610774c94bf673ed3b574ffce04c4ee6ca93c03
2014-08-19 14:57:18 +02:00
Noel Grandin 5656fe58a0 java: fix broken javadoc tags
Change-Id: I43d25ba49b758739ee8dc891b0db3e527004ec8b
2014-08-12 09:41:31 +02:00
Noel Grandin d504294a77 java: remove some unused fields in the ODK examples
Change-Id: Ic6b4f18aefba6603af51d17d061e3f821e95261f
2014-08-05 11:31:49 +02:00
Noel Grandin 0781dad870 java: remove commented out code for OpenOffice 3.3
Specifically the comment says:
 This method not longer necessary since OOo 3.4 where the component registration
 was changed to passive component registration. For more details see
 http://wiki.openoffice.org/wiki/Passive_Component_Registration

Change-Id: Icfeec634ebc30a270533787b94e2a9a4318778db
2014-08-04 14:50:59 +02:00
Noel Grandin cc25f70ef1 compareTo -> equals
convert OUString::compareTo usage to equals to startsWith where it
is more appropriate

Change-Id: I6f5b5b7942429c0099ad082ba4984fd18e422121
2014-06-04 11:52:34 +02:00
Andras Timar 6ea6a422fb s/wiki.services.openoffice.org/wiki.openoffice.org/g
Change-Id: I059fbee385a109069c70f3869021c8e2ee48fee1
2013-09-07 14:21:22 +02:00
Stephan Bergmann 189bb791d2 fdo#66691: Revert fix for i#121577 Allow setting toolbar name in Addons.xcu
...which incompatibly changed Addons.xcs and breaks extensions (and LibreLogo,
which adds to Addons.xcu even though it is not an extension).  See the mail
thread starting at
<http://lists.freedesktop.org/archives/libreoffice/2013-July/054612.html>
"[Libreoffice-commits] core.git: #i121577# Allow setting toolbar name in
Addons.xcu" for details.

This reverts commit 85f072ef33
"Resolves: #i121577# Allow setting toolbar name in Addons.xcu" plus follow-up
af572d9fbb "Related: #i121577# Allow setting
toolbar name in Addons.xcu," f13f9b5cc5 "various
.xcus are gone now," and 37d9921797
"odk/examples/python/toolpanel/CalcWindowState.xcu is still in use," plus those
parts of f97ca6f651 "Resolves: #i116455# Make
toolbar style settings persistent" that apparently belong to the fix for
i#121577 rather than i#116455.

Change-Id: Ib744566f3d8da7d9008d7dad8bec60f1bf32e743
2013-07-24 16:36:55 +02:00
Ariel Constenla-Haile af572d9fbb Related: #i121577# Allow setting toolbar name in Addons.xcu
(cherry picked from commit 96cd87ec89e5ebe9d174c90b0f2cab96b3772732)

Conflicts:
	odk/examples/cpp/complextoolbarcontrols/CalcWindowState.xcu
	odk/examples/cpp/complextoolbarcontrols/WriterWindowState.xcu
	odk/examples/java/Inspector/Inspector.java

Change-Id: I6a0c1a657c6084df4efd8e150dc252155b32ba0b
2013-06-24 11:54:45 +01:00
Stephan Bergmann 5051209534 Adapt SDK to usage of msvcrtd for Windows --enable-dbgutil
* Re-use existing settings/dk.mk to tunnel ENABLE_DEBUG into the SDK.  Turns out
  this was explicitly included in ~all examples Makefiles, but only after
  settings.mk where it is now used, so include it in settings.mk now and dropped
  it from all the exmaples Makefiles.

* The old settings.mk was apparently confused with using /MT ("link with
  LIBCMT.LIB") on cl command line and /MD ("link with MSVCRT.LIB") on link
  command line (where it was ignored), and you apparently can't pass both
  together to cl, so I settled on /MD (resp. /MDd) now and dropped /MT (resp.
  /MTd).  No idea if that is exactly right, however.

* Introduced client-facing LIBO_SDK_LDFLAGS_STDLIBS that covers kernel32.lib and
  msvcrt.lib vs. msvcrtd.lib on Windows.  Adapted examples Makefiles and
  /ure/source/uretest/Makefile accordingly.  Some examples Makefiles
  additionally use msvcprt.lib, no idea whether that still needs to be
  addressed.

Change-Id: Ia8d9d177e415abfbaf6f9fa6239f0ef9998868be
2013-04-19 14:02:18 +02:00
Noel Grandin 8d87758d65 Java cleanup, remove the rest of the unnecessary casts
Change-Id: Ia61d250f6b3711abc29569c5ece38a6f87e38daa
Reviewed-on: https://gerrit.libreoffice.org/3432
Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org>
Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
2013-04-19 07:52:08 +00:00
Stephan Bergmann 693332c0b4 Fix SDK examples
Change-Id: I0a3153bc3fa8338a1a0865db2fbe65a56ae064a4
2012-12-11 18:06:03 +01:00
Michael Meeks 2b4fd2c89a re-base on ALv2 code. Includes:
Patches contributed by Pedro Giffuni:
    Avoid some uses of non portable #!/bin/bash in shell scripts.
    http://svn.apache.org/viewvc?view=revision&revision=1235297
    Reduce the dependencies on non standard GNU copy.
    http://svn.apache.org/viewvc?view=revision&revision=1238684
    Correct /usr/bin/env path.
    http://svn.apache.org/viewvc?view=revision&revision=1235619

    Complex Toolbar Controls Extension from the SDK
    Patches contributed by Ariel Constenla-Haile
    http://svn.apache.org/viewvc?view=revision&revision=1190390
    i118615 - make epm more verbose
    http://svn.apache.org/viewvc?view=revision&revision=1204288

    Patches contributed by Mathias Bauer (and others)
    gnumake4 work variously
    http://svn.apache.org/viewvc?view=revision&revision=1394707
    http://svn.apache.org/viewvc?view=revision&revision=1394326

    Patches contributed by Juergen Schmidt:
    jsc341: i117327: take care if no dependency node in current
    description exists, create one
    http://svn.apache.org/viewvc?view=revision&revision=1172101
    jsc341: i117327: add extra extension dependency check
    http://svn.apache.org/viewvc?view=revision&revision=1172098
    make initial branding changes
    http://svn.apache.org/viewvc?view=revision&revision=1231878

    Patches contributed by Ingo Schmidt
    native373: #i117733# no linux jre installation on 64 bit systems
    http://svn.apache.org/viewvc?view=revision&revision=1167536
    native373: ##164464# improve debian support
    http://svn.apache.org/viewvc?view=revision&revision=1167537

    Patch contribtued by Armin Le-Grand:
    Changed various aspects concerning usages of old vendor names
    http://svn.apache.org/viewvc?view=revision&revision=1293313

fix for neon webdav, remove coinmp bits, improve odk script,
cleanup & remove OS/2 conditionals, system ucpp fixes,
remove OS/2 conditionals, restore our license filenames.
2012-11-12 11:46:43 +00:00
Noel Grandin 6bf09ecf1d Java cleanup, remove unnecessary imports
I guess I missed some last time :-)

Change-Id: I164a8baa07850f783b8cdf2e7f3eeaac53a3d29b
2012-09-10 23:43:38 +02:00
Juergen Schmidt 4bd94edc87 jsc340: i114609: support passive component registration 2011-02-22 16:34:11 +01:00
Juergen Schmidt 928af9414d jsc340: i114609: support passive component registration 2011-02-22 16:13:49 +01:00
Jens-Heiner Rechtien 1296914c84 changefileheader2: #i109125#: change source file copyright notice from Sun Microsystems to Oracle; remove CVS style keywords (RCSfile, Revision) 2010-02-12 15:01:35 +01:00
Oliver Bolte 6b3949ccbe INTEGRATION: CWS jsc17 (1.6.134); FILE MERGED
2007/01/22 15:35:26 jsc 1.6.134.1: #i73750# change UNOPKG_EXT to UNOOXT_EXT
2007-01-25 10:04:00 +00:00
Jens-Heiner Rechtien eed594de9f INTEGRATION: CWS sdfcreater (1.2.248); FILE MERGED
2006/07/24 11:48:21 ihi 1.2.248.1: #i34408# Skip useless translations
2006-08-14 16:13:29 +00:00
Rüdiger Timm 77a502e046 INTEGRATION: CWS sdksample (1.5.4); FILE MERGED
2005/01/28 14:15:16 jsc 1.5.4.6: #i29308# prepare path for del command (windows only)
2004/10/29 07:33:40 jsc 1.5.4.5: #i29308# cleanup
2004/10/22 13:12:35 jsc 1.5.4.4: #i35871# adapt for Java 5.0
2004/10/08 13:58:38 jsc 1.5.4.3: #i29308# insert package manifest
2004/08/24 15:04:21 jsc 1.5.4.2: #i29308# use of new UNO package extension
2004/06/24 09:38:59 jsc 1.5.4.1: #i26335# use zip for packaging
2005-01-31 15:12:23 +00:00
Rüdiger Timm bba6598fc5 INTEGRATION: CWS sdk13 (1.4.94); FILE MERGED
2004/05/05 09:31:19 jsc 1.4.94.1: #116658# merge cinnabar changes
2004-05-18 12:21:19 +00:00
Vladimir Glazounov b765113bb3 INTEGRATION: CWS sdk06 (1.3.2); FILE MERGED
2003/07/03 14:53:56 jsc 1.3.2.1: #110588# insert subst command to correct slashes for Windows < XP
2003-07-09 09:37:21 +00:00
Jens-Heiner Rechtien a83f659abb INTEGRATION: CWS sdk04 (1.2.6); FILE MERGED
2003/06/24 13:32:30 jsc 1.2.6.1: #110313# insert source license header
2003-06-30 14:12:42 +00:00
Vladimir Glazounov 1b893d2110 INTEGRATION: CWS sdk02 (1.1.2); FILE ADDED
2003/05/09 10:41:15 jsc 1.1.2.1: #109045# insert new and remove example zip file
2003-06-10 09:12:26 +00:00
Vladimir Glazounov a3c05a4887 INTEGRATION: CWS sdk02 (1.1.2); FILE ADDED
2003/05/26 16:17:22 jsc 1.1.2.2: #109888# oor:node changed to oor:component-data
2003/05/09 10:41:14 jsc 1.1.2.1: #109045# insert new and remove example zip file
2003-06-10 09:12:17 +00:00
Vladimir Glazounov ac25b09ad2 INTEGRATION: CWS sdk02 (1.1.2); FILE ADDED
2003/05/14 11:03:23 jsc 1.1.2.2: #109045# insert JAVAC_FLAGS option
2003/05/09 10:41:13 jsc 1.1.2.1: #109045# insert new and remove example zip file
2003-06-10 09:12:10 +00:00
Vladimir Glazounov e5b34da410 INTEGRATION: CWS sdk02 (1.1.2); FILE ADDED
2003/05/26 16:17:21 jsc 1.1.2.2: #109888# oor:node changed to oor:component-data
2003/05/09 10:41:13 jsc 1.1.2.1: #109045# insert new and remove example zip file
2003-06-10 09:11:59 +00:00