[Sugar-devel] Mails caught as spam

2013-12-19 Thread Gonzalo Odiard
Today I have found almost 10 mails from sugar-devel
caught as spam by my gmail account.

Half of them from Emil Dudev, and a few from a announce to a triage meeting.
In all the cases, the mails have links.

Anybody knows why these mails are marked in this way?
If we have a clear reason, we can make suggestions to avoid this problem.

Gonzalo
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


[Sugar-devel] About bug notation in commit headers

2013-12-19 Thread Gonzalo Odiard
In the past, we used to add in the first line of the commit message
the bug number, with the prefixes SL or OLPC, depending on if
the ticket was in bugs.sugarlabs.org or in dev.laptop.org.
The reference in the first line was useful to find the connection,
by example when you do git log --oneline

Many moons ago, olpc team moved all the work related to sugar and
activities,
to sugarlabs bug tracker, then right now the prefix is not needed anymore.

Now, we have magic rules to close a ticket if the Fixes #number
is found in the header.

https://github.com/sugarlabs/sugar-docs/blob/master/contributing.md#bugfixing

The rule works in the first line too.

Then I propose:

* Continue using Fixes # without prefixes.
* Use it in the first line of the header.
* Modify documentation to request this.

What you think?

Gonzalo
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] About bug notation in commit headers

2013-12-19 Thread James Cameron
Yes, only need to mention OLPC prefix if bug is in dev.laptop.org.

On Thu, Dec 19, 2013 at 10:36:09AM -0200, Gonzalo Odiard wrote:
 In the past, we used to add in the first line of the commit message 
 the bug number, with the prefixes SL or OLPC, depending on if
 the ticket was in bugs.sugarlabs.org or in dev.laptop.org.
 The reference in the first line was useful to find the connection,
 by example when you do git log --oneline
 
 Many moons ago, olpc team moved all the work related to sugar and activities,
 to sugarlabs bug tracker, then right now the prefix is not needed anymore.
 
 Now, we have magic rules to close a ticket if the Fixes #number
 is found in the header.
 
 https://github.com/sugarlabs/sugar-docs/blob/master/contributing.md#bugfixing
 
 The rule works in the first line too.
 
 Then I propose:
 
 * Continue using Fixes # without prefixes.
 * Use it in the first line of the header.
 * Modify documentation to request this.
 
 What you think?
 
 Gonzalo

 ___
 Sugar-devel mailing list
 Sugar-devel@lists.sugarlabs.org
 http://lists.sugarlabs.org/listinfo/sugar-devel


-- 
James Cameron
http://quozl.linux.org.au/
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] Write breaking the build

2013-12-19 Thread Gonzalo Odiard
Pushed a change to not save the content if abiword version is 3.0
Please confirm me if that solves the problem in your env.

Gonzalo


On Wed, Dec 18, 2013 at 2:31 PM, Daniel Narvaez dwnarv...@gmail.com wrote:

 My understanding is that OLPC shipped a patched version of abiword. Now
 these patches landed upstream in 3.0, but they seem to be slightly
 different from what OLPC shipped. Peter upgraded F19/F20 to 3.0 recently,
 you probably remember the discussion about it on the list, then I added
 Write to sugar-build and we started to see the error.


 On 18 December 2013 16:54, Gonzalo Odiard gonz...@laptop.org wrote:

 This code has been here for a long time, do you know why is breaking now?

 Gonzalo


 On Tue, Dec 17, 2013 at 5:53 PM, Daniel Narvaez dwnarv...@gmail.comwrote:

 It is failing to stop


 http://buildbot.sugarlabs.org/builders/quick-master/builds/150/steps/shell_2/logs/smoketest

 It is caused by this abiword bug

 http://bugzilla.abisource.com/show_bug.cgi?id=13585

 Can we avoid setting fulltext in metadata until we have a fix for that
 please?

 --
 Daniel Narvaez





 --
 Daniel Narvaez

___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] Gambiarra game

2013-12-19 Thread Gonzalo Odiard
Bernie, Aleksey,
Alan proposed work in this activity a month ago.
The owner was notified, but didn't replied,
can you give him access to the git repository?
Thanks

