Commit Graph

121 Commits

Author SHA1 Message Date
be1bb7b1cc java: use Boolean.valueOf instead of instantiating Boolean objects
Change-Id: Ie41d6b0170a035a694dd270c311a137fd1810e74
2014-08-19 14:57:16 +02:00
d5d480dcce android: copy-stuff rule is copy'n'pasted around, consolidate it.
Change-Id: I0a746904fa363f987e96165d8def326eb87dcf8f
2014-06-30 14:48:03 +02:00
71e176c020 android: Reformat for readibility.
Change-Id: Ib33d3ee0c78302b858b7c814e486c417276b7e7d
2014-06-30 14:48:01 +02:00
e3d91e9148 android: Allow verbose output from the ant build.
Change-Id: I1086a7ab6bc7913c9c9f2492d07915039007e613
2014-06-30 14:48:01 +02:00
b0ac763d13 native-code: Remove foo_core groups, now only 'core' and 'writer' are used.
Also remove extended_core group. If something from there will be
needed, we will add it another way.
Currently only android/experimental/desktop/Makefile and
ios/CustomTarget_TiledLibreOffice_app.mk are known to do something.

Change-Id: I99936075e35ce98d684581838c0a19dccd83f942
2014-03-06 15:48:26 +01:00
c2756737e0 Require Android API level 15, which is from December 2011
Note that this doesn't really mean a lot for the NDK.

Change-Id: I4061cb856055ae126aadf56afc462182a875e65f
2014-03-05 16:13:45 +02:00
13964ddb61 sc/qa/unit/data/xls/border.xls was removed
..in commit a96b6f4708d587ddddd93101e51e52dec4e87b7e

Change-Id: I94ea246df8fabee9b0bda579be7698c964958e16
2014-01-18 17:04:26 +01:00
4be366de58 native code generator: Do not use single_component_map anymore.
Put cui and spl into extended_code and ignore the rest.

Also change DocumentLoader and LibreOffice4Android to use only
extended_core and writer as all the ios apps do, without knowing what is
really needed there.

Change-Id: Ic6a256ea47cc96132c0e7658d6ef2838b295ca71
2014-01-02 14:40:07 +01:00
3f47635b86 Improve native-code generator for (not only) Android.
Group logic from include/osl/detail/component-mapping.h has been
duplicated here for now.
The plan is to reuse this for iOS too if possible.

We don't need component-declarations.h now, which is good because
the list of implementation constructors is going to grow a lot over time.
Also, something needs to be done to avoid component-defines.h.

--constructor parameter was removed because it was not used
and also does not make sense.

__attribute__ ((visibility("default"))) is removed too.

Change-Id: I5e3f988800303d31e1d78220cbd25339bcbc482a
2013-12-23 21:10:35 +01:00
a17c0950c0 Add tool to generate native-code.cxx for Android.
Should be extended to be helpfull for iOS too.

