Commit graph

17677 commits

Author SHA1 Message Date
Ashod Nakashian
b6920d30af wsd: assert that we don't have more than one active session
Change-Id: I0c404b19187658d28f6371a1e58430d3a93d6cbc
Signed-off-by: Ashod Nakashian <ashod.nakashian@collabora.co.uk>
2022-03-09 19:24:40 -05:00
Ashod Nakashian
832e308e8f wsd: more informative timestamps in dumpState
The timestamps now helpfully include how
long ago they were.

This also improves the conversion between
chrono clocks by adding generic functions.

Change-Id: I18081330564c8d969b9364cf1b9e33546e241280
Signed-off-by: Ashod Nakashian <ashod.nakashian@collabora.co.uk>
2022-03-09 19:24:40 -05:00
Ashod Nakashian
319685d858 wsd: test: minor cleanup of conflict tests
Change-Id: Ib56aa5fa609b76ce450fdea21f955b2130600a6a
Signed-off-by: Ashod Nakashian <ashod.nakashian@collabora.co.uk>
2022-03-09 19:24:40 -05:00
Ashod Nakashian
015b088d79 wsd: test: minor improvements to run_unit.sh.in
* Reduce stdout messages.
* Print the gdb command with --unattended since its
  not useful to wait for gdb when running from gdb.
* Add comment about --unattended.

Change-Id: I2d173282abd9fc842483db70e04d5706edeb5a85
Signed-off-by: Ashod Nakashian <ashod.nakashian@collabora.co.uk>
2022-03-09 19:24:40 -05:00
Ashod Nakashian
4322f87d92 wsd: improved forkit logs
And avoid pid of 0 in getKitPids().

Change-Id: I68743a55aed080ed54d7d8576f269974c644e1b2
Signed-off-by: Ashod Nakashian <ashod.nakashian@collabora.co.uk>
2022-03-09 19:24:40 -05:00
Ashod Nakashian
5312e78aaa wsd: test: modernize and improve UnitWopiOwnertermination
Change-Id: I1fc096c80faf65f47bc8177055223cb1e81a9477
Signed-off-by: Ashod Nakashian <ashod.nakashian@collabora.co.uk>
2022-03-09 19:24:40 -05:00
andreas kainz
19715471c7 cleanup css vars
the following vars are not needed anymore
--gray-light-txt--color
--gray-light-bg-color
--gray-color

Signed-off-by: andreas kainz <kainz.a@gmail.com>
Change-Id: Ia23954e50629b60d3df50ea778c57de4e26bea88
2022-03-09 21:18:27 +01:00
Rizal Muttaqin
26df2eeef2 Remove extra white space
Update gear element

Signed-off-by: Rizal Muttaqin <riz_17_oke@yahoo.co.id>
Change-Id: I6e2293ca096ba45ce0dc1740ba2fc80c900e92ca
2022-03-09 20:44:42 +07:00
Szymon Kłos
878cfea7f5 autofilter: fix closing on out-of-popup click
fixes bug:
- open autofilter popup
- click somewhere outside to close it
- try to type something using keyboard to the cell

result: popup closed but cannot type, no jsdialog message about
        autofilter close in the browser console

button is not a valid type in jsdialog executor:
vcl/jsdialog/executor.cxx

Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: I73c256efbd5c72504540473f854c88b4e4813fdd
2022-03-09 12:46:43 +01:00
andreas kainz
ddb9317ab5 use var(--border-radius) instead of fixed px size
Signed-off-by: andreas kainz <kainz.a@gmail.com>
Change-Id: I77deb75387a75bcd569186a2eb042fd955313073
2022-03-09 07:15:57 +01:00
andreas kainz
be46ac6082 Mobile use var colors
input field use var colors

