Re: [wxhaskell-devel] wxHaskell vs GHCi

2013-10-08 Thread Jeremy O'Donoghue
When I last looked at the problem, the issue was that wxWidgets libraries use static constructors and destructors in some places. Problem with static constructors is that they typically run before main() - or its equivalent - is called. This means that once you quit an application, there is no

Re: [wxhaskell-devel] Compile problems

2013-06-17 Thread Jeremy O'Donoghue
wxdirect does not support conditional compilation, I'm afraid. It's a large part of the reason why there are separate branches for wxWidgets 2.8 and 2.9. Adding a real C preprocessor to wxdirect is a pretty large task. The usual approach we have used in the past is: * Define function in the

Re: [wxhaskell-devel] Project ownership and Hackage upload

2013-06-14 Thread Jeremy O'Donoghue
Hi all, My sincere apologies for lack of availability and presence over the past few months - due almost entirely for being the software technology lead for http://www.tomshardware.com/news/Qualcomm-Atheros-NFC-Near-Field-QCA1990-Snapdragon,19607.html. Not much Haskell there, unfortunately.

Re: [wxhaskell-devel] wxc/ore? linking problem

2012-06-27 Thread Jeremy O'Donoghue
There are a couple of possibilities: 1) (which I think can be discounted, given your description of 'removed everything and started again') is that you didn't do a clean build. The dependency checking for wxc is rather fragile (bacause Cabal does not know about C dependencies). 2) More likely:

Re: [wxhaskell-devel] wxc/ore? linking problem

2012-06-27 Thread Jeremy O'Donoghue
this in the meantime perhaps, but what to look for exactly? (I relied on cabal install wx cabal-macosx on an empty local user pkg lib to get it right.) Regards/ Henry On 27 Jun 2012, at 15:28, Jeremy O'Donoghue wrote: There are a couple of possibilities: 1) (which I think can be discounted, given your

[wxhaskell-devel] GitHub repo?

