Commit graph

9945 commits

Author SHA1 Message Date
Marco Cecchetti
cd5f55dcf4 formula bar: move function wizard top when expanding the input box
Change-Id: I220b485876ede47b9c6ab4658f33ecbfab1af926
Reviewed-on: https://gerrit.libreoffice.org/84171
Reviewed-by: Marco Cecchetti <marco.cecchetti@collabora.com>
Tested-by: Marco Cecchetti <marco.cecchetti@collabora.com>
2019-12-02 17:35:12 +01:00
Marco Cecchetti
b228a160b9 formula bar: handling shift+enter correctly
In desktop shift + enter is used for inserting a new line (multiline
formula input box).
This patch makes that works for tunneled formula bar too.

Change-Id: Ib1b3fd6593b6361c725cff606925d110c8ac1c83
Reviewed-on: https://gerrit.libreoffice.org/84170
Reviewed-by: Marco Cecchetti <marco.cecchetti@collabora.com>
Tested-by: Marco Cecchetti <marco.cecchetti@collabora.com>
2019-12-02 17:34:47 +01:00
Marco Cecchetti
836ce7d636 formula bar: function complete
lok clients can request to complete a function name partially typed in
the formula input box.

Change-Id: If8e4485c5ed9f91a594dfcec04e0c0b10becdcd0
Reviewed-on: https://gerrit.libreoffice.org/83985
Reviewed-by: Marco Cecchetti <marco.cecchetti@collabora.com>
Tested-by: Marco Cecchetti <marco.cecchetti@collabora.com>
2019-12-02 17:34:13 +01:00
Miklos Vajna
fe04d685db Convert cursor tests to a new-style one
So that they are in-process, which means it's easier to debug when they
fail.

Change-Id: I0fb1e798875c479e0aeb5f709ef630def5349126
2019-12-02 09:11:39 +01:00
Ashod Nakashian
9e21931353 leaflet: improved sidebar closing
Change-Id: I547ef3e65b746c4b37176969db8eb766fc037aa9
Reviewed-on: https://gerrit.libreoffice.org/84181
Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
Tested-by: Ashod Nakashian <ashnakash@gmail.com>
2019-12-02 04:42:59 +01:00
Ashod Nakashian
0cc3319b30 leaflet: properly handle sidebar id changes from Core
Change-Id: Ic8fceb097ce8d269bf957038d84bcb536cb3b250
Reviewed-on: https://gerrit.libreoffice.org/84180
Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
Tested-by: Ashod Nakashian <ashnakash@gmail.com>
2019-12-02 04:42:49 +01:00
Ashod Nakashian
4595a40d9f leaflet: reuse postLaunch from the calc-input-bar
Change-Id: I9e64bded3a1a9eb70bd79f339e7b848a5474d6d1
Reviewed-on: https://gerrit.libreoffice.org/84179
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
2019-12-02 04:33:45 +01:00
Ashod Nakashian
aa32811089 leaflet: split sidebar launch into three stages
We need to re-create the sidebar, so we need to
reuse the create portion and separate it from the
in-pace update logic. Similarly, the post-launch
logic is common and re-usable, so we isolate it too.

Change-Id: I5c72d19fd6e7f0f05c32b7bed186a562d19a8f24
Reviewed-on: https://gerrit.libreoffice.org/84178
Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
Tested-by: Ashod Nakashian <ashnakash@gmail.com>
2019-12-02 04:33:36 +01:00
Ashod Nakashian
9b973d09fc leaflet: always setup #sidebar-dock-wrapper properties
No reason to set these properties as soon as possible.

