Re: [Sugar-devel] Using the DojoToolkit in a Sugar WebService ?

2013-10-02 Thread Manuel Quiñones
2013/10/2 laurent bernabe laurent.bern...@gmail.com: Hi, Has anyone tried to use the DojoToolkit in a web activity ? Because, as the documentation says that it should be used in a web server. Otherwise some functionnalities may not be available. What do you want to archive? I don't know

Re: [Sugar-devel] Using the DojoToolkit in a Sugar WebService ?

2013-10-02 Thread Manuel Quiñones
2013/10/2 laurent bernabe laurent.bern...@gmail.com: Apologizes, for POO in javascript, I did not want to talk about encapsulation, but about fields visibilty (public/protected/private). I've read the mozilla page link that Manuel gave me, but they don't talk about that OOP feature. And I

Re: [Sugar-devel] Using the DojoToolkit in a Sugar WebService ?

2013-10-02 Thread Manuel Quiñones
2013/10/2 laurent bernabe laurent.bern...@gmail.com: 2013/10/3 Manuel Quiñones ma...@laptop.org False. A variable declared with 'var' is visible in the object private methods and privileged methods too. This is worth reading: http://javascript.crockford.com/private.html Thanks

Re: [Sugar-devel] PyGame can be run only once assertion error

2013-10-01 Thread Manuel Quiñones
2013/9/30 Alan Jhonn Aguiar Schwyn alan...@hotmail.com: TypeError: _screen_changed_cb() takes exactly 2 arguments (3 given) I'm investigate the warning. In the documentation says: http://pygtk.org/docs/pygtk/class-gtkwidget.html#signal-gtkwidget--screen-changed Then, the function must be:

Re: [Sugar-devel] PyGame can be run only once assertion error

2013-10-01 Thread Manuel Quiñones
assertion error 2013/9/30 Manuel Quiñones ma...@laptop.org: 2013/9/30 Alan Jhonn Aguiar Schwyn alan...@hotmail.com: Good job! I have one question about other thing: Check this request: http://git.sugarlabs.org/sugargame/mainline/merge_requests/1

Re: [Sugar-devel] PyGame can be run only once assertion error

2013-09-30 Thread Manuel Quiñones
2013/9/30 Alan Jhonn Aguiar Schwyn alan...@hotmail.com: Good job! I have one question about other thing: Check this request: http://git.sugarlabs.org/sugargame/mainline/merge_requests/1#db3f934e9aea80f9effc98ba68516d69e7856a81-db3f934e9aea80f9effc98ba68516d69e7856a81 Looks good, I will

Re: [Sugar-devel] PyGame can be run only once assertion error

2013-09-30 Thread Manuel Quiñones
error 2013/9/30 Manuel Quiñones ma...@laptop.org: 2013/9/30 Alan Jhonn Aguiar Schwyn alan...@hotmail.com: Good job! I have one question about other thing: Check this request: http://git.sugarlabs.org/sugargame/mainline/merge_requests/1#db3f934e9aea80f9effc98ba68516d69e7856a81

Re: [Sugar-devel] PyGame can be run only once assertion error

2013-09-30 Thread Manuel Quiñones
2013/9/30 James Cameron qu...@laptop.org: On Mon, Sep 30, 2013 at 04:24:52PM -0300, Manuel Quiñones wrote: 2013/9/30 Alan Jhonn Aguiar Schwyn alan...@hotmail.com: Good job! I have one question about other thing: Check this request: http://git.sugarlabs.org/sugargame/mainline

Re: [Sugar-devel] Helping test Sugar 0.100

2013-09-30 Thread Manuel Quiñones
2013/9/30 James Cameron qu...@laptop.org: On Mon, Sep 30, 2013 at 09:25:57PM -0300, Rogelio Mita wrote: works great on XO-1.5, and I made a proof of concept of a web-activity following these steps: http://developer.sugarlabs.org/activity.md.html, but when I open my web-activity, then close

Re: [Sugar-devel] PyGame can be run only once assertion error