Gonzalo


On Mon, Nov 18, 2013 at 4:12 PM, Alan Jhonn Aguiar Schwyn 
alan...@hotmail.com wrote:

 Hi,

 I want to continue working with this game. It's interesting.
 Now, I have some changes:

 -add translations for other languages
 -add compatibility with new sugar versions
 -replace OLPCGames library for SugarGames

 Wich is the way to get permissions to original GIT:

 https://git.sugarlabs.org/gambiarra

 Regards!

 Alan

 ___
 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] Mails caught as spam

2013-12-19 Thread Peter Robinson
On Thu, Dec 19, 2013 at 12:11 PM, Gonzalo Odiard gonz...@laptop.org wrote:
 Today I have found almost 10 mails from sugar-devel
 caught as spam by my gmail account.

 Half of them from Emil Dudev, and a few from a announce to a triage meeting.
 In all the cases, the mails have links.

 Anybody knows why these mails are marked in this way?
 If we have a clear reason, we can make suggestions to avoid this problem.

I discovered a number of sugar mails in my gmail spam recently
although I couldn't see any pattern in my collection.

Peter
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] Write breaking the build

2013-12-19 Thread Daniel Narvaez
Buildbot seems happy. Thanks!

On Thursday, 19 December 2013, Gonzalo Odiard wrote:

 Pushed a change to not save the content if abiword version is 3.0
 Please confirm me if that solves the problem in your env.

 Gonzalo


 On Wed, Dec 18, 2013 at 2:31 PM, Daniel Narvaez 
 dwnarv...@gmail.comjavascript:_e({}, 'cvml', 'dwnarv...@gmail.com');
  wrote:

 My understanding is that OLPC shipped a patched version of abiword. Now
 these patches landed upstream in 3.0, but they seem to be slightly
 different from what OLPC shipped. Peter upgraded F19/F20 to 3.0 recently,
 you probably remember the discussion about it on the list, then I added
 Write to sugar-build and we started to see the error.


 On 18 December 2013 16:54, Gonzalo Odiard 
 gonz...@laptop.orgjavascript:_e({}, 'cvml', 'gonz...@laptop.org');
  wrote:

 This code has been here for a long time, do you know why is breaking now?

 Gonzalo


 On Tue, Dec 17, 2013 at 5:53 PM, Daniel Narvaez 
 dwnarv...@gmail.comjavascript:_e({}, 'cvml', 'dwnarv...@gmail.com');
  wrote:

 It is failing to stop


 http://buildbot.sugarlabs.org/builders/quick-master/builds/150/steps/shell_2/logs/smoketest

 It is caused by this abiword bug

 http://bugzilla.abisource.com/show_bug.cgi?id=13585

 Can we avoid setting fulltext in metadata until we have a fix for that
 please?

 --
 Daniel Narvaez





 --
 Daniel Narvaez




-- 
Daniel Narvaez
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] Mails caught as spam

2013-12-19 Thread Daniel Narvaez
Same here. Maybe the infra team can help with this, it's pretty bad because
often people are not getting answers because of this.

On Thursday, 19 December 2013, Peter Robinson wrote:

 On Thu, Dec 19, 2013 at 12:11 PM, Gonzalo Odiard 
 gonz...@laptop.orgjavascript:;
 wrote:
  Today I have found almost 10 mails from sugar-devel
  caught as spam by my gmail account.
 
  Half of them from Emil Dudev, and a few from a announce to a triage
 meeting.
  In all the cases, the mails have links.
 
  Anybody knows why these mails are marked in this way?
  If we have a clear reason, we can make suggestions to avoid this problem.

 I discovered a number of sugar mails in my gmail spam recently
 although I couldn't see any pattern in my collection.

 Peter
 ___
 Sugar-devel mailing list
 Sugar-devel@lists.sugarlabs.org javascript:;
 http://lists.sugarlabs.org/listinfo/sugar-devel



-- 
Daniel Narvaez
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] [sugar-web] do webkit frames run on different threads?

