Rev 4666: do I have the number of the scrolling beast?

2011-10-27 Thread Edward K. Ream
Rev 4666 of the trunk appears to fix all unwanted scrolling. Happily, this came about through simplified code. But the work itself was far from simple. Please report any problems immediately. Here is the checkin log: Q The third attempt at a complete scrolling bug fix. Apparently

Re: Import xml file

2011-10-27 Thread Massimiliano della Rovere
Edward, I confirm that the changes work for me too. Thanks again. PS: Please, can you create a new package, so it will be easier and faster to download here at work without doing it via bazaar (it took 12 minutes to download)? On 26 Ott, 18:44, Edward K. Ream edream...@gmail.com wrote: On Wed,

Re: Red rectangle focus = bad with body pane

2011-10-27 Thread Terry Brown
On Thu, 27 Oct 2011 11:53:45 +0300 Ville M. Vainio vivai...@gmail.com wrote: Currently, you get the red rectangle around focused widget. I have just got some code, not pushed yet, to work which in theory can use a single master style sheet for all styling. It uses a QObject property

Re: Red rectangle focus = bad with body pane

2011-10-27 Thread Ville M. Vainio
On Thu, Oct 27, 2011 at 2:38 PM, Terry Brown terry_n_br...@yahoo.com wrote: What do you think of this approach overall? Seems pretty elegant from where I'm looking. On this particular matter, I care more about having the right defaults (optimal out of the box experience), i.e. no need to touch

Re: Red rectangle focus = bad with body pane

2011-10-27 Thread Edward K. Ream
On Thu, Oct 27, 2011 at 6:54 AM, Ville M. Vainio vivai...@gmail.com wrote: What do you think of this approach overall? Seems pretty elegant from where I'm looking. I agree. On this particular matter, I care more about having the right defaults (optimal out of the box experience), i.e. no

Re: Rev 4666: do I have the number of the scrolling beast?

2011-10-27 Thread Edward K. Ream
On Thu, Oct 27, 2011 at 1:11 AM, Edward K. Ream edream...@gmail.com wrote: Rev 4666 of the trunk appears to fix all unwanted scrolling.  Happily, this came about through simplified code.  But the work itself was far from simple. It's time to think about unit tests for this area. Yesterday I

Re: Rev 4666: do I have the number of the scrolling beast?

2011-10-27 Thread Edward K. Ream
On Thu, Oct 27, 2011 at 8:22 AM, Edward K. Ream edream...@gmail.com wrote: Time to see how QTest might help. The PyQt class: http://www.riverbankcomputing.co.uk/static/Docs/PyQt4/html/qtest.html The underlying QTestLib: http://doc.qt.nokia.com/4.7-snapshot/qtestlib-manual.html The PyQt class

Re: Rev 4666: do I have the number of the scrolling beast?

2011-10-27 Thread Edward K. Ream
On Thu, Oct 27, 2011 at 8:33 AM, Edward K. Ream edream...@gmail.com wrote: The PyQt class seems like exactly what is needed.  I'll play with it today. Qt has a QSignalSpy class: http://doc.qt.nokia.com/4.7-snapshot/qsignalspy.html Alas, QSignalSpy does not seem to be part of PyQt. However,

Re: Red rectangle focus = bad with body pane

2011-10-27 Thread Kent Tenney
On Thu, Oct 27, 2011 at 8:09 AM, Edward K. Ream edream...@gmail.com wrote: On Thu, Oct 27, 2011 at 6:54 AM, Ville M. Vainio vivai...@gmail.com wrote: What do you think of this approach overall? Seems pretty elegant from where I'm looking. I agree. On this particular matter, I care more

Re: Rev 4666: do I have the number of the scrolling beast?

2011-10-27 Thread Edward K. Ream
On Thu, Oct 27, 2011 at 8:49 AM, Edward K. Ream edream...@gmail.com wrote: It will be instructive to compare such traces with those already provided in Leo's eventFilter method. The monkey-patching way is not working at present: I'm doubting that QObject emit exists as a patchable object: it's

Re: Terry, I think you are right about style sheets