Change-Id: Iee1f108c628f4e6ada640cde0c698246fe33729c
Reviewed-on: https://gerrit.libreoffice.org/84177
Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
Tested-by: Ashod Nakashian <ashnakash@gmail.com>
2019-12-02 04:33:26 +01:00
Ashod Nakashian
e48c919fbb leaflet: safer sidebar and some cleanups
Change-Id: I360e4c106891a2db29b75eb50f07661fe39bea94
Reviewed-on: https://gerrit.libreoffice.org/84176
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
2019-12-02 04:30:23 +01:00
Tamás Zolnai
92dfb147df SpellingPopup: Remove selection by closing the context menu.
Change-Id: I99c87375f19225aead1b2f94806cadd1d27abe89
Reviewed-on: https://gerrit.libreoffice.org/84157
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
Tested-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2019-12-01 16:33:31 +01:00
Tamás Zolnai
5aaca986d0 SpellingPopup: disable dialog items on mobile.
Change-Id: I7e48ccfbcf007db1b4310cad14d230360860a966
Reviewed-on: https://gerrit.libreoffice.org/84156
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
Tested-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2019-12-01 16:33:01 +01:00
Andras Timar
b77267d39c Update UNO command translations
Change-Id: Icf5c5b3f83316e674cb9e7dcffb3426e4792ea17
2019-12-01 15:22:47 +01:00
Andras Timar
983a493ca5 Update bundled LibreOfficeKit headers
Change-Id: I9a1864d6258cf9efa2dae9e150814c780e5054f2
2019-12-01 11:47:35 +01:00
Michael Meeks
1c1989ad77 insert image needs fps_office component these days.
Change-Id: I29a5d5a5c9c180f7cab3b008874f9f2a7ea323f0
2019-11-30 22:47:01 +00:00
Michael Meeks
8bb64b6554 lok: add viewId to window painting, to allow special-casing on render.
View switching should not cause the sidebar UX to re-build at all. So
pass the view-id into the render call so we can avoid this.

Change-Id: I194c1841df2cedfcdf82defb2712d20715d7ff1d
Reviewed-on: https://gerrit.libreoffice.org/84131
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
Tested-by: Michael Meeks <michael.meeks@collabora.com>
2019-11-30 23:01:48 +01:00
Szymon Kłos
045c93cf13 jsdialogs: dont show empty controls from panel titlebars
Change-Id: I548d4280f90f7c271c44cbf279ece941b1fbed33
Reviewed-on: https://gerrit.libreoffice.org/84083
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
Tested-by: Szymon Kłos <szymon.klos@collabora.com>
2019-11-29 19:17:13 +01:00
Szymon Kłos
476aedb5ee jsdialog: process transparency type updates
Change-Id: I3cded8b48bd0bd57053242a7ffca8c34dfbb6110
Reviewed-on: https://gerrit.libreoffice.org/84058
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
Tested-by: Szymon Kłos <szymon.klos@collabora.com>
2019-11-29 19:16:41 +01:00
Szymon Kłos
d50f2b377f jsdialogs: hide widgets when visible set to False
Change-Id: Idc1bcf8436657d91c277951efea080d63f9c8cb7
Reviewed-on: https://gerrit.libreoffice.org/84082
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
Tested-by: Szymon Kłos <szymon.klos@collabora.com>
2019-11-29 19:15:46 +01:00
Andras Timar
092af8e809 Use special Mac key names on Mac clients with localized keyboards, too
According to vcl/unx/generic/app/keysymnames.cxx and actual translations
in online, there are only a few exceptions, that can be hardcoded.

Change-Id: Ibaa9399ecb2657e0286327da53a69d3c23cde836
2019-11-29 15:34:37 +01:00
Szymon Kłos
375f14ad90 jsdialog: migrate left/right margin to generic items dump
Change-Id: I8cff81ba8d0eb8719284d40f874cfe8cada25cf7
Reviewed-on: https://gerrit.libreoffice.org/84051
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
Tested-by: Szymon Kłos <szymon.klos@collabora.com>
2019-11-29 14:45:42 +01:00
Pedro Pinto Silva
f2042d526d Language status: use rewrite html instead of appending content
Change-Id: If7e5d64148935b408d6d010cfec7694b2ebfb596
Reviewed-on: https://gerrit.libreoffice.org/84062
Reviewed-by: Pedro Pinto da Silva <pedro.silva@collabora.com>
Tested-by: Pedro Pinto da Silva <pedro.silva@collabora.com>
2019-11-29 13:56:25 +01:00
Szymon Kłos
5998fe23d4 jsdialog: migrate after/before spacing to generic items dump
Change-Id: I16504c8910f270c45f8c46843bdcebf7e50c3f70
Reviewed-on: https://gerrit.libreoffice.org/84050
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
Tested-by: Szymon Kłos <szymon.klos@collabora.com>
2019-11-29 13:43:32 +01:00
Pedro Pinto Silva
11a7639b16 Toolbar-down: Fix: Display current language
Change-Id: I6881d7dccf756ab4c3b39d5bd39afcb19b9ff532
Reviewed-on: https://gerrit.libreoffice.org/84059
Reviewed-by: Pedro Pinto da Silva <pedro.silva@collabora.com>
Tested-by: Pedro Pinto da Silva <pedro.silva@collabora.com>
2019-11-29 12:50:05 +01:00
Tor Lillqvist
29b603a34f Fix build for MOBILEAPP
No Admin.hpp needed (which would cause a conflicting definitions of a
class called Document when compiling Kit.cpp).