2013-12-19 Thread Daniel Narvaez
I know that webkitgtk is currently single web process, they are working to
make it one process per web view, but not per frame afaik. In the blink
announcement google mentioned they wanted to go one process per frame,
which was not possible to do with webkit. I don't really know if single
process is necessarily single thread here.

Can you explain where multi thread would be an issue in our code? Why I'm
thinking perhaps simplistically is that we are already dealing with the
window.sugar stuff being available asyncronously.

On Thursday, 19 December 2013, Code Raguet wrote:

 I've read the following, recently:
 [...]

 In Opera, every window has its own JavaScript thread. This includes
 windows in iframes. The consequence is that event handlers initiated from
 different frames might execute at the same time. If these simultaneous
 scripts modify shared data (like properties in the top window), we have the
 possibility of race conditions.

 [...]
 source:
 http://dev.opera.com/articles/view/timing-and-synchronization-in-javascript/

 Because some pieces of sugar-web API ( for ex: env.js) relay on window.top
 props (and karma loads a context.html iframe and runs the specs within), I
 asked to myself if webkit frames may simultaneously run on different
 threads...

 I always think in a single-threaded model when programming javascript
 (async, of course, but not multithreading). Therefore, It seems to me like
 an Opera specific.
 After a little research, I wasn't able to find an concrete answer, so
 asked Roger to try out some tests.

 We made a long running function with busy waiting loops that mutates a
 shared porp at window.top and then we ran it twice (one per frame) in
 Opera. As the doc says, we 've been able to make a (racy) non-deterministic
 state of the shared prop.[?]

 Same tests on Chrome showed single-thread behavior... [?]

 So the thesis would be running those on webkit... but we haven't yet
 We had some unrelated issues and before keep digging I want ask you what
 do you think/know about...

 Thanks,
 Code



-- 
Daniel Narvaez
328.png341.png___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] Mails caught as spam

2013-12-19 Thread Emil Dudev
I didn't know I was such a spammer :)
I apologize if I caused any inconvenience.

I do not know why this is happening. I believe to have used only links from
*.sugarlabs.org and *.github.com, which shouldn't be marked as spam. I have
no special signature to my mails (except my name, which I add personally).
I've used gmail's web interface to send the mails, not an MTA/SMTP client.
Yet I find many mails from sugar-devel in my spam folder, as well.

Emil Dudev


On Thu, Dec 19, 2013 at 5:22 PM, Daniel Narvaez dwnarv...@gmail.com wrote:

 Same here. Maybe the infra team can help with this, it's pretty bad
 because often people are not getting answers because of this.


 On Thursday, 19 December 2013, Peter Robinson wrote:

 On Thu, Dec 19, 2013 at 12:11 PM, Gonzalo Odiard gonz...@laptop.org
 wrote:
  Today I have found almost 10 mails from sugar-devel
  caught as spam by my gmail account.
 
  Half of them from Emil Dudev, and a few from a announce to a triage
 meeting.
  In all the cases, the mails have links.
 
  Anybody knows why these mails are marked in this way?
  If we have a clear reason, we can make suggestions to avoid this
 problem.

 I discovered a number of sugar mails in my gmail spam recently
 although I couldn't see any pattern in my collection.

 Peter
 ___
 Sugar-devel mailing list
 Sugar-devel@lists.sugarlabs.org
 http://lists.sugarlabs.org/listinfo/sugar-devel



 --
 Daniel Narvaez


___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] [sugar-web] do webkit frames run on different threads?

2013-12-19 Thread Code Raguet
On Thu, Dec 19, 2013 at 12:28 PM, Daniel Narvaez dwnarv...@gmail.comwrote:

 Can you explain where multi thread would be an issue in our code? Why I'm
 thinking perhaps simplistically is that we are already dealing with the
 window.sugar stuff being available asyncronously.

Yes, we dealt with this, already. But I didn't know that some browser may
run frames simultaneously.

Suppose the following scenario:
* order of execution is not guaranteed
* javascript from python runs on top frame
* env.js runs on an iframe
* different frames may run simultneously

js from python:

 var environment = %s;  --- phase 1

if (window.sugar === undefined) {
   window.sugar = {};
 }
 window.sugar.environment = environment;  --- phase 2


