65 Commits
Author SHA1 Message Date
Andrea Gelmini 7df83b4f6a Fix typos
Change-Id: If6fa146141e9481039ed533c574fa6301ceefedc
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/210171
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Tested-by: Jenkins
2026-08-29 16:29:06 +02:00
Andrea Gelmini 6152699835 Fix typos
Change-Id: Ic2f0c9f4bb0da72c3fed08cdbbc68ea102c39a38
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/209485
Tested-by: Julien Nabet <serval2412@yahoo.fr>
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2026-08-23 11:27:09 +02:00
Noel Grandin 41d9584179 'new Double' is deprecated in Java
replace with Double.valueOf

Change-Id: If5be8e500e31ebf9d5fb20ea7dd474677d7c74ff
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/158785
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2023-11-02 12:00:34 +01:00
Stephan Bergmann 5687eba49f Drop obsolete preprocessor directives from UNOIDL files
...which were used by ildc, which is gone since
a8485d558f "[API CHANGE] Remove deprecated idlc
and regmerge from the SDK", and have always been ignored as legacy by its
unoidl-write replacement.

This change has been carried out (making use of GNU sed extensions) with

> for i in $(git ls-files \*.idl); do sed -i -z -E -e 's/\n\n((#[^\n]*\n)+\n)*(#[^\n]*\n)+\n?/\n\n/g' -e 's/\n(#[^\n]*\n)+/\n/g' "$i"; done && git checkout extensions/source/activex/so_activex.idl odk/examples/OLE/activex/so_activex.idl

which apparently happened to do the work.  (The final two files are not UNOIDL
source files.)

Change-Id: Ic9369e05d46e8f7e8a304ab01740b171b92335cd
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/135683
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2022-06-13 16:27:45 +02:00
Stephan Bergmann 40f2aee658 Provide unoidl-write also for the SDK
...after the new types.rdb format that unoidl-write generates has been used
internally since LibreOffice 4.1 in 2013; following up on
6db34b6b33 "Directly build UNOIDL .rdb files from
.idl files" and its "The legacy tools idlc, regcompare, regmerge, and regview
are still contained in the URE or SDK for now."

The tools idlc and regmerge are deprecated but still shipped in the SDK for now.
The plan is to drop them completely for LO 7.5.

odk/examples/ and ure/source/uretest/ are adapted to use unoidl-write instead of
idlc and regmerge:

* unoidl-write does not use a C preprocessor and the # directives in .idl files,
  it supports reading a single .idl file (containing an arbitrary number of
  declarations) or a directory tree where each directory corresponds to a UNOIDL
  module of the same name and each .idl file contains the declaration of the
  (non-module) UNOIDL entity of the same name.  For some of the odk/examples/,
  that required moving individual .idl files into sub-directories named after
  the respective modules.  In odk/settings/std.mk, definitinos of IDL and
  REGMERGE have been replaced with a new UNOIDLWRITE.

* unoidl-write always enforces reserved UNOIDL identifier restrictions (see
  04af4e4f55 "[API CHANGE] Fix all bad UNOIDL
  identifiers across offapi" and 6201792406
  "Enforce the UNOIDL identifier scheme") (which idlc only enforced optionally
  with -cid -we).  That required renaming "my_module" in
  odk/examples/DevelopersGuide/Components/CppComponent/.

* The new types.rdb format is not compatibly with LibreOffice < 4.1.  Clients
  generating extensions containing such files are advised to use appropriate
  LibreOffice-minimal-version elements.

Change-Id: I1a248fd96e86ecbf407f829bc100d44bfe7f4e7d
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/130533
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2022-02-25 16:46:26 +01:00
Andrea Gelmini 095438e52c Fix typos
Change-Id: I14dca0d55c09187690dc1d94936c40b890ca5cea
Reviewed-on: https://gerrit.libreoffice.org/35637
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Tested-by: Julien Nabet <serval2412@yahoo.fr>
2017-03-25 12:36:37 +00:00
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 7320714922 java: fix non-public UNO implementation classes
which I messed up in commit 70f56bc22f
"java: reduce scope, make member classes private"

