Camelia, the Perl 6 bug

IRC log for #padre, 2011-07-04

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

All times shown according to UTC.

Time Nick Message
00:05 castaway left #padre
00:05 castaway joined #padre
01:02 Alias_ joined #padre
02:10 Di-ima left #padre
02:21 Di-ima joined #padre
02:59 asarch joined #padre
03:43 kaare joined #padre
04:10 |Sno| joined #padre
04:13 Sno| left #padre
05:17 danlucraft left #padre
05:18 asarch left #padre
05:39 Sewi joined #padre
06:02 Sewi gm all
06:06 Sewi PAUSE HTTPS offline?
06:19 Alias_ WORKSFORME
06:19 Alias_ It's slow some days, but today is fine
06:21 Sewi ok, thanks
06:21 * Alias_ finishes Wx::GridBagSizer support
06:21 Alias_ That's all the sizers done
06:51 pece joined #padre
07:09 toi joined #padre
07:12 toi left #padre
07:13 toi joined #padre
07:14 toi left #padre
07:15 toi joined #padre
07:15 toi left #padre
07:20 toi joined #padre
07:22 toi left #padre
07:22 toi joined #padre
07:23 toi left #padre
07:24 toi joined #padre
07:24 toi left #padre
07:26 mj41 joined #padre
07:31 El_Che lo
07:31 toi joined #padre
07:32 toi left #padre
07:32 Alias_ Support done for Wx::Notebook and Wx::TreeCtrl
07:33 toi joined #padre
07:34 toi left #padre
07:45 pece left #padre
07:48 Alias_ Support done for Wx::RadioButton
07:48 Alias_ Uploading 0.51 now
07:48 Alias_ Apart from rich text control, this implements pretty much all the core widgets we use
07:52 El_Che Alias_: do understand FBP::Perl correctly as a kind of libglade as used in the gtk+glade world?
07:53 Alias_ Approximately
07:53 El_Che design withwxformbuilder and render from perl
07:53 Alias_ Slight differences
07:53 sugar joined #padre
07:53 Alias_ Design with wxFormBuilder and transform with FBP::Perl into pure Pure code that produces the same gui
07:53 Alias_ It doesn't do the XML -> GUI on the fly like glade does
07:53 El_Che ah, glade as it used to be
07:53 Alias_ right
07:54 El_Che before they abandonned that way
07:54 Alias_ Well, it IS kind of silly to be regenerating code all the time
07:54 Alias_ You have to commit twice every time
07:54 Alias_ But in Wx, the XRC format doesn't support as much complexity as the native wxFormBuilder does
07:55 Alias_ Plus, XRC needs another 3-4 meg of XML libraries to load it
07:55 Alias_ And then you've still got to write all your own code to bind to stuff
07:55 Alias_ This way is more straight forward, at the cost of regeneration overheads
07:56 Alias_ But the resulting code is fairly small, seems to be mostly faster
07:56 El_Che nice
07:56 Alias_ At a certain scale you have more code to load in memory than the 3-4 meg overhead
07:56 Alias_ So I guess it's theoretically worth it at that point
07:57 Alias_ But we can do neato sub-classing tricks this way
07:57 Alias_ And the code is completely readable without having the original tools
07:58 Alias_ Although the XRC loader is all pure Perl, so there's a good chance it's faster :)
07:58 El_Che will it be offered to plugins?
07:59 Alias_ Padre::Plugin::FormBuilder has a custom codegen sub-class which generates Padre-compatible gui code
07:59 Alias_ So you can generate dialogs for plugins vs generic Wx dialogs by just checking a box
08:00 Alias_ And once I get finished with the main codegen, I'll be adding some kind of metadata tagging into generated files
08:00 Alias_ So if you have a file open that was generated by wxFormBuilder, you can just ask the plugin to regenerate it, or "Edit Dialog"
08:00 Alias_ And have it fork off a wxFormBuilder sessin, then regenerate all the dialogs at the end
08:00 Alias_ Stuff like that
08:01 Alias_ Or "Create new Perl distribution from wxFormBuilder project"
08:01 Alias_ Higher level stuff
08:05 El_Che that is a big plus
08:05 El_Che like the netbeans + matisse that make it trivial to create swing GUIs
08:12 jazzanova joined #padre
08:13 Alias_ Yep
08:14 El_Che Im must confess that in the past I have used java+swing for fast-fast gui projects
08:14 Alias_ But it still works
08:14 Alias_ And it is good enough until we get wxFormBuilder to support us, or something
08:15 Alias_ Yup
08:15 Alias_ I've always wanted something fast-fast in Perl
08:16 Alias_ Draw up app, hit a "Generate application" button, fill in the event handler stubs
08:16 Alias_ It's what Visual Basic and friends have done for a decade
08:19 El_Che I don't mind theglade approach
08:19 El_Che where you write all the code (including the application loop) except everything that draws windows
08:20 Alias_ FBP::Perl already kinda works a bit like that
08:20 Alias_ It never generates entire .pl script
08:20 Alias_ Just one .pm class for each dialog
08:21 Alias_ So you (at the moment) still need to my $dialog = My::Class->new( $app );
08:21 Alias_ But I've already added some code to generate a skeleton My::App top level as well
08:21 El_Che the thing about glade was that it was easy to mix stuff in GUI and in code. Where to you specify the callback name, etc
08:21 Alias_ And there's an option to generate the classes as shims
08:21 Alias_ Have you seen the current generation of dialog code in Padre?
08:22 Alias_ It's pretty much what the current state is
08:22 Alias_ Look at Padre::Wx::Dialog::Preferences
08:22 El_Che no, I have been rather out (time == 0 )
08:22 Alias_ Thin shim over the generated and much larger Padre::Wx::FBP::Preferences
08:22 El_Che I had a look though to fix a few bugs in preferences
08:23 El_Che e.g. "advanced" throuwing the changed "simple" settings aways
08:23 El_Che away
08:23 Alias_ That was intentional
08:23 Alias_ Although we probably should ask the user...
08:23 El_Che it was a bad choice (tm)
08:23 El_Che we do have a cancel button for that
08:24 Alias_ No you don't
08:24 Alias_ You can't hit cancel and then open advanced prefs
08:24 Alias_ Advanced is intentionally "hidden" inside of the main one
08:24 El_Che no, not that
08:24 El_Che when you are in the preferences (normal one)
08:24 El_Che you change stuff
08:24 El_Che and the you click advanced to change extra stuff (think wx::scintilla)
08:25 Alias_ right
08:25 El_Che at that click you loose all the simple changes
08:25 Alias_ And changes don't cascade though
08:25 Alias_ I didn't do that, because it was trickier
08:25 El_Che so now it saves them
08:25 El_Che it seemed more logical to me
08:25 Alias_ You either have to cancel all, autosave silently, or grab the changes as a diff and cascade over
08:25 Alias_ Wait, "Advanced..." now implicitly means "Apply"
08:25 Alias_ ?
08:26 Alias_ That's a bit magical
08:26 El_Che yes, "apply what I changed in simple"
08:26 Alias_ ick
08:26 El_Che I agree it's automagical
08:26 Alias_ Although I guess less ick in practice than "discard silently"
08:26 Alias_ It should be possible to carry over a diff though
08:26 El_Che but less automagical than "trhow changes away"
08:26 Alias_ I think I know how in my head
08:26 Alias_ I'll look into it at some point
08:26 El_Che so we agree we need a metaphor change there
08:27 Alias_ yeah
08:27 Alias_ I just don't want to do an ACTUAL dialog merge
08:27 El_Che we see it from an opposite point of view, but I think we both are right
08:27 Alias_ Nah
08:27 Alias_ "Correct" is "Carry unsaved changes between the two dialogs, both directions"
08:27 Alias_ So changes ONLY ever apply when they actually hit an "Apply"
08:27 Alias_ But nothing is every forgotten
08:28 Alias_ Like I said, I think I know how
08:28 Alias_ Just have to do the coding
08:28 Alias_ But first, FBP::Perl is only 2 or 3 widgets away from having full coverage of wxFormBuilder
08:28 Sniper left #padre
08:28 Alias_ I want it to be truly "done", since wxFormBuilder only does updates once a year or so
08:29 Alias_ So it should stay fairly stable once coverage is complete
08:29 Alias_ And now I gotta head home
08:29 Alias_ Later
08:29 Alias_ left #padre
08:41 bowtie joined #padre
08:48 daxim joined #padre
09:18 Sewi left #padre
10:01 pece joined #padre
10:38 mj41 left #padre
10:47 szabgab hmm
10:47 szabgab an't call method "SetValue" on an undefined value at /home/gabor/work/Padre/lib​/Padre/Wx/ActionLibrary.pm line 1205.
10:47 szabgab Can't call method "SetValue" on an undefined value at /home/gabor/work/Padre/lib​/Padre/Wx/ActionLibrary.pm line 1205.
10:47 szabgab I think when I clicecked ctrl-f
10:47 szabgab r14809
10:47 Hyppolit Changeset #14809 http://padre.perlide.org/trac/changeset/14809
11:02 mj41 joined #padre
11:14 Sewi joined #padre
11:34 El_Che azawawi's Wx::scintilla rocks
11:34 El_Che I love the new //= operator
11:36 mj41 left #padre
11:47 danlucraft joined #padre
12:06 danlucraft left #padre
12:14 mj41 joined #padre
12:40 azawawi joined #padre
12:40 azawawi hi
12:41 azawawi El_Che: thanks
12:55 Hyppolit svn: r14810 | azawawi++ | http://padre.perlide.org/trac/changeset/14810
12:55 Hyppolit Updated 0.19 release Changes
12:55 Hyppolit trunk/Wx-Scintilla/
12:56 El_Che azawawi: one bug share with ppi though: sometime it seems to loose colours
12:56 Hyppolit svn: r14811 | azawawi++ | http://padre.perlide.org/trac/changeset/14811
12:56 Hyppolit Removed extra tab from Changes
12:56 Hyppolit trunk/Wx-Scintilla/
12:57 azawawi El_Che: i see
12:58 szabgab I have not tested recently but does   split / /, $string      highlight correctly?
12:59 El_Che yep
12:59 El_Che wonderfull
12:59 El_Che mm
12:59 El_Che wat
12:59 El_Che I was thinking //=
12:59 El_Che let me test
13:00 El_Che breaks without ()
13:00 El_Che string(/ /, $string); works
13:03 szabgab warning: unused variable ‘Perl___notused’
13:03 szabgab I love this :)
13:03 Hyppolit svn: r14812 | azawawi++ | http://padre.perlide.org/trac/changeset/14812
13:03 Hyppolit Updated Changes after releasing 0.19 to the wonderful world of CPAN. Bumped version to 0.20
13:03 Hyppolit trunk/Wx-Scintilla/ trunk/Wx-Scintilla/lib/Wx/
13:03 szabgab while building Wx::Scintilla...
13:04 azawawi cpanm http://cpan.cpantesters.org/authors/id​/A/AZ/AZAWAWI/Wx-Scintilla-0.19.tar.gz
13:05 azawawi nothing major. Just wanted to release this stable version to start working on scintilla2
13:05 azawawi size of wx::scintilla distribution will be 1.5x to 2x during development
13:06 danlucraft joined #padre
13:06 azawawi until i can backport wxWidgets 2.9.x scintilla2 into wxWidgets 2.8.x
13:09 * azawawi work &
13:09 azawawi left #padre
13:38 jazzanova left #padre
13:40 Hyppolit svn: r14813 | azawawi++ | http://padre.perlide.org/trac/changeset/14813
13:40 Hyppolit Refactored wx_scintilla readiness check into Padre::Wx::Main to fix ticket:1245
13:40 Hyppolit trunk/Padre/lib/Padre/Wx/
13:42 Hyppolit # 1245 :  Info missing for Wx::Scintilla in Padre System About (closed defect) by azawawi  [ http://padre.perlide.org/t​rac/ticket/1245#comment:1 ]
13:43 Hyppolit svn: r14814 | azawawi++ | http://padre.perlide.org/trac/changeset/14814
13:43 Hyppolit Updated Changes
13:43 Hyppolit trunk/Padre/
13:43 asarch joined #padre
13:48 bowtie Alias, some info for you:
13:48 bowtie Writing Makefile for FBP::Perl (0.50)
13:48 bowtie #   Failed test 'use Wx::HTML;'
13:48 bowtie #   at t/01_compile.t line 20.
13:48 bowtie #     Tried to use 'Wx::HTML'.
13:48 bowtie #     Error:  Can't locate Wx/HTML.pm
13:51 Hyppolit svn: r14815 | azawawi++ | http://padre.perlide.org/trac/changeset/14815
13:51 Hyppolit More refactoing. Moved wx_scintilla_ready into Padre::Util instead of using it in Padre::Wx::Main
13:51 Hyppolit trunk/Padre/lib/Padre/ trunk/Padre/lib/Padre/Wx/
13:55 Hyppolit svn: r14816 | azawawi++ | http://padre.perlide.org/trac/changeset/14816
13:55 Hyppolit Perl tidy my recent changes
13:55 Hyppolit trunk/Padre/lib/Padre/ trunk/Padre/lib/Padre/Wx/
13:57 El_Che hey, you let them count twice :)
14:31 mj41 left #padre
14:41 Sewi1 joined #padre
14:44 Sewi left #padre
15:10 Hyppolit svn: r14817 | szabgab++ | http://padre.perlide.org/trac/changeset/14817
15:10 Hyppolit Update the messages.pot file
15:10 Hyppolit trunk/Padre/share/locale/
15:11 rindolf joined #padre
15:29 dolmen joined #padre
15:45 bowtie left #padre
16:29 sugar left #padre
17:10 toi joined #padre
17:18 rindolf Hi all.
17:25 danlucraft left #padre
17:27 dolmen left #padre
17:35 daxim left #padre
17:42 mj41 joined #padre
18:09 bowtie joined #padre
18:27 Sniper joined #padre
18:29 rindolf left #padre
18:46 danlucraft joined #padre
19:22 diogo_ joined #padre
19:27 estranho left #padre
19:37 diogo_ is now known as estranho
19:49 kaare left #padre
19:53 Sewi1 left #padre
20:10 danlucraft left #padre
20:36 toi left #padre
20:39 mj41 left #padre
20:50 mj41 joined #padre
20:56 Steffen joined #padre
21:01 [Sno] joined #padre
21:07 pece left #padre
21:08 dolmen joined #padre
21:25 asarch left #padre
21:39 PerlJam left #padre
21:49 [Sno] left #padre
22:15 PerlJam joined #padre
22:36 Steffen left #padre
22:49 mj41 left #padre
23:41 dolmen left #padre
23:58 asarch joined #padre

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