From: shelarcy <she...@gm...> - 2008-04-29 18:43:47
|
DarcsURL: C:/home/shelarcy/wxhaskell MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=_" --=_ Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Tue Apr 29 23:15:45 =93=8C=8B=9E (=95W=8F=80=8E=9E) 2008 shelarcy <shelarc= y...@gm...> * Add note about defaultButton's incompatible change since wxWidgets 2.8.= x support. Tue Apr 29 23:59:31 =93=8C=8B=9E (=95W=8F=80=8E=9E) 2008 shelarcy <shelarc= y...@gm...> * Fix: some samples don't run because of using undefined function since w= xWidgets 2.8.x support. Wed Apr 30 03:35:18 =93=8C=8B=9E (=95W=8F=80=8E=9E) 2008 shelarcy <shelarc= y...@gm...> * Change imageGetPixelArray and imageCreateFromPixelArray to be more flex= ible. --=_ Content-Type: text/x-darcs-patch; name="add-note-about-defaultbutton_s-incompatible-change-since-wxwidgets-2_8_x-support_.dpatch" Content-Transfer-Encoding: quoted-printable Content-Description: A darcs patch for your repository! New patches: [Add note about defaultButton's incompatible change since wxWidgets 2.8.x s= upport. shelarcy <she...@gm...>**20080429141545] { hunk ./wx/src/Graphics/UI/WX/Controls.hs 90 +-- Note: 'defaultButton' attibute is removed. Set 'defaultButton' to paren= t +-- 'Frame' or 'Dialog' instead of this control now. This is an incompatibl= e +-- change to support wxWidgets 2.8.x. +-- hunk ./wx/src/Graphics/UI/WX/Controls.hs 106 +-- Note: 'defaultButton' attibute is removed. Set 'defaultButton' to paren= t +-- 'Frame' or 'Dialog' instead of this control now. This is an incompatibl= e +-- change to support wxWidgets 2.8.x. +-- } [Fix: some samples don't run because of using undefined function since wxWi= dgets 2.8.x support. shelarcy <she...@gm...>**20080429145931] { hunk ./samples/wx/Layout.hs 21 - set p [defaultButton :=3D ok] - set f [layout :=3D container p $ + set f [defaultButton :=3D ok + ,layout :=3D container p $ hunk ./samples/wx/TimeFlowsEx.hs 113 - set p [defaultButton :=3D ok] - set d [layout :=3D container p $ margin 10 $ = + set d [defaultButton :=3D ok + ,layout :=3D container p $ margin 10 $ = hunk ./samples/wxcore/ByeDemo.hs 36 - panelSetDefaultItem p b + topLevelWindowSetDefaultItem f b hunk ./samples/wxcore/ImageViewer.hs 40 - frameSetIconFromFile f "../bitmaps/eye.ico" + topLevelWindowSetIconFromFile f "../bitmaps/eye.ico" } [Change imageGetPixelArray and imageCreateFromPixelArray to be more flexibl= e. shelarcy <she...@gm...>**20080429183518] { hunk ./wxcore/src/Graphics/UI/WXCore/Image.hs 1 +{-# LANGUAGE FlexibleContexts #-} hunk ./wxcore/src/Graphics/UI/WXCore/Image.hs 58 -import Data.Array +import Data.Array.IArray ( IArray, listArray, bounds, elems ) hunk ./wxcore/src/Graphics/UI/WXCore/Image.hs 342 -imageGetPixelArray :: Image a -> IO (Array Point Color) +imageGetPixelArray :: (IArray a Color) =3D> Image b -> IO (a Point Color) hunk ./wxcore/src/Graphics/UI/WXCore/Image.hs 351 -imageCreateFromPixelArray :: Array Point Color -> IO (Image ()) +imageCreateFromPixelArray :: (IArray a Color) =3D> a Point Color -> IO (Im= age ()) hunk ./wxcore/src/Graphics/UI/WXCore/WxcTypes.hs 2 +{-# LANGUAGE GeneralizedNewtypeDeriving #-} hunk ./wxcore/src/Graphics/UI/WXCore/WxcTypes.hs 49 - , Color, rgb, colorRGB, colorRed, colorGreen, colorBlue, intFr= omColor, colorFromInt, colorOk + , Color(..), rgb, colorRGB, colorRed, colorGreen, colorBlue, i= ntFromColor, colorFromInt, colorOk hunk ./wxcore/src/Graphics/UI/WXCore/WxcTypes.hs 115 +import Data.Array.MArray (MArray) +import Data.Array.Unboxed (IArray, UArray) hunk ./wxcore/src/Graphics/UI/WXCore/WxcTypes.hs 990 +-- +-- Note: Haddock 0.8 and 0.9 doesn't support GeneralizedNewtypeDeriving.= So, This class +-- doesn't have 'IArray' class's unboxed array instance now. If you want= to use this type +-- with unboxed array, you must write code like this. +-- +-- > {-# LANGUAGE GeneralizedNewtypeDeriving, StandaloneDeriving, MultiPar= amTypeClasses #-} +-- > import Graphics.UI.WXCore.WxcTypes +-- > ... +-- > deriving instance IArray UArray Color +-- +-- We can't derive 'MArray' class's unboxed array instance this way. Thi= s is a bad point +-- of current 'MArray' class definition. +-- hunk ./wxcore/src/Graphics/UI/WXCore/WxcTypes.hs 1004 - deriving (Eq,Typeable) + deriving (Eq, Typeable) -- , IArray UArray) = } Context: [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: cfba6fb479c7c1bd8510d800fcb143c584dbc508 --=_-- . |