On Thu, 2018-05-31 at 16:04 +0200, Kjell Ahlstedt wrote:On 2018-05-24 09:51, Kjell Ahlstedt wrote:Den 2018-05-23 kl. 21:37, skrev Murray Cumming:Does anyone object to me moving libxml++ to GitHub? Otherwise, we'll move to gitlab.gnome.org, but libxml++ is not particularly GNOME- specific.The underlying C module, libxml2, has been moved to https://gitlab.gnome.org/GNOME/libxml2. Don't know if that matters. I would not object if you move libxml++ to GitHub. An unrelated question: Should it be renamed to libxmlmm or libxmlplusplus? Kjelllibxml++ has been moved to GitLab and renamed to libxmlplusplus. It looks like everything in git.gnome.org has been moved to gitlab.gnome.org.I'm still think of doing this. Also, I finally feel that we should remove the glibmm dependency, even at the cost of losing some certainty in the API about what's UTF-8 and what's maybe not. The glibmm dependency feels like too much trouble.
Like before, I would not object if you move libxml++ to GitHub.
There is an old Bugzilla bug, discussing the
dependency on glibmm, which some people dislike:
https://bugzilla.gnome.org/show_bug.cgi?id=320197
I haven't studied it in detail. It looks like the idea there is
to replace Glib::ustring by an alias, something like
using xmlpp::string = std::string;
(Why not xmlpp::ustring or xmlpp::utf8string?) The alias would
be a kind of documentation.
Why not make copies of glibmm/ustring.cc and glibmm/ustring.h and include them in libxml++? Unfortunately it's not trivial. Glib::ustring's member functions call many glib functions.
Kjell