Commit graph

70 commits

Author SHA1 Message Date
Henry Castro
3aebf7fea9 loleaflet: uglify l10n.js
Change-Id: I050d6d82e9d6b3df3cd51426931136b3f14eb730
2019-03-05 15:32:59 -04:00
Henry Castro
70bdc4660e loleaflet: expand l10n files
Change-Id: I091cfefb57c7c5aad7a8256ae2192d62606c773f
2019-03-05 14:56:19 -04:00
Henry Castro
e512924544 loleaflet: execute l10n.js script after html parsing
Change-Id: Ia2be65348aae5ce68a96cbd0ce3ea029062ff48d
2019-03-05 14:32:28 -04:00
Henry Castro
c801696ab1 loleaflet: uglify global.js file
Change-Id: Ibcc265830c10042a918784b350fe93566147993a
2019-03-05 14:08:53 -04:00
Henry Castro
d529a40731 loleaflet: add javascript websocket bootstrap that...
is executed after parsing html

Change-Id: Ib62de3db2449bbe9dc474469c299036259f8f2de
2019-03-05 13:55:25 -04:00
Henry Castro
70d9923ea9 loleaflet: expand inline bundle.css style into html
Change-Id: Id26180777a1b9838c3a9b5dc1e541023d0299595
2019-03-05 11:56:02 -04: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
Jan Holesovsky
b7513394bd android: Copy the test documents to the assets too.
Change-Id: Iaaf8d70b84adf7945461a50c4771dc984ffa08ff
2019-02-13 14:56:05 +01:00
Jan Holesovsky
e79f5f7ec6 android: Create the html, js and css and copy it to the right place.
Change-Id: I3efbba0ae369387796e2d08b3003e4f469610dda
2019-02-13 13:22:25 +01:00
Jan Holesovsky
b270b4e42c Makefile: Reintroduce the check for missing .uno: commands.
Change-Id: If290ff9878fac6f9100246cad4fbc87b559fc7b7
2019-01-22 14:52:40 +01:00
Jan Holesovsky
801643baf0 Actually, let's ship both these jQuery themes.
Change-Id: I3e546e155d50fb280fe12c31b8c33523ac8e9f11
2019-01-10 12:37:46 +01:00
Jan Holesovsky
83dc72115d Update the dialog closing button's image.
Change-Id: I2a5d9d62bda4e20e24a5bdeeea1befad594918b1
2019-01-10 11:32:23 +01:00
Szymon Kłos
0eb1bcb8ce Zoom & move LOKDialogs using gestures
Change-Id: I313ef0ed1b801d8a3d3aadfca7c2eb001499e7db
2018-12-07 12:39:28 +01:00
Szymon Kłos
c9ddadfcaf Added modification indicator
Change-Id: Iba028758671ec4e9bd7db375a2511d2d3699aa55
2018-12-07 12:39:27 +01:00
Henry Castro
f71f67bddc loleaflet: add path transformation plugin
added, indented plug-ins from the repository:

+ https://github.com/w8r/Leaflet.Path.Drag  commit
df9c39b5a567150e445c448e2404d801f3a517c4

+ https://github.com/w8r/Leaflet.Path.Transform commit
6feed9bf21ed86b2beb52dbc4b11d47c3709d8ea

Change-Id: I6c0762fd8fd943cc136dcc9a7a1b476c7be794e0
2018-12-07 12:39:27 +01:00
Henry Castro
54bddfa696 loleaflet: fix select tag drop-down list
Change-Id: I2350ff8a0e17ca9b2709460e3ed333a64d2c76e4
2018-12-07 12:39:27 +01:00
Andras Timar
8347d2578d Enable l10n for most of strings in document sign feature
Change-Id: I5159051b2c42bee26e788766f29244bd2ca2f234
2018-12-04 11:54:20 +01:00
Tor Lillqvist
fe3832f3c6 Use --with-iosapp-name to set the name displayed in the Help>About dialog
Change-Id: I04b0e7c152ee69b038ec30549c203a54eecf4780
2018-11-27 00:35:57 +02:00
Tor Lillqvist
393c8ff278 Move the malihu-custom-scrollbar-plugin js and css into our tree for hacking
I plan to add some hacks into it to fix the horrible jumping around
after touch-based interaction, specifically for the iOS app.

