patch applied (yi): JS: Minor documentation changes/fixes.

2009-08-11 Thread Deniz Dogan
Tue Aug 11 18:09:01 EDT 2009 Deniz Dogan * JS: Minor documentation changes/fixes. Ignore-this: 32dd351a0fef21713afeeacd191045d8 M ./src/Yi/Syntax/JavaScript.hs -2 +2 --~--~-~--~~~---~--~~ Yi development mailing list yi-devel@googlegroups.com http://group

patch applied (yi): ParserTest.hs: Minor documentation fix.

2009-08-11 Thread Deniz Dogan
Tue Aug 11 15:58:56 EDT 2009 Deniz Dogan * ParserTest.hs: Minor documentation fix. Ignore-this: 29550e50124c29c896ecb5ba9ddc29f3 M ./src/ParserTest/ParserTest.hs -5 +10 --~--~-~--~~~---~--~~ Yi development mailing list yi-devel@googlegroups.com http://gr

Re: Speed issues.

2009-08-11 Thread Colin McQuillan
2009/8/11 Jean-Philippe Bernardy : > > On Tue, Aug 11, 2009 at 6:44 PM, Colin McQuillan > wrote: >> >> I found a leak that can't be fixed by seq. The *messages* buffer will >> still save undo information including everything that was ever shown. >> This patch will print increasingly big lines: >

patch applied (yi): Add buffer opening test to Cmcq.hs

2009-08-11 Thread Colin McQuillan
Tue Aug 11 14:55:18 EDT 2009 m.ni...@gmail.com * Add buffer opening test to Cmcq.hs Ignore-this: b44fb47a18be87ca8554365ddeea490 M ./src/Yi/Users/Cmcq.hs -19 +49 --~--~-~--~~~---~--~~ Yi development mailing list yi-devel@googlegroups.com http://groups.goo

patch applied (yi): Neaten up previous patch

2009-08-11 Thread Colin McQuillan
Tue Aug 11 13:34:23 EDT 2009 m.ni...@gmail.com * Neaten up previous patch Ignore-this: efcb1034052b33276e7ac2adb09b0538 M ./src/Yi/Editor.hs -1 +1 --~--~-~--~~~---~--~~ Yi development mailing list yi-devel@googlegroups.com http://groups.google.com/group/y

patch applied (yi): bufAccessLists were hanging on to old BufferRefs

2009-08-11 Thread Colin McQuillan
Tue Aug 11 14:27:57 EDT 2009 m.ni...@gmail.com * bufAccessLists were hanging on to old BufferRefs Ignore-this: 953535204efa857de8b4f717be4dad05 M ./src/Yi/Editor.hs -5 +11 --~--~-~--~~~---~--~~ Yi development mailing list yi-devel@googlegroups.com http://

Re: Speed issues.

2009-08-11 Thread Jean-Philippe Bernardy
On Tue, Aug 11, 2009 at 6:44 PM, Colin McQuillan wrote: > > I found a leak that can't be fixed by seq. The *messages* buffer will > still save undo information including everything that was ever shown. > This patch will print increasingly big lines: There are two issues here. 1. As I mentioned p

patch applied (yi): switchToBufferE leak

2009-08-11 Thread Colin McQuillan
Tue Aug 11 13:00:03 EDT 2009 m.ni...@gmail.com * switchToBufferE leak Ignore-this: 4e70218ae3e48060d0e447a90d4634c M ./src/Yi/Editor.hs -2 +4 --~--~-~--~~~---~--~~ Yi development mailing list yi-devel@googlegroups.com http://groups.google.com/group/yi-dev

Re: Speed issues.

2009-08-11 Thread Colin McQuillan
2009/8/11 Jean-Philippe Bernardy : > > On Mon, Aug 10, 2009 at 11:51 PM, Jean-Philippe > Bernardy wrote: >> On Mon, Aug 10, 2009 at 11:28 PM, Colin McQuillan >> wrote: >> >>> Great news. Could you give a quick summary of how you did it? >> >> Step by step: >> [...] > > GC time still increase afte

Re: Text storage

2009-08-11 Thread Jean-Philippe Bernardy
This seems to break unicode (non ascii) support. You can open Contributors.hs and see that Payrard's first name is garbled. I'm looking at some other things right now so I'll leave this up to you... Cheers, JP. On Tue, Aug 11, 2009 at 4:20 PM, Colin McQuillan wrote: > 2009/3/22 Jean-Philippe Be

Re: patch applied (yi): Avoid excessive nubbing; this also avoids a leak if history isn't forced

2009-08-11 Thread Jean-Philippe Bernardy
On Tue, Aug 11, 2009 at 5:51 PM, Colin McQuillan wrote: > > Tue Aug 11 11:49:43 EDT 2009  m.ni...@gmail.com >  * Avoid excessive nubbing; this also avoids a leak if history isn't forced >  Ignore-this: 2baae4dec0168b089ae38f71ead80115 > >    M ./src/Yi/History.hs -2 +4 One more down, thanks a bun

patch applied (yi): Avoid excessive nubbing; this also avoids a leak if history isn't forced

2009-08-11 Thread Colin McQuillan
Tue Aug 11 11:49:43 EDT 2009 m.ni...@gmail.com * Avoid excessive nubbing; this also avoids a leak if history isn't forced Ignore-this: 2baae4dec0168b089ae38f71ead80115 M ./src/Yi/History.hs -2 +4 --~--~-~--~~~---~--~~ Yi development mailing list yi-devel@

Re: Text storage