2011-10-27 Thread Edward K. Ream
On Wed, Oct 26, 2011 at 8:47 PM, Terry Brown terry_n_br...@yahoo.com wrote: Sometimes developing is just stupidly frustrating. Just sometimes? You are doing very well :-) My brother calls it slow but slow. I like that phrase... Edward -- You received this message because you are

Re: BZR memory

2011-10-27 Thread Edward K. Ream
On Sun, Oct 23, 2011 at 2:12 PM, Ville M. Vainio vivai...@gmail.com wrote: Perhaps this helps: http://stackoverflow.com/questions/2262203/delete-file-history-with-bazaar Thanks for this link. Neither of the ways discussed seems really adequate. Can't we do something easier, like deleting

Re: idea about @first directive

2011-10-27 Thread Edward K. Ream
On Fri, Oct 21, 2011 at 10:31 PM, IaMaPlAyEr iamapla...@gmail.com wrote: Why @first directive_ only at the start of the body text of @file nodes.? Because that's the logical place for it. I don't think having to put @language matlab after @first directives is a big deal. Edward -- You

Re: idea about @first directive

2011-10-27 Thread Edward K. Ream
On Thu, Oct 27, 2011 at 12:40 PM, Edward K. Ream edream...@gmail.com wrote: I don't think having to put @language matlab after @first directives is a big deal. Feel free, however, to submit a wish-list bug if this is a serious issue for you. Edward -- You received this message because you

Re: Revised home page now up

2011-10-27 Thread Edward K. Ream
On Oct 20, 1:27 pm, Edward K. Ream edream...@gmail.com wrote: On Wed, Oct 19, 2011 at 2:14 PM, Terry Brown terry_n_br...@yahoo.com wrote: Looks good, how about a link Search, leading to http://webpages.charter.net/edreamleo/genindex.htmlor some other page where there's a search box. Good

Re: Revised home page now up

2011-10-27 Thread Edward K. Ream
On Oct 20, 4:28 pm, Alec Burgess bura...@gmail.com wrote: AFAICT - once you get below the homepage there is no way to get back to thehomepage. Clicking the[ Lion] gets to the TOC. Maybe a link on the TOC identified as [Home] back tohttp://webpages.charter.net/edreamleo/? Good idea. It's

Re: @session fun

2011-10-27 Thread Edward K. Ream
On Thu, Oct 20, 2011 at 3:13 PM, ilkosta costantino.giuliod...@gmail.com wrote: This is the recommended way to have Leo load multiple files.  Why is not good enough? In my workbook.leo I use a button that pickle the session in the unknownAttribute of a time-node child of a day-node, where I

Re: ImportError: No module named leo.core.runLeo

2011-10-27 Thread Edward K. Ream
On Thu, Jul 14, 2011 at 5:17 PM, Michael D. c.michael.doff...@gmail.com wrote: Hi Edward, Thanks for the help. Your advice moved the needle, but now I'm getting this: [snip] Are you still having problems? If so have, you tried one of the daily builds? Edward -- You received this message

Re: UI question, and a character set bug

2011-10-27 Thread Edward K. Ream
On Sat, Jul 16, 2011 at 9:06 AM, IaMaPlAyEr iamapla...@gmail.com wrote: By accident, I type some Character in the body pane, and press ctrl+b(execute the scripts), than I find the strange character appeared at the log pane just as the previous bug. This is an ancient thread. There have been

Re: BZR memory

2011-10-27 Thread Ville M. Vainio
This is the delete file entirely approach: Use bzr-fastimport plugin to export your history as fast-import stream with bzr fast-export command. Then filter out big files with bzr fast-import-filter -x FILE command. And in the end re-create new branch without big files with bzr fast-import

Re: Outline Pane Node-Selection Foreground Color

2011-10-27 Thread SegundoBob
On Oct 26, 5:32 am, Edward K. Ream edream...@gmail.com wrote: Rev 4637 rewrote qtBody.setEditorColors using my new understanding of Qt stylesheets.  That is, the new, working, code sets both foreground and background colors using a single call to obj.setStyleSheet. My first post in this

Re: viewrendered - file not found

