From: Duncan C. <dun...@wo...> - 2005-05-11 12:28:02
|
On Wed, 2005-05-11 at 09:24 +0100, Axel Simon wrote: > On Wed, 2005-05-11 at 03:43 +0100, Duncan Coutts wrote: > > I wonder what msi builder tool they use for ghc. > > I think they Sigbjorne uses some MS software, but I'm not sure. I emailed him to ask. > There are a few msi creator on Sourceforge that take an XML > description as an input which is CVS friendly. I don't really look > forward in spending my time on digging into MSI creation. Yes, I know what you mean. Building an msi installer was my first task at my job a couple years ago. Not fun (though their's was more complicated as it was interactive and the InstallShield tool they used was full of bugs). > Can they share? Well, I think if the user gets the rowstride wrong they > will see it. At least it won't crash as the MArray is bound checked. Yes, that seems fine to me. > GHC provides functions called unsafeRead and unsafeWrite, though... In which case people deserve all they get! > > Do we want to add any higher level / convenience functions or perhaps > > wait and see what people want / use and add such things later? > > We could/should a 'putPixel' function as a comment into the code. Nobody > should want to use such a function since it's slow, but it conveys the > concept. That's not a bad idea. The GdkPixbuf C API reference documentation provides code to show how a put pixel function would work (but says that obviously people will not want to draw pixel by pixel) Duncan |