2013-09-27 Thread Manuel Quiñones
2013/9/27 James Cameron qu...@laptop.org: Could this be fixed in SugarGames in future? (Not an invitation to discuss deprecation in favour of alternate technologies; clearly it is in use, why can't we fix it?) Absolutly. As the current maintainer, I will give it a try. -- .. manuq ..

Re: [Sugar-devel] [support-gang] Helping test Sugar 0.100

2013-09-27 Thread Manuel Quiñones
2013/9/26 James Cameron qu...@laptop.org: On Thu, Sep 26, 2013 at 05:50:57PM -0300, Manuel Quiñones wrote: 2013/9/26 Gonzalo Odiard gonz...@laptop.org: To all the people interested in help to test the new features in Sugar 0.100, I have prepared rpms to install over a 13.2.0 image on xo

Re: [Sugar-devel] [support-gang] Helping test Sugar 0.100

2013-09-27 Thread Manuel Quiñones
/How_to_get_sponsored_into_the_packager_group you can become a maintainer if someone sponsors you. I think Peter sponsored me. You should ask him. Gonzalo On Fri, Sep 27, 2013 at 11:18 AM, Manuel Quiñones ma...@laptop.org wrote: 2013/9/26 James Cameron qu...@laptop.org: On Thu, Sep 26, 2013 at 05:50:57PM -0300, Manuel

Re: [Sugar-devel] sugar-build won't start

2013-09-27 Thread Manuel Quiñones
Today I tried a fresh install of Fedora 19 with this in the prefs.json file: { use_broot: false } Got this error: [manuq@localhost sugar-build]$ ./osbuild build = Building = * Building automake Traceback (most recent call last): File

Re: [Sugar-devel] Testing the activity bundle of my activity before submitting it to ASLO.

2013-09-27 Thread Manuel Quiñones
Yes, I think you will not have a problem. Please try and tell us. 2013/9/27 laurent bernabe laurent.bern...@gmail.com: Hi, As I developped my activity (HitTheBalls) under sugar-build 0.100, I am wondering if I can test the bundle with SOAS 0.98 (installing it on Virtual Box). I mean :

Re: [Sugar-devel] Helping test Sugar 0.100

2013-09-26 Thread Manuel Quiñones
2013/9/26 Gonzalo Odiard gonz...@laptop.org: To all the people interested in help to test the new features in Sugar 0.100, I have prepared rpms to install over a 13.2.0 image on xo-1.5 (I didn't tested on xo-1, but should work). Excellent! Yes, should work in any XO architecture -- ..

Re: [Sugar-devel] SugarGames, GTK3 and fonts ?

2013-09-25 Thread Manuel Quiñones
2013/9/25 Alan Jhonn Aguiar Schwyn alan...@hotmail.com: SugarGames is a bit deprecated but works. There are a lot of activities that uses it. In my case, all my activities (except one) uses SugarGames library. Yes, I agree, It works and at the end, it all depends on the audience you are

Re: [Sugar-devel] SugarGames, GTK3 and fonts ?

2013-09-24 Thread Manuel Quiñones
2013/9/24 Alan Jhonn Aguiar Schwyn alan...@hotmail.com: Hi, You only will make a GTK3 version? The latest sugar (0.100) is not used in any deployment: in all countries we have Sugar 0.94 or less. Would be good have a GTK2 version of that activity. We, sugar dev community, recommend using

[Sugar-devel] [Sugar Web] Supporting different screen DPIs - XO-4

2013-09-23 Thread Manuel Quiñones
So with this small change we can have a CSS that suits the 200 dpi of the XO screen: - @subcell-size: 11px; + @subcell-size: 15px; And we can use CSS3 media queries to use that CSS http://www.w3.org/TR/css3-mediaqueries/ According to that, the proper media query should be: link

Re: [Sugar-devel] [Sugar Web] Supporting different screen DPIs - XO-4

2013-09-23 Thread Manuel Quiñones
Forgot to say that I have also tried with -webkit-min-device-pixel-ratio: 2 and other values. But the test page gives 1. 2013/9/23 Manuel Quiñones ma...@laptop.org: So with this small change we can have a CSS that suits the 200 dpi of the XO screen: - @subcell-size: 11px

Re: [Sugar-devel] [Sugar Web] Supporting different screen DPIs - XO-4

2013-09-23 Thread Manuel Quiñones
2013/9/23 James Cameron qu...@laptop.org: On Mon, Sep 23, 2013 at 08:33:00AM -0300, Manuel Quiñones wrote: Considering http://wiki.laptop.org/go/Display#Quick_Summary. But seems that webkitgtk is not not supporting 'resolution', and utilities like http://mediaqueriestest.com/ confirm that. I

Re: [Sugar-devel] Preview

2013-09-22 Thread Manuel Quiñones
2013/9/20 Daniel Narvaez dwnarv...@gmail.com: On 20 September 2013 23:53, Gonzalo Odiard gonz...@laptop.org wrote: In 90% of the cases, javascript should not ask the preview, and be saved in automatic way by the python code, just like the actual code. In the rare cases where the web activity

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

[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 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 Manuel Quiñones
wrote: 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] [ASLO] Release Markdown Activity-2

2013-09-17 Thread Manuel Quiñones
Excellent! Monospace font is nice to underline the titles with - I don't see the changes in your repo: https://github.com/sugarlabs/sugar-build.git Are you going to push them? I want to help you with the bad scrolling. The text areas should resize to fit the window. Also, Insert image is

Re: [Sugar-devel] [ASLO] Release Connect the Dots-1

2013-09-13 Thread Manuel Quiñones
Nice! 2013/9/13 Sugar Labs Activities activit...@sugarlabs.org: Activity Homepage: http://activities.sugarlabs.org/addon/4704 Sugar Platform: 0.100 - 0.100 Download Now: http://activities.sugarlabs.org/downloads/file/28747/connect_the_dots-1.xo Release notes: First version of a Connect

Re: [Sugar-devel] sugar-web: css lint

2013-09-13 Thread Manuel Quiñones
2013/9/5 Manuel Quiñones ma...@laptop.org: 2013/9/5 Daniel Narvaez dwnarv...@gmail.com: Buildbot is now using recess. I wonder if we should update the docs to document the command line to use, or if they should just say to run check. Great! I'll add information about recess in the README.md

Re: [Sugar-devel] Hackaton on eduJam 2013, Paraguay, October 13

2013-09-13 Thread Manuel Quiñones
2013/9/13 Gonzalo Odiard gonz...@laptop.org: In the context of the next eduJam [1] in Paraguay, we plan do a hackaton. Who plans be there, and what topics do you would like discuss/hack? I'll be there, and I'm willing to introduce anyone on web activities and sugar-web. -- .. manuq ..

Re: [Sugar-devel] [ASLO] Release Image Viewer-59

2013-09-10 Thread Manuel Quiñones
Hi Agustin, I like the new activity icon :) Congrats, 2013/9/9 Agustin Zubiaga Sanchez a...@sugarlabs.org: Here is the tarball for this release: http://people.sugarlabs.org/aguz/ImageViewer-59.tar.bz2 Thanks, aguz 2013/9/9 Sugar Labs Activities activit...@sugarlabs.org Activity

Re: [Sugar-devel] [ASLO] Release Image Viewer-59

2013-09-10 Thread Manuel Quiñones
PS: I went to git.sugarlabs.org and I see we still have a mess of branches in activities. New releases are being done in gtk3 branch, and master is old. I think activity developers should rebase and continue working in master branch. 2013/9/10 Manuel Quiñones ma...@laptop.org: Hi Agustin, I

[Sugar-devel] sugar-web: documenting the API

2013-09-10 Thread Manuel Quiñones
Hi, this is an attemp to formalize and document the communication between web activities and the shell, to push the development of Sugar on Android. I'm proposing JSON-RPC 2.0 as a format. Specification: http://www.jsonrpc.org/specification In general the Sugar Shell acts as the server and the

Re: [Sugar-devel] Preview field in web activities

2013-09-09 Thread Manuel Quiñones
2013/9/9 Suraj K S suraj.gilles...@gmail.com: I'm able to capture the screen shot of the activity using http://html2canvas.hertzen.com/ It captures the screenshot and returns a canvas. Now to convert it to a png image I'm using: var previewImage = canvas.toDataURL(image/png;base64); I'm

Re: [Sugar-devel] Preview field in web activities

2013-09-09 Thread Manuel Quiñones
2013/9/9 Daniel Narvaez dwnarv...@gmail.com: I wonder about the general approach here... It's good that it can be done all in js, but rerendering the DOM like this feels a bit bad. It will probably not work well for some web sites and might have a performance hit. We have access to the webkit

Re: [Sugar-devel] [ASLO] Release Browse-149.4

2013-09-09 Thread Manuel Quiñones
Tarball in http://dev.laptop.org/~manuq/Browse-149.4.tar.bz2 Until a sysadmin can recover my password in shell.sl.org . 2013/9/9 Sugar Labs Activities activit...@sugarlabs.org: Activity Homepage: http://activities.sugarlabs.org/addon/4024 Sugar Platform: 0.98 - 0.98 Download Now:

Re: [Sugar-devel] [ASLO] Release Browse-154

2013-09-09 Thread Manuel Quiñones
Tarball in http://dev.laptop.org/~manuq/Browse-154.tar.bz2 Until a sysadmin can recover my password in shell.sl.org . 2013/9/9 Sugar Labs Activities activit...@sugarlabs.org: Activity Homepage: http://activities.sugarlabs.org/addon/4024 Sugar Platform: 0.100 - 0.100 Download Now:

[Sugar-devel] [RELEASE] Browse-155

2013-09-09 Thread Manuel Quiñones
== Source == http://download.sugarlabs.org/sources/sucrose/fructose/Browse/Browse-155.tar.bz2 == News == * Release 155 (Manuel Quiñones) * Bump CURRENT_SUGAR_VERSION to 0.100 (Manuel Quiñones) ___ Sugar-devel mailing list

Re: [Sugar-devel] [ASLO] Release Browse-149.4

2013-09-09 Thread Manuel Quiñones
2013/9/9 Manuel Quiñones ma...@laptop.org: Tarball in http://dev.laptop.org/~manuq/Browse-149.4.tar.bz2 http://download.sugarlabs.org/sources/sucrose/fructose/Browse/Browse-149.4.tar.bz2 Until a sysadmin can recover my password in shell.sl.org . Thanks Daniel N! -- .. manuq

Re: [Sugar-devel] [ASLO] Release Browse-154

2013-09-09 Thread Manuel Quiñones
2013/9/9 Gonzalo Odiard gonz...@laptop.org: May be is time to change CURRENT_SUGAR_VERSION = '0.98' in browser.py to 0.100? I changed that variable to '0.100, navigated to activities.sugarlabs.org and confirmed that the state of activities is in good shape, many are marked 0.100 now. So I'll

Re: [Sugar-devel] sugar-web - API for storing data

2013-09-09 Thread Manuel Quiñones
Hi, I'm reliving this topic again 2013/8/16 Daniel Narvaez dwnarv...@gmail.com: Hey, It seems be have two (mostly) independent questions here - How do we notify an activity of certain global events, being them onPause/onStop or onRead/onWrite. If we want them to be passed in

Re: [Sugar-devel] app: URI scheme

2013-09-06 Thread Manuel Quiñones
2013/9/6 Daniel Narvaez dwnarv...@gmail.com: http://www.w3.org/2012/sysapps/app-uri/ Just a draft but worth to keep an eye on it I guess. Looks promising. I just subscribed to public-sysa...@w3.org to keep track of the draft. -- .. manuq .. ___

Re: [Sugar-devel] app: URI scheme

2013-09-06 Thread Manuel Quiñones
2013/9/6 Manuel Quiñones ma...@laptop.org: 2013/9/6 Daniel Narvaez dwnarv...@gmail.com: http://www.w3.org/2012/sysapps/app-uri/ Just a draft but worth to keep an eye on it I guess. Looks promising. I just subscribed to public-sysa...@w3.org to keep track of the draft. I think is worth

Re: [Sugar-devel] sugar-web: css lint

2013-09-05 Thread Manuel Quiñones
2013/9/5 Daniel Narvaez dwnarv...@gmail.com: On 5 September 2013 03:38, Manuel Quiñones ma...@laptop.org wrote: 2013/9/4 Andrew McMillan and...@morphoss.com: On Wed, 2013-09-04 at 11:18 -0300, Manuel Quiñones wrote: No luck in html lint. There is the main validator: http://validator.nu

Re: [Sugar-devel] sugar-web: css lint

2013-09-05 Thread Manuel Quiñones
2013/9/5 Daniel Narvaez dwnarv...@gmail.com: Buildbot is now using recess. I wonder if we should update the docs to document the command line to use, or if they should just say to run check. Great! I'll add information about recess in the README.md inside graphics, for ui volunteers. -- ..

[Sugar-devel] sugar-web: css lint

2013-09-04 Thread Manuel Quiñones
I think this is enough for us, and works well with LESS: https://github.com/twitter/recess I looked at this one too: https://github.com/stubbornella/csslint Seems more complete and more configurable but it will not work with LESS files directly. Although the LESS file can be compiled to CSS

Re: [Sugar-devel] sugar-web: css lint

2013-09-04 Thread Manuel Quiñones
2013/9/4 Andrew McMillan and...@morphoss.com: On Wed, 2013-09-04 at 11:18 -0300, Manuel Quiñones wrote: No luck in html lint. There is the main validator: http://validator.nu/ . It helped me to find a bug in the index.html of sugar-web-template. I have sent a PR with the fix

Re: [Sugar-devel] Are we ready for code freeze?

2013-09-03 Thread Manuel Quiñones
Thanks a lot Jerry and Gonzalo, 2013/9/2 Gonzalo Odiard gonz...@laptop.org: Yes, you are right about the schedule. My comment was based in my perception (can be wrong) of the work in the last weeks. Following the pull requests, most of the work is related to web, only a few were related to

Re: [Sugar-devel] sugar-web - API for storing data

2013-09-03 Thread Manuel Quiñones
current onWrite implementation adds too little to be justified. * I tend to think we should use custom DOM events here instead of callbacks, if possible. On 16 August 2013 14:01, Manuel Quiñones ma...@laptop.org wrote: This is one of the most important APIs we will have, so I would like to open

Re: [Sugar-devel] sugar-web - API for storing data

2013-09-03 Thread Manuel Quiñones
. https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Obsolete_Pages/Creating_New_Objects/Defining_Getters_and_Setters Anyways, explicit is better than implicit, and is good to not mess standard objects. 2013/9/3 Manuel Quiñones ma...@laptop.org: I'm back into this. After discussing

Re: [Sugar-devel] Are we ready for code freeze?

2013-09-02 Thread Manuel Quiñones
2013/9/2 Daniel Narvaez dwnarv...@gmail.com: On 2 September 2013 21:00, Daniel Drake d...@laptop.org wrote: On Mon, Sep 2, 2013 at 12:21 PM, Daniel Narvaez dwnarv...@gmail.com wrote: I propose we don't freeze and instead we keep releasing 0.99.x every four weeks, until we feel we have

Re: [Sugar-devel] Are we ready for code freeze?

2013-09-02 Thread Manuel Quiñones
2013/9/2 James Cameron qu...@laptop.org: On Mon, Sep 02, 2013 at 04:36:31PM -0300, Manuel Quiñones wrote: I agree. We should delay the hard freeze for 4 weeks and hope that by that time we get some testing and bugfixing. How can I test on an XO? That's the question, James. We don't have

Re: [Sugar-devel] Build breakage in sugar-web

2013-08-29 Thread Manuel Quiñones
2013/8/29 Daniel Narvaez dwnarv...@gmail.com: We should also consider that the amount of HTML in the toolkit is going to be really minimal, so probably not worth spending a lot of time on linting it... Though if you can give a try to csslint and see if it's good enough, it would probably be

Re: [Sugar-devel] [ASLO] Release Markdown Activity-1

2013-08-26 Thread Manuel Quiñones
Nice! 2013/8/25 Sugar Labs Activities activit...@sugarlabs.org: Activity Homepage: http://activities.sugarlabs.org/addon/4705 Sugar Platform: 0.82 - 0.100 Download Now: http://activities.sugarlabs.org/downloads/file/28749/markdown_activity-1.xo Release notes: Sugar Labs Activities

Re: [Sugar-devel] [IAEP] Sugar Digest 2013-08-22

2013-08-24 Thread Manuel Quiñones
2013/8/23 fors...@ozonline.com.au: Hi Spirituality for Kids seems to be closely associated with the Kabbalah Center. See http://en.wikipedia.org/wiki/Kabbalah_Centre Here is a foundation that works with children in schools, from film director David Lynch:

Re: [Sugar-devel] [DESIGN] Icon for toolkit

2013-08-23 Thread Manuel Quiñones
, 2013 at 4:43 PM, Walter Bender walter.ben...@gmail.com wrote: How about an XO on the pail? -walter On Thu, Aug 22, 2013 at 3:41 PM, Manuel Quiñones ma...@laptop.org wrote: Two options: http://dev.laptop.org/~manuq/toolkit-icon/toolkit-a.png http

[Sugar-devel] github pull-requests and trac hook

2013-08-23 Thread Manuel Quiñones
Hey Daniel, I just seen this comment on github: https://github.com/sugarlabs/sugar-toolkit-gtk3/pull/27#issuecomment-22734350 Can you explain how to trigger the trac hook that closes the ticket automatically? Is the word Fixes needed or just the ticket number? Might be worth mentioning in the

Re: [Sugar-devel] Web activity template wrong ?

2013-08-23 Thread Manuel Quiñones
2013/8/23 lio...@olpc-france.org: Hi all, I’ve recently upgraded my sugar-build and I’ve now an issue creating new web activity. When I follow instructions here: http://developer.sugarlabs.org/activity.md.html I’ve got a blank screen when running the activity :-( Can you show us the

[Sugar-devel] Performance of Android WebView

2013-08-23 Thread Manuel Quiñones
I've been trying Gears activity in Android. First, running it standalone, pointing Chrome for Android to http://manuq.github.io/gears-activity/. Then I bundled it as an APK, and found that performance was bad in my device (tablet ASUS transformer with Android 4.2). After finding that, I tested

Re: [Sugar-devel] github pull-requests and trac hook

2013-08-23 Thread Manuel Quiñones
2013/8/23 Daniel Narvaez dwnarv...@gmail.com: It's explained pretty well in the header comment here https://github.com/dnarvaez/github-trac/blob/master/github/hook.py Yeah, really need to add this to sugar-docs. Feel free or I will do that when I'm back from vacation. Thanks for the info.

Re: [Sugar-devel] [DESIGN] Icon for toolkit

2013-08-22 Thread Manuel Quiñones
Manuel Quiñones ma...@laptop.org: 2013/8/21 Alan Jhonn Aguiar Schwyn alan...@hotmail.com: If the buddy is an X (as in XO ) ?? That's an option too, Alan. -- .. manuq .. -- .. manuq .. ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org

[Sugar-devel] [DESIGN] Icon for toolkit

2013-08-21 Thread Manuel Quiñones
The discussion started in this ticket http://bugs.sugarlabs.org/ticket/4605 Simon proposed to base it in tools for the sandbox, like http://csimg.shopwahl.de/srv/DE/0086b000r3wlma/T/340x340/C/FF/url/idena-7113460-eimergarnitur.jpg Another option is use mechanic tools, like

Re: [Sugar-devel] [DESIGN] Icon for toolkit

2013-08-21 Thread Manuel Quiñones
2013/8/21 Walter Bender walter.ben...@gmail.com: I like the Join_Developer approach, although it seems a bit overly complex. Yes. I will try removing the buddy, keeping only the tools. -- .. manuq .. ___ Sugar-devel mailing list

Re: [Sugar-devel] [DESIGN] Icon for toolkit

2013-08-21 Thread Manuel Quiñones
2013/8/21 Simon Schampijer si...@schampijer.de: On 08/21/2013 03:44 PM, Manuel Quiñones wrote: 2013/8/21 Walter Bender walter.ben...@gmail.com: I like the Join_Developer approach, although it seems a bit overly complex. Yes. I will try removing the buddy, keeping only the tools. Mind

Re: [Sugar-devel] [DESIGN] Icon for toolkit

2013-08-21 Thread Manuel Quiñones
2013/8/21 Alan Jhonn Aguiar Schwyn alan...@hotmail.com: If the buddy is an X (as in XO ) ?? That's an option too, Alan. -- .. manuq .. ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel

[Sugar-devel] sugar-web - API for storing data

2013-08-16 Thread Manuel Quiñones
This is one of the most important APIs we will have, so I would like to open discussion on it. In GTK activities, the activity developer subclass Activity, and override read() and write() methods. In web activities, we don't have that kind of hierarchy. Instead, the activity developer imports

Re: [Sugar-devel] 0.100 status

2013-08-15 Thread Manuel Quiñones
Hi, I'll join bug hunting/fixing too, specially regarding the latest bits of sugar-web. I've been seeing bad memory consumption from webkitgtk processes. Haven't filed a ticket yet. I think the slowness is because of the switch we did in maintenance, from people contracted by olpc, to people

Re: [Sugar-devel] 0.100 status

2013-08-15 Thread Manuel Quiñones
2013/8/15 Manuel Quiñones ma...@laptop.org: Hi, I'll join bug hunting/fixing too, specially regarding the latest bits of sugar-web. I've been seeing bad memory consumption from webkitgtk processes. Haven't filed a ticket yet. http://bugs.sugarlabs.org/ticket/4603 -- .. manuq

Re: [Sugar-devel] [ASLO] Release Paint-1

2013-08-12 Thread Manuel Quiñones
You are right Ignacio. Moved them to Paint Web, Memorize Web, etc. 2013/8/10 Gonzalo Odiard gonz...@laptop.org: Please change the name to avoid confusion. Gonzalo On Sat, Aug 10, 2013 at 2:19 PM, Sugar Labs Activities activit...@sugarlabs.org wrote: Activity Homepage:

[Sugar-devel] NodeWebKit

2013-08-12 Thread Manuel Quiñones
Gonzalo pointed me to this presentation: http://flocktofedora.org/wp-content/uploads/2013/07/flock-2013-desktop-apps-w-node-webkit-tnw.pdf The repository is at: https://github.com/rogerwang/node-webkit/ -- .. manuq .. ___ Sugar-devel mailing list

[Sugar-devel] Gears and random thoughts

2013-08-09 Thread Manuel Quiñones
Hello, I've made an activity out of gearsket.ch . This is a present for our friend Paul Fox, who pointed me to that excellent app. Thanks Paul! http://manuq.github.io/gears-activity/ I contacted the developer and started sending pull-requests to make GearSketch a lib we could use, and I've

Re: [Sugar-devel] Gears and random thoughts

2013-08-09 Thread Manuel Quiñones
2013/8/9 Chris Leonard cjlhomeaddr...@gmail.com: Is there a way to add them to ASLO and to tag them as such? Yes! I think it is already time. I have proposed my web activities for submission in ASLO. They are tagged 0.100 . In order of appearence: - Clock

Re: [Sugar-devel] Plans for SoaS v10

2013-08-08 Thread Manuel Quiñones
2013/8/7 Peter Robinson pbrobin...@gmail.com: Hi All, In the planning for v10 (wow where's 5 yearrs gone!) which will have sugar 0.100 or what ever it's called! Thank you Peter! Fedora 20 is now running just fine (I've been testing a gtk3 only setup in a VM). There's nightly images below

Re: [Sugar-devel] Web Activity lifecycle and storage

2013-08-05 Thread Manuel Quiñones
Thanks for the hints Daniel, 2013/8/3 Daniel Narvaez dwnarv...@gmail.com: On 3 August 2013 02:26, Manuel Quiñones ma...@laptop.org wrote: The problem is: how could the activity process wait for the datastore write to finish? If the WnckWindow close is called [1], the activity process ends

Re: [Sugar-devel] Web Activity lifecycle and storage

2013-08-05 Thread Manuel Quiñones
2013/8/5 Daniel Narvaez dwnarv...@gmail.com: On 5 August 2013 17:36, Manuel Quiñones ma...@laptop.org wrote: Thanks for the hints Daniel, 2013/8/3 Daniel Narvaez dwnarv...@gmail.com: On 3 August 2013 02:26, Manuel Quiñones ma...@laptop.org wrote: The problem is: how could the activity

Re: [Sugar-devel] Web Activity lifecycle and storage

2013-08-05 Thread Manuel Quiñones
2013/8/5 Daniel Narvaez dwnarv...@gmail.com: On Monday, 5 August 2013, Manuel Quiñones wrote: In shell Activity.close(), to do the close directly if it is not a web activity. If it is a web activity, emit the signal. You said: call get_window().close() only if the signal didn't return

Re: [Sugar-devel] Bug triaging

2013-08-02 Thread Manuel Quiñones
Slight correction on this. Set to new after bug has been triaged (default is unconfirmed). Sounds all very fine to me. Thanks for your work. There is a good page on the wiki about the fields btw http://wiki.sugarlabs.org/go/BugSquad/Status_Fields Great to see links to the wiki docs in

[Sugar-devel] Web Activity lifecycle and storage

2013-08-02 Thread Manuel Quiñones
From the user point of view: in Sugar there is no need to save. Data storage is done automatically. How is that implemented in GTK? Activity developers override write_file. Then the method is called when the activity is stopped or when it goes to the background. On stop, the activity process

Re: [Sugar-devel] [sugar-web] bug in the activity palette at the Home view

2013-08-01 Thread Manuel Quiñones
2013/7/31 Suraj K S suraj.gilles...@gmail.com: Hi Manuel, I'm afraid even https://github.com/sugarlabs/sugar-web/pull/71/files still doesn't completely fix the problem. Try this: 1) Open activity. 2) Change the activity title in the activity palette. Then close the activity. 3)Open then

