Commit graph

7867 commits

Author SHA1 Message Date
Tor Lillqvist
4dc340972c tdf#122582: Add slideshow functionality
Requires a couple of corresponding commits in core to its filter
subdirectory.

Change-Id: I3e6353752dd93e021fb6058fff5096f1d648d17e
2019-02-22 21:01:54 +02:00
Tor Lillqvist
6567f50abf Bin leftover declaration of now non-existent function
Change-Id: I62af01bd68657fbce60e4df9df5d3b4a4701d5e0
2019-02-22 21:01:54 +02:00
Jan Holesovsky
589fcc3ac7 android: We need more memory for the build.
Change-Id: I69e54171eba354c85e739d7342da8e9b94096437
2019-02-22 14:21:04 +01:00
Jan Holesovsky
071960901f Remove extra whitespace.
Change-Id: Ia5f4e3838123bf1c08151a0745ac2871bbe16b73
2019-02-22 14:17:01 +01:00
Jan Holesovsky
63b1853cd2 android: Add possibility to debug JS in the WebView using a debugger.
Change-Id: I3d14dce55c7c94a151e72b631925419b4c313297
2019-02-22 14:02:00 +01:00
merttumer
12fa2aafa0 Disable intermediate zoom levels on calc
For calc only 100% and 200% zoom is possible
It zooms between by mousewheel
Signed-off-by: merttumer <mert.tumer@collabora.com>

Change-Id: I2cb6becb474fdfd31b669a5928213228297375c5
Reviewed-on: https://gerrit.libreoffice.org/67788
Reviewed-by: Aron Budea <aron.budea@collabora.com>
Tested-by: Aron Budea <aron.budea@collabora.com>
Reviewed-by: Jan Holesovsky <kendy@collabora.com>
2019-02-22 11:54:39 +01:00
Szymon Kłos
8a61a53027 Integrate browser-sync
Tool to automatically reload used .css and .js files.
To make it work symlinks are created instead of a copy
if browsersync is enabled.

1. install:
npm install -g browser-sync

2. use configure option: --enable-browsersync

3. remove loleaflet/dist directory

4. run server:
LOOL_SERVE_FROM_FS=1 make run -j10

5. run browsersync:
browser-sync start --config browsersync-config.js

or

make sync-writer

Change-Id: Iebee1cc0b9a03bc866954ff33e3cb8a10b48e0af
2019-02-21 09:23:47 +01:00
Andras Timar
eb75a64c3c tdf#123500 double '~' character in translation
Change-Id: I4c42c34725f2890f6d88b7da6a025220fb85fbce
Reviewed-on: https://gerrit.libreoffice.org/68135
Reviewed-by: Andras Timar <andras.timar@collabora.com>
Tested-by: Andras Timar <andras.timar@collabora.com>
2019-02-21 08:57:27 +01:00
Andras Timar
f7de69fcbe fix release build
Change-Id: I20a65d878aa931219af12aa1ada7cf90324ffda7
2019-02-20 13:52:46 +01:00
Jan Holesovsky
354c2ce2a3 android: Fix passing of the base64-encoded messages.
Change-Id: I8519bff3ec96d7a2acf25ef4b5258b5493befd4f
2019-02-20 00:38:16 +01:00
Jan Holesovsky
4f5e262344 Revert "android: Various fixes to make the sending from the core to JS..."
Lets leave this optimization for later, this is incomplete, and does not
fix the problem which it was originally supposed to address.

This reverts commit bce922e8fd.

Change-Id: I5d2ee19058261c7612d36014181f509604c8acde
2019-02-20 00:38:16 +01:00
Tor Lillqvist
14e998723f Make glibtoolize optional, as presumably was the thought
Change-Id: I85b7247451d74182906e96a8a9aa0d7cdcbe1970
2019-02-19 16:30:43 +02:00
Jan Holesovsky
bce922e8fd android: Various fixes to make the sending from the core to JS working.
Change-Id: Idc22ccbae1effac9e2db5293703a768e033fd7e9
2019-02-19 10:56:58 +01:00
Jan Holesovsky
a3226c108c android: Don't split the base64 encoded string to separate lines.
Change-Id: Ie307f123bd2eec708adff581481d12babd1867ec
2019-02-19 10:56:58 +01:00
Jan Holesovsky
a9fc9ee63a android: Cannot read the assets directly, use the unpack instead.
Change-Id: I89818b122757b0f77a71c68e67cb2a1a27f2c0fb
2019-02-19 10:56:58 +01:00
Jan Holesovsky
91280ea905 android: Need the the JavaVM in LibreOfficeKit too.
Change-Id: Ice4a25be0e6eb8a2aa8e571bd22847e5fda1e8a2
2019-02-19 10:56:58 +01:00
Aron Budea
d18cb90a68 loleaflet: Use correct location of drop-down-button.svg
Regression from 8618885b31