2011-10-27 Thread Edward K. Ream
On Tue, Sep 6, 2011 at 6:46 AM, lewis lewisn...@operamail.com wrote: Edward, While I was running leo build 4449 it found the files and worked fine using the simple @movie Creo.wmv     N:\Home\PTC_Creo\Creo.wmv. No fiddly {{g.app.loadDir}} required! If I run build 4451 the problem

Re: BZR memory

2011-10-27 Thread Edward K. Ream
On Thu, Oct 27, 2011 at 1:21 PM, Ville M. Vainio vivai...@gmail.com wrote: This is the delete file entirely approach:  Use bzr-fastimport plugin to export your history as fast-import stream with bzr fast-export command. Then filter out big files with bzr fast-import-filter -x FILE command.

Re: @auto and inline declarations

2011-10-27 Thread Edward K. Ream
On Tue, Oct 11, 2011 at 11:29 AM, Kent Tenney kten...@gmail.com wrote: Is there a command to clear cache for a file? alt-xclear-tab EKR -- You received this message because you are subscribed to the Google Groups leo-editor group. To post to this group, send email to

Re: OT: pycallgraph

2011-10-27 Thread Edward K. Ream
On Tue, Oct 11, 2011 at 3:21 PM, Terry Brown terry_n_br...@yahoo.com wrote: While trying to follow Leo's auto completion I tried out `pycallgraph`. http://pycallgraph.slowchop.com/ It's output for 'leoKeys' is attached - it made startup very slow, but it was informative to look at. Yes.

Where are we on the dynamic Leo home page project?

2011-10-27 Thread Edward K. Ream
Awhile back there was a flurry of posts about adding content dynamically to Leo's home page. Any conclusions? Any code? Edward -- You received this message because you are subscribed to the Google Groups leo-editor group. To post to this group, send email to leo-editor@googlegroups.com. To

Re: @session fun

2011-10-27 Thread Kent Tenney
I don't know if this code is of any use, it's working ok for me. Below is the code I'm calling from buttons. When I rclick on the session button, my choices are save, load, clear, refresh, snapshot-save, snapshot-load get_session: create a node describing the current state After the node is

Re: Save tabs button.

2011-10-27 Thread Edward K. Ream
On Tue, Oct 18, 2011 at 7:36 AM, Edward K. Ream edream...@gmail.com wrote: g.openWithFileName is the heart of Leo's code that opens files and switches from one commander to another. Executing g.openWithFileName from an @script node, that is, while *another* .leo file is in the process of

Re: @auto and inline declarations

2011-10-27 Thread Edward K. Ream
On Thu, Oct 27, 2011 at 2:52 PM, Kent Tenney kten...@gmail.com wrote: It's starting to sink in, completion is the first line of help. Yes! Also alt-xprint-tab and alt-xapropos-tab. I was struck by Tim O'Reilly's observation that an important distinguishing feature of Unix was the man

Re: Where are we on the dynamic Leo home page project?

2011-10-27 Thread Terry Brown
On Thu, 27 Oct 2011 12:41:01 -0700 (PDT) Edward K. Ream edream...@gmail.com wrote: Awhile back there was a flurry of posts about adding content dynamically to Leo's home page. Any conclusions? Any code? Code from Jeff: From: Jeff Aigner enumerat...@gmail.com Date: Wed, 12 Oct 2011

Re: @auto and inline declarations

2011-10-27 Thread Kent Tenney
On Thu, Oct 27, 2011 at 2:55 PM, Edward K. Ream edream...@gmail.com wrote: On Thu, Oct 27, 2011 at 2:52 PM, Kent Tenney kten...@gmail.com wrote: It's starting to sink in, completion is the first line of help. Yes!  Also alt-xprint-tab  and alt-xapropos-tab. I was struck by Tim O'Reilly's

Re: Red rectangle focus = bad with body pane

2011-10-27 Thread SegundoBob
On Oct 27, 6:09 am, Edward K. Ream edream...@gmail.com wrote: On Thu, Oct 27, 2011 at 6:54 AM, Ville M. Vainio vivai...@gmail.com wrote: I suppose we shall have to discuss what we think the right defaults are--it's a rare case of having to discuss preferences. I vote for consistency: red

