summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Added translation using Weblate (Upper Sorbian)Weblate2021-03-0510-0/+1711
| | | | | | | | | | | | | | | | | | | | | | | | Added translation using Weblate (Albanian) Added translation using Weblate (Albanian) Added translation using Weblate (Albanian) Added translation using Weblate (Vietnamese) Added translation using Weblate (Vietnamese) Added translation using Weblate (Vietnamese) Added translation using Weblate (Vietnamese) Added translation using Weblate (Finnish) Added translation using Weblate (Vietnamese) Co-authored-by: Weblate <noreply@weblate.org> Signed-off-by: Andras Timar <andras.timar@collabora.com> Change-Id: I4d4a66c36898afae113141d3d7ec23de0081c0e2
* CanvasSectionContainer: Improve bound sections list calculation.Gökay Şatır2021-03-051-4/+12
| | | | | Signed-off-by: Gökay Şatır <gokay.satir@collabora.com> Change-Id: Ie7c75172eb8e418c1047c0af5de0750962e5937d
* Avoid tooltips for the colour control in the mobile appsTor Lillqvist2021-03-041-1/+2
| | | | | | | | | | | (Some of our tooltip() calls are conditional on window.mode.isDesktop(), others on !window.ThisIsAMobileApp. Which is more correct?) Fixes https://github.com/CollaboraOnline/online/issues/1461 Signed-off-by: Tor Lillqvist <tml@collabora.com> Change-Id: I98cd4c5f0cd05b78236c6722104cd1fe03f3e70f
* cypress: php-proxy: port was changed: 9982 -> 9983.Tamás Zolnai2021-03-041-1/+1
| | | | | Signed-off-by: Tamás Zolnai <tamas.zolnai@collabora.com> Change-Id: I6e5135cdc89c5790f11e1cf7fb4ee497e7a43078
* Attempted fix of build failure on CentOS7 with old pythonAndras Timar2021-03-041-2/+2
| | | | | Signed-off-by: Andras Timar <andras.timar@collabora.com> Change-Id: I631f25f8cfe961957967b696c62481dc723427e8
* notebookbar: style previews style updateSzymon Kłos2021-03-041-0/+18
| | | | | Change-Id: I8fd59115b4d2df91fa709d8606238c74384780f7 Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
* jsdialog: execute select action without rebuildSzymon Kłos2021-03-045-10/+95
| | | | | | | | handle additional actions which doesn't retrigger building widgets select action was implemented for icon view Change-Id: I54f9d8553656e7ba85381482a53b4cbd39d70458 Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
* styles preview: converted to icon viewSzymon Kłos2021-03-044-80/+39
| | | | | Change-Id: I51265fdfb4090af14f3081d1dee361d17aced7fd Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
* make the splitlines symmetric w.r.t headers/gridDennis Francis2021-03-041-7/+10
| | | | | Signed-off-by: Dennis Francis <dennis.francis@collabora.com> Change-Id: I45a5ab7e1283ef59c2aa14911190687d0a40a0e1
* cypress: calc: pick the correct svg to testDennis Francis2021-03-042-1/+4
| | | | | | | | | | | | | | | | For calc we have 5 svg nodes inside the overlay pane (fixed, top-left, top-right, bottom-left, bottom-right). The shape selections will be in all panes except the 'fixed' pane. The 'fixed' was used to contain the split/freeze lines but that got moved to canvas. Before this patch the 'fixed' svg was getting selected by the selector... '.leaflet-pane.leaflet-overlay-pane svg' ...which is empty in this case. Lets always select the bottom-right one which is covers the whole view area when there aren't any active freezes. Signed-off-by: Dennis Francis <dennis.francis@collabora.com> Change-Id: Iea2bbeff3c492a82e75ecdeb1aa70fa3c33f3426
* in-document cursors should be visible only when in viewDennis Francis2021-03-042-9/+45
| | | | | Signed-off-by: Dennis Francis <dennis.francis@collabora.com> Change-Id: Id1602cf726b99069f6da7c8102e0c3c9d15388ac
* cypress: now cursor is not in overlay pane divDennis Francis2021-03-043-4/+4
| | | | | | | | but in a dedicated div inside the canvas container div, covering the canvas. Signed-off-by: Dennis Francis <dennis.francis@collabora.com> Change-Id: Ie43a4cb98c9cdb7e3ca81faa78bcc2419fa90a32
* migrate cursor and view-cursor to TS Cursor implementationDennis Francis2021-03-046-197/+39
| | | | | | | and remove L.Cursor class. Signed-off-by: Dennis Francis <dennis.francis@collabora.com> Change-Id: I96fa158cbbe90ddc0f0b3cdd98cfc6615c2dfd4f
* Introduce TS Cursor class based on L.CursorDennis Francis2021-03-045-2/+228
| | | | | Signed-off-by: Dennis Francis <dennis.francis@collabora.com> Change-Id: I1c9c0c9ed50956e9151b8028b5c5fe38f73a8097
* migrate reference marks from svg to canvasDennis Francis2021-03-042-29/+54
| | | | | Signed-off-by: Dennis Francis <dennis.francis@collabora.com> Change-Id: If435f8cc6fb4d2e99ab4f6d63eea84dbd28b2156
* add purpose comments to CEventsHandlerDennis Francis2021-03-041-0/+3
| | | | | Signed-off-by: Dennis Francis <dennis.francis@collabora.com> Change-Id: I1cc66cd78d91d4efabc68459de7935081f107089
* move message replay logic to TileLayerDennis Francis2021-03-042-132/+132
| | | | | | | | | | In canvas section based overlay objects the coordinates are stored in core pixels and they need to get updated and redrawn every time zoom is changed. Both Writer and Impress are also using canvas based overlays for selections and will soon be using it for the rest. Signed-off-by: Dennis Francis <dennis.francis@collabora.com> Change-Id: Iecd5bf8c875d4c4a6f8d055f2abccfeedd2cae8a
* migrate view selections from svg to canvasDennis Francis2021-03-041-22/+34
| | | | | Signed-off-by: Dennis Francis <dennis.francis@collabora.com> Change-Id: I04f9ddce35f4a734efcbf445aae813ae7226fe12
* CPath: when empty close any popupsDennis Francis2021-03-041-0/+3
| | | | | Signed-off-by: Dennis Francis <dennis.francis@collabora.com> Change-Id: Ic44ff6d432b8f5e05e439de9c60b41763493e900
* CEventsHandler: pass an 'event-data' object to handlersDennis Francis2021-03-042-14/+20
| | | | | | | This can optionally contain corepixel position for now. Signed-off-by: Dennis Francis <dennis.francis@collabora.com> Change-Id: I3b9e369ee9c3b58070f2c16b0c6cf0dd8f0df87f
* overlay layer must be interactable for getting eventsDennis Francis2021-03-041-1/+1
| | | | | Signed-off-by: Dennis Francis <dennis.francis@collabora.com> Change-Id: I56363fff695c2eaa47ddd62e987ad19da92a9d36
* convert viewcursors from svg to canvas overlay sectionDennis Francis2021-03-041-4/+17
| | | | | Signed-off-by: Dennis Francis <dennis.francis@collabora.com> Change-Id: I5f703a0ed47b33e491ef2eed8a9dbe2d637dd6b0
* allow popups binding to CPathDennis Francis2021-03-044-2/+197
| | | | | | | | | | | | | | For this CPath needs capability to add handler(s) for arbitrary event types. This achieved by introducing a base class CEventsHandler which supports leaflet like functionality. """ this.on('swipe', this.onSwip) this.off('popupclosed', this.popupClosed) """ Signed-off-by: Dennis Francis <dennis.francis@collabora.com> Change-Id: Ia5d017096b98383491a25eec7353625a51703611
* replay printtwips msgs on zoom after refreshing view dataDennis Francis2021-03-041-1/+1
| | | | | | | This fixes incorrect header selections after zoom. Signed-off-by: Dennis Francis <dennis.francis@collabora.com> Change-Id: Id68768baaddf93e48a7ed767da0f6be98f43f84f
* introduce onResize() for CPathsDennis Francis2021-03-043-1/+16
| | | | | | | | At least in case of CSplitterLine it is needed to adjust the coordinates when map size changes. Signed-off-by: Dennis Francis <dennis.francis@collabora.com> Change-Id: I8a17fae4b662501da753f73aafe1443f6c3c28e8
* zoom-animation: separate transformation for fixed overlaysDennis Francis2021-03-042-6/+23
| | | | | | | | Fixed overlay objects are much easier to animate. Don't use the regular transformation for these. Use a scaling transformation instead. Signed-off-by: Dennis Francis <dennis.francis@collabora.com> Change-Id: I5392c850cdb0491a6d8aed5187d5af5baab9a8aa
* make CSplitterLine be based on CRectangleDennis Francis2021-03-045-19/+31
| | | | | | | | | When it was based on CPolyline and using lineWidth (weight) we get semi transparent pixels on the edges of the line. By using a rectangle and relying on just the fill (and not on stroke) we get sharp pixels. Signed-off-by: Dennis Francis <dennis.francis@collabora.com> Change-Id: Icddb8e37cdb2e30ac9e7e11305bb2c534069b295
* ensure that splitter-line coordinates are integersDennis Francis2021-03-041-2/+2
| | | | | Signed-off-by: Dennis Francis <dennis.francis@collabora.com> Change-Id: Iee4825cf99aa282ca5bd3c90dc8a31284c00abe7
* splitters: source style data from css variablesDennis Francis2021-03-042-7/+19
| | | | | Signed-off-by: Dennis Francis <dennis.francis@collabora.com> Change-Id: I87a7f9fc242ab4a55b6f1a210f8f74f9871cbf3f
* add names to splittersDennis Francis2021-03-041-0/+2
| | | | | Signed-off-by: Dennis Francis <dennis.francis@collabora.com> Change-Id: I0ea524479a813363673b8135f0c3e8d9b0b370f8
* simplify splitter lines renderingDennis Francis2021-03-042-20/+20
| | | | | Signed-off-by: Dennis Francis <dennis.francis@collabora.com> Change-Id: Ifd92d1e6b0aec63c0a2a996cc9b082ad58a69023
* splitter lines must stay on top of other overlaysDennis Francis2021-03-041-0/+3
| | | | | Signed-off-by: Dennis Francis <dennis.francis@collabora.com> Change-Id: Ia4fd1a0a35c19b756c89ef82df05385250b676d2
* avoid gaps between freeze-panesDennis Francis2021-03-043-7/+7
| | | | | | | | | Using a gap of 1 pixel (css or not) between frozen pane and movable pane causes a unpainted gap lines. This was not apparent because we had thick svg splitter line covering them. Signed-off-by: Dennis Francis <dennis.francis@collabora.com> Change-Id: I08573b590662e0e4199b1445c57d3a2917c7d99a
* migrate splitter lines to canvas overlay sectionDennis Francis2021-03-043-189/+21
| | | | | Signed-off-by: Dennis Francis <dennis.francis@collabora.com> Change-Id: I983eedbb946d640498e63660e948d09dd838f2b1
* introduce TS CSplitterLine from L.SplitterLineDennis Francis2021-03-042-0/+63
| | | | | | | without the interaction capability which is currently not used. Signed-off-by: Dennis Francis <dennis.francis@collabora.com> Change-Id: If78e23490f49d2d9d6d17c350c89fa67ba6bfdab
* Tolerate a null this.dialog on the map at start.Michael Meeks2021-03-031-1/+1
| | | | | Change-Id: I1d74b9899c0bebe075c83ee79987b60154a27dac Signed-off-by: Michael Meeks <michael.meeks@collabora.com>
* Firefox 42 ESR workaround.Michael Meeks2021-03-031-1/+5
| | | | | | | | | | | We get a single exception during setup from setSelectionRange, presumably when the textArea is not focused. That causes a leak of _ignoreInputCount - which kills text input. So catch and ignore the exception. Change-Id: I3fdfff99344f53b03ebadec2e551d7ee70416334 Signed-off-by: Michael Meeks <michael.meeks@collabora.com>
* wsd: add interactive stateHenry Castro2021-03-033-2/+31
| | | | | | | | | Add a new state before load the document, when Macro Security dialog popup, and avoid to send the event load timeout. Change-Id: I5973c5205e90e5447e5478cbab895709a68606f6 Signed-off-by: Henry Castro <hcastro@collabora.com>
* cypress: avoid "detached from DOM" failure in statusbar tests.Tamás Zolnai2021-03-031-4/+2
| | | | | Signed-off-by: Tamás Zolnai <tamas.zolnai@collabora.com> Change-Id: I48696c4b7bba68b176ab948dcac9d7728a9c7831
* cypress: fix spec existence check usage.Tamás Zolnai2021-03-031-2/+2
| | | | | Signed-off-by: Tamás Zolnai <tamas.zolnai@collabora.com> Change-Id: Ie71828942e0f67df7e33be51f4727af8edbd1340
* ScrollBars: Make them pixel perfect.Gökay Şatır2021-03-031-41/+23
| | | | | Signed-off-by: Gökay Şatır <gokay.satir@collabora.com> Change-Id: I5d00b444e43c65c65366efb2b54cc6d4c58c3499
* mCustomScrollBar: Remove.Gökay Şatır2021-03-036-3809/+2
| | | | | | | It's not used anymore. Signed-off-by: Gökay Şatır <gokay.satir@collabora.com> Change-Id: I4424018e6b1820de0d86c9058207fe19f46e0c16
* Impress: Remove mCustomScrollBarGökay Şatır2021-03-036-50/+42
| | | | | | | Use native scroll bars. Signed-off-by: Gökay Şatır <gokay.satir@collabora.com> Change-Id: I63eeac7916e9f7edc2decc0e9338c36bda48ee50
* Control.Scroll.js: Removed.Gökay Şatır2021-03-034-294/+5
| | | | | | | ScrollSection.ts is the updated version of this file. Signed-off-by: Gökay Şatır <gokay.satir@collabora.com> Change-Id: I484dcb7eafdc3ca62ba4d8ad864e0de711567d66
* scroll-container: Remove references.Gökay Şatır2021-03-035-23/+1
| | | | | | | This class was used by mCustomScrollBar. Signed-off-by: Gökay Şatır <gokay.satir@collabora.com> Change-Id: Id912677c3fa2cfdfa6cd5824975d8630ec6a2ac7
* Map: Remove function "enable".Gökay Şatır2021-03-037-23/+0
| | | | | | | It was used for managing the mCustomScrollBar. Not needed anymore. Signed-off-by: Gökay Şatır <gokay.satir@collabora.com> Change-Id: Ibb1da1e69556f4af56353d2f8d326a3b9a56f059
* Calc: Set variables upon selection all.Gökay Şatır2021-03-032-0/+4
| | | | | | | wholeColumnSelected and wholeRowSelected variables need to be set before the command is sent to the server. Signed-off-by: Gökay Şatır <gokay.satir@collabora.com> Change-Id: I302643d5dbaeb3a6919c51eef34a2523e5f9bfa0
* cypress: extract typeIntoInputField() method.Tamás Zolnai2021-03-029-128/+56
| | | | | Signed-off-by: Tamás Zolnai <tamas.zolnai@collabora.com> Change-Id: I8dc89dc6abad9106ffae42fc52723e503ddc0cca
* cypress: make: fix typo in function name.Tamás Zolnai2021-03-021-1/+1
| | | | | Signed-off-by: Tamás Zolnai <tamas.zolnai@collabora.com> Change-Id: Id72466486ed8c1ea13e61db4bcc03a98096bbad3
* Port loolwsd-systemplate-setup to FreeBSD.Gleb Popov2021-03-021-12/+23
| | | | | Signed-off-by: Gleb Popov <6yearold@gmail.com> Change-Id: I9944e79d0fe220a5f2fe40d2ba98619c22d25a77