Commit graph

500070 commits

Author SHA1 Message Date
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
Stephan Bergmann
c3b3b27e57 loplugin:noexceptmove (macOS, LLVM 20 trunk libc++)
Change-Id: I77a48bbdfcb3d80af69155b11b31ee8e8223bd64
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/174261
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <stephan.bergmann@allotropia.de>
2024-09-30 11:21:34 +02:00
Noel Grandin
3d00583063 dont use GetItemSurrogates for gathering SvxBrushItem
which is very expensive these days

Change-Id: I6ef85e3f635d11263d87cfd57c5153a450da46e4
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/173868
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2024-09-30 09:46:47 +02:00
Stephan Bergmann
250f35740d Revert "Fall back to old bootstrap.ini [Win32] section, for backwards compatibility"
This reverts commit ebd3f0971b.
Conflicts:
	desktop/win32/source/loader.cxx
	vcl/win/window/salframe.cxx

Reason for revert:  This fallback functionality was documented as deprecated at
<https://wiki.documentfoundation.org/index.php?title=ReleaseNotes/24.8&oldid=738731>
"fundamental.override.ini", to "be removed in a later version", which is
happening now for LO 25.2.

Change-Id: I40a1800f6a05fc7fd7188917083b269ce6a9f1d2
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/163394
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <stephan.bergmann@allotropia.de>
2024-09-30 09:44:34 +02:00
Miklos Vajna
9a92a4355e svx: prefix members of SdrSnapView
See tdf#94879 for motivation.

Change-Id: I898a1c638258397a1964e409db413b00ba3f149f
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/174212
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Tested-by: Jenkins
2024-09-30 09:24:05 +02:00
Julien Nabet
c6cc724d88 tdf#158323: CRASH when switch back from HTML to Normal View...
after edit in HTML code.

bt:
0  rtl::Reference<SfxStyleSheetPool>::get (this=0xb8) at include/rtl/ref.hxx:205
1  0x00007f4361f3857c in SwDocStyleSheetPool::GetEEStyleSheetPool (this=0x0) at sw/inc/docstyle.hxx:236
2  0x00007f4362dcb8e2 in SwPostItMgr::SwPostItMgr (this=0x558439087f60, pView=0x5584387f7e80) at /home/julien/lo/libreoffice/sw/source/uibase/docvw/PostItMgr.cxx:229
3  0x00007f43630e6b14 in SwView::SwView (this=0x5584387f7e80, _rFrame=..., pOldSh=0x5584356fa360) at /home/julien/lo/libreoffice/sw/source/uibase/uiview/view.cxx:1003
4  0x00007f43632fee79 in SwWebView::SwWebView (this=0x5584387f7e80, _rFrame=..., _pShell=0x5584356fa360) at /home/julien/lo/libreoffice/sw/source/uibase/web/wview.cxx:85
5  0x00007f43632feb51 in SwWebView::CreateInstance (rFrame=..., pOldView=0x5584356fa360) at /home/julien/lo/libreoffice/sw/source/uibase/web/wview.cxx:67
6  0x00007f4393710655 in SfxViewFactory::CreateInstance (this=0x558434c3a090, rFrame=..., pOldSh=0x5584356fa360) at /home/julien/lo/libreoffice/sfx2/source/view/viewfac.cxx:26
7  0x00007f4393501e31 in SfxBaseModel::createViewController
   (this=0x558431de5a80, i_rViewName="Default", i_rArguments=empty uno::Sequence, i_rFrame=uno::Reference to ((anonymous namespace)::XFrameImpl *) 0x5584360bf520)
   at /home/julien/lo/libreoffice/sfx2/source/doc/sfxbasemodel.cxx:4334
8  0x00007f4393502a3f in non-virtual thunk to SfxBaseModel::createViewController(rtl::OUString const&, com::sun::uno::Sequence<com::sun:🫘:PropertyValue> const&, com::sun::uno::Reference<com::sun::frame::XFrame> const&) () at /home/julien/lo/libreoffice/instdir/program/libsfxlo.so
9  0x00007f43936b4ce4 in (anonymous namespace)::SfxFrameLoader_Impl::impl_createDocumentView
   (i_rModel=uno::Reference to (SwXTextDocument *) 0x558431de5b10, i_rFrame=uno::Reference to ((anonymous namespace)::XFrameImpl *) 0x5584360bf520, i_rViewFactoryArgs=..., i_rViewName="Default")
   at /home/julien/lo/libreoffice/sfx2/source/view/frmload.cxx:577
10 0x00007f43936b1f6c in (anonymous namespace)::SfxFrameLoader_Impl::load
   (this=0x558436633660, rArgs=uno::Sequence of length 18 = {...}, _rTargetFrame=uno::Reference to ((anonymous namespace)::XFrameImpl *) 0x5584360bf520)
   at /home/julien/lo/libreoffice/sfx2/source/view/frmload.cxx:759
