5 Commits
Author SHA1 Message Date
Dan Williams f74c82da52 Also find zxcvbn headers in /usr/include/zxcvbn
configure only looked in /usr/include while Fedora packages put
the headers in /usr/include/zxcvbn/

Change-Id: I905e00840075af093307f56f7e6038840d3e91ec
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/204533
Tested-by: René Engelhard <rene@debian.org>
Reviewed-by: René Engelhard <rene@debian.org>
2026-04-28 20:22:08 +02:00
Dan Williams 15ee3a4637 connectivity/macab: avoid errors due to missing contacts.notes entitlement
Accessing an address book contact's Note field requires an entitlement since
Mac OS 13. Without that entitlement the following error occurs:

CoreData: error: Unhandled error occurred during faulting: Error Domain=NSCocoaErrorDomain Code=134092 "(null)"

It seems unlikely that the Note field functionality is widely used for
anything the address book functionality is used for, so just ignore the
field entirely.

Signed-off-by: Dan Williams <dan@ioncontrol.co>
Change-Id: I694f3ac40a8dccb49f51818dcdb3da7948f560d5
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/191057
Reviewed-by: Patrick Luby <guibomacdev@gmail.com>
Tested-by: Jenkins
2025-09-21 15:26:37 +02:00
Dan Williams db3d15e463 vcl/sal: remove unecessary Mac OS includes and linkage to Carbon
A number of places that #include <Carbon/Carbon.h> don't actually
need it, but want CoreFoundation or other includes instead. We're
trying to get rid of Carbon so let's make it clearer what really
needs it still.

Change-Id: Ief60b4324dccd936aa7def3ea2c685c393f9050a
Signed-off-by: Dan Williams <dan@ioncontrol.co>
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/191030
Reviewed-by: Patrick Luby <guibomacdev@gmail.com>
Tested-by: Jenkins
2025-09-17 17:04:07 +02:00
Dan Williams 87e3e111d2 connectivity/macab: ensure records array is zero-initialized
When constructing a MacabRecords by passing an existing MacabRecords
object, the new object allocates storage for records but does not copy
them, which is left up to the caller. But if the caller does not copy
records, the 'records' array elements are uninitialized garbage, leading
to a crash when the new MacabRecords object is disposed and those
garbage pointers are freed.

Signed-off-by: Dan Williams <dan@ioncontrol.co>
Change-Id: I6d381e523dd3f252f088bb879e886854ffe0163a
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/191058
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Tested-by: Jenkins
2025-09-17 16:27:19 +02:00
Dan Williams 4dc20af897 connectivity/macab: use CoreFoundation instead of Carbon
The Mac address book connector doesn't actually use Carbon,
so just import/link to CoreFoundation.

Signed-off-by: Dan Williams <dan@ioncontrol.co>
Change-Id: I17f42ba6a9355d45ed5c7c60214cb50d803ffbc2
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/191051
Tested-by: Jenkins
Reviewed-by: Patrick Luby <guibomacdev@gmail.com>
2025-09-17 16:13:11 +02:00