Commit graph

297 commits

Author SHA1 Message Date
Gökay Şatır
310bd0e234 CanvasTileLayer: Move TilesSection to a typescript file.
Signed-off-by: Gökay Şatır <gokay.satir@collabora.com>
Change-Id: I305615e0fc4d9adddb2cedc7a2860e741d467dd4
2021-02-10 19:05:15 +03:00
Gökay Şatır
91094acbf5 loleaflet: Update makefile for typescript files.
It now detects and compiles ts files in specified directories.

Signed-off-by: Gökay Şatır <gokay.satir@collabora.com>
Change-Id: Ia8a399650480001193be7177b05b5cbb195a98c7
2021-02-10 19:05:15 +03:00
Dennis Francis
0b3b3fa69e make 'build-loleaflet' depend on dist version of ts -> js
Signed-off-by: Dennis Francis <dennis.francis@collabora.com>
Change-Id: I04c5f6770e4d58cdca2cbebf24656b280b906988
2021-02-08 14:32:57 +05:30
Dennis Francis
dac8d84efa CanvasOverlay.js depends on all typescript files in vector/
Signed-off-by: Dennis Francis <dennis.francis@collabora.com>
Change-Id: I235a2dcd681476331cf4224d368eca7a8547e0e8
2021-02-08 14:32:57 +05:30
Dennis Francis
d28b66df7a CanvasOverlay.js is dependant on layer/vector/*.ts
Signed-off-by: Dennis Francis <dennis.francis@collabora.com>
Change-Id: I87640e81fe11dee7b87eb376a9c9871977bc6710
2021-02-08 14:32:57 +05:30
Dennis Francis
c5800a676e Add CPath.ts based on L.Path
The generated js for CPath.ts is added to the generated CanvasOver.js
for now using

/// <reference path="CPath.ts" />

as there is no support for modules in ES5.

Signed-off-by: Dennis Francis <dennis.francis@collabora.com>
Change-Id: I72bf2ab6f299641925c72b484f63e755ba4e61d4
2021-02-08 14:32:57 +05:30
Dennis Francis
0d75324379 introduce CanvasOverlay and its section
Signed-off-by: Dennis Francis <dennis.francis@collabora.com>
Change-Id: I47d2f739b0d98c3926208358951e7240e632153f
2021-02-08 14:32:57 +05:30
Gökay Şatır
18c4ad5584 Calc: GroupBase.js is added for shared functions.
Row and column groups share some of the functions. They are moved into a file.

Signed-off-by: Gökay Şatır <gokaysatir@collabora.com>
Change-Id: I268daf2c293f0cac150587a23001f873e23b4dfc
2021-02-02 20:31:37 +03:00
Gökay Şatır
d576895c57 Calc: Add Row Group and Column Group sections.
Signed-off-by: Gökay Şatır <gokaysatir@collabora.com>
Change-Id: Ib44e5e6a9e047c347a239a155b86f091467f5149
Signed-off-by: Gökay Şatır <gokaysatir@collabora.com>
2021-02-02 09:49:48 +01:00
Gökay Şatır
2d8df66167 Calc: Draw Column & Row Headers on tiles canvas.
Signed-off-by: Gökay Şatır <gokaysatir@collabora.com>
2021-02-02 09:49:48 +01:00
Henry Castro
7e0186600d loleaflet: makefile: fix builddir != srcdir
Change-Id: I97083c0a093a4038cb91dd618096eeb4292463fe
Signed-off-by: Henry Castro <hcastro@collabora.com>
2021-01-18 17:31:19 -04:00
Gökay Şatır
137a757d72 CanvasSectionProps: Add an overview of sections.
We are drawing things from different files onto the same canvas.
CanvasSectionContainer is organising them. When they are too many, it is difficult to know about sections' important properties.
CanvasSectionProps keeps sections maintainable.

Signed-off-by: Gökay Şatır <gokaysatir@collabora.com>
Change-Id: I9e81104c30f30a47c02625ce9d6716a98958317c
2021-01-18 15:17:07 +03:00
Michael Meeks
136f20b386 Use jsdom to load and execute our CSS, HTML and JS.
Change-Id: Ia7414e1fd19bf7ebfa29274d1acac5cee4837341
Signed-off-by: Michael Meeks <michael.meeks@collabora.com>
2021-01-16 12:18:47 +00:00
Michael Meeks
c7d0de0877 Start of using NodeJS to do load simulation.
Change-Id: Id27ff406adc2269665aca0bbb54dd2102a4c7c74
Signed-off-by: Michael Meeks <michael.meeks@collabora.com>
2021-01-16 12:18:47 +00:00
Henry Castro
85912b9100 loleaflet: makefile: fix override recipe
Makefile:815: warning: overriding recipe for target 'dist/vex.css'
Makefile:815: warning: ignoring old recipe for target 'dist/vex.css'

Change-Id: I31083acc17b89df4f02bfbd55696725dc04f275d
Signed-off-by: Henry Castro <hcastro@collabora.com>
2021-01-08 15:19:50 -04:00
Gökay Şatır
2871e1d3b7 Control.Header: Bring non-shared functions from rows and columns into header class.
Rebased with master.
gitignore file is updated.

Signed-off-by: Gökay Şatır <gokaysatir@collabora.com>
Change-Id: I07c9f8e38db0dce7b50238e2c013d3521091ab25
2021-01-06 20:43:54 +03:00
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
Jan Holesovsky
08f0e99bca Remove unused functions.
Signed-off-by: Jan Holesovsky <kendy@collabora.com>
Change-Id: I79d9a5028a64e30b68b6a9aeb3389dfb7d083bc9
2020-12-22 17:55:00 +01:00
Pedro Pinto Silva
30846b341d JSDialog: style btns, add generic btns file and reuse, fix font-family..
Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: Ib4518c60a6304ac175290e5231ed25738c0d44ef
2020-12-08 20:05:19 +01:00
Szymon Kłos
b71ebc0011 jsdialog: make MobileWizardBuilder a separate thing
We need JSDialogBuilder to be a common class for other builders.
MobileWizardBuilder will handle mobile specific cases only.

Change-Id: Icff024fe70d0e5386c92bdd106b6db2e74a584b5
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
2020-11-26 12:15:43 +01:00
Szymon Kłos
4fa83a4761 jsdialog: create container for desktop dialogs
Change-Id: I68bc6f5afeccdf2642e117d59ac17fe5e83e5824
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
2020-11-24 13:01:16 +01:00
Szymon Kłos
7b82f9a9b4 jsdialog: handle autofilter dropdown
Change-Id: Ib47185359526f030a80aa9f7d7f9ef6e2ab93b34
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
2020-11-24 13:01:16 +01:00
Andras Timar
b820e9991d Updated UI pot file
Change-Id: I262ac7f5cce317ec9229fc7654562ad83b2cf89c
2020-10-21 14:30:42 +02:00
Andras Timar
88774fa3df Silence po2json.py
Change-Id: I029e77a602f61810e91167f03d2b0e08e6263d35
2020-10-20 12:50:00 +02:00
Andras Timar
1e5701aa0c Weblate will translate iOS resource directly, we do not need the po files.
Change-Id: I1a67fd822d060cb234cd186c6ac97c74b0b8f91a
2020-10-09 12:36:08 +02:00
Henry Castro
bbca1243a8 loleaflet: Makefile: avoid the node_module path distribution
it gives an error:
"execvp: /bin/sh: Argument list too long"

Change-Id: Iffbf6d6f9ce46cba550dde9baf9ab8cbaddc3678
2020-10-01 21:10:30 -04:00
Jan Holesovsky
26fc803a0e Use the CanvasTileLayer for all rendering.
Fixes problems particularly with the new Chrome where the original
approach to tiles can be causing blurry text.

Change-Id: Icf598df0e997d493b111fad1c59e7dcb5f376801
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/103681
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Jan Holesovsky <kendy@collabora.com>
2020-09-30 20:16:45 +02:00
Henry Castro
3d0a27636c loleaflet: move the file "viamapi-client.js"
The file is not part of the leaflet files.
It is better to move it to the external library location

Change-Id: I12fb9684571db360b03a2e7c343725fd42b6848a
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/103419
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Henry Castro <hcastro@collabora.com>
2020-09-28 14:29:30 +02:00
Andras Timar
1064870312 loleaflet: makefile: add back welcome message
Change-Id: I387a247da2e0c2d6f6f3813d47f1a635691a34df
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/103338
Tested-by: Andras Timar <andras.timar@collabora.com>
Reviewed-by: Andras Timar <andras.timar@collabora.com>
2020-09-25 15:34:29 +02: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
22fd4ebaa6 admin: fix build when builddir != srcdir
Change-Id: If29863c06a8c296d5d4b7c37f0f6473e949e4371
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/98223
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Henry Castro <hcastro@collabora.com>
2020-08-14 15:42:13 +02:00
gokaysatir
30dfb54ca4 loleaflet: Admin console overview details.
Change-Id: Ia796d457e26a5867547fb4b2b4b78b10c64d7c95
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/99689
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Henry Castro <hcastro@collabora.com>
2020-08-07 16:03:39 +02:00
Tomaž Vajngerl
3141ba2403 AnnotationManagerImpress to manage annotations for Impress
and move thefunctionallity from ImpressTileLayer.js

Change-Id: I646432b677652983384ba53197b5a7af6dd035e0
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/99019
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
2020-07-21 14:46:34 +02:00
Tomaž Vajngerl
2b313af4f3 add AnnotationManagerBase to share code with other modules
Currently AnnotationManager is meant for Writer only, but it makes
sense to share the code with other modules too. This adds a new
base class AnnotationManagerBase which will contain the common
code for the annotation management. Other modules currently have
the annotations implemented in TileLayer, but this is the first
step to move them into its own annotation managers too.

Change-Id: I5131337aa95e43ce0844d57e2cc020239af5f100
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/99018
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
2020-07-20 22:49:11 +02:00
Mike Kaganski
0c99f6830b Warn user when the document could not be locked
Change-Id: I66b584f5e95fd82dc5cb27d10d9629cf19cb61bd
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/98782
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2020-07-20 15:47:53 +02:00
Dennis Francis
3c3adc3f5d add draggable splitters that controls the split-panes
Change-Id: I7d6f681fbacfd8b1a6699c52a8bd9d007f20b99d
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/98355
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Tested-by: Jenkins
Reviewed-by: Dennis Francis <dennis.francis@collabora.com>
2020-07-08 16:59:04 +02:00
Dennis Francis
a59076e1ca add split-panes support for overlay layer
(This is only for svg renderer)

There are separate svg DOM-nodes for each split-pane with view-box set
appropriately. The L.Path based objects are shared for each
split-pane, but there will be separate identical 'path' DOM-nodes for
each svg container.

This patch introduces L.SplitPanesRenderer/L.SplitPanesSVG (has
same external api as L.Renderer/L.SVG). These are wrapper classes to host
child renderers, one per split-pane and delegate calls to them
appropriately.

Change-Id: Id44e9a1312500e6b43cdd8e4f42e235b43d22772
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/98354
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Tested-by: Jenkins
Reviewed-by: Dennis Francis <dennis.francis@collabora.com>
2020-07-08 16:57:44 +02:00
Dennis Francis
4b2ff56750 introduce CanvasTileLayer with support for split-panes
which is derived from TileLayer but renders tiles on a canvas instead.

TODO: Generalize certain methods of TileLayer instead of a complete
re-implementation in CanvasTileLayer just because a few things need to
change.

Change-Id: I51001f83f8f663d194bc9c4b018fa9950c40f420
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/98351
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Dennis Francis <dennis.francis@collabora.com>
2020-07-08 16:50:42 +02:00
Dennis Francis
5f17407548 introduce SplitPanesContext class
This will store the split position and notify others and update the
splitters when someone changes this.

Change-Id: Ic1a2d665c972c369ce4e1362d0add50f72125d8a
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/98350
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Dennis Francis <dennis.francis@collabora.com>
2020-07-08 16:49:59 +02:00
Jan Holesovsky
d91e5cd682 Fix dependencies of the TypeScript file.
The assumption is that the amount of TS files will grow; so move away
from a generic 'tsc' call that is supposed to walk through the tree with
exact calling that for the files that have been changed.

This should hopefully finally sort out the Jenkins problems with
ModalDialogCreator.tsj

Change-Id: I5f2883de7e43fd53fa8a67f12d0a965da8611942
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/97082
Tested-by: Jenkins
Reviewed-by: Jan Holesovsky <kendy@collabora.com>
2020-06-25 09:41:28 +02:00
Henry Castro
38715ea2df android: create intermediate dir for build variants
It is better to separate the intermediate asset files

Change-Id: I50ff1b6e045679afa48c7024652de40db8fa2a71
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/95366
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Henry Castro <hcastro@collabora.com>
2020-06-11 22:05:02 +02:00
Henry Castro
132bef2a97 android: generate debug and release loleaflet assets
Change-Id: If3659de771b3d1f7015c1e4c26d6877f90afe306
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/94996
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Henry Castro <hcastro@collabora.com>
2020-06-11 21:00:45 +02:00
Jan Holesovsky
23ebfe2007 Add compilets dependency so that make -j works again.
Change-Id: I185891fbcb340d2d2a94b9e2fe033534da9c2f08
2020-06-11 12:37:11 +02:00
gokaysatir
a0748dda45 leaflet: Introduce typescript. Initiate a modal library with typescript.
Change-Id: I92113f7552f938f0874e8b16904e8bef0b5249a3
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/95624
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
Reviewed-by: Dennis Francis <dennis.francis@collabora.com>
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Tested-by: Jenkins
2020-06-09 14:33:40 +02:00
gokaysatir
5f07429b6b leaflet: Update admin console & drop bootstrap package.
Change-Id: I9243393693c2464f2e9a4d24cccf9c5f3415e2ef
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/95468
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Tested-by: Jenkins
Reviewed-by: Andras Timar <andras.timar@collabora.com>
2020-06-04 12:56:16 +02:00
gokaysatir
6f6c0a32e5 leaflet: update jquery-ui package with lightness them.
Change-Id: I8273c2f7d8b46f63f582c11c2c0e81c303e04bcb
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/95352
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Tested-by: Jenkins
Reviewed-by: Andras Timar <andras.timar@collabora.com>
2020-06-04 12:55:07 +02:00
gokaysatir
d478b2d030 update select2 package.
Change-Id: I8ff53d838e80011f110bd427e26adcd372d9a2fb
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/95217
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Andras Timar <andras.timar@collabora.com>
2020-06-01 15:30:30 +02:00
gokaysatir
ac682772a6 tdf#114982 - AdminConsole: control logging
Change-Id: I53cf4b0ff81ea9d6bf4ad595077f7365e7e34c00
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/94130
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Tested-by: Jenkins
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
2020-05-30 11:10:19 +02:00
gokaysatir
880868ca6c update autolinker package.
Change-Id: I53c642763212d958fb0a860fcfbd8f4bbe7b37ff
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/95166
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Henry Castro <hcastro@collabora.com>
2020-05-29 22:13:20 +02:00
gokaysatir
160acdc5cb update sanitize-url package
Change-Id: I4cc68a010f54afc02777c140b28e41c07a0011fe
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/95158
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Henry Castro <hcastro@collabora.com>
2020-05-29 18:13:18 +02:00
Henry Castro
9b0fd0d7c4 loleaflet: makefile: simplify IS_DEBUG var
Change-Id: I5322d9308f63fb0e501aa883cfbe3cfd7c4fb663
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/95062
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Henry Castro <hcastro@collabora.com>
2020-05-29 04:23:06 +02:00
Henry Castro
684a0d2ef4 loleaflet: makefile: replace ENABLE_DEBUG var
Now, it does not depend on ./configure script
it is configurable to set BUNDLE=DEBUG or RELEASE (i.e. Android platform)

Change-Id: Id43f156a05ea22f74334e7fdbe60d53b8b5a2891
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/94982
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Henry Castro <hcastro@collabora.com>
2020-05-29 04:22:50 +02:00
Henry Castro
bd298d037b loleaflet: makefile: set default INTERMEDIATE_DIR var
and configurable.

Change-Id: I4f1b111e1f9ce4e8c9e0b13755dce04f99672e1e
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/94981
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Henry Castro <hcastro@collabora.com>
2020-05-29 04:22:33 +02:00
Henry Castro
f511d7d675 loleaflet: makefile: update PHONY targets
Change-Id: I3201c3f155aae597871f682686a8acdba47ae8a5
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/94979
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Henry Castro <hcastro@collabora.com>
2020-05-29 04:22:11 +02:00
Henry Castro
15d4d3156d loleaflet: makefile: move the command to check UNO commands
Change-Id: Ic841b0de22d3e62779fe0c112a33c942ba87b160
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/94977
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Henry Castro <hcastro@collabora.com>
2020-05-29 03:56:08 +02:00
Henry Castro
8f9eea9e7a loleaflet: makefile: remove old depecrated expansion
I probably forgot to remove it

Change-Id: I0183605fdf07235a7e3d61e91893133690feb074
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/94974
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Henry Castro <hcastro@collabora.com>
2020-05-29 03:30:18 +02:00
Henry Castro
5abf8900dd loleaflet: makefile: simplify global file rule
Change-Id: I9c9bf7fa48f8c9dcd318195235cb99e407215543
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/94913
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Henry Castro <hcastro@collabora.com>
2020-05-29 03:12:01 +02:00
Henry Castro
942fce4ea5 loleaflet: makefile: simplify rule bundle.js
Change-Id: I805b3a46a5864ca31e22ab685d6749c748255372
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/94912
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Henry Castro <hcastro@collabora.com>
2020-05-29 02:39:13 +02:00
Henry Castro
b86f226bec loleaflet: makefile: simplify bundling CSS
So it can be flexible to bundle Debug or Release

Change-Id: I02bb653d7ead2e3d2e72bca8911efe2573885af4
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/94910
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Henry Castro <hcastro@collabora.com>
2020-05-29 02:15:22 +02:00
Henry Castro
445ca4269a loleaflet: makefile: simplify the rules for bundling loleaflet
So it can be flexible to bundle Debug or Release
and it can be used in other platform (i.e. Android)

Change-Id: Ia98abc0711c98b8f34654956534ce414f34dbdb4
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/94891
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Tested-by: Jenkins
Reviewed-by: Henry Castro <hcastro@collabora.com>
2020-05-29 01:26:30 +02:00
Henry Castro
eedf587d51 loleaflet: makefile: remove unnecessary prerequisite
Change-Id: Ifaa47e323f66235f6a18a832e738c04ccc9ef95e
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/94884
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Henry Castro <hcastro@collabora.com>
2020-05-29 01:11:06 +02:00
Henry Castro
5c9020ac66 loleaflet: makefile: rename LOLEAFLET_PREFIX var
In order to not confuse it is renamed to INTERMEDIATE_DIR

Change-Id: Iccdea0d77b17c3d4285b891b79a408a795328d13
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/94873
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Tested-by: Jenkins
Reviewed-by: Henry Castro <hcastro@collabora.com>
2020-05-28 23:05:23 +02:00
Henry Castro
da49edd7d1 loleaflet: makefile: remove duplicates prerequisites
Change-Id: I409225be5f69524105967d3a72466ff284afc724
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/94866
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Henry Castro <hcastro@collabora.com>
2020-05-28 22:46:05 +02:00
Henry Castro
198709f5ed loleaflet: makefile: remove order only prerequisites
This is no longer required, now node_modules is installed
before invoking "all" target

Change-Id: I720f1906f2f88b104d560a096f51344edebfab44
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/94870
Tested-by: Jenkins
Reviewed-by: Henry Castro <hcastro@collabora.com>
2020-05-28 22:30:15 +02:00
Henry Castro
81ec172a10 loleaflet: makefile: simplify NODE_PATH var
Change-Id: I96a221f92aa2d3785cc6c83add84fc37680a6183
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/94860
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Henry Castro <hcastro@collabora.com>
2020-05-28 22:06:51 +02:00
Henry Castro
7e83696158 loleaflet: makefile: update Makefile rule
Change-Id: If52e0c1094e71cd52e665a0bbbdda2f4a9f0cd5f
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/95059
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Tested-by: Jenkins
Reviewed-by: Henry Castro <hcastro@collabora.com>
2020-05-28 21:48:51 +02:00
Henry Castro
8e1cf47112 loleaflet: remove install node_module in configure phase
Fair enough, let's not get in conflict with IOS platform,
It is restored and get another solution

Change-Id: I1cde236595479bdf41e29d8a30bb9d71aa196e54
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/95036
Tested-by: Henry Castro <hcastro@collabora.com>
Reviewed-by: Henry Castro <hcastro@collabora.com>
2020-05-28 14:30:22 +02:00
Andras Timar
00471c82e5 install the optional welcome text
Change-Id: Ic3096110cab7068d7963056fab1002db4fc8451e
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/94970
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Andras Timar <andras.timar@collabora.com>
2020-05-27 18:47:25 +02:00
Henry Castro
40dffc408c loleaflet: install node modules in configure phase
It is not necessary to clean these files since
they do not change frequently

Change-Id: I092013c02effffe6c45bccbf81369e583cffe806
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/93111
Tested-by: Jenkins
Reviewed-by: Henry Castro <hcastro@collabora.com>
2020-05-25 20:13:24 +02:00
Szymon Kłos
37eccae0f0 jsdialog: style word count dialog
Change-Id: Ibffe28ddecbbcfcf01aac6e5a112c34134668633
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/94692
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Tested-by: Jenkins
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
2020-05-22 17:03:38 +02:00
Tamás Zolnai
d2629961e0 MSForms: handle formfieldbutton message.
Change-Id: I17243823d9bc0074b7fd015bca23de9399e0e26c
2020-05-09 09:54:08 +02:00
Szymon Kłos
209f092fae notebookbar: separate configuration for impress
Change-Id: Ibd7cdd9302f9033aca0de908ade036fa2dc50ede
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/93650
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
2020-05-08 08:32:39 +02:00
Henry Castro
54ac186ed5 loleaflet: makefile: no built-in rules
It is not needed to build loleaflet

Change-Id: I2eb0ed999a0463b3f69e98a6a450961a7e6723d0
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/93168
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Henry Castro <hcastro@collabora.com>
2020-05-07 18:25:14 +02:00
Szymon Kłos
b0e2bd990e notebookbar: separate file for each app
Change-Id: If61ed762a3dd55c0cef7d58b7a3b1ddf8276cce3
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/93304
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
2020-05-04 08:54:32 +02:00
Szymon Kłos
df6c63516d notebookbar: add stylesheet
Change-Id: Ide159a6df5e9c3ffa9d64fc88b78f3902a991836
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/93255
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
2020-05-01 13:03:23 +02:00
Szymon Kłos
7bdf49c33d notebookbar: use builder to create
Change-Id: If8bbbaba66aba887587b8679f7a1ac9f5ccb4490
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/93052
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
2020-05-01 11:54:25 +02:00
Szymon Kłos
df19274705 notebookbar: Create toolbars depending on settings
Change-Id: I66a03e9d8e9104b9f7868f24601525d502734e0e
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/93051
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
2020-04-29 09:49:52 +02:00
Henry Castro
8ad070c0e5 loleaflet: fix when cleaning the dist folder
Change-Id: If4abbc0acbc15b99d65fe6db488ab300378ec663
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/92983
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Henry Castro <hcastro@collabora.com>
2020-04-27 20:21:16 +02:00
Szymon Kłos
43f19fa57e Move DocumentNameInput to separate file
Change-Id: I20b5620269b46902a612d2b43346d3b02c3636cd
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/92622
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
2020-04-22 09:36:03 +02:00
Henry Castro
40b0e084be android: change dependency to generate assets
According to gradle graph tasks, add a dependecy
to generate loleaflet assets

Change-Id: I5b528989c645903840eae44b7770b7d2425bb921
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/92662
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Henry Castro <hcastro@collabora.com>
2020-04-22 00:49:43 +02:00
Henry Castro
e3b0c05733 android: add gradle task copyBrandTheme
Change-Id: Ide4a58551fad9befe3e81ab727be283e438dcae3
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/92661
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Henry Castro <hcastro@collabora.com>
2020-04-21 23:43:15 +02:00
Henry Castro
8b593d94c1 android: add gradle task copyBrandFiles
The gradle build system can do the job

Change-Id: Ife8f080726ca61540201bd00acb7fab97efbba85
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/92659
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Henry Castro <hcastro@collabora.com>
2020-04-21 23:01:07 +02:00
Henry Castro
d8f8e12358 android: parameterize the Dist folder
Now, It is possible to build lolealfet to assets
folder directly

Change-Id: Ie5f7de65bcd4d6e4ab5df2b2697b4c02cbbbef67
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/92597
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Henry Castro <hcastro@collabora.com>
2020-04-21 16:52:23 +02:00
Jan Holesovsky
e49e394ae5 android: Copying drawer_header.png is not needed any more.
Change-Id: I4bf707ac1e04a62122d3e999602e00815f8db758
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/92632
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Henry Castro <hcastro@collabora.com>
2020-04-21 14:41:46 +02:00
Henry Castro
15fe4b8dca android: fix "AAPT : error: resource drawable/writer not found."
Adding an empty image using the command "touch", generate a weird error
when merging resources:

* What went wrong:
Execution failed for task ':app:processDebugResources'.
> A failure occurred while executing
com.android.build.gradle.internal.tasks.Workers$ActionFacade
   > Android resource linking failed
    android/app/src/main/res/layout/activity_document_browser.xml:163:
AAPT: error: resource drawable/writer (akaorg.libreoffice.androidapp.debug:drawable/writer) not found.

android/app/src/main/res/layout/activity_document_browser.xml:229:
AAPT: error: resource drawable/calc (akaorg.libreoffice.androidapp.debug:drawable/calc) not found.

android/sid/android/app/src/main/res/layout/file_explorer_grid_item.xml:49:
AAPT: error: resource drawable/ic_more_vert_black_24dp
(aka org.libreoffice.androidapp.debug:drawable/ic_more_vert_black_24dp) not found.

android/app/src/main/res/layout/file_list_item.xml:58:
AAPT: error: resource drawable/ic_more_vert_black_24dp
(aka org.libreoffice.androidapp.debug:drawable/ic_more_vert_black_24dp) not found.

android/sid/android/app/src/main/res/layout/fragment_directory_browser.xml:13:
AAPT: error: resource drawable/ic_menu_back
(aka org.libreoffice.androidapp.debug:drawable/ic_menu_back) not found.

android/sid/android/app/src/main/res/menu/view_menu.xml:5:
AAPT: error: resource drawable/ic_folder_black_24dp
(aka org.libreoffice.androidapp.debug:drawable/ic_folder_black_24dp) not found.

Change-Id: I99b0857941687846e90ad53f30cac6a7ef83beaa
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/92594
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Henry Castro <hcastro@collabora.com>
2020-04-20 22:58:34 +02:00
Henry Castro
cf61a5cf94 loleaflet: generate jsconfig.json
Very useful with vim plugin YouCompleteMe
with a TSServer-based completion engine for
JavaScript and TypeScript

Change-Id: Ib2961940f171691e10c2af10ebb911283ee1ff20
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/91861
Tested-by: Henry Castro <hcastro@collabora.com>
Reviewed-by: Henry Castro <hcastro@collabora.com>
2020-04-17 14:26:02 +02:00
Szymon Kłos
75e11420d5 Introduce UIManager
Change-Id: I944622a352aae7951f3e69286bb163645fa23276
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/92405
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
2020-04-17 12:12:13 +02:00
Szymon Kłos
b69000b366 Move top toolbar to separate file
Change-Id: I0465b32af1fbb2534aa6db41342df3993b7837bf
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/92349
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
2020-04-16 16:01:30 +02:00
Szymon Kłos
aca7badc6d Move signing bar to separate file
In the future should be merged with Signing.js

Change-Id: I3b5db8b20dcead4e0f1f80643de474fdba8245af
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/92348
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
2020-04-16 16:01:22 +02:00
Andras Timar
b6a5730349 loleaflet: add new files for l10n to Makefile.am
Change-Id: I836cd28ef284752c48bcecc36f16d38ac168bac3
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/92363
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Andras Timar <andras.timar@collabora.com>
2020-04-16 14:48:06 +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
Szymon Kłos
2f57f0c34e Move presentation toolbar to separate file
Change-Id: I47faf807bbbd79e27c9eb5156fc24dc4bc053aab
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/92272
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
2020-04-15 16:52:51 +02:00
Szymon Kłos
fe2743233f Move sheets bar to separate file
Change-Id: Id2cdfdd50e178e4de54a41fa1926e94def9a43f5
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/92271
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
2020-04-15 16:52:35 +02:00
Szymon Kłos
cca7a44009 Move formula bar to separate file
Change-Id: If380e8bc8091151872a728cc632313aa3f4cfda1
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/92269
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
2020-04-15 16:52:12 +02:00
Szymon Kłos
610e2dbd58 Move user list to a separate file
Change-Id: I1cd8881d8ea342b96bd5ea5bd4972f971c89881d
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/92210
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
2020-04-15 16:51:48 +02:00
Szymon Kłos
a4201e929e Move bottom mobile toolbar to separate file
Change-Id: I32e8fe251fcabd5d1c5af19cd7a72f60250c2851
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/92159
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
2020-04-15 15:27:09 +02:00
Szymon Kłos
651a7bba1c Move mobile top bar to separate file
Change-Id: I26fc5be1b73b4ff68be00c21a6691c7712d08c1e
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/92158
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
2020-04-15 11:43:09 +02:00
Szymon Kłos
b0be9c7b35 Move SearchBar to separate file
Change-Id: I6db64d35f40f3a762f50df010ead9395a873fb20
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/92037
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
2020-04-15 11:19:19 +02:00
Szymon Kłos
615f5212bf Move statusbar code to separate file
Change-Id: Ia4940b1725bbc4326dfeb520a6bcb6423b9a25b9
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/92036
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
2020-04-15 11:03:21 +02:00
Jan Holesovsky
67d14eafd2 mobile: More portrait / landscape handling in Impress' mobile-wizard.
Change-Id: I8592db63e9112b1f879e5a10351308fbdd97e28d
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/91582
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Jan Holesovsky <kendy@collabora.com>
2020-04-06 10:34:41 +02:00