Commit graph

500095 commits

Author SHA1 Message Date
Noel Grandin
a9dcb13707 use more concrete UNO types in reportdesign
Change-Id: I30e391c1d5166ad24e129a20db1d7403644f8791
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/174315
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2024-10-01 15:17:42 +02:00
Mike Kaganski
d5c0b3f93d tdf#163230: make loop control hack more specific
Commit 0c49aa58cf (tdf#161508: add
another loop control hack, 2024-06-11) only checked the frame area
sizes and positions, but ignores the "valid" frags. It turns out,
that these flags also needed when checking the loop condition.

Change-Id: If155f2424b9a02cad6bf6d5c931dfccfb110d4c4
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/174310
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2024-10-01 14:38:27 +02:00
Michael Stahl
5f191abb7b sw: fix hyphenation dependencies of CppunitTests
testTdf123898 fails locally but passes on Jenkins, because in Jenkins
builds the hyphenation data doesn't exist yet (as verified by a
CPPUNIT_ASSERT(xHyphenator->hasLocale(lang::Locale("de", "DE", OUString())))
in first revision of this patch.

Add makefile dependencies to all sw tests that call hasLocale().

The test still needs to check though in case --without-myspell-dicts is
used.

Failure looks ignorable, adapt the test:

 Test name: (anonymous namespace)::testTdf123898::TestBody
 equality assertion failed
 - Expected: PortionType::Para
 - Actual  : PortionType::Text

Change-Id: Iaa94e248b01f7bab7f8451f6b0ff08a7d0a8e9b6
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/168669
Tested-by: Jenkins
Reviewed-by: Michael Stahl <michael.stahl@allotropia.de>
2024-10-01 14:15:17 +02:00
Noel Grandin
c77d656806 simplify
Change-Id: I8ff1c3c333b2a44871150da3929501dec00613e2
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/174313
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2024-10-01 14:03:12 +02:00
Miklos Vajna
298c2d5c8a cool#9992 lok doc sign: update sign status after modify the list of trusted CAs
Load a document, sign it, "green" icon on the status bar. Reload the
document, turns into a "yellow" icon saying the CA is not trusted, when
it was already trusted before.

The trouble is that the document signature status is calculated on load,
and the CA to be trusted is only given later, as part of the
initialization of the LOK view.

Fix the problem by invalidating the signature state when a new CA is
trusted.

The test document was produced by signing an empty document using the
keys from xmlsecurity/qa/xmlsec/data/, which gives us a way to create a
signature that is initially not trusted.

Change-Id: I1e1dbf616ce54c4823d62104f838342de6870f52
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/174307
Tested-by: Jenkins
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
2024-10-01 12:31:48 +02:00
Christian Lohmaier
0a3e1df7af also set TMP in addition to TMPDIR
primarily for Windows where unittests also use Windows' GetTempPathW
function that prefers TMP over TEMP over USERPROFILE over the windows
directory/doesn't respect TMPDIR

Unittests not using TMPDIR is annoying since bitdefender will block
access on some CVE tests. While you can create "dev drives" now that
also allow you to disable AV-scanning permanently on those, that of
course won't help when the files are created outside the devdrive/in the
default temporary directory.

Using TEMPDIR allows to specify the dir in autogen.input and the user
won't have to add the regular temp-dir to AV-exclusions or remember to
always disable the real-time-scanning before starting a build.

Change-Id: I47349e4318e8de99e45961a4989975cf4081fc07
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/174267
Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
Tested-by: Jenkins
2024-10-01 11:36:48 +02:00
Noel Grandin
89aef7ec59 TRANSFER_ACCESSINGROOT is unused
since
    commit 03b2320067
    Author: Jens-Heiner Rechtien <hr@openoffice.org>
    Date:   Mon May 10 13:20:50 2004 +0000
    INTEGRATION: CWS relocinst (1.30.68); FILE MERGED

