Camelia, the Perl 6 bug

IRC log for #padre, 2009-10-18

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

All times shown according to UTC.

Time Nick Message
00:15 CSJewell joined #padre
00:17 patspam joined #padre
00:25 Alias joined #padre
00:36 CSJewell_ joined #padre
00:36 code4pay joined #padre
00:45 CSJewell_ joined #padre
04:07 krisguy joined #padre
05:34 MMSH joined #padre
06:04 Alias joined #padre
06:39 kaare joined #padre
07:06 JRW joined #padre
07:14 JRWeiss joined #padre
08:56 charsbar_ joined #padre
09:25 Sewi joined #padre
09:25 Sewi Hi all
10:32 Hyppolit svn: r8830 | jquelin++ | http://padre.perlide.org/trac/changeset/8830
10:32 Hyppolit updated french translation
10:32 Hyppolit trunk/Padre/share/locale/
10:40 Sewi Wow, someone else is doing a commit :-)
10:49 SvenDowideit joined #padre
10:56 Hyppolit #701: Printing on Win(7) doesn't work (new defect) [ http://padre.perlide.org/trac/ticket/701 ]
13:00 Hyppolit #702: Print dialog (new enhancement) [ http://padre.perlide.org/trac/ticket/702 ]
13:02 Sewi ping szabgab
13:03 Sewi szabgab: For #700: File::Slurp is only used in an example. I could remove the examples from test 01's compile tests or add Slurp as a dependency for all of Padre, which one do you prefer?
13:03 Hyppolit #700: File::Slurp is an undeclared prerequisite (new defect) [ http://padre.perlide.org/trac/ticket/700 ]
13:22 MMSH joined #padre
13:53 pece joined #padre
14:13 kentnl__ joined #padre
14:14 kentnl__ joined #padre
14:21 kentnl joined #padre
14:56 mattp szabgab: hey, since alias isnt around
14:57 mattp just had a quick question regarding the configuration saver things alias was planning.
14:57 mattp is it intended as a plugin? or built into core
15:24 kthakore hi there! how did you guys change your bug reporter to your trac site on CPAN for your module?
16:09 CSJewell kthakore: See the META.yml.
16:11 kthakore CSJewell: ok thanks
17:03 mattp joined #padre
18:24 szabgab evening
18:24 szabgab mattp, built into core
18:25 szabgab kthakore, and of course see Makefile.PL on how to generate that META.yml
18:26 szabgab Sewi, I think I'd change the example to not need File::Slurp
18:42 kthakore szabgab: ok thank you
18:56 Sewi szabgab: ok, could s/o else do this as I'm low on time currently.
18:59 Sewi kthakore: Do you want to do #685 yourself?
18:59 Hyppolit #685: Fix TDD flow in Padre Testing (new task) [ http://padre.perlide.org/trac/ticket/685 ]
19:02 kthakore Sewi: I tried ... still trying ... I don't know the code and I sux :{
19:03 Hyppolit svn: r8831 | Sewi++ | http://padre.perlide.org/trac/changeset/8831
19:03 Hyppolit Updated messages.pot
19:03 Hyppolit trunk/Padre/share/locale/
19:04 Sewi kthakore: I could give you some hints: There is lib/Padre/Action/Run.pm where all the Actions which are used for menu items, are defined. Select one which fits your wishes best and copy it. Change the copy as you need.
19:05 Hyppolit svn: r8832 | Sewi++ | http://padre.perlide.org/trac/changeset/8832
19:05 Hyppolit Updated German translation to 100%
19:05 Hyppolit trunk/Padre/share/locale/
19:06 Sewi Finally go to lib/Padre/Wx/Menu/Run.pm and add the action as a menu item at your preferred place. Save everything and start up another copy of  Padre to test your work.
19:06 szabgab joined #padre
19:07 kthakore ok
19:07 kthakore let me try
19:07 kthakore where is the SVN repo again?
19:07 Sewi http://padre.perlide.org/trac/wiki/Download#​Moredetailedinstructionformanualinstallation
19:07 kthakore thanks
19:07 Sewi svn is http://padre.perlide.org/trac/wiki/Download#​Moredetailedinstructionformanualinstallation
19:07 Sewi svn?
19:07 Sewi Hyppolit: svn is http://padre.perlide.org/trac/wiki/Download#​Moredetailedinstructionformanualinstallation
19:07 Hyppolit svn was unknown
19:07 Hyppolit svn is now http://padre.perlide.org/trac/wiki/Download#​Moredetailedinstructionformanualinstallation
19:08 Sewi kthakore: There is $document->file->filename for the documents filename and $document->project_dir for the base dir of the project.
19:11 kthakore ok
19:11 kthakore getting SVN latest
19:14 kthakore making
19:22 kthakore Sewi I added the menu item no where do I grab the event and run this `make && make test` ?
19:23 kthakore how do I show you my code?
19:23 Sewi Create a patch and attach it to the ticket or use pastebin.org (.com, etc.)
19:23 kthakore ok
19:23 kthakore svn diff is fine right?
19:24 Sewi I think
19:24 Sewi so
19:25 kthakore Sewi: http://padre.perlide.org/trac/ticket/685
19:29 Sewi I'ld commit this patch, but there are two comments: Please try to use lower case action names and please add need - keys to the Action item (in this case need_document => 1 should be fine. Are you sure that you only want this option on test files?
19:29 Sewi You could now add your new on_run_tdd_tests to lib/Padre/Wx/Main.pm
19:31 Sewi sorry, it's called need_editor and you may also want need_file
19:33 kthakore ok ..
19:34 kthakore let me clean up the pathc
19:34 kthakore hold on
19:49 kthakore ok I think I got it
19:49 kthakore btw who ever wrote the main.pm code
19:49 kthakore nice!!
19:53 kthakore Sewi: man ... as soon as I add need_editor and need_file I get this
19:53 kthakore Can't call method "name" on an undefined value at /home/kthakore/Development/Pers​onal/Padre/lib/Padre/Wx/Menu.pm line 72.
19:54 Sewi kthakore: Please show me the Action item (via pastebin)
19:54 kthakore ok
19:59 kthakore Sewi: http://pastebin.com/m20f5254e
20:00 Sewi The comment is broken, the rest looks good
20:01 kthakore hhhhh
20:01 kthakore crap
20:03 kthakore Sewi: sometimes I am retarded without sleep
20:03 kthakore sorry
20:05 szabgab joined #padre
20:05 kthakore Sewi: how do I enable with project
20:06 kthakore is there _CURRENT(@_)->project ?
20:06 kthakore in lib/Padre/Wx/Menu/Run.pm sub refresh?
20:07 Sewi Every file has a project_dir.
20:07 Sewi It may not be useful, but you could do something like
20:08 Sewi need => sub { my %objects = @_; return -e $objects{$document}->project_dir->"Makefile"; },
20:09 kthakore http://padre.perlide.org/trac/att​achment/ticket/685/TDD_tests.diff
20:09 kthakore this is what I need
20:10 Sewi Looks good.
20:10 Sewi my $dir = Cwd::cwd; # You may want to use this lateron to chdir back...
20:10 kthakore someone else can fix windows nmake, dmake crap
20:10 kthakore Sewi: oh forgot
20:10 kthakore let me fix that
20:11 Sewi I'll be off now, but back tomorrow and then commit it.
20:11 Sewi sorry
20:11 kthakore Sewi: its done ....
20:12 kthakore Sewi: DONE!
20:12 Sewi Test it and I'll commit it tomorrow. (Please remind me if I forget to do it)
20:12 * Sewi &
20:12 kthakore ok np
20:12 kthakore I go do pong now
20:12 kthakore szabgab: I did my first patch for Padre!!! yay!
20:36 szabgab joined #padre
20:44 szabgab kthakore++
20:46 kthakore szabgab++ for that awesome design... I have never had it so easy to add something to a gui project before
20:46 kthakore who thought of the menu design?
20:46 szabgab it is not really mine it just evolves
20:46 szabgab there were several iterations
20:46 szabgab recently it was azawawi and Sewi I think
20:47 kthakore szabgab: projects evolve with a neat design if there was neat design code to start from
20:47 kthakore so szabgab++ and azawawi++ and Sewi++
20:47 szabgab Alias could also get one
20:47 szabgab and the rest of the team :-)
20:48 szabgab Padre++
20:48 kthakore Alias++ , Padre++ for awesome design :-)
21:41 SvenDowideit joined #padre
23:18 Haarg joined #padre
23:31 patspam joined #padre
23:35 patspam joined #padre
23:43 awnstudio joined #padre
23:43 Alias joined #padre

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