Commit graph

132 commits

Author SHA1 Message Date
Henry Castro
8ce1846e5e loleaflet: import l10n.js library
The file was imported from node_modules/l10n-for-node/l10n.js,
the main reason is to analyze the source code, debug and patch
if necessary

To obtain the source code from npm repository

make libs

Change-Id: I7bd4d400c504f57a94566e187c6d26361aed8bd0
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/89043
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Henry Castro <hcastro@collabora.com>
2020-02-19 17:32:10 +01:00
Henry Castro
1dda92109f makefile: generate an index (ctag) file for the JavaScript language
Change-Id: I495c7665786a47cfb007260368084a01c4163ea7
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/85766
Reviewed-by: Henry Castro <hcastro@collabora.com>
Tested-by: Henry Castro <hcastro@collabora.com>
2020-01-06 18:48:15 +01:00
Jan Holesovsky
37b5d29fc1 android: Copy the online widget theme too if available.
Change-Id: If9fd23e24bd28897f1645c043678b44f86d5b2e4
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/86163
Reviewed-by: Jan Holesovsky <kendy@collabora.com>
Tested-by: Jan Holesovsky <kendy@collabora.com>
2020-01-03 11:07:54 +01:00
Jan Holesovsky
0cd43ead59 android: Make the localization work for the JS pieces.
To have the menu translated.

Change-Id: I8d4d90d260aa3fcd80a8eb68515b22c58c9b3e18
Reviewed-on: https://gerrit.libreoffice.org/84931
Reviewed-by: Jan Holesovsky <kendy@collabora.com>
Tested-by: Jan Holesovsky <kendy@collabora.com>
2019-12-11 11:49:37 +01:00
Jan Holesovsky
1c8a31b33e android: Brand also the shell's About dialog.
Change-Id: I63b668ad92c688ec69818c058a787dbd94b5cc8b
Reviewed-on: https://gerrit.libreoffice.org/84630
Reviewed-by: Jan Holesovsky <kendy@collabora.com>
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
2019-12-06 15:46:04 +01:00
Jan Holesovsky
d87f06adef android: Add possibility to brand the launcher icon.
Change-Id: I6cd531aab698236287eb7c20146caa61e34e8450
Reviewed-on: https://gerrit.libreoffice.org/84328
Reviewed-by: Jan Holesovsky <kendy@collabora.com>
Tested-by: Jan Holesovsky <kendy@collabora.com>
2019-12-03 14:34:47 +01:00
Tor Lillqvist
54e85d9cc2 Fix build without --enable-debug
Since c59bf4ed3a, $(ENABLE_DEBUG) is
eiher "false" or "true", not empty or "true". So we can't check it in
Makefiles with just $(if $(ENABLE_DEBUG),...), that will match also
the value "false".

Change-Id: I17c079f1c3a6346e9f0a0219f07f642673b55a98
Reviewed-on: https://gerrit.libreoffice.org/83663
Reviewed-by: Andras Timar <andras.timar@collabora.com>
Tested-by: Andras Timar <andras.timar@collabora.com>
2019-11-25 13:49:29 +01:00
Michael Meeks
946cc5d8e6 Rename misleading ClipboardContainer -> TextInput
Change-Id: Idb5ccb9959e0c77dfcdbb2793330bb048db0f0f8
2019-11-15 16:28:34 +00:00
Jan Holesovsky
7b97c5b019 android: Update the branding layout.
Change-Id: I661dfbda731fb0ef7772364c30b879a19f40a322
2019-11-08 23:04:47 +01:00
Szymon Kłos
d3b92abd8e Mobile language indicator and dialog
Change-Id: I2358ac60a3ba1a0f177e9fa3f965b7043ab99559
2019-11-03 18:00:22 +01:00
Andras Timar
b813ed61b6 add copyright notice to About Box
Change-Id: I51c2c5e7c2b0cf232b8a2f2dbcb3b9f3f04737ea
Reviewed-on: https://gerrit.libreoffice.org/70205
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
Tested-by: Michael Meeks <michael.meeks@collabora.com>
2019-10-29 13:24:33 +01:00
Szymon Kłos
1b3a8bd478 Use mobilewizard.css also
Change-Id: I6d8667f30e6ed35ee930f50ae247fd6522f5d251
2019-10-16 17:40:59 +02:00
Szymon Kłos
91d281bf0b Split css files - added empty files
Change-Id: I67863622d37e350e8a5eafa4cd5f65ec4a2baed3
2019-10-16 12:38:04 +02:00
Marco Cecchetti
d0e6692c1b loleaflet: color picker control based on JSDialogBuilder
This patch provides an implementation of a color picker control living
in its own submenu.

