LibreOffice.git
7 years agoandroid: extract JavaPanZoomController (PZC becomes an interface)feature/droid_calcimpress3
Tomaž Vajngerl [Sun, 30 Nov 2014 17:07:19 +0000 (30 18:07 +0100)]
android: extract JavaPanZoomController (PZC becomes an interface)

Change-Id: I87e63008fe7c6db62c18bf461dc4dcda733393ac

7 years agoandroid: Fennec change - move classes from gecko.ui to gecko.gfx
Tomaž Vajngerl [Sun, 30 Nov 2014 16:26:50 +0000 (30 17:26 +0100)]
android: Fennec change - move classes from gecko.ui to gecko.gfx

Change-Id: I510e0d601e293ed8e013a0273d5ae0f9be078d8a

7 years agoandroid: change LOKitThread.draw to return void
Tomaž Vajngerl [Sun, 30 Nov 2014 16:21:10 +0000 (30 17:21 +0100)]
android: change LOKitThread.draw to return void

Change-Id: I00f3ed059bd633e662e5bee09703ca505bf3b9a5

7 years agoandroid: Fennec PanZoomControler updates..
Tomaž Vajngerl [Sun, 30 Nov 2014 16:18:56 +0000 (30 17:18 +0100)]
android: Fennec PanZoomControler updates..

Change-Id: I277fbf522b16d9b479260df8372a5ee160adcc37

7 years agofdo#85845 android: draw tiles immediately when they are ready
Tomaž Vajngerl [Sun, 30 Nov 2014 09:36:42 +0000 (30 10:36 +0100)]
fdo#85845 android: draw tiles immediately when they are ready

Change-Id: I924a212210703b0f6136ddefacd77d98dc89f42d

7 years agoandroid: rearange anc clean-up GeckoLayerClient
Tomaž Vajngerl [Fri, 28 Nov 2014 14:21:52 +0000 (28 15:21 +0100)]
android: rearange anc clean-up GeckoLayerClient

Change-Id: I6b4a7f8053adea6d86ee625201eeead188bbadcc

7 years agoandroid: Fold LayerController into GeckoLayerClient
Tomaž Vajngerl [Thu, 27 Nov 2014 21:47:42 +0000 (27 22:47 +0100)]
android: Fold LayerController into GeckoLayerClient

Change-Id: I6a6e702e243b389f1c487b6b5390f28a4292cc74

7 years agoandroid: introduce getDisplayMetrics - reduce code duplication
Tomaž Vajngerl [Thu, 27 Nov 2014 20:46:22 +0000 (27 21:46 +0100)]
android: introduce getDisplayMetrics - reduce code duplication

Change-Id: Ic020d9604814213e13c339b07b6e74de77a9f400

7 years agoandroid: reset document dimensions when changing document part
Tomaž Vajngerl [Thu, 27 Nov 2014 09:39:40 +0000 (27 10:39 +0100)]
android: reset document dimensions when changing document part

Change-Id: I2f7967ee20ad71b58e2b0dc7f182769499910373

7 years agoandroid: Change the handle type (long too ByteBuffer)
Tomaž Vajngerl [Mon, 17 Nov 2014 12:42:41 +0000 (17 13:42 +0100)]
android: Change the handle type (long too ByteBuffer)

Change-Id: Ia2ed94dbbb43d2e768da5af5ca7a51f5cda5bae0

7 years agoandroid: use ByteBuffer to send or store pointers in JNI bindings
Tomaž Vajngerl [Mon, 17 Nov 2014 09:47:02 +0000 (17 10:47 +0100)]
android: use ByteBuffer to send or store pointers in JNI bindings

Using direct ByteBuffer is much nicer option to store or send
pointers between C(++) code and Java via JNI as it handles endiness
and pointer size for us. Using "long" type can have unexpected
results in 32-bit architectures (mostly Android). This was causing
grief especially when Android introduced support for 64-bit
architectures starting with SDK 19.

Change-Id: Ie92d0f913b668e1724e846d70d1820445d9cb086

7 years agoandroid: cleanup LibreOfficeKit initialization in Java
Tomaž Vajngerl [Mon, 17 Nov 2014 09:44:04 +0000 (17 10:44 +0100)]
android: cleanup LibreOfficeKit initialization in Java

Change-Id: I7688968e92ae4b3d6fef19c4544ae91bdcd8b1b9