Re: [Sugar-devel] Feature freeze due in 3 days (July 31)

2013-07-30 Thread Manuel Quiñones
2013/7/30 Daniel Narvaez dwnarv...@gmail.com: On 30 July 2013 03:54, Manuel Quiñones ma...@laptop.org wrote: 2013/7/28 Daniel Narvaez dwnarv...@gmail.com: Hello, the feature freeze is due on July 31. I think all the features we originally planned landed already, thanks

[Sugar-devel] sugar-web - components API

2013-07-30 Thread Manuel Quiñones
MenuPalette landed in sugar-web. It is a palette that contains clickable items. Like the ones in GTK, they have a label of text and can have an icon. When an item is clicked, the palette emits a signal with information that contains the clicked element. The API to create a MenuPalette is this:

Re: [Sugar-devel] [ASLO] Release Quwy: El cuy matemático-1

2013-07-30 Thread Manuel Quiñones
Very cute cuy 3 http://activities.sugarlabs.org/en-US/sugar/images/p/572/1298676030 2013/7/27 Sugar Labs Activities activit...@sugarlabs.org: Activity Homepage: http://activities.sugarlabs.org/addon/4404 Sugar Platform: 0.82 - 0.90 Download Now:

[Sugar-devel] [sugar-web] bug in the activity palette at the Home view

