Re: [wxhaskell-users] size of text in pixel

2011-09-03 Thread Eric Y. Kow
Salut Rémi, I don't know for sure, but I think I have some documentation which you may find helpful On Sat, Sep 03, 2011 at 13:56:59 +0300, Rémi Vion wrote: > - what is the attribute who tells widgets like buttons, or static > text fields to take the shape of the text they contain? I believe thi

Re: [wxhaskell-users] wxHaskell and forkIO or forkOS

2011-09-02 Thread Eric Y. Kow
On Fri, Sep 02, 2011 at 15:55:07 +0100, maciek.makow...@gmail.com wrote: > If the only restriction here is that all the GUI updates should happen > on the main OS thread, doesn't it mean that Haskell (green) threads > spawned through forkIO are fine, because they execute on the same OS > thread? Or

Re: [wxhaskell-users] wxHaskell and forkIO or forkOS

2011-09-02 Thread Eric Y. Kow
On Fri, Sep 02, 2011 at 15:03:28 +0100, maciek.makow...@gmail.com wrote: > There is indeed a claim in wxHaskell FAQ that it is incompatible with > Haskell threads. I have, however, used threads spawned with forkIO to > update wxHaskell GUI in toy apps, without any ill effects. Examples: > > http:/

Re: [wxhaskell-users] How to resize a bitmap ?

2011-09-01 Thread Eric Y. Kow
Hi, On Thu, Sep 01, 2011 at 13:14:48 +0200, D.V. wrote: > If there a way to draw a bitmap so it fits a specific size (rescaling > it if needed ?) > > I didn't find a way in the docs, but the documentation for drawBitmap > is thin, wxWidget help didn't help much. I think you'll want to use the wx

Re: [wxhaskell-users] preview: wx-config in Haskell

2011-07-21 Thread Eric Y. Kow
> - making wx cabal Setups dependent on this library instead of the > command line wx-config sounds like a very good idea > - one of the reasons it currently fails to work with official > wxHaskell darcs tip might be its usage of --version flag in > wxcore/Setup.hs, which I mentioned in a post to w

[wxhaskell-users] preview: wx-config in Haskell

2011-07-20 Thread Eric Y. Kow
Hi everybody, I'm trying to simplify the process of installing wxHaskell on Windows. My wxhaskell branch at http://darcsden.com/kowey/wxhaskell contains a Haskell implementation of wx-config. It seems to work for me as a drop-in replacement for wx-config on Windows, at least as far as wxHas

Re: [wxhaskell-users] wxHaskell on Windows (or wxPack rocks!)

2011-07-19 Thread Eric Y. Kow
On Mon, Jul 18, 2011 at 11:30:39 +0100, Andrew Butterfield wrote: > How does it work with GHCi ? I'm having that complaint about stdc++ which I believe has been discussed in another thread on this list. > (Which version of Haskell were you building against ?) Argh, I thought I made a point of li

Re: [wxhaskell-users] wxHaskell on Windows (or wxPack rocks!)

2011-07-19 Thread Eric Y. Kow
On Sun, Jul 17, 2011 at 06:28:39 -0400, carlos gomez wrote: > > This makes me think that maybe my self-built wxWidgets might have worked > > (although I think I *was* working from the MSYS shell then) if I had > > done the same. After all, the wxPack version was built with the same. > So, does th

Re: [wxhaskell-users] wxHaskell on Windows (or wxPack rocks!)

2011-07-17 Thread Eric Y. Kow
On Sun, Jul 17, 2011 at 10:57:55 +0100, Eric Y. Kow wrote: > On Sun, Jul 17, 2011 at 10:18:53 +0100, Eric Y. Kow wrote: > > 3. wxHaskell builds fine, but when running any GUI app: > >The procedure entry point __gxx_personality_v0 could not be > >located in the dynamic

Re: [wxhaskell-users] wxHaskell on Windows (or wxPack rocks!)

2011-07-17 Thread Eric Y. Kow
On Sun, Jul 17, 2011 at 10:18:53 +0100, Eric Y. Kow wrote: > 3. wxHaskell builds fine, but when running any GUI app: >The procedure entry point __gxx_personality_v0 could not be >located in the dynamic link library libstdc++-6.dll Oh, that's odd. I just noticed that I can

[wxhaskell-users] wxHaskell on Windows (or wxPack rocks!)

2011-07-17 Thread Eric Y. Kow
Hi everybody, I've had some difficulty installing wxHaskell on Windows 7, but I eventually got there, so I thought I should report (and edit the wiki). In a nutshell: the secret is to use wxPack (precompiled wxWidgets including MinGW Unicode version) [1] and avoid trying to build wxWidgets yourse

Re: [wxhaskell-users] Haskell Platform

2011-06-12 Thread Eric Y. Kow
On Sun, Jun 12, 2011 at 19:54:13 +0300, Guy wrote: > I'm trying to get a GUI package included in the Haskell Platform. The > platform's inclusion policy requires that (one > of?) the package's official maintainers supports the proposal. We may need to think strategically about this. gtk2hs is mu

Re: [wxhaskell-users] where can I find source code of wxHaskell

2011-05-18 Thread Eric Y. Kow
Hi, On Sat, May 14, 2011 at 05:25:06 +0800, 诺铁 wrote: > http://haskell.org/haskellwiki/WxHaskell/Building#Source_Releasebut the site > response with 404 error,so where can I find those source code? > I just want to try the sample... >

Re: [wxhaskell-users] wxDisplay wrapping

2011-03-09 Thread Eric Y. Kow
On Wed, Mar 09, 2011 at 02:00:19 +, Brian Victor wrote: > 1) What's the current source repo? The wiki points to > http://code.haskell.org/wxhaskell/ which is 404. That's still the right place, but it's not been restored since the recent attack on community.haskell.org. Jeremy, have you had

Re: [wxhaskell-users] Problem installing wxhaskell on Ubuntu

2010-10-17 Thread Eric Y. Kow
On Sun, Oct 17, 2010 at 16:04:36 -0600, Jesse Hester wrote: > Unfortunately I'm being ignored on there. :( Well, you may have better luck another time, or also on haskell-cafe. #haskell tends to be very friendly from my experience. What would help is your ghc-pkg dump output and also the version

Re: [wxhaskell-users] Problem installing wxhaskell on Ubuntu

2010-10-17 Thread Eric Y. Kow
On Sun, Oct 17, 2010 at 15:06:01 -0600, Jesse Hester wrote: > Configuring wxcore-0.12.1.6... > Warning: This package indirectly depends on multiple versions of the same > package. This is highly likely to cause a compile failure. > package containers-0.3.0.0 requires array-0.3.0.0 ... > package con

Re: [wxhaskell-users] Problem installing wxhaskell on Ubuntu

2010-10-17 Thread Eric Y. Kow
On Sun, Oct 17, 2010 at 14:59:20 -0600, Jesse Hester wrote: > cabal: Error: some packages failed to install: > wx-0.12.1.6 depends on wxcore-0.12.1.6 which failed to install. > wxcore-0.12.1.6 failed during the building phase. The exception was: > ExitFailure 1 Hmm, what a helpful exception! Coul

Re: [wxhaskell-users] problems using macports?

2010-09-09 Thread Eric Y. Kow
Hi Doaitse, On Thu, Sep 09, 2010 at 17:38:40 +0200, S. Doaitse Swierstra wrote: > I am in my yearly fightto get a working combination of operating > system (Snow Leopard), compiler version (6.12) , wxWidgets and > wxHaskell on my Mac . After deleting most of my stuff, starting > afresh, hours of

Re: [wxhaskell-users] build error on hackage

2010-03-26 Thread Eric Y. Kow
On Fri, Mar 26, 2010 at 15:34:16 -0700, Conal Elliott wrote: > wx and wxcore are failing to build on hackage. wx fails due to wxcore; and > i don't know what the failure is for wx. Here's the log: > http://hackage.haskell.org/packages/archive/wxcore/0.12.1.3/logs/failure/ghc-6.12. Perhaps the ma

[wxhaskell-users] haskell-platform-2010.1.0.0, MacPorts & wxHaskell works w/ work

2010-03-25 Thread Eric Y. Kow
Hi everyone, Here's a user report with some good and bad news. If somebody from the wxHaskell Team could bless or comment on this, I might forward it along to Haskell-Café. I'm Bcc'ing Gregory Wright from the MacPorts team as I think he may be interested. First the good: with MacOS X 10.6 (but

Re: [wxhaskell-users] problems with cabal-installed wxHaskell and ghci (WinXP)

2010-02-06 Thread Eric Y. Kow
On Thu, Jan 28, 2010 at 03:15:28 +0100, Günther Schmidt wrote: > this seems to be a known bug, it's documented in the ghc bug list, has > been for a while ... Do you mean this ticket? http://hackage.haskell.org/trac/ghc/ticket/3798 It seems like the ticket is mainly about the panic: $ ghc -pa

Re: [wxhaskell-users] [wxhaskell-devel] problems with cabal-installed wxHaskell and ghci (WinXP)

2010-01-27 Thread Eric Y. Kow
On Wed, Jan 27, 2010 at 20:58:13 +, Jeremy O'Donoghue wrote: > > Now something strange happens when I test via ghci or runghc: > > > > could not find stdc++ dll > > The root cause of the problem is related to the MinGW gcc installation > which is part of GHC, and which does C/C++ compilat

Re: [wxhaskell-users] Problem with binary distribution for OSX

2009-11-12 Thread Eric Y. Kow
Hi Daniel, On Wed, Nov 11, 2009 at 11:17:23 -0300, Daniel Gorín wrote: > I had problems using the binary distribution of wxhaskell for OSX. I > get an error message indicating that the post-install step failed > because /opt/local/bin/ghc-pkg was not found. Since I'm not using the > macports

Re: [wxhaskell-users] making 'cabal install' just work for MacOS X gui apps

2009-11-09 Thread Eric Y. Kow
On Mon, Nov 09, 2009 at 15:57:02 +, Andy Gimblett wrote: > I've just taken this and put it into its own project on github: > > http://github.com/gimbo/osxSetup.hs Thanks! You can count me in as a tester (after the upcoming Darcs Hacking Sprint, at least). > What I've done so far is turn Set

Re: [wxhaskell-users] Haskell-Cafe Digest, Vol 74, Issue 53

