Commit graph

9876 commits

Author SHA1 Message Date
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
Szymon Kłos
5463a4bcae jsdialogs: don't break strings with quotation mark
Change-Id: I66b0bd2818bf37769cfc3fdf74da1e7358836423
Reviewed-on: https://gerrit.libreoffice.org/83863
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
Tested-by: Szymon Kłos <szymon.klos@collabora.com>
2019-11-27 10:23:19 +01:00
mert
d897a99ccc Remove insert-table button on quickbar
Change-Id: Iede5b7bfa4dedc513738da62501b421ad17a9d65
Reviewed-on: https://gerrit.libreoffice.org/83826
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
Tested-by: Michael Meeks <michael.meeks@collabora.com>
2019-11-27 05:41:06 +01:00
mert
247ef39915 fix Insert shape dropdown is too narrow on desktop
Change-Id: Id128cd455e3efb34498511434a38c03efa93c602
Reviewed-on: https://gerrit.libreoffice.org/83814
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
Tested-by: Michael Meeks <michael.meeks@collabora.com>
2019-11-27 05:34:39 +01:00
mert
ba42356330 Fix minor comparison error
This patch is a follow-up for overflowing
watermarks patch

Change-Id: I8613736dc4fea49a22ae29aba209c95b1ea93557
Reviewed-on: https://gerrit.libreoffice.org/83635
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
Tested-by: Michael Meeks <michael.meeks@collabora.com>
2019-11-27 05:34:27 +01:00
Andras Timar
99ed303e2f chmod -x
Change-Id: Iaacb3f7abbbb5c76cbd693b8b9918137de086c3d
2019-11-26 22:58:35 +01:00
Andras Timar
da56f1fc73 deb: trigger systemplate update after apt operations (e.g. installation of a new font, etc.)
Change-Id: Ia356249598d2f451d135985511b0fce71335a28d
2019-11-26 22:56:58 +01:00
Marco Cecchetti
bf5bf8f90c loleaflet: calc formula bar tunneling: removed no more needed handler
Change-Id: Ic1d493e2d759b288ca927419355bb906e61ef152
2019-11-26 16:58:08 +01:00
Pedro Pinto Silva
18e2137a17 funcWizard: style
* Replace hardcoded info icon with the existent help icon from the theme
* Add help background image to the description panel so the user knows at all times (even if looking away and then back) which screen he is and does know that to insert or go see all the function he needs to go back one level
* text styling

Change-Id: I717d42e7f2b6c54c595a2aefe454a1fa06c20072
Reviewed-on: https://gerrit.libreoffice.org/83752
Reviewed-by: Pedro Pinto da Silva <pedro.silva@collabora.com>
Tested-by: Pedro Pinto da Silva <pedro.silva@collabora.com>
2019-11-26 12:49:16 +01:00
Miklos Vajna
24c914dda1 test: fix unit-http
There were two problems here:

- there are much more headers than the one stated in "start", and as the
name implies, that's only the start of the headers, so assert it's a
matching prefix instead of full match

- the second case got the condition wrong, assert states what is the
assumption, does not check for an error state

With these, this test passes again.

Change-Id: I39f644849fc4808d73d1f95e2cda57d9465aacbf
2019-11-26 10:51:01 +01:00
Andras Timar
2bc1e8b6e2 sync LOKit headers with core (only comments)
Change-Id: I7a073500732e8d9d181588a835fe1905c0cf7a58
2019-11-26 09:42:16 +01:00
Pedro Pinto Silva
8c8d8ff5ec Toolbar-down: status: Add default text and respective styling when there is no value for :
* insert mode
* RowSelCount
* Selectionmode

Change-Id: I5e94aa539178b576c91cbebbf9b71a0d6d4fe30b
Reviewed-on: https://gerrit.libreoffice.org/83704
Reviewed-by: Pedro Pinto da Silva <pedro.silva@collabora.com>
Tested-by: Pedro Pinto da Silva <pedro.silva@collabora.com>
2019-11-26 09:09:55 +01:00
Marco Cecchetti
4574a98bff formula bar tunneling: function list wizard
Change-Id: I63670151a009ce0a67ba64cebf326e13219f2ded
2019-11-25 22:02:50 +01:00
Marco Cecchetti
b7743930cd loleaflet: calc formula bar tunneling
Change-Id: I1e9de5eee5ce8992f37cdee4928476954b84b299
2019-11-25 21:57:16 +01:00
Grzegorz Araminowicz
af6fe6a2f0 remove duplicated condition
Change-Id: If96be0eb426371f9a146def406cd002e241a56e8
Reviewed-on: https://gerrit.libreoffice.org/83705
Reviewed-by: Grzegorz Araminowicz <grzegorz.araminowicz@collabora.com>
Tested-by: Grzegorz Araminowicz <grzegorz.araminowicz@collabora.com>
2019-11-25 18:42:17 +01:00
Tor Lillqvist
c806acb157 tdf#125755: Fix some URI encoding issues
Now the iOS app is able to open a document called A#B?C\D&E❤️F🇨🇭G%AAHÖ.doc.
That is, with ‘#’, ‘?’, and ‘&’ that can mess things up when parsing URIs,
non-ASCII and even non-BMP characters, and an actual percent
character in the file name. Is that a complete enough test case? Will see.

Change-Id: I7fc53eaf8188f633d442d14a7f42814553169c71
Reviewed-on: https://gerrit.libreoffice.org/83395
Reviewed-by: Tor Lillqvist <tml@collabora.com>
Tested-by: Tor Lillqvist <tml@collabora.com>
(cherry picked from commit b60ccd60c59efb5a03ea698c0205a8543846d9e2)
Reviewed-on: https://gerrit.libreoffice.org/83664
Tested-by: Aron Budea <aron.budea@collabora.com>
2019-11-25 18:10:42 +01:00
Ashod Nakashian
a5946b4625 wsd: use SIGKILL to kill a child
This is the cleanest way to achieve the goal
of immediately exiting a child. This is used
for cleaning up kit instances when closing
docs, as well as in unit-tests.

Change-Id: I76870234b130a508044044b102419646abe81ac8
Reviewed-on: https://gerrit.libreoffice.org/83699
Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
Tested-by: Ashod Nakashian <ashnakash@gmail.com>
2019-11-25 17:06:19 +01:00
Ashod Nakashian
717d3132b2 test: improve unit-tests
Change-Id: I2fd499886616809975d769632b183354d7feb32f
Reviewed-on: https://gerrit.libreoffice.org/83046
Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
Tested-by: Ashod Nakashian <ashnakash@gmail.com>
2019-11-25 17:05:49 +01:00
Grzegorz Araminowicz
37eacf06ce Enable zoom animation for cursor
It prevents cursor from appearing in old position on large zoom level
difference (pinch to zoom).
It also provides nicer visual effect on desktop.

Change-Id: I9e2504dc54c47196441a1ea16e3422cce137d5a2
Reviewed-on: https://gerrit.libreoffice.org/83610
Reviewed-by: Grzegorz Araminowicz <grzegorz.araminowicz@collabora.com>
Tested-by: Grzegorz Araminowicz <grzegorz.araminowicz@collabora.com>
2019-11-25 16:12:32 +01:00
Miklos Vajna
5d3a2b3f56 wsd: fix -Werror,-Wmismatched-tags
Change-Id: I863c75c5af9a19dda306f574b4e90c5da3399d1d
2019-11-25 15:02:02 +01:00