Change-Id: I65c24c73d322f1d4d0d8819dc5c9ad80ee846261
2019-10-16 12:18:43 +02:00
Szymon Kłos
c1e96bff45 Fix build, not existing Mobile.Input.js
Change-Id: If443850bad4fd40886e378e3f7ede1eb52bb69ea
Reviewed-on: https://gerrit.libreoffice.org/80139
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
Tested-by: Szymon Kłos <szymon.klos@collabora.com>
2019-10-04 11:43:15 +02:00
Szymon Kłos
ab9962a9f2 jsdialogs: UI Builder
Change-Id: I6cfcae90542eca84d45a99b15dc97ed3356a0626
Reviewed-on: https://gerrit.libreoffice.org/79724
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
Tested-by: Szymon Kłos <szymon.klos@collabora.com>
2019-09-27 17:03:16 +02:00
Szymon Kłos
e3a01b7561 jsdialogs: Mobile Wizard
Change-Id: Ida2dc48d86ea4f28b08ec24a7638f27ad8633dbf
Reviewed-on: https://gerrit.libreoffice.org/79723
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
Tested-by: Szymon Kłos <szymon.klos@collabora.com>
2019-09-27 17:03:06 +02:00
Andras Timar
448f050372 Updated pot files
Change-Id: I560f9eff4556941d211d03080237d2cf0599aa6f
2019-09-17 10:52:53 +02:00
Ashod Nakashian
27d780747b loleaflet: add sidebar
(cherry picked from commit 01c828c911fa70b263fee699efbc656fde54d03f)

Change-Id: Idc215e67b21b1f0ba48b3d391041278dd6526cfe
2019-09-03 01:00:05 -04:00
Henry Castro
7af08ddc85 loleaflet: makefile: do not use hammer.j minified library
It is hard to debug the library if it is minfied,
it is preferable to non minified when --enable-debug is set

Change-Id: I7886d047d8aab90b68c12bb50964d263445d8afe
Reviewed-on: https://gerrit.libreoffice.org/77733
Reviewed-by: Henry Castro <hcastro@collabora.com>
Tested-by: Henry Castro <hcastro@collabora.com>
2019-08-19 17:11:04 +02:00
Tomaž Vajngerl
cc70602939 tdf#122529 Support for table overlay - column/row change markers
This adds table markers for resizing rows and columns if the user
has the table selected or the cursor is in the table. The code
reacts to the callback "tableselected:", where the markers are
created for each column and row, if the payload (json) of course
has any data. When the marker is dragged, a uno command to resize
the table column or row border is send to the core.

Change-Id: I9b21d09639c1b2be70a1a897f9e3340b453d847e
Reviewed-on: https://gerrit.libreoffice.org/77360
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
Tested-by: Tomaž Vajngerl <quikee@gmail.com>
2019-08-15 05:16:04 +02:00
Michael Meeks
229ca09419 Start of separating clipboard code to Clipboard.js.
Change-Id: I59ba0c093002cb60b13d2f71a4801e76f6a94b2a
2019-08-05 21:20:21 -04:00
Marco Cecchetti
fdc5d259ea loleaflet: download widget skeleton for larger copy/paste data operation
Change-Id: I64d8edc014241e94c45677185a935714b8eeb192
2019-08-05 19:15:28 -04:00
Jan Holesovsky
2b13c69d75 android: Split the actual editing Activity into an own library.
This way, it is more naturally visible what is the actuall app (with the
initial recent documents / file picker) and the editing part.