7 years agoandroid: use different function to prevent stripping JNI symbols
Tomaž Vajngerl [Mon, 17 Nov 2014 09:38:54 +0000 (17 10:38 +0100)]
android: use different function to prevent stripping JNI symbols

Change-Id: Ib003da5c7fec7fc3783f01a33a63deb384c7e770

7 years agolok: improve error reporting in lok implementation
Tomaž Vajngerl [Mon, 17 Nov 2014 09:36:53 +0000 (17 10:36 +0100)]
lok: improve error reporting in lok implementation

Change-Id: Ifc7b18e173b0c91c24a53fad9c35ac3a34a4b33e

7 years agoandroid: extract gathering document info into postLoad method
Tomaž Vajngerl [Mon, 17 Nov 2014 09:34:20 +0000 (17 10:34 +0100)]
android: extract gathering document info into postLoad method

Change-Id: Id90680d3b207973b55927add1c91111268bb2a48

7 years agoandroid: improve error messages in DirectBufferAllocator
Tomaž Vajngerl [Mon, 17 Nov 2014 09:32:26 +0000 (17 10:32 +0100)]
android: improve error messages in DirectBufferAllocator

Change-Id: Iefab77e543606cfad937a79743fb3b9a68a0f2a2

7 years agoandroid: add destroy and exit as a separate JNI call
Tomaž Vajngerl [Mon, 10 Nov 2014 12:10:03 +0000 (10 13:10 +0100)]
android: add destroy and exit as a separate JNI call

Change-Id: Ia8516da556b3736f34b366e2eb89ad8bbd7bafc1

7 years agoandroid: VM based implementation of DirectBufferAllocator
Tomaž Vajngerl [Mon, 10 Nov 2014 12:04:27 +0000 (10 13:04 +0100)]
android: VM based implementation of DirectBufferAllocator

DirectBufferAllocator is responsible to allocate buffer. We used
Fennec JNI based allocation (and freeing) because of overallocation
bug in some Android versions. With this the VM based allocator
implementation is added and used by default because of bugs that
happen in newer Android versions (specifically when ART is used
as the Android VM).

Change-Id: I07eb364fd1647b3a09d1568d4fef82398a02dfeb

7 years agoandroid: use int type for size in DirectBufferAllocator allocate
Tomaž Vajngerl [Sat, 8 Nov 2014 14:19:46 +0000 (8 15:19 +0100)]
android: use int type for size in DirectBufferAllocator allocate

Change-Id: Ied2687d334f7d1ff9ff2f3cb6664848d50814b7c

7 years agoWe seem to crash unless we have org.openoffice.Office.UI/Factories
Tor Lillqvist [Mon, 27 Oct 2014 13:17:03 +0000 (27 15:17 +0200)]
We seem to crash unless we have org.openoffice.Office.UI/Factories

Change-Id: Ie172f60a7134173462ff9711a40dc74c94ad8206

7 years agoDo the configuration pruning only in the DISABLE_UI case
Tor Lillqvist [Mon, 27 Oct 2014 13:16:33 +0000 (27 15:16 +0200)]
Do the configuration pruning only in the DISABLE_UI case

Change-Id: If85c6a86434c0aa32d188a0f128f6b6cd613bbb5

7 years agoThe configuration pruning with mobile-config.py seems to work now
Tor Lillqvist [Mon, 27 Oct 2014 12:33:51 +0000 (27 14:33 +0200)]
The configuration pruning with mobile-config.py seems to work now

Change-Id: I1b1891f0d7d7b8aa407e7da346ff5f8e3cbe8657

7 years agoDon't prune org.openoffice.Office/UI
Tor Lillqvist [Mon, 27 Oct 2014 12:10:18 +0000 (27 14:10 +0200)]
Don't prune org.openoffice.Office/UI

It apparently contains color schemes and stuff that the code wants access to
here and there.

Change-Id: Ie3f0de5e3846df99a02a2693156679cc6c010d10

7 years agoAvoid automatic toolbars in the non-desktop case
Tor Lillqvist [Mon, 27 Oct 2014 12:09:56 +0000 (27 14:09 +0200)]
Avoid automatic toolbars in the non-desktop case

Change-Id: I9e5bff735b0035c147e10ae066da3a4873d66749

