Re: [wxhaskell-users] [Haskell-cafe] wxHaskell + GHCi

2016-01-02 Thread Conal Elliott
ell/wxHaskell/tree/master/samples > > Regards, > Henk-Jan van Tuyl > > > On Sat, 02 Jan 2016 06:08:21 +0100, Conal Elliott wrote: > > Fantastic news! Thanks for the update. Does wxHaskell work (non-fatally) >> with GHCi on Mac OS also? Are there sample programs for an ea

Re: [wxhaskell-users] [Haskell-cafe] wxHaskell + GHCi

2016-01-01 Thread Conal Elliott
Fantastic news! Thanks for the update. Does wxHaskell work (non-fatally) with GHCi on Mac OS also? Are there sample programs for an easy test run? -- Conal On Fri, Jan 1, 2016 at 3:34 PM, Henk-Jan van Tuyl wrote: > > L.S., > > For people who gave up on wxHaskell in the past, because wxHaskell di

Re: [wxhaskell-users] [wxhaskell-devel] [Haskell] ANN: wxHaskell 0.92

2015-09-05 Thread Conal Elliott
h means > "Access violation". The standalone BouncingBalls.exe can be run multiple > times without a problem. > > Henk-Jan > > > > On Fri, 04 Sep 2015 23:56:47 +0200, Conal Elliott wrote: > > The original bug report (perhaps 7 years ago) was at >> http://s

Re: [wxhaskell-users] [wxhaskell-devel] [Haskell] ANN: wxHaskell 0.92

2015-09-04 Thread Conal Elliott
The original bug report (perhaps 7 years ago) was at http://sourceforge.net/p/wxhaskell/bugs/84/ . Seems to be gone now. The symptom was a reliable crash whenever a second top-level window was displayed from a given process, whether in ghci or standalone compiled. Especially inconvenient with ghci,

Re: [wxhaskell-users] [Haskell] ANN: wxHaskell 0.92

2015-08-31 Thread Conal Elliott
Thanks for the update. What's the status of the old problem of crashing the host process if one opens more than one top-level window (as typical in GHCi)? - Conal On Fri, Aug 28, 2015 at 1:16 AM, Henk-Jan van Tuyl wrote: > > L.S., > > I am happy to announce a new version of wxHaskell (0.92). >

[wxhaskell-users] wxHaskell + OpenGL demos?

2012-07-03 Thread Conal Elliott
By following Henry Lockyer's directions, I was able to get wxHaskell going on Mac OS X (10.6.8). Now I want to see whether OpenGL works with it. Are there any demos of wxHaskell + OpenGL? -- Conal -- Live Security Virtual

Re: [wxhaskell-users] Notes on installing wxHaskell on Mac OS Snow Leopard

2012-07-03 Thread Conal Elliott
Worked for me. Thanks very much, Henry! -- Conal On Mon, Jul 2, 2012 at 6:31 PM, Henry Lockyer wrote: > Dear wxHaskell users / aspiring users, > > These are a few notes from getting a working 64bit installation of > wxHaskell on Mac OS in case they are of any use to anyone. > > - This is for a 6

Re: [wxhaskell-users] [Announce] wxHaskell 0.90