Re: Red rectangle focus = bad with body pane

2011-10-27 Thread Edward K. Ream
On Thu, Oct 27, 2011 at 4:30 PM, SegundoBob bhoss...@ieee.org wrote: By the way, in Rev 4668, there is still never a red border on the Find Tab and Nav Tab, even when they have the focus.  Is this a bug? Yes and no. Yes, it's a bug in the sense that there should be consistency. I agree with

Re: idea about @first directive

2011-10-27 Thread IaMaPlAyEr
Thanks for your reply. sure, it's not a big deal;) wish list? i forget it...maybe the word wish list should appeared at leo's doc for those who donot familiar the work flow of Leo. 在 2011-10-28 上午1:40,Edward K. Ream edream...@gmail.com写道: On Fri, Oct 21, 2011 at 10:31 PM, IaMaPlAyEr

Re: idea about @first directive

2011-10-27 Thread Edward K. Ream
On Thu, Oct 27, 2011 at 7:17 PM, IaMaPlAyEr iamapla...@gmail.com wrote: wish list? i forget it...maybe the word wish list should appeared at leo's doc for those who donot familiar the work flow of Leo. In this case, it's a technical term: a designation of a kind of bug at Leo's bug site:

Re: @auto and inline declarations

2011-10-27 Thread Edward K. Ream
On Thu, Oct 27, 2011 at 6:23 PM, Kent Tenney kten...@gmail.com wrote: Right, and Tim's point was that Unix thrived in great part because man pages provided a standard tool to address exploding capability and complexity. The iPhone parallel doesn't become valid until the gui era. But we are

Re: @session fun

2011-10-27 Thread Edward K. Ream
On Thu, Oct 27, 2011 at 2:42 PM, Kent Tenney kten...@gmail.com wrote: I don't know if this code is of any use, it's working ok for me. Below is the code I'm calling from buttons. When I rclick on the session button, my choices are save, load, clear, refresh, snapshot-save, snapshot-load

Re: Where are we on the dynamic Leo home page project?

2011-10-27 Thread Terry Brown
On Thu, 27 Oct 2011 17:48:39 -0500 Edward K. Ream edream...@gmail.com wrote: http://greynode.org/test.html I don't understand what I am supposed to be seeing. Care to explain? Do view source on that page. Paste source into template for Leo home page. Add CSS to taste. :-) Cheers

Re: Outline Pane Node-Selection Foreground Color

2011-10-27 Thread Edward K. Ream
On Thu, Oct 27, 2011 at 1:44 PM, SegundoBob bhoss...@ieee.org wrote: My first post in this thread notes that I used Rev 4659.  I just pulled the latest Rev 4668.  To the best of my knowledge, the problem was not affected by the changes you made in Rev 4637.  That is, the problem exists on Rev

Re: Where are we on the dynamic Leo home page project?

2011-10-27 Thread Edward K. Ream
On Thu, Oct 27, 2011 at 7:54 PM, Terry Brown terry_n_br...@yahoo.com wrote: Do view source on that page.  Paste source into template for Leo home page.  Add CSS to taste.  :-) Oh! Here is the entire page source, reformatted for clarity, though extra newlines probably break it:: script

Re: Where are we on the dynamic Leo home page project?

2011-10-27 Thread Edward K. Ream
On Thu, Oct 27, 2011 at 8:10 PM, Edward K. Ream edream...@gmail.com wrote: Oh! Is the src attribute all that is needed? To answer my own question, yes it is. It uses the Feed to JavaScript service. http://feed2js.org/ Amazing. I'll put this into Leo's home page tonight, on an experimental

Re: Where are we on the dynamic Leo home page project?

2011-10-27 Thread Edward K. Ream
On Oct 27, 10:37 pm, Edward K. Ream edream...@gmail.com wrote: Amazing.  I'll put this into Leo's home page tonight, on an experimental basis... Hah! I just came here from the rss feed on Leo's home page!! Obviously, a little bit of graphic design would help, but this is way cool. Anyone