Commit graph

17694 commits

Author SHA1 Message Date
Mert Tumer
e72e73e0ec fix switching to masterpage does not update the page
Signed-off-by: Mert Tumer <mert.tumer@collabora.com>
Change-Id: I680eb4bb330da9235f40db6045838249199dd155
2022-03-10 15:06:52 +01:00
Rash419
4853e46428 cypress:fix: writer/undo_redo_spec.js
Signed-off-by: Rash419 <rashesh.padia@collabora.com>
Change-Id: I03d1f0ded1c177838bd493f11778ee1d4d8c542e
2022-03-10 16:11:05 +05:30
andreas kainz
4f362a464c Leaflet anchor-marker use var colors
Signed-off-by: andreas kainz <kainz.a@gmail.com>
Change-Id: I542b826f25efd7a4fcc60028a2eab938043c2da5
2022-03-10 10:23:27 +01:00
andreas kainz
69a0ff7105 Leaflet use var colors
leaflet-popup dialog use var colors

Signed-off-by: andreas kainz <kainz.a@gmail.com>
Change-Id: Ibc8a0a2ca2ff63dc0bc66613a202959288a331d1
2022-03-10 10:23:27 +01:00
andreas kainz
d33b5b5f92 vex dialog use var(--color-box-shadow) for dialog shadow
Signed-off-by: andreas kainz <kainz.a@gmail.com>
Change-Id: I4358567f9a37df6c97e544be3f53329cd138890d
2022-03-10 09:06:29 +01:00
andreas kainz
06bd2b9bc9 vex dialog close button is bigger and easier to grap
Signed-off-by: andreas kainz <kainz.a@gmail.com>
Change-Id: Iac201d815782d96cab872a9415218c8a5c384ed4
2022-03-10 09:06:29 +01:00
andreas kainz
f2aeb8e042 Use Var colors
shortcut dialog
- use var colors

Signed-off-by: andreas kainz <kainz.a@gmail.com>
Change-Id: Ibaa0a3166971378186aeb684ee250340c85df3ad
2022-03-10 09:06:29 +01:00
Ashod Nakashian
cfca251654 wsd: test: faster unit-test execution
All tests are now ordered to minimize
the time paralell runs take. And the
two longest-running tests are augmented
to take less time. They still take about
20x longer than the fast test, but they
do serve a purpose and we have 50+ other
tests to go through in parallel.

Total time is not much longer than the
longest test with -j8, at around 150
seconds, give or take, on an 8 core,
16 thread CPU.

Duplication in Makefile.am is reduced
with some minor clean ups.

Change-Id: I14530531485bf85d8b59e476aa933e5b2cc26c93
Signed-off-by: Ashod Nakashian <ashod.nakashian@collabora.co.uk>
2022-03-09 19:24:40 -05:00
Ashod Nakashian
6da32684ca browser: mocha: hide the test results when successful
This reduces clutter on the screen when there is
nothing to pay attention to. The full output is
still captured in mocha.log with the full path
printed in the make output.

Upon failure of any mocha test the output is
unchanged: the full output is printed to stdout.

Change-Id: I8d73d88be84852bb209eda63a3bb03c040be8f13
Signed-off-by: Ashod Nakashian <ashod.nakashian@collabora.co.uk>
2022-03-09 19:24:40 -05:00
Ashod Nakashian
d1a1c7fb1c wsd: test: reduce output from the test driver
Consolidate and reduce the messages printed
on stdout in the test driver, which also
makes interleaving the messages from
different tests less problematic.

Test output is more concise and cleaner now.

Change-Id: I4bb0de852a935614ebc3d9e663c5454cb10e404f
Signed-off-by: Ashod Nakashian <ashod.nakashian@collabora.co.uk>
2022-03-09 19:24:40 -05:00
Ashod Nakashian
88e03a47d3 wsd: support new clang versions for fuzzing
Now we choose static-libasan vs static-libsan
at configuration time, dynamically. This
enables supporting post clang-9 releases
which do not have libasan.

In addition, clang warns about the order
and visibility of operator<< for the chrono
types. Those are fixed to.

Change-Id: I17f5fc4b3e34464194ad686542935c9f596366e4
Signed-off-by: Ashod Nakashian <ashod.nakashian@collabora.co.uk>
2022-03-09 19:24:40 -05:00
Ashod Nakashian
a4b798c9f5 wsd: test: extend tile test timeout
Change-Id: I3ce128ca96b394e20dc6ad7b3179e786302128ca
Signed-off-by: Ashod Nakashian <ashod.nakashian@collabora.co.uk>
2022-03-09 19:24:40 -05:00
Ashod Nakashian
31ff5bbcac wsd: test: assert forced uploading when expected
Change-Id: I17f83a010b71fca13d325e298760c4107fb1a39a
Signed-off-by: Ashod Nakashian <ashod.nakashian@collabora.co.uk>
2022-03-09 19:24:40 -05:00
Ashod Nakashian
02f2860847 wsd: test: assert correct wopi GetFile and PutFile
Change-Id: I7e08d87eb382d67aed3ffaff32230e2c08d8c828
Signed-off-by: Ashod Nakashian <ashod.nakashian@collabora.co.uk>
2022-03-09 19:24:40 -05:00
Ashod Nakashian
e8319423b4 wsd: test: enable all conflict test scenarios
Change-Id: Ic1ae6804e90c99dfa0a8607a0d0d769a45353325
Signed-off-by: Ashod Nakashian <ashod.nakashian@collabora.co.uk>
2022-03-09 19:24:40 -05:00
Ashod Nakashian
b90638d436 wsd: test: ingest the doc content only when PutFile succeeds
Change-Id: I4d4accba34c2883b1cb4d6d43a40c89d2eb8a48f
Signed-off-by: Ashod Nakashian <ashod.nakashian@collabora.co.uk>
2022-03-09 19:24:40 -05:00
Ashod Nakashian
6b0d550b5b wsd: test: validate the number of wopi requests
We track the number of wopi requests done
during tests and compare with the expected,
in each test scenario. This ensures we don't
miss any expected/required wopi operation,
but also that we don't do more than the
necessary minimum.

Change-Id: I2474f54987a6a12c396b6c0566324772ee3300e6
Signed-off-by: Ashod Nakashian <ashod.nakashian@collabora.co.uk>
2022-03-09 19:24:40 -05:00
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