[RFC] replace iCalendar code by libical

Albrecht Dreß <[email protected]> Sun, 08 Dec 2019 15:02:37 +0100
Newsgroups gmane.comp.gnome.apps.balsa
Message-ID <[email protected]>
Hi all,

Balsa has some limited support for dealing with text/calendar parts, typically containing appointment (VEVENT) requests to which the user can reply.  IIRC, I wrote the code more than ~10 years ago, according to a subset of the definitions from RFC 2445 and 2446 which meanwhile have been replaced by RFC 5545 and 5546.

I now noticed that the old code is not able to deal with text/calendar parts created by M$ Exchange properly any more.

As a possible improvement, the libical library [1] claims to be able to deal with RFC 5545 and 5546 compliant items.  Therefore, instead of re-inventing the wheel (i.e. fix or re-write the /very/ old Balsa code), I propose to use this library instead.

Before investing time into a migration, I would be interested in your opinion:

Is it acceptable to add an additional dependency on a (though somewhat standard) library?
And should we make it mandatory or not (in the latter case, text/calendar parts would be displayed and printed like text/plain, which is usually confusing)?

Opinions?

Best, Albrecht.

[1] <https://github.com/libical/libical>

_______________________________________________
balsa-list mailing list
[email protected]
https://mail.gnome.org/mailman/listinfo/balsa-list
signature.asc (application/pgp-signature, 488 B)
-----BEGIN PGP SIGNATURE-----

iQEzBAABCgAdFiEEcCEPemLFTtyGf4zATKlvDmfn2fgFAl3tAn0ACgkQTKlvDmfn
2fjSzAf+Pccru4TAl7l3UAVtYNG6LD54dPp8EtS5vmpki0wh0EPLnPA2oL9s+boh
cPpeLYcf9avR5dI2a/mAbI3rMGIpx821gjeRhBaSrx4MzHb5Na0i56C5xv6LB+A4
gEPlQiaIBaYnQ9MWkW967cfegM6Dr2HXwYPAU+L0X2DAAZjvVgBNaltZV1rSfy3L
0g9h5/IcLWEVYjtsIb7GOu6b+wfN2v1oryNGzhOHg2EJbtju9i90Ij3SxFkFIbKT
GGNNMp+2/EjfUgIbIOKzADQvA9AzwX0EnGlwF7D/FnhQKYeGRvMH6hgyNz6V9R3s
hAOsej0H655k8M81+V/nh8l6wNSAPQ==
=jtYu
-----END PGP SIGNATURE-----