Commit Graph

173 Commits

Author SHA1 Message Date
23cafa4aca fix typos reported by localizers
Change-Id: I0b9a36f0c6f081ff35f0b8bc6e420d881036576c
2013-05-27 11:32:07 +02:00
4d08f1a49d typo: s/recommanded/recommended/
Change-Id: I4a22f856b993ef09556fcf921aa1f01be322cd4b
2013-05-25 13:48:42 +02:00
b6ab91d55e fdo#60791 - fix android remote count-down / clock. 2013-04-24 16:44:46 +01:00
36b3bcefcf Some changes in qtz handling
Executalbes, which work one language, generat qtz by own.
(stringex,helpex,treex,propex)
So these executables can generate qtz without po file
when use them with qtz, call them with "-m" flag without parameter.

Change-Id: I56c34db7151dc3ef0ce1c85ed607719e4cbb5e92
2013-04-21 18:57:17 +02:00
38cc47f8b1 fdo#61873 - add WiFi experimental feature alert.
fixes reconnect crash. Won't crash when server-end disconnect.

seperate Client construction and initialization so that Client()
will release its mutex lock and won't block service.run().
Otherwise onBackPressed() will be blocked in PairingActivity

Change-Id: I424a470aa02b0c74b28cb9f9ba79489aa0d4ab1b
2013-04-18 11:46:28 +01:00
4560c49c1e Bump android remote version to 1.0.6+, version code to 8
Change-Id: Id8585bbc7f44ef59a27271119bdb1df701b9692f
2013-03-27 12:41:53 +01:00
2d8547d095 Clean up Impress remove client source code a bit.
* Remove unnecessary semicolons.
* Remove empty methods that only call super methods.
* Replace String concatenation with StringBuilder.
* Fix possible NullPointerException on String comparison.
* Remove TODO comments generated via IDE.

Change-Id: Id2d2ebd29386080715fd743f81fbfae3a4a0a5ce
Reviewed-on: https://gerrit.libreoffice.org/2915
Reviewed-by: Chris Sherlock <chris.sherlock79@gmail.com>
Reviewed-by: Michael Meeks <michael.meeks@suse.com>
Tested-by: Michael Meeks <michael.meeks@suse.com>
2013-03-25 10:33:36 +00:00
514d6c6fb6 fdo#62591 - change Impress remote slide previews building
* Store bitmaps directly instead of byte arrays.
* Store bitmaps with shadows instead of one set with shadows and another
  without them.

This change should optimize memory usage a bit.

Change-Id: Ied7ce57a660438a06167e8984d16a6f26ebd8c23
Reviewed-on: https://gerrit.libreoffice.org/2917
Reviewed-by: Michael Meeks <michael.meeks@suse.com>
Tested-by: Michael Meeks <michael.meeks@suse.com>
2013-03-25 10:32:27 +00:00
8559269f6a Allow installation on external storage (SD card)
Change-Id: Ied56bfe26ebf0082aab91ff823da732f26ab5702
2013-03-23 20:32:39 +02:00
04ab54f0c7 fdo#60604 - fix Impress remote client speaker notes encoding
There is nothing wrong with the current code, it is the Android’s
problem.

Issue was reported upstream:
https://code.google.com/p/android/issues/detail?id=1733#c23

Tested on Jelly Bean 4.2 and russian speaker notes.

Change-Id: I85414abac233186484078637073b97562b81aad2
Reviewed-on: https://gerrit.libreoffice.org/2723
Reviewed-by: Thorsten Behrens <tbehrens@suse.com>
Tested-by: Thorsten Behrens <tbehrens@suse.com>
2013-03-14 12:04:36 +00:00
7ed6097396 Change Impress remote client target SDK version.
This change should remove compatibility menu button for modern Android
versions.

See Android developers blog post for details:
http://android-developers.blogspot.com/2012/01/say-goodbye-to-menu-button.html

Change-Id: I9152fa06558eabd633ad0c19174f45edddde2ee9
Reviewed-on: https://gerrit.libreoffice.org/2719
Reviewed-by: Thorsten Behrens <tbehrens@suse.com>
Tested-by: Thorsten Behrens <tbehrens@suse.com>
2013-03-14 09:31:53 +00:00
fad56362e6 Bump android remote version to 1.0.5+, version code to 7
Change-Id: I65977c732a8f7e66898dd98964f89711114c0f7e
2013-03-12 14:56:54 +01:00
b5e6c7d278 fdo#60604 - tag notes text as UTF-8.
Change-Id: I535cdae8c742e5b260d73bd000f9354cfe04b854
2013-03-11 10:30:36 +00:00
b2a11dc9a1 fdo#61421 Added line to prevent screenlocking during presentation
Added line to xml layout to prevent locking screen during using this
layout

Change-Id: Ia2f71e67a3d09bacf1cb7e95dd05a2008129eb24
Reviewed-on: https://gerrit.libreoffice.org/2640
Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org>
Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
2013-03-11 09:21:46 +00: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
f179f84821 Bump android remote version to 1.0.4+, version code to 6
Change-Id: I7af423bab5885570c3651199e313ed4414c8461e
2013-02-27 20:09:26 +01:00
5baf32af4c Update android remote artwork.
Remote icon artwork from Issa Alkurtass <ialkurtass@kacst.edu.sa>,
info box banner from Maxim Darak.