from getEnvironment:

 if (window.top.sugar) {

  sugar = window.top.sugar;
 } else {
   sugar = {};  --- phase 1
   window.top.sugar = sugar;  --- phase 2
 }


In this case, they would be running for window.top.sugar and it may result
with {}


Our scenario is running js from python far earlier than getEnvironment
(but not guaranteed), therefore, even with multithreading, this is unlikely
to happen.

I just a thought, but I would like to hear what do you think
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] Mails caught as spam

2013-12-19 Thread Gonzalo Odiard
I don't think your mails are wrong, just wanted notify,
because you could be wondering why didn't have a reply.

While we found a solution, probably is better put the url of the link
but without a html link..

Gonzalo


On Thu, Dec 19, 2013 at 1:10 PM, Emil Dudev emildu...@gmail.com wrote:

 I didn't know I was such a spammer :)
 I apologize if I caused any inconvenience.

 I do not know why this is happening. I believe to have used only links
 from *.sugarlabs.org and *.github.com, which shouldn't be marked as spam.
 I have no special signature to my mails (except my name, which I add
 personally). I've used gmail's web interface to send the mails, not an
 MTA/SMTP client.
 Yet I find many mails from sugar-devel in my spam folder, as well.

 Emil Dudev


 On Thu, Dec 19, 2013 at 5:22 PM, Daniel Narvaez dwnarv...@gmail.comwrote:

 Same here. Maybe the infra team can help with this, it's pretty bad
 because often people are not getting answers because of this.


 On Thursday, 19 December 2013, Peter Robinson wrote:

 On Thu, Dec 19, 2013 at 12:11 PM, Gonzalo Odiard gonz...@laptop.org
 wrote:
  Today I have found almost 10 mails from sugar-devel
  caught as spam by my gmail account.
 
  Half of them from Emil Dudev, and a few from a announce to a triage
 meeting.
  In all the cases, the mails have links.
 
  Anybody knows why these mails are marked in this way?
  If we have a clear reason, we can make suggestions to avoid this
 problem.

 I discovered a number of sugar mails in my gmail spam recently
 although I couldn't see any pattern in my collection.

 Peter
 ___
 Sugar-devel mailing list
 Sugar-devel@lists.sugarlabs.org
 http://lists.sugarlabs.org/listinfo/sugar-devel



 --
 Daniel Narvaez



___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] Mails caught as spam

2013-12-19 Thread Juan Cubillo
This happened to me as well. I simply marked all those emails as not 
spam in gmail for about 3 days and now its all solved.


 - Juan


On 12/19/2013 10:37 AM, Gonzalo Odiard wrote:

I don't think your mails are wrong, just wanted notify,
because you could be wondering why didn't have a reply.

While we found a solution, probably is better put the url of the link
but without a html link..

Gonzalo


On Thu, Dec 19, 2013 at 1:10 PM, Emil Dudev emildu...@gmail.com 
mailto:emildu...@gmail.com wrote:


I didn't know I was such a spammer :)
I apologize if I caused any inconvenience.

I do not know why this is happening. I believe to have used only
links from *.sugarlabs.org http://sugarlabs.org and *.github.com
http://github.com, which shouldn't be marked as spam. I have no
special signature to my mails (except my name, which I add
personally). I've used gmail's web interface to send the mails,
not an MTA/SMTP client.
Yet I find many mails from sugar-devel in my spam folder, as well.

Emil Dudev


On Thu, Dec 19, 2013 at 5:22 PM, Daniel Narvaez
dwnarv...@gmail.com mailto:dwnarv...@gmail.com wrote:

Same here. Maybe the infra team can help with this, it's
pretty bad because often people are not getting answers
because of this.


On Thursday, 19 December 2013, Peter Robinson wrote:

On Thu, Dec 19, 2013 at 12:11 PM, Gonzalo Odiard
gonz...@laptop.org wrote:
 Today I have found almost 10 mails from sugar-devel
 caught as spam by my gmail account.

 Half of them from Emil Dudev, and a few from a announce
to a triage meeting.
 In all the cases, the mails have links.

 Anybody knows why these mails are marked in this way?
 If we have a clear reason, we can make suggestions to
