Commit Graph

19 Commits

Author SHA1 Message Date
Matúš Kukan
43e2cf590a Deduplicate calc components.
Hopefully it makes sense, I don't know.
Inspired by Debian packages.

Change-Id: I8caf2d4aa75b8f6de3cc7da9eb293955a4ed58d8
2013-12-19 15:34:32 +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
e13af24d2b fileacc is not a separate component any more
Change-Id: I47f3dd29aba16aa2d8a5e3746c447288d2066b23
2013-10-19 11:03:23 +03:00
Tor Lillqvist
802a87e181 Adapt to library name changes for Android, too
Change-Id: I6da1f38c5a9693c13ef841442cbef017d388416a
2013-05-02 11:58:41 +03:00
Michael Meeks
abacc389db android: remove lotus word pro filter - bit optimistic.
Change-Id: I08bbec95db2ae9bc7226cd5ca1cc7b81c235a26f
2013-04-30 13:19:51 +01:00
Tor Lillqvist
b5fea2f46a The file names of many UNO components have changed
Change-Id: I18f90b058e40ca15164fd3e8c33bc904b930981d
2013-04-23 19:33:04 +03:00
Tor Lillqvist
07c1b61933 Small refactoring of the Android "desktop app" code, no functional change
Move the native methods out to a separate AppSupport class so that they aren't
in our "experimenal" Desktop app's namespace. Don't hardcode the name of that
class in the native code, but have the app register the class to which the
damage callbacks should be done.

Possibly the AppSupport and Bootstrap classes should be combined. Later.

Also, the "android" part of the package name is superfluous; it is
Android-specific code, no information gained by having an "android" part in
the package name.

Change-Id: Iddf55c8034ead7693887ace8438deb002c5eea9f
2013-04-19 18:50:36 +03:00
Michael Meeks
f3c4b5606d Add more components
Change-Id: I3ea18b4a075516f3c098fad5d63466f20bf0b494
2013-04-12 19:03:49 +03:00
Tor Lillqvist
0ce2d740a2 Handle damage tracking and redrawing properly in the "desktop" Android app
In the damaged() method do a callback up to Java code in Desktop that
invalidates the view. For now store the view in a static field, but need to do
that in a cleaner way eventually. There might in some circumstancest be
several instances of the Desktop activity present. Obviously should also run
just one LO thread.

Get rid of the temporary self-invalidattion in onDraw() silliness.

Start the LO thread that runs soffice_main() from Java, not from native
code. Apparently only threads created from Java have proper class loaders in
Android.

No need for an own DoReleaseYield() in AndroidSalInstance, the one in the
SvpSalInstance base class does what needs to be done.

Change-Id: I4cb85b352fca1f1375f726620ec8c93d2047f113
2013-03-07 02:33:42 +02:00
Tor Lillqvist
92c033df8f libucppkg1 is needed, for auto-save I think
Change-Id: Ie4ec4e2518c9e0621b75afe21f22862e3e8bf726
2013-03-03 01:14:15 +02:00
Tor Lillqvist
2341da1f20 We need the spell library as soon as we have some text in Writer
Change-Id: Ice3eb23f57069043c0c971fce5dfe22aa95c3870
2013-02-27 21:00:54 +02:00
Tor Lillqvist
b7777dbf8e Rename the package and .apk of the "desktop" test app to avoid confusion
It used the same package name as DocumentLoader and the same .apk name as the
eary sc cppunit test app. Probably having two unrelated apps with the same
package name causes some confusion somewhere.

Change-Id: I11414b9cd59694eb97d39bfaeac4ed1066ae3aab
2013-02-22 18:15:57 +02:00
Tor Lillqvist
b02c075a16 Rename android/qa/desktop to android/experimenmtal/desktop
It's not really a "QA" thing.

Change-Id: I85f7b5610ecd409972b7d504bfc567707d35556e
2013-02-22 18:15:57 +02:00