Camelia, the Perl 6 bug

IRC log for #padre, 2011-03-22

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

All times shown according to UTC.

Time Nick Message
00:30 bvierra|l left #padre
00:30 bvierra|l_ joined #padre
00:30 droidica joined #padre
00:34 katodroid left #padre
00:46 katodroid joined #padre
00:51 droidica left #padre
01:03 bowtie left #padre
01:29 Di-ima left #padre
01:40 Di-ima joined #padre
01:59 bvierra|l_ left #padre
02:15 Hyppolit svn: r14150 | adamk++ | http://padre.perlide.org/trac/changeset/14150
02:15 Hyppolit The Preferences 2.0 dialog now saves (via config ->apply) cancels, and switches to Advanced... properly.
02:15 Hyppolit
02:15 Hyppolit There are a lot of preferences that are not correctly applied to the IDE immediately yet, but these should be fixed by adding config ->apply hooks for them, rather than hardwiring the update logic into just the Preferences dialog.
02:15 Hyppolit
02:15 Hyppolit (This move to using Config ->apply is needed to support config sync)
02:15 Hyppolit trunk/Padre/fbp/ trunk/Padre/lib/Padre/Wx/ trunk/Padre/lib/Padre/Wx/Dialog/ trunk/Padre/lib/Padre/Wx/FBP/
02:15 Alias_ joined #padre
02:15 Alias_ Righto
02:15 Alias_ Preferences 2.0 is mostly landed now
02:16 Alias_ The old syntax highlight settings stuff needs to be moved, and there's no preview editor panel on the look and field page, but it does actually load and save configuration settings now
02:18 Alias_ Also, changes to the config don't get applied immediately to Padre. Or at least, only those changes with ->apply hooks in the config settings are applied immediately
02:23 Hyppolit svn: r14151 | adamk++ | http://padre.perlide.org/trac/changeset/14151
02:23 Hyppolit - No longer need a different editor class for the Preferences dialog (ADAMK)
02:23 Hyppolit trunk/Padre/ trunk/Padre/lib/Padre/Wx/ trunk/Padre/lib/Padre/Wx/Dialog/ trunk/Padre/lib/Padre/Wx/Dialog/Preferences/
02:38 Hyppolit svn: r14152 | adamk++ | http://padre.perlide.org/trac/changeset/14152
02:38 Hyppolit Fixing miscellaneous badcode/etc issues now this code is considered sane
02:38 Hyppolit trunk/Padre/lib/Padre/Wx/ trunk/Padre/lib/Padre/Wx/Dialog/ trunk/Padre/t/
02:39 asarch joined #padre
02:46 Hyppolit svn: r14153 | adamk++ | http://padre.perlide.org/trac/changeset/14153
02:46 Hyppolit More little badcode fixes
02:46 Hyppolit trunk/Padre/lib/Padre/ trunk/Padre/lib/Padre/Wx/
02:48 Hyppolit svn: r14154 | adamk++ | http://padre.perlide.org/trac/changeset/14154
02:48 Hyppolit Making a note of an encapsulation violation in the PluginManager
02:48 Hyppolit trunk/Padre/lib/Padre/
04:00 jazzanova joined #padre
04:01 jazzanova left #padre
04:02 jazzanova joined #padre
04:12 |Sno| joined #padre
04:13 katodroid left #padre
04:16 Sno| left #padre
05:10 jnap joined #padre
05:10 jnap left #padre
05:37 bvierra|l joined #padre
05:47 pece joined #padre
06:03 fenderson hi gm
06:06 toi joined #padre
06:29 Sewi joined #padre
06:34 kaare joined #padre
06:44 pece left #padre
07:05 Alias_ left #padre
07:10 asarch left #padre
07:58 danlucraft joined #padre
07:58 marcela joined #padre
08:09 mj41 joined #padre
08:16 marcela left #padre
08:31 marcela joined #padre
08:40 szabgab Can't locate object method "ide" via package "Padre::PluginManager" at /home/gabor/work/Padre/lib/Padre/PluginManager.pm line 635.
08:40 szabgab is it only me getting the above on trunk ? (when trying to launch Padre)
08:47 Sewi updating..
08:48 Sewi confirmed
08:51 Sewi fixing...
08:54 Hyppolit svn: r14155 | Sewi++ | http://padre.perlide.org/trac/changeset/14155
08:54 Hyppolit Fixed error introduced in r16153
08:54 Hyppolit trunk/Padre/lib/Padre/
08:54 Sewi szabgab: Please svn up and try again
08:58 szabgab Sewi++
08:58 El_Che morning
08:58 Sewi hi El_Che
08:58 El_Che Sewi: how is your head? :)
08:58 szabgab thanks Sewi , hi El_Che
08:59 Sewi szabgab: mj41 discovered another bug in the pluginmanager yesterday, I'll look at it later today if noone else does. He opened a ticket for it.
08:59 Sewi El_Che: Thanks, a bit better :)
09:00 szabgab yeah I saw something in the backlog but now, after a week with fever, I am finally at work again so I need to do that
09:00 szabgab a bit
09:01 Sewi pluginmanager and pluginhandle both have enable methods. I removed the one from pluginmanager because I didn't find anything using it and it wasn't doing all the stuff needed for plugin enabling.
09:04 El_Che Sewi: we should think on how to integrate plugins with the preferences2
09:04 szabgab Sewi: btw I like your future proof commit log :)
09:04 El_Che I would love to see a treebranch on the dialog for plugins
09:04 Sewi future proof commit log?
09:04 szabgab Sewi fixed an error in 14155 that is introduced in 16153
09:04 Sewi oh, I meant 14... sorry :)
09:05 szabgab :)
09:05 El_Che creating the treebranches an preferences is easy, but we need to decide what can go there and whant can't
09:05 Sewi Yeah, Padre is great, we're fixing bugs before they appear :)
10:25 fenderson Sewi, hi
10:26 fenderson i'm trying to search how do i open a pop up window
10:26 fenderson in wx
10:26 droidica joined #padre
10:26 Sewi Hi fenderson
10:26 Sewi What should the popup do? Most types of popups are wrapped in Padre::Wx::Main
10:26 fenderson hi
10:26 fenderson i did the before_save
10:27 fenderson but
10:27 fenderson the actions should be entered somewhere no?
10:27 fenderson or i dont get how it works
10:28 Sewi Please do svn diff and append the output to a ticket.
10:33 fenderson Sewi, wait 1question
10:33 fenderson what kind of actions can i do before save?
10:33 fenderson changing text?
10:33 fenderson adding a sub
10:33 fenderson what kind of action. i'm doing a sub for the before_save
10:35 Sewi You could do everything a Perl sub { } could do.
10:35 fenderson i tell you what i've done
10:36 fenderson use Perl::Tidy::perltidy(postfilter => $postaction);
10:36 fenderson and i added a button
10:37 fenderson with the Wx::gettext(Before_Save_Tidy) => sub Before_Save,
10:38 fenderson now i know i have to fill the postaction scallar with the before save action
10:38 fenderson but you have lots of actions, thats why i dont know how to do the sub
10:41 Alias Sewi: The difference between plugin manager and plugin handle is that the plugin manager is the main interface, and the plugin handle is a hidden interface which provides a safety wrapper around the plugin objects, so the plugin manager doesn't have to do a ton of work to protect itself against plugin objects crashing etc
10:42 Alias So nothing outside the plugin manager should really be touching the plugin handle at all
10:42 Alias Hence the need for separate methods
10:42 Sewi If the pluginmanager would call the pluginhandle method, everything should be fine (I think).
10:42 Alias right
10:42 Sewi The old one didn't do.
10:43 Alias That's not really my fault, I think someone "refactored" it away into some plugin_event system
10:43 Alias The reason for the isolation was so that the code in plugin manager was actually understandable :)
10:43 Alias And wouldn't suck to maintain
10:43 Alias Because it would read fairly straight forward
10:43 Alias That's slowly going away
10:43 Sewi I didn't think it was your fault :)
10:44 Alias sigh rain
10:44 Alias No skating for me tonight
10:44 Alias I think I'm starting to actually appreciate exercise
10:44 Alias God forbid
10:44 Alias Or maybe it's just that I associate it with being around spunky chicks in hotpants on skates
10:45 Alias I think I'm going to go get an icecream in the rain, and then run on the treadmill listening to The Economist podcast for a bit
10:45 fenderson Sewi, ..
10:46 Alias El_Che: It's more annoying than you might think to add tree elements atm
10:46 Alias Because of the way that it's generated... wxFormBuilder doesn't support treebooks, only listbooks
10:46 Alias But we can get to that later
10:49 El_Che Alias: we need to recreate the all tree instead of appending a branch?
10:52 Sewi fenderson: please attach your current version to a ticket, otherwise I don't know what we're talking about
10:57 bowtie joined #padre
10:57 Alias El_Che: The formbuilder code can only produce ->AddPage, not ->AddSubPage
10:58 Alias oh wait
10:58 Alias plugins wouldn't use formbuilder, would they
10:58 Alias So we'd be ok, I guess
10:59 fenderson Sewi, can you send me the ticket i'll add the file to?
10:59 Sewi fenderson: Create a new one, there is none for it.
11:05 Hyppolit #1183: Before_save_tidy (new task) [ http://padre.perlide.org/trac/ticket/1183 ]
11:06 fenderson Sewi, there you go
11:07 Sewi Strage, trac shows your diff as a complete pm file
11:08 Sewi fenderson: Please check the file you uploaded, I don't see any padre_hooks method in there
11:09 fenderson Sewi, i added a button
11:09 fenderson thats not what you wanted?
11:15 user_6252 joined #padre
11:15 user_6252 left #padre
11:16 Sewi What do you want it to do?
11:17 fenderson i want a button "before_save_action"
11:17 fenderson and i want a pop up when you press on it
11:17 fenderson and in the pop up you can write the action you want
11:18 Sewi You may use main->error for that.
11:18 Sewi But I don't get the reason why you did a menu option or want a popup...
11:18 fenderson Sewi, what did you want to be like?
11:19 fenderson if i'll get your vision maybe i'll can change it like you would expect it to be
11:21 Sewi fenderson: The idea was: You click on file->save and just before the file is written to disk, tidy runs over it like it does when you click "tidy active document" manually.
11:23 fenderson ohh so the user doesnt enter any action
11:23 fenderson the action is the tidy active document
11:23 fenderson Sewi, thats what you meant?
11:27 Sewi It's "auto tidy on safe" - all the user has to to is saving the file
11:28 fenderson ok so i'll change it
11:28 fenderson its easier that way
11:42 jazzanova left #padre
11:42 Sewi szabgab, waxhead: "trunk" is no longer on the trac ticket version list, is this supposed to be?
11:43 Hyppolit #1184: Perl help browser supresses linebreaks (new defect) [ http://padre.perlide.org/trac/ticket/1184 ]
11:44 szabgab Sewi: I removed it
11:44 szabgab since we decided that we have a version number on the trunk I think it will be clearer to use that number
11:45 szabgab earlier we could not state that
11:45 szabgab so now if you have an issue on trunk it is 0.85 or later 0.87
11:46 asarch joined #padre
11:47 szabgab Sewi: btw I think the tidy_on_save should probably also update the content of the editor so the user will see the already tidied document
11:47 Sewi szabgab: It does automatically.
11:47 szabgab ok
11:48 szabgab oh, right the standard tidy thing in the plugin does that
11:48 Sewi szabgab: It should|will be using the same function like tools -> tidy -> active document - which updates the editor buffer.
11:49 Hyppolit svn: r14156 | Sewi++ | http://padre.perlide.org/trac/changeset/14156
11:49 Hyppolit temp file for testing, will be removed shortly
11:49 Hyppolit trunk/Padre/
11:50 szabgab yeah, though maybe the feedback should be on the status bar and not in the output window
11:50 szabgab it is just too big
11:51 Sewi szabgab: I don't think that we need the output window at all for tiding as long as there are no messages.
11:51 Sewi But we might want to ignore any tidy errors, otherwise you're forced to make your code syntax error free before saving - not good.
11:52 Sewi It would prevent in-between saving while editing just to keep a file save in case of a crash
12:01 Sewi anybody alive?
12:01 fenderson ?
12:02 Sewi File->delete doesn't show Yes/No buttons here, could anybody confirm this?
12:02 Sewi They were alive just a few minutes ago
12:02 Sewi (I think)
12:03 fenderson lol let me check it
12:03 fenderson Sewi, i dont see delete button
12:04 Sewi in the file menu just below the close items
12:05 fenderson there is a reload
12:05 Sewi It seems to be working when starting dev without -a
12:06 fenderson i have "NEW" "NEW" "OPEN" "OPEN" "CLOSE" "CLOSE" "RELOD"
12:06 Sewi fenderson: running from current trunk r14154?
12:06 Hyppolit Changeset #14154 http://padre.perlide.org/trac/changeset/14154
12:06 fenderson after that 4 SAVE buttons
12:06 fenderson and 2 SESSION buttons
12:06 fenderson 4136
12:07 fenderson 14136 revision
12:07 Sewi might be too ols
12:07 fenderson its new?
12:07 fenderson ok i update
12:07 Sewi old
12:08 fenderson ols?
12:08 fenderson old?
12:08 fenderson ok now my revision is 14156
12:08 fenderson ok i see the delete
12:09 fenderson 1sec
12:09 fenderson i have to get in the mibbit i want to paste something to you
12:10 fendersonX joined #padre
12:10 fendersonX http://mibpaste.com/znVGBp thats the error
12:10 fendersonX he couldnt call can_delete
12:10 fendersonX method
12:10 Sewi Do you have any file open?
12:10 fendersonX no
12:10 fendersonX it shut down
12:10 fendersonX the padre
12:11 Sewi Did you have any file open while trying?
12:11 fendersonX and if i open a file
12:11 fendersonX it do ask me
12:11 fendersonX does*
12:11 fendersonX Do you really want to close and delete /home/azornik/Desktop/trash from disk?
12:11 Sewi Do you have yes/no buttons there or just a "OK" button?
12:12 fendersonX yes
12:12 fendersonX "YES" "NO"
12:12 Sewi ok, thx
12:12 fendersonX maybe its the revision?
12:13 Sewi No, ssems to be a plugin which doesn't do what it should. But it's a strange behaviour anyway
12:14 Hyppolit svn: r14157 | Sewi++ | http://padre.perlide.org/trac/changeset/14157
12:14 Hyppolit test done - everything is working now
12:14 Hyppolit trunk/Padre/
12:14 fendersonX we have the same OS and same perl
12:14 fendersonX version
12:14 fendersonX OS ubuntu 10.10 perl 5.10
12:14 fendersonX right?
12:16 Hyppolit svn: r14158 | Sewi++ | http://padre.perlide.org/trac/changeset/14158
12:16 Hyppolit Update the SVN plugin to use the after_delete Padre hook
12:16 Hyppolit trunk/Padre-Plugin-SVN/ trunk/Padre-Plugin-SVN/lib/Padre/Plugin/
12:16 Sewi Everything is ok now.
12:17 fendersonX ok
12:18 danlucraft left #padre
12:18 danlucraft joined #padre
12:21 Hyppolit #1181: web site mod (new enhancement) [ http://padre.perlide.org/t​rac/ticket/1181#comment:3 ]
12:37 Sewi fenderson: r14158 made something similar like what you're doing on the SVN plugin
12:37 Hyppolit Changeset #14158 http://padre.perlide.org/trac/changeset/14158
12:40 mj41 left #padre
12:55 mj41 joined #padre
12:56 mj41 Hi. What is name of ctrl+left_click feture?
12:56 mj41 feature
13:01 toi left #padre
13:01 toi joined #padre
13:02 Sewi mj41: Don't know, but it lives in Document/Perl.pm on_click or on_mouse_up
13:06 mj41 Sewi: Ok. Thinking about refactoring it a bit. I would like to have smart behavior for 'MyPackage:SubPackage->methodname(' and MyPackage:SubPackage::methodname( ... to open file on methodname definition.
13:07 Sewi mj41: good idea, but remember that package->method and package::method are rarely used.
13:07 mj41 And 'goto line' for already openen files.
13:07 Sewi It's more usual to do $object = package->new; $object->method
13:08 mj41 Hmm. $self->method is simple :-).
13:10 mj41 And probably broken now, because $self->outline_data ( in Document::Perl::get_sub_line_number) is empty.
13:11 ispy_ joined #padre
13:21 ispy_ left #padre
13:31 bowtie left #padre
13:31 bowtie joined #padre
13:33 fendersonX left #padre
13:40 jnap joined #padre
13:52 szabgab mj41: I think the name is something like code navigation
13:56 toi left #padre
13:58 mj41 SourceNavigation ... http://padre.perlide.org/trac/query?statu​s=!closed&component=Source+Navigation
14:05 mj41 I found Padre::Wx::Outline::task_finish and $task->{data} ... but can't find how is it related to Padre::Document::Perl::get_sub_line_number $self->outline_data
14:08 droidica left #padre
14:20 ok22 left #padre
14:26 toi joined #padre
14:28 szabgab mj41: all the features should be (and will be) described in http://padre.perlide.org/trac/wiki/Features
14:28 szabgab and help would be appreciated in naming the features and explaining them with nice screenshots as well
14:32 ok22 joined #padre
14:42 asarch left #padre
14:42 ispy_ joined #padre
14:44 kaare left #padre
14:45 toi left #padre
14:46 toi joined #padre
14:47 fenderson Sewi, are you here?
14:48 mj41 left #padre
14:48 Sewi fenderson: I think I am
14:50 fenderson great
14:51 fenderson i dont get 1 thing
14:51 fenderson i saw that link yo wrote
14:51 fenderson why should it be hooks?
14:51 fenderson you want that when i press a button
14:51 fenderson it will be like i pressed the "tidy the active.." and than save
14:52 Sewi No.
14:52 fenderson right?
14:53 Sewi The user request was: "Tidy the active document whenever the Padre save function is being used."
14:53 dapatrick joined #padre
14:53 Sewi This is why I added the hooks - even if they're also used at svn now
14:54 fenderson Sewi, i think that i said the save thing, so if i didnt, it will be great if you explain it in other way
14:55 Sewi Open Padre, open any perl file.
14:55 fenderson 1sec
14:55 Sewi Now click on the "File" menu and then click on "save".
14:55 fenderson done
14:55 fenderson done
14:55 fenderson you want it to active ""Tidy the active document" and than save
14:55 Sewi You're done, this all the user (who did the request) wants do do.
14:55 fenderson when you press the save button
14:57 Sewi It doesn't matter what actually made Padre save a file. The rule is: If the tidy plugin is active, run "tidy active document" automatically without user action whenever a file is being saved.
14:57 fenderson Sewi, if i'm the user
14:57 Sewi For example, the svn plugin also could save a file (it does this if you try to commit an unsaved file) and I could think of a Padre feature "auto-save all changed files every X minutes"
14:58 fenderson i'm pressing the Save button
14:58 fenderson i see it saving the file, and actually it activates tidy active document and than save
14:58 Sewi yes
14:58 fenderson so the only thing i should do
14:59 fenderson and its simple as this
14:59 Sewi yes
14:59 fenderson is right a line that activates the "Tidy the active document" each time i save
14:59 Sewi yes.
14:59 fenderson if a save button is pressed active "Tidy the active document" before saving
14:59 fenderson its 1line...
14:59 fenderson XD
15:00 fenderson if i had understand you earlier, yesterday it was finished half hour after you said it
15:00 fenderson even 15min
15:07 Sewi The hooks enable plugins to add such actions on every save, delete or maybe others in the future
15:09 rindolf joined #padre
15:12 mj41 joined #padre
15:19 Hyppolit #307: Ctrl-Left mouse jumps to  definition (new enhancement) [ http://padre.perlide.org/trac/ticket/307#comment:7 ]
15:20 kaare joined #padre
15:29 mj41 Deprecated method get_project_rcs() in Padre::Util is crashing. Can't locate object method "from_root" via package "Padre::ProjectManager" at /home/mj/padre-src/Padre/lib/Padre/Util.pm line 475. ... used in Padre::Plugin::Git
15:31 toi left #padre
15:38 marcela left #padre
15:41 mj41 Sewi: What is Padre commit bit policy? :-)
15:42 Sewi It's becoming more strict these days. You should talk to szabgab, but usually you should submit some patches via trac tickets first.
15:44 mj41 Ok. Pugs times are gone :-).
15:44 Sewi pugs?
15:46 mj41 http://en.wikipedia.org/wiki/Pugs
15:47 mj41 and search for "pugs" on http://jacobian.org/writing/commit-bits/
15:49 El_Che hehe, an argument of authority as rethorians say :)
16:18 Hyppolit #1185: Ctrl-Left mouse click open new empty file sometime (new defect) [ http://padre.perlide.org/trac/ticket/1185 ]
16:19 Sewi szabgab: Could you teach Hyppolit to also drop a notice if a patch has been added to a ticket?
16:22 fenderson left #padre
16:26 fenderson joined #padre
16:37 ok22 left #padre
16:51 fenderson left #padre
16:53 fenderson joined #padre
16:56 pece joined #padre
17:01 jnap left #padre
17:24 mj41 left #padre
17:27 fenderson left #padre
17:28 fenderson joined #padre
17:43 danlucraft left #padre
17:46 dodathome joined #padre
17:47 danlucraft joined #padre
18:05 fenderson left #padre
18:08 fenderson joined #padre
18:19 fenderson left #padre
18:21 fenderson joined #padre
18:31 Hyppolit #1186: Before_save_tidy added (new task) [ http://padre.perlide.org/trac/ticket/1186 ]
18:32 Sewi fenderson: please do the following:
18:33 Sewi run "svn diff >ticket1186.diff" and attack ticket1186.diff to the ticket
18:33 Sewi Noone know what you changed otherwise :(
18:35 fenderson left #padre
18:37 toi joined #padre
18:38 Hyppolit #1186: Before_save_tidy added (new task) [ http://padre.perlide.org/t​rac/ticket/1186#comment:1 ]
18:41 mj41 joined #padre
18:42 fenderson joined #padre
18:42 fenderson Sewi, waiting for comment
18:42 Sewi (19:33:34) Sewi: fenderson: please do the following:
18:42 Sewi (19:33:52) Sewi: run "svn diff >ticket1186.diff" and attack ticket1186.diff to the ticket
18:42 Sewi (19:34:07) Sewi: Noone know what you changed otherwise :(
19:06 fenderson left #padre
19:08 fenderson joined #padre
19:17 bvierra|l left #padre
19:26 ok22 joined #padre
19:27 mj41 left #padre
19:30 Sewi (19:43:30) Sewi: (19:33:34) Sewi: fenderson: please do the following:
19:30 Sewi (19:43:30) Sewi: (19:33:52) Sewi: run "svn diff >ticket1186.diff" and attack ticket1186.diff to the ticket
19:30 Sewi (19:43:30) Sewi: (19:34:07) Sewi: Noone know what you changed otherwise :(
19:31 bowtie left #padre
19:39 bvierra|l joined #padre
20:04 fenderson left #padre
20:09 fenderson joined #padre
20:12 Di-ima left #padre
20:13 Di-ima joined #padre
20:17 jnap joined #padre
20:18 toi left #padre
20:21 dodathome left #padre
20:24 Sewi left #padre
20:24 Sewi joined #padre
20:28 mj41 joined #padre
20:30 Sewi left #padre
20:31 jnap left #padre
20:31 jnap joined #padre
20:32 jnap left #padre
20:51 pece left #padre
20:57 dapatrick left #padre
21:01 danlucraft left #padre
21:02 danlucraft joined #padre
21:03 mj41 left #padre
21:04 danlucraft left #padre
21:21 bowtie joined #padre
21:23 El_Che left #padre
21:40 El_Che joined #padre
21:47 asarch joined #padre
21:47 fenderson forgot to tell you i did it..
22:17 kaare left #padre
22:23 ispy_ left #padre
22:34 rindolf left #padre
22:42 jnap joined #padre
22:59 asarch left #padre
23:14 Alias_ joined #padre
23:55 bowtie left #padre

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