Camelia, the Perl 6 bug

IRC log for #padre, 2011-03-21

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

All times shown according to UTC.

Time Nick Message
00:20 itcharlie left #padre
01:05 Hyppolit svn: r14136 | adamk++ | http://padre.perlide.org/trac/changeset/14136
01:05 Hyppolit Avoid running syntax checks for unused documents in the same way we avoid function list or outline scans
01:05 Hyppolit trunk/Padre/ trunk/Padre/lib/Padre/Wx/
01:26 asarch joined #padre
01:28 Di-ima left #padre
01:38 Di-ima joined #padre
01:45 droidica joined #padre
02:06 jnap joined #padre
02:06 jnap left #padre
04:11 ok22 left #padre
04:13 katodroid joined #padre
04:13 Sno| joined #padre
04:16 |Sno| left #padre
04:17 droidica left #padre
05:37 droidica joined #padre
05:42 katodroid left #padre
06:33 Sewi joined #padre
06:33 Sewi gm
06:37 kaare joined #padre
06:59 asarch left #padre
07:14 danlucraft joined #padre
07:14 danlucraft left #padre
07:42 waxhead hey Sewi
07:43 Sewi Hi waxhead
07:43 Sewi Any release plans?
07:43 waxhead that would require a plan... :)
07:43 Sewi :-)
07:44 pece joined #padre
07:44 waxhead I think the status quo for now works well enough, ie, I can just poll the group every 2 weeks, post release, to see if we are ready for a release
07:44 Sewi Maybe we should always have a release branch. Release 0.84, drop the 0.84 branch and create a new one for 0.85 or 0.86.
07:45 waxhead nah, the next release is 0.86
07:45 waxhead 0.85 is the current development version
07:45 waxhead having the odd/even versions allows for API changes and testing for things like the plugins and plugin manager
07:46 waxhead during the development cycle
07:46 waxhead as to releasing, it comes down to what's changed, how important it is to get it out there, where changes are in trunk, ie a major change is being undertaken and needs a week or so to stablise... etc etc
07:47 waxhead not knowing what peoples plans are, not having a work list of htings to do in order makes it hard to set a date for release X
07:48 waxhead I'm happy to work with any suggestions people have, however we've maintained a fairly steady release cycle based on a "natural" point in the development process to do a release..
07:48 waxhead just now we do it with a minimum of interruption to trunk
07:53 fenderson hi gm
07:54 ok22 joined #padre
08:01 Sewi hi fenderson
08:01 Sewi Is the tidy issue done?
08:02 fenderson hi Sewi
08:02 fenderson if i want to add a solution to a ticket
08:03 fenderson should i comment with my solution or should i to it in other way like a new branch
08:03 Sewi type "svn diff >fenderson.patch" and attach fenderson.patch to the ticket
08:03 fenderson or even wrap it nice and send to szabgab
08:04 fenderson ok Sewi thanks
08:07 toi joined #padre
08:07 Sewi fenderson: And please tell in IRC that you attached a patch, otherwise others might miss it
08:08 szabgab fenderson: please don't send patches to me directly, attache them to tickets
08:08 szabgab I am not always around and others might be quicker and better judges of patches
08:14 gabiruh left #padre
08:14 gabiruh joined #padre
08:14 fenderson ok i will tell in the IRC as soon as i finish
08:14 marcela joined #padre
08:18 Sewi fenderson: When do you expect to be finished?
08:21 toi left #padre
08:22 toi joined #padre
08:23 fenderson i dont know, i try to reproduce a bug\ticket and i succeeded only once
08:24 fenderson in a ticket that someone downloaded padre with sudo
08:24 fenderson and each time he's trying to use it without writing sudo in the terminal he gets a permission denied
08:25 Sewi I was talking about the tidy patch
08:25 fenderson and thats not a bug its because he used sudo and then the permission to rwe is for the root
08:26 fenderson the patch that you started?
08:26 Sewi No, the one you wanna do.
08:26 Sewi I added the hooks
08:26 Sewi You were working on using them in the tidy plugin
08:27 fenderson i'm sorry i dont remember what you're talking about
08:27 danlucraft joined #padre
08:27 fenderson i read tidy and read you're plugin
08:31 Sewi Yes, and you should create a patch for the tidy plugin that should run tidy just before a file is saved
08:31 Sewi irclog?
08:31 Hyppolit irclog is http://irclog.perlgeek.de/padre/today
08:38 Sewi fenderson: http://irclog.perlgeek.de/​padre/2011-03-16#i_3400219
08:39 fenderson ohh you wanted me to add tidy-before-save
08:40 Sewi I think this was what we were talking about
08:41 fenderson whats the before save
08:41 fenderson i dont understand
08:41 Sewi The path should be:
08:41 Sewi 1. User clicks "save"
08:41 Sewi 2. Tidy tidies the file
08:41 Sewi 3. The file is written to disk.
08:42 Sewi The before_save hook enables plugins to insert actions exactly at this time.
08:43 fenderson ok
08:43 szabgab Sewi: I'd say let's leave fenderson do what he wants
08:44 szabgab and hope his patches will work
08:46 szabgab fenderson: I decided I don't try to nudge you in the planned direction any more
08:46 Sewi szabgab: I was hoping that he'ld add these few lines so I could ask Adam to make it a config option, because I'ld really like to see a good sample of a plugin config option :)
08:46 szabgab if you do some stuff, that's good, if you don't that's a pity but that's how open source works
08:47 szabgab Sewi: yeah I know, and it would have not been hard either, but for some reason fenderson wants to skip any easy issues and straight go to difficult onese
08:48 szabgab so we should let him do it
08:48 szabgab and hope he will cope with them
08:49 fenderson szabgab, i'll do the before_save_tidy
08:49 szabgab fenderson: your choice, your word, your name
09:31 user_9176 joined #padre
10:06 bowtie joined #padre
10:09 fenderson ok i got it
10:10 fenderson Sewi, i need to use Perl::Tidy's postfilter
10:10 fenderson can you send me the link to the plugin you made?
10:10 Sewi fenderson: The tidy plugin already has a method doing this.
10:10 Sewi There is a "tidy this document" option in the plugin menu.
10:11 fenderson http://padre.perlide.org/trac/changeset/14090
10:11 fenderson so if it has it what did you want me to do?
10:11 fenderson you wanted a before_save_tidy
10:12 fenderson postfilter is the right method
10:12 fenderson i think..
10:14 Sewi Do you have the Perl Tidy plugin in the Padre Tools menu?
10:19 fenderson i see plugins but not perl tidy
10:27 bowtie Sewi, reweb page, The following generates an error, At revision 14136
10:27 bowtie perl Build.PL --sourcedir .  --destdir ~/public_html/padre.perlide.org
10:27 bowtie ./Build manifest
10:27 bowtie ./Build manifest
10:27 bowtie Failed to load YAML document from 'data/stash.yml' at inc/Local/Padre/Website/Builder.pm line 121
10:27 bowtie yaml configuration issue I persume,
10:28 bowtie Sewi, Opps, The following generates an error, At revision 14136
10:28 bowtie perl Build.PL --sourcedir .  --destdir ~/public_html/padre.perlide.org
10:28 bowtie ./Build manifest
10:28 bowtie ./Build
10:28 bowtie Failed to load YAML document from 'data/stash.yml' at inc/Local/Padre/Website/Builder.pm line 121
10:28 bowtie yaml configuration issue I persume,
10:31 Sewi fenderson: Please open the plugin manager and enable the tidy plugin
10:31 Sewi bowtie: We had a howto for this somewhere hidden in the wiki, I think :-)
10:31 Sewi ping szabgab
10:31 Sewi szabgab: Could you help bowtie?
10:32 * szabgab is reading backlog
10:32 fenderson Sewi, how do i do it
10:32 fenderson i enabled all
10:32 Sewi fenderson: You grab your mouse with your hand, usually the right hand, and move this small arrow on your screen on the word "Tools" my moving your hand.
10:33 fenderson and still didnt see the tidy plugin
10:33 Sewi Then you should lower your left finger to let your mouse make a "click" sound...
10:33 Alias fenderson: You installed it and turned it on in the plugin manager right?
10:34 Sewi Do you have a full trunk checkout? You should have a ../Padre-Plugin-Tidy directory seem from the Padre path (place where "dev" lives)
10:34 fenderson Sewi, i think its not installed here.......
10:34 Alias perl dev -a
10:35 Alias wait, not -a
10:35 Sewi sure, it's -a
10:35 fenderson Alias, thanks
10:35 Sewi dev --die -a is my default padre command
10:35 Alias Then it's not working for me, curious
10:35 fenderson it worked
10:35 Alias oh wait, it is
10:35 fenderson did dev -a
10:35 fenderson and now i have the tidy
10:36 Sewi Alias: did you checkout the whole trunk? dev -a expects plugins in "../Padre-Plugin-XXX"
10:36 Alias I'm fine
10:36 Alias I just didn't have any enabled
10:36 fenderson Sewi, i've enabled tidy plugin
10:36 Sewi fenderson: ok, there should be a "Perl Tidy" menu below "Tools" now
10:36 szabgab bowtie: which version of YAML do you have?
10:37 szabgab bowtie: correction, whihc version of YAML::Tiny do you have?
10:37 Sewi And there is a "Tidy current document". This is the method you need to call before_save
10:37 fenderson there is
10:38 fenderson there isnt
10:38 fenderson tidy current document
10:39 Sewi You should check the tidy plugin source to see which method/sub is being called there.
10:39 Sewi It's called "Tidy the active document"#
10:39 szabgab bowtie: perl -MYAML::Tiny -e'print YAML::Tiny->VERSION'
10:40 Sewi The menus are defined in the Plugin file which lives at lib/Padre/Plugin in the plugin's trunk dir.
10:40 fenderson got an error
10:40 fenderson a pop up window with error
10:40 Sewi which one?
10:41 ok22 left #padre
10:41 fenderson w8
10:41 fenderson i'm using new client of IRC
10:41 fenderson i'll go to mibbit and paste it
10:41 szabgab pastebin?
10:41 szabgab pastebot?
10:41 Hyppolit pastebot is http://www.pastebot.net/
10:41 bowtie szabgab,  YAML::Tiny (1.48)
10:41 fendersonX joined #padre
10:42 fendersonX http://mibpaste.com/3ehIEt here
10:42 Sewi fenderson: Did you read the message you just pasted?
10:42 szabgab bowtie:  I have 1.40 and 1.41 on two machines and it is working, now I am going to upgrade to see if the newer version of YAML::Tiny broke us
10:43 fenderson yes, i have to install Perl::Tidy
10:43 Sewi good. So go ahead
10:44 fenderson 1min its done
10:44 fenderson done
10:44 bowtie szabgab, ok
10:44 Sewi try again.
10:44 szabgab bowtie: I got the same error after upgrading
10:44 fenderson ok i did what you said
10:44 fenderson i dont see anything new
10:45 fenderson what should it do?
10:45 szabgab bowtie: would you like to try to figure out what is causing it?
10:45 fenderson suppose
10:46 Sewi fenderson: Open a new tab and type in something like "for(1..3){print $_;  }, then run the tidy active document option and see what happens
10:47 bowtie szabgab, ok I will have a go, glad it was not me, any pointers to code Buliding to speedup the process, besides YAML::Tiny
10:47 fenderson ok
10:49 fenderson i see a red squire
10:49 fenderson in the first line
10:49 fendersonX left #padre
10:50 Sewi You could use any perl file for trying
10:50 Sewi (if it isn't tidiy'ed already)
10:50 fenderson trying
10:51 szabgab bowtie: I'd cut the stash.yml to small pieces till I find the part that offends the module
10:51 fenderson i dont see something changing
10:52 ok22 joined #padre
10:52 szabgab and then ask Alias if it is a bug in the module or something that he does not want to support
10:52 fenderson its the option to close a code block?
10:52 fenderson so you can only see the title?
10:53 Sewi ?
10:53 fenderson like for or method name or something like that?
10:53 Sewi I'm talking about Tools -> PerlTidy ->Tidy active document
10:53 fenderson i activated it but i dont see a change
10:54 bowtie szabgab, ok, I have had the pleasure of yml in past, and personally decided it was a spelling mistake, corrected to xml :))
10:55 fenderson Sewi, the output window has opened
10:55 Sewi fenderson: It's not active or inactive. It runs "tidy" over the current tab once if you select the menu option
11:02 katodroid joined #padre
11:03 fenderson and you said the before_save_tidy should be there right?
11:04 Sewi You should patch the padre-plugin-perltidy and add a before_save hook. An example for the hook is in the Padre/Plugin/Test.pm in Padre trunk
11:05 droidica left #padre
11:07 fenderson testplugin.pm?
11:09 Sewi fenderson: did I write testplugin.pm? I think I wrote Padre/Plugin/Test.pm
11:13 fenderson i ask cause i dont find it
11:14 Sewi Do you see the "dev" file?
11:20 bowtie szabgab, Ok fixed the naff y yaml, will created a diff, where do WE want it put.
11:21 szabgab bowtie: do you have a small example yaml file that fails ?
11:21 szabgab you could put it in a pastebin so we can see and discuss
11:21 szabgab pastebin?
11:21 szabgab pastebot?
11:21 Hyppolit pastebot is http://www.pastebot.net/
11:21 fenderson Sewi, yes
11:22 szabgab fenderson: what revision do you have?
11:22 szabgab fenderson: amd are you on trunk?
11:22 Sewi fenderson: look at lib/Padre/Plugin/Test.pm
11:28 bowtie szabgab, I have a fixed stash.yml
11:28 bowtie szabgab, what is a pastebin?
11:34 fenderson w8 i'll check
11:34 fenderson i dont have test.pm there Sewi
11:35 Sewi fenderson: when did you svn update for the last time?
11:36 fenderson 13977
11:36 fenderson last week i think
11:36 Sewi do it now
11:38 fenderson i dont get it
11:38 fenderson i'm doing svn co -r 13977
11:40 fenderson why does he say not enough args?
11:40 fenderson what else should i write beside the number of the revision?
11:41 fenderson ok i got it
11:45 Hyppolit #1180: corrupt stash.yml conflicts with YAML::Tiny (new defect) [ http://padre.perlide.org/trac/ticket/1180 ]
11:45 fenderson my revision is now 14136
11:49 bowtie szabgab, diff file has been added to t1180
11:49 Sewi sounds good
11:50 Sewi fenderson: Do you see Test.pm now?
11:52 Alias Some dies I hate myself
11:52 Alias Guess what I just found
11:52 Alias http://docs.wxwidgets.org/2.8/w​x_wxsingleinstancechecker.html
11:52 Alias Some days
11:54 fenderson yes :)
11:55 fenderson padre hooks
11:55 fenderson before_save
11:55 fenderson so if we have it
11:55 fenderson why did you want me to work on it
11:55 fenderson to make a before_save_tidy
11:56 Sewi Alias:  :-)
11:57 Sewi fenderson: You should use Test.pm as a template to add a before_save hook into the Padre::PerlTidy - plugin
11:57 fenderson ohh i see its not written yet
11:58 fenderson ok
12:00 szabgab Alias: pls take a look at the file attached to #1180
12:00 Hyppolit #1180: corrupt stash.yml conflicts with YAML::Tiny (new defect) [ http://padre.perlide.org/trac/ticket/1180 ]
12:00 Sewi fenderson: So, go ahead, add it to the Padre::Plugin::PerlTidy
12:00 szabgab bowtie: thanks, though I was hoping to see a "minimal example that triggers the error"
12:01 Hyppolit svn: r14137 | adamk++ | http://padre.perlide.org/trac/changeset/14137
12:01 Hyppolit Bump dependency
12:01 Hyppolit trunk/Padre-Plugin-FormBuilder/
12:01 szabgab Alias: apparently YAML::Tiny 0.48 does not like the ones in red but in 0.41 it was still ok
12:02 bowtie szabgab, hopefully you can now see errors and fixes
12:03 szabgab bowtie: if I understand then it means you cannot have : in the values
12:03 szabgab or you need to put the value in ""
12:03 szabgab and the leading - in the value is also incorrect now
12:04 katodroid left #padre
12:04 Hyppolit svn: r14138 | adamk++ | http://padre.perlide.org/trac/changeset/14138
12:04 Hyppolit Since Wx::Listbook doesn't work properly, found a way to tunnel the Listbook constructor through to a Wx::Treebook instead. This is close to what the original Preferences.pm version does
12:04 Hyppolit trunk/Padre/fbp/ trunk/Padre/lib/Padre/Wx/Dialog/ trunk/Padre/lib/Padre/Wx/FBP/ trunk/Padre/t/
12:04 bowtie szabgab, this is what I gleaned from my editor, I will play around and see what happens, but now you cn Build
12:04 bowtie ops ca can
12:15 Alias szabgab, was it you that added the PADRE_BLACK etc stuff to Padre::Constant?
12:15 Alias long long time ago
12:15 szabgab Alias: yeah, that was like 2 years ago?
12:15 Alias Can you explain how it works, cause I'm stumped
12:15 Alias And I've just discovered that Wx comes with a colour database built in we could probably use instead
12:16 szabgab while I try cold you take a look at that YAML::Tiny issue?
12:16 Alias "stash.yml" ?
12:16 szabgab yes
12:16 Alias What's that?
12:17 szabgab 0.41 was ok with values with  : in them
12:17 szabgab 0.48 bails on that
12:17 Alias oh, a website thing
12:17 szabgab is that on purpose?
12:17 Alias Got a minimal example
12:17 szabgab in 0.48 we have to put the values with : in the into ""
12:17 Alias ?
12:17 szabgab value: a:b
12:17 szabgab worked in 0.41
12:18 szabgab in 0.48 you have to say   value: "a:b"
12:18 szabgab that was one issue the other was:
12:18 szabgab value: - some text
12:18 Alias My gueses?
12:18 Alias "dded checks for some characters that are illegal or reserved
12:18 Alias in plain scalars (INGY)
12:18 Alias "
12:18 szabgab that worked in 0.41 and not in 0.48 any more
12:19 szabgab my question is that if 0.48 is the more correct and fix fix our yaml file
12:19 Alias It's a compatibility thing
12:19 szabgab or if it is a bug in 0.48 ?
12:19 Alias I'm guessing it's the ingy thing
12:19 Alias YAML::Tiny was being too permissive
12:20 szabgab I don't understand what you mean by Ingy thing, I though you maintain the module
12:20 Alias I do
12:20 Alias That doesn't mean I'm the only person that commits
12:20 Alias That's the entire point of svn.ali.as
12:20 szabgab I know
12:20 Alias In the Changes file, entries ending with (AUTHORID) wrote added particular things
12:21 szabgab I was jst hoping you know what do you release :)
12:21 Alias Looking between 1.41 and 1.48 the only relevant change is ingy's correctness in plain scalar change
12:21 Alias I check the changes at the time
12:21 szabgab I'll try to see if there are tests for these incorrect values
12:22 Alias Doesn't mean I necesarily remember it :)
12:22 szabgab ok, no problem
12:22 Alias So the colours
12:22 Alias Check this out
12:22 Alias http://docs.wxwidgets.org/2.8/wx_wxc​olourdatabase.html#wxcolourdatabase
12:23 Hyppolit svn: r14139 | szabgab++ | http://padre.perlide.org/trac/changeset/14139
12:23 Hyppolit better error message in web site generation
12:23 Hyppolit trunk/template.padre.perlide.​org/inc/Local/Padre/Website/
12:23 Alias If we're going to support named colours in styles, we should just use that
12:23 szabgab yes, so STC has 32 slots for colors
12:23 szabgab you can defined a color for each slot
12:23 szabgab the slots are number 0-31 I think
12:24 szabgab and the PADRE_BLACK is just a constant to one of these values
12:24 szabgab IIRC
12:24 Alias But it's not actually black... it's just position 1? And I can't find anything that uses it
12:24 szabgab so the name should be actually PERL_STATEMENT or PERL_WORD
12:25 Alias Am I ok to just delete it?
12:25 szabgab and the constant should not have the color in its name
12:25 Alias I can't find anywhere that uses it
12:25 szabgab aren't hey used in the style files?
12:25 Alias Not that I can tell
12:25 Alias There's a PADRE_WHATEVER -> string
12:26 Alias But I'm not sure what purpose if any they serve
12:26 szabgab the share/styles/*.yml files are full of thses names
12:27 Alias Yeah, but only to define them
12:27 szabgab and the names are then mapped to colors
12:27 szabgab oh so look at
12:28 szabgab lib/Padre/Document/Perl/Lexer.pm
12:28 szabgab there we map PPI elements to numbers
12:30 szabgab so in the standard scintilla highlighter it is done well, we map structural eleemnts wxSTC_STYLE_BRACELIGHT to some color
12:31 szabgab in the PPI highlighters I used PADRE_COLOR names (stupid) to map them
12:31 Alias aaaaahhhh
12:31 szabgab so why do you want to get rid of them?
12:31 Alias Well, I was hoping it was dead unused code
12:32 szabgab they should have been something like PPI_LABEL and PPI_SYMBOL
12:32 Alias ok
12:32 Alias So I'll leave it where it is for now and when I get around to redoing styles I'll deal with it then
12:32 Alias I have the beginnings around somewhere, but left it to one side
12:32 szabgab I think we can change that and we only upset people who use PPI highlighting with a custom style
12:33 szabgab probably close to 0
12:33 danlucraft1 joined #padre
12:34 szabgab but I am quite sure I am missing something now
12:34 szabgab as I recall there was some more complexity and that's what I did not get back then either :)
12:35 Hyppolit svn: r14140 | szabgab++ | http://padre.perlide.org/trac/changeset/14140
12:35 Hyppolit apply fix of bowtie to please YAML::Tiny 0.48 as well #1180
12:35 Hyppolit trunk/template.padre.perlide.org/data/
12:35 danlucraft left #padre
12:37 Hyppolit #1180: corrupt stash.yml conflicts with YAML::Tiny (closed defect) [ http://padre.perlide.org/t​rac/ticket/1180#comment:1 ]
12:40 Hyppolit svn: r14141 | szabgab++ | http://padre.perlide.org/trac/changeset/14141
12:40 Hyppolit tidy up the perl code in the web site builder
12:40 Hyppolit trunk/template.padre.perlide.org/ trunk/template.padre.perlide.​org/inc/Local/Padre/Website/ trunk/template.padre.perlide.org/inc/Local/Pod/
12:42 Hyppolit svn: r14142 | szabgab++ | http://padre.perlide.org/trac/changeset/14142
12:42 Hyppolit not need for debugger variables in code
12:42 Hyppolit trunk/Padre/lib/Padre/Wx/
12:43 Hyppolit svn: r14143 | szabgab++ | http://padre.perlide.org/trac/changeset/14143
12:43 Hyppolit perl tidy to gain karma
12:43 Hyppolit trunk/Padre/lib/Padre/Wx/ trunk/Padre/lib/Padre/Wx/Dialog/ trunk/Padre/lib/Padre/Wx/FBP/ trunk/Padre/t/
12:54 Alias Whoever is tidying the files that say "Do not modify these files" please don't
12:54 Alias Every time they get regenerated the tidying gets reverted
12:55 Hyppolit svn: r14144 | adamk++ | http://padre.perlide.org/trac/changeset/14144
12:55 Hyppolit Reimplemented the guess indentation button
12:55 Hyppolit trunk/Padre/fbp/ trunk/Padre/lib/Padre/Wx/Dialog/ trunk/Padre/lib/Padre/Wx/FBP/
12:55 Alias Everywhere else but the Padre::Wx::FBP:: namespace is fine
12:55 Alias I'll integrate tidy with formbuilder at some point and then this problem goes away
12:55 szabgab Alias: so I should fix both the tidy script and the one that is checking for tidyness
12:56 Alias Please
12:56 Alias Just for the time being
12:56 szabgab sure so everything under Padre/Wx/FBP/ , right?
12:57 Alias yep
12:58 szabgab Alias: btw I don't understand why autogenerate perl files and not some xml files that describe the thing?
12:59 Alias Because the XML files are bigger than the perl files, and need a bunch of extra libraries to load them, and it's harder to integrate custom Perl code
12:59 Alias And you can't do sneaking tailoring
13:00 Alias For example, I'm using a trick where I use the Listbook control in wxFormBuilder plus to build a wxTreebook, which wxFormBuilder doesn't actually support normally
13:00 Alias So it's lighter, smaller, and more flexible
13:01 Alias And you can fork them if you really need to
13:01 Hyppolit svn: r14145 | szabgab++ | http://padre.perlide.org/trac/changeset/14145
13:01 Hyppolit skip the Padre::Wx::FBP files during tidy
13:01 Hyppolit trunk/tools/
13:01 Alias And as a bonus, you can actually debug it
13:03 szabgab waiting for your next commit to see if the tidychecker was also fixed
13:03 Alias I already have :)
13:03 szabgab you have what ?
13:03 Alias Commit 14144
13:04 szabgab the prev commit was still with the old commit
13:04 szabgab it only checkes on post commit of that specific file
13:04 Alias So next topic :)
13:04 Alias The syntax highlighting option page of the preferences dialog
13:05 szabgab :)
13:05 szabgab I think I go and grab a tea
13:06 szabgab so ?
13:07 Alias oh, you said tea
13:08 Alias I was going to go get dinner :)
13:08 ispy_ joined #padre
13:08 Alias Are you ok to ditch that page for now?
13:08 Alias Since only the Perl highlighter can be changed
13:08 Alias I'm thinking of just putting the highlighter choice for Perl in a standalone option
13:08 szabgab both the perl 5 and perl 6 can be changed
13:09 Alias And then the highlighter choice for other languages can go into that language's plugin
13:09 Alias oh
13:09 Alias OK, so I'll make two
13:09 szabgab if you have the appropriate moduels installed
13:09 Alias I want to start splitting the Perl-specific stuff from the Padre general stuff
13:09 szabgab and if you have the Kate plugin then more
13:09 Alias oh
13:09 Alias hrm
13:10 szabgab I don't mine to have "mime-type" specific options
13:10 szabgab moved to their own page
13:10 Alias Probably a good idea to do that anyway
13:10 szabgab so each mime-type has its page with all the options you cans set
13:10 toi left #padre
13:10 Alias Something like that, eventually
13:10 szabgab mine/mind
13:10 Alias For now, maybe Perl 5 tree, Perl 6 tree, and other languages
13:11 szabgab I think that should not be a separate entry in the PReferences for each mime-type
13:11 szabgab that would be crazy
13:11 szabgab a lot
13:11 Alias yeah
13:12 szabgab maybe a single "mime-tyep configurator page" in which first you need to select which mime-type you are configuring now
13:12 Alias But I can put one choice for each mime type on one page
13:12 Alias And keep the Perl 5 qand Perl 6 ones as dedicated
13:12 szabgab that's how the syntax highlighter configuration works but maybe it should not be a single drop-down list
13:13 szabgab so what options do we have that are erl 5 specific?
13:13 Alias If I do it via a separate choice per language, then I can keep it all in the FormBuilder generated code
13:13 Alias Have a look through the different preferences areas
13:13 Alias There's bits and pieces of perl stuff here and there
13:13 bricas szabgab: got a sec to chat bug #480 ?
13:13 Hyppolit #480: Custom style setting fails to load on padre restart (new defect) [ http://padre.perlide.org/trac/ticket/480#comment:3 ]
13:13 szabgab actually as I think,, most of the mime-types are (or will be) implemented in plugins
13:13 szabgab bricas: sure, type
13:14 Alias We could always leave the stuff for Kate in Advanced
13:14 Alias I want to start cutting back on the things in the main preferences, if 1% or less of people will want to change it
13:14 Alias Like the TODO regex
13:14 bricas szabgab: okay, so, here's how to reproduce it. copy one of the existing styles to your local styles dir (for me, that's ~/.local/share/.padre/styles/) as mine.yml
13:15 bricas szabgab: load up Padre.
13:15 bricas szabgab: under styles, select "mine"
13:15 bricas szabgab: close, and reload. you'll see the error (assuming you're loading it from the prompt)
13:17 bricas szabgab: does the issue make sense now?
13:17 szabgab bricas: it was not clear from the report how to reprouce it, let me try now
13:17 bricas I will add this info to the ticket.
13:17 szabgab thank
13:17 szabgab s
13:20 szabgab bricas: yes, now I can reproduce it
13:20 szabgab so please update the ticket and in the meantime I try to fix it
13:23 bricas updated.
13:23 Hyppolit #480: Custom style setting fails to load on padre restart (new defect) [ http://padre.perlide.org/trac/ticket/480#comment:4 ]
13:26 toi joined #padre
13:34 toi left #padre
13:35 toi joined #padre
14:06 Hyppolit svn: r14146 | szabgab++ | http://padre.perlide.org/trac/changeset/14146
14:06 Hyppolit when loading a style from the configuration options check if it is a private style or a standard style. #480
14:06 Hyppolit trunk/Padre/lib/Padre/Wx/
14:07 Hyppolit #480: Custom style setting fails to load on padre restart (closed defect) [ http://padre.perlide.org/trac/ticket/480#comment:5 ]
14:08 szabgab bricas: I hope this fixes the issue on your computer as well :)
14:12 bricas right-on.
14:12 bricas will check it later.
14:37 kaare left #padre
14:45 bowtie left #padre
14:45 bowtie joined #padre
14:48 dapatrick joined #padre
14:49 bricas szabgab: errr, i have no view->style menu now...?
14:49 bricas oh, i see. pref now.
14:56 bricas szabgab: seems to work!
15:01 szabgab yeah we fixed the bug by eliminating the View->Style menu :)
15:12 kaare joined #padre
15:14 user_9176 left #padre
15:29 fenderson szabgab, are you here?
15:31 toi left #padre
15:32 Sewi fenderson: Just ask your question, someone else might answer it :-)
15:39 asarch joined #padre
15:41 PerlJam Sewi: it could be a question that is slightly personal in nature.  "szabgab: Are you available for dinner next Thursday?"
15:41 PerlJam :-)
15:42 Sewi PerlJam: Could be, but usually wasn't :-)
15:42 fenderson Sewi, tell me
15:42 fenderson where is the perltidy plugin
15:42 fenderson i cant find it
15:43 Sewi ../Padre-Plugin-PerlTidy from the place where dev lives
15:43 fenderson and i know what i have to write its nothing its 1sec
15:45 fenderson ok i'm there
15:45 fenderson and i add a before_save.pm?
15:45 fenderson where should i add it?
15:46 Sewi Did you look at the Test.pm?
15:46 Sewi there is a clear sample how to add padre hooks
15:46 fenderson btw its not where dev lives
15:47 fenderson its 1 folder backwords... perl dev is in padre/Padre and its in padre
15:51 Sewi This is why I wrote "../Padre-Plugin-PerlTidy", the ".." goes to the parent directory
16:07 fenderson left #padre
16:07 fenderson joined #padre
16:16 fenderson ?
16:24 marcela left #padre
16:31 Sewi fenderson: finished?
16:32 asarch left #padre
16:44 Hyppolit #1181: web site mod (new enhancement) [ http://padre.perlide.org/trac/ticket/1181 ]
16:45 fenderson you saw what i wrote?
16:45 fenderson where should i add it?
16:48 bowtie Sewi, szabgab, what a fun day, edit ymal, virtual servers, and a tt2 enhancement, food then wiki run tests, latter
16:53 fenderson Sewi, ?!?!?
16:53 szabgab bowtie: I am happy you enjoy it
17:00 szabgab bowtie: I'll use your patch and make something of  it, hopefully in the diection you pointed to
17:05 Hyppolit svn: r14147 | szabgab++ | http://padre.perlide.org/trac/changeset/14147
17:05 Hyppolit slight modification to the download page based on the suggestion of bowtie in #1181
17:05 Hyppolit trunk/template.padre.perlide.org/tt/pages/
17:07 Hyppolit #1181: web site mod (new enhancement) [ http://padre.perlide.org/t​rac/ticket/1181#comment:1 ]
17:12 jnap joined #padre
17:12 toi joined #padre
17:12 fenderson left #padre
17:14 fenderson joined #padre
17:21 toi left #padre
17:32 danlucraft1 left #padre
17:37 danlucraft joined #padre
17:38 szabgab /wg #perlde
18:00 El_Che wg?
18:07 LeK joined #padre
18:07 szabgab that's  an alias in irssi I created
18:09 bvierra|l left #padre
18:18 Hyppolit svn: r14148 | claudio++ | http://padre.perlide.org/trac/changeset/14148
18:18 Hyppolit Temp. adaptation of test for Preferences2.pm
18:18 Hyppolit trunk/Padre/t/
18:18 El_Che Alias++
18:19 El_Che Alias: too busy to dive into preferences2, but I will
18:20 szabgab El_Che: didn't he say it failed?
18:22 mj41 joined #padre
18:23 bvierra|l joined #padre
18:24 fenderson szabgab,
18:24 fenderson are you here?
18:27 szabgab fenderson: just type your question if you have one
18:27 dodathome joined #padre
18:30 fenderson left #padre
18:31 fenderson joined #padre
18:40 El_Che dunno, It's was a quick fix so we don't have failing tests
18:43 danlucraft left #padre
18:50 fenderson El_Che, can i have 1 sec of your time? :)
18:50 fenderson Sewi, added a new plugin named hooks
18:50 fenderson and i wanted to add a feature\method
18:50 fenderson i add it to PerlTidy.pm?
19:01 toi joined #padre
19:02 Sewi fenderson: seems a good place
19:03 pece2 joined #padre
19:10 asarch joined #padre
19:13 ok22 left #padre
19:17 fenderson ok but i have to make a button in the gui no?
19:19 Sewi why?
19:19 Sewi what should it do?
19:23 fenderson left #padre
19:24 ok22 joined #padre
19:29 fenderson joined #padre
19:42 mj41 Can't locate object method "_plugin_enable" via package "Padre::PluginManager" at /home/mj/padre-src/Padre/lib/Pa​dre/Wx/Dialog/PluginManager.pm line 342.
19:42 Sewi mj41: svn up please
19:44 mj41 Sewi: At revision 14148.
19:45 Sewi mj41: Open a ticket please. I think I know the problem, but currently I'm too brain-dead to fix it.
19:46 mj41 there is not a method with this name ... probably load_plugin ?
19:47 ispy_ left #padre
19:49 droidica joined #padre
19:58 Sewi mj41: No, I deleted it because it was duplicate.
19:58 Steffen joined #padre
19:58 Sewi But it wasn't used.
19:59 Sewi The real one is in PluginHandle (I think), the one in PluginManager was old and no longer working like it should.
20:04 mj41 Commit bit? :-)
20:08 mj41 Hmm. No Padre mirror on GitHub :-(.
20:09 Sewi No, Padre is using svn :)
20:10 mj41 Creating Padre::PluginManager::_plugin_enable from  _plugin_disable is simple.
20:13 Sewi No, it isn't
20:13 mj41 It works :-).
20:14 Sewi No, it doesn't.
20:14 Sewi It seems to work
20:15 mj41 Ok. I going to create ticket.
20:15 Sewi http://padre.perlide.org/trac/browser/tr​unk/Padre/lib/Padre/PluginHandle.pm#L190 <-- this is what needs to be done.
20:17 shadowpaste "mj41" at 217.168.150.38 pasted "Index: Padre/lib/Padre/PluginM" (25 lines) at http://paste.scsys.co.uk/94117
20:20 mj41 Sewi: This works for me.
20:25 Sewi mj41: I've  a bad headache and clearly shouldn't develop in this state, sorry. Just fixing some DB issues which need to be done asap and then going to bed.
20:25 LeK left #padre
20:29 mj41 Sewi: Ok, np. I'm sorry for bothering you. Will create ticket and put patch there.
20:29 Sewi You're not borthering me - and my head isn't your fault :-)
20:34 Hyppolit #1182: Crash when enabling plugin (new defect) [ http://padre.perlide.org/trac/ticket/1182 ]
20:34 Sewi thanks
20:36 mj41 thanks for Padre
20:47 Sewi left #padre
20:47 Sewi joined #padre
20:53 Sewi left #padre
20:59 katodroid joined #padre
21:01 fenderson left #padre
21:03 fenderson joined #padre
21:05 droidica left #padre
21:07 toi left #padre
21:10 jnap left #padre
21:16 fenderson hey someone is here?
21:21 mj41 left #padre
21:29 Hyppolit #1181: web site mod (new enhancement) [ http://padre.perlide.org/t​rac/ticket/1181#comment:2 ]
21:36 asarch left #padre
21:39 pece left #padre
21:43 pece2 left #padre
21:44 dodathome left #padre
22:16 dapatrick left #padre
22:44 kaare left #padre
23:32 Hyppolit svn: r14149 | adamk++ | http://padre.perlide.org/trac/changeset/14149
23:32 Hyppolit Added default line ending options
23:32 Hyppolit trunk/Padre/lib/Padre/
23:32 Steffen left #padre

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