Commit graph

13751 commits

Author SHA1 Message Date
Ashod Nakashian
efa3e44231 wsd: remove debug logs
Change-Id: I68a856ff9678fe09ff4fcc597c46de9e29f72060
Signed-off-by: Ashod Nakashian <ashod.nakashian@collabora.co.uk>
2021-01-23 23:55:43 +00:00
Pedro Pinto Silva
4cb1f81d84 Mobile: mobileWizard: style comment card's contents
Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: I8bd166209694155f09ed958c216fc9850b01bcc4
2021-01-22 16:33:06 +01:00
Pranam Lashkari
24560b3555 leaflet: fixed hyperlink popup being mispositioned around the edge
Signed-off-by: Pranam Lashkari <lpranam@collabora.com>
Change-Id: I1123715cfadd8e752adb8f9a6bdf697006271390
2021-01-22 18:59:20 +05:30
Szymon Kłos
44fd1c6b51 jsdialog: warn when update not applied
Change-Id: I8adaae41cb04dceea768f04b00200cd1e9867122
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
2021-01-22 10:24:33 +01:00
Szymon Kłos
4183cca9dd jsdialog: on update build in the same place
This helps to keep control in the same place
if node has more siblings

Change-Id: I5922c5a34b85bace169504646e92fe892fbaf3a5
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
2021-01-22 10:24:33 +01:00
Szymon Kłos
7a7bedfff4 mobile wizard: partial updates
Change-Id: I792d68104f61b377089296b130142215f83d2c24
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
2021-01-22 10:24:33 +01:00
Szymon Kłos
a205a4c97a notebookbar: promote single items to bittoolitems
Change-Id: I7b7e2ac627d9bb50a1fca7f5aa1e40f86d5397d7
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
2021-01-22 10:24:33 +01:00
Szymon Kłos
88e710a54d notebookbar: update cache with missing elements
Change-Id: I200cce9b89a3bb779a74cb98ad0c63caab997448
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
2021-01-22 10:24:33 +01:00
Pranam Lashkari
f144df98c8 leaflet: blacklist language selection on misspelled words in mobile
Signed-off-by: Pranam Lashkari <lpranam@collabora.com>
Change-Id: I149539983897d20828dc6e32ed053c9b7e279ad4
2021-01-22 01:34:30 +05:30
Pranam Lashkari
4962386d94 leaflet: fixed missing selection overlay while selecting row/column
Signed-off-by: Pranam Lashkari <lpranam@collabora.com>
Change-Id: I85e41ffc9de69de9543b8e1ccae177054a9375ac
2021-01-21 23:59:02 +05:30
Szymon Kłos
92da9ab48e notebookbar: cache impress draw tab
Change-Id: I3a021ece0673593e38561ac2aeeb79e0bc7be4a3
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
2021-01-21 15:21:51 +01:00
Szymon Kłos
e094f042b8 notebookbar: cache impress table tab
Change-Id: Id9f77933eff714fb9f7a1ae44c34161a6b37bcdc
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
2021-01-21 15:21:51 +01:00
Szymon Kłos
3d07c178d1 notebookbar: cache impress review tab
Change-Id: I1991ff61c5553e95a0ed3ae564db8a2c12c5e058
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
2021-01-21 15:21:51 +01:00
Szymon Kłos
1a977cc22b notebookbar: cache calc review tab
Change-Id: Ibf662b9794e5b68be448f24c6aa22e428d20905c
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
2021-01-21 15:21:51 +01:00
Szymon Kłos
f926511ad1 notebookbar: cache calc data tab
Change-Id: Icc4f131a4f223b6830393bd1fe0c3fbb8dda0df4
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
2021-01-21 15:21:51 +01:00
Szymon Kłos
6f56f79299 notebookbar: cache writer draw tab
Change-Id: I1b8f0b2d5bed8bc2c658b1805ca8b5e862f325f7
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
2021-01-21 15:21:51 +01:00
Szymon Kłos
854a75c81a notebookbar: cache writer table tab
Change-Id: Ic19ac84acb297fc79e769d4189ec2365d8786204
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
2021-01-21 15:21:51 +01:00
Szymon Kłos
17796f17ad notebookbar: cache writer review tab
Change-Id: I6f02c1b6e00da72089bb126381f38bb7150e3d1d
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
2021-01-21 15:21:51 +01:00
Szymon Kłos
b94e9773f7 notebookbar: cache writer references tab
Change-Id: I239efd1506c1130e92ca5d503caf42eadb48524d
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
2021-01-21 15:21:51 +01:00
Szymon Kłos
882fbd0e96 notebookbar: cache writer layout tab
Change-Id: I3c2b505c610008436ad7b2d06071a006ef5f37b5
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
2021-01-21 15:21:51 +01:00
Szymon Kłos
e24b927eb1 autofilter: partial updates support
Change-Id: If2c67954e044bce1fc7338e86c1dca9b0a945380
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
2021-01-21 15:20:36 +01:00
Szymon Kłos
01fb800043 notebookbar: don't create containers for partial updates
Change-Id: I025533ca48ca100bd7da1a48b21d7eb3f59e3bf4
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
2021-01-21 15:20:36 +01:00
Szymon Kłos
5af69a6ccd jsdialog: use one instance of notebookbar builder
+ setup windowId which is received from core

