Commit graph

9274 commits

Author SHA1 Message Date
Miklos Vajna
1bff9e7bf8 Convert load torture testcase to a new-style one
So that they are in-process, which means it's easier to debug when they
fail.

Change-Id: I6b33887fbe8dd6071ee767f24d4776a694fb62f7
2019-10-21 09:04:12 +02:00
Andras Timar
03ee39a082 add kit/Watermark.hpp to dist tarball
Change-Id: I40eda4254657f0c92fa9bc5038416d2d3359ba6b
Reviewed-on: https://gerrit.libreoffice.org/81097
Reviewed-by: Andras Timar <andras.timar@collabora.com>
Tested-by: Andras Timar <andras.timar@collabora.com>
2019-10-18 21:52:53 +02:00
Henry Castro
bbeebfc0aa loleaflet: remove unused loleaflet/src/images directory
All the images that WSD serves are located in loleaflet/images.
I forgot to remove the directory loleaflet/src/images that it is not
used now.

Change-Id: Idc7fcd62666f4120e97f25ad305a555a358e89e2
Reviewed-on: https://gerrit.libreoffice.org/81066
Reviewed-by: Henry Castro <hcastro@collabora.com>
Tested-by: Henry Castro <hcastro@collabora.com>
2019-10-18 17:46:24 +02:00
Henry Castro
389f05af1c jsdialogs: add valueset control handler
The LO Core server sends data items of the valueset control.
For Example Layouts items of the Sidebar in Impress Document,
this item need to be transformed into an element inside of
mobile wizard dialog.

Change-Id: I2ce166aee62ebd075edde5b91f62c0591ee5a0a1
Reviewed-on: https://gerrit.libreoffice.org/81054
Reviewed-by: Henry Castro <hcastro@collabora.com>
Tested-by: Henry Castro <hcastro@collabora.com>
2019-10-18 16:49:16 +02:00
Szymon Kłos
22a16ebfd9 jsdialogs: go to the same place on refresh
Change-Id: Ie10c66e114c661af38ce8b85a308e2abde96d6b4
2019-10-18 16:23:36 +02:00
Grzegorz Araminowicz
a9f8c321a2 hyperlink dialog div class
Change-Id: Iee2c260c940b15c9729eca37e9f04060bfbaa2e9
Reviewed-on: https://gerrit.libreoffice.org/81043
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
Tested-by: Szymon Kłos <szymon.klos@collabora.com>
2019-10-18 15:06:19 +02:00
Pedro
25a23224d9 Fix z-index: about dialog, hamburger menu were appearing under edit FAB
Change-Id: I0ef992ab221e3e3d96e1f35baa8c314fadd2e02f
Reviewed-on: https://gerrit.libreoffice.org/81034
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
Tested-by: Szymon Kłos <szymon.klos@collabora.com>
2019-10-18 12:57:37 +02:00
Pedro
dec5cfbb3c Add compatibility rules for fill-available and fix position to absolute
Change-Id: I9fb153294c4a5c1e23de1213f01c5bd4f0fff81b
Reviewed-on: https://gerrit.libreoffice.org/81024
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
Tested-by: Szymon Kłos <szymon.klos@collabora.com>
2019-10-18 10:46:55 +02:00
Pedro
1292681219 Update info on z-index values
Change-Id: I5bafdb149d9de7255c8c038af6c495706158a7fb
Reviewed-on: https://gerrit.libreoffice.org/81023
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
Tested-by: Szymon Kłos <szymon.klos@collabora.com>
2019-10-18 10:45:31 +02:00
Miklos Vajna
b97789eb76 Convert paste testcase to a new-style one
Change-Id: Ie4d8c2431bc12b94af83b802d4a627cbfb7a72e0
2019-10-18 09:06:53 +02:00
Szymon Kłos
17ab9909d6 Unify none state for _graphicSelection
Change-Id: I8fb4f7813373b3b56a25040fc5d20e7592c6c92d
2019-10-17 21:47:32 +01:00
Szymon Kłos
d047411825 Remove dark overlay after crash or disconnection
Change-Id: Iceab041def6444b76c008a65d7fdeccb61126f84
2019-10-17 21:16:53 +01:00
Szymon Kłos
f092160814 Don't allow to enter incorrect state with dark overlay
Change-Id: Idda18b8ba916bdb421a205290fd4569fb11d203b
2019-10-17 21:16:53 +01:00
Szymon Kłos
d14b7ef811 ObjectFocusDarkOverlay refactoring
Change-Id: Id53c3db15c4be65ca10b6b00dca2638023b7918b
2019-10-17 21:16:53 +01:00
Szymon Kłos
8eb003f90f Added ObjectFocusDarkOverlay based on L.Polygon
Layer which shows dark overlay around edited chart.