Signed-off-by: andreas kainz <kainz.a@gmail.com>
Change-Id: I747b3dcde814a9d473739341736946ed2e3c539a
2022-03-09 07:15:57 +01:00
Rizal Muttaqin
73496e99ae Synchronize icons with LibreOffice master
Signed-off-by: Rizal Muttaqin <riz_17_oke@yahoo.co.id>
Change-Id: Ie3496fd3de1128d96b560a8de437be144e4ba879
2022-03-09 07:19:36 +07:00
Rash419
3efcffb192 cypress: added open different LO files test for impress, writer and calc
impress: ppt, pptm, pot, potx, potm, ppsx, fodp
calc: xls, xla, xltx, xltm, xlsb, xlsm, fods
writer: doc, dot, dotx, dotm, docm, fodt

Signed-off-by: Rash419 <rashesh.padia@collabora.com>
Change-Id: Ib695e3f235acafd203c7041aecce319cd6efb285
2022-03-08 20:01:45 +05:30
Rash419
25ca214ea8 cypress:fix: coordinate based test failing
writer/shape_properties_spec.js
impress/scrolling_spec.js

Signed-off-by: Rash419 <rashesh.padia@collabora.com>
Change-Id: Ib576e9f4d90ec53dc21c2955d61e8ee85bd3e2ca
2022-03-08 18:29:15 +05:30
andreas kainz
513f94b72d Mobile combobox use font-size var
Signed-off-by: andreas kainz <kainz.a@gmail.com>
Change-Id: I4a44c775ee8fd0bbb55ed1b026ae22c37d3787c0
2022-03-08 08:33:48 +01:00
andreas kainz
dcda645ccd Mobile checkbox and radio button use var colors
Signed-off-by: andreas kainz <kainz.a@gmail.com>
Change-Id: I143bbff321917aad2a55085e7618653a83b385c2
2022-03-08 08:33:48 +01:00
andreas kainz
a188f4940a Mobile Treeview use var colors
Signed-off-by: andreas kainz <kainz.a@gmail.com>
Change-Id: Ia095548197210cf5165466a86f17b95e83139199
2022-03-08 08:33:48 +01:00
andreas kainz
b856cf9a45 Mobile Spreadsheet Tabs use var colors
Signed-off-by: andreas kainz <kainz.a@gmail.com>
Change-Id: I14776bca3619e670b347717b0af5494ac5ff008a
2022-03-08 08:33:48 +01:00
andreas kainz
4c12f8e878 Mobile Sidebar checkbox use var colors
Signed-off-by: andreas kainz <kainz.a@gmail.com>
Change-Id: I7c34ae58822a53898c6c5c04edca92baa117cac9
2022-03-08 08:33:48 +01:00
andreas kainz
194f497fad Mobile toolbar-down checked use var color
Signed-off-by: andreas kainz <kainz.a@gmail.com>
Change-Id: Iea1b5b5489861d1dff26beac3b279662de983119
2022-03-08 08:33:48 +01:00
andreas kainz
b1f9764969 Mobile Sidebar unobutton.selected use var color
use the same var colors than for the desktop

Signed-off-by: andreas kainz <kainz.a@gmail.com>
Change-Id: Ib95728312d00d1244859ccebbd635b8e9b5833d6
2022-03-08 08:33:48 +01:00
andreas kainz
4fcb0f6ef9 Mobile Spinfield use var colors
Spinfield use var color same as for the desktop