7 years agoIgnore exceptions when getting the background color configuration
Tor Lillqvist [Mon, 27 Oct 2014 11:26:31 +0000 (27 13:26 +0200)]
Ignore exceptions when getting the background color configuration

We are experimenting with a pruned configuration database in the desktop case,
and letting the exception propagate here killed the document loading.

Change-Id: I59e5d016617c17c2bc36de2fd69c6691bfa6b135

7 years agoBeware of modifying a list being iterated
Tor Lillqvist [Mon, 27 Oct 2014 08:19:59 +0000 (27 10:19 +0200)]
Beware of modifying a list being iterated

Change-Id: Ib9cf1a47eb20bd28d954ddcded89f67cf6865f1c

7 years agoRevert "Temporarily do more verbose logging"
Tor Lillqvist [Fri, 24 Oct 2014 14:17:35 +0000 (24 17:17 +0300)]
Revert "Temporarily do more verbose logging"

This reverts commit 00d2482326af17ac61d3c2aaa21d837f0e72bb37.

7 years agoAdd (commented-out) invocation of mobile-config.py
Tor Lillqvist [Thu, 23 Oct 2014 11:30:26 +0000 (23 14:30 +0300)]
Add (commented-out) invocation of mobile-config.py

Change-Id: I379601099bda928b9eeeaeb29030bc009e3cbbf2

7 years agoTemporarily do more verbose logging
Tor Lillqvist [Thu, 23 Oct 2014 11:29:59 +0000 (23 14:29 +0300)]
Temporarily do more verbose logging

Change-Id: I3d0db329311e9f2496f80931e6d2776e18f1b2d9

7 years agoTry to be less eager
Tor Lillqvist [Thu, 23 Oct 2014 11:29:27 +0000 (23 14:29 +0300)]
Try to be less eager

Change-Id: I83a395c628b00b6ca96c93d5d5362ea750e57b2b

7 years agoLog parsing time of each xcd file
Tor Lillqvist [Thu, 23 Oct 2014 09:31:58 +0000 (23 12:31 +0300)]
Log parsing time of each xcd file

Change-Id: I290e2c84b17b9b5063139c6027b72f6cd3a78a99

7 years agoSAL_INFO how long parseXcsXcuLayer() and parseResLayer() took
Tor Lillqvist [Wed, 22 Oct 2014 13:55:37 +0000 (22 16:55 +0300)]
SAL_INFO how long parseXcsXcuLayer() and parseResLayer() took

Change-Id: I1e71b8a6348301cd5b3fed0ae8b3346ae3e07d8e

7 years agoRename --enable-sal-info to --enable-sal-log
Tor Lillqvist [Thu, 23 Oct 2014 10:16:19 +0000 (23 13:16 +0300)]
Rename --enable-sal-info to --enable-sal-log

Change-Id: I896c9ac1c941b85d052fbefb902c4341664881d4

7 years agoAdd --enable-sal-info
Tor Lillqvist [Thu, 23 Oct 2014 09:58:56 +0000 (23 12:58 +0300)]
Add --enable-sal-info

Change-Id: I014d70ace7ce34b804ea2a018d3de8f94f7e0cbc

7 years agoBin duplicates
Tor Lillqvist [Wed, 22 Oct 2014 08:54:22 +0000 (22 11:54 +0300)]
Bin duplicates

Change-Id: Ie6347ed6b9c1b8bee7a08950d5c67d4a2039fba5

7 years agoCosmetics
Tor Lillqvist [Tue, 21 Oct 2014 15:22:11 +0000 (21 18:22 +0300)]
Cosmetics

Change-Id: I4d819f59ecb2462aee5998628ad034657bf3b0f9

7 years agoLog time since object creation, not since epoch
Tor Lillqvist [Tue, 21 Oct 2014 14:27:30 +0000 (21 17:27 +0300)]
Log time since object creation, not since epoch

Change-Id: I43c7725b88c9326e269abc277f42e47c08acefb5

7 years agoandroid: Stopgap: _exit() is better than a hang
Tor Lillqvist [Thu, 16 Oct 2014 10:01:35 +0000 (16 13:01 +0300)]
android: Stopgap: _exit() is better than a hang

Change-Id: Iaada020e85a8d2557e270f7d1514f2260ffb2af0