Change-Id: I1fd87f60e7ba58524481598baf5b012f4fb3d96f
2019-10-17 21:16:53 +01:00
Szymon Kłos
e494a29d24 jsdialogs: send combobox selections correctly
Change-Id: I687db5f38e24ee9e97786b736e01ac92a2f817cf
2019-10-17 19:26:36 +02:00
Szymon Kłos
8e9a262f03 jsdialogs: send combobox selections
Change-Id: If81984e23e2e86ea00e916a015c48f866284d046
2019-10-17 18:42:01 +02:00
Tamás Zolnai
4eb945c388 mobile-menu: Fix wrong downloadas menu items.
Change-Id: I5d80de9f56ff586cf04e41ca9d9dacae6e87b5e5
2019-10-17 17:25:21 +02:00
Pedro
43cede22cb Fix z-index: about dialog, hamburger menu were appearing under edit FAB
Change-Id: I9590494769ab9cd629137bfdcb9bdd2dca0bcfec
Reviewed-on: https://gerrit.libreoffice.org/80973
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
Tested-by: Szymon Kłos <szymon.klos@collabora.com>
2019-10-17 17:23:09 +02:00
Pedro
df87bcbc46 Hamburger menu: Impress: Use proper icon for Fullscreen Presentation instead
Change-Id: I5440d9994daa15465cbec676829e701442fb2074
Reviewed-on: https://gerrit.libreoffice.org/80946
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
Tested-by: Szymon Kłos <szymon.klos@collabora.com>
2019-10-17 16:07:38 +02:00
Pedro
27c935c516 Hamburger menu: add missing downloadaspdf icon and disable other filetype icons
Change-Id: I78115ec3ad75d556140987b94015dafc1ddf5379
Reviewed-on: https://gerrit.libreoffice.org/80950
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
Tested-by: Szymon Kłos <szymon.klos@collabora.com>
2019-10-17 16:05:14 +02:00
Tamás Zolnai
f456976074 mobile-menu: Fix copy-paste error.
Change-Id: I428d3fbd09c878ed0d6ab819babaf7b44bdf364d
2019-10-17 15:56:55 +02:00
Tamás Zolnai
bc28618d83 mobile-menu: Fix code identation
Change-Id: I0f4e897a1e7ca79a0b72cdc7d72a8b64b39f1dee
2019-10-17 14:26:54 +02:00
Tamás Zolnai
24569b5401 mobile-menu: Remove every occurance of mobile / desktop attribute.
Now we have separate menu structur for mobile and desktop.

Change-Id: Ibf690e78a4cf43516a6859eb580dfb52e1f5029b
2019-10-17 14:20:38 +02:00
Tamás Zolnai
86f9250b88 mobile-menu: Create a separate menu structure also for insert menu
This is the only menu which is still shared.

