You can subscribe to this list here.
2003 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
(12) |
Aug
(34) |
Sep
(14) |
Oct
(36) |
Nov
(32) |
Dec
(15) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2004 |
Jan
|
Feb
(9) |
Mar
(31) |
Apr
(36) |
May
(17) |
Jun
(21) |
Jul
(13) |
Aug
(18) |
Sep
(2) |
Oct
(10) |
Nov
(18) |
Dec
(28) |
2005 |
Jan
(26) |
Feb
(15) |
Mar
(26) |
Apr
(11) |
May
(60) |
Jun
(3) |
Jul
(12) |
Aug
(4) |
Sep
(12) |
Oct
(19) |
Nov
(36) |
Dec
(10) |
2006 |
Jan
(6) |
Feb
(13) |
Mar
(6) |
Apr
(2) |
May
(9) |
Jun
(3) |
Jul
(6) |
Aug
(13) |
Sep
(1) |
Oct
(24) |
Nov
(33) |
Dec
(47) |
2007 |
Jan
(21) |
Feb
(41) |
Mar
(17) |
Apr
(9) |
May
(4) |
Jun
(20) |
Jul
(24) |
Aug
(71) |
Sep
(35) |
Oct
(10) |
Nov
(39) |
Dec
(39) |
2008 |
Jan
(24) |
Feb
(42) |
Mar
(61) |
Apr
(12) |
May
(11) |
Jun
(4) |
Jul
(9) |
Aug
(6) |
Sep
(6) |
Oct
(4) |
Nov
(3) |
Dec
(14) |
2009 |
Jan
(25) |
Feb
(18) |
Mar
(19) |
Apr
(24) |
May
(14) |
Jun
(7) |
Jul
(14) |
Aug
(25) |
Sep
(40) |
Oct
(20) |
Nov
(22) |
Dec
(4) |
2010 |
Jan
(55) |
Feb
(11) |
Mar
(9) |
Apr
(10) |
May
(10) |
Jun
(9) |
Jul
(7) |
Aug
(4) |
Sep
(15) |
Oct
(7) |
Nov
(2) |
Dec
(3) |
2011 |
Jan
(2) |
Feb
(1) |
Mar
(4) |
Apr
(6) |
May
(20) |
Jun
(30) |
Jul
(15) |
Aug
(4) |
Sep
(23) |
Oct
(24) |
Nov
(3) |
Dec
(8) |
2012 |
Jan
(23) |
Feb
(7) |
Mar
(19) |
Apr
(48) |
May
(8) |
Jun
(27) |
Jul
(10) |
Aug
(1) |
Sep
(11) |
Oct
(1) |
Nov
|
Dec
(3) |
2013 |
Jan
(1) |
Feb
|
Mar
(17) |
Apr
(1) |
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2014 |
Jan
|
Feb
|
Mar
(1) |
Apr
|
May
|
Jun
|
Jul
|
Aug
(12) |
Sep
(2) |
Oct
|
Nov
|
Dec
(1) |
2015 |
Jan
|
Feb
|
Mar
(14) |
Apr
(5) |
May
(1) |
Jun
|
Jul
|
Aug
(2) |
Sep
(5) |
Oct
(1) |
Nov
(2) |
Dec
(1) |
2016 |
Jan
(7) |
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2017 |
Jan
|
Feb
|
Mar
|
Apr
(1) |
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2018 |
Jan
(2) |
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: Anatoly Z. <ana...@gm...> - 2005-11-09 09:56:27
|
High, Wouter! > wxc/include/wrapper.h:172: error: invalid conversion from 'char*' to > 'long unsigned int' > wxc/include/wrapper.h:172: error: initializing argument 1 of > 'wxDataFormat::wxDataFormat(long unsigned int)' > ... This is a unicode problem: when configuring wxWidgets with --enable-unicode "wxChar" is not "char". So you should rebuild wxWidgets with --disable-unicode or apply the great patch from Eric Y. Kow to wxhaskell (look for his posts on this list). Hope this helps. |
From: Eric Y. K. <Eri...@lo...> - 2005-11-09 09:47:04
|
On Tue, Nov 08, 2005 at 23:20:02 +0000, Wouter Swierstra wrote: > I've been trying to install wxhaskell on my iBook, so far to no =20 > avail. I'm running 10.4 with Wolfgang Thaller's ghc version 6.4.1 and =20 > XCode 2.1. So far I have managed to build managed to build and =20 > install wxMac 2.6.2 (which oddly enough seems to correspond to =20 > wxwidgets 2.5.3). Hi, 1. For wxhaskell's configure, you need to pass the flag=20 --wx-config=3D/usr/local/bin/wx-config=20 (or wherever it is you installed wxWidgets 2.6.2) 2. For wxWidget's configure on the Mac, you must also pass --disable-shared. This is not related to problem you are having yet; just warning you in advance. If somebody could explain why this is neccesary, that'd be great. All i know is that it avoids things blowing up 3. As for the compilation error, either: A) wxWidgets should be configured --disable-unicode=20 B) *or* you should patch wxhaskell using the following: http://www.loria.fr/~kow/download/patch-wxhaskell-unicode-05 Cheers, --=20 Eric Kow http://www.loria.fr/~kow PGP Key ID: 08AC04F9 Merci de corriger mon fran=E7ais. |
From: Wouter S. <ws...@Cs...> - 2005-11-08 23:22:30
|
Dear all, I've been trying to install wxhaskell on my iBook, so far to no avail. I'm running 10.4 with Wolfgang Thaller's ghc version 6.4.1 and XCode 2.1. So far I have managed to build managed to build and install wxMac 2.6.2 (which oddly enough seems to correspond to wxwidgets 2.5.3). Wxhaskell configures as follows: configuration: library: wxhaskell-0.9.4 (release 0) compiler: ghc-6.4.1 wxwidgets: mac-2.5.3 with openGL: no library dir: /usr/local/wxhaskell/lib But building gives me the error attached at the bottom of this message. I tried the binaries provided, but alas: > ghc -package wx HelloWorld.hs -o hello HelloWorld.hs:4:0: Failed to load interface for `Graphics.UI.WX': Bad interface file: /usr/local/wxhaskell/lib/imports/ Graphics/UI/WX.hi mismatched interface file versions: expected 6041, found 6040 Any clues as to what's amiss would be greatly appreciated. Thanks in advance, --Wouter Compilation error: g++ -c wxc/src/ewxw_main.cpp -o out/wxc/ewxw_main.o -MD -I/usr/lib/wx/ include/mac-unicode-debug-2.5 -I/usr/include/wx-2.5 -D__WXDEBUG__ - D__WXMAC__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -DNO_GCC_PRAGMA - Iwxc/include wxc/include/wrapper.h: In constructor 'ELJDragDataObject::ELJDragDataObject(void*, char*, int (*)(void*), int (*)(void*, void*), int (*)(void*, int, const void*))': wxc/include/wrapper.h:172: error: invalid conversion from 'char*' to 'long unsigned int' wxc/include/wrapper.h:172: error: initializing argument 1 of 'wxDataFormat::wxDataFormat(long unsigned int)' wxc/include/wrapper.h: In constructor 'ELJTextValidator::ELJTextValidator(void*, void*, void*, long int)': wxc/include/wrapper.h:257: error: ambiguous overload for 'operator=' in '((ELJTextValidator*)this)->ELJTextValidator::buf = (const char*) _txt' /usr/include/wx-2.5/wx/string.h:643: note: candidates are: wxString& wxString::operator=(int) <near match> /usr/include/wx-2.5/wx/string.h:856: note: wxString& wxString::operator=(wxChar) <near match> /usr/include/wx-2.5/wx/string.h:863: note: wxString& wxString::operator=(const wxWCharBuffer&) <near match> /usr/include/wx-2.5/wx/string.h:919: note: wxString& wxString::operator=(const wxString&) <near match> wxc/include/wrapper.h: At global scope: wxc/include/wrapper.h:330: error: conflicting return type specified for 'virtual char* ELJConnection::OnRequest(const wxString&, const wxString&, int*, wxIPCFormat)' /usr/include/wx-2.5/wx/ipcbase.h:85: error: overriding 'virtual wxChar* wxConnectionBase::OnRequest(const wxString&, const wxString&, int*, wxIPCFormat)' wxc/include/wrapper.h: In constructor 'ELJConnection::ELJConnection (char*, int)': wxc/include/wrapper.h:300: error: no matching function for call to 'wxTCPConnection::wxTCPConnection(char*&, int&)' /usr/include/wx-2.5/wx/sckipc.h:106: note: candidates are: wxTCPConnection::wxTCPConnection(const wxTCPConnection&) /usr/include/wx-2.5/wx/sckipc.h:65: note: wxTCPConnection::wxTCPConnection() /usr/include/wx-2.5/wx/sckipc.h:64: note: wxTCPConnection::wxTCPConnection(wxChar*, int) wxc/include/wrapper.h: In constructor 'ELJPrintout::ELJPrintout (void*, void*, void*, void*, void*, void*, void*, void*, void*, void*)': wxc/include/wrapper.h:412: error: conversion from 'char*' to 'const wxString' is ambiguous /usr/include/wx-2.5/wx/string.h:659: note: candidates are: wxString::wxString(wxChar, size_t) <near match> /usr/include/wx-2.5/wx/string.h:649: note: wxString::wxString(int) <near match> wxc/include/wrapper.h: In constructor 'ELJPreviewFrame::ELJPreviewFrame(void*, void*, void*, void*, void*, void*, void*, int, int, int, int, int)': wxc/include/wrapper.h:474: error: conversion from 'char*' to 'const wxString' is ambiguous /usr/include/wx-2.5/wx/string.h:659: note: candidates are: wxString::wxString(wxChar, size_t) <near match> /usr/include/wx-2.5/wx/string.h:649: note: wxString::wxString(int) <near match> make: *** [out/wxc/ewxw_main.o] Error 1 This message has been checked for viruses but the contents of an attachment may still contain software viruses, which could damage your computer system: you are advised to perform your own checks. Email communications with the University of Nottingham may be monitored as permitted by UK legislation. |
From: Paul S. <pau...@mi...> - 2005-11-08 01:11:28
|
On Mon, 7 Nov 2005 13:02:28 +0100, Eric Y. Kow wrote: > On Sat, Nov 05, 2005 at 23:53:36 -0500, Paul Sexton wrote: > Out of curiosity, what happens when you minimise TimeFlows and then > restore the window? Do you get a menubar back? > > Another thing to try is to compare the wxcore samples with the wx > samples. > > There seems to be a bug somewhere (in wxhaskell?) and I've found that to > deal with it, I need to stick in a piece of code that more or less does > the same thing: > > windowHide f > windowShow f > windowRaise f Never mind! Not only am I a n00b, I'm an idiot. I confused TimeFlows and TimeFlowsEx. All working now. Thanks for the help, nice meeting you, & I'll remember the workaround (still excited about this thing.) Paul |
From: Eric Y. K. <Eri...@lo...> - 2005-11-07 12:05:13
|
On Sat, Nov 05, 2005 at 23:53:36 -0500, Paul Sexton wrote: > Both load w/ no errors and work correctly otherwise. I've looked thru=20 > the .hs's and see no reason HelloWorld would have a visible/functional=20 > menubar but not TimeFlows; I've done some tinkering with the code with=20 > no effect. Out of curiosity, what happens when you minimise TimeFlows and then restore the window? Do you get a menubar back? Another thing to try is to compare the wxcore samples with the wx samples. There seems to be a bug somewhere (in wxhaskell?) and I've found that to deal with it, I need to stick in a piece of code that more or less does the same thing: windowHide f windowShow f windowRaise f=20 But said bug may not be relevant to your problem. --=20 Eric Kow http://www.loria.fr/~kow PGP Key ID: 08AC04F9 Merci de corriger mon fran=E7ais. |
From: Paul S. <pau...@mi...> - 2005-11-06 04:53:48
|
Didn't see this on the list archive or USENET, but someone must have encountered it. I'm a noob, just installed, been running the demo's. HelloWorld.hs has a menubar but TimeFlows.hs doesn't (not drawn at all.) Both load w/ no errors and work correctly otherwise. I've looked thru the .hs's and see no reason HelloWorld would have a visible/functional menubar but not TimeFlows; I've done some tinkering with the code with no effect. Working with XP SP1, ghc 6.4 (binary install), WxW 2.4.2(VS.NET), matching WxHaskell MSI install I'll try this w/ OSX as soon as I can work out some install errors. TIA Paul |
From: Ing. O. E. <osc...@me...> - 2005-10-28 17:10:06
|
Hi, everybody and first sorry for me english is no yet very good. :) The .tgz is an installer bin-file for linux slackware distribution, you could find the file in : http://www.memi.umss.edu.bo/~oscar.apollo/soft/ Me problem is exactly : In wxhaskell create a panel or other compoment with an especific parent(example. frame ) _panel <- panel owner [...] --where owner is previosly create , but I dont know which is the specific parent(frame) in the creation time, because I using Ag (Attributes grammar - uuag), the semantics rules and lhs variables. Of course I know the parent after. So Who I find a solution? Thanks for all. -- Ing. O.E. Alvarez Callaú Programa MEMI-UMSS |
From: Mads <mad...@ya...> - 2005-10-23 18:37:48
|
Hi Arjan and Lennart > Arjan van IJzendoorn wrote: >=20 > > Hello Mads, > > > >> This leads me to the following question: How does one test if a dis= play > >> is available using WxHaskell? > > > > > > I don't know, but you might check the wxWidgets documentation first =20 > > to see whether this framework supports it. If not, there is no chance= =20 > > of finding a wxHaskell method that does it. I couldn't find one after= =20 > > quickly scanning the available classes. > > > > Alternatively, is there maybe an environment variable that tells you = =20 > > whether a display is available? >=20 > Usually the environment variable DISPLAY is set if a display is=20 > available. This is of course no guaranty that the display can actually=20 > be opened. I created the following function: -- WARNING: This function has only been tested on Linux (Debian). displayAvailable :: IO Bool displayAvailable =3D do isWindows <- isSet "SystemDrive" if isWindows then return True else isSet "DISPLAY" -- We are geussing it's Lin= ux. =20 where isSet environmentVariable =3D catch (do getEnv environmentVariable return True ) (\_ -> return False) However, it is not really cross-platform. It does work on Linux and maybe on MS Windows. It also assumes MS Windows always has a graphical display (is this true?). However shouldn't a cross platform solution be part of WxHaskell? Another problem with the solution is that if the DISPLAY variable is set, but the user is not allowed to use the display which the DISPLAY variable refers to, the function will return (IO True) even though it should not. This can happen after an su-command, if you have not done a "xhost localhost". Thank you both for the replies. /Mads Lindstr=F8m >=20 > Cheers, > Lennart >=20 > > > > Cheers, Arjan |
From: Lennart K. <kol...@dt...> - 2005-10-23 16:16:03
|
Arjan van IJzendoorn wrote: > Hello Mads, > >> This leads me to the following question: How does one test if a display >> is available using WxHaskell? > > > I don't know, but you might check the wxWidgets documentation first > to see whether this framework supports it. If not, there is no chance > of finding a wxHaskell method that does it. I couldn't find one after > quickly scanning the available classes. > > Alternatively, is there maybe an environment variable that tells you > whether a display is available? Usually the environment variable DISPLAY is set if a display is available. This is of course no guaranty that the display can actually be opened. Cheers, Lennart > > Cheers, Arjan |
From: Arjan v. I. <af...@cs...> - 2005-10-23 14:50:32
|
Hello Mads, > This leads me to the following question: How does one test if a > display > is available using WxHaskell? I don't know, but you might check the wxWidgets documentation first to see whether this framework supports it. If not, there is no chance of finding a wxHaskell method that does it. I couldn't find one after quickly scanning the available classes. Alternatively, is there maybe an environment variable that tells you whether a display is available? Cheers, Arjan |
From: Mads <mad...@ya...> - 2005-10-23 13:38:21
|
Hi I want to develop an application which opens a GUI if there is a display available. If no display is available I want the application to gracefully switch to console mode. This leads me to the following question: How does one test if a display is available using WxHaskell? I have tried the catch (IO a -> (IOError -> IO a) -> IO a) function in the IO monad like: main =3D catch someForm ( const $ putStr "No display available\n" ) someForm =3D start $ do f <- frame [] set f [ layout :=3D widget $ label "Foo" ] but WxHaskell do not call the exception handler function. WxHaskell Just prints something like: Gtk-WARNING**: Cannot open display I would appreciate any help I can get. /Mads Lindstr=F8m |
From: Groh, H. <gr...@IC...> - 2005-10-13 16:33:26
|
hello, there's a "flicker" problem when resizing a wxHaskell frame under = Windows. The resize is excuted incrementally, as the frame size is changed. Under SuSE Linux, with the wxGTK libriaries, resizing is excuted only = when the frame size change is complete, effecting no flickers. =20 Is it possible to set constraints for resizing under Windows, in the = sense that it will be performed without flickers ? =20 Thank you, Hans Groh=20 <mailto:gr...@ic...> mailto:gr...@ic...=20 <http://www.ics-ag.de/> http://www.ics-ag.de <?xml:namespace prefix =3D = o ns =3D "urn:schemas-microsoft-com:office:office" /> =20 |
From: <EFu...@ne...> - 2005-10-11 19:21:51
|
Hello Eric, "Eric Y. Kow" <Eri...@lo...> wrote: >We need some help testing something out. > Please instead of attaching the patches to the emails, use the sourceforge patch submission mechanism, which will make it easier to track things. And if the wxHaskell developers ever think of adding them they will also find it easier. Thanks. -- Surendra Singhi http://www.public.asu.edu/~sksinghi/index.html __________________________________________________________________ Switch to Netscape Internet Service. As low as $9.95 a month -- Sign up today at http://isp.netscape.com/register Netscape. Just the Net You Need. New! Netscape Toolbar for Internet Explorer Search from anywhere on the Web and block those annoying pop-ups. Download now at http://channels.netscape.com/ns/search/install.jsp |
From: Eric Y. K. <Eri...@lo...> - 2005-10-11 12:01:08
|
On Mon, Oct 03, 2005 at 18:01:07 +0200, Eric Y. Kow wrote: > We need some help testing something out. Please feel free to disregard this message. I've managed to test things out on my own. -- Eric Kow http://www.loria.fr/~kow PGP Key ID: 08AC04F9 Merci de corriger mon français. |
From: Simon G. <sim...@te...> - 2005-10-09 20:12:07
|
Hi, Is anyone planning to package a Windows binary of wxHaskell for GHC 6.4.1? cheers, Simon |
From: Arjan v. I. <af...@cs...> - 2005-10-09 11:45:45
|
Hello Malcolm, > Does anyone know anything about Graphics.UI.WXCore.Draw.getTextExtent? > It does not work as I expected from the documentation. I don't think it can handle multiple lines, you will have to multiply the line height with the number of lines yourself. The '\n' symbols in a string are probably simply seen as funny characters. This is quite common in GUI libraries (unfortunately). > Maybe related to this, drawText only draws the first line of the > string as well. Yes, you will have to draw each line separately and compute the changing y coordinate yourself. But, of course, with Haskell you will be able to build a nice abstraction... :-) > And another question: how do I change the colour of drawn text? > Adding options like > [ penColor := ... ] > [ brushColor := ... ] > doesn't seem to have any effect. textColor :: Attr w Color textBgcolor :: Attr w Color Regards, Arjan |
From: Samuel B. <na...@gm...> - 2005-10-07 22:41:26
|
Should save a lot of head-scratching... --- Controls.hs.~1.31.~=092005-02-25 06:14:58.000000000 -0500 +++ Controls.hs=092005-10-07 18:34:40.000000000 -0400 @@ -792,6 +792,9 @@ -- | Create a spin control: a text field with up\/down buttons. The value ('selection') -- is always between a specified minimum and maximum. -- +-- To specify its initial value, use a 'text' property (such as @text :=3D show n@) rather than +-- a 'selection' property (such as @selection :=3D n@). +-- -- * Instances: 'Selection', 'Selecting' -- 'Textual', 'Literate', 'Dimensions', 'Colored', 'Visible', 'Child', -- 'Able', 'Tipped', 'Identity', 'Styled', 'Reactive', 'Paint'= . -- |
From: Malcolm W. <Mal...@cs...> - 2005-10-07 15:18:10
|
Hi people, Does anyone know anything about Graphics.UI.WXCore.Draw.getTextExtent? It does not work as I expected from the documentation. If the string you pass in has multiple lines, then it seems to calculate the height as if there was only one line. The width is correct though. Maybe related to this, drawText only draws the first line of the string as well. And another question: how do I change the colour of drawn text? Adding options like [ penColor := ... ] [ brushColor := ... ] doesn't seem to have any effect. This is all using GHC-6.2.2 on a Mac, with wxHaskell-0.9, and (I presume) wxMac. Regards, Malcolm |
From: Falk B. <bu...@tc...> - 2005-10-06 15:37:26
|
Turns out there was no problem after all, just a stupid mistake of mine. The wxHaskell samples work fine now. Falk |
From: Falk B. <bu...@tc...> - 2005-10-05 13:24:54
|
I just tried to open a ghc-compiled and macosx-app-converted sample progr= am by actually double-clicking on the icon (instead of using the "open" command= ) and all I get is a blank window. So, the problem seems to be somewhere else. I appreciate any suggestions. Falk |
From: Falk B. <bu...@tc...> - 2005-10-05 10:19:31
|
Quoting Wolfgang Thaller <wol...@gm...>: > > Hi, > > > > I have read two previous postings of Wolfgang Thaller regarding an > > EnableGUI.hs > > module for Mac OS X. > > I am using GHC 6.0.1 and wxHaskell 0.9.4 and have downloaded the > > current > > available EnableGUI.hs module from the wxhaskell page, but when I > > try to run > > one of the wxhaskell sample programs I only get an empty window, no > > buttons > > etc. (wxWidget 2.6.2 is installed and the samples I've tried work > > fine). > > I assume this problem is due to I am using Mac OS X 10.2.8. > > Is there still an older version of EnableGUI.hs available which > > runs on my > > system? Wolfgang mentioned one which uses some undocumented > > functions which > > would be fine for me as I need it only to run on my machine. > > > > The version at http://wxhaskell.sourceforge.net/download/EnableGUI.hs > is still the one that uses the undocumented functions. Using > undocumented functions is not that dangerous for the newer systems, > as EnableGUI is only ever needed to run things from GHCi. > Do the wxhaskell sample programs work when you compile them & make > them double-clickable, without relying on EnableGUI? > > Cheers, > > Wolfgang > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: > Power Architecture Resource Center: Free content, downloads, discussion= s, > and more. http://solutions.newsforge.com/ibmarch.tmpl > _______________________________________________ > wxhaskell-users mailing list > wxh...@li... > https://lists.sourceforge.net/lists/listinfo/wxhaskell-users > Thanks for your reply, but no, when I compile them with ghc and apply macosx-app which comes with th= e binary distr. of wxhaskell v0.4 I get the same result - just a blank wind= ow. When I use macosx-app built from the source of wxhaskell v0.9.4 the sampl= e program seems to need the Mac Classic environment, which I have not insta= lled at the moment. But I just learned that it is possible to install a classi= c folder on an existing OS X. I think I will give it a try except you still= have a better idea. |
From: Wolfgang T. <wol...@gm...> - 2005-10-04 15:13:32
|
> Hi, > > I have read two previous postings of Wolfgang Thaller regarding an > EnableGUI.hs > module for Mac OS X. > I am using GHC 6.0.1 and wxHaskell 0.9.4 and have downloaded the > current > available EnableGUI.hs module from the wxhaskell page, but when I > try to run > one of the wxhaskell sample programs I only get an empty window, no > buttons > etc. (wxWidget 2.6.2 is installed and the samples I've tried work > fine). > I assume this problem is due to I am using Mac OS X 10.2.8. > Is there still an older version of EnableGUI.hs available which > runs on my > system? Wolfgang mentioned one which uses some undocumented > functions which > would be fine for me as I need it only to run on my machine. > The version at http://wxhaskell.sourceforge.net/download/EnableGUI.hs is still the one that uses the undocumented functions. Using undocumented functions is not that dangerous for the newer systems, as EnableGUI is only ever needed to run things from GHCi. Do the wxhaskell sample programs work when you compile them & make them double-clickable, without relying on EnableGUI? Cheers, Wolfgang |
From: Falk B. <bu...@tc...> - 2005-10-04 13:24:06
|
Hi, I have read two previous postings of Wolfgang Thaller regarding an Enable= GUI.hs module for Mac OS X. I am using GHC 6.0.1 and wxHaskell 0.9.4 and have downloaded the current available EnableGUI.hs module from the wxhaskell page, but when I try to = run one of the wxhaskell sample programs I only get an empty window, no butto= ns etc. (wxWidget 2.6.2 is installed and the samples I've tried work fine). I assume this problem is due to I am using Mac OS X 10.2.8. Is there still an older version of EnableGUI.hs available which runs on m= y system? Wolfgang mentioned one which uses some undocumented functions whi= ch would be fine for me as I need it only to run on my machine. Thanks Falk |
From: Eric Y. K. <Eri...@lo...> - 2005-10-04 11:31:04
|
Hi, On Sun, Sep 25, 2005 at 03:51:50 +0900, shelarcy wrote: > I tested to build wxfuit's paddle sample on Mac OS X Tiger with GHC-6.4.1. > paddle sample doesn't works well, it notices error messegage and > display wrong picture - background color is black and objects are > rendered only frame -, slide bar's top and bottom are reversed. I have taken a look at wxFruit with wxhaskell. Without the Unicode patch, I get mostly the same symptoms: http://www.loria.fr/~kow/tmp/paddle-macos-notunicode.png The only thing is that I don't get the dynamic events warning, but=20 this is because I used wxWidgets 2.6.1. In either case, it seems the problem is not related to Unicode stuff, but to something else in wxWidgets. P.S: In case it gets released, please disregard my call for testing wxFruit --=20 Eric Kow http://www.loria.fr/~kow PGP Key ID: 08AC04F9 Merci de corriger mon fran=E7ais. |
From: Eric Y. K. <Eri...@lo...> - 2005-10-03 16:01:25
|
Hi list, We need some help testing something out. I would like to know what the following sample application looks like under Linux and Mac OS X without my unicode patch. Could some Mac or Linux users please compile the following sample app and send us a screenshot along with any error messages? I would like to see if the errors are from my Unicode patch or something unrelated. Below are the steps to take and the symptoms we get so you can compare notes. Many thanks! Steps to take ------------- Requirements: GHC 6.4 (else let us know) wxWidgets 2.5 or 2.6.1 (let us know what version) wxhaskell 0.9.4 (vanilla, no unicode patch) Get: Yampa Core: http://www.haskell.org/yampa/afrp-0.4-src.tgz WxFruit: http://zoo.cs.yale.edu/classes/cs490/03-04b/bartholomew.robinson/wxfruit-0.1.tar.gz afrp patch (attached) wxfruit patch (attached) Install AFRP: tar xzf afrp-0.4-src.tgz cd afrp-0.4 patch -p1 < ../afrp-complete.diff runhaskell Setup.hs configure runhaskell Setup.hs build sudo runhaskell Setup.hs install sudo ranlib /usr/local/lib/afrp-0.4/libHSafrp-0.4.a cd .. Compile wxFruit: tar xzf wxfruit-0.1.tgz cd wxfruit-0.1 patch -p1 < ../wxfruit.diff ghc --make -package afrp -farrows paddle.hs # if on mac macosx-app a.out Run it: ./a.out Report errors and send a screen capture Notes: (these are the same patches as shelarcy's) Symptoms Mac (paddle-osx.png attached) ------------ On MacOS X 10.4, I get wxWidgets Debug Alert ../src/common/event.cpp(1327): assert "wxAssertFailure" failed: caller should check that we have dynamic events Do you want to stop the program? You can also choose [Cancel] to suppress further warnings. And after selecting "No", i get the symptoms Shelarchy described (black backgrounds, outline only being displayed), but otherwise things worked. (ghc 6.4.1, wxWidgets 2.5.3 (system), wxhaskell-0.9.4 unicode) Symptoms Linux (paddle-linux.png attached) -------------- On Linux, things seem to work better, but the speed selector seems neither to display correctly, nor work. (ghc 6.4, wxWidgets 2.6.1, wxhaskell-0.9.4 unicode) -- Eric Kow http://www.loria.fr/~kow PGP Key ID: 08AC04F9 Merci de corriger mon français. |