Commit graph

559 commits

Author SHA1 Message Date
Tor Lillqvist
7d528592ac android: Keep the images_tango.zip name as is
Not sure why I used to store it as images.zip. Probably just a mistake. The
code uses the images_tango.name.zip when trying to open it.

Sure, no toolbar with images is displayed currently anyway, so having this
file in the .apk is pointless, but there has been talk of reverting the
disabling of toolbars, sigh.

Change-Id: I12dfd3abe8f329d660b518f6b37904aa00423bc2
2013-05-02 15:26:25 +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
Ota Chasák
b6ab91d55e fdo#60791 - fix android remote count-down / clock. 2013-04-24 16:44:46 +01:00
Tor Lillqvist
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
Tor Lillqvist
f62324cecd Use the newfangled "include" directory
Change-Id: I3228ad8277d34454affe71b9cbc9ad7f56326ca9
2013-04-24 11:54:56 +03:00
Tor Lillqvist
b5fea2f46a The file names of many UNO components have changed
Change-Id: I18f90b058e40ca15164fd3e8c33bc904b930981d
2013-04-23 19:33:04 +03:00
Michael Meeks
62badf3828 Move to MPLv2 license headers, with ESC decision and author's permission. 2013-04-22 09:37:38 +01:00
Zolnai Tamás
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
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
Tor Lillqvist
41d6003e87 Make the use of SAL_LOG=+WARN+INFO optional
Change-Id: I6af17a7745f4de88b4933e93b77eda1050760794
2013-04-19 11:03:43 +03:00
Tor Lillqvist
9e7c73d54c Minor comment change
Change-Id: I14e9b86c23ff000df2339a37ba78a11cc319f27c
2013-04-19 11:03:43 +03:00
Tor Lillqvist
bf2a1812a4 Attempt to avoid popping up keyboard after panning
Change-Id: Ie5639ea5a2c50e54ab880ac850287de07ff69959
2013-04-19 11:03:42 +03:00
Siqi LIU (via Code Review)
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
Thomas Arnhold
c32b6be06b fdo#60724 correct spelling
Change-Id: Ieb653adbd0cb4371ec5db57e70bcc551872f647f
2013-04-15 05:32:37 +02:00
David Tardon
1c0e3ea7a0 fix android build
Change-Id: I97903559e1f6ef48476a74a674c0832d9cb44640
2013-04-14 15:00:05 +02:00
Michael Meeks
f3c4b5606d Add more components
Change-Id: I3ea18b4a075516f3c098fad5d63466f20bf0b494
2013-04-12 19:03:49 +03:00
Tor Lillqvist
f204dc1f8f Get soffice.cfg from its new location for Android, too
Change-Id: I2d65b51ec9a223994d39dc9433d1290b44422e1d
2013-04-11 13:44:14 +03:00
Tor Lillqvist
72a0656fb5 Bin the Android "qa" apps
Unmaintained and presumably unbuildable for some time.

Change-Id: Ide0abea91013397dd8d214ee6a9da8e67ec6bb9c
2013-04-10 16:27:07 +03:00
Eike Rathke
876c619b94 new module i18nlangtag
Moved portions from module i18npool, all of former i18nisolang1 library
that now is i18nlangtag. Included are languagetag, isolang and mslangid.

This i18nlangtag code is now even used by module comphelper, so
disentangling i18npool and making this an own module was needed to not
create circular module dependencies.

Change-Id: Ib887c3d6dde667403fd22d382310ba5f1a9b0015
2013-04-05 19:10:48 +02:00
Zolnai Tamás
7640fa315e Typo: string.xml->strings.xml
To make available for localization

Change-Id: I5469549422c7a2d2618ed9e836895f6698328b17
2013-04-02 21:29:42 +02:00
Tor Lillqvist
de8d12acf1 Use proper version numbers
Change-Id: Ib0284c3fe63636e42b2e72ab76b02a8197c837e0
2013-03-27 14:36:27 +02:00
Petr Mladek
4560c49c1e Bump android remote version to 1.0.6+, version code to 8
Change-Id: Id8585bbc7f44ef59a27271119bdb1df701b9692f
2013-03-27 12:41:53 +01:00
Artur Dryomov
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
Artur Dryomov
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
Tor Lillqvist
8559269f6a Allow installation on external storage (SD card)
Change-Id: Ied56bfe26ebf0082aab91ff823da732f26ab5702
2013-03-23 20:32:39 +02:00
Michael Meeks
79b0046ba0 remove legacy build.pl prj/build.lst files. 2013-03-14 17:05:51 +00:00
Artur Dryomov
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
Artur Dryomov
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
Tor Lillqvist
46cb9a2982 Copy the .apks where the daily build uploader will find them
Sure, it is not "clean" to write to $(SRCDIR)/instsetoo_native/$(INPATH)/bin,
but as long as the push_nightlies.sh script looks in instsetoo_native for
.apks, that is where they need to go.

This partially reverts commit b89ea45e5b.

