Re: [Sugar-devel] Prototype python <-> js IPC

2013-04-25 Thread Daniel Narvaez
On 26 April 2013 03:01, Daniel Narvaez wrote: > > All in all I'm getting to like seed-context-inside-web-process idea. Might > be worth trying it out. > Actually why not a python context inside the web process? That would allow to reuse the presence service toolkit code, which I don't really wa

Re: [Sugar-devel] Prototype python <-> js IPC

2013-04-25 Thread Daniel Narvaez
On 26 April 2013 02:36, Daniel Narvaez wrote: > > Using an extension, it might be possible to run a seed context ( > https://live.gnome.org/Seed) inside the web content process and then have > the web context communicate with it through postMessage. Chrome is doing > something similar with extens

Re: [Sugar-devel] Prototype python <-> js IPC

2013-04-25 Thread Daniel Narvaez
On 26 April 2013 00:54, Daniel Drake wrote: > On Thu, Apr 25, 2013 at 3:59 PM, Daniel Narvaez > wrote: > > Hello, > > > > I wrote a quick prototype for a possible python <-> js IPC. > > I am missing some background here. In what cases do we need such IPC? > > The two cases that spring to mind ar

Re: [Sugar-devel] Prototype python <-> js IPC

2013-04-25 Thread Daniel Drake
On Thu, Apr 25, 2013 at 3:59 PM, Daniel Narvaez wrote: > Hello, > > I wrote a quick prototype for a possible python <-> js IPC. I am missing some background here. In what cases do we need such IPC? The two cases that spring to mind are journal and collaboration. > I think in an ideal world the

[Sugar-devel] Prototype python <-> js IPC

2013-04-25 Thread Daniel Narvaez
Hello, I wrote a quick prototype for a possible python <-> js IPC. sugar-toolkit-gtk3 patch https://github.com/dnarvaez/sugar-toolkit-gtk3/commit/5ba4e19732b4eec688dd73be8408c0d8e6a91299 hello-world patch https://github.com/dnarvaez/hello-world/commit/d102639bd43a99904d431210028a1ede66237427

Re: [Sugar-devel] Network version of Abecedarium: why and how

2013-04-25 Thread lionel
Hi David, Cool! I didn't know that tool. I'm going to try. Lionel. -Message d'origine- De : David Rodríguez Álvarez [mailto:dar...@activitycentral.com] Envoyé : jeudi 25 avril 2013 09:31 À : lio...@olpc-france.org Cc : 'Gonzalo Odiard'; 'Sugar-dev Devel' Objet : Re: [Sugar-deve

Re: [Sugar-devel] GSoC Translation Server Proposal

2013-04-25 Thread Erik Price
Hey Aneesh, Thanks a for going through, I'll try to answer your questions and clarify a bit for anyone else who's interested. Comments / criticisms from others on the mailing list are very welcome! I do apologize for the length of my messages, I wanted to be as specific as possible. > It would

Re: [Sugar-devel] Bidirectional communication javascript -local server

2013-04-25 Thread Daniel Narvaez
On 20 April 2013 15:36, Daniel Narvaez wrote: > Hi, > > I think it could work but out-of-process communication inside the same > process is weird. > I just realized that it's not actually the same process, because in WebKit2 (and any "modern" web browser) javascript is running in a separate pro

Re: [Sugar-devel] [PATCH] G_MIN/MAX constants have been moved into GObject overrides

2013-04-25 Thread Simon Schampijer
Thanks, pushed to master and 0.98 (as F19 will package 0.98 and we need that fix there). Simon On 04/25/2013 02:38 PM, Manuel Quiñones wrote: +1 let's push this. 2013/4/25 Simon Schampijer : On 04/25/2013 12:53 PM, Simon Schampijer wrote: The patch works with the latest Pygobject 3.8.x but

Re: [Sugar-devel] [PATCH] G_MIN/MAX constants have been moved into GObject overrides

2013-04-25 Thread Manuel Quiñones
+1 let's push this. 2013/4/25 Simon Schampijer : > On 04/25/2013 12:53 PM, Simon Schampijer wrote: >> >> The patch works with the latest Pygobject 3.8.x but as well in the 3.4.x >> series. >> >> Actually, using GLib.MAXINT32 would work as well. I will ask on #python >> what the correct/better one

[Sugar-devel] [SLOBS] meeting reminder

2013-04-25 Thread Walter Bender
We have a Sugar Oversight board meeting at 18:00 EST (22:00 UTC) today (Thursday. 25 April). Please join us on #sugar-meeting (irc.freenode.net) or chat.sugarlabs.org. regards. -walter -- Walter Bender Sugar Labs http://www.sugarlabs.org ___ Sugar-dev

Re: [Sugar-devel] [PATCH] G_MIN/MAX constants have been moved into GObject overrides

2013-04-25 Thread Simon Schampijer
On 04/25/2013 12:53 PM, Simon Schampijer wrote: The patch works with the latest Pygobject 3.8.x but as well in the 3.4.x series. Actually, using GLib.MAXINT32 would work as well. I will ask on #python what the correct/better one is. Regards, Simon Confirmed on #python, we should use GLib.

Re: [Sugar-devel] [GSoC] Mentor association

2013-04-25 Thread Walter Bender
JZA: Please just jump into any of the discussion threads you find interesting. We all need help with mentoring. regards. -walter On Thu, Apr 25, 2013 at 12:21 AM, Alexandro Colorado wrote: > Any comments? > > On 4/12/13, Alexandro Colorado wrote: > > Oh btw I am JZA on #sugar if you want to

Re: [Sugar-devel] [PATCH] G_MIN/MAX constants have been moved into GObject overrides

2013-04-25 Thread Simon Schampijer
The patch works with the latest Pygobject 3.8.x but as well in the 3.4.x series. Actually, using GLib.MAXINT32 would work as well. I will ask on #python what the correct/better one is. Regards, Simon On 04/25/2013 12:45 PM, Simon Schampijer wrote: From: Simon Schampijer See pygobject c

[Sugar-devel] [PATCH] G_MIN/MAX constants have been moved into GObject overrides

2013-04-25 Thread Simon Schampijer
From: Simon Schampijer See pygobject c2aa6f0d0ed4c4e60f081b106dc7a65513963fce --- extensions/deviceicon/battery.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extensions/deviceicon/battery.py b/extensions/deviceicon/battery.py index 21dc5f3..6bf27ef 100644 --- a/extension

Re: [Sugar-devel] Network version of Abecedarium: why and how

2013-04-25 Thread Gonzalo Odiard
Nice, looking forward to do something with this. Gonzalo On Thu, Apr 25, 2013 at 3:54 AM, wrote: > ** ** > > Hi Gonzalo, > > ** ** > > Hmmm, interesting. You’re right it’s a good way to explore to reduce the > package size. > > Plus, most of the times images are displayed in the game a

Re: [Sugar-devel] Network version of Abecedarium: why and how

2013-04-25 Thread David Rodríguez Álvarez
Hi, Lionel Besides any other optimizations, for a really quick and remorseless fix, you can run your images through Trimage, http://trimage.org/ , which uses some lossless compression libraries and seems to work nicely with your png resources (see attachment for an admittedly too small sample of r