avoid this problem.

I discovered a number of sugar mails in my gmail spam recently
although I couldn't see any pattern in my collection.

Peter
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel



-- 
Daniel Narvaez






___
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] Mails caught as spam

2013-12-19 Thread Martin Langhoff
Same here -- sugar-devel, IAEP and server-devel. Taught my gmail some manners.

thanks for the heads up,



m

On Thu, Dec 19, 2013 at 8:43 AM, Peter Robinson pbrobin...@gmail.com wrote:
 On Thu, Dec 19, 2013 at 12:11 PM, Gonzalo Odiard gonz...@laptop.org wrote:
 Today I have found almost 10 mails from sugar-devel
 caught as spam by my gmail account.

 Half of them from Emil Dudev, and a few from a announce to a triage meeting.
 In all the cases, the mails have links.

 Anybody knows why these mails are marked in this way?
 If we have a clear reason, we can make suggestions to avoid this problem.

 I discovered a number of sugar mails in my gmail spam recently
 although I couldn't see any pattern in my collection.

 Peter
 ___
 Sugar-devel mailing list
 Sugar-devel@lists.sugarlabs.org
 http://lists.sugarlabs.org/listinfo/sugar-devel



-- 
 martin.langh...@gmail.com
 -  ask interesting questions
 - don't get distracted with shiny stuff  - working code first
 ~ http://docs.moodle.org/en/User:Martin_Langhoff
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


[Sugar-devel] [ASLO] Release XO Help-17

2013-12-19 Thread Sugar Labs Activities
Activity Homepage:
http://activities.sugarlabs.org/addon/4051

Sugar Platform:
0.96 - 0.100

Download Now:
http://activities.sugarlabs.org/downloads/file/28850/help-17.xo

Release notes:
This is a important release, with the content and screenshots updated
to follow the development changes in Sugar 0.100 version 
and all the activities included to the last version available.

This was possible thanks to the work of Iain Brown Douglas and
Kalpa Welivitigoda, who contributed almost 70 patches in the last 7 months.

Other important features:
* Supports the i18n of the content.
* View Source show the rst sources.
* Support for the feature http://wiki.sugarlabs.org/go/Features/Activity_Help 
is included.
* A new section How to contribute to this manual was added.

A new page was created in the wiki to help new contributors 
http://wiki.sugarlabs.org/go/Activities/Help/Contribute

Thanks Iain and Kalpa, good work!


Sugar Labs Activities
http://activities.sugarlabs.org

___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] Trouble saving Write 94 in Fedora 20

2013-12-19 Thread Gonzalo Odiard
Hi Iain,
Could you test Write from git https://git.sugarlabs.org/write
and confirm if is working for you?

Gonzalo


On Mon, Nov 25, 2013 at 9:43 PM, Iain Brown Douglas 
i...@browndouglas.plus.com wrote:

 On Mon, 2013-11-25 at 21:18 +0100, Daniel Narvaez wrote:
  On 25 November 2013 20:11, Iain Brown Douglas
  i...@browndouglas.plus.com wrote:
  On Mon, 2013-11-25 at 16:35 -0200, Gonzalo Odiard wrote:
   Looks like a crash in abiword when try to open the saved
  file.
   Could you attach the document saved in the Journal,
 
 
  I guess my OP did not make it clear that I have never
  succeeded in
  saving *anything* in Write on this install.
 
  Write will perform as expected until I attempt to rename a
  file.
 
  Actually closing Write, with original file-name Write
  Activity is as
  expected, except that resume opens as an empty page. It has
  been
  intermittent whether an empty Write Activity is seen in the
  Journal.
 
 
  This is reproducable in sugar-build too now.
 
 
  Can you open a ticket about it please?
 
 OK, done, reference, Moderated Submission #407

 Iain
  ___
  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


[Sugar-devel] [web-activity] functional tests and env.isStandalone's current implementation