Change-Id: If1a0e50516f20c7571566a2cfa7e6a4b1dad30e4
2013-03-13 00:43:44 +02:00
Petr Mladek
fad56362e6 Bump android remote version to 1.0.5+, version code to 7
Change-Id: I65977c732a8f7e66898dd98964f89711114c0f7e
2013-03-12 14:56:54 +01:00
Michael Meeks
b5e6c7d278 fdo#60604 - tag notes text as UTF-8.
Change-Id: I535cdae8c742e5b260d73bd000f9354cfe04b854
2013-03-11 10:30:36 +00:00
Ondřej Smrž
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
Tor Lillqvist
783d3928b7 Try to make the scrolling and zooming actions snappier
Now it does work nicely during the gesture when all the action is on the Java
side (translating and scaling the pre-rendered bitmap). Looks a bit sad, of
course, that nothing scrolls in to replace the parts of page(s) scrolled out
during the gesture, and correspondingly for zooming.

To then get the stuff down in the murky depths of the LO code to do what I
want still is beyond me.

Change-Id: I9ce33ed482013d18a877d1798de3bce5ac608e5e
2013-03-07 21:51:26 +02:00
Tor Lillqvist
e669502dcf Start hacking on scrolling
Change-Id: I74f1d7feb935be65629bdbd7464f9882229948e5
2013-03-07 10:15:58 +02: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
4ceb66d86f Drop unused timestamp parameters
Change-Id: I1d825c39cde67c204110b4a787b3ffb290331fe5
2013-03-06 09:27:10 +02:00
Tor Lillqvist
0b10d7cf50 Rework scaling once more
Don't ask the LO code to zoom while scaling in progress. That is way too
slow. Return to the idea of just scaling the already rendered bitmap
containing the "top-level window" from LO's perspective, UI elements and
all. (Obviously if we continue to work on thie demo app, the desktop style UI
elements need to disappear from the sides of the LO "window", so that the only
thing LO renders is the actual viewport of the document contents.)

This time, instead of scaling the View, which for some reason causes horrible
flickering glitches at least on my device, draw the bitmap scaled in
onDraw. Much smoother for some reason.

Of course when we then in onScaleEnd() ask LO to do the actual zoom, what
eventually results (remember that the LO code runs asynchronously in a
separate thread, and the zoom request only gets posted to that thread) is not
at all the same as what just drawing the bitmap at scale produced. (Especially
not as there is no way yet to have LO zoom centred on a specific pivot point.)

Change-Id: Id80576c99a03f5f8bf0d8039c6c7406322581956
2013-03-05 21:36:31 +02:00
Tor Lillqvist
5f63a1ab95 Field can be moved into the inner class
Change-Id: I053f7d4a17aec9c8b24b92a40de635c71492a3dc
2013-03-04 12:46:23 +02:00
Tor Lillqvist
70e8c341af Android "desktop" app: Simplify bootstrapping on the Java side
No need to call defaultBootstrap_InitialComponentContext() etc on the Java
side in this app. The full SVMain() etc will do all that anyway.

Change-Id: I555ccd8efbd0260a72fa5904bb6dcd255eed37d4
2013-03-03 23:38:08 +02:00
Tor Lillqvist
6339bf1325 Android "desktop" app: More hacking on scaling
Added a new "mode" for the CommandWheelData, COMMAND_WHEEL_ZOOM_SCALE, where
the "delta" is the scale percentage to multiply the curent zoom factor
with. Implement in Writer and Calc.

But actually, I am more and more startng to think that live scaling of the
document view during the pinch/spread gesture will never perform fast
enough. Need to go back to the (simple) trick to just scale the BitmapView,
and do the actual LO re-zoom only when the gesture finishes. But in order for
that to look nicer, need to get rid of the LO UI element clutter around the
document, scrollbars, buttons etc. Plus of course need to make sure the LO
zooming happens around the gesture center position.

Change-Id: I20dfcb4c2a97aacbf7e5b6ea5c24816b237fe687
2013-03-03 22:29:54 +02:00
Tor Lillqvist
5facce3c21 Add scroll and fling gesture recognition
Not yet passed on down.

Also fix a misleading comment.

Change-Id: I1e6f79c84b1e13f48e4b2620e44b326fb6fc4ee9
2013-03-03 22:29:42 +02:00
Thomas Arnhold
f5ca04caca Related to fdo#60724: correct spelling
Using the autocorrect list of LibreOffice
extras/source/autotext/lang/en-US/acor/DocumentList.xml

Change-Id: I8b93969bc0742c2e95b8b7db3c4c37691e8d3657
Script: http://pastebin.ca/2327716
2013-03-03 17:14:16 +01:00
Tor Lillqvist
06b58a702f Do "real" zooming also while the scale gesture is in progress
Would work nicely if only it wasn't so compute intensive. Or is it the
(temporary hack) constant redrawing that is killing performance?

Change-Id: I0b152411a413a818fba7a0f41a3462e423c6ab54
2013-03-03 01:14:16 +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
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
Tor Lillqvist
ec7986d43b Try to make the temporary pinch/spread hack look nicer
Change-Id: Id293e04c089b9304721f83fb4eb77cffab67cedd
2013-03-02 21:00:01 +02:00
Tor Lillqvist
a8ee2fd020 Start hacking on zooming
Change-Id: Ibc9aad490c4616d339e95352a0b8a7f7bed93070
2013-03-02 21:00:01 +02:00
Peter Foley
daec4883ba android/sdremote dosen't need to depend on everything
Change-Id: Iae5b37873f991ab33b8fd7ada7e5f936e83690db
2013-03-01 18:50:03 -05:00
Peter Foley
251f6a416c add more stuff to android gitignore
Change-Id: Ibc61098fbde8d253411d834822e3f0c67249c52a
2013-03-01 18:50:02 -05:00