Change-Id: I6ff15dc64501ad71920edb0ee74b6f8407960dfd
2019-10-17 14:20:38 +02:00
Tamás Zolnai
f046f610d4 mobile-menu: Hide menu wizard when clicking on a menu item
Change-Id: Ie6235483a35c440569d9b295635ff6ea14a4e80d
2019-10-17 14:17:13 +02:00
Pedro
ef76fda7ad No changes: Format code and tabify all spaces
Change-Id: Ia31324cb38a949949de86c9e66e9d1a6ad53745c
Reviewed-on: https://gerrit.libreoffice.org/80942
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
Tested-by: Szymon Kłos <szymon.klos@collabora.com>
2019-10-17 14:10:05 +02:00
Pedro
0aa65e790d mobilewizard: content: hide img elements for when is not applicable
Change-Id: I9309dd17129d25c4da52638cf4539a7406caae7c
Reviewed-on: https://gerrit.libreoffice.org/80941
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
Tested-by: Szymon Kłos <szymon.klos@collabora.com>
2019-10-17 14:07:07 +02:00
Szymon Kłos
c99f5334fd jsdialogs: insert table default values and close menu
Change-Id: I255f50121b67d72df70a54c690c9d4d8cbbbe872
2019-10-17 14:02:26 +02:00
Szymon Kłos
5a9326bc8a jsdialogs: insert table also in impress
Change-Id: Ic54d289ca4fcd0f9b5e5183e9b64786fce2d88c3
2019-10-17 13:59:40 +02:00
Szymon Kłos
44b361762a jsdialog: fon't show missing icon for spinfield
but doesn't work for all cases

Change-Id: I54df981441a9a5f10b9c0f36f93fc84eff2b9a42
2019-10-17 13:51:20 +02:00
Szymon Kłos
2b1d14c835 jsdialogs: make insert table working
Change-Id: I7f2c7b190bf8ff438ee606213ac7eb7e73e03382
2019-10-17 13:32:07 +02:00
Pedro
5368315730 Vex-dialog: styling and layout (and moved to its proper css file) (and tabify spaces)
Change-Id: Id6a13d34e00de5b7e2b6242c6325bd6524816eba
Reviewed-on: https://gerrit.libreoffice.org/80873
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
Tested-by: Szymon Kłos <szymon.klos@collabora.com>
2019-10-17 13:14:39 +02:00
Pedro
403c1a5b41 mobilewizard: avoid blurry icons by setting them to their size and adjust paddings
Change-Id: I8d9459ec3e10470f560fbcd76a381c2546a0cec4
Reviewed-on: https://gerrit.libreoffice.org/80890
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
Tested-by: Szymon Kłos <szymon.klos@collabora.com>
2019-10-17 13:11:54 +02:00
Pedro
bab6017803 Style mobilewizard.menuwizard and add css classes via JS to toolbar-hamburger
Change-Id: I8c455507aa79f4cbba6db56597b8fe350554515b
Reviewed-on: https://gerrit.libreoffice.org/80930
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
Tested-by: Szymon Kłos <szymon.klos@collabora.com>
2019-10-17 13:10:05 +02:00
Tamás Zolnai
566df1281e mobile-menu: Disable unintentionally enabled menu items.
Change-Id: I9191ccd16d8487cc97b909f52063d55f309a7f67
2019-10-16 20:02:02 +02:00
Tamás Zolnai
056b6dde02 mobile-menu: calc: Move alone items upper with one level.
Change-Id: Ib96557f7f3c22729115fac7e1ce6d5e5e2b420df
2019-10-16 19:46:00 +02:00
Tamás Zolnai
7fc68b7a87 mobile-menu: impress/calc: Move 'Download as' menu upper with one level.
Change-Id: Id3f49c05498c8fdf2408056195edc2a02f7f1118
2019-10-16 19:46:00 +02:00
Szymon Kłos
bc897471c8 jsdialogs: add menuwizard class for hamburger menu
Change-Id: I3c7a8906d3c2bed8df1c2a49077f7e35b6fb5ce4
2019-10-16 19:31:28 +02:00
Tamás Zolnai
1da5d30307 mobile-menu: Make sure requested hidden elements are actually hidden.
Change-Id: I1e45363009afffff05bad78d5643178c9e97e1b0
2019-10-16 19:14:12 +02:00
merttumer
6c89ac3822 Fixed #4194 fullscreen button visibility conflict
Used hiddenitemlist for menubar to prevent hidden items
from to be shown after reinitialize of the menu
Signed-off-by: merttumer <mert.tumer@collabora.com>