Change-Id: I01ad2cc00526cd4308aec9cbddcee3ef97baddd8
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/174304
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Tested-by: Jenkins
2024-10-01 11:17:28 +02:00
Noel Grandin
1683847f0f loplugin:constantparam
Change-Id: Ibf1f8b8c01333f87f8e8cd73ccb0d62f30fbcd2b
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/174303
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2024-10-01 11:17:19 +02:00
Noel Grandin
6fdad72372 loplugin:constantparam
Change-Id: I81c9647ec7166ba429f6f58e3bd86b3a5ee4848f
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/174302
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2024-10-01 11:17:11 +02:00
Noel Grandin
0210aac7f9 loplugin:constantparam
Change-Id: I114331d1cb7860087d5f5bee77af771e537b0616
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/174301
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2024-10-01 11:17:03 +02:00
Noel Grandin
3bffef8f40 PaintSwFrame is always called with a nullptr for pPrintData
ever since
    commit 3735d43955
    Author: Gabor Kelemen <gabor.kelemen.extern@allotropia.de>
    Date:   Wed Jun 5 09:14:23 2024 +0200
    tdf#161340 Revert partially 6cdf523f17

Change-Id: I2f01ad09e6d0f758ff4e51be96008e93750e9f8a
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/174300
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Tested-by: Jenkins
2024-10-01 11:16:55 +02:00
Noel Grandin
c8734eddf4 loplugin:singlevalfields
Change-Id: I8f844c40dcb48737d95a3004cd7e8c730656d955
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/174299
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2024-10-01 11:16:47 +02:00
Noel Grandin
a6f1841aed loplugin:unusedmethods
Change-Id: I3897ccb3349874672b778835b9c15642cb1a14f7
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/174298
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2024-10-01 11:16:39 +02:00
Noel Grandin
73637f83ee loplugin:unusedmethods
Change-Id: I121a0e1323df7b6669f496ad63d771df8f76b429
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/174297
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Tested-by: Jenkins
2024-10-01 11:16:30 +02:00
Noel Grandin
6b72343010 loplugin:unusedmethods
Change-Id: I6c6073e139f573f1680a7e9e52e95a221c9805b6
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/174296
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2024-10-01 11:16:21 +02:00
Noel Grandin
7ccad64046 loplugin:unusedfields
Change-Id: I391bcae0c8491a17c57083e1375c8ed50d72ee9f
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/174295
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2024-10-01 11:16:12 +02:00
Noel Grandin
9a2f11cc1f cid#1607861 Data race condition
Change-Id: Ib58f6613b98b2b778c9894359fe92b6fcf33298d
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/174293
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2024-10-01 11:16:00 +02:00
Noel Grandin
ccef1a40d4 cid#1607958 Data race condition
Change-Id: I1d5d0c9eae073f69e4308163dcc62371c31e0d78
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/174292
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Tested-by: Jenkins
2024-10-01 11:15:52 +02:00
Noel Grandin
e9d1abc0b0 cid#1608000 Data race condition
just remove the mutex, this class is only ever accessed from one
thread

Change-Id: I7c088c0cb33d21513a5566ae65f663877d829072
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/174291
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2024-10-01 11:15:44 +02:00
Noel Grandin
21e2158fa1 remove unnecessary null checks
Change-Id: I73805881eef49fc6886f7f4fbc212da3aac1fd6f
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/174290
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2024-10-01 11:15:37 +02:00
Noel Grandin
5c7b565fa8 cid#1608069 Data race condition
just remove the mutex, this class is only ever accessed from one
thread

Change-Id: Ie2b42a6a141676ee4cb14549d44f15fd55194aaf
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/174289
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2024-10-01 11:15:29 +02:00
Armin Le Grand (allotropia)
a57c9e1aca CairoSDPR: Support direct RGBA for convertToBitmapEx
Added general interfaces to be able to render directly
to an RGBA target SDPR:

- processor2d::createPixelProcessor2DFromScratch creates
  a target-SDPR with given pixel size and RGB or RGBA,
  owning and using a cairo surface internally
- processor2d::extractBitmapExFromBaseProcessor2D extracts
  rendered content to BitmapEx, including alpha

All this is currently only implemented for Ciaro, thus
the internal impls are encapsulated by USE_HEADLESS_CODE,
but already created gererally available. The return values
have to be checked to see if an evtl. shortcut is possible.

For convertToBitmapEx this means that it can do conversions
much faster than up to now for cairo when CairoSDPR is
available, else it has to to the older slower way that
also works and is the default: Create RGB content, create
Mask, RemoveBlendedStartColor (see convertToBitmapEx
implementation). This works and has the same quality,
but needs two renderings and one bitmap operation, thus
is clearly slower.

