Commit graph

435 commits

Author SHA1 Message Date
Miklos Vajna
0c4a749961 sdremote: disable wifi by default in the client
It can be still enabled, but it makes little sense to have it on by
default when the server is off by default.

Change-Id: I625f90fd67781244cc4fffa90127fd1c8707c580
2012-11-29 12:24:32 +01:00
Miklos Vajna
5386ce9830 sdremote: allow accessing options menu from the selector activity as well
The options menu had 3 items, only one required a connection, so show
the rest when selecting servers.

Change-Id: I70797be5fc8f0550380286e0cff2abbf4664591b
2012-11-29 12:24:32 +01:00
Miklos Vajna
af7bd0c91f android: WaE: variable never read
Change-Id: I35f465a085081563214d4e5c9e7fb8a7ac0ef6f7
2012-11-29 11:27:53 +01:00
Miklos Vajna
d9e14c63e3 sdremote: add rules to localize the apk
Change-Id: Ib2034d7ce27ce9d9d9f0d325ea403fb48aeb796d
2012-11-28 16:54:11 +01:00
Tor Lillqvist
b4dd218f9e Add vbaswobj and writerfilter components
Change-Id: I63c88bcb41a48142f8b3c20ff4d66ae28811411b
2012-11-28 10:55:21 +02:00
Andras Timar
1a62283363 unifications/fixes before handoff to translators
Change-Id: I954140a076987f61123dfb8fd74ef830afff4628
2012-11-26 17:58:48 +01:00
Miklos Vajna
33ab92fe56 android: make this a bit more readable
Change-Id: I765458daa808245ec736a3d184ba64c2dcd3a10b
2012-11-26 09:30:51 +01:00
Miklos Vajna
593e4a11ed android: extract duplicated casts to helper methods
Change-Id: Ib77731839ad9e46626a7a07d4b2c6c7e32d4bba1
2012-11-26 09:30:51 +01:00
Tor Lillqvist
29f9c06217 Let's not break "make clean install"
Change-Id: I1a1694bf4ad463ed18c99c5471c53ca26578dfdb
2012-11-26 09:40:57 +02:00
Tor Lillqvist
a9747280ef It's an emulator, not simulator
Change-Id: I01665f9030c9a544a89d3857f96bf3073c706435
2012-11-26 09:40:56 +02:00
Tor Lillqvist
b60f7e4e1c Add newline
Change-Id: Iadb52498dc3906df7488fb534fd04336b3e468e5
2012-11-25 17:50:28 +02:00
Tor Lillqvist
ae6431798e Make the android_version_setup work better
Change-Id: Ibc8f9df533c1fef3c1e428e62622ac2c56552498
2012-11-25 17:38:21 +02:00
Thorsten Behrens
4a19c5bc3c Avoid android deployment target to be the default one accidentally.
Change-Id: I5345850789cd85966aa92064d1a95b7793521e9a
2012-11-24 17:44:47 +01:00
Thorsten Behrens
2739333e55 Prevent bluetooth list update from crashing incessantly.
Temp fix, need to fix the race here.

Change-Id: I95ef1ce206ba0e9059b59c10cf7a76d39df1b8b7
2012-11-24 17:44:47 +01:00
Michael Meeks
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
Thorsten Behrens
cbc5fc321f Add install target for sdremote makefile
Because I'm too lazy to type this all the time.

Change-Id: Id415087247f89a77a9d7bff5efbcceb8d020b09f
2012-11-24 15:01:26 +01:00
Thorsten Behrens
3d82022ffc Refresh notes content of PresentationFragment when data arrives.
Change-Id: Ieee87f41833eff90a1971272c8cfacaa76a3558e
2012-11-24 15:00:15 +01:00
Thorsten Behrens
c2c9d8a99b Fix crashes in android remote.
Several objects become invalid after ending show prematurely. Data
transmission may be flawed, don't rely on valid base64 etc.

Change-Id: I9bb6929b9cd6b3183948662b472f92e2fa67a7e6
2012-11-24 14:59:56 +01:00
Thorsten Behrens
ee81525263 Fix seemingly hanging thumbnail preview.
5 secs timeout between slide changes is probably a bit much,
reducing to half a second now. Had the coverflow frequently stuck
at earlier slides otherwise.

