Re: Bundling plugins with Browse

2008-12-09 Thread Tomeu Vizoso
On Tue, Dec 9, 2008 at 4:05 AM, Erik Garrison <[EMAIL PROTECTED]> wrote:
> On Tue, Dec 09, 2008 at 12:06:48AM +, Gary C Martin wrote:
>> On 8 Dec 2008, at 19:29, Erik Garrison wrote:
>>
>>> On Tue, Dec 09, 2008 at 12:04:23AM +0530, Sayamindu Dasgupta wrote:
 Hi all,
 We are trying to figure out a way to bundle the mozplugger plugin[1]
 in Browse, so that PDF files can be viewed from within Browse itself.
 Does anyone know how this can be done. Apart from the mozplugger
 plugin itself, we need to have the m4 binary to help mozplugger parse
 its config file, as well as the application which _actually_ renders
 the PDF.
 Normally we can modify the OS image, but it would be easier for us to
 include the entire thing in Browse and make a new Browse bundle.
 Any thoughts/ideas/comments ?
 Thanks,
 Sayamindu
>>>
>>> Why don't we just use Firefox?  It seems to run quite well on the XO.
>>
>> Run quite well, on what planet? It locks up the XOs tested here with
>> regularity, and is now on my 'don't bother testing' list (until there's
>> another attempt). It's a memory pig, it's still got a UI for
>> nerds/geeks, and does not integrate well with the rest of Sugar (no
>> Journal entries/resuming, ghost frame icons).
>
> It's just about the only non-sugar application I use on the XO in my
> personal time.  I use it a lot.  I can open a dozen pages in tabs
> without slowdown.  I can use Gmail with all its javascript goodies.
> Many more tabs than that will induce vm swapping, which causes long
> lockups which you describe.
>
> Note that this is on debxo running a lightweight window manager.  I
> forgot about the significant memory pressure induced by Sugar.  This of
> course changes things.
>
> If our need for these custom applications is fundamentally related to
> problems with the framework in which they run, and not the hardware,
> then perhaps there is a big win waiting on the other side of a redesign
> of that framework.

Totally, and there's also a big win in redesigning half of the XO's
hardware and the linux kernel so that we get the promised suspend
resume experience.

Can now get back to work we can actually get done?

Regards,

Tomeu
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


RE: Music Keyboard for TamTam?

2008-12-09 Thread Caryl Bigenho

Hi Gary,



This is very exciting and I would love to help test it when it is ready
for that.  This idea came to mind when I noticed Mexico's OLPC activity
information for TamTamMini showed the relationship of the XO keys to those
of an actual music keyboard. Why not let the children experience the real 
thing? You can download their guide here (see page 3 in the TamTamMini 
instructions):

http://www.mochiladigitaltelmex.com.mx/olpc/index.php/Herramientas_pedag%C3%B3gicas



As a former music major and the wife of a retired instrumental music
teacher, I really would love to have TamTam give students a chance to
transfer their skills to music keyboards and mallet instruments.  I
asked on the olpc-sur list if anyone would use something like this with
their students.  I got only one reply, but I think it was evidence of
the concerns teachers have...they thought it was a great idea except for
the cost of the music keyboards.



Maybe we need to start a company to make no-frills basic usb music
keyboards to sell for about $20-$25 US so that schools in countries
with deployments could afford to get some for their music classes.



Keep me posted on your progress!



Caryl

> CC: [EMAIL PROTECTED]; devel@lists.laptop.org
> From: [EMAIL PROTECTED]
> To: [EMAIL PROTECTED]
> Subject: Re: Music Keyboard for TamTam?
> Date: Tue, 9 Dec 2008 01:12:59 +
> 
> Hi Caryl,
> 
> On 4 Dec 2008, at 07:55, Caryl Bigenho wrote:
> 
> > Thanks for all your efforts!
> >
> > The last time I used a midi keyboard with a Mac (it was a G3) it had  
> > to have a special "midi interface" and then was just "plug and play"  
> > from there using Finale as a program. In looking over your  
> > discussion below, it looks like you did manage to get a midi  
> > keyboard to work with the XO, but with great difficulty. Some  
> > questions...
> >
> > Will it work with all of the TamTam Activities?
> 
> It does not work with any of the TamTam activities yet, but I am  
> digging through TamTamMini to see what's the best way to add this  
> functionality. The Python code is fairly obtuse, likely due to all the  
> copy/paste hacking that it's been through (all 4 activities used to be  
> one big single activity).
> 
> Right now I've just tested that the standard 8.2-767 release does  
> respond correctly to a USB MIDI keyboard by writing some simple/small  
> CSound code. No special kernel modules, drivers, updates are needed –  
> so it works 'out the box' but we have no current activities that  
> listen for MIDI events just now.
> 
> > Is it likely that all midi keyboards would work?
> 
> Yes I think so, USB MIDI keyboards being the easiest to use. I also  
> have a MIDI to USB converter kicking around (some other folks sent you  
> links to these), and a bunch of old school MIDI synths and devices  
> that I plan to test function correctly.
> 
> > Would it be possible to put the instructions into language that the  
> > less technically inclined could easily follow to get started on this?
> 
> If I can update TamTamMini the way I intend, you'd just need to plug  
> in a MIDI keyboard and start hitting keys in a tuneful way :-)
> 
> > Does anything have to be changed in the software/hardware to make  
> > this easily used by teachers everywhere?
> 
> New releases of the TamTam Activities (if I manage to get this  
> working). Should just be a software update away for those already  
> running Sugar.
> 
> > Do you know of any source of very simple, inexpensive midi  
> > keyboards? No bells and whistles needed, they are already in the XO  
> > in the TamTam Activities.
> 
> M-Audio is what I've used. Doing a quick google, my curiosity was  
> piqued by a "roll-up USB piano" (49key, velocity sensitive) - it's  
> about £20 here in the UK, ~$40 in the US, any one got one of these? I  
> only ask as it seems both cheap, potentially durable, easy to store,  
> and easy to ship... Pity it doesn't come in green ;-)
> 
> > Could easier use of a midi keyboard be incorporated into a change in  
> > the Sugar OS (like 9.1.0)?
> 
> 8.2 seems to have all the required components.
> 
> A new control panel module for advance MIDI device configuration could  
> be something for the future, but to be honest that seem like massive  
> over kill, and a potential source of confusion. I've hacked about with  
> keyboards for plenty of years now, and it is almost always the  
> individual client software that deals with fancy MIDI configurations,  
> if needed, and not the OS.
> 
> Regards,
> --Gary
> 
> > Or is there an easy way to make the current set-up easier?
> >
> > Thanks again for your interest and efforts!
> >
> > Caryl
> >
> >
> >
> > > Date: Mon, 1 Dec 2008 20:37:59 -0800
> > > From: [EMAIL PROTECTED]
> > > To: [EMAIL PROTECTED]
> > > Subject: Re: Music Keyboard for TamTam?
> > > CC: [EMAIL PROTECTED]; devel@lists.laptop.org
> > >
> > > See also
> > >
> > > http://www.flickr.com/photos/curiouslee/189728345/
> > >
> > > Walter and Simon demonstrate MID

mock.laptop.org repos repo

2008-12-09 Thread Ties Stuij
Hey,

I'm making a local pilgrim and I'd like to have the repo at
mock.laptop.org, which contains all rpms for the different xo builds.
Git doesn't work however because I get out of memory errors, so I want
to rsync it or find some other way or repository. Is it perhaps
mirrored on dev.laptop.org (it's not in the projects listin in any
case)? Or is there another way of getting to it?

/Ties
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Trac tickets for 8.2.1 release mislabeled

2008-12-09 Thread Ed McNierney
I see that the tickets for 8.2.1 seem to be all labeled for the 9.1
milestone, ³per edmcnierney¹s request² and that wasn¹t my request.

Tickets 8976, 8745, 9044, 9045, 8982, 8155, 8767, and 8451 should all be
tagged as for the 8.2.1 release, and those are the ONLY tickets that should
be so labeled.  These are the high-priority items we need to be working on
right now to get this minor release ready ASAP.  Thanks!

- Ed
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Clone a whole dir from dev.laptop.org/git ?

2008-12-09 Thread Bastien
Hi all,

is there a way to clone a whole directory from git?  E.g. I would like
to clone everything in the /activities/ directory.  How do I do that?

Thanks!

-- 
 Bastien
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: Bundling plugins with Browse

2008-12-09 Thread Sayamindu Dasgupta
On Tue, Dec 9, 2008 at 12:20 AM, Tomeu Vizoso <[EMAIL PROTECTED]> wrote:
> On Mon, Dec 8, 2008 at 7:45 PM, Sayamindu Dasgupta <[EMAIL PROTECTED]> wrote:
>> On Tue, Dec 9, 2008 at 12:07 AM, Tomeu Vizoso <[EMAIL PROTECTED]> wrote:
>>> On Mon, Dec 8, 2008 at 7:34 PM, Sayamindu Dasgupta <[EMAIL PROTECTED]> 
>>> wrote:
 Hi all,
 We are trying to figure out a way to bundle the mozplugger plugin[1]
 in Browse, so that PDF files can be viewed from within Browse itself.
 Does anyone know how this can be done. Apart from the mozplugger
 plugin itself, we need to have the m4 binary to help mozplugger parse
 its config file, as well as the application which _actually_ renders
 the PDF.
 Normally we can modify the OS image, but it would be easier for us to
 include the entire thing in Browse and make a new Browse bundle.
 Any thoughts/ideas/comments ?
>>>
>>> What are the binaries, libraries and other resources that are needed
>>> by the evince plugin and aren't available on the 8.2.0 image?
>>>
>>
>>
>> We won't use the evince plugin (as it does not have Journal support).
>> I have a simple python PDF viewer which takes care of rendering the
>> PDF. Everything that needs to be installed on the XO are at:
>> http://dev.laptop.org/~sayamindu/pdf_embed/
>
> I haven't done these tricks myself, but I know that some activities
> ship executables and libraries inside their bundles.
>
> Two places to look at are modifying PATH and LD_LIBRARY_PATH and
> insert in them paths inside the bundle.
>
> Also, you can set some mozilla-related paths at startup, see 
> hulahop.startup().
>
> Would this be enough?
>
> strace -e open may be helpful in seeing which files it looks for and
> fails to find.
>


How do I do the strace for activity startup ? In an XO, it's pretty
easy to do via rainbow, but how do I do this in sugar-jhbuild ?
There's a MOZ_PLUGIN_PATH which looks promising, but somehow it's not
working for me. Strace should be able provide clues.

Thanks,
Sayamindu



-- 
Sayamindu Dasgupta
[http://sayamindu.randomink.org/ramblings]
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: Bundling plugins with Browse

2008-12-09 Thread Tomeu Vizoso
On Tue, Dec 9, 2008 at 3:21 PM, Sayamindu Dasgupta <[EMAIL PROTECTED]> wrote:
> On Tue, Dec 9, 2008 at 12:20 AM, Tomeu Vizoso <[EMAIL PROTECTED]> wrote:
>> On Mon, Dec 8, 2008 at 7:45 PM, Sayamindu Dasgupta <[EMAIL PROTECTED]> wrote:
>>> On Tue, Dec 9, 2008 at 12:07 AM, Tomeu Vizoso <[EMAIL PROTECTED]> wrote:
 On Mon, Dec 8, 2008 at 7:34 PM, Sayamindu Dasgupta <[EMAIL PROTECTED]> 
 wrote:
> Hi all,
> We are trying to figure out a way to bundle the mozplugger plugin[1]
> in Browse, so that PDF files can be viewed from within Browse itself.
> Does anyone know how this can be done. Apart from the mozplugger
> plugin itself, we need to have the m4 binary to help mozplugger parse
> its config file, as well as the application which _actually_ renders
> the PDF.
> Normally we can modify the OS image, but it would be easier for us to
> include the entire thing in Browse and make a new Browse bundle.
> Any thoughts/ideas/comments ?

 What are the binaries, libraries and other resources that are needed
 by the evince plugin and aren't available on the 8.2.0 image?

>>>
>>>
>>> We won't use the evince plugin (as it does not have Journal support).
>>> I have a simple python PDF viewer which takes care of rendering the
>>> PDF. Everything that needs to be installed on the XO are at:
>>> http://dev.laptop.org/~sayamindu/pdf_embed/
>>
>> I haven't done these tricks myself, but I know that some activities
>> ship executables and libraries inside their bundles.
>>
>> Two places to look at are modifying PATH and LD_LIBRARY_PATH and
>> insert in them paths inside the bundle.
>>
>> Also, you can set some mozilla-related paths at startup, see 
>> hulahop.startup().
>>
>> Would this be enough?
>>
>> strace -e open may be helpful in seeing which files it looks for and
>> fails to find.
>>
>
>
> How do I do the strace for activity startup ? In an XO, it's pretty
> easy to do via rainbow, but how do I do this in sugar-jhbuild ?
> There's a MOZ_PLUGIN_PATH which looks promising, but somehow it's not
> working for me. Strace should be able provide clues.

You can strace an activity easily if you launch it from Terminal.
Otherwise you will need to hack the sugar sources.

strace -f sugar-launch Web

should work, I think.

HTH,

Tomeu
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: Bundling plugins with Browse

2008-12-09 Thread S Page
Sayamindu Dasgupta wrote:

> There's a MOZ_PLUGIN_PATH which looks promising, but somehow it's not
> working for me. Strace should be able provide clues.

I don't know if Browse uses MOZ_PLUGIN_PATH, but the Firefox activity 
definitely does, see
http://wiki.laptop.org/go/Talk:Firefox#Workaround_to_share_Browse_plug-ins

The system plug-ins directory for both Browse and Firefox is 
/usr/lib/mozilla/plugins but I'm sure they check other directories with 
or without MOZ_PLUGIN_PATH set.

HTH
--
=S
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


[PATCH] cafe_nand: remove busy-wait loop

2008-12-09 Thread Daniel Drake
This patch enables interrupts for DMA and command completion events, and
uses them to determine when commands and transfers have completed.

This avoids a busy-wait loop which was a waste of CPU time.

Signed-off-by: Daniel Drake <[EMAIL PROTECTED]>

---
Where do we go with this? Who's adventurous enough to test it? Dare we
put it in joyride? Any suggestions for how to measure performance
difference?

It works for me.

Index: linux-2.6.27-gentoo-r4/drivers/mtd/nand/cafe_nand.c
===
--- linux-2.6.27-gentoo-r4.orig/drivers/mtd/nand/cafe_nand.c
+++ linux-2.6.27-gentoo-r4/drivers/mtd/nand/cafe_nand.c
@@ -17,6 +17,8 @@
 #include 
 #include 
 #include 
+#include 
+#include 
 #include 
 
 #define CAFE_NAND_CTRL10x00
@@ -51,12 +53,23 @@
 /* Missing from the datasheet: bit 19 of CTRL1 sets CE0 vs. CE1 */
 #define CTRL1_CHIPSELECT   (1<<19)
 
+/* Enable command done and DMA done interrupts */
+static const uint32_t cafe_interrupt_mask = 0x6fff;
+
 struct cafe_priv {
struct nand_chip nand;
struct mtd_partition *parts;
struct pci_dev *pdev;
void __iomem *mmio;
struct rs_control *rs;
+
+   /* waitqueue for interrupt arrival notification */
+   wait_queue_head_t wq;
+
+   /* when an interrupt arrives, the IRQ bits are set in the irqs member */
+   spinlock_t irqs_lock;
+   uint32_t irqs;
+
uint32_t ctl1;
uint32_t ctl2;
int datalen;
@@ -153,6 +166,19 @@ static uint8_t cafe_read_byte(struct mtd
return d;
 }
 
+static uint32_t check_irq(struct cafe_priv *cafe, uint32_t doneint)
+{
+   uint32_t val;
+   unsigned long flags;
+
+   spin_lock_irqsave(&cafe->irqs_lock, flags);
+   val = cafe->irqs;
+   spin_unlock_irqrestore(&cafe->irqs_lock, flags);
+
+   cafe_dev_dbg(&cafe->pdev->dev, "check_irq %x\n", val);
+   return val & doneint;
+}
+
 static void cafe_nand_cmdfunc(struct mtd_info *mtd, unsigned command,
  int column, int page_addr)
 {
@@ -160,6 +186,7 @@ static void cafe_nand_cmdfunc(struct mtd
int adrbytes = 0;
uint32_t ctl1;
uint32_t doneint = 0x8000;
+   unsigned long flags;
 
cafe_dev_dbg(&cafe->pdev->dev, "cmdfunc %02x, 0x%x, 0x%x\n",
command, column, page_addr);
@@ -243,6 +270,10 @@ static void cafe_nand_cmdfunc(struct mtd
cafe_dev_dbg(&cafe->pdev->dev, "dlen %x, ctl1 %x, ctl2 %x\n",
cafe->datalen, ctl1, cafe_readl(cafe, NAND_CTRL2));
 
+   spin_lock_irqsave(&cafe->irqs_lock, flags);
+   cafe->irqs = 0;
+   spin_unlock_irqrestore(&cafe->irqs_lock, flags);
+
/* NB: The datasheet lies -- we really should be subtracting 1 here */
cafe_writel(cafe, cafe->datalen, NAND_DATA_LEN);
cafe_writel(cafe, 0x9000, NAND_IRQ);
@@ -273,21 +304,14 @@ static void cafe_nand_cmdfunc(struct mtd
ndelay(100);
 
if (1) {
-   int c;
-   uint32_t irqs;
+   long ret;
+   cafe_dev_dbg(&cafe->pdev->dev, "Entering wait_event\n");
+   ret = wait_event_timeout(cafe->wq, check_irq(cafe, doneint), HZ 
/ 2);
+   if (unlikely(ret == 0))
+   dev_warn(&cafe->pdev->dev, "Command wait IRQ 
timeout\n");
 
-   for (c = 50; c != 0; c--) {
-   irqs = cafe_readl(cafe, NAND_IRQ);
-   if (irqs & doneint)
-   break;
-   udelay(1);
-   if (!(c % 10))
-   cafe_dev_dbg(&cafe->pdev->dev, "Wait for ready, 
IRQ %x\n", irqs);
-   cpu_relax();
-   }
-   cafe_writel(cafe, doneint, NAND_IRQ);
-   cafe_dev_dbg(&cafe->pdev->dev, "Command %x completed after %d 
usec, irqs %x (%x)\n",
-command, 50-c, irqs, cafe_readl(cafe, 
NAND_IRQ));
+   cafe_dev_dbg(&cafe->pdev->dev, "Command %x completed in %ld 
jiffies, irqs %x\n",
+command, (HZ / 2) - ret, cafe_readl(cafe, 
NAND_IRQ));
}
 
WARN_ON(cafe->ctl2 & (1<<30));
@@ -334,11 +358,19 @@ static int cafe_nand_interrupt(int irq, 
struct mtd_info *mtd = id;
struct cafe_priv *cafe = mtd->priv;
uint32_t irqs = cafe_readl(cafe, NAND_IRQ);
-   cafe_writel(cafe, irqs & ~0x9000, NAND_IRQ);
if (!irqs)
return IRQ_NONE;
 
+   /* clear interrupts */
+   cafe_writel(cafe, irqs, NAND_IRQ);
+
cafe_dev_dbg(&cafe->pdev->dev, "irq, bits %x (%x)\n", irqs, 
cafe_readl(cafe, NAND_IRQ));
+
+   spin_lock(&cafe->irqs_lock);
+   cafe->irqs |= irqs;
+   spin_unlock(&cafe->irqs_lock);
+
+   wake_up(&cafe->wq);
return IRQ_HANDLED;
 }
 
@@ -655,6 +687,8 @@ static int __devinit cafe_nand_probe(str
mtd->owner = THI

[Server-devel] Bonding regression on 2.6.27

2008-12-09 Thread Martin Langhoff
Hi Jesper,

about a month ago you reported in lkml and netdev a (perhaps timing)
bug with bonding. The msg is
http://kerneltrap.org/mailarchive/linux-kernel/2008/11/16/4161864

Did you manage to resolve it or workaround it? Some users of the OLPC
School Server seem to be having a similar problem, and we're trying to
diagnose and resolve it...

thanks!



martin
-- 
 [EMAIL PROTECTED]
 [EMAIL PROTECTED] -- School Server Architect
 - ask interesting questions
 - don't get distracted with shiny stuff  - working code first
 - http://wiki.laptop.org/go/User:Martinlanghoff
___
Server-devel mailing list
[EMAIL PROTECTED]
http://lists.laptop.org/listinfo/server-devel


Re: [PATCH] cafe_nand: remove busy-wait loop

2008-12-09 Thread Mitch Bradley
Nice!

One quick test, for starters, is to do some file accesses to large files 
(dd or tar or whatever) and use the "time" command to look at the system 
and user times.  With the patch, the system time should drop to a 
fraction of the real time.

Daniel Drake wrote:
> This patch enables interrupts for DMA and command completion events, and
> uses them to determine when commands and transfers have completed.
>
> This avoids a busy-wait loop which was a waste of CPU time.
>
> Signed-off-by: Daniel Drake <[EMAIL PROTECTED]>
>
> ---
> Where do we go with this? Who's adventurous enough to test it? Dare we
> put it in joyride? Any suggestions for how to measure performance
> difference?
>   

___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Start python script into terminal

2008-12-09 Thread Rodolfo Pilas
Hello:

I wish to start a python script into terminal.  I would like to create a
program with its own sugar-icon and terminal+script, something like:

exec = sugar-activity terminal.TerminalActivity -x SysOX.py

where -x is the way to explain terminal that I need to run a scipt.

It is possible to do with xterm:

$ xterm -e Activities/SysOX.activity/SysOX.py

but, unfortunatly xterm do not support font resize (-fs) parameter and
the default font is very very small.

Thank you for your suggestion.

Regards,
Rodolfo Pilas
Uruguay
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: [PATCH] cafe_nand: remove busy-wait loop

2008-12-09 Thread Tomeu Vizoso
On Tue, Dec 9, 2008 at 6:05 PM, Mitch Bradley <[EMAIL PROTECTED]> wrote:
> Nice!
>
> One quick test, for starters, is to do some file accesses to large files
> (dd or tar or whatever) and use the "time" command to look at the system
> and user times.  With the patch, the system time should drop to a
> fraction of the real time.

Wow! This should apply as well to writes?

I reported some time ago that downloads from the LAN were limited by
cpu time, but I think to remember that it was due to the
autocompression.

Regards,

Tomeu

> Daniel Drake wrote:
>> This patch enables interrupts for DMA and command completion events, and
>> uses them to determine when commands and transfers have completed.
>>
>> This avoids a busy-wait loop which was a waste of CPU time.
>>
>> Signed-off-by: Daniel Drake <[EMAIL PROTECTED]>
>>
>> ---
>> Where do we go with this? Who's adventurous enough to test it? Dare we
>> put it in joyride? Any suggestions for how to measure performance
>> difference?
>>
>
> ___
> Devel mailing list
> Devel@lists.laptop.org
> http://lists.laptop.org/listinfo/devel
>
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: [PATCH] cafe_nand: remove busy-wait loop

2008-12-09 Thread Mitch Bradley
Tomeu Vizoso wrote:
> On Tue, Dec 9, 2008 at 6:05 PM, Mitch Bradley <[EMAIL PROTECTED]> wrote:
>   
>> Nice!
>>
>> One quick test, for starters, is to do some file accesses to large files
>> (dd or tar or whatever) and use the "time" command to look at the system
>> and user times.  With the patch, the system time should drop to a
>> fraction of the real time.
>> 
>
> Wow! This should apply as well to writes?
>
> I reported some time ago that downloads from the LAN were limited by
> cpu time, but I think to remember that it was due to the
> autocompression.
>   

In principle, for longish writes the compression of the next chunk could 
be overlapped with the write-back of the current chunk.  It will be 
interesting to see if that actually occurs, or if additional work is 
needed to unlock the potential parallelism.

At any rate, even for short writes, the userland program should be able 
to get the CPU back as soon as the write to NAND is initiated, thus 
saving 100 usec of otherwise-wasted time.

> Regards,
>
> Tomeu
>
>   
>> Daniel Drake wrote:
>> 
>>> This patch enables interrupts for DMA and command completion events, and
>>> uses them to determine when commands and transfers have completed.
>>>
>>> This avoids a busy-wait loop which was a waste of CPU time.
>>>
>>> Signed-off-by: Daniel Drake <[EMAIL PROTECTED]>
>>>
>>> ---
>>> Where do we go with this? Who's adventurous enough to test it? Dare we
>>> put it in joyride? Any suggestions for how to measure performance
>>> difference?
>>>
>>>   
>> ___
>> Devel mailing list
>> Devel@lists.laptop.org
>> http://lists.laptop.org/listinfo/devel
>>
>> 

___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: [PATCH] cafe_nand: remove busy-wait loop

2008-12-09 Thread Jim Gettys
On Tue, 2008-12-09 at 07:05 -1000, Mitch Bradley wrote:

> > Where do we go with this? Who's adventurous enough to test it? Dare we
> > put it in joyride? Any suggestions for how to measure performance
> > difference?
> >   

If Deepak likes it and it passes some tests, that would be the logical
thing to do next.
  - Jim

-- 
Jim Gettys <[EMAIL PROTECTED]>
One Laptop Per Child

___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: Start python script into terminal

2008-12-09 Thread Chris Ball
Hi Rodolfo,

   > Hello: I wish to start a python script into terminal.  I would like
   > to create a program with its own sugar-icon and terminal+script,
   > something like:

One way to do this, I think, would be to make a Pippy program that runs
your Python script (either with "import" or with os.system), and then do
"save as bundle" in Pippy to create an activity that does the same.

Hope that helps,

- Chris.
-- 
Chris Ball   <[EMAIL PROTECTED]>
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: [Sugar-devel] Wacom Bamboo with XO?

2008-12-09 Thread Stanley Sokolow

I tried the new installation instructions on the wiki, first installing the
Colors activity, then running the new shell script as per the wiki:

wget http://dev.laptop.org/~wadeb/setupwacom.sh
sudo sh setupwacom.sh

It seemed to run ok without errors.  I restarted the XO.  Colors installed
ok and works with the mouse, but the Wacom Bamboo tablet does not work,
neither in Colors nor anywhere else.   Looking at the /dev/input directory,
I don't see the wacom device that should be there.   When I rerun the shell
script, it confirms that the linuxwacom package is already installed.The
X11 configuration file contains the Wacom devices, so it's the right conf
file.   I'm stuck.

Has anyone had success with the new instructions?

By the way, when I tried the old instructions yesterday, the repomd.xml file
was corrupted.   (Actually, it was a perl script, not an xml file.)  So, yum
wouldn't run.  Someone apparently fixed that problem.It's an xml file
now and yum seems to run ok using it.

Stan

-- 
View this message in context: 
http://n2.nabble.com/Wacom-Bamboo-with-XO--tp1508107p1634938.html
Sent from the Software development mailing list archive at Nabble.com.

___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: [Sugar-devel] Wacom Bamboo with XO?

2008-12-09 Thread Wade Brainerd
Hi Stan,

Try a 'depmod' and then 'modprobe wacom' from the Terminal, and see if that
helps.  Feel free to grab me on IRC (as wadeb), I can help troubleshoot it.

-Wade

On Tue, Dec 9, 2008 at 9:34 AM, Stanley Sokolow <[EMAIL PROTECTED]>wrote:

>
> I tried the new installation instructions on the wiki, first installing the
> Colors activity, then running the new shell script as per the wiki:
>
> wget 
> http://dev.laptop.org/~wadeb/setupwacom.sh
> sudo sh setupwacom.sh
>
> It seemed to run ok without errors.  I restarted the XO.  Colors installed
> ok and works with the mouse, but the Wacom Bamboo tablet does not work,
> neither in Colors nor anywhere else.   Looking at the /dev/input directory,
> I don't see the wacom device that should be there.   When I rerun the shell
> script, it confirms that the linuxwacom package is already installed.
>  The
> X11 configuration file contains the Wacom devices, so it's the right conf
> file.   I'm stuck.
>
> Has anyone had success with the new instructions?
>
> By the way, when I tried the old instructions yesterday, the repomd.xml
> file
> was corrupted.   (Actually, it was a perl script, not an xml file.)  So,
> yum
> wouldn't run.  Someone apparently fixed that problem.It's an xml file
> now and yum seems to run ok using it.
>
> Stan
>
> --
> View this message in context:
> http://n2.nabble.com/Wacom-Bamboo-with-XO--tp1508107p1634938.html
> Sent from the Software development mailing list archive at Nabble.com.
>
> ___
> Devel mailing list
> Devel@lists.laptop.org
> http://lists.laptop.org/listinfo/devel
>
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: One instance activity

2008-12-09 Thread Michael Stone
I believe that Browse already works this way. (There are many ways to
implement the feature, given the shared "data" directory available to
all instances of an activity.)

Michael
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: Bundling plugins with Browse

2008-12-09 Thread Sayamindu Dasgupta
On Tue, Dec 9, 2008 at 7:54 PM, Tomeu Vizoso <[EMAIL PROTECTED]> wrote:
> On Tue, Dec 9, 2008 at 3:21 PM, Sayamindu Dasgupta <[EMAIL PROTECTED]> wrote:
>> On Tue, Dec 9, 2008 at 12:20 AM, Tomeu Vizoso <[EMAIL PROTECTED]> wrote:
>>> On Mon, Dec 8, 2008 at 7:45 PM, Sayamindu Dasgupta <[EMAIL PROTECTED]> 
>>> wrote:
 On Tue, Dec 9, 2008 at 12:07 AM, Tomeu Vizoso <[EMAIL PROTECTED]> wrote:
> On Mon, Dec 8, 2008 at 7:34 PM, Sayamindu Dasgupta <[EMAIL PROTECTED]> 
> wrote:
>> Hi all,
>> We are trying to figure out a way to bundle the mozplugger plugin[1]
>> in Browse, so that PDF files can be viewed from within Browse itself.
>> Does anyone know how this can be done. Apart from the mozplugger
>> plugin itself, we need to have the m4 binary to help mozplugger parse
>> its config file, as well as the application which _actually_ renders
>> the PDF.
>> Normally we can modify the OS image, but it would be easier for us to
>> include the entire thing in Browse and make a new Browse bundle.
>> Any thoughts/ideas/comments ?
>
> What are the binaries, libraries and other resources that are needed
> by the evince plugin and aren't available on the 8.2.0 image?
>


 We won't use the evince plugin (as it does not have Journal support).
 I have a simple python PDF viewer which takes care of rendering the
 PDF. Everything that needs to be installed on the XO are at:
 http://dev.laptop.org/~sayamindu/pdf_embed/
>>>
>>> I haven't done these tricks myself, but I know that some activities
>>> ship executables and libraries inside their bundles.
>>>
>>> Two places to look at are modifying PATH and LD_LIBRARY_PATH and
>>> insert in them paths inside the bundle.
>>>
>>> Also, you can set some mozilla-related paths at startup, see 
>>> hulahop.startup().
>>>
>>> Would this be enough?
>>>
>>> strace -e open may be helpful in seeing which files it looks for and
>>> fails to find.
>>>
>>
>>
>> How do I do the strace for activity startup ? In an XO, it's pretty
>> easy to do via rainbow, but how do I do this in sugar-jhbuild ?
>> There's a MOZ_PLUGIN_PATH which looks promising, but somehow it's not
>> working for me. Strace should be able provide clues.
>
> You can strace an activity easily if you launch it from Terminal.
> Otherwise you will need to hack the sugar sources.
>
> strace -f sugar-launch Web
>
> should work, I think.
>


Thanks for the tip.
http://dev.laptop.org/~sayamindu/Browse-99.xo seems to be working for
me. Please test.
Attached is the patch which did the trick.
Thanks,
Sayamindu


-- 
Sayamindu Dasgupta
[http://sayamindu.randomink.org/ramblings]


embed_pdf_in_browse.patch
Description: Binary data
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: [PATCH] cafe_nand: remove busy-wait loop

2008-12-09 Thread Ed McNierney
And then Mitch tosses the next ball to Daniel to catch.


On 12/9/08 12:22 PM, "Jim Gettys" <[EMAIL PROTECTED]> wrote:

> On Tue, 2008-12-09 at 07:05 -1000, Mitch Bradley wrote:
> 
>>> Where do we go with this? Who's adventurous enough to test it? Dare we
>>> put it in joyride? Any suggestions for how to measure performance
>>> difference?
>>>   
> 
> If Deepak likes it and it passes some tests, that would be the logical
> thing to do next.
>   - Jim


___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: One instance activity

2008-12-09 Thread Eben Eliason
Are you sure?  Browse makes use of shared code, but still presents the
user with the appearance of multiple instances.  It seems to me that
the request here to prevent instances entirely goes against the Sugar
HIG, but I might be misunderstanding.

Pablo, for what reasons do you desire to prevent multiple instances
from running?

- Eben


On Tue, Dec 9, 2008 at 12:47 PM, Michael Stone <[EMAIL PROTECTED]> wrote:
> I believe that Browse already works this way. (There are many ways to
> implement the feature, given the shared "data" directory available to
> all instances of an activity.)
>
> Michael
> ___
> Devel mailing list
> Devel@lists.laptop.org
> http://lists.laptop.org/listinfo/devel
>
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: Clone a whole dir from dev.laptop.org/git ?

2008-12-09 Thread Michael Stone
How about:

   scp -r [EMAIL PROTECTED]/git/activities .

? (Or were you saying that you need a real shell on dev?)

Michael
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: [Sugar-devel] Wacom Bamboo with XO?

2008-12-09 Thread Stanley Sokolow




  


Wade, 

I tried: 
sudo depmod 
sudo modprobe wacom 

but all I got was an error from the modprobe: 
FATAL:  Module wacom not found. 

I then tried: 
sudo modprobe linuxwacom 
and got the same error. 

Stan 

- 

Wade Brainerd-2 (via Nabble) wrote:
Hi
Stan, 
  
Try a 'depmod' and then 'modprobe wacom' from the Terminal, and see if
that helps.  Feel free to grab me on IRC (as wadeb), I can help
troubleshoot it. 
  
-Wade 
  
  On Tue, Dec 9, 2008 at 9:34 AM, Stanley
Sokolow < [EMAIL PROTECTED] > wrote: 
  
I tried the new installation instructions on the wiki, first installing
the 
Colors activity, then running the new shell script as per the wiki: 

wget http://dev.laptop.org/~wadeb/setupwacom.sh 
sudo sh setupwacom.sh 

It seemed to run ok without errors.  I restarted the XO.  Colors
installed 
ok and works with the mouse, but the Wacom Bamboo tablet does not work, 
neither in Colors nor anywhere else.   Looking at the /dev/input
directory, 
I don't see the wacom device that should be there.   When I rerun the
shell 
script, it confirms that the linuxwacom package is already installed.  
 The 
X11 configuration file contains the Wacom devices, so it's the right
conf 
file.   I'm stuck. 

Has anyone had success with the new instructions? 

By the way, when I tried the old instructions yesterday, the repomd.xml
file 
was corrupted.   (Actually, it was a perl script, not an xml file.)
 So, yum 
wouldn't run.  Someone apparently fixed that problem.    It's an 
xml
file 
now and yum seems to run ok using it. 

Stan 

-- 
View this message in context: 
http://n2.nabble.com/Wacom-Bamboo-with-XO--tp1508107p1634938.html 
Sent from the Software development mailing list archive at Nabble.com. 



___ 
Devel mailing list 
[EMAIL PROTECTED] 
http://lists.laptop.org/listinfo/devel 


  
  
  
  
___
  
Devel mailing list
  
  [EMAIL PROTECTED] 
  
  http://lists.laptop.org/listinfo/devel 
  
  
  
  
This email is a reply to your post @ 
http://n2.nabble.com/Wacom-Bamboo-with-XO--tp1508107p1634998.html 
You can reply by email or by visting the link above. 
  
  





-- 
View this message in context: 
http://n2.nabble.com/Wacom-Bamboo-with-XO--tp1508107p1635054.html
Sent from the Software development mailing list archive at Nabble.com.
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: Trac tickets for 8.2.1 release mislabeled

2008-12-09 Thread Michael Stone
My fault; overeager scripting to the rescue. 

Apologies,

Michael

P.S. - People interested in improving or reusing said overeager
scripting should examine and improve 

http://wiki.laptop.org/go/Trac_scripting
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


8.2.1 test plan finalized (next: test cases need finalization)

2008-12-09 Thread Mel Chua
(The intent of this email is to make "what's going on with 8.2.1 
testing" as transparent as possible.)

I checked after the 8am work estimate cutoff, and made sure that the 
test plan matched up with the trac tickets listed at [[Eco/8.2.1]] - as 
of right now, it does. (Sweet!)

I believe that means that we can consider the list of test cases here as 
final (Joe/Kim, please holler if I'm incorrect): 
http://wiki.laptop.org/go/Test_cases_8.2.1 (Note that this doesn't mean 
the test cases themselves are final - they're very rough! It does, 
however, mean that these test cases are the ones that will exist.)

I'll talk with the developers assigned to these 9 tickets and make sure 
that we have final test cases (or at least a plan for how to develop 
one) before Thursday's test community meeting, and see how close we can 
come to getting work estimates for each test case that's finalized.

Help on this would be quite welcome; catch me on IRC (#olpc, freenode, 
mchua) if you'd like to pitch in, or email me if you'd like to take over 
the job (there's no reason this should be a Mel-specific task).

--Mel

PS: If this email confuses or concerns you, it's my responsibility to 
fix that - please send me any questions/complaints that you might have 
about this.
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: Clone a whole dir from dev.laptop.org/git ?

2008-12-09 Thread Bastien
Michael Stone <[EMAIL PROTECTED]> writes:

> How about:
>
>scp -r [EMAIL PROTECTED]/git/activities .
>
> ? (Or were you saying that you need a real shell on dev?)

Actually, I don't (think I) have a shell on dev. 

Is a shell really required for this?  
If so, I'll ask one to Henry.

Thanks!

-- 
 Bastien
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: Bundling plugins with Browse

2008-12-09 Thread Bert Freudenberg

On 09.12.2008, at 18:49, Sayamindu Dasgupta wrote:
> http://dev.laptop.org/~sayamindu/Browse-99.xo seems to be working for
> me. Please test.
> Attached is the patch which did the trick.

Ugh. Why is it necessary to copy the plugin to $SUGAR_ACTIVITY_ROOT/ 
data ? That would only make sense if it is supposed to be modified at  
runtime.

- Bert -


___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Activity Set for 9.1.0

2008-12-09 Thread Greg Smith
Hi All,

Learning from the last release, I want to start activity selection early 
for 9.1.0.

I created a section on the 9.1.0 planning page for activities: 
http://wiki.laptop.org/go/9.1.0_requirements#Activities

I want to get all potential activities listed there. An activity will 
need to be tested with the release and have a maintainer to have a 
chance for inclusion. Like last time, we will gather input from everyone 
then make a decision on the final set. OLPC management gets the final 
say but I will make sure they hear the voice of the community, 
preferably consensus.

You can help by updating that Wiki page with the details of the 
activities you think should be included.

Personally, I would like to see a few fun (but not violent) activities. 
Something colorful, exciting and fun for kids. My kids recently started 
playing with Spore demos. I'm not asking for something that pretty, but 
a few really fun looking and addictive applications for kids would be great!

Morgan,

What can we do to fire up the activity community (and list) again?

Can you make sure we have the full list of contacts you gathered from 
the last round? We can also cook up an invite e-mail to get people 
thinking about 9.1.0 once we have a contact list.

Target is to have tested, working activities to choose from by the end 
of February.

Any comments or questions welcome.

Thanks,

Greg S



___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: [Sugar-devel] Bundling plugins with Browse

2008-12-09 Thread Sayamindu Dasgupta
On Wed, Dec 10, 2008 at 12:37 AM, Bert Freudenberg <[EMAIL PROTECTED]> wrote:
>
> On 09.12.2008, at 18:49, Sayamindu Dasgupta wrote:
>> http://dev.laptop.org/~sayamindu/Browse-99.xo seems to be working for
>> me. Please test.
>> Attached is the patch which did the trick.
>
> Ugh. Why is it necessary to copy the plugin to $SUGAR_ACTIVITY_ROOT/
> data ? That would only make sense if it is supposed to be modified at
> runtime.
>


Oops, sorry about that. I'll use plain $SUGAR_ACTIVITY_ROOT instead.

Thanks,
Sayamindu




-- 
Sayamindu Dasgupta
[http://sayamindu.randomink.org/ramblings]
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: [Sugar-devel] One instance activity

2008-12-09 Thread Bert Freudenberg

On 09.12.2008, at 18:55, Eben Eliason wrote:

> Are you sure?  Browse makes use of shared code, but still presents the
> user with the appearance of multiple instances.

Right.

The way to do it would be to create a unique D-Bus service in your  
activity. When the second instance tries to create that service it  
will notice that it already exists. It could then notify its first  
instance via said D-Bus service.

>  It seems to me that
> the request here to prevent instances entirely goes against the Sugar
> HIG, but I might be misunderstanding.
>
> Pablo, for what reasons do you desire to prevent multiple instances
> from running?


Hope there's a better reason than "it's too easy to create unwanted  
instances" ... (still waiting for the home view icons to resume by  
default)

- Bert -


___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: [PATCH] cafe_nand: remove busy-wait loop

2008-12-09 Thread Deepak Saxena
On Dec 09 2008, at 16:05, Daniel Drake was caught saying:
> This patch enables interrupts for DMA and command completion events, and
> uses them to determine when commands and transfers have completed.
> 
> This avoids a busy-wait loop which was a waste of CPU time.
> 
> Signed-off-by: Daniel Drake <[EMAIL PROTECTED]>

Looks good, but since we're just checking for one bit, I think
we can we just use an atomic_t instead of needing a whole spinlock.

~Deepak

-- 
 Deepak Saxena - Kernel Developer, One Laptop Per Child
   _   __o   (o>
---\<,  Give One Laptop, Get One Laptop  //\
 - ( )/ ( )  http://www.amazon.com/xoV_/_

___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: [Testing] Activity Set for 9.1.0

2008-12-09 Thread Chris Ball
Hi Greg,

   > Hi All, Learning from the last release, I want to start activity
   > selection early for 9.1.0.

Our software releases don't ship with activities, so I don't understand
what's being selected here.  We didn't choose a set of activities to
ship with 8.2.0; we chose a set of activities to ship on a G1G1 image.
Each deployment creates its own conjunction of {XO release+Activities},
with G1G1 being one such deployment when it's running.

Could you elaborate on what the list of chosen activities would mean
this time around?

Thanks,

- Chris.
-- 
Chris Ball   <[EMAIL PROTECTED]>
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: [Testing] Activity Set for 9.1.0

2008-12-09 Thread Greg Smith
Hi Chris,

When this release is done we will update the default image used in 
manufacturing.

All of our deployments except one currently take the default image. Many 
change it (usually adding more than subtracting) after they get the XOs 
in country but they start with our "factory" image.

We will also offer people an option to clean install with a set of 
activities like we did in 8.2.

Let me know if that's not clear or you need more info.

Thanks,

Greg S

Chris Ball wrote:
> Hi Greg,
> 
>> Hi All, Learning from the last release, I want to start activity
>> selection early for 9.1.0.
> 
> Our software releases don't ship with activities, so I don't understand
> what's being selected here.  We didn't choose a set of activities to
> ship with 8.2.0; we chose a set of activities to ship on a G1G1 image.
> Each deployment creates its own conjunction of {XO release+Activities},
> with G1G1 being one such deployment when it's running.
> 
> Could you elaborate on what the list of chosen activities would mean
> this time around?
> 
> Thanks,
> 
> - Chris.
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Wine activity

2008-12-09 Thread Vincent Povirk
The Wine activity has advanced to the point where I think it's ready
for testing by actual users.

The current package, development history, and my todo list are at
http://wiki.winehq.org/SugaredWine

The intent of this project is to provide a shell that can be used to
run Windows programs using Wine in the Sugar environment. It should be
good enough that someone used to Windows can grab and install a
Windows program without help, once the activity is installed. Ideally,
the installer and software will both work fine in Wine and within the
hardware limitations of an XO. In this ideal case, someone used to
Windows should be able to operate it without help.

If it does not live up to this ideal for platinum software (according
to the Wine appdb) whose hardware requirements the XO meets, I want to
know about it and hopefully fix it.

Wine bugs and hardware limitations mean a lot of Windows programs
won't work or won't work properly. On Linux, one can often push the
compatibility much further than what works "out of the box" by looking
at console messages (the log viewer works for this) and tweaking Wine.
Don't expect everything to work perfectly, but don't give up if it
doesn't. This is normal, even on Linux.

Winehq.org has support channels for such cases (appdb, bugzilla,
mailing lists, and the winehq irc channel). Most of the people there
probably don't know anything about Sugared Wine, but collectively they
should know more than I do about making Wine work in general. If a
program doesn't work for you, you can go to any of those places for
support. You can also email [EMAIL PROTECTED] That goes
directly to me for now, but in the future (maybe the very near future)
I may decide to send it somewhere public, like a mailing list,
instead.

Wine and the code that I developed for this project are licensed under
the GNU LGPL. The entire package isn't quite LGPL because I included
7-zip. 7-zip is LGPL + unRAR restriction (you're not allowed to use
the source code to create a RAR compressor).

If you have a program that works well in this Wine package and would
like to package it as a stand-alone .xo, please let me know. I already
did most of the work for this so that I could include 7-zip and a
firefox downloader/installer (and I could probably have included
firefox itself if not for the fact that it would require uploading
non-open-source code to repo.or.cz).

Vincent Povirk
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: [PATCH] cafe_nand: remove busy-wait loop

2008-12-09 Thread Daniel Drake
On Tue, Dec 9, 2008 at 5:05 PM, Mitch Bradley <[EMAIL PROTECTED]> wrote:
> Nice!
>
> One quick test, for starters, is to do some file accesses to large files (dd
> or tar or whatever) and use the "time" command to look at the system and
> user times.  With the patch, the system time should drop to a fraction of
> the real time.

The system time does drop considerably, but unfortunately the transfer
rate also decreases significantly. I think this is because many of the
commands execute very quickly (1-10us), therefore it is wasteful to go
and schedule a new process only to come back immediately after.
Perhaps we can come up with a scheme that does a fast busy-loop for
the quick commands, and then schedules for the longer ones.

Here are the results anyway. Both experiments running on joyride-2579,
jffs2 filesystem, and a 50mb "randfile" that I generated on another
computer from /dev/urandom

First experiment was "echo 3 > /proc/sys/vm/drop_caches; time dd
if=randfile of=/dev/null"
that is, reading the file from the NAND, with caches cold. Repeated 3 times.

Before:
52428800 bytes (52 MB) copied, 5.4499 s, 9.6 MB/s
real0m7.324s
sys 0m7.080s

52428800 bytes (52 MB) copied, 5.38514 s, 9.7 MB/s
real0m5.452s
sys 0m5.190s

52428800 bytes (52 MB) copied, 5.41167 s, 9.7 MB/s
real0m5.480s
sys 0m5.210s



After:
52428800 bytes (52 MB) copied, 10.2002 s, 5.1 MB/s
real0m24.593s
sys 0m2.310s

52428800 bytes (52 MB) copied, 10.166 s, 5.2 MB/s
real0m10.266s
sys 0m0.910s

52428800 bytes (52 MB) copied, 9.72464 s, 5.4 MB/s
real0m9.840s
sys 0m1.210s

So, the transfer rate dropped from about 9.6mb/sec to about 5.3mb/sec.
However, sys time decreased by a factor of about 5. Also note that the
first run in each case took significantly longer (especially in the
after case, perhaps an anomaly) presumably because it had to load 'dd'
from nand too.



Second experiment: duplicate the file on disk, with hot caches so that
we are measuring write (and not also read).
"rm copy; cat randfile > /dev/null; time cp randfile copy" repeated 3 times

Before:
real0m56.459s
sys 0m51.280s

real0m57.919s
sys 0m51.300s

real0m56.016s
sys 0m50.970s

After:
real1m36.600s
sys 0m7.480s

real1m19.303s
sys 0m6.980s

real1m28.450s
sys 0m6.930s


Again, a considerable increase in real time, and a considerable
decrease in sys time.

I'll try and find some time to identify which commands are the ones
that take long, and then try a patch that only avoids the busy-wait
for those ones.

Daniel
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: 8.2.1 test plan finalized (next: test cases need finalization)

2008-12-09 Thread Bert Freudenberg
On 09.12.2008, at 19:23, Mel Chua wrote:

> I believe that means that we can consider the list of test cases  
> here as
> final (Joe/Kim, please holler if I'm incorrect):
> http://wiki.laptop.org/go/Test_cases_8.2.1

The Etoys ticket number is 8982 not 9045 as listed on that page.

And please use the spelling "Etoys" if possible.

- Bert -


___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: Wine activity

2008-12-09 Thread Ixo X oxI
Awesome,   I did some quickie work on Wine on the XO last year..
   http://wiki.laptop.org/go/Wine

:)  hoping that some day, someone would pickup the ball and run with it!

I'll definitely test out the new Activity and offer some feedback, the next
chance I get!

-iXo
p.s. for extra excitement, install Google's Picasa for Linux (which includes
Wine!)  slow... slow.. but it works !  :)

On Tue, Dec 9, 2008 at 12:02, Vincent Povirk
<[EMAIL PROTECTED]<[EMAIL PROTECTED]>
> wrote:

> The Wine activity has advanced to the point where I think it's ready
> for testing by actual users.
>
> The current package, development history, and my todo list are at
> http://wiki.winehq.org/SugaredWine
>
> The intent of this project is to provide a shell that can be used to
> run Windows programs using Wine in the Sugar environment. It should be
> good enough that someone used to Windows can grab and install a
> Windows program without help, once the activity is installed. Ideally,
> the installer and software will both work fine in Wine and within the
> hardware limitations of an XO. In this ideal case, someone used to
> Windows should be able to operate it without help.
>
> If it does not live up to this ideal for platinum software (according
> to the Wine appdb) whose hardware requirements the XO meets, I want to
> know about it and hopefully fix it.
>
> Wine bugs and hardware limitations mean a lot of Windows programs
> won't work or won't work properly. On Linux, one can often push the
> compatibility much further than what works "out of the box" by looking
> at console messages (the log viewer works for this) and tweaking Wine.
> Don't expect everything to work perfectly, but don't give up if it
> doesn't. This is normal, even on Linux.
>
> Winehq.org has support channels for such cases (appdb, bugzilla,
> mailing lists, and the winehq irc channel). Most of the people there
> probably don't know anything about Sugared Wine, but collectively they
> should know more than I do about making Wine work in general. If a
> program doesn't work for you, you can go to any of those places for
> support. You can also email [EMAIL PROTECTED] That goes
> directly to me for now, but in the future (maybe the very near future)
> I may decide to send it somewhere public, like a mailing list,
> instead.
>
> Wine and the code that I developed for this project are licensed under
> the GNU LGPL. The entire package isn't quite LGPL because I included
> 7-zip. 7-zip is LGPL + unRAR restriction (you're not allowed to use
> the source code to create a RAR compressor).
>
> If you have a program that works well in this Wine package and would
> like to package it as a stand-alone .xo, please let me know. I already
> did most of the work for this so that I could include 7-zip and a
> firefox downloader/installer (and I could probably have included
> firefox itself if not for the fact that it would require uploading
> non-open-source code to repo.or.cz).
>
> Vincent Povirk
> ___
> Devel mailing list
> Devel@lists.laptop.org
> http://lists.laptop.org/listinfo/devel
>
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


performance work (was re: Re: Sugar & XFCE)

2008-12-09 Thread Greg Smith
Hi Neil,

I couldn't resist replying after I saw your reference to Geoworks. I've 
never seen any other references to that elegant "shell"!

In terms of performance, unfortunately its not one of the top four items 
for release 9.1.0. That said it is a pet peeve of mine and a serious 
concern for deployments. I want to make some progress in 9.1.0 if we can.

Three ideas on how you can help.

1 - There is a recent thread on SVG performance. See: 
http://lists.sugarlabs.org/archive/sugar-devel/2008-December/010200.html

You may find something there you can contribute to.

2 - I also get the impression we do need to work on the Cairo front. If 
you can list a set of bugs, we can flag them as useful for 9.1 and track 
them.

3 - John's list of suggestions looks helpful too.

I put forward a basic requirements definition on performance here:
http://wiki.laptop.org/go/Feature_roadmap#Performance

That page is locked briefly while I move it to Semantic Wiki format. 
That should be done by Friday.

Starting next week, anyone can update the specifications section with 
URLs to code or design suggestions and other work. That should help us 
get synchronized and moving in the same direction.

Comments on the requirements welcome too. Considering that everyone 
knows the GUI is "slow" it was surprisingly hard to write!

You want to help and we need your help. Let me know what I can do to 
make it happen.

Thanks,

Greg S

*
Date: Sat, 06 Dec 2008 13:58:26 +1300 From: Neil Graham 
<[EMAIL PROTECTED]> Subject: Re: Sugar & XFCE To: 
devel@lists.laptop.org Message-ID: <[EMAIL PROTECTED]> 
Content-Type: text/plain On Fri, 2008-12-05 at 19:37 +0800, Carlos 
Nazareno wrote:
 > > These days, 433MHz may seem unusable to the average Moore's
 > > law-spoiled user, but it was more than enough for me who grew up on a
 > > 4.77MHz 8088 as a kid (yeah, that's nothing to you guys over here who
 > > are older :P), a Pentium 166 MMX with 64MB RAM in college during the
 > > late 90s, and then an AMD K6-2 500 w/ 256MB RAM as my primary
 > > workstation during the early 2000's.
 > >
 > > That K6-2 500 w/ 256MB RAM's specs are practically the same as the
 > > XO's and performs more or less the same as proven by this circa 2003
 > > experiment of mine: http://www.object404.com/lab/aquarium.php -- it
 > > runs at practically the same speed on the XO as my aforementioned K6-2
 > > Win98 rig


That doesn't change the fact that using the XO is like walking neck deep
in treacle.

I absolutely agree that the machine is up to doing good performance.  It
dismays me to see things like the scrolling of a static web page in
browse can't keep up with keypresses.  The real problem there is it's
hard to isolate the slowness, I think largely due to the fact that the
problems aren't isolated.

Is there any central repository for information about where the speed is
going?

I'd like to help out here, and I've tried, but it has been very
difficult.  When looking at things I have encountered things like "Why
don't you use [thing], that should do it the best way" only to find
[thing] needs help from an experienced [thing] hacker to work
efficiently in this case.

Much of the time [thing] has been cairo or X. but I think that's only
because of the areas I've tried to work.

I'm still reminded of using GEOworks Ensemble on a 286. It could do so
much with so little and the XO seems to do so little with so much more.

Not blaming anyone in particular, but I've been trying to work on this
stuff and I have to vent my frustration every six months or so.


___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: 8.2.1 test plan finalized (next: test cases need finalization)

2008-12-09 Thread Mel Chua
Ah, so it is! Thanks for the catch, Bert - fixed.

Bert Freudenberg wrote:
> On 09.12.2008, at 19:23, Mel Chua wrote:
> 
>> I believe that means that we can consider the list of test cases here as
>> final (Joe/Kim, please holler if I'm incorrect):
>> http://wiki.laptop.org/go/Test_cases_8.2.1
> 
> The Etoys ticket number is 8982 not 9045 as listed on that page.
> 
> And please use the spelling "Etoys" if possible.
> 
> - Bert -
> 
> 
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Way to tell if it is an XO

2008-12-09 Thread Marcel Renaud
Hello,

I need to know what is a good way to find out if the local machine running a
python script is a XO.
The goal is to check it the machine running the program is in fact an XO or
some other machine, and to do it in a way that is very hard to fake from
some other computer.

Any help is greatly appreciated.

Regards,

Marcel
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: [Sugar-devel] Bundling plugins with Browse

2008-12-09 Thread Sayamindu Dasgupta
On Wed, Dec 10, 2008 at 12:37 AM, Bert Freudenberg <[EMAIL PROTECTED]> wrote:
>
> On 09.12.2008, at 18:49, Sayamindu Dasgupta wrote:
>> http://dev.laptop.org/~sayamindu/Browse-99.xo seems to be working for
>> me. Please test.
>> Attached is the patch which did the trick.
>
> Ugh. Why is it necessary to copy the plugin to $SUGAR_ACTIVITY_ROOT/
> data ? That would only make sense if it is supposed to be modified at
> runtime.
>


Do stuff placed in $SUGAR_ACTIVITY_ROOT remain persistent across
reboots ? I seem to have troubles getting that (the file disappeared
after reboot)

Thanks,
Sayamindu



-- 
Sayamindu Dasgupta
[http://sayamindu.randomink.org/ramblings]
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: Way to tell if it is an XO

2008-12-09 Thread Chris Ball
Hi Marcel,

   > Hello, I need to know what is a good way to find out if the local
   > machine running a python script is a XO.

One way might be to "cat /ofw/model".  If the file doesn't exist, or
doesn't return a letter and number, you probably aren't running on an
XO.

   > The goal is to check it the machine running the program is in fact
   > an XO or some other machine, and to do it in a way that is very
   > hard to fake from some other computer.

I don't think making this hard to fake is possible, because any computer
with root access can reply to your test in whatever way is necessary.
I think you probably shouldn't try to accomplish this, or should try to
use a different method such as a pre-shared credential.

Hope that helps,

- Chris.
-- 
Chris Ball   <[EMAIL PROTECTED]>
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: mock.laptop.org repos repo

2008-12-09 Thread C. Scott Ananian
On Tue, Dec 9, 2008 at 5:51 AM, Ties Stuij <[EMAIL PROTECTED]> wrote:
> I'm making a local pilgrim and I'd like to have the repo at
> mock.laptop.org, which contains all rpms for the different xo builds.
> Git doesn't work however because I get out of memory errors, so I want
> to rsync it or find some other way or repository. Is it perhaps
> mirrored on dev.laptop.org (it's not in the projects listin in any
> case)? Or is there another way of getting to it?

I think upgrading to a newer version of git will solve the memory
errors?  That was something that happened often with debian/stable-era
git.

If you've looked at the pilgrim repo, you'll have noticed that we
export via http (w/ gitweb) as well.  There's a snapshot link at
   http://mock.laptop.org/gitweb/?p=repos;a=summary
and the individual packages are available via http as well.
 --scott

-- 
 ( http://cscott.net/ )
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: Way to tell if it is an XO

2008-12-09 Thread Carl-Daniel Hailfinger
Hi,

On 09.12.2008 22:37, Chris Ball wrote:
>> Hello, I need to know what is a good way to find out if the local
>> machine running a python script is a XO.
>
> One way might be to "cat /ofw/model".  If the file doesn't exist, or
> doesn't return a letter and number, you probably aren't running on an
> XO.
>
>> The goal is to check it the machine running the program is in fact
>> an XO or some other machine, and to do it in a way that is very
>> hard to fake from some other computer.
>
> I don't think making this hard to fake is possible, because any computer
> with root access can reply to your test in whatever way is necessary.
> I think you probably shouldn't try to accomplish this, or should try to
> use a different method such as a pre-shared credential.
>   

Yes, regardless of which test Marcel implements, it should be easy to
fool the test in a few minutes.


Regards,
Carl-Daniel

-- 
http://www.hailfinger.org/

___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: [Sugar-devel] Bundling plugins with Browse

2008-12-09 Thread Bert Freudenberg

On 09.12.2008, at 22:29, Sayamindu Dasgupta wrote:

> On Wed, Dec 10, 2008 at 12:37 AM, Bert Freudenberg <[EMAIL PROTECTED] 
> > wrote:
>>
>> On 09.12.2008, at 18:49, Sayamindu Dasgupta wrote:
>>> http://dev.laptop.org/~sayamindu/Browse-99.xo seems to be working  
>>> for
>>> me. Please test.
>>> Attached is the patch which did the trick.
>>
>> Ugh. Why is it necessary to copy the plugin to $SUGAR_ACTIVITY_ROOT/
>> data ? That would only make sense if it is supposed to be modified at
>> runtime.
>>
>
>
> Do stuff placed in $SUGAR_ACTIVITY_ROOT remain persistent across
> reboots ? I seem to have troubles getting that (the file disappeared
> after reboot)


You misunderstood. Why copy at all? Why not run it from the bundle?

Copying from the bundle is only necessary for e.g. default  
configuration files that the activity needs to be able to change later  
(because the bundle itself is read-only).

- Bert -


___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Joyride Build 2582

2008-12-09 Thread Simon Schampijer
The logs at http://dev.laptop.org/~bert/joyride-pkgs.html say:

joyride-2582 (pkgs)
! Build incomplete
Error Downloading Packages:

Any idea someone?

Thanks,
Simon
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: Joyride Build 2582

2008-12-09 Thread Chris Ball
Hi,

   > The logs at http://dev.laptop.org/~bert/joyride-pkgs.html say:
   > joyride-2582 (pkgs) ! Build incomplete Error Downloading Packages:

   > Any idea someone?

xs-dev was out of disk space, and isn't anymore; let's see what happens
with the next build.

- Chris.
-- 
Chris Ball   <[EMAIL PROTECTED]>
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: Joyride Build 2582

2008-12-09 Thread Peter Robinson
> The logs at http://dev.laptop.org/~bert/joyride-pkgs.html say:
>
> joyride-2582 (pkgs)
> ! Build incomplete
> Error Downloading Packages:
>
> Any idea someone?

According to the build logs something ran out of space.
http://xs-dev.laptop.org/~cscott/xo-1/streams/joyride/latest/devel_ext3/build.log

Peter
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: [Sugar-devel] Wacom Bamboo with XO?

2008-12-09 Thread Wade Brainerd
The script has been updated to fix Stan's problem.  It was missing a mkdir
for the drivers/usb/input directory.

-Wade

2008/12/9 Stanley Sokolow <[EMAIL PROTECTED]>

> Wade,
>
> I tried:
> *sudo depmod
> sudo modprobe wacom*
>
> but all I got was an error from the modprobe:
> *FATAL:  Module wacom not found.*
>
> I then tried:
> *sudo modprobe linuxwacom*
> and got the same error.
>
> Stan
>
> -
>
> Wade Brainerd-2 (via Nabble) wrote:
>
> Hi Stan,
>
> Try a 'depmod' and then 'modprobe wacom' from the Terminal, and see if that
> helps.  Feel free to grab me on IRC (as wadeb), I can help troubleshoot it.
>
> -Wade
>
> On Tue, Dec 9, 2008 at 9:34 AM, Stanley Sokolow <[EMAIL 
> PROTECTED]
> > wrote:
>
>>
>> I tried the new installation instructions on the wiki, first installing
>> the
>> Colors activity, then running the new shell script as per the wiki:
>>
>> wget 
>> http://dev.laptop.org/~wadeb/setupwacom.sh
>> sudo sh setupwacom.sh
>>
>> It seemed to run ok without errors.  I restarted the XO.  Colors installed
>> ok and works with the mouse, but the Wacom Bamboo tablet does not work,
>> neither in Colors nor anywhere else.   Looking at the /dev/input
>> directory,
>> I don't see the wacom device that should be there.   When I rerun the
>> shell
>> script, it confirms that the linuxwacom package is already installed.
>>  The
>> X11 configuration file contains the Wacom devices, so it's the right conf
>> file.   I'm stuck.
>>
>> Has anyone had success with the new instructions?
>>
>> By the way, when I tried the old instructions yesterday, the repomd.xml
>> file
>> was corrupted.   (Actually, it was a perl script, not an xml file.)  So,
>> yum
>> wouldn't run.  Someone apparently fixed that problem.It's an xml file
>> now and yum seems to run ok using it.
>>
>> Stan
>>
>> --
>> View this message in context:
>> http://n2.nabble.com/Wacom-Bamboo-with-XO--tp1508107p1634938.html
>> Sent from the Software development mailing list archive at Nabble.com.
>>
>> ___
>> Devel mailing list
>> [EMAIL 
>> PROTECTED]
>> http://lists.laptop.org/listinfo/devel
>>
>
>
> ___
> Devel mailing list
> [EMAIL 
> PROTECTED]
> http://lists.laptop.org/listinfo/devel
>
>
>
> --
> View this message in context: Re: [Sugar-devel] Wacom Bamboo with 
> XO?
>
> Sent from the Software development mailing list 
> archiveat Nabble.com.
>
> ___
> Devel mailing list
> Devel@lists.laptop.org
> http://lists.laptop.org/listinfo/devel
>
>
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: [Server-devel] Bonding regression on 2.6.27

2008-12-09 Thread Anna
On Tue, Dec 9, 2008 at 11:49 AM, Jesper Krogh <[EMAIL PROTECTED]> wrote:

>
> I reverted the systems to the latest 2.6.26.8 kernel and it havent been
> on my priority list since.. unfortunately.


I reinstalled fresh and, after the usual setup stuff, compiled and installed
2.6.26.8 according to these instructions:

http://www.howtoforge.com/kernel_compilation_fedora_p2

So now I've got this:

[EMAIL PROTECTED] ~]# uname -a
Linux schoolserver1 2.6.26.8 #1 SMP Tue Dec 9 15:16:54 CST 2008 i686 i686
i386 GNU/Linux

In the messages, I saw it was complaining it didn't know how to bring up
bonding.  So, per Jerry's earlier suggestion, I edited
/etc/modprobe.d/xs_bonding with this:

options lanbond0 mode=active-backup miimon=100
options mshbond0 mode=active-backup miimon=100
options mshbond1 mode=active-backup miimon=100
options mshbond2 mode=active-backup miimon=100

But after a reboot, this is in /var/log/messages:

Dec  9 16:57:05 schoolserver1 kernel: bonding: MII link monitoring set to
100 ms
Dec  9 16:57:05 schoolserver1 kernel: bonding: lanbond0 is being created...
Dec  9 16:57:05 schoolserver1 kernel: ADDRCONF(NETDEV_UP): lanbond0: link is
not ready
Dec  9 16:57:05 schoolserver1 kernel: bonding: mshbond0 is being created...
Dec  9 16:57:05 schoolserver1 kernel: ADDRCONF(NETDEV_UP): mshbond0: link is
not ready
Dec  9 16:57:05 schoolserver1 kernel: bonding: mshbond1 is being created...
Dec  9 16:57:05 schoolserver1 kernel: ADDRCONF(NETDEV_UP): mshbond1: link is
not ready
Dec  9 16:57:05 schoolserver1 kernel: bonding: mshbond2 is being created...
Dec  9 16:57:05 schoolserver1 kernel: ADDRCONF(NETDEV_UP): mshbond2: link is
not ready

I have an AP set to 172.18.96.5 plugged into eth1, but can't ping it.  The
link is up, though:

[EMAIL PROTECTED] ~]# ethtool eth1
Settings for eth1:
Supported ports: [ TP ]
Supported link modes:   10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
1000baseT/Full
Supports auto-negotiation: Yes
Advertised link modes:  10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
1000baseT/Full
Advertised auto-negotiation: Yes
Speed: 100Mb/s
Duplex: Full
Port: Twisted Pair
PHYAD: 0
Transceiver: internal
Auto-negotiation: on
Supports Wake-on: umbg
Wake-on: g
Current message level: 0x0007 (7)
Link detected: yes

So using the older kernel didn't automagically fix things, at least not for
me.

Anna Schoolfield
Birmingham
___
Server-devel mailing list
[EMAIL PROTECTED]
http://lists.laptop.org/listinfo/server-devel


New joyride build 2583

2008-12-09 Thread Build Announcer v2
http://xs-dev.laptop.org/~cscott/olpc/streams/joyride/build2583

Changes in build 2583 from build: 2581

Size delta: 0.00M

-rainbow 0.7.26-1.olpc4
+rainbow 0.7.27-1.olpc4
-crontabs 1.10-23.fc10
+crontabs 1.10-25.fc10
-cups 1:1.3.9-2.fc10
+cups 1:1.3.9-4.fc10
-cups-libs 1:1.3.9-2.fc10
+cups-libs 1:1.3.9-4.fc10
-device-mapper 1.02.27-6.fc10
+device-mapper 1.02.27-7.fc10
-device-mapper-libs 1.02.27-6.fc10
+device-mapper-libs 1.02.27-7.fc10
-sugar-toolkit 0.83.2-3.olpc4
+sugar-toolkit 0.83.2-1.20081209git054aaf8590.olpc4

--- Changes for rainbow 0.7.27-1.olpc4 from 0.7.26-1.olpc4 ---
  + disable preloading, perhaps temporarily (dlo#9035)
  + Reuse the existing python interpreter when launching a python activity.

--- Changes for sugar-toolkit 0.83.2-1.20081209git054aaf8590.olpc4 from 
0.83.2-3.olpc4 ---
  + Dont pop down the palette when a submenu opens
  + Simplify activity bundle installation
  + Add colors to icons in menu items
  + Add accelerator support to menu items
  + Emit the completed signal on shutdown completion
  + Remove bundle stuff

--
This mail was automatically generated
See http://dev.laptop.org/~rwh/announcer/joyride-pkgs.html for aggregate logs
See http://dev.laptop.org/~rwh/announcer/joyride_vs_update1.html for a 
comparison
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


New joyride build 2583

2008-12-09 Thread Build Announcer v2
http://xs-dev.laptop.org/~cscott/olpc/streams/joyride/build2583

Changes in build 2583 from build: 2581

Size delta: 0.00M

-rainbow 0.7.26-1.olpc4
+rainbow 0.7.27-1.olpc4
-crontabs 1.10-23.fc10
+crontabs 1.10-25.fc10
-cups 1:1.3.9-2.fc10
+cups 1:1.3.9-4.fc10
-cups-libs 1:1.3.9-2.fc10
+cups-libs 1:1.3.9-4.fc10
-device-mapper 1.02.27-6.fc10
+device-mapper 1.02.27-7.fc10
-device-mapper-libs 1.02.27-6.fc10
+device-mapper-libs 1.02.27-7.fc10
-sugar-toolkit 0.83.2-3.olpc4
+sugar-toolkit 0.83.2-1.20081209git054aaf8590.olpc4

--- Changes for rainbow 0.7.27-1.olpc4 from 0.7.26-1.olpc4 ---
  + disable preloading, perhaps temporarily (dlo#9035)
  + Reuse the existing python interpreter when launching a python activity.

--- Changes for sugar-toolkit 0.83.2-1.20081209git054aaf8590.olpc4 from 
0.83.2-3.olpc4 ---
  + Dont pop down the palette when a submenu opens
  + Simplify activity bundle installation
  + Add colors to icons in menu items
  + Add accelerator support to menu items
  + Emit the completed signal on shutdown completion
  + Remove bundle stuff

--
This mail was automatically generated
See http://dev.laptop.org/~rwh/announcer/joyride-pkgs.html for aggregate logs
See http://dev.laptop.org/~rwh/announcer/joyride_vs_update1.html for a 
comparison
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: [Sugar-devel] One instance activity

2008-12-09 Thread david
On Tue, 9 Dec 2008, Bert Freudenberg wrote:

> On 09.12.2008, at 18:55, Eben Eliason wrote:
>
>> Are you sure?  Browse makes use of shared code, but still presents the
>> user with the appearance of multiple instances.
>
> Right.
>
> The way to do it would be to create a unique D-Bus service in your
> activity. When the second instance tries to create that service it
> will notice that it already exists. It could then notify its first
> instance via said D-Bus service.

you don't need to use D-Bus for this, it can be done by X without any 
other communication channels.

I don't know the details for how to do this, but I've seen mozilla/firefox 
do this for a few years. to see this start firefox on one machine, connect 
to another machine and point the display back to the first one. then try 
and start firefox on that second machine. the end result will be a new 
window opening up, but running on the first machine (if you have trouble 
seeing the difference, make the two machines have different bookmarks, or 
give one network access that the other doesn't have)

please don't develop new mechanisms to do things that already exist.

David Lang

>>  It seems to me that
>> the request here to prevent instances entirely goes against the Sugar
>> HIG, but I might be misunderstanding.
>>
>> Pablo, for what reasons do you desire to prevent multiple instances
>> from running?
>
>
> Hope there's a better reason than "it's too easy to create unwanted
> instances" ... (still waiting for the home view icons to resume by
> default)
>
> - Bert -
>
>
> ___
> Devel mailing list
> Devel@lists.laptop.org
> http://lists.laptop.org/listinfo/devel
>
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


2583 - Journal unusable

2008-12-09 Thread Mikus Grinbergs
The Journal entries do not show the object icon - so they cannot be 
launched from.

mikus


___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: 8.2.1 test plan finalized (next: test cases need finalization)

2008-12-09 Thread Kimberley Quirk
Mel,
We need to include all the smoke tests, which should be run on any  
build to ensure that the basic functionality of the build has been  
retained.

Also, we should review other test cases that might help reveal a  
regression... for instance, if we mess with wireless drivers, we need  
to do some more thorough wireless testing -- connecting to various  
access points, perhaps doing a 50 laptop test to a school server, ...  
in reviewing the bugs that are being fixed, we need to think about  
other areas that might be affected.

Let's plan on a review of the test cases with people who understand  
the bug fixes so we can brainstorm a bit on the test coverage.

Do you want to call that meeting? Probably Friday or later so we have  
the complete list of bug fixes that are going into the release.

Kim


On Dec 9, 2008, at 3:45 PM, Mel Chua wrote:

> Ah, so it is! Thanks for the catch, Bert - fixed.
>
> Bert Freudenberg wrote:
>> On 09.12.2008, at 19:23, Mel Chua wrote:
>>> I believe that means that we can consider the list of test cases  
>>> here as
>>> final (Joe/Kim, please holler if I'm incorrect):
>>> http://wiki.laptop.org/go/Test_cases_8.2.1
>> The Etoys ticket number is 8982 not 9045 as listed on that page.
>> And please use the spelling "Etoys" if possible.
>> - Bert -

___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel