Commit Graph

1449 Commits

Author SHA1 Message Date
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
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
Bjoern Michaelsen
b1c3e8ae28 make gbuild the default assumption of build.pl
this removes dmake completely out of the build for migrated modules
build.pl now assumes modules to be gbuild, unless there is a
prj/dmake file

Change-Id: I674a036b182ee13c5ec093e83cb3d38133112d3b
2012-04-29 03:50:46 +02: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
David Tardon
4a271bf4d2 gbuild: "use" vs. "add" 2012-04-08 14:53:06 +02:00
David Tardon
7545dbbf64 merge feature/gbuild_components 2012-04-06 14:31:05 +02:00
Noel Grandin
15f9ca7d58 fdo#46808, Adapt UNO services to new style, Part 6, updating makefiles
Update the makefiles to generate the necessary new include files.

Signed-off-by: Stephan Bergmann <sbergman@redhat.com>
2012-04-02 20:44:39 +02:00
David Tardon
59c0f8f452 merge origin/master 2012-04-01 12:21:00 +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
David Tardon
295b09a632 refactor UnoApi class 2012-03-11 16:33:52 +01:00
Elton Chung
806bec7107 Fix typos in comments 2012-02-13 15:27:24 +00:00
Josh Heidenreich
fb78dbcdc5 Added READMEs for modules related to URE, with content from the wiki 2012-02-06 05:28:46 +01:00
Norbert Thiebaud
c857dff7fc switch to include-based build rather than sourced-based build 2012-02-05 19:34:05 -06: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
Tomas Hlavaty
9e3235cd99 minor idl fixes 2012-01-05 11:51:44 +00:00
Caolán McNamara
91894d52b6 add mode-lines to .idl files 2012-01-05 09:18:17 +00:00
Michael Meeks
9ae50a6d41 Revert "minor idl fixes" - no explicit license statement yet.
This reverts commit 5260bf5ea7.
2011-12-20 17:46:59 +00:00
Stefan Knorr (astron)
ad2eb6c4ba Less succes, more success 2011-12-08 09:06:09 +01:00
Bjoern Michaelsen
2acd8fbac9 in modules, when we have a env we are in stage gbuild 2011-12-07 15:53:06 +01:00
Tomas Hlavaty
5260bf5ea7 minor idl fixes 2011-12-06 23:54:36 +00:00
Bjoern Michaelsen
d73e574d8a move reconfigure into gbuild 2011-11-29 17:25:14 +01:00
Bjoern Michaelsen
f2f0dbd273 make gbuild makefiles run independant of pwd again 2011-11-25 12:04:40 +01:00
Michael Stahl
3960e9c55e udkapi: kill dmakefiles 2011-11-21 22:45:56 +01:00
Michael Stahl
348fcf4b55 udkapi: empty d.list 2011-11-21 22:45:49 +01:00
Norbert Thiebaud
0ea8c014ef tweak gbuild standart Makefile to allow partial build in unsourced env
This allow to run make in a module wihtout the need to source
Env.Host.sh.
2011-11-16 06:18:54 -06:00
Matúš Kukan
c77a9254dd no need for SRCDIR parameter here 2011-10-23 13:20:29 +02:00
Michael Stahl
68cde28252 UnoApiTarget: replace realpath calls 2011-10-21 20:17:19 +02:00
Bjoern Michaelsen
e94a19f3e0 simplfy dmake to gbuild bridgefile 2011-10-05 00:31:50 +02:00
Matúš Kukan
5606c2aac1 process more idl files at once - second part: makefiles 2011-09-19 10:58:08 +02:00