Change-Id: I4a7ddd51b47dba109a75a60ad184cbbc4e2cef8f
2013-02-26 17:23:25 +01:00
bbfc250a94 Bump android remote version to 1.0.3+, version code to 5
Change-Id: Id6ce687c7925f6d9ebca446be16b5ae237ca97f8
2013-02-19 21:09:59 +01:00
bcaa4cd4f3 sdremote: debugging to get a better handle on failed image allocations. 2013-02-19 16:27:22 +00:00
5fd7c66733 Fix fdo#60754 - no translations for langs sorting after qtz
Adjust check to not rely on lexicographical order. This amends
8ae3ddca7e99d2bdbaadd5e0c82de2f0fbd30f91.

Change-Id: I5023b07af819eb09ea9dc569bdbac806f936485f
2013-02-18 11:17:35 +01:00
31eeb79521 Revert "resolve fdo#60379 Impress Remote: Options look disabled"
This reverts commit 23e6ac150b217be70a80d42deb5b253059030783.
2013-02-13 14:15:19 +00:00
c922df9814 Revert "Just use default colours until proven they don't work;)"
Colors should be orange by design.

This reverts commit ab0bbe53ae02361d521c133dd5c0b6db3423b0cb.
2013-02-13 14:15:19 +00:00
03b941e9ae sdremote: avoid crash when fiddling with elapsed time. 2013-02-13 13:52:52 +00:00
ea264f0c81 Ah, manually adding computers is for non-Bluetooth ones
So yeah, need to keep this feature. Spell Wi-Fi correctly, and mention Wi-Fi
in the menu button.

Change-Id: I4cd6f0689a6ff9647f355d4b1404be84ec0c0138
2013-02-13 09:26:42 +02:00
056968fae7 Use consistent terminology
Why "Choose a Computer" but "Add Server"? Let's always call them "computers"
in the UI.

And in fact I think the feature to add a computer manually is kinda pointless;
is it too much to ask people to have their machines discoverable? I doubt
keeping a computer not discoverable through Bluetooth thwarts a determined
attacker from finding it anyway. (I am not saying that just finding it would
mean compromising it.)

Change-Id: Ib8041a8a793d84bee24587adac582c5fad03d1be
2013-02-13 09:20:48 +02:00
b48bde463a Don't bother with unnamed computers
Change-Id: I4e912cab7ab252ef4c118fe63b02931eecd986aa
2013-02-13 08:43:49 +02:00
871712ad62 Don't return from the CommunicationService.run() method
This fixes connecting to one computer after connecting to another failed.

Change-Id: I5b13d186d32690a91e4290c81c8d2e12a0a1f2be
2013-02-13 02:14:58 +02:00
307913304a Do display the computer name in the dialog when connection failed
The latestInstance lifecycle and mName initialisation was borked.

Change-Id: If7ef8a15fdc297e0fe6e401399a3b94dcd8d08c5
2013-02-13 02:14:58 +02:00
2244bb1467 Add comments, logging, empty lines
Change-Id: Ife81ec74b36f71782997219e36ac926ea429c297
2013-02-13 02:14:57 +02:00
5e037cef38 Simplify and fix management of the server lists
The existing code in refreshLists() was somewhat hard to understand, and it
actually crashed (if uncommented-out). Now it simply empties the maps and view
lists and then rebuilds them.

The visible end result, at least for me, is that I no longer get duplicate
servers in the list...

Change-Id: I1543292e219e666e7dcbc68473f40a11e2eb3381
2013-02-13 00:46:02 +02:00
0d18ec16be Emacs and vim mode line tweaks
These files are Java, not C++. Add empty line before the vim mode line.

Change-Id: Ia94d18e9995ecfbbbfd1c9e6a4d2ce4e8ffb95f3
2013-02-12 23:25:37 +02:00
ab0bbe53ae Just use default colours until proven they don't work;)
After 5adefb21244ca57b95e9f8df6ec18880438201bf the "computer" names on the
main ("Choose a Computer") dialog (which probably isn't the right term) were
invisible for me on my Android 4.1 device at least. Very light grey on white,
or something like that. Let's try with default colours and then if that
doesn't work *slowly* modify the colours one item by one.

Change-Id: I9ae2ee8232cfa85eee4aba0fbcf69b8c245a1ad6
2013-02-12 23:25:37 +02:00
47f6db6469 Use android.util.Log instead of printing to System.out
Change-Id: I314066086827d283938c6f402733da3f801ad55b
2013-02-12 23:25:37 +02:00
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
07c99eff32 Bump Impress Remote version.
Change-Id: I94cae8873edb3efc449f9dfe8687e70a17d26a68
2013-02-12 00:59:04 +01:00
b66f4d7137 Bump Impress Remote version.
Change-Id: Ife0d461fa7b1f4f0436a3470ceee18af46d090f2
2013-02-11 23:50:17 +01:00
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
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
5b614cb2ac Ignore more in-tree build output on android.
Change-Id: Icb6fb1ffab19f02d0af807d8f92201f1914ac08c
2013-02-11 15:07:54 +01:00
960f1c2c7b Update Impress Remote version.
Change-Id: I12ad4604d0426a52b47d99d1bc3c4c6536e83b07
2013-02-09 00:22:23 +01:00
a75aeb5cef fdo#60487 - sdremote - load default preferences eg. volume control switch. 2013-02-08 15:03:38 +00:00
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
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
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
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
8db1ba5d22 sdremote - don't let incoming thumbnails crash us if we switched view. 2013-02-05 14:39:34 +00:00
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
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