Commit graph

491325 commits

Author SHA1 Message Date
Michael Weghorn
fbca561b97 tdf#124480 android: Drop unused icons
Change-Id: I811d9190c0c163db93ec981855f735d47e071cbc
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/160071
Tested-by: Jenkins
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
2023-11-30 12:16:34 +01:00
Michael Weghorn
26d06d6c88 tdf#124480 android: Override icon color for dark theme
Add a `values-night/colors.xml` that can be used to
override the colors specified in `values/colors.xml`
specifically for the dark theme.

Specify a light color for `toolbar_foreground`,
which is the color used for (most) toolbar icons,
both for the top-level as well as the bottom
toolbar.

This makes most icons show up in proper contrast
when using dark mode. Others are not making use of
the color defined here and will have to be looked
into separately.

Change-Id: Ic699fd1cecc607bd5e748648113336fe045e72b1
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/160070
Tested-by: Jenkins
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
2023-11-30 12:16:27 +01:00
Michael Weghorn
84996f452f tdf#124480 android: Use theme bg color for bottom toolbars
Instead of hard-coding the background color
for the 2 toolbars shown at the bottom
(`toolbar_bottom` and the color picker), use
"colorPrimary" from the theme.

Stop overriding "colorPrimary" in
`LibreOfficeTheme.Toolbar`, which would otherwise
result in a hard-coded white color being used again.

This makes those toolbars show up in a darker color
when dark theme is enabled.

Stop hard-coding the font color of the items in
the "Style" tab in the bottom toolbar to black, but
use the primary font color instead, so a light color
is automatically used when using the dark theme.

Change-Id: Ib09ca47e8695903cdfa9f4eb100dc88ecae652a3
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/160069
Tested-by: Jenkins
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
2023-11-30 12:16:17 +01:00
Michael Weghorn
d82a9cb8d6 tdf#124480 android: Support dark theme
Support dark theme by inheriting from the
corresponding "AppCompat.DayNight" themes rather than
forcing the use of a light theme by using the
"AppCompat.Light" variants, s.a. [1].

With this in place, the app will automatically use a
dark theme for the Android UI controls when that's
enabled in the Android system settings.

Toolbars and menus mostly look as expected.
The bottom toolbar will be handled separately.
Icons will also have to be adapted in a follow-up
step to provide for better contrast, since they're
currently designed for light mode/white background.

[1] https://developer.android.com/develop/ui/views/theming/darktheme#themes-styles

Change-Id: Ia08edcc9d22b93caa67b146dcf90ee5fd02ee550
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/160068
Tested-by: Jenkins
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
2023-11-30 12:16:10 +01:00
Michael Weghorn
9e7df5bdf2 tdf#124480 android: Replace hard-coded bg color with themeable one
or drop explicitly setting background color where the
one from the parent widget should be used.

See also
https://developer.android.com/develop/ui/views/theming/darktheme#themes-styles

Change-Id: I21dc4b7c45e2cc5add96d603abe5e781d4e09992
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/160067
Tested-by: Jenkins
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
2023-11-30 12:16:02 +01:00
Michael Weghorn
10cdb83428 tdf#124480 android: Use MaterialToolbar and drop manual bg color
This ensures these 2 toolbars will also use the correct color
in dark mode once support for that is added in a subsequent
commit.

Change-Id: Idcea5096c4e4bdf8ddc6b28df0fc6df05074980b
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/160066
Tested-by: Jenkins
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
2023-11-30 12:15:54 +01:00
Xisco Fauli
3f22de75b3 Update git submodules
* Update translations from branch 'master'
  to 994b9356742bd38a188a376d41fca1bd9d0fa396
  - update translations for master
    
    and force-fix errors using pocheck
    
    Change-Id: I0f72d1c24f7afc10c6e48b7c6eb8cac811c7a325
2023-11-30 11:55:45 +01:00
Heiko Tietze
48ba98a51f Resolves tdf#158412 - Don't show chevron in quick find bar
Change-Id: I50f0bb7d8a406b77baccc626ca99b656d170ecf1
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/160093
Tested-by: Jenkins
Reviewed-by: Heiko Tietze <heiko.tietze@documentfoundation.org>
2023-11-30 11:41:38 +01:00
Heiko Tietze
fe946f86ad Bump Glade version
Change-Id: If440010790e170fa1c88b8cbdef5f7eaa3efd686
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/160108
Tested-by: Jenkins
Reviewed-by: Heiko Tietze <heiko.tietze@documentfoundation.org>
2023-11-30 11:40:59 +01:00
Caolán McNamara
aa0604e81d cppunit test for notification of note position changes on row/col changes
Change-Id: I32ed5cd249400f71903e7aa848ba63d03abbd9b2
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/160139
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
2023-11-30 11:38:46 +01:00
Caolán McNamara
d9e9caf2ea No kit notification of note position changes on insert/delete row
while there is for insert/delete col.