7 years agobasebmp: accelerated method to create a clipping device.
Michael Meeks [Tue, 14 Oct 2014 14:59:04 +0000 (14 11:59 -0300)]
basebmp: accelerated method to create a clipping device.

This was some staggering proportion of tiled rendering documents
with complex clipping; it seems 'clear' is not what memset is for
1bit clip masks.

Change-Id: I9142ffb7d7016603feb7782d6f03b9992b9494e3

7 years agoAdd a SAL_INFO
Tor Lillqvist [Wed, 15 Oct 2014 12:39:24 +0000 (15 15:39 +0300)]
Add a SAL_INFO

The "bootstrap" errors tend to end up being displayed in some error dialog
attempt which of course does nothing on mobile platforms, and that crack seems
to crash on Android even, so this should give us some chance to get some idea
at least what the code thinks is wrong...

Change-Id: I070b017baf042ff692766d1efd1511e1addb6ecf

7 years agoUse maximum logging verbosity while attempting the restart
Tor Lillqvist [Wed, 15 Oct 2014 12:39:04 +0000 (15 15:39 +0300)]
Use maximum logging verbosity while attempting the restart

Change-Id: I3e3162474db1edef3b92e252b249fe373dedbbfd

7 years agoReduce log verbiage
Tor Lillqvist [Wed, 15 Oct 2014 10:12:37 +0000 (15 13:12 +0300)]
Reduce log verbiage

Change-Id: I0da75df61d129aaaf03ac546fcf1e5dbcff9d404

7 years agoAdd a small script to run adb logcat with filtering
Tor Lillqvist [Wed, 15 Oct 2014 09:36:04 +0000 (15 12:36 +0300)]
Add a small script to run adb logcat with filtering

We use arbitrary tags when logging stuff in our code so we can't use the
built-in filtering of adb logcat.

Change-Id: I2d607b86bde975c5cbdd17adc22d0fc15076be51

7 years agoIf loading a document fails, try restarting the 'main loop' and try again
Tor Lillqvist [Wed, 15 Oct 2014 09:08:38 +0000 (15 12:08 +0300)]
If loading a document fails, try restarting the 'main loop' and try again

Does not work, though, we end up with a crash that is hard to debug thanks to
the rubbish tool-chain.

Change-Id: Ie1954e35e649fac8dd106f0ccbc6951c4a6c1c63

7 years agoCall DetachCurrentThread() in the AndroidSalInstance destructor
Tor Lillqvist [Wed, 15 Oct 2014 09:02:44 +0000 (15 12:02 +0300)]
Call DetachCurrentThread() in the AndroidSalInstance destructor

As we call AttachCurrentThread() in the constructor, it seems logical to call
DetachCurrentThread() in the destructor. Some warning messages in the logcat
indicated that DetachCurrentThread() hadn't been called for a thread that
died.

Actually I would prefer to call both AttachCurrentThread() and
DetachCurrentThread() in the actual thread function, instead of somewhat
haphazardly and imlicitly in the AndroidSalInstance constructor and
destructor. Do we know for sure that the lifetime of the AndroidSalInstance
singleton (is is a singleton, right?) is 1:1 coupled to that of the LO "main
thread"?

Change-Id: Ifcc0e0b9af88b19389c416c5646499d44ad0e941

7 years agoSkip the 'desktop' app for now
Tor Lillqvist [Wed, 15 Oct 2014 07:59:20 +0000 (15 10:59 +0300)]
Skip the 'desktop' app for now

Change-Id: I040bd49f8cfeec74c3225135a110140c1816be43

7 years agoThe 'bInitialized' state needs to be global, and unset in lo_destroy()
Tor Lillqvist [Wed, 15 Oct 2014 07:55:42 +0000 (15 10:55 +0300)]
The 'bInitialized' state needs to be global, and unset in lo_destroy()

I assume, for lo_destroy() to be useful at all. Not that I know for sure what
the exact intended semantics of lo_destroy() and lo_initialize() are. But I
assume that the idea is that after lo_destroy() has been called,
lo_initialize() can be called again.

Change-Id: I2dea26db150d19ed438427e1c119a5297b9bc9c3

7 years agoDon't keep the LibreOfficeKit pointer in a global variable
Tor Lillqvist [Wed, 15 Oct 2014 07:17:15 +0000 (15 10:17 +0300)]
Don't keep the LibreOfficeKit pointer in a global variable