Change-Id: I817b2a571e2124f551ccd5c0d8e1099d89f0ec46
2014-12-12 13:41:21 +02:00
Andrea Gelmini 0c0e3e7539 Fixed typos. No automatic tools (sed, and so on).
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-30 17:16:02 +00:00
Noel Grandin ff0ad0493e java: use 'Integer.valueOf' instead of 'new Integer'
Change-Id: Ia8befb8d69914ce971174fc5f2ffc0e2f506a940
2014-08-19 14:57:17 +02:00
Noel Grandin ac5954d7c5 java: remove commented out code
Change-Id: I05c907a38b562231e968c17f14e09ef80e0a6ed1
2014-08-14 10:59:48 +02:00
Noel Grandin 68cd011c90 java: reduce scope, make some methods private
found by UCDetector

Change-Id: Ib1425edde146193a65c242dc159b7e3fbf0e4a2e
2014-08-13 08:49:23 +02:00
Noel Grandin 70f56bc22f java: reduce scope, make member classes private
found by UCDetector

Change-Id: Ief32d078090102b14b60b35fc36542f8d4fb252b
2014-08-13 08:49:23 +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
Caolán McNamara 3656a57e88 add mode lines to new files (and idls) since last run
Change-Id: Id1e74f18c90e69d1a781c8f02e30dc3c005ed4fd
2013-09-22 12:21:34 +01: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 38d2ea2b25 Missing import
Regression introduced with 64e85a4cc8 "Java
cleanup, remove unused imports."

Change-Id: I843cf651e20d2dd410f481222aca5206e0166a30
2013-06-19 17:41:00 +02:00
Noel Grandin 587c59fbc9 Java cleanup, Convert Vector to ArrayList
Change-Id: I323a6625f93347e69f3114fc10cb04dc759a539f
2013-05-06 11:45:50 +02:00
Noel Grandin 6f17a2f66f Java cleanup, access static methods using correct syntax
Change-Id: I8443aef43d82de33ac7cb47d40cc5b544f7c9c87
2013-04-26 08:36:04 +02:00
Noel Grandin 64e85a4cc8 Java cleanup, remove unused imports
Change-Id: I697017f196a7f7e5684011ae23941e54051c45dd
2013-04-26 08:29:38 +02: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
Stephan Bergmann 14a2413530 Adapt SDK to -B removed from cppumaker/javamaker
Change-Id: Ida4d11e0f8dfea201e0456cc54aa7f5af093d2ad
2013-04-11 14:24:08 +02:00
Stephan Bergmann 693332c0b4 Fix SDK examples
Change-Id: I0a3153bc3fa8338a1a0865db2fbe65a56ae064a4
2012-12-11 18:06:03 +01:00
Noel Grandin 4c9e62c6e3 Java cleanup, convert ArrayList and Vector to use generics
Change-Id: Ic668b46872ee0bfd259ca335aed9d68fb545c3a4
2012-09-10 23:43:39 +02: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
Jan Holesovsky 11cdc4ccc4 Merge commit 'ooo/DEV300_m103'
Conflicts:
	odk/examples/DevelopersGuide/Components/CppComponent/service1_impl.cxx
	odk/examples/DevelopersGuide/Database/DriverSkeleton/SServices.cxx
	odk/examples/DevelopersGuide/OfficeDev/FilterDevelopment/FlatXmlFilterDetection/fdcomp.cxx
	odk/examples/DevelopersGuide/OfficeDev/FilterDevelopment/FlatXmlFilter_cpp/FlatXml.cxx
	odk/examples/cpp/complextoolbarcontrols/exports.cxx
	odk/examples/cpp/counter/countermain.cxx
	odk/examples/cpp/remoteclient/remoteclient.cxx
	odk/settings/settings.mk