Inserting/Deleting a column will explicitly update comments as part of a
bulk operation and block the drawing layer from updating any existing
captions before that. A side-effect of this is that the note captions
are generated for all comments in the moved cols when this happens.

While with a row the drawing layer is allowed update existing caption
positions and doesn't generate any new captions.

Presumably there's a missed optimization for insert/delete cols to
not generate extra captions that didn't exist before the change, but
leave that aside for now and add a UpdateNoteCaptions that just
notifies of note position changes when rows are inserted/deleted and
continue to piggy back on the note caption update for insert/delete
cols.

Change-Id: I4d76d15aee1de9ea5553e90b2051354bce02b1db
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/160138
Tested-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
2023-11-30 11:38:39 +01:00
Stephan Bergmann
baf36dc7ca Extended loplugin:ostr: hwpfilter
Change-Id: I1cd5359c192897d3d497eec977de10cedcc8f7b2
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/160120
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <stephan.bergmann@allotropia.de>
2023-11-30 09:53:24 +01:00
Stephan Bergmann
f20425e6de Extended loplugin:ostr: oox
Change-Id: Ie6db1edbad5305e4935a9fdc03dab36861bf2c8a
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/160112
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <stephan.bergmann@allotropia.de>
2023-11-30 09:53:07 +01:00
Stephan Bergmann
a492775fe2 Extended loplugin:ostr: i18nlangtag
Change-Id: I9e5b989f0508d1479572523ab6929828f0f1b85f
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/160119
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <stephan.bergmann@allotropia.de>
2023-11-30 09:00:14 +01:00
Stephan Bergmann
52a8d560d8 Extended loplugin:ostr: l10ntools
Change-Id: I259867d548c3a6b5322d38584270a325b93f1776
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/160117
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <stephan.bergmann@allotropia.de>
2023-11-30 09:00:00 +01:00
Stephan Bergmann
bc012f13d5 Extended loplugin:ostr: codemaker
Change-Id: I7addfbde8ee8603eb8ca692debb2ac369347c6c7
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/160127
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <stephan.bergmann@allotropia.de>
2023-11-30 08:59:49 +01:00
László Németh
93ab1bc6be tdf#158419 sw: revert lost unit test testOfz64109
which was removed accidentally by commit 20cbe88ce5
"tdf#119908 tdf#158419 sw smart justify: fix cursor position".

Change-Id: Ia96d9d8d8980dbf05aaa58d454e2d9b568555d81
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/160129
Tested-by: Jenkins
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
2023-11-30 08:35:03 +01:00
Miklos Vajna
eb077be775 CppunitTest_sw_ww8import: avoid external fonts
- sw/qa/extras/ww8import/data/tdf124601.doc:
  - replace 'Open Sans Light' with 'Noto Sans'
  - replace 'Open Sans' with 'Noto Sans'

Change-Id: I3f3018d9d2a216b8ddb1d26cab845b27f0f7e9f2
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/160128
Tested-by: Jenkins
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
2023-11-30 08:26:39 +01:00
Noel Grandin
1932a549b2 use more SwTwips in CalcSpacing
Change-Id: Ic7409c2993014f97531f3d77533cf7a82712707a
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/160122
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2023-11-30 07:01:43 +01:00
DaeHyun Sung
f86f7f6e15 Update git submodules
* Update dictionaries from branch 'master'
  to fa49c03d49f52ea0efc9adf589ff707433878d53
  - Update the Korean Dictionaries: ko-KR
    
    Update Korean dictionary file (ko_KR.dic) by DaeHyun Sung (2023.05.14)
    Also, update readme description
    
    Change-Id: Iebaad8c33d8a94bfa4e7427c0a3d218ea4d7c109
    Reviewed-on: https://gerrit.libreoffice.org/c/dictionaries/+/151732
    Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
    Tested-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
2023-11-30 06:46:54 +01:00
Kevin Suo
34fe1610cb Sync LC_OutLineNumberingLevel of zh-CN with en-US locale
The previous order makes the UI tooltip does not match with the
numbering style shown, per tdf#148023.

Also add a commonly used Chinese-specific outline numbering style.
The other old styles with the Chapters and Sections etc are removed
because they are useless.

Change-Id: I585cd0e704af35125c7c38561f500e83f1a465dd
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/160081
Tested-by: Jenkins
Reviewed-by: Kevin Suo <suokunlong@126.com>
2023-11-30 02:52:27 +01:00
Kevin Suo
6fffa9fdf2 tdf#152583 follow-up: Sync LC_NumberingLevel of zh-CN with en-US locale
The previous order makes the UI tooltip does not match with the
numbering style shown, per tdf#148023.