It is invalid in case lo_destroy() has been called.

Change-Id: I45533b66d32fc650e48748da8ea1d2f2aaa381e0

7 years agoandroid: Dump my debugging notes to the readme's.
Jan Holesovsky [Mon, 13 Oct 2014 14:51:08 +0000 (13 16:51 +0200)]
android: Dump my debugging notes to the readme's.

Change-Id: I8f91e73fe5df5dfef054df80d43be3c74d01388b

7 years agoandroid: When debugging, the installLocation must be "internalOnly".
Jan Holesovsky [Mon, 13 Oct 2014 08:19:25 +0000 (13 10:19 +0200)]
android: When debugging, the installLocation must be "internalOnly".

Otherwise the gdbserver ends up with

run-as: exec failed for /data/data/org.libreoffice/lib/gdbserver Error:Permission denied

(you need to run ndk-gdb with --verbose to see that).

Change-Id: Iccdf0ff268c20d2fb5abc1e93404375fa51c1cf1

7 years agoandroid: When rotating, we also need to update the viewport geometry.
Jan Holesovsky [Mon, 13 Oct 2014 05:01:26 +0000 (13 07:01 +0200)]
android: When rotating, we also need to update the viewport geometry.

Change-Id: I04502c56b1e1d16cf65cbeb47632c508ef9889d0

7 years agoandroid: Repaint when the orientation changes.
Jan Holesovsky [Fri, 10 Oct 2014 12:27:23 +0000 (10 14:27 +0200)]
android: Repaint when the orientation changes.

Change-Id: I150b22b7b1179c1adc7995a8547c7644ac25be28

7 years agoandroid: Improve the button descriptions.
Jan Holesovsky [Fri, 10 Oct 2014 10:56:57 +0000 (10 12:56 +0200)]
android: Improve the button descriptions.

Change-Id: I770065f7cb9aef3413cf8ebf860991147b6e14eb

7 years agoandroid: Disable LibreOfficeUIActivity for now.
Jan Holesovsky [Fri, 10 Oct 2014 06:21:25 +0000 (10 08:21 +0200)]
android: Disable LibreOfficeUIActivity for now.

We should provide just one activity in the .apk; the browser should probably
show up when LibreOffice Viewer is started with no file to open...

Change-Id: I624afa00f7e8ddc649a272c1b08899e8aac887c9

7 years agoandroid: Re-autogen when AndroidManifest.xml.in changes.
Jan Holesovsky [Fri, 10 Oct 2014 06:20:58 +0000 (10 08:20 +0200)]
android: Re-autogen when AndroidManifest.xml.in changes.

Change-Id: I53cf6bf10f25702d9ae42afb6846411a3e31c187

7 years agoMore tabs -> spaces.
Jan Holesovsky [Fri, 10 Oct 2014 05:34:44 +0000 (10 07:34 +0200)]
More tabs -> spaces.

Change-Id: I9a3e104b05479413dc314f299824a48ead004693

7 years agoKill trailing whitespace, tabs -> spaces, add modelines.
Jan Holesovsky [Fri, 10 Oct 2014 05:23:57 +0000 (10 07:23 +0200)]
Kill trailing whitespace, tabs -> spaces, add modelines.

Change-Id: I24154279154ba2a9d1ba6cab81d066fcba23cb4e

7 years agoandroid: Fix the application lifecycle.
Jan Holesovsky [Thu, 9 Oct 2014 18:50:35 +0000 (9 20:50 +0200)]
android: Fix the application lifecycle.

Now onStart() loads the file, and onStop() closes it again.  Fixes the case
when the user leaves the app by pressing Home, and starts it again;
previously, this caused a race.

Change-Id: I493a76eaf5e8ca8a68b53f70c7acd09b638f7e11

7 years agoandroid: Simplify the About dialog creation.
Jan Holesovsky [Thu, 9 Oct 2014 18:49:36 +0000 (9 20:49 +0200)]
android: Simplify the About dialog creation.

Change-Id: I40fb007e8f672e1c5ff4e6e23c043b7305e726a9

7 years agoandroid: Fix typo.
Jan Holesovsky [Thu, 9 Oct 2014 18:46:43 +0000 (9 20:46 +0200)]
android: Fix typo.

Change-Id: Ie2a321f1d8461d9fa665be11a8e5085c24ad032b

