
On 3-3-2014 22:47, Martin Owens wrote:
On Mon, 2014-03-03 at 22:09 +0100, Johan Engelen wrote:
Another C-string induced memleak was added today. Actually, the
change fixed one memleak, but replaces it with the same one. Fixed in r13101.
I'm going to rip out c-strings from uri handling. It's dangerous code and needs to be dealt with.
And then I'm going to make the std::string implimentation of path normalize.
I'll get that into trunk and merge the dom/ removal (which ironically has a uri implementation that uses std::string properly)
Good stuff. Perhaps you can create a helper/string.h file with all the string functions you need?
(just thought of it now, but might be complete nonsense:) shouldn't the path stuff be implemented with glib::ustring, for paths that contain, say, Japanese characters?
ciao, Johan