Change-Id: Ia6cfbfe7f487b52ba7652e49eb3fdb59af0c82ae
2018-11-15 18:33:41 +02:00
Andras Timar
2f38e98ea6 loleaflet: update list of localizable files
Change-Id: I1542466cbc8165da93f28ab6378dad456a3d8998
2018-11-15 11:25:42 +01:00
Tor Lillqvist
6d2a60643b Make l10n of the messages from our JS code work in the mobile app
The l10n-for-node code does not work in the app. Instead of loading
the required JSON files at run-time, include all those translations
that seem complete enough as JavaScript code in the bundle.js. Use a
manaully curated list of translations, in a Perl script that generates
the JavaScript code in question.

Change-Id: I45d5cda477140ee63bb3fc8d9f1f4260bcdb97a7
2018-11-12 22:55:03 +02:00
Tor Lillqvist
58ee16d4ed Do generate the loleaflet/dist/l10n/*.json files for iOS
Not used yet by the app but I am working on figuring out some way.
2018-11-09 19:58:32 +02:00
Tor Lillqvist
e58a28fe95 We don't need the admin stuff in the mobile app 2018-11-09 19:05:33 +02:00
Andras Timar
fb1b7d6b44 remove obsolete comment
Change-Id: I69168335c479b94ad4352a64631c1605e4314abe
2018-10-29 13:10:29 +01:00
Tor Lillqvist
fd758496a5 Add --enable-gtkapp configury option
Change-Id: Ib805581663aeec62d713f87ca72ab3cfe95db79f
2018-10-17 01:22:24 +03:00
Tor Lillqvist
e713d8c323 No l10n in the iOS app for now 2018-09-07 16:43:39 +03:00
Tor Lillqvist
1ae4a32067 Factor out loleaflet/dist construction for iOS app building
The idea is that on a Linux box you have a tree of online that you
configure with --enable-iosapp. Then running 'make' there will only
create the stuff in loleaflet/dist. That loleaflet/dist can then be
copied to the Mac where you build the iOS app.

(To me, this approach seemed for now simpler than to get all the
PKG_CONFIG etc stuff working that running configure normally requires,
and run all the node, npm, and associated crack, on a Mac.)

Change-Id: Id2e495d0521922d0666fdab5fdcb5fcd460136f1
2018-09-03 17:10:19 +03:00
Henry Castro
f8c1c1a74a loleaflet: run eslint when toolbar.js is modified
Change-Id: I84272849e20fefea775118960b876e62112c3701
2018-08-14 10:43:32 -04:00
Henry Castro
9f456079e1 loleaflet: remove the script tags that they already were bundled them
Change-Id: I791c6c6850b39d5327c5c3c521138531f3a6f148
2018-05-27 09:19:36 -04:00
Henry Castro
52be172307 loleaflet: update node_shrinkwrap
Change-Id: Icf4683c074c6c4dc6e478412230a431137bdb7fa
2018-05-27 07:55:55 -04:00
Henry Castro
7d03ebcf55 loleaflet: use the recursive Makefile to avoid parallel node_modules target
Change-Id: I1bc7d8bc4b228d104196dbd2355576bcd94c913d
2018-05-27 00:25:14 -04:00
Henry Castro
fab4cbb5e9 loleaflet: fixed js lint errors in admin/src/Base.js
Change-Id: I7d2ae94d75fe68d0973dac940a5837b9c8b93eba
2018-05-26 23:59:37 -04:00
Henry Castro
3571919a50 loleaflet: isolate the admin build process
Change-Id: Ib48ef2b0e6c778a65be949da1eb164cf5f87692d
2018-05-26 23:32:16 -04:00
Henry Castro
42b46bbaa3 loleaflet: add rule to bundle admin files
Change-Id: Id3d25855d697ad607ae30ffffa1a9c6f565b6e6d
2018-05-26 21:45:50 -04:00
Henry Castro
d3a3dc7d13 loleaflet: move some images from draw plugin
Change-Id: If53aea32c745e62493d87ae129a7da2bdc242deb
2018-05-26 10:55:45 -04:00
Henry Castro
1ad2e5bd65 loleaflet: ensure set NODE_PATH environment variable
Change-Id: If0a632c258f740112352e9ad6a4f250bf2e2c9d8
2018-05-26 10:40:59 -04:00
Henry Castro
f838e0998e loleaflet: fix make -j N
Change-Id: I994ff4b352c93ff910d93f5f176c4e7ced2dc21d
2018-05-26 10:27:19 -04:00
Henry Castro
940f0228ed loleaflet: remove unused dir
Change-Id: I0b706797b691bca773a96a0b551feda5c29c246a
2018-05-26 10:16:18 -04:00
Andras Timar
b1948bff68 remove unused evol-colorpicker
Change-Id: I3eaf2040aa8cfaefb7861c33bceac7c1e5d7866a
Reviewed-on: https://gerrit.libreoffice.org/54806
Reviewed-by: Henry Castro <hcastro@collabora.com>
Tested-by: Henry Castro <hcastro@collabora.com>
2018-05-25 23:07:15 +02:00
Henry Castro
50dd72d34f loleaflet: move cursors to images directory
Change-Id: Iea2f5753da022fec70d17fd325764cc46b371483
2018-05-24 14:45:59 -04:00
Henry Castro
9978c51595 loleaflet: lint draw plugins
I forgot to add it, in previous commit

Change-Id: I9fce42d39d07f6d60910e2fc6fec86b78888b9d6
2018-05-24 13:42:07 -04:00
Henry Castro
242b86454d loleaflet: fixed js lint errors in js/global.js
Change-Id: I81d9371e6bfb8eec9e3290e863d89d3f1cb53c40
2018-05-24 10:45:42 -04:00
Henry Castro
7b17fc3a3f loleaflet: modularize toolbar.js file
Change-Id: Ic09d97b7f19aebec80a48161ff3f2a8c7db61328
2018-05-20 10:13:29 -04:00
Henry Castro
486a525cdf loleaflet: debug: do not bundle the draw plugin files
Change-Id: I022f121410eb0a3cd59b2b3b1a160ff7d244ad53
2018-05-17 17:22:25 -04:00
Andras Timar
8f8fbd64df fix file paths 'make pot'
Change-Id: I135c05955e4b8752d527838162f4a7ed345fcc6d
2018-05-11 16:38:47 +02:00
Henry Castro
04f17a012f loleaflet: fix build in admin files
Change-Id: I0e96b18e6319ce0d4456c16f0fce008e4e4c4966
2018-05-10 14:48:50 -04:00
Henry Castro
8618885b31 use Makefile to build loleaflet
Concatenate and minify all javascript files in the release build but not
in the debug build. Also, it is enabled to use a build directory

Change-Id: Ia120447a827cfe236241ddf188bf43a088f877a7
Reviewed-on: https://gerrit.libreoffice.org/52802
Reviewed-by: pranavk <pranavk@collabora.co.uk>
Tested-by: pranavk <pranavk@collabora.co.uk>
2018-05-10 20:30:16 +02:00
Henry Castro
472cae55e7 loeaflet: debug w2toolbar
avoid minify w2toolbar for debugging purposes

Change-Id: I6a24f498511d4b03a04e68af0aa3715bb8c1b48b
2018-03-27 23:05:07 -04:00
Andras Timar
239d5a09a3 remove src/control/Control.MetricInput.js from list of localizable files, because it was deleted
Change-Id: I1583c81aef924c7f61b6b1722666c5fd1137e418
2018-02-21 23:07:52 +01:00
Samuel Mehrbrodt
3ae85e20a6 Ignore errors when draw directory is not deletable
Change-Id: Iec3567129f96b69174421ca1ec652dccf6a6b56c
Reviewed-on: https://gerrit.libreoffice.org/48911
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2018-01-31 10:24:13 +01:00