Camelia, the Perl 6 bug

IRC log for #padre, 2010-02-23

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

All times shown according to UTC.

Time Nick Message
00:11 Hyppolit svn: r10896 | adamk++ | http://padre.perlide.org/trac/changeset/10896
00:11 Hyppolit Renamed the post-init timer and moved it up next to the constructor, to make it clearer that it's really part of the constructor/init process.
00:11 Hyppolit
00:11 Hyppolit Added refresh_recent to the list of things to refresh
00:11 Hyppolit trunk/Padre/lib/Padre/Wx/
00:14 Hyppolit svn: r10897 | adamk++ | http://padre.perlide.org/trac/changeset/10897
00:14 Hyppolit Which part of "Do NOT put a refresh here" don't you understand
00:14 Hyppolit trunk/Padre/lib/Padre/Wx/Menu/
00:17 teejay joined #padre
01:04 jazzanova joined #padre
02:09 u-foka joined #padre
02:09 kthakore Alias: who are you telling not to do a refresh?
02:10 kthakore Alias: heheh CODE WARS!
02:29 Alias_ joined #padre
02:29 * Alias_ heavily has heavily rewritten menu generation
02:29 Alias_ s/heavily/
02:31 CSJewell heavy, man, heavy...
02:38 Alias_ I swear to god I will get this editor back to being fast if it kills me
02:39 Alias_ I can't stand it when my tools don't work as fast as I think
02:39 Alias_ Or at least, as fast as Ultraedit used to be, before it got bloated
02:47 Hyppolit svn: r10898 | adamk++ | http://padre.perlide.org/trac/changeset/10898
02:47 Hyppolit Major menu refactoring in an attempt to make them fast again.
02:47 Hyppolit Removed the concept of user-configurable menus.
02:47 Hyppolit trunk/Padre/ trunk/Padre/lib/Padre/ trunk/Padre/lib/Padre/Wx/ trunk/Padre/lib/Padre/Wx/Menu/ trunk/Padre/t/
02:48 Alias_ NOTE: There may be some menu elements that don't refresh properly now
02:48 Alias_ That is to be expected, I just need to go around and add the appropriate refresh_windowlist etc entries to various lock
02:57 szbalint Alias_: let's rewrite it in Perl 6.
02:57 szbalint Parrot needs some help wrt speed :)
03:34 Alias_ heh
03:55 Hyppolit svn: r10899 | szabgab++ | http://padre.perlide.org/trac/changeset/10899
03:55 Hyppolit link to two blog posts
03:55 Hyppolit trunk/template.padre.perlide.org/data/
03:57 Sno|Laptop joined #padre
03:59 OliverKrueger joined #padre
04:01 OliverKrueger Just downloaded the (experimental) Padre OSX dmg. Its crashing upon startup with a SIGTRAP. Did anybody forget to remove all breakpoints? ;)
04:05 szabgab OliverKrueger, you might be better off installing from CPAN
04:06 szabgab that dmg is old and AFAIK the author is not around our channel
04:06 OliverKrueger I tried a few moons ago but gave up in the middle of thousand deps.
04:08 szabgab I wonder if someone could arrange for an OSX build server
04:08 szabgab where we could start building binary packages from the various perl modules and their external dependencies
04:09 OliverKrueger Im just using the mac as a nice GUI. I got no ideas about the internals. :)
04:10 szabgab on http://padre.perlide.org/trac/wiki/Download there should be some information
04:15 szabgab see http://padre.perlide.org/tra​c/wiki/Download#NetBSDpkgsrc
04:35 azawawi joined #padre
05:05 azawawi good morning
05:05 azawawi Alias_: :)
05:07 Hyppolit svn: r10900 | azawawi++ | http://padre.perlide.org/trac/changeset/10900
05:07 Hyppolit Perl tidy (6 files)
05:07 Hyppolit trunk/Padre/lib/Padre/Wx/ trunk/Padre/lib/Padre/Wx/Dialog/ trunk/Padre/lib/Padre/Wx/Menu/
05:10 Hyppolit svn: r10901 | azawawi++ | http://padre.perlide.org/trac/changeset/10901
05:10 Hyppolit Removed commented $DB::single so that release testing stops complaining about it
05:10 Hyppolit trunk/Padre/lib/Padre/Wx/Menu/
05:13 Alias_ Was that me? :(
05:13 Alias_ azawawi: So, you may see a lot of places where the menus don't update right
05:13 Alias_ azawawi: PLEASE don't take that as license to add forced ->refresh everywhere
05:14 Alias_ It just means I need to add some extra entries to the ->lock requests
05:14 azawawi Alias_: I just wanted to force someone to fix it :)
05:14 Alias_ Well, now I've unfixed it
05:14 Alias_ But I also removed some other slow-downs at the same time
05:15 Alias_ So switching files should be way faster
05:17 azawawi Alias_: please fix #858
05:17 Hyppolit #858: Recent files does not display anything on Padre startup (closed defect) [ http://padre.perlide.org/trac/ticket/858#comment:1 ]
05:18 azawawi oops that's the wrong ticket number
05:18 azawawi "Refresh all menus at startup. This prevents "nothing" open mode (i.e. no       document) from incorrectly showing an enabled menubar" in Changes
05:18 azawawi no ticket associated with it
05:26 Hyppolit svn: r10902 | azawawi++ | http://padre.perlide.org/trac/changeset/10902
05:26 Hyppolit Fixed another badcode.t COoL warning from release testing
05:26 Hyppolit trunk/Padre/lib/Padre/Util/
05:47 Hyppolit svn: r10903 | azawawi++ | http://padre.perlide.org/trac/changeset/10903
05:47 Hyppolit Hide value and info sizers at startup in advanced preferences dialog.
05:47 Hyppolit trunk/Padre/lib/Padre/Wx/Dialog/
05:50 Hyppolit svn: r10904 | azawawi++ | http://padre.perlide.org/trac/changeset/10904
05:50 Hyppolit Perl tidy and updated Changes
05:50 Hyppolit trunk/Padre/ trunk/Padre/lib/Padre/Wx/Dialog/
05:50 * azawawi &
05:56 kaare joined #padre
06:37 marcela joined #padre
06:38 ecocode joined #padre
06:46 Sewi joined #padre
06:47 Sewi gm
07:12 azawawi joined #padre
07:12 Sewi Hi azawawi
07:12 azawawi hi there
07:15 Hyppolit svn: r10905 | azawawi++ | http://padre.perlide.org/trac/changeset/10905
07:15 Hyppolit POD update
07:15 Hyppolit trunk/Padre/lib/Padre/Wx/Dialog/
07:24 Haarg joined #padre
07:41 Hyppolit svn: r10906 | azawawi++ | http://padre.perlide.org/trac/changeset/10906
07:41 Hyppolit Set button is not needed anymore when it is a boolean. True/false radio buttons handle now the boolean value toggle. This marks the completion of my advanced preferences TODO list. I hope you enjoy it :)
07:41 Hyppolit trunk/Padre/lib/Padre/Wx/Dialog/
07:44 Hyppolit svn: r10907 | azawawi++ | http://padre.perlide.org/trac/changeset/10907
07:44 Hyppolit Perl tidy (1 file) and Changes update
07:44 Hyppolit trunk/Padre/ trunk/Padre/lib/Padre/Wx/Dialog/
07:47 azawawi Alias_: awaiting your highlighter changes per our deal :)
07:49 danlucraft joined #padre
07:50 Alias_ azawawi: Did I promise you the "automatically work out the text range of an arbitrary regex which contains the current cursor" ?
07:50 Alias_ Is that the one?
07:51 Alias_ Or was it something else?
07:51 azawawi Alias_: lots of promises :)
07:51 azawawi Alias_: take a look at the mozilla-style ticket
07:51 Alias_ hrm
07:51 Alias_ Ticket URL?
07:51 Alias_ :)
07:52 Alias_ I apologise if I'm distracted atm, finishing up at work
07:52 azawawi #847 i think
07:52 Hyppolit #847: Implement Mozilla-style about:config for Padre (closed enhancement) [ http://padre.perlide.org/trac/ticket/847#comment:3 ]
07:52 azawawi Alias_: np
07:53 ecocode joined #padre
07:53 Alias_ Oh right!
07:53 azawawi Alias_: you promised tsee that i think
07:53 Alias_ The advanced configuration stuff for the PPI highlighter
07:53 Alias_ Gotcha, will do
07:53 azawawi http://irclog.perlgeek.de/search.pl?chan​nel=padre&nick=&q=promise+alias :)
07:54 Alias_ I was SURE it was something easy but pointless without the advanced preferences, just couldn't remember what
07:54 azawawi http://lalaperlooza.blogspot.com​/2010/02/evolution-of-cpan.html
07:55 pece joined #padre
07:56 waxhead joined #padre
08:01 waxhead evening
08:01 azawawi good evening waxhead
08:02 waxhead hey azawawi... I see alias has been busy today....
08:02 * waxhead reads #padre via web logs...
08:03 waxhead has anyone moved the languages under preferences yet?
08:03 azawawi nop
08:03 waxhead should we?
08:04 waxhead I think it makes sense myself... that's where I went looking for it the first time I tried to set a new lanaguage
08:04 azawawi inside preferences dialog?
08:04 waxhead azawawi, yeah
08:04 azawawi waxhead: that dialog is Alias-deprecated :)
08:04 waxhead azawawi, is that what you have been working on lately?
08:05 azawawi fixing advanced preferences ui/usability... a bit of perl 6
08:05 waxhead oo... recent files list is back1
08:05 azawawi yup
08:06 azawawi Alias_++
08:06 azawawi after a bit of encouragement from myself :)
08:08 azawawi waxhead: if you think of it that way, a lot in the view menu can be moved to preferences
08:08 azawawi waxhead: to be a bit more minimal...
08:08 azawawi waxhead: style+languages to preferences
08:09 Sewi You're right, but we'd hide valueable features from the eye of the user.
08:09 waxhead hmm... the conundrum ....
08:09 azawawi Sewi: sure but the menu will be less cluttered...
08:10 azawawi Sewi: hence Padre will look friendlier :)
08:10 waxhead I see your point but languages?  Should be a preference
08:10 azawawi Sewi: one thing to think about it... is it used much?
08:11 azawawi Sewi: if it is used much, you'd put it in a menu otherwise it is a preference
08:11 danlucraft joined #padre
08:11 Sewi You're right, both have plus and minus.
08:11 azawawi Sewi: and if it has a shortcut it is definitely a menu item ofcourse :)
08:12 Sewi We should add a language-selection dialog showing flags for the languages and pop up it if no language has been set before.
08:12 azawawi Sewi: we should dig up that old auto-update-Padre script that you wrote :)
08:13 azawawi Sewi: and fix padre.exe to replace wperl.exe... i hate it on win32 when im switching between application and i do not see the butterfly icon in the task list...
08:13 Sewi I did it? afair we were talking about it.
08:13 azawawi Sewi: s/application/applications
08:13 Sewi sure, it's annoying
08:14 azawawi Sewi: also what about the key mapping dialog that you wrote?
08:15 azawawi Sewi: if you can revive it, i can tidy the UI for you
08:15 Sewi It think it needs a complete redesign, it was a first idea with few lines.
08:15 Sewi It's there as a branch.
08:17 Sewi If you could create an emtpy dialog with a tree control on the left and a sizer for key(field)/value pairs on the right, this would be great.
08:17 Sewi Oh, and save/cancel buttons would be fine, too :-�)
08:17 Sewi :-)
08:17 Alias_ You can't make languages a preference
08:19 Sewi Just asking... why?
08:19 Alias_ At least you can scan through the menu to look for likely-looking things
08:20 Alias_ why?
08:20 Alias_ What do you mean, why?
08:21 Sewi Why not making it a preference, but you wrote the answer at the same time I wrote the question :-)
08:21 Alias_ ah
08:26 Alias_ It would appear I have done something nasty to slow down Padre :(
08:28 azawawi Sewi: ticket please :)
08:28 azawawi Sewi: I work by tickets only :)
08:29 Alias_ hmm
08:29 Alias_ What's the best that it's because I'm using a mounted filesystem
08:29 Alias_ And the out-of-date file checker is blocking in the foreground as I'm typing
08:30 Sewi Alias_: Reset the check interval to something suitable for remote fs (preferences).
08:30 Alias_ That will only help by making it suck less often :)
08:30 azawawi Sewi: "
08:30 Sewi And I don't think that it works in the fg, but do you have the syntax checker enabled?
08:30 Alias_ No
08:30 Sewi azawawi: I'll do.
08:30 Alias_ Or at least, it doesn't APPEAR that I have it enabled
08:30 azawawi Sewi: "Reload all changed" would also be cool
08:31 Alias_ um
08:31 Alias_ Reload all and reload all changed are the same thing
08:31 Alias_ If your OS is behaving
08:31 Sewi azawawi: /me planning to pre-select the changed files in the reload some dialog if noone else does this before :-)
08:31 azawawi Alias_: it is now reload selected...
08:31 Alias_ oh, you mean with the reload some dialog
08:31 Alias_ That whole selection thing is a bit weird
08:31 Sewi reload all is still in place
08:31 Alias_ Or at least, it's a big fiddly
08:32 Alias_ Why do we even SHOW files that aren't changed?
08:32 Sewi Sure, checkboxes in front of the lines would be really great.
08:32 Sewi Because we can't.
08:32 Alias_ If I have 40 or 50 files open, it makes for a difficuly and clunky UI
08:32 Sewi We could show the files where Padre thinks they're fresh, but we don't  know. Not all supported FS types support "mtime"
08:32 azawawi yeah only changed is better
08:33 azawawi Sewi: at least sort them :)
08:33 Sewi They should be sortable by clicking the column header, I think.
08:33 Sewi But sorting sounds good
08:34 Alias_ Man, it's really sad when the highest CPU consumption in Padre is by Wx::Menu::DeleteItem (xsub)
08:35 Alias_ I shall try to complete the second half of my Window menu fixes tonight
08:35 Alias_ But check this out for the list of top 4 functions
08:35 Alias_ It tells a lot
08:35 Alias_ 1. Wx::Menu::DeleteItem (xsub)
08:35 Alias_ 2. Wx::Menu::AppendString (xsub)
08:35 Alias_ 3. Encode::Guess::guess
08:36 Alias_ 4. Text::FindIndent::parse
08:36 Alias_ Of the 30 seconds of CPU my test consumed, those four were responsible for over half
08:36 rindolf joined #padre
08:37 Alias_ The top two alone was 19 seconds out of 30 seconds
08:37 Alias_ Function number 5 is Text::FindIndent::_check_vim_modeline
08:37 azawawi Alias_: I am seeing two Perl menus instead of Perl and Refactor... is that intentional?
08:38 Alias_ uuuuh, probably not
08:39 Alias_ Fixing it now
08:40 Hyppolit svn: r10908 | adamk++ | http://padre.perlide.org/trac/changeset/10908
08:40 Hyppolit Changes I wrote the support methods for, but forgot to switch over to using them
08:40 Hyppolit trunk/Padre/lib/Padre/Wx/
08:40 Alias_ Fixed
08:42 azawawi Alias_: thanks
08:43 Alias_ There will almost certainly be more menu refresh bugs
08:43 Alias_ I'm willing to tolerate a little bugginess in the very short term
08:43 Alias_ And I'll fix stuff as it appears
08:44 azawawi Alias_: how about integrating cpanminus with Padre?
08:44 azawawi Alias_: it is lightweight, and has no deps...
08:44 Alias_ It only works 80% of the time
08:44 Alias_ Lets wait a little till it's not a week old :)
08:45 azawawi lol
08:45 azawawi agreed then
08:46 azawawi 3 days old so far... not bad
08:46 Hyppolit svn: r10909 | adamk++ | http://padre.perlide.org/trac/changeset/10909
08:46 Hyppolit Updating to match API change in Template::Tiny 0.11
08:46 Hyppolit trunk/Padre/ trunk/Padre/lib/Padre/Wx/
08:46 Alias_ And it's not going through a release every 6 hours :)
08:46 Alias_ *cough* speaking of which *cough* heh
08:47 Alias_ Let me rephrase that as "lets wait at least a week, for modules one of us didn't write" :)
08:47 Sewi Sorry for spamming this here: Could I get the blessed reference out of a Foo::Bar=HASH(0x...)? I'ld like to use tied() on it...
08:48 Alias_ No
08:48 Alias_ oh wait
08:48 Alias_ Define "out of"
08:48 Alias_ So you have an accidentally serialised string, and you wait to get the object?
08:48 Alias_ s/wait/want/
08:48 Sewi I did: tie %foo,something; $self = bless \%foo, $class; and need to do tied(%foo)->save;
08:49 Alias_ Oh dear god that's evil
08:49 Alias_ I refuse to help you on principle
08:49 Sewi :-)
08:49 Sewi It's a Apache::Session tied into an object.
08:49 waxhead release??? do we want another release?
08:49 Alias_ Tieing and OO are kind of meant to be orthogonal features
08:50 Hyppolit svn: r10910 | azawawi++ | http://padre.perlide.org/trac/changeset/10910
08:50 Hyppolit Removed conflicting accelerator with Tools menu
08:50 Hyppolit trunk/Padre/lib/Padre/Wx/Menu/
08:50 Alias_ waxhead: Not right now, I need a little time for aftershocks of these menu changes to be fixed
08:50 waxhead heh.. figured so..
08:50 Alias_ Also, the changes list is pretty short still
08:51 Alias_ Either this weekend, or next week I would guess
08:51 waxhead that's not a reason not to release is it?
08:51 Alias_ Would be nice to not release for every line of code :)
08:51 waxhead how's things going with the merged in threading stuff?
08:51 Alias_ It's still got bugs
08:51 Alias_ I haven't had time to fix the ones I know exist
08:52 Alias_ We're about to lose submersible to a newborn
08:52 * waxhead goes looking at trac
08:52 Alias_ (hence his recent big stream of commits)
08:52 waxhead oh yeah... how soon?
08:52 pece joined #padre
08:53 kgish joined #padre
08:53 Alias_ Any time in the next two weeks
08:55 waxhead wow.. that's close...
08:55 waxhead is that his first?
08:55 Alias_ Yes
08:55 waxhead Alias_, you're a test guy... want to take a look at #846 ?
08:55 Hyppolit #846: padre fails t/14-warnings.t with "Can't locate object method "ide" via package "Padre"" under AUTOMATED_TESTING=1 (new defect) [ http://padre.perlide.org/trac/ticket/846#comment:4 ]
08:57 waxhead did something change with the config stuff recently?
08:57 Alias_ my $b = Padre::Document::Perl::Beginner->new( document => { editor => bless {}, 'local::t14' } );
08:57 Alias_ I dunno what the hell that is trying to do, but that's your problem
08:58 Alias_ You've got code that expects to run inside a full Padre instance, being run outside of one with dodgy half-assed fakery that used to work but now fails
08:58 waxhead the patch  or the code in the test?
08:58 Alias_ The code in the test is dodge
08:58 Alias_ It's an astonishly naive attempt at mocking
08:58 Alias_ Which isn't to say it didn't USED to work
08:58 Alias_ But it looks really really fragile to me
08:59 waxhead see I look at that and have NFI where to even start making sense of it...
08:59 Alias_ Look in Beginner.pm
09:00 Alias_ About line 65ish you can see it's trying to navigate the Padre internals
09:00 Alias_ But in the test script, you can see he doesn't actually create a Padre instance
09:00 Alias_ Instead, he's passing something that looks vaguely like internals to the Beginner->new constructor
09:00 Alias_ Which means he's trying to do mocking
09:00 waxhead svn logs shows it was Sewi who wrote it..
09:00 waxhead well. maybe..
09:01 Alias_ And it's pretty common that mocking breaks in the face of changes to the thing it's mocking
09:01 * waxhead likes the new tree view with the SVN plugin...
09:01 Alias_ Which is why you NORMALLY mock stable APIs
09:01 Alias_ So the solution is either to update the mocking, or to build a real Padre instance
09:01 waxhead line 65..  in the test?
09:01 Alias_ in Beginner.pm
09:05 Hyppolit #843: Padre dies when saving file in same dir (new defect) [ http://padre.perlide.org/trac/ticket/843#comment:1 ]
09:08 waxhead oh.. so the test is pulling in the pm files and doing the Beginner tests on that code?
09:08 Sewi yes, it is.
09:10 Alias_ It's just that the code used to be simple and naive
09:10 Alias_ And now it uses configuration, and the only way it knows how to do that is the evil Padre->ide->config fallback way
09:10 Alias_ And so the mocking has collapsed
09:10 Alias_ And kaboom
09:11 waxhead so my $b = Padre::Document::Perl::Beginner->new( document => { editor => bless {}, 'local::t14' } ); is really cheating here... it's  passing in the document hash. as expected...
09:11 waxhead oh......
09:11 waxhead I'd have taken all night to get that far...
09:12 waxhead right.. so like you said, we need a 'real' padre here to do these tests?
09:12 Alias_ Or better mocking
09:12 Alias_ But since it's hitting the config layer, probably a "real" padre
09:12 waxhead I was going to ask about the config stuff though..
09:12 Alias_ Cause you'd need to mock it well enough to make Padre::Current happy
09:12 waxhead I'm guessing we do this 'real' padre stuff in other tests...
09:13 * waxhead goes looking
09:13 Alias_ And then you'd move Beginner.pm to using _CURRENT($self->{document})->config or something
09:13 Alias_ It would all be rather ugly
09:14 waxhead the beginner code or the test??
09:14 Alias_ The test
09:14 Alias_ Padre::Current already has a couple of subtle concessions to mocking in it
09:14 Alias_ So that it's not completely impossible to mock stuff
09:15 Alias_ But you'd need to mock the document, the editor, possibly main, and config
09:15 Alias_ Probably worth doing it properly at this point
09:15 waxhead what about in 02-new.t?  It's has a $app.... can't you  use that?
09:15 Alias_ That test never actually starts the application
09:16 Alias_ To load a document into an editor, you probably need to actually run it
09:16 Alias_ Well, you might not now I think of it
09:16 Alias_ You can but try
09:16 waxhead but once the app is running, how do you 'control' the testing of the code?
09:17 Alias_ There's some examples somewhere
09:17 Alias_ Wx timers I would guess
09:17 mattwa joined #padre
09:17 waxhead right
09:17 Alias_ A couple of the other tests do something like that
09:21 waxhead ok... I'll keep looking around to see if I can find something that makes sense....
09:21 waxhead thanks
09:22 Alias_ oh wow
09:22 Alias_ Has anyone been fucking with the status bar recently
09:23 Alias_ stc_on_update_ui, which fires basically every time you do anything, triggers a status bar operation, which does a live filesystem readonly check... across the network
09:23 Alias_ Now, me personally, I don't think doing a ->get call on the status bar should result in filesystem operations :)
09:23 Sewi Oh, it shouldn't do this :-(
09:24 Sewi Sure, a ro-check is enough on file open or save IMHO
09:24 Alias_ Padre::Wx::Main::on_stc_update_ui
09:24 Alias_ Padre::Wx::Main::refresh_rdstatus
09:24 Alias_ Padre::Wx::StatusBar::is_read_only
09:25 Alias_ Padre::File::Local::readonly
09:25 Alias_ Padre::File::Local::CORE:ftewrite
09:25 Alias_ That last one is the -w operator
09:26 Alias_ That -w operator is consuming 10 seconds out of the 40 second runtime Padre
09:26 Sewi SB::is_read_only should cache
09:26 Sewi Or use document->read_only which should cache
09:27 Alias_ You wanna take that one?
09:28 Sewi sure, I could do it, but would take some hours (currently busy)
09:29 Alias_ I'm going to delete the feature as broken in the mean time :)
09:29 Alias_ Or comment it out anyway
09:30 Alias_ More ot the point though
09:30 Alias_ Why on earth does stc_update_ui have a readonly status update call in it
09:30 Alias_ I think I'll just pull it out of there
09:33 Hyppolit svn: r10911 | adamk++ | http://padre.perlide.org/trac/changeset/10911
09:33 Hyppolit Removing the live filesystem check from the on_stc_update_ui callback, and added warnings to future maintainers about keeping the code in on_stc_update_ui fast.
09:33 Hyppolit trunk/Padre/lib/Padre/Wx/
09:33 Alias_ Sorted
09:33 Alias_ This is probably actually closer to what was intended
09:33 Sewi thanks
09:34 Alias_ refresh_rdstatus does actually kinda do what it's meant to
09:34 Alias_ It's just that it's done way too often
09:34 Alias_ I've found a few other callbacks that are similar
09:34 Alias_ Someone put a menu refresh into the editor on_focus handler
09:34 Alias_ Presumably thinking about when you change panels
09:34 waxhead how do you get a test to be more verbose?
09:35 Alias_ Using prove?
09:35 waxhead Alias_,  yeah I guess so.. it's what I just ran
09:35 Alias_ prove -vl t\14_warnings.t
09:35 waxhead man prove too I guess..
09:35 waxhead thanks
09:37 waxhead so I guess I could take the document.t and use that.. it does all the config stuff and has a test for a Perl document which would all access to the check method...
09:39 Alias_ Whoever was asking about SQLite behaviour
09:40 Alias_ On reconsideration, while ultimately we should be ok with it, it's true that SQLite behaviour could be seen as being tuned a bit too much for single instance usage
09:40 Alias_ We may want to look at doing something where we treat SQLite subtley differently based on the single_instance being on or off
09:40 Alias_ subtly
09:42 Sewi Do we need to do so?
09:42 Alias_ Maybe
09:42 Alias_ There's some things Padre does for speed reasons it doesn't really need to
09:42 Alias_ For example, during a DB lock we open a transaction
09:43 Alias_ We will never rollback, we're logically an auto_commit application
09:43 Alias_ But by putting it in a transaction, we delay the actual disk writing operation of changed pages
09:43 Sewi It seems (but I didn't really verify this) that some parts (locks? handles?) of Padre's db objects are exchanged between threads of different parent processes (instances).
09:43 Alias_ So we can precicely control when the disk lag happens
09:43 Alias_ Sewi: That is a different problem :)
09:44 Alias_ The thread manager is incompatible with the locking system at the moment
09:44 Alias_ The fix is straight forward though
09:44 LeK joined #padre
09:44 Alias_ Transactions aren't really transactions, so when the task manager wants to spawn a thread it can just commit, disconnect, spawn, the recommend and reopen the transaction
09:45 Alias_ reconnect
09:45 Alias_ sigh
09:45 Alias_ PEBKAC, seriously :(
09:45 LeK hi
09:45 Alias_ LeK: hi there
09:55 kaare joined #padre
10:07 waxhead I think I have that warnings test working... sort of
10:20 Mike__B joined #padre
10:54 waxhead oh... now it looks like it's working...
11:01 Mike__B left #padre
11:23 Hyppolit #846: padre fails t/14-warnings.t with "Can't locate object method "ide" via package "Padre"" under AUTOMATED_TESTING=1 (new defect) [ http://padre.perlide.org/trac/ticket/846#comment:5 ]
11:26 mj41 Hi. My Padre crashing on "Save session" ... trying trunk, but ... C:\usr\padre-run\Padre>perl dev.pl
11:26 mj41 Can't locate object method "select" via package "Padre::DB::HostConfig" at C:/usr/padre-run/Padre/lib/Padre/Config/Host.pm line 36.
11:27 Sewi mj41: Please open Help->About->Info
11:28 Sewi Look which is your config dir and rename the config.db there.
11:28 Sewi Try again
11:34 mj41 Sewi: Thanks. It works now.
11:36 mj41 Ohh, but only once. Second
11:37 mj41 "session save" fail again.
11:38 Sewi Did you run dev.pl with --die?
11:45 mj41 Can't run dev padre (trunk) ... Can't locate object method "select" via package "Padre::DB::HostConfig" at ...
11:46 Sewi Does perl Makefile.PL complain about any unsatisfied dependencies?
11:55 Alias That error is a database bootstrap failure
11:56 Alias It usually happens the schema is not set up (or is wrong) and when the ORLite module tries to inflate it into the Padre::DB API at compile time, it fails to create all the expected classes
11:57 Alias I had THOUGHT that I added checks, so that if the inflation failed it would crash at startup
11:57 mj41 hmm ... now I can run trunk Padre ... some test fails https://ent.ro.vutbr.cz/vyvoj​-dalsi/mj41/padre/cmdout.txt
11:57 Alias Shut down padre and delete your confir directory
11:57 Alias Then restart
11:58 Hyppolit #859: Threads/DBI/SlaveDriver problems (new defect) [ http://padre.perlide.org/trac/ticket/859 ]
11:58 Sewi Alias: #859 might be part of the same thing.
11:58 Hyppolit #859: Threads/DBI/SlaveDriver problems (new defect) [ http://padre.perlide.org/trac/ticket/859 ]
11:59 Alias Those test erros look vageuyl expected
11:59 Alias Although that plugin failure is iffy
11:59 mj41 Great. "Save session" is ok on trunk again.
12:00 Alias oh, you are on trunk?
12:00 Alias If you see Padre::DB problems again, you can do this
12:00 Alias padre --reset
12:01 Alias That will force a startup from a refresh configuration to flush out any problem in the database/etc
12:07 mj41 Yes, trunk is ok. But 0.57 on "Save session" fails. ... Not a HASH reference at C:/strawberry/perl/site/lib/P​adre/Wx/Dialog/SessionSave.pm line 186.
12:08 mj41 I did --reset, open file, save session, exit padre, start padre, open session, save session -> crash. ... Not a HASH reference at C:/strawberry/perl/site/lib/P​adre/Wx/Dialog/SessionSave.pm line 186.
12:09 Alias OK, now THAT's an error that we can do something about :)
12:10 mj41 But trunk is ok, so it is probably fixed already.
12:17 Hyppolit svn: r10912 | Sewi++ | http://padre.perlide.org/trac/changeset/10912
12:17 Hyppolit Speedup: Cache the read-only-state of open documents
12:17 Hyppolit trunk/Padre/lib/Padre/ trunk/Padre/lib/Padre/Wx/
12:22 mj41 and 0.57 fails only when started by padre.bat ... padre.exe is ok.
12:23 Hyppolit svn: r10913 | Sewi++ | http://padre.perlide.org/trac/changeset/10913
12:23 Hyppolit Changes & Perl tidy
12:23 Hyppolit trunk/Padre/ trunk/Padre/lib/Padre/
12:25 Alias weird
12:37 azawawi joined #padre
13:02 marcela joined #padre
13:02 Alias_ joined #padre
13:39 CSJewell2 joined #padre
13:44 tsee joined #padre
13:56 bayashi joined #padre
14:01 CromeDome joined #padre
14:16 szabgab mj41, I think I fixed the save session crash a few days ago  on trunk
14:17 mj41 szabgab: ok, thanks.
14:56 kthakore nightly
14:56 kthakore nightly?
14:56 Hyppolit nightly is http://perlide.org/download/source/nightly/
15:23 charsbar joined #padre
15:29 danlucraft1 joined #padre
15:45 Haarg joined #padre
15:53 LeK 6u
15:59 CSJewell So no wonder it's happening to me - I have 0.56 (installed by the SP Professional alpha) and it's now crashing on exit after a few times of setting preferences...
15:59 CSJewell [I've got to start eating my own dogfood.]
16:33 Hyppolit svn: r10914 | szabgab++ | http://padre.perlide.org/trac/changeset/10914
16:33 Hyppolit download links to the google code page
16:33 Hyppolit trunk/template.padre.perlide.org/tt/pages/
16:34 patspam joined #padre
16:44 rhebus joined #padre
17:07 OliverKrueger joined #padre
17:29 azawawi joined #padre
17:30 azawawi good evening
17:31 Sewi hi
17:32 * azawawi tries to fix S:H:P6 highlighting
17:34 azawawi Sewi: did you get a chance to write a ticket about what you needed earlier (i.e. key-mapping dialog)?
17:34 Sewi Not until now, but I'll do it.
17:37 azawawi cool
17:48 Hyppolit svn: r10915 | azawawi++ | http://padre.perlide.org/trac/changeset/10915
17:48 Hyppolit [S:H:P6] Fixed Cursor.pmc so that syml folder is created properly inside the temp directory
17:48 Hyppolit trunk/Syntax-Highlight-Perl6/lib/
17:52 El_Che joined #padre
17:53 Hyppolit #860: Configurable key bindings dialog (new enhancement) [ http://padre.perlide.org/trac/ticket/860 ]
17:55 Sewi azawawi: Is this ok?
17:55 azawawi Sewi: thx
17:56 Sewi thamk YOU
17:56 Sewi thank
17:57 Hyppolit #860: Configurable key bindings dialog (assigned enhancement) [ http://padre.perlide.org/trac/ticket/860#comment:1 ]
18:11 Hyppolit svn: r10916 | azawawi++ | http://padre.perlide.org/trac/changeset/10916
18:11 Hyppolit [S:H:P6] Fixed an uninitalized error in Cursor
18:11 Hyppolit trunk/Syntax-Highlight-Perl6/lib/
18:33 Hyppolit svn: r10917 | azawawi++ | http://padre.perlide.org/trac/changeset/10917
18:33 Hyppolit [S:H:P6] Use temporary folders for STD artifacts for easier testing/building
18:33 Hyppolit trunk/Syntax-Highlight-Perl6/t/
18:33 Hyppolit svn: r10918 | azawawi++ | http://padre.perlide.org/trac/changeset/10918
18:33 Hyppolit [S:H:P6] Removed unused commented test
18:33 Hyppolit trunk/Syntax-Highlight-Perl6/t/
18:36 Hyppolit svn: r10919 | azawawi++ | http://padre.perlide.org/trac/changeset/10919
18:36 Hyppolit [S:H:P6] Removed lex, syml folders and CORE.pad.store from ignored files. These should not occur now since tests create their own temporary folders when testing.
18:36 Hyppolit trunk/Syntax-Highlight-Perl6/
18:44 Hyppolit svn: r10920 | azawawi++ | http://padre.perlide.org/trac/changeset/10920
18:44 Hyppolit [S:H:P6] Updated Changes for 0.79 pending cpan release
18:44 Hyppolit trunk/Syntax-Highlight-Perl6/
18:45 tsee joined #padre
18:51 Hyppolit svn: r10921 | azawawi++ | http://padre.perlide.org/trac/changeset/10921
18:51 Hyppolit [S:H:P6] hilitep6 uses now a temporary folder for STD artifacts. This will make it a bit slower on subsequent runs than before.
18:51 Hyppolit trunk/Syntax-Highlight-Perl6/script/
18:55 Hyppolit svn: r10922 | azawawi++ | http://padre.perlide.org/trac/changeset/10922
18:55 Hyppolit [S:H:P6] Updated Changes
18:55 Hyppolit trunk/Syntax-Highlight-Perl6/
19:01 schlicht joined #padre
19:10 * azawawi &
19:11 Haarg joined #padre
19:12 toddr joined #padre
19:12 toddr is there a hex editor in padre by chance?
19:15 padreProblem joined #padre
19:15 padreProblem Hi, is this the right place to ask about padre related problems?
19:17 padreProblem I just installed Padre, it didn't complain about anything. But whenever I try to open a file in Padre I get "A unhandled win23 exception occured in wperl.exe [1404]"
19:17 padreProblem I do have other versions of perl installed as well but I have made sure there's no other perl dists on the Path
19:21 padreProblem It only crashes when I try open a file in the directory viewer but I also crashed when I close files using ctrl-W
19:27 szabgab toddr, only a hex viewer
19:28 toddr where would that be please?
19:28 szabgab try ctrl-3  and then type hex
19:29 szabgab it is in Edit/Show/
19:29 toddr I', om osx
19:29 toddr ctrl-3 no effect
19:30 szabgab ctrl-3 is Search/quick Menu Access
19:30 toddr : no worky
19:30 szabgab but the hex viewer is Edit/Show
19:30 toddr ah! cmd-3
19:31 toddr szabgab: thanks!
19:31 szabgab you are welcome
19:32 szabgab padreProblem, how did you install Padre? Which package?
19:33 szabgab and btw why not pick a name that describes you?
19:33 toddr left #padre
19:52 patspam joined #padre
20:08 patspam joined #padre
20:13 patspam joined #padre
20:23 kyanardag joined #padre
20:24 patspam joined #padre
21:01 rindolf joined #padre
21:28 OliverKrueger joined #padre
21:28 Sewi Di OliverKrueger
21:28 Sewi Hi OliverKrueger
21:28 OliverKrueger Hello Sewi
22:21 mackan joined #padre
22:21 mackan how long does Padre take to compile?
22:34 mackan finally! :D
22:34 mackan no wait..
22:35 mackan http://pastebin.com/kecuu2C6
22:35 mackan what went wrong? :(
22:46 mackan wat.. there's a binary?
22:48 mackan why bundle it with strawberry perl? >.< I have already downloaded that
23:00 mackan I'll try doing it with force
23:18 svenbuntu joined #padre
23:20 svenbuntu Hi, not sure whether this is the right place to ask for help. However, I'm having problems with installing Padre 0.57 on Ubuntu kk. The error seems to be with Wx. Does anyone know how to resolve this?
23:21 El_Che svenbuntu: what's the error?
23:21 svenbuntu The specific error is:  Can't load '/usr/lib/perl5/auto/Wx/Wx.so' for module Wx: /usr/lib/perl5/auto/Wx/Wx.so: symbol _ZNK9wxMenuBar12GetMenuLabelEj, version WXU_2.8.5 not defined in file libwx_gtk2u_core-2.8.so.0 with link time reference at /usr/lib/perl/5.10/DynaLoader.pm line 196.
23:21 Hyppolit Changeset #12 http://padre.perlide.org/trac/changeset/12
23:21 El_Che svenbuntu: you probably miss some -dev dependencies
23:22 El_Che ubuntu 9.10?
23:22 svenbuntu yes 9.10
23:23 svenbuntu El_Che: I tried to install it using cpan. Would you know what dependencies are required?
23:23 El_Che yes, having a look
23:24 El_Che this is sadly a fresh system here
23:24 svenbuntu oh ok, thanks
23:24 El_Che try this sudo apt-get install libperl-dev libwx-perl
23:28 svenbuntu libwx-perl already newest. Installed. libperl-dev. same result though :(
23:29 El_Che damn, I solved this problem a few weeks ago at the perl stand at Fosdem
23:29 El_Che my memory sucks
23:29 svenbuntu This seems to boil down to this line: LD_BIND_NOW=1 perl -e "use Wx"
23:29 El_Che it was a dev package missing
23:29 svenbuntu hehe
23:29 El_Che (it was a mandrake system, but same problem)
23:30 svenbuntu mm
23:30 El_Che wx-dev?
23:30 svenbuntu will have a look
23:30 El_Che libwxgtk2.8-dev
23:31 svenbuntu already latest version
23:34 El_Che you have this one installed? libwxgtk2.8-0
23:35 svenbuntu yes, it's installed.
23:35 El_Che it's in the channel logs
23:35 El_Che http://perlide.org/irclogs/%23padre/2010-01-29.log
23:35 El_Che having a quick look
23:36 svenbuntu ok, I'll have a look as well
23:40 El_Che did you do a sudo apt-get install padre ?
23:40 El_Che to get most dependencies?
23:40 svenbuntu ah, I see that I had the same set up as tlb in the logs. Installed padre from ubuntu rep, cpan padre -> this error. (Wanted to cpan Padre::Plugin::Catalystsomething wchic required .57)
23:41 svenbuntu so v 0.42 works but I can't get some of the plugins.
23:41 svenbuntu Maybe I can get them somewhere else instead?
23:42 El_Che https://bugs.launchpad.net/ubu​ntu/+source/padre/+bug/485012
23:42 El_Che I'll try on this clean tomorrow
23:42 El_Che ping me if you want
23:42 El_Che (going to bed)
23:43 svenbuntu ok, thanks for your help. I did have that bug but worked around it.
23:59 patspam joined #padre

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