Change-Id: Iefc726a2e547d79adca669768bd3c606cb3151bb
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
2021-01-21 15:20:36 +01:00
Szymon Kłos
1f1d509ecf jsdialog: don't use static members
Change-Id: Ie0284a3c53219fcadfc63972d9ffc9188fc29175
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
2021-01-21 15:20:36 +01:00
Szymon Kłos
06124d774e jsdialog: tabcontrol update to handle all tabs JSON
if JSON has more tabs - build in dedicated containers
if JSON has only one tab - build old old way

Change-Id: Ic960d6976ccdf60c48ca0057fdaa0ff115fca708
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
2021-01-21 15:20:36 +01:00
Szymon Kłos
830d9408dc jsdialog: use partial updates for notebookbar
Change-Id: Iccf43dcb434695dc2be8d72f8e6fd43a659d1af0
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
2021-01-21 15:20:36 +01:00
Tor Lillqvist
5e8be7005b Bin unused function
Change-Id: I9217193534bbed8f55faaa105b603e1560b1519a
Signed-off-by: Tor Lillqvist <tml@collabora.com>
2021-01-21 16:12:55 +02:00
Tor Lillqvist
78691886f3 Use winId here, too
The other code in this function carefully checks before indexing the
tokens vexctor. We have already stored the integer from tokens[1] (if
it exists) in winId. So use that in one more place instead of
tokens[1] for consistency.

Change-Id: I2bc09b3e44e0549a94469d7569f724df17a113b3
Signed-off-by: Tor Lillqvist <tml@collabora.com>
2021-01-21 14:59:22 +02:00
Szymon Kłos
b896700c3a jsdialog: accept boolean
Change-Id: Ia81f0601fdf82292991f4d00c290a9b88e217b23
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
2021-01-21 13:21:24 +01:00
Szymon Kłos
acfce03a21 fontwork dialog: center on screen
we first create it without any content so foce the correct size
to correctly calculate position

Change-Id: I08d6a4c8ec42d5515ddd11cec508cb222d4c6ec8
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
2021-01-21 13:21:24 +01:00
Szymon Kłos
e079b779fe jsdialog: partial updates support for listbox
Change-Id: I75a7449a053f056c6212ff4db471b22f71228936
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
2021-01-21 13:21:24 +01:00
Szymon Kłos
40e171e726 jsdialog: partial updates support for expander
Change-Id: I398cbacb12d2342fa27df9ad4fce9e6db0c37eb2
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
2021-01-21 13:21:24 +01:00
Szymon Kłos
6d2b234659 jsdialog: accept also boolean enabled state
Change-Id: Id991e3a6d488e0be282f5f9ad333a567632f6c67
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
2021-01-21 13:21:24 +01:00
Szymon Kłos
96eecc4fe6 jsdialog: fix button state handling
Change-Id: I9f91ce63a5ae8d3dbdde3257c4487995920d3277
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
2021-01-21 13:21:24 +01:00
Szymon Kłos
f8c64ec0d5 jsdialog: remove all chars instead of only first
Change-Id: Ic819167db66f97e3a4967f85bc41f5f5554fd88f
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
2021-01-21 13:21:24 +01:00
Szymon Kłos
3796f19c15 jsdialog: partial updates for DrawingArea
Change-Id: I47ccc8afc06d27460a1c5e64dd10c0444fc03250
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
2021-01-21 13:21:24 +01:00
Ashod Nakashian
72e9f3d2d6 wsd: asynchronous HTTP/1.1 implementation
This implements HTTP/1.1 per RFC 7230, partially.

Unit-tests are provided with documentation on usage.

This is desgined to serve as the http implementation
throughout loolwsd, for both synchronous and
asynchronous requests.