7 years agoandroid: Rewrite GLThread to trash objects as little as possible
Tomaž Vajngerl [Sat, 4 Oct 2014 16:06:39 +0000 (4 18:06 +0200)]
android: Rewrite GLThread to trash objects as little as possible

Change-Id: I6a0042e2a1b5d98fbf5aa8c64b67a9422f8956a3

7 years agoandroid: Better detection of HW accel. (needed by TextureView)
Tomaž Vajngerl [Sat, 4 Oct 2014 14:17:58 +0000 (4 16:17 +0200)]
android: Better detection of HW accel. (needed by TextureView)

Change-Id: I32b091d13d9236cee654819e701c583041f869bb

7 years agoandroid: move getDrawable to LayerView (Fennec import)
Tomaž Vajngerl [Sat, 4 Oct 2014 14:09:26 +0000 (4 16:09 +0200)]
android: move getDrawable to LayerView (Fennec import)

Change-Id: Idd15003939574963f836bfab1e0c5385957ab18b

7 years agoandroid: use TextureView instead of SurfaceView for ICS+ devices
Tomaž Vajngerl [Sat, 4 Oct 2014 13:53:44 +0000 (4 15:53 +0200)]
android: use TextureView instead of SurfaceView for ICS+ devices

Change-Id: I4c5585d5eac4faf46ad9bed2d3992fe87b3d9a03

7 years agoandroid: assure document close, introduce message box for errors
Tomaž Vajngerl [Sat, 4 Oct 2014 13:51:02 +0000 (4 15:51 +0200)]
android: assure document close, introduce message box for errors

Change-Id: I4d5607d5568ebf73a61067975c21e740020cc8f7

7 years agoandrodi: set TileProvider only when document is ready
Tomaž Vajngerl [Sat, 4 Oct 2014 13:47:44 +0000 (4 15:47 +0200)]
androdi: set TileProvider only when document is ready

Change-Id: Iada0e4513cc00248f45c97bfecbc91590e80a437

7 years agoandroid: TileIdentifier - contains tile position and zoom
Tomaž Vajngerl [Thu, 2 Oct 2014 14:16:33 +0000 (2 16:16 +0200)]
android: TileIdentifier - contains tile position and zoom

Change-Id: Ia82dc1f99eff5117fe16df2b61c1a7230b52e07a

7 years agoandroid: construct LayerView in xml GUI definition (activity_main)
Tomaž Vajngerl [Thu, 2 Oct 2014 13:56:00 +0000 (2 15:56 +0200)]
android: construct LayerView in xml GUI definition (activity_main)

Change-Id: I6cd3c8dff2ca36f3d64559b218d005d5a6da9066

7 years agoandroid: use tile size and change the type to IntSize
Tomaž Vajngerl [Thu, 2 Oct 2014 13:50:53 +0000 (2 15:50 +0200)]
android: use tile size and change the type to IntSize

Change-Id: Id19c3517fc6fb59307c81a0c1c8868e0d0c777b4

7 years agoandroid: remove unused windowSizeChanged tracking
Tomaž Vajngerl [Thu, 2 Oct 2014 13:24:41 +0000 (2 15:24 +0200)]
android: remove unused windowSizeChanged tracking

Change-Id: I0d451d9fea83d70e69d07059e55a5e6067c45711

7 years agoandroid: Better default document (when the app starts with no doc to load).
Jan Holesovsky [Wed, 1 Oct 2014 21:38:09 +0000 (1 23:38 +0200)]
android: Better default document (when the app starts with no doc to load).

Change-Id: Ie3cc30c29723133d5e320ad3848d13f06d133c78

7 years agoandroid: Log calls to createTile
Tomaž Vajngerl [Wed, 1 Oct 2014 21:37:14 +0000 (1 23:37 +0200)]
android: Log calls to createTile

Change-Id: Ia0e92c24f771d47235fee7a9dbddc65631af9082

7 years agoandroid: show progress spinner also when switching parts
Tomaž Vajngerl [Wed, 1 Oct 2014 21:08:27 +0000 (1 23:08 +0200)]
android: show progress spinner also when switching parts

Change-Id: Ie21e71aa03eddef620d470e01daf6f1936a5d7c7