11 0x00007f439441ea51 in framework::LoadEnv::impl_loadContent (this=0x7ffdd69352c8) at /home/julien/lo/libreoffice/framework/source/loadenv/loadenv.cxx:1176
12 0x00007f439441b7d4 in framework::LoadEnv::start (this=0x7ffdd69352c8) at /home/julien/lo/libreoffice/framework/source/loadenv/loadenv.cxx:412

Regression from:
https://git.libreoffice.org/core/+/d934aeace6e7049db3959421538ae382cb97b1d1%5E%21
tdf#103064 sw,editeng: make para styles work inside comments

Change-Id: Ib9a1c9fe779ad14f93de0e1b3645beddb85e511d
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/174210
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2024-09-30 08:45:19 +02:00
Chris Sherlock
e5aff0ed17 vcl: flatten BitmapReadAccess functions
Change-Id: Ib18aeca38270192364a12b6496223b0cce476b16
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/173205
Tested-by: Jenkins
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
2024-09-30 08:38:29 +02:00
Chris Sherlock
89f0b965b2 vcl: flatten BitmapPopArtFilter::execute()
Change-Id: Icfbf2e625fb01f336c0c5eec8553b24922376680
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/173204
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
Tested-by: Jenkins
2024-09-30 08:34:04 +02:00
Michael Weghorn
b021286327 tdf#130857 qt a11y weld: Set GtkBuilder ID as widget's accessible ID
Set the GtkBuilder ID specified in .ui files as the accessible
ID for the QWidget created for the object, in line with what
happens for other implementations as well. This is basically
the equivalent of

    commit c64b823b74
    Author: Michael Weghorn <m.weghorn@posteo.de>
    Date:   Tue Jul 16 13:57:41 2024 +0200

        tdf#155447 qt a11y: Report accessible ID

for the case where native Qt widgets are used instead of
vcl::Window.

Other than QWidget, QLayout is not part of the a11y
hierarchy of an application, so there's nothing to
do for these.

This e.g. makes Accerciser show an accessible ID of
"LicenseDialog" for the "Help" -> "License Information"
dialog.

The accessible ID set this way currently isn't reported
on the AT-SPI level for QMessageBox (e.g. the "Save Document?"
dialog) however. Suggested upstream change to make that
work as well: [1]

[1] https://codereview.qt-project.org/c/qt/qtbase/+/594390

Change-Id: I50e8ca6f8bea628df5a80d101c4a0a7bfded9c19
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/174158
Tested-by: Jenkins
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
2024-09-30 08:23:12 +02:00
Michael Weghorn
a44d515dd6 tdf#130857 qt weld: Set dialog title and modality
If the "title" or "modal" properties are set,
set the dialog title/modality for the QDialog
accordingly.

This makes the "Help" -> "License Information" dialog show
the "Licensing and Legal information" title for the native
Qt dialog as well, which gets used by default
for the Qt-based VCL plugins since

    commit 178430733b
    Author: Michael Weghorn <m.weghorn@posteo.de>
    Date:   Sat Sep 28 00:43:21 2024 +0200

        tdf#130857 qt weld: Declare support for "License Information" dialog

Change-Id: I5c89eef04967d6d456474600f860dca19a6009e3
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/174154
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
Tested-by: Jenkins
2024-09-30 08:23:05 +02:00
Noel Grandin
bf340cc7d0 cid#1606686 Overflowed constant
Change-Id: Ib2e96b80ee91d5617ae643202187460df0eb05a7
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/174203
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2024-09-30 08:07:33 +02:00
Patrick Luby
8f3e841336 tdf#163000 don't add any fonts in the system "reserved fonts" folder
macOS Sequoia added a new PingFangUI.ttc font file which
contains all of the PingFang font families. However, any
fonts loaded from this font file result in the following
failures:

- Skia renders font with wrong glyphs
- Export to PDF contain a damaged embedded font

macOS Sequoia still has separate, downloadable Type 3
bitmap fonts for the PingFang font family so ignore
any fonts in the PingFangUI.ttc font file and, just to
be safe, ignore any other font files in the system
"reserved fonts" folder that may be added in the future.