2013-07-30 Thread Manuel Quiñones
Moving the discussion from github, answering Suraj comment: https://github.com/sugarlabs/sugar-web/commit/ca60d8166161b49ea4f7bc091145b1b00e72c779#commitcomment-3751549 You are totally right Suraj. the bug remains. TestCase: - start web activity from scratch - stop it without doing anything -

Re: [Sugar-devel] Android ActionBar and Activity Toolbar

2013-07-29 Thread Manuel Quiñones
Hi Daniel, After all this considerations I conclude that we should make the HTML toolbar imitate the ActionBar in style and behaviour. You mean we should do that cross-platform or just when running on Android? When running on Android. Also, the stop button and the margins on both sides of

Re: [Sugar-devel] Android ActionBar and Activity Toolbar

2013-07-29 Thread Manuel Quiñones
Hi Gonzalo, 2013/7/29 Gonzalo Odiard gonz...@laptop.org: I wonder if removing the stop button is a good idea. Most android applications are not proposed to create, then can be opened for ever. If you open/close a document, is opened/closed inside the application, is different than as we work

Re: [Sugar-devel] Android ActionBar and Activity Toolbar

2013-07-29 Thread Manuel Quiñones
(removing Andrew from the CC as he is already in this mailing list) 2013/7/29 Gonzalo Odiard gonz...@laptop.org: We use different instances of the activity, mapped to the text/draw/game created. How should that be implemented on android? No way to run multiple instances of an app at the

Re: [Sugar-devel] Feature freeze due in 3 days (July 31)

2013-07-29 Thread Manuel Quiñones
2013/7/28 Daniel Narvaez dwnarv...@gmail.com: Hello, the feature freeze is due on July 31. I think all the features we originally planned landed already, thanks and congratulations to everyone involved. Work on web activities is and probably should be continuing. We need to figure out how

Re: [Sugar-devel] Usage of sugar-build

2013-07-26 Thread Manuel Quiñones
2013/7/25 James Simmons nices...@gmail.com: I tried out Alt-Tab switching and it works fine. I also tried prefs.json, with mixed results. This is the contents of the file: { resolution: 1024x768, profile: Willy Wonka } Resolution worked just fine, and Sugar showed up in

[Sugar-devel] Android ActionBar and Activity Toolbar

2013-07-26 Thread Manuel Quiñones
Andrew pointed me to the Android ActionBar: - http://developer.android.com/guide/topics/ui/actionbar.html - http://developer.android.com/design/patterns/actionbar.html It is pretty standard on Android apps, and gives consistency between them. For Sugar activities running on Android, we should

Re: [Sugar-devel] Android ActionBar and Activity Toolbar

2013-07-26 Thread Manuel Quiñones
2013/7/26 Manuel Quiñones ma...@laptop.org: Andrew pointed me to the Android ActionBar: - Hide the Stop Button in Android and in the browser. Forgot to explain this. Android apps don't use to have a Stop/close button, and the web-activity Stop button looks a bit odd on Android. The same

