From: John R. <jr...@ce...> - 2012-07-10 16:18:56
|
On Jul 10, 2012, at 1:56 PM, Benny Malengier wrote: > All, > > The GTK3 branch is progressing nice. I finished today persontreeview, editnote. > That means that at the moment editperson, editevent, editnote, listviews, and person treeview is working again in the GTK3 branch. Various other things also work, like quickviews, most gramplets, ... > > Much work remains. I will not have time to continue until 23 July. > Instead of continuing then, I will merge further trunk changes in the branch and reintegrate the branch in trunk. > > That is, I consider proven that GTK3 can be made to work, so everybody will be forced to fix further issues in their code with GTK3 in trunk. I do this because every code path must be retested. Yes, this is annoying, but necessary if we want a Gramps 4.0 version at the start of 2013 that is sufficiently stable. > > The main issue outside the gui code I encountered; is that since GTK3, unicode() and str(), no longer work on non ascii chars!! So it is needed to pass the encoding, I now pass 'utf-8' by default. This is not ideal. Best would be if we support python 3 and python 2.7 at the same time, and do the encoding cleanly. I would have to read up on how this is best done. Anyway, I assume this will be mostly a headache on windows. > > Known problems: http://www.gramps-project.org/wiki/index.php?title=GEPS_029:_GTK3-GObject_introspection_Conversion#Problems > > Feel free to already help out in this GEP branch before 23 July. I needed 4+ hours to merge trunk changes in this branch a week ago, so please don't do changes in trunk that will make my work again that complicated. > There turn out to be some issues with Gtk3 itself with quartz. I've figured out at least part of it and will be committing the changes over the next week (that's to Gtk, not Gramps). There's also a small change in the way that one detects the backend with pygi, it's a one-line change that I'll get checked in to Gramps by this weekend. If all goes well I'll have gep-029 running on quartz before the 23rd. Regards, John Ralls |