Also re-arrange the remaining Chinese-specific styles to make the most
commonly used ones come first.

Change-Id: I913180b1ca385e8a604b16b63ebfa130aca059c4
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/160080
Tested-by: Jenkins
Reviewed-by: Kevin Suo <suokunlong@126.com>
2023-11-30 02:52:03 +01:00
Patrick Luby
3b942f6efa Related: tdf#155092 translate Y coordinate for height differences
When in live resize, the NSView's height may have changed before
the CGLayer has been resized. This causes the CGLayer's content
to be drawn just above or below the top left corner of the view
so translate the Y coordinate by any difference between the
NSView's height and the CGLayer's height.

Change-Id: Iac13fa8374977e098f8311c55e182ef5a5ebec30
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/160131
Tested-by: Jenkins
Reviewed-by: Patrick Luby <plubius@libreoffice.org>
2023-11-30 01:10:36 +01:00
Eike Rathke
0c3f57487c Resolves: tdf#158265 Store more than 100th seconds precision in date+time
e.g. office:date-value

Change-Id: I9bb4b589cdb8c6f04fa39ba7ec4254207eaa3663
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/160124
Reviewed-by: Eike Rathke <erack@redhat.com>
Tested-by: Jenkins
2023-11-29 23:56:53 +01:00
Stephan Bergmann
79e8833305 Extended loplugin:ostr: comphelper
Change-Id: I43baf9248f607b13720da4295eb2827b3f58b3f1
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/160126
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <stephan.bergmann@allotropia.de>
2023-11-29 23:23:45 +01:00
Stephan Bergmann
02fd70fb1c Extended loplugin:ostr: connectivity
Change-Id: Ibbfb8945754713721c4e9ab9d8015c111c1307be
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/160125
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <stephan.bergmann@allotropia.de>
2023-11-29 22:58:41 +01:00
Stephan Bergmann
83a5eedb70 Extended loplugin:ostr: desktop
Change-Id: I4d61b086c2152fec137fd979677729647bb6fd16
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/160123
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <stephan.bergmann@allotropia.de>
2023-11-29 22:58:26 +01:00
Gülşah Köse
c9bae2d26e Online: Put the image width height info into json.
When online's image render is delayed we don't have any image size info
so getting 0x0. To show better result we need that info into message.

