Commit graph

1397 commits

Author SHA1 Message Date
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
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
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
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
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
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
Thomas Arnhold
85e94e11bc remove empty ascii boxes and stuff II
Change-Id: I7fc113f8d59f7c82bae6acace7bf4230b4c2bbea
2012-08-07 18:08:29 +02:00
Michael Stahl
753e9b3d45 udkapi, offapi: do not use #include "foo":
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
2012-07-30 20:49:09 +02:00
Michael Meeks
18f3203915 re-base on ALv2 code. 2012-07-02 14:43:34 +01:00
Michael Meeks
99ced0bdae re-base on ALv2 code. 2012-06-12 15:10:53 +01:00
Stephan Bergmann
c2fd9b533c New cppu::defaultBootstrap_InitialComponentContext implementation
...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.
2012-04-20 22:57:32 +02:00
Tomas Hlavaty
dc6e942da0 fix idl #include guards 2012-04-20 12:57:51 +02:00
Tomas Hlavaty
940be46908 idl fix package for CorbaString8 and CorbaUnion 2012-04-20 12:57:50 +02:00
Tomas Hlavaty
a7f3ca4c5b add missing #ifndef 2012-04-20 12:57:50 +02:00
Michael Stahl
ec24cfbfb9 LoggerRemote.idl: include with full path 2012-04-20 12:57:49 +02:00
Stephan Bergmann
fd065e692a Remove superfluous comment
...that looks out of place after previous commit.
2012-03-27 12:28:55 +02:00
Noel Grandin
e4d9dabce8 fdo#46808, Adapt UNO serviecs to new style, Part 1
Convert the IDL files in the udkapi module, and update the
types.rdb database.

Signed-off-by: Stephan Bergmann <sbergman@redhat.com>
2012-03-27 12:28:55 +02:00
Stephan Bergmann
3f89190894 Make Converter service new-style, for easier use 2012-03-13 10:39:51 +01:00
Elton Chung
806bec7107 Fix typos in comments 2012-02-13 15:27:24 +00:00
Jesús Corrius
7be0cc289d A few safe replacements of pathes->paths 2012-02-01 14:43:37 +01:00
Thorsten Behrens
00de339c15 Fixup over-ambitious previous revert.
There were actually some useful bits hidden in that mass-publishing
of uno api.
2012-01-26 22:45:27 +01:00
Thorsten Behrens
78cca63070 Revert publishing of lots of UNO types.
See issue i#117329

This reverts commit fb2b2be1bf.
This reverts commit 0b494e0cb9.
This reverts commit 3e396922c2.
This reverts commit 0461d179dd.
This reverts commit 0f79c68194.
This reverts commit 65162840e3.

Conflicts:
	offapi/com/sun/star/drawing/XSlidePreviewCache.idl
	offapi/com/sun/star/drawing/framework/XPaneBorderPainter.idl
	offapi/com/sun/star/rendering/FontInfo.idl
	offapi/com/sun/star/rendering/XBezierPolyPolygon2D.idl
	offapi/com/sun/star/rendering/XColorSpace.idl
	offapi/com/sun/star/report/XFixedLine.idl
	offapi/com/sun/star/report/XFixedText.idl
	offapi/com/sun/star/report/XFormattedField.idl
	offapi/com/sun/star/report/XFunctionsSupplier.idl
	offapi/com/sun/star/report/XImageControl.idl
	offapi/com/sun/star/report/XReportControlFormat.idl
	offapi/com/sun/star/report/XReportDefinition.idl
	offapi/com/sun/star/xml/crypto/SEInitializer.idl
2012-01-26 22:11:48 +01:00