Note that these interfaces can and will be supported for
other SDPR implementations in the future, thus will make
this converter automatically faster on systems where we
will have a SDPR in the future, too.

Also note that this is the gereral converter from
a sequence of Primitives to Bitmap data, already used in
many places, inculding UNO API, thus is expected to have
some impact on conversion efficiency - if Cairo is used,
so e.g. also headless.

Change-Id: Ia638a549a04b19622892d91651317ec6727b6cd0
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/174266
Reviewed-by: Armin Le Grand <Armin.Le.Grand@me.com>
Tested-by: Jenkins
2024-10-01 11:14:14 +02:00
Stephan Bergmann
a9f006bf03 Avoid some macOS loplugin warnings around SQLWChars
...like

> connectivity/source/drivers/odbc/OPreparedStatement.cxx:285:136: error: replace function parameter of type 'const OUString &' with 'std::u16string_view' [loplugin:stringviewparam]
>   285 | void OPreparedStatement::setParameter(const sal_Int32 parameterIndex, const sal_Int32 _nType, const sal_Int16 _nScale, const OUString &_sData)
>       |                                                                                                                        ~~~~~~~~~~~~~~~~^~~~~~

and

> connectivity/source/drivers/odbc/ODatabaseMetaDataResultSet.cxx:851:117: error: directly use a 'std::u16string_view' (aka 'basic_string_view<char16_t>') value instead of a _ustr user-defined string literal [loplugin:ostr]
>   851 |         SQLWChars aCOL = !uCOL.isEmpty() ? SQLWChars(uCOL.makeStringAndClear()) : SQLWChars(u"" SQL_ALL_TABLE_TYPES ""_ustr);
>       |                                                                                                                     ^~~~~~~

caused by SQLWCHAR being 32-bit wchar_t on macOS (rather than 16-bit unsigned
short, as on Linux), so SQLWChars is CHARS<sal_uInt32> (rather than
CHARS<sal_Unicode>) with a ctor taking a std::u16string_view argument (rather
than an OUString argument)

Change-Id: I194af5feda5ba6279ed87264bc467b5d574406cc
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/174263
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <stephan.bergmann@allotropia.de>
2024-10-01 09:54:33 +02:00
Julien Nabet
0679a5cee1 tdf#163213: do not show OpenType features if the font has "morx" table
Change-Id: I589419f7ffe3db01848e711021c2efd1de07692b
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/174294
Reviewed-by: خالد حسني <khaled@libreoffice.org>
Tested-by: Jenkins
2024-09-30 22:32:56 +02:00
Xisco Fauli
393ea89729 chart2: No need to pass mxComponent around
While at it, move some methods where they are used

Change-Id: I56151046f068d355f9bfe9769c0aee7d9cf95f39
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/174036
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
Tested-by: Jenkins
2024-09-30 21:43:04 +02:00
Michael Weghorn
0e6f683de6 wina11y: Drop "using namespace css::accessibility::AccessibleRole"
Change-Id: I7c801f3101b0d4ed642cab799d44da092faa3bc7
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/174279
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
Tested-by: Jenkins
2024-09-30 21:40:50 +02:00
Michael Weghorn
a241661862 wina11y: Bridge focusable state as is
Drop all the special-casing of particular (parent) roles
etc. when considering whether or not to set the focusable
state.
Instead, fully rely on the AccessibleStateType::FOCUSABLE
state as reported by the underlying XAccessibleContext
and report the IAccessible/MSAA STATE_SYSTEM_FOCUSABLE
state whenever the former is set.

I tend to think that if this this change results in
unexpected behavior, it is likely that issues should best
be fixed in the underlying XAccessibleContext
implementations rather than worked around in the Windows
a11y bridge.

