https://bugs.freedesktop.org/show_bug.cgi?id=51004
Bug #: 51004
Summary: replace mozilla address book parser with a new
implementation that doesn't link to mozilla libraries
Classification: Unclassified
Product: LibreOffice
Version: LibO Master
Platform: Other
OS/Version: All
Status: UNCONFIRMED
Severity: normal
Priority: medium
Component: Database
AssignedTo: [email protected]
ReportedBy: [email protected]
We haul around an ancient copy of mozilla in-tree. There are a few pieces that
make use of it, but the "most annoying" piece of functionality that would be
lost by removing it is the mozilla thunderbird address book integration. Which
is further complicated by having to patch mozilla itself to allow it to subvert
the lock that's placed on in-use addressbooks, i.e. the code doesn't work with
an unpatched mozilla anyway.
We should replace our mozilla-api using code with a direct mab parser so we can
finally ditch the silliness of building a full copy of mozilla.
http://www.scalingweb.com/mork_parser.php looks the most promising approach,
i.e. just import that small BSD-licenced project instead, e.g. can follow the
libexttextcat example
Then add the mork parser license statement into the right places e.g.
http://opengrok.libreoffice.org/search?q=WiseGuys&project=core&defs=&refs=&path=&hist=
Then convert connectivity/source/drivers/mozab to use that instead of the
mozilla xpcom apis.
(btw connectivity/source/drivers/mozab does some more things above just mozilla
address book integration, e.g. finding firefox/thunderbird profile dir)
Then remove the "whether to build Mozilla addressbook connectivity" and
"strangely hacked up Mozilla binary" stuff from configure.in and unwind any of
the build conditionals which assume that mozilla address book integration
requires the "strangely hacked up Mozilla binary"
"writer:file->wizards->address data source" and "base: connect to existing
database" are two routes that can use the mozilla address book for testing
purposes. (obviously, at the moment you only get it listed if you configure
with --enable-mozilla --without-system-mozilla)
Some more possibilities and references:
http://www.jwz.org/doc/mailsum.html
https://bugzilla.mozilla.org/show_bug.cgi?id=424446
https://bugzilla.mozilla.org/show_bug.cgi?id=241438
https://bugzilla.mozilla.org/show_bug.cgi?id=382876
http://search.cpan.org/~kript/Mozilla-Mork-0.01/lib/Mozilla/Mork.pm
--
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs