Commit Graph

15 Commits

Author SHA1 Message Date
Matúš Kukan
645fb66bbd Use native-code.py generated code also for iOS.
This allows us to get rid of component-declarations.h and
simplify component-mapping.h.
For new, converted, implementation_getFactories, adding one line into
native-code.py should be enough to make them available in application.

Change-Id: I042320e5b7f8a9aa9f02b77d2bdd07cf9a690ee6
2014-01-01 17:33:29 +02:00
Matúš Kukan
645dac2f94 Deduplicate more components.
No one says this is the only good classification.
Quite possibly it's not even a good one, but at least something.

Change-Id: I81178314222f9f63708a83b262ff8ef73a1d9467
2013-12-19 15:34:33 +01:00
Matúš Kukan
8f9c0fe459 bin few comments
It's not a good way to add invidual components.
We aim to create some groups of them.

Change-Id: I752c2b01c1c800d3eb446403ff7fc9e6da3aa635
2013-12-19 15:34:31 +01:00
Matúš Kukan
e05e58948c Deduplicate writer component factories.
Change-Id: I0b82e8a284f871829b7c22a654d61534b5c5a3cc
2013-12-19 15:34:30 +01:00
Matúš Kukan
ad4e451070 Deduplicate a lot of common components.
Change-Id: Ic3eb95119eed7a691c9cd0c677f28c87395b9415
2013-12-19 09:41:45 +01:00
Stephan Bergmann
ae3a0c8da5 Add .component <implementation constructor="..." feature
...to directly call constructor functions of ComponentContext-based C++
implementations of (non-single-instance) UNO services.  The case where these
calls would need to be bridged across different environments (e.g., from gcc3
to gcc3:affine) is not yet implemented.

bootstrap.component and expwrap.component are adapted accordingly as a proof-of-
concept (which had previously been adapted to use the prefix="direct" feature,
which may become unnecessary again in the end, depending on how to handle
single-instance services/singletons).  More to follow.

Change-Id: I18682d75bcd29d3d427e31331b4ce8161dbb846d
2013-12-19 08:48:56 +01:00
Matúš Kukan
d8bbae2fd6 Get more --disable-dynamic-loading code out of shlib.cxx.
It's not terribly nice, but, hopefully, better.
The hope is that one day, lo_get_library_map will be no more.
In lo_get_implementation_map we can specify more precisely what to link
into the binary.

Change-Id: I99a1854fbae05be2f70302cc56bea88e522ec129
2013-12-18 07:15:49 +01:00
Matúš Kukan
562b21949f Deduplicate some foo_component_getFactory declarations.
Change-Id: I9304b62134bab375b721399ae078bf66e01191d8
2013-12-18 07:15:47 +01:00
Matúš Kukan
b6cebf4a3e Allow UNO component libraries to have each implementation in its own function.
Demonstrating on expwrap library.

There is hope, this will bring code size savings for mobile
platforms, where we don't need every implementation.

Change-Id: I3519fb6148fd7a47ed9df092c73779ea6add552f
2013-12-18 07:15:46 +01:00
Marcos Paulo de Souza
eebc1e9a8a fdo#60698: Merge fastsax and sax_shared into expwrap
Change-Id: I6f8c6827c00db50184a46f39968f882b944d18d4
Reviewed-on: https://gerrit.libreoffice.org/6967
Reviewed-by: Michael Stahl <mstahl@redhat.com>
Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org>
2013-12-11 20:45:30 +00:00
Tor Lillqvist
9f53053eda Add types.rdb (formerly known as udkapi.rdb) to MobileLibreOffice
Keeping this stuff working is hard. How did I not notice this before?
I need to make clean more often I guess.

I edited the project.pbxproj file manually as I didn't fully get it
how to set up the wanted handling of this file in the Xcode GUI. So I
just copied the handling of offapi.rdb in project.pbxproj (with
different ids, of course).

I really much prefer doing this fully in Makefiles, as in
CustomTarget_LibreOffice_app.mk.

Change-Id: Ifc4f2481f7a9d1562be6f91714ed38c82cdd5eb0
2013-12-09 21:49:42 +02:00
Tor Lillqvist
5440d47c9c Use actual executable path in the fake argv
Not that I think it is needed for anything useful, but better to be
correct than to use the leftover "Viewer" name.

Change-Id: I0878d39abf99c9d07807aa6854bfdcf12bc81ab8
2013-11-15 16:51:59 +01:00
Tor Lillqvist
9fabf25bc4 Dummy implementation of touch_ui_dialog_modal()
Change-Id: I38b72837d8a26ef95d84deca299023c1646169cf
2013-11-01 00:23:00 +02:00
Roi Illouz
aae312db55 Fixe project for Xcode5 iOS7 new solver changes
Change-Id: I13c33cb0806dd16c2255788f5bcf635413644792
Reviewed-on: https://gerrit.libreoffice.org/6514
Reviewed-by: Tor Lillqvist <tml@collabora.com>
Tested-by: Tor Lillqvist <tml@collabora.com>
2013-10-31 13:06:02 +00:00
ptyl@cloudon.com
2b60f46e25 Add the new iOS app project files
Change-Id: I9ac049ef61e698afda1577a630e1185c75a33734
2013-10-15 22:52:06 +03:00