2013-12-19 Thread Rogelio Mita
All sugar-web's tests are running into activityweb container, using
sugar-web-test activity, all url requests which they do, have http
scheme, and our current implementation of isStandanlone makes check on the
current scheme of the request given (isStandalone
methodhttps://github.com/sugarlabs/sugar-web/blob/master/env.js#L40),
then... functional tests believe are in standalone mode when they use
isStandalone method. Mocking this method on unit tests is ok... but we
think is not good idea mocking this on functional tests... or yes???

Thoughts:
think alternative implementation for this method?
hacking the scheme from sugar-web-test?

What do you think?

Best regards!

-- 
Roger

Activity Central http://activitycentral.com/
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] [sugar-web] do webkit frames run on different threads?

2013-12-19 Thread Daniel Narvaez
On 19 December 2013 17:14, Code Raguet irag...@activitycentral.com wrote:


 On Thu, Dec 19, 2013 at 12:28 PM, Daniel Narvaez dwnarv...@gmail.comwrote:

 Can you explain where multi thread would be an issue in our code? Why I'm
 thinking perhaps simplistically is that we are already dealing with the
 window.sugar stuff being available asyncronously.

 Yes, we dealt with this, already. But I didn't know that some browser may
 run frames simultaneously.

 Suppose the following scenario:
 * order of execution is not guaranteed
 * javascript from python runs on top frame
 * env.js runs on an iframe
 * different frames may run simultneously

 js from python:

 var environment = %s;  --- phase 1

 if (window.sugar === undefined) {
   window.sugar = {};
 }
 window.sugar.environment = environment;  --- phase 2


 from getEnvironment:

 if (window.top.sugar) {

   sugar = window.top.sugar;
 } else {
   sugar = {};  --- phase 1
   window.top.sugar = sugar;  --- phase 2
 }


This code in getEnvironment is wrong, just a thinko by me.

We should not set window.top.sugar = {} from the javascript side. Instead
we should if isStandalone callback({}).
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] [web-activity] functional tests and env.isStandalone's current implementation

2013-12-19 Thread Daniel Narvaez
On 19 December 2013 21:48, Rogelio Mita rogeliom...@activitycentral.comwrote:

 All sugar-web's tests are running into activityweb container, using
 sugar-web-test activity, all url requests which they do, have http
 scheme, and our current implementation of isStandanlone makes check on the
 current scheme of the request given (isStandalone 
 methodhttps://github.com/sugarlabs/sugar-web/blob/master/env.js#L40),
 then...


You mean activity scheme right?


 functional tests believe are in standalone mode when they use isStandalone
 method. Mocking this method on unit tests is ok... but we think is not good
 idea mocking this on functional tests... or yes???


Can you explain what you mean with functional tests? (perhaps just lacking
terminology on my side).
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


[Sugar-devel] [ASLO] Release Pippy-54

2013-12-19 Thread Sugar Labs Activities
Activity Homepage:
http://activities.sugarlabs.org/addon/4041

Sugar Platform:
0.96 - 0.100

Download Now:
http://activities.sugarlabs.org/downloads/file/28851/pippy-54.xo

Release notes:
54

ENHANCEMENTS:
* Add confirmation alert before loading new projects (Emil Dudev)
* Use open palette instead of treeview (Ignacio Rodriguez)
* Show/Hide terminal widget (svineet)
* Added new examples (math/pi, math/stern-brocot)
* Added i18n support for examples (Jorge Alberto Gómez López)
* Added tutorials (Jorge Alberto Gómez López)
* Added busy cursor when making bundles

BUG FIXES:
* Re-enable copy/paste (Ignacio Rodriguez)
* Fix problems with sound library
* Using elements package from Physics



Sugar Labs Activities
http://activities.sugarlabs.org

___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] Trouble saving Write 94 in Fedora 20

2013-12-19 Thread Iain Brown Douglas
On Thu, 2013-12-19 at 15:59 -0200, Gonzalo Odiard wrote:
 Hi Iain,
 Could you test Write from git https://git.sugarlabs.org/write
 and confirm if is working for you?
 
Hi Gonzalo,

Thank you for asking me to test.

I tested it within Fedora20 TC5 - Write did Save correctly :),
but now there is no collaboration (id est, no other avatars seen in F1).

I do not perceive where the collaboration error came from.

