Re: Speed issues.

2009-08-10 Thread Jean-Philippe Bernardy
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? Yes, I was thinking to write a blog post about this. Maybe we can discuss it here, we'll see if a hash up is worthy of dissemination. Step by step: # Compile for profiling $

Re: Speed issues.

2009-08-10 Thread Jeff Wheeler
On Mon, Aug 10, 2009 at 4:28 PM, Colin McQuillan wrote: > Perhaps you could give some tips for Yi developers who want to be sure > they aren't creating bugs in the future. Is just "-hc" cost-center > stack profiling enough? Indeed, this would be great. Presently, I'm just timing with the Pango H

patch applied (yi): Haskell: accept noise (as errors) after a where clause

2009-08-10 Thread Jean-Philippe Bernardy
Mon Aug 10 17:33:10 EDT 2009 jeanphilippe.berna...@gmail.com * Haskell: accept noise (as errors) after a where clause Ignore-this: 792997fa1133ce8d5b9c5ce8af99c7c6 M ./src/Yi/Syntax/Haskell.hs -5 +5 M ./src/Yi/Syntax/Strokes/Haskell.hs -1 +1 --~--~-~--~~~

Re: Speed issues.

2009-08-10 Thread Colin McQuillan
2009/8/10 Jean-Philippe Bernardy : > > Hi, > > With the recent fixes of memory leaks, much progress has been made in > terms of speed. > I'm not talking about super fast/low CPU usage mind you, but I think > we're back to the > speed of last year, if not faster. So if you had given up on Yi for a

patch applied (yi): Add a focusing-aware syntax driver

2009-08-10 Thread Jean-Philippe Bernardy
Mon Aug 10 17:17:50 EDT 2009 jeanphilippe.berna...@gmail.com * Add a focusing-aware syntax driver Ignore-this: 846acd8cc501902fe5706c8c5c18ca3e + Have a test latex mode for it. M ./src/Yi/Mode/Latex.hs -1 +12 A ./src/Yi/Syntax/Driver.hs M ./src/Yi/Syntax/Layout.hs -6 +10 M

Re: yi doesn't run

2009-08-10 Thread Jean-Philippe Bernardy
On Mon, Aug 10, 2009 at 10:59 PM, wrote: > > hiya, > first of all, i want to thank all of you guys, especially jeff wheeler, > jp and balazs. you've all proven great patience with me and always > answered contemporary. I think I can speak for everyone when stating that you're very welcome. > th

Speed issues.

2009-08-10 Thread Jean-Philippe Bernardy
Hi, With the recent fixes of memory leaks, much progress has been made in terms of speed. I'm not talking about super fast/low CPU usage mind you, but I think we're back to the speed of last year, if not faster. So if you had given up on Yi for a while because of speed, it might be time to try ag

yi doesn't run

2009-08-10 Thread philipp
hiya, first of all, i want to thank all of you guys, especially jeff wheeler, jp and balazs. you've all proven great patience with me and always answered contemporary. the executable-path patch works fine for me. keep that good work on! btw.: i'll have some spare time to kill some weeks from now,

Issue 257 in yi-editor: make pointDrive a window-dependent attribute

2009-08-10 Thread codesite-noreply
Updates: Status: WontFix Comment #1 on issue 257 by JeanPhilippe.bernardy: make pointDrive a window-dependent attribute http://code.google.com/p/yi-editor/issues/detail?id=257 Obsoleted -- You received this message because you are listed in the owner or CC fields of this issue, or bec

Re: yi doesn't run

2009-08-10 Thread Jeff Wheeler
On Mon, Aug 10, 2009 at 2:09 PM, Balazs Komuves wrote: > I updated the executable-path library on Hackage and also the darcs repo at > my homepage. > It should now work on FreeBSD, both old and new versions, though of course I > didn't test it > on different versions... It should also work on oth

Re: yi doesn't run

