Re: [Sugar-devel] Wanting to know a bit of (NetworkManager) workflow upon resume-from-suspend

2012-05-03 Thread James Cameron
On Thu, May 03, 2012 at 10:58:42AM +0530, Ajay Garg wrote: == JUST ONE LAST QUERY == Is the disable-mesh-patch the only difference between the following :: kernel-2.6.35.13_xo1-20120502.1603.olpc.bde819f.i586 (kernel generated by you)

[Sugar-devel] [SWEETS] Sweets Distribution stable 0.94 repository update, support Ubuntu-12.04

2012-05-03 Thread Aleksey Lim
Hi all! == 0.94 repository updates == There were updates made in stable 0.94[1] repository. To make repositories structure more appropriate to handle several Sweets Distribution repositories, packages were rehashed (thechnically, there is a common repository[2]). To make sure that everything is

Re: [Sugar-devel] [PATCH Log v2] Don't update search results every keystroke

2012-05-03 Thread Manuel Kaufmann
On Fri, Apr 13, 2012 at 11:04 AM, Manuel Kaufmann humi...@gmail.com wrote: With these said, I will do what you say in the new patch :) I'd like to finish this patch. Did we decide what to do here? -- Kaufmann Manuel Blog: http://humitos.wordpress.com/ Porfolio: http://fotos.mkaufmann.com.ar/

Re: [Sugar-devel] [PATCH Log v2] Don't update search results every keystroke

2012-05-03 Thread Gonzalo Odiard
My personal opinion is try to mimic the behaviour of search in the home. * Add a timeout * Enter execute the search * Remove change of color. -1 to change delay based in string size, as proposed by Gary. We don't want do this more complicated yet... Gonzalo On Thu, May 3, 2012 at 10:36 AM,

Re: [Sugar-devel] [PATCH Log v2] Don't update search results every keystroke

2012-05-03 Thread Manuel Kaufmann
On Thu, May 3, 2012 at 10:59 AM, Gonzalo Odiard gonz...@laptop.org wrote: My personal opinion is try to mimic the behaviour of search in the home. I like this. So, if there are no objections I will do this :) -- Kaufmann Manuel Blog: http://humitos.wordpress.com/ Porfolio:

[Sugar-devel] [PATCH Browse] Display 'Loading...' message in the tab title while the page is loading #3550

2012-05-03 Thread Manuel Kaufmann
First of all, we don't need to open about:blank when we create a new tab, this was making the history to save that page and allowing to go back to it. That is related with this PATCH because we are checking the browser load-status property to know what title put in the tab label. Now, we check

[Sugar-devel] add --efi to the command line options on f17 liveusb-creator?

2012-05-03 Thread Thomas C Gilliard
Is it possible to add --efi to the command line options on f17 liveusb-creator? In testing of USB installs on TC2 f17, liveusb-creator is the only usb creator method that cannot create an EFI bootable (Macintosh Powerbook Pro i7) USB. [1] [1]

Re: [Sugar-devel] add --efi to the command line options on f17 liveusb-creator?

2012-05-03 Thread Peter Robinson
I suggest you file a ticket with the project to add a check box option. BTW this is off topic for the sugar-devel list, it should be on the SoaS list. Peter On Thu, May 3, 2012 at 4:15 PM, Thomas C Gilliard satel...@bendbroadband.com wrote: Is it possible to add --efi to the command line

Re: [Sugar-devel] [PATCH Browse] Display 'Loading...' message in the tab title while the page is loading #3550

2012-05-03 Thread Manuel Kaufmann
On Thu, May 3, 2012 at 12:22 PM, Chris Leonard cjlhomeaddr...@gmail.com wrote: I seem to recall figuring out (in an old Broswe ) that if you are loading a PDF that the Loading... line actually comes from evince. Will this change that? No. This PATCH is not related with that. You are talking

Re: [Sugar-devel] [PATCH Browse] Display 'Loading...' message in the tab title while the page is loading #3550

