Hello Nick and all,<div><br></div><div>It is indeed true that older versions of sugar are getting a bit hostile towards hulahop. Though I haven&#39;t lately worked on the issues, but I did had a few talks with tomeu regarding this when I was trying to sort certain issues for socialcalc on 0.84 and 0.86. The motivation for the sugar guys to maintain hulahop was browse activity which also used hulahop library, and Lucian during Gsoc2010 was trying to write an alternate browser activity using webkit for sugar, I guess they were planning to make hulahop obsolete over-time. </div>
<div> <br><br><div class="gmail_quote">On Sun, Apr 17, 2011 at 3:26 AM, Nicholas Doiron <span dir="ltr">&lt;<a href="mailto:ndoiron@andrew.cmu.edu">ndoiron@andrew.cmu.edu</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<br>
I had an idea to send JavaScript messages from Sugar to the browser using<br>
.load_uri(&#39;javascript:____&#39;) but messages still need to be sent back to<br>
Sugar for anything to be saved or networked.<br>
<br>
Is it true that messages are not working in both directions?<br></blockquote><div><br></div><div>That&#39;s a strange problem Nick. As far as I can remember we didn&#39;t face this kind of an issue with socialcalc till sugar-0.86, I haven&#39;t tried socialcalc on sugar-0.88. Does sugar-0.88 has browse activity installed and is it working properly? If browse activity is working fine, then probably it would be a socialcalc-port-on-sugar specific issue. </div>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<br>
Is there a repo of hulahop somewhere, and a way to pack the older version<br>
into the activity?<br></blockquote><div><br></div><div>I am not sure about the repo for hulahop but there would certainly be a way to pack the older version of hulahop into the activity, and use it instead of the default installed version. I had a few discussions regarding such mechanism on the sugar irc which I was working on NewsPaperActivity and was trying to include a newer version of abiword in my activity bundle. I am not sure what is the exact procedure for this, but I guess people on sugar mailing-list or irc might be able to suggest something regarding this.</div>
<div><br></div><div>PS- Since I haven&#39;t worked closely on Sugar lately, so I might slightly be wrong  in the stuffs I have discussed in the mail. Also, am really sorry that I couldn&#39;t suggest a concrete solution, may be Luke or Audrey could suggest something better for this particular issue.</div>
<div><br></div><div>Thanks!</div><div>VIJIT</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<br>
Regards,<br>
<font color="#888888">Nicholas<br>
</font><div><div></div><div class="h5"><br>
On Sat, April 16, 2011 4:07 pm, Manusheel Gupta wrote:<br>
&gt; Hi Nick,<br>
&gt;<br>
&gt;<br>
&gt; Great to hear from you.<br>
&gt;<br>
&gt;<br>
&gt; Glad to hear that Plan Ceibal has been using SocialCalc. We do know about<br>
&gt;  the problem, and were unable to find a fix to it.<br>
&gt;<br>
&gt; I am copying Vijit, Preeti, Audrey and Dan on this memo.<br>
&gt;<br>
&gt;<br>
&gt; Will check this up at my end this weekend, and see if I can find a fix to<br>
&gt;  this problem.<br>
&gt;<br>
&gt; Team, any pointers on this issue?<br>
&gt;<br>
&gt;<br>
&gt; Regards,<br>
&gt;<br>
&gt;<br>
&gt; Manu<br>
&gt;<br>
&gt;<br>
&gt; On Fri, Apr 15, 2011 at 12:31 AM, Nicholas Doiron<br>
&gt; &lt;<a href="mailto:ndoiron@andrew.cmu.edu">ndoiron@andrew.cmu.edu</a>&gt;wrote:<br>
&gt;<br>
&gt;<br>
&gt;&gt; Hi Manu,<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; I am at Plan Ceibal and they use the SocialCalc activity which we<br>
&gt;&gt; worked on.   In new versions of Sugar (0.88+) the hulahop.webview object<br>
&gt;&gt; is different, and it does not send AJAX/Comet messages between Sugar and<br>
&gt;&gt; the browser.  The result is that SocialCalc never completely starts.<br>
&gt;&gt; This is<br>
&gt;&gt; a problem for other activities, too.<br>
&gt;&gt;<br>
&gt;&gt; Have you found a fix for this problem?<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; Regards,<br>
&gt;&gt; Nick Doiron<br>
&gt;&gt; Plan Ceibal<br>
&gt;&gt; Montevideo, Uruguay<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;<br>
<br>
<br>
</div></div></blockquote></div><br></div>