...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>
* 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
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
2005/01/28 14:15:18 jsc 1.5.4.13: #i29308# prepare path for del command (windows only)
2004/10/29 07:33:41 jsc 1.5.4.12: #i29308# cleanup
2004/10/22 10:00:11 jsc 1.5.4.11: #i35871# adapt for Java 5.0
2004/10/15 11:04:09 jsc 1.5.4.10: #i29308# updated
2004/10/08 13:58:39 jsc 1.5.4.9: #i29308# insert package manifest
2004/08/24 15:04:22 jsc 1.5.4.8: #i29308# use of new UNO package extension
2004/08/06 14:36:53 jsc 1.5.4.7: #i29308# use System.err for error output
2004/07/30 14:30:02 jsc 1.5.4.6: #i29308# use quotes for unopath option
2004/07/30 08:36:24 jsc 1.5.4.5: #i29308# adjust ECHOLINE for windows
2004/07/29 12:22:44 jsc 1.5.4.4: #i29308# insert ECHOLINE macro to dump an empty line in manifest files
2004/06/30 09:10:25 jsc 1.5.4.3: #i29308# use of new UNO features
2004/06/24 09:39:00 jsc 1.5.4.2: #i26335# use zip for packaging
2004/06/07 16:00:29 jsc 1.5.4.1: #i29308# use of new UNO features