[Spice-devel] [PATCH spice-gtk v2 0/4]Add more tests for the session's uri

Marc-André Lureau mlureau at redhat.com
Wed Oct 12 15:42:57 UTC 2016



----- Original Message -----
> Hi
> 
> ----- Original Message -----
> > Hi,
> > 
> > I plan to merge both uri parsers (one is in spice-session, one in
> > spice-uri).
> > These patches add more to tests to avoid regressions.
> > 
> > v2 per Victor review splits IPv6 tests and checks for expected warnings
> > v1: https://lists.freedesktop.org/archives/spice-devel/2016-May/029261.html
> 
> Reminds me of
> https://lists.freedesktop.org/archives/spice-devel/2015-March/019288.html
> 
> It's a shame to see glib so slow at picking the GUri patches. I personally
> lost interest, there are other better ways imho.
> 
> Tbh, instead of slowly reinventing YA URI parsing in C, I am tempted to go a
> step in the future and just link with the rust URI crate
> (https://docs.rs/url/1.2.1/url/). Since it's already being used by firefox
> in the latest release, I trust this is fairly solid.
> 
> I have done some mix of rust and C in the past, just like what Hub recently
> described in a blog:
> https://www.figuiere.net/hub/blog/?2016/10/07/862-rust-and-automake
> 

To be fair, I did a bit more work to import/export C symbols and link with the static lib. And I didn't solve the out-of-tree/distcheck build issue either.



More information about the Spice-devel mailing list