Re: [Sugar-devel] Bundlebuilder dev command

2013-09-18 Thread Manuel Quiñones
Sorry for the late answer, 2013/9/15 Daniel Narvaez dwnarv...@gmail.com: Hello, as discussed in another thread, the sugar-toolkit bundlebuilder dev command is not respecting the SUGAR_ACTIVITIES_PATH (a fix for that landed in sugar-toolkit-gtk3 recently). Thanks for the fix. I wonder if

Re: [Sugar-devel] Bundlebuilder dev command

2013-09-18 Thread Gonzalo Odiard
-1 Please don't remove the dev command. It works. If you don't use does not means other don't find it useful. Gonzalo On Wed, Sep 18, 2013 at 8:23 AM, Manuel Quiñones ma...@laptop.org wrote: Sorry for the late answer, 2013/9/15 Daniel Narvaez dwnarv...@gmail.com: Hello, as discussed

Re: [Sugar-devel] Bundlebuilder dev command

2013-09-18 Thread Daniel Narvaez
On Wednesday, 18 September 2013, Manuel Quiñones wrote: I wonder if we should just drop the dev command, and suggest to develop directly in sugar-build/activities (or ~/Activities when outside sugar-build). All that the command does is to create a symlink anyway, if someone really wants

Re: [Sugar-devel] Bundlebuilder dev command

2013-09-18 Thread Daniel Narvaez
Fair enough, I'll let people which cares about gtk2 toolkit and the dev command fix that bug :) On Wednesday, 18 September 2013, Gonzalo Odiard wrote: -1 Please don't remove the dev command. It works. If you don't use does not means other don't find it useful. Gonzalo On Wed, Sep 18,

[Sugar-devel] Fwd: C. Scott Ananian (Re: Sugar Labs permission request to dual license under LGPL and Apache License)

2013-09-18 Thread Daniel Narvaez
We now need to make the license changes in the sugar-artwork git. And to finish up the ones in the sugar-web modules (if I remember correctly we have not added headers yet). -- Forwarded message -- From: *Tony Sebro* Date: Monday, 16 September 2013 Subject: C. Scott Ananian (Re:

Re: [Sugar-devel] 0.100 schedule

2013-09-18 Thread Daniel Narvaez
I wish I could do that but I'm not really able to commit to meeting schedules these days. It's a lot easier for me to work async. It's not like you can't do this without me though :) I can read the logs and comment. On Monday, 16 September 2013, Gonzalo Odiard wrote: What you (and other in the

[Sugar-devel] Web activities on XO-4

2013-09-18 Thread Manuel Quiñones
I finally got web activities working on XO-4, in the AU build published yesterday [1] . I did it by modifying webactivities.py to use WebKitGTK1 instead of v2. The changes are: https://github.com/manuq/sugar-toolkit-gtk3-1/compare/webacts-webkit1 I tried it with Gears Activity v3, and is

Re: [Sugar-devel] Web activities on XO-4

2013-09-18 Thread Walter Bender
This is great news. -walter On Wed, Sep 18, 2013 at 1:01 PM, Manuel Quiñones ma...@laptop.org wrote: I finally got web activities working on XO-4, in the AU build published yesterday [1] . I did it by modifying webactivities.py to use WebKitGTK1 instead of v2. The changes are:

Re: [Sugar-devel] Bundlebuilder dev command

2013-09-18 Thread Walter Bender
It is only an issue for sugar-build, not Sugar installed by non-developers. And it is documented [1]. And ls -s sugar-build/activities Activities works. -walter [1] http://developer.sugarlabs.org/dev-environment.md.html#activities On Wed, Sep 18, 2013 at 2:32 PM, Gonzalo Odiard

Re: [Sugar-devel] Web activities on XO-4

2013-09-18 Thread Gonzalo Odiard
Fantastic. Good work! Gonzalo On Wed, Sep 18, 2013 at 2:01 PM, Manuel Quiñones ma...@laptop.org wrote: I finally got web activities working on XO-4, in the AU build published yesterday [1] . I did it by modifying webactivities.py to use WebKitGTK1 instead of v2. The changes are:

Re: [Sugar-devel] Bundlebuilder dev command

2013-09-18 Thread Gonzalo Odiard
I people continue using ~/Activities directory is not a problem, right? What is the point of move the directory where the activities are installed? Changing these directories without a good motive _is_ a problem. Nobody will update the documentation, wiki pages, tutorials, and development book,

Re: [Sugar-devel] Bundlebuilder dev command

2013-09-18 Thread Daniel Narvaez
Nothing changed in sugar itself, I just fixed obvious bugs, like environment variables not being consistently respected, nonsense code duplication etc. About sugar-build, the change is necessary because you want everything to be contained in the mounted directory (sugar-build), so that it's

Re: [Sugar-devel] Web activities on XO-4

2013-09-18 Thread Daniel Narvaez
Nice work. Did you check that you are actually getting a different origin in each activity using the new approach to activity://? On Wednesday, 18 September 2013, Manuel Quiñones wrote: I finally got web activities working on XO-4, in the AU build published yesterday [1] . I did it by

Re: [Sugar-devel] Web activities on XO-4

2013-09-18 Thread Manuel Quiñones
2013/9/18 Daniel Narvaez dwnarv...@gmail.com: Nice work. Did you check that you are actually getting a different origin in each activity using the new approach to activity://? Logged document.location.origin, it gives file://, that's why I had to add the 'enable-file-access-from-file-uris'

Re: [Sugar-devel] Web activities on XO-4

2013-09-18 Thread Daniel Narvaez
You could put an http server in the activity... Sucks but I'm not sure there is a better way :/ On Wednesday, 18 September 2013, Manuel Quiñones wrote: I finally got web activities working on XO-4, in the AU build published yesterday [1] . I did it by modifying webactivities.py to use

Re: [Sugar-devel] Web activities on XO-4

2013-09-18 Thread Gonzalo Odiard
This is for the potential security risk of opening files outside of the activity directory, or because can be a problem with different activities running at the same time or multiple instances of the same activity? Gonzalo On Wed, Sep 18, 2013 at 5:46 PM, Daniel Narvaez dwnarv...@gmail.com

Re: [Sugar-devel] Web activities on XO-4

2013-09-18 Thread Daniel Narvaez
You mean why the http server would be a problem? On Wednesday, 18 September 2013, Gonzalo Odiard wrote: This is for the potential security risk of opening files outside of the activity directory, or because can be a problem with different activities running at the same time or multiple

Re: [Sugar-devel] Web activities on XO-4

2013-09-18 Thread Gonzalo Odiard
No, why is needed use a local web server instead of the use of the proposed solution (use 'enable-file-access-from-file-uris' ) Gonzalo On Wed, Sep 18, 2013 at 6:06 PM, Daniel Narvaez dwnarv...@gmail.com wrote: You mean why the http server would be a problem? On Wednesday, 18 September

Re: [Sugar-devel] Web activities on XO-4

2013-09-18 Thread Daniel Narvaez
Well, there are several html features which depend on each activity having their own origin, for example local storage. On Wednesday, 18 September 2013, Gonzalo Odiard wrote: No, why is needed use a local web server instead of the use of the proposed solution (use

Re: [Sugar-devel] Web activities on XO-4

2013-09-18 Thread Gonzalo Odiard
Ok. Thanks. The web server need have something special or just serve a directory is enough? Gonzalo On Wed, Sep 18, 2013 at 6:22 PM, Daniel Narvaez dwnarv...@gmail.com wrote: Well, there are several html features which depend on each activity having their own origin, for example local

Re: [Sugar-devel] Web activities on XO-4

2013-09-18 Thread Manuel Quiñones
Yeah, a web server is how this issue is usually overcome. I was expecting a proper way but seems that only webkit2 has one, the register_uri_scheme . 2013/9/18 Gonzalo Odiard gonz...@laptop.org: Ok. Thanks. The web server need have something special or just serve a directory is enough?

Re: [Sugar-devel] Web activities on XO-4

2013-09-18 Thread Daniel Narvaez
Just a directory. It needs to be one server per activity though, so that the different port gives us a different origin. On 18 September 2013 23:32, Gonzalo Odiard gonz...@laptop.org wrote: Ok. Thanks. The web server need have something special or just serve a directory is enough? Gonzalo

Re: [Sugar-devel] Web activities on XO-4

2013-09-18 Thread Erik Blankinship
Map-2.xo (or thereabouts) had a web server built in. I don't remember the specifics, but if someone can dig up the code there might be some ideas in there. I recall Dan Williams was helpful in drafting a script for finding the best available port per activity instance. On Wed, Sep 18, 2013 at