2011-03-23 16:59:36 +01:00
Juergen Schmidt 928af9414d jsc340: i114609: support passive component registration 2011-02-22 16:13:49 +01:00
Juergen Schmidt 134b85e8f8 jsc340: i114609: support passive component registration 2011-02-01 18:08:59 +01:00
Takeshi Abe 91a0a53e0c Replace all occured, occurance etc. 2010-12-05 20:19:49 +00: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
Ivo Hinkelmann 6df63a0fa7 CWS-TOOLING: integrate CWS sdk31fix_DEV300
2009-04-03 15:43:49 +0200 jsc  r270492 : correct classpath
2009-04-02 16:27:49 +0200 jsc  r270416 : fix typo in run target and classpath
2009-04-02 16:27:14 +0200 jsc  r270415 : remove Inspector example, change docu to link into the wiki on the related project page
2009-04-01 14:07:33 +0200 jsc  r270327 : #i100723# add Uno-Type-Path to jar manifest
2009-04-01 11:57:53 +0200 jsc  r270315 : #i100723# add Uno-Type-Path to jar manifest
2009-04-01 11:47:59 +0200 jsc  r270314 : #i100723# add Uno-Type-Path to jar manifest
2009-04-01 09:33:10 +0200 jsc  r270304 : #i100723# add Uno-Type-Path to jar manifest
2009-04-01 09:30:39 +0200 jsc  r270303 : #i100723# add Uno-Type-Path to jar manifest
2009-04-01 09:29:19 +0200 jsc  r270301 : #i100712# change header image version number
2009-04-22 12:39:28 +00:00
Rüdiger Timm 8313cf4f21 INTEGRATION: CWS jsc21 (1.4.208); FILE MERGED
2008/02/13 13:47:27 jsc 1.4.208.1: #i72964# cleanup header guards
2008-07-11 13:32:23 +00:00
Rüdiger Timm 8e007a870b INTEGRATION: CWS jsc21 (1.2.208); FILE MERGED
2008/02/13 13:47:27 jsc 1.2.208.1: #i72964# cleanup header guards
2008-07-11 13:31:41 +00:00
Rüdiger Timm 13475862a5 INTEGRATION: CWS jsc21 (1.20.74); FILE MERGED
2008/05/23 11:49:23 jsc 1.20.74.1: #i88797# change OFFICE_TYPE_LIBRARY to URE_TYPES and OFFICE_TYPES
2008-07-11 13:31:23 +00:00
Oliver Bolte 1f76e7dd36 INTEGRATION: CWS jsc17 (1.19.124); FILE MERGED
2007/01/22 15:35:33 jsc 1.19.124.1: #i73750# change UNOPKG_EXT to UNOOXT_EXT
2007-01-25 10:10:01 +00:00
Rüdiger Timm c822fa8596 INTEGRATION: CWS sdkbugfix02 (1.18.10); FILE MERGED
2005/03/03 15:42:10 jsc 1.18.10.1: #41142# replace make with internal MAKE variable
2005-03-29 11:18:41 +00:00
Rüdiger Timm 565bd4d3bb INTEGRATION: CWS sdksample (1.3.124); FILE MERGED
2004/06/25 15:48:06 jsc 1.3.124.4: #i29308# use of new UNO features
2004/06/04 15:16:17 jsc 1.3.124.3: #i29308# prevent double includes
2004/06/04 14:36:00 jsc 1.3.124.2: #i29308# added again
2004/06/04 10:45:27 jsc 1.3.124.1: #i29308# removed
2005-01-31 16:20:52 +00:00
Rüdiger Timm 0153640ce3 INTEGRATION: CWS sdksample (1.1.2); FILE ADDED
2005/01/12 15:26:59 jsc 1.1.2.1: #i39890# change to new OpenDocument format
2005-01-31 16:20:01 +00:00
Rüdiger Timm e4e136ce9b INTEGRATION: CWS sdksample (1.8.56); FILE MERGED
2004/08/05 15:28:42 jsc 1.8.56.3: #i29308# use System.err for error output
2004/06/25 15:48:05 jsc 1.8.56.2: #i29308# use of new UNO features
2004/06/04 10:46:12 jsc 1.8.56.1: #i29308# improved
2005-01-31 16:19:47 +00:00
Rüdiger Timm 8448e770f0 INTEGRATION: CWS sdksample (1.1.2); FILE ADDED
2004/06/25 15:48:04 jsc 1.1.2.4: #i29308# use of new UNO features
2004/06/04 15:16:17 jsc 1.1.2.3: #i29308# prevent double includes
2004/06/04 14:39:57 jsc 1.1.2.2: #i29308# IDL tyeps in separate files
2004/06/04 11:14:08 jsc 1.1.2.1: #i29308# new
2005-01-31 16:19:29 +00:00
Rüdiger Timm 1abb13c8dc INTEGRATION: CWS sdksample (1.17.4); FILE MERGED
2005/01/28 17:19:13 jsc 1.17.4.12: #i29308# prepare path for del command (windows only)
2005/01/12 15:18:00 jsc 1.17.4.11: #i39890# change to new OpenDocument format
2004/11/11 10:33:57 jsc 1.17.4.10: #i29308# adapted
2004/10/29 07:33:56 jsc 1.17.4.9: #i29308# cleanup
2004/10/27 11:34:30 jsc 1.17.4.8: #i29308# change laoding of sample documents
2004/10/22 13:05:56 jsc 1.17.4.7: #i35871# adapt for Java 5.0
2004/10/22 11:57:53 jsc 1.17.4.6: #i35871# adapt for Java 5.0
2004/10/08 13:58:46 jsc 1.17.4.5: #i29308# insert package manifest
2004/08/24 15:04:27 jsc 1.17.4.4: #i29308# use of new UNO package extension
2004/06/25 15:48:04 jsc 1.17.4.3: #i29308# use of new UNO features
2004/06/04 14:39:56 jsc 1.17.4.2: #i29308# IDL tyeps in separate files
2004/06/04 10:46:11 jsc 1.17.4.1: #i29308# improved
2005-01-31 16:18:57 +00:00
Rüdiger Timm 71e14f3228 INTEGRATION: CWS sdk13 (1.16.94); FILE MERGED
2004/05/05 09:31:47 jsc 1.16.94.1: #116658# merge cinnabar changes
2004-05-18 12:32:49 +00:00
Oliver Bolte dfcd4ccac4 INTEGRATION: CWS sdk08 (1.7.30); FILE MERGED
2003/10/10 16:27:04 jsc 1.7.30.2: #110287# adopt date string to US language format
2003/10/08 14:31:12 jsc 1.7.30.1: #110287# change language for date fields
2003-10-20 12:14:13 +00:00
Vladimir Glazounov fa004defc1 INTEGRATION: CWS sdk06 (1.15.2); FILE MERGED
2003/07/03 14:54:22 jsc 1.15.2.1: #110588# insert subst command to correct slashes for Windows < XP
2003-07-09 09:42:39 +00:00
Jens-Heiner Rechtien da260165c8 INTEGRATION: CWS sdk04 (1.2.50); FILE MERGED
2003/06/24 11:22:05 jsc 1.2.50.1: #110313# insert source license header
2003-06-30 15:01:53 +00:00
Jens-Heiner Rechtien 883ef91586 INTEGRATION: CWS sdk04 (1.6.20); FILE MERGED
2003/06/24 11:22:04 jsc 1.6.20.1: #110313# insert source license header
2003-06-30 15:01:40 +00:00
Jens-Heiner Rechtien a75dceebce INTEGRATION: CWS sdk04 (1.14.6); FILE MERGED
2003/06/24 11:22:02 jsc 1.14.6.1: #110313# insert source license header
2003-06-30 15:01:14 +00:00