office-gobmx/include/sfx2
Miklos Vajna 07df95e75a cool#9992 lok doc sign: async DocumentDigitalSignatures::ImplViewSignatures()
Currently SfxObjectShell::CheckIsReadonly() has a hack for the LOK case
to show the signatures dialog read-only, as only that is async.

The next step is to make DocumentDigitalSignatures::ImplViewSignatures()
async, though that requires all callers of the function to be async, so
make DocumentDigitalSignatures::signScriptingContent() async as well.
There is also DocumentDigitalSignatures::signPackage(), but turns out
that's dead code, so just remove it.

Once this is in place, we had a problem that the callbacks tried to
interact with libxmlsec, but the dialog was still alive in
DocumentDigitalSignatures::ImplViewSignatures() by the time the callback
was running, so there were two DocumentSignatureManager instances at the
same time, and both assumes it should call the global libxmlsec
init/uninit, which resulted in failing to verify the just created
signature.

Fix this similar to how Tomaz fixed the same problem around pdfium in
commit 067a8a954c (pdfium: only init
pdfium library one and destroy on LO exit, 2020-06-03).

Change-Id: I3fb63c06195564732e1576dbd755157e676fb762
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/173117
Tested-by: Jenkins
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
2024-09-10 11:27:46 +02:00
..
devtools
notebookbar
sidebar tdf#105131 Remove Restore Defaut from sidebar custom menu 2024-08-19 16:28:31 +02:00
AccessibilityCheck.hxx
AccessibilityIssue.hxx tdf#157233 - A11y: Add global Accessibility check options for 2024-07-25 17:44:22 +02:00
app.hxx
basedlgs.hxx dubious to enable/disable help button based on IsContextHelpEnabled 2024-08-14 11:04:51 +02:00
bindings.hxx
brokenpackageint.hxx
chalign.hxx
charwin.hxx
childwin.hxx
classificationhelper.hxx
ctrlitem.hxx
dialoghelper.hxx
digitalsignatures.hxx cool#9992 lok doc sign: async DocumentDigitalSignatures::ImplViewSignatures() 2024-09-10 11:27:46 +02:00
dinfdlg.hxx Resolves tdf#162738 - Revert tdf#160937 2024-09-05 07:37:32 +02:00
dispatch.hxx
dllapi.h
docfac.hxx
docfile.hxx cool#9992 lok doc sign: make SfxMedium::SignContents_Impl() async 2024-09-06 12:25:48 +02:00
docfilt.hxx
docinf.hxx
docinsert.hxx
dockwin.hxx
docmacromode.hxx
docstoragemodifylistener.hxx
doctempl.hxx
DocumentMetadataAccess.hxx
DocumentSigner.hxx
event.hxx
evntconf.hxx
fcontnr.hxx
filedlghelper.hxx
flatpak.hxx
frame.hxx
frmdescr.hxx
frmhtml.hxx
frmhtmlw.hxx
groupid.hxx
htmlmode.hxx
IDocumentModelAccessor.hxx
infobar.hxx
inputdlg.hxx
ipclient.hxx
linkmgr.hxx
linksrc.hxx
listview.hxx
lnkbase.hxx
lokcallback.hxx
lokcomponenthelpers.hxx
LokControlHandler.hxx
lokhelper.hxx
mailmodelapi.hxx
Metadatable.hxx
mieclip.hxx
minfitem.hxx
module.hxx
msg.hxx
msgpool.hxx
namedcolor.hxx
navigat.hxx
new.hxx
newstyle.hxx
objface.hxx
objitem.hxx
objsh.hxx cool#9992 lok doc sign: make SfxMedium::SignContents_Impl() async 2024-09-06 12:25:48 +02:00
opengrf.hxx
pageids.hxx
passwd.hxx
printer.hxx
printopt.hxx
progress.hxx
QuerySaveDocument.hxx
request.hxx
safemode.hxx
sfxbasecontroller.hxx
sfxbasemodel.hxx
sfxdlg.hxx
sfxhelp.hxx
sfxhtml.hxx
sfxmodelfactory.hxx
sfxresid.hxx
sfxsids.hrc ONLINE: Add Invert document background color command. 2024-08-08 16:43:43 +02:00
sfxstatuslistener.hxx
sfxuno.hxx
shell.hxx
signaturestate.hxx
stbitem.hxx
strings.hrc Resolves tdf#162615 - Long label must not overside sidebar in start center 2024-08-28 11:06:34 +02:00
styfitem.hxx
styledlg.hxx
StyleManager.hxx
StylePreviewRenderer.hxx
tabdlg.hxx
tbxctrl.hxx
templatedlg.hxx
templatedlglocalview.hxx
templatelocalview.hxx
templateproperties.hxx
templdlg.hxx
thumbnailview.hxx
thumbnailviewitem.hxx
toolbarids.hxx
tplpitem.hxx
userinputinterception.hxx
viewfac.hxx
viewfrm.hxx
viewsh.hxx
watermarkitem.hxx
weldutils.hxx Related: tdf#162580 When upgrading from Find toolbar search to 2024-09-02 19:45:00 +02:00
XmlIdRegistry.hxx
zoomitem.hxx