2012-05-03 Thread Chris Leonard
Thanks for the clarification. cjl On Thu, May 3, 2012 at 11:35 AM, Manuel Kaufmann humi...@gmail.com wrote: On Thu, May 3, 2012 at 12:22 PM, Chris Leonard cjlhomeaddr...@gmail.com wrote: I seem to recall figuring out (in an old Broswe ) that if you are loading a PDF that the Loading... line

Re: [Sugar-devel] Sugar activity freeze for OLPC release 12.1.0

2012-05-03 Thread Walter Bender
On Mon, Apr 30, 2012 at 2:31 PM, Walter Bender walter.ben...@gmail.com wrote: On Mon, Apr 30, 2012 at 12:36 PM, Daniel Drake d...@laptop.org wrote: Hi, Just wanted to point out that OLPC's 12.1.0 software release, which will be based on Sugar 0.96 (to be announced as final very soon, I

[Sugar-devel] Unit testing an activity

2012-05-03 Thread Taylor Rose (RIT Student)
Does anyone have advice about how to run unit tests for an activity? I am working on a video conferencing activity called Open Video Chathttps://github.com/FOSSRIT/Open-Video-chat. I'd like to be able to run some basic unit tests on the activity but I'm not sure how to instantiate an activity in a

Re: [Sugar-devel] [PATCH Browse] Display 'Loading...' message in the tab title while the page is loading #3550

2012-05-03 Thread Manuel Quiñones
2012/5/3 Manuel Kaufmann humi...@gmail.com: First of all, we don't need to open about:blank when we create a new tab, this was making the history to save that page and allowing to go back to it. That is related with this PATCH because we are checking the browser load-status property to know

Re: [Sugar-devel] Unit testing an activity

2012-05-03 Thread Rafael Ortiz
On Thu, May 3, 2012 at 1:54 PM, Taylor Rose (RIT Student) tjr1...@rit.eduwrote: Does anyone have advice about how to run unit tests for an activity? I am working on a video conferencing activity called Open Video Chathttps://github.com/FOSSRIT/Open-Video-chat. I'd like to be able to run some

Re: [Sugar-devel] Unit testing an activity

2012-05-03 Thread Samuel Greenfeld
Logging isn't quite the question being asked. This was discussed on IRC a bit. Taylor is potentially getting school credit for working on the video chat activity this semester. Part of Taylor's independent study agreement requires him/her to write unit tests to verify the proper operation of

Re: [Sugar-devel] Unit testing an activity

2012-05-03 Thread James Cameron
I have not seen any activity with unit tests. I have seen and maintained Python code with tests that are implemented as conditional blocks at the end of each source file except the main source file. These conditional blocks are predicated on execution of the file alone, and not on import. The

[Sugar-devel] [PATCH Browse 1/2] .po file updated

2012-05-03 Thread Manuel Kaufmann
New version of po/Browse.pot created by running python setup.py genpot Signed-off-by: Manuel Kaufmann humi...@gmail.com --- po/Browse.pot | 137 +++- 1 files changed, 76 insertions(+), 61 deletions(-) diff --git a/po/Browse.pot

[Sugar-devel] [PATCH Browse 2/2] Comment on getting localized Google search to translators SL #3445

2012-05-03 Thread Manuel Kaufmann
Add a new comment in the .po file explaining how to translate Google search string. Signed-off-by: Manuel Kaufmann humi...@gmail.com --- po/Browse.pot |3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/po/Browse.pot b/po/Browse.pot index c12abcd..c63aa81 100644 ---

Re: [Sugar-devel] Unit testing an activity

2012-05-03 Thread Walter Bender
On Thu, May 3, 2012 at 8:14 PM, Taylor Rose (RIT Student) tjr1...@rit.edu wrote: James, using sugar-launch, do you think I could get a hold of any output the activity writes to stdout? I've been thinking that maybe I could have a test mode where the activity would run tests internally and

Re: [Sugar-devel] [PATCH Browse 1/2] .po file updated