Iain
 
 Gonzalo
 
 
 On Mon, Nov 25, 2013 at 9:43 PM, Iain Brown Douglas
 i...@browndouglas.plus.com wrote:
 On Mon, 2013-11-25 at 21:18 +0100, Daniel Narvaez wrote:
  On 25 November 2013 20:11, Iain Brown Douglas
  i...@browndouglas.plus.com wrote:
  On Mon, 2013-11-25 at 16:35 -0200, Gonzalo Odiard
 wrote:
   Looks like a crash in abiword when try to open the
 saved
  file.
   Could you attach the document saved in the
 Journal,
 
 
  I guess my OP did not make it clear that I have
 never
  succeeded in
  saving *anything* in Write on this install.
 
  Write will perform as expected until I attempt to
 rename a
  file.
 
  Actually closing Write, with original file-name
 Write
  Activity is as
  expected, except that resume opens as an empty page.
 It has
  been
  intermittent whether an empty Write Activity is
 seen in the
  Journal.
 
 
  This is reproducable in sugar-build too now.
 
 
  Can you open a ticket about it please?
 
 
 OK, done, reference, Moderated Submission #407
 
 Iain
  ___
  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] [web-activity] functional tests and env.isStandalone's current implementation

2013-12-19 Thread Rogelio Mita
2013/12/19 Daniel Narvaez dwnarv...@gmail.com

 On 19 December 2013 21:48, Rogelio Mita 
 rogeliom...@activitycentral.comwrote:

 All sugar-web's tests are running into activityweb container, using
 sugar-web-test activity, all url requests which they do, have http
 scheme, and our current implementation of isStandanlone makes check on the
 current scheme of the request given (isStandalone 
 methodhttps://github.com/sugarlabs/sugar-web/blob/master/env.js#L40),
 then...


 You mean activity scheme right?


yes! When run karma tests, the scheme is http, is not activity




  functional tests believe are in standalone mode when they use
 isStandalone method. Mocking this method on unit tests is ok... but we
 think is not good idea mocking this on functional tests... or yes???


 Can you explain what you mean with functional tests? (perhaps just lacking
 terminology on my side).


I mean integration tests http://en.wikipedia.org/wiki/Integration_testing
 =)


-- 
Roger

Activity Central http://activitycentral.com/
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] [sugar-web] do webkit frames run on different threads?

2013-12-19 Thread Rogelio Mita
2013/12/19 Daniel Narvaez dwnarv...@gmail.com

 This code in getEnvironment is wrong, just a thinko by me.

 We should not set window.top.sugar = {} from the javascript side. Instead
 we should if isStandalone callback({}).


This is related with [web-activity] functional tests and
env.isStandalone's current implementation email, we were trying to do
this, and we find with this questions...


-- 
Roger

Activity Central http://activitycentral.com/
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


[Sugar-devel] Sugarizer, a taste of Sugar on any device

2013-12-19 Thread Lionel Laské
Hi all,

I'm proud to announce the second version of my prototype of Sugar as a web
page. This version now include the list view of the home, datastore
handling, popup menu on activities, and journal view.

I've decided to name it Sugarizer and package it as a dedicated web site:

http://sugarizer.org

You could access to Sugarizer from the web site or download the Android.

To remind you the concept, Sugarizer reproduce main features of Sugar in
HTML5/JavaScript. Sugarizer also expose these features to allow running of
Sugar web activities wrote for Sugar 0.100. So all activities included in
the Sugarizer package work in the same way on Sugar 0.100.

Hope you'll enjoy it, it's my Christmas gift to the Sugar community :-)

Best regards from France.

Lionel.

P.S.: Source code is available on https://github.com/llaske/Sugarizer
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] [support-gang] Sugarizer, a taste of Sugar on any device

2013-12-19 Thread James Cameron
Tested on XO-4 with Android 4.3.1 using the built-in browser.

I see the activity view but without any activities.  The search text
box can typed into, but it does nothing.  The ring and list icons are
present, and do respond to touch by highlighting, but the body of the
page contains nothing.

Any idea what is causing this?

-- 
James Cameron
http://quozl.linux.org.au/
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel