Camelia, the Perl 6 bug

IRC log for #padre, 2011-03-27

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

All times shown according to UTC.

Time Nick Message
00:49 pece left #padre
00:50 user_3068 joined #padre
00:51 user_3068 how do I get padre to print to a non-postscript printer ?
01:07 Steffen__ joined #padre
01:12 user_3068 left #padre
01:12 Steffen_ left #padre
01:39 Di-ima left #padre
01:50 Di-ima joined #padre
02:26 bvierra|l left #padre
03:11 charsbar left #padre
03:18 charsbar joined #padre
03:22 asarch joined #padre
03:24 asarch left #padre
03:24 asarch joined #padre
04:14 Sno| joined #padre
04:16 |Sno| left #padre
04:35 asarch left #padre
05:28 danlucraft joined #padre
05:29 danlucraft1 joined #padre
05:29 danlucraft left #padre
05:43 kaare joined #padre
06:51 danlucraft joined #padre
06:51 danlucraft1 left #padre
06:52 danlucraft1 joined #padre
06:52 danlucraft left #padre
06:53 asarch joined #padre
06:59 danlucraft joined #padre
06:59 danlucraft1 left #padre
07:02 pece joined #padre
07:26 Hyppolit svn: r14185 | szabgab++ | http://padre.perlide.org/trac/changeset/14185
07:26 Hyppolit slight refactoring in autocomplete
07:26 Hyppolit trunk/Padre/lib/Padre/Document/
07:35 Hyppolit svn: r14186 | szabgab++ | http://padre.perlide.org/trac/changeset/14186
07:35 Hyppolit introduce temporary variable to autocomplete, on the way to move it to a non-Padre file
07:35 Hyppolit trunk/Padre/lib/Padre/Document/
07:36 danlucraft1 joined #padre
07:36 danlucraft left #padre
07:41 azornik hi gm
07:41 azornik szabgab, are you here?
07:42 szabgab yes
07:44 szabgab but as I can see you are not
07:44 azornik i'm here
07:45 azornik i solve a ticket
07:45 azornik or a problem
07:45 azornik the one the bowie talked about
07:45 azornik :)
07:45 azornik i'm writing a comment at Module::Starter
07:46 Hyppolit svn: r14187 | szabgab++ | http://padre.perlide.org/trac/changeset/14187
07:46 Hyppolit move part of the autocomplete to a file that is not Padre aware
07:46 Hyppolit trunk/Padre/lib/Padre/Document/ trunk/Padre/lib/Padre/Document/Perl/
07:47 azornik i did he's tests yesterday
07:47 azornik and i came with the answer :)
08:06 asarch left #padre
08:48 Hyppolit svn: r14188 | szabgab++ | http://padre.perlide.org/trac/changeset/14188
08:48 Hyppolit add first test to stand alone Padre::Document::Perl::Autocomplete module
08:48 Hyppolit trunk/Padre/t/
08:51 Hyppolit svn: r14189 | szabgab++ | http://padre.perlide.org/trac/changeset/14189
08:51 Hyppolit svn:ignore *.swp files, ohoh, Gabor is using vim sometimes to edit padre?
08:51 Hyppolit trunk/Padre/ trunk/Padre/t/
09:08 jazzanova joined #padre
09:17 Hyppolit svn: r14190 | szabgab++ | http://padre.perlide.org/trac/changeset/14190
09:17 Hyppolit move another part of the autocomplete method to Padre::Document::Perl::Autocomplete to be Padre independent
09:17 Hyppolit trunk/Padre/lib/Padre/Document/ trunk/Padre/lib/Padre/Document/Perl/
09:37 Hyppolit wiki page http://padre.perlide.org/tra​c/wiki/Features/Autocomplete changed by szabgab
09:40 Hyppolit # 820 :  autocompletion triggered on ctrl+tab (assigned defect) by szabgab  [ http://padre.perlide.org/trac/ticket/820#comment:3 ]
09:45 Hyppolit # 67 :  Ctrl-P/Ctrl-N autocompletion (closed enhancement) by szabgab  [ http://padre.perlide.org/trac/ticket/67#comment:8 ]
09:52 charsbar left #padre
09:53 charsbar joined #padre
10:08 droidica joined #padre
10:16 waxhead Looking at the Changes file, there's not a lot of big ticket items to push out a release yet.. any one object to leaving it for another week?
10:16 waxhead leaving a release until next week..
10:21 jazzanova left #padre
10:22 El_Che I wouldn't release just to release
10:25 szabgab I think the PReferences 2.0 should be checked thorougly and if it is working then the old one whould be hidden (or even removed) before the release
10:25 szabgab I certainly don't think we should keep both for the release
10:28 El_Che I'll try to spend a few hours monday morning to move languages to preferences 2.0
10:37 danlucraft1 left #padre
10:38 danlucraft joined #padre
10:52 yunga joined #padre
10:58 user_333 joined #padre
11:00 user_333 Hi, started learning perl yesterday, trying to find out how to create gui's, could you point me in the right direction? is there a plugin or soemthing for padre?
11:02 user_3030 joined #padre
11:04 user_3030 padre in windows can't debug,anyone met this problem?
11:41 szabgab user_3030:  and user_333 could you please choose a better nickname ?   you can type  /nick my_real_nick
11:42 szabgab regarding the debugger, it afaik works but in a very limited way
11:43 szabgab regarding GUI, I am not sure starting with GUI development is the easyest thing to do in perl, maybe tell a bit more what you'd like to do?
12:07 user_333 is now known as joea9
12:09 joea9 re: GUI...well ive started off learning about variables, various loops etc, so ive got the hang of that. i wanted to take the next step to learn something else, and gui's seemed logical (previous programming experience has been mainly VB, so thats probably where i get my gui obsession from)...if there's a more logical next step to take learning perl...
12:09 joea9 happy to hear a suggestions :)
12:10 user_3030 use it as a ide ,like debuging c with visual studio,which can debug your code step by step
12:14 Steffen__ left #padre
12:15 user_3030 i just wanna use padre as a ide
12:16 szabgab joea9: so with VB background you are probably used to drag and drop creating the GUI and then writing the code behind
12:17 szabgab There is something like that for Perl and WxWidgets as well and we are even using it in PAdre but I never used it myself
12:17 szabgab someone else here might be able to help you more with that
12:17 szabgab though I could try to track down the thingy in our mailing list as well
12:18 jnap joined #padre
12:20 szabgab joea9: http://mail.perlide.org/pipermail/​padre-dev/2011-January/002281.html starting with that message there was a thread explaining how to use the wxFormBuilder
12:24 Hyppolit wiki page http://padre.perlide.org/trac/wiki/wxFormBuilder changed by szabgab
12:24 szabgab I collected the information on this new wiki page  ^^^
12:25 szabgab but it needs to be cleaned up and improved
12:25 user_3030 does it need to set some configure like the perl's path in padre?i made a mistake in my code purposely,and then checked the syntax error,but found no error.
12:27 Hyppolit wiki page http://padre.perlide.org/trac/wiki/wxFormBuilder changed by szabgab
12:27 szabgab user_3030: those are two separate things, the debugger and the syntax checker
12:28 szabgab which version of Padre are you using?
12:28 user_3030 the version i used is 0.63
12:28 joea9 thanks szabgab, ill take a look at that
12:29 jnap left #padre
12:29 szabgab user_3030: I'd suggest to upgrade as we are at 0.84 now
12:30 szabgab joea9: I should also try that already :)
12:32 user_3030 both the two separate things you have mentioned does work in 0.63.
12:34 szabgab user_3030: so then what was the question?
12:35 user_3030 oh , i have forgot to say my os is windows
12:36 user_3030 does that matter
12:43 user_3030 thanks szabgab,i wanna take a bath now
12:44 user_3030 bye
12:46 yunga left #padre
13:02 azornik left #padre
13:03 azornik joined #padre
13:09 jnap joined #padre
13:49 user_3030 left #padre
14:03 droidica left #padre
14:08 azornik hey
14:08 azornik what is leopard?
14:09 azornik its like snow leopard? the mac OS?
14:22 jnap left #padre
14:38 bowtie joined #padre
14:41 bowtie szabgab, Afternoon, Q if I waned to display info in Output view in colour, what emulation is it?
14:44 bowtie szabgab, I have been looking at example 04-button-with-event.pl, It,s just I like colour, as in prove output.
14:46 bowtie szabgab, neither of the following have any effect. print "\e[1;34mThis text is bold blue.\e[0m\n"; printf ("\x033This is a %s string\x030\n", "blue");
14:47 bowtie szabgab, in the above, first should be win, second ansi term.
14:48 bowtie any body, please can you give me a kick in the right direction!
14:49 szabgab bowtie: I don't think the output window supports color
14:49 szabgab but you could look at the source code
14:49 szabgab it is implemented as Padre::Wx::Output
14:50 szabgab and then you can read up on the specific widget it is using
14:50 bowtie szabgab, It's as easy as that then, another afternoon hacking in vein :))
14:50 bowtie szabgab, thanks for the wisdom and kick
14:51 bowtie szabgab, also 8k & 32k work fin for me with PPIx
14:51 szabgab and you could also take a look at the RegexEditor as that uses color
14:51 szabgab good, then use those numbers
14:52 bowtie szabgab, also do you need anything regarding red underline in regedit, opps to slow
14:54 bowtie szabgab, RegEx it is then, latters....
14:57 asarch joined #padre
15:00 azornik bowtie,
15:00 azornik i've did all the tests
15:00 azornik and i have the answer you looking for
15:01 azornik the module::starter doesnt open a folder named inc, in the module::installer
15:02 azornik and in the module installer's load.t file, there is a use "inc::....."
15:05 joea9 left #padre
15:06 bowtie azornik, thats because it use prove -b which looks for /blib/lib i think not prove -l which looks for /lib
15:07 bowtie azornik, thus if you only use a skeleton as a default structure, Run This Test will fail.
15:10 bowtie azornik, remember even if you use a skeleton you do not have to run perl Makefile.PL or make etc..., If you use a test driven approach you would be writing you tests first!
15:11 azornik bowtie, i dont get you
15:11 azornik i'll tell you what i understood
15:12 azornik and you correct me if i'm wrong please
15:12 azornik :)
15:12 bowtie azornik, ok, go ahead
15:12 azornik MB is using inc
15:12 azornik EUMM also using inc
15:13 azornik to include the latest tolls chain there
15:13 azornik MI is calling inc also
15:14 azornik but, module starter doesnt add it
15:14 azornik he's not making a inc folder
15:14 azornik therefor you cant use inc::.. when you dont have it
15:14 bowtie azornik, MB is part of Perl now
15:15 bowtie azornik, hence it exists
15:16 azornik bowtie, we're talking about why MI failed or why all the others failed after the first test?
15:17 bowtie azornik, remember Makefile.PL has nothing to do with testing.
15:17 bowtie azornik, just read test::harness prove switches
15:18 bowtie azornik, ie prove -b and prove -l
15:23 azornik i dont get you
15:23 azornik i did the tests
15:23 azornik as you wrote
15:23 azornik one by one
15:24 azornik and i told you what's wrong
15:24 azornik btw
15:24 azornik the others tests fail because of the load.t
15:28 bowtie azornik, no no, the test fail in the initial skeleton, because the assumption is you have run 1, perl Makefile.Pl && make && make install first. have you read test::harness yet?
15:28 bowtie left #padre
15:29 bowtie joined #padre
15:30 azornik no
15:31 azornik what is test::harness
15:31 azornik and what it have to do with that?
15:31 bowtie azornik, just for you..  -v,  --verbose         Print all test lines.
15:31 bowtie -l,  --lib             Add 'lib' to the path for your tests (-Ilib).
15:31 bowtie -b,  --blib            Add 'blib/lib' and 'blib/arch' to the path for
15:31 bowtie your tests
15:31 azornik what is got from the tests is that load.t if failing
15:31 bowtie azornik, google cpan Test::Harness
15:31 azornik and if that test if failing
15:31 azornik all the others will fail aswell
15:32 azornik you have to set an ignore list
15:32 azornik and another thing i dont remember now what it was
15:33 bowtie azornik, prove uses -b and -l to amend perls @INC
15:36 bowtie azornik, from perldoc,  @INC
15:36 bowtie The array @INC contains the list of places that the do EXPR , require, or use constructs look for their library files. It initially consists of the arguments to any -I command-line switches, followed by the default Perl library, probably /usr/local/lib/perl, followed by ".", to represent the current directory. ("." will not be appended if taint checks are enabled, either by -T or by -t .) If you need to modify this at runtime,
15:36 bowtie you should use the use lib pragma to get the machine-dependent library properly loaded also:
15:36 bowtie 1. use lib '/mypath/libdir/';
15:36 bowtie 2. use SomeMod;
15:36 bowtie You can also insert hooks into the file inclusion system by putting Perl code directly into @INC. Those hooks may be subroutine references, array references or blessed objects. See require for details.
15:37 bowtie azornik, from http://perldoc.perl.org/perlvar.html
15:44 azornik bowtie, i'll read it now
15:45 bowtie azornik, ok, I will await you thoughts....
15:46 azornik lol ok :
16:22 azornik bowtie, are you here?
16:26 bowtie azornik, need 5mins more, ok,
16:32 bowtie left #padre
16:33 bowtie joined #padre
16:33 bowtie azornik, ready!
16:39 azornik i dont get the link
16:39 azornik what exactly you wanted me to go over there?
16:43 bowtie azornik, you should understand how to perform tests from the command line using prove, hence prove's documentation i contained in Test::Harness
16:45 bowtie azornik, remember an IDE such as Padre only makes our life easy, we still need to keep hold of the rains
16:46 bowtie azornik, are you happy with @INC in perl?
16:47 azornik bowtie, ?
16:48 bowtie azornik, in Perl the use of @INC, what its for?
17:13 asarch left #padre
17:26 waxhead left #padre
17:27 waxhead joined #padre
18:15 bowtie szabgab, Q when I Browse Source in wiki is it not in colour, svn:eol-style set to LF should it not be svn:eol-style set to native (for firefox etc..) and svn:mime-type set to text/x-perl for svn
18:25 toi joined #padre
18:28 jnap joined #padre
18:36 szabgab do you think the source code will be highlighted in the trac wiki if we set the mime-type?
18:39 Hyppolit svn: r14191 | szabgab++ | http://padre.perlide.org/trac/changeset/14191
18:39 Hyppolit set svn:mime-type to text/x-perl on Makefile.PL
18:39 Hyppolit trunk/Padre/
18:44 bowtie szabgab, yes, the python back end is very advanced, it took me ages to figure it out, that's why I built a local trac to test and learn
18:47 bowtie szabgab, you can edit the svn mime types with RapidSVN client or the big one eclipse
18:50 szabgab see http://padre.perlide.org/trac/b​rowser/trunk/Padre/Makefile.PL
18:56 droidica joined #padre
18:57 bowtie szabgab, you also need to set colour option in user prefers, I used perldoc.
18:59 szabgab bowtie: where would that be?
18:59 szabgab ok found
18:59 bowtie szabgab, and we have colour, it works,
19:01 bowtie szabgab, I made an auto-props that matches up with the python one used by trac if you want a copy?
19:01 szabgab I can now see the syntax highlighting on http://padre.perlide.org/trac/b​rowser/trunk/Padre/lib/Padre.pm as well
19:01 szabgab even though I did not change its mime-type
19:02 szabgab though the package names are slightly broken
19:02 szabgab what do you mean by auto-props?
19:03 bowtie szabgab, svn mime types are set on create and commit, and done via a section in svn local config file
19:03 szabgab is that a client side thing or server side?
19:05 jnap left #padre
19:05 bowtie szabgab, this is client side, try this for starters http://trac.symfony-project.o​rg/wiki/SymfonyRepositoryTips, i will find you the trac one while you read
19:07 azornik left #padre
19:09 azornik joined #padre
19:10 bowtie szabgab, found the trac page: http://trac.edgewall.org/wiki/TracSyntaxColoring
19:14 bowtie szabgab, If you would like the [auto-props] chunk modified for .t and .PL unlike symfony, but otherwise complete, let me no..
19:14 szabgab bowtie: you could please open  ticketet with all this so I can come back to it later?
19:16 bowtie szabgab, I think this should be a wiki page, with hacks in the name, this should help for now
19:16 bowtie [auto-props]
19:16 bowtie *.pl = svn:mine-type=text/x-perl
19:16 bowtie *.PL = svn:mine-type=text/x-perl
19:16 bowtie *.pm = svn:mine-type=text/x-perl
19:16 bowtie *.perl = svn:mine-type=text/x-perl
19:16 bowtie ;)
19:17 bowtie szabgab, It only works automaticly if there is an extension
19:22 Hyppolit svn: r14192 | patspam++ | http://padre.perlide.org/trac/changeset/14192
19:22 Hyppolit New release of Padre::Plugin::WebGUI
19:22 Hyppolit trunk/Padre-Plugin-WebGUI/ trunk/Padre-Plugin-WebGUI/​lib/Padre/Document/WebGUI/
19:31 Hyppolit # 1195 :  Padre scroll up file to start on save(Ctrl+S) event (new defect) [ http://padre.perlide.org/trac/ticket/1195 ]
19:38 Hyppolit svn: r14193 | szabgab++ | http://padre.perlide.org/trac/changeset/14193
19:38 Hyppolit Autocomplete: stop sending the suffix as it can be extracted from the text that is after the current string
19:38 Hyppolit trunk/Padre/lib/Padre/Document/ trunk/Padre/lib/Padre/Document/Perl/
19:51 jnap joined #padre
19:53 jnap left #padre
19:53 danlucraft left #padre
19:53 danlucraft joined #padre
19:53 azornik left #padre
19:55 azornik joined #padre
19:57 danlucraft1 joined #padre
19:57 danlucraft left #padre
19:58 Hyppolit svn: r14194 | szabgab++ | http://padre.perlide.org/trac/changeset/14194
19:58 Hyppolit Autocomplete: change the module to be OOP and pass the configuration options in the constructor
19:58 Hyppolit trunk/Padre/lib/Padre/Document/ trunk/Padre/lib/Padre/Document/Perl/ trunk/Padre/t/
20:02 danlucraft joined #padre
20:02 danlucraft1 left #padre
20:15 azornik left #padre
20:17 azornik joined #padre
20:30 toi left #padre
20:31 Hyppolit svn: r14195 | szabgab++ | http://padre.perlide.org/trac/changeset/14195
20:31 Hyppolit Autocomplete: pass more values to the constructor
20:31 Hyppolit trunk/Padre/lib/Padre/Document/ trunk/Padre/lib/Padre/Document/Perl/ trunk/Padre/t/
20:32 jnap joined #padre
20:50 kaare left #padre
21:11 jnap left #padre
21:17 asarch joined #padre
21:18 jnap joined #padre
21:22 bowtie left #padre
21:22 bowtie joined #padre
21:22 pece left #padre
21:23 azornik left #padre
21:24 azornik joined #padre
21:27 jnap left #padre
21:29 bvierra|l joined #padre
21:29 danlucraft1 joined #padre
21:29 danlucraft left #padre
21:50 jnap joined #padre
21:51 Hyppolit svn: r14196 | szabgab++ | http://padre.perlide.org/trac/changeset/14196
21:51 Hyppolit some Autocomplete tests
21:51 Hyppolit trunk/Padre/t/
21:51 danlucraft1 left #padre
22:16 bowtie left #padre
22:18 bowtie joined #padre
22:46 jnap left #padre
22:52 bvierra|l left #padre
22:52 bvierra|l joined #padre
23:24 bowtie left #padre

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