Change-Id: I6e2eee3a9cbe779de3b3d349f23efc6a68a8344b
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/174278
Tested-by: Jenkins
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
2024-09-30 21:40:43 +02:00
Michael Weghorn
3d0230b918 wina11y: Unify handling for editable/readonly state a bit
The LABEL, STATIC and NOTIFICATION roles are
used for readonly text, so if the EDITABLE state were
ever set on these, that should be fixed in the underlying
XAccessibleContext implementation instead of special
handling to always set the readonly state in the
Windows a11y bridge. Therefore, rely on the
EDITABLE state not being set for these in order to
report the IAccessible/MSAA STATE_SYSTEM_READONLY
like for the other roles handled here.

Change-Id: Ie8398ad0186d57ebf92701ab3a2c0603b50f5a2e
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/174277
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
Tested-by: Jenkins
2024-09-30 21:40:35 +02:00
Michael Weghorn
7bd37ba0bf wina11y: Rename UNO_MSAA_UNMAPPING to MSAA_NO_STATE
... to make clear that this is a constant with
no state set.

Also, move the definition to the only source file
where it's used.

Change-Id: Iaaba8d7053f71c63caab57c2b692b8e5898d37cb
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/174276
Tested-by: Jenkins
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
2024-09-30 21:40:28 +02:00
Michael Weghorn
7f2fe1837d wina11y: Drop always default AccObject::InsertChild pos param
This `pos` param never gets passed explicitly, so is
always the default `LAST_CHILD`.

Therefore, drop the param completely to simplify
this.

Change-Id: I8f51fe58b47bb2f0c18a853c81b8b6c85d4a6602
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/174275
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
Tested-by: Jenkins
2024-09-30 21:40:20 +02:00
Michael Weghorn
fb779c2acf wina11y: Move AccObject::GetExpandedState logic to only caller
Change-Id: I5505abf795c1133b77b9c4ec7bb762401b9a3826
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/174274
Tested-by: Jenkins
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
2024-09-30 21:40:13 +02:00
Michael Weghorn
ecae424190 wina11y: Simplify AccObject::GetExpandedState
* Drop the `isExpandable` out param that's unused
  at the only call site.
* Use a bool return value instead of an out param
  for the remaining `isExpandable`.

Change-Id: I2a37f0fec752f5e8e802ec781acf49035b3fbf2d
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/174273
Tested-by: Jenkins
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
2024-09-30 21:40:05 +02:00
Michael Weghorn
347fe07246 wina11y: sal_Bool -> bool
Change-Id: I348e293981bbaeec650a463c958c5e301a804422
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/174272
Tested-by: Jenkins
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
2024-09-30 21:39:54 +02:00
Michael Weghorn
557b161bd6 wina11y: Simplify AccObject::GetMSAAStateFromUNO with early return
Change-Id: Ieeb152ac6e6ba99758fad0d202cc74614871401a
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/174271
Tested-by: Jenkins
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
2024-09-30 21:39:47 +02:00
Michael Weghorn
59abbdea41 wina11y: Drop "using namespace css::accessibility::AccessibleStateType"
Explicitly specifying the `AccessibleStateType`
namespace makes the distinction between
the UNO and the IAccessible2 states clearer.

Change-Id: If8dba19fa716753b1b838377546c5c810e588e5a
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/174270
Tested-by: Jenkins
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
2024-09-30 21:39:35 +02:00
Caolán McNamara
ccbf0c4d6d cid#1607858 silence Overflowed constant
and

cid#1608350 Overflowed constant

Change-Id: I63ad25445df936821c896628b95686a535ef52cf
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/174209
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Tested-by: Jenkins
2024-09-30 21:34:33 +02:00
Caolán McNamara
ab0eb26f6a cid#1608502 Overflowed constant
and

cid#1607222 Overflowed constant

Change-Id: If145bae8d05470173d1af6e7f540f8f40d7ab8b5
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/174208
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Tested-by: Jenkins
2024-09-30 21:34:17 +02:00
Caolán McNamara
989bee48c2 cid#1608448 Data race condition
drop mutex, only allowed to be called from ctor