7 years agoandroid: Fix typo.
Jan Holesovsky [Wed, 1 Oct 2014 20:48:38 +0000 (1 22:48 +0200)]
android: Fix typo.

Change-Id: I22f7bbcc5bc5f58c30a5915c876736f664a42a61

7 years agoandroid: about dialog description, app names - viewer & browser
Tomaž Vajngerl [Wed, 1 Oct 2014 17:56:01 +0000 (1 19:56 +0200)]
android: about dialog description, app names - viewer & browser

Change-Id: I4f759b6a004ca8f12974f3d0daa9f1d78c015f2a

7 years agoandroid: clicking "Parts" in preferences opens the side drawer
Tomaž Vajngerl [Wed, 1 Oct 2014 17:54:08 +0000 (1 19:54 +0200)]
android: clicking "Parts" in preferences opens the side drawer

Change-Id: I3cfd0a31409f6a798c933dae4a47b75e93601f6b

7 years agoandroid: fix redrawing everyting on part change (via sidebar)
Tomaž Vajngerl [Wed, 1 Oct 2014 15:46:03 +0000 (1 17:46 +0200)]
android: fix redrawing everyting on part change (via sidebar)

Change-Id: If7aeeca3da65f44dfe1f9a5bc347baf4e3cadd82

7 years agoandroid: null safeguards and cleanup unneeded calls
Tomaž Vajngerl [Wed, 1 Oct 2014 15:41:02 +0000 (1 17:41 +0200)]
android: null safeguards and cleanup unneeded calls

Change-Id: I0ffcfb0fbaa03e5035bec9dd1ffed21f85972470

7 years agoandroid: android:debuggable setting now depends on configure options.
Jan Holesovsky [Wed, 1 Oct 2014 15:01:59 +0000 (1 17:01 +0200)]
android: android:debuggable setting now depends on configure options.

Change-Id: I12d9c05fb05e4cf202c5c0d7b7e87c145d163fea

7 years agoandroid: image in TileLayer can be null
Tomaž Vajngerl [Wed, 1 Oct 2014 11:53:42 +0000 (1 13:53 +0200)]
android: image in TileLayer can be null

Change-Id: I4a910eb60f6fe81f97933d1b9e57bac6af4547c9

7 years agoandroid: SubTile - equals and hash
Tomaž Vajngerl [Wed, 1 Oct 2014 11:53:11 +0000 (1 13:53 +0200)]
android: SubTile - equals and hash

Change-Id: I6e8cf220d108cefdf16f9b4553e2d2ecd7a5338c

7 years agoandroid: SingleTileLayer - less var. trashing (Fennec update)
Tomaž Vajngerl [Wed, 1 Oct 2014 11:52:07 +0000 (1 13:52 +0200)]
android: SingleTileLayer - less var. trashing (Fennec update)

Change-Id: I8c32f6a43cad6dd3790a3e7dd0b990516a35ebca

7 years agoandroid: replace MultiTileLayer with new & simpler DynamicTileLayer
Tomaž Vajngerl [Wed, 1 Oct 2014 11:51:00 +0000 (1 13:51 +0200)]
android: replace MultiTileLayer with new & simpler DynamicTileLayer

Change-Id: Idec2246975a65f8ce664642a4ef49415e20ca187

7 years agoandroid: remove some unneeded logging in GeckoLayerClient
Tomaž Vajngerl [Wed, 1 Oct 2014 11:48:55 +0000 (1 13:48 +0200)]
android: remove some unneeded logging in GeckoLayerClient

Change-Id: Ib53aae87e7fa510c3783a86a7512c25548457fd4

7 years agoandroid: add tileSize parameter to TileProvider
Tomaž Vajngerl [Wed, 1 Oct 2014 11:43:29 +0000 (1 13:43 +0200)]
android: add tileSize parameter to TileProvider

Change-Id: I607dbaa897b17f5b650f10293956c8154da6f43d

7 years agoandroid: remove duplicate progress bar declaration
Tomaž Vajngerl [Wed, 1 Oct 2014 11:37:34 +0000 (1 13:37 +0200)]
android: remove duplicate progress bar declaration

Change-Id: Ie0a463bf5f006ce5d340e085bd6962b728d29c35

7 years agoandroid: remove preferences menu item for now.
Andrzej Hunt [Wed, 1 Oct 2014 07:13:45 +0000 (1 08:13 +0100)]
android: remove preferences menu item for now.

