summaryrefslogtreecommitdiff
path: root/android
AgeCommit message (Collapse)Author
2014-12-10fdo#85286 android: don't convert objects on loadMiklos Vajna
For the WW8 bugdoc, the speedup is 435 -> 98 ms, and the end result is the same from a viewer perspective. Change-Id: I9b6ed3b77748cdc71f373daf07548c6cd0dc732e
2014-12-10android: speed up mobile-config.pyMiklos Vajna
Make it O(N) instead of O(N^2), where N is the number of children of the root note. 3.596s -> 0.960s for main.xcd Change-Id: I1b9904a377603cd57f84636c873ed2b752abd101
2014-12-09Related: fdo#85286 android: show error message given by LOK on the UIMiklos Vajna
Change-Id: Ide8e6bc7e719968bacf86572036b15c4ef834761
2014-12-04android: extract JavaPanZoomController (PZC becomes an interface)Tomaž Vajngerl
Change-Id: I87e63008fe7c6db62c18bf461dc4dcda733393ac
2014-12-04android: Fennec change - move classes from gecko.ui to gecko.gfxTomaž Vajngerl
Change-Id: I510e0d601e293ed8e013a0273d5ae0f9be078d8a
2014-12-04android: change LOKitThread.draw to return voidTomaž Vajngerl
Change-Id: I00f3ed059bd633e662e5bee09703ca505bf3b9a5
2014-12-04android: Fennec PanZoomControler updates..Tomaž Vajngerl
Change-Id: I277fbf522b16d9b479260df8372a5ee160adcc37
2014-12-04fdo#85845 android: draw tiles immediately when they are readyTomaž Vajngerl
Change-Id: I924a212210703b0f6136ddefacd77d98dc89f42d
2014-12-04android: rearange anc clean-up GeckoLayerClientTomaž Vajngerl
Change-Id: I6b4a7f8053adea6d86ee625201eeead188bbadcc
2014-12-04android: Fold LayerController into GeckoLayerClientTomaž Vajngerl
Change-Id: I6a6e702e243b389f1c487b6b5390f28a4292cc74
2014-12-04android: introduce getDisplayMetrics - reduce code duplicationTomaž Vajngerl
Change-Id: Ic020d9604814213e13c339b07b6e74de77a9f400
2014-12-04android: reset document dimensions when changing document partTomaž Vajngerl
Change-Id: I2f7967ee20ad71b58e2b0dc7f182769499910373
2014-12-04android: Change the handle type (long too ByteBuffer)Tomaž Vajngerl
Change-Id: Ia2ed94dbbb43d2e768da5af5ca7a51f5cda5bae0
2014-12-04android: use ByteBuffer to send or store pointers in JNI bindingsTomaž Vajngerl
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
2014-12-04android: cleanup LibreOfficeKit initialization in JavaTomaž Vajngerl
Change-Id: I7688968e92ae4b3d6fef19c4544ae91bdcd8b1b9
2014-12-04android: extract gathering document info into postLoad methodTomaž Vajngerl
Change-Id: Id90680d3b207973b55927add1c91111268bb2a48
2014-12-04android: improve error messages in DirectBufferAllocatorTomaž Vajngerl
Change-Id: Iefab77e543606cfad937a79743fb3b9a68a0f2a2
2014-12-04android: add destroy and exit as a separate JNI callTomaž Vajngerl
Change-Id: Ia8516da556b3736f34b366e2eb89ad8bbd7bafc1
2014-12-04android: VM based implementation of DirectBufferAllocatorTomaž Vajngerl
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
2014-12-04We seem to crash unless we have org.openoffice.Office.UI/FactoriesTor Lillqvist
Change-Id: Ie172f60a7134173462ff9711a40dc74c94ad8206
2014-12-04Do the configuration pruning only in the DISABLE_UI caseTor Lillqvist
Change-Id: If85c6a86434c0aa32d188a0f128f6b6cd613bbb5
2014-12-04The configuration pruning with mobile-config.py seems to work nowTor Lillqvist
Change-Id: I1b1891f0d7d7b8aa407e7da346ff5f8e3cbe8657
2014-12-04Don't prune org.openoffice.Office/UITor Lillqvist
It apparently contains color schemes and stuff that the code wants access to here and there. Change-Id: Ie3f0de5e3846df99a02a2693156679cc6c010d10
2014-12-04Beware of modifying a list being iteratedTor Lillqvist
Change-Id: Ib9cf1a47eb20bd28d954ddcded89f67cf6865f1c
2014-12-04Add (commented-out) invocation of mobile-config.pyTor Lillqvist
Change-Id: I379601099bda928b9eeeaeb29030bc009e3cbbf2
2014-12-04Try to be less eagerTor Lillqvist
Change-Id: I83a395c628b00b6ca96c93d5d5362ea750e57b2b
2014-12-04Bin duplicatesTor Lillqvist
Change-Id: Ie6347ed6b9c1b8bee7a08950d5c67d4a2039fba5
2014-12-04CosmeticsTor Lillqvist
Change-Id: I4d819f59ecb2462aee5998628ad034657bf3b0f9
2014-12-04Log time since object creation, not since epochTor Lillqvist
Change-Id: I43c7725b88c9326e269abc277f42e47c08acefb5
2014-12-04Use maximum logging verbosity while attempting the restartTor Lillqvist
Change-Id: I3e3162474db1edef3b92e252b249fe373dedbbfd
2014-12-04Reduce log verbiageTor Lillqvist
Change-Id: I0da75df61d129aaaf03ac546fcf1e5dbcff9d404
2014-12-04If loading a document fails, try restarting the 'main loop' and try againTor Lillqvist
Does not work, though, we end up with a crash that is hard to debug thanks to the rubbish tool-chain. Change-Id: Ie1954e35e649fac8dd106f0ccbc6951c4a6c1c63
2014-12-04android: remove preferences menu item for now.Andrzej Hunt
The preferences activity doesn't work, so easiest not to try to use it until it is properly implemented. Change-Id: I4b4195f6dcafa3c99dbef1ae3044ea18ab173c21
2014-12-04android: force create directory assets/gz.unpack/programTomaž Vajngerl
It can happen that this directory doesn't exist and the copy script fails (especially on a clean install). The script has been modified to force create this directory before trying to copy stuff into it. Change-Id: Iedf3caef07e6896405750aea9e8f211b1e80dc3a
2014-12-04LOK Android: don't initialise until TMPDIR is set.Andrzej Hunt
As part of LOK initialisation we now start soffice_main, this requires TMPDIR access, and will fail if we haven't set TMPDIR (as by default it attemps to access /tmp which is not allowed on Android). Change-Id: I63bd7bce9b52c898c60fda6eea33ee919349a109
2014-12-02Skip the 'desktop' app for nowTor Lillqvist
Change-Id: I040bd49f8cfeec74c3225135a110140c1816be43
2014-12-01Fix Android buildTor Lillqvist
Adapt to URE merge. (Not sure whether the app(s) still work, but at least it now builds.) Change-Id: I6e85fd8eaebea75c22188f4f36269dbbe55d012a
2014-12-01Fold URE: Linux ure/share/misc/* -> program/Stephan Bergmann
...and remove now unused ure-link symlink Change-Id: Ic958432c1dad4fae213982d0af072187f151620b
2014-11-26version ini-file's ProductMajor/Minor are unusedStephan Bergmann
...and had started to have different values in instdir (ProductMajor=450, ProductMinor=0) vs. installation sets (ProductMajor=50, ProductMinor=) Change-Id: I4db2c07b5f7b011218833fc355a3097eb13d0cd4
2014-11-25Remove unused URE_LIB_DIRStephan Bergmann
(which now had a bogus value on Mac OS X anyway) Change-Id: I5bf233506d6c658560dfadddf79a9ed8605c2a20
2014-11-12Fix common typos. No automatic tools. Handmade…Andrea Gelmini
Change-Id: I1ab4e23b0539f8d39974787f226e57a21f96e959 Reviewed-on: https://gerrit.libreoffice.org/12164 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2014-10-13android: When debugging, the installLocation must be "internalOnly".Jan Holesovsky
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
2014-10-13android: When rotating, we also need to update the viewport geometry.Jan Holesovsky
Change-Id: I04502c56b1e1d16cf65cbeb47632c508ef9889d0
2014-10-10android: Repaint when the orientation changes.Jan Holesovsky
Change-Id: I150b22b7b1179c1adc7995a8547c7644ac25be28
2014-10-10android: Improve the button descriptions.Jan Holesovsky
Change-Id: I770065f7cb9aef3413cf8ebf860991147b6e14eb
2014-10-10android: Disable LibreOfficeUIActivity for now.Jan Holesovsky
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
2014-10-10More tabs -> spaces.Jan Holesovsky
Change-Id: I9a3e104b05479413dc314f299824a48ead004693
2014-10-10Kill trailing whitespace, tabs -> spaces, add modelines.Jan Holesovsky
Change-Id: I24154279154ba2a9d1ba6cab81d066fcba23cb4e
2014-10-09android: Fix the application lifecycle.Jan Holesovsky
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
2014-10-09android: Simplify the About dialog creation.Jan Holesovsky
Change-Id: I40fb007e8f672e1c5ff4e6e23c043b7305e726a9