Signed-off-by: andreas kainz <kainz.a@gmail.com>
Change-Id: Ib9bc804f3bb31ff7d036979eb74db881dd8748dd
2022-03-08 08:33:48 +01:00
andreas kainz
8d350b2845 Mobile Search use var colors and is vertical aligned
Signed-off-by: andreas kainz <kainz.a@gmail.com>
Change-Id: I1e68d1d874b1d23820665abc1cadc76403092cad
2022-03-08 08:33:48 +01:00
andreas kainz
beda432906 Mobile comment and buttons use var colors
Signed-off-by: andreas kainz <kainz.a@gmail.com>
Change-Id: I7174352ecb32d09331c2ad24c124941c337248a7
2022-03-08 08:33:48 +01:00
andreas kainz
360a9f7559 Mobile color-container use var colors
Signed-off-by: andreas kainz <kainz.a@gmail.com>
Change-Id: Ie244e5e9ff482978d54a8d0aad2053c55cf0d451
2022-03-08 08:33:48 +01:00
andreas kainz
9bf7d6d3a7 Mobile combobox-text selected use var color
Signed-off-by: andreas kainz <kainz.a@gmail.com>
Change-Id: I44c8a38d38f4ec20f6531fdb22072972135274f8
2022-03-08 08:33:48 +01:00
andreas kainz
76b737210d Mobile combobox-text use var color
Signed-off-by: andreas kainz <kainz.a@gmail.com>
Change-Id: Ife66fc66872565eb5ca86a6986c96abc42ea3454
2022-03-08 08:33:48 +01:00
andreas kainz
aa4de2260a Mobile Sidebar Commands use var colors for popup sidebar
Signed-off-by: andreas kainz <kainz.a@gmail.com>
Change-Id: Ia2322cbac5650b9ed36b6966b0d0037340e44032
2022-03-08 08:33:48 +01:00
andreas kainz
601d0d82ea Mobile wizard-content use var colors
Signed-off-by: andreas kainz <kainz.a@gmail.com>
Change-Id: Ic5179d325b404fa2d8cb70e0ec53b3893a3ca3d6
2022-03-08 08:33:48 +01:00
andreas kainz
bce99709ec Mobile use --color-primary instead of #0b87e7
Signed-off-by: andreas kainz <kainz.a@gmail.com>
Change-Id: I95a4ddadd56b7aee97e2fbb8ba349aaca1bd4ed2
2022-03-08 08:33:48 +01:00
andreas kainz
8bf7f59cc2 Mobile toolbar-hamburger-menuwizard-opened correct height
correct height for mobile toolbar hamburger menuwizard-opened

Signed-off-by: andreas kainz <kainz.a@gmail.com>
Change-Id: Iba219cafa297f9a903cecc0afb235c72e7b7656f
2022-03-08 08:33:48 +01:00
andreas kainz
ac50c3c88c Toolbar down use correct border color and no border-radius
toolbar-down didn't need a border-radius
border color is --color-border

Signed-off-by: andreas kainz <kainz.a@gmail.com>
Change-Id: Iecc4ba85c33d1a535a43d0619097cd31cbea63bb
2022-03-08 08:33:48 +01:00
andreas kainz
e15683366a Mobile Sidebar update
primary colors use color from colibre icon theme

Signed-off-by: andreas kainz <kainz.a@gmail.com>
Change-Id: Iaf8eddbe4b66aebd00c7c0d1598bad8cdc4db988
2022-03-08 08:33:48 +01:00
Pedro Pinto Silva
0de538cbeb Fix insert comment dialog's avatar size
Avatar images was not aligned to its parent element and looked like it
was out of that parent "circle". A box size property was getting inherit
from generic vex style sheet
	-Make sure the box size of the parent avatar image:
	.cool-annotation-img is calculated with the width of any border or
	padding added to the final rendered width, making the element wider
	than 32px.

Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: Ia32c06fd6dea23feb431c2afbe9cdb591063a732
2022-03-07 14:20:24 +01:00
Szymon Kłos
774ace82e8 Check if needed anchor exist before use
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: Ib0b92889c422da7d766b0270a6618b5fde7299ca
2022-03-07 09:26:54 +01:00
andreas kainz
587317ac96 Sidebar Chart layout
if Sidebar last-child is first-child flex-end was not the rule

Signed-off-by: andreas kainz <kainz.a@gmail.com>
Change-Id: I9e7a744cf9b4d703bec33e39a30f4ab31d2160f9
2022-03-06 01:12:00 +01:00
andreas kainz
37c73d0c44 Sidebar Shadow Section fix width
define the width of the shadow sidebar section
to make the widgets right aligned.

Signed-off-by: andreas kainz <kainz.a@gmail.com>
Change-Id: Ifd371e15f78fb62434a71367943d554c8a10a92c
2022-03-06 01:12:00 +01:00
andreas kainz
d2dbca7ec1 Sidebar Calc Number Format align widgets reduce hardcoded stuff
Align widgets to the right
add some left positioning for some widgets
and done

