803 Commits

Author SHA1 Message Date
Tor Lillqvist
5d5bed66db Tell what 00001101-0000-1000-8000-00805F9B34FB is
Fun that we have to reverse engineer and document magic numbers in our own
code. Code written less than a year ago.

Change-Id: I02b7697e7e02b85c8df78acda8f943c9b0628359
2013-02-12 13:43:10 +02:00
Thorsten Behrens
07c99eff32 Bump Impress Remote version.
Change-Id: I94cae8873edb3efc449f9dfe8687e70a17d26a68
2013-02-12 00:59:04 +01:00
Thorsten Behrens
b66f4d7137 Bump Impress Remote version.
Change-Id: Ife0d461fa7b1f4f0436a3470ceee18af46d090f2
2013-02-11 23:50:17 +01:00
Thorsten Behrens
412d3cfd95 Remove empty ant.properties
And ignore it henceforth - it will be usefull locally for release
code signing.

Change-Id: If870a39140541834bd97fb247967712f30acff63
2013-02-11 23:39:46 +01:00
Thorsten Behrens
63fdfd1eb6 Filter out three-letter locales - aapt breaks there.
See
http://stackoverflow.com/questions/10330893/android-resources-for-languages-with-only-3-letter-codes
for some more background.

Change-Id: Ib8c62d008239de3f0ba35ebe17f8f6974f28beb1
2013-02-11 15:07:54 +01:00
Thorsten Behrens
5b614cb2ac Ignore more in-tree build output on android.
Change-Id: Icb6fb1ffab19f02d0af807d8f92201f1914ac08c
2013-02-11 15:07:54 +01:00
Thorsten Behrens
960f1c2c7b Update Impress Remote version.
Change-Id: I12ad4604d0426a52b47d99d1bc3c4c6536e83b07
2013-02-09 00:22:23 +01:00
Michael Meeks
a75aeb5cef fdo#60487 - sdremote - load default preferences eg. volume control switch. 2013-02-08 15:03:38 +00:00
Joren De Cuyper
5adefb2124 resolve fdo#60379 Impress Remote: Options look disabled
Change-Id: Ifb760fd0a0fa1430b77838a0340cc0956a0201a7
Reviewed-on: https://gerrit.libreoffice.org/2029
Reviewed-by: Thorsten Behrens <tbehrens@suse.com>
Tested-by: Thorsten Behrens <tbehrens@suse.com>
2013-02-07 18:46:15 +00:00
Thorsten Behrens
f3e42e07da Clarify android-coverflow license.
See http://code.google.com/p/android-coverflow/source/browse/LICENCE.txt

Change-Id: I29cd2f9115f9c711dc07d8efbe89e42bedab040f
2013-02-07 15:40:15 +01:00
Thorsten Behrens
12f2baa316 sdremote - always replace fragments, to avoid stale content
With Change-Id I7cb1cf29bcae59ef26cf3bf0c2b3dd028eb8f878, this code
gets run on every onCreate, thus adding activities on top of
existing ones. Seems FragmentManager lifetime is a bit decoupled
from Activity

Change-Id: Icc1dc86ef91257ce734ee00fed83e909ddf52dc8
2013-02-07 11:41:24 +01:00
Michael Meeks
06535009ce sdremote - enable volume control slide-switching by default.
This is far and away the easiest way to switch slide. The coverflow
with it's physics / momentum is really no-where near as useful.
2013-02-06 12:53:05 +00:00
Michael Meeks
8db1ba5d22 sdremote - don't let incoming thumbnails crash us if we switched view. 2013-02-05 14:39:34 +00:00
Stephan Bergmann
e63bfb3035 Get rid of STAR_RESOURCEPATH
...the only remaining use was for CppunitTest to find the .res files in
$(OUTDIR)/bin/.  Get that solved by delivering the .res files also to
$(OUTDIR)/unittest/install/program/resource/ (new
gb_ResTarget_get_unittest_target).

Change-Id: I370e7cab4223256356c7511b88ae63d9c0dbf215
2013-01-30 13:47:12 +01:00
Michael Meeks
74d2bcf697 fdo#60054 - sdremote - handle rotation without causing issues.
It seems there was a misunderstanding of onCreate's savedInstanceState cf.
http://developer.android.com/reference/android/app/Activity.html
Apparently we go through a onStop / onCreate cycle when rotating,
that triggered this.

Change-Id: I7cb1cf29bcae59ef26cf3bf0c2b3dd028eb8f878
2013-01-30 19:01:08 +11:00
Tor Lillqvist
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
Tor Lillqvist
4427bb0c58 The "ProductSource" (MWS name) makes no sense any more 2013-01-06 15:30:04 +02:00
Matúš Kukan
505d5836fc merge packimages into postprocess
Change-Id: Ie00c7cbc012a605e95ceafcad384a67b599fc758
Reviewed-on: https://gerrit.libreoffice.org/1476
Reviewed-by: Peter Foley <pefoley2@verizon.net>
Tested-by: Peter Foley <pefoley2@verizon.net>
2012-12-24 18:20:24 +00:00
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