Re: [Sugar-devel] Gears in Browse
2009/5/28 Felipe López Toledo zer.subz...@gmail.com: Heh, I didn't know LocalStorage had been in Firefox for so long me too. here is an useful link about DOM Storage https://developer.mozilla.org/En/DOM:Storage Again, this should be sufficient for Karma-in-Firefox anyway, I'm looking how to get running GG with Browse Btw, seems like there's no GoogleGears release for FF 3.5. Perhaps because it has been superseded by the new stuff in mozilla? Regards, Tomeu 2009/5/28 Lucian Branescu lucian.brane...@gmail.com Heh, I didn't know LocalStorage had been in Firefox for so long. I was under the impression it was at the same stage as Webkit. Thanks for the link. Again, this should be sufficient for Karma-in-Firefox. But many websites already use Gears specifically, and I need them to work for Webified. 2009/5/28 Martin Langhoff martin.langh...@gmail.com: 2009/5/28 Martin Langhoff martin.langh...@gmail.com: 2009/5/28 Lucian Branescu lucian.brane...@gmail.com: Not really. HTML 5 only brings an SQLite database accessible from JavaScript. Gears has other features that aren't present in Gecko proper (yet): - LocalServer - a way to transparently persist resources locally I thought HTML5 had some offline resource facility. What we ship on XO 8.2.x is xulrunner 1.9 (FF3.0). If we were to ship xulrunner 1.9.1 (which is what the F11-based builds ship anyway) then we'd get support for the tools listed here http://wiki.whatwg.org/wiki/Implementations_in_Web_browsers From that URL, my understanding is that you get all the things you need from gecko itself. m -- martin.langh...@gmail.com mar...@laptop.org -- School Server Architect - ask interesting questions - don't get distracted with shiny stuff - working code first - http://wiki.laptop.org/go/User:Martinlanghoff ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
Re: [Sugar-devel] Gears in Browse
I think they're just a bit slow. They would break existing Gears applications if they relied on the mozilla stuff without at least a wrapper. 2009/5/29 Tomeu Vizoso to...@sugarlabs.org: 2009/5/28 Felipe López Toledo zer.subz...@gmail.com: Heh, I didn't know LocalStorage had been in Firefox for so long me too. here is an useful link about DOM Storage https://developer.mozilla.org/En/DOM:Storage Again, this should be sufficient for Karma-in-Firefox anyway, I'm looking how to get running GG with Browse Btw, seems like there's no GoogleGears release for FF 3.5. Perhaps because it has been superseded by the new stuff in mozilla? Regards, Tomeu 2009/5/28 Lucian Branescu lucian.brane...@gmail.com Heh, I didn't know LocalStorage had been in Firefox for so long. I was under the impression it was at the same stage as Webkit. Thanks for the link. Again, this should be sufficient for Karma-in-Firefox. But many websites already use Gears specifically, and I need them to work for Webified. 2009/5/28 Martin Langhoff martin.langh...@gmail.com: 2009/5/28 Martin Langhoff martin.langh...@gmail.com: 2009/5/28 Lucian Branescu lucian.brane...@gmail.com: Not really. HTML 5 only brings an SQLite database accessible from JavaScript. Gears has other features that aren't present in Gecko proper (yet): - LocalServer - a way to transparently persist resources locally I thought HTML5 had some offline resource facility. What we ship on XO 8.2.x is xulrunner 1.9 (FF3.0). If we were to ship xulrunner 1.9.1 (which is what the F11-based builds ship anyway) then we'd get support for the tools listed here http://wiki.whatwg.org/wiki/Implementations_in_Web_browsers From that URL, my understanding is that you get all the things you need from gecko itself. m -- martin.langh...@gmail.com mar...@laptop.org -- School Server Architect - ask interesting questions - don't get distracted with shiny stuff - working code first - http://wiki.laptop.org/go/User:Martinlanghoff ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
Re: [Sugar-devel] Gears in Browse
2009/5/29 Lucian Branescu lucian.brane...@gmail.com: I think they're just a bit slow. They would break existing Gears applications if they relied on the mozilla stuff without at least a wrapper. Maybe modern GG applications have such wrapper? m -- martin.langh...@gmail.com mar...@laptop.org -- School Server Architect - ask interesting questions - don't get distracted with shiny stuff - working code first - http://wiki.laptop.org/go/User:Martinlanghoff ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
Re: [Sugar-devel] Gears in Browse
2009/5/29 Lucian Branescu lucian.brane...@gmail.com: Not that I know of. I tried running several on Firefox 3.5 beta, none works. I guess someone could create a wrapper when all major browsers (except IE of course) have all/most of the features of Gears. JavaScript ORMs for example, tend to be able to use several backends (Gears, AIR, HTML 5 storage storage, etc.), but the application would have to use one of those ORMs. But for now, it's easier to just install Gears. My problem is almost solved, Tomeu told me that he managed to manually install Gears for hulahop after fixing a pyxpcom bug. Once this patch gets into a release usable by us, Gears should work fine in Browse: https://bugzilla.mozilla.org/show_bug.cgi?id=495441 We may be able to apply it to distros if needed. Regards, Tomeu 2009/5/29 Martin Langhoff martin.langh...@gmail.com: 2009/5/29 Lucian Branescu lucian.brane...@gmail.com: I think they're just a bit slow. They would break existing Gears applications if they relied on the mozilla stuff without at least a wrapper. Maybe modern GG applications have such wrapper? m -- martin.langh...@gmail.com mar...@laptop.org -- School Server Architect - ask interesting questions - don't get distracted with shiny stuff - working code first - http://wiki.laptop.org/go/User:Martinlanghoff ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
Re: [Sugar-devel] Gears in Browse
2009/5/28 Lucian Branescu lucian.brane...@gmail.com: For both Webified and Karma, Gears support in Browse is necessary (or at least preferred), but AFAIK there is currently no strategy to get it running. I have managed to get it running in Browse some months ago by expanding the .xpi and installing the files in a couple of different directories. I could help you find which are those dirs. Since Browse uses xulrunner, it should be possible to use the Firefox version of Gears, with possible modifications. However, I could not find any documentation about XUL/Firefox extensions running on Browse. Not all extensions can run in Browse, as some will use stuff only present in firefox, thunderbird, etc. But Google Gears only depends on stuff in xulrunner so it works fine once it's properly installed. On a related note, Sebastian Dzillas has done some work on packaging Gears in a .rpm for Firefox. The work is not complete, as the extension tries to write in places owned by root, instead of the local user profile. My project would probably need to be able to move/edit/delete the Gears profile for Journal integration (search your .mozilla default profile for the folder 'Google Gears for Firefox' after installing Gears in Firefox). You mean that GG tries to write in /usr if it has been installed in /usr? That sounds wrong and may be configurable or fixable. Regards, Tomeu ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
Re: [Sugar-devel] Gears in Browse
2009/5/28 Tomeu Vizoso to...@sugarlabs.org: 2009/5/28 Lucian Branescu lucian.brane...@gmail.com: For both Webified and Karma, Gears support in Browse is necessary (or at least preferred), but AFAIK there is currently no strategy to get it running. I have managed to get it running in Browse some months ago by expanding the .xpi and installing the files in a couple of different directories. I could help you find which are those dirs. I tried that, but it didn't work. I welcome help :) Since Browse uses xulrunner, it should be possible to use the Firefox version of Gears, with possible modifications. However, I could not find any documentation about XUL/Firefox extensions running on Browse. Not all extensions can run in Browse, as some will use stuff only present in firefox, thunderbird, etc. But Google Gears only depends on stuff in xulrunner so it works fine once it's properly installed. I know not all extensions can run in Browse, but AFAIK Gears doesn't target the firefox .xul. It's quite non-invasive in all browsers in fact. On a related note, Sebastian Dzillas has done some work on packaging Gears in a .rpm for Firefox. The work is not complete, as the extension tries to write in places owned by root, instead of the local user profile. My project would probably need to be able to move/edit/delete the Gears profile for Journal integration (search your .mozilla default profile for the folder 'Google Gears for Firefox' after installing Gears in Firefox). You mean that GG tries to write in /usr if it has been installed in /usr? That sounds wrong and may be configurable or fixable. I think /usr, I didn't check. I will today. Yes, it certainly is fixable, but I'm not sure it is also configurable. I'd hate to have to patch and compile Gears for the .rpm I'll investigate some more Regards, Tomeu Thanks! ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
Re: [Sugar-devel] Gears in Browse
2009/5/28 Lucian Branescu lucian.brane...@gmail.com: For both Webified and Karma, Gears support in Browse is necessary (or at least preferred), but AFAIK there is currently no strategy to get it running. If I understand correctly, the 'HTML5' extensions push means that the core gecko gets facilities that look almost exactly like GoogleGears... because they are GG-derived code. So I suspect that if we get a new-enough xulrunner, this problem goes away :-) cheers, m -- martin.langh...@gmail.com mar...@laptop.org -- School Server Architect - ask interesting questions - don't get distracted with shiny stuff - working code first - http://wiki.laptop.org/go/User:Martinlanghoff ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
Re: [Sugar-devel] Gears in Browse
Not really. HTML 5 only brings an SQLite database accessible from JavaScript. Gears has other features that aren't present in Gecko proper (yet): - LocalServer - a way to transparently persist resources locally - WorkerPool - threads. The WHATWG HTML 5 spec does include provisions for WebWorkers, but they aren't really supported anywhere yet - Geolocation - no equivalent - Desktop - shortcuts, file access, etc - not very relevant for Sugar, at least not without modifications However, even if Gecko had all the features Gears already has, there are web applications that rely on Gears APIs specifically. Wrappers would be needed and they usually aren't quite complete. It's better to just try to get Gears working, at least for my project. I guess Karma could use a JavaScript ORM that can use both Gears and HTML 5 storage as a backend. 2009/5/28 Martin Langhoff martin.langh...@gmail.com: 2009/5/28 Lucian Branescu lucian.brane...@gmail.com: For both Webified and Karma, Gears support in Browse is necessary (or at least preferred), but AFAIK there is currently no strategy to get it running. If I understand correctly, the 'HTML5' extensions push means that the core gecko gets facilities that look almost exactly like GoogleGears... because they are GG-derived code. So I suspect that if we get a new-enough xulrunner, this problem goes away :-) cheers, m -- martin.langh...@gmail.com mar...@laptop.org -- School Server Architect - ask interesting questions - don't get distracted with shiny stuff - working code first - http://wiki.laptop.org/go/User:Martinlanghoff ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
Re: [Sugar-devel] Gears in Browse
AFAIK it's not in the spec (yet), but there was some talk about it. In any case, it's certainly not in browsers. 2009/5/28 Martin Langhoff martin.langh...@gmail.com: 2009/5/28 Lucian Branescu lucian.brane...@gmail.com: Not really. HTML 5 only brings an SQLite database accessible from JavaScript. Gears has other features that aren't present in Gecko proper (yet): - LocalServer - a way to transparently persist resources locally I thought HTML5 had some offline resource facility. cheers, m -- martin.langh...@gmail.com mar...@laptop.org -- School Server Architect - ask interesting questions - don't get distracted with shiny stuff - working code first - http://wiki.laptop.org/go/User:Martinlanghoff ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
Re: [Sugar-devel] Gears in Browse
2009/5/28 Martin Langhoff martin.langh...@gmail.com: 2009/5/28 Lucian Branescu lucian.brane...@gmail.com: Not really. HTML 5 only brings an SQLite database accessible from JavaScript. Gears has other features that aren't present in Gecko proper (yet): - LocalServer - a way to transparently persist resources locally I thought HTML5 had some offline resource facility. What we ship on XO 8.2.x is xulrunner 1.9 (FF3.0). If we were to ship xulrunner 1.9.1 (which is what the F11-based builds ship anyway) then we'd get support for the tools listed here http://wiki.whatwg.org/wiki/Implementations_in_Web_browsers From that URL, my understanding is that you get all the things you need from gecko itself. m -- martin.langh...@gmail.com mar...@laptop.org -- School Server Architect - ask interesting questions - don't get distracted with shiny stuff - working code first - http://wiki.laptop.org/go/User:Martinlanghoff ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
Re: [Sugar-devel] Gears in Browse
Heh, I didn't know LocalStorage had been in Firefox for so long. I was under the impression it was at the same stage as Webkit. Thanks for the link. Again, this should be sufficient for Karma-in-Firefox. But many websites already use Gears specifically, and I need them to work for Webified. 2009/5/28 Martin Langhoff martin.langh...@gmail.com: 2009/5/28 Martin Langhoff martin.langh...@gmail.com: 2009/5/28 Lucian Branescu lucian.brane...@gmail.com: Not really. HTML 5 only brings an SQLite database accessible from JavaScript. Gears has other features that aren't present in Gecko proper (yet): - LocalServer - a way to transparently persist resources locally I thought HTML5 had some offline resource facility. What we ship on XO 8.2.x is xulrunner 1.9 (FF3.0). If we were to ship xulrunner 1.9.1 (which is what the F11-based builds ship anyway) then we'd get support for the tools listed here http://wiki.whatwg.org/wiki/Implementations_in_Web_browsers From that URL, my understanding is that you get all the things you need from gecko itself. m -- martin.langh...@gmail.com mar...@laptop.org -- School Server Architect - ask interesting questions - don't get distracted with shiny stuff - working code first - http://wiki.laptop.org/go/User:Martinlanghoff ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
Re: [Sugar-devel] Gears in Browse
2009/5/28 Lucian Branescu lucian.brane...@gmail.com: Heh, I didn't know LocalStorage had been in Firefox for so long. I was under the impression it was at the same stage as Webkit. Thanks for the link. Again, this should be sufficient for Karma-in-Firefox. But many websites already use Gears specifically, and I need them to work for Webified. I'm also interested in knowing better how to support extensions in Browse. I can dedicate a couple of hours today to get GG running in Browse. Regards, Tomeu 2009/5/28 Martin Langhoff martin.langh...@gmail.com: 2009/5/28 Martin Langhoff martin.langh...@gmail.com: 2009/5/28 Lucian Branescu lucian.brane...@gmail.com: Not really. HTML 5 only brings an SQLite database accessible from JavaScript. Gears has other features that aren't present in Gecko proper (yet): - LocalServer - a way to transparently persist resources locally I thought HTML5 had some offline resource facility. What we ship on XO 8.2.x is xulrunner 1.9 (FF3.0). If we were to ship xulrunner 1.9.1 (which is what the F11-based builds ship anyway) then we'd get support for the tools listed here http://wiki.whatwg.org/wiki/Implementations_in_Web_browsers From that URL, my understanding is that you get all the things you need from gecko itself. m -- martin.langh...@gmail.com mar...@laptop.org -- School Server Architect - ask interesting questions - don't get distracted with shiny stuff - working code first - http://wiki.laptop.org/go/User:Martinlanghoff ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
Re: [Sugar-devel] Gears in Browse
Slightly off-topic, a new Gears has been released http://gearsblog.blogspot.com/2009/05/gears-05210-released.html The Blob builder API is very interesting, as it possibly allows altering arbitrary files from JavaScript. ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
Re: [Sugar-devel] Gears in Browse
2009/5/28 Lucian Branescu lucian.brane...@gmail.com You mean that GG tries to write in /usr if it has been installed in /usr? That sounds wrong and may be configurable or fixable. I think /usr, I didn't check. I will today. Yes, it certainly is fixable, but I'm not sure it is also configurable. I'd hate to have to patch and compile Gears for the .rpm I'll investigate some more Hm. It should be trivial to get that patch upstreamed, though, right? As Google was/is (IIRC) a partner of OLPC, they should be happy to accept patches that make it easier to use Google Gears with Sugar and the XO. -- Luke Faraone http://luke.faraone.cc ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
Re: [Sugar-devel] Gears in Browse
Heh, I didn't know LocalStorage had been in Firefox for so longme too. here is an useful link about DOM Storage https://developer.mozilla.org/En/DOM:Storage Again, this should be sufficient for Karma-in-Firefox anyway, I'm looking how to get running GG with Browse 2009/5/28 Lucian Branescu lucian.brane...@gmail.com Heh, I didn't know LocalStorage had been in Firefox for so long. I was under the impression it was at the same stage as Webkit. Thanks for the link. Again, this should be sufficient for Karma-in-Firefox. But many websites already use Gears specifically, and I need them to work for Webified. 2009/5/28 Martin Langhoff martin.langh...@gmail.com: 2009/5/28 Martin Langhoff martin.langh...@gmail.com: 2009/5/28 Lucian Branescu lucian.brane...@gmail.com: Not really. HTML 5 only brings an SQLite database accessible from JavaScript. Gears has other features that aren't present in Gecko proper (yet): - LocalServer - a way to transparently persist resources locally I thought HTML5 had some offline resource facility. What we ship on XO 8.2.x is xulrunner 1.9 (FF3.0). If we were to ship xulrunner 1.9.1 (which is what the F11-based builds ship anyway) then we'd get support for the tools listed here http://wiki.whatwg.org/wiki/Implementations_in_Web_browsers From that URL, my understanding is that you get all the things you need from gecko itself. m -- martin.langh...@gmail.com mar...@laptop.org -- School Server Architect - ask interesting questions - don't get distracted with shiny stuff - working code first - http://wiki.laptop.org/go/User:Martinlanghoff ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
Re: [Sugar-devel] Gears in Browse
Lucian Branescu wrote: On a related note, Sebastian Dzillas has done some work on packaging Gears in a .rpm for Firefox. Also David van Assche. --Ben signature.asc Description: OpenPGP digital signature ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
Re: [Sugar-devel] Gears in Browse
Lucian Branescu wrote: The work is not complete, as the extension tries to write in places owned by root, instead of the local user profile. So then it is not usable on any Linux system, since users do not run with root privileges...? --Ben signature.asc Description: OpenPGP digital signature ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
Re: [Sugar-devel] Gears in Browse
Yes. I believe Gears tries to write its profile relative to where it is installed. Since it is usually installed in Firefox's user profile, it works in that case. I tried Sebastian's .rpm with and without root, it only worked with root. However, I view this as a minor problem, with Gears actually running in Browse being much more important. 2009/5/28 Benjamin M. Schwartz bmsch...@fas.harvard.edu: Lucian Branescu wrote: The work is not complete, as the extension tries to write in places owned by root, instead of the local user profile. So then it is not usable on any Linux system, since users do not run with root privileges...? --Ben I had forgotten about him. Sorry David :) 2009/5/28 Benjamin M. Schwartz bmsch...@fas.harvard.edu: Lucian Branescu wrote: On a related note, Sebastian Dzillas has done some work on packaging Gears in a .rpm for Firefox. Also David van Assche. --Ben ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel