Camelia, the Perl 6 bug

IRC log for #padre, 2009-09-28

| 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:44 Hyppolit #612: Prevent loading the same file twice (new defect) [ http://padre.perlide.org/trac/ticket/612 ]
00:45 Hyppolit #613: Copy Ultraedit's "file dissapeared" semantics (new defect) [ http://padre.perlide.org/trac/ticket/613 ]
01:20 Fayland joined #padre
01:38 Hyppolit svn: r8411 | fayland++ | http://padre.perlide.org/trac/changeset/8411
01:38 Hyppolit update zh-cn
01:38 Hyppolit trunk/Padre/share/locale/
01:40 kthakore joined #padre
01:43 Fayland padre costs 110M, UE costs 24M
02:03 mohsen joined #padre
02:14 Alias Padre is overstated
02:15 Alias Because we have the entire STD.pm in there
02:15 mohsen joined #padre
03:37 CSJewell joined #padre
03:46 SvenDowideit joined #padre
05:19 finanalyst joined #padre
05:30 * Alias has emailed phillipadsmith about contributing a splash screen
05:31 Sewi joined #padre
05:32 Sewi good morning
05:35 Alias \o
05:37 Ryan52 Alias++
05:37 Alias Ryan52: I'd meant to do it earlier, but when I found out he is now also a Padre user, it made even more sense
05:42 Hyppolit #612: Prevent loading the same file twice (new defect) [ http://padre.perlide.org/trac/ticket/612#comment:1 ]
05:44 Ryan52 Sewi: so what ever happened with your test failure?
05:47 finanalyst left #padre
05:48 Sewi It turned out that the Win32-API-Call on some WinXP machines failes if there is a relative path and it doesn't do the filename translation at all, even with the correct path.
05:48 Sewi Vista and others seem to be no problem - the API call is working there.
05:57 Hyppolit svn: r8412 | Sewi++ | http://padre.perlide.org/trac/changeset/8412
05:57 Hyppolit Fixed a sleepy-typo
05:57 Hyppolit trunk/Padre/lib/Padre/Wx/
06:02 Ryan52 so...we fix/address this how and how urgent is it? (from what I hear not very..)
06:05 Sewi As it seems to be a XP only problem and even if the test is failing, Padre is still working, we should leave out this test for the next release if we made no XP workaround. And we should be prepared for XP people entering this channel and asking for upgrade-help.
06:07 Ryan52 in that case...would you mind disabling the test?
06:08 Ryan52 since you have it reproduced.
06:08 Sewi If it's possible, it would be a good idea. Padre looses the ability to see C:\dir\file and C:/DIR/FILE as the same file but that's all.
06:10 kaare joined #padre
06:21 CSJewell Could we TODO the test instead, rather than removing it?
06:21 Sewi CSJewell: sure, I think.
06:26 patspam Alias: what are the advantages of moving a plugin to the main padre svn repo?
06:26 azawawi joined #padre
06:26 Sewi Good morning azawawi
06:27 azawawi good morning :)
06:27 Hyppolit #611: File | Open does not support UNC path (assigned defect) [ http://padre.perlide.org/trac/ticket/611#comment:1 ]
06:31 zloyrusskiy joined #padre
06:33 Sewi Alias, szabgab: You tried this under windows?
06:34 * azawawi reads Alias's article
06:37 Hyppolit #612: Prevent loading the same file twice (accepted defect) [ http://padre.perlide.org/trac/ticket/612#comment:2 ]
06:39 Hyppolit svn: r8413 | azawawi++ | http://padre.perlide.org/trac/changeset/8413
06:39 Hyppolit Adding an article to about page. Alias++
06:39 Hyppolit trunk/template.padre.perlide.org/data/
06:39 Hyppolit svn: r8414 | Sewi++ | http://padre.perlide.org/trac/changeset/8414
06:39 Hyppolit Fix for ticket #612, please try under Windows
06:39 Hyppolit trunk/Padre/lib/Padre/Wx/
06:39 azawawi ok
06:39 Hyppolit #612: Prevent loading the same file twice (accepted defect) [ http://padre.perlide.org/trac/ticket/612#comment:3 ]
06:40 Fayland joined #padre
06:40 azawawi Sewi: works fine with open and drag-n-drop
06:41 Sewi azawawi: thanks. I guess this is the same bug which made us create the filename-reformat-things
06:42 azawawi yeah
06:42 azawawi #382
06:42 Hyppolit #382: Create new file fom commandline (assigned defect) [ http://padre.perlide.org/trac/ticket/382#comment:1 ]
06:42 Hyppolit #612: Prevent loading the same file twice (closed defect) [ http://padre.perlide.org/trac/ticket/612#comment:4 ]
06:42 azawawi Take a look at #382 please
06:42 Hyppolit #382: Create new file fom commandline (assigned defect) [ http://padre.perlide.org/trac/ticket/382#comment:1 ]
06:42 * Sewi planns to get rid of $document->filename until the next release.
06:42 SvenDowideit_ joined #padre
06:43 azawawi Sewi: deprecate it first :)
06:44 Sewi azawawi: Sounds dump... how? I planned to change every place to doc->file->filename
07:03 jq hi
07:05 Sewi Hi jq
07:07 Sewi azawawi: #382: I think it's depreached and did only apply if you're using a single-instance-Padre (I usually use one instance per project). Ubuntu fires an error when opening a nonexistent file via commandline but it comes from Padre::File and I'll face it.
07:07 Hyppolit #382: Create new file fom commandline (assigned defect) [ http://padre.perlide.org/trac/ticket/382#comment:1 ]
07:12 Hyppolit svn: r8415 | Sewi++ | http://padre.perlide.org/trac/changeset/8415
07:12 Hyppolit Convert Padre::File->{Filename} to Padre::File->{filename}
07:12 Hyppolit trunk/Padre/lib/Padre/
07:13 Hyppolit svn: r8416 | Sewi++ | http://padre.perlide.org/trac/changeset/8416
07:13 Hyppolit Also convert Padre::File protocol modules for lower case filename variable
07:13 Hyppolit trunk/Padre/lib/Padre/File/
07:14 Hyppolit svn: r8417 | Sewi++ | http://padre.perlide.org/trac/changeset/8417
07:14 Hyppolit Add a Padre::File->filename method
07:14 Hyppolit trunk/Padre/lib/Padre/
07:14 Hyppolit svn: r8418 | Sewi++ | http://padre.perlide.org/trac/changeset/8418
07:14 Hyppolit Fixed a missing definition
07:14 Hyppolit trunk/Padre/lib/Padre/
07:21 Hyppolit svn: r8419 | Sewi++ | http://padre.perlide.org/trac/changeset/8419
07:21 Hyppolit Updated Document from Filename to filename
07:21 Hyppolit trunk/Padre/lib/Padre/
07:29 daxim joined #padre
07:33 kentnl joined #padre
07:36 Hyppolit svn: r8420 | Sewi++ | http://padre.perlide.org/trac/changeset/8420
07:36 Hyppolit Fixed a wrong text in replace
07:36 Hyppolit trunk/Padre/lib/Padre/Wx/Dialog/
07:37 Hyppolit svn: r8421 | Sewi++ | http://padre.perlide.org/trac/changeset/8421
07:37 Hyppolit Updated Changes
07:37 Hyppolit trunk/Padre/
07:39 Alias Sewi++ #612
07:39 Hyppolit #612: Prevent loading the same file twice (closed defect) [ http://padre.perlide.org/trac/ticket/612#comment:4 ]
07:40 Sewi Getty: #612 was closed 58 minutes ago.
07:40 Hyppolit #612: Prevent loading the same file twice (closed defect) [ http://padre.perlide.org/trac/ticket/612#comment:4 ]
07:41 Hyppolit svn: r8422 | Sewi++ | http://padre.perlide.org/trac/changeset/8422
07:41 Hyppolit Made Padre::File::exists fallback more intelligent
07:41 Hyppolit trunk/Padre/lib/Padre/
08:00 Alias Sewi: Someone reports a bug in my use.perl comments
08:00 Alias http://use.perl.org/comments.pl?sid=43885
08:00 Alias (Just an FYI if you're in the bug-fixing mood)
08:02 Sewi Alias: This is exactly the test which annoys us under win-XP. It should only run under Win. What about adding a t.dev for tests which shouldn't run on user side (things to test but not things to stop installation)?
08:03 Alias You can't do that
08:03 Alias Why run a test if it isn't important
08:03 Alias Instead you skip unless $ENV{AUTOMATED_TESTING}
08:03 Alias Or skip unless $ENV{RELEASE_TESTING}
08:03 Alias Those are the two conventions for 1. CPAN Testers, and 2. Author-only tests
08:04 Alias The problem that guy reports is that someone did $^O =~ /win/
08:04 Alias Which is BAD
08:04 Alias $^O eq 'darwin'
08:04 Alias I'm thinking of adding something to badcode.t to test that all interactions with $^O are literal
08:04 Alias Forbid regexes
08:05 Hyppolit svn: r8423 | Sewi++ | http://padre.perlide.org/trac/changeset/8423
08:05 Hyppolit Fixed test 93 which shouldn't run on "darwin" (thanks to Accidental Angel @ Alias blog)
08:05 Hyppolit trunk/Padre/t/
08:07 Sewi Alias: fixed by r8423. We should enable t93 only for automated tests, you're right.
08:07 Hyppolit Changeset #8423 http://padre.perlide.org/trac/changeset/8423
08:11 Sewi Alias: Could you re-test #612, please?
08:11 Hyppolit #612: Prevent loading the same file twice (closed defect) [ http://padre.perlide.org/trac/ticket/612#comment:4 ]
08:13 Hyppolit svn: r8424 | Sewi++ | http://padre.perlide.org/trac/changeset/8424
08:13 Hyppolit Limited test to automatic testing, running it otherwise won't stop installation
08:13 Hyppolit trunk/Padre/t/
08:27 Alias Sewi: Rgr
08:37 Alias_ joined #padre
09:36 rindolf joined #padre
09:38 Haarg joined #padre
09:53 ppant joined #padre
09:57 SvenDowideit_ joined #padre
09:59 zloyrusskiy joined #padre
10:07 flamey joined #padre
10:09 flamey hi everyone! i want to try out Padre. I have ActivePerl 5.10 installed, and I see Padre installer comes with Strawbarry Perl bundled... Will they not conflict?
10:09 flamey I want to continue to use ActivePerl or running my scripts
10:15 Sewi flamey: Hi! If you already have ActivePerl, just try installing it via CPAN.
10:16 Sewi Try "cpan Padre" or inside your CPAN client "install Padre"
10:18 flamey ok, I started it, we'll see. thanks!
10:20 flamey i'm just worried it won't work, as I saw somwhere it was using wxPerl (?), but when I tried to install wxPerl modules I couldn't use them as it was complaining about some missing .dll's, and i couldn't figure it out
10:24 flamey Sewi, lets say it installs successfully. how would I run it? will it create shortcuts like installer does?
10:28 Sewi flamey: I don't use Perl on Win myself, but you should get a padre.exe somewhere. I don't think it could create a shortcut like the installer.
10:29 Sewi If everything else fails, there is a "padre" Perl script which could be launched like every other Perl script.
10:32 Hyppolit #355: Padre does not rebuild wxPerl automatically if it was not built by unicode support (new enhancement) [ http://padre.perlide.org/trac/ticket/355#comment:4 ]
10:47 patspam Alias: ping
10:49 teejay quick question to anybody.. is there a standard date/time module we're using in padre core ?
10:53 Sewi teejay: No Date::Dependency in Makefile.PL, doesn't seem so.
10:59 flamey my install will fail. it trys to run cl.exe which is not in my "path" variable
11:00 flamey I'll try it again, I hope it'll work with cl.exe from VS2005
11:01 waxhead joined #padre
11:05 Sewi ping CSJewell
11:23 Sewi flamey: Sorry, no one of our Win experts seems to be here atm.
11:38 Hyppolit #614: Case Insensitive search checkbox is backwards (new defect) [ http://padre.perlide.org/trac/ticket/614 ]
11:47 Hyppolit #504: Lexically Rename Variable (closed defect) [ http://padre.perlide.org/trac/ticket/504#comment:4 ]
11:48 zloyrusskiy flamey, install wxPerl through PPM
11:50 zloyrusskiy flamey, you can run padre with Ctrl+R and typing padre
12:19 flamey wow, it's still trying to install it.... damn
12:19 waxhead joined #padre
12:20 flamey zloyrusskiy, i did (via wxperl.co.uk, it wasn't available in ActiveState's repository), and it went through ok
12:21 flamey but when I tried to run perl -Mwx it gave me error
12:21 flamey some dlls missing
12:21 flamey i searched for them and they weren't there
12:21 GabrielVieira joined #padre
12:21 flamey and they we not in the package
12:23 Hyppolit #614: Case Insensitive search checkbox is backwards (accepted defect) [ http://padre.perlide.org/trac/ticket/614#comment:1 ]
12:25 flamey im thinking now that maybe it didn't go all that well. maybe it was trying to compile those dlls, but failed since i don't have compiler in path. yet it said all went well
12:28 Hyppolit #614: Case Insensitive search checkbox is backwards (closed defect) [ http://padre.perlide.org/trac/ticket/614#comment:2 ]
12:29 patspam Sewi: that was fast!
12:29 zloyrusskiy flamey, when install modules through ppm it doesn't install anything, i't copying binary files (i think, but not sure)
12:30 Sewi patspam: Even faster than light - the patch is a few days old :-)
12:30 Sewi I did the same for the replace dialog yesterday or today.
12:30 patspam I'd like to see the Feynman diagram for that
12:32 CSJewell Seqi: pong
12:32 CSJewell Sewi: pong
12:32 Sewi CSJewell: could you help flamey?
12:33 flamey zloyrusskiy, spasibo :) i interruped the install and trying something else now.
12:34 CSJewell Not much help, I'm afraid.  Some ppm repositories have Wx, if I recall correctly. He could go that route.
12:34 flamey Sewi, thanks. i just installed MinGW, and will try to install Alien::wxWidgets and wx
12:35 flamey then if that doesn't work, i'll run ms batch to get all path setup for cl.exe, and then try padre install again
12:36 flamey mayeb if that works it can be added to some wiki, for noobs like me
12:36 mib_dyuo85 joined #padre
12:37 mib_dyuo85 hi, I'm trying to install Padre 0.47 via CPAN, but it stops at test t/92-padre-file.t
12:38 mib_dyuo85 it freezes on ok( $file->size > 0,            'HTTP: file size' );
12:38 CSJewell Going back to bed.
12:39 mib_dyuo85 the problem seems to be on Padre::File::HTTP::_request(​lib/Padre/File/HTTP.pm:36):             my $Result = $self->{UA}->request($HTTP_Req);
12:40 mib_dyuo85 where $HTTP_Req is a HEAD request to 'http://padre.perlide.org/about.html'
12:42 mib_dyuo85 I wonder if it would be possible to make those HTTP tests optional -- since people may have connection/proxy/firewall problems when they try to install Padre?
12:45 mib_dyuo85 ah.. just found the solution!
12:45 mib_dyuo85 lib/Padre/File/HTTP.pm 36     $self->{UA}->env_proxy(); # Load proxy settings from *_proxy environment variables
12:46 mib_dyuo85 it is necessary to add this line to lib/Padre/File/HTTP.pm, so it will use the *_proxy environment variables
12:47 mib_dyuo85 can someone apply this patch to lib/Padre/File/HTTP.pm ?
12:47 mib_dyuo85 (otherwise people behind a proxy may not be able to install Padre)
13:00 flamey nothing works, I'm giving up for now. will try this at home
13:06 dolmen joined #padre
13:07 dolmen Any dev listening?
13:07 dolmen t/92-padre-file.t is failing because I'm behind a proxy
13:08 Sewi mib_dyuo85: Thanks, I'll do the patch
13:08 dolmen Padre::File::HTTP should call $self->{UA}->env_proxy
13:14 Hyppolit svn: r8425 | Sewi++ | http://padre.perlide.org/trac/changeset/8425
13:14 Hyppolit Respect proxy settings from environment (mib_dyou85++, dolmen++)
13:14 Hyppolit trunk/Padre/lib/Padre/File/
13:18 teejay dolmen, sewi just patched
13:25 Sewi dolmen: You may skip/remove this test or force install if HTTP is everything which has problems...
13:46 dolmen Hourrah !
13:50 dolmen Also the LWP::UserAgent dependency should be added in Makefile.PL
13:50 dolmen at least as a test_requires
14:02 PacoLinux joined #padre
14:10 Sewi dolmen: Another solution is on the way, will be ready for 0.48
14:13 [Error81] joined #padre
14:16 dolmen Sewi++
14:16 dolmen karma Sewi
14:16 Hyppolit Karma of Sewi is 329
14:38 dolmen dir C:\strawberry\perl\bin\padre*
14:38 dolmen padre
14:38 dolmen padre.bat
14:38 dolmen padre.exe
14:38 dolmen padre.exe.bat
14:39 Sewi padre.exe is a padre.bat launcher and padre.bat is a perl script :-)
14:39 dolmen padre.exe.bat is padre.exe through pl2bat
14:39 dolmen padre and padre.bat are date 18/9 (my previous install of Padre)
14:39 Sewi padre.exe.bat is neccessary but you need to ask azawawi, why :-)
14:40 dolmen padre.exe and padre.exe.bat are from today (Padre 0.47)
14:40 dolmen anyway, Padre is not starting at all
14:49 Sewi dolmen: What happens?
14:53 Haarg joined #padre
14:55 Hyppolit svn: r8426 | Sewi++ | http://padre.perlide.org/trac/changeset/8426
14:55 Hyppolit Update Changes
14:55 Hyppolit trunk/Padre/
14:55 Hyppolit svn: r8427 | Sewi++ | http://padre.perlide.org/trac/changeset/8427
14:55 Hyppolit Perl tidy
14:55 Hyppolit trunk/Padre/lib/Padre/Wx/
14:55 Hyppolit svn: r8428 | Sewi++ | http://padre.perlide.org/trac/changeset/8428
14:55 Hyppolit Perl tidy (missed one file before)
14:55 Hyppolit trunk/Padre/lib/Padre/
14:58 Hyppolit svn: r8429 | Sewi++ | http://padre.perlide.org/trac/changeset/8429
14:58 Hyppolit Fixed a Filename -> filename in Padre::File::HTTP
14:58 Hyppolit trunk/Padre/lib/Padre/File/
15:00 dolmen Sewi: nothing. That's the problem.
15:00 dolmen Sewi: the padre.exe process is immediately disappearing
15:01 dolmen Sewi: no window shown
15:02 Sewi Which OS?
15:02 dolmen WinXP
15:02 dolmen padre.bat is starting ok
15:02 * Sewi trying...
15:02 dolmen but this is a remain of a previous install, not 0.47
15:03 Sewi does it start 47?
15:03 dolmen Now, both "padre", "padre.exe" and "padre.bat" works !
15:04 dolmen Looks like running "padre.bat" fiexed something...
15:05 Sewi Hmm
15:05 Sewi I just tried perl C:\strawberry\Padre\script\padre
15:08 Hyppolit svn: r8430 | Sewi++ | http://padre.perlide.org/trac/changeset/8430
15:08 Hyppolit Fixed: Used key instead of hash-value
15:08 Hyppolit trunk/Padre/lib/Padre/
15:31 dolmen Where is the source of script/padre.exe?
15:32 Sewi http://padre.perlide.org/trac​/browser/trunk/PadreLauncher
15:34 azawawi joined #padre
15:34 Sewi Hi azawawi
15:34 azawawi dolmen: hi
15:34 Sewi dolmen has a problem with PadreLauncher
15:34 azawawi hi Sewi
15:34 azawawi kill wperl.exe
15:34 * dolmen hasn't a problem anymore.
15:35 dolmen but I don't know how it fixed itself...
15:35 azawawi padre.exe launches wperl.exe ...padre
15:35 azawawi maybe that process died
15:35 dolmen I had to run padre.bat once to make padre.exe work
15:36 azawawi 0.47 or trunk?
15:36 Sewi 47
15:36 dolmen 0.47
15:36 azawawi one min plz
15:38 azawawi single instance on?
15:40 azawawi does padre.exe work now?
15:40 dolmen now works
15:41 azawawi cool then :)
15:41 dolmen Would it be possible to get a commit bit?
15:41 azawawi was single instance on?
15:41 dolmen how can i check this?
15:41 azawawi edit > prefs -> open in existing...
15:42 azawawi dolmen: sure, ask szabgab or email him
15:42 dolmen not single instance
15:43 azawawi hmmm
15:43 azawawi maybe it died
15:43 azawawi or was an old instance
15:44 azawawi if it happens again, please report it
15:46 azawawi dolmen: please check the modification date on padre.bat
15:48 azawawi &
15:53 kaare joined #padre
17:55 tsee joined #padre
18:29 Hyppolit svn: r8431 | Sewi++ | http://padre.perlide.org/trac/changeset/8431
18:29 Hyppolit Common function to get Padre's revision number
18:29 Hyppolit trunk/Padre/lib/Padre/
18:32 Getty really with "r"? ;)
18:33 Sewi Common function to get Pade's evision numbe?
18:34 Hyppolit svn: r8432 | Sewi++ | http://padre.perlide.org/trac/changeset/8432
18:34 Hyppolit Use common revision number function instead of own copy
18:34 Hyppolit trunk/Padre/lib/Padre/Wx/
18:36 Sewi Did you read about Hyppolit's lunch break? :-)
18:37 Sewi Getty: 09:39Hyppolit#612: Prevent loading the same file twice (closed defect) [ http://padre.perlide.org/trac/ticket/612#comment:4 ]
18:37 Sewi 09:40SewiGetty: #612 was closed 58 minutes ago.
18:37 Hyppolit #612: Prevent loading the same file twice (closed defect) [ http://padre.perlide.org/trac/ticket/612#comment:4 ]
18:37 Hyppolit #612: Prevent loading the same file twice (closed defect) [ http://padre.perlide.org/trac/ticket/612#comment:4 ]
18:39 Getty mh?
18:39 Getty ah ok
19:10 CromeDome joined #padre
19:13 Hyppolit svn: r8433 | Sewi++ | http://padre.perlide.org/trac/changeset/8433
19:13 Hyppolit Add new Padre::Task::HTTPClient and ::LWP - modul
19:13 Hyppolit trunk/Padre/lib/Padre/Task/ trunk/Padre/lib/Padre/Task/HTTPClient/
19:15 Hyppolit svn: r8434 | Sewi++ | http://padre.perlide.org/trac/changeset/8434
19:15 Hyppolit Now really add the new HTTPClient module
19:15 Hyppolit trunk/Padre/lib/Padre/Task/
19:16 Hyppolit svn: r8435 | Sewi++ | http://padre.perlide.org/trac/changeset/8435
19:16 Hyppolit PopularityContest module at 100% - all we need is a server.
19:16 Hyppolit trunk/Padre/lib/Padre/Plugin/
19:35 Hyppolit svn: r8436 | Sewi++ | http://padre.perlide.org/trac/changeset/8436
19:35 Hyppolit Perl tidy
19:35 Hyppolit trunk/Padre/lib/Padre/ trunk/Padre/lib/Padre/Plugin/ trunk/Padre/lib/Padre/Task/ trunk/Padre/lib/Padre/Task/HTTPClient/ trunk/Padre/lib/Padre/Wx/
19:47 Hyppolit svn: r8437 | Sewi++ | http://padre.perlide.org/trac/changeset/8437
19:47 Hyppolit Updated documentation
19:47 Hyppolit trunk/Padre/lib/Padre/Task/ trunk/Padre/lib/Padre/Task/HTTPClient/
19:54 dolmen joined #padre
19:57 Hyppolit svn: r8438 | Sewi++ | http://padre.perlide.org/trac/changeset/8438
19:57 Hyppolit PopularityContest documentation
19:57 Hyppolit trunk/Padre/lib/Padre/Plugin/
19:58 dolmen seen szabgab
19:58 Hyppolit svn: r8439 | Sewi++ | http://padre.perlide.org/trac/changeset/8439
19:58 Hyppolit Updated Changes
19:58 Hyppolit trunk/Padre/
20:02 azawawi joined #padre
20:02 Sewi Hi azawawi
20:02 Sewi What do you think, how should the populartiycontest data be stored and analyzed?
20:08 azawawi hi
20:09 azawawi i just woke up :)
20:10 Sewi I'll go to sleep soon :-)
20:12 Hyppolit svn: r8440 | Sewi++ | http://padre.perlide.org/trac/changeset/8440
20:12 Hyppolit Updates messages.pot
20:12 Hyppolit trunk/Padre/share/locale/
20:13 Hyppolit svn: r8441 | Sewi++ | http://padre.perlide.org/trac/changeset/8441
20:13 Hyppolit First steps of removing document->filename
20:13 Hyppolit trunk/Padre/lib/Padre/
20:13 kthakore left #padre
20:15 * azawawi improves smart highlighting
20:18 azawawi Sewi: you're working on Document?
20:19 Hyppolit svn: r8442 | Sewi++ | http://padre.perlide.org/trac/changeset/8442
20:19 Hyppolit Perl tidy
20:19 Hyppolit trunk/Padre/lib/Padre/
20:19 Sewi azawawi: Just done. Hopefully I didn't introduce too many typos and bugs :-)
20:21 azawawi it croaks...
20:23 Sewi ???
20:23 Sewi Where? It runs here...
20:28 Hyppolit svn: r8443 | azawawi++ | http://padre.perlide.org/trac/changeset/8443
20:28 Hyppolit [Padre] Smart highlighting if you're selecting something :)
20:28 Hyppolit trunk/Padre/lib/Padre/Wx/
20:28 azawawi let me check it again
20:29 azawawi $ perl dev.pl => Can't call method "filename" on an undefined value at C:/tools/padre/Padre/lib/P adre/Document.pm line 713.
20:29 azawawi close open document and boom!
20:39 Hyppolit svn: r8444 | azawawi++ | http://padre.perlide.org/trac/changeset/8444
20:39 Hyppolit [Padre] Fixed a strange case where 0 was not being smart highlighted.
20:39 Hyppolit trunk/Padre/lib/Padre/Wx/
20:40 Hyppolit svn: r8445 | azawawi++ | http://padre.perlide.org/trac/changeset/8445
20:40 Hyppolit [Padre] Perl tidy...
20:40 Hyppolit trunk/Padre/lib/Padre/Plugin/ trunk/Padre/lib/Padre/Task/HTTPClient/ trunk/Padre/lib/Padre/Wx/
20:46 Hyppolit svn: r8446 | azawawi++ | http://padre.perlide.org/trac/changeset/8446
20:46 Hyppolit [Padre] Fixed a bug that happens when one closes the document (introduced in r8441)
20:46 Hyppolit trunk/Padre/lib/Padre/
20:54 Hyppolit svn: r8447 | azawawi++ | http://padre.perlide.org/trac/changeset/8447
20:54 Hyppolit [Padre] More refactoring to make the smart highlighting and the CTRL-L look better
20:54 Hyppolit trunk/Padre/lib/Padre/Wx/
21:10 Hyppolit svn: r8448 | azawawi++ | http://padre.perlide.org/trac/changeset/8448
21:10 Hyppolit [Padre] Optimize smart highlighting by limiting it to -100 to +100 of the current line.
21:10 Hyppolit trunk/Padre/lib/Padre/Wx/
21:12 Sewi azawawi: Thanks for fixing
21:13 Hyppolit svn: r8449 | azawawi++ | http://padre.perlide.org/trac/changeset/8449
21:13 Hyppolit [Padre] +-100 is now +-400
21:13 Hyppolit trunk/Padre/lib/Padre/Wx/
21:14 azawawi Sewi: svn up and try smart highlighting please on linux
21:14 azawawi smart highlight as you select
21:14 Sewi azawawi: How to try?
21:14 Hyppolit svn: r8450 | azawawi++ | http://padre.perlide.org/trac/changeset/8450
21:14 Hyppolit [Padre] Perl tidy...
21:14 Hyppolit trunk/Padre/lib/Padre/Wx/
21:15 Sewi highlighting seems to work as it used to.
21:16 Hyppolit svn: r8451 | azawawi++ | http://padre.perlide.org/trac/changeset/8451
21:16 Hyppolit [Padre] Updated Changes
21:16 Hyppolit trunk/Padre/
21:16 azawawi Sewi: select stuff and move :)
21:16 Sewi the selected things are still highlighted.
21:17 azawawi using the keyboard?
21:18 Sewi Any keypress after shift is up again removes the selection, selecting via keyword also keep it highlighted
21:18 azawawi yeah
21:19 azawawi that's the behavior i was looking for
21:19 Sewi good
21:19 azawawi need to handle select word...
21:20 azawawi actually it works by chance :)
21:20 azawawi hehe
21:20 Sewi What do you think, how should the populartiycontest data be stored and analyzed?
21:20 Sewi On Padre's side, it's a hash full of counts and some metadata
21:21 azawawi give me an example please
21:21 azawawi of the structure
21:21 azawawi with more data
21:22 Sewi you saw it... each key is the action name (file.open, file.new), the value is the number of times this action was used. There are some version and OS information and an "instance ID" which represents a running Padre.
21:23 Sewi The idea is to keep only the latest report of an instance (which includes all data), otherwise older data would be counted once from every report.
21:23 Sewi I'll create a sample...
21:23 azawawi the table structure you mean?
21:23 Sewi I don't really know if a SQL database would be the right place for the raw data...
21:24 azawawi database is always the best place to put data :)
21:24 azawawi DATAbase :)
21:24 azawawi because you can query it later and find interesting info
21:25 azawawi SQLite would do the trick here
21:25 Sewi Yes, but it has many drawbacks, the biggest one is the fixed table structure.
21:26 Sewi actions are some kind of dynamic, there is no "complete and final" list of them, even plugins may add them.
21:26 azawawi but it avoids the locking issues
21:27 azawawi which reminds me i tried today doing master-master master-slave mySQL replication :)
21:27 azawawi fun fun :)
21:27 * Sewi advoids mySQL whereever possible :-)
21:27 azawawi yeah
21:28 azawawi i like postgresql but you know :)
21:29 azawawi hmmm tell you what you could do
21:29 azawawi store the json or yaml in a blog
21:29 azawawi and parse it later :)
21:29 azawawi in a table
21:30 Sewi Nice idea.
21:30 azawawi s/blog/blob
21:30 azawawi :)
21:30 azawawi and... you can use the user's as the key
21:30 Sewi Currently I'm just converting it to HTTP arguments. :-)
21:30 azawawi id..
21:31 Sewi The is no user ID :-) Just the instance ID to keep everything anonymous. I wanted to use the PID and time within the instance ID but didn't do because people may feed watched :-)
21:32 azawawi yeah that's it
21:32 azawawi and add a timestamp to it to make it unique
21:32 azawawi so $instance_id, $timestamp, $data
21:32 azawawi that's your table
21:34 Sewi Why not just insert and on_duplicate replace the line with the instance ID? It's 64 byte long with ~62 chars of namespace, shouldn't get collisions :-)
21:34 * azawawi thinks about rename as your type :)
21:34 azawawi Sewi: hehe, you'll need the timestamp anyway
21:34 Sewi why?
21:34 azawawi Sewi: to know when it was received
21:35 azawawi Sewi: without pulling out all the data to be parsed :)
21:35 Sewi you're right, we should have stats "per month" to see usage change after releases, blogs/news, etc.
21:36 azawawi Sewi: i think we need to make it absolutely clear when it is enabled what does it do...
21:36 azawawi Sewi: privacy issues...
21:36 Hyppolit svn: r8452 | Sewi++ | http://padre.perlide.org/trac/changeset/8452
21:36 Hyppolit Another defined(file)
21:36 Hyppolit trunk/Padre/lib/Padre/
21:36 Sewi http://pastebin.ca/1583243
21:37 Hyppolit svn: r8453 | Sewi++ | http://padre.perlide.org/trac/changeset/8453
21:37 Hyppolit Let PopularityContest temporary dump the data to a file
21:37 Hyppolit trunk/Padre/lib/Padre/Plugin/
21:37 azawawi Sewi: and remember to kill crlf/cr from $data :)
21:38 Sewi It's transmitted as file.open=1&file.new=2&_OS=linux...
21:38 Sewi :-)
21:39 azawawi in POST?
21:39 Sewi sure
21:39 azawawi escape escape :)
21:40 azawawi escape the url as always ... i really hate when something breaks because of that
21:40 SvenDowideit_ joined #padre
21:40 azawawi how do we get more information about the running perl
21:40 Sewi I promised you a new function yesterday. Today I discovered that is wasn't that new, but it was non-working.
21:40 azawawi internals
21:41 azawawi yeah that happened to me twice
21:41 azawawi what was it?
21:41 Sewi Now we have a working Padre::Task::HTTPClient which doesn't require any Padre dependencies.
21:41 Sewi Currently, it needs LWP but I (or others) should/will add more possible transport modules before the release.
21:42 Sewi The idea is to use what's there and advoid new dependencies which are far far away from being needed for core.
21:43 azawawi yeah
21:44 Sewi It walks though the transport modules looking for a working one. As soon it found one, this should be stored in the config and tried first next time.
21:50 ribasushi joined #padre
21:50 ribasushi do you guys make debian packages by chance?
21:50 Sewi hi ribasushi
21:50 ribasushi Sewi: yo
21:51 Sewi There should be debian packages on debian sid...
21:51 Sewi Otherwise you could just type "cpan Padre" which should also do the job :-)
21:52 azawawi http://packages.debian.org/search?keywords=padre
21:52 azawawi 0.42 hmmm
21:52 Sewi azawawi: Debian never uses current versions :-)
21:52 azawawi your best choice now is to use cpan :)
21:52 azawawi Sewi: yeah
21:53 Sewi ribasushi: 0.42 is a good place to start with to get a bounch of dependencies satisfied, but you really should upgrade to CPAN version as we have about two releases per month :-)
21:54 Sewi azawawi: Did you try the "new" test 93?
21:54 ribasushi Sewi: fair nuff
21:54 ribasushi jawnsy is not keeping up
21:55 ribasushi we get dbic on sid within 48h normally :)
21:55 azawawi i think it is the new splash problem?
21:55 Sewi It is.
21:56 azawawi so why do he add only Padre without the butterfly
21:56 Sewi azawawi: Ryan should build a debian version - without the splash
21:56 azawawi s/do/doesnt
21:56 azawawi Ryan52: el-pingo
21:56 Sewi Or just replace the splash by a "censored by Debian" picture :-)
21:56 azawawi or draw a butterfly by hand
21:57 Sewi I could get one from my daughters school class if we want, they'ld be happy :-)
21:57 azawawi crayola Padre
21:58 azawawi it is a nice idea :)
21:58 azawawi since we're starting to be an IDE...
21:58 Sewi Okay, I'll ask them and then let's see what we get :-)
21:58 azawawi how about a kid's vision of an IDE
21:58 azawawi explain IDE :)
21:59 Sewi Yes. If you want to learn Perl, look at my try of a beginner lesson. :-)
21:59 azawawi any mid-level lessons? :)
22:00 Sewi Not now, I'm working on it and abusing my wife for testing :-)
22:00 ribasushi Sewi: so what do I install to start
22:00 ribasushi want inline syntax-check
22:00 ribasushi and coloring
22:00 azawawi sudo cpan Padre
22:01 ribasushi I mean besides Padre
22:01 Sewi ribasushi: core functionality. Just type "cpan Padre" and go for lunch :-)
22:01 Sewi Nothing else needed which isn't done by cpan, maybe just Wx but _usually_ this should also be done by cpan.
22:01 ribasushi nope it didn't
22:01 rindolf joined #padre
22:02 azawawi ribasushi: let me fetch the docs
22:02 ribasushi Padre needs at least version 2.8.8 of wxWidgets. You have wxWidgets 2.8.7
22:02 ribasushi do I go manual or you want to debug?
22:03 azawawi maybe this helps, http://padre.perlide.org/trac/wiki/Download#Ubuntu
22:04 azawawi 1am here
22:04 azawawi got to sleep now
22:04 Sewi me2, sorry.
22:04 azawawi good night all
22:04 Sewi azawawi: We only have one hour difference?
22:05 Sewi gn8
22:05 * Sewi &
22:06 ribasushi azawawi: what I meant is I had to cpan Wx
22:06 ribasushi whereas cpan Padre should've pulled it in
22:10 Ryan52 azawawi pings then leaves.
22:53 patspam joined #padre
23:00 JRWeiss joined #padre

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