2009-08-11 Thread Colin McQuillan
2009/3/22 Jean-Philippe Bernardy : > >> have you looked at the text package [1] it may be of some help at some >> point. >> [1]: http://hackage.haskell.org/cgi-bin/hackage-scripts/package/text > > I was aware of this, but did not look at it yet. > > Thanks for reminding me! > -- JP I don't think i

Re: Speed issues.

2009-08-11 Thread Jean-Philippe Bernardy
On Tue, Aug 11, 2009 at 2:39 PM, Gwern Branwen wrote: > Maybe it's an artifact of measurement? You could be seeing > http://hackage.haskell.org/trac/ghc/ticket/698 The editor really seems to get slower. (The measurement tool is 'top' btw). Also, I'm not so concerned about the RTS loosing track o

patch applied (yi): Optimization for updating Gtk attributes

2009-08-11 Thread Colin McQuillan
Tue Aug 11 08:49:17 EDT 2009 m.ni...@gmail.com * Optimization for updating Gtk attributes Ignore-this: 50bf83c172d6e21e299b2bebc4d922e9 M ./src/Yi/UI/Pango.hs -6 +10 --~--~-~--~~~---~--~~ Yi development mailing list yi-devel@googlegroups.com http://groups

patch applied (yi): Don't focus every window

2009-08-11 Thread Colin McQuillan
Tue Aug 11 08:48:25 EDT 2009 m.ni...@gmail.com * Don't focus every window Ignore-this: 959d3859557ba815bfd88194e8dc4b35 This corrects a problem where the main title was not set after changing the window until you press a key. M ./src/Yi/UI/Pango.hs -3 +4 --~--~-~--~~

Re: Speed issues.

2009-08-11 Thread Gwern Branwen
On Tue, Aug 11, 2009 at 7:33 AM, Jean-Philippe Bernardy wrote: On Mon, Aug 10, 2009 at 11:51 PM, Jean-Philippe Bernardy wrote: On Mon, Aug 10, 2009 at 11:28 PM, Colin McQuillan wrote: Great news. Could you give a quick summary of how you did it? Step by step: [...] GC time still increase

patch applied (yi): Add support for focusing syntax in Core

2009-08-11 Thread Jean-Philippe Bernardy
Tue Aug 11 08:09:19 EDT 2009 jeanphilippe.berna...@gmail.com * Add support for focusing syntax in Core Ignore-this: 2146d884059fd5ae4c108aebfb62d5a5 M ./src/Yi/Buffer/Misc.hs -2 +5 M ./src/Yi/Config/Default.hs -1 +1 M ./src/Yi/Core.hs -4 +9 M ./src/Yi/Mode/Latex.hs -1 +1 --~

patch applied (yi): fix some bugs in the tree navigation code

2009-08-11 Thread Jean-Philippe Bernardy
Tue Aug 11 08:06:13 EDT 2009 jeanphilippe.berna...@gmail.com * fix some bugs in the tree navigation code Ignore-this: c4da6b4760f40be66bffb70d789862f M ./src/Yi/Syntax/Driver.hs +1 M ./src/Yi/Syntax/Tree.hs -9 +12 --~--~-~--~~~---~--~~ Yi development

patch applied (yi): remove obsolete function

2009-08-11 Thread Jean-Philippe Bernardy
Tue Aug 11 08:04:21 EDT 2009 jeanphilippe.berna...@gmail.com * remove obsolete function Ignore-this: 1f1019a8066d1d54d641a3160102a4c8 M ./src/Yi/Editor.hs -3 --~--~-~--~~~---~--~~ Yi development mailing list yi-devel@googlegroups.com http://groups.google.

patch applied (yi): Small optimization for counting the number of lines in a chunk

2009-08-11 Thread Colin McQuillan
Tue Aug 11 07:49:03 EDT 2009 m.ni...@gmail.com * Small optimization for counting the number of lines in a chunk Ignore-this: 4cfb522e669ac3991524b43ac179183f M ./src/Data/Rope.hs -2 +6 --~--~-~--~~~---~--~~ Yi development mailing list yi-devel@googlegroup

Re: Speed issues.

2009-08-11 Thread Jean-Philippe Bernardy
On Mon, Aug 10, 2009 at 11:51 PM, Jean-Philippe Bernardy wrote: > On Mon, Aug 10, 2009 at 11:28 PM, Colin McQuillan > wrote: > >> Great news. Could you give a quick summary of how you did it? > > Step by step: > [...] GC time still increase after, say, an hour of normal usage. So I'd say there i

patch applied (yi): Let the window region be a mere value

2009-08-11 Thread Jean-Philippe Bernardy
Tue Aug 11 05:10:25 EDT 2009 jeanphilippe.berna...@gmail.com * Let the window region be a mere value Ignore-this: 7398fca5647509ae51e363b9f8b09b93 This simplifies things for what's coming. Also, this probably speeds up things, since the region is calculated only once per layout. Whe

Re: Speed issues.

2009-08-11 Thread Jean-Philippe Bernardy
On Tue, Aug 11, 2009 at 10:04 AM, Colin McQuillan wrote: > My apologies. I've pushed a fix for a leak in Pango as well (also mine > :-( ) but the message didn't make it to this list. Excellent. (You have to add your "communities" account to the google group so that commit messages make it here).

Re: Speed issues.

2009-08-11 Thread Colin McQuillan
2009/8/10 Jean-Philippe Bernardy : >> Do you >> know if it was a leak I introduced (in Vty) that was causing most of >> the slowness, or were all the leaks important? > > Yep, the leaks around window region calculation were responsible for creating > a lot of objects. My apologies. I've pushed a