Commit graph

20 commits

Author SHA1 Message Date
Henry Castro
e5c1d0e637 initial rename loleaflet -> browser
Change-Id: Ief7edfe7e3ff3a0a1ec24b4dc106bdeee5d0f8ff
Signed-off-by: Henry Castro <hcastro@collabora.com>
2021-11-10 17:18:56 +01:00
Dennis Francis
c6f2e2211d typescript: do project level compilation for ts files in src/
There may be warnings on first run after application of this patch due
to ts->js files present src/ due to previous per file compilation.
Cleaning those files will get rid of the warnings.  These are removed
from .gitignore files to avoid confusion.

Now we rely on tsc to do the incremental builds so it is much faster.
Checking of js files is disabled for now as it reports a lot of type
errors.

Caveat: Compilation of mocha tests, admin (those outside src/) are still
using the file by file compilation.

Signed-off-by: Dennis Francis <dennis.francis@collabora.com>
Change-Id: Ic22b265de0b111165224885c4736486fffa016d8
2021-04-08 14:05:54 +05:30
Dennis Francis
8b2eae423c setup mocha framework for testing TS classes/functions
... and add a few test-cases for CPointSet.empty()

* The tests are written in TS and compiled to JS before Mocha framework
  runs them using 'npm test' via 'make check'.

Signed-off-by: Dennis Francis <dennis.francis@collabora.com>
Change-Id: I16e28404af76754b6bbb67c6743ca7d0f2701233
2021-02-12 12:02:13 +05:30
Gökay Şatır
07c2f7dc67 Introduce CanvasSectionContainer class.
Signed-off-by: Gökay Şatır <gokaysatir@collabora.com>
Change-Id: I69929595450c48ed45326c21743fbde3babc9803
2021-01-06 20:43:54 +03:00
Henry Castro
d7353acf96 loleaflet: introduce "stylelint" a modern linter for CSS
Change-Id: I8a7427eeb3b838baac8a6669d5313dc0d53d9ddd
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/102199
Tested-by: Pedro Silva <pedro.silva@collabora.com>
Reviewed-by: Pedro Silva <pedro.silva@collabora.com>
2020-09-08 17:33:12 +02:00
Henry Castro
9b0319d24b loleaflet: update archived-packages
After executing the command `npm shrinkpack` exits missing packages,
better to update the archived packages if someone forgot to do it.

Change-Id: I4e9de2337a9b9a636ac084982a9db7775e6711b7
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/93591
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Tested-by: Jenkins
Reviewed-by: Henry Castro <hcastro@collabora.com>
2020-05-25 20:13:57 +02:00
Tor Lillqvist
2c7b1a6919 Remove loleaflet/spec which probably hasn't been maintained anyway
Change-Id: I1cb65489c2c58329cbed6329b7014a6c04e13b62
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/92247
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tor Lillqvist <tml@collabora.com>
2020-04-16 08:22:50 +02:00
Andras Timar
40a53cf28e l10n: reproducible way of extracting translations from LO core
Change-Id: If17639d79105efa782e724842ff7132d6b718dbc
2018-01-03 08:39:28 +01:00
Pranav Kant
5ba6360a8b loleaflet: Factor out generation of .json
... so that one can use the factored-out rule, build-l10n, to
install these translation .json files in dist/ and start using
them, without having to do 'make dist' first and then extract the
package.

Change-Id: Ie2814a9f2596246b487799968f3027aa48475e7b
2016-09-21 13:57:14 +05:30
Pranav Kant
af36ebeae2 loleaflet: Update README regarding source-maps and .gitignore 2016-08-11 16:39:54 +05:30
Andras Timar
240ce7e8e9 loleaflet: don't ignore errormessages.js 2016-05-23 23:53:08 +02:00
Ashod Nakashian
8eedd9dfd3 loleaflet: gitignore branding files
Change-Id: I78df82004999938e2c9b7aa9935896fd8c195318
Reviewed-on: https://gerrit.libreoffice.org/24128
Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
Tested-by: Ashod Nakashian <ashnakash@gmail.com>
2016-04-16 17:24:50 +00:00
Andras Timar
8f93a5f526 merge loleaflet and loolwsd rpm packages 2016-04-14 17:08:52 +02:00
Pranav Kant
d8c9128d35 loleaflet: Let simple 'make' build and install plugins in dist/
... and 'make dist' just copy that over to its package directory.

Change-Id: Ifb3d59c3cdfde23f14bc64b5a358565279a57575
2016-04-14 15:08:01 +05:30
Michael Meeks
72a0926b4a Hush - update gitignores. 2016-04-07 19:38:33 +01:00
Pranav Kant
18e1f2f8e7 loleaflet: Do not track built admin-src.js
Also delete the admin-src from there. It is not supposed to be
under git. This is generated during make from all the files in
src/admin

Change-Id: Ib1c8b637c40bf7bec7924a9582262f50fb093e47
2016-03-25 18:24:11 +05:30
Andras Timar
8c0764028f .gitignore 2016-03-10 09:55:19 +01:00
Ashod Nakashian
04d263cba0 loleaflet: .gitignore load_test dirs
Change-Id: I03bee4676f50e1e88ffd29c84962d7e5f0977381
Reviewed-on: https://gerrit.libreoffice.org/21155
Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
Tested-by: Ashod Nakashian <ashnakash@gmail.com>
2016-01-06 14:21:01 +00:00
Mihai Varga
4b7362ac08 Ignore resulting js files in dist 2015-04-06 17:09:27 +03:00
Mihai Varga
bb6fd2206a Unmodified Leaflet
Checkout date: 09/03/2015
HEAD: a92c8a3c21f8d580de2dfd1e937ea90db76787b6
2015-03-09 12:16:17 +02:00