Change-Id: Idabe17e1fc8fe2050990a68c357a00dd2d20c08b
2012-11-22 16:48:58 +01:00
Thorsten Behrens
07af8451fe Broadcast even initial slidenumber to coverflow.
A new slideshow should start at the correct slide, thus it needs
to be communicated to the thumbnail fragments.

Change-Id: Ib8107b4391f0df9a8d7b23f03d4da36ab42fddcc
2012-11-22 16:48:57 +01:00
Miklos Vajna
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
Tor Lillqvist
09fa15193e Simplify: Drop URE_MORE_TYPES and URE_MORE_SERVICES
Change-Id: Idf6b9763051b4ca2bb5c5c5e073cdae7abaf9df4
2012-11-22 14:41:46 +02:00
Tor Lillqvist
129831703f Add an $APP_DATA_DIR predefiend thingie in bootstrap ("rc") files for Android
It expands to what lo_get_app_data_dir() returns, i.e. the activity's
getApplicationInfo().dataDir.

Use it in the LibreOffice4Android app's rc files instead of a
hardcoded (possibly device- and/or OS version dependent) path.

Change-Id: I8145f2c86eeded39232fb251a79fa64f31f77f55
2012-11-22 14:06:06 +02:00
Tor Lillqvist
fe3303b3dc Similar changes as in ../LibreOffice4Android
Change-Id: I6a0969a2004c52f117d6b250e3af42904bf16a0a
2012-11-22 12:44:26 +02:00
Tor Lillqvist
cecc926070 Clean up remains of NativeActivity-based Android app support
We haven't been able to build NativeActivity-based apps (like the
android/qa/sc and anroid/qa/desktop thingies) since we switched to
DISABLE_DYNLOADING and a single DSO liblo-native-code.so anyway.

No lo_main() any more. <sal/main.h> should not be included ever when
compiling for Android of iOS now.

Lots of stuff binned from vcl's androidinst.cxx, in the (vain?) hope
that it will reduce the amount of never invoked GUI code that gets
linked in.

Change-Id: I25f584864c40110774c728a23151e089620442d9
2012-11-21 23:03:57 +02:00
Tor Lillqvist
83833aa79c Don't bother with -Wl,--stats, I'm not loooking at them anyway
Change-Id: I1bbe00e42d6d36c9dd86f576b5cc8998e99819b8
2012-11-21 23:00:35 +02:00
Tor Lillqvist
4cf30c6c2a Save more space: compress the .rdb files in the .apk
This means they will have to be uncompressed and copied into actual
files when the app runs for the first time, but that is a small price
to pay for reducing the .apk size with over ten megabytes.

Change-Id: I5bcf3c228197519edd1ca8cbd804b5f027d7699d
2012-11-21 20:01:40 +02:00
Miklos Vajna
3ef3601f79 android: add 'go to page' menu item
Change-Id: Ie9d04ef9aeef5cacd1c3b8557111ee3a6194ccd4
2012-11-21 17:16:30 +01:00
Tor Lillqvist
0f834124b1 udkapi.rdb could never be used anyway as it is not mentioned in any rc file?
Change-Id: I5897f3d7e8d3d16481c644ee688bcf001d1b7b8c
2012-11-21 16:19:04 +02:00
Tor Lillqvist
ae81246917 We don't need the library search path anymore
As we don't use any dlopen() etc wrappers now with just one single
DSO, we have no use for the library search path either.

Change-Id: Ifaf11c4785a90fe5c7dafb3310bc7933ea31238c
2012-11-21 15:22:27 +02:00
Tor Lillqvist
970b53e050 Enable storing some files gzipped in the .apk
We gzip them separately in the Makefile and the gzipped result will be
stored without (further) compression in the .apk.

Use this to store the ttf font files. Shaves off a bit .apk size.

This might seem a bit odd way to do it, why not store these files in
the normal Zip compressed fashion in the .apk? It seems hard to tell
Ant (based on path, not extension) what files to compress and what
not, so we have to keep telling it to not (further) compress any files
at all.

