You can subscribe to this list here.
2000 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
(1) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2001 |
Jan
|
Feb
(7) |
Mar
(5) |
Apr
(4) |
May
(15) |
Jun
(10) |
Jul
(4) |
Aug
(12) |
Sep
(39) |
Oct
(22) |
Nov
(46) |
Dec
(65) |
2002 |
Jan
(19) |
Feb
(27) |
Mar
(50) |
Apr
(73) |
May
(85) |
Jun
(52) |
Jul
(49) |
Aug
(95) |
Sep
(152) |
Oct
(81) |
Nov
(42) |
Dec
(62) |
2003 |
Jan
(45) |
Feb
(47) |
Mar
(101) |
Apr
(110) |
May
(53) |
Jun
(72) |
Jul
(125) |
Aug
(77) |
Sep
(87) |
Oct
(69) |
Nov
(55) |
Dec
(71) |
2004 |
Jan
(127) |
Feb
(68) |
Mar
(93) |
Apr
(102) |
May
(64) |
Jun
(92) |
Jul
(40) |
Aug
(113) |
Sep
(44) |
Oct
(61) |
Nov
(44) |
Dec
(100) |
2005 |
Jan
(57) |
Feb
(51) |
Mar
(101) |
Apr
(73) |
May
(45) |
Jun
(97) |
Jul
(92) |
Aug
(94) |
Sep
(46) |
Oct
(83) |
Nov
(82) |
Dec
(68) |
2006 |
Jan
(92) |
Feb
(116) |
Mar
(84) |
Apr
(66) |
May
(40) |
Jun
(57) |
Jul
(89) |
Aug
(82) |
Sep
(58) |
Oct
(94) |
Nov
(104) |
Dec
(70) |
2007 |
Jan
(86) |
Feb
(108) |
Mar
(193) |
Apr
(84) |
May
(71) |
Jun
(54) |
Jul
(17) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: Donovan A. <al...@Zo...> - 2006-10-03 22:02:52
|
subs::parallel looks neat, but glancing at it, I would say be careful = with it, since stack size and var duplication might eat you alive. =20 As far as I have gone with threads in perl, a possible approach for you = is: =20 1> Launch your thread early in the code, decreasing the amount of = duplicate vars. 2> Use threads::shared or Thread::Queue::* family to share data = structures between threads 3> Setup a queue check on timer or loop iteration (or use = Thread::Queue::Monitored or Thread::Queue::Any::Monitored? - no = experience with these 2) within the threads that need to act on = new/changed data. 3b> Don't recall details atm, but I think Thread::Queue can block as = well, so you can idle until data flows in (probably a better fit for = background process blocking on GUI providing data). =20 Now, an approach I have taken is to actually pass perl code as a scalar = between threads (generating it on one end, evaling it on the other). = There are plenty of potential gotchas on this path, which I will not go = into here. =20 I would also check out: http://www.presicient.com/psiche/ =20 They offer up some good reading and some interesting modules, although = Thread::Sociable appears to be gone...possible that some of the = performance issues with threads::shared have been resolved? =20 =20 Also, have you looked at Mattia's Wx::App::MasterMind package to see how = he has done threading with Wx? I have not myself, so no clue. =20 I have used the approach I provided at the top with great success and = very nice performance with both non-GUI apps and Win32::GUI apps, but = not yet within a WxPerl app. =20 =20 I have also been hoping to write a test that uses one of the Event libs = to handle my queue watching for me. =20 Anyway, interested to know how you resolve it and any cool bits you = discover along the way. =20 ________________________________ From: wxp...@li... on behalf of Foo JH Sent: Tue 10/3/2006 2:45 AM To: Sergei Steshenko Cc: wxperl-users Subject: Re: [wxperl-users] Threading in wxPerl Hello Sergei, Thanks for the reply. I don't know if this will work. The abstraction is so clean I worry if I can control the sharing of variable at all. And to answer your question: Perl doc says that threading will duplicate ALL variables in the main thread. Sounds quite bad to me. Does any1 else do threading on wxPerl? Sergei Steshenko wrote: > --- Foo JH <jhf...@ex...> wrote: > > =20 >> Hi all, >> >> I'm trying to write an app that does work in the background, and the = gui >> will show any updates based on the background job. >> >> The thing is, Perl's threading duplicates all variables. I wonder how = in >> a new thread, I can continue to work on the control objects in the = main >> thread. >> >> Any best practice in this area is appreciated. >> >> Thanks. >> >> = -------------------------------------------------------------------------= >> Take Surveys. Earn Cash. Influence the Future of IT >> Join SourceForge.net's Techsay panel and you'll get the chance to = share your >> opinions on IT & business topics through brief surveys -- and earn = cash >> = http://www.techsay.com/default.php?page=3Djoin.php&p=3Dsourceforge&CID=3D= DEVDEV >> _______________________________________________ >> wxperl-users mailing list >> wxp...@li... >> https://lists.sourceforge.net/lists/listinfo/wxperl-users >> >> =20 > > Does Perl threading also duplicate global variables ? > > Have you considered subs::parallel - to be found as > > = http://search.cpan.org/~nilsonsfj/subs-parallel-0.07/lib/subs/parallel.pm= > > ? > > The latter, I believe, hides threads from you, so you just have to = think > how to synchronize the subroutines. > > --Sergei. > > > > > Applications From Scratch: http://appsfromscratch.berlios.de/ > > __________________________________________________ > Do You Yahoo!? > Tired of spam? Yahoo! Mail has the best spam protection around > http://mail.yahoo.com > > = -------------------------------------------------------------------------= > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to = share your > opinions on IT & business topics through brief surveys -- and earn = cash > = http://www.techsay.com/default.php?page=3Djoin.php&p=3Dsourceforge&CID=3D= DEVDEV > _______________________________________________ > wxperl-users mailing list > wxp...@li... > https://lists.sourceforge.net/lists/listinfo/wxperl-users > =20 -------------------------------------------------------------------------= Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share = your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=3Djoin.php&p=3Dsourceforge&CID=3D= DEVDEV _______________________________________________ wxperl-users mailing list wxp...@li... https://lists.sourceforge.net/lists/listinfo/wxperl-users |
From: Mike S. <Mik...@Do...> - 2006-10-03 16:50:11
|
We use POE instead -- not threading, but a lot easier for cross-platform work. http://search.cpan.org/~mike/POE-Loop-Wx-0.03/ There are some examples there too. While you can put each frame in its own POE session, our approach now is to have one POE session for Wx, and any other POE sessions as required. Also, we are almost ready to release Wx::Data -- a collection of modules that uses Wx and POE to create data-aware Wx controls that can talk asynchronously back to a POE-based server -- letting the the client use POE and the server. This way a complex frame with multiple controls -- each control can asynchronously connect back to the server (with common cache keys in the client and the server) and populate themselves independently. We are just finishing up a REST-like cachekey / data access that is shared between the controls and the server to allow for distributed caching of data and server-push updates of cache data to the clients. Once that is all done, we'll be doing an initial release to CPAN. Anyhow, all that to say, you may want to consider POE as an alternative to threads. Hope that helps. Mike. Foo JH wrote: > Hello Sergei, > > Thanks for the reply. I don't know if this will work. The abstraction is > so clean I worry if I can control the sharing of variable at all. > > And to answer your question: Perl doc says that threading will duplicate > ALL variables in the main thread. Sounds quite bad to me. > > Does any1 else do threading on wxPerl? > > Sergei Steshenko wrote: > >> --- Foo JH <jhf...@ex...> wrote: >> >> >> >>> Hi all, >>> >>> I'm trying to write an app that does work in the background, and the gui >>> will show any updates based on the background job. >>> >>> The thing is, Perl's threading duplicates all variables. I wonder how in >>> a new thread, I can continue to work on the control objects in the main >>> thread. >>> >>> Any best practice in this area is appreciated. >>> >>> Thanks. >>> >>> |
From: Foo JH <jhf...@ex...> - 2006-10-03 09:45:37
|
Hello Sergei, Thanks for the reply. I don't know if this will work. The abstraction is so clean I worry if I can control the sharing of variable at all. And to answer your question: Perl doc says that threading will duplicate ALL variables in the main thread. Sounds quite bad to me. Does any1 else do threading on wxPerl? Sergei Steshenko wrote: > --- Foo JH <jhf...@ex...> wrote: > > >> Hi all, >> >> I'm trying to write an app that does work in the background, and the gui >> will show any updates based on the background job. >> >> The thing is, Perl's threading duplicates all variables. I wonder how in >> a new thread, I can continue to work on the control objects in the main >> thread. >> >> Any best practice in this area is appreciated. >> >> Thanks. >> >> ------------------------------------------------------------------------- >> Take Surveys. Earn Cash. Influence the Future of IT >> Join SourceForge.net's Techsay panel and you'll get the chance to share your >> opinions on IT & business topics through brief surveys -- and earn cash >> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV >> _______________________________________________ >> wxperl-users mailing list >> wxp...@li... >> https://lists.sourceforge.net/lists/listinfo/wxperl-users >> >> > > Does Perl threading also duplicate global variables ? > > Have you considered subs::parallel - to be found as > > http://search.cpan.org/~nilsonsfj/subs-parallel-0.07/lib/subs/parallel.pm > > ? > > The latter, I believe, hides threads from you, so you just have to think > how to synchronize the subroutines. > > --Sergei. > > > > > Applications From Scratch: http://appsfromscratch.berlios.de/ > > __________________________________________________ > Do You Yahoo!? > Tired of spam? Yahoo! Mail has the best spam protection around > http://mail.yahoo.com > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys -- and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > wxperl-users mailing list > wxp...@li... > https://lists.sourceforge.net/lists/listinfo/wxperl-users > |
From: Sergei S. <ser...@ya...> - 2006-10-03 05:01:08
|
--- Foo JH <jhf...@ex...> wrote: > Hi all, > > I'm trying to write an app that does work in the background, and the gui > will show any updates based on the background job. > > The thing is, Perl's threading duplicates all variables. I wonder how in > a new thread, I can continue to work on the control objects in the main > thread. > > Any best practice in this area is appreciated. > > Thanks. > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys -- and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > wxperl-users mailing list > wxp...@li... > https://lists.sourceforge.net/lists/listinfo/wxperl-users > Does Perl threading also duplicate global variables ? Have you considered subs::parallel - to be found as http://search.cpan.org/~nilsonsfj/subs-parallel-0.07/lib/subs/parallel.pm ? The latter, I believe, hides threads from you, so you just have to think how to synchronize the subroutines. --Sergei. Applications From Scratch: http://appsfromscratch.berlios.de/ __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com |
From: Foo JH <jhf...@ex...> - 2006-10-03 04:45:12
|
Hi all, I'm trying to write an app that does work in the background, and the gui will show any updates based on the background job. The thing is, Perl's threading duplicates all variables. I wonder how in a new thread, I can continue to work on the control objects in the main thread. Any best practice in this area is appreciated. Thanks. |
From: Foo JH <jhf...@ex...> - 2006-10-01 17:19:15
|
Thanks for the update. :) Mark Dootson wrote: > Hi, > > You're a victim of version changes!! > > http://www.wxwindows.org/manuals/2.6.3/wx_contents.html > > Works. > > If you want the docs for a specific version, go to > ftp://biolpc22.york.ac.uk/pub/ > > and browse to the directory for the version you want. The manuals are > available in html / htb / winhelp / pdf formats for download. > > Regards > > Mark > > > > Foo JH wrote: > >> Hi all, >> >> Is it me, or are the wxWidgets documentation >> (http://www.wxwidgets.org/manuals/2.6.1/wx_contents.html) no longer >> available online? >> >> Is there any place one can go to, to get the class documentation for the >> wx objects? >> >> ------------------------------------------------------------------------- >> Take Surveys. Earn Cash. Influence the Future of IT >> Join SourceForge.net's Techsay panel and you'll get the chance to share your >> opinions on IT & business topics through brief surveys -- and earn cash >> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV >> _______________________________________________ >> wxperl-users mailing list >> wxp...@li... >> https://lists.sourceforge.net/lists/listinfo/wxperl-users >> > > > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys -- and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > wxperl-users mailing list > wxp...@li... > https://lists.sourceforge.net/lists/listinfo/wxperl-users > |
From: herbert b. <dei...@we...> - 2006-09-30 21:06:51
|
first please update links on http://wxperl.sourceforge.net/documentation.h= tml to current documentation. 2. perl manual could mention that Wx::XMLRessource is wrapped but not Wx::= XMLRessourceHandler 3. why did you choose :everything and not :all =3F thanks and kudos to mattia herbert proton-ce.sf.net =5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F Viren-Scan f=FCr Ihren PC! Jetzt f=FCr jeden. Sofort, online und kostenlos. Gleich testen! http://www.pc-sicherheit.web.de/freescan/=3Fmc=3D022222 |
From: Mark D. <mar...@zn...> - 2006-09-29 23:03:57
|
Hi, You're a victim of version changes!! http://www.wxwindows.org/manuals/2.6.3/wx_contents.html Works. If you want the docs for a specific version, go to ftp://biolpc22.york.ac.uk/pub/ and browse to the directory for the version you want. The manuals are available in html / htb / winhelp / pdf formats for download. Regards Mark Foo JH wrote: > Hi all, > > Is it me, or are the wxWidgets documentation > (http://www.wxwidgets.org/manuals/2.6.1/wx_contents.html) no longer > available online? > > Is there any place one can go to, to get the class documentation for the > wx objects? > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys -- and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > wxperl-users mailing list > wxp...@li... > https://lists.sourceforge.net/lists/listinfo/wxperl-users |
From: Mark D. <mar...@zn...> - 2006-09-29 18:29:03
|
Edward Heil wrote: > If I'm understanding you correctly, wxDP_ALLOWNONE is essentially > nonfunctional in wxMSW? The only way to allow null dates and have it > work in wxMSW is to roll your own external checkbox to indicate whether > or not the date is null? And it's an upstream wxWidgets issue, not a > wxPerl one? > > If that is the case we might be better off going back to our own > roll-your-own date solution involving a TextCtrl and a button that > triggers a picker dialog with a Wx::Calendar on it. > I think so, yes. wxDP_ALLOWNONE flag presents a checkbox that allows the user to 'disable' the datepicker control. But I can't see any way you can determine from your code whether or not that check box is selected. Perhaps someone else with more DatePicker experience can confirm? Regards Mark |
From: Foo JH <jhf...@ex...> - 2006-09-29 13:19:12
|
Hi all, Is it me, or are the wxWidgets documentation (http://www.wxwidgets.org/manuals/2.6.1/wx_contents.html) no longer available online? Is there any place one can go to, to get the class documentation for the wx objects? |
From: Lucian D. <lu...@eu...> - 2006-09-29 08:12:26
|
Hi, After more testing with , I can confirm that wxTreeCtrl::SetItemDropHighlight is partially supported in wxGTK (2.6.3): the item is highlighted, but it loses the custom text colour applied (if any), and possible the background colour. Also, I want to ask for two small additions, in TreeCtrl.xs too: GetItemTextColour and GetItemBackgroundColour. I've tested these in both Linux and Windows. (patch for Wx-0.57/XS/TreeCtrl.xs, CVS version) ------------------------------------ --- XS/TreeCtrl.orig.xs 2006-09-24 18:04:24.000000000 +0300 +++ XS/TreeCtrl.xs 2006-09-29 09:50:48.000000000 +0300 @@ -365,6 +365,22 @@ wxTreeItemId* item C_ARGS: *item +wxColour* +wxTreeCtrl::GetItemTextColour( item ) + wxTreeItemId* item + CODE: + RETVAL = new wxColour( THIS->GetItemTextColour( *item ) ); + OUTPUT: + RETVAL + +wxColour* +wxTreeCtrl::GetItemBackgroundColour( item ) + wxTreeItemId* item + CODE: + RETVAL = new wxColour( THIS->GetItemBackgroundColour( *item ) ); + OUTPUT: + RETVAL + wxTreeItemId* wxTreeCtrl::GetLastChild( item ) wxTreeItemId* item @@ -647,7 +663,7 @@ if( tid ) delete tid; THIS->SetItemData( *item, data ? new wxPliTreeItemData( data ) : 0 ); -#if defined( __WXMSW__ ) +#if defined( __WXMSW__ ) || defined( __WXGTK__ ) void wxTreeCtrl::SetItemDropHighlight( item, highlight = true ) ------------------------------------ Thank you, Lucian Dragus > Hi, > > I added this to CVS on Sep 5th (only supported by wxWidgets on WXMSW). > > Regards > Mark |
From: Edward H. <ed...@do...> - 2006-09-29 03:03:45
|
Thank you, Mark! I will be keeping a copy of your email handy for reference for future situations like this. Regarding one of the things you mentioned -- Mark Dootson wrote: > Even if wxDefaultDateTime were exported, if you used it in the > constructor of your Wx::DatePickerCtrl, the date would be set to the > current date. (Well, as it isn't exported this can't be tested, but so > the docs say). > > On wxMSW, if you use the wxDP_ALLOWNONE flag and have the control > apparantly toggled 'off', ->GetValue() still returns the date value from > the control. This is a wxWidgets 'feature' rather than anything to do > with wxPerl I think. > If I'm understanding you correctly, wxDP_ALLOWNONE is essentially nonfunctional in wxMSW? The only way to allow null dates and have it work in wxMSW is to roll your own external checkbox to indicate whether or not the date is null? And it's an upstream wxWidgets issue, not a wxPerl one? If that is the case we might be better off going back to our own roll-your-own date solution involving a TextCtrl and a button that triggers a picker dialog with a Wx::Calendar on it. In any case, I appreciate your message; you gave me a fish *and* taught me how to fish. :) Best, Ed |
From: Mark D. <mar...@zn...> - 2006-09-29 01:25:33
|
Hi, The particular constant 'wxDefaultDateTime' does not appear to be exported. Even if wxDefaultDateTime were exported, if you used it in the constructor of your Wx::DatePickerCtrl, the date would be set to the current date. (Well, as it isn't exported this can't be tested, but so the docs say). On wxMSW, if you use the wxDP_ALLOWNONE flag and have the control apparantly toggled 'off', ->GetValue() still returns the date value from the control. This is a wxWidgets 'feature' rather than anything to do with wxPerl I think. It seems to me that you'll get the most satisfactory interface if you use a separate check box you can actually check the state of to enable / disable a dropdown DatePickerCtrl. Use 'Wx::DateTime->new()' instead of wxDefaultDateTime in the constructor to get 'today' as an initial value. I assume you were just asking about the specific constant wxDefaultDateTime, but for anyone interested - for general examples on how to use controls, load constants, where you need to 'use Wx::SomethingElse' etc. are you aware of the wxDemo ? http://search.cpan.org/~mbarbon/Wx-Demo-0.02/ Browsing the module code of the demo is currently the best 'reference' available I think. To find out which constants are actually exported by wxPerl, you can check the text of the Wx_Exp.pm module in your Wx installation. A tip on the DateTime stuff in general - choose from the vast array of Date Time modules on CPAN for any of your date operations or calculations - just use the wxWidgets stuff for display. I often get carried away using wxWidgets functions just because they are in the toolkit when really there are much better solutions on CPAN. Best Regards Mark Edward Heil wrote: > Hullo -- > > We've been using our own hand-rolled datepicker control, which pulls up > a dialog with a Wx::Calendar on it. > > Just the thing to replace with a Wx::DatePickerCtrl now that the real > Wx::DatePickerCtrl is available! > > So I've been trying to press Wx::DatePickerCtrl into service. I've been > having some problems. > > First off, I can't 'use Wx::DatePickerCtrl' -- though if I 'use > Wx::Calendar' I get Wx::DatePickerCtrl loaded as a side effect. This > is pretty counterintuitive. > > I also am not able to subclass it (use base > qw(Wx::DatePickerCtrl))without doing a 'use Wx::Calendar' first to get > Wx::DatePickerCtrl loaded, which also took me quite a while to figure out. > > (Actually I just figured those two out while writing this message, while > trying to put together a tiny app to demonstrate the problems I was > having with it.) > > The one problem I still haven't been able to figure out is how to import > the constant wxDefaultDateTime so I can test whether the datepicker has > a null date (having passed it the style DP_ALLOWNONE). Where is that > constant exported from? How can I get to it? > > sorry for this stream-of-consciousness-like email. I've been wrestling > with this stuff with a sleep deficit, which has probably made me a > little stupider about it than I might have been. If I've been unclear > on anything let me know. > > Versions involved: wxPerl 0.57 on OS X. built with wxWidgets 2.6.3. > > Any insight on the wxDateTime constant? > > Thanks very much, > > Ed Heil > > > > > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys -- and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > wxperl-users mailing list > wxp...@li... > https://lists.sourceforge.net/lists/listinfo/wxperl-users |
From: Edward H. <ed...@do...> - 2006-09-28 21:50:43
|
Hullo -- We've been using our own hand-rolled datepicker control, which pulls up a dialog with a Wx::Calendar on it. Just the thing to replace with a Wx::DatePickerCtrl now that the real Wx::DatePickerCtrl is available! So I've been trying to press Wx::DatePickerCtrl into service. I've been having some problems. First off, I can't 'use Wx::DatePickerCtrl' -- though if I 'use Wx::Calendar' I get Wx::DatePickerCtrl loaded as a side effect. This is pretty counterintuitive. I also am not able to subclass it (use base qw(Wx::DatePickerCtrl))without doing a 'use Wx::Calendar' first to get Wx::DatePickerCtrl loaded, which also took me quite a while to figure out. (Actually I just figured those two out while writing this message, while trying to put together a tiny app to demonstrate the problems I was having with it.) The one problem I still haven't been able to figure out is how to import the constant wxDefaultDateTime so I can test whether the datepicker has a null date (having passed it the style DP_ALLOWNONE). Where is that constant exported from? How can I get to it? sorry for this stream-of-consciousness-like email. I've been wrestling with this stuff with a sleep deficit, which has probably made me a little stupider about it than I might have been. If I've been unclear on anything let me know. Versions involved: wxPerl 0.57 on OS X. built with wxWidgets 2.6.3. Any insight on the wxDateTime constant? Thanks very much, Ed Heil |
From: Ovod-Everett, T. <tov...@al...> - 2006-09-28 18:10:58
|
If you want to use 0.26, PPMs are available on the SourceForge site for ActivePerl 8xx (with and without Unicode) at http://wxperl.sourceforge.net/download.html . All of my boxes are (unfortunately) still on 0.19 (respinning Perl and wxPerl and everything else on the planet has been on the round tuit list for some time, but regression testing everything is soooo much work), so I have no idea what the differences between 0.26 and 0.50 are. --Toby Ovod-Everett -----Original Message----- From: wxp...@li... [mailto:wxp...@li...] On Behalf Of Eriam Schaffter Sent: Thursday, September 28, 2006 12:00 AM To: wxp...@li... Subject: Re: [wxperl-users] ActiveState and wxWidgets On Jeu 28 septembre 2006 8:02, Peter Gordon wrote: > Is there a distribution of wxPerl for ActiveState? > Hello There is a least some ppm provided by gigi.co.uk http://www.gigi.co.uk/ Good day Eriam ------------------------------------------------------------------------ - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=3Djoin.php&p=3Dsourceforge&CID=3D= DEVDE V _______________________________________________ wxperl-users mailing list wxp...@li... https://lists.sourceforge.net/lists/listinfo/wxperl-users |
From: Eriam S. <er...@er...> - 2006-09-28 07:59:53
|
On Jeu 28 septembre 2006 8:02, Peter Gordon wrote: > Is there a distribution of wxPerl for ActiveState? > Hello There is a least some ppm provided by gigi.co.uk http://www.gigi.co.uk/ Good day Eriam |
From: Peter G. <pe...@pg...> - 2006-09-28 06:02:42
|
Is there a distribution of wxPerl for ActiveState? Thanks Peter |
From: Lucian D. <lu...@eu...> - 2006-09-27 12:57:03
|
Hello, In artprov.pl sample, in MyArtProvider::CreateBitmap sub I want to access the width and height of the $size parameter, but it seems that is not a Wx::Size object, but a ref to an opaque memory address. It is possible to access the members of the size parameter ? Thank you, Lucian Dragus |
From: Peter G. <pe...@pg...> - 2006-09-26 14:01:07
|
Hi. Does anyone have a simple example showing how to use wxPerl with XRC and a frame. I tried using the following as a test, but I can't get it to work. Can someone give me some hints as to what is going wrong. Thanks, Peter <?xml version="1.0" encoding="UTF-8"?> <resource version="2.3.0.1" xmlns="http://www.wxwidgets.org/wxxrc"> <object class="wxFrame" name="ID_FRAME" subclass="MyFrame"> <style>wxCAPTION|wxRESIZE_BORDER|wxSYSTEM_MENU| wxCLOSE_BOX</style> <size>400,300</size> <title>My Simple Test</title> <object class="wxBoxSizer"> <orient>wxHORIZONTAL</orient> <object class="sizeritem"> <flag>wxALIGN_CENTER_VERTICAL|wxALL| wxADJUST_MINSIZE</flag> <border>5</border> <object class="wxStaticText" name="wxID_STATIC"> <label>Input</label> </object> </object> <object class="sizeritem"> <flag>wxALIGN_CENTER_VERTICAL|wxALL</flag> <border>5</border> <object class="wxButton" name="ID_BUTTON1"> <label>Press Me...</label> </object> </object> </object> </object> </resource> #! /usr/bin/perl use strict; use Wx; package MyApp; use vars qw(@ISA); use Wx::XRC ; @ISA = qw(Wx::App); sub OnInit { my ($this) = shift; my $xrc = Wx::XmlResource->new(); $xrc->InitAllHandlers(); $xrc->Load("globalXRC"); my ($frame) = MyFrame->new($xrc); $this->SetTopWindow($frame); $frame->Show(1); } package MyFrame; use vars qw(@ISA); @ISA = qw(Wx::Frame); use Wx qw(:everything); sub new { # new frame with no parent, id -1, title 'Hello, world!' my ($this) = shift->SUPER::new( undef, -1, 'Hello, world!',wxDefaultPosition , [350, 100]); my $xrc = shift ; $this->{xrc} = $xrc ; $xrc->LoadFrame($this,'ID_FRAME') ; return $this; } package main; my ($app) = MyApp->new(); $app->MainLoop() |
From: Nick J. <nic...@gm...> - 2006-09-26 08:10:02
|
On 25/09/06, Mark Dootson <mar...@zn...> wrote: > Hi Nick, > > There is something else happening here. > The demo stuff works for me as is. > > A quick check in the perldocs confirms that just having > use base qw(Wx::Frame Class::Accessor::Fast); > > should work OK without any need to 'use'. > > It would be interesting to know what's causing it to fail on your > machine. What error message do you get? > > It works here on ActivePerl build 817, Class::Accessor version 0.26 > Sorry, user error. I didn't have Class::Accessor::Fast installed so I got the message: Base class package "Class::Accessor::Fast" is empty. (Perhaps you forgot to 'use' the module which defines that package first.) I added the 'use', which got rid of that error, but then complained that Class/Accessor/Fast.pm couldn't be found in @INC, so I suppose I assumed that the lack of 'use' was an issue. (Though I did think it was a bit un-Perlish.) Thanks, and sorry for wasting your time, Nick |
From: Mark D. <mar...@zn...> - 2006-09-25 20:30:26
|
Hi Nick, There is something else happening here. The demo stuff works for me as is. A quick check in the perldocs confirms that just having use base qw(Wx::Frame Class::Accessor::Fast); should work OK without any need to 'use'. It would be interesting to know what's causing it to fail on your machine. What error message do you get? It works here on ActivePerl build 817, Class::Accessor version 0.26 Regards Mark Nick Johnston wrote: > Mattia, > > Not sure if you prefer bug reports on the list or via the bug tracking > system. the wxDemo code in CVS has a very minor bug (in lib/Wx/Demo.pm). > Line 12 is: > > use base qw(Wx::Frame Class::Accessor::Fast); > > The demo doesn't run and there's a fatal error because > Class::Accessor::Fast > isn't use-d. Putting > > use Class::Accessor::Fast; > > before the 'use base' line fixes the problem. I spotted the bug in Mark's > excellent wx Bundle (http://www.gigi.co.uk/wxperl/ppm.html), but since it's > still in CVS HEAD I thought I'd report it here. > > Thanks, > > > Nick > > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys -- and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > > > ------------------------------------------------------------------------ > > _______________________________________________ > wxperl-users mailing list > wxp...@li... > https://lists.sourceforge.net/lists/listinfo/wxperl-users |
From: Nick J. <nic...@gm...> - 2006-09-25 17:56:41
|
Mattia, Not sure if you prefer bug reports on the list or via the bug tracking system. the wxDemo code in CVS has a very minor bug (in lib/Wx/Demo.pm). Line 12 is: use base qw(Wx::Frame Class::Accessor::Fast); The demo doesn't run and there's a fatal error because Class::Accessor::Fast isn't use-d. Putting use Class::Accessor::Fast; before the 'use base' line fixes the problem. I spotted the bug in Mark's excellent wx Bundle (http://www.gigi.co.uk/wxperl/ppm.html), but since it's still in CVS HEAD I thought I'd report it here. Thanks, Nick |
From: Mattia B. <mat...@li...> - 2006-09-24 15:45:02
|
On Fri, 22 Sep 2006 22:20:13 +0200 Mattia Barbon <mat...@li...> wrote: > On Tue, 19 Sep 2006 21:04:57 -0700 > "Bradley K. Embree" <bk...@bk...> wrote: > More data always helps :-) I found the bug. The quick fix is below, > the full fix (rewriting cpp/stream.cpp/h) should be in wxPerl 0.58. Quick-fix now in CVS. Regards Mattia |
From: Mattia B. <mat...@li...> - 2006-09-24 15:44:01
|
On Sat, 23 Sep 2006 15:03:12 +0100 Mark Dootson <mar...@zn...> wrote: > Hi, > > A few of the version checks in current CVS code are using ......_GE( 2, > 7, 0 ) when I think they should be using ......_GE( 2, 7, 1 ). These > cover changes in current wxWidgets CVS ( which I assume will become > 2.7.1) which are not in the released wxWidgets 2.7.0 > > Checks I needed to change to get current wxPerl CVS to compile with > wxWidgets 2.7.0 are below. Please consider providing a unified diff next time. Should be all corrected now. Thanks! Mattia |
From: Mark D. <mar...@zn...> - 2006-09-23 21:48:57
|
Hi, If compiling with wxWidgets latest snapshot, the wxProgressDialog constants have been moved to wx/progdlg.h Therefore need to add #include "wx/progdlg.h" to Constant.xs Regards Mark |