2009-08-10 Thread Jean-Philippe Bernardy
On Mon, Aug 10, 2009 at 7:28 PM, Will Donnelly wrote: > > On Aug 10, 8:12 am, Jean-Philippe Bernardy > wrote: >> If you're interesting in testing Yi right now, you can bake in your >> configuration >> statically by using the "hacking" build. See the README file for how to >> proceed. > > Wasn't

Re: patch applied (yi): fix a memory leak; also improve the style somewhat

2009-08-10 Thread Jean-Philippe Bernardy
On Mon, Aug 10, 2009 at 5:23 PM, Colin McQuillan wrote: > > 2009/8/7 Jean-Philippe Bernardy : >> >> Fri Aug  7 17:09:32 EDT 2009  jeanphilippe.berna...@gmail.com >>  * fix a memory leak; also improve the style somewhat >>  Ignore-this: 12b9966fd67f3ebf9a2e5bc48a7b98ef >> >>    M ./src/Yi/UI/Vty.hs

Re: yi doesn't run

2009-08-10 Thread Will Donnelly
On Aug 10, 8:12 am, Jean-Philippe Bernardy wrote: > If you're interesting in testing Yi right now, you can bake in your > configuration > statically by using the "hacking" build. See the README file for how to > proceed. > > Cheers, > JP. Wasn't quite true. Even with the 'hacking' configuration

Re: patch applied (yi): comments

2009-08-10 Thread Jean-Philippe Bernardy
On Mon, Aug 10, 2009 at 5:18 PM, Colin McQuillan wrote: > > 2009/8/10 Jean-Philippe Bernardy : >> >> On Mon, Aug 10, 2009 at 3:50 PM, Colin McQuillan >> wrote: >>  Colin: Do you know why the "getRegion" field of Window takes a Buffer parameter?  There is only one buffer in the win

Re: yi doesn't run

2009-08-10 Thread Jeff Wheeler
On Mon, Aug 10, 2009 at 10:25 AM, Balazs Komuves wrote: > I'm working on the update (which is more general than Will's one, and also > has 0 dependencies > instead of 1), but still have no access to a working FreeBSD system, despite > many tries. It doesn't > help that the FreeBSD sysctl calls ar

Re: patch applied (yi): fix a memory leak; also improve the style somewhat

2009-08-10 Thread Colin McQuillan
2009/8/7 Jean-Philippe Bernardy : > > Fri Aug  7 17:09:32 EDT 2009  jeanphilippe.berna...@gmail.com >  * fix a memory leak; also improve the style somewhat >  Ignore-this: 12b9966fd67f3ebf9a2e5bc48a7b98ef > >    M ./src/Yi/UI/Vty.hs -4 +9 The "fix" was meant to stop a leak where every window han

Re: patch applied (yi): comments

2009-08-10 Thread Colin McQuillan
2009/8/10 Jean-Philippe Bernardy : > > On Mon, Aug 10, 2009 at 3:50 PM, Colin McQuillan > wrote: > >>>  Colin: Do you know why the "getRegion" field of Window takes a Buffer >>> parameter? >>>  There is only one buffer in the window... > >> One BufferRef, but many FBuffers. In this case, I want

patch applied (yi): latex: use regular datatype

2009-08-10 Thread Jean-Philippe Bernardy
Mon Aug 10 10:08:46 EDT 2009 jeanphilippe.berna...@gmail.com * latex: use regular datatype Ignore-this: a500916f87fc569a0e9b050f1aab26f9 M ./src/Yi/Mode/Latex.hs -1 +1 M ./src/Yi/Syntax/Latex.hs -13 +17 --~--~-~--~~~---~--~~ Yi development mailing lis

Re: yi doesn't run

2009-08-10 Thread Jeff Wheeler
On Mon, Aug 10, 2009 at 4:57 AM, wrote: > interestingly, the dyre patch seems to fix mac os x issues, but not mine > (freebsd). I think executable-path needs to be upgraded before this will work. Will provided a modified BSD.hs in the other thread that probably fixes the problem, but Balazs wil