Signed-off-by: andreas kainz <kainz.a@gmail.com>
Change-Id: I64936c644ed1bcba47c0a12f9a2df45b56abce6e
2022-03-06 01:12:00 +01:00
andreas kainz
1f9a1cb59b Sidebar Table Paragraph vertical align commands one row
with additional 2px .sidebar.jsdialog.cell width
the vertical alignment cell and paragraph commands
can stay within one row and no new table-row is needed

result no jumping UI

Signed-off-by: andreas kainz <kainz.a@gmail.com>
Change-Id: Ibd543d0c35778485ff07b013af52e2c6aa401457
2022-03-06 01:12:00 +01:00
andreas kainz
33b38a3b2a Sidebar Table css Fixes
Sidebar Writer Table
- first column width was defined to fix vertical alignment
- Row height / Column width widget was moved to be vertical aligned
  with indent paragraph widgets
- buttons moved up to have a similar layout than in paragraph
  spacing / indent

Signed-off-by: andreas kainz <kainz.a@gmail.com>
Change-Id: I6f41b25c79650781087821473d15edac253a47ab
2022-03-06 01:12:00 +01:00
andreas kainz
c0f09ea369 Sidebar css Fixes
Paragraph Section
- add justify-content: space-between;
- remove hardcoded position: relative
- remote hardcoded margin-top

perfect horizontal and vertical alignment
for spacing and indent

Signed-off-by: andreas kainz <kainz.a@gmail.com>
Change-Id: If6182bf5a4d46f9936dc260707e9ae12988fc8da
2022-03-06 01:12:00 +01:00
andreas kainz
0e5f7b531d Contextmenu add Dialog commands
the following commands will popup an dialog:
- CompressGraphic
- GraphicDialog
- InsertCaptionDialog
- FontDialog
- FontDialogForParagraph
- TableDialog

Signed-off-by: andreas kainz <kainz.a@gmail.com>
Change-Id: I824e883f2ea8979edf7a752e267acf76c0e29d4b
2022-03-04 16:57:36 +01:00
Andras Timar
fd7726b6eb fix -Werror=unused-parameter
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I38ec47a4011c27674a527f69242ebf0c333db503
2022-03-04 13:07:37 +01:00
Szymon Kłos
c49d0d594f autofilter: dont scale header width
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: I9abe2f4711b3369e04c4dca3092ede6667cd9f16
2022-03-04 12:29:55 +01:00
Szymon Kłos
682683a14a autofilter: fix RTL spreadsheet case (lating lang)
in this case we have headers on the right so no need
to offset horizontally from left

Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: I8beeef2e1e67804c90277046ef19a453318d2d92
2022-03-04 12:29:55 +01:00
Szymon Kłos
d5f9e622a9 autofilter: use gridwindow instead of screen offset
core is adjusted to send offset for autofilter popup
related to gridwindow (spreadsheet area) instead of
absolute screen coordinates - what helps to simplify
code.

Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: If011451513c80902fc436116528e2e21a929b42c
2022-03-04 12:29:55 +01:00
Michael Meeks
6548759fde replay: re-connect after a timeout for various errors.
Change-Id: I06cb01a0ab826b5723e634bb03e1bca6d99c4db2
Signed-off-by: Michael Meeks <michael.meeks@collabora.com>
2022-03-04 10:06:33 +00:00
Michael Meeks
42f565faf7 add $ make stress
Change-Id: I7da764b711f1a143ee67ef7a2f48fc34e3d17487
Signed-off-by: Michael Meeks <michael.meeks@collabora.com>
2022-03-04 10:06:33 +00:00
Rash419
3fab3a1b52 wsd: remote-config: handle null pointer exception when JSON format is not proper
Signed-off-by: Rash419 <rashesh.padia@collabora.com>
Change-Id: Ia3a8aa6340fde13b5d73c69b187b3333b6df88e0
2022-03-04 15:02:41 +05:30
andreas kainz
8ab19d63dc Sidebar Left Text Alignment
Header Text and Section Text are left aligned
so each String start with the same space from the left
sidebar border

Signed-off-by: andreas kainz <kainz.a@gmail.com>
Change-Id: I99841388f23bdb7f7493611c96689f3455999a5a
2022-03-04 07:16:16 +01:00