2009-10-29 Thread Eric Y. Kow
Hi Iain, I'm taking the liberty of cc'ing wxhaskell-users. Iain said: > I was trying to go through some of the wxHaskell examples, and they > wouldn't work on my (Tiger) mac. Same thing happened with a few other > wx apps I downloaded from Hackage. A bit of a rummage on the internet > turne

Re: [wxhaskell-users] making 'cabal install' just work for MacOS X gui apps

2009-10-19 Thread Eric Y. Kow
Hi! On Thu, Oct 15, 2009 at 15:29:43 +0100, Andy Gimblett wrote: > I started hacking on your Setup.hs to this end, but it occurred to me > that this might be useful to others, in which case I should a) tidy up > what I've done, b) keep the "build app on install" behaviour too, for > deployer

Re: [wxhaskell-users] Investigating wxHaskell's die-on-restart problem

2009-10-03 Thread Eric Y. Kow
On Fri, Oct 02, 2009 at 21:52:09 -0700, Conal Elliott wrote: > I spent some time today tracking down the die-on-restart problem with > wxHaskell. Yay! > I didn't get the the heart of the problem, though I may have gotten close. > This note records my journey, in the hope that together we can get

Re: [wxhaskell-users] FindReplaceData Issue

2009-09-30 Thread Eric Y. Kow
On Wed, Sep 30, 2009 at 17:59:00 -0300, Fernando Benavides wrote: > I'm attaching the patch because (after just 5'' trying - I'm in my workplace > now :P) I couldn't get darcs send to work. Thanks for being a good sport about this! Could somebody on the wxHaskell Team take a look at Fernando's pa

Re: [wxhaskell-users] FindReplaceData Issue

2009-09-30 Thread Eric Y. Kow
Hi Fernando, On Sat, Sep 05, 2009 at 12:17:01 -0300, Fernando Benavides wrote: > That file has the bug too, indeed Very sorry for my late response, but would you consider sending a patch? I seem to remember you managed to fix this by looking into the wxEiffel version of wxc darcs get http://co

[wxhaskell-users] progress on recabalised wxcore

2009-09-25 Thread Eric Y. Kow
Hi everyone, Just a quick note on some recent progress on the wxHaskell recabalisation. 1. Brian Lewis has joined the wxHaskell team. I think this will make it easier for the wxHaskell crew to complete this work. 2. The work on wxdirect is now on hackage, so those of you who want to try o

Re: [wxhaskell-users] weird error linking a wxHaskell-based application [SOLVED!]

2009-09-20 Thread Eric Y. Kow
On Thu, Sep 17, 2009 at 13:34:43 +0100, Eric Kow wrote: > Any ideas what might be up with this? > It's wxWidgets installed on MacOS X via MacPorts. Ah-hah, two mysteries solved in one. Short answer: we need a small modification in Setup.hs http://github.com/kowey/wxcore/commit/5832cec5618b74af

Re: [wxhaskell-users] wxHaskell recabalised

2009-09-17 Thread Eric Y. Kow
On Mon, Sep 07, 2009 at 14:04:30 +0100, Jeremy O'Donoghue wrote: > Eric, I'll try to get this fixed and turned into darcs patches over the > next couple of weeks. I agree that it's a very good idea, and although I > haven't looked in detail, a quick glance suggests that Brian has done a > very thor

Re: [wxhaskell-users] making 'cabal install' just work for MacOS X gui apps

