Camelia, the Perl 6 bug

IRC log for #padre, 2010-01-28

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

All times shown according to UTC.

Time Nick Message
00:00 stom Wx 0.96 is packaged with the system. Padre installation through CPAN went fine after some minor modification.
00:01 stom All tests passed. However nothing's there after the spash window after launching 'padre'.
00:03 LeK maybe this isn't the same thing, but i experienced the same behaviour because of an already listening program on port 4444
00:04 stom Nothing on 4444 there.
00:04 stom Said modifications are only adaptations of makefile to go from gcc to sunstudio.
00:04 LeK that wasn't expensive to check :)
00:04 stom thanks anyway :)
00:08 Sewi stom: Do you want to open a ticket on this?
00:09 Sewi trac?
00:09 Hyppolit trac is http://padre.perlide.org/trac and also http://padre.perlide.org/trac/register
00:09 Sewi Use the second link for registration. I need to close the registration again in a few minutes.
00:09 stom Ok, opening a ticket.
00:11 Sewi thanks
00:11 Sewi I don't know any advice for you, currently, but it's late here and I'm sleepy :-)
00:12 Sewi I'll try to find a developer who could test on Solaris tomorrow, you'll get ticket-updates by mail if you enters your address during registration or added it as cc to the ticket.
00:12 stom Let's talk about this later. Thanks.
00:13 Sewi The only idea would trying the trunk from svn.
00:13 Sewi svn?
00:13 Hyppolit svn is http://padre.perlide.org/trac/wiki/Download#​Moredetailedinstructionformanualinstallation
00:13 Sewi But I don't know if this would help.
00:14 Sewi Feel free to add any information you might get in the future to the ticket.
00:18 Sewi registration closed.
00:18 Sewi gn8
00:25 Alias Looks like my ORLite update caused some problems
00:29 * Alias wonders how hard it is to write a task
00:30 Alias (Wants to write a task for testing a single test script)
00:44 basti1985 joined #padre
00:44 Hyppolit #836: Nothing after splash screen on OpenSolaris (new defect) [ http://padre.perlide.org/trac/ticket/836 ]
00:44 basti1985 left #padre
00:46 stom left #padre
00:54 SvenDowideit_ joined #padre
01:04 jazzanova joined #padre
01:06 awnstudio joined #padre
01:12 Alias joined #padre
01:40 Hyppolit svn: r10324 | adamk++ | http://padre.perlide.org/trac/changeset/10324
01:40 Hyppolit Add a ->set method to ORLite to avoid the need to write to specific numeric keys
01:40 Hyppolit trunk/Padre/ trunk/Padre/lib/Padre/
01:54 kentnl joined #padre
03:13 Hyppolit svn: r10325 | adamk++ | http://padre.perlide.org/trac/changeset/10325
03:13 Hyppolit Another small fix to use ORLite 1.38's ->set method instead of the raw array position
03:13 Hyppolit trunk/Padre/lib/Padre/Wx/
03:19 kentnl joined #padre
05:44 danlucraft joined #padre
06:26 Alias_ joined #padre
06:38 Sewi joined #padre
06:38 Sewi gm
06:39 Sewi Does anybody here know Solaris or could test on it?
07:33 kaare joined #padre
07:36 kaare joined #padre
07:37 waxhead joined #padre
07:41 Hyppolit svn: r10326 | azawawi++ | http://padre.perlide.org/trac/changeset/10326
07:41 Hyppolit [Perl 6] whitspaces fixes in Changes
07:41 Hyppolit trunk/Syntax-Highlight-Perl6/
08:22 kent\n joined #padre
08:28 Hyppolit svn: r10327 | submersible_toaster++ | http://padre.perlide.org/trac/changeset/10327
08:28 Hyppolit attempt to thwart current issues with a big fat TTL injection
08:28 Hyppolit trunk/Padre-Plugin-Swarm/lib/Padre/Service/
08:34 danlucraft joined #padre
08:48 Hyppolit #331: * saveall doesn't update tabs (ie asterisk still there until you click tab) (closed defect) [ http://padre.perlide.org/trac/ticket/331#comment:8 ]
08:52 Hyppolit #821: autocompletion triggered even on blank line (assigned defect) [ http://padre.perlide.org/trac/ticket/821#comment:1 ]
08:56 Hyppolit #821: autocompletion triggered even on blank line (assigned defect) [ http://padre.perlide.org/trac/ticket/821#comment:2 ]
09:00 Sewi waxhead: The ORLite-update seems to cause many warnings/errors, we should delay the release a little bit to find and fix them
09:04 Hyppolit #306: Cycle through tabs (ctrl-tab) in most-recently-used order (assigned enhancement) [ http://padre.perlide.org/trac/ticket/306#comment:4 ]
09:06 Hyppolit #795: Ctrl-Tab is using tab display order rather than last-used order (assigned enhancement) [ http://padre.perlide.org/trac/ticket/795#comment:7 ]
09:07 Hyppolit #804: CRTL-Tab Last seen order not quite right (assigned defect) [ http://padre.perlide.org/trac/ticket/804#comment:2 ]
09:09 Hyppolit #619: Multiple files open, editor switches between tabs by itself (new defect) [ http://padre.perlide.org/trac/ticket/619#comment:3 ]
09:12 waxhead Sewi, no worries...
09:12 waxhead thanks for the heads up...
09:12 waxhead Sewi, I've also pushed a few tickets your way.. mostly to do with the Tabs etc... you might as well close what you can...
09:15 Sewi Currently I'm fighting to get a Padre running.
09:16 Sewi The second task only states "database is locked" or dies on other errors :-(
09:17 Hyppolit svn: r10328 | Sewi++ | http://padre.perlide.org/trac/changeset/10328
09:17 Hyppolit Fixed some DIEs/warnings introduced by ORLite 1.37 usage
09:17 Hyppolit trunk/Padre/lib/Padre/Wx/
09:24 submersible joined #padre
09:24 waxhead hey sub
09:25 Hyppolit svn: r10329 | Sewi++ | http://padre.perlide.org/trac/changeset/10329
09:25 Hyppolit Fixed the mass-error-popups on mimetypes without help provider
09:25 Hyppolit trunk/Padre/ trunk/Padre/lib/Padre/Wx/Dialog/
09:27 sewi_ joined #padre
09:47 asphere joined #padre
09:58 submersible hi waxhead
09:59 waxhead Sewi, does that fix your problem?
10:00 Alias_ database problems?
10:00 waxhead submersible, how's things?
10:00 submersible not bad - still messing about w/ swarm.
10:00 waxhead Alias_, apparently.. I'm not seeing it here, but I'm not opening up much ATM
10:00 waxhead submersible, cool!!! :)
10:01 waxhead I'm moving ISP's... it's not much fun.. too many places with the email address...
10:01 submersible yep - that always sucks - my sympathy
10:02 Alias_ wxhead: <Hyppolit>      Fixed some DIEs/warnings introduced by ORLite 1.37 usage
10:02 Alias_ Uh, say what now?
10:02 submersible fw'meh?
10:02 Alias_ Sewi: You aren't using 1.38...
10:07 waxhead Really??? He's not using the latest version?
10:07 waxhead Sewi held up a release because his local version of ORLite isn't up to date?  :)
10:08 asphere joined #padre
10:09 Alias_ It's possible
10:09 Alias_ I have dropped 3-4 new versions in the last day and a bit
10:09 Sewi I used the last download link I saw from you
10:10 * Sewi trying 1.38
10:10 waxhead I got the latest version from CPAN fine
10:10 Sewi waxhead: When and which version?
10:11 waxhead tonight when I did an update on trunk did a make and it told me I needed 1.38
10:11 Sewi Yesterday - when I did the svn up and ORL update - CPAN was 1.36 and Alias posted link was 1.37.
10:11 waxhead ran CPAN and it grabbed 1.38 fine... and that's in .au... :)
10:11 Sewi Maybe I missed another new link
10:12 * waxhead 's perl on the laptop is a mess of distribution and CPAN installed modules
10:12 Sewi The database locking problem disappeard but wasn't fixed. It might be gone with 1.38, don't know.
10:12 * Sewi just installed 1.38
10:13 Sewi Alias: There were some PluginManager issues yesterday and I noticed some session-dependent issues today.
10:17 Sewi waxhead: Sorry for delaying...
10:21 waxhead Sewi,
10:23 waxhead that's fine, I'm only joking... see the dev list.. I think the stuff Steffan has done should be sorted out... so we'll hold off for a bit anyway...
10:37 Sewi Anybody else using sessions in Padre?
10:38 submersible !! Sewi
10:38 submersible what's up w/ session?
10:46 Sewi I had a locking problem, it seems that the running Padre task hold a lock on the db but I can't reproduce it atm.
10:47 Sewi Maybe it was because of 1.37 or something local - or it was a bug
10:47 Alias_ Sewi: I added the ->set method in 1.38 so we wouldn't have to resort to using explicit positions
10:48 Alias_ The locking problem isn't due to 1.36->1.38 problems
10:49 Alias_ If I had to guess, it's that a Task needs to access the database, but it's being fired while a ->lock('DB') is active
10:49 Alias_ Which is a big problem
10:49 Alias_ Because it could lead to deadlocks
10:49 Alias_ In fact, it's so dangerous we probably should add checking code in both Task execution and thread spawning to make sure there's no active database handle
10:50 reneeb joined #padre
10:51 Sewi The locking problem appeared while one Padre  was running and I tried to start ./dev.pl --die
10:53 Alias_ That would do it
10:53 Alias_ Running two instances at the same time, one is going to lock against the other
11:15 waxhead anyone got any objections to a release of 0.56 soon with the dev cycle to 0.57 to focus on the changes of tee's ( that's steffan right?? ) branch merged in and used more heavily?
11:16 waxhead we could keep major changes to a minimum just for this dev cycle to make sure the task changes get a fair run through for a public release...
11:18 waxhead ok.. thoughts have been posted to the dev list.... off to bed...
11:18 Sewi Alias: This wasn't any problem, maybe I just hit something very rare or due to died source parts because of the 1.37/1.38 thing.
11:18 waxhead night
11:49 daxim joined #padre
11:51 Alias_ Are those numeric positions switched back to ->set calls?
11:51 Alias_ Because if not they're probably going to blow up at some random time in the future
11:51 Sewi I'll check.
11:52 Sewi I wasn't happy with the numbers, too
11:52 Alias_ Hence the additional ->set method :)
11:55 Hyppolit svn: r10330 | Sewi++ | http://padre.perlide.org/trac/changeset/10330
11:55 Hyppolit Reverting change for ORLite 1.37
11:55 Hyppolit trunk/Padre/lib/Padre/Wx/
11:55 Sewi done
11:59 Getty where is szabgab at all?
11:59 Sewi vacation and maybe fosdom
12:00 Getty vacation?!?!
12:00 Getty how you can make vacation without job?! ;)
12:00 Getty i mean logical not financial ;)
12:00 Sewi I heart of it, it should be a time where you don't need to work.
12:00 Getty he doesnt work at all!!!
12:00 Sewi But never experienced this myself, don't know if it's a fake or if it exists
12:00 Sewi :-)
12:01 Getty i regulary sleep while my boss already works
12:01 Getty yesterday i was getting up 15 oclock
12:01 Getty "relaxed"
12:05 Getty man the templates of my "top project" which got the most new futures in use... are just like sugar
12:05 Getty actually 95% of the tags doesnt even have HTML stuff, its totally abstracted anything
12:07 Sewi Oh, sounds like you need a dual core CPU per request :-)
12:13 submersible Sewi - how do plugins register their gui elements post 0.56 ?
12:14 Getty Sewi: no
12:14 Getty Sewi: even with php its mostly faster then a drupal, or a symfony webpage
12:14 Getty Sewi: i have no idea why other people build CMS/Frameworks for Web, they never make it good ;)
12:14 Alias_ submersible, I need to finish the ::Tool refactoring
12:15 Alias_ Once a Tool is a first class "thing", presumably a plugin writes a tool as a standalone class, then has a ->register_tools
12:15 submersible ok - I'm on standby for that feature.. since the chat window _should_ use it
12:15 Sewi Getty: Most pages would be best with static files (maybe written by a CMS compiler), but they're still 100% dynamic build.
12:15 * Alias_ holds back giggles
12:15 Getty Sewi: that is called "Publishing"
12:15 Alias_ "No, you're a tool" etc
12:15 Getty Sewi: right now a very common concept, its used by heise.de and co.
12:15 Getty Sewi: Auto-motor-und-sport.de is a mixture, the data is static in the html file itself, but then the framework "fizzle" it together
12:15 Sewi Being common is no reason for being good.
12:16 Getty it IS good
12:16 Getty publishing is the concept of the future
12:16 Getty but its.... hardcore
12:16 Getty it got so many parts where you NEED workarounds
12:16 Alias_ yeah
12:16 Alias_ Those printing presses can be hard
12:16 Getty no no web-publishing
12:16 Getty what Sewi said, generating static pages
12:17 Getty Sewi: i even get harder, i want to publish the code of the webpage, so that all framework abstractions go away if you put it in production
12:17 Getty Sewi: the framework generate a "perfect code" out of your logic
12:17 Sewi Getty: As long as you don't have any really dynamic content (user-specific, for example) and you got a reasonable count of visits, static is faster.
12:17 awnstudio Getty, didn't we already have this conversation?
12:18 Getty not really ;)
12:18 awnstudio yes really
12:18 Getty why now really? ;)
12:18 Sewi Meaning if you, Alias and I request the same URL and get the same stuff (byte-wise same), there is no need to create it dynamically
12:18 Getty Sewi: yeah but still, 99,999999% of the pages arent that way, everybody needs user generated content
12:20 Sewi Again: If everybody drives too fast, it still isn't good. And no, many pages don't have user-content at all.
12:23 Getty Sewi: go to #rapidev if you want to continue the talk, but you make it totally to simple ;)
12:28 Sewi Getty: We're not discussing, we're fighting for our opinions, so I'd stop here. It's up to you to waste your CPU time and memory :-)
12:29 Getty Sewi: you mix up anything totally, and i dont waste, if the page is anyway 100% dynamic, you are totally saying crap for the case
12:29 Sewi Getty: I did a small Wiki-like Apache handler and will add mod_cache to it as soon as the first part of the content is done. It's the "save-resources" method for lazy people :-)
12:29 Getty Sewi: and you ignore the possibility of generating static pages with dynamic elements and any stuff
12:29 Sewi Getty: Maybe we got different definitions of "dynamic" :-)
12:29 Getty Sewi: again, that is nothign someone build, for this you got CMS, which directly push up FTP to the site, there are around 100< of them, use them
12:30 Getty Sewi: maybe you are just not doing the job like i do?
12:31 Sewi Getty: I wasn't talking about _your_ site/project cause I don't know it at all. I was talking about "most pages" which are generated dynamically without any need for it.
12:31 awnstudio publishing systems arent a bad idea, just not practical for every application and most programmers prefer to code whole systems themselves
12:31 submersible ...braaains
12:31 awnstudio ha
12:31 Getty Sewi: yeah but you ignore the technical overhead of publishing system in smaller case
12:32 Getty Sewi: its like shooting with an atomic bomb against flies, it works, but where is the deeper sense?
12:32 Getty Sewi: you ever build a web-publishing system? or tried to?
12:32 awnstudio there comes a time when too much boiler-plate code become $#!+
12:33 reneeb Getty, Sewi: I just started to write a text about Padre for the CeBIT brochur, but as I am not that much involved in the project, it would be greate if you could add some paragraphs (and rephrase the existing ones). http://123.writeboard.com/a7f31b016caaf6f2c (no password needed, just click "sign in")
12:33 Sewi Getty: It won't make sense if pages are written more often than they're viewed., but I really think we should stop this now.
12:33 reneeb s/brochur/brochure/ ; s/greate/great/;
12:34 Getty Sewi: again, you are mixing up realities, you see it 100% to simple
12:34 Getty Sewi: you have actually no idea of the involvement of generating static pages, beside you want to increase your own work and make it by hand
12:36 Sewi Getty: I did projects for the whole range - 100% dynamic, combined and static-content (which changes from time to time).
12:36 Sewi reneeb: Does this editor use some kind of locking?
12:36 reneeb yes
12:37 reneeb But I have done my changes...
12:38 Getty Sewi: i dont know why you attack my experience, but ok, if you like it, i stop here, its pointless, you are just telling some stuff about your little experiences which fits into your little experiences, i personal dont build a "new fitting system" for every project, that is waste of time, i dont have that, i dont get paid for this
12:41 Sewi I'm unsure if the portable version is already working and release-ready.
12:43 awnstudio can Padre do (remote debugging) like Komodo yet?
12:43 Sewi I don't think so, but it's planned.
12:52 kthakore /win 2
13:12 rhebus joined #padre
13:24 cognominal joined #padre
13:41 Sewi reneeb: szab or Alias are much better doing this, I think
13:43 reneeb it doesn't matter *who* it does, but i should be done ;)
13:43 reneeb but you can outline some ideas what should be included.
13:47 submersible yup - good job alias ... padre is so fast to start now that the splashscreen is an irritation
13:57 Hyppolit svn: r10331 | submersible_toaster++ | http://padre.perlide.org/trac/changeset/10331
13:57 Hyppolit more debugging garbage. starting to use geometry to plot chat userlist.
13:57 Hyppolit trunk/Padre-Plugin-Swarm/l​ib/Padre/Plugin/Swarm/Wx/ trunk/Padre-Plugin-Swarm/lib/Padre/Swarm/ trunk/Padre-Plugin-Swarm/lib/Padre/Wx/Swarm/
14:06 Alias_ submersible, yeah hence the preferences option to turn it off now :)
14:06 Alias_ I'm tempted to just disable it entirely actually
14:28 asphere_ joined #padre
14:50 mib_mra8sm joined #padre
14:54 mib_mra8sm hello, i got a fresh svn install of padre on ubuntu and i cant insert space in my document and get this message Use of uninitialized value $nextchar in ord at /home/padre/Padre/lib/Padre/Document/Perl.pm line 1088 any ideas ?
14:57 Sewi Hi mib_mra8sm
14:57 mib_mra8sm hi Sewi
14:57 Sewi Let me check this line...
14:58 Sewi The message is a warning and nothing to worry about.
14:58 Sewi Whenever you press space, it isn't inserted?
14:59 mib_mra8sm yes
14:59 Sewi Which revision do you use?
15:00 mib_mra8sm i try with last cpan and a fresh trunk i got the same issues
15:00 mib_mra8sm rev 10331
15:00 Sewi Which OS do you use?
15:01 mib_mra8sm linux ubuntu 9.10
15:01 mib_mra8sm and my space bar is working :)
15:01 Sewi I assumed this. Otherwise a "perl Makefile.PL" would be hard :)
15:03 Hyppolit svn: r10332 | Sewi++ | http://padre.perlide.org/trac/changeset/10332
15:03 Hyppolit Advoid use of uninitilized value message for nextchar
15:03 Hyppolit trunk/Padre/lib/Padre/Document/
15:03 Sewi This is cosmetic, nothing else.
15:04 Sewi Okay, let's try it together :-)
15:04 Sewi I got a bash prompt inside my Padre trunk dir. Now please tell me exactly what you do.
15:06 PerlJam joined #padre
15:08 mib_mra8sm i just open padre on a new file and start write and when i press space nothing happen
15:08 Sewi So you run ./dev.pl --die ?
15:10 mib_mra8sm yes, when i hit space the autocompletion box open
15:10 mib_mra8sm i think it s Ctrl Space normally ?
15:11 Sewi Please click on Edit -> Preferences
15:12 Sewi On the left side, please use "Perl Autocomplete"
15:12 mib_mra8sm yes
15:12 Sewi Is the first box checked?
15:12 mib_mra8sm no
15:12 Sewi What values do the three number boxes have?
15:13 mib_mra8sm 3/20/1
15:13 Sewi same here
15:13 Sewi strange thing. Letters work in Padre?
15:13 mib_mra8sm yes
15:14 mib_mra8sm tab working
15:14 mib_mra8sm only space problem
15:18 Sewi Please open Help -> About -> Info
15:18 Sewi Alias: Chances you broke ./dev.pl -- --version? :-)
15:19 Sewi mib_mra8sm: I'd like to know the Wx and WxWidgets version
15:19 mib_mra8sm Info Perl v5.10.0 Wx 0.96 wxWidgets wxWidgets 2.8.10 Wx::Perl::ProcessStream 0.24 PPI 1.208 Répertoire de configuration :/home/pierrick/padre/Padre/.padre Temps d'utilisation: 0:01:55 RAM: 452.3MB
15:20 Sewi Thanks. Seems you got a newer Wx and Widgets version than I
15:20 Sewi This shouldn't happen anyway.
15:22 Sewi If you click File -> Open> -> Sample files -> Wx ->22_notepad.pl and press F5 (run) on this file, a simple Wx app should start.
15:22 Sewi If spaces don't work in the editor tab of this sample, it's no Padre problem (but needs to be solved anyway).
15:24 dapatrick joined #padre
15:26 mib_mra8sm ok thanks probably problem with my perl install if i found i tell you
15:26 Sewi Thank you for helping.
15:28 Sewi You could try the Padre standalone version - it has it's own Perl - but still use your system-wide or custom Perl for your scripts.
15:35 mib_mra8sm same problem with the standalone version
15:37 cognominal joined #padre
15:42 Sewi Sorry
15:50 mib_mra8sm ok the standalone version is working with perl ./padre
15:51 mib_mra8sm but whith padre.sh space doesnt work
15:52 mib_mra8sm probably a problem with Alien::WxWidgets
15:52 mib_mra8sm thanks Sewi for taking time on my problem
15:54 Sewi you're welcome.
15:54 Sewi You could open a ticket on it, if you want, others might be more successful than I
15:56 Sewi trac?
15:56 Hyppolit trac is http://padre.perlide.org/trac and also http://padre.perlide.org/trac/register
15:56 Sewi Just tell me if you want and I'll open the registration (2nd link) for you
15:57 Sewi Hyppolit: register is http://padre.perlide.org/trac/register
15:57 Hyppolit register was unknown
15:57 Hyppolit register is now http://padre.perlide.org/trac/register
16:35 danlucraft joined #padre
17:19 rhebus I'm trying to build from svn under strawberry perl
17:20 rhebus I've got as far as "perl Makefile.PL", "dmake" and "dmake test" but how do I run the program?
17:20 rhebus and is there somewhere that this is documented?
17:45 Sewi there should be a padre.exe
17:50 rhebus if I run blib\bin\padre.exe I get an error message box saying "Cannot find 'WPerl.exe'!
17:51 rhebus wperl.exe is in my path
17:57 CSJewell rhebus: Did you do "dmake install"?
17:58 CSJewell It's not the fact that wperl.exe is in the path, it's that they're looking for .\wperl.exe.
17:59 rhebus I'd rather run it where it is if possible
17:59 rhebus I have 0.55 installed and don't want to clobber that; I just want to try trunk SVN out
18:02 Sewi rhebus: Why not use dev.pl?
18:03 rhebus what is dev.pl?
18:03 Sewi svn?
18:03 Hyppolit svn is http://padre.perlide.org/trac/wiki/Download#​Moredetailedinstructionformanualinstallation
18:03 Sewi See the link
18:05 rhebus ok checking it out now
18:05 CSJewell Sewi: Strawberry is talking about moving site-installed scripts to site/bin for April 2010, which would mean that .\wperl.exe would not exist for a site-directory padre.
18:05 Sewi CSJewell: Updating padre.exe shouldn't be a big issue, I think
18:06 CSJewell It shouldn't be - but the advance warning is nice to have.
18:06 CSJewell That way, I'm not making requests of you guys on April 29th, you know?
18:06 rhebus Sewi: what does the "sudo cpan ." line do in that link? What's the win32 equivalent?
18:07 rhebus is it just installing prerequisites?
18:08 CSJewell rhebus: It installs what's in the current directory and any prerequisites of it, making sure it's an administrator.
18:08 Sewi CSJewell: I don't know C at all, if you got a second, would you like to add the path to the list of paths where perl.exe is searching?
18:08 CSJewell "cpan ." would be the Win32 equivalent, I think.
18:08 Sewi rhebus: cpan . updates all cpan modules
18:09 Sewi rhebus: If you already did perl Makefile.PL and got no dependency complains, just skip it
18:09 rhebus CSJewell, Sewi, thanks for your help, I've got it running now
18:10 rhebus does anyone know about the padre-slave-driver-threads branch? there was talk on the mailing list that it could do with some testing
18:35 frew left #padre
19:04 Hyppolit #837: padre.exe should be able to be placed in c:\strawberry\perl\site\bin (new enhancement) [ http://padre.perlide.org/trac/ticket/837 ]
19:05 CSJewell Sewi: I just made it a ticket, and assigned it to azawawi. He can assign it where it needs to go.
19:09 rhebus_ joined #padre
19:12 Sewi CSJewell: thanks
19:44 * kthakore giggles
19:44 * kthakore likes new code to pull from a repo
19:44 kthakore thanks guys!!
19:53 Hyppolit svn: r10333 | Corion++ | http://padre.perlide.org/trac/changeset/10333
19:53 Hyppolit Win32: Fix crash on open-in-file-browser if we don't have a console with STDIN/STDOUT. Be defensive against IPC::Open3 crashing because of that.
19:53 Hyppolit trunk/Padre/lib/Padre/Wx/Directory/
19:56 Corion joined #padre
19:56 Corion Evening again ;)
19:57 Corion I'm looking at implementing a side-by-side diff view for Padre like http://www.araxis.com/merge/overview1.html . I'm wondering what would be more prudent. Wrap the current editor in an additional Panel so I can add the second diff view to its side, or have the diff view be an AUI panel that I show/hide?
19:58 Sewi Hi Corion
19:58 Corion Hi Sewi ;)
19:59 Sewi Someone wanted to do split screen for Padre (which shouldn't be far away from what you're trying), but I don't remember who :-(
20:00 Corion Yes, screen splitting would be quite similar to what I do.
20:00 Corion I wonder, UI-wise, what would people to expect when they switch on the diff view between two files (or editor and on-disk version), and then change to another tab.
20:01 Sewi kthakore was the one
20:01 Corion Would they expect 1)the diff view to show the diff between the current file and the previously selected file for diff, 2) the plain editor, or would they expect to see 3) the diff between the tab-file and its "corresponding thing", whatever that is?
20:02 Sewi I'd expect diff view to be either a standalone tab like other tabs or a different view of the current tab.
20:02 Sewi But that's only me
20:02 Corion This expectation is what makes me consider the two options - 1 -> AUI Panel 2/3 -> Panel between Notebook and Editor
20:03 Corion Sewi: Another tab... Hmmm - that's another idea, but then, if you edit the file in its "editor" tab, the diff tab has to follow...
20:03 Corion I'd like the diff "view" to be editable as well.
20:03 Sewi There are also some diffs in the menu, edit or view, I think. Maybe you shouldn't care about the diff content shown.
20:03 Corion (because the diff view should actually be the merge editor, of course)
20:04 Corion What do you mean by "diff content shown"?
20:05 Sewi Don't care about what is diffed or shown. Don't write the diff tool itself, just write a viewer for "diff" output.
20:05 Corion Sewi: Basically yes, but still the diff has to be interactive and better than console output. And there is Algorithm::Diff, which is Good Enough.
20:05 Corion But as I want to display a file pre and post patch, I need to parse patches as well.
20:06 Sewi You could add a "diff dialog" easily where the user could choose the left and right side: two files, editor content and disk and maybe also editor content vs. latest svn
20:06 Corion My question is more about the UI - I have two files and the indicators for the diff. How do I present them in Wx?
20:06 Corion Sewi: Dialogs are incredibly bad UI for that. When I view a diff, maybe I want to look at a third file.
20:06 kthakore Corion: yes I would like splitting :)
20:06 Corion I don't want a modal diff.
20:06 kthakore Corion: I haven't tried yet though
20:07 Sewi Corion: kthakore is a much better person to talk about the "how" than I am. I don't know much about Wx
20:07 Corion kthakore: I haven't tried anything either :) I'm wondering whether another (dockable) pane would help you more or whether the split would be per-editor
20:08 Corion I think for the split view, "one split fits all" is better, and that means (to me) another AUI Pane that synchronizes itself with the "main editor" pane
20:09 Hyppolit svn: r10334 | bruck++ | http://padre.perlide.org/trac/changeset/10334
20:09 Hyppolit Updated Hebrew translation
20:09 Hyppolit trunk/Padre/share/locale/
20:09 Corion ... and if we have another pane, adding a third pane for a diff against arbitrary content makes some sense. There is no easy place to add the "synchronization lines" as Araxis has, but then again, just showing two files side-by-side plus colours is what I'd like first
20:11 Corion So I'll add my diff view as another AUI Pane first
20:16 Sewi Corion: We'll have a new release shortly, I suggest waiting until it's done before committing
20:16 Corion Ah, you overestimate my capabilities :)
20:17 Corion First I have to understand how this part of Wx works and arranges itself, then I have to clone/rip up Padre::Wx::Editor to do my bidding, and then I can commit the first draft :)
20:17 Corion And I don't see any of that happening within the next few hours :)
20:17 Sewi It's a big new feature and such things usually have bugs - doesn't matter who writes them. If you commit them after the release is done, we could find the bug(s) until the next release.
20:18 Sewi I don't think that he'll start within the next hours.
20:18 kthakore Corion: yeah ... I will have a gander weekendish
20:18 kthakore Corion: are you around then?
20:19 Corion kthakore: Don't know :) Unlikely on Saturday evening, but maybe on the afternoon and Sunday evening potentially
20:30 El_Che joined #padre
20:38 danlucraft joined #padre
20:47 basti1985 joined #padre
20:48 basti1985 left #padre
21:12 LeK joined #padre
21:13 LeK hi
21:25 Sewi hi
21:32 Corion Sewi: I'm aware that the 0.56 release should happen sometime this or next week, but I don't think I have anything remotely committable before that anyway
21:40 Sewi Corion: ok :-)
21:40 Sewi It was a suggestion, nothing more :-)
21:40 Corion No problem ;)
21:51 kthakore_ joined #padre
21:57 basti1985 joined #padre
21:57 basti1985 left #padre
22:11 patspam joined #padre
23:17 Sewi gn8
23:20 submersible joined #padre

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