Change-Id: I04a5eb6c18807e16e03f73c3850c35c2cdbbb676
Reviewed-on: https://gerrit.libreoffice.org/67987
Reviewed-by: Aron Budea <aron.budea@collabora.com>
Tested-by: Aron Budea <aron.budea@collabora.com>
2019-02-18 22:01:03 +01:00
Michael Meeks
b46f027101 iOS: add some alternative brew / pip instructions for local building.
Change-Id: Icefeb848537cefc618170d730d3c0b32e3898de6
2019-02-18 16:44:51 +01:00
Tor Lillqvist
3a43b1a02b Bump CFBundleVersion
Yeah, a bit silly to have to do git commit for these bumps. I should
change things so that CFBundleVersion is taken from some local file in
the build tree, not from a file in git.

Change-Id: I99d68490aa7f084e8cfb34896c3398486bc6f8a2
2019-02-18 12:27:11 +02:00
Jan Holesovsky
8cd64c8cd8 android: Make sending to JavaScript work.
I haven't tested yet if the message actually gets to the JS, but
definitely the callFakeWebsocketOnMessage() is called and the WebView
does not complain that it is called from another thread.

Change-Id: I0e32d5a7d8937d754ac9dc6aa4ef763b56b44a52
2019-02-16 01:51:54 +01:00
Michael Meeks
150d20cf37 TileCache: dumpState.
Change-Id: I6289f0b77eb0649be8254aa8c9647c47d4db3008
2019-02-15 21:36:28 +01:00
Tor Lillqvist
8f71365f0f Remove unnecessary leftovers after Michael's removal of the on-disk tile cache
Change-Id: I435679b48f90d2580bb9c5c86a26c9a1d43c5b59
Reviewed-on: https://gerrit.libreoffice.org/67885
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
Tested-by: Michael Meeks <michael.meeks@collabora.com>
2019-02-15 21:36:16 +01:00
Jan Holesovsky
40ffc4306a android: Passing messages from the native code to JS (incomplete).
Later we can come up with a way how to call it directly, but for the
moment, the indirection through Java is the easiest to implement.

Incomplete, needs a bit of more work to work from the thread.

Change-Id: I85ec997e32b5bd7d809142307e6fbaf42fc6ec2d
2019-02-15 18:45:18 +01:00
Gülşah Köse
5a3a90c5ec Remove unnecessary button from ui and make webview fullscreen.
Change-Id: Ia07dc38b9394b0ae174ec112d828b858990488c3
Signed-off-by: Gülşah Köse <gulsah.kose@collabora.com>
Reviewed-on: https://gerrit.libreoffice.org/67815
Reviewed-by: Jan Holesovsky <kendy@collabora.com>
Tested-by: Jan Holesovsky <kendy@collabora.com>
2019-02-15 17:48:14 +01:00
Gülşah Köse
62e2d47921 Associate files with the android application.
Change-Id: I9a654ea1cac8523b9422e5c183a5127244efb25f
Signed-off-by: Gülşah Köse <gulsah.kose@collabora.com>
Reviewed-on: https://gerrit.libreoffice.org/67817
Reviewed-by: Jan Holesovsky <kendy@collabora.com>
Tested-by: Jan Holesovsky <kendy@collabora.com>
2019-02-15 17:47:06 +01:00
Jan Holesovsky
427c5ea219 android: Settings for the build.gradle.
Change-Id: I457a7fb8a80106c0474ee03229e712a557cf799b
2019-02-15 16:53:35 +01:00
Jan Holesovsky
a362bdec09 android: Some pieces have to be unpacked out of the APK.
Mostly copied from the core.git.

Change-Id: I87472037c48d69a904440fd8008b515d604bb84b
2019-02-15 16:53:35 +01:00
Jan Holesovsky
df3faf45ae android: Better path for the fonts.conf.
Change-Id: Iaecbec1b24dd4806da3f52e8eb3e1eddd64891b3
2019-02-15 16:53:35 +01:00
Jan Holesovsky
4480a32577 android: Actually use /assets as the dataDir.
Change-Id: I00a6263644effc6bf20a46c90d811e6fa0cf1e09
2019-02-15 16:53:35 +01:00
Jan Holesovsky
2d7bb54826 android: Add / generarate various bootstrap-related files into the APK.
Mostly taken from core.git.

Change-Id: Idb7c7078cb78b257b04737daa00cf210cbe2cf87
2019-02-15 16:53:35 +01:00
Jan Holesovsky
a25b256282 android: Package the lo-native-code.so and dependencies into the APK.
Additionally don't strip the debugging symbols when building a debug APK
for easier debugging in the Android Studio.

Change-Id: I522a91da511a2868a2a07d80b4a25fea0dbd2621
2019-02-15 16:53:35 +01:00
Jan Holesovsky
a98d08fbb3 android: Copy the liblo-native-code.so over from core.git.
Change-Id: I457a7fb8a80106c0474ee03229e712a557cf799b
2019-02-15 16:53:35 +01:00
Jan Holesovsky
835bb3db35 android: Perform the android-specific setup before initializing the LOK.
Change-Id: I935e6849dd41c5e66b768c7f2a79c139265c901f
2019-02-15 16:53:35 +01:00
Michael Meeks
66ac62429c TileCache: switch to in-memory, rather than persistent.
Remove significant complexity; if we need it later lets do it more simply
serializing when we start / finish a session.

Turn off caching for mobile - possibly should kill for single-user too.

Change-Id: I5ea56088ddbb61f22fe7920f8c9ac7440cb3296a
2019-02-15 12:10:16 +01:00
Michael Meeks
36e9d5b376 TileCache: re-factor API to work in terms of vectors, not file references.
Change-Id: Ia9d48773121ab965b79ddb16b55b5d3fdcd7fd5c
2019-02-14 21:46:39 +01:00
Tor Lillqvist
b83ca07306 Fix editing glitch
Change-Id: I344e94914396b4404b913db606dd6ed5d9dbc86e
2019-02-14 10:06:04 +02:00
Jan Holesovsky
ce95c52234 Fix build.
Change-Id: I434a22f14482bf901d08b7c833eaff01e7c9c4f5
2019-02-14 08:44:46 +01:00
Eduard Ardeleanu
4bc56d3fd4 loleaflet: fix ControlMenubar's DeleteSlide for presentation files
Change-Id: Id45d112ce70029f2c102be3fc3cbff6afc2c8821
Reviewed-on: https://gerrit.libreoffice.org/67782
Reviewed-by: Jan Holesovsky <kendy@collabora.com>
Tested-by: Jan Holesovsky <kendy@collabora.com>
2019-02-14 08:39:31 +01:00
Jan Holesovsky
95827f3c1c android: Actually attempt to load the file for real.
Hits an assert, no LOK is available.

Change-Id: I86b46ea2fcee41966f46ae7f54fe5a506aa7769a
2019-02-13 21:52:43 +01:00
Jan Holesovsky
7604f9b218 android: Pass the messages from JS to the MainActivity.
Change-Id: Id2d5bac0f67668305ed47276614fde590d461901
2019-02-13 21:18:57 +01:00
Tor Lillqvist
d81fe29ad0 We don't need discovery.xml in the iOS app any longer either
Change-Id: Id592b58f091607cf2e8c5e951a95aa3a563e8def
2019-02-13 20:00:04 +02:00
Tor Lillqvist
5849a8f8a3 getServerURL() is not used in MOBILEAPP
Change-Id: I30a96c89884b6259b0a2fcd5bc5d4bc104569913
2019-02-13 19:50:54 +02:00
Michael Meeks
e1f3a6a388 Tweak problemms.
Change-Id: I35d82dffba9f0e58ea70c782ee8ce7fcf8f9b314
2019-02-13 18:35:32 +01:00
Michael Meeks
92cf5707cf Add calc / typing unit test.
Change-Id: Ib62ad6e1a720bdfce41ed5520d7396e83c8f5a91
2019-02-13 18:24:36 +01:00
Michael Meeks
af31537a2a Expose tile-id generation to unit tests.
Change-Id: Ie56967c82192f3983ac13d53fd73346f25e6c840
2019-02-13 18:24:36 +01:00
Michael Meeks
f98a7f0592 Improve unit test / SSL handling & detection.
Change-Id: I6bd3116ac94d3d2c61e2ec543cb17896834ef2df
2019-02-13 18:24:36 +01:00
Jan Holesovsky
e3b17cdc3c android: Don't try to read discovery.xml, it's not needed on mobile.
With this, the actual loolwsd startup does not crash any more, so let's
enable it :-)  Of course it still does not work yet.

Change-Id: I5a1ee7adac64c57f1aa5b597c3dbdc0089a1ac11
2019-02-13 17:36:19 +01:00
Jan Holesovsky
7b48434d0d android: Better logname for the native part.
Change-Id: I25d091075def09b605d8fcd8cf4f956b6569f90d
2019-02-13 17:33:53 +01:00
Jan Holesovsky
7a0209c7aa android: Link against the debug POCO libraries if --enable-debug.
Change-Id: Ic7dc3076a12fe9a0faf4dec5c0f5b0b3a5a171c3
2019-02-13 17:28:01 +01:00
Jan Holesovsky
7f0f6e5a36 android: Restart if anything goes wrong.
But sleep for a bit of time between the runs to avoid a busy loop.

Change-Id: I90a7bee052d82e8a0488e6a34fb1b6f43e6f6e64
2019-02-13 16:37:54 +01:00