Camelia, the Perl 6 bug

IRC log for #padre, 2010-05-02

| Channels | #padre index | Today | | Search | Google Search | Plain-Text | summary

All times shown according to UTC.

Time Nick Message
01:22 Sewi left #padre
01:38 Alias_ joined #padre
01:58 Steffen_ joined #padre
03:51 Sno| joined #padre
04:40 Xaero joined #padre
04:43 Xaero_ joined #padre
04:48 Xaero joined #padre
05:01 kaare joined #padre
05:50 Xaero_ joined #padre
06:44 pece joined #padre
07:50 pece joined #padre
09:36 zenog joined #padre
09:41 Sewi joined #padre
09:51 Sewi joined #padre
10:15 ashgenesis joined #padre
11:15 LeK joined #padre
11:32 zenog joined #padre
13:02 zenog a bit quiet in here these days ...
13:14 Sewi Yeah :-(
13:24 Xaero joined #padre
13:27 zenog I try to find a place in Padre where I could cache the Outline trees, but I do not really grok the way it works :-(
13:30 Xaero_ joined #padre
13:38 szabgab http://szabgab.com/blog/2010/05/1272792637.html
13:42 zenog From what I got until now, I see that every time I switch to a different document, a new outline task is created and run.
13:43 zenog This also happens when I edit the code in a document.
13:45 zenog When I edit the document, the tree is not removed before the new outline is generated.
13:45 zenog However, the trees are not cached when switching to another document.
13:46 zenog #538
13:46 Hyppolit #538: outline view info takes too long to refresh (new defect) [ http://padre.perlide.org/trac/ticket/538#comment:1 ]
13:54 zenog Another, unrelated question: Is there a reason why many methods end with an explicit "return;"?
13:55 zenog I thought that kind of return should be used to return undef/empty list depending on the context; so it wouldn't make sense for a function where everything went fine, and no return values are expected anyway.
13:55 zenog (sorry if this is possibly a stupid question)
14:00 El_Che zenog: Perl Best Practices
14:01 El_Che "a very small price to pay for preictability"
14:01 El_Che in case it doesn't get to the end
14:05 zenog El_Che: Okay, thanks.
14:20 El_Che np
14:58 Sewi joined #padre
15:14 danlucraft joined #padre
16:12 zenog I think I now how to proceed ...
17:11 Sewi joined #padre
18:31 zenog joined #padre
19:13 Hyppolit #816: Lexical variable renaming doesn't support <<"HEREDOCS" (new defect) [ http://padre.perlide.org/trac/ticket/816#comment:1 ]
19:13 Hyppolit #645: Lexically rename variable changes the screen position dramatically (and shouldn't have to) (new defect) [ http://padre.perlide.org/trac/ticket/645#comment:1 ]
19:14 Hyppolit #494: Rename variable options and preview window (new enhancement) [ http://padre.perlide.org/trac/ticket/494#comment:1 ]
19:14 Hyppolit #279: Refactoring support: automatic global-to-lexical conversion (new enhancement) [ http://padre.perlide.org/trac/ticket/279#comment:4 ]
19:15 Hyppolit #901: (wishlist) variable renaming: highlighting, inline-editing (new enhancement) [ http://padre.perlide.org/trac/ticket/901#comment:1 ]
19:19 Hyppolit #937: Variable renaming: No declaration found if variable is declared in parentheses (new defect) [ http://padre.perlide.org/trac/ticket/937 ]
19:40 Steffen_ Hmm. Refactoring goodness.
19:40 Steffen_ And I thought I had tested my code well ;)
19:43 zenog Steffen_: Not so bad. I already _love_ the functionality. Saves lots of boring work, and makes it really easier to rename variables ...
19:44 Steffen_ Glad you find it useful.
19:44 zenog One quick question, is there an easy way to find out the name of the current file? I didn't find the right method in Wx::Main
19:44 Steffen_ I'd love to come up with better tools, but alas, too much other work on my table.
19:44 Steffen_ No idea how, but it must be simple. I haven't touched the code base in a long time, though.
19:45 zenog Ah okay. From Document, it is of course simple, but I haven't seen anything in Main to get the current document.
19:45 Steffen_ Padre::Current->document()
19:45 zenog Will just have a look at other code in Padre, it will be some place. I have the feeling I had seen it already 100 times or so ...
19:46 Steffen_ Or something like that. Cf. Padre::Current
19:46 zenog ahhhh
19:46 zenog Padre::Current->filename
19:46 zenog great!
19:46 Steffen_ synergy ;)
19:47 zenog This was the missing piece for outline caching.
19:47 zenog At least I hope so.
20:04 Hyppolit #541: wrong outline can get displayed for a document (accepted defect) [ http://padre.perlide.org/trac/ticket/541#comment:2 ]
20:24 zenog I get this error from the test suite: "Don't use Padre->ide when ->ide or ->main is possible"
20:24 zenog I have one call to Padre->ide->config
20:24 zenog My object has ->main, but not ->ide
20:25 zenog Is there a way of accessing ->config via ->main ?
20:27 zenog Ah, I can get from main->{ide}, I see ...
20:29 Hyppolit #938: Outline should display methods created by Class::XSAccessor (new enhancement) [ http://padre.perlide.org/trac/ticket/938 ]
20:31 Hyppolit svn: r11399 | zenogantner++ | http://padre.perlide.org/trac/changeset/11399
20:31 Hyppolit added outline caching
20:31 Hyppolit trunk/Padre/ trunk/Padre/lib/Padre/Document/ trunk/Padre/lib/Padre/Task/Outline/ trunk/Padre/lib/Padre/Wx/
20:31 zenog Please test!! Works fine for me, but who knows.
20:32 zenog Also, we might have to (or could) adapt the Perl6 outline code (which I never have looked) to the new Padre::Wx::Outline code.
20:43 zenog Comments are also always welcome.
20:43 zenog e.g. maybe it is not so smart to use the file names as the cache keys, maybe internal IDs are better?
20:49 Hyppolit svn: r11400 | zenogantner++ | http://padre.perlide.org/trac/changeset/11400
20:49 Hyppolit (hopefully) fixed #538
20:49 Hyppolit trunk/Padre/ trunk/Padre/lib/Padre/Task/ trunk/Padre/lib/Padre/Task/Outline/
20:52 Hyppolit #541: wrong outline can get displayed for a document (accepted defect) [ http://padre.perlide.org/trac/ticket/541#comment:3 ]
20:59 zenog ... so ... enough for tonight, I guess ...
21:11 kaare left #padre
21:24 Hyppolit svn: r11401 | zenogantner++ | http://padre.perlide.org/trac/changeset/11401
21:24 Hyppolit fixed one message string; search: message instead of error
21:24 Hyppolit trunk/Padre/lib/Padre/Action/ trunk/Padre/lib/Padre/Wx/
22:28 zenog joined #padre

| Channels | #padre index | Today | | Search | Google Search | Plain-Text | summary