Commit graph

1488 commits

Author SHA1 Message Date
Tor Lillqvist
cb6d67c21f Spelling "separate" (etc) correctly is hard 2013-05-15 11:14:28 +03:00
Noel Grandin
8bf8a2f349 fdo#46808, Convert script::InvocationAdapterFactory to new style
Change-Id: I2fe24c863f4c43471f46032ed15fcd5b98863fc1
2013-05-14 13:39:29 +02:00
Philipp Riemer
2ce25faffd fix typos (wich instead of which) 2013-05-06 20:07:23 +02:00
Noel Grandin
e4f37435a0 fdo#46808, Use service constructor for uri::ExternalUriReferenceTranslator
Change-Id: I723b1baf50b75f6aaea86a4784ee10a3d2196e83
2013-05-06 11:27:49 +02:00
Stephan Bergmann
0af9970da3 Mark TypeDescriptionProvider service as "don't create by name"
...had to adapt one test that had picked this service apparently arbitrarily.

Change-Id: Iaa17b7c622b9ac3601beb3ba931f7b1d99f649f1
2013-04-25 17:45:35 +02:00
Stephan Bergmann
826e787733 Split offapi/type_reference/types.rdb in two
...now that UnoApiMerge_types is gone.

Change-Id: Ie33aeb09692e3b3d851f2278714b037e183b627c
2013-04-24 12:20:31 +02:00
Stephan Bergmann
ab149c7e3f Get rid of UnoApiMerge_uretypes, which is just a duplicate of UnoApi_udkapi
What is a little confusing is that the udkapi.rdb ends up as types.rdb in the
installation set (in the URE's sub-tree).  So all places that reference it
during the build do so as "udkapi" while all places that reference it in an
installation set do so as "types."

Change-Id: I35d0695966b3bd703f5494b636b9782efc0d3fcb
2013-04-24 10:51:31 +02:00
Michael Meeks
62badf3828 Move to MPLv2 license headers, with ESC decision and author's permission. 2013-04-22 09:37:38 +01:00
Stephan Bergmann
1268326e81 Further clean-up related to removed library unloading feature
Change-Id: I1ec2aa4d0ed0940e7c0a26a18c78f2df4693d278
2013-04-16 17:52:37 +02:00
Thomas Arnhold
70e4329d04 fdo#60724 successfull -> successful
Change-Id: I287bef5b7f2baf5aaaab47141267ae2cadfe2451
2013-04-15 05:34:02 +02:00
Noel Grandin
3cfecf8427 fdo#46808, Convert beans::PropertyBag to new style
Change-Id: Ibb2466af4c9289cba93b8330d10db033d296bfc1
2013-04-08 13:53:02 +02:00
David Tardon
3e8016ddc5 use filelist install method for udkapi and offapi
... so we can drop ZipUnoApi again.

Change-Id: Id5925b8c101cd7cb70614a9a26f328dec92db8fa
Reviewed-on: https://gerrit.libreoffice.org/3152
Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org>
Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
2013-04-05 23:35:45 +00:00
Stephan Bergmann
ce2991ee86 Forbid old-style services/singletons inheriting new-style services
...does not make sense.  Adapted some old-style services accordingly, where the
inherited service had been changed to new-style after the fact.

Change-Id: I5f3e4ddf99160778a319062a6c84f83529ff177b
2013-04-03 11:30:06 +02:00
Michael Meeks
79b0046ba0 remove legacy build.pl prj/build.lst files. 2013-03-14 17:05:51 +00:00
Michael Stahl
3f07029fc2 gbuild: refactor SDK packaging of IDL files:
- UnoApi: stop delivering IDL files to $(OUTDIR)/idl
- add ZipUnoApi to package IDL files for SDK
- convert udkapi and offapi to ZipUnoApi and package them in scp2
- odk: remove ugly CustomTarget_idl that uses "find"

Change-Id: I8dc4e0e7d0dc51c1abf18f31bfe095760d3c2104
2013-03-13 14:33:55 +01:00
Michael Stahl
14574684dd gbuild: stop using $(OUTDIR)/idl
Instead, include directly from $(SRCDIR)

Change-Id: I09df3da82eead897eb194ae55d1a092452f3cdb9
2013-03-13 14:33:55 +01:00
Tor Lillqvist
3ed31af5bb Bin DOCUMENTATION OMITTED comments
No need to shout. The lack of documentation is obvious anyway to somebody
looking for it.

Change-Id: I4f21661c8bff87170bc4e272da29f060eec0dda6
2013-03-13 10:59:29 +02:00
Tor Lillqvist
d1449a9b99 Bin pointless "DocMerge" comment lines
Change-Id: I8eb2116b39929770f00e30d5ab9ca2c28c988e35
2013-03-13 10:36:21 +02:00
Kenneth Beck
21e1e859a7 fdo#60724 change spelling error REMOVEABLE -> REMOVABLE
Only applies to PropertyAttribute::REMOVEABLE, and all instances in comments.
All other instances of the misspelling have remained the same.
Example: AF_REMOVEABLE

Change-Id: I391f4101bbc3e06689318235a37d616065bc1686
Signed-off-by: Stephan Bergmann <sbergman@redhat.com>
2013-03-06 10:39:30 +01:00
Gregg King
db7a441342 Typo fix: informations -> information and a few other adjacent typos.
FDO:60724

Change-Id: I73ad9f1c37cbbcf28d996ed73c75cf09553e499b
Reviewed-on: https://gerrit.libreoffice.org/2479
Reviewed-by: Eike Rathke <erack@redhat.com>
Tested-by: Eike Rathke <erack@redhat.com>
2013-03-02 02:45:55 +00:00
Michael Stahl
b768611724 remove all d.lst
Change-Id: Icba4218c5f9fe89d183d25ea82a8eae52881f885
2013-02-28 18:40:06 +01:00
Julien Nabet
94477cb5fb Fix typo accessable/accessible
Change-Id: I2f6d00a6361243a52a593acaaf2bf624d8a2730e
2013-02-23 17:29:22 +01:00
Julien Nabet
3a014901fd Fix typo seperated/separated
Change-Id: I133423de994b1befe246b6c921802428a3528202
2013-02-23 17:20:45 +01:00
Noel Grandin
fbd4588afd fdo#46808, convert io::TextOutputStream service to new-style
Change-Id: I12af47afc21c2b646197893a77698f4e0818f94f
2013-02-11 08:02:15 +02:00
Noel Grandin
ff85e8319a fdo#46808, convert io::TextInputStream service to new style
Change-Id: Ida4abdd6587399aa8ade88af672bcb23ab7ea0f1
2013-02-11 08:02:15 +02:00
Noel Grandin
591ef78440 fdo#46808, Use singleton util::theMacroExpander new-style constructor
And deprecate the old-style service util::MacroExpander

Change-Id: Ifcefe31a8f8c68c6d44d6ec19616727eb607e1cd
2013-02-11 08:02:13 +02:00
Noel Grandin
9a36294079 fdo#46808, Adapt java::JavaVirtualMachine UNO service to new style
Change-Id: Ib0329b9cdc4290ce98c4182e8466c1b44b408341
2013-02-11 08:02:10 +02:00
Stephan Bergmann
2356a480fe API CHANGE: Make TypeDescriptionManager/Provider more consistent
...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
2013-01-30 17:46:38 +01:00
Noel Grandin
2a1b850b78 clean up all the UNO IDL module header guards
.. 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
2012-12-21 09:12:07 +02:00
Thorsten Behrens
90eac3e697 API CHANGE remove [oneway] method attributes
Remove non-functional and broken [oneway] attributes from all idl
files. Change idl compiler to no longer digest such idl.

Change-Id: Ie14c5012beccb6242d7cd592d434a88091b695d1
2012-11-30 14:36:35 +01:00
Stephan Bergmann
7e1b156a41 fdo#57655: Improve wording
Change-Id: I364155ffc76f6917e4d06c6231401609f75f3ed5
2012-11-29 15:37:10 +01:00
Michael Stahl
e9ab377670 remove removed udkapi modules from more files...
Change-Id: Id57598aebe25b3aeffb7f66ad4f9c2b2159fc240
2012-11-28 22:42:55 +01:00
Michael Stahl
3e6b35fc96 API CHANGE: remove com.sun.star.util.logging module
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
2012-11-28 14:29:27 +01:00
Michael Stahl
61d16504fc API CHANGE: remove com.sun.star.beans.XIntroTest
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
2012-11-28 14:25:14 +01:00
Michael Stahl
771914ab14 API CHANGE: remove com.sun.star.test module
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
2012-11-28 14:24:52 +01:00
Michael Stahl
6eb7ee11c6 API CHANGE: remove com.sun.star.corba module
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
2012-11-28 14:23:05 +01:00
Noel Grandin
7470cc532f fdo#46808, Adapt reflection::ProxyFactory UNO service to new style
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
2012-11-28 13:06:18 +01:00
Michael Stahl
31170413ae API CHANGE: com.sun.star.lang.IllegalArgumentException
... 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
2012-11-26 23:14:33 +01:00
Michael Stahl
079485a648 sal, cppuhelper, udkapi, offapi: s/@since 3.7/@since 4.0/
Change-Id: Iefbe31af8d6ec421c6006423b6ee3a6375e3d453
2012-11-20 21:44:16 +01:00
Noel Grandin
c25cb8a641 fdo#46808, Adapt task::InteractionHandler UNO service to new style
Since we don't need to expose XInitialisation, we can make the new-style
service implement XInteractionHandler2.

Change-Id: Ib27beed1c12df17592c6472d6f58c233d2c41558
2012-10-04 14:42:52 +02:00
Stephan Bergmann
d2092dc56b Keep null service manager throw a DeploymentException
...rather than a general RuntimeException, for consistency with existing service
ctor code.

Change-Id: Ia9ac14a1b5bcecb24394e7b9cade369f3f9303f0
2012-09-17 19:12:34 +02:00
Stephan Bergmann
543158edba Require XComponentContext.getServiceManager to throw instead of returning null
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
2012-09-17 16:59:53 +02:00
Stephan Bergmann
581aa2ae22 Improvement on previous commit
Change-Id: Idadc0feb5e9c8a3abb5e53395003c386932aa05e
2012-09-17 14:28:22 +02:00
Noel Grandin
900d60b3cd fdo#46808, Adapt bridge::BridgeFactory UNO service to new style
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
2012-09-17 14:28:22 +02:00
Noel Grandin
82e94dcaab fdo#46808, Add @since tags to new IDL interfaces
Change-Id: Ib351d92d071f6e93ec5eac93c0ab964cef7e7e2f
2012-09-14 18:24:48 +02:00
Noel Grandin
b679a2a021 fdo#46808, Adapt reflection::CoreReflection UNO service to new style
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
2012-09-05 15:46:55 +02:00
Stephan Bergmann
d110a01252 Some clean up of previous commit
Change-Id: I6507b731665eb3d98a8fbf3d445f6c85e6d49258
2012-09-03 15:55:05 +02:00
Noel Grandin
278379697d fdo#46808, Adapt io::Pipe UNO service to new style
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
2012-09-03 15:55:04 +02:00
Noel Grandin
8b34ad6204 fdo#46808, Remove unnecessary XServiceInfo lines in UNO IDL
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>
2012-08-23 09:58:25 +02:00
Jean-Tiare LE BIGOT
fc29987385 Remove comment art from offapi and udkapi
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
2012-08-12 19:29:16 +02:00