The preferences activity doesn't work, so easiest not to try to use
it until it is properly implemented.

Change-Id: I4b4195f6dcafa3c99dbef1ae3044ea18ab173c21

7 years agoAdd libanimcore to factory list.
Andrzej Hunt [Tue, 30 Sep 2014 21:14:48 +0000 (30 22:14 +0100)]
Add libanimcore to factory list.

This helps various .ppt and .pptx files.

Change-Id: Ib53fed6083b369d3421eab082bda0e31d1f3847a

7 years agoandroid: show loading animation until the document is loaded
Tomaž Vajngerl [Tue, 30 Sep 2014 16:00:54 +0000 (30 18:00 +0200)]
android: show loading animation until the document is loaded

Change-Id: I98eeafe30e90d039175daea65428526a95c9ff1e

7 years agoandroid: package C* fonts as well for interop.
Michael Meeks [Tue, 30 Sep 2014 19:38:55 +0000 (30 20:38 +0100)]
android: package C* fonts as well for interop.

Change-Id: I49c6c4bf0b2ddfb403612ccad90a41e8ae525427

7 years agoandroid: don't return to open document if viewing license / notice
Tomaž Vajngerl [Tue, 30 Sep 2014 19:16:29 +0000 (30 21:16 +0200)]
android: don't return to open document if viewing license / notice

Change-Id: I12994aa60fa2476ef94153b5ba13000ece71d28b

7 years agoandroid: clear all tiles in "refresh"
Tomaž Vajngerl [Tue, 30 Sep 2014 19:09:40 +0000 (30 21:09 +0200)]
android: clear all tiles in "refresh"

Change-Id: I6a7e9070160e8d4bbd6ad5cd1bfa2dc18e66a45d

7 years agoandroid: no need for "throws InterruptedException"
Tomaž Vajngerl [Tue, 30 Sep 2014 19:07:30 +0000 (30 21:07 +0200)]
android: no need for "throws InterruptedException"

Change-Id: I93be9af0849a2515c27bc22892a201ec207d6775

7 years agoandroid: redraw LOEvent
Tomaž Vajngerl [Tue, 30 Sep 2014 18:58:43 +0000 (30 20:58 +0200)]
android: redraw LOEvent

Change-Id: I6171f7a36c07f53eeec0cc83caa168ec97459d53

7 years agoandroid: create events with LOEventFactory (moved out of LOEvent)
Tomaž Vajngerl [Tue, 30 Sep 2014 18:56:02 +0000 (30 20:56 +0200)]
android: create events with LOEventFactory (moved out of LOEvent)

Change-Id: Ia2e6bd040160e9d09377fe1f27d94d22c46fb778

7 years agoandroid: remove unused ViewTransform
Tomaž Vajngerl [Tue, 30 Sep 2014 18:22:31 +0000 (30 20:22 +0200)]
android: remove unused ViewTransform

Change-Id: I80cc876b542d2b215f8615972717bce998d532e9

7 years agoandroid: don't show any parts in sidebar if only one part exists
Tomaž Vajngerl [Tue, 30 Sep 2014 18:21:02 +0000 (30 20:21 +0200)]
android: don't show any parts in sidebar if only one part exists

Change-Id: Id40fa499bca8e4ef4f8b26877905fd74a66667af

7 years agoandroid: fix part sidebar not executing an "part change" event..
Tomaž Vajngerl [Tue, 30 Sep 2014 18:15:59 +0000 (30 20:15 +0200)]
android: fix part sidebar not executing an "part change" event..

Change-Id: I8f984ad050d8124164617f67f5ea7fa511e50f55

7 years agoFix wrong conditional for zoom-saneness-check.
Andrzej Hunt [Tue, 30 Sep 2014 19:43:43 +0000 (30 20:43 +0100)]
Fix wrong conditional for zoom-saneness-check.

Change-Id: I54cb8ffc71c162e75675d306b903ef40ad05092f

7 years agoTemp: the DrView scaling will be completely wrong for tiled rendering.
Andrzej Hunt [Tue, 30 Sep 2014 19:03:26 +0000 (30 20:03 +0100)]
Temp: the DrView scaling will be completely wrong for tiled rendering.

(No idea why yet)

Change-Id: I9fcbd9055d82feb59b1c957234c9d7747f95ced9