Change-Id: I8a025c8b6d84a661b173aa7d6d5b261c92452b34
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/174160
Reviewed-by: Jonathan Clark <jonathan@libreoffice.org>
Reviewed-by: Patrick Luby <guibomacdev@gmail.com>
Tested-by: Jenkins
2024-09-29 22:56:59 +02:00
Noel Grandin
358298fd29 simplify
Change-Id: I18e27d76af250ab8fa6534fdb1876a90e3343d9e
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/174185
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Tested-by: Jenkins
2024-09-29 20:29:33 +02:00
Noel Grandin
2b4375fcfa cid#1606690 Overflowed constant
Change-Id: I7d3556cbaa43ba7605005059545c3d52685d33c1
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/174202
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2024-09-29 20:29:02 +02:00
Julien Nabet
bda6201f81 tdf#163190: [pyuno] SyntaxWarning: invalid escape sequence '\P'
Use raw string to fix this.

Regression from d8978a8c4f
tdf#116156 tdf#157162 tdf#159528 Fix glitches in officehelper.py

Change-Id: I6f68fdc5988c05b41dc91619947d0d97d04bc739
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/174108
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Tested-by: Jenkins
2024-09-29 20:17:13 +02:00
Balazs Varga
b566dab48c Related: tdf#161826 - A bit more accurate Glow effect for texts in shapes
With a more accurate exponentiation function the text glow effect, maybe
can be more accurate comaparing to the MSO.

follow-up commit: 3eac847927 and
5bb5a7ea60

Change-Id: I82d6fae0564b8d9f5b519408b54a0937a674c643
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/173980
Tested-by: Jenkins
Reviewed-by: Balazs Varga <balazs.varga.extern@allotropia.de>
2024-09-29 19:58:08 +02:00
Stephan Bergmann
15492ec2d2 Add "f" suffix to literals of type float
...to avoid

> error CS0266: Cannot implicitly convert type 'double' to 'float'. An explicit conversion exists (are you missing a cast?)

(as would e.g. happen if offapi/org/libreoffice/embindtest/Constants.idl were
included in regular builds)

Change-Id: I6a4d8b151755edd3a8b03d73e2bb546cf1d19e7d
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/174200
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <stephan.bergmann@allotropia.de>
2024-09-29 19:05:47 +02:00
Noel Grandin
a8cc5deeb1 avoid temporary OUString in lcl_getSingleCellAddressFromXMLString
Change-Id: I3ec79a4ae0259babb8aa472c338cc78910abc800
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/174181
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2024-09-29 18:31:30 +02:00
Noel Grandin
9e5321f46d cid#1606810 Overflowed constant
Change-Id: I831acf42054d16d16714ff3ec46eefbfaa24047e
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/174180
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Tested-by: Jenkins
2024-09-29 18:05:24 +02:00
Noel Grandin
68110da824 cid#1606852 Overflowed constant
Change-Id: Ib77efd3069d81a9c4b6cdb78e795def327e27368
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/174179
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2024-09-29 18:05:14 +02:00
Noel Grandin
c2aad1b6b7 cid#1606889 Overflowed constant
Change-Id: I5c0b458aca0ffc1b16eba31ace4039cd359160f1
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/174178
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Tested-by: Jenkins
2024-09-29 18:05:05 +02:00
Arnaud VERSINI
5ea219eb86 package : no need to use OUString here.
Change-Id: I7e46e1c89e85c0baf941393237fee971f0a0863e
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/173770
Tested-by: Jenkins
Reviewed-by: Arnaud Versini <arnaud.versini@pm.me>
2024-09-29 14:56:44 +02:00
Noel Grandin
0e955c4b23 cid#1607049 Overflowed constant
Change-Id: I9f031fa3ad7a216435c72692d92d7b566417977b
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/174156
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2024-09-29 11:57:00 +02:00
Noel Grandin
f213fcb8c7 cid#1606997 Overflowed constant
Change-Id: I7973793a084c2bcd05f1ede9546094410ffc31cc
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/174157
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2024-09-29 11:56:48 +02:00
Andrea Gelmini
ca68ddebe7 Update git submodules
* Update helpcontent2 from branch 'master'
  to 6f23809799bd7f131da88b4e25d5df5518fdbc12
  - Fix typo
    
    Change-Id: Ie5eb123d87c8d1993f3699c20687044835381e47
    Reviewed-on: https://gerrit.libreoffice.org/c/help/+/174159
    Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
    Tested-by: Jenkins
2024-09-29 10:56:51 +02:00
Bartosz Kosiorek
529dfc741a tdf#163170 Add support for MS Visio Template format with .vstx extension
libvisio is already supporting .vstx template format.
With this patch the LibreOffice is recognizing such file types,
and successfully opening it.

More information about format:
https://learn.microsoft.com/en-us/office/client-developer/visio/introduction-to-the-visio-file-formatvsdx

Change-Id: Ibee01288cdb2cd6a0ac3f371a22604d7bb5b471c
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/173997
Tested-by: Jenkins
Reviewed-by: Bartosz Kosiorek <gang65@poczta.onet.pl>
2024-09-29 10:04:37 +02:00