...by letting their getByHierarchicalName methods return information about
UNO constants as X(Constant)TypeDescription values, just as for (alomst -- see
the odd enum member case) all other entities. This will make future changes in
this area easier.
The only affected client I could find so far is the core reflection service, but
there might be more that I overlooked.
Change-Id: I6731f2914773d49e33eeaec6e256ff2e5409ad2d
.. so I don't keep tripping over the bad ones during my UNO cleanup work.
(1) make them all use a similar syntax, makes it easier to run my automatic checker
(2) some of them were just cut'n'paste accidents waiting to happen
(3) remove unnecessary header guards in the __including__ file. That is very brittle.
Change-Id: I4e679c15161483ad93aeb316a25d6db6d97e9d4e
Remove non-functional and broken [oneway] attributes from all idl
files. Change idl compiler to no longer digest such idl.
Change-Id: Ie14c5012beccb6242d7cd592d434a88091b695d1
This module was deprecated and replaced with com.sun.star.logging in
OpenOffice.org 2.3 (i#76119); there is no implementation of the
interfaces. Removed types:
com.sun.star.util.logging.LogLevel
com.sun.star.util.logging.Logger
com.sun.star.util.logging.LoggerRemote
com.sun.star.util.logging.XLogger
com.sun.star.util.logging.XLoggerRemote
WARNING: could not open key "/UCR/com/sun/star/util/logging/XLogger" in
registry "/master/offapi/type_reference/types.rdb"
EXISTENCE: module "/UCR/com/sun/star/util/logging" with published
children exists only in registry 1
Change-Id: Ief1beadf0e32dee03f555599909ac5f31a5034dd
This is evidently only intended for testing and not implemented
anywhere.
EXISTENCE: published key "/UCR/com/sun/star/beans/XIntroTest" exists
only in registry 1
Change-Id: Ib12117c7761a7cb95d71705127753579004d5e79
The com.sun.star.test module is intended only for internal testing of
the UNO implementation and should not be part of the public API.
EXISTENCE: published key "/UCR/com/sun/star/test/TestEvent" exists only
in registry 1
EXISTENCE: published key "/UCR/com/sun/star/test/TestFactory" exists
only in registry 1
EXISTENCE: published key "/UCR/com/sun/star/test/XSimpleTest" exists
only in registry 1
EXISTENCE: published key "/UCR/com/sun/star/test/XTestListener" exists
only in registry 1
EXISTENCE: module "/UCR/com/sun/star/test/performance" with published
children exists only in registry 1
EXISTENCE: published key "/UCR/com/sun/star/test/XTest" exists only in
registry 1
EXISTENCE: module "/UCR/com/sun/star/test/bridge" with published
children exists only in registry 1
Change-Id: If9e607ef944b5b1b0a1af60cc9210fa4d8993bb4
The com.sun.star.corba module is entirely deprecated and unused.
EXISTENCE: published key "/UCR/com/sun/star/corba/ObjectSystemID" exists
only in registry 1
EXISTENCE: module "/UCR/com/sun/star/corba/iiop" with published children
exists only in registry 1
EXISTENCE: published key "/UCR/com/sun/star/corba/OpaqueData" exists
only in registry 1
EXISTENCE: published key "/UCR/com/sun/star/corba/ObjectKey" exists only
in registry 1
EXISTENCE: module "/UCR/com/sun/star/corba/iop" with published children
exists only in registry 1
EXISTENCE: module "/UCR/com/sun/star/corba/giop" with published children
exists only in registry 1
EXISTENCE: published key "/UCR/com/sun/star/corba/CorbaString8" exists
only in registry 1
EXISTENCE: published key "/UCR/com/sun/star/corba/OneThreadID" exists
only in registry 1
EXISTENCE: published key "/UCR/com/sun/star/corba/CorbaUnion" exists
only in registry 1
EXISTENCE: published key "/UCR/com/sun/star/corba/LogicalThreadID"
exists only in registry 1
EXISTENCE: published key "/UCR/com/sun/star/corba/TCKind" exists only in
registry 1
EXISTENCE: published key "/UCR/com/sun/star/corba/ThreadIDs" exists only
in registry 1
Change-Id: I0331d0462f2187ba8d8eacf2a5b3f6af20963304
The service is deprecated, but we still have a handful of in-tree
users, and converting it lets me thread XComponentContext through
a bunch of classes.
Change-Id: Iffdfe537ada6b9e4a89f9b3c8dd82ca85f4bfaba
... derives from com.sun.star.uno.RuntimeException instead of
com.sun.star.uno.Exception.
Only test that breaks with this change is jurt_uno/AnyConverter_Test,
which for mysterious reasons effectively tests that
IllegalArgumentException is a subclass of Exception and not
RuntimeException. Presumably this is just a generic exception test that
happens to use IllegalArgumentException.
Some further testing indicates there are no problems expected at
runtime:
Running "make subsequentcheck" with all Java test code compiled against
a ridl.jar that does not contain the change, running against a soffice
that uses ridl.jar and rdbs with the change + ridl.jar with the change
on the test side yields exactly the same AnyConverter_Test failure, with
no other failures.
Change-Id: Iad183de76ec7e0d56648084e97cdcc160b5b033d
Since we don't need to expose XInitialisation, we can make the new-style
service implement XInteractionHandler2.
Change-Id: Ib27beed1c12df17592c6472d6f58c233d2c41558
This is such a fatal error that there is probably no point in trying to handle
it, so allow to simplify client code by removing the requirement to check for a
null return value.
Simplified some client code accordingly (modules configmgr and ure, and the code
generated by cppumaker and javamaker).
Change-Id: I51c0b270ec73409374f7439a47ee061407a46e31
Create a merged XBridgeFactory2 interface for this service to implement.
Which is backwards-compatible, but does not require creating a new service.
Change-Id: I7309f4d30f0e772bc203c701eb3407b920ffafcc
The XComponent part of the interface made no sense for a singleton,
so it was removed.
Explicitly document the 'theCoreReflection' singleton and move it
into it's own file.
Deprecated the now old CoreReflection service.
Change-Id: Ib8befa87c7da7eb53a2f587948fd54a64c082472
Create a merged XPipe interface for this service to implement.
Which is backwards-compatible, but does not require creating a new service.
Change-Id: I682633c6252aab503eb2469c9bd2ba771f10bc4b
XServiceInfo does not need to be declared as a supported sub-interface
for services, it is always implicitly there.
Also, for those services that now only contain one interface, convert
them to new-style service IDL declarations.
Change-Id: I325c27f287a02de6bdfc8bb6e5bf6c2a4ae0a753
Signed-off-by: Stephan Bergmann <sbergman@redhat.com>
I used this "one-liner" to detect comment lines containing
only spaces and '=' or '-'
$ find . -name "*.*" -exec sed -i '/^\s*\/\/\s*[-=]*\s*$/d' {} \;
Change-Id: Iac589765c8c2e7c3ad9c487d57e48b4fd4439f07
Evidently on Windows, the newfangled ucpp handles #include "foo"
differently from #include <foo> and treats it as a relative path, while
the angle brackets always result in absolute paths.
Since relative paths result in infinite rebuilds if make is invoked in a
different directory, don't use #include "foo" in IDL files.
Change-Id: Iedcda3a4be5542389a0be086f14541cda8dc5323
...that no longer uses XSimpleRegistry structures for the service data and thus
is potentially more performant.
* Registry-based functions from cppuhelper/bootstrap are deprecated now, client
code should always use defaultBootstrap_InitialComponentContext.
* References to the obsolete UNO_WRITERDB have been removed.
* Some of the functions in cppuhelper/source that are used from multiple .cxx
but had not been properly placed into .hxx have been cleaned up.
* css.lang.ServiceManager XSet insert/remove now support special
sequence<NamedValue> to improve live deployment/removal of XML-based extension
components data.
* 09524d410b "stoc: accelerate opening of multiple
XML .rdb files in a directory" and its follow-up
cb5c881a7f "avoid using the new rdb reading
logic for empty/non-existent directories" have been obsoleted by this change
and have been reverted again.