No locks "supported" in the way the code expects for WOPI-like things.

Change-Id: Ie43311af054f2940576ce9b2b13520f24887628e
Reviewed-on: https://gerrit.libreoffice.org/84018
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
Tested-by: Tor Lillqvist <tml@collabora.com>
2019-11-29 12:12:30 +01:00
Pedro Pinto Silva
a252c98240 Vex overlay: Add missing min-width rule
Change-Id: I480c730273970400c2668f9d19efd768dd810c88
Reviewed-on: https://gerrit.libreoffice.org/84041
Reviewed-by: Pedro Pinto da Silva <pedro.silva@collabora.com>
Tested-by: Pedro Pinto da Silva <pedro.silva@collabora.com>
2019-11-29 09:51:29 +01:00
Michael Meeks
039ca3540e tdf#125755: specialize reduced decoding for mobile apps.
The WOPI multiple encoding magic is unpleasant; best not to try to
unwind it all now.

This fixes Download-As and SllideShow pieces.

cf. c806acb157

Change-Id: Ie06ad386c7a30e0f572e299e50fc949ce41b09f5
2019-11-28 18:05:04 +00:00
Gary Kim
997113697e docker: add missing dependencies
The docker container is missing some dependencies
so cannot start properly.

Change-Id: Icfa7b318370d331ecf2935f166b3cfb3b57379c8
Reviewed-on: https://gerrit.libreoffice.org/83939
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2019-11-28 14:05:34 +01:00
Szymon Kłos
cd531af0c1 jsdialog: fix typo for leadingzeroes
Change-Id: I35d4dd4cfa8c1d0123b649fb0a4f8342958d9caa
2019-11-28 13:34:43 +01:00
Szymon Kłos
6b93ded713 jsdialog: read Position values
Change-Id: I5963bea8d32f99b9b0a69cea2edb54f3402e43d6
2019-11-28 12:28:43 +01:00
Szymon Kłos
47d8f51b46 jsdialog: correctly read .uno:Size values
Change-Id: Ic469c959afbf28d04ef75b53eac5559a2ea8106d
2019-11-28 12:10:01 +01:00
Szymon Kłos
17601e461c jsdialog: correctly read gamma value
Change-Id: I3eafd45bf405539a6c38d0901ec5a39d8ae1d788
2019-11-28 11:54:25 +01:00
Pedro Pinto Silva
4fc7e98d0a Vex: bring back dimming but make it discreet though
Change-Id: I8f036a85963a9861268971998115870a3087a9be
Reviewed-on: https://gerrit.libreoffice.org/83978
Reviewed-by: Pedro Pinto da Silva <pedro.silva@collabora.com>
Tested-by: Pedro Pinto da Silva <pedro.silva@collabora.com>
2019-11-28 11:22:03 +01:00
Szymon Kłos
6b50a5e41f jsdialog: handle transparency in graphic context
Change-Id: I46e0575c18f0201995ea3138cab73e083287bbc6
2019-11-28 10:47:51 +01:00
Szymon Kłos
403fe10c9d jsdialog: handle graphic items updates
Change-Id: I3a04cefe34ce8ca8806d93a72e047563d9c4c26b
Reviewed-on: https://gerrit.libreoffice.org/83862
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
Tested-by: Szymon Kłos <szymon.klos@collabora.com>
2019-11-28 09:39:10 +01:00
Andras Timar
34f344365e scripts/unocommands.py expects ascii input
Change-Id: Ie7b46537528f7096c09890e1525b7fbb0d9ea425
2019-11-28 09:11:15 +01:00
Michael Meeks
84c218786b fix calc simple, single cell content copy; add origin to plain text.
Change-Id: I7a6b0c90a74f6e3a91a840bf77c0935a300321f2
2019-11-27 19:17:27 +00:00
Michael Meeks
0d97efbfcc locking: renew lock after timeout.
Change-Id: I6191ee34239b978292aeb6795be74312a954e240
2019-11-27 19:17:27 +00:00
Michael Meeks
e3864a060e Dump DocumentBroker state more completely.
Change-Id: I3477fe70ba25d6e9a95c12f30138c3353994e384
2019-11-27 19:17:27 +00:00
Szymon Kłos
48d7dee6af jsdialogs: remove debug printout
Change-Id: Icfb827279baf33913f566351009f13d131d98378
2019-11-27 16:20:47 +01:00
Szymon Kłos
792c54aac1 jsdialog: extend colorControl updates, added colorlistbox type
Change-Id: Ib92d8b3fe1f6de51842d7967163622226b481b2c
2019-11-27 15:13:12 +01:00
Pedro Pinto Silva
500b532109 Desktop: Toolbar-up: Fold/unfold: Decrease visual importance and switch breakline position
Change-Id: I131dc36b38caf807e438c424755b8c18cc4f1474
Reviewed-on: https://gerrit.libreoffice.org/83913
Reviewed-by: Pedro Pinto da Silva <pedro.silva@collabora.com>
Tested-by: Pedro Pinto da Silva <pedro.silva@collabora.com>
2019-11-27 14:56:56 +01:00
Andras Timar
662c633595 enable l10n of 'Default Style' string here
Change-Id: Ia3253d5c54f117028807aeb1c6db01fbac7a474e
2019-11-27 13:53:21 +01:00
Andras Timar
10b8f77099 Use special Mac key names on Mac clients
Change-Id: I6f1431cce44dd95c716cee6a3e01e71c491ac74b
2019-11-27 12:58:50 +01:00
Andras Timar
8d5d9e427f APP_NAME tweaks
Change-Id: I16016cfc575620f98c0124fdb85e39cf56e0453a
2019-11-27 12:16:07 +01:00
Szymon Kłos
649ca253db jsdialogs: update FillGradient
Change-Id: I4667d6f1c02590b077fd59dc5f2b6b71fa6df7cb
Reviewed-on: https://gerrit.libreoffice.org/83859
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
Tested-by: Szymon Kłos <szymon.klos@collabora.com>
2019-11-27 10:57:54 +01:00
Szymon Kłos
1d865e8ce4 jsdialogs: avoid using string as a JSON
Change-Id: I5e3c3f8c914cc3c6de5962db4bb55b67b4f23270
Reviewed-on: https://gerrit.libreoffice.org/83861
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
Tested-by: Szymon Kłos <szymon.klos@collabora.com>
2019-11-27 10:57:34 +01:00
Szymon Kłos
03d442f7bb jsdialogs: process JSON for FillStyle
Change-Id: Ib1e9ae0b73b5d49adb2b776b6c788a742febf3e0
Reviewed-on: https://gerrit.libreoffice.org/83858
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
Tested-by: Szymon Kłos <szymon.klos@collabora.com>
2019-11-27 10:57:18 +01:00
Szymon Kłos
d13164a80c jsdialogs: parse SfxPoolItems JSON
Change-Id: I15fc16dbc74977a848d6cfbeea3facdbac286c22
Reviewed-on: https://gerrit.libreoffice.org/83857
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
Tested-by: Szymon Kłos <szymon.klos@collabora.com>
2019-11-27 10:56:57 +01:00
Szymon Kłos
a3390be9f4 jsdialogs: avoid using undefine
Change-Id: Icb27e7f0c3ffda9a76b578b97d1b8f4395998424
Reviewed-on: https://gerrit.libreoffice.org/83860
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
Tested-by: Szymon Kłos <szymon.klos@collabora.com>
2019-11-27 10:23:52 +01:00