Change-Id: I862731b6386d5f9cbb508e0c138f45fbe1cb3f46
2013-12-20 13:00:24 +01:00
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
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
e05e58948c Deduplicate writer component factories.
Change-Id: I0b82e8a284f871829b7c22a654d61534b5c5a3cc
2013-12-19 15:34:30 +01:00
ad4e451070 Deduplicate a lot of common components.
Change-Id: Ic3eb95119eed7a691c9cd0c677f28c87395b9415
2013-12-19 09:41:45 +01:00
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
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
562b21949f Deduplicate some foo_component_getFactory declarations.
Change-Id: I9304b62134bab375b721399ae078bf66e01191d8
2013-12-18 07:15:47 +01:00
555168bd6b android: fix/remove last uses of $(OUTDIR) here
Change-Id: Iba4db538fea3ab494af737c91f5fd754de0c044c
2013-10-26 08:46:23 +02:00
6db1f5f4c6 Fix fallout from 30fc3d6cff15ceabea6e1f9c4683cd383c322d72
Change-Id: If97dc13e63986a7c9534f46673cfa8541893269a
2013-10-25 14:21:39 +03:00
01a13519e2 Fix bit-rot
Change-Id: Iae6aa3c1326456dde7261f471ba7d963058f20a7
2013-10-25 10:50:54 +03:00
9b966d0dc8 fileacc is not a separate component any more
Change-Id: I59eac660accfc362766bc3744655e2ba2d66ddd6
2013-10-19 11:19:06 +03:00
e30a34f7d7 Fix up Android app makefiles
Change-Id: I885c2bf3dd04b18850d983ab34199074bd41c175
2013-10-03 10:13:39 +03:00
ca99561170 More files are no longer in OUTDIR, only in INSTDIR
Change-Id: Ide6654cbc378621a41a4a207978a4f42bc44d3e3
2013-09-11 11:25:51 +03:00
015e1b8444 android: prefer external storage in DocumentLoader / LibreOffice4Android
With this, these apps can be used even if /data is something like 128MB,
e.g. on normal phones, not tablets / emulators.

Change-Id: I7c8f2787b6395e98e8065e2e207aa09d9a2f39b3
Acked-by: Tor Lillqvist <tml@iki.fi>
2013-06-28 09:51:10 +02:00
802a87e181 Adapt to library name changes for Android, too
Change-Id: I6da1f38c5a9693c13ef841442cbef017d388416a
2013-05-02 11:58:41 +03:00
abacc389db android: remove lotus word pro filter - bit optimistic.
Change-Id: I08bbec95db2ae9bc7226cd5ca1cc7b81c235a26f
2013-04-30 13:19:51 +01:00
5a15474709 Adapt to changes in type rdb file locations and names
The old bin/ure/types.rdb was just a duplicate of bin/udkapi.rdb. There is no
bin/types.rdb any more either. We have just udkapi.rdb, offapi.rdb and
oovbaapi.rdb now.

Change-Id: Idd0911f1d4d48f172af159b852918d429f17cc92
2013-04-24 12:45:47 +03:00
1c0e3ea7a0 fix android build
Change-Id: I97903559e1f6ef48476a74a674c0832d9cb44640
2013-04-14 15:00:05 +02:00
f204dc1f8f Get soffice.cfg from its new location for Android, too
Change-Id: I2d65b51ec9a223994d39dc9433d1290b44422e1d
2013-04-11 13:44:14 +03:00
7640fa315e Typo: string.xml->strings.xml
To make available for localization

Change-Id: I5469549422c7a2d2618ed9e836895f6698328b17
2013-04-02 21:29:42 +02:00
de8d12acf1 Use proper version numbers
Change-Id: Ib0284c3fe63636e42b2e72ab76b02a8197c837e0
2013-03-27 14:36:27 +02:00
bd36b992cf Support an ad-hoc (non-gbuild) Makefile workflow for the Android apps
For now, we want to keep being able to just say for instance "make run" in the
android app directories.

Change-Id: I1898d5466c0df6007fa32b202888bed644fa9489
2013-03-03 01:14:15 +02:00
b89ea45e5b fix android build in separate dir
Change-Id: Id7cf80e1da87a56dee645dc01e64dedc4a8586ab
2013-03-01 18:50:02 -05:00
18e035964e Cleanups to the android and ios makefilery
Also build the "desktop" app from gbuild.

Change-Id: I45fc265c9515b22e10bd7644f54dbfa23601e063
2013-03-01 10:55:51 +02:00
e459f5128a Need the protocolhandler and spell libraries
Change-Id: I88b514326be80e56053a28f4a434162fd8d4397b
2013-02-21 22:54:36 +02:00
f6991262cb UNO_TYPES and UNO_MORE_TYPES must contain file: URLs, not pathnames
Apparently it (by accident?) used to work to use pathnames.