Change-Id: I0d40d8811e6c9df6b28c285845b1db225507f5d4
2012-11-21 15:05:13 +02:00
Tor Lillqvist
a0adefdc49 Update to match SDK r21
Change-Id: I7bc54a295c7155a1a173c28f45118a6d2983d0d2
2012-11-20 14:28:27 +02:00
Miklos Vajna
4460f406a4 android: don't load the document after every rotation
Change-Id: I0af154bc5bc6cc79ab45a85a5a06e4539442ec81
2012-11-20 12:51:00 +01:00
Miklos Vajna
a1d9caffa3 android: move toolkit and dummySmallDevice to bootstrapContext as well
Change-Id: I4b6ce49aa5e6d391e832dc1023e47d694a480948
2012-11-20 12:10:52 +01:00
Miklos Vajna
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
Tor Lillqvist
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
Miklos Vajna
677ca1d596 android: remember displayed page during rotation in DocumentLoader
Change-Id: I1948dcc76026e4c906407932aa67371e5e9e8bb6
2012-11-13 14:25:52 +01:00
Miklos Vajna
29719a369d sync android manifest with project properties: sdk version
Note that with having a targetSdk >= 11 and minSdk <= 10, we can enable
hw acceleration without loosing compatibility with 2.x devices.

Also, remove android:configChanges="orientation", as it seems to improve
rotation experience a bit.

Change-Id: Ia3be9bb3b998d604a032eb5c60f9bb0ec71dfc68
2012-11-12 11:27:37 +01:00
Tor Lillqvist
a5b985ce67 Let's try to make this significantly smaller by keeping only text doc support
Change-Id: Ib766a4ed49d089488fc4ec67b941be2f38ba3ac3
2012-11-09 09:54:11 +02:00
Tor Lillqvist
62b4827f23 Use --gc-sections
Change-Id: I6694f1820dc8c2cdae2522357932ab0065754a75
2012-11-08 15:29:14 +02:00
Tor Lillqvist
8d32dc82e6 Produce a linker map
Change-Id: Iff4f7be61310884dea1c29f6fe931dd35cadc552
2012-11-08 15:28:59 +02:00
Noel Grandin
f252b332dd fdo#46808, renamet awt::XToolkit2 to XToolkitExperimental..
..because we want to use the name for the new merged interface
for the Toolkit service.

Change-Id: Ib1e193c7d04729f6420ee6984231fd50181e59d3
2012-10-24 16:49:49 +02:00
Tor Lillqvist
d8feea6c28 Seems that on the emulator the y scale is -1, huh
Change-Id: I1ad30e278a5b04de3ee544c30c38f4765539157d
2012-10-22 15:18:29 +03:00
Tor Lillqvist
a09a98ee45 Add ucppkg1
Change-Id: I471440867895b2a8ef2f2de90ed37f5b3c9c0721
2012-10-22 15:18:29 +03:00
Andrzej J.R. Hunt
6f2a127989 Add LibreOffice licence headers where currently missing. 2012-10-18 19:51:40 +01:00
Tor Lillqvist
b8523dd612 Add animcore and dba mappings
Change-Id: If560563c884dc3ee4159aae24e62c5f56c544254
2012-10-15 13:47:52 +03:00
Tor Lillqvist
82bba1a2b3 Drop confusing comment
Change-Id: Ic702abecf1bd21893bd5d4dee532d2e342985e6e
2012-10-11 10:07:12 +03:00
Tor Lillqvist
b9bef032ce COPYSO should not be used with DISABLE_DYNLOADING
Change-Id: I0e04cd8fe35a487b85cd3abd420d24ab2a55821a
2012-10-11 10:07:12 +03:00
Tor Lillqvist
5476c14de5 Adapt to disable-dynloading style
No need to load any native libraries here any more.

For now, using the same native-code.cxx as over in ../DocumentLoader
works. In other words, we end up with the same code in
liblo-native-code.so. This will obviously change if/when the UNO APIs
that are called start to differ.

Change-Id: Ia47ce833c5a290a93986005f92e981c89f63bf71
2012-10-11 10:07:11 +03:00
Tor Lillqvist
3a5d6a9ac3 Just use the wildcard function to list all the libs
It doesn't seem to be any slower. (Note that we are *not* using
-Wl,--whole-archive around these libs so it won't link in them in
total, but only what's needed.)

Change-Id: I2cc090562fc910d3375c6293f1f4358c68a6f9f3
2012-10-11 10:07:11 +03:00