Change-Id: I9e374aba3beab89687394b6b334564db074c3b25
2019-10-16 19:14:12 +02:00
Tamás Zolnai
a4c440b45d mobile-menu: impress: Move alone items upper with one level.
We don't need menus with only one item.

Change-Id: Ia325933a44cbfc26436f842e4f12bf7b4b1ed8a5
2019-10-16 19:14:12 +02:00
Tamás Zolnai
9b5007025a mobile-menu: impress: Remove 'Table' menu's sub menus
Move every table operation to one level, to reduce menu levels.

Change-Id: I90b054ff791b6966ea412074b55889826c053568
2019-10-16 19:14:12 +02:00
Tamás Zolnai
763a9dc1b2 mobile-menu: Make sure that main-nav element is hidden, second try
Change-Id: I5874d517c9cb7de7672fef10774d02c88ec19776
2019-10-16 19:14:12 +02:00
Szymon Kłos
13559f7e03 Add percent unit short label
Change-Id: I526bf9e3e5f2b542fbbbc4859b24e2c054f6c30b
2019-10-16 18:24:14 +02:00
Szymon Kłos
c79f95ba1d Add insert table sub menu
Change-Id: Ic524272a1ea48f04d1e959a6d71bed210c365a80
2019-10-16 18:18:44 +02:00
Szymon Kłos
1cc2f6a109 Added 'Insert table' to the insert menu
Change-Id: I0cb0e1b17e5e857fd33c123d345aaa031a861efc
2019-10-16 18:18:44 +02:00
Szymon Kłos
1b3a8bd478 Use mobilewizard.css also
Change-Id: I6d8667f30e6ed35ee930f50ae247fd6522f5d251
2019-10-16 17:40:59 +02:00
Tor Lillqvist
21b587dea2 tdf#128177: Drop the 'Bibliography Entry...' menu entry in a mobile app
Invoking it would cause a crash thanks to the intentional std::abort()
call in SalUserEventList::DispatchUserEvents() after the warning
"Uncaught com.sun.star.uno.DeploymentException component context fails
to supply service com.sun.star.frame.Bibliography of type
com.sun.star.container.XNameAccess".

We don't build the library ("bib") and UNO component in question for
non-desktop platforms, and the customer is fine with just leaving out
the menu entry.

Change-Id: I2c1b0978a87d169e6cebc9462f79b5b47df4992b
Reviewed-on: https://gerrit.libreoffice.org/80889
Reviewed-by: Tor Lillqvist <tml@collabora.com>
Tested-by: Tor Lillqvist <tml@collabora.com>
(cherry picked from commit 392cd69d5e4232de684dd3c050c8f95bf766b71a)
2019-10-16 15:46:58 +03:00
Tor Lillqvist
fdb91bf15e tdf#123733: Keep the WebKit view until the lokit_main thread has finished
Otherwise, if you close a document before it has been rendered
completely, the plumbing of threads and FakeSocket connections gets
confused and opening the next document hangs or runs into an assertion
failure. This typically happened for large presentations where
rendering the slide previews takes significant time.

Change-Id: I0f586bec021c4c045a129b3f179ddb3942915c58
Reviewed-on: https://gerrit.libreoffice.org/80882
Reviewed-by: Tor Lillqvist <tml@collabora.com>
Tested-by: Tor Lillqvist <tml@collabora.com>
2019-10-16 13:20:38 +02:00