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: shelarcy <she...@gm...> - 2006-06-01 18:56:56
|
Daar all, I am pleased to announce the preview release of kamiariduki, the system to judge your derivative work's purpose and license is valid with other works what is mainly under Creative Commons License. I don't know good phrase that explain this software directory and simply. I used DRM (Degital Rights Management) for people (or Creators) a few place. People missunderstood this system. Because DRM is usually used for closed system, not open system. sourcefourge site : https://sourceforge.net/projects/kamiariduki/ files: https://sourceforge.net/project/showfiles.php?group_id=168626 Creative Common web site: http://creativecommons.org/ This Application depend on many libraries. So if you want to know about that, you must read README file. library dependencied includes * patched version of wxHaskell (* if build with Mac OS X platform, you need to put those libraries for dependencies directory * SYB3 * Subversion trunk of AutoFroms: http://autoforms.sourceforge.net/ ) The current status of kamiariduki is very experimental. If you want to management derivative works lisence, this worls. But it lacks many fundamental functionalities and will have many bugs. Any comments are welcome. And I also release my patched version of wxHaskell above site. That includes: * http://sourceforge.net/mailarchive/forum.php?thread_id=6395572&forum_id=34197 * http://sourceforge.net/mailarchive/forum.php?thread_id=8202721&forum_id=34197 * http://sourceforge.net/mailarchive/forum.php?thread_id=6542156&forum_id=34197 * I think calendarEvent calls not defined function onList, so I replaced by onCal * and a few fix for wxWidgets 2.6.x * I'm not use this version usually, so I don't know this works fine as wxWindows 2.4.x. That doesn''t include * unicode support http://sourceforge.net/tracker/index.php?func=detail&aid=1369929&group_id=73133&atid=536847 * because this dropped a few functionalty now. * Haste's wxScintilla and wxSTC support http://haste.dyndns.org:8080/build_wxhaskell.php * because wxSTC is separeted from wxWidgets' build process, and doesn't have any USE_WX* macro. So change configure and make file are difficult work. * vertical toolbar http://sourceforge.net/mailarchive/forum.php?thread_id=7823794&forum_id=34197 * because this fixes half of problem. If just set wxTB_VERTICAL, toolbar menu added horizonal. * resource file link patch for Windows http://sourceforge.net/mailarchive/forum.php?thread_id=7953050&forum_id=34197 * because this problem isn't occure on wxWidgets 2.6.x. * Spin Cotrol Documentation patch http://sourceforge.net/mailarchive/forum.php?thread_id=8440712&forum_id=34197 * I don(t see that yet. I released this file on my place, because it seems that development of wxHaskell is stopped now. And I don't have wxHaskell project's account. Patch is included kamiariduki source's patch directory, If anyone interested in to contribute above problem or others and extend for my one, I appreciate that. Thanks, -- shelarcy <shelarcy capella.freemail.ne.jp> http://page.freett.com/shelarcy/ |
From: Jeremy O'D. <jer...@gm...> - 2006-05-30 13:00:40
|
Hi list, I need to display some simple, but rather large data sets (~30MB of raw binary data) - you could imagine a Hex editor capable of working with very large files as being similar to the problem I need to solve, and as having similar display requirements (e.g. ability to display same data using different word lengths etc.) First approach was to parse the data to format as strings and append to a text control. This is *far* too slow. I believe that the best approach is probable to create a 'virtual' grid class, so that only the displayed data needs to be formatted. Obviously, I'd ideally like to do this in a reusable way (so maybe a new contrib example/module could come out of this exercise). What I'd ideally like is confirmation that I'm proposing to go about things in the right way and/or suggestions of a better way to do it (BTW, I'm very confident in C/C++, somewhat less so in Haskell). This is what I think I need to end up with: - type VirtualGridTable as a subclass of GridTableBase - Accessor function implementations (Haskell wrappers for C functions): virtualGridTable_GetNumberRows :: Int virtualGridTable_GetNumberCols :: Int virtualGridTable_IsEmptyCell :: Int -> Int -> Bool virtualGridTable_GetValue :: Int -> Int -> String Each of these should call the relevant subclassed functions from the underlying C++ subclass. In an ideal scenario, I would prefer the wrapped C functions to call back to Haskell, as this would make the implementation reasonably generic. Obviously this implies additional functions to set the accessor functions. This is what I think I need to do: 1) Subclass wxGridTableBase. I think this needs to be done in C++. 2) Wrap the 'new' derived class with C functions wich manipulate its members 3) Wrap the C exports with suitable Haskell structures. It looks as though wxdirect can do most of 2) and 3) for me, provided that 1) is done in 'wxC' style. Is this correct? It's not clear to me how to create C declarations of functions expecting Haskell closures as parameters, at least in a form which will cause wxDirect to 'do the right thing' - guidance would help here. Regards Jeremy |
From: shelarcy <she...@ca...> - 2006-05-26 22:08:37
|
On Wed, 24 May 2006 04:02:27 +0900, Eric Y. Kow <eri...@gm...> wrot= e: > The following tarball contains a recent version of a wxhaskell > darwinport I made: > > http://eric.kow.free.fr/download/wxhaskell-dp-2006-05-23.tgz > > Using this, I was able to get wxhaskell working for my OS 10.4 (ghc > 6.4.1). Now, wxWidgets-2.6.3 released, and change wxMsc's library file names. So, I made patch for patch-wxhaskell-unicode-08 to use Windows platform. This patch includes; 1. Remove unnessally file that created by patch-wxhaskell-unicode-08. I think this file created by conflict before patch. 2. If using with haddock, make bindist failure on wxcore/src/Graphics/UI/WXCore/WxcTypes.hs. So I fixed it. --=20 shelarcy <shelarcy capella.freemail.ne.jp> http://page.freett.com/shelarcy/ |
From: Jean B. <jea...@sk...> - 2006-05-26 16:57:27
|
I don't have that type of problem: have you linked wxHaskell against =20 a static version of wxMac? Just in case, I recompiled my working version not using any specific =20 install directory and made a (binary) package of it. You can find it here: http://users.skynet.be/sky81615/=20 wxhaskell-0.9.4-2.6.2.pkg.zip Hope it helps, Jean Le 23-mai-06 =E0 11:33, Malcolm Wallace a =E9crit : > Jean Boucquey <jbo...@ac...> wrote: > >> - I've uploaded my wxHaskell build dir here: >> http://users.skynet.be/sky81615/wxhaskell-0.9.4-MacOSX.tar.bz2 >> Tell me if you can do something with this. > > Thanks for that. Unfortunately, I was unable to install from your > package, because the directory /Users/jean/opt was frozen in to the > configuration somehow, and I could not work out how to reset it. > >> =46rom what I remember in wxhaskell, I had to change a few C = functions >> in the wxc/src directory and the makefile. > > In the end, I followed the various instructions in your previous =20 > emails > to the wxhaskell-users list, and eventually got a complete build. The > main thing was to link against /usr/gcc/Darwin/3.3/master.o. This > appeared to install fine. > > However, an application compiled against this wxhaskell library =20 > does not > work. It fails to start, complaining like this: > > dyld: Symbol not found: __ZN5wxApp10InitializeERiPPw > Referenced from: /usr/local/wxhaskell/lib/libwxc-=20 > mac2.6.3-0.9.4.dylib > Expected in: flat namespace > > So a symbol like wxApp.Initialise is missing? Anyone got any ideas? > > Regards, > Malcolm > > > ------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, =20 > security? > Get stuff done quickly with pre-integrated technology to make your =20 > job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache =20 > Geronimo > http://sel.as-us.falkag.net/sel?=20 > cmd=3Dlnk&kid=3D120709&bid=3D263057&dat=3D121642 > _______________________________________________ > wxhaskell-users mailing list > wxh...@li... > https://lists.sourceforge.net/lists/listinfo/wxhaskell-users > |
From: Eric Y. K. <eri...@gm...> - 2006-05-23 19:02:37
|
Hi, [Note: sorry if you see another message from me in the future that is vaguely similar to this one. I keep forgetting about the size limit and moderation] I'm glad to hear there's more than 2 people trying to use wxhaskell on OS X. The following tarball contains a recent version of a wxhaskell darwinport I made: http://eric.kow.free.fr/download/wxhaskell-dp-2006-05-23.tgz Using this, I was able to get wxhaskell working for my OS 10.4 (ghc 6.4.1). =20 Unfortunately, I am too brain-dead right now to remember what I did to make things work (or to understand all the gcc flags), but I do vaguely recall that 1) it uses my unicode patch so that you can use the wxWidgets that comes with DarwinPorts 2) i do something which sacrifices some of wxhaskell's fancy functionality (which I do not use)... what this functionality is I do not recall 3) there is something about this port that made me hesitate to send this to the DP folks. Gregory Wright is still trying to make an old version of the port work. 4) i seem to have trouble making this work with 6.4.2 although it compiles just fine (?) Of course, it is not absolutely essential that this be used with DarwinPorts. I'm sure the patch-makefile contains some useful hints. In short, works for me, your mileage may vary, etc. =20 Hope this helps,=20 --=20 Eric Kow http://www.loria.fr/~kow PGP Key ID: 08AC04F9 Merci de corriger mon fran=E7ais. |
From: Malcolm W. <Mal...@cs...> - 2006-05-23 09:38:27
|
Jean Boucquey <jbo...@ac...> wrote: > - I've uploaded my wxHaskell build dir here: > http://users.skynet.be/sky81615/wxhaskell-0.9.4-MacOSX.tar.bz2 > Tell me if you can do something with this. Thanks for that. Unfortunately, I was unable to install from your package, because the directory /Users/jean/opt was frozen in to the configuration somehow, and I could not work out how to reset it. > From what I remember in wxhaskell, I had to change a few C functions > in the wxc/src directory and the makefile. In the end, I followed the various instructions in your previous emails to the wxhaskell-users list, and eventually got a complete build. The main thing was to link against /usr/gcc/Darwin/3.3/master.o. This appeared to install fine. However, an application compiled against this wxhaskell library does not work. It fails to start, complaining like this: dyld: Symbol not found: __ZN5wxApp10InitializeERiPPw Referenced from: /usr/local/wxhaskell/lib/libwxc-mac2.6.3-0.9.4.dylib Expected in: flat namespace So a symbol like wxApp.Initialise is missing? Anyone got any ideas? Regards, Malcolm |
From: Jean B. <jbo...@ac...> - 2006-05-18 20:38:59
|
Hi Malcom, I indeed succeded to build wxHaskell 0.9.4 + wxMac 2.6.2 + GHC 6.4.1. Since then I had not a lot of time to document the way I did it. As I will not probably be able to do it soon, here is what I can =20 provide you immediatly: - I've uploaded my wxHaskell build dir here: http://users.skynet.be/=20 sky81615/wxhaskell-0.9.4-MacOSX.tar.bz2 (it is quite heavy > 27Meg) - wxMac was configured the following way: ./configure --disable-=20 shared --disable-unicode --prefix=3D/Users/jean/opt --with-opengl =46rom what I remember in wxhaskell, I had to change a few C functions =20= in the wxc/src directory and the makefile. Tell me if you can do something with this. Jean Le 18-mai-06 =E0 12:13, Malcolm Wallace a =E9crit : > Jean Boucquey <jbo...@ac...> wrote: > >> I'm trying to build wxHaskell 0.9.4 with wxMac 2.6.1 (tried with >> 2.6.2) and GHC 6.4.1 on MacOS 10.4.4 (gcc 4.0.0). > > I see that the original poster managed to build this eventually. I am > having similar trouble on one of my machines (with MacOS 10.4.6, all > other versions the same). I can neither build wxHaskell from sources > (lots of compile errors), nor can I downgrade to a previous version of > ghc (6.4) for which there exists a binary package of wxhaskell. (The > ghc-6.4 installer says I already have a newer version and refuses to > continue.) > > I'm sure there must be other people in the same situation as me, so =20= > does > anyone have a pre-packaged binary distribution that could be added to > the wxHaskell download page? > > I would happily create such a distribution package myself, if there =20= > are > instructions on how to do it (or even better, a Makefile target)? > > Regards, > Malcolm > > > ------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, =20 > security? > Get stuff done quickly with pre-integrated technology to make your =20 > job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache =20 > Geronimo > http://sel.as-us.falkag.net/sel?=20 > cmd=3Dlnk&kid=3D120709&bid=3D263057&dat=3D121642 > _______________________________________________ > wxhaskell-users mailing list > wxh...@li... > https://lists.sourceforge.net/lists/listinfo/wxhaskell-users > |
From: <jmv...@di...> - 2006-05-18 13:12:45
|
> I can neither build wxHaskell from sources > (lots of compile errors), nor can I downgrade to a previous version of > ghc (6.4) for which there exists a binary package of wxhaskell. (The > ghc-6.4 installer says I already have a newer version and refuses to > continue.) I had the same problem; I tried to install wxHaskell in a Mac OS X 10.4 = with GHC 6.4.1 and the GHC 6.4 installer complained about the newer version. I find out that GHC 6.4.1 has an uninstaller in Application/GHC-6.4.1 = that removes GHC 6.4.1. After that you can install GHC 6.4 and wxHaskell. That could implies problems if your other Haskell projects need a = different GHC version!! Of course, new wxHaskell packages for newer version of GHC would be much better. Best regards Jos=E9 Miguel Vila=E7a=20 Departamento de Inform=E1tica - Universidade do Minho=20 jmv...@di... |
From: Malcolm W. <Mal...@cs...> - 2006-05-18 10:22:42
|
Jean Boucquey <jbo...@ac...> wrote: > I'm trying to build wxHaskell 0.9.4 with wxMac 2.6.1 (tried with > 2.6.2) and GHC 6.4.1 on MacOS 10.4.4 (gcc 4.0.0). I see that the original poster managed to build this eventually. I am having similar trouble on one of my machines (with MacOS 10.4.6, all other versions the same). I can neither build wxHaskell from sources (lots of compile errors), nor can I downgrade to a previous version of ghc (6.4) for which there exists a binary package of wxhaskell. (The ghc-6.4 installer says I already have a newer version and refuses to continue.) I'm sure there must be other people in the same situation as me, so does anyone have a pre-packaged binary distribution that could be added to the wxHaskell download page? I would happily create such a distribution package myself, if there are instructions on how to do it (or even better, a Makefile target)? Regards, Malcolm |
From: <cm...@in...> - 2006-05-02 14:24:00
|
I was just wondering if wxHaskell has support for wxMediaCtrl for playing movies, or any other control that plays movies, and if not, are there any plans to add such a control. Thanks Clinton |
From: <jmv...@di...> - 2006-04-19 17:00:50
|
Hi=20 =20 I have a wxHaskell code that runs on Windows and Linux but that behaves strangely in Mac. I got into the conclusion that the dialog that return parameters don=92t work properly. I using the showModal function (http://wxhaskell.sourceforge.net/doc/Graphics.UI.WX.Dialogs.html#v%3Asho= wMo dal ) =20 The code is something like: =20 genDialog theFrame =3D =20 do dialog <- dialog theFrame [ text :=3D "Dialog name"] ok <- button p [ text :=3D "Ok" ] =85=20 set dialog [ layout :=3D =85.. ] =20 showModal dialog $ \stop -> do set ok [on command :=3D stop (Just 2 ) ] =20 Then I use it like =20 do =85.. res <- genDialog theFrame =85. =20 In Mac it show the dialog, allow to chose the parameters but when I = press Ok it don=92t execute the code that expects the result of the dialog. =20 Did anyone had the same problem? And there are any solution?=20 I already google it but I didn=92t find anything. =20 Of course, I=92ll appreciate any help!!! =20 Best regards Miguel Vila=E7a =20 P.S. I test it in Mac OS X 10.4 =20 =20 |
From: James O. <jam...@gm...> - 2006-04-11 13:00:39
|
Hi everyone, I've just about figured out how to create my own widgets using the supplied 'CustomControls.hs' file as guidance but now I've come across a problem. I want to be able to move a widget from inside of one widget to inside another (i.e. change a widget's parent). Is there any way to do this, and i= f so, would anybody be so kind to explain how. Many thanks, James |
From: <arm...@gm...> - 2006-03-13 19:52:36
|
Hi, Is there any example code how to print from a wxHaskell application? The documentation of Graphics.UI.WXCore.Print mentions some file called sampleswxPrint.hs, which should contain a demo, but I can't find it. Armin |
From: Benjamin F. <ben...@be...> - 2006-03-09 22:51:43
|
On Thursday 09 March 2006 22:01, Achim Mahnke wrote: > Hi, > > I'm trying to compile wxHaskell 0.9.4 on my SuSE 9.3 Linux. > The following Packages are installed: > > GTK+-Packages: > gtk2-devel-2.6.4-6.3 > gtk2-2.6.4-6.3 > > wxWidgets-Packages: > wxGTK-devel-2.5.3.1-5 > wxGTK-2.5.3.1-5 > > I use gcc 3.3.5. > > The configure doesn't report any problems, but running 'make' is > throwing this: > > g++ -c wxc/src/ewxw_main.cpp -o out/wxc/ewxw_main.o -MD > -I/usr/lib/wx/include/gtk2-ansi-release-2.5 -I/usr/include/wx-2.5 > -DGTK_NO_CHECK_CASTS -D__WXGTK__ -D_FILE_OFFSET_BITS=64 > -D_LARGE_FILES -Iwxc/include In file included from > wxc/src/ewxw_main.cpp:4: > /usr/include/wx-2.5/wx/db.h:80:25: sql.h: Datei oder Verzeichnis > nicht gefunden /usr/include/wx-2.5/wx/db.h:81:28: sqlext.h: Datei > oder Verzeichnis nicht gefunden In file included from > > [...] > > Does somebody give me a hint on this? Do I have to switch to > wxWidgets 2.6.2? I dimly remember having stumbled over this or a similar problem. The first thing I would try is ./configure --help to find out whether there is an option to turn off database support (via ODBC). Or else, install the ODBC developer package. My system (debian) tells me that I have an sql.h installed by these packages: ben@sarun: ~ > dpkg -S sql.h libmysqlclient14-dev: /usr/include/mysql/mysql.h unixodbc-dev: /usr/include/sql.h HTH, Ben PS: Just BTW, debian's really excellent package system is one of the reasons I recently switched from SUSE to debian :-) |
From: Achim M. <Ach...@df...> - 2006-03-09 21:02:04
|
Hi, I'm trying to compile wxHaskell 0.9.4 on my SuSE 9.3 Linux. The following Packages are installed: GTK+-Packages: gtk2-devel-2.6.4-6.3 gtk2-2.6.4-6.3 wxWidgets-Packages: wxGTK-devel-2.5.3.1-5 wxGTK-2.5.3.1-5 I use gcc 3.3.5. The configure doesn't report any problems, but running 'make' is throwing this: g++ -c wxc/src/ewxw_main.cpp -o out/wxc/ewxw_main.o -MD -I/usr/lib/wx/include/gtk2-ansi-release-2.5 -I/usr/include/wx-2.5 -DGTK_NO_CHECK_CASTS -D__WXGTK__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -Iwxc/include In file included from wxc/src/ewxw_main.cpp:4: /usr/include/wx-2.5/wx/db.h:80:25: sql.h: Datei oder Verzeichnis nicht gefunden /usr/include/wx-2.5/wx/db.h:81:28: sqlext.h: Datei oder Verzeichnis nicht gefunden In file included from wxc/src/ewxw_main.cpp:4: /usr/include/wx-2.5/wx/db.h:281: error: 'HENV' is used as a type, but is not defined as a type. /usr/include/wx-2.5/wx/db.h:282: error: `SQL_MAX_DSN_LENGTH' was not declared in this scope /usr/include/wx-2.5/wx/db.h:283: error: `SQL_MAX_USER_NAME_LEN' was not declared in this scope /usr/include/wx-2.5/wx/db.h:296: error: syntax error before `henv' /usr/include/wx-2.5/wx/db.h:308: error: ISO C++ forbids declaration of `HENV' with no type /usr/include/wx-2.5/wx/db.h:308: error: syntax error before `&' token /usr/include/wx-2.5/wx/db.h: In function `const wxChar* GetDsn()': /usr/include/wx-2.5/wx/db.h:310: error: `Dsn' undeclared (first use this function) /usr/include/wx-2.5/wx/db.h:310: error: (Each undeclared identifier is reported only once for each function it appears in.) /usr/include/wx-2.5/wx/db.h: In function `const wxChar* GetUid()': /usr/include/wx-2.5/wx/db.h:312: error: `Uid' undeclared (first use this function) /usr/include/wx-2.5/wx/db.h: In function `const wxChar* GetAuthStr()': /usr/include/wx-2.5/wx/db.h:315: error: `AuthStr' undeclared (first use this function) /usr/include/wx-2.5/wx/db.h: In function `const wxChar* GetConnectionStr()': /usr/include/wx-2.5/wx/db.h:318: error: `ConnectionStr' undeclared (first use this function) /usr/include/wx-2.5/wx/db.h: In function `bool UseConnectionStr()': /usr/include/wx-2.5/wx/db.h:319: error: `useConnectionStr' undeclared (first [... more things in db.h here ...] make: *** [out/wxc/ewxw_main.o] Fehler 1 Does somebody give me a hint on this? Do I have to switch to wxWidgets 2.6.2? Kind regards, Achim Mahnke |
From: minh t. <no...@gm...> - 2006-03-07 18:15:20
|
hi all, i've something like this WX.set tFrame [ layout :=3D fill $ widget tCanvas , on paintRaw :=3D display renderingFunc tCanvas , on (charKey 'p') :=3D putChar 'p' ] where the tCanvas is an OpenGL canvas. the window is open, the opengl rendering is done. when I hit the 'p' key, it displays it on the console, it's fine. but if I left (by clicking on another window (not a wx one)) the opengl window and go back to my wx opengl window, hitting the 'p' key doesn't do anything. why ? what must I do to correct that ? thanks a lot, vo minh thu |
From: <mis...@we...> - 2006-03-07 17:03:43
|
Hi :) I had a lot of fun with wxHaskell up to now. Now I wanted to define my own subclasses of wx-widgets. The sample-program "CustomControl.hs" was very helpful, but I still don't understand it fully. Here's a quote from its comments: >> For more complicated things, one should define a ColorBox data type instead of a simple type synonym. That's exactly what I have to do, but I don't know how. The plan is to inherit from ScrolledWindow and to hold some values in (Var ())s. Now the question is, how can I get ScrolledWindow and my Vars together in a new class? Thanks, bened |
From: <jmv...@di...> - 2006-03-01 11:46:01
|
Hi James =20 I did something similar using the function objectDelete. See =20 http://wxhaskell.sourceforge.net/doc/Graphics.UI.WX.Types.html#v%3Aobject= Del ete =20 =20 best regards=20 =20 Miguel Vila=E7a=20 =20 _____ =20 De: wxh...@li... [mailto:wxh...@li...] Em nome de James = Ollis Enviada: ter=E7a-feira, 28 de Fevereiro de 2006 21:56 Para: wxh...@li... Assunto: [wxhaskell-users] Destroying controls =20 Hi All, I have looked everywhere, but have not as yet found a way to = manually destroy a control in wxHaskell. I've created my own custom control, but = I want to be able to remove it from the screen as and when I require.=20 Any help would be much appreciated, James |
From: James O. <jam...@gm...> - 2006-02-28 21:56:08
|
Hi All, I have looked everywhere, but have not as yet found a way to manually destroy a control in wxHaskell. I've created my own custom control, but I want to be able to remove it from the screen as and when I require. Any help would be much appreciated, James |
From: Robert D. <rob...@fa...> - 2006-02-23 18:13:16
|
On Feb 23, 2006, at 1:03 PM, Anatoly Zaretsky wrote: > On 2/23/06, Robert Dockins <rob...@fa...> wrote: >> >> How would one go about adding them? I'm not familiar with the how >> WxEiffel and the WxHaskell build system works. Is there a particular >> reason they aren't exposed already? > > WxHaskell uses wxc part of wxEiffel -- basically, C wrappers around > C++ classes methods. And as far as I know wxEiffel doesn't evolve > anymore, so there's noone to add wrappers for missing classes. OK. So its not likely to happen soon unless I decide to do it... >> I'm not sure I fully understand, so let me paraphrase and see if I've >> got this right: >> >> 'makeEvent' takes an object which can handle events and returns a >> pair where >> -- the first element triggers an event by via the menu event >> handler on the passed in object >> -- the second element lets you set the event handler > > Exactly. I am sorry for omitting the description. Just to note: every > makeEvent generates distinct event object. > >> If you want to pass additional data beyond the simple occurance of >> the event, you need external concurrency primitives. > > Yes, but I personaly think that passing haskell data between haskell > threads through C-land is less natural (and heavier) than using native > primitives. Yeah, it just brings up thorny questions about synchronizing what are essentially two parallel message queues. I know that a Chan will guarantee inorder delivery without dropped messages, but I don't know what the properties of the wx event queues are. Is it possible that they could become out of sync? I don't want to deadlock because wx dropped an event, and I'll have to be pretty careful if events can be delivered out-of-order. Thanks again. Rob Dockins Speak softly and drive a Sherman tank. Laugh hard; it's a long way to the bank. -- TMBG |
From: Anatoly Z. <ana...@gm...> - 2006-02-23 18:03:17
|
On 2/23/06, Robert Dockins <rob...@fa...> wrote: > > How would one go about adding them? I'm not familiar with the how > WxEiffel and the WxHaskell build system works. Is there a particular > reason they aren't exposed already? WxHaskell uses wxc part of wxEiffel -- basically, C wrappers around C++ classes methods. And as far as I know wxEiffel doesn't evolve anymore, so there's noone to add wrappers for missing classes. > I'm not sure I fully understand, so let me paraphrase and see if I've > got this right: > > 'makeEvent' takes an object which can handle events and returns a > pair where > -- the first element triggers an event by via the menu event > handler on the passed in object > -- the second element lets you set the event handler Exactly. I am sorry for omitting the description. Just to note: every makeEvent generates distinct event object. > If you want to pass additional data beyond the simple occurance of > the event, you need external concurrency primitives. Yes, but I personaly think that passing haskell data between haskell threads through C-land is less natural (and heavier) than using native primitives. |
From: Robert D. <rob...@fa...> - 2006-02-23 15:16:43
|
On Feb 23, 2006, at 6:33 AM, Anatoly Zaretsky wrote: > On 2/20/06, Robert Dockins <rob...@fa...> wrote: >> >>> There don't appear to be constructors for these object types. >>> >>> For example, KeyEvent >>> (http://wxhaskell.sourceforge.net/doc/ >>> Graphics.UI.WXCore.WxcClassesAL.html#99) >>> doesn't have the expected 'keyEventCreate' funciton and PaintEvent, >>> which >>> only has a constructor, doesn't appear in the function listings at >>> all. >> > > Hi! > > It's not very difficult to add them though the entire Haskell part of > wxHaskell should be rebuilt then. How would one go about adding them? I'm not familiar with the how WxEiffel and the WxHaskell build system works. Is there a particular reason they aren't exposed already? > But if you need some custom events > you can use the following hack (trick, technique...): I'm not sure I fully understand, so let me paraphrase and see if I've got this right: 'makeEvent' takes an object which can handle events and returns a pair where -- the first element triggers an event by via the menu event handler on the passed in object -- the second element lets you set the event handler If you want to pass additional data beyond the simple occurance of the event, you need external concurrency primitives. > import Control.Concurrent.Chan > import Graphics.UI.WX > import Graphics.UI.WXCore > > makeEvent :: EvtHandler a -> IO (IO (), IO () -> IO ()) > makeEvent target = > do > id <- idCreate > evt <- commandEventCreate wxEVT_COMMAND_MENU_SELECTED id > let sender = evtHandlerAddPendingEvent target evt > binder = evtHandlerOnMenuCommand target id > return (sender, binder) > > gui = do > f <- frame [text := "Some frame"] > > let newFrameEvent = makeEvent f > (oneThreadReport, reactToOneThread) <- newFrameEvent > (anotherOneReport, reactToAnotherThread) <- newFrameEvent > > reactToOneThread (putStrLn "OneThread sent event") > > dataChan <- newChan > reactToAnotherThread $ do > d <- readChan dataChan > putStrLn ("Data from AnotherThread: " ++ show d) > > createOneThread oneThreadReport > createAnotherOne anotherOneReport dataChan > > Performing those report actions threads can send events. > > My program worked properly only with threaded rts, possibly because > addPendingEvent performs mutex locking. I am not sure about the exact > reason, 'cause there was also some network I/O. Ahh. That's unfortunate. I'll have to think on this. Thank you for your reply! Rob Dockins Speak softly and drive a Sherman tank. Laugh hard; it's a long way to the bank. -- TMBG |
From: Anatoly Z. <ana...@gm...> - 2006-02-23 11:34:02
|
On 2/20/06, Robert Dockins <rob...@fa...> wrote: > > > There don't appear to be constructors for these object types. > > > > For example, KeyEvent > > (http://wxhaskell.sourceforge.net/doc/ > > Graphics.UI.WXCore.WxcClassesAL.html#99) > > doesn't have the expected 'keyEventCreate' funciton and PaintEvent, > > which > > only has a constructor, doesn't appear in the function listings at > > all. > Hi! It's not very difficult to add them though the entire Haskell part of wxHaskell should be rebuilt then. But if you need some custom events you can use the following hack (trick, technique...): import Control.Concurrent.Chan import Graphics.UI.WX import Graphics.UI.WXCore makeEvent :: EvtHandler a -> IO (IO (), IO () -> IO ()) makeEvent target =3D do id <- idCreate evt <- commandEventCreate wxEVT_COMMAND_MENU_SELECTED id let sender =3D evtHandlerAddPendingEvent target evt binder =3D evtHandlerOnMenuCommand target id return (sender, binder) gui =3D do f <- frame [text :=3D "Some frame"] let newFrameEvent =3D makeEvent f (oneThreadReport, reactToOneThread) <- newFrameEvent (anotherOneReport, reactToAnotherThread) <- newFrameEvent reactToOneThread (putStrLn "OneThread sent event") dataChan <- newChan reactToAnotherThread $ do d <- readChan dataChan putStrLn ("Data from AnotherThread: " ++ show d) createOneThread oneThreadReport createAnotherOne anotherOneReport dataChan Performing those report actions threads can send events. My program worked properly only with threaded rts, possibly because addPendingEvent performs mutex locking. I am not sure about the exact reason, 'cause there was also some network I/O. -- Best regards, Tolik |
From: Robert D. <rob...@fa...> - 2006-02-20 02:21:42
|
On Feb 11, 2006, at 7:22 PM, Robert Dockins wrote: > As a resent poster to this thread, I'm interested in multithreaded > programs > with wxHaskell. The 'evtHandlerAddPendingEvent' function mentioned > in that > thread would solve my issue, except that I can't figure out how to > create > event objects (those with type > Graphics.UI.WXCore.WxcClassTypes.Event). > There don't appear to be constructors for these object types. > > For example, KeyEvent > (http://wxhaskell.sourceforge.net/doc/ > Graphics.UI.WXCore.WxcClassesAL.html#99) > doesn't have the expected 'keyEventCreate' funciton and PaintEvent, > which > only has a constructor, doesn't appear in the function listings at > all. > What's the deal? > > Rob Dockins Ping. Is anyone reading this list? Rob Dockins |
From: Robert D. <rob...@fa...> - 2006-02-12 00:22:45
|
As a resent poster to this thread, I'm interested in multithreaded programs with wxHaskell. The 'evtHandlerAddPendingEvent' function mentioned in that thread would solve my issue, except that I can't figure out how to create event objects (those with type Graphics.UI.WXCore.WxcClassTypes.Event). There don't appear to be constructors for these object types. For example, KeyEvent (http://wxhaskell.sourceforge.net/doc/Graphics.UI.WXCore.WxcClassesAL.html#99) doesn't have the expected 'keyEventCreate' funciton and PaintEvent, which only has a constructor, doesn't appear in the function listings at all. What's the deal? Rob Dockins |