<div dir="ltr">I was trying to find a solution for the problem of Browse in XO-1.<div>After try use a old version of Browse, based in gecko,</div><div>and recompile the dependencies without success, I started to work in the </div><div>port of Browse from WebKit to WebKit2.</div><div><br></div><div>That will not work in Fedora 18 (because Webkit2 crash in F18),</div><div>but could solve the problem in the new community </div><div>images based in Fedora 20. </div><div><br></div><div>I have a basic version working, still with a lot of errors, but is possible navigate,</div><div>download and see pdf files and multimedia files.<br clear="all"><div>A testing version (not for distribution) is here [1]</div><div><br></div><div>TESTING:</div><div><div>I can't connect to internet with my XO-1 with the community edition image, </div><div>if anybody can, please test this version and verify if this bug [2] is still present </div><div>and if the activity crashes.</div></div><div>Report any error you find.</div><div>Known issues:</div><div>* History is not restored.</div><div>* Ugly error messages</div><div><br></div><div>DEVELOPMENT:</div><div>The porting is done in the branch webkit2 [3]</div><div>Master will only receive critical fixes. When the port is ready, will be merged in master.</div><div>Code pending to port is identified by a a comment "# TODO PORT"</div><div>I found some blockers I couldn't solve yet:</div><div>* The objects where the information about the history is stored</div><div>have read only properties (title and url), I can recreate the history</div><div>with the data stored in the journal metadata.</div><div>* Need a mechanism to configure where download files, right now</div><div>is done in the Downloads directory and later copied to the journal.</div><div>* The error callback function in browser.py receive a int instead of</div><div>a GError. Looks as a introspection error.</div><div>* Don't know how store the coockies needed by the xs server with the new API.</div><div><br></div><div><br></div><div>[1] <a href="http://dev.laptop.org/~gonzalo/activities/Browse-158.xo">http://dev.laptop.org/~gonzalo/activities/Browse-158.xo</a></div><div>[2] <a href="https://dev.laptop.org/ticket/12866">https://dev.laptop.org/ticket/12866</a></div><div>[3] <a href="https://github.com/sugarlabs/browse-activity/commits/webkit2">https://github.com/sugarlabs/browse-activity/commits/webkit2</a></div><div>[4] <a href="http://webkitgtk.org/reference/webkit2gtk/stable/WebKitBackForwardListItem.html">http://webkitgtk.org/reference/webkit2gtk/stable/WebKitBackForwardListItem.html</a></div>-- <br><div class="gmail_signature"><div dir="ltr">Gonzalo Odiard<br><br><div>SugarLabs - Software for children learning <br></div></div></div>
</div></div>