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: Simon G. <si...@gu...> - 2005-07-21 13:18:58
|
Hi, I've used WxHaskell 0.8 successfully for a while now, both on Windows and Debian unstable. However, I'm now trying to use it on Debian sarge, and experiencing Gtk and Glib critical failures, and segfaults upon starting the program in GHCI. Specifically: $ ghci HelloWxWorld.hs ___ ___ _ / _ \ /\ /\/ __(_) / /_\// /_/ / / | | GHC Interactive, version 6.2.2, for Haskell 98. / /_\\/ __ / /___| | http://www.haskell.org/ghc/ \____/\/ /_/\____/|_| Type :? for help. Loading package base ... linking ... done. Loading package haskell98 ... linking ... done. Loading package lang ... linking ... done. Loading package concurrent ... linking ... done. Loading package QuickCheck ... linking ... done. Loading package readline ... linking ... done. Loading package unix ... linking ... done. Loading package posix ... linking ... done. Loading package util ... linking ... done. Loading package data ... linking ... done. Loading package wxcore ... linking ... done. Loading package wx ... linking ... done. Compiling Main ( HelloWxWorld.hs, interpreted ) Ok, modules loaded: Main. *Main> hello GLib-CRITICAL **: file ghash.c: line 138 (g_hash_table_lookup): assertion `hash_table != NULL' failed. Gtk-WARNING **: gtk_type_create(): unknown parent type `21'. GLib-CRITICAL **: file ghash.c: line 138 (g_hash_table_lookup): assertion `hash_table != NULL' failed. GLib-CRITICAL **: file ghash.c: line 152 (g_hash_table_insert): assertion `hash_table != NULL' failed. GLib-CRITICAL **: file ghash.c: line 138 (g_hash_table_lookup): assertion `hash_table != NULL' failed. GLib-CRITICAL **: file ghash.c: line 152 (g_hash_table_insert): assertion `hash_table != NULL' failed. GLib-CRITICAL **: file ghash.c: line 138 (g_hash_table_lookup): assertion `hash_table != NULL' failed. GLib-CRITICAL **: file ghash.c: line 152 (g_hash_table_insert): assertion `hash_table != NULL' failed. GLib-CRITICAL **: file ghash.c: line 138 (g_hash_table_lookup): assertion `hash_table != NULL' failed. Gtk-WARNING **: gtk_type_create(): unknown parent type `21'. Gtk-CRITICAL **: file gtktypeutils.c: line 337 (gtk_type_class): assertion `node != NULL' failed. Gtk-WARNING **: gtk_arg_type_new(): argument class in "GtkContainer::border_width" is not in the `(null)' ancestry Gtk-CRITICAL **: file gtkobject.c: line 939 (gtk_object_add_arg_type): assertion `arg_type > GTK_TYPE_NONE' failed. GLib-CRITICAL **: file ghash.c: line 138 (g_hash_table_lookup): assertion `hash_table != NULL' failed. Gtk-WARNING **: gtk_type_create(): unknown parent type `21'. Gtk-CRITICAL **: file gtkobject.c: line 939 (gtk_object_add_arg_type): assertion `arg_type > GTK_TYPE_NONE' failed. Gtk-WARNING **: gtk_arg_type_new(): argument class in "GtkContainer::reallocate_redraws" is not in the `(null)' ancestry GLib-CRITICAL **: file ghash.c: line 138 (g_hash_table_lookup): assertion `hash_table != NULL' failed. Gtk-WARNING **: gtk_type_create(): unknown parent type `21'. Gtk-CRITICAL **: file gtksignal.c: line 433 (gtk_signal_lookup): assertion `gtk_type_is_a (object_type, GTK_TYPE_OBJECT)' failed. GLib-CRITICAL **: file ghash.c: line 138 (g_hash_table_lookup): assertion `hash_table != NULL' failed. Gtk-WARNING **: gtk_type_create(): unknown parent type `21'. Gtk-CRITICAL **: file gtksignal.c: line 433 (gtk_signal_lookup): assertion `gtk_type_is_a (object_type, GTK_TYPE_OBJECT)' failed. Gtk-CRITICAL **: file gtksignal.c: line 433 (gtk_signal_lookup): assertion `gtk_type_is_a (object_type, GTK_TYPE_OBJECT)' failed. Gtk-CRITICAL **: file gtksignal.c: line 433 (gtk_signal_lookup): assertion `gtk_type_is_a (object_type, GTK_TYPE_OBJECT)' failed. GLib-CRITICAL **: file ghash.c: line 138 (g_hash_table_lookup): assertion `hash_table != NULL' failed. Gtk-WARNING **: gtk_type_create(): unknown parent type `21'. Gtk-CRITICAL **: file gtksignal.c: line 433 (gtk_signal_lookup): assertion `gtk_type_is_a (object_type, GTK_TYPE_OBJECT)' failed. Gtk-CRITICAL **: file gtkobject.c: line 357 (gtk_object_class_add_signals): assertion `GTK_IS_OBJECT_CLASS (class)' failed. Gtk-WARNING **: gtk_arg_type_new(): argument class in "GtkButton::label" is not in the `(null)' ancestry Gtk-CRITICAL **: file gtkobject.c: line 939 (gtk_object_add_arg_type): assertion `arg_type > GTK_TYPE_NONE' failed. Gtk-CRITICAL **: file gtksignal.c: line 433 (gtk_signal_lookup): assertion `gtk_type_is_a (object_type, GTK_TYPE_OBJECT)' failed. Gtk-CRITICAL **: file gtksignal.c: line 433 (gtk_signal_lookup): assertion `gtk_type_is_a (object_type, GTK_TYPE_OBJECT)' failed. Gtk-CRITICAL **: file gtksignal.c: line 433 (gtk_signal_lookup): assertion `gtk_type_is_a (object_type, GTK_TYPE_OBJECT)' failed. Gtk-CRITICAL **: file gtksignal.c: line 433 (gtk_signal_lookup): assertion `gtk_type_is_a (object_type, GTK_TYPE_OBJECT)' failed. Gtk-CRITICAL **: file gtksignal.c: line 433 (gtk_signal_lookup): assertion `gtk_type_is_a (object_type, GTK_TYPE_OBJECT)' failed. Gtk-CRITICAL **: file gtkobject.c: line 357 (gtk_object_class_add_signals): assertion `GTK_IS_OBJECT_CLASS (class)' failed. Gtk-WARNING **: invalid cast from `GtkBin' to `(unknown)' Gtk-WARNING **: invalid cast from `GtkButton' to `(unknown)' Gtk-WARNING **: invalid cast from `GtkButton' to `(unknown)' Gtk-WARNING **: invalid cast from `GtkButton' to `(unknown)' Gtk-CRITICAL **: file gtkobject.c: line 1070 (gtk_object_get_data_by_id): assertion `GTK_IS_OBJECT (object)' failed. Segmentation fault $ This is running on the machine on which I built wxHaskell from source. I'm experiencing the same symptoms with both wxHaskell 0.8 and 0.9.4. Any suggestions? Is anyone successfully using wxHaskell on Debian sarge now? I don't have many other wxWidgets programs, but I can successfully run some wxPython scripts on the same machine. cheers, Simon PS: In case anyone thinks it matters, here's my Haskell code: {- demonstrates the use of a simple menu, statusbar, and dialog -} module Main where import Graphics.UI.WX main :: IO () main = start hello hello :: IO () hello = do -- the application frame f <- frame [text := "Hello world!", clientSize := sz 300 200] -- create file menu file <- menuPane [text := "&File"] quit <- menuQuit file [help := "Quit the demo", on command := close f] -- create Help menu hlp <- menuHelp [] about <- menuAbout hlp [help := "About wxHaskell"] -- create statusbar field status <- statusField [text := "Welcome to wxHaskell"] -- set the statusbar and menubar set f [ statusBar := [status] , menuBar := [file,hlp] -- as an example, put the menu event handler for an about box on the frame. ,on (menu about) := infoDialog f "About wxHaskell" "This is a wxHaskell demo" ] |
From: Daan L. <t-...@mi...> - 2005-07-20 18:48:19
|
Hi Surendra, > Hello, > We(wxCL project) are trying to use wxC to write Common lisp ffi > bindings for > wxWidgets. We are just starting and I have few basic questions about wxC. Very nice idea. I think the start will be a bit hard but it is worth it -- once it works you'll get a lot of leverage out of wxWidgets. > If I want to use wxC API's to create GUI frames, and stuff, if I > understand correctly > than first I need to initialize everything by calling > ELJApp_initialize function. But this function calls wxEntry, and because > in the call > to wxEntry the fifth argument is not present, and so wxWidget goes into an > event > handling loop, and the function call never returns. The lisp > implementation which I > am using is single threaded, so how do I avoid this problem, or should I > call some > other function. First, make sure you have the right wxc tree: the one underneath "/wxhaskell/wxc" (not "/wxc"). The function to call is "ELJAPP_initializeC" (not "ELJAPP_initialize"). This function expects a "wxClosure" as an argument. These "wxClosure"'s are the way to connect Common Lisp to the wx world. WxWidget events will call back on wxClosure's into the Lisp world. You create a closure using "wxClosureCreate( ClosureFun fun, void* data )" (see "wxc/src/wrapper.cpp"). A ClosureFun is=20 typedef void _cdecl (*ClosureFun)( void* _fun, void* _data, void* _evt ); (see "wxc/src/wrapper.h"). This means that the function you pass to wxClosure create gets called with the function pointer itself, the associated data pointer, and the wxEvent object. You can register for event handlers by calling "wxEvtHandlerConnect". When an object is destroyed, it calls on its listening wxClosures with a NULL event object. This also happens for the closure that you pass to "ELJAPP_initializeC" -- ie. you would call the initalize function with a closure this is only fired once with a NULL event -- and you use this to run the LISP initialization that will create windows etc. and install further event handlers on the frames. This means that you hand over control to wxWidgets -- only being in LISP land when an event is triggered. See also "wxcore/src/graphics/ui/wxcore/Events.hs" -- at the bottom there is all the Haskell magic to connect event handlers -- see also "appInit" there. >=20 > Also if I try to use the bitmap functions, then do I need to initialize > anything? > I tried opening png/gif files using bitmap functions (without initializin > anything), > but the function was returning me a 0 value(indicating failure). Do I need > to have > png/gif dlls for things to work, or was it failing because wxC was not > initialized. Most image files are opened directly, but some need registration. Normally this is called on ELJApp::OnInit (see "wxc/src/wrapper.cpp") which is called from "ELJAPP_initializeC". You could initialize manually though. > Note: I was linking to the dll distributed with window distribution of > wxHaskell. >=20 > I am new to haskell and would like to try wxHaskell, does it works on > Hugs, or is GHC > the only interpreter it supports? No, only works with GHC. (but technically it could run on Hugs too) =20 > It will be nice if the mailing list can be archived on Gmane, this will > make it much > easier to read and search old mail archives. I have no idea what Gmane is :-) Please inform me offline about how to do such thing. All the best, -- Daan Leijen. >=20 > Thanks for your time. > Sincerely, > -- > Surendra Singhi >=20 > http://www.public.asu.edu/~sksinghi/index.htm >=20 >=20 > __________________________________________________________________ > Switch to Netscape Internet Service. > As low as $9.95 a month -- Sign up today at > http://isp.netscape.com/register >=20 > Netscape. Just the Net You Need. >=20 > 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 >=20 >=20 > ------------------------------------------------------- > SF.Net email is sponsored by: Discover Easy Linux Migration Strategies > from IBM. Find simple to follow Roadmaps, straightforward articles, > informative Webcasts and more! Get everything you need to get up to > speed, fast. = http://ads.osdn.com/?ad_id=3D7477&alloc_id=3D16492&op=3Dclick > _______________________________________________ > wxhaskell-users mailing list > wxh...@li... > https://lists.sourceforge.net/lists/listinfo/wxhaskell-users |
From: <EFu...@ne...> - 2005-07-17 06:01:03
|
Hello, We(wxCL project) are trying to use wxC to write Common lisp ffi bindings for wxWidgets. We are just starting and I have few basic questions about wxC. If I want to use wxC API's to create GUI frames, and stuff, if I understand correctly than first I need to initialize everything by calling ELJApp_initialize function. But this function calls wxEntry, and because in the call to wxEntry the fifth argument is not present, and so wxWidget goes into an event handling loop, and the function call never returns. The lisp implementation which I am using is single threaded, so how do I avoid this problem, or should I call some other function. Also if I try to use the bitmap functions, then do I need to initialize anything? I tried opening png/gif files using bitmap functions (without initializin anything), but the function was returning me a 0 value(indicating failure). Do I need to have png/gif dlls for things to work, or was it failing because wxC was not initialized. Note: I was linking to the dll distributed with window distribution of wxHaskell. I am new to haskell and would like to try wxHaskell, does it works on Hugs, or is GHC the only interpreter it supports? It will be nice if the mailing list can be archived on Gmane, this will make it much easier to read and search old mail archives. Thanks for your time. Sincerely, -- Surendra Singhi http://www.public.asu.edu/~sksinghi/index.htm __________________________________________________________________ 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: Leopoldo F. <leo...@ya...> - 2005-06-06 23:35:39
|
hallo everyone! I´d like to know if it´s that wxhaskell web site presented my project made with the wxhaskell library. The software consists of a simple system of data store, useful to dvd shops, bookstores. Although it´s not finished yet( it´s missing print functions), It´s a pretty good program to be presented in your web site. Let me know the right email to send my .hs files ok? I've attached a screenshot to show you part of project right? best wishes.. leopoldo. --------------------------------- Yahoo! Mail: agora com 1GB de espaço grátis. Abra sua conta! |
From: Eric Y. K. <Eri...@lo...> - 2005-06-02 15:32:13
|
Hi list, I have stumbled on what might be a bug in wxwidgets 2.6 (perhaps 2.5 as well) or 0.9.4 running on OS X. Namely, any widgets placed inside a "boxed" layout do not react to the user. I attach a small demonstrator and a handy makefile. If there are any C++ hackers out there willing to make an equivalent demonstrator, it would be a useful way to find out whether wxhaskell is the real culprit or not. Notes: - Bug does not appear on WxWidgets 2.4 or on Linux - Don't know for Windows -- Eric Kow http://www.loria.fr/~kow PGP Key ID: 08AC04F9 Merci de corriger mon français. |
From: Scott J. <js...@sk...> - 2005-05-24 11:17:47
|
Hello, I send this message in case someone was trying to help I have located my problem : I had to add a list of packages in my .ghci = file like this: :set -fglasgow-exts -cpp -package wx -package wxcore=20 This has solved the problem.=20 Jan ----- Original Message -----=20 From: Scott J.=20 To: wxh...@li...=20 Sent: Monday, May 23, 2005 6:27 PM Subject: [wxhaskell-users] Can't find module `Graphics.UI.WX' Hello, when I try to run Ghci with BouncingBalls.hs I get the following: Loading package base ... linking ...done. C:/Documents and Settings/Jan/Desktop/BouncingBalls.hs: Can't find module `Graphics.UI.WX' (use ............for) Prelude> These are the data: I use Windows XP I use Ghci 6.2.2 I have folders : C:\wxhaskell-0.9 and C:\ghc\ghc-6.2.2 path variable: added c:\ghc\ghc-6.2.2\bin;C:\wxhaskell-0.9 During installation with the help of = C:\wxhaskell-0.9\bin\wxhaskell-register.bat apparantly no errors this = time I have a .ghci file with contents : :set -fglasgow-exts -cpp=20 at C:\Documents and Settings\Jan\Desktop\.ghci=20 Any help welcome. I am a 1 month Haskell user eager to use wxHaskell. Thanks Jan |
From: daniel v. d. e. <dv...@gm...> - 2005-05-23 17:29:43
|
Hi! I use WX 9.4 with GHC 6.2.2 on Win XP. A question: Does anybody know if it's possible to set the selection(s) of a ListCtrl? How? If not: Why? (I'd like to use it instead of a SingeListBox.) Thanks, Daniel -- Weitersagen: GMX DSL-Flatrates mit Tempo-Garantie! Ab 4,99 Euro/Monat: http://www.gmx.net/de/go/dsl |
From: Scott J. <js...@sk...> - 2005-05-23 16:27:54
|
Hello, when I try to run Ghci with BouncingBalls.hs I get the following: Loading package base ... linking ...done. C:/Documents and Settings/Jan/Desktop/BouncingBalls.hs: Can't find module `Graphics.UI.WX' (use ............for) Prelude> These are the data: I use Windows XP I use Ghci 6.2.2 I have folders : C:\wxhaskell-0.9 and C:\ghc\ghc-6.2.2 path variable: added c:\ghc\ghc-6.2.2\bin;C:\wxhaskell-0.9 During installation with the help of = C:\wxhaskell-0.9\bin\wxhaskell-register.bat apparantly no errors this = time I have a .ghci file with contents : :set -fglasgow-exts -cpp=20 at C:\Documents and Settings\Jan\Desktop\.ghci=20 Any help welcome. I am a 1 month Haskell user eager to use wxHaskell. Thanks Jan |
From: Arjan v. I. <af...@cs...> - 2005-05-21 11:07:08
|
Hi Patrick, > Setting the clientSize of a BitmapButton AFTER creation doesn't > work for me. I think clientSize is a creation time attribute which means that you are absolutely right. Arjan |
From: Scott J. <js...@sk...> - 2005-05-20 18:21:21
|
Hello, is there already a binary release for winows XP and GHC 6.4 because I cannot find wxhaskell-bin-msw2.4.2-ghc6.4-0.9.4-1.zip. at the usual place http://wxhaskell.sourceforge.net/. Otherwise I shall have to use GHC 6.2 Thanks Jan >> wxHaskell-0.9 require GHC-6.2.2. >> GHC package syntax is different before GHC 6.4. >> So wxHaskell-0.9's wxcore.pkg and wx.pkg can't use GHC-0.6.4 or later. >> >> If use GHC-6.4, you must use wxhaskell-bin-msw2.4.2-ghc6.4-0.9.4-1.zip. |
From: Scott J. <js...@sk...> - 2005-05-20 16:13:42
|
Many thanks, I hope this is the problem. Jan ----- Original Message ----- From: "shelarcy" <she...@ca...> To: <wxh...@li...> Sent: Friday, May 20, 2005 5:15 PM Subject: Re: [wxhaskell-users] Installing on Windows XP, needing help > wxHaskell-0.9 require GHC-6.2.2. > GHC package syntax is different before GHC 6.4. > So wxHaskell-0.9's wxcore.pkg and wx.pkg can't use GHC-0.6.4 or later. > > If use GHC-6.4, you must use wxhaskell-bin-msw2.4.2-ghc6.4-0.9.4-1.zip. > > And don't use wrong version of GHC, .hi can use only compiled version! > http://sourceforge.net/mailarchive/message.php?msg_id=11688098 > > > On Fri, 20 May 2005 23:07:04 +0900, Scott J. <js...@sk...> wrote: >> running wxhaskell-register.bat gives me the following messages in the >> Commamd window ( I use windows XP) . >> >> - register packages >> Reading package info from "C:\\wxhaskell-0.9\\bin\\wxcore.pkg" ghc-pkg: >> Line 1: Invalid syntax (no colon) after field name) >> Reading package info from "C:\\wxhaskell-0.9\\bin\\wx.pkg" ghc-pkg: Line >> 1: Invalid syntax (no colon) after field name) >> >> -copy wxc-msw2.4.2-0.9.dll to the ..... >> >> 1 file(s) copied. >> -done! >> Press any key to contimue . . . > > -- > shelarcy <shelarcy capella.freemail.ne.jp> > http://page.freett.com/shelarcy/ > > > ------------------------------------------------------- > This SF.Net email is sponsored by Oracle Space Sweepstakes > Want to be the first software developer in space? > Enter now for the Oracle Space Sweepstakes! > http://ads.osdn.com/?ad_id=7412&alloc_id=16344&op=click > _______________________________________________ > wxhaskell-users mailing list > wxh...@li... > https://lists.sourceforge.net/lists/listinfo/wxhaskell-users > > |
From: shelarcy <she...@ca...> - 2005-05-20 15:14:33
|
wxHaskell-0.9 require GHC-6.2.2. GHC package syntax is different before GHC 6.4. So wxHaskell-0.9's wxcore.pkg and wx.pkg can't use GHC-0.6.4 or later. If use GHC-6.4, you must use wxhaskell-bin-msw2.4.2-ghc6.4-0.9.4-1.zip. And don't use wrong version of GHC, .hi can use only compiled version! http://sourceforge.net/mailarchive/message.php?msg_id=11688098 On Fri, 20 May 2005 23:07:04 +0900, Scott J. <js...@sk...> wrote: > running wxhaskell-register.bat gives me the following messages in the > Commamd window ( I use windows XP) . > > - register packages > Reading package info from "C:\\wxhaskell-0.9\\bin\\wxcore.pkg" ghc-pkg: > Line 1: Invalid syntax (no colon) after field name) > Reading package info from "C:\\wxhaskell-0.9\\bin\\wx.pkg" ghc-pkg: Line > 1: Invalid syntax (no colon) after field name) > > -copy wxc-msw2.4.2-0.9.dll to the ..... > > 1 file(s) copied. > -done! > Press any key to contimue . . . -- shelarcy <shelarcy capella.freemail.ne.jp> http://page.freett.com/shelarcy/ |
From: Scott J. <js...@sk...> - 2005-05-20 14:07:23
|
Hello, running wxhaskell-register.bat gives me the following messages in the = Commamd window ( I use windows XP) . - register packages Reading package info from "C:\\wxhaskell-0.9\\bin\\wxcore.pkg" ghc-pkg: = Line 1: Invalid syntax (no colon) after field name) Reading package info from "C:\\wxhaskell-0.9\\bin\\wx.pkg" ghc-pkg: Line = 1: Invalid syntax (no colon) after field name) -copy wxc-msw2.4.2-0.9.dll to the ..... 1 file(s) copied. -done! Press any key to contimue . . . Any help is welcome Jan |
From: <hai...@ya...> - 2005-05-19 16:35:22
|
Hi Shelarcy I think Daan and me are still working on this problem. Thank you for offering help. I'll let you know the recent status of WxSOEGraphics. Thank you, Haitao Quoting shelarcy <she...@ca...>: > Haitao, thank you for tell me project status. > > I saw Region problem exist by this message. > http://sourceforge.net/mailarchive/forum.php?thread_id=6933221&forum_id=34197 > > After then Daan wrote below, so I thought Region problem is fixed, > or Daan try to fix Region problem two week. > > >> http://sourceforge.net/mailarchive/message.php?msg_id=11649420 > > Can I help your project? > > On Thu, 19 May 2005 01:49:42 +0900, <hai...@ya...> wrote: > > This project is called "WxSOEGraphics" at Yale. We have almost > done. One > > issue left is Region. The support for Region on the wxHaskell layer > is > > not good enough now so we have to use a simulation to fulfill the > > functionality of regions in SOE. This simulation cannot do > "orRegion", > > "xorRegion", "andRegion"... > > > > -- > shelarcy <shelarcy capella.freemail.ne.jp> > http://page.freett.com/shelarcy/ > |
From: shelarcy <she...@ca...> - 2005-05-19 15:48:16
|
Haitao, thank you for tell me project status. I saw Region problem exist by this message. http://sourceforge.net/mailarchive/forum.php?thread_id=6933221&forum_id=34197 After then Daan wrote below, so I thought Region problem is fixed, or Daan try to fix Region problem two week. >> http://sourceforge.net/mailarchive/message.php?msg_id=11649420 Can I help your project? On Thu, 19 May 2005 01:49:42 +0900, <hai...@ya...> wrote: > This project is called "WxSOEGraphics" at Yale. We have almost done. One > issue left is Region. The support for Region on the wxHaskell layer is > not good enough now so we have to use a simulation to fulfill the > functionality of regions in SOE. This simulation cannot do "orRegion", > "xorRegion", "andRegion"... -- shelarcy <shelarcy capella.freemail.ne.jp> http://page.freett.com/shelarcy/ |
From: Patrick S. <mai...@st...> - 2005-05-19 09:16:53
|
Hi, Setting the clientSize of a BitmapButton AFTER creation doesn't work for = me. Maybe my layout is the problem, but I don't know what I did wrong. I = have just a simple control panel with the 16 buttons and a statustext. = The buttons are in a list and the layout is set by: WX.set p [ layout :=3D column 5 [ hstretch $ widget statusText , column 4=20 [ row 4 (map widget (take 4 buttons)) , row 4 (map widget (take 4 (drop 4 buttons))) , row 4 (map widget (take 4 (drop 8 buttons))) , row 4 (map widget (take 4 (drop 12 buttons))) ] ] , enabled :=3D panelStatus gSt ais ] Everything else works good. For example to set the visibility of a = button to false after clicking it. Who knows.. Cheers Patrick ----- Original Message -----=20 From: Patrick Scheibe=20 To: wxh...@li...=20 Sent: Saturday, May 14, 2005 9:10 PM Subject: bitmapButton with windows.. Hi, First of all I want to thank all people who worked on the binary = windows release of wxHaskell. Now I can compile my programms without having trouble because I don't = have to compile wxHaskell by myself. Thank you for not forgetting the OpenGl thing :))) Now one question. When I create a bitmapButton, then the button is = resized to the size of the image. On my windows xp box this isn't the = case. The buttons keep their small size and the image borders are cut = away. I tried to convert my png files for the buttons to bmp format and = played with all kind of clientSize, outerSize.. without success. The gtk on linux don't have such problems. Is there a = way to fix it or is there a restriction of the size of images on buttons = on windows? I definitely need some button thing displaying a 60x60 image and react = on clicks... The creation of the buttons is just simple code: bitmapButton p=20 [ picture :=3D ("./Pictures/stone" ++ (show i)++ ".BMP") , on click :=3D (\_ ->(buttSelectStone (id2Stone i) varGP) >>=20 updatePlayerPanel varGP statusText p >>=20 repaint p) , clientSize :=3D sz 90 90] Cheers Patrick |
From: Daan L. <da...@cs...> - 2005-05-19 07:49:39
|
Conal Elliott wrote: > Thanks, Daan. After digging into the CustomControl example, I found > "refresh", which does allow me to see the panel bgcolor change. I had > been using "repaint". What's the difference, and is refresh always the > better choice? Well, it is complicated: refresh w = windowRefresh w True repaint w = windowRefresh w False The second parameter to windowRefresh tells whether the background should be erased (according to the wxWidgets documentation). In general, repaint is better or otherwise you get "flicker" on most platforms. In your case, refresh is obviously the better choice :-) I'll try to document this somewhere. -- Daan. > > - Conal > > -----Original Message----- > From: Daan Leijen [mailto:da...@cs...] > Sent: Wednesday, May 18, 2005 1:15 PM > To: Conal Elliott > Cc: wxhaskell-users > Subject: Re: [wxhaskell-users] color/bgcolor or border attribute for > panels > > Hi Conal, > > Conal Elliott wrote: > >>I'm trying to selectively highlight panels and controls. I've tried >>setting the "color" and the "bgcolor" attributes, with no visible > > effect > > .. This should definitely work with panels. Maybe try to set them > 'later': > > > do p <- panel [..] > > set p [bgcolor := blue] > > or 'earlier': > > > do p <- panel [bgcolor := red] > > > Also look at the "samples/wx/customcontrol.hs" sample. > > > >>on panels. I'm using a row & column layouts with enough spacing to >>mouse into the space between controls, and I do get enter events > > there. > > The "enter" and "leave" events seem to be broken on windows. They kind > of work, but they are only fired after a while. The documentation of > wxWidgets > seems to imply that the windows API itself doesn't allow for precise > enter/leave events. > > >> I've also tried using the border attribute on panels and controls, > > also > >>without visible result. I'm running Windows XP. > > > Hmm, border should work too. Maybe it is an attribute that you can only > set on construction, ie. use: > > > do p <- panel f [border := BorderStatic] > > > I hope this helps, > -- Daan > > > >> >> >>Should color, bgcolor, or border work for panels? >> >> >> >>Is there another way to dynamically highlight a control or panel? >> >> >> >>Thanks! >> >> >> >>- Conal >> > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by Oracle Space Sweepstakes > Want to be the first software developer in space? > Enter now for the Oracle Space Sweepstakes! > http://ads.osdn.com/?ad_id=7412&alloc_id=16344&op=click > _______________________________________________ > wxhaskell-users mailing list > wxh...@li... > https://lists.sourceforge.net/lists/listinfo/wxhaskell-users |
From: Daan L. <da...@cs...> - 2005-05-19 07:39:45
|
Hi Howard, Howard B. Golden wrote: > Hi, > > I am trying to compile wxhaskell-0.9.4 using the Gentoo ebuild. I have already reported the problem below to Gentoo, but I believe that the issue may be answered here instead, since it may be related to wxhaskell and wxwidgets, not just Gentoo. Yes, it is a bug. Thanks for your detailed analysis. I will try to fix it by adding some dummy members. Thanks -- Daan Leijen. > > PROBLEM: > > Compile errors ("no member named...") in wxc/src/db.cpp: > > RELEVANT OUTPUT: > > i686-pc-linux-gnu-g++ -c wxc/src/db.cpp -o out/wxc/db.o -MD -march=athlon-xp -O2 -pipe -fstack-protector -fPIC -I/usr/lib/wx/include/gtk2-ansi-release-2.6 -I/usr/include/wx-2.6 -DGTK_NO_CHECK_CASTS -D__WXGTK__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D_LARGEFILE_SOURCE=1 -DNO_GCC_PRAGMA -Iwxc/include > wxc/src/db.cpp: In function `int wxDbColInf_GetColumnSize(wxDbColInf*)': > wxc/src/db.cpp:1035: error: 'class wxDbColInf' has no member named 'columnSize' > wxc/src/db.cpp: In function `int wxDbColInf_GetBufferLength(wxDbColInf*)': > wxc/src/db.cpp:1044: error: 'class wxDbColInf' has no member named 'bufferLength' > wxc/src/db.cpp: In function `wxDbColInf* wxDb_GetResultColumns(wxDb*, int*)': > wxc/src/db.cpp:1158: error: 'class wxDbColInf' has no member named 'columnSize' > make: *** [out/wxc/db.o] Error 1 > > ------------------------------------ > My hypothesis of the problem: > > 1. The code is looking for the #define of wxUSE_ODBC (at line 3 of wxc/src/db.cpp). > > 2. While I believe this (wxUSE_ODBC) should be defined, I'm hypothesizing that it isn't set anywhere (e.g., in a configuration file or an earlier include). > > 3. If wxUSE_ODBC isn't defined, then wx/db.h will NOT be included. Instead stub definitions of wxDb, wxDbColInf, wxDbInf, and wxDbTableInf will be used. > > 4. Since these stub definitions don't have and members, any attempt to reference members of these classes will fail. > > 5. It appears to me that this is what is happening in the error messages shown above. > > 6. I don't know where the definition of wxUSE_ODBC _should_be_ coming from, if my hypotheses are correct, so I don't have a solution at present. > > Here is my specific Haskell and wxwidgets setup: > > * Using /usr/lib/wx/config/gtk2-ansi-release-2.6 > checking system: > wx-config found > ghc found > ghc-pkg found > haddock found > install program found > > configuration: > library: wxhaskell-0.9.4 (release 0) > compiler: ghc-6.4 > wxwidgets: gtk-2.6.0 > with openGL: yes > library dir: /var/tmp/portage/wxhaskell-0.9.4/image///usr/lib/ghc-6.4 > > I would appreciate any suggestions you can offer. Thanks in advance. > > Howard B. Golden > Northridge, California, USA > > > ------------------------------------------------------- > This SF.Net email is sponsored by Oracle Space Sweepstakes > Want to be the first software developer in space? > Enter now for the Oracle Space Sweepstakes! > http://ads.osdn.com/?ad_id=7412&alloc_id=16344&op=click > _______________________________________________ > wxhaskell-users mailing list > wxh...@li... > https://lists.sourceforge.net/lists/listinfo/wxhaskell-users |
From: Daan L. <da...@cs...> - 2005-05-19 07:39:17
|
Hi Martin, > wxHello, > > today I built wxHaskell from source and want to share my experience, > so that the build process can (hopefully) be fixed. Thanks for trying wxHaskell on Gentoo. > * The first problem is that the permissions on the package.conf file > (located at /usr/lib/ghc-6.2.2 in my setup) are set incorrectly. > I don't know whether that is a GHC or wxHaskell problem, but it > leads to problems when building an example after installing, because > the package.conf file is not world-readable. The configure script of wxHaskell can take a "--package-conf=<file>" flag where you can point to a local package configuration file. Read the docs for "ghc-pkg" on how to create this. > * Second, but unfortunately not reproducible, I sometimes got linking > errors about not finding symbols from the Parsec library. This is > possibly related, because maybe the package.conf file is in a broken > state while GHC searches for the Parsec binaries. Since I recompiled > wxHaskell a dozen times, with manual chmod and/or removal of the > package.conf file, I have not been able to reproduce the setup for > which this problem occurs. Maybe someone else has had a similar > experience? Never heard about this -- maybe it is related to the package conf file. > * It is not as easy as implied by the building instructions to install > wxHaskell to another directory, because then the runtime loader will > not find the libraries. You either have to install in some standard > place (/usr, /usr/local, if that's in your ld.so.conf) or to modify > /etc/ld.so.conf -- not a nice alternative. I know that this is a general > problem, but maybe it could be mentioned on the installation page. yeah, I will add a section about this. Actually, you can use the "--shared-prefix" flag to configure to give a fixed path location such that the runtime loader will find it. The only reason really to have a dynamic library is to make the interaction between C and C++ possible -- for all purposes it should be statically linked. That is why I give it such a specific version name such that one can always use different installations of wxHaskell next to each other. > > Now I'm glad that I got it running, and I want to than the developer(s) > for the effort put into wxHaskell. Keep up the good work and thank you. Thanks for you feedback, -- Daan. > > Best wishes, > Martin > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.2.5 (GNU/Linux) > Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org > > iD8DBQFCifzAN+bWg9uANMIRAmFKAJ0e5RfVlbTVnzL5cHJLmyWFiDxFGQCfYiyc > rRId8HEHts82oxxSZU1uUpw= > =O0sV > -----END PGP SIGNATURE----- > > > ------------------------------------------------------- > This SF.Net email is sponsored by Oracle Space Sweepstakes > Want to be the first software developer in space? > Enter now for the Oracle Space Sweepstakes! > http://ads.osdn.com/?ad_id=7412&alloc_id=16344&op=click > _______________________________________________ > wxhaskell-users mailing list > wxh...@li... > https://lists.sourceforge.net/lists/listinfo/wxhaskell-users |
From: Daan L. <da...@cs...> - 2005-05-19 07:38:33
|
Conal Elliott wrote: > When I make an MDI child frame, there is no frame around it containing= title bar=20 with the usual buttons for minimize, restore/maximize, and close. I=92ve= set the=20 resizeable, closeable, minimizeable, and maximizeable to True. The child= window does=20 resize, but I can=92t move it etc. Dazzle uses MDI frames all the time, so it should work. Show me the code = ! ;-) Anyway, again I think it will be related to the "initial" attributes, ie. specify these properties directly when constructing the frame. -- Daan. > > > > Am I missing something? Have MDI frames been tested in wxHaskell? > > > > - Conal > |
From: Daan L. <da...@cs...> - 2005-05-19 07:37:48
|
Hi Conal, Conal Elliott wrote: > I=92m trying to selectively highlight panels and controls. I=92ve tri= ed setting the=20 =93color=94 and the =93bgcolor=94 attributes, with no visible effect .. This should definitely work with panels. Maybe try to set them 'later'= : > do p <- panel [..] > set p [bgcolor :=3D blue] or 'earlier': > do p <- panel [bgcolor :=3D red] Also look at the "samples/wx/customcontrol.hs" sample. > on panels. I=92m using a row & column layouts with enough spacing to = mouse into the=20 space between controls, and I do get enter events there. The "enter" and "leave" events seem to be broken on windows. They kind of work, but they are only fired after a while. The documentation of wxWi= dgets seems to imply that the windows API itself doesn't allow for precise enter/leave events. > I=92ve also tried using the border attribute on panels and controls, = also without=20 visible result. I=92m running Windows XP. Hmm, border should work too. Maybe it is an attribute that you can only set on construction, ie. use: > do p <- panel f [border :=3D BorderStatic] I hope this helps, -- Daan > > > > Should color, bgcolor, or border work for panels? > > > Is there another way to dynamically highlight a control or panel? > > > > Thanks! > > > > - Conal > |
From: Daan L. <da...@cs...> - 2005-05-19 07:36:45
|
Hi Patrick, Patrick Scheibe wrote: > Hi, > > First of all I want to thank all people who worked on the binary windows release of wxHaskell. > Now I can compile my programms without having trouble because I don't have to compile wxHaskell by myself. > Thank you for not forgetting the OpenGl thing :))) > > Now one question. When I create a bitmapButton, then the button is resized to the size of the image. On my windows xp box this isn't the case. The buttons keep their small size and the image borders are cut away. > > I tried to convert my png files for the buttons to bmp format and played with all kind of clientSize, outerSize.. > without success. The gtk on linux don't have such problems. Is there a way to fix it or is there a restriction of the size of images on buttons on windows? > I definitely need some button thing displaying a 60x60 image and react on clicks... > > The creation of the buttons is just simple code: > > bitmapButton p > [ picture := ("./Pictures/stone" ++ (show i)++ ".BMP") > , on click := (\_ ->(buttSelectStone (id2Stone i) varGP) >> > updatePlayerPanel varGP statusText p >> > repaint p) > , clientSize := sz 90 90] Have you tried to set the size in a later call: > do b <- bitmapButton p [picture := ("./Pictures/stone" ++ (show i)++ ".BMP")] > set b [clientSize := sz 90 90] It might matter since "clientSize" is one of those "initial" attributes that are treated specially if given in the constructor. -- Daan. > > > Cheers > Patrick |
From: Conal E. <co...@co...> - 2005-05-18 22:09:09
|
Thanks, Daan. After digging into the CustomControl example, I found "refresh", which does allow me to see the panel bgcolor change. I had been using "repaint". What's the difference, and is refresh always the better choice? - Conal -----Original Message----- From: Daan Leijen [mailto:da...@cs...] Sent: Wednesday, May 18, 2005 1:15 PM To: Conal Elliott Cc: wxhaskell-users Subject: Re: [wxhaskell-users] color/bgcolor or border attribute for panels Hi Conal, Conal Elliott wrote: > I'm trying to selectively highlight panels and controls. I've tried > setting the "color" and the "bgcolor" attributes, with no visible effect .. This should definitely work with panels. Maybe try to set them 'later': > do p <- panel [..] > set p [bgcolor := blue] or 'earlier': > do p <- panel [bgcolor := red] Also look at the "samples/wx/customcontrol.hs" sample. > on panels. I'm using a row & column layouts with enough spacing to > mouse into the space between controls, and I do get enter events there. The "enter" and "leave" events seem to be broken on windows. They kind of work, but they are only fired after a while. The documentation of wxWidgets seems to imply that the windows API itself doesn't allow for precise enter/leave events. > I've also tried using the border attribute on panels and controls, also > without visible result. I'm running Windows XP. Hmm, border should work too. Maybe it is an attribute that you can only set on construction, ie. use: > do p <- panel f [border := BorderStatic] I hope this helps, -- Daan > > > > Should color, bgcolor, or border work for panels? > > > > Is there another way to dynamically highlight a control or panel? > > > > Thanks! > > > > - Conal > |
From: <hai...@ya...> - 2005-05-18 16:49:53
|
Hello, This project is called "WxSOEGraphics" at Yale. We have almost done. One issue left is Region. The support for Region on the wxHaskell layer is not good enough now so we have to use a simulation to fulfill the functionality of regions in SOE. This simulation cannot do "orRegion", "xorRegion", "andRegion"... Best regards, Haitao Quoting shelarcy <she...@ca...>: > Hello. > > I read this mail, you plan to add support to make > SOEgraphics work with wxHaskell. > http://sourceforge.net/mailarchive/message.php?msg_id=11649420 > > Now two week elapse, do you finish this work? > I want to use it in my project. > http://sourceforge.net/mailarchive/message.php?msg_id=11717453 > > If you think now it doesn't enough to release, I hope > you commit it on cvs. I want to use it before September. > > -- > shelarcy <shelarcy capella.freemail.ne.jp> > http://page.freett.com/shelarcy/ > > > ------------------------------------------------------- > This SF.Net email is sponsored by Oracle Space Sweepstakes > Want to be the first software developer in space? > Enter now for the Oracle Space Sweepstakes! > http://ads.osdn.com/?ad_id=7412&alloc_id=16344&op=click > _______________________________________________ > wxhaskell-users mailing list > wxh...@li... > https://lists.sourceforge.net/lists/listinfo/wxhaskell-users > |
From: shelarcy <she...@ca...> - 2005-05-18 15:48:47
|
Hello. I read this mail, you plan to add support to make SOEgraphics work with wxHaskell. http://sourceforge.net/mailarchive/message.php?msg_id=11649420 Now two week elapse, do you finish this work? I want to use it in my project. http://sourceforge.net/mailarchive/message.php?msg_id=11717453 If you think now it doesn't enough to release, I hope you commit it on cvs. I want to use it before September. -- shelarcy <shelarcy capella.freemail.ne.jp> http://page.freett.com/shelarcy/ |