You can subscribe to this list here.
2008 |
Jan
|
Feb
(53) |
Mar
(145) |
Apr
(22) |
May
(7) |
Jun
(14) |
Jul
(14) |
Aug
(9) |
Sep
(10) |
Oct
(48) |
Nov
(59) |
Dec
(45) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2009 |
Jan
(36) |
Feb
(5) |
Mar
(33) |
Apr
(28) |
May
(5) |
Jun
(6) |
Jul
(1) |
Aug
(7) |
Sep
(11) |
Oct
(3) |
Nov
(31) |
Dec
|
2010 |
Jan
(8) |
Feb
(3) |
Mar
|
Apr
(2) |
May
(9) |
Jun
(1) |
Jul
(2) |
Aug
|
Sep
(1) |
Oct
(1) |
Nov
|
Dec
|
2011 |
Jan
(1) |
Feb
(3) |
Mar
(4) |
Apr
(1) |
May
(2) |
Jun
(12) |
Jul
(36) |
Aug
(7) |
Sep
(40) |
Oct
(6) |
Nov
(40) |
Dec
(8) |
2012 |
Jan
(54) |
Feb
(8) |
Mar
(1) |
Apr
(16) |
May
(2) |
Jun
(12) |
Jul
(1) |
Aug
(1) |
Sep
(2) |
Oct
(2) |
Nov
|
Dec
(7) |
2013 |
Jan
(8) |
Feb
|
Mar
(13) |
Apr
(2) |
May
(13) |
Jun
(44) |
Jul
|
Aug
(13) |
Sep
(12) |
Oct
(11) |
Nov
(7) |
Dec
(6) |
2014 |
Jan
(3) |
Feb
(4) |
Mar
(9) |
Apr
(1) |
May
|
Jun
(3) |
Jul
(1) |
Aug
(1) |
Sep
(1) |
Oct
|
Nov
|
Dec
|
2015 |
Jan
|
Feb
(2) |
Mar
|
Apr
|
May
(2) |
Jun
(3) |
Jul
|
Aug
(2) |
Sep
(5) |
Oct
(2) |
Nov
(1) |
Dec
(1) |
2017 |
Jan
|
Feb
|
Mar
|
Apr
(1) |
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
(1) |
Dec
|
2020 |
Jan
(1) |
Feb
|
Mar
|
Apr
(1) |
May
(1) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: shelarcy <she...@gm...> - 2008-11-09 14:14:11
|
DarcsURL: she...@co...:/srv/code/wxhaskell MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=_" --=_ Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Sun Nov 9 14:31:54 =93=8C=8B=9E (=95W=8F=80=8E=9E) 2008 shelarcy <shelarc= y...@gm...> * Use $hdoc instead of haddock to refer haddock name. Sun Nov 9 14:35:23 =93=8C=8B=9E (=95W=8F=80=8E=9E) 2008 shelarcy <shelarc= y...@gm...> * Use haddock-ghc as a haddock name, too. = Macports renames GHC's Haddock name to haddock-ghc. So, we use this name = to detect haddock. If Macports and any other package system use haddock for GHC's haddock na= me, we revert this change soonly. = This patch contains the following changes: = M ./configure +4 Sun Nov 9 22:57:31 =93=8C=8B=9E (=95W=8F=80=8E=9E) 2008 shelarcy <shelarc= y...@gm...> * small fix for searching haddock files. --=_ Content-Type: text/x-darcs-patch; name="use-_hdoc-instead-of-haddock-to-refer-haddock-name_.dpatch" Content-Transfer-Encoding: quoted-printable Content-Description: A darcs patch for your repository! New patches: [Use $hdoc instead of haddock to refer haddock name. shelarcy <she...@gm...>**20081109053154] hunk ./configure 739 - haddockversion=3D`haddock --version | sed -e "s|.*version \([0-9]*\)\..*= |\1|"` + haddockversion=3D`$hdoc --version | sed -e "s|.*version \([0-9]*\)\..*|\= 1|"` [Use haddock-ghc as a haddock name, too. shelarcy <she...@gm...>**20081109053523 = Macports renames GHC's Haddock name to haddock-ghc. So, we use this name t= o detect haddock. If Macports and any other package system use haddock for GHC's haddock nam= e, we revert this change soonly. = This patch contains the following changes: = M ./configure +4 ] hunk ./configure 714 + hdocfound=3D"yes" +elif findprogram "haddock-ghc"; then + hdoc=3D"haddock-ghc" + echo " $hdoc found" [small fix for searching haddock files. shelarcy <she...@gm...>**20081109135731] { hunk ./configure 733 + # guesshdocbase=3D"`which ghc | sed -e 's|/bin/ghc|/ghc-$hcversion/doc/g= hc/libraries/base/base.haddock|'`" hunk ./configure 762 - else + elif test -d "$ghcroot/share/doc/ghc/libraries"; then hunk ./configure 764 + else + docroot=3D"$ghcroot/share/ghc-$hcversion/doc/ghc/libraries" } Context: [Set Release version to 0.11.0 RC 1 shelarcy <she...@gm...>**20081108012347] = [Add GetOption / SetOption for Images (This is based on Jules Bean's work). shelarcy <she...@gm...>**20081107164839] = [Move -fvia-C compilation flag to configure option. This respect to GHC cha= nges. shelarcy <she...@gm...>**20081107125851] = [Add Cabal's short name to --enable-optimization and --enable-library-profi= ling option. shelarcy <she...@gm...>**20081107124417] = [Modernize FFI flags in source code. shelarcy <she...@gm...>**20081107065633] = [Fix: profiled version library doesn't use -dep-makefile option on GHC 6.10= .x. shelarcy <she...@gm...>**20081107065448] = [Add --enable-library-profiling option for respecting Cabal's option name. shelarcy <she...@gm...>**20081107061223] = [Fix: -hcprof option's argument can disable profiling options. shelarcy <she...@gm...>**20081107060448] = [Fix dropped optimization level and way to --enable-optimization option. shelarcy <she...@gm...>**20081107055743] = [Bump version number to 0.10.6 shelarcy <she...@gm...>**20081107035319] = [Fixed function name wxXmlResource_GetStyledTextCtrl mad...@ya...**20081107204215] = [Fix: undefined reference to wxXmlResource_GetStyledTextCtrl shelarcy <she...@gm...>**20081107021244] = [Fix: Camels sample don't run because of using undefined function since wxW= idgets 2.8.x support. shelarcy <she...@gm...>**20081028083424] = [Use DEPRECATED pragma instead of only haddock comment to describe deprecat= ed functions. shelarcy <she...@gm...>**20081028082515] = [Remove modification history from source code (Use darcs instead). shelarcy <she...@gm...>**20081028060925] = [Chnage source code's maintainer to be wxh...@li...= t. shelarcy <she...@gm...>**20081028060309] = [Fixed broken Haddock descriptions. shelarcy <she...@gm...>**20081028053650] = [Fix: BUILD_XRCGETCTRL_FN macro cause problem when using gcc. shelarcy <she...@gm...>**20081023141104] = [Small update to XRC support jer...@gm...**20081021104449] = [Add XRC support jer...@gm...**20081021095548] = [Use wxWidgets 2.8.9 in default when building on Windows. shelarcy <she...@gm...>**20081011042903] = [Bump version number to 0.10.5 shelarcy <she...@gm...>**20081011033152] = [Fix configure doesn't care about that users can install some version of pa= ckages. shelarcy <she...@gm...>**20081011032555] = [Use -dep-makefile instead of -optdep-f on GHC 6.10.x to avoid warning abou= t using dreprecated option message. shelarcy <she...@gm...>**20081010170230] = [Update changes.txt information by 0.10.4's changes. shelarcy <she...@gm...>**20081010160351] = [Update wx packages' description and dependency. shelarcy <she...@gm...>**20081010150113] = [Change SVG's auto-generated function name to be more friendly. shelarcy <she...@gm...>**20081010145951] = [Bump Cabal's version number to 0.10.4, too. shelarcy <she...@gm...>**20081009094345] = [Bump version number to 0.10.4 shelarcy <she...@gm...>**20081009092404] = [Fix make uninstall doesn't work well on GHC 6.10.x. shelarcy <she...@gm...>**20080930052522] = [Fix wxcore's depends field has two base package version. shelarcy <she...@gm...>**20080930052150] = [Only use wxEVT_MEDIA* when wxUSE_MEDIACTRL-flag is set mad...@ya...**20080919152917] = [Fix building with GHC 6.10.*. shelarcy <she...@gm...>**20080922155920] = [Change wxcAppUSleep to wxcMilliSleep (wxcAppUSleep is deprecated now). shelarcy <she...@gm...>**20080730094020] = [Removed unnecessary parameter from logSelect helper in Controls.hs WX samp= le jo...@gm...**20080812170441] = [Use meta tag for auto-redirect to Haskell wiki. Eric Kow <eri...@gm...>**20080805182057] = [Update links to homepage itself to point to Haskell wiki. Eric Kow <eri...@gm...>**20080805182031] = [Replace body of index.html with link to Haskell wiki Eric Kow <eri...@gm...>**20080805181958] = [Replace contents of pages which have been moved to Haskell wiki. Eric Kow <eri...@gm...>**20080805151503 Make these pages just a link to the WxHaskell part of the wiki. ] = [Update homepage menus to link to Haskell wiki. Eric Kow <eri...@gm...>**20080805150421] = [Fix typo in contribute.html Eric Kow <eri...@gm...>**20080805101258] = [Fix: we can't build wxc without wxGraphicsContext support. shelarcy <she...@gm...>**20080729111606] = [Use wxWidgets 2.8.8 in default when building on Windows. shelarcy <she...@gm...>**20080729105641] = [Fix building with old version of Visual Studio (according to John Lask). shelarcy <she...@gm...>**20080709063851] = [Fix: linking incorrect runtime on Visual Studio (pointed out by John Lask)= . shelarcy <she...@gm...>**20080709063820] = [Add download link to two GHC 6.8.3's binary. shelarcy <she...@gm...>**20080630144522] = [Fix Building without WXWIN_COMPATIBILITY_2_6 in eljrc.cpp. shelarcy <she...@gm...>**20080630120326] = [Fix: hardcoded keycode doesn't work well when using wxWidgets 2.8.x. shelarcy <she...@gm...>**20080630120118] = [Clean up duplicate ewxw_def.h file. shelarcy <she...@gm...>**20080628114449] = [Remove wxScintilla code (use wxStyledTextCtrl instead). shelarcy <she...@gm...>**20080626055907] = [Fix: eljdcsvg.cpp doesn't build other than Windows. shelarcy <she...@gm...>**20080625095858] = [Just reviving ELJ's wxXmlResource code. shelarcy <she...@gm...>**20080625052046] = [Use Int64 representing wxFileOffset type. shelarcy <she...@gm...>**20080624152015] = [Add dropped wxMedia's events to wxc. shelarcy <she...@gm...>**20080624140139] = [Add dropped wx*DCs. shelarcy <she...@gm...>**20080624122641] = [Update building information about --with-contrib option. shelarcy <she...@gm...>**20080624113243] = [Revive wxSVGFileDC code. shelarcy <she...@gm...>**20080624113214] = [Change --with-stc to --with-contrib for future contrib libraries support. shelarcy <she...@gm...>**20080624032429] = [Update information about builiding wxWidgets and wxc with Microsoft Visual= C++ Express Edition. shelarcy <she...@gm...>**20080624023628] = [Fix #1400488: Win install problem when path with spaces, e.g. "Program Fil= es". shelarcy <she...@gm...>**20080624020657] = [Partialy fix a bug in wxhaskell-register.bat. shelarcy <she...@gm...>**20080623152256] = [Add --enable-optimization opition for building library with optimization f= lags. shelarcy <she...@gm...>**20080531114050] = [Use CDouble and realToFrac instead of marshaling Double type directly. shelarcy <she...@gm...>**20080530024730] = [Remove unused make before-dist. shelarcy <she...@gm...>**20080529120234] = [Fix a bug in haddock documentation structure of Rectangle. shelarcy <she...@gm...>**20080529111415] = [Use putTraceMsg instead of hPutStrLn for Windows GUI-only program. shelarcy <she...@gm...>**20080526070627] = [Add very experimental wxGraphicsContext support. shelarcy <she...@gm...>**20080526063228] = [Change Point, Size, Vector and Rect to be type synonym for adding wxGraphi= csContext support. shelarcy <she...@gm...>**20080526055033] = [Fix: wxSound isn't managed object. shelarcy <she...@gm...>**20080524021436] = [Remove wxWidgets 2.4.x's wxWave code. shelarcy <she...@gm...>**20080430002921] = [Remove Wave type synonym. shelarcy <she...@gm...>**20080429233348] = [Change samples/contrib/PaintDirect to use withPixelBuffer instead of image= GetPixelBuffer. shelarcy <she...@gm...>**20080429232026] = [Change imageGetPixelArray and imageCreateFromPixelArray to be more flexibl= e. shelarcy <she...@gm...>**20080429183518] = [Fix: some samples don't run because of using undefined function since wxWi= dgets 2.8.x support. shelarcy <she...@gm...>**20080429145931] = [Add note about defaultButton's incompatible change since wxWidgets 2.8.x s= upport. shelarcy <she...@gm...>**20080429141545] = [Change Var type synonym from IORef to stm's TVar for thread safety. shelarcy <she...@gm...>**20080425114909] = [Fix: dists dropped two samples in samples/wx direcotory. shelarcy <she...@gm...>**20080425102416] = [Clean up wxWindows class's function declaration. shelarcy <she...@gm...>**20080425054152] = [Clean up #ifdef wxUSE_UNICODE flag by wxStrdup function. shelarcy <she...@gm...>**20080425051404] = [Replace _wcsdup with wxStrdup in wxWidgets 2.8 compat code. Eric Kow <eri...@gm...>**20080420115042 According to shelarcy and Jeremy, _wcsdup is Windows-specific. ] = [wxWidgets 2.8.7 on 0.10.3 release version jer...@gm...**20080410134132] = [TAG wxWidgets2.8.7_on_0.10.3rc1 jer...@gm...**20080410113256] = [Add TopLevelWindow for wxWidgets 2.8.7 support jer...@gm...**20080410113113] = [Preliminary wxWidgets 2.8.7 support jer...@gm...**20080410112559] = [Shifted to Pavel's Debian build system Mads Lindstroem <mad...@ya...>**20080413131752 = I have changed the current Debian build system to the one made by Pavel Shramov. It is a lot simpler than the current one. Also it is similar to what can normally be found in the Debian archieve, and I therefore assume that it will be easier to some day get an offecial WxHaskell Debian package. = All of the files in the debian directory is the work of Pavel. = I changed only one thing, as compared to Pavel's version. Namely that I removed the dependcy on libghc6-time-dev. I did it, as this dependency makes the package un-buildable on Debian unstable (GHC 6.8). At release 0.10.3, some users requested a GHC 6.8 version, and it is therefore important that we can provide one. = = ] = [Removed check for Data.Time Mads Lindstroem <mad...@ya...>**20080413114242 = Removed the check for Data.Time as it is not needed. I originally added it as I had somehow overlooked the Debian package libghc6-time-dev. Sorry about the unneccessary noise :( = ] = [Fix: samples/wx/makefile's "make clean" doesn't clean Windows things. shelarcy <she...@gm...>**20080409133446] = [Fix 1932640: samples/wx/FileBrowse is broken on Windows. = shelarcy <she...@gm...>**20080409132157] = [Add containers package dependency to wxcore.cabal. shelarcy <she...@gm...>**20080328131307] = [Remove IntMap from wxcore. Use the containers version instead. shelarcy <she...@gm...>**20080328131144] = [Add containers package to wxcore. shelarcy <she...@gm...>**20080328123744] = [Remove Set from wxdirect. Use the containers version instead. Eric Kow <eri...@gm...>**20080322140544] = [Remove Map from wxdirect. Use the containers version instead. Eric Kow <eri...@gm...>**20080322140245] = [Add containers package to wxdirect. Eric Kow <eri...@gm...>**20080322135933] = [Split makefile entry for wxdirect containers into separate lines. Eric Kow <eri...@gm...>**20080322135824 For more independence between patches which remove Map, Set and MultiSet in favour of the containers version. ] = [Use string comparison in haddockversion test. Eric Kow <eri...@gm...>**20080326224059 Again, for the case where haddock is not found. ] = [Fix bug in configure script if Haddock is not found. Eric Kow <eri...@gm...>**20080324155706 (discovered by S. Doaitse Swierstra) ] = [Add wx/license.txt to srcdist (to avoid build error). Eric Kow <eri...@gm...>**20080323125315] = [Fix download link typos. Eric Kow <eri...@gm...>**20080322130605] = [Kill a broken link (we no longer use CVS). Eric Kow <eri...@gm...>**20080322125822] = [Overwrite 0.10.3rc1 news with proper 0.10.3 news. Eric Kow <eri...@gm...>**20080322125032] = [TAG 0.10.3 Eric Kow <eri...@gm...>**20080321183613] = Patch bundle hash: d83002b65bbee64448139cf8122d0d212d542eca --=_-- . |
From: Kido T. <she...@co...> - 2008-11-08 02:25:26
|
Fri Nov 7 20:23:47 EST 2008 shelarcy <she...@gm...> * Set Release version to 0.11.0 RC 1 M ./configure -2 +2 M ./wxc/wxc-2.4.dsp -4 +4 M ./wxc/wxc-2.6.dsp -4 +4 M ./wxc/wxc-2.8.dsp -4 +4 View patch online: http://code.haskell.org/wxhaskell/_darcs/patches/20081108012347-c1071-b1da1106f38b40fd4c6349c7ff255d31e01028b7.gz |
From: shelarcy <she...@gm...> - 2008-11-08 01:38:33
|
I pushed patches except this change. 2008/11/8 shelarcy <she...@gm...>: > Fri Nov 7 12:55:12 =93=8C=8B=9E (=95W=8F=80=8E=9E) 2008 shelarcy <she...@gm...> > * Set Release version to 0.11.1 RC 1 Release version is 0.11.0 RC 1. So, I'll change name of this patch, > Fri Nov 7 11:12:44 =93=8C=8B=9E (=95W=8F=80=8E=9E) 2008 shelarcy <she...@gm...> > * Fix: undefined reference to wxXmlResource_GetStyledTextCtrl > > Fri Nov 7 12:53:19 =93=8C=8B=9E (=95W=8F=80=8E=9E) 2008 shelarcy <she...@gm...> > * Bump version number to 0.10.6 > > Fri Nov 7 14:57:43 =93=8C=8B=9E (=95W=8F=80=8E=9E)) 2008 shelarcy <she...@gm...> > * Fix dropped optimization level and way to --enable-optimization option. > > Fri Nov 7 15:04:48 =93=8C=8B=9E (=95W=8F=80=8E=9E) 2008 shelarcy <she...@gm...> > * Fix: -hcprof option's argument can disable profiling options. > > Fri Nov 7 15:12:23 =93=8C=8B=9E (=95W=8F=80=8E=9E) 2008 shelarcy <she...@gm...> > * Add --enable-library-profiling option for respecting Cabal's option name. > > Fri Nov 7 15:54:48 =93=8C=8B=9E (=95W=8F=80=8E=9E) 2008 shelarcy <she...@gm...> > * Fix: profiled version library doesn't use -dep-makefile option on GHC 6.10.x. > > Fri Nov 7 15:56:33 =93=8C=8B=9E (=95W=8F=80=8E=9E) 2008 shelarcy <she...@gm...> > * Modernize FFI flags in source code. > > Fri Nov 7 21:44:17 =93=8C=8B=9E (=95W=8F=80=8E=9E) 2008 shelarcy <she...@gm...> > * Add Cabal's short name to --enable-optimization and --enable-library-profiling option. > > Fri Nov 7 21:58:51 =93=8C=8B=9E (=95W=8F=80=8E=9E) 2008 shelarcy <she...@gm...> > * Move -fvia-C compilation flag to configure option. This respect to GHC changes. > > Sat Nov 8 01:48:39 =93=8C=8B=9E (=95W=8F=80=8E=9E) 2008 shelarcy <she...@gm...> > * Add GetOption / SetOption for Images (This is based on Jules Bean's work) -- shelarcy <shelarcy hotmail.co.jp> http://page.freett.com/shelarcy/ |
From: Kido T. <she...@co...> - 2008-11-08 01:01:11
|
Fri Nov 7 07:44:17 EST 2008 shelarcy <she...@gm...> * Add Cabal's short name to --enable-optimization and --enable-library-profiling option. M ./configure -2 +17 View patch online: http://code.haskell.org/wxhaskell/_darcs/patches/20081107124417-c1071-e261b1042f56e45750dd9b4c8279b8390567f072.gz |
From: Kido T. <she...@co...> - 2008-11-08 01:01:11
|
Fri Nov 7 07:58:51 EST 2008 shelarcy <she...@gm...> * Move -fvia-C compilation flag to configure option. This respect to GHC changes. M ./configure +3 M ./makefile -2 +2 View patch online: http://code.haskell.org/wxhaskell/_darcs/patches/20081107125851-c1071-8b0cf486a7d306fe428baf80e1d8f54f6d438215.gz |
From: Kido T. <she...@co...> - 2008-11-08 01:01:09
|
Fri Nov 7 01:56:33 EST 2008 shelarcy <she...@gm...> * Modernize FFI flags in source code. M ./wxcore/src/Graphics/UI/WXCore/Types.hs -1 +2 M ./wxcore/src/Graphics/UI/WXCore/WxcObject.hs -1 +2 M ./wxcore/src/Graphics/UI/WXCore/WxcTypes.hs -1 +2 M ./wxdirect/src/CompileClasses.hs -1 +2 View patch online: http://code.haskell.org/wxhaskell/_darcs/patches/20081107065633-c1071-e81933521643eab07b7fb677e2d2d5192c28aeb7.gz |
From: Kido T. <she...@co...> - 2008-11-08 01:01:07
|
Fri Nov 7 01:54:48 EST 2008 shelarcy <she...@gm...> * Fix: profiled version library doesn't use -dep-makefile option on GHC 6.10.x. M ./makefile.lib +7 View patch online: http://code.haskell.org/wxhaskell/_darcs/patches/20081107065448-c1071-7136c32e6efc418b02ed17cc03c0678cf50716a9.gz |
From: Kido T. <she...@co...> - 2008-11-08 01:01:05
|
Fri Nov 7 01:04:48 EST 2008 shelarcy <she...@gm...> * Fix: -hcprof option's argument can disable profiling options. M ./configure -2 +3 View patch online: http://code.haskell.org/wxhaskell/_darcs/patches/20081107060448-c1071-61ba8278bde477ab348214790e2474f502302cdd.gz |
From: Kido T. <she...@co...> - 2008-11-08 01:01:04
|
Fri Nov 7 11:48:39 EST 2008 shelarcy <she...@gm...> * Add GetOption / SetOption for Images (This is based on Jules Bean's work). M ./wxc/include/wxc_glue.h +5 M ./wxc/src/eljimage.cpp -1 +23 View patch online: http://code.haskell.org/wxhaskell/_darcs/patches/20081107164839-c1071-4b4df4c3ee32bf4ea3a97025b57921537c7ed1cb.gz |
From: Kido T. <she...@co...> - 2008-11-08 01:01:00
|
Fri Nov 7 01:12:23 EST 2008 shelarcy <she...@gm...> * Add --enable-library-profiling option for respecting Cabal's option name. M ./configure +5 View patch online: http://code.haskell.org/wxhaskell/_darcs/patches/20081107061223-c1071-598fd98dff7d22b177d2fbc59b2d4c423b50aeb6.gz |
From: Kido T. <she...@co...> - 2008-11-08 01:00:57
|
Thu Nov 6 22:53:19 EST 2008 shelarcy <she...@gm...> * Bump version number to 0.10.6 M ./changes.txt -1 +1 M ./wx/wx.cabal -1 +1 M ./wxcore.cabal -1 +1 View patch online: http://code.haskell.org/wxhaskell/_darcs/patches/20081107035319-c1071-4a03e773f4ef676efdc8332cb9ef7d6b33217a9c.gz |
From: Kido T. <she...@co...> - 2008-11-08 01:00:57
|
Fri Nov 7 00:57:43 EST 2008 shelarcy <she...@gm...> * Fix dropped optimization level and way to --enable-optimization option. M ./configure -1 +5 View patch online: http://code.haskell.org/wxhaskell/_darcs/patches/20081107055743-c1071-dddf16aa958c8b24fe2ac5a8cdd65389bdbcee43.gz |
From: Mads L. <mad...@ya...> - 2008-11-07 20:49:08
|
Hi, > Hi, > > I made patch for this problem. Attached is a patch for that. > Please test. Thank you for the patch. There was one minor issue, which I have fixed. Your and my patch has been pushed to code.haskell.org. /Mads Lindstrøm > > > Best Regards, > > On Mon, 03 Nov 2008 23:46:25 +0900, shelarcy <she...@gm...> wrote: > >> While wxHaskell compiles and installs, I get the following error when > >> trying to compile one of the example programs: > >> > >>> make all > >> ghc -package wx -o BouncingBalls BouncingBalls.hs > >> /home/ghctest/lib/libwxcore2.a(WxcClassesMZ.o): In function `s1iiL_info': > >> ghc31980_0.hc:(.text+0x12d84d): undefined reference to `wxXmlResource_GetStyledTextCtrl' > >> collect2: ld returned 1 exit status > >> make: *** [BouncingBalls] Error 1 > > > > (snip) > > > > So, we can fix this problem by following change. > > > > #ifdef wxUSE_STC > > BUILD_XRCGETCTRL_FN(StyledTextCtrl) > > #else > > EWXWEXPORT(void*, wxXmlResource_StyledTextCtrl)(wxWindow* _win, wxString* _str_id) > > { > > return NULL; > > } > > #endif > > > > http://www.mail-archive.com/wxh...@li.../msg00273.html > > -- > shelarcy <shelarcy hotmail.co.jp> > http://page.freett.com/shelarcy/ |
From: Mads L. <ma...@co...> - 2008-11-07 20:45:27
|
Fri Nov 7 15:42:15 EST 2008 mad...@ya... * Fixed function name wxXmlResource_GetStyledTextCtrl M ./wxc/src/eljrc.cpp -1 +1 View patch online: http://code.haskell.org/wxhaskell/_darcs/patches/20081107204215-6ab19-1f317be615c982f43b007337bade304760bc191f.gz |
From: Mads L. <ma...@co...> - 2008-11-07 20:45:27
|
Thu Nov 6 21:12:44 EST 2008 shelarcy <she...@gm...> * Fix: undefined reference to wxXmlResource_GetStyledTextCtrl M ./wxc/src/eljrc.cpp +5 View patch online: http://code.haskell.org/wxhaskell/_darcs/patches/20081107021244-c1071-f5d72450dca2b535e3c1b34ffc45749528e7e622.gz |
From: shelarcy <she...@gm...> - 2008-11-07 17:08:54
|
DarcsURL: she...@co...:/srv/code/wxhaskell MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=_" --=_ Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Fri Nov 7 11:12:44 =93=8C=8B=9E (=95W=8F=80=8E=9E) 2008 shelarcy <shelarc= y...@gm...> * Fix: undefined reference to wxXmlResource_GetStyledTextCtrl Fri Nov 7 12:53:19 =93=8C=8B=9E (=95W=8F=80=8E=9E) 2008 shelarcy <shelarc= y...@gm...> * Bump version number to 0.10.6 Fri Nov 7 12:55:12 =93=8C=8B=9E (=95W=8F=80=8E=9E) 2008 shelarcy <shelarc= y...@gm...> * Set Release version to 0.11.1 RC 1 Fri Nov 7 14:57:43 =93=8C=8B=9E (=95W=8F=80=8E=9E) 2008 shelarcy <shelarc= y...@gm...> * Fix dropped optimization level and way to --enable-optimization option. Fri Nov 7 15:04:48 =93=8C=8B=9E (=95W=8F=80=8E=9E) 2008 shelarcy <shelarc= y...@gm...> * Fix: -hcprof option's argument can disable profiling options. Fri Nov 7 15:12:23 =93=8C=8B=9E (=95W=8F=80=8E=9E) 2008 shelarcy <shelarc= y...@gm...> * Add --enable-library-profiling option for respecting Cabal's option nam= e. Fri Nov 7 15:54:48 =93=8C=8B=9E (=95W=8F=80=8E=9E) 2008 shelarcy <shelarc= y...@gm...> * Fix: profiled version library doesn't use -dep-makefile option on GHC 6= .10.x. Fri Nov 7 15:56:33 =93=8C=8B=9E (=95W=8F=80=8E=9E) 2008 shelarcy <shelarc= y...@gm...> * Modernize FFI flags in source code. Fri Nov 7 21:44:17 =93=8C=8B=9E (=95W=8F=80=8E=9E) 2008 shelarcy <shelarc= y...@gm...> * Add Cabal's short name to --enable-optimization and --enable-library-pr= ofiling option. Fri Nov 7 21:58:51 =93=8C=8B=9E (=95W=8F=80=8E=9E) 2008 shelarcy <shelarc= y...@gm...> * Move -fvia-C compilation flag to configure option. This respect to GHC = changes. Sat Nov 8 01:48:39 =93=8C=8B=9E (=95W=8F=80=8E=9E) 2008 shelarcy <shelarc= y...@gm...> * Add GetOption / SetOption for Images (This is based on Jules Bean's wor= k). --=_ Content-Type: text/x-darcs-patch; name="fix_-undefined-reference-to-wxxmlresource_getstyledtextctrl.dpatch" Content-Transfer-Encoding: quoted-printable Content-Description: A darcs patch for your repository! New patches: [Fix: undefined reference to wxXmlResource_GetStyledTextCtrl shelarcy <she...@gm...>**20081107021244] hunk ./wxc/src/eljrc.cpp 471 +#else=0D +EWXWEXPORT(void*, wxXmlResource_StyledTextCtrl)(wxWindow* _win, wxString* = _str_id)=0D +{=0D + return NULL;=0D +}=0D [Bump version number to 0.10.6 shelarcy <she...@gm...>**20081107035319] { hunk ./changes.txt 11 -Version 0.10.5 +Version 0.10.6 hunk ./wx/wx.cabal 2 -Version: 0.10.5 +Version: 0.10.6 hunk ./wxcore.cabal 2 -Version: 0.10.5 +Version: 0.10.6 } [Set Release version to 0.11.1 RC 1 shelarcy <she...@gm...>**20081107035512] { hunk ./configure 15 -version=3D"0.10.5" -release=3D"0" +version=3D"0.11.0" +release=3D"rc1" hunk ./wxc/wxc-2.4.dsp 56 -# ADD LINK32 zlib.lib regex.lib png.lib jpeg.lib tiff.lib wxmswu.lib kerne= l32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32= .lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib r= pcrt4.lib wsock32.lib opengl32.lib winmm.lib /nologo /dll /machine:I386 /no= defaultlib:"LIBCMT" /out:"..\dist\wxc\wxc-msw2.8.9-0.10.5.dll" /libpath:"..= \dist\wxc" /libpath:"..\..\wxWindows-2.4.2\lib"=0D +# ADD LINK32 zlib.lib regex.lib png.lib jpeg.lib tiff.lib wxmswu.lib kerne= l32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32= .lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib r= pcrt4.lib wsock32.lib opengl32.lib winmm.lib /nologo /dll /machine:I386 /no= defaultlib:"LIBCMT" /out:"..\dist\wxc\wxc-msw2.8.9-0.11.0.dll" /libpath:"..= \dist\wxc" /libpath:"..\..\wxWindows-2.4.2\lib"=0D hunk ./wxc/wxc-2.4.dsp 59 -PostBuild_Cmds=3Decho Generating mingw32 import library ... ..\bin\reimp .= .\dist\wxc\wxc-msw2.8.9-0.10.5.lib move libwxc-msw2.8.9-0.10.5.a ..\dist\wx= c move wxc-msw2.8.9-0.10.5.def ..\dist\wxc echo Done.=0D +PostBuild_Cmds=3Decho Generating mingw32 import library ... ..\bin\reimp .= .\dist\wxc\wxc-msw2.8.9-0.11.0.lib move libwxc-msw2.8.9-0.11.0.a ..\dist\wx= c move wxc-msw2.8.9-0.11.0.def ..\dist\wxc echo Done.=0D hunk ./wxc/wxc-2.4.dsp 86 -# ADD LINK32 zlibd.lib regexd.lib pngd.lib jpegd.lib tiffd.lib wxmswud.lib= kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib s= hell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32= .lib rpcrt4.lib wsock32.lib opengl32.lib winmm.lib /nologo /dll /debug /mac= hine:I386 /nodefaultlib:"LIBCMTD" /out:"..\dist\wxc\wxcd-msw2.8.9-0.10.5.dl= l" /pdbtype:sept /libpath:"..\dist\wxc" /libpath:"..\..\wxWindows-2.4.2\li= b"=0D +# ADD LINK32 zlibd.lib regexd.lib pngd.lib jpegd.lib tiffd.lib wxmswud.lib= kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib s= hell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32= .lib rpcrt4.lib wsock32.lib opengl32.lib winmm.lib /nologo /dll /debug /mac= hine:I386 /nodefaultlib:"LIBCMTD" /out:"..\dist\wxc\wxcd-msw2.8.9-0.11.0.dl= l" /pdbtype:sept /libpath:"..\dist\wxc" /libpath:"..\..\wxWindows-2.4.2\li= b"=0D hunk ./wxc/wxc-2.4.dsp 89 -PostBuild_Cmds=3Decho Generating mingw32 import library ... ..\bin\reimp .= .\dist\wxc\wxcd-msw2.8.9-0.10.5.lib move libwxcd-msw2.8.9-0.10.5.a ..\dist\= wxc move wxcd-msw2.8.9-0.10.5.def ..\dist\wxc echo Done.=0D +PostBuild_Cmds=3Decho Generating mingw32 import library ... ..\bin\reimp .= .\dist\wxc\wxcd-msw2.8.9-0.11.0.lib move libwxcd-msw2.8.9-0.11.0.a ..\dist\= wxc move wxcd-msw2.8.9-0.11.0.def ..\dist\wxc echo Done.=0D hunk ./wxc/wxc-2.6.dsp 57 -# ADD LINK32 wxzlib.lib wxregexu.lib wxpng.lib wxjpeg.lib wxtiff.lib wxexp= at.lib wxbase26u.lib wxbase26u_net.lib wxbase26u_odbc.lib wxbase26u_xml.lib= wxmsw26u_core.lib wxmsw26u_adv.lib wxmsw26u_dbgrid.lib wxmsw26u_gl.lib wxm= sw26u_html.lib wxmsw26u_media.lib wxmsw26u_stc.lib wxmsw26u_svg.lib wxmsw26= u_xrc.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advap= i32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib= comctl32.lib rpcrt4.lib wsock32.lib opengl32.lib winmm.lib /nologo /dll /m= achine:I386 /nodefaultlib:"LIBCMT" /out:"..\dist\wxc\wxc-msw2.8.9-0.10.5.dl= l" /libpath:"..\..\wxWidgets-2.6.4\lib\vc_lib"=0D +# ADD LINK32 wxzlib.lib wxregexu.lib wxpng.lib wxjpeg.lib wxtiff.lib wxexp= at.lib wxbase26u.lib wxbase26u_net.lib wxbase26u_odbc.lib wxbase26u_xml.lib= wxmsw26u_core.lib wxmsw26u_adv.lib wxmsw26u_dbgrid.lib wxmsw26u_gl.lib wxm= sw26u_html.lib wxmsw26u_media.lib wxmsw26u_stc.lib wxmsw26u_svg.lib wxmsw26= u_xrc.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advap= i32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib= comctl32.lib rpcrt4.lib wsock32.lib opengl32.lib winmm.lib /nologo /dll /m= achine:I386 /nodefaultlib:"LIBCMT" /out:"..\dist\wxc\wxc-msw2.8.9-0.11.0.dl= l" /libpath:"..\..\wxWidgets-2.6.4\lib\vc_lib"=0D hunk ./wxc/wxc-2.6.dsp 60 -PostBuild_Cmds=3Decho Generating mingw32 import library ... ..\bin\reimp .= .\dist\wxc\wxc-msw2.8.9-0.10.5.lib move libwxc-msw2.8.9-0.10.5.a ..\dist\wx= c move wxc-msw2.8.9-0.10.5.def ..\dist\wxc echo Done.=0D +PostBuild_Cmds=3Decho Generating mingw32 import library ... ..\bin\reimp .= .\dist\wxc\wxc-msw2.8.9-0.11.0.lib move libwxc-msw2.8.9-0.11.0.a ..\dist\wx= c move wxc-msw2.8.9-0.11.0.def ..\dist\wxc echo Done.=0D hunk ./wxc/wxc-2.6.dsp 88 -# ADD LINK32 wxzlibd.lib wxregexud.lib wxpngd.lib wxjpegd.lib wxtiffd.lib = wxexpatd.lib wxbase26ud.lib wxbase26ud_net.lib wxbase26ud_odbc.lib wxbase26= ud_xml.lib wxmsw26ud_core.lib wxmsw26ud_adv.lib wxmsw26ud_dbgrid.lib wxmsw2= 6ud_gl.lib wxmsw26ud_html.lib wxmsw26ud_media.lib wxmsw26ud_stc.lib wxmsw26= ud_svg.lib wxmsw26ud_xrc.lib kernel32.lib user32.lib gdi32.lib winspool.lib= comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc= 32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib opengl32.lib winmm.= lib /nologo /dll /debug /machine:I386 /nodefaultlib:"LIBCMTD" /out:"..\dist= \wxc\wxcd-msw2.8.9-0.10.5.dll" /pdbtype:sept /libpath:"..\..\wxWidgets-2.6.= 4\lib\vc_lib"=0D +# ADD LINK32 wxzlibd.lib wxregexud.lib wxpngd.lib wxjpegd.lib wxtiffd.lib = wxexpatd.lib wxbase26ud.lib wxbase26ud_net.lib wxbase26ud_odbc.lib wxbase26= ud_xml.lib wxmsw26ud_core.lib wxmsw26ud_adv.lib wxmsw26ud_dbgrid.lib wxmsw2= 6ud_gl.lib wxmsw26ud_html.lib wxmsw26ud_media.lib wxmsw26ud_stc.lib wxmsw26= ud_svg.lib wxmsw26ud_xrc.lib kernel32.lib user32.lib gdi32.lib winspool.lib= comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc= 32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib opengl32.lib winmm.= lib /nologo /dll /debug /machine:I386 /nodefaultlib:"LIBCMTD" /out:"..\dist= \wxc\wxcd-msw2.8.9-0.11.0.dll" /pdbtype:sept /libpath:"..\..\wxWidgets-2.6.= 4\lib\vc_lib"=0D hunk ./wxc/wxc-2.6.dsp 91 -PostBuild_Cmds=3Decho Generating mingw32 import library ... ..\bin\reimp .= .\dist\wxc\wxcd-msw2.8.9-0.10.5.lib move libwxcd-msw2.8.9-0.10.5.a ..\dist\= wxc move wxcd-msw2.8.9-0.10.5.def ..\dist\wxc echo Done.=0D +PostBuild_Cmds=3Decho Generating mingw32 import library ... ..\bin\reimp .= .\dist\wxc\wxcd-msw2.8.9-0.11.0.lib move libwxcd-msw2.8.9-0.11.0.a ..\dist\= wxc move wxcd-msw2.8.9-0.11.0.def ..\dist\wxc echo Done.=0D hunk ./wxc/wxc-2.8.dsp 57 -# ADD LINK32 wxzlib.lib wxregexu.lib wxpng.lib wxjpeg.lib wxtiff.lib wxexp= at.lib wxbase28u.lib wxbase28u_net.lib wxbase28u_odbc.lib wxbase28u_xml.lib= wxmsw28u_core.lib wxmsw28u_adv.lib wxmsw28u_dbgrid.lib wxmsw28u_gl.lib wxm= sw28u_html.lib wxmsw28u_media.lib wxmsw28u_stc.lib wxmsw28u_svg.lib wxmsw28= u_xrc.lib kernel32.lib user32.lib gdi32.lib gdiplus.lib winspool.lib comdlg= 32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib = odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib opengl32.lib winmm.lib /no= logo /dll /machine:I386 /nodefaultlib:"LIBCMT" /out:"..\dist\wxc\wxc-msw2.8= .9-0.10.5.dll" /libpath:"..\..\wxWidgets-2.8.9\lib\vc_lib"=0D +# ADD LINK32 wxzlib.lib wxregexu.lib wxpng.lib wxjpeg.lib wxtiff.lib wxexp= at.lib wxbase28u.lib wxbase28u_net.lib wxbase28u_odbc.lib wxbase28u_xml.lib= wxmsw28u_core.lib wxmsw28u_adv.lib wxmsw28u_dbgrid.lib wxmsw28u_gl.lib wxm= sw28u_html.lib wxmsw28u_media.lib wxmsw28u_stc.lib wxmsw28u_svg.lib wxmsw28= u_xrc.lib kernel32.lib user32.lib gdi32.lib gdiplus.lib winspool.lib comdlg= 32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib = odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib opengl32.lib winmm.lib /no= logo /dll /machine:I386 /nodefaultlib:"LIBCMT" /out:"..\dist\wxc\wxc-msw2.8= .9-0.11.0.dll" /libpath:"..\..\wxWidgets-2.8.9\lib\vc_lib"=0D hunk ./wxc/wxc-2.8.dsp 60 -PostBuild_Cmds=3Decho Generating mingw32 import library ... ..\bin\reimp .= .\dist\wxc\wxc-msw2.8.9-0.10.5.lib move libwxc-msw2.8.9-0.10.5.a ..\dist\wx= c move wxc-msw2.8.9-0.10.5.def ..\dist\wxc echo Done.=0D +PostBuild_Cmds=3Decho Generating mingw32 import library ... ..\bin\reimp .= .\dist\wxc\wxc-msw2.8.9-0.11.0.lib move libwxc-msw2.8.9-0.11.0.a ..\dist\wx= c move wxc-msw2.8.9-0.11.0.def ..\dist\wxc echo Done.=0D hunk ./wxc/wxc-2.8.dsp 88 -# ADD LINK32 wxzlibd.lib wxregexud.lib wxpngd.lib wxjpegd.lib wxtiffd.lib = wxexpatd.lib wxbase28ud.lib wxbase28ud_net.lib wxbase28ud_odbc.lib wxbase28= ud_xml.lib wxmsw28ud_core.lib wxmsw28ud_adv.lib wxmsw28ud_dbgrid.lib wxmsw2= 8ud_gl.lib wxmsw28ud_html.lib wxmsw28ud_media.lib wxmsw28ud_stc.lib wxmsw28= ud_svg.lib wxmsw28ud_xrc.lib kernel32.lib user32.lib gdi32.lib gdiplus.lib = winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib u= uid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib opengl3= 2.lib winmm.lib /nologo /dll /debug /machine:I386 /nodefaultlib:"LIBCMTD" /= out:"..\dist\wxc\wxcd-msw2.8.9-0.10.5.dll" /pdbtype:sept /libpath:"..\..\wx= Widgets-2.8.9\lib\vc_lib"=0D +# ADD LINK32 wxzlibd.lib wxregexud.lib wxpngd.lib wxjpegd.lib wxtiffd.lib = wxexpatd.lib wxbase28ud.lib wxbase28ud_net.lib wxbase28ud_odbc.lib wxbase28= ud_xml.lib wxmsw28ud_core.lib wxmsw28ud_adv.lib wxmsw28ud_dbgrid.lib wxmsw2= 8ud_gl.lib wxmsw28ud_html.lib wxmsw28ud_media.lib wxmsw28ud_stc.lib wxmsw28= ud_svg.lib wxmsw28ud_xrc.lib kernel32.lib user32.lib gdi32.lib gdiplus.lib = winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib u= uid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib opengl3= 2.lib winmm.lib /nologo /dll /debug /machine:I386 /nodefaultlib:"LIBCMTD" /= out:"..\dist\wxc\wxcd-msw2.8.9-0.11.0.dll" /pdbtype:sept /libpath:"..\..\wx= Widgets-2.8.9\lib\vc_lib"=0D hunk ./wxc/wxc-2.8.dsp 91 -PostBuild_Cmds=3Decho Generating mingw32 import library ... ..\bin\reimp .= .\dist\wxc\wxcd-msw2.8.9-0.10.5.lib move libwxcd-msw2.8.9-0.10.5.a ..\dist\= wxc move wxcd-msw2.8.9-0.10.5.def ..\dist\wxc echo Done.=0D +PostBuild_Cmds=3Decho Generating mingw32 import library ... ..\bin\reimp .= .\dist\wxc\wxcd-msw2.8.9-0.11.0.lib move libwxcd-msw2.8.9-0.11.0.a ..\dist\= wxc move wxcd-msw2.8.9-0.11.0.def ..\dist\wxc echo Done.=0D } [Fix dropped optimization level and way to --enable-optimization option. shelarcy <she...@gm...>**20081107055743] { hunk ./configure 33 +hcopt=3D"" hunk ./configure 363 + -enable-optimization=3D*|--enable-optimization=3D*) + hcopt=3D"$arg" + enableoptimization=3D"yes";; hunk ./configure 839 - hcflags=3D"$hcflags -O2" + hcflags=3D"$hcflags -O$hcopt" } [Fix: -hcprof option's argument can disable profiling options. shelarcy <she...@gm...>**20081107060448] { hunk ./configure 34 -hcprof=3D"-prof -auto-all" +hcprof=3D"-prof" hunk ./configure 335 + hcprof=3D"$hcprof -auto-all" hunk ./configure 338 - hcprof=3D"$arg" + hcprof=3D"$hcprof $arg" } [Add --enable-library-profiling option for respecting Cabal's option name. shelarcy <she...@gm...>**20081107061223] hunk ./configure 362 + -enable-library-profiling|--enable-library-profiling) + # This option is the same as --hcprof option. + # But we added this option for repspecting Cabal's option. + hcprof=3D"$hcprof -auto-all" + enableprof=3D"yes";; [Fix: profiled version library doesn't use -dep-makefile option on GHC 6.10= .x. shelarcy <she...@gm...>**20081107065448] { hunk ./makefile.lib 142 +ifeq ($(GHCOLD),yes) +# pre GHC 6.10 hunk ./makefile.lib 147 +else +# make-hs-deps(<output .o>,<input .hs>,<compile flags>,<top output directo= ry>,<hs directories>) +make-hs-prof-deps =3D$(HC) $(2) $(3) -odir $(4) -hidir $(4) $(5) -M -dep-m= akefile -optdep$(basename $(1)).p_d.in && \ + sed -e 's|\.o|\.p_o|g' -e 's|\.hi|\.p_o|g' $(basename $(1)).p_d.in | gr= ep '^$(1)' > $(basename $(1)).p_d +endif } [Modernize FFI flags in source code. shelarcy <she...@gm...>**20081107065633] { hunk ./wxcore/src/Graphics/UI/WXCore/Types.hs 1 -{-# OPTIONS -fglasgow-exts -#include "wxc.h" #-} +{-# INCLUDE "wxc.h" #-} +{-# LANGUAGE ForeignFunctionInterface, FlexibleInstances #-} hunk ./wxcore/src/Graphics/UI/WXCore/WxcObject.hs 1 -{-# OPTIONS -cpp -fglasgow-exts -#include "wxc.h" #-} +{-# INCLUDE "wxc.h" #-} +{-# LANGUAGE CPP, ForeignFunctionInterface #-} hunk ./wxcore/src/Graphics/UI/WXCore/WxcTypes.hs 1 -{-# OPTIONS -cpp -fglasgow-exts -#include "wxc.h" #-} +{-# INCLUDE "wxc.h" #-} +{-# LANGUAGE CPP, ForeignFunctionInterface, DeriveDataTypeable #-} hunk ./wxdirect/src/CompileClasses.hs 96 - ghcoptions =3D ["{-# OPTIONS -fglasgow-exts -#include \"wxc.h= \" #-}"] + ghcoptions =3D [ "{-# INCLUDE \"wxc.h\" #-}" + , "{-# LANGUAGE ForeignFunctionInterface #-}"] } [Add Cabal's short name to --enable-optimization and --enable-library-profi= ling option. shelarcy <she...@gm...>**20081107124417] { hunk ./configure 362 + # This option is the same as --hcprof option. + # But we added this option for repspecting Cabal's option. hunk ./configure 365 - # This option is the same as --hcprof option. - # But we added this option for repspecting Cabal's option. + hcprof=3D"$hcprof -auto-all" + enableprof=3D"yes";; + # short name for --enable-library-profiling + # --p works, but -p doesn't work currently. We don't know why. + -p|--p) hunk ./configure 377 + # short name for --enable-optimization + # --O works, -On works too. But -O doesn't work currently. We don't = know why. + -O|--O) + enableoptimization=3D"yes";; + -O1|--O1) + hcopt=3D"1" + enableoptimization=3D"yes";; + -O2|--O2) + hcopt=3D"2" + enableoptimization=3D"yes";; } [Move -fvia-C compilation flag to configure option. This respect to GHC cha= nges. shelarcy <she...@gm...>**20081107125851] { hunk ./configure 287 + echo " --fvia-C use -fvia-C option" hunk ./configure 335 + -fvia-C|--fvia-C) + hcflags=3D"$hcflags -fvia-C";; hunk ./makefile 525 -WXCORE-HCFLAGS =3D$(HCFLAGS) $(PKG-CONTAINERS) $(PKG-STM) -fvia-C -package= -name $(WXCORE)-$(VERSION) +WXCORE-HCFLAGS =3D$(HCFLAGS) $(PKG-CONTAINERS) $(PKG-STM) -package-name $(= WXCORE)-$(VERSION) hunk ./makefile 714 -WX-HCFLAGS =3D$(HCFLAGS) $(PKG-STM) -fvia-C -package-name $(WX)-$(VERSION)= -package $(WXCORE)-$(VERSION) +WX-HCFLAGS =3D$(HCFLAGS) $(PKG-STM) -package-name $(WX)-$(VERSION) -packag= e $(WXCORE)-$(VERSION) } [Add GetOption / SetOption for Images (This is based on Jules Bean's work). shelarcy <she...@gm...>**20081107164839] { hunk ./wxc/include/wxc_glue.h 2709 +TStringLen wxImage_GetOption( TSelf(wxImage) _obj, TClass(wxString) name, = TStringOutVoid _buf );=0D +TBool wxImage_GetOptionInt( TSelf(wxImage) _obj, TClass(wxString) nam= e );=0D +TBool wxImage_HasOption( TSelf(wxImage) _obj, TClass(wxString) name )= ;=0D hunk ./wxc/include/wxc_glue.h 2728 +void wxImage_SetOption( TSelf(wxImage) _obj, TClass(wxString) name, = TClass(wxString) value );=0D +void wxImage_SetOptionInt( TSelf(wxImage) _obj, TClass(wxString) nam= e, int value );=0D hunk ./wxc/src/eljimage.cpp 191 - =0D +=0D +EWXWEXPORT (int, wxImage_GetOption)(wxImage* _obj, wxString* key, wxChar* = out) {=0D + wxString result =3D _obj->GetOption(*key);=0D + return copyStrToBuf(out, result);=0D +}=0D +=0D +EWXWEXPORT (int, wxImage_GetOptionInt)(wxImage* _obj, wxString* key) {=0D + return _obj->GetOptionInt(*key);=0D +}=0D +=0D +EWXWEXPORT(void, wxImage_SetOption)(wxImage* _obj, wxString* key, wxString= * value) {=0D + _obj->SetOption(*key, *value);=0D +}=0D +=0D +EWXWEXPORT(void, wxImage_SetOptionInt)(wxImage* _obj, wxString* key, int v= alue) {=0D + _obj->SetOption(*key, value);=0D +}=0D +=0D +EWXWEXPORT(int, wxImage_HasOption)(wxImage* _obj, wxString* key)=0D +{=0D + return _obj->HasOption(*key);=0D +}=0D +=0D } Context: [Fix: Camels sample don't run because of using undefined function since wxW= idgets 2.8.x support. shelarcy <she...@gm...>**20081028083424] = [Use DEPRECATED pragma instead of only haddock comment to describe deprecat= ed functions. shelarcy <she...@gm...>**20081028082515] = [Remove modification history from source code (Use darcs instead). shelarcy <she...@gm...>**20081028060925] = [Chnage source code's maintainer to be wxh...@li...= t. shelarcy <she...@gm...>**20081028060309] = [Fixed broken Haddock descriptions. shelarcy <she...@gm...>**20081028053650] = [Fix: BUILD_XRCGETCTRL_FN macro cause problem when using gcc. shelarcy <she...@gm...>**20081023141104] = [Small update to XRC support jer...@gm...**20081021104449] = [Add XRC support jer...@gm...**20081021095548] = [Use wxWidgets 2.8.9 in default when building on Windows. shelarcy <she...@gm...>**20081011042903] = [Bump version number to 0.10.5 shelarcy <she...@gm...>**20081011033152] = [Fix configure doesn't care about that users can install some version of pa= ckages. shelarcy <she...@gm...>**20081011032555] = [Use -dep-makefile instead of -optdep-f on GHC 6.10.x to avoid warning abou= t using dreprecated option message. shelarcy <she...@gm...>**20081010170230] = [Update changes.txt information by 0.10.4's changes. shelarcy <she...@gm...>**20081010160351] = [Update wx packages' description and dependency. shelarcy <she...@gm...>**20081010150113] = [Change SVG's auto-generated function name to be more friendly. shelarcy <she...@gm...>**20081010145951] = [Bump Cabal's version number to 0.10.4, too. shelarcy <she...@gm...>**20081009094345] = [Bump version number to 0.10.4 shelarcy <she...@gm...>**20081009092404] = [Fix make uninstall doesn't work well on GHC 6.10.x. shelarcy <she...@gm...>**20080930052522] = [Fix wxcore's depends field has two base package version. shelarcy <she...@gm...>**20080930052150] = [Only use wxEVT_MEDIA* when wxUSE_MEDIACTRL-flag is set mad...@ya...**20080919152917] = [Fix building with GHC 6.10.*. shelarcy <she...@gm...>**20080922155920] = [Change wxcAppUSleep to wxcMilliSleep (wxcAppUSleep is deprecated now). shelarcy <she...@gm...>**20080730094020] = [Removed unnecessary parameter from logSelect helper in Controls.hs WX samp= le jo...@gm...**20080812170441] = [Use meta tag for auto-redirect to Haskell wiki. Eric Kow <eri...@gm...>**20080805182057] = [Update links to homepage itself to point to Haskell wiki. Eric Kow <eri...@gm...>**20080805182031] = [Replace body of index.html with link to Haskell wiki Eric Kow <eri...@gm...>**20080805181958] = [Replace contents of pages which have been moved to Haskell wiki. Eric Kow <eri...@gm...>**20080805151503 Make these pages just a link to the WxHaskell part of the wiki. ] = [Update homepage menus to link to Haskell wiki. Eric Kow <eri...@gm...>**20080805150421] = [Fix typo in contribute.html Eric Kow <eri...@gm...>**20080805101258] = [Fix: we can't build wxc without wxGraphicsContext support. shelarcy <she...@gm...>**20080729111606] = [Use wxWidgets 2.8.8 in default when building on Windows. shelarcy <she...@gm...>**20080729105641] = [Fix building with old version of Visual Studio (according to John Lask). shelarcy <she...@gm...>**20080709063851] = [Fix: linking incorrect runtime on Visual Studio (pointed out by John Lask)= . shelarcy <she...@gm...>**20080709063820] = [Add download link to two GHC 6.8.3's binary. shelarcy <she...@gm...>**20080630144522] = [Fix Building without WXWIN_COMPATIBILITY_2_6 in eljrc.cpp. shelarcy <she...@gm...>**20080630120326] = [Fix: hardcoded keycode doesn't work well when using wxWidgets 2.8.x. shelarcy <she...@gm...>**20080630120118] = [Clean up duplicate ewxw_def.h file. shelarcy <she...@gm...>**20080628114449] = [Remove wxScintilla code (use wxStyledTextCtrl instead). shelarcy <she...@gm...>**20080626055907] = [Fix: eljdcsvg.cpp doesn't build other than Windows. shelarcy <she...@gm...>**20080625095858] = [Just reviving ELJ's wxXmlResource code. shelarcy <she...@gm...>**20080625052046] = [Use Int64 representing wxFileOffset type. shelarcy <she...@gm...>**20080624152015] = [Add dropped wxMedia's events to wxc. shelarcy <she...@gm...>**20080624140139] = [Add dropped wx*DCs. shelarcy <she...@gm...>**20080624122641] = [Update building information about --with-contrib option. shelarcy <she...@gm...>**20080624113243] = [Revive wxSVGFileDC code. shelarcy <she...@gm...>**20080624113214] = [Change --with-stc to --with-contrib for future contrib libraries support. shelarcy <she...@gm...>**20080624032429] = [Update information about builiding wxWidgets and wxc with Microsoft Visual= C++ Express Edition. shelarcy <she...@gm...>**20080624023628] = [Fix #1400488: Win install problem when path with spaces, e.g. "Program Fil= es". shelarcy <she...@gm...>**20080624020657] = [Partialy fix a bug in wxhaskell-register.bat. shelarcy <she...@gm...>**20080623152256] = [Add --enable-optimization opition for building library with optimization f= lags. shelarcy <she...@gm...>**20080531114050] = [Use CDouble and realToFrac instead of marshaling Double type directly. shelarcy <she...@gm...>**20080530024730] = [Remove unused make before-dist. shelarcy <she...@gm...>**20080529120234] = [Fix a bug in haddock documentation structure of Rectangle. shelarcy <she...@gm...>**20080529111415] = [Use putTraceMsg instead of hPutStrLn for Windows GUI-only program. shelarcy <she...@gm...>**20080526070627] = [Add very experimental wxGraphicsContext support. shelarcy <she...@gm...>**20080526063228] = [Change Point, Size, Vector and Rect to be type synonym for adding wxGraphi= csContext support. shelarcy <she...@gm...>**20080526055033] = [Fix: wxSound isn't managed object. shelarcy <she...@gm...>**20080524021436] = [Remove wxWidgets 2.4.x's wxWave code. shelarcy <she...@gm...>**20080430002921] = [Remove Wave type synonym. shelarcy <she...@gm...>**20080429233348] = [Change samples/contrib/PaintDirect to use withPixelBuffer instead of image= GetPixelBuffer. shelarcy <she...@gm...>**20080429232026] = [Change imageGetPixelArray and imageCreateFromPixelArray to be more flexibl= e. shelarcy <she...@gm...>**20080429183518] = [Fix: some samples don't run because of using undefined function since wxWi= dgets 2.8.x support. shelarcy <she...@gm...>**20080429145931] = [Add note about defaultButton's incompatible change since wxWidgets 2.8.x s= upport. shelarcy <she...@gm...>**20080429141545] = [Change Var type synonym from IORef to stm's TVar for thread safety. shelarcy <she...@gm...>**20080425114909] = [Fix: dists dropped two samples in samples/wx direcotory. shelarcy <she...@gm...>**20080425102416] = [Clean up wxWindows class's function declaration. shelarcy <she...@gm...>**20080425054152] = [Clean up #ifdef wxUSE_UNICODE flag by wxStrdup function. shelarcy <she...@gm...>**20080425051404] = [Replace _wcsdup with wxStrdup in wxWidgets 2.8 compat code. Eric Kow <eri...@gm...>**20080420115042 According to shelarcy and Jeremy, _wcsdup is Windows-specific. ] = [wxWidgets 2.8.7 on 0.10.3 release version jer...@gm...**20080410134132] = [TAG wxWidgets2.8.7_on_0.10.3rc1 jer...@gm...**20080410113256] = [Add TopLevelWindow for wxWidgets 2.8.7 support jer...@gm...**20080410113113] = [Preliminary wxWidgets 2.8.7 support jer...@gm...**20080410112559] = [Shifted to Pavel's Debian build system Mads Lindstroem <mad...@ya...>**20080413131752 = I have changed the current Debian build system to the one made by Pavel Shramov. It is a lot simpler than the current one. Also it is similar to what can normally be found in the Debian archieve, and I therefore assume that it will be easier to some day get an offecial WxHaskell Debian package. = All of the files in the debian directory is the work of Pavel. = I changed only one thing, as compared to Pavel's version. Namely that I removed the dependcy on libghc6-time-dev. I did it, as this dependency makes the package un-buildable on Debian unstable (GHC 6.8). At release 0.10.3, some users requested a GHC 6.8 version, and it is therefore important that we can provide one. = = ] = [Removed check for Data.Time Mads Lindstroem <mad...@ya...>**20080413114242 = Removed the check for Data.Time as it is not needed. I originally added it as I had somehow overlooked the Debian package libghc6-time-dev. Sorry about the unneccessary noise :( = ] = [Fix: samples/wx/makefile's "make clean" doesn't clean Windows things. shelarcy <she...@gm...>**20080409133446] = [Fix 1932640: samples/wx/FileBrowse is broken on Windows. = shelarcy <she...@gm...>**20080409132157] = [Add containers package dependency to wxcore.cabal. shelarcy <she...@gm...>**20080328131307] = [Remove IntMap from wxcore. Use the containers version instead. shelarcy <she...@gm...>**20080328131144] = [Add containers package to wxcore. shelarcy <she...@gm...>**20080328123744] = [Remove Set from wxdirect. Use the containers version instead. Eric Kow <eri...@gm...>**20080322140544] = [Remove Map from wxdirect. Use the containers version instead. Eric Kow <eri...@gm...>**20080322140245] = [Add containers package to wxdirect. Eric Kow <eri...@gm...>**20080322135933] = [Split makefile entry for wxdirect containers into separate lines. Eric Kow <eri...@gm...>**20080322135824 For more independence between patches which remove Map, Set and MultiSet in favour of the containers version. ] = [Use string comparison in haddockversion test. Eric Kow <eri...@gm...>**20080326224059 Again, for the case where haddock is not found. ] = [Fix bug in configure script if Haddock is not found. Eric Kow <eri...@gm...>**20080324155706 (discovered by S. Doaitse Swierstra) ] = [Add wx/license.txt to srcdist (to avoid build error). Eric Kow <eri...@gm...>**20080323125315] = [Fix download link typos. Eric Kow <eri...@gm...>**20080322130605] = [Kill a broken link (we no longer use CVS). Eric Kow <eri...@gm...>**20080322125822] = [Overwrite 0.10.3rc1 news with proper 0.10.3 news. Eric Kow <eri...@gm...>**20080322125032] = [TAG 0.10.3 Eric Kow <eri...@gm...>**20080321183613] = Patch bundle hash: b3c0419094db14e92393b31fff7832c69813a0c7 --=_-- . |
From: shelarcy <she...@gm...> - 2008-11-07 02:23:37
|
Hi, I made patch for this problem. Attached is a patch for that. Please test. Best Regards, On Mon, 03 Nov 2008 23:46:25 +0900, shelarcy <she...@gm...> wrote: >> While wxHaskell compiles and installs, I get the following error when >> trying to compile one of the example programs: >> >>> make all >> ghc -package wx -o BouncingBalls BouncingBalls.hs >> /home/ghctest/lib/libwxcore2.a(WxcClassesMZ.o): In function `s1iiL_info': >> ghc31980_0.hc:(.text+0x12d84d): undefined reference to `wxXmlResource_GetStyledTextCtrl' >> collect2: ld returned 1 exit status >> make: *** [BouncingBalls] Error 1 > > (snip) > > So, we can fix this problem by following change. > > #ifdef wxUSE_STC > BUILD_XRCGETCTRL_FN(StyledTextCtrl) > #else > EWXWEXPORT(void*, wxXmlResource_StyledTextCtrl)(wxWindow* _win, wxString* _str_id) > { > return NULL; > } > #endif > > http://www.mail-archive.com/wxh...@li.../msg00273.html -- shelarcy <shelarcy hotmail.co.jp> http://page.freett.com/shelarcy/ |
From: Mads L. <mad...@ya...> - 2008-11-05 20:46:39
|
Hi, > Hi Mads, > > thanks a lot for your reply. I wasn't subscribed to wxhaskell-develop > yet so I only today realized you answered my posting. > > I applied your supposal on my Windows machine with the following > results: wxExecProcess now indeed yields output on stderr, but output on > both stdout and stderr are somewhat incomplete (with no change when > setting output buffering in processtest.exe to NoBuffering): > > display on stdout frame: > > Stdout: 100: Info > 98: Info > 96: Info > 94: Info > 92: Info > 90: Info > 88: Info > 86: Info > 84: Info > 82: Info > Stdout: > 80: Info > 78: Info > ... > > and on stderr frame: > > Stderr: 99: Error > 97: Error > 95: Error > 93: Error > 91: Error > 89: Error > 87: Error > 85: ErroStderr: r > 83: Error > ... > > That is, the first 8 bytes (Stdout: / Stderr: ) are most of the time > vanished. Whereas processExecAsyncTimed yields the correct output (of > course only on stdout): > > Stdout: 100: Info > Stdout: 98: Info > Stdout: 96: Info > Stdout: 94: Info > ... > > Do you have any idea? (Before starting to delve deep into the process > management myself...) Nope, I have no idea why it do not work for you - sorry :( /Mads Lindstrøm > > Thanks again, > Bernd > > > Hi Bernd > > > > Bernd Holzmüller wrote: > >> Hi all, > >> > >> I am developing a test management GUI where processes are started and > >> their output (on stdout and stderr) are shown on corresponding console > >> windows. The process management worked quite OK with version 0.9.4 but > >> does no longer work in version 0.10.3 (using ghc 6.8.3 on Windows XP). > >> > >> The attached small example application shows what happens: with > >> processExecAsync only garbage is shown on both the stdout and the stderr > >> console window, with processExecAsyncTimed the stdout console works > >> fine, but the stderr console shows nothing. Main.hs is the wxHaskell GUI > >> with two buttons, both calling the application compiled from > >> Testproc.hs, one using processExecAsync, one using the Timed variant. > >> The attached makefile builds everything. > >> > >> If someone with understanding of the internals of wxHaskell could have a > >> look on this topic, I would be very grateful. Perhaps the (soon?) coming > >> new wxHaskell version 0.11 will do correctly? > >> > >> Thanks, > >> Bernd > >> > > > > Your processExecAsyncTimed example works on Linux. But of cause that do > > not help you much. The processExecAsync example do not work on Linux > > either. > > > > A while ago I got tired of the hard-to-get-to-work nature of > > processExecAsyncTimed and therefore wrote my own process executor. I > > have attached my own process executor and an adapted version of your > > code, which works for me (on Linux). You will have to adapt it a little > > bit to work on windows (properly just changing "./testproc.exe" to > > "testproc" should do). > > > > I would love to hear if it works on your machine. > > > > > > Greetings, > > > > Mads Lindstrøm > > > > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > wxhaskell-devel mailing list > wxh...@li... > https://lists.sourceforge.net/lists/listinfo/wxhaskell-devel |
From: Bernd H. <ber...@ic...> - 2008-11-05 12:57:16
|
Hi Mads, thanks a lot for your reply. I wasn't subscribed to wxhaskell-develop yet so I only today realized you answered my posting. I applied your supposal on my Windows machine with the following results: wxExecProcess now indeed yields output on stderr, but output on both stdout and stderr are somewhat incomplete (with no change when setting output buffering in processtest.exe to NoBuffering): display on stdout frame: Stdout: 100: Info 98: Info 96: Info 94: Info 92: Info 90: Info 88: Info 86: Info 84: Info 82: Info Stdout: 80: Info 78: Info ... and on stderr frame: Stderr: 99: Error 97: Error 95: Error 93: Error 91: Error 89: Error 87: Error 85: ErroStderr: r 83: Error ... That is, the first 8 bytes (Stdout: / Stderr: ) are most of the time vanished. Whereas processExecAsyncTimed yields the correct output (of course only on stdout): Stdout: 100: Info Stdout: 98: Info Stdout: 96: Info Stdout: 94: Info ... Do you have any idea? (Before starting to delve deep into the process management myself...) Thanks again, Bernd > Hi Bernd > > Bernd Holzmüller wrote: >> Hi all, >> >> I am developing a test management GUI where processes are started and >> their output (on stdout and stderr) are shown on corresponding console >> windows. The process management worked quite OK with version 0.9.4 but >> does no longer work in version 0.10.3 (using ghc 6.8.3 on Windows XP). >> >> The attached small example application shows what happens: with >> processExecAsync only garbage is shown on both the stdout and the stderr >> console window, with processExecAsyncTimed the stdout console works >> fine, but the stderr console shows nothing. Main.hs is the wxHaskell GUI >> with two buttons, both calling the application compiled from >> Testproc.hs, one using processExecAsync, one using the Timed variant. >> The attached makefile builds everything. >> >> If someone with understanding of the internals of wxHaskell could have a >> look on this topic, I would be very grateful. Perhaps the (soon?) coming >> new wxHaskell version 0.11 will do correctly? >> >> Thanks, >> Bernd >> > > Your processExecAsyncTimed example works on Linux. But of cause that do > not help you much. The processExecAsync example do not work on Linux > either. > > A while ago I got tired of the hard-to-get-to-work nature of > processExecAsyncTimed and therefore wrote my own process executor. I > have attached my own process executor and an adapted version of your > code, which works for me (on Linux). You will have to adapt it a little > bit to work on windows (properly just changing "./testproc.exe" to > "testproc" should do). > > I would love to hear if it works on your machine. > > > Greetings, > > Mads Lindstrøm |
From: shelarcy <she...@gm...> - 2008-11-03 23:29:11
|
On Tue, 04 Nov 2008 02:39:43 +0900, Henk-Jan van Tuyl <hj...@ch...> wrote: > That solves it; one item remains however: > samples\contrib> ghc --make PaintDirect.hs > [1 of 1] Compiling Main ( PaintDirect.hs, PaintDirect.o ) > > PaintDirect.hs:9:0: > Warning: Deprecated use of `imageGetPixelBuffer' > (imported from Graphics.UI.WXCore, but defined in > Graphics.UI.WXCore.Image): > Use withPixelBuffer instead I solved this problem in the darcs repository. http://code.haskell.org/wxhaskell/samples/contrib/PaintDirect.hs So, you can fix this problem by using darcs version, or applying this change. http://code.haskell.org/wxhaskell/_darcs/patches/20080429232026-c1071-26eace0f369f4fc73e456bebddef0cd6b431539b.gz Best Regards, -- shelarcy <shelarcy hotmail.co.jp> http://page.freett.com/shelarcy/ |
From: Henk-Jan v. T. <hj...@ch...> - 2008-11-03 19:25:12
|
On Mon, 03 Nov 2008 16:24:17 +0100, shelarcy <she...@gm...> wrote: > > So, you can fix sample programs' problem by undoing this change or using > wxhaskell-src-0.10.3.zip's sample. > > That solves it; one item remains however: samples\contrib> ghc --make PaintDirect.hs [1 of 1] Compiling Main ( PaintDirect.hs, PaintDirect.o ) PaintDirect.hs:9:0: Warning: Deprecated use of `imageGetPixelBuffer' (imported from Graphics.UI.WXCore, but defined in Graphics.UI.WXCore.Image): Use withPixelBuffer instead -- Regards, Henk-Jan van Tuyl -- http://functor.bamikanarie.com http://Van.Tuyl.eu/ -- |
From: shelarcy <she...@gm...> - 2008-11-03 15:24:32
|
Hi Henk-Jan, I'm sorry about my reply is late. I didn't know what do you want to say long time. I get similar problem when testing Camels' sample Tuesday. So, I know your problem now. On Thu, 16 Oct 2008 07:33:57 +0900, Henk-Jan van Tuyl <hj...@ch...> wrote: > Trying to compile the sample programs in the wxHaskell package, I received > several compiler error messages: > > [...]\Haskell\GUI\wxhaskell\wxhaskell-0.10.3\samples\wx> for %a in (*.hs) > do ghc --make %a > [...] > C:\Documents and Settings\Henk-Jan\Mijn > documenten\SoftwareOntwikkeling\Haskell\GUI\wxhaskell\wxhaskell-0.10.3\samples\wx>ghc > --make TimeFlowsEx.hs > [1 of 1] Compiling Main ( TimeFlowsEx.hs, TimeFlowsEx.o ) > > TimeFlowsEx.hs:113:14: > Couldn't match expected type `CDialog ()' > against inferred type `CPanel p' > Expected type: Attr (Dialog ()) a > Inferred type: Attr (Panel p) (Button ()) > In the first argument of `(:=)', namely `defaultButton' > In the expression: defaultButton := ok > > > [...]\Haskell\GUI\wxhaskell\wxhaskell-0.10.3\samples\wxcore>for %a in > (*.hs) do ghc --make %a > > [...] > [...]\Haskell\GUI\wxhaskell\wxhaskell-0.10.3\samples\wxcore>ghc --make > ByeDemo.hs > [1 of 1] Compiling Main ( ByeDemo.hs, ByeDemo.o ) > > ByeDemo.hs:36:7: Not in scope: `topLevelWindowSetDefaultItem' > [...] > [...]\Haskell\GUI\wxhaskell\wxhaskell-0.10.3\samples\wxcore>ghc --make > ImageViewer.hs > [1 of 1] Compiling Main ( ImageViewer.hs, ImageViewer.o ) > > ImageViewer.hs:40:7: Not in scope: `topLevelWindowSetIconFromFile' I missed push this change when building GHC 6.8.3's wxhaskell 0.10.3 binary distribution. http://code.haskell.org/wxhaskell/_darcs/patches/20080429145931-c1071-b06747db78819af53a2ee64a0d344acf158e9041.gz So, you can fix sample programs' problem by undoing this change or using wxhaskell-src-0.10.3.zip's sample. Best Regards, -- shelarcy <shelarcy hotmail.co.jp> http://page.freett.com/shelarcy/ |
From: shelarcy <she...@gm...> - 2008-11-03 14:57:15
|
Jeremy, do you have another solution of this problem? You are using macro this part. And we must extend wxXmlResource_*** function when we add more control's support. So, I think we need to change or add macro instead of to use manually created fuction. Best Regards, On Mon, 03 Nov 2008 23:46:25 +0900, shelarcy <she...@gm...> wrote: > Hi, > > On Sun, 02 Nov 2008 18:11:29 +0900, Mads Lindstrøm <mad...@ya...> wrote: >> After the XRC additions (the "Add XRC support" path) I have not been >> able to compile the test programs, and I guess any other programs >> either. >> >> While wxHaskell compiles and installs, I get the following error when >> trying to compile one of the example programs: >> >>> make all >> ghc -package wx -o BouncingBalls BouncingBalls.hs >> /home/ghctest/lib/libwxcore2.a(WxcClassesMZ.o): In function `s1iiL_info': >> ghc31980_0.hc:(.text+0x12d84d): undefined reference to `wxXmlResource_GetStyledTextCtrl' >> collect2: ld returned 1 exit status >> make: *** [BouncingBalls] Error 1 > > It seems that wxdirect generates undefined reference to wxXmlResource_GetStyledTextCtrl. > Problem is come from eljrc.cpp's below part. > > #ifdef wxUSE_STC > BUILD_XRCGETCTRL_FN(StyledTextCtrl) > #endif > >> Anybody has a clue to what to do about the problem? > > So, we can fix this problem by following change. > > #ifdef wxUSE_STC > BUILD_XRCGETCTRL_FN(StyledTextCtrl) > #else > EWXWEXPORT(void*, wxXmlResource_StyledTextCtrl)(wxWindow* _win, wxString* _str_id) > { > return NULL; > } > #endif > > http://www.mail-archive.com/wxh...@li.../msg00273.html -- shelarcy <shelarcy hotmail.co.jp> http://page.freett.com/shelarcy/ |
From: shelarcy <she...@gm...> - 2008-11-03 14:46:40
|
Hi, On Sun, 02 Nov 2008 18:11:29 +0900, Mads Lindstrøm <mad...@ya...> wrote: > After the XRC additions (the "Add XRC support" path) I have not been > able to compile the test programs, and I guess any other programs > either. > > While wxHaskell compiles and installs, I get the following error when > trying to compile one of the example programs: > >> make all > ghc -package wx -o BouncingBalls BouncingBalls.hs > /home/ghctest/lib/libwxcore2.a(WxcClassesMZ.o): In function `s1iiL_info': > ghc31980_0.hc:(.text+0x12d84d): undefined reference to `wxXmlResource_GetStyledTextCtrl' > collect2: ld returned 1 exit status > make: *** [BouncingBalls] Error 1 It seems that wxdirect generates undefined reference to wxXmlResource_GetStyledTextCtrl. Problem is come from eljrc.cpp's below part. #ifdef wxUSE_STC BUILD_XRCGETCTRL_FN(StyledTextCtrl) #endif > Anybody has a clue to what to do about the problem? So, we can fix this problem by following change. #ifdef wxUSE_STC BUILD_XRCGETCTRL_FN(StyledTextCtrl) #else EWXWEXPORT(void*, wxXmlResource_StyledTextCtrl)(wxWindow* _win, wxString* _str_id) { return NULL; } #endif http://www.mail-archive.com/wxh...@li.../msg00273.html Best Regards, -- shelarcy <shelarcy hotmail.co.jp> http://page.freett.com/shelarcy/ |
From: Mads L. <mad...@ya...> - 2008-11-02 09:26:35
|
Hi After the XRC additions (the "Add XRC support" path) I have not been able to compile the test programs, and I guess any other programs either. While wxHaskell compiles and installs, I get the following error when trying to compile one of the example programs: > make all ghc -package wx -o BouncingBalls BouncingBalls.hs /home/ghctest/lib/libwxcore2.a(WxcClassesMZ.o): In function `s1iiL_info': ghc31980_0.hc:(.text+0x12d84d): undefined reference to `wxXmlResource_GetStyledTextCtrl' collect2: ld returned 1 exit status make: *** [BouncingBalls] Error 1 I guess it is a problem with my underlying wxWidgets library. But compiling wxWidgets with xrc enabled did not solve my problem. I use version 2.8 of wxWidgets. Anybody has a clue to what to do about the problem? Greetings, Mads Lindstrøm |