Change-Id: I1878cf368caacafdcee96a7112a6cc768ce87520
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/174207
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Tested-by: Jenkins
2024-09-30 21:34:10 +02:00
Caolán McNamara
73db214e2f cid#1606905 Data race condition
Change-Id: I138cc2ef0f30ae4dcb0d86ada3a62507efc22340
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/174206
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Tested-by: Jenkins
2024-09-30 21:33:58 +02:00
Noel Grandin
eb73e2c8b6 SdrGrafCropItem needs its own SfxItemType
Change-Id: I45bf4abf015dd493451f77e66dd70006867a2a6f
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/174268
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Tested-by: Jenkins
2024-09-30 18:27:45 +02:00
Noel Grandin
84725adbdc use more concrete UNO type in file::OConnection
Change-Id: I6fe51ae569430d8f31217d7781b3e98e79e1c607
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/174283
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2024-09-30 18:25:01 +02:00
Noel Grandin
c69ea1dd5a use more concrete UNO type in file::OStatement_Base
Change-Id: I9ce6ed7768e8c79e6105152f3907a5468e8fb828
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/174282
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Tested-by: Jenkins
2024-09-30 18:24:52 +02:00
Noel Grandin
6571e77d03 use more concrete UNO type in odbc::OStatement_Base
Change-Id: I86073baf25e2f10a57879fcedbbb1c0e8c354813
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/174281
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Tested-by: Jenkins
2024-09-30 18:24:41 +02:00
Noel Grandin
da8a36b4f4 CID#1607066:Data race condition (MISSING_LOCK)
which means we need to push knowledge
about the locking down into ucbhelper::Result
since the implementation classes there
want to call back into the parent.

and also

CID#1607968:Data race condition (MISSING_LOCK)
CID#1606657:Data race condition (MISSING_LOCK)
CID#1607112:Data race condition (MISSING_LOCK)
CID#1608365:Data race condition (MISSING_LOCK)
CID#1607159:Data race condition (MISSING_LOCK)
CID#1607018:Data race condition (MISSING_LOCK)
CID#1607421:Data race condition (MISSING_LOCK)
CID#1607766:Data race condition (MISSING_LOCK)
CID#1606872:Data race condition (MISSING_LOCK)
CID#1608523:Data race condition (MISSING_LOCK
CID#1607191:Data race condition (MISSING_LOCK)
CID#1608345:Data race condition (MISSING_LOCK)
CID#1608577:(#1 of 1):Data race condition (MISSING_LOCK)
CID#1607210:Data race condition (MISSING_LOCK)
CID#1607132:Data race condition (MISSING_LOCK)
CID#1608256:Data race condition (MISSING_LOCK)
CID#1607482:Data race condition (MISSING_LOCK)
CID#1607935:Data race condition (MISSING_LOCK)
CID#1608070:Data race condition (MISSING_LOCK)
CID#1607901:Data race condition (MISSING_LOCK)
CID#1608013:Data race condition (MISSING_LOCK)
CID#1607506:Data race condition (MISSING_LOCK)
CID#1607526:Data race condition (MISSING_LOCK)
CID#1607044:Data race condition (MISSING_LOCK)
CID#1607708:Data race condition (MISSING_LOCK)
CID#1608041:Data race condition (MISSING_LOCK)
CID#1608207:Data race condition (MISSING_LOCK)
CID#1608028:Data race condition (MISSING_LOCK)
CID#1608168:Data race condition (MISSING_LOCK)
CID#1607561:Data race condition (MISSING_LOCK)

CID#1607689:Check of thread-shared field evades lock acquisition (LOCK_EVASION)
CID#1607689:Check of thread-shared field evades lock acquisition (LOCK_EVASION)
CID#1607689:Check of thread-shared field evades lock acquisition (LOCK_EVASION)
CID#1607689:Check of thread-shared field evades lock acquisition (LOCK_EVASION)
CID#1607689:Check of thread-shared field evades lock acquisition (LOCK_EVASION)
CID#1607689:Check of thread-shared field evades lock acquisition (LOCK_EVASION)
CID#1607689:Check of thread-shared field evades lock acquisition (LOCK_EVASION)
CID#1607689:Check of thread-shared field evades lock acquisition (LOCK_EVASION)
CID#1607689:Check of thread-shared field evades lock acquisition (LOCK_EVASION)
CID#1607689:Check of thread-shared field evades lock acquisition (LOCK_EVASION)