2012-04-17 Thread Conal Elliott
I'm excited to see progress in ghci-friendliness! I installed wxWidgets-devel-2.9.3 via macports and then wxHaskell, and I get the following when trying to run a simple wxHaskell program in ghci: Loading package wxc-0.90.0.2 ... can't load framework: QuickTime > (dlopen(/System/Library/Frameworks/

Re: [wxhaskell-users] Congrats and update request

2010-07-17 Thread Conal Elliott
Haskell soon. > > It really is at the top of my Haskell list though. > > Regards > Jeremy > > On Fri, 16 Jul 2010 16:09 -0700, "Conal Elliott" wrote: > > Any progress on the die-on-restart issue? I've put my > denotative/functional graphics & GUIs work on h

Re: [wxhaskell-users] Congrats and update request

2010-07-16 Thread Conal Elliott
t; > It's next on the list. Not much progress as yet, but I do understand the > importance of this. > > Jeremy > > On Sun, 15 Nov 2009 18:05 -0800, "Conal Elliott" wrote: > > Congratulations on the cabal-friendly new wxHaskell release! > > I will be t

[wxhaskell-users] build error on hackage

2010-03-26 Thread Conal Elliott
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. - Conal --

[wxhaskell-users] Fwd: [ wxhaskell-Bugs-1610984 ] process crashes on second 'start'

2010-02-14 Thread Conal Elliott
ssion, for this request, not just the latest update. Category: None Group: confirmed Status: Open Resolution: None Priority: 5 Private: No Submitted By: Conal Elliott (conal) Assigned to: Nobody/Anonymous (nobody) Summary: process crashes on second 'start' Initial Comment: Running two 's

Re: [wxhaskell-users] wxHaskell and 1 usable level up?

2010-02-06 Thread Conal Elliott
My wxhaskell GUI libs (Phooey & GuiTV) as well as Eros are on hold until wxhaskell gets fixed to not kill its parent process (e.g. ghci) on GUI restart. I don't know what's going on with that problem. This problem is a long-standing one. I'm wondering what alternatives there might be to wxhaskell

Re: [wxhaskell-users] wxhaskell vs. gtk2hs

2010-01-23 Thread Conal Elliott
in gtk2hs for that matter. > > I also had the impression that the higher level projects in the GUI or > FRP department are all started and then gotten stuck and abandoned, it > seems to be an unsolved issue, please correct me if I'm wrong. > > Günther > Yes, I'd say un

Re: [wxhaskell-users] wxhaskell vs. gtk2hs

2010-01-23 Thread Conal Elliott
On Fri, Jan 22, 2010 at 11:23 PM, Gour wrote: > On Fri, 22 Jan 2010 17:15:00 -0800 > >>>>>> "Conal" == "Conal Elliott" wrote: > > Hello Conal, > > Conal> I've worked with both wxhaskell and gtk2hs. I prefer wxhaskell > Cona

Re: [wxhaskell-users] wxhaskell vs. gtk2hs

2010-01-22 Thread Conal Elliott
Hi Gour, I've worked with both wxhaskell and gtk2hs. I prefer wxhaskell for elegant design. And I like that it gives me a native Mac OS X look. There is a partially working native Gtk for Mac, but I don't think it works with 3D, which was a requirement for me. The X11 mode is painful & ugly, a

[wxhaskell-users] Congrats and update request

2009-11-15 Thread Conal Elliott
Congratulations on the cabal-friendly new wxHaskell release! I will be thrilled to switch from gtk2hs back to wxHaskell for all of my GUI-ful projects as soon as the ghci-killing problem (crash on second 'start') is solved. Any progress? - Conal ---

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

2009-10-02 Thread Conal Elliott
I spent some time today tracking down the die-on-restart problem with wxHaskell. Here's a simple demo of the problem: import Graphics.UI.WX main = io >> io where io = start (frame [] >> return ()) (See http://sourceforge.net/tracker/?func=detail&atid=536845&aid=1610984&group_id=73133.)

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

2008-03-29 Thread Conal Elliott
As long as there's a single binary (per release per platform) I'm for opengl being part of it. On Sat, Mar 29, 2008 at 6:56 AM, Eric Y. Kow <[EMAIL PROTECTED]> wrote: > Hi, > > Answering the one question I know an answer to. > > > In the meanwhile, I also found that the 0.10.3 binaries loose the

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

2008-02-16 Thread Conal Elliott
Hi Eric, Thanks for the progress update. Your remark about 2.6 only raises a question for me: 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? - Conal

[wxhaskell-users] wxhaskell, cabal, and linux

2008-02-14 Thread Conal Elliott
the process? Thanks, - Conal -- Forwarded message ------ From: Conal Elliott <[EMAIL PROTECTED]> Date: Thu, Feb 14, 2008 at 10:12 AM Subject: Re: off-world libs & docs To: Ross Paterson <[EMAIL PROTECTED]> Thanks. I'll ask around. - Conal On Thu, Feb 14

Re: [wxhaskell-users] wxhaskell and ghci - runs once only

2008-02-09 Thread Conal Elliott
I think the key here is to use wxWindows version 2.4.2 (later renamed to wxWidgets). I think the issue is static initializers in later versions. - Conal On Feb 9, 2008 1:46 PM, Andrew U. Frank <[EMAIL PROTECTED]> wrote: > why does wxhaskell with ghci run only once and then dies? > > is this an e

Re: [wxhaskell-users] wxHaskell for linux (ubuntu)?

2007-12-31 Thread Conal Elliott
Hm. The static initializers are problematic on Windows as well, which is why I stayed with wxWindows-2.4.2. Perhaps the same solution works on Linux? Does *anyone* have wxHaskell and ghci working together on Linux, without having to restart ghci after each GUI? - Conal On Dec 30, 2007 4:35 P

[wxhaskell-users] wxHaskell for linux (ubuntu)?

2007-12-30 Thread Conal Elliott
I'm setting up a linux dev machine (ubuntu 7.10). What do folks recommend for wxWidgets and wxHaskell? I like using wxHaskell in ghci, in case that's a consideration on Linux as it is on Windows. Thanks, - Conal - This SF.n

Re: [wxhaskell-users] shifting text in a TextCtrl

2007-12-26 Thread Conal Elliott
;m still stumped. - Conal > > On Nov 28, 2007 8:16 PM, Conal Elliott <[EMAIL PROTECTED]> wrote: > > > I'm using an TextCtrl for output, and I want the beginning of the text > > to show rather than the end, when the text won't fit. The default seems to > >

Re: [wxhaskell-users] shifting text in a TextCtrl

2007-12-23 Thread Conal Elliott
Does anyone have ideas about this one? I'm still stumped. - Conal On Nov 28, 2007 8:16 PM, Conal Elliott <[EMAIL PROTECTED]> wrote: > I'm using an TextCtrl for output, and I want the beginning of the text to > show rather than the end, when the text won't fit. Th

Re: [wxhaskell-users] [Haskell-cafe] GUI

2007-12-12 Thread Conal Elliott
it's > installation failed without any evident reason. > > 12.12.2007, в 22:52, Conal Elliott писал(а): > > > I prefer the elegant high-level style of wxhaskell over the current > > state of gtk2hs. duncan has said he's interested in making a > > gtk2hs more elegant,

[wxhaskell-users] shifting text in a TextCtrl

2007-11-28 Thread Conal Elliott
I'm using an TextCtrl for output, and I want the beginning of the text to show rather than the end, when the text won't fit. The default seems to be the other way. Does anyone know how I can get the beginning showing after changing the text attribute? Thanks, - Conal ---

Re: [wxhaskell-users] how to make custom controls?

2007-11-28 Thread Conal Elliott
Thanks much for the pointers, Mads. I read the binview source code, which uses a global mutable table to store per-instance data. I wonder if there's a nicer way. did you ever find one? - Conal On Nov 28, 2007 9:47 AM, Mads Lindstrøm <[EMAIL PROTECTED]> wrote: > Hi > >

[wxhaskell-users] how to make custom controls?

2007-11-27 Thread Conal Elliott
I want to make (or find) a float-valued slider that displays its current value and maybe its bounds. Does anyone have advice about doing that sort of thing. I want the result to have have a control-like interface, including a gettable attribute for the current (float) value. Thanks, - Conal ---

[wxhaskell-users] keyboard events for MDI child frames

2007-09-19 Thread Conal Elliott
Is there a way to get keyboard events for MDI child frames? My "on keyboard" handlers never respond, though they work for widgets. - Conal - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visu

[wxhaskell-users] float/double-valued sliders?

2007-09-17 Thread Conal Elliott
does anyone have code whipped up for float/double-valued sliders? i have a rudimentary version built on top of (the int-valued) "slider" and mapAttr, without visible bounds or current value. thanks, - conal - This SF.net ema

[wxhaskell-users] getting keyboard events to frame or panel?

2007-09-16 Thread Conal Elliott
I'm trying to assign some keyboard shortcuts in a wxhaskell app (Eros). I can pick up the keyboard events in a subpanel, using "on keyboard := ...", but so far not in the containing (MDI child) frame or panel. Any ideas? Thanks much, - Conal -

Re: [wxhaskell-users] setting button size

2007-09-07 Thread Conal Elliott
Thanks, Mads. I guess it's another Windows problem then. Glad to know. - Conal On 9/7/07, Mads Lindstrøm <[EMAIL PROTECTED]> wrote: > > Hi Conal > > Conal Elliott: > > import Graphics.UI.WX > > > > runUI1 :: IO () > >

Re: [wxhaskell-users] setting button size

2007-09-06 Thread Conal Elliott
0 50 ] set pan [ layout := widget b ] set f[ layout := widget pan ] Thanks, - Conal On 9/4/07, Conal Elliott <[EMAIL PROTECTED]> wrote: > > I want to resize my button control to be square. I tried "set ctl [ size > := Size 100 100]" with no visible e

[wxhaskell-users] setting button size

2007-09-04 Thread Conal Elliott
I want to resize my button control to be square. I tried "set ctl [ size := Size 100 100]" with no visible effect. Same with clientSize & outerSize. Does anyone know the required magic? Thanks. - Conal - This SF.net email

[wxhaskell-users] crashing bug/feature: poking at closed frames

2007-09-04 Thread Conal Elliott
I had a crashing bug in the new version of Eros I'm working on. It turned out that my event call-backs were still poking state in closed frames (MDI children). While I knew I'd have some wasted work, I didn't expect the crash. I've solved / worked-around the problem now, by having the frames bec

Re: [wxhaskell-users] is imageCreateFromPixelArray "safe"?

2007-09-04 Thread Conal Elliott
Thanks. I'm using the function as pure, and so far, so good. Cheers, - Conal On 9/2/07, shelarcy <[EMAIL PROTECTED]> wrote: > > Hi Conal, > > On Wed, 29 Aug 2007 09:42:15 +0900, Conal Elliott <[EMAIL PROTECTED]> wrote: > > Is there any reason for imageCreate

[wxhaskell-users] is imageCreateFromPixelArray "safe"?

2007-08-28 Thread Conal Elliott
Is there any reason for imageCreateFromPixelArray to be in IO? I want to use it as a pure function (via unsafePerformIO), and I'm wondering if there are any gotchas. - Conal - This SF.net email is sponsored by: Splunk Inc. S

Re: [wxhaskell-users] building problems

2007-02-17 Thread Conal Elliott
Wolfgang, In case you don't know (as I didn't), be aware that wxWidgets 2.6 and later are not ghci-friendly, so for ghci use, you'll probably prefer 2.4.2. More info at http://darcs.haskell.org/packages/phooey/README . Cheers, - Conal On 2/17/07, Wolfgang Jeltsch <[EMAIL PROTECTED]> wrote:

[wxhaskell-users] doc file name changes??

2007-02-13 Thread Conal Elliott
Am I imagining or did haddock doc file names just get changed from " http://wxhaskell.sourceforge.net/doc/Graphics-UI-WX-Attributes.html"; to " http://wxhaskell.sourceforge.net/doc/Graphics.UI.WX.Attributes.html"; (etc)? My auto-generated doc links from Phooey to wxHaskell are now all broken. See

[wxhaskell-users] horizontal stretch bug??

2007-01-16 Thread Conal Elliott
I'm stumped on a problem with horizontal stretching, and I don't know whether I've hit a bug or my own ignorance. I want to place two sliders horizontally and have them both stretch with the frame. Instead, the left one stretches, and the right one doesn't. (I'm not sure I have "stretch" and "e

Re: [wxhaskell-users] process crashes on second 'start'

2006-12-10 Thread Conal Elliott
s with --enable-unicode. I had to completely empty out my "mybuild" directory, not just "make clean" to fix string truncation (unicode glitch). - Conal On 12/8/06, Jeremy O'Donoghue <[EMAIL PROTECTED]> wrote: Hi Conal, On 07/12/06, Conal Elliott <[EMAIL P

Re: [wxhaskell-users] process crashes on second 'start'

2006-12-07 Thread Conal Elliott
- Conal On 12/7/06, Jeremy O'Donoghue <[EMAIL PROTECTED]> wrote: Hi Conal, On 07/12/06, Conal Elliott <[EMAIL PROTECTED]> wrote: > I submitted this bug report at the sourceforge project. Is this a known > problem? Any work-arounds? > > > Running two 's

[wxhaskell-users] process crashes on second 'start'

2006-12-07 Thread Conal Elliott
I submitted this bug report at the sourceforge project. Is this a known problem? Any work-arounds? Running two 'start'ed actions kills the process under ghc and ghci. Example: import Graphics.UI.WX main = io >> io where io = start (frame [] >> return ()) OS: Windows XP Software versions: ghc

[wxhaskell-users] installing/registering haddock docs for wxhaskell?

2006-12-06 Thread Conal Elliott
I see how to make wxhaskell (haddock) docs and how to build and install & register the wxhaskell packages. Is there a way to install & register the haddock docs so that haddock can find them for libraries that use wxhaskell? (As a temporary hack, I edited the paths right into my ghc package.conf

Re: [wxhaskell-users] strings truncated to one character in wxhaskell-0.10.1 under ghc-6.6

2006-12-06 Thread Conal Elliott
de/msw- unicode-release-static-2.6 -IC:/cygwin/usr/local/include/wx-2.6 -D__WIN95__ -D__WXMSW__ -fPIC -Iwxc/include cc1plus.exe: warning: -fPIC ignored for target (all code is position independent) Is there a process for submitting & tracking wxHaskell bug reports? Cheers, - Conal On 12/4/0

Re: [wxhaskell-users] strings truncated to one character in wxhaskell-0.10.1 under ghc-6.6

2006-12-04 Thread Conal Elliott
oops -- premature send. any advice? what configure options do you use for wxWidgets-2.6.3? Thanks, - Conal On 12/4/06, Conal Elliott <[EMAIL PROTECTED]> wrote: Thanks for the tips, Eric. I've built & installed wxWidgets 2.6.3(configuring with --with-msw --disable-share

Re: [wxhaskell-users] strings truncated to one character in wxhaskell-0.10.1 under ghc-6.6

2006-12-04 Thread Conal Elliott
ED]> wrote: On Thu, Nov 30, 2006 at 14:26:43 -0800, Conal Elliott wrote: > I don't know whether Unicode was enabled in my wxWidgets build. I have > wxWidgets 2.4.2 and configured compilation without any mention of unicode. > Would I want unicode enabled or disabled? You want it enab

[wxhaskell-users] Does anyone use wxHaskell with ghc-6.6?

2006-12-02 Thread Conal Elliott
I'd love to hear from anyone who has wxHaskell & ghc-6.6 working together. I'm stuck on a Unicode issue (apparently), as mentioned in my previous message. - Conal - Take Surveys. Earn Cash. Influence the Future of IT Join Sou

Re: [wxhaskell-users] strings truncated to one character in wxhaskell-0.10.1 under ghc-6.6

2006-11-30 Thread Conal Elliott
c Kow <[EMAIL PROTECTED]> wrote: Is you wxWidgets Unicode-enabled? That might fit in with what Daan is saying: we are sending whar_t, 4 bytes at a time, so you'll be getting something that looks like char NULL NULL NULL. On 11/30/06, Conal Elliott <[EMAIL PROTECTED]> wrote: >

Re: [wxhaskell-users] strings truncated to one character in wxhaskell-0.10.1 under ghc-6.6

2006-11-29 Thread Conal Elliott
g wxhaskell and ghc-6.6? If so, are you getting the same problem? Fix? Work-around? - Conal On 11/29/06, Conal Elliott <[EMAIL PROTECTED]> wrote: I grabbed & built the latest wxhaskell from http://darcs.haskell.org and recompiled an app, all under ghc-6.6 . My labels and text fie

[wxhaskell-users] strings truncated to one character in wxhaskell-0.10.1 under ghc-6.6

2006-11-29 Thread Conal Elliott
I grabbed & built the latest wxhaskell from http://darcs.haskell.org and recompiled an app, all under ghc-6.6. My labels and text fields are getting truncated to a single character. Any ideas? Thanks, - Conal - Take Surve