summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Work in progress on a re-working of the iOS app plumbingprivate/tml/ios-gen2Tor Lillqvist2020-07-1516-277/+406
| | | | | | | | | | | No more use of FakeSocket, yay. Functionality still quite limited compared to the main branch. Many of the messages sent by JS are ignored. Most callbacks from core are ignored yet. But at least tiles show up. The app is temporarily renamed in this branch while work is ongoing, so that one can have both versions on the same device.
* Make TileCache::_dontCache constTor Lillqvist2020-07-141-1/+1
| | | | | | | Change-Id: Ic932a836fc47de4b707d0468bafba65eaf5bf86a Reviewed-on: https://gerrit.libreoffice.org/c/online/+/98774 Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com> Reviewed-by: Tor Lillqvist <tml@collabora.com>
* Forkit: add dump_forkit_state and re-factor state checks to simplify.Michael Meeks2020-07-144-20/+45
| | | | | | | | Change-Id: Ic65bbd0894f26f69e1b55c769ac47013f9aaf163 Reviewed-on: https://gerrit.libreoffice.org/c/online/+/98746 Tested-by: Jenkins Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com> Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
* Pass rendered tiles as uncompressed BMP files in the iOS appTor Lillqvist2020-07-144-7/+196
| | | | | | | | | | | | | | Avoids the need for PNG encoding (takes significant amount of CPU time) and Base64 encoding in the app process, transfer to JavaScript (running in a WebKit process of its own), and corresponding decoding (in the WebKit process). Instead simply pass the URL of each tile file to the JavaScript. Remove each BMP file once it has been loaded. Change-Id: I6e7b9450691679c64813979976c59f1763ec104c Reviewed-on: https://gerrit.libreoffice.org/c/online/+/98710 Tested-by: Jenkins Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com> Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
* Handle multiple queued fragments in WebSocket _inBuffer without timeout.Michael Meeks2020-07-141-1/+1
| | | | | | | Change-Id: I488a1311404a94f64e145db99f76782e171965ba Reviewed-on: https://gerrit.libreoffice.org/c/online/+/98714 Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com> Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
* Make objects and threads go away more reliably in the iOS appTor Lillqvist2020-07-142-28/+22
| | | | | | | | | | | | | We probably used to have circular references that made KitSocketPoll and KitWebSocketHandler objects hang around forever, or something. (Not a problem in web-based Online where kit processes have a restricted lifetime.) Change-Id: Ia6eebc51f4a4a8fb4f69a2c83a0131de921ea1d6 Reviewed-on: https://gerrit.libreoffice.org/c/online/+/98744 Tested-by: Jenkins Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com> Reviewed-by: Tor Lillqvist <tml@collabora.com>
* Use LOG_INF_NOFILE() for the FakeSocket logging callbacksTor Lillqvist2020-07-141-1/+1
| | | | | | | | | | | | (Why not call LOG_INF directly in FakeSocket.cpp instead? Good question. I guess my idea was originally to keep FakeSocket separately testable without all the Online logging stuff.) Change-Id: I1e6b730a9742ad653d431774d88fec6a36d98850 Reviewed-on: https://gerrit.libreoffice.org/c/online/+/98736 Tested-by: Jenkins Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com> Reviewed-by: Tor Lillqvist <tml@collabora.com>
* Add LOG_INF_NOFILE that doesn't display the source file locationTor Lillqvist2020-07-141-0/+10
| | | | | | | | | | | | Useful (like LOG_TRC_NOFILE) in cases where the source file location of the LOG_INF call is uninteresting. (Like if the message to be logged has originated somewhere else.) Change-Id: Id6d8c137be073a958943f01b3d7b98143fcd7dfd Reviewed-on: https://gerrit.libreoffice.org/c/online/+/98735 Tested-by: Jenkins Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com> Reviewed-by: Tor Lillqvist <tml@collabora.com>
* Fix gtk fake mobile application buildJan-Marek Glogowski2020-07-142-1/+8
| | | | | | | | | | | | | | | | Just adds the missing source files to the automake file. Still it seems unmaintained since a year and doesn't look that mobile at all (from my expectations), but it still works AFAI can tell. While at it add the mobile binary to .gitignore. Change-Id: I7db21041c6848f94fcb4058c730385b077048a9c Reviewed-on: https://gerrit.libreoffice.org/c/online/+/98553 Tested-by: Jenkins Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com> Reviewed-by: Jan-Marek Glogowski <glogow@fbihome.de>
* Revert "cypress: update writer shape related tests."Tamás Zolnai2020-07-141-28/+22
| | | | | | | | | | This reverts commit f3572dc98828b1c5d617f3b503e76c7448fa5439. Change-Id: I2b12aaa4c4ace0119be98e6d46ce95fdd1ac0f73 Reviewed-on: https://gerrit.libreoffice.org/c/online/+/98732 Tested-by: Jenkins Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com> Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
* wsd: improved TileCacheAshod Nakashian2020-07-149-186/+147
| | | | | | | | | | | | | | | * Excised TileCacheDesc to improve performance and simplify code. * clang-tidy suggestions and auto-rewrite fixes. * Const-correctness. * Inlined and improved a couple of trivial functions (that are called often). * Reduced some logs from INF to DBG as they are only meaningful to devs. Change-Id: I1c4eb8c63da49aa061afbf3eb68cae23d4d5e7f3 Reviewed-on: https://gerrit.libreoffice.org/c/online/+/98661 Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com> Tested-by: Jenkins Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
* notebookbar: add class for .main-navSzymon Kłos2020-07-141-0/+2
| | | | | | | | Change-Id: Ie55ce155cb31a2ebc54d82025d33a06ee08cab7f Reviewed-on: https://gerrit.libreoffice.org/c/online/+/98722 Tested-by: Jenkins Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com> Reviewed-by: Pedro Silva <pedro.silva@collabora.com>
* Desktop: Document name input and pencil: remove unused stylesPedro Pinto Silva2020-07-141-2/+5
| | | | | | | | | and make sure that no default browser properties gets in the way Change-Id: I2f536c47f4e7db73e4cf77bec03d42b8ad73bd07 Reviewed-on: https://gerrit.libreoffice.org/c/online/+/98715 Tested-by: Jenkins Reviewed-by: Pedro Silva <pedro.silva@collabora.com>
* Desktop: document-name-input: add ellipsis together with gradient to show ↵Pedro Pinto Silva2020-07-141-0/+2
| | | | | | | | | | that the text overflows Change-Id: Iec964d99a3582c78c83e9b6cb238ccb7cdc39b3c Reviewed-on: https://gerrit.libreoffice.org/c/online/+/98669 Tested-by: Jenkins Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com> Reviewed-by: Pedro Silva <pedro.silva@collabora.com>
* cypress: update writer shape related tests.Tamás Zolnai2020-07-131-22/+28
| | | | | | | | Change-Id: I9be13d65d054320e473a9060ab4353bd08b476fb Reviewed-on: https://gerrit.libreoffice.org/c/online/+/98671 Tested-by: Jenkins Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com> Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
* More re-factoring of tile renderingTor Lillqvist2020-07-132-47/+52
| | | | | | | | | | | | | | This is for the benefit of a next-gen iOS app (without FakeSockets and much of the current Online plumbing). This is not supposed to cause any functional changes in normal Online even if code is organised a bit differently. Change-Id: Ib09a84ff5d3ba858cf3f50553d76757966af7ad2 Reviewed-on: https://gerrit.libreoffice.org/c/online/+/98655 Tested-by: Jenkins Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com> Reviewed-by: Tor Lillqvist <tml@collabora.com>
* redraw splitter lines on sheet-switchDennis Francis2020-07-132-8/+15
| | | | | | | | Change-Id: I94f08c6bc3cf6784c374282112463b3c00ba8607 Reviewed-on: https://gerrit.libreoffice.org/c/online/+/98622 Tested-by: Jenkins Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com> Reviewed-by: Dennis Francis <dennis.francis@collabora.com>
* request sheet-geometry data just after sending setclientpart to core...Dennis Francis2020-07-132-14/+29
| | | | | | | | | | | | | | | | | | instead of doing it on getting a 'setpart' back from core. This is helpful in the following respects: 1. On new sheet insert, setpart is not sent by the core. 2. On sheet-switch, new sheet's messages (cursor) can arrive before we get sheet-geometry-data because it is requested only after setpart which is too late. 3. save almost all of the round-trip time for sheet-geometry data. Change-Id: Id6464be72c2ff6e8dce006d8e7ba3141b8d6cf1b Reviewed-on: https://gerrit.libreoffice.org/c/online/+/98621 Tested-by: Jenkins Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com> Reviewed-by: Dennis Francis <dennis.francis@collabora.com>
* Don't show cell selection resize handles for desktopSzymon Kłos2020-07-131-5/+5
| | | | | | | | Change-Id: I6ac7518bd46308fffd692be576d368b5e5067fd6 Reviewed-on: https://gerrit.libreoffice.org/c/online/+/98619 Tested-by: Jenkins Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com> Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
* When copy disabled use empty content in clipboardSzymon Kłos2020-07-131-1/+1
| | | | | | | | | | Don't use 'Stub HTML Message' title... Change-Id: I24953f1513fb5432e614958787b9d127ffa531a7 Reviewed-on: https://gerrit.libreoffice.org/c/online/+/98620 Tested-by: Jenkins Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com> Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
* mobile wizard: hide unsupported items in table panelSzymon Kłos2020-07-132-0/+8
| | | | | | | | Change-Id: Ie8486a496cd30f48f600d7acc7960674f3864b7d Reviewed-on: https://gerrit.libreoffice.org/c/online/+/98527 Tested-by: Jenkins Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com> Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
* Remove default browser-specific outlinePedro Pinto Silva2020-07-131-0/+1
| | | | | | | | | | - happening on some browsers (black thick line) Change-Id: I1f628f9b93caf3779564f0f4143a2cb599605699 Reviewed-on: https://gerrit.libreoffice.org/c/online/+/98529 Tested-by: Jenkins Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com> Reviewed-by: Pedro Silva <pedro.silva@collabora.com>
* Add functions for getting edit or readonly permission, refactorTomaž Vajngerl2020-07-1229-64/+72
| | | | | | | | | | | Instead of always checking the map._permission value, use the isPermissionReadOnly and isPermissionEdit functions. Refactor the code to use those. Change-Id: I77ccd278b98a9318344c9b80c17be7cda09f00f8 Reviewed-on: https://gerrit.libreoffice.org/c/online/+/98592 Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com> Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
* Enable comments editing when in read-only modeTomaž Vajngerl2020-07-122-2/+5
| | | | | | | | | This also prepares the read-only with comments editing mode. Change-Id: Ida643bb82bd54acff95531df1bd5d34534f5bc79 Reviewed-on: https://gerrit.libreoffice.org/c/online/+/98591 Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com> Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
* fix annotation position latlng to twips conversionTomaž Vajngerl2020-07-121-3/+2
| | | | | | | Change-Id: Ia97036a60a135a538dcd733e1f6715025f534b3c Reviewed-on: https://gerrit.libreoffice.org/c/online/+/98590 Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com> Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
* add .uno:EditAnnotation as exception when in read-only modeTomaž Vajngerl2020-07-122-2/+9
| | | | | | | Change-Id: Ic6cd15973a96d20895a1e0dc47fc33692b09ec92 Reviewed-on: https://gerrit.libreoffice.org/c/online/+/98589 Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com> Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
* Add #includes for stuff used in this very fileTor Lillqvist2020-07-121-0/+5
| | | | | | | | | | It is good practice, and those are needed when it is used in another context. Change-Id: I7811cbc6e072ed88ef2f0061994e7a18e797fd0d Reviewed-on: https://gerrit.libreoffice.org/c/online/+/98588 Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com> Reviewed-by: Tor Lillqvist <tml@collabora.com>
* Bin DeltaGenerator-using code that has been commented out since 2017Tor Lillqvist2020-07-122-11/+0
| | | | | | | | | | "Disable for now - pushed in error" says the comment added in e11794da2551639e52d9f94867f6f35bae40a6c4. Change-Id: Ia2b72bfe20f8ff16d74d1966d511c74eab3e4417 Reviewed-on: https://gerrit.libreoffice.org/c/online/+/98587 Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com> Reviewed-by: Tor Lillqvist <tml@collabora.com>
* cypress: disable this unstable test.Tamás Zolnai2020-07-111-1/+1
| | | | | | | | Change-Id: I7d1ae4aef00c09ad6b02e34922520b48c2cd4641 Reviewed-on: https://gerrit.libreoffice.org/c/online/+/98557 Tested-by: Jenkins Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com> Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
* Report better SSL state for mobile appsJan-Marek Glogowski2020-07-111-2/+6
| | | | | | | | | | | | | I tried to enable SSL, because I didn't want to be insecure, as stated by the message "insecure: ssl disabled". But for mobile apps the whole communication is actually local and SSL no any support option, so this is hopefully a better message. Change-Id: I35c50772ed49910997b80e6f449483da21775120 Reviewed-on: https://gerrit.libreoffice.org/c/online/+/98552 Tested-by: Jenkins Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com> Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
* Re-factoring to make re-use in a next-gen iOS app easierTor Lillqvist2020-07-113-538/+617
| | | | | | | | Change-Id: I1656d38fb8ad4213417b8c00c0c84540e0eacdbe Reviewed-on: https://gerrit.libreoffice.org/c/online/+/98499 Tested-by: Jenkins Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com> Reviewed-by: Tor Lillqvist <tml@collabora.com>
* loleaflet: simplify removing unused elementsHenry Castro2020-07-102-10/+16
| | | | | | | | | | | Move the code to the corresponding UI manager initialization. Change-Id: I68162f1a6ebb40b2bfbe85508173d9283a411f97 Reviewed-on: https://gerrit.libreoffice.org/c/online/+/98444 Tested-by: Jenkins Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com> Reviewed-by: Henry Castro <hcastro@collabora.com>
* cypress: disable this unstable test.Tamás Zolnai2020-07-101-1/+1
| | | | | | | | Change-Id: I4682f00e7592f6aba5ef5a1e9bdd99339416c1e0 Reviewed-on: https://gerrit.libreoffice.org/c/online/+/98536 Tested-by: Jenkins Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com> Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
* cypress: add slide operation tests (mobile).Tamás Zolnai2020-07-103-9/+80
| | | | | | | | Change-Id: I0ee6ee840c381263315305336e01f46dfdbcf1f4 Reviewed-on: https://gerrit.libreoffice.org/c/online/+/98525 Tested-by: Jenkins Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com> Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
* cypress: some more tests for impress's hamburger menu (mobile).Tamás Zolnai2020-07-102-1/+113
| | | | | | | | Change-Id: I3eb5afe1e67911b71e3152181c38eb2a2f9016f9 Reviewed-on: https://gerrit.libreoffice.org/c/online/+/98524 Tested-by: Jenkins Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com> Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
* split-panes: use document coordinates for paths in "fixed" svg containerDennis Francis2020-07-104-22/+22
| | | | | | | | | | | and let the grid-resize lines be rendered in this fixed svg container which makes their position-calculations a lot simpler. Change-Id: I4b5834c6b00b1ee93b5a633b5cbba4b852608fd7 Reviewed-on: https://gerrit.libreoffice.org/c/online/+/98497 Tested-by: Jenkins Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com> Reviewed-by: Dennis Francis <dennis.francis@collabora.com>
* defer splitPanesContext creation till we get the part number...Dennis Francis2020-07-108-44/+54
| | | | | | | | | | | | | and this context object should be cached as a member only by the document layer. All others must invoke getSplitPanesContext() on the map or the document layer everytime it is needed. Otherwise it is a lot of effort to keep the caches up-to-date on a sheet-switch etc. Change-Id: I262b0f6a10060426d89460defc0d3f0a510b880e Reviewed-on: https://gerrit.libreoffice.org/c/online/+/98496 Tested-by: Jenkins Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com> Reviewed-by: Dennis Francis <dennis.francis@collabora.com>
* cursors and markers should reposition on splitposchangedDennis Francis2020-07-102-0/+3
| | | | | | | | Change-Id: Ic4b61de28fb20e24c7c7b97c89b3821682005814 Reviewed-on: https://gerrit.libreoffice.org/c/online/+/98495 Tested-by: Jenkins Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com> Reviewed-by: Dennis Francis <dennis.francis@collabora.com>
* loleaflet: fix the show/hide close buttonHenry Castro2020-07-103-4/+4
| | | | | | | | | | | Explicit show/hide the close button if the page is loaded by a WOPI Integrator. Change-Id: I13d58bbbff03f283ed033a12a4489b610839748e Reviewed-on: https://gerrit.libreoffice.org/c/online/+/98443 Tested-by: Jenkins Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com> Reviewed-by: Henry Castro <hcastro@collabora.com>
* notebookbar: enable Draw tab for writerSzymon Kłos2020-07-1013-1/+35
| | | | | | | | Change-Id: I32f91d35fbf2332e133db7194fd795b9471af7b1 Reviewed-on: https://gerrit.libreoffice.org/c/online/+/98487 Tested-by: Jenkins Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com> Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
* cypress: use bigger wait time to decide whether an item is idle.Tamás Zolnai2020-07-101-1/+1
| | | | | | | | Change-Id: I7d31c83b2438615b6fca9a9d8fb0f62a99728ddf Reviewed-on: https://gerrit.libreoffice.org/c/online/+/98483 Tested-by: Jenkins Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com> Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
* cypress: use OnIdle methods in search dialog related tests.Tamás Zolnai2020-07-102-12/+4
| | | | | | | | Change-Id: I94af320ea9fbcf17e765518f33995032ac90a892 Reviewed-on: https://gerrit.libreoffice.org/c/online/+/98428 Tested-by: Jenkins Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com> Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
* Don't bother outputting the thread id in hex for iOS to logTor Lillqvist2020-07-101-10/+4
| | | | | | | | | | | We output the informative name we give ourselves to the thread anyway which is much more useful. Change-Id: I74721cc0014fa657adfb6ecea05bcd7f846421a4 Reviewed-on: https://gerrit.libreoffice.org/c/online/+/98477 Tested-by: Jenkins Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com> Reviewed-by: Tor Lillqvist <tml@collabora.com>
* Desktop: document name: center icon (pencil) & loading timePedro Pinto Silva2020-07-102-5/+3
| | | | | | | | | | | * be sure to wait from either the menu or the doc to appear to show the icon by adding the "editable" class on after onDocLayerInit and onWopiProps * remove if (this.UserCanNotWriteRelative === false) as at that moment we still have no clue of its status Change-Id: Icaaa921452b09d747be4fffab90bf1c93283718e Reviewed-on: https://gerrit.libreoffice.org/c/online/+/97128 Tested-by: Jenkins Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com> Reviewed-by: Pedro Silva <pedro.silva@collabora.com>
* cypress: disable this unstable test.Tamás Zolnai2020-07-091-1/+1
| | | | | | | | | | | The height input field is sometimes just disabled. Might be a bug in the code. Change-Id: I1d8dd5dabb1dee33606cab764b05657f4ce9df23 Reviewed-on: https://gerrit.libreoffice.org/c/online/+/98438 Tested-by: Jenkins Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com> Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
* update cypress: 4.7.0 -> 4.9.0.Tamás Zolnai2020-07-091-1/+1
| | | | | | | | Change-Id: I3d1763b171d7163d7a96343f0687a2d64c61e062 Reviewed-on: https://gerrit.libreoffice.org/c/online/+/98431 Tested-by: Jenkins Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com> Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
* Fix create-l10n-all-js.pl for languages that include script and territoryTor Lillqvist2020-07-091-3/+5
| | | | | | | | | | | | | On Android and iOS, the window.LANG gets set to a value that uses hyphens as separators, not underscores. Also, the script is included for the Chinese variants. While at it, make the code more lenient: Accept either separator and with script or not. Change-Id: I5a5319572ec96892d22eb3b30586b5b8203bdee1 Reviewed-on: https://gerrit.libreoffice.org/c/online/+/98434 Tested-by: Jenkins Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com> Reviewed-by: Tor Lillqvist <tml@collabora.com>
* cypress: fix removeTextSelection() helper method.Tamás Zolnai2020-07-091-0/+5
| | | | | | | | Change-Id: If0b254eca495b57c8697ad17a53d0f7e952c6fba Reviewed-on: https://gerrit.libreoffice.org/c/online/+/98430 Tested-by: Jenkins Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com> Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
* cypress: add some tests for impress's hamburger menu (mobile).Tamás Zolnai2020-07-095-3/+365
| | | | | | | | Change-Id: Idc747ac6ebb47b2ec2da086ba7e597d3bc396bf1 Reviewed-on: https://gerrit.libreoffice.org/c/online/+/98427 Tested-by: Jenkins Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com> Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
* notebookbar: highlight styles on hoverSzymon Kłos2020-07-091-0/+8
| | | | | | | Change-Id: I41a7715747cb22fe972547d4028c4c0e0899305e Reviewed-on: https://gerrit.libreoffice.org/c/online/+/98426 Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com> Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>