Signed-off-by: Gülşah Köse <gulsah.kose@collabora.com>
Change-Id: I28f345cdd64de5fa47b3b1054330e606e7b32f03
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/160106
Tested-by: Jenkins
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
2023-11-29 22:28:50 +01:00
Stephan Bergmann
966bf32c4f Extended loplugin:ostr: filter
Change-Id: I900c7e070f9830b3da1dbcce75d418a75652d1ef
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/160121
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <stephan.bergmann@allotropia.de>
2023-11-29 22:08:20 +01:00
Stephan Bergmann
44ddd6e586 Extended loplugin:ostr: sdext
Change-Id: I0f3e683c4cf3ebb22c003c481169468722ab9e6e
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/160101
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <stephan.bergmann@allotropia.de>
2023-11-29 22:07:39 +01:00
Caolán McNamara
5cfca59146 backport skia "Avoid combining extremely large meshes" fix
Change-Id: Iaedd03ba4014b133bc28a4b0a6a7b6aaaaa39a97
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/160114
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
2023-11-29 22:03:18 +01:00
Stephan Bergmann
19ea4aaddc Extended loplugin:ostr: i18nutil
Change-Id: I9d7ab34967229087e4fa52b6714b6b75d6c4d196
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/160118
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <stephan.bergmann@allotropia.de>
2023-11-29 21:37:25 +01:00
Henry Castro
3275f57221 sc: qa: add unit test "testBackColorFilter"
Change-Id: Icdccd6778d1157bb31f38b510a58562a640bdeae
Signed-off-by: Henry Castro <hcastro@collabora.com>
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/159929
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/160089
Tested-by: Jenkins
2023-11-29 20:54:34 +01:00
Stephan Bergmann
24cc5f55a0 Extended loplugin:ostr: ucb
Change-Id: If6f818506ef7a596a6ea3af4185859b09c6d4d75
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/160096
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <stephan.bergmann@allotropia.de>
2023-11-29 20:00:04 +01:00
Stephan Bergmann
f4ce98bd1a Extended loplugin:ostr: sc
Change-Id: I2b69249d6e0e35945e37e04ea885bb8ab3e781f1
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/160103
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <stephan.bergmann@allotropia.de>
2023-11-29 19:59:49 +01:00
Stephan Bergmann
9bccf92aba Extended loplugin:ostr: sal
Change-Id: Ieca8096e2af9615fa4c34557a47bc13ee5c23936
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/160105
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <stephan.bergmann@allotropia.de>
2023-11-29 19:38:09 +01:00
Stephan Bergmann
692a116c27 Extended loplugin:ostr: xmlhelp
Change-Id: Ic8247396b1cd2152cdac6e3728d1828bea6f452c
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/160094
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <stephan.bergmann@allotropia.de>
2023-11-29 19:37:57 +01:00
Stephan Bergmann
2c1e01b225 Extended loplugin:ostr: sw
Change-Id: Ie3ceb8d4b939a652d09cc9cf02b78e65093c8fcf
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/160099
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <stephan.bergmann@allotropia.de>
2023-11-29 19:13:13 +01:00
Stephan Bergmann
cb7dc5a0cf Extended loplugin:ostr: svx
Change-Id: Ia3ff6c27bdb4c59fa20c976c4ca4cdee12f1c91c
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/160100
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <stephan.bergmann@allotropia.de>
2023-11-29 18:02:06 +01:00
Stephan Bergmann
e35d67b490 Extended loplugin:ostr: vcl
Change-Id: Ia9e958deec9716e38381a027451d5ee821efe23d
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/160095
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <stephan.bergmann@allotropia.de>
2023-11-29 18:01:54 +01:00
Stephan Bergmann
93a2d90ee0 Extended loplugin:ostr: test
Change-Id: I75974611446486415c8b19b3723761ab1bb46c74
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/160098
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <stephan.bergmann@allotropia.de>
2023-11-29 17:56:29 +01:00
Stephan Bergmann
b5ef7455a6 Extended loplugin:ostr: sd
Change-Id: If78b217698bd63895c6466744495ee22be8debc6
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/160102
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <stephan.bergmann@allotropia.de>
2023-11-29 17:43:19 +01:00
Stephan Bergmann
1e6cb9302d Extended loplugin:ostr: sax
Change-Id: I7ee95e170b09a5a6765042ede50218332a822c7d
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/160104
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <stephan.bergmann@allotropia.de>
2023-11-29 17:43:08 +01:00
Andrea Gelmini
15ea67e549 Remove duplicated include
Change-Id: Ieea181852d18be586d50b049c46f2bdc4324183f
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/160092
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Tested-by: Jenkins
2023-11-29 16:49:46 +01:00
Stephan Bergmann
3bc5f0a38a Extended loplugin:ostr: tools
Change-Id: I7a585370b7d2a8021b733984e605cae8cc92c774
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/160097
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <stephan.bergmann@allotropia.de>
2023-11-29 16:40:53 +01:00
Andrea Gelmini
828f3b9a24 Fix typo
Change-Id: Ib7a9d442c90f628b9d82e7e714c1c59dc576b891
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/160091
Tested-by: Julien Nabet <serval2412@yahoo.fr>
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2023-11-29 14:56:37 +01:00
Andrea Gelmini
8bf1fbd202 Fix typo
Change-Id: I1ca85b9f1424df5432c76d08280b9dba3e01d2dc
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/160090
Tested-by: Julien Nabet <serval2412@yahoo.fr>
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2023-11-29 14:54:52 +01:00
Stanislav Horacek
de267598a6 Update git submodules
* Update helpcontent2 from branch 'master'
  to 6c2b0a0e7c74c629ee248244fbf083314e076bd8
  - mark method syntax as untranslatable
    
    Change-Id: I0740ba3e65dc5c4d6050d2a56521cbd994700eca
    Reviewed-on: https://gerrit.libreoffice.org/c/help/+/160062
    Tested-by: Jenkins
    Reviewed-by: Alain Romedenne <alain.romedenne@libreoffice.org>
2023-11-29 13:41:36 +01:00
Stéphane Guillou
17b03ab7da Update git submodules
* Update helpcontent2 from branch 'master'
  to 0f2ed56c7a3e1b11a2498b62fa14fa596438b3c8
  - Code Completion requires Use Extended Types
    
    even though it is mentioned in the last section.
    Also, fix two typos.
    
    Change-Id: I2ccc2b6f1cd5bab7975ae151a29b7477af8e3c83
    Reviewed-on: https://gerrit.libreoffice.org/c/help/+/160033
    Tested-by: Jenkins
    Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2023-11-29 12:42:36 +01:00
Henry Castro
8b2369236d sc: fix back color filter entries
The function "GetFilterEntries" iterates only that contains cell
data value entries, the background color filter feature requires
to iterate background color attribute which is not stored in multi
type vector cells.

Signed-off-by: Henry Castro <hcastro@collabora.com>
Change-Id: I372db48d2399f62712f642eefdbfea8885b09f58
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/159864
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
(cherry picked from commit 826eae4609)
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/159905
Tested-by: Jenkins
2023-11-29 12:05:25 +01:00