Camelia, the Perl 6 bug

IRC log for #padre, 2009-11-11

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

All times shown according to UTC.

Time Nick Message
00:16 teejay joined #padre
00:25 CSJewell joined #padre
00:26 CSJewell Status of Padre Standalone 0.50: The shortcut for Padre now points to $inst\perl\bin\padre.exe, but it doesn't work before logout or reboot. Do you guys want me to put a reboot in the installer?
00:29 CSJewell [I'm going to have to reboot again, myself. Be back when I'm back.]
03:38 ppant joined #padre
03:45 GabrielVieira_ joined #padre
04:10 Hyppolit svn: r9171 | szabgab++ | http://padre.perlide.org/trac/changeset/9171
04:10 Hyppolit blog about the regex editor
04:10 Hyppolit trunk/template.padre.perlide.org/data/
06:41 Sewi joined #padre
06:56 kaare joined #padre
07:03 Sewi Good morning
07:24 CSJewell joined #padre
07:25 CSJewell szabgab, ping?
07:49 daxim joined #padre
08:00 CSJewell well, unping for now. :(
08:19 pece joined #padre
08:41 daxim http://search.cpan.org/~szabgab/Padre-0.50/​lib/Padre/Wx/Main.pm#on_toggle_currentline
08:41 daxim what does overlining mean?
08:43 Sewi daxim: http://www.dict.cc/?s=overline tells "�berstrich". It might be either a drawn line above or through the text.
08:43 daxim I haven't seen this, that's why I'm asking.
08:46 Sewi Never heart this before, too. Try it out: Add a line to enable it in Editor.pm or Main.pm and look what happens.
08:46 Sewi But please remove the line before your next commit :-))
08:53 daxim I figured it out
08:54 Sewi What is it?
08:54 daxim it's the current line highlighting
08:54 daxim I'll update the docs
08:54 Sewi ok. Thanks
09:03 jq szabgab: why don't you update http://szabgab.com/distributions/ anymore?
09:05 jq hmm, modules::packaged isn't updated anymore
09:09 Hyppolit #654: Lexical Rename of Variable - Can't hightlight the whole variable. (closed defect) [ http://padre.perlide.org/trac/ticket/654#comment:3 ]
09:09 Hyppolit #419: find variable declaration does not work at the end of a variable (closed enhancement) [ http://padre.perlide.org/trac/ticket/419#comment:4 ]
09:11 code4pay joined #padre
09:11 Sewi Hi code4pay
09:12 code4pay Hi Sewi
09:12 Sewi Tried it using Gnome texteditor but it doesn't support mid-button at all :-)
09:13 code4pay yes though I think you can copy from a terminal and paste to it using middle mouse
09:14 code4pay So I guess we need to work out exactly what functionality we want the middle mouse button to perform
09:14 code4pay I'd be happy with it working like it would in say a terminal session
09:14 code4pay on X11 not sure about windows
09:15 Sewi will try with other tools, but currently writing a test :-)
09:15 code4pay ok
09:22 code4pay kdevelop looks like it works pretty well the same as my patch does. ie allows the middle mouse to work as it would in a terminal
09:23 Sewi All tests successful :-)
09:23 code4pay OK great
09:25 Sewi Openoffice: Replace selection does work, but it replaces the selection by the last selected value (the thing being replaced), so it does nothing at all. Won't expect this
09:30 Sewi same for poedit
09:32 pece joined #padre
09:33 pece joined #padre
09:34 waxhead joined #padre
09:50 daxim oooh, there are true gems in the documentation
09:50 daxim »The C<close_where> method is a programmatically enhanceable mass-close tool.«
09:50 daxim lal whut.
09:53 daxim »This method is for closing multiple document windows. It can be enhanced by programming.«
09:53 daxim there, marginally more verbose, but much clearer about the intention
09:53 waxhead what documentation is that?
09:53 daxim sadly, Padre documentation
09:54 daxim once I commmit all my spelling fixes, I will read all docs from front to back and edit it
09:55 daxim text needs editing, especially when written by programmers who just type in what comes first to their mind
09:55 waxhead documentation always sucks
09:55 waxhead it's the hardest part of coding
09:55 daxim :(
09:55 waxhead that and variable names
10:09 waxhead joined #padre
10:23 waxhead joined #padre
10:43 Hyppolit svn: r9172 | waxhead++ | http://padre.perlide.org/trac/changeset/9172
10:43 Hyppolit Version bump
10:43 Hyppolit trunk/Padre-Plugin-SVN/ trunk/Padre-Plugin-SVN/lib/Padre/Plugin/ trunk/Padre-Plugin-SVN/lib/Padre/Plugin/SVN/Wx/
10:44 siegfri3d joined #padre
10:48 Hyppolit svn: r9173 | waxhead++ | http://padre.perlide.org/trac/changeset/9173
10:48 Hyppolit Actual Version bump  :(
10:48 Hyppolit trunk/Padre-Plugin-SVN/lib/Padre/Plugin/ trunk/Padre-Plugin-SVN/lib/Padre/Plugin/SVN/Wx/
11:21 pece joined #padre
11:59 pece joined #padre
12:08 pece joined #padre
13:07 pece joined #padre
13:16 pece2 joined #padre
13:43 daxim joined #padre
14:00 kthakore joined #padre
14:24 mj41 joined #padre
14:28 Pat__ Sewi still around ?
14:30 Sewi sure
14:35 Sewi How may I help?
14:53 Hyppolit svn: r9174 | tsee++ | http://padre.perlide.org/trac/changeset/9174
14:53 Hyppolit spelling nit
14:53 Hyppolit trunk/Padre/lib/Padre/
14:56 Pat__ sorry .. yes .. I clicked a random bug and tried to fix it, and I think I did .... but I am afraid some other case has messed up I am not sure i understand what the code does to test it ...
14:57 Hyppolit svn: r9175 | daxim++ | http://padre.perlide.org/trac/changeset/9175
14:57 Hyppolit add base support
14:57 Hyppolit trunk/template.padre.perlide.org/ trunk/template.padre.perlide.​org/inc/Local/Padre/Website/ trunk/template.padre.perlide.org/tt/lib/
14:57 Hyppolit svn: r9176 | daxim++ | http://padre.perlide.org/trac/changeset/9176
14:57 Hyppolit tweak Pod::Xhtml behaviour by subclassing
14:57 Hyppolit trunk/template.padre.perlide.org/inc/Local/ trunk/template.padre.perlide.​org/inc/Local/Padre/Website/ trunk/template.padre.perlide.org/inc/Local/Pod/
14:57 Pat__ in PPIx/EditorTools/RenameVariable.pm line 147 ... (# the case of potential quotelikes and regexes) like what for example ?
14:58 Hyppolit svn: r9177 | daxim++ | http://padre.perlide.org/trac/changeset/9177
14:58 Hyppolit spellchecking, markup improvements
14:58 Hyppolit
14:58 Hyppolit * spelling, grammar, POD fixes (3 days worth, although I didn't scrutinise too closely)
14:58 Hyppolit * "Million Dollar Markup" - start with marking up acronyms and abbreviations
14:58 Hyppolit trunk/Padre/lib/ trunk/Padre/lib/Padre/ trunk/Padre/lib/Padre/Action/ trunk/Padre/lib/Padre/Config/ trunk/Padre/lib/Padre/DB/ trunk/Padre/lib/Padre/DocBrowser/ trunk/Padre/lib/Padre/Document/ trunk/Padre/lib/Padre/Document/Perl/ trunk/Padre/lib/Padre/File/ trunk/Padre/lib/Padre/Plugin/ trunk/Padre/lib/Padre/QuickFixProvider/Perl/ trunk/Padre/lib/Padre/Task/ trunk/Padre/lib/Padre/Task/HTTPClient/ trunk/Padre/lib/Padre/
15:01 patspam joined #padre
15:05 Hyppolit #655: Lexical Rename of Variable - Can't rename to a variable iwth an underscore in it (accepted defect) [ http://padre.perlide.org/trac/ticket/655#comment:1 ]
15:06 Pat__ Ok I uploaded the minor patch to #655 for review, but I am afraid it might break corner cases that I don't understand, so I indicated that in the comment.
15:06 Hyppolit #655: Lexical Rename of Variable - Can't rename to a variable iwth an underscore in it (accepted defect) [ http://padre.perlide.org/trac/ticket/655#comment:1 ]
15:12 Haarg joined #padre
15:42 tsee joined #padre
15:42 awnstudio joined #padre
15:42 tsee hi folks. Long time no see.
15:43 tsee Wasn't there traditionally a PADRE_HOME environment variable?
15:43 tsee That doesn't seem to be set when Padre's run from an installation any more.
15:43 tsee It *is* set when run via dev.pl
15:44 tsee This essentially breaks perltags based auto-completion.
15:45 tsee I can't believe I've been the only one using this.
15:46 tsee I mean, I didn't exactly do heavy duty PR when I wrote it, but at least somebody refactored it afterwards.
15:53 dapatrick joined #padre
15:54 Sewi tsee: Sure, also tried to get it work, but wasn't successful. Would you like to write a short POD with a sample for creating the tags file?
15:57 tsee No. Read the Perl::Tags POD.
15:57 tsee That's not the issue blocking me.
15:58 tsee I mean. It used to work fine when I wrote it.
15:58 tsee It looks for the "perltags" file in PADRE_HOME.
15:58 tsee Which used to be ~/.padre
15:58 tsee But since PADRE_HOME seems to be gone, it's no longer working.
15:58 tsee I just wonder why whoever gave PADRE_HOME the boot didn't even bother to grep for its use in the codebase.
15:58 daxim prepare for the time this directory gets moved again
15:59 daxim there's a freedesktop.org standard governing the locations of config directories, caches etc.
16:04 tsee daxim, that's fair enough. It's why I didn't hardcode $userdir/.padre but used the formerly useful PADRE_HOME.
16:05 daxim I meant to express: once the xdg-related stuff arrives, this will outmode the concept of a common home dir - whether set by env var or not - anyway
16:16 tsee daxim, ah, now I get it. Sorry.
16:28 Sewi tsee: Seems PADRE_HOME is used only two times: On the tags file and in Constant.pm Maybe a configurable tag file location would be better?
16:29 tsee Sewi, yes, it would be better for sure.
16:29 tsee I just didn't have the time to do that back in the day.
16:29 Sewi Ok, will do it (if you don't want to)
16:29 tsee And the Config system alsways gave me a bit of the creeps.
16:29 tsee That would be great!
16:30 Sewi Sure
16:30 tsee Also, a simple change will be needed so that the Document doesn't cache the location of the tags file or checks whether it's been changed in the configuration.
16:48 Hyppolit svn: r9178 | Sewi++ | http://padre.perlide.org/trac/changeset/9178
16:48 Hyppolit Add a config option for the perltags file
16:48 Hyppolit trunk/Padre/lib/Padre/ trunk/Padre/lib/Padre/Document/ trunk/Padre/lib/Padre/Wx/Dialog/
16:48 Sewi tsee: Do you want to test it?
16:48 tsee Sure.
16:48 tsee Give me a few minutes, I'm multitasking.
16:48 Sewi me too :-)
16:49 Hyppolit svn: r9179 | Sewi++ | http://padre.perlide.org/trac/changeset/9179
16:49 Hyppolit Update config test
16:49 Hyppolit trunk/Padre/t/
16:50 Pat__ Sewi: When you have time to review the micro patch for #655 I'd be grateful
16:50 Hyppolit #655: Lexical Rename of Variable - Can't rename to a variable iwth an underscore in it (accepted defect) [ http://padre.perlide.org/trac/ticket/655#comment:1 ]
16:51 tsee Oh, ouch. Can't rename vars with underscores... I didn't expect that when I wrote the feature :P
16:51 Sewi :-)
16:51 Pat__ hahahaha
16:52 Sewi Wow, a three-byte patch :-)
16:52 Pat__ exactly it can't get any smaller ...
16:52 Pat__ I spent most of the time writing the comment to explain the part I did not understand
17:02 Hyppolit svn: r9180 | Sewi++ | http://padre.perlide.org/trac/changeset/9180
17:02 Hyppolit Fix for ticket #655 (patrickas++)
17:02 Hyppolit trunk/PPIx-EditorTools/ trunk/PPIx-EditorTools/lib/PPIx/EditorTools/
17:03 Hyppolit #655: Lexical Rename of Variable - Can't rename to a variable iwth an underscore in it (accepted defect) [ http://padre.perlide.org/trac/ticket/655#comment:2 ]
17:03 Pat__ Thanks Sewi!
17:03 Sewi Pat__: Worksforme. I added a comment in the source with a short version of your comment and reference to the ticket.
17:03 Sewi you're welcome
17:04 Pat__ ok great. I am working on another bug ...btw ... just clicking around Trac and fixing stuff I think I can handle
17:04 Sewi You're doing a great job!
17:05 Pat__ :-)
17:05 Pat__ well ... three bytes great ;-)
17:07 tsee Sewi: Your change works, thanks!
17:08 Sewi tsee: Thank you for getting me my daily (own) commit :-)
17:56 Pat__ OK done ... that was harder than previous three bytes patch ... but I have a question first
17:56 Pat__ Sewi: there is a sub find_variable_declaration defined in PPIx/EditorTools.pm and a different one Padre/PPI.pm and they are slightly different ...  is that a bug or a feature ?
18:00 Sewi Pat__: don't know, sorry
18:01 Pat__ ok no prob ... cause I just changed one of them even more and I am not sure if I should change the other one too ...
18:10 Hyppolit #653: Lexically Rename Variable doesn't work when clicking on declaration of variable (accepted defect) [ http://padre.perlide.org/trac/ticket/653#comment:2 ]
18:14 Hyppolit #653: Lexically Rename Variable doesn't work when clicking on declaration of variable (accepted defect) [ http://padre.perlide.org/trac/ticket/653#comment:3 ]
18:17 Pat__ So I fixed my last bug for the day and uploaded the patch. to case 653.
18:19 Pat__ Thanks for reviewing andwant me to call him ?
18:19 Pat__ oops wrong window :-)
18:31 * szabgab waves around
18:39 Pat__ hello szabgab
18:50 mib_tsee joined #padre
19:05 Sewi hi szabgab
19:13 Hyppolit svn: r9181 | Sewi++ | http://padre.perlide.org/trac/changeset/9181
19:13 Hyppolit Fix for ticket #653
19:13 Hyppolit trunk/PPIx-EditorTools/ trunk/PPIx-EditorTools/lib/PPIx/
19:14 Hyppolit #653: Lexically Rename Variable doesn't work when clicking on declaration of variable (accepted defect) [ http://padre.perlide.org/trac/ticket/653#comment:4 ]
19:14 mib_tsee nice!
19:15 mib_tsee Sewi: thanks for working on the refactoring tools.
19:15 mib_tsee I totally ran out of spare time.
19:15 Sewi mib_tsee: I'm just commiting these things, Pat___ did the patches...
19:16 mib_tsee Pat__: thanks to you, then!
19:17 Hyppolit svn: r9182 | Sewi++ | http://padre.perlide.org/trac/changeset/9182
19:17 Hyppolit Perl tidy
19:17 Hyppolit trunk/Padre/lib/Padre/ trunk/Padre/lib/Padre/Document/ trunk/Padre/lib/Padre/Wx/Dialog/
19:17 Hyppolit #653: Lexically Rename Variable doesn't work when clicking on declaration of variable (closed defect) [ http://padre.perlide.org/trac/ticket/653#comment:5 ]
19:19 Pat__ mib_tsee: my pleasure :-)
20:08 Hyppolit svn: r9183 | CSJewell++ | http://padre.perlide.org/trac/changeset/9183
20:08 Hyppolit Adding a reboot at the end of the MSI.
20:08 Hyppolit trunk/Perl-Dist-Padre/share/
20:09 Hyppolit svn: r9184 | CSJewell++ | http://padre.perlide.org/trac/changeset/9184
20:09 Hyppolit Adding launcher for padre.exe, switching directory back to c:\strawberry.
20:09 Hyppolit trunk/Perl-Dist-Padre/lib/Perl/Dist/
20:10 CSJewell Yes, these mean that a new version of Padre Standalone is about to come out.  I've pointed szabgab to it via e-mail, along with a few other things.
20:28 Sewi CSJewell: We should discuss this with Alias and szabgab, but would it be possible to add a "cpan Padre" at the end of the installer to fetch the newest version?
20:28 Sewi possible = possible without a lot of extra time
20:29 CSJewell Not really. I've ran into occasional problems with running what was installed without requiring a reboot.
20:29 CSJewell a "cpan Padre" would have the same problem.
20:30 CSJewell Better would be to load the CPAN module in Padre and have it do the upgrade off a menu option.
20:30 CSJewell Or is that already being done?
20:31 CSJewell [The current installer requires a reboot in order for the padre.exe to run.]
20:32 * szabgab waves around again
20:32 Sewi It would be a problem because Padre is using the (source) files being updated.
20:32 szabgab I just finished a movie
20:32 szabgab and heading to sleep soon
20:32 Sewi szabgab: Hi, was it a good one?
20:32 szabgab ok
20:33 szabgab do I understand correctly that you suggest to automatically upgrade padre after the installation ?
20:33 Sewi Yes, because otherwise people keep using 0.50 when we just released 0.60 :-(
20:34 CSJewell http://fisheye2.atlassian.com/brows​e/cpan/trunk/Perl-Dist-WiX/lib/Perl​/Dist/WiX/Asset/Module.pm?r=10050, lines 67-106 is how I programatically use CPAN.pm
20:34 Sewi An installation howto which includes a manual update at the end is ok, but not good.
20:34 szabgab I think better to add a tool that will check for newer version of Padre and ask the use if she wants to upgrade
20:34 szabgab maybe once a day or so
20:34 CSJewell What I'm suggesting is that we load CPAN.pm and install Padre on a menu option when we request that.
20:35 szabgab but I would not upgrade immediately after installation
20:35 Sewi Alias and I had a discussion about this some (long) time ago and it won't be easy, but possible.
20:35 szabgab I am not sure we really need this now
20:36 Sewi If it would be just a "execute cpan Padre" line in the MSI, it would be nice but as it's more complicated, we should move this topic to the next MSI
20:36 CSJewell The requirement I would see is to have a short text file to check SOMEWHERE (padre.perlide.org or on the CPAN) that just says what the current version of Padre is.
20:36 CSJewell I don't think it's doable at all.
20:36 szabgab I think it would be quite surprising that you install the latest you could and then it tells you immediately to upgrade ...
20:37 CSJewell (meaning running it at the end of the MSI, considering that we're rebooting at the end of it!)
20:37 Sewi No good way, sure, but default on many Apps.
20:37 CSJewell I agree with you, szabgab.
20:38 szabgab we just have to make sure that all the manual extra configurations we had in the howto are already included
20:38 szabgab and that we package good versions of Padre
20:38 Sewi A friend of mine installed MS Visual Studio and Office today resulting in 1,5GB(!) download of updates, service packs, etc. after installation.
20:38 szabgab and they hate it :-)
20:38 szabgab but I get your point
20:39 Sewi szabgab: This would be best, but packing a MSI seems to be time-consuming.
20:39 szabgab actually if I install ubuntu it immediately wants to upgrade
20:39 szabgab but those are just security upgrades or serious bugs
20:40 szabgab and we can easily upgrade a stable release to one that s a bit broken
20:40 Sewi I want to have a one-click-installer (click to download - installed) for everything but I'm also maintaining a Win App and know that it's a hard job creating setup's for every release.
20:40 szabgab as we would upgrade to the latest
20:40 Sewi sure
20:40 szabgab that's why we have an .msi only about once a month
20:40 * Sewi adding "Help -> Update Padre" menu item to the TODO-before-0.55 list :-)
20:41 CSJewell Here's what I think. We have that "check for updates" option (which could be automatically done once a week).  To detect the need for updates, it just loads the CPAN module, gets the file $CPAN/authors/S/SZ/SZABGAB​/padre-version-readme.txt, and compares that with the currently running version.
20:41 szabgab we will have that with all CPAN
20:42 CSJewell There is a regexp /(readme|\.html|\.txt|\.[xy]ml|\.[pr]df|\.pod)$/i. Filenames matching this regexp can be uploaded as often as you like.
20:42 CSJewell This way, we don't have to depend on the (heavy) CPAN index.
20:43 szabgab i don't know
20:43 szabgab let's think about a bit more
20:43 CSJewell If Padre needs updated, we then tell CPAN.pm to go and get it, install it, and restart Padre.
20:43 szabgab and I should go to slee
20:43 CSJewell Before you do, one question.  Have you read the 2 e-mails from me yet?
20:43 Sewi Sleep well
20:43 szabgab once I thought of having a text file with the list of Padre and its plugins and their version numbers
20:44 szabgab CSJewell, I just saw them
20:44 szabgab let me check
20:44 CSJewell FYI: You'd install those .par files before doing a "cpan Padre" so as not to need to spend the hour building those two modules.
20:45 szabgab oh that is for people with plain strawberry ?
20:45 CSJewell Yes.
20:45 szabgab so as I am heading to sleep would you change the website to link to these files?
20:46 szabgab and then you can announce it or I can announce it tomorrow
20:46 CSJewell I'd prefer you announce tomorrow, OK?
20:46 CSJewell I'm needing a nap myself.
20:46 szabgab ok
20:46 szabgab thank you anyway!
20:46 CSJewell You're welcome.
20:49 CSJewell sewi: The final successful MSI-packing run takes 2 hours on a reasonably fast machine, using a .par for Alien::wxWidgets [add 30 minutes for building it, too.].  [My slow laptop would take 4, plus about an hour for Alien::wxWidgets]. But that's after I've written any code that was needed, done any updates required, done the testing, etc.
20:49 pece joined #padre
20:50 CSJewell Then the uploading (because I'm on a slow Internet connection) takes about 3 hours.
20:50 CSJewell 40mb for the MSI, 50mb for the .zip file.
20:52 Sewi Plus your work time for preparing the scripts, etc. - one day per release?
20:58 Hyppolit svn: r9185 | CSJewell++ | http://padre.perlide.org/trac/changeset/9185
20:58 Hyppolit Updating building directions.
20:58 Hyppolit trunk/Perl-Dist-Padre/
20:58 mib_tsee Note for the record: The plan to just update cpan.org/CPAN/.../S/SZ/SZABGAB/padre_versions.txt is not going to gly.
20:58 mib_tsee *fly
20:58 CSJewell More like 2-3.
20:58 mib_tsee You can never upload the same file to CPAN twice.
20:59 CSJewell mib_tsee: There is a regexp /(readme|\.html|\.txt|\.[xy]ml|\.[pr]df|\.pod)$/i. Filenames matching this regexp can be uploaded as often as you like.
20:59 Sewi But we could place it on padre.perlide.org
20:59 mib_tsee You know, you can put more stuff in .par's so you don't have to rebuild as much...
20:59 CSJewell (from https://pause.perl.org/pause/au​thenquery?ACTION=pause_04about )
20:59 mib_tsee Cf. PAR::Dist::FromCPAN :)
20:59 mib_tsee Oh, shit, I missed that. Sorry.
20:59 CSJewell We test most of the modules, too, in that 2 hours.
21:00 mib_tsee That'd be the big win in time. But maybe running the tests isn't such a bad thing.
21:00 mib_tsee Anyhow. Back to TV. Just trying to help :)
21:01 mr_chip joined #padre
21:01 CSJewell sewi: Make it 2 days, because I'm often having to make small updates to Perl::Dist::Padre because of stuff I've done to Perl::Dist::WiX|Strawberry.
21:01 Hyppolit svn: r9186 | CSJewell++ | http://padre.perlide.org/trac/changeset/9186
21:01 Hyppolit perltidy/perlcritic run.
21:01 Hyppolit trunk/Perl-Dist-Padre/ trunk/Perl-Dist-Padre/lib/Perl/Dist/ trunk/Perl-Dist-Padre/t/settings/
21:02 code4pay joined #padre
21:04 CSJewell Got Perl::Dist::Padre 0.500 uploading now, and now I'm going to take that nap.
21:05 * CSJewell &
21:07 Sewi gn8 CSJewell and thank you!
21:25 Hyppolit svn: r9187 | CSJewell++ | http://padre.perlide.org/trac/changeset/9187
21:25 Hyppolit Tagging Perl::Dist::Padre 0.500
21:25 Hyppolit tags/
21:43 waxhead joined #padre
21:44 Sewi good night
21:50 waxhead morning!  :)
22:07 waxhead joined #padre
22:07 waxhead ok.. back.. changed laptops the intel 802.11n card in the other one has real problems.. :(
22:07 waxhead need to set everything up again...
22:07 waxhead sigh
22:09 SvenDowideit joined #padre
22:29 CromeDome joined #padre

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