Re: [Sugar-devel] Multi selection in the Journal feature

2013-07-25 Thread Manuel Quiñones
Kudos to everyone involved! 2013/7/25 Gonzalo Odiard gonz...@laptop.org: Thanks to all who worked on this, and specially to Martin for the feedback and help in the last steps. Gonzalo On Wed, Jul 24, 2013 at 9:37 PM, Gary Martin garycmar...@googlemail.com wrote: On 19 Jul 2013, at

Re: [Sugar-devel] Background in My Settings

2013-07-25 Thread Manuel Quiñones
Yes Kalpa, it is: http://bugs.sugarlabs.org/ticket/245 An odd bug that can be seen specially in the Languages section and in the new Background section. If I remember correctly, there are patches that fix the bug, with the exception of the Modem section, which has a rare blocking wait.

Re: [Sugar-devel] Usage of sugar-build

2013-07-25 Thread Manuel Quiñones
2013/7/25 James Simmons nices...@gmail.com: I finally got sugar-build working on Fedora 19 last night. I plan to update Make Your Own Sugar Activities! to discuss this. Excellent James! How to use Ctrl-Alt-F2 to open a virtual terminal, which you will use to run ./osbuild run. Using

[Sugar-devel] Object oriented programming in JS

2013-07-24 Thread Manuel Quiñones
Hi, I'm looking the best way to do OOP in JavaScript, which we need in sugar-web. I don't mind not doing classical OOP. I think we should aim to do what suits better the JavaScript language: Prototypal Inheritance. Here is Mozilla documentation: -

Re: [Sugar-devel] Object oriented programming in JS

2013-07-24 Thread Manuel Quiñones
The test runner is here: http://manuq.github.io/oop-js/ 2013/7/24 Manuel Quiñones ma...@laptop.org: Hi, I'm looking the best way to do OOP in JavaScript, which we need in sugar-web. I don't mind not doing classical OOP. I think we should aim to do what suits better the JavaScript language

Re: [Sugar-devel] Object oriented programming in JS

2013-07-24 Thread Manuel Quiñones
The spec is here, really: https://github.com/manuq/oop-js/blob/master/spec/SuperHeroSpec.js 2013/7/24 Manuel Quiñones ma...@laptop.org: The test runner is here: http://manuq.github.io/oop-js/ 2013/7/24 Manuel Quiñones ma...@laptop.org: Hi, I'm looking the best way to do OOP in JavaScript

Re: [Sugar-devel] [Localization] Internet-in-a-Box Language Preference - Browse on XO

2013-07-22 Thread Manuel Quiñones
Yes Adam, reading Accept-Language in your WSGI app is the way to go. Browse activates this LibSoup setting in the session: https://developer.gnome.org/libsoup/stable/SoupSession.html#SoupSession--accept-language-auto 2013/7/19 Chris Leonard cjlhomeaddr...@gmail.com: Let's ask sugar-devel to