Change-Id: Iaf1b8c5fcb8cec032445e27c9f70d2fb807aa4dc
Signed-off-by: Ashod Nakashian <ashod.nakashian@collabora.co.uk>
2021-01-21 12:36:41 +01:00
Gökay Şatır
500ba660e9 CanvasSectionContainer: Add background color and border color.
Signed-off-by: Gökay Şatır <gokaysatir@collabora.com>
Change-Id: I5d34e5ec9a1caa26ecee3dbc9dc23fb43423e29b
2021-01-21 13:48:13 +03:00
mert
8100a01c9c Fix typo that causes insertpage not to work
Change-Id: I3c0e2e2e4ef5c639c22e7562bc5602ebfea06bef
Signed-off-by: mert <mert.tumer@collabora.com>
2021-01-21 10:22:58 +01:00
mert
75f1cc3705 added insert connectors popup dialog
Change-Id: If97eb79bd697fe2e2b9cb86cbc1643e5890bf626
Signed-off-by: mert <mert.tumer@collabora.com>
Signed-off-by: Tomaž Vajngerl <tomaz.vajngerl@collabora.co.uk>
2021-01-21 10:22:58 +01:00
Tomaž Vajngerl
2b5c00c861 Allow insert, delete, duplicate page for drawings
We restrict insert/delete/duplicate page (slide) only to
presentations, but they also work the in the same way for
drawings. This changes the restrictions to also take drawings
into account for this actions.

Change-Id: Ia9a3627d2144a6813f341ab8a8287743abad475a
Signed-off-by: Tomaž Vajngerl <tomaz.vajngerl@collabora.co.uk>
2021-01-21 10:22:58 +01:00
Tomaž Vajngerl
6d58f0f394 Change "Slide" menu entry to "Page" for drawings
Change-Id: I25febf4287df868d4755658af992be3031e064cd
Signed-off-by: Tomaž Vajngerl <tomaz.vajngerl@collabora.co.uk>
2021-01-21 10:22:58 +01:00
Tomaž Vajngerl
a478dc4229 Cleanup menubar entries for drawing (remove presentation specific)
Change-Id: If98719cfb37c05bedbeee7f239f931c769278834
Signed-off-by: Tomaž Vajngerl <tomaz.vajngerl@collabora.co.uk>
2021-01-21 10:22:58 +01:00
Tomaž Vajngerl
bf0daa2dce Use own icon for drawings, don't share with presentations
Change-Id: I6cecc9869d36bc1e45a4ed88344c62e0c9adac1d
Signed-off-by: Tomaž Vajngerl <tomaz.vajngerl@collabora.co.uk>
2021-01-21 10:22:58 +01:00
Tomaž Vajngerl
3fa52ac5a8 Duplicate the presentation menu entries for drawing
Currently the presentation and drawing menu entries use the same
definition, but as drawings are different with different terms,
it is best to separate the presentation and drawing entires
instead of handling the exceptions all the time.

Change-Id: I078eb4ebb5014a04614d20363042b3cd75e9a36d
Signed-off-by: Tomaž Vajngerl <tomaz.vajngerl@collabora.co.uk>
2021-01-21 10:22:58 +01:00
Tomaž Vajngerl
400432f159 modify the toolbar for drawings
Separate the toolbar from presentation and remove icons that are
valid for presentation only.

Change-Id: I0dd74f396326b838c9a65352978a771bdb5da13d
Signed-off-by: Tomaž Vajngerl <tomaz.vajngerl@collabora.co.uk>
2021-01-21 10:22:58 +01:00
Tomaž Vajngerl
aa6d8af042 Separate shortcuts online help for presentations and drawings
Change-Id: Ic6290ea43fc55e78a037ac3b774cb0eb090e8ba5
Signed-off-by: Tomaž Vajngerl <tomaz.vajngerl@collabora.co.uk>
2021-01-21 10:22:58 +01:00
Tomaž Vajngerl
d92252522c Add hello-world for Draw
Change-Id: I4300c96d16c1e4911aabb5aeb1ec7181dfeeae1d
Signed-off-by: Tomaž Vajngerl <tomaz.vajngerl@collabora.co.uk>
2021-01-21 10:22:58 +01:00
Tomaž Vajngerl
8d8f9f4dd3 Enable editing of ODG in discovery.xml
Change-Id: Ie019636a40f8a4ff712cca72a87258c87b51b775
Signed-off-by: Tomaž Vajngerl <tomaz.vajngerl@collabora.co.uk>
2021-01-21 10:22:58 +01:00
Tamás Zolnai
dbad4b2c0c Update cypress: 6.1.0 -> 6.2.1.
It fixes a hang related to retries. It might be useful
in our case too. I've seen hangs on Jenkins, which might be
related.

Signed-off-by: Tamás Zolnai <tamas.zolnai@collabora.com>
Change-Id: I8320f9b38c59074d2b5dd3d7b0cad0c5828b0849
2021-01-20 09:18:59 +01:00