2009-09-11 Thread Eric Y. Kow
Slightly improved version with chmod u+x (oops) -- Eric Kow PGP Key ID: 08AC04F9 {-# LANGUAGE CPP #-} import Control.Monad (foldM_, forM_) import Data.Maybe ( fromMaybe ) import System.Cmd import System.Exit import System.Info (os) import System.Fil

[wxhaskell-users] making 'cabal install' just work for MacOS X gui apps

2009-09-11 Thread Eric Y. Kow
Hi everybody, Attached are a Setup.hs file and a small addendum which you can use to 'cabal install' your wxHaskell apps on MacOS X without having to jump through any extra hoops like calling the macosx-app script. Note that the Setup.hs *should* be general enough to just work with your applicati

[wxhaskell-users] please upgrade wxhaskell repository to darcs hashed

2009-09-07 Thread Eric Y. Kow
Dear wxHaskell hackers: Fetching wxhaskell via darcs is currently a lot slower than it needs to be because darcs is forced to (a) fetch every file and (b) perform an on-the-fly conversion from an old-fashioned repo to a hashed repository. I would like to convert this repository to the hashed form

Re: [wxhaskell-users] wxHaskell recabalised

2009-09-07 Thread Eric Y. Kow
On Mon, Sep 07, 2009 at 14:04:30 +0100, Jeremy O'Donoghue wrote: > > Until we hear back from the wxHaskell team, work on wxcore is taking > > place on github. If the team respond, I think we should start > > submitting patches so that the wxHaskell darcs repository catches up. > > > Eric, I'll

Re: [wxhaskell-users] Dynamic events warning message

2009-09-07 Thread Eric Y. Kow
On Sun, Sep 06, 2009 at 21:03:27 +0200, Sebastian Klüft wrote: > > Hmm, that's interesting.  Are you using the stock wxWidgets or one that > > you built yourself? > > Yes I have (sort of). I have installed wxWidgets through MacPorts, so > it's built on this machine but everything is done automagic

Re: [wxhaskell-users] Dynamic events warning message

2009-09-06 Thread Eric Y. Kow
On Sun, Sep 06, 2009 at 21:03:27 +0200, Sebastian Klüft wrote: > How do I get this "recabalised" wxcore? git clone git://github.com/bsl/wxdirect git clone git://github.com/bsl/wxcore It's not yet officially supported by the wxHaskell team, but perhaps in the future it will be. -- Eric Kow

Re: [wxhaskell-users] FindReplaceData Issue

2009-09-05 Thread Eric Y. Kow
On Fri, Sep 04, 2009 at 10:32:04 -0300, Fernando Benavides wrote: > Googleing a bit, I've found that this is a known bug in wxEiffel: > http://www.mombu.com/programming/eiffel/t-problems-getting-a-wx-find-replace-data-1408529.html > Then, I've checked the source code for wxHaskell ( > http://darcs.

Re: [wxhaskell-users] Dynamic events warning message

2009-09-05 Thread Eric Y. Kow
On Fri, Sep 04, 2009 at 23:06:18 +0200, Sebastian Klüft wrote: > I can add that I'm also running Mac OS X Leopard and I installed > WXHaskell through Cabal. Hmm, that's interesting. Are you using the stock wxWidgets or one that you built yourself? Also, I'm using the new recabalised wxcore (whic

Re: [wxhaskell-users] Dynamic events warning message

2009-09-04 Thread Eric Y. Kow
Hi Sebastian, On Fri, Sep 04, 2009 at 12:34:32 +0200, Sebastian Klüft wrote: > "assert "m_dynamicEvents" failed in SearchDynamicEventTable(): caller > should check that we have dynamic events" > > Everything seems to work just fine if i ignore it. So I'm wondering > what the meaning of it is and

Re: [wxhaskell-users] ShowFullScreen support?

2009-09-03 Thread Eric Y. Kow
On Wed, Sep 02, 2009 at 18:20:57 -0400, Anthony Cowley wrote: > Is there a way to style a frame so that a wxHaskell application on Mac > OS X runs full screen? I've tried setting the style to 31, which hides > the usual window chrome, but haven't been able to get something whose > client area actua

Re: [wxhaskell-users] wxHaskell recabalised

2009-09-03 Thread Eric Y. Kow
Hi Lyle, On Wed, Sep 02, 2009 at 22:49:24 -0700, Lyle Kopnicky wrote: > Thanks to a pointer someone gave me, I found wx-config at: > > http://wxconfig.googlepages.com/ Interesting. By rights, it really should just ship with wxWidgets. > I followed your instructions, but I assumed that we shou

Re: [wxhaskell-users] Need Cygwin to install wxHaskell?

2009-09-02 Thread Eric Y. Kow
> > On Wed, Sep 02, 2009 at 00:14:08 -0700, Lyle Kopnicky wrote: > > > Is it not possible to install wxHaskell without Cygwin after all? > > > > How about using the Windows binaries? Hmm... see - http://biolpc22.york.ac.uk/pub/2.8.9/install-msw-2.8.9.txt - http://www.haskell.org/haskellwiki/WxHa

[wxhaskell-users] wxHaskell recabalised

2009-09-02 Thread Eric Y. Kow
Hi everybody, For those of you not following wxhaskell-devel: Brian Lewis has been doing which could make installing wxHaskell from source (and consequently install wxHaskell-based applications) a lot easier. He has cleaned up our build infrastructure, replacing our configure script, makefile and

Re: [wxhaskell-users] Need Cygwin to install wxHaskell?

2009-09-02 Thread Eric Y. Kow
Hi Lyle, On Wed, Sep 02, 2009 at 00:14:08 -0700, Lyle Kopnicky wrote: > Is it not possible to install wxHaskell without Cygwin after all? How about using the Windows binaries? Meanwhile Brian has done some work attempting to improve the cabalisation of the wxcore package - http://github.com/bsl/

Re: [wxhaskell-users] wxdirect split off

2009-08-11 Thread Eric Y. Kow
On Tue, Aug 11, 2009 at 15:48:45 -0500, Brian Lewis wrote: > > http://wiki.wxwidgets.org/WxString > > I pushed some stuff to the github repo that resolved these errors for me. I've also pushed some stuff removing wxc modules which I think wxHaskell does not support (I based this on ls dist/wxc/*.

Re: [wxhaskell-users] wxdirect split off

2009-08-11 Thread Eric Y. Kow
On Tue, Aug 11, 2009 at 15:08:53 -0500, Brian Lewis wrote: > On Tuesday, 11.08.09 at 02:05, Eric Y. Kow wrote: > > setup: Missing dependency on a foreign library: > > * Missing C library: wx_macud-2.8 > > > > I guess the Setup.hs file needs to call wx-config > >

Re: [wxhaskell-users] wxdirect split off

2009-08-10 Thread Eric Y. Kow
On Mon, Aug 10, 2009 at 19:50:31 -0500, Brian Lewis wrote: > I made a repo with wxcore and wxc together and tried to make a > wxcore.cabal that would replace the existing makefile: > http://github.com/bsl/wxcore/tree/master I get setup: Missing dependency on a foreign library: * Missing C library

Re: [wxhaskell-users] wxdirect split off

2009-08-09 Thread Eric Y. Kow
On Sun, Aug 09, 2009 at 15:29:29 -0500, Brian Lewis wrote: > One of the first things the makefile does is build wxdirect, so I split > it off and cleaned it up a little bit: > http://github.com/bsl/wxdirect/tree/master . It could be put on HDB. Looks good to me. And now that we have that little s

Re: [wxhaskell-users] cabal install wx

2009-08-09 Thread Eric Y. Kow
OK, I think I'm starting to remember more bits and pieces... On Sun, Aug 09, 2009 at 18:18:09 +0200, Lennart Kolmodin wrote: > I recently tried to make Gentoo Linux ebuilds for wxHaskell. We've had > support in the past, for the 0.9.x series, and would like to support the > new 0.11.x too. I spent

Re: [wxhaskell-users] cabal install wx

2009-08-08 Thread Eric Y. Kow
On Sun, Aug 09, 2009 at 00:50:00 +0100, Eric Y. Kow wrote: > > Could you explain a little more? I don't understand the part after "I > > haven't worked out how ...". > > I'm dimly aware that we build this wxc library that wxcore is > dynamically linke

Re: [wxhaskell-users] cabal install wx

2009-08-08 Thread Eric Y. Kow
On Sat, Aug 08, 2009 at 18:36:10 -0500, Brian Lewis wrote: > > In the darcs version of wxHaskell, I've also attempted to split > > wxcore off so that it is cleanly Cabalised (just the Simple build > > method), but I haven't worked out how to make it point the wxc > > package that we would have to b

Re: [wxhaskell-users] cabal install wx

2009-08-08 Thread Eric Y. Kow
Brian, Does this work better? cabal install wx --configure-opt="--user --enable-split-objs --hcprof" (The key difference is the --configure-opt) On Sat, Aug 08, 2009 at 14:00:49 -0500, Brian Lewis wrote: > If there is some technical reason wx cannot be installed as a user > package, I'd like to

Re: [wxhaskell-users] textCtrl and unicode

2009-07-08 Thread Eric Y. Kow
On Wed, Jul 08, 2009 at 22:14:47 +0100, Eric wrote: > Thanks. I've run the UTF8Sampler - Some stuff appears but no Chinese, > Korean, Tibetan, Mongolian or Japanese characters. By any chance, could it just be a matter of fonts? -- Eric Kow PGP Key

Re: [wxhaskell-users] autogenerating wxc from wxWidgets Doxygen output?

2009-04-12 Thread Eric Y. Kow
On Sun, Apr 12, 2009 at 19:23:01 +0200, Mads Lindstrøm wrote: > * Convince the wxWidgets team to maintain the script. I guess this > involves not just talking to the wxWidges team, but also show that other > people will find the c-wrapper useful. This would be a big win and I think we may be able

Re: [wxhaskell-users] autogenerating wxc from wxWidgets Doxygen output?

2009-04-10 Thread Eric Y. Kow
On Sat, Apr 11, 2009 at 01:57:30 +0200, Mads Lindstrøm wrote: > Besides the overly verbose syntax, I did not feel like XSLT were a good > match for the task. I realise you weren't talking about the syntax, but in case it plays a role in this, there is always PXSL, which has significantly dampened

Re: [wxhaskell-users] autogenerating wxc from wxWidgets?Doxygen output?

2009-04-10 Thread Eric Y. Kow
2009, at 2:01 PM, Eric Y. Kow wrote: Hi Kevin, Thought you might be interested in the attached reply -- Eric Kow <http://www.nltg.brighton.ac.uk/home/Eric.Kow> PGP Key ID: 08AC04F9 From: Mads Lindstrøm Date: April 10, 2009 9:44:08 AM PDT To: wxhaskell-users@lists.sourceforge.net Subject

[wxhaskell-users] wxhaskell homepage now on haskell wiki

2008-08-05 Thread Eric Y. Kow
Hi all, Just a quick note to say that we have consolidated the wxHaskell homepage and wiki page. Hopefully, this will make it easier for you to find your way around the wxHaskell docs, giving a single place to go. If you visit the wxhaskell homepage on sourceforge, you will now be redirected to

Re: [wxhaskell-users] wxTaskBarIcon crash/hang

2008-08-05 Thread Eric Y. Kow
On Tue, Aug 05, 2008 at 02:10:00 +0200, Jose Ramirez wrote: > The problem is that when closing the window, the application segfaults > ("taskBarIconDelete tbicon" does the segfaulting part). > I'm running GHC 6.8.3 / wxHaskell 0.10.3 binary. Ouch. I saw "segfault" and I'm assuming "bug" There ar

Re: [wxhaskell-users] wxHaskell on Leopard

2008-05-17 Thread Eric Y. Kow
Hello! On Sat, May 17, 2008 at 23:05:56 +0200, Mattia Belletti wrote: > Then used the darcs version of wxHaskell. I'm running Mac OS X with > Leopard. Sadly, the released wxHaskell does not support wxWidgets 2.8, which is what comes on Leopard (or what can be installed on it). But you're in l

Re: [wxhaskell-users] problems on Windows

2008-05-15 Thread Eric Y. Kow
Hi Dean, I'm very sorry nobody got back to you. Personally, I filed your message away in my pending queue and marked it 'reread'. By the way, it might help to attach your examples in an easy compile-and-run format, as I have hopefully done. It just smooths out these discussions a little bit! :-

[wxhaskell-users] wxWidgets 2.8 support

2008-04-23 Thread Eric Y. Kow
Just a little heads up: I've pushed in set of patches from Jeremy O'Donoghue which should make it possible to use wxhaskell with wxWidgets 2.8. For MacOS X Leopard users, yes, this means that you can run the darcs version wxhaskell (it runs fine on my machine). Unfortunately, this means breaking

Re: [wxhaskell-users] Installation on Windows, DLL can't be loaded

2008-04-05 Thread Eric Y. Kow
On Sat, Apr 05, 2008 at 19:09:27 +0200, Adrian Neumann wrote: > Loading package wxcore-0.10.3 ... : can't load .so/.DLL for: > wxc-msw2.6.4-0.10.3 > (addDLL: unknown error) If you do find an answer, could you please update the wiki? http://www.haskell.org/haskellwiki/WxHaskell/Install#Troublesho

Re: [wxhaskell-users] Binding wxImage::Get/SetOption and InMemoryStream constructor

2008-03-29 Thread Eric Y. Kow
Hi, By the way, if I haven't already mentioned this, there is a wxhaskell-devel that you may prefer to discuss this on. Personally, I'm happy either way. > The code is so short that I embed it in this email. I'd be interested > to hear any comments on the way I did this, and what you would want

Re: [wxhaskell-users] wxHaskell 0.10.3: problems in Windows XP

2008-03-29 Thread Eric Y. Kow
Hi, Answering the one question I know an answer to. > In the meanwhile, I also found that the 0.10.3 binaries loose the > opengl support compared with 0.9.4 as pointed in > http://wxhaskell.sourceforge.net/download.html. > Is there some reason for this? There used to be a flag bug in wxWidge

Re: [wxhaskell-users] wxhaskell-0.1-.3-rc2

2008-03-18 Thread Eric Y. Kow
On Tue, Mar 18, 2008 at 03:44:27 +0100, Alan Carter wrote: > Thanks for the release! The source distro built with no problems: Great! We really appreciate the feedback (and hope others will give more of it) > Until I remembered the --with-unicode I got all my strings truncated > to one character

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

2008-03-16 Thread Eric Y. Kow
Hi Jules, Just letting you know that I've pushed a patch into the darcs repository which I expect to fix this. Cheers, -- Eric Kow PGP Key ID: 08AC04F9 pgpeFWYDLPV03.pgp Description: PGP signature -

[wxhaskell-users] XTC 1.0 now on hackage

2008-03-15 Thread Eric Y. Kow
haddock description --- XTC: eXtended & Typed Controls for wxHaskell The XTC library provides a typed interface to several wxHaskell controls. * radio view (typed radio box) * single-selection list view (typed single-selection list box) * muliple-selection list view (t

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

2008-03-14 Thread Eric Y. Kow
> > Ultimately, this seems like the right thing to do, for all functions > > that return pointers to underlying bits of data (I am slightly scared > > that there may be loads of these lurking around). > For most purposes the (Ptr () -> IO b) approach is probably neater, > though. After all if you

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

2008-03-14 Thread Eric Y. Kow
On Fri, Mar 14, 2008 at 10:05:55 +, Eric Y. Kow wrote: > I suppose we could augment the > PixelBuffer type to include a pointer to the original image. A, imprecise thinking. That's not what I meant to say. Anyway, I think you get my idea of trying to keep the image refer

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

2008-03-14 Thread Eric Y. Kow
> I've worked it out. With a little help from malcolmw on #ghc. Excellent! Thanks very much. I learned something new. > Should imageGetData be turned into a 'with-style' function > > Image a -> (Ptr () -> IO b) -> IO b > > which protects the image? Ultimately, this seems like the right thing

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

2008-03-14 Thread Eric Y. Kow
On Fri, Mar 14, 2008 at 08:34:48 +, Jules Bean wrote: > But it doesn't segfault :( :-/ Well, at least this means it might be something we can fix. > void createAndGetPixels() { > wxImage *im = new wxImage(256,256); > unsigned char* pixels = im->GetData(); > std::cout << "pixels : " << (

[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

Re: [wxhaskell-users] Trouble with wxhaskell on OSX (Intel/10.4)

2008-03-03 Thread Eric Y. Kow
Hi, > But, it doesn't quite run fine. Where the button is supposed to be > labelled 'Quit', it's labelled 'Q', and where the window itself is > supposed to be labelled "Hello!", it's just labelled 'H'. Ah! You need to configure wxWidgets with --enable-unicode. Maybe we should work out a way fo

[wxhaskell-users] wxhaskell-devel list is now available

2008-02-17 Thread Eric Y. Kow
Hi, I have created a mailing list for wxhaskell development. I am also reconfiguring the darcs repository on darcs.haskell.org so that all patches are sent to that list instead of the users list. Also tracker requests on sourceforge will now go on that list. Subscription is open to all. Thanks!

Re: [wxhaskell-users] darcs patch: Synch Visual Studio Project's output dir... (and 1 more)

2008-02-16 Thread Eric Y. Kow
Thanks! I think I've found out the source of the darcs problem, and have pushed these in (along with my recent set of patches). -- Eric Kow PGP Key ID: 08AC04F9 pgpnkRqEbtK6a.pgp Description: PGP signature -

Re: [wxhaskell-users] wxhaskell 0.10.2 on hackage (experimental)

2008-02-16 Thread Eric Y. Kow
Hi, On Sat, Feb 16, 2008 at 09:07:04 -0800, Conal Elliott wrote: > What's the deal on wxhaskell and ghci-friendliness? Do we > still have to use wxWindows/wxWidgets 2.4.2 in order to run more than one > GUI per ghci session? Will it be possible at all any more? Sorry. I don't have anything to

[wxhaskell-users] darcs patch: Consolidate build targets which exist purely for the sake of Cabal. (and 12 more)

2008-02-16 Thread Eric Y. Kow
Third attempt at sending. -- Eric Kow PGP Key ID: 08AC04F9 Sat Feb 16 09:58:45 GMT 2008 Eric Kow <[EMAIL PROTECTED]> * Consolidate build targets which exist purely for the sake of Cabal. Sat Feb 16 10:00:20 GMT 2008 Eric Kow <[EMAIL PROTECTED]>

[wxhaskell-users] wxhaskell 0.10.2 on hackage (experimental)

2008-02-16 Thread Eric Y. Kow
Hi everyone, I have uploaded an unofficial pre-release of wxhaskell on hackage. It is available as two packages, wxcore and wx. http://hackage.haskell.org/cgi-bin/hackage-scripts/package/wxcore-0.10.2 http://hackage.haskell.org/cgi-bin/hackage-scripts/package/wx-0.10.2 Let me stress that th

Re: [wxhaskell-users] darcs patch: Add a Cabal file for wxcore. (and 16 more)

2008-02-16 Thread Eric Y. Kow
> Please remember wxdirect uses Data.Time stuff. > So we add time package dependency, before. ah, right! > So, I think better solution is like this: changing Graphics.UI.WXCore.Db > module > to use new time packages modules. ok, could you figure out how to do this? Data.Time does not appear t

Re: [wxhaskell-users] darcs patch: Add a Cabal file for wxcore. (and 16 more)

2008-02-16 Thread Eric Y. Kow
> I see that Graphics.UI.WXCore.Db dependes on old-time package's System.Date > module. > But old-time package doesn't depend on time package. > > http://hackage.haskell.org/cgi-bin/hackage-scripts/package/old-time-1.0.0.0 > > So you don't remove time package dendency from wxcore.cabal. Wait, I

Re: [wxhaskell-users] building from darcs on MacOS 10.4

2008-02-15 Thread Eric Y. Kow
Hi Malcolm, On Fri, Feb 08, 2008 at 14:11:28 +, Malcolm Wallace wrote: > (OS X) Check architecture to use intermediate step of compiling > master.o or not. By the way, are you on PowerPC or Intel? (i guess the former?) > There is still one tiny problem, specifically and only with the

Re: [wxhaskell-users] darcs patch: Add a Cabal file for wxcore. (and 2 more)

2008-02-15 Thread Eric Y. Kow
> $ runhaskell Setup.lhs configure --with-msc > -=-= Cabal executing: ./configure --with-hc=ghc --with-msc=-=- > operable program or batch file. > Configure failed. Hmm, I didn't realise you could pass in command line arguments like that. (I thought you had to go through --configure-opt) > Is th

Re: [wxhaskell-users] darcs patch: add a newline to ./wxc/src/image.cpp to remove a warning

2008-02-12 Thread Eric Y. Kow
On Mon, Feb 11, 2008 at 17:53:58 -0500, [EMAIL PROTECTED] wrote: > Mon Feb 11 17:53:24 EST 2008 [EMAIL PROTECTED] > * add a newline to ./wxc/src/image.cpp to remove a warning Applied, thanks! -- Eric Kow PGP Key ID: 08AC04F9 pgpMrD3mk0LtY.pgp D

Re: [wxhaskell-users] darcs patch: Fix missing wxMediaCtrl symbols when lin... (and 2 more)

2008-01-31 Thread Eric Y. Kow
Pushed. And thanks for fixing that makefile stuff! -- Eric Kow PGP Key ID: 08AC04F9 pgpjGhb42KVOn.pgp Description: PGP signature - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studi

Re: [wxhaskell-users] darcs patch: Workaround for processExecAsyncTimed bug

2008-01-30 Thread Eric Y. Kow
> Wed Jan 30 21:29:12 CET 2008 Mads Lindstroem <[EMAIL PROTECTED]> > * Workaround for processExecAsyncTimed bug Applied. Thanks! -- Eric Kow PGP Key ID: 08AC04F9 pgp2Kut8wT6L6.pgp Description: PGP signature - This SF.n

[wxhaskell-users] Fwd: [Haskell] announcing qtHaskell-1.1.1, the first preview release of qtHaskell

2007-12-25 Thread Eric Y. Kow
-- Eric Kow PGP Key ID: 08AC04F9 --- Begin Message --- For all interested in Haskell GUIs, there is now a first preview release of qtHaskell - a set of Haskell bindings for Trolltech's Qt available at http://qthaskell.sourceforge.net Any feedback, comments etc welcome Merry Christmas David Ha

Re: [wxhaskell-users] darcs patch: Initial wxWidgets 2.8.x's API Support

2007-12-12 Thread Eric Y. Kow
Hi, Thanks. I've pushed this in. By the way, the Makefile is still doing all this stuff when I do make install : out/wxdirect/wxdirect -s wxSTC-D3/stc.h --wxc wxc -o wxc parsing: wxSTC-D3/stc.h generating: wxc/include/stc_gen.h generating: wxc/src/stc_gen.cpp out/wxdirect/wxdirect -s wxSTC-D3/s

Re: [wxhaskell-users] darcs patch: Add TaskBar Icon Support

2007-12-06 Thread Eric Y. Kow
Have applied this one as well. Will push it along with 2 other bundles shortly. -- Eric Kow http://www.loria.fr/~kow PGP Key ID: 08AC04F9 Merci de corriger mon français. pgp0Cps69OL3t.pgp Description: PGP signature

Re: [wxhaskell-users] darcs patch: Move drag-and-drop events to Graphics.UI... (and 3 more)

2007-12-06 Thread Eric Y. Kow
I forgot to add * Thanks for all these patches! Sorry for the delays... and especially not telling you that delays would be expected. I'm only now very slowly starting to clear out my mailboxes and get things back under control. * I suspect that it's still trying to build some stuff during

Re: [wxhaskell-users] darcs patch: Move drag-and-drop events to Graphics.UI... (and 3 more)

2007-12-06 Thread Eric Y. Kow
Applied. (not yet pushed yet, but should be coming shortly) -- Eric Kow http://www.loria.fr/~kow PGP Key ID: 08AC04F9 Merci de corriger mon français. pgphf8PSQIvB3.pgp Description: PGP signature ---

Re: [wxhaskell-users] darcs patch: (OS X) Check architecture to use intermediate step of ...

2007-12-06 Thread Eric Y. Kow
Hi, I think I have solved my compilation problems by upgrading to XCode 2.5. Do you still want me to apply this patch? -- Eric Kow http://www.loria.fr/~kow PGP Key ID: 08AC04F9 Merci de corriger mon français. pgplMDKUGo0qZ.pgp Description: PGP signature

Re: [wxhaskell-users] Correct version of wxMac?

2007-12-04 Thread Eric Y. Kow
Hi, On Mon, Dec 03, 2007 at 17:07:03 +, Neil Bartlett wrote: > Thanks Eric. Are you using Mac OS 10.4 (Tiger) or Mac OS 10.5 > (Leopard)? I have tried installing wx 2.6 using MacPorts on Leopard, > but it fails with the same error that I saw when attempting a manual > install. I'm on Ti

Re: [wxhaskell-users] Correct version of wxMac?

2007-12-03 Thread Eric Y. Kow
On Mon, Dec 03, 2007 at 10:41:49 +, Neil Bartlett wrote: > Incidentally I tried to use 2.6.4, but then wxWidgets itself does not > build. I think due to some changes in the Carbon APIs in Mac OS X > Leopard. my wx-config --version says 2.6.3. It's from MacPorts, if it helps, and I'm not u

Re: [wxhaskell-users] darcs patch: Move drag-and-drop events to Graphics.UI... (and 2 more)

2007-12-03 Thread Eric Y. Kow
On Mon, Dec 03, 2007 at 14:04:45 +0900, shelarcy wrote: > Should I attach newer patch to previous reply mail instead of that > using darcs send command? > Or are you just busy now? Sorry, I am just very busy right now (I am moving) If you could darcs send everything in one bundle, that would be g

Re: [wxhaskell-users] darcs patch: Move drag-and-drop events to Graphics.UI... (and 2 more)

2007-11-24 Thread Eric Y. Kow
This one gives me: wxc/src/stc.cpp: In function ‘void wxStyledTextEvent_SetDragResult(void*, void*)’: wxc/src/stc.cpp:522: error: return-statement with a value, in function returning 'void' -- Eric Kow http://www.loria.fr/~kow PGP Key ID: 08AC04F9 Merci de corriger mo

Re: [wxhaskell-users] darcs patch: Change VC 2.6 project to build contribs automatically ...

2007-11-24 Thread Eric Y. Kow
Hi, I'm sorry, I'm not sure I understood > So I want to know that do you update your OS and/or XCode? Only the incremental upgrade from 10.4.10 to 10.4.11 I am indeed using Intel. > Because I know that Mac OS X's different architecture cause problem on > wxHaskell, too. You just remove step tha

Re: [wxhaskell-users] darcs patch: Change VC 2.6 project to build contribs automatically ...

2007-11-21 Thread Eric Y. Kow
Pushed in. Note: I'm getting these erros recently... They don't seem related to the patches I just pushed in, though. ld: /System/Library/Frameworks/WebKit.framework/Versions/A/WebKit load command 20 unknown cmd field /usr/bin/libtool: internal link edit command failed -- Eric Kow

Re: [wxhaskell-users] darcs patch: FIX #1721764: typo in Graphics.UI.WX.Dia... (and 1 more)

2007-11-21 Thread Eric Y. Kow
Pushed in. -- Eric Kow http://www.loria.fr/~kow PGP Key ID: 08AC04F9 Merci de corriger mon français. pgpHr6RPnQtyu.pgp Description: PGP signature - This SF.net email is sponsored by: Microsoft De

  1   2   >