2012-04-17 Thread Jeremy O'Donoghue
Hi developers, I wanted to canvas opinion about moving wxHaskell development from darcs on code.haskell.org to (git, obviously) on GitHub. Potential advantages: - Easier for new committers to commit code - GitHub provides some pretty decent tools (integrated issue tracker,

[wxhaskell-devel] Darcs repo versions

2012-02-12 Thread Jeremy O'Donoghue
Hi Eric, I was going to start merging the current state of wxHaskell support for wxWidget 2.9 back into the mainline at c.h.o... then I discovered a problem. Becuse Darcsden uses the darcs 2.0 repo format (not the hashed format), I cannot push patches from my local copy of Dave's Darcsden to my

Re: [wxhaskell-devel] The 'making wxC build on all platforms thread

2012-02-01 Thread Jeremy O'Donoghue
the following dependencies are missing: wxcore =0.14 It's been a great adventure though. Thanks for everyone working on this! On 31 January 2012 16:32, Jeremy O'Donoghue jeremy.odonog...@gmail.com wrote: Hi all, Attached are patches which enable me to build and Dave's repo on Windows. I have

Re: [wxhaskell-devel] The future of wxC

2012-01-25 Thread Jeremy O'Donoghue
On 25 January 2012 15:19, Dave Tapley duked...@gmail.com wrote: On 16 January 2012 00:46, Eric Kow eric@gmail.com wrote: I was going to post on your blog, but you beat me to mentioning it. So better hear it from me, you should totally use GitHub for wxC. Plus it would be a chance to

Re: [wxhaskell-devel] The 'making wxC build on all platforms thread

2012-01-18 Thread Jeremy O'Donoghue
On 17 January 2012 22:40, Jeremy O'Donoghue jeremy.odonog...@gmail.comwrote: On 17 January 2012 21:38, Jeremy O'Donoghue jeremy.odonog...@gmail.comwrote: Hi all, I have collected together all of the people who I know are making the effort to build Dave's latest code on different platforms

[wxhaskell-devel] The 'making wxC build on all platforms thread

2012-01-17 Thread Jeremy O'Donoghue
Hi all, I have collected together all of the people who I know are making the effort to build Dave's latest code on different platforms. I'd also like to introduce Andrej, who is testing wxC in the context of D (so could we go easy on the Zygohistomorphic Premorphisms and other deep Haskell-ism

Re: [wxhaskell-devel] The 'making wxC build on all platforms thread

2012-01-17 Thread Jeremy O'Donoghue
On 17 January 2012 21:38, Jeremy O'Donoghue jeremy.odonog...@gmail.comwrote: Hi all, I have collected together all of the people who I know are making the effort to build Dave's latest code on different platforms. I'd also like to introduce Andrej, who is testing wxC in the context of D (so

[wxhaskell-devel] I declare the wxHaskell repo open for merging of wxWidgets 2.9.x support

2012-01-15 Thread Jeremy O'Donoghue
Hi developers, Think the subject says it all :-) Jeremy -- RSA(R) Conference 2012 Mar 27 - Feb 2 Save $400 by Jan. 27 Register now! http://p.sf.net/sfu/rsa-sfdev2dev2___

[wxhaskell-devel] The future of wxC

2012-01-15 Thread Jeremy O'Donoghue
Hi lists, There have been a number of discussions over the past week or so on the future of wxC. I'm not as good as Dave at cross-referencing everything, but at the very least we have: http://www.mail-archive.com/wxhaskell-users@lists.sourceforge.net/msg01050.html

Re: [wxhaskell-devel] Using a shared library for the C++ in wxhaskell

2012-01-12 Thread Jeremy O'Donoghue
Thank you Kenneth, That's an extremely detailed and complete set of notes. It is very much appreciated. Best regards Jeremy On 12 January 2012 14:52, Frodo Kenny frodoken...@gmail.com wrote: Nice work. I was still on GHC 6.10 to be able to use wxhaskell with ghci. Here are some notes and

Re: [wxhaskell-devel] Weird implementation of wxTreeCtrl_GetBoundingRect

2012-01-11 Thread Jeremy O'Donoghue
On 11 January 2012 15:55, Dave Tapley duked...@gmail.com wrote: On 11 January 2012 00:56, Dave Tapley duked...@gmail.com wrote: Does anyone know why wxTreeCtrl_GetBoundingRect is implemented [1] such that: 1. It returns a null pointer on non-Windows platforms. 2. It disregards the

Re: [wxhaskell-devel] Happy New Year, wxHaskellers

2012-01-05 Thread Jeremy O'Donoghue
On 5 January 2012 12:15, Eric Kow eric@gmail.com wrote: On 4 Jan 2012, at 16:59, Dave Tapley wrote: I do like the idea that wxc is a separate project, upon which wxHaskell depends, however.. When configuring wxcore I use wxc's package info, and so require wxc to be installed by

[wxhaskell-devel] Happy New Year, wxHaskellers

2012-01-02 Thread Jeremy O'Donoghue
Hi lists, A Happy New Year to all, and with it a chance to talk about some imminent changes in wxHaskell. There is nothing new in this mail for those who follow the wxhaskell-devel list, but for users who are interested in the evolution of the project, I thought this would be a good time to

Re: [wxhaskell-devel] Using a shared library for the C++ in wxhaskell

2011-12-12 Thread Jeremy O'Donoghue
Hi Dave, all, This is fantastic news - especially the bit about GHCi. I have put a couple of general comments inline, but it looks like you have found most of the issues, at least on Linux. I think that at least some of the issues would go away if, as you say, *we could have an entirely

Re: [wxhaskell-devel] Patch review, testing, and submission

2011-09-22 Thread Jeremy O'Donoghue
Hi list, On 21 September 2011 21:58, Dave Tapley duked...@gmail.com wrote: Hi -devel, As I've alluded to before I have a fairly large number of local patches (mostly gtk/2.9 fixes) in my local darcs repo. I think it makes sense to get these on to code.haskell.org at some point. The good

Re: [wxhaskell-devel] I need help setting up

2011-09-21 Thread Jeremy O'Donoghue
I wanted to add one thing to this very useful thread, if only to have a record of it somewhere: On 17 September 2011 18:33, Dave Tapley duked...@gmail.com wrote: For the curious: Wondering how the library can still compile with some includes missing? (I believe, perhaps someone can

Re: [wxhaskell-devel] Strings reduced to 1 letter on windows, on a program that otherwise works well on linux

2011-09-21 Thread Jeremy O'Donoghue
Hi David, On 21 September 2011 16:49, David Virebayre dav.vire+hask...@gmail.comwrote: Bonjour, I'm posting this hoping that someone has seen the same problem; if nobody has, I'll make an example program, post the source and give screenshots. I have a program that works fine on linux. I

Re: [wxhaskell-devel] Compile time for wxcore

2011-09-21 Thread Jeremy O'Donoghue
Hi Dave, On 20 September 2011 17:58, Dave Tapley duked...@gmail.com wrote: On 16 September 2011 23:30, Dave Tapley duked...@gmail.com wrote: I presume everyone has a very long compile time when building wxcore? Specifically rebuilding everything under src/cpp/ every time.. Has anyone ever

Re: [wxhaskell-devel] Property sheet

2011-08-01 Thread Jeremy O'Donoghue
Hi Dave, Playing catch-up after the weekend... Short answer - I think you have the correct places to put code. On 30 July 2011 00:56, Dave Tapley duked...@gmail.com wrote: On 29 July 2011 21:49, Dave Tapley duked...@gmail.com wrote: Hi Jeremy, Did you ever make a start wrapping

Re: [wxhaskell-devel] Building wxcore on Windows: problem with wx-config

2011-06-19 Thread Jeremy O'Donoghue
On 19 June 2011 22:03, maciek.makow...@gmail.com wrote: wx-config-win (from https://sites.google.com/site/wxconfig/) does not support --version flag used by latest wxcore/Setup.hs. How should I go about building on Windows? Haven't seen this - I'll look into it (there are other problems with

[wxhaskell-devel] patch applied (wxhaskell): Fix incorrect values of wxID_xxx (should fix bug workarounds in wxHnotepad, blog series.

2010-05-21 Thread Jeremy O'Donoghue
Thu May 20 07:24:28 EDT 2010 jeremy.odonog...@gmail.com * Fix incorrect values of wxID_xxx (should fix bug workarounds in wxHnotepad, blog series. Ignore-this: f0b3a1522d1fac4cc7f5a6e9f82198b7 M ./wxcore/src/eiffel/wx_defs.e -7 +22 View patch online:

Re: [wxhaskell-devel] Windows

2009-11-13 Thread Jeremy O'Donoghue
by the user (or package manager). In addition the layout of the 'dist' directory is subject to change in future versions of Cabal. I think I'll try putting the autogens in src. This should make things work while we try to find a better way of approaching this. Jeremy -- Jeremy O'Donoghue

[wxhaskell-devel] patch applied (wxhaskell): Enable cabal upload to complete successfully.

2009-11-13 Thread Jeremy O'Donoghue
Fri Nov 13 12:39:00 EST 2009 jeremy.odonog...@gmail.com * Enable cabal upload to complete successfully. Ignore-this: 6d6c1450099889787f06582e77fae6f5 M ./wx/wx.cabal -2 +6 M ./wxcore/Setup.hs -4 +3 M ./wxcore/wxcore.cabal -2 +24 View patch online:

Re: [wxhaskell-devel] Windows

2009-11-13 Thread Jeremy O'Donoghue
Hi Brian, 2009/11/13 Brian Lewis br...@lorf.org: For me, wxcore 0.12.1.1 on hackage fails to build for lack of stc_gen.cpp. It seems to be in darcs, though. Working on the problem now. Will let you all know when I have something which works - believe I am fairly close now, although it's late

Re: [wxhaskell-devel] Windows

2009-11-13 Thread Jeremy O'Donoghue
The problem, of course, being that stc.cpp includes stc_gen.cpp. For now I'm going to put it into extra-source-files. Didn't spot that before upload, and the cabal verifier obviously couldn't. We should try to find a better way to do this, but for now this should be OK. Jeremy 2009/11/13 Jeremy

[wxhaskell-devel] patch applied (wxhaskell): Bump version to 0.12.1.1, remove unused wxc directory

2009-11-12 Thread Jeremy O'Donoghue
Wed Nov 11 12:25:33 EST 2009 jeremy.odonog...@gmail.com * Bump version to 0.12.1.1, remove unused wxc directory M ./wx/wx.cabal -3 +3 R ./wxc/ R ./wxc/util/ R ./wxc/util/gconst.cc R ./wxc/util/gfunc.cc R ./wxc/util/reimp.exe R ./wxc/wxc-2.8.dsp R

Re: [wxhaskell-devel] Windows

2009-11-12 Thread Jeremy O'Donoghue
Hi all, [Eric - note question aimed your way, buried near the bottom] 2009/11/10 Brian Lewis br...@lorf.org: On Tuesday, 10.11.09 at 12:42, Jeremy O'Donoghue wrote: One good option may be to commit the code 'as-is' to enable simple cabal install of wxHaskell, and work on putting back

Re: [wxhaskell-devel] Windows

2009-11-12 Thread Jeremy O'Donoghue
Hi Eric, 2009/11/12 Eric Y. Kow eric@gmail.com: I think I replied too soon.  The problem looks like an interaction between the fact that we expose our autogenerated modules and the fact that we generate them in a non-src directory (which is nice to do). Yup - discovered that when I tried

[wxhaskell-devel] ANN: wxHaskell 0.11.1

2009-01-04 Thread Jeremy O'Donoghue
fixed the applicattion failed to initialize properly when using Windows binary. -- Jeremy O'Donoghue jeremy.odonog...@gmail.com -- Jeremy O'Donoghue jeremy.odonog...@gmail.com

Re: [wxhaskell-devel] 0.11.0 Release Schedule

2009-01-02 Thread Jeremy O'Donoghue
Hi, I'll do an announcement tomorrow morning (UK time). Regards Jeremy On 2 Jan 2009, at 22:57, shelarcy wrote: Hi, I think we're ready for wxHaskell 0.11.0 release. Now, I uploaded source distribution and binary distribution that doesn't include Linux and PowerPC Mac OS X's binary.

Re: [wxhaskell-devel] Darcs patch: support for XRC based resources in wxHaskell

2008-10-23 Thread Jeremy O'Donoghue
/shelarcy/ -- Jeremy O'Donoghue [EMAIL PROTECTED] - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip

Re: [wxhaskell-devel] How about release wxHaskell 0.11? (Was: build failure in new release

2008-10-11 Thread Jeremy O'Donoghue
Hi all, I am about two weeks away from committing XRC support. It's working about 70% at the moment and I need to write test cases to cover most widgets and make sure the most important functions are working, as well as writing a wiki tutorial to show how to do the Real World Haskell GUI chapter

Re: [wxhaskell-devel] wxWidgets 2.8 support

2008-03-25 Thread Jeremy O'Donoghue
On Mon, 24 Mar 2008 16:02:43 +, Eric Y. Kow [EMAIL PROTECTED] said: So, now that 0.10.3 is out, what is the fastest way for us to get wxWidgets 2.8 support so that MacOS X Leopard users can run it? I need to port my wxWidgets 2.8 changes on top of 0.10.3. I started this last week, and it