Ticket #4122: monoid-deps.dpatch

File monoid-deps.dpatch, 33.7 KB (added by tibbe, 3 years ago)
Line 
11 patch for repository /usr/local/google/src/base-event:
2
3Mon Jun  7 17:58:16 CEST 2010  Johan Tibell <johan.tibell@gmail.com>
4  * Remove Prelude dependency from Data.Monoid
5 
6  This removes an import cycle involving the new I/O manager code.
7
8New patches:
9
10[Remove Prelude dependency from Data.Monoid
11Johan Tibell <johan.tibell@gmail.com>**20100607155816
12 Ignore-this: 6982a1b77cfe51ec3506f056bdec56e6
13 
14 This removes an import cycle involving the new I/O manager code.
15] {
16hunk ./Data/Monoid.hs 33
17         Last(..)
18   ) where
19 
20+-- Push down the module in the dependency hierarchy.
21+#if defined(__GLASGOW_HASKELL__)
22+import GHC.Base hiding (Any)
23+import GHC.Enum
24+import GHC.Num
25+import GHC.Read
26+import GHC.Show
27+import Data.Maybe
28+#else
29 import Prelude
30hunk ./Data/Monoid.hs 43
31+#endif
32 
33 {-
34 -- just for testing
35}
36
37Context:
38
39[Attempt to untangle part of the module mess
40Bryan O'Sullivan <bos@serpentine.com>**20100607012643
41 Ignore-this: 9b599d3270e901476e7a907e532e0121
42]
43[Switch to Maybe, remove some dead code
44Bryan O'Sullivan <bos@serpentine.com>**20100607003039
45 Ignore-this: da4278964fde5881516b257762867565
46]
47[Remove ambiguous copy of startIOManagerThread
48Bryan O'Sullivan <bos@serpentine.com>**20100607002345
49 Ignore-this: edc37101dbff89ceeae5cfe2532d602c
50]
51[Fix parts of the build
52Bryan O'Sullivan <bos@serpentine.com>**20100606210421
53 Ignore-this: 5145c1c6bcc23d781e15deb1fed46698
54 
55 We're still stuck:
56 
57 libraries/base/GHC/Conc.lhs:1:1:
58     Circular imports: module `GHC.Conc' depends on itself
59 
60]
61[Patch event code in
62Bryan O'Sullivan <bos@serpentine.com>**20100606210344
63 Ignore-this: bbded0f57b793a2c2e3559ac2c6ab025
64]
65[Move files around
66Bryan O'Sullivan <bos@serpentine.com>**20100606204929
67 Ignore-this: 94052d7f77a90ab0e945e90ed79fc2e
68]
69[bump version to 4.3.0.0, added instance MonadPlus STM
70Simon Marlow <marlowsd@gmail.com>**20100601144831
71 Ignore-this: 7c3cf7574499c4267372493f2636dc0
72]
73[Moved MonadPlus instance for STM from Control.Monad.STM to GHC.Conc to avoid an orphaned instance
74Bas van Dijk <v.dijk.bas@gmail.com>**20100516160651
75 Ignore-this: 651b852942b2fae2b93f996e39239b8f
76]
77[Added Applicative and Alternative instances for STM
78Bas van Dijk <v.dijk.bas@gmail.com>**20100516171756
79 Ignore-this: 567003bc4040bc97105cda4d31ebf04a
80]
81[expand Foldable instance for Array
82Ross Paterson <ross@soi.city.ac.uk>**20100602212154
83 Ignore-this: 9bd9e9666a9400431eb92352244fe7e7
84]
85[doc comment illustrating Foldable(foldr)
86Ross Paterson <ross@soi.city.ac.uk>**20100527150833
87 Ignore-this: 8f27d889379803f3ba86d6e928428f3c
88]
89[fix syntax in doc comments
90Ross Paterson <ross@soi.city.ac.uk>**20100527150757
91 Ignore-this: cb78da51d60ff6863dc395f1a892c103
92]
93[export hGetBufSome (#4046)
94Simon Marlow <marlowsd@gmail.com>**20100520093538
95 Ignore-this: f467fad9722e27edfad6b3dd75290e7b
96]
97[hWaitForInput: don't try to read from the device (#4078)
98Simon Marlow <marlowsd@gmail.com>**20100517133741
99 Ignore-this: 55ec33b03397380259b91e4ca62207a6
100 readTextDeviceNonBlocking is not non-blocking on Windows
101]
102[hSetEncoding: change the encoding on both read and write sides (#4066)
103Simon Marlow <marlowsd@gmail.com>**20100514124628
104 Ignore-this: 5b9e9caef06356d0296c584159709ebb
105]
106[Correct haddock formatting.
107Adam Vogt <vogt.adam@gmail.com>**20100423022103
108 Ignore-this: d2622339302048fda48080f7d5ce4a2f
109]
110[Fix for hGetBufSome
111Simon Marlow <marlowsd@gmail.com>**20100505135637
112 Ignore-this: 2019680f8fb223956cacfcf0d046f133
113]
114[improve the documentation for throwTo and killThread (#3884)
115Simon Marlow <marlowsd@gmail.com>**20100505135600
116 Ignore-this: ce881d96ddb729acb6ca09c779975e7d
117]
118[elaborate the docs for unsafePerformIO a bit
119Simon Marlow <marlowsd@gmail.com>**20100505101249
120 Ignore-this: 1cec3f67560b672c64c5a0dcf9a79eb7
121]
122[add Typeable instance
123Simon Marlow <marlowsd@gmail.com>**20100504152815
124 Ignore-this: 6d9cf9d62f0ef17fa459bf213a04098
125]
126[Add hGetBufSome, like hGetBuf but can return short reads
127Simon Marlow <marlowsd@gmail.com>**20100504152759
128 Ignore-this: 195c905b43f8d9505029364e2c5b18e
129]
130[Add swap (#3298)
131Simon Marlow <marlowsd@gmail.com>**20100504095339
132 Ignore-this: 13b007dc4594ce252997ec6fa0bbd976
133]
134[inline allocaArray0, to fix withCString benchmark
135Simon Marlow <marlowsd@gmail.com>**20100423124729
136 Ignore-this: 35c96816acc2f3aaf9dd29f7995fa6f0
137]
138[raise asynchronous exceptions asynchronously (#3997)
139Simon Marlow <marlowsd@gmail.com>**20100421094932
140 Ignore-this: 6d987d93d382c0f69c68c326312abd6b
141]
142[add NOINLINE pragmas for stdin/stdout/stderr
143Simon Marlow <marlowsd@gmail.com>**20100421082041
144 Ignore-this: 3fc130268ec786f28d945858d6690986
145]
146[INLINE alloca and malloc
147Simon Marlow <marlowsd@gmail.com>**20100419135333
148 Ignore-this: b218bd611f18721b1505a8c0b9e6a16a
149 See discussion on glasgow-haskell-users:
150   http://www.haskell.org/pipermail/glasgow-haskell-users/2010-April/018740.html
151]
152[Move comment closer to the offending line
153Matthias Kilian <kili@outback.escape.de>**20100419155421
154 Ignore-this: b34a1d7affd66f67d210df2377b585d9
155]
156[Ignore the return code of c_fcntl_write again
157Matthias Kilian <kili@outback.escape.de>**20100415140452
158 Ignore-this: 266d8ba02cc3cb79c85629b3528261c9
159 
160 The return code has been ignored in the past on purpose, because
161 O_NONBLOCK will fail on BSDs for some special files. This fixes the
162 problem mentioned in
163 http://www.haskell.org/pipermail/glasgow-haskell-users/2010-April/018698.html
164 
165]
166[Fix bitrot in IO debugging code
167Ian Lynagh <igloo@earth.li>**20100413134339
168 Also switched to using Haskell Bools (rather than CPP) to en/disable it,
169 so it shouldn't break again in the future.
170]
171[Tiny code tidy-up
172Ian Lynagh <igloo@earth.li>**20100413011147]
173[remove old/wrong comment
174Simon Marlow <marlowsd@gmail.com>**20100325161403
175 Ignore-this: e6e377d44af48c4162d17d55bdf3f821
176]
177[withThread: block asynchronous exceptions before installing exception handler.
178Bas van Dijk <v.dijk.bas@gmail.com>**20100329131624
179 Ignore-this: be5aeb47dbd73807b5f94df11afbb81c
180 Note that I don't unblock the given io computation. Because AFAICS
181 withThread is only called with 'waitFd' which only performs an FFI
182 call which can't receive asynchronous exceptions anyway.
183]
184[runInUnboundThread: block asynchronous exceptions before installing exception handler
185Bas van Dijk <v.dijk.bas@gmail.com>**20100329131549
186 Ignore-this: a00c5e32fe3981ff87bedd367a69051e
187]
188[fix the deprecation message (GHC.IO.Handle.Base -> GHC.IO.Handle)
189Simon Marlow <marlowsd@gmail.com>**20100330121137
190 Ignore-this: 4ca8500a01ac93454507aa8f9dd001f9
191]
192[Make SampleVar an abstract newtype
193Bas van Dijk <v.dijk.bas@gmail.com>**20100318200349
194 Ignore-this: 27939e2a064b75e71cb146117346be30
195]
196[Fix bugs regarding asynchronous exceptions and laziness in Control.Concurrent.SampleVar
197Bas van Dijk <v.dijk.bas@gmail.com>**20100318200104
198 Ignore-this: 7376b2a3afe155daf233a8f1ddc0a7a
199  - Block asynchronous exceptions at the right places
200  - Force thunks before putting them in a MVar
201]
202[Write the thunk 'next' to the MVar
203Bas van Dijk <v.dijk.bas@gmail.com>**20100319125951
204 Ignore-this: dd25636cf220131385ff2fd32493d456
205]
206[change to use STM, fixing 4 things
207Simon Marlow <marlowsd@gmail.com>**20100318104436
208 Ignore-this: 551d30280a7941c08f5c3b14576bdd70
209   1. there was no async exception protection
210   2. there was a space leak (now new value is strict)
211   3. using atomicModifyIORef would be slightly quicker, but can
212      suffer from adverse scheduling issues (see #3838)
213   4. also, the STM version is faster.
214]
215[Tweak docs
216Ian Lynagh <igloo@earth.li>**20100312214129]
217[Fixed dead links in documentation of forkIO
218Bas van Dijk <v.dijk.bas@gmail.com>**20100308222415
219 Ignore-this: 7deb8fd064c867fbede2a6b2e9da4f15
220]
221[Documentation fixes in Control.Exception
222Bas van Dijk <v.dijk.bas@gmail.com>**20100301220442
223 Ignore-this: 761fcba401cbd1f47276ddfc9b5b80f2
224]
225[Plug two race conditions that could lead to deadlocks in the IO manager
226Simon Marlow <marlowsd@gmail.com>**20100225120255
227 Ignore-this: e6983d6b953104d370278ab3e4617e8b
228]
229[FIX #3866: improve documentation of Data.Data.Constr
230jpm@cs.uu.nl**20100224125506
231 Ignore-this: 3818c5d8fee012a3cf322fb455b6e5dc
232]
233[UNDO: Handle NaN, -Infinity and Infinity in the toRational for Float/Double (#3676)
234Simon Marlow <marlowsd@gmail.com>**20100223101603
235 Ignore-this: 78becb2d39b3cd9a1a473a5811ca7d92
236]
237[Put the complexity in the length docs. Fixes trac #3680
238Ian Lynagh <igloo@earth.li>**20100221191425]
239[nhc98 should build Data.Functor.
240Malcolm.Wallace@cs.york.ac.uk**20100221163218]
241[Update the exitWith docs
242Ian Lynagh <igloo@earth.li>**20100213140004
243 Error pointed out by Volker Wysk <vw@volker-wysk.de>
244]
245[Handle NaN, -Infinity and Infinity in the toRational for Float/Double (#3676)
246Simon Marlow <marlowsd@gmail.com>**20100211101955
247 Ignore-this: 261415363303efca265e80290eac5f28
248]
249[For nhc98, import unsafeInterleaveIO rather than defining it here.
250Malcolm.Wallace@cs.york.ac.uk**20100204171021]
251[Stifle warning about unused return value
252benl@cse.unsw.edu.au**20100203025537]
253[fix #3832: use the locale encoding in openTempFile
254Simon Marlow <marlowsd@gmail.com>**20100120211830
255 Ignore-this: df4f778cc5fefb32290c798db722632c
256 Also while I was here fix an XXX: the Handle contained an
257 uninformative string like <fd: 4> for error messages rather than the
258 real file path.
259]
260[Fix the build: export void, so it doesn't give an unused binding warning
261Ian Lynagh <igloo@earth.li>**20100116174451]
262[hIsEOF: don't do any decoding (#3808)
263Simon Marlow <marlowsd@gmail.com>**20100112230317
264 Ignore-this: 6a384dd2d547ffe3ad3762920e5c1671
265]
266[Control.Monad: +void :: f a -> f ()
267gwern0@gmail.com**20100108214455
268 Ignore-this: 4dc07452315f2d1b4941903ff42fc45f
269 See http://hackage.haskell.org/trac/ghc/ticket/3292
270 Turns m a -> m (). Lets one call functions for their side-effects without
271 having to get rid of their return values with '>> return ()'. Very useful
272 in many contexts (parsing, IO etc.); particularly good for 'forkIO' and 'forM_',
273 as they demand return types of 'IO ()' though most interesting IO functions
274 return non-().
275]
276[Replace the implementation of mergesort with a 2x faster one.
277Malcolm.Wallace@cs.york.ac.uk**20091224152014
278 See ticket http://hackage.haskell.org/trac/ghc/ticket/2143.
279]
280[Restore previous Data.Typeable.typeOf*Default implementations for non-ghc.
281Malcolm.Wallace@cs.york.ac.uk**20091223142625
282 Not all compilers have ScopedTypeVariables.
283]
284[Add comments about double bounds-checking, and fast paths for rectangular arrays
285simonpj@microsoft.com**20091218165655
286 Ignore-this: ea0849419dc00927aba4bd410b1cc58d
287 
288 See Note [Double bounds-checking of index values] for the details.
289 
290 The fast paths omit the doubled checks for cases we know about
291]
292[Fix Trac #3245: memoising typeOf
293simonpj@microsoft.com**20091218155117
294 Ignore-this: 5a178a7f2222293c5ee0c3c43bd1b625
295 
296 The performance bug in #3245 was caused by computing the typeRep
297 once for each call of typeOf, rather than once for each dictionary
298 contruction.  (Computing TypeReps is reasonably expensive, because
299 of the hash-consing machinery.)
300 
301 This is readily fixed by putting the TypeRep construction outside
302 the lambda.  (Arguably GHC might have worked that out itself,
303 but it involves floating something between a type lambda and a
304 value lambda, which GHC doesn't currently do. If it happens a lot
305 we could fix that.)
306]
307[Mark 'index' as INLINE in GHC.Arr
308simonpj@microsoft.com**20091216170441
309 Ignore-this: a4df9d8acf496c8e0e9ce5a520509a2a
310 
311 This makes indexing much faster. See Trac #1216
312]
313[Comment the remaining orphan instance modules
314Ian Lynagh <igloo@earth.li>**20091206125021]
315[De-orphan Eq/Ord Float/Double
316Ian Lynagh <igloo@earth.li>**20091205181238]
317[Add comments to "OPTIONS_GHC -fno-warn-orphans" pragmas
318Ian Lynagh <igloo@earth.li>**20091205165854]
319[Data.Either.partitionEithers was insufficiently lazy.
320Malcolm.Wallace@cs.york.ac.uk**20091202032807
321 Ignore-this: 77e1b3288f66608c71458d8a91bcbe12
322 Spotted by Daniel Fischer.
323]
324[fix the docs regarding finalizer guarantees
325Simon Marlow <marlowsd@gmail.com>**20091130144409
326 Ignore-this: d1ab9532c74a002b8075ff60febcbe2d
327]
328[x86_64 requires more stack
329Malcolm.Wallace@cs.york.ac.uk**20091201033745]
330[check for size < 0 in mallocForeignPtrBytes and friends (#3514)
331Simon Marlow <marlowsd@gmail.com>**20091125143822
332 Ignore-this: 91077d01da2bbe1dfed5155e8b40da9
333]
334[hGetContents: close the handle properly on error
335Simon Marlow <marlowsd@gmail.com>**20091125123435
336 Ignore-this: bc37ff678acc6e547dc390285e056eb9
337 
338 When hGetContents caught an error it was closing the handle and then
339 throwing the exception, without updating the handle with the new
340 closed state.  This lead to a double-closed, which was the cause of
341 
342 *** glibc detected *** ./Setup: double free or corruption
343 
344 when iconv_close was called twice on the decoder.
345 
346 See http://hackage.haskell.org/trac/hackage/ticket/609
347]
348[Fix arities of mapFB and zipFB
349Roman Leshchinskiy <rl@cse.unsw.edu.au>**20091126232219
350 Ignore-this: c4e14cd0a92622549c86e67237a40865
351]
352[Remove an unnecessary -fno-warn-orphans flag
353Ian Lynagh <igloo@earth.li>**20091126123404]
354[Tweak layout to work with alternative layout rule
355Ian Lynagh <igloo@earth.li>**20091125232349]
356[Tweak layout to be accepted by the alternative layout rul
357Ian Lynagh <igloo@earth.li>**20091125194147]
358[Make sure zipWithFB has arity 2
359Roman Leshchinskiy <rl@cse.unsw.edu.au>**20091125010003
360 Ignore-this: 4cf60c55666f03d22a9f5a6e07f52d36
361 
362 It gets 2 arguments in the "zipWith" rule but its arity was higher and the new
363 inliner didn't inline it sometimes, for instance here:
364 
365 mpp ::  [Double] -> [Double] -> [Double] -> [Double] -> [Double]
366 mpp as bs cs ds = zipWith (*) (zipWith (+) as bs) (zipWith (+) cs ds)
367 
368 This was a regression vs. 6.10.
369]
370[Remove an old comment
371Ian Lynagh <igloo@earth.li>**20091124134647]
372[De-orphan the Eq/Ord Integer instances
373Ian Lynagh <igloo@earth.li>**20091124133639]
374[Whitespace only
375Ian Lynagh <igloo@earth.li>**20091124133421]
376[Derive some more instances, rather than writing them by hand
377Ian Lynagh <igloo@earth.li>**20091124011747]
378[We can now derive Ord ()
379Ian Lynagh <igloo@earth.li>**20091124011416]
380[De-orphan tuple Eq/Ord instances
381Ian Lynagh <igloo@earth.li>**20091123233343]
382[Control.Exception.Base no longer has any orphans
383Ian Lynagh <igloo@earth.li>**20091123224905]
384[De-orphan the MonadFix ST instance for GHC
385Ian Lynagh <igloo@earth.li>**20091123223544]
386[Rearrange the contents of Control.Monad.ST; no functionality changes
387Ian Lynagh <igloo@earth.li>**20091123222702]
388[De-orphan the Eq/Ord [a] instances
389Ian Lynagh <igloo@earth.li>**20091123215635]
390[De-orphan the Eq/Ord Char instances
391Ian Lynagh <igloo@earth.li>**20091123202253]
392[De-orphan the Eq/Ord Bool instances
393Ian Lynagh <igloo@earth.li>**20091123201817]
394[Move Eq/Ord Ordering instances to de-orphan them
395Ian Lynagh <igloo@earth.li>**20091123194310]
396[Remove ffi warnings for nhc98.
397Malcolm.Wallace@cs.york.ac.uk**20091123063743]
398[Second attempt to fix #1185 (forkProcess and -threaded)
399Simon Marlow <marlowsd@gmail.com>**20091111151915
400 Ignore-this: fa5f5d5e4e080d4b612a37244f937f9c
401 
402 Patch 2/2: first patch is to ghc
403 
404 This time without dynamic linker hacks, instead I've expanded the
405 existing rts/Globals.c to cache more CAFs, specifically those in
406 GHC.Conc.  We were already using this trick for signal handlers, I
407 should have realised before.
408 
409 It's still quite unsavoury, but we can do away with rts/Globals.c in
410 the future when we switch to a dynamically-linked GHCi.
411]
412[Rollback #1185 fix
413Simon Marlow <marlowsd@gmail.com>**20091106140629
414 Ignore-this: cd5667e8474e37e01ba26a1984274811
415 
416 rolling back:
417 
418 Tue Nov  3 16:05:40 GMT 2009  Simon Marlow <marlowsd@gmail.com>
419   * Fix #1185: restart the IO manager after fork()
420   
421   This is the libraries/base part of the patch; there is a corresponding
422   patch to GHC itself.
423   
424   The main change is that we now keep track of the IO manager's ThreadId
425   in a top-level MVar, and ensureIOManagerIsRunning checks whether a
426   previous IO manager thread is alive before starting one.  In the child
427   of fork(), we can hence call ensureIOManagerIsRunning to restart the
428   IO manager.
429 
430     M ./GHC/Conc.lhs -46 +44
431 
432 Wed Nov  4 17:49:45 GMT 2009  Ian Lynagh <igloo@earth.li>
433   * Fix the build on Windows
434 
435     M ./GHC/Conc.lhs -6 +4
436]
437[Fix the build on Windows
438Ian Lynagh <igloo@earth.li>**20091104174945]
439[Fix #1185: restart the IO manager after fork()
440Simon Marlow <marlowsd@gmail.com>**20091103160540
441 Ignore-this: 6dc05464f1500104554637f4759738cc
442 
443 This is the libraries/base part of the patch; there is a corresponding
444 patch to GHC itself.
445 
446 The main change is that we now keep track of the IO manager's ThreadId
447 in a top-level MVar, and ensureIOManagerIsRunning checks whether a
448 previous IO manager thread is alive before starting one.  In the child
449 of fork(), we can hence call ensureIOManagerIsRunning to restart the
450 IO manager.
451]
452[improve the documentation for throwErrnoIfRetry
453Simon Marlow <marlowsd@gmail.com>**20091016112404
454 Ignore-this: b77275cacf730e15757946027168f63e
455]
456[Don't inline unpackFoldrCString ever
457simonpj@microsoft.com**20091029135350
458 Ignore-this: 85d672649b1b776efc7e97500b05d4f9
459]
460[Inline more default methods
461simonpj@microsoft.com**20091029135330
462 Ignore-this: 289c44b0afd6d5631c2a4e0664275ca9
463 
464 Namely Monad: (>>)
465        Eq:    (==), (/=)
466        Num:   (-), negate
467        Real:  quot, rem, div, mod, recip, (/), truncate
468        Float: (**), logBase, sqrt, tan, tanh
469]
470[Move error messages out of INLINEd default methods
471simonpj@microsoft.com**20091029135118
472 Ignore-this: 9e35dc947f94827a3529eb53a41575fd
473 
474 No need to duplicate the error generation!
475]
476[Exploit now-working default-method INLINE pragmas for Data.Bits
477simonpj@microsoft.com**20091029135041
478 Ignore-this: 8adf225f31ca7a3181ee087e9e4fe535
479 
480 * Add INLINE pragmas to default methods for class Bits
481 
482 * Remove redundant instance methods elsewhere, now that
483   the default method will do the job
484]
485[Tidy up and comment imports
486simonpj@microsoft.com**20091029134414
487 Ignore-this: bf2be31035de975d8995e988933cc940
488]
489[Inline foldr and (.) when applied to two arguments not three
490simonpj@microsoft.com**20091029134335
491 Ignore-this: fccb6f3e90e15f44cb465814be85ede2
492 
493 The new INLINE story is (by design) arity-sensitive, so we must
494 put fewer argument on the LHS for foldr and (.)
495]
496[dirUtils.c no longer available
497Malcolm.Wallace@cs.york.ac.uk**20091013093833]
498[Make hGetContents throw an exception if an error is encountered
499Simon Marlow <marlowsd@gmail.com>**20091012152955
500 Ignore-this: 9f7a7176193eab25c9daaacd9261f2de
501 
502 Strictly speaking this breaks Haskell 98 compatibility, which requires
503 hGetContents to just end the lazy stream silently if an error is
504 encountered.  However, for a few reasons we think it will make
505 everyone's life a bit easier if we make this change
506 
507  1. Errors will be a lot more common in GHC 6.12.1, in the form
508     of Unicode decoding errors.
509 
510  2. When Haskell 98 was designed, we didn't know how to throw
511     exceptions from inside lazy I/O, but now we do.
512 
513  3. If anyone is actually relying on the previous behaviour, their
514     code is arguably broken.
515]
516[Re-instate System.Console.Getopt for nhc98 builds.
517Malcolm.Wallace@cs.york.ac.uk**20091013092843
518 Although it was split out of base a while back, that change was
519 reverted for ghc soon afterwards, but nhc98 never noticed.
520]
521[Roll back "Another instance of nhc98's strange import semantics."
522Ian Lynagh <igloo@earth.li>**20091009185618
523 Fri Oct  9 14:50:51 BST 2009  Malcolm.Wallace@cs.york.ac.uk
524 GHC (correctly) warns about the unused import, which breaks the validate
525 build.
526]
527[Roll back "Cope with nhc98's (occasionally-strange) import semantics"
528Ian Lynagh <igloo@earth.li>**20091009184704
529 Fri Oct  9 14:43:51 BST 2009  Malcolm.Wallace@cs.york.ac.uk
530 GHC (correctly) warns about the unused import, which breaks the validate
531 build.
532]
533[It seems that nhc98 needs defaulting in Data.Fixed.
534Malcolm.Wallace@cs.york.ac.uk**20091009135242]
535[Another instance of nhc98's strange import semantics.
536Malcolm.Wallace@cs.york.ac.uk**20091009135051]
537[Make Data.Functor compatible with non-GHC compilers.
538Malcolm.Wallace@cs.york.ac.uk**20091009134821]
539[Cope with nhc98's (occasionally-strange) import semantics.
540Malcolm.Wallace@cs.york.ac.uk**20091009134351]
541[Fix gratuitous breakage of nhc98 in System.IO.
542Malcolm.Wallace@cs.york.ac.uk**20091009134001]
543[Fix gratuitous breakage of nhc98 in Control.Exception.Base.
544Malcolm.Wallace@cs.york.ac.uk**20091009133615]
545[Fix gratuitous breakage of non-GHC in Data.Fixed.
546Malcolm.Wallace@cs.york.ac.uk**20091009133330]
547[Fix gratuitous breakage for non-GHC in Data.Bits.
548Malcolm.Wallace@cs.york.ac.uk**20091009133257]
549[Use UTF-32LE instead of UTF32LE
550Simon Marlow <marlowsd@gmail.com>**20091006100207
551 Ignore-this: 7f881e36543d250ef848c9f60d67655a
552 The latter is not recognised by some iconv implementations.
553]
554[Strip any Byte Order Mark (BOM) from the front of decoded streams.
555Ben.Lippmeier@anu.edu.au*-20090930084229
556 Ignore-this: d0d0c3ae87b31d71ef1627c8e1786445
557 When decoding to UTF-32, Solaris iconv inserts a BOM at the front
558 of the stream, but Linux iconv doesn't.
559]
560[use UTF32BE/UTF32LE instead of UCS-4/UCS-4LE
561Simon Marlow <marlowsd@gmail.com>**20091005101554
562 Ignore-this: 2aef5e9bec421e714953b7aa1bdfc1b3
563]
564[Strip any Byte Order Mark (BOM) from the front of decoded streams.
565Ben.Lippmeier@anu.edu.au**20090930084229
566 Ignore-this: d0d0c3ae87b31d71ef1627c8e1786445
567 When decoding to UTF-32, Solaris iconv inserts a BOM at the front
568 of the stream, but Linux iconv doesn't.
569]
570[Add traceEvent :: String -> IO ()
571Simon Marlow <marlowsd@gmail.com>**20090925141257
572 Ignore-this: 8b1888bbf9682ffba13f815b6000e4b1
573 For emitting an event via the RTS tracing framework
574]
575[Fix the error message when flushing the read buffer of a non-seekable Handle
576Simon Marlow <marlowsd@gmail.com>**20090923090536
577 Ignore-this: 4342026df93759d99480f4e13f80a492
578]
579[Fix #3534: No need to flush the byte buffer when setting binary mode
580Simon Marlow <marlowsd@gmail.com>**20090923090445
581 Ignore-this: 625817ed7ae2c12291eb993a99dc640a
582]
583[Use let !y = x in .. x .. instead of seq in $! and evaluate (#2273)
584Simon Marlow <marlowsd@gmail.com>**20090916140454]
585[make some Applicative functions into methods, and split off Data.Functor (proposal #3335)
586Ross Paterson <ross@soi.city.ac.uk>**20090915173109
587 Ignore-this: a0cff4de6dfdbcbd56a66101bc4855a9
588 
589 The following functions
590 
591     (<$) :: Functor f => a -> f b -> f a
592     (*>) :: Applicative f => f a -> f b -> f b
593     (<*) :: Applicative f => f a -> f b -> f a
594     some :: Alternative f => f a -> f [a]
595     many :: Alternative f => f a -> f [a]
596 
597 are moved into the corresponding classes, with the existing implementations
598 as default definitions.  This gives people creating instances the option of
599 defining specialized implementations of these functions, though they should
600 be equivalent to the default definitions.
601 
602 Although (<$) is now a method of the Functor class, it is hidden in the
603 re-export by the Prelude, Control.Monad and Monad.  The new module
604 Data.Functor exposes the full class, plus the function (<$>).  These are
605 also re-exported by Control.Applicative.
606]
607[On Windows, use the console code page for text file encoding/decoding.
608Judah Jacobson <judah.jacobson@gmail.com>**20090913022126
609 Ignore-this: 86c2f2db8ef92b751599795d3195187b
610 
611 We keep all of the code page tables in the module
612 GHC.IO.Encoding.CodePage.Table.  That file was generated automatically
613 by running codepages/MakeTable.hs; more details are in the comments at the
614 start of that script.
615 
616 Storing the lookup tables adds about 40KB to each statically linked executable;
617 this only increases the size of a "hello world" program by about 7%.
618 
619 Currently we do not support double-byte encodings (Chinese/Japanese/Korean), since
620 including those codepages would increase the table size to 400KB.  It will be
621 straightforward to implement them once the work on library DLLs is finished.
622]
623[Fix "init" docs: the input list need not be finite. Fixes trac #3465
624Ian Lynagh <igloo@earth.li>**20090911210437]
625[Bump base version to 4.2.0.0
626Ian Lynagh <igloo@earth.li>**20090911153913]
627[Address #3310
628Simon Marlow <marlowsd@gmail.com>**20090830152850
629 Ignore-this: 40c7f7c171ee299a83092fd360a952b7
630 
631  - Rename BlockedOnDeadMVar   -> BlockedIndefinitelyOnMVar
632  - Rename BlockedIndefinitely -> BlockedIndefinitelyOnSTM
633  - instance Show BlockedIndefinitelyOnMVar is now
634      "blocked indefinitely in an MVar operation"
635  - instance Show BlockedIndefinitelyOnSTM is now
636      "blocked indefinitely in an STM transaction"
637 
638 clients using Control.OldException will be unaffected (the new
639 exceptions are mapped to the old names).  However, for base4-compat
640 we'll need to make a version of catch/try that does a similar
641 mapping.
642]
643[Fix unicode conversion for MSB architectures
644Ben.Lippmeier@anu.edu.au**20090830130028
645 This fixes the SPARC/Solaris build.
646]
647[Fix #3441: detect errors in partial sequences
648Simon Marlow <marlowsd@gmail.com>**20090830075909
649 Ignore-this: d12a75d95e0cae5eb1555266810ec281
650]
651[Fix hWaitForInput
652Simon Marlow <marlowsd@gmail.com>**20090827152116
653 Ignore-this: 2550e911f1a4d4357a5aa8d1764238ce
654 It was erroneously waiting when there were bytes to decode waiting in
655 the byte buffer.
656]
657[fix debugging code
658Simon Marlow <marlowsd@gmail.com>**20090827150628
659 Ignore-this: e1c82fdc19a22e247cd69ff6fa11921d
660]
661[Allow for configurable iconv include and library locations.
662Matthias Kilian <kili@outback.escape.de>**20090826154406
663 Ignore-this: be95fab611a5534cf184b508964ed498
664 This should help to fix the build on OpenBSD.
665]
666[typo in comment
667Simon Marlow <marlowsd@gmail.com>**20090826085252
668 Ignore-this: 1903ee0f354157a6ed3871c100f6b1b9
669]
670[un-hide some modules from the Haddock docs
671Simon Marlow <marlowsd@gmail.com>**20090825152457
672 Ignore-this: dce6606f93cf977fb24ebe99082dfa62
673]
674[Apply fix for #1548, from squadette@gmail.com
675Simon Marlow <marlowsd@gmail.com>**20090819120700
676 Ignore-this: 31c237c46a6445f588ed4b8c51bb6231
677]
678[improvements to Data.Fixed: instances for Typeable and Data, more predefined types
679Ashley Yakeley <ashley@semantic.org>**20090812055058
680 Ignore-this: feeece36d5632f02a05d137d2a39ab78
681]
682[Fix "Cabal check" warnings
683Ian Lynagh <igloo@earth.li>**20090811215856]
684[Add a GHC.Constants module; fixes trac #3094
685Ian Lynagh <igloo@earth.li>**20090809183252]
686[Apply proposal #3393
687Ian Lynagh <igloo@earth.li>**20090809134717
688 Add openTempFileWithDefaultPermissions and
689 openBinaryTempFileWithDefaultPermissions.
690]
691[Add some more C wrappers; patch from Krister Walfridsson
692Ian Lynagh <igloo@earth.li>**20090807200631
693 Fixes 21 testsuite errors on NetBSD 5.99.
694]
695[Fixing configure for autoconf 2.64
696Alexander Dunlap <alexander.dunlap@gmail.com>**20090805060748
697 Ignore-this: 992ab91ae3d68c12dbb265776e33e243
698]
699[add INLINE toList
700Ross Paterson <ross@soi.city.ac.uk>**20090806142853
701 Ignore-this: aba16aabb17d5dca44f15d188945680e
702 
703 In anticipation of the fixing of #2353.
704]
705[fix a copyright
706Simon Marlow <marlowsd@gmail.com>**20090805134045
707 Ignore-this: b0ffbdd38fbba121e8bcba37c4082a60
708]
709[Tweak the BufferedIO class to enable a memory-mapped file implementation
710Simon Marlow <marlowsd@gmail.com>**20090805134036
711 Ignore-this: ec67d7a0a6d977438deaa342503f77e0
712 We have to eliminate the assumption that an empty write buffer can be
713 constructed by setting the buffer pointers to zero: this isn't
714 necessarily the case when the buffer corresponds to a memory-mapped
715 file, or other in-memory device implementation.
716]
717[Deprecate Control.OldException
718Ian Lynagh <igloo@earth.li>**20090804143910]
719[Windows build fix, following RTS tidyup
720Simon Marlow <marlowsd@gmail.com>**20090803131121
721 Ignore-this: ce862fb91c2b234211a8757f98690778
722]
723[Updates to follow the RTS tidyup
724Simon Marlow <marlowsd@gmail.com>**20090801220743
725 Ignore-this: 6e92412df93a66c12d75344053d5634
726 C functions like isDoubleNaN moved here (primFloat.c)
727]
728[Add integer-simple as a build option
729Ian Lynagh <igloo@earth.li>**20090722013151]
730[Use shift[LR]Integer in the Bits Integer instance
731Ian Lynagh <igloo@earth.li>**20090721222440]
732[depend directly on integer-gmp, rather than indirecting through integer
733Ian Lynagh <igloo@earth.li>**20090721185228]
734[Move the instances of Functor and Monad IO to GHC.Base, to avoid orphans
735Simon Marlow <marlowsd@gmail.com>**20090722102130
736 Ignore-this: a7d85ac0025d559674249de0108dbcf4
737]
738[move "instance Exception Dynamic" so it isn't an orphan
739Simon Marlow <marlowsd@gmail.com>**20090721093854
740 Ignore-this: 5ede91ecfec2112c91b699d4de87cd02
741]
742[Improve the index checking for array accesses; fixes #2120 #2669
743Ian Lynagh <igloo@earth.li>**20090719153228
744 As well as checking that offset we are reading is actually inside the
745 array, we now also check that it is "in range" as defined by the Ix
746 instance. This fixes confusing behaviour (#2120) and improves some error
747 messages (#2669).
748]
749[Make chr say what its argument was, if it's a bad argument
750Ian Lynagh <igloo@earth.li>**20090718151049]
751[remove unused warning
752Simon Marlow <marlowsd@gmail.com>**20090715124416
753 Ignore-this: 31f613654089d0f4a44363946087b41e
754]
755[warning fix: -fno-implicit-prelude -> -XNoImplicitPrelude
756Simon Marlow <marlowsd@gmail.com>**20090715122839
757 Ignore-this: dc8957249731d5bcb71c01899e5adf2b
758]
759[Add hGetEncoding :: Handle -> IO (Maybe TextEncoding)
760Simon Marlow <marlowsd@gmail.com>**20090715122519
761 Ignore-this: 14c3eff996db062da1199739781e4708
762 as suggested during the discussion on the libraries list
763]
764[Add more documentation to mkTextEncoding
765Simon Marlow <marlowsd@gmail.com>**20090715122414
766 Ignore-this: 97253b2624267df3a246a18121e8ea81
767 noting that "//IGNORE" and "//TRANSLIT" suffixes can be used with GNU
768 iconv.
769]
770[Add the utf8_bom codec
771Simon Marlow <marlowsd@gmail.com>**20090715122257
772 Ignore-this: 1c9396cd805201fe873a39382ced79c7
773 as suggested during the discussion on the libraries list.
774]
775[Export Unicode and newline functionality from System.IO; update Haddock docs
776Simon Marlow <marlowsd@gmail.com>**20090713113104
777 Ignore-this: c3f017a555335aa55d106253393f72e2
778]
779[add a comment about the non-workingness of CHARBUF_UTF16
780Simon Marlow <marlowsd@gmail.com>**20090707124406
781 Ignore-this: 98d00411b68d688b3b4cffc9507b1f35
782]
783[Fix build on Windows
784Ian Lynagh <igloo@earth.li>**20090711004351]
785[Fix some "warn-unused-do-bind" warnings where we want to ignore the value
786Ian Lynagh <igloo@earth.li>**20090710204513]
787[Use throwErrnoIfMinus1_ when calling getrusage
788Ian Lynagh <igloo@earth.li>**20090710204221]
789[Remove an unused import
790Ian Lynagh <igloo@earth.li>**20090710153345]
791[reportStackOverflow now returns IO ()
792Ian Lynagh <igloo@earth.li>**20090710153257
793 It used to do "return undefined" to return IO a.
794]
795[GHC.Conc.reportError now returns IO ()
796Ian Lynagh <igloo@earth.li>**20090710152646
797 It used to return IO a, by "return undefined".
798]
799[Fix some "warn-unused-do-bind" warnings where we want to ignore the value
800Ian Lynagh <igloo@earth.li>**20090710152526]
801[Minor SampleVar refactoring
802Ian Lynagh <igloo@earth.li>**20090710151438]
803[Fix "warn-unused-do-bind" warnings in GHC/IO/Handle/Text.hs
804Ian Lynagh <igloo@earth.li>**20090710122905]
805[Fix some "warn-unused-do-bind" warnings where we just want to ignore the result
806Ian Lynagh <igloo@earth.li>**20090710005638]
807[Use the result of writeCharBuf in GHC/IO/Encoding/Latin1.hs too
808Ian Lynagh <igloo@earth.li>**20090710004032]
809[Minor code tidyups in GHC.Conc
810Ian Lynagh <igloo@earth.li>**20090710003801]
811[Fix "warn-unused-do-bind" warning in GHC.Conc
812Ian Lynagh <igloo@earth.li>**20090710003530
813 If we fail to communicate with the IO manager then we print a warning
814 using debugErrLn from the ghc-prim package.
815]
816[Fix "warn-unused-do-bind" warnings in System.Posix.Internals
817Ian Lynagh <igloo@earth.li>**20090709164546]
818[Fix "warn-unused-do-bind" warnings where we really do want to ignore the result
819Ian Lynagh <igloo@earth.li>**20090709163912]
820[Add back imports needed on Windows
821Ian Lynagh <igloo@earth.li>**20090707181924]
822[Remove unused imports
823Ian Lynagh <igloo@earth.li>**20090707115810]
824[Remove unused imports from base
825simonpj@microsoft.com**20090706111842
826 Ignore-this: f9b5f353e3bb820f787c56d615b28765
827 
828 These unused imports are detected by the new unused-import code
829 
830]
831[Use the result of writeCharBuf
832Simon Marlow <marlowsd@gmail.com>**20090706133303
833 Ignore-this: 52288dd559bf4c4f313df6197091d935
834   
835 This only makes a difference when CHARBUF_UTF16 is in use, which it
836 normally isn't.  I suspect CHARBUF_UTF16 doesn't currently work for
837 other reasons (CHARBUF_UTF16 was an experiment before I wrote the
838 GHC.IO.Encoding.UTF* codecs), but this patch at least makes it
839 slightly closer to working.
840]
841[Remove some cruft from Data.HashTable
842Ian Lynagh <igloo@earth.li>**20090706181630]
843[Add 'eof' to Text.ParserCombinators.ReadP
844simonpj@microsoft.com**20090706111801
845 Ignore-this: 2aea7b848e00c894761bc4011adaa95d
846 
847 Add a ReadP parser that succeeds at the end of input. Very useful!
848 
849]
850[Don't export CLDouble for GHC; fixes trac #2793
851Ian Lynagh <igloo@earth.li>**20090705155120
852 We never really supported CLDouble (it was a plain old double underneath),
853 and pretending that we do does more harm than good.
854]
855[a byte between 0x80 and 0xBF is illegal immediately (#3341)
856Simon Marlow <marlowsd@gmail.com>**20090702081415
857 Ignore-this: dc19ef59a1a21118d5a7dd38aa2f611c
858]
859[avoid a warning
860Simon Marlow <marlowsd@gmail.com>**20090630084134
861 Ignore-this: c92a45ee216faf01327feae9fe06d6e2
862]
863[Add a wrapper for libiconv.
864Matthias Kilian <kili@outback.escape.de>**20090629183634
865 Ignore-this: 23c6047c0d71b745b495cc223574a47f
866]
867[#include <sys/times.h> if we have it (should fix build problems)
868Simon Marlow <marlowsd@gmail.com>**20090629085351
869 Ignore-this: a35e93b37ca9595c73460243180f4b9d
870]
871[set binary mode for existing FDs on Windows (fixes some GHCi test failures)
872Simon Marlow <marlowsd@gmail.com>**20090626120522
873 Ignore-this: 580cf636e9c77d8427aff6861d089481
874]
875[Move directory-related stuff to the unix package
876Simon Marlow <marlowsd@gmail.com>**20090625120325
877 Ignore-this: b997b3cbce0a46ca87ad825bbdc0a411
878 now that it isn't used on Windows any more.
879]
880[TAG 2009-06-25
881Ian Lynagh <igloo@earth.li>**20090625160056]
882Patch bundle hash:
8833e50be711045b448faef89f0ecc8fc197676e795