Change-Id: Icebda427cef645ed53594e179c211d2a9d020583
2013-02-21 11:55:34 +02:00
44db691206 android: get the desktop demo building again. 2013-02-15 11:41:04 +00:00
68d7b72fcc android: share more of the Makefile / build logic 2013-02-15 10:52:38 +00:00
26c142ca5f Kill the ancient StarOffice "patch" concept
For Windows, superseded by Windows Installer patching (i.e., creating
.msp files), which is something completely different. (And quite hard
to get working... but still a saner approach, I think.)

For Linux, many distros use delta RPMs or similar, so no home-grown
LO-specific patching mechanism is needed.

Remove the -patch and -patchinc command-line options to
make_installer.pl and all code that was invoked only when using those.

Remove the PATCH and PATCH_ONLY flags in scp2.

Remove the patchmsi.dll Windows Installer custom action.

Change-Id: I09e949e601a969f88eff60067faa2352f4f89537
Reviewed-on: https://gerrit.libreoffice.org/1605
Reviewed-by: Michael Stahl <mstahl@redhat.com>
Tested-by: Miklos Vajna <vmiklos@suse.cz>
2013-01-10 09:32:36 +00:00
4427bb0c58 The "ProductSource" (MWS name) makes no sense any more 2013-01-06 15:30:04 +02:00
33ab92fe56 android: make this a bit more readable
Change-Id: I765458daa808245ec736a3d184ba64c2dcd3a10b
2012-11-26 09:30:51 +01:00
593e4a11ed android: extract duplicated casts to helper methods
Change-Id: Ib77731839ad9e46626a7a07d4b2c6c7e32d4bba1
2012-11-26 09:30:51 +01:00
aaaf5126c6 android: adapt the ant clobbering to a given SDK version.
Another volunteer fell over this, and (I hope) it's easy enough.

Change-Id: I7149d16fd8b7749afeeccef2ebc8f493200f1900
2012-11-24 16:42:47 +00:00
a3b8cfa65c android: clean up no longer needed onSaveInstanceState()
It could not be used to save whole objects, so get rid of it and use
onRetainNonConfigurationInstance() exclusively.

Change-Id: I7cc3951b60a054b5b2488b49791b58707dc8a68b
2012-11-22 15:56:58 +01:00
fe3303b3dc Similar changes as in ../LibreOffice4Android
Change-Id: I6a0969a2004c52f117d6b250e3af42904bf16a0a
2012-11-22 12:44:26 +02:00
3ef3601f79 android: add 'go to page' menu item
Change-Id: Ie9d04ef9aeef5cacd1c3b8557111ee3a6194ccd4
2012-11-21 17:16:30 +01:00
4460f406a4 android: don't load the document after every rotation
Change-Id: I0af154bc5bc6cc79ab45a85a5a06e4539442ec81
2012-11-20 12:51:00 +01:00
a1d9caffa3 android: move toolkit and dummySmallDevice to bootstrapContext as well
Change-Id: I4b6ce49aa5e6d391e832dc1023e47d694a480948
2012-11-20 12:10:52 +01:00
4c359c22e1 android: don't bootstrap after every rotation in DocumentLoader
It seems that previously onCreate served 3 different purposes:

1) bootstrap UNO machinery
2) load the document
3) create the view

Ideally it should do the first two only if not done already -- as a
first step, this commit extracts 1) and does only once.

Change-Id: I087a6b934c05295263080f571c95ef152e4602cb
2012-11-20 11:02:25 +01:00
26b8cd2b3e Reduce dynamic symbols and strip all local ones from the Android single .so
Use a version script ("version map") that exports only the Java_* and
JNI_OnLoad symbols that the JNI machinery needs. No non-dynamic
symbols are needed (in the .so that goes into the .apk; the one kept
locally for debugging is not stripped).

Change-Id: Ie874e59c593ec9e5d08ba369612cef1a3ea85fe4
2012-11-16 16:25:17 +02:00