2012-05-03 Thread Manuel Kaufmann
On Thu, May 3, 2012 at 9:41 PM, Gonzalo Odiard gonz...@laptop.org wrote: Sorry for not tell you before. OK. First of all, ignore these (two) patches because they are wrong and make not sense. After talking with you we found a better solution for this. We will make this to work automatically

Re: [Sugar-devel] Unit testing an activity

2012-05-03 Thread Taylor Rose (RIT Student)
Oops, okay. That makes sense. Thanks again for the advice everyone. I appreciate it a lot. On Thu, May 3, 2012 at 6:10 PM, Walter Bender walter.ben...@gmail.comwrote: On Thu, May 3, 2012 at 8:14 PM, Taylor Rose (RIT Student) tjr1...@rit.edu wrote: James, using sugar-launch, do you think

[Sugar-devel] [PATCH Browse] Use user's LANG for search results SL #3445

2012-05-03 Thread Manuel Kaufmann
When the user types a string that is not like an url, we use Google to search that string with the results in the language defined by LANG environment variable. Signed-off-by: Manuel Kaufmann humi...@gmail.com --- browser.py | 10 +++--- 1 files changed, 7 insertions(+), 3 deletions(-)

Re: [Sugar-devel] [PATCH Browse] Use user's LANG for search results SL #3445

2012-05-03 Thread Manuel Quiñones
2012/5/3 Manuel Kaufmann humi...@gmail.com: When the user types a string that is not like an url, we use Google to search that string with the results in the language defined by LANG environment variable. Yes as discussed with Gonzalo, this is a better way to handle the downloads, because if a

Re: [Sugar-devel] [PATCH Browse] Use user's LANG for search results SL #3445

2012-05-03 Thread Manuel Quiñones
2012/5/3 Manuel Quiñones ma...@laptop.org: 2012/5/3 Manuel Kaufmann humi...@gmail.com: When the user types a string that is not like an url, we use Google to search that string with the results in the language defined by LANG environment variable. Yes as discussed with Gonzalo, this is a

Re: [Sugar-devel] [PATCH v2 Browse] Fix for the MIME type handling of a request SL #3512

2012-05-03 Thread Manuel Kaufmann
On Wed, May 2, 2012 at 1:07 PM, Manuel Quiñones ma...@laptop.org wrote:             self.emit('open-pdf', request.get_uri()) -            return False Reading the WebKit documentation [1] I found that we HAVE TO return True if we are handling the MIME type ourselves. In fact, we have to open a

[Sugar-devel] [PATCH v2 Browse] Fix for the MIME type handling of a request SL #3512

2012-05-03 Thread Manuel Quiñones
We were not returning the right value, the callback should return True if the signal is handled, False otherwise. This fixes http://bugs.sugarlabs.org/ticket/3512 - v1 - v2: fixed regression with PDF handling. Signed-off-by: Manuel Quiñones ma...@laptop.org --- browser.py | 11

Re: [Sugar-devel] [PATCH v2 Browse] Fix for the MIME type handling of a request SL #3512

2012-05-03 Thread Manuel Quiñones
2012/5/3 Manuel Kaufmann humi...@gmail.com: On Wed, May 2, 2012 at 1:07 PM, Manuel Quiñones ma...@laptop.org wrote:             self.emit('open-pdf', request.get_uri()) -            return False Reading the WebKit documentation [1] I found that we HAVE TO return True if we are handling the

[Sugar-devel] [PATCH Browse v2] Display 'Loading...' message in the tab title while the page is loading #3550

2012-05-03 Thread Manuel Kaufmann
First of all, we don't need to open about:blank when we create a new tab, this was making the history to save that page and allowing to go back to it. That is related with this PATCH because we are checking the browser load-status property to know what title put in the tab label. Now, we check

[Sugar-devel] [PATCH v3 Browse] Fix for the MIME type handling of a request SL #3512

2012-05-03 Thread Manuel Quiñones
We were not returning the right value, the callback should return True if the signal is handled, False otherwise. And a policy decision should be done, ignore for PDF. This fixes http://bugs.sugarlabs.org/ticket/3512 - v1 - v2: fixed regression with PDF handling. v2 - v3: set policy