Re: patch applied (yi): comments

2009-08-10 Thread Jean-Philippe Bernardy
On Mon, Aug 10, 2009 at 3:50 PM, Colin McQuillan wrote: >>  Colin: Do you know why the "getRegion" field of Window takes a Buffer >> parameter? >>  There is only one buffer in the window... > One BufferRef, but many FBuffers. In this case, I want to be able to > tell if typing in a buffer has c

patch applied (yi): remove an ambiguity (fix (part of) #284)

2009-08-10 Thread Jean-Philippe Bernardy
Mon Aug 10 09:50:15 EDT 2009 jeanphilippe.berna...@gmail.com * remove an ambiguity (fix (part of) #284) Ignore-this: 54412695d3c2fd665deb114921c3de06 M ./src/Yi/Syntax/Haskell.hs -1 +1 --~--~-~--~~~---~--~~ Yi development mailing list yi-devel@googlegroup

Re: patch applied (yi): comments

2009-08-10 Thread Colin McQuillan
2009/8/10 Jean-Philippe Bernardy : > > Mon Aug 10 09:27:09 EDT 2009  jeanphilippe.berna...@gmail.com >  * comments >  Ignore-this: b27fdd78faa94df93f4aa39055e1ec5f > >  Colin: Do you know why the "getRegion" field of Window takes a Buffer > parameter? >  There is only one buffer in the window...

Re: patch applied (yi): comments

2009-08-10 Thread Jean-Philippe Bernardy
On Mon, Aug 10, 2009 at 3:30 PM, Jean-Philippe Bernardy wrote: >  Colin: Do you know why the "getRegion" field of Window takes a Buffer > parameter? >  There is only one buffer in the window... I'm not sure if you introduced this or not; anyway, I lost track of the rationale. Cheers, JP. --~-

patch applied (yi): comments

2009-08-10 Thread Jean-Philippe Bernardy
Mon Aug 10 09:27:09 EDT 2009 jeanphilippe.berna...@gmail.com * comments Ignore-this: b27fdd78faa94df93f4aa39055e1ec5f Colin: Do you know why the "getRegion" field of Window takes a Buffer parameter? There is only one buffer in the window... M ./src/Yi/Window.hs -1 +2 --~--~--

patch applied (yi): introduce separate operation to focus the AST on a region

2009-08-10 Thread Jean-Philippe Bernardy
Mon Aug 10 09:25:34 EDT 2009 jeanphilippe.berna...@gmail.com * introduce separate operation to focus the AST on a region Ignore-this: 42b1251ad5667d61b6ea26f15701 M ./src/Yi/Buffer/Implementation.hs -4 +5 M ./src/Yi/Buffer/Misc.hs -9 +6 M ./src/Yi/Syntax.hs -4 +6 --~--~-

patch applied (yi): support "type instance"

2009-08-10 Thread Jean-Philippe Bernardy
Mon Aug 10 09:25:10 EDT 2009 jeanphilippe.berna...@gmail.com * support "type instance" Ignore-this: 264ac77870908d6637f34fd93071df5 M ./src/Yi/Syntax/Haskell.hs -1 +1 M ./src/Yi/Syntax/Strokes/Haskell.hs -1 +1 --~--~-~--~~~---~--~~ Yi development mail

Re: Issue 284 in yi-editor: Precise haskell mode: Explicit structuring often allow 2 ways to parse comments

2009-08-10 Thread Anders Karlsson
Yes, it should but it also might introduce new bugs. /Anders K On Mon, Aug 10, 2009 at 3:14 PM, Jean-Philippe Bernardy wrote: > > So, using pCBrace ... pEmpty should solve this, right? > > -- JP > > On Mon, Aug 10, 2009 at 3:09 PM, Anders Karlsson wrote: >> >> -- | Parse a Do block >> pDo :: Par

Re: Issue 284 in yi-editor: Precise haskell mode: Explicit structuring often allow 2 ways to parse comments

2009-08-10 Thread Jean-Philippe Bernardy
So, using pCBrace ... pEmpty should solve this, right? -- JP On Mon, Aug 10, 2009 at 3:09 PM, Anders Karlsson wrote: > > -- | Parse a Do block > pDo :: Parser TT (Exp TT) > pDo = Bin <$> pAtom [Reserved Do] >          <*> pBlock (pExpr ((Special ';' : recognizedSometimes) \\ [ReservedOp > LeftAr

Re: yi doesn't run

2009-08-10 Thread Jean-Philippe Bernardy
On Mon, Aug 10, 2009 at 11:57 AM, wrote: > > hey there, > i tried to build yi with dyre 0.7.1 (that's were this behaviour > should've been patched, right?) but i still get that same error message: > > yi: /proc/1857/file: readSymbolicLink: does not exist (No such file or > directory) Thanks aga

Re: Issue 284 in yi-editor: Precise haskell mode: Explicit structuring often allow 2 ways to parse comments

2009-08-10 Thread Anders Karlsson
-- | Parse a Do block pDo :: Parser TT (Exp TT) pDo = Bin <$> pAtom [Reserved Do] <*> pBlock (pExpr ((Special ';' : recognizedSometimes) \\ [ReservedOp LeftArrow])) pBlock :: Parser TT [Exp TT] → Parser TT (Exp TT) pBlock p = pBlockOf' (Block <$> pBlocks' p) <|> pBrace (concat <$

Issue 284 in yi-editor: Precise haskell mode: Explicit structuring often allow 2 ways to parse comments

2009-08-10 Thread codesite-noreply
Comment #1 on issue 284 by JeanPhilippe.bernardy: Precise haskell mode: Explicit structuring often allow 2 ways to parse comments http://code.google.com/p/yi-editor/issues/detail?id=284 What are the two ways in which it can be parsed? -- You received this message because you are listed in the

yi doesn't run

2009-08-10 Thread philipp
hey there, i tried to build yi with dyre 0.7.1 (that's were this behaviour should've been patched, right?) but i still get that same error message: yi: /proc/1857/file: readSymbolicLink: does not exist (No such file or directory) interestingly, the dyre patch seems to fix mac os x issues, but no

Issue 287 in yi-editor: JavaScript.hs breaks haddock

2009-08-10 Thread codesite-noreply
Comment #3 on issue 287 by JeanPhilippe.bernardy: JavaScript.hs breaks haddock http://code.google.com/p/yi-editor/issues/detail?id=287 thanks! -- You received this message because you are listed in the owner or CC fields of this issue, or because you starred this issue. You may adjust your is

Issue 287 in yi-editor: JavaScript.hs breaks haddock

2009-08-10 Thread codesite-noreply
Updates: Status: Fixed Comment #2 on issue 287 by deniz.a.m.dogan: JavaScript.hs breaks haddock http://code.google.com/p/yi-editor/issues/detail?id=287 Fixed. -- You received this message because you are listed in the owner or CC fields of this issue, or because you starred this issue.

patch applied (yi): Fixing doc build error in JS verifier.

2009-08-10 Thread Deniz Dogan
Mon Aug 10 03:18:21 EDT 2009 Deniz Dogan * Fixing doc build error in JS verifier. Ignore-this: 4c311eef2d9866d2449f21458a135c3a M ./src/Yi/Verifier/JavaScript.hs -2 +2 --~--~-~--~~~---~--~~ Yi development mailing list yi-devel@googlegroups.com http://gro

Issue 286 in yi-editor: Yi failed to launch on Mac OS X

2009-08-10 Thread codesite-noreply
Updates: Status: Fixed Comment #4 on issue 286 by JeanPhilippe.bernardy: Yi failed to launch on Mac OS X http://code.google.com/p/yi-editor/issues/detail?id=286 (No comment was entered for this change.) -- You received this message because you are listed in the owner or CC fields of t