Change-Id: Ia764f2900939e980f703e3da9f9abd6c0aee7cbb
2019-07-12 11:52:56 +02:00
Jan Holesovsky
18ee97d9c8 android: Copy also the branded images if any.
Change-Id: I9f8ed9f726015f9a668bd0d6e8f6d934f60cd413
2019-07-11 08:33:52 +02:00
Jan Holesovsky
6f5290da0e android: Actually use the branding if it exists.
Change-Id: Idd7136f0657452c5fb88f2a84b5c647ab8c2935b
2019-07-11 08:33:43 +02:00
Samuel Mehrbrodt
16fcd37201 configure: Add support for custom icons
Change-Id: I573b4d7e745cdea6fdbecd2c3790078d1980bdf9
Reviewed-on: https://gerrit.libreoffice.org/74491
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2019-06-28 12:32:43 +02:00
Jan Holesovsky
f485b2ea97 android/ios: Turn the --with-iosapp-branding into --with-app-branding.
This is needed for the Android app too, so generalize the switch.

Kill copying of the example documents into the APK when at that...

Change-Id: I5b575ade3e40cc0becd5c739077acff5299d3312
2019-06-20 14:13:09 +02:00
Samuel Mehrbrodt
f5954a015b Browsersync: Also sync html files
Change-Id: I55db923954fc0c59e1726640c980a539a12293ba
Reviewed-on: https://gerrit.libreoffice.org/72455
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2019-05-20 09:59:45 +02:00
Henry Castro
ee7e1f136a Revert "loleaflet: move jquery.contextMenu.js to loleaflet/js"
This is no longer required because d6fe8ff085

This reverts commit 2ea141c02f.
2019-05-10 10:05:06 -04:00
Alexandru Vlăduţu
ef1669b389 loleaflet: update vex.js library
Change-Id: I6b32c6a60a27aa27eb32784bb73e40c979f67def
Reviewed-on: https://gerrit.libreoffice.org/71726
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2019-05-03 12:17:02 +02:00
Henry Castro
2ea141c02f loleaflet: move jquery.contextMenu.js to loleaflet/js
for next patch I require to modify the contextMenu
to trigger on touch start event.

I should do updating archived-packages, but ...

Change-Id: I20f1fbda1e7e60f97cd790c055599edcf8da9d1a
2019-05-02 18:19:59 -04:00
Henry Castro
9c2ca2d502 loleaflet: makefile: create variable to expand more JS libs
It simplifies and expand more Javascript Libraries to be used in
"loleaflet" bundle

Change-Id: I94aab1989fcef844344a297cd511c796ba642bd4
2019-05-02 15:53:28 -04:00
Andras Timar
5f10b44f00 Extract iOS strings with prop2po from Translate Toolkit + update pots
Change-Id: I0b7a7f2b9dd9bcbc52117fbe3e1009cc5f629ea2
2019-04-13 21:59:41 +02:00
Jan Holesovsky
ea659b3d99 Use the app name more generally, not only on iOS.
Preparation for using it on Android too.

Change-Id: Iee7778b2625a02a98daff5df87c39f4ab1d18144
Reviewed-on: https://gerrit.libreoffice.org/70651
Reviewed-by: Tor Lillqvist <tml@collabora.com>
Tested-by: Tor Lillqvist <tml@collabora.com>
2019-04-12 13:44:40 +02:00
Alexandru Vlăduţu
51e849bf5d loleaflet: optimize slideshow spinner
This commit fixes 2 issues:

- a UX issue described by tdf#124544 (slideshow spinner is not
displayed for the correct duration - user shown a blank screen while the
browser downloads slideshow.svg)

- an additional HTTP request is being made to loading.html just to
display an ordinary spinner (that can be otherwise loaded via css for
example)

tdf#124544

Change-Id: I90d1e73d1514d736dd58a53caa5921b42bc1bd75
Reviewed-on: https://gerrit.libreoffice.org/70250
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
Tested-by: Szymon Kłos <szymon.klos@collabora.com>
2019-04-04 13:46:29 +02:00
Alexandru Vlăduţu
0821940ae7 loleaflet: check document hyperlink before open
Change-Id: Ie2b1ba8baf49136fa805ab5b3a52f7b7fb5827df
Reviewed-on: https://gerrit.libreoffice.org/70113
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
Tested-by: Szymon Kłos <szymon.klos@collabora.com>
2019-04-02 14:45:13 +02:00
Samuel Mehrbrodt
7f63e7658d Fix path (again)
After 59306e2f4c "loleaflet: rename toolbar.js to Control.Toolbar.js"

Change-Id: Iaa5556da289e23b8942a020b75a805c87dc03c70
2019-04-01 10:27:32 +02:00
Andras Timar
30851bb57e add plist2pot.sh to Makefile
Change-Id: I7cbd25ccb6ceaa4ce5a90eca1db2d7d5631edbe7
2019-03-29 22:34:42 +01:00
Tor Lillqvist
74f19fce6f We insert global.js in loleaflet.html and shouldn't include it in bundle.js
Also, make loleaflet.html depend also on the two files that are inserted into
it with the m4 syscmd thing, bundle.css and global.js.

Change-Id: Iba261aeff70786eec114e5508b748dadd8663038
2019-03-21 17:20:27 +02:00
Jan Holesovsky
345df913de Revert "loleaflet: remove jquery-ui.js"
This is needed for the functionality of the dialogs.

This reverts commit e81441f63b.
2019-03-20 09:44:39 +01:00
Andras Timar
9c74b8e14f put back po->json make rule
Change-Id: Idbd45a48f3215f36b68e444a83c4eb07ea37e1bb
2019-03-18 14:20:26 +01:00
Samuel Mehrbrodt
58eab0bbb5 Fix path
Change-Id: Ie04f809e6d6b1c87a4fe4d66132c9c51551b0b04
Reviewed-on: https://gerrit.libreoffice.org/69383
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2019-03-18 11:44:32 +01:00
Jan Holesovsky
e5ecc92659 Revert "loleaflet: execute l10n.js script after html parsing"
This reverts commit e512924544.

Change-Id: I9b322b45cd13b69c4438d48227237dd8062aee05
2019-03-15 18:24:25 +01:00
Jan Holesovsky
117bb3a837 Revert "loleaflet: expand l10n files"
This reverts commit 70bdc4660e.
2019-03-15 18:24:25 +01:00
Jan Holesovsky
153e2d06fa Revert "loleaflet: uglify l10n.js"
This reverts commit 3aebf7fea9.
2019-03-15 18:24:25 +01:00
Jan Holesovsky
8ccc087b18 Revert "loleaflet: minify l10n files"
This reverts commit 88a8810ee7.
2019-03-15 18:24:25 +01:00
Jan Holesovsky
51080df3b9 Revert "configure:L10n: compile message catalog to binary format"
This reverts commit 59241a2ea4.
2019-03-15 17:27:27 +01:00
Jan Holesovsky
5fe925f18f Revert "loleaflet: remove client side L10n"
This reverts commit c9685387b9.

Change-Id: Ie11c04ffad8260c3c1d6357f18dd9f2a42912859
2019-03-15 17:25:41 +01:00
Jan Holesovsky
9fa34e5a7f Revert "Try to make l10n work again in the iOS app"
This reverts commit 318efba053.
2019-03-15 17:23:28 +01:00