Camelia, the Perl 6 bug

IRC log for #padre, 2010-11-05

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

All times shown according to UTC.

Time Nick Message
00:12 asarch joined #padre
00:40 Trelane left #padre
00:59 jazzanova joined #padre
01:01 kanishka joined #padre
01:03 rindolf joined #padre
01:04 asarch left #padre
01:08 rindolf left #padre
01:34 pece left #padre
01:46 kanishka left #padre
02:00 asarch joined #padre
02:09 asarch left #padre
02:12 asarch joined #padre
02:15 asarch left #padre
03:08 kyanardag joined #padre
03:08 asarch joined #padre
03:13 Sno| joined #padre
03:18 |Sno| left #padre
05:55 kaare joined #padre
06:05 Alias left #padre
06:24 szabgab El_Che: I think it would be better just to have it on display and sell it
06:25 szabgab good morning
06:25 szabgab and we might also want to sell a number of other Perl books
06:26 szabgab I'll put it on my list of items to research
06:30 pece joined #padre
06:36 pece left #padre
06:39 asarch left #padre
06:47 Sewi joined #padre
07:10 szabgab El_Che: of course I was already thinking in terms of having a Perl booth at FOSDEM, I still have to submit the request though :)
07:29 abraxxa joined #padre
07:49 erez_ joined #padre
08:09 dandv when does Perl display a hash like this? "HASH(0x8afa788)"
08:20 erez_ left #padre
08:26 marcela joined #padre
08:34 abraxxa dandv: when you print it?
08:54 dandv abraxxa: I figure it out, when you print a hashref
08:55 abraxxa what i said...
09:45 Maltus joined #padre
10:11 Trelane joined #padre
10:28 jazzanova left #padre
10:44 zenog joined #padre
10:44 zenog hi guys
11:27 szabgab zenog: thanks for PEG site bug report
11:28 szabgab I just fixed it
11:47 user_8359 joined #padre
11:49 zenog szabgab: no prob.
11:49 zenog hi user_8359
11:49 zenog what's up?
12:02 user_8359 tried padre... behaves strange.
12:05 user_8359 the "directory tree" or "project" tab seems to be broken.
12:06 user_8359 (padre 0.72; fresh install)
12:06 user_8359 (via cpan)
12:06 abraxxa broken how?
12:06 Di-ima left #padre
12:07 user_8359 it shows files and directories from my "Documents" directory.
12:07 user_8359 i can not change this.
12:07 user_8359 when i try to open an file an empty file is opened.
12:08 user_8359 (from the 'project' tab)
12:08 abraxxa weird
12:08 abraxxa this works here
12:09 user_8359 ...and created in another place.
12:09 user_8359 syntaxcheck seems broken to.
12:10 user_8359 it complains about e.g. moose not being installed (use Moose;)
12:11 Maltus left #padre
12:11 user_8359 but the perl configured in Tools>Prefs>Run parameters> perl interpreter  has moose installed
12:12 user_8359 (i compiled an extra perl just for padre, because my perl has no threading)
12:12 zenog user_8359: Which platform are you on?
12:13 user_8359 ubuntu 10.10
12:13 user_8359 but i do not use the perl von the distro, i use my self compiled perl
12:14 abraxxa ubuntu 10.10 x64 with perlbrewed perl 5.12.2 here
12:14 zenog user_8359: The Perl on Ubuntu does have threading, there is no need to recompile.
12:14 user_8359 because i want to keep 'my' perl maintaind just my cpan
12:15 user_8359 but i do not use the perl from ubuntu, i use my self compiled perl
12:15 zenog user_8359: And why do you do that? Is there a technical reason? It seems overly complicated to me.
12:16 user_8359 maybe, but i do a lot of development and enountered problem with 'mixed' installs deb/cpan
12:16 user_8359 so i choose the clean way,
12:17 user_8359 and everything works fine.
12:17 user_8359 except of padre, i am afraid
12:17 Di-ima joined #padre
12:18 user_8359 when using a lot of libs mod_perl etc. sooner or later i hab problems mixings debs/cpan installs
12:19 abraxxa you can use local::lib with the distro's perl
12:19 abraxxa i did till 10.04
12:20 user_8359 as i said... when mixing cpan installed modules with debs, i encountered problems.
12:21 zenog user_8359: OK, is there a reason for using a Perl w/o threads?
12:21 user_8359 i tried to use as may as possible debs,...
12:21 zenog user_8359: Maybe the easiest fix would be to compile a Perl w/ threads, and run Padre and the stuff you develop in Padre with the same perl interpreter.
12:22 user_8359 and from some point on i encountered problems (mod_perl dbd::oracle, moose.................)
12:23 user_8359 threads: i dont need them, and i do not like features enabled i do not use.
12:23 user_8359 fix: yes, maybe.
12:24 kanishka joined #padre
12:24 user_8359 but do you thing this strange "project"-tab behaviour is related to using and different interpreter for padre and my scripts?
12:24 zenog user_8359: No, I don't think so.
12:25 user_8359 and syntaxcheck shound use the interpreter i selected, not the one i run padre with.
12:26 zenog user_8359: Yes. This is a bug. But the simplest workaround would be to use the same perl as the one that Padre uses.
12:26 user_8359 thats right. is this a known bug?
12:26 Getty khtakore: done with SDL and everything? There is directly your next mission ;)
12:26 zenog Yes, it is #957
12:26 Hyppolit #957: Syntax Check should use perl interpreter given in Preferences (new enhancement) [ http://padre.perlide.org/trac/ticket/957 ]
12:27 user_8359 ok, then it will be fixed i hope.
12:27 Hyppolit #957: Syntax Check should use perl interpreter given in Preferences (new defect) [ http://padre.perlide.org/trac/ticket/957#comment:1 ]
12:28 user_8359 but the project-tab-behavior is a stopper for me.
12:28 zenog I changed it from 'enhancement' to defect and bumped it to priority 'major'.
12:28 zenog user_8359: I don't use the project tab, so I cannot comment on that. afaik, this feature is currently under development.
12:28 user_8359 i like the refractoring subs. thats really nice.
12:28 user_8359 ok.
12:29 zenog user_8359: Can you try to deactivate the project tab, and just use the normal menu/toolbar for opening files etc.?
12:31 user_8359 sure, but when you have a lot of classes a directory browser/project tab is the only way for efficent working...
12:31 zenog user_8359: I can reproduce your complaint about the project tab here ... let's see if this is a known issue.
12:31 zenog Do you know Ctrl-Shift-R?
12:33 user_8359 no. started padre for the first time.
12:34 zenog This lets you open stuff from your current project quickly.
12:34 user_8359 ...but it does not show directories.
12:34 zenog You can try it out e.g. if you start Padre from its own source code directory (Padre itself is quite large).
12:34 zenog user_8359: Correct.
12:35 user_8359 sorry... but i have a lot of classes and subdirectories. :-(
12:36 zenog user_8359: According to the bug tracker, there are MANY bugs related to the directory/project tab. I did not know that, sorry.
12:36 user_8359 maybe i shoud try padre next year.
12:36 zenog user_8359: If this is an important requirement for you, yes.
12:36 zenog user_8359: If you want, you can subscribe to one of the bugs so that you get notifications about further progress.
12:36 user_8359 yes, i am afraid it is.
12:37 user_8359 ok.
12:38 Hyppolit #982: "open file" from directory windows has no effect (new defect) [ http://padre.perlide.org/trac/ticket/982#comment:2 ]
12:38 zenog user_8359: I am pushing up the priorities of some of the bugs related to that, this is actually quite embarrassing.
12:40 zenog user_8359: #1018 describes a workaround for having the wrong project dir.
12:40 Hyppolit #1018: Cannot open file from Directory Tree (Project) side panel (new defect) [ http://padre.perlide.org/trac/ticket/1018 ]
12:41 Hyppolit #1018: Cannot open file from Directory Tree (Project) side panel (new defect) [ http://padre.perlide.org/t​rac/ticket/1018#comment:1 ]
12:41 Hyppolit #982: "open file" from directory windows has no effect (new defect) [ http://padre.perlide.org/trac/ticket/982#comment:3 ]
12:41 Hyppolit #1018: Cannot open file from Directory Tree (Project) side panel (new defect) [ http://padre.perlide.org/t​rac/ticket/1018#comment:2 ]
12:42 Hyppolit #1036: Debugged scripts can't find modules in the current directory (new defect) [ http://padre.perlide.org/t​rac/ticket/1036#comment:1 ]
12:42 Hyppolit #967: Reset focus (new defect) [ http://padre.perlide.org/trac/ticket/967#comment:1 ]
12:44 Hyppolit #851: can't go to parent directory in directory view (new defect) [ http://padre.perlide.org/trac/ticket/851#comment:1 ]
12:44 Hyppolit #880: allow the Project (directory tree) window to be linked with the editor (new enhancement) [ http://padre.perlide.org/trac/ticket/880#comment:1 ]
12:44 user_8359 i found another problem...
12:45 zenog user_8359: shoot
12:45 Hyppolit #799: DirectoryBrowser jumps to top on doubleclick (reopened defect) [ http://padre.perlide.org/trac/ticket/799#comment:5 ]
12:45 Hyppolit #717: i cant create directories inside the directory tab (new defect) [ http://padre.perlide.org/trac/ticket/717#comment:1 ]
12:45 user_8359 when selecting an var....
12:46 Hyppolit #716: there is no way to change drive over the "directory" tab on the left (new defect) [ http://padre.perlide.org/trac/ticket/716#comment:2 ]
12:47 user_8359 $slist var $slist_sw  is also selected
12:47 Hyppolit #391: Allow renaming a file (new enhancement) [ http://padre.perlide.org/trac/ticket/391#comment:1 ]
12:48 Hyppolit #371: Signficant loss of responsiveness when the directory tree is open (new defect) [ http://padre.perlide.org/trac/ticket/371#comment:1 ]
12:48 Hyppolit #370: Directory Tree state is destroyed on refresh (new defect) [ http://padre.perlide.org/trac/ticket/370#comment:2 ]
12:48 Hyppolit #369: Add icons for the files in the directory tree (new enhancement) [ http://padre.perlide.org/trac/ticket/369#comment:1 ]
12:49 user_8359 ok. rename var does work. only selection is misleading.
12:49 Hyppolit #357: Odd Directory Tree Behaviour when non perl file active (new defect) [ http://padre.perlide.org/trac/ticket/357#comment:1 ]
12:49 Hyppolit #358: Directory Tree Browse behaviour (new defect) [ http://padre.perlide.org/trac/ticket/358#comment:1 ]
12:49 zenog user_8359: When you select something, all occurrences of the selection in the text are highlighted.
12:49 zenog user_8359: Do you mean that behavior?
12:50 user_8359 yes.
12:50 zenog It is in a different color compared to the selection, but that may be confusing ...
12:51 user_8359 what confused me is that i doubleclicked $slist and $slist_sw was highlighted too.
12:52 zenog I see.
12:52 user_8359 they are not the same var, but the selection suggested this.
12:53 zenog You are right, this can be very confusing.
12:54 zenog user_8359: Thank you for all your feedback, this is really helpful for improving padre.
12:58 user_8359 you are welcome.
12:58 user_8359 i am looking forward using this nice tool... in the near future i hope.
12:59 zenog user_8359: I will submit a ticket about the confusing selection display, or do you want to do it?
12:59 user_8359 no thanks.
12:59 user_8359 :-)
13:01 Maltus joined #padre
13:02 user_8359 bye.
13:02 user_8359 left #padre
13:12 abraxxa left #padre
13:27 Hyppolit #982: "open file" from directory windows has no effect (new defect) [ http://padre.perlide.org/trac/ticket/982#comment:4 ]
13:32 Hyppolit #1037: calling the project view "Directory Tree" is confusing (new defect) [ http://padre.perlide.org/trac/ticket/1037 ]
13:34 Maltus left #padre
13:39 zenog Does anyone know how I can move the "project" tab from the left to the right side of padre?
13:50 kanishka left #padre
14:16 PerlJam joined #padre
14:16 PerlJam left #padre
14:17 PerlJam joined #padre
14:32 a|newkirk[assoc] joined #padre
14:36 bernard joined #padre
14:40 bernard left #padre
14:40 a|newkirk[assoc] is now known as alnewkirk
14:49 kamil_ Hello, I wanted to ask where can i find documentation on adding new language support for Padre?
14:51 patspam joined #padre
14:53 dapatrick joined #padre
14:55 zenog kamil_: I fear that there is no real documentation, you can have a look at some plug-ins, and ask questions here.
14:55 zenog kamil_: Sorry ;-)
14:55 zenog kamil_: What kind of language do you want to add?
14:55 zenog kamil_: Adding MIME types (if supported by Scintilla or Kate) is rather easy, same goes for e.g. comment support.
14:56 zenog kamil_: Or do you mean human languages? New translatios?
14:56 zenog kamil_: For that, we have http://padre.perlide.org/t​rac/wiki/TranslationIntro
14:56 zenog (again, you can also ask here if this is too confusing)
15:04 Hyppolit svn: r13013 | zenogantner++ | http://padre.perlide.org/trac/changeset/13013
15:04 Hyppolit fix German translation error
15:04 Hyppolit trunk/Padre/share/locale/
15:07 zenog hi patspam and dapatrick
15:07 patspam hola!
15:07 dapatrick Hello!
15:17 kamil_ left #padre
15:25 erez_ joined #padre
15:36 Hyppolit #982: "open file" from directory windows has no effect (new defect) [ http://padre.perlide.org/trac/ticket/982#comment:5 ]
15:38 asarch joined #padre
15:43 kamil_ joined #padre
15:43 kamil_ I want to add support for Specman language
15:44 kamil_ Scintilla should support it, i tried playing around but it didn't work for me :(
15:48 zenog kamil_: Have a look at Padre::MimeTypes
15:49 zenog kamil_: The constant for Specman is called Wx::wxSTC_LEX_SPECMAN
15:50 zenog kamil_: You need to create an entry in the %MIME_TYPES hash, and in %EXT_MIME.
15:51 zenog kamil_: I guess that's all ...
15:57 kanishka joined #padre
15:57 kamil_ didn't work :(
15:58 zenog What happens?
15:58 zenog What is shown in the status bar?
15:59 zenog Can you paste the MimeTypes.pm file you created?
15:59 kamil_ at %EXT_MIME i have added "e     => 'text/x-specman'," - replased the eiffel line
15:59 kamil_ at MIME_TYPES i have added:'text/x-specman' => {
15:59 kamil_ name  => 'Specman',
15:59 kamil_ lexer => Wx::wxSTC_LEX_SPECMAN,   # CONFIRMED
15:59 kamil_ },
15:59 zenog Does Padre start up correctly?
16:01 zenog Can you pick Specman explicitly from "View"->"View Document As ..."?
16:01 kamil_ Sorry sorry, it took a old Padre version
16:01 kamil_ after i deleted the old one, I can select Specman now
16:02 kamil_ but the syntax highlighting is extremely poor!
16:02 kamil_ How can i modify it? to assign a highlighter which i control?
16:02 zenog Hm. Same for C.
16:02 zenog C also has extremely poor syntax highlighting.
16:03 zenog Sorry, I have no idea whether one can modifiy something here. Maybe.
16:04 zenog For options other than scintilla, there is this: http://search.cpan.org/dist/S​yntax-Highlight-Engine-Kate/
16:04 zenog There also exists a plug-in for Padre to use those.
16:04 zenog I used this to get Java syntax highlighting.
16:04 patspam left #padre
16:05 zenog kamil_: But for your case, there does not exist an Kate plugin for Specman, so you would need to specify this first.
16:05 patspam joined #padre
16:05 kamil_ I'm working on writing a "compiler" for specman code, and i would like to integrate the "errors" it's reported by it to the editor and mark these lines
16:06 zenog This is possible with Padre.
16:07 kamil_ Kate has a specman syntax highlighting, it's just not installed by default, but i have no problem creating such a file
16:08 zenog I played a bit with language integration for LaTeX, so you may have a look at the LaTeX plugin for that.
16:09 zenog It is not complete in any way, but it shows how you can make Padre 'run' your program/document, display the output of the command, etc.
16:10 zenog It may be easier seeing the stuff there than from the Perl stuff in the Padre core, because there are so many things ...
16:11 zenog http://search.cpan.org/~azaw​awi/Padre-Plugin-LaTeX-0.07/
16:13 marcela left #padre
16:15 kamil_ Thanks a lot.
16:15 kamil_ I will work now on the highlight and see how it works for me.
16:16 zenog Welcome. I hope everything will work nicely ...
16:17 kamil_ I hope too:)
16:17 kamil_ One last question (for now ;)) is the highlighter of the kate can replace using Parse::RecDescent as parser?
16:20 Hyppolit svn: r13014 | zenogantner++ | http://padre.perlide.org/trac/changeset/13014
16:20 Hyppolit fix #982
16:20 Hyppolit trunk/Padre/ trunk/Padre/lib/Padre/Wx/Directory/
16:21 kyanardag left #padre
16:21 zenog Everybody who has time, please check whether this really fixes #982 and does not introduce new problems.
16:21 Hyppolit #982: "open file" from directory windows has no effect (closed defect) [ http://padre.perlide.org/trac/ticket/982#comment:6 ]
16:22 zenog kamil_: I have no idea how the Kate highlighting Perl module works, never looked at it.
16:22 zenog szabgab may know.
16:31 kamil_ He has specman support (E_Language), but for some reason it's not working.
17:00 kyanardag joined #padre
17:01 Hyppolit #1018: Cannot open file from Directory Tree (Project) side panel (new defect) [ http://padre.perlide.org/t​rac/ticket/1018#comment:3 ]
17:04 zenog hi kyanardag
17:06 kyanardag left #padre
17:07 Hyppolit svn: r13015 | zenogantner++ | http://padre.perlide.org/trac/changeset/13015
17:07 Hyppolit Directory tree: rebrowse after creating directories and deleting files
17:07 Hyppolit trunk/Padre/ trunk/Padre/lib/Padre/Wx/Directory/
17:17 kyanardag joined #padre
17:21 erez_ left #padre
17:28 kyanardag left #padre
17:36 Sewi left #padre
17:42 szabgab kamil_: zenog as far as I rememebr one needs to add the mime-type to Padre itself if it is not there yet and then withing the Kate plugin you need to add some lines so PAdre will know Kate provides that syntax
17:43 szabgab I don't remmember the exact details now
17:56 zenog kamil_: just check the kate plug-in for Padre, e.g. the Java case - as far as I remember, it was not hard to understand.
18:12 zenog left #padre
18:14 kanishka left #padre
18:39 Sewi joined #padre
18:41 kanishka joined #padre
19:03 kamil_ left #padre
19:40 PerlPilot joined #padre
19:43 PerlJam left #padre
19:43 szabgab Sewi: ping
19:45 kanishka left #padre
19:48 kanishka joined #padre
20:20 alnewkirk left #padre
21:30 dapatrick left #padre
22:03 Sewi left #padre
22:04 patspam left #padre
22:06 patspam joined #padre
22:16 kaare left #padre
22:26 asarch left #padre

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