Re: [wxhaskell-users] Some WX questions - a couple of missing bindings and a segfault

2008-03-13 Thread Eric Kow
> So somehow, sometimes, we're getting an invalid pointer. Whether it's a > pointer to a buffer which is too short, or a buffer which has been > moved, or Another observation is that this fails much more easily with bigger buffers. A sort of silly question: do you think you could cook up a

Re: [wxhaskell-users] Some WX questions - a couple of missing bindings and a segfault

2008-03-13 Thread Jules Bean
Eric Kow wrote: > Hi Jules, > > Thanks for the test case. > > It segfaults right away for me on Linux (iteration 0). I don't even > need the bitmap to make it do this; just >image <- imageCreateSized (WX.Size 256 256) > > Also, I notice that it seems to happen Graphics.UI.WXCore.pixelBuffer

Re: [wxhaskell-users] Some WX questions - a couple of missing bindings and a segfault

2008-03-13 Thread Eric Kow
Hi Jules, Thanks for the test case. It segfaults right away for me on Linux (iteration 0). I don't even need the bitmap to make it do this; just image <- imageCreateSized (WX.Size 256 256) Also, I notice that it seems to happen Graphics.UI.WXCore.pixelBufferGetPixels (This is via the old fa

Re: [wxhaskell-users] Some WX questions - a couple of missing bindings and a segfault

2008-03-13 Thread Jules Bean
Eric Kow wrote: > Hi Jules, > > Is this the same bug as this one from the Tracker? > > http://sourceforge.net/tracker/index.php?func=detail&aid=1003006&group_id=73133&atid=536845 > > (was submitted by Paul Johnson, I think) > > Also, if you are so inclined, it would be extra-helpful if you co

Re: [wxhaskell-users] Some WX questions - a couple of missing bindings and a segfault

2008-03-13 Thread Eric Kow
Hi Jules, Is this the same bug as this one from the Tracker? http://sourceforge.net/tracker/index.php?func=detail&aid=1003006&group_id=73133&atid=536845 (was submitted by Paul Johnson, I think) Also, if you are so inclined, it would be extra-helpful if you could submit your demonstrator as a

[wxhaskell-users] Some WX questions - a couple of missing bindings and a segfault

2008-03-13 Thread Jules Bean
Hi, Thanks to Eric's help earlier, I managed to get wx running and run some simple programs in it. I have run into the following (unconnected) problems with the API: There doesn't seem to be a binding to wxImage's "SetOption" call. I need to this to save a JPEG at anything other than the default

[wxhaskell-users] Google Summer of Code and wxhaskell TODOs

2008-03-13 Thread Eric Y. Kow
Hi everyone, We have been recently discussing the possibility of mentoring a wxHaskell project. Shelarcy (Kido Takahiro), in particular, is interested in being a mentor. I would like to solicit ideas for possible projects and to see if there is anybody would would be interested in working on suc