Re: Problem with Cava Packager

2010-08-19 Thread Steffen Mueller
Hi Daniel, Daniel wrote: I use the glob() function inside a perl script. If I compile this to an exe-file using Cava Packager, I get the error message: Can't locate File/Glob.pm in @INC at program start. But this is not an extra modul or is it? Well, it's a core module that's implicit

Re: [rt.cpan.org #58579] Compile Wx constants without exporting Wx constants

2010-06-24 Thread Steffen Mueller via RT
Wed Jun 23 10:38:26 2010: Request 58579 was acted upon. Transaction: Correspondence added by SMUELLER Queue: Wx Subject: Re: [rt.cpan.org #58579] Compile Wx constants without exporting Wx constants Broken in: (no value) Severity: (no value) Owner: Nobody Requestors: ad

Re: [rt.cpan.org #58579] Compile Wx constants without exporting Wx constants

2010-06-24 Thread Steffen Mueller
Hi Adam, Adam Kennedy via RT wrote: Tue Jun 22 07:27:02 2010: Request 58579 was acted upon. Subject: Compile Wx constants without exporting Wx constants use Wx (); my $value = Wx::wxDefaultPosition; Without saying anything about whether the following is good or not: The reason

Re: Alternative event handling

2010-06-17 Thread Steffen Mueller
Steve Cookson wrote: Would you like to see it used more? Do you have any thoughts about how it could be better publicised? What do other users think? I think it's great and the best cross-platform GUI toolkit we have. I know that a few people dislike it because doing stuff in Wx is more C++

Re: Converting wxRTCPrinting for accessing from Perl.

2010-04-06 Thread Steffen Mueller
Hi Steve, please bear in mind that I'm by no means a Wx expert. Steve Cookson wrote: I'm about to embark on converting richtextprint.cpp (706 lines of C++ with light commenting) so that I can access it from Perl and print wxRTCs. Can I ask your suggestions as to the easiest way? There seem to

Re: Wx-0.97 fails to build on Perl 5.8.8 Cmd -e xspp ?

2010-02-13 Thread Steffen Mueller
Hi David, David Abbott wrote: The only difference I can see is between Perl versions; Perl 5.8.8 box (fails) [ebuild R ] dev-lang/perl-5.8.8-r8 USE="berkdb doc gdbm -build -debug -ithreads -perlsuid" 0 kB [0] [ebuild R ] perl-core/ExtUtils-ParseXS-2.22.02 0 kB [0] [ebuild R ] dev-

Re: Wx-0.97 fails to build on Perl 5.8.8 Cmd -e xspp ?

2010-02-13 Thread Steffen Mueller
Hi David, David Abbott wrote: Attempting to fix a bug and looking for help. On Perl 5.10.1 Wx-0.97 installs fine. On Perl 5.8.8 Wx-0.97 fails with; /usr/bin/perl5.8.8 /usr/lib/perl5/5.8.8/ExtUtils/xsubpp -noprototypes -nolinenumbers -typemap /usr/lib/perl5/5.8.8/ExtUtils/typemap -typemap ../..

Re: wxPerl release "soon"

2010-02-06 Thread Steffen Mueller
Hi Mattia, Mattia Barbon wrote: To Steffen: the changes for Wx::Threading are still in a separate branch; I can include them in 0.97 but I have no idea how much they have been tested in Padre; let me know if including them in 0.97 would be useful for Padre or if it can wait a later release.

[rt.cpan.org #54115] Installation error: use Data::Dumper is missing

2010-02-06 Thread Steffen Mueller via RT
Fri Feb 05 06:56:26 2010: Request 54115 was acted upon. Transaction: Correspondence added by SMUELLER Queue: Wx Subject: Installation error: use Data::Dumper is missing Broken in: 0.96 Severity: Important Owner: Nobody Requestors: ren...@cpan.org Status: open Tick

wxperl @ SF

2010-02-05 Thread Steffen Mueller
Hi all, http://wxperl.sourceforge.net/download.html still points at Wx 0.26 on CPAN. Who has access to that page? Shouldn't it just point at http://search.cpan.org/dist/Wx? Best regards, Steffen

[rt.cpan.org #54115] Installation error: use Data::Dumper is missing

2010-02-05 Thread Steffen Mueller via RT
Fri Feb 05 06:50:07 2010: Request 54115 was acted upon. Transaction: Correspondence added by SMUELLER Queue: Wx Subject: Installation error: use Data::Dumper is missing Broken in: 0.96 Severity: Important Owner: Nobody Requestors: ren...@cpan.org Status: new Ticke

Re: Exporter and memory footprint reduction

2009-12-10 Thread Steffen Mueller
Hi Mattia, Mattia Barbon wrote: the list of constants and event names available for exporting (stored in Wx::Wx_Exp) wastes about 1MB of RAM (measured using heap(1), Snow Leopard, 64bit Perl); for a 32bit Perl the amount of wasted memory is about 800KB. The simplest way to reduce memory oc

Re: Wx in a web application

2009-11-26 Thread Steffen Mueller
Hi Erez, Erez David wrote: The reason I want to do it is because I want to run the same application in a web server as a service so users can just launch it from their browser. I also want the web application to be similar to the stand-alone application by its look and feel. maybe an orthogona

Re: Wxpar compiled on Linux RH4 generates errors when running on LinuxRH5

2009-11-12 Thread Steffen Mueller
Hi David, Erez David wrote: I am trying to create an executable using wxpar which will work on both Linux RH4 and Linux RH5.. For this purpese I am using Linux RH4 32bit. Unfortunately, there's long been an issue with running PAR::Packer generated binaries from RH4 on RH5. It's a recurring on

Re: wxPerl on Snow Leopard

2009-09-29 Thread Steffen Mueller
Hi Eric, Erik Colson wrote: Rome:finance-quote ec$ /usr/bin/perl -v This is perl, v5.10.0 built for darwin-thread-multi-2level (with 2 registered patches, see perl -V for more detail) 5.10.0 is known to be somewhat buggy.. All versions of perl are known to be somewhat buggy. 5.10.0 is no ex

Re: wxThread

2009-09-11 Thread Steffen Mueller
Hi Steve, Steve Cookson wrote: Does anyone know of an example of wxThread, please? You mean this? http://search.cpan.org/dist/Wx/lib/Wx/Thread.pod I am using ffmpeg to stream video and I would like some process to run concurrently (like taking a snapshot), so that the application doesn't pa

Re: Interfacing to Prolog

2009-08-21 Thread Steffen Mueller
Hi Steve, Steve Cookson wrote: I'm thinking of adding Prolog to my application does anyone have any experience of interfacing to Prolog with wx or just with Perl? If so, can you give me some hints or point me to some code? I'm not sure how you'd combine it with Wx, but there's AI::Prolog on

Re: Error using O_WXOBJECT / wxPli_sv_2_object

2009-08-20 Thread Steffen Mueller
Hi Ryan, Ryan Jendoubi wrote: "sv_derived_from Returns a boolean indicating whether the SV is derived from the specified class _at the C level_. To check derivation at the Perl level, call "isa()" as a normal Perl method." I was planning to submit

Re: AdvanceSelection missing in Wx::AuiNotebook

2009-08-16 Thread Steffen Mueller
Hi Karl, Karl Forner wrote: From the AuiNotebook.xsp file, I see: #if WXPERL_W_VERSION_GE( 2, 9, 0 ) const wxAuiManager* GetAuiManager() %code{% RETVAL = &THIS->GetAuiManager(); %}; void AdvanceSelection( bool advance = true ); Does it mean that you need wxwidgets >= 2.9 to h

Re: Which is the main wxPerl support site you use

2009-08-06 Thread Steffen Mueller
Hi Steve, Steve Cookson wrote: I've just found this list. I have been using the wonderful wxPerl experimentally since the beginning of the year using wxGlade to get me started. But I've had to use the C++ community to support my work. So I have the C++ book, the C++ 2.8.10 documentation, I

Re: Problems getting new Wx compiled from source to be used on OS X

2009-08-06 Thread Steffen Mueller
Hi, Dodger el.dodgero-at-gmail.com |newsgroups7| wrote: I did. I got this: perl Makefile.PL ... Warning: prerequisite ExtUtils::XSpp 0.04 not found. ... and that's it. It acted like it went fine. Almost. I agree Module::Install could be a little more insistent about missing dependencies.

Re: Problems getting new Wx compiled from source to be used on OS X

2009-08-05 Thread Steffen Mueller
Hi, Dodger wrote: 2009/8/4 Steffen Mueller : Hi, Dodger wrote: Okay, so I just made wxMac 2.8.10 successfully and installed it. Then I went to instal the stable WxPerl, but the Makefile.PL didn't like being on a Mac (complaints about --ldflags not being a valid option, etc, and thus fa

Re: Unmapped types and %name{

2009-08-05 Thread Steffen Mueller
Hi Ryan, Doubi wrote: I'm implementing a function (LoadURL) which takes a single argument of const wxString&. wxString is implemented in the main Wx typemap, but not a const version. If I try neglecting the const in my .xs file I'm told: WebKit.c: In function ‘void XS_Wx__WebView_LoadURL(Perl

Re: Problems getting new Wx compiled from source to be used on OS X

2009-08-04 Thread Steffen Mueller
Hi, Dodger wrote: Okay, so I just made wxMac 2.8.10 successfully and installed it. Then I went to instal the stable WxPerl, but the Makefile.PL didn't like being on a Mac (complaints about --ldflags not being a valid option, etc, and thus failure). So then I grabbed the latest bleeding edge vers

Re: wxPerl structure questions

2009-08-01 Thread Steffen Mueller
Doubi wrote: Steffen Mueller wrote: I'm a terrible writer, but I'll try to answer any questions you come up with. I'll take you up on that :-) Sorry, too slow. But if Mattia answers, you can be sure to get the correct answer :) Cheers, Steffen

Re: Documentation?

2009-08-01 Thread Steffen Mueller
Hi, Mattia Barbon wrote: Octavian Rasnita wrote: It is also very important to use threads in a app that uses a GUI, and I don't know how easy is to use threads under Python, but under Perl is not very easy, and the apps that use threads consume very many resources. I agree. Some form of con

Re: Documentation?

2009-07-31 Thread Steffen Mueller
Hi, Doubi wrote: Do you think you could post up any insights you've gained so far on the wxPerl wiki? ( http://wxperl.pvoice.org/w/index.php ) no, not currently for lack of time and talent. I'm a terrible writer, but I'll try to answer any questions you come up with. You'll quickly realize t

Re: Documentation?

2009-07-31 Thread Steffen Mueller
Hi Johan, hi all, Johan Vromans wrote: Dodger writes: Still though, I'm inherently against discouragement of volunteer efforts. And I'm against bashing someone's posting without even having read what the OP (in this case, me) wrote. So I repeat: I do not think the highest priority is to ha

Re: Documentation?

2009-07-31 Thread Steffen Mueller
Hi Octavian, hi all, Octavian Rasnita wrote: It is also very important to use threads in a app that uses a GUI, and I don't know how easy is to use threads under Python, but under Perl is not very easy, and the apps that use threads consume very many resources. I agree. Some form of concurrenc

Re: Uhm... anyone? How to disable debug alerts?

2009-07-30 Thread Steffen Mueller
Dodger wrote: There should be a way to disable and/or suppress debug alerts from Wx, right? I'm just not seeing it. With this inaccurate assertion count thing, if I can't make it not even check (this is on exit, after all, so it's stupid to care because it's all about to be '0' anyway), and if

Re: [Fwd: Re: Wx SEGV's with threads]

2009-05-17 Thread Steffen Mueller
Hi Mattia, Mattia Barbon wrote: Sorry, no idea why those e-mails never got through, without a bounce; I just noticed it now. As an update, I just release wxPerl 0.91 which should fix all remaining threading problems. yes, very odd. Some of my mails also went into nirvana, it seems. I'm in a

Re: Wx SEGV's with threads

2009-05-17 Thread Steffen Mueller
Hi again, I'm not sure whether anyone is paying attention, but here goes... Steffen Mueller wrote: there have been occasional bad crashes of an application in whose development I'm involved in (Padre). With your generous help, I managed to build a debugging perl+wxWidgets+Wx combi

Wx SEGV's with threads

2009-05-10 Thread Steffen Mueller
Hi all, there have been occasional bad crashes of an application in whose development I'm involved in (Padre). With your generous help, I managed to build a debugging perl+wxWidgets+Wx combination and finally obtained a backtraces for such crashes. I always suspected a combination of ithreads

Re: free from wrong pool during global destruction

2009-05-01 Thread Steffen Mueller
Hi Mattia, hi all, Mattia Barbon wrote: So the issue seems to be related to what Mattia mentioned in the old thread I mentioned in my previous mail. Maybe the Configure flag that is supposed to disable direct ENV manipulation doesn't work correctly? This is what I get from perl -V: I an no

Re: free from wrong pool during global destruction

2009-04-16 Thread Steffen Mueller
Hi Johan, Johan Vromans wrote: Steffen Mueller writes: perl -MWx -e '$ENV{foo}="bar";' crashes with: panic: realloc from wrong pool at -e line 1. panic: free from wrong pool during global destruction. Wasn't this fixed some time ago? In any case, I cannot repr

Re: free from wrong pool during global destruction

2009-04-15 Thread Steffen Mueller
Hi all, Steffen Mueller wrote: perl -Iblib/lib -Iblib/arch -MWx -e1 panic: free from wrong pool during global destruction. The same happens for make test, of course. Now, I'm entirely stuck here. I have no idea how to debug this issue, my C debugging skills are sub-par. I'd love t

free from wrong pool during global destruction

2009-04-15 Thread Steffen Mueller
Hi Mattia, hi all, I'm trying to debug occosional crashes (seg. faults) from Wx+threads, but I haven't even gotten close to tracking down the problem yet. My clueless idea was to build a debugging perl, debugging Alien::wxWidgets, debugging Wx.pm, and then have fun (or not) with gdb. I get a

Re: ToolBar AddTool crash on undef

2009-02-10 Thread Steffen Mueller
Hi Mattia, Mattia Barbon wrote: > Just forgot about it, sorry... Are the instructions you gave to > reproduce it still valid with latest Padre trunk? I haven't been able to keep up with the Padre development in the past few weeks, but I just tried and no, the instructions aren't sufficient any

Re: ToolBar AddTool crash on undef

2009-01-20 Thread Steffen Mueller
Hi Mattia, Mattia Barbon mattia.barbon-at-libero.it |newsgroups6| wrote: Steffen Mueller wrote: General question: Is this kind of not checking the parameters on purpose (i.e "whoever uses this should know what she's doing") or is it a bug? Having proper NULL check wo

Re: glibc detects double free or corruption in AUIManager

2009-01-11 Thread Steffen Mueller
Hi Peter, thanks for your reply! Peter Gordon wrote: > What happens if you add: > > export MALLOC_CHECK_=0 > > It doesn't make the problem go away - but it stops glibc from > complaining That's an interesting trick I didn't know about, but I'd rather have glibc complain loudly of problems so

Re: glibc detects double free or corruption in AUIManager

2009-01-09 Thread Steffen Mueller
bviously, the AuiManager object's DESTROY is called multiple times. Best regards, Steffen Steffen Mueller wrote: Keedi Kim wrote: I use Padre and glibc detects dobule free or corruption in AUIManager. $ ./dev.pl *** glibc detected *** /usr/bin/perl: double free or corruption (!prev): let me

ToolBar AddTool crash on undef

2009-01-09 Thread Steffen Mueller
Hi all, the ToolBar::AddTool XS code doesn't check whether it's being passed a Wx::Bitmap at all. If you pass undef for the bitmap, you get a friendly segmentation fault. General question: Is this kind of not checking the parameters on purpose (i.e "whoever uses this should know what she's d

Re: glibc detects double free or corruption in AUIManager

2009-01-09 Thread Steffen Mueller
Hi all, Keedi Kim wrote: I use Padre and glibc detects dobule free or corruption in AUIManager. $ ./dev.pl *** glibc detected *** /usr/bin/perl: double free or corruption (!prev): let me add a few bits of information. First, Padre uses iThreads. Some of the Padre developers seem to point in

Re: wxPerl + AUI + threads + join = crash

2008-11-30 Thread Steffen Mueller
Hi Mattia, your change to the xsp files of AUI break the xsubpp call for some reason. By infinite amounts of clueless editing, I found that the following patch works. I assume it's just the missing semicolon in AuiManager.xsp and guess you'll figure it out at a glance anyway. Cheers, Steffen Ind

Re: wxPerl + AUI + threads + join = crash

2008-11-30 Thread Steffen Mueller
Hi Mattia, thanks a lot for your answer and fix! Mattia Barbon wrote: > Thanks for narrowsing it down! The problem is that that wxAuiManager > and wxAuiPaneInfo have a DESTROY method that deletes the underlying C++ > object but neither is marked as thread-aware in the typemap. >From my endles

wxPerl + AUI + threads + join = crash

2008-11-29 Thread Steffen Mueller
Dear wxPerl developers, I've mostly been busy being ill, but in the little time I could spend on debugging, I've found out that the same program (Padre) about which I reported crashes earlier *only crashes if AUI elements are involved*. What I did was retrofit my threading background task manager

Re: wxPerl + threads + join = crash

2008-11-28 Thread Steffen Mueller
Hi Jean-Philippe, hi all, thanks for your reply and sorry for the delay in answering, I caught a cold. [EMAIL PROTECTED] wrote: > I know there is a similiar bug in plain perl 5.8.7. Sorry I could not > find any of these post as I currently have few time. On plain perl > 5.10 the bug is for sure c

wxPerl + threads + join = crash

2008-11-25 Thread Steffen Mueller
Hi wxPerl people, thanks for the great toolkit. It's mostly a joy to work with. Unfortunately, I'm experiencing problems with wxPerl in a threaded application. Essentially, I wrote a background task manager that pools threads. After a period of high load, it may terminate (Thread::Queue) and

Re: PAR

2008-03-20 Thread Steffen Mueller
Hi Octavian, Octavian Rasnita wrote: Is it possible to use PAR under Windows to create a .par file with a program that uses WxPerl that can be ran under Linux? this is really a PAR question. You cannot create .par's with binary (i.e. XS module or dll) components under one architecture and hav

Re: Hello - SoC idea - CPAN GUI

2008-03-20 Thread Steffen Mueller
Hi Eric, hi wx-users, Eric Wilhelm wrote: # from Eriam Schaffter # on Wednesday 19 March 2008 00:57: I also would like to know what Eric had in mind when talking about Catalyst back-end. I didn't write that part of the idea. I think catalyst has some kind of Wx tie-in, but I'm not exactly