SummerOfCode/2012/LinuxNativeWebApps: Difference between revisions

Jump to navigation Jump to search
 
Line 165: Line 165:


During these weeks I've studied for other exams and I've been on vacation in Ponza (an Italian isle) and in Scotland.
During these weeks I've studied for other exams and I've been on vacation in Ponza (an Italian isle) and in Scotland.
=== 06/08 - 13/08 ===
I've managed to write a patch to support installation in $XDG_CONFIG_HOME, it involved some code changes in how Firefox finds the user data home directory.
https://bugzilla.mozilla.org/show_bug.cgi?id=763183
I've added a notification for add-ons (through https://developer.mozilla.org/en-US/docs/XPCOM_Interface_Reference/nsIObserverService) after the installation of a webapp. This way, add-ons could do something after installation, for example they could create a deb or rpm package and install it, or something else to better integrate the webapp with the underlying platform.
I've also started to work on the user notification (a graphic notification, not a low-level notification for addons) after a webapp removal. There are some opportunities (a GTK alert, nsIAlertsService, dbus, dlopen libnotify), the best way would be to use the nsIAlertsService, but it's also pretty hard. Maybe I'll start with a simpler solution to have something in place for Firefox 17 (the notification involves the creation of new localizable strings, the patches with those strings are less likely to be backported).
I've also ported a SDL C++ game (Ceferino) to JavaScript, using Emscripten. Here it is: http://marco-c.github.com/ceferinoweb/. Using Emscripten is really simple, it took me only a day to port the game.
I'm going to upload it to the Mozilla Marketplace.
63

edits

Navigation menu