Change-Id: Ifbe908a4a86ab8c5fa1c4ed3b6f9466508e4900e
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/174204
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2024-09-30 18:24:30 +02:00
Olivier Hallot
080913a6b9 Update git submodules
* Update helpcontent2 from branch 'master'
  to adbc8637e059f407b7c209af6ee017de2f1f9736
  - tdf#162607 disambiguate hid2file.js, chart legend dups
    
    + Removed bookmark from the wizzard help page
    + refactor
    
    Change-Id: I24adbc3bd02c05bb5b406ef6c8101b73150ba506
    Reviewed-on: https://gerrit.libreoffice.org/c/help/+/174288
    Tested-by: Jenkins
    Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2024-09-30 18:07:11 +02:00
Olivier Hallot
c4e489196f Update git submodules
* Update helpcontent2 from branch 'master'
  to f46253b8e0673dca57f94ba95392676a40b3a407
  - tdf#162607 disambiguate hid2file.js, InsertCtrl
    
    + Removed misplaced bookmark in Calc
    + review of Insert toolbar for Calc
    + Refactor
    
    Change-Id: Ifc908c22a5c8e69e6f8ccc86b637baa0b009c7f3
    Reviewed-on: https://gerrit.libreoffice.org/c/help/+/174286
    Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
    Tested-by: Jenkins
2024-09-30 17:01:18 +02:00
Olivier Hallot
3495ba034a Update git submodules
* Update helpcontent2 from branch 'master'
  to 96ba26db0cb10e32fc6650eb54fe279498c9eecf
  - tdf#162607 disambiguate hid2file.js, mail merge
    
    + Removed misplaced bookmark
    
    Change-Id: I8a65e0b85273759323448accddf80d299ed8782b
    Reviewed-on: https://gerrit.libreoffice.org/c/help/+/174285
    Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
    Tested-by: Jenkins
2024-09-30 17:00:57 +02:00
Justin Luth
cd141a97c3 related tdf#162884 writerfilter: map to built-in Internet link, etc.
This partial revert fixes a 24.2.4 regression from
commit 72ea1005b9
Author: Michael Stahl on Mon May 6 15:58:36 2024 +0200
    tdf#160402 writerfilter: extend StyleMap with all Word styles

By using the English localization name,
the style was imported, used, and exported as English
instead of being mapped to the built-in style
whose name depends on the UI language in use.
So, revert back to using the internal version of the style names.

For English -> Dutch, that means that
Internet Link -> (MS Word's) Hyperlink -> Internetkoppeling
instead of remaining as the English "Internet Link"

For non-English UIs, the Internet Link character style
was duplicating on each file save (or perhaps each language switch).

I didn't notice the endless duplication for the other styles,
because they aren't used very much,
and are only written if used.
At worst, each localized versions was written once.

Change-Id: Icf58d7d716ac40f05f170c31787d8a8a9942868e
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/173230
Tested-by: Jenkins
Reviewed-by: Justin Luth <jluth@mail.com>
2024-09-30 14:58:50 +02:00
Miklos Vajna
ced420ca70 cool#9992 lok doc sign: convert the certificate chooser dialog to async
1) Move the try-catch around assing a signature inside the block that
   already got the response from the certificate chooser, it's unlikely
   that choosing the certificate (and not yet signing) would fail.

2) Convert the dialog to async and allow it to be a jsdialog.

3) Hide not relevant widgets for LOK: we have a single signing
   certificate, so the search entry is not useful.

   The refresh button has an unclear purpose, as it was initially added
   in commit fb9874231f (Caching
   Certificates in the CertificateChooser dialog session-wise, 2023-08-26),
   but later commit efe414c4a8 (Don't reuse
   CertificateChooser instances, 2024-02-07) disabled this chaching. In any
   case, the certificate won't change during the lifetime of a single LOK
   view, so hide that as well.

4) Invoke the inner certificate viewer in an async way, too.

Change-Id: Ibf618ea7632cf801d1d9180b9aa7dd193c45ffda
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/174215
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Tested-by: Jenkins
2024-09-30 14:55:40 +02:00
Stephan Bergmann
e7c4129a5c Silence -Werror,-Wdeprecated-declarations (macOS 15.0)
Change-Id: Ic765a5c7259896d7b8caebd50460be57dec9ba64
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/174262
Reviewed-by: Stephan Bergmann <stephan.bergmann@allotropia.de>
Tested-by: Jenkins
2024-09-30 12:07:21 +02:00