[Sugar-devel] My week on sugar-web

2013-07-19 Thread Manuel Quiñones
Hi, inspired by Suraj report, here is the progress I did this week on sugar-web. Bug fixing - Fixed a bad positioning of toolbar buttons. It was a case I haven't tried before, and Walter ran into it while doing his first webact. Thanks Walter for the report. This is why we need more web

Re: [Sugar-devel] Another strange regression in sugar-build

2013-07-19 Thread Manuel Quiñones
2013/7/19 Martin Abente martin.abente.lah...@gmail.com: Same problem here: f18, without chroot. Reading previous emails from Daniel Narvaez, only F19 is warrantied to work without chroot. That is, the distro used in the chroot. -- .. manuq .. ___

Re: [Sugar-devel] Google Summer of Code Blog

2013-07-16 Thread Manuel Quiñones
2013/7/15 Walter Bender walter.ben...@gmail.com: Having just gone through the process of writing my first JS Sugar activity, I think it would be good to document a few things that I found confusing. (Undoubtedly, much of my confusion stems from my unfamiliarity with JS.) Maybe you can add

Re: [Sugar-devel] JS activity issues

2013-07-15 Thread Manuel Quiñones
2013/7/13 Walter Bender walter.ben...@gmail.com: So I wrote my first JS activity [1, 2] (although I wrote the original XO Colors activity in JS and XML back in 2007) and will it sort of kid of works, I have some problems: (1) The toolbar buttons are not properly aligned vertically. From my

<    1   2   3   4   5   6   7   8   9   10   >