Ticket #4526: derived_Eq_instance_for_Chan_with_doc.dpatch

File derived_Eq_instance_for_Chan_with_doc.dpatch, 57.4 KB (added by basvandijk, 2 years ago)

Adds "deriving Eq" to Chan & a little note in the doc of dupChan

Line 
11 patch for repository http://darcs.haskell.org/packages/base:
2
3Thu Nov 25 22:02:40 CET 2010  Bas van Dijk <v.dijk.bas@gmail.com>
4  * Derived Eq instance for Chan
5
6New patches:
7
8[Derived Eq instance for Chan
9Bas van Dijk <v.dijk.bas@gmail.com>**20101125210240
10 Ignore-this: 45c0f1cde9b77739bd8fce02318f32c3
11] {
12hunk ./Control/Concurrent/Chan.hs 49
13 data Chan a
14  = Chan (MVar (Stream a))
15         (MVar (Stream a))
16+   deriving Eq
17 
18 INSTANCE_TYPEABLE1(Chan,chanTc,"Chan")
19 
20hunk ./Control/Concurrent/Chan.hs 97
21 -- either channel from then on will be available from both.  Hence this creates
22 -- a kind of broadcast channel, where data written by anyone is seen by
23 -- everyone else.
24+--
25+-- (Note that a duplicated channel is not equal to its original.
26+-- So: @fmap (c /=) $ dupChan c@ returns @True@ for all @c@.)
27 dupChan :: Chan a -> IO (Chan a)
28 dupChan (Chan _ writeVar) = do
29    hole       <- readMVar writeVar
30}
31
32Context:
33
34[fix hTell behaviour with Unicode Handles
35Simon Marlow <marlowsd@gmail.com>**20101125121831
36 Ignore-this: bb6fefd609a30c106e877783e0f9e0a4
37]
38[Encode immediately in hPutStr and hPutChar
39Simon Marlow <marlowsd@gmail.com>**20101125102520
40 Ignore-this: 1503393cde63dd99a1e8c9d716bcbe10
41 This means that decoding errors will be detected accurately, and can
42 be caught and handled.  Overall the implementation is simpler this way
43 too.
44 
45 It does impose a performance hit on small hPutStrs, although larger
46 hPutStrs seem to be unaffected.  To compensate somewhat, I optimised
47 hPutStrLn.
48]
49[Don't throw an error if the output buffer had no room
50Simon Marlow <marlowsd@gmail.com>**20101124164221
51 Ignore-this: 45023b77b7d107daae552d36701a225a
52 This is consistent with the other codecs, and will be relied on by
53 some upcoming changes in the IO library.
54]
55[use LANGUAGE instead of OPTIONS_GHC
56Simon Marlow <marlowsd@gmail.com>**20101124162530
57 Ignore-this: b72019eeeb706f366706578a45b22d46
58]
59[doc fix: don't refer to unblock.
60Simon Marlow <marlowsd@gmail.com>**20101108133212
61 Ignore-this: 52da909a3d262dda2c5f8e616da8ace3
62]
63[Remove unused import on Windows
64Ian Lynagh <igloo@earth.li>**20101120191432
65 Ignore-this: 1d58c156f7c1884122ab957c1cb4328c
66]
67[Remove an unnecessary fromIntegral
68Ian Lynagh <igloo@earth.li>**20101120191052
69 Ignore-this: 782b98c388086bd21cd3c33093938855
70]
71[Remove a redundant fromIntegral
72Ian Lynagh <igloo@earth.li>**20101120185837
73 Ignore-this: 7ec9d1fe7c8f0c66b1ceaccf3f8b94ad
74]
75[Make (^) and (^^) INLINABLE
76simonpj@microsoft.com**20101117100510
77 Ignore-this: 111eececad91a198254c8976b4c26a3d
78 
79 This makes them perform well robustly
80 (e.g. in test perf/should_run/MethSharing)
81 rather than relying on a rather delicate
82 let-floating.  See Note [Inlining (^) in Real.lhs
83]
84[TAG 2010-11-18
85Ian Lynagh <igloo@earth.li>**20101118011615
86 Ignore-this: a5e79170bccf94dc72191a79cf756be7
87]
88[Remove redundant fromIntegral
89simonpj@microsoft.com**20101117225716
90 Ignore-this: 5a3e86b12cc9c9959d70d954f065cd
91]
92[Fixing uses of fromIntegral for Windows
93dimitris@microsoft.com**20101117183351]
94[Catch exceptions in current thread and throw them to the forked thread in runInUnboundThread
95Bas van Dijk <v.dijk.bas@gmail.com>**20101014212723
96 Ignore-this: 6ed2952a3fa00d11055b61ed60f55ea8
97]
98[There's no need to explicitly check for blocked status in runInUnboundThread when we have mask
99Bas van Dijk <v.dijk.bas@gmail.com>**20101014212325
100 Ignore-this: 22ca4c9eb3a476b6f83e612cccbac8ab
101]
102[Use throwIO instead of throw in runInBoundThread and runInUnboundThread
103Bas van Dijk <v.dijk.bas@gmail.com>**20101014210546
104 Ignore-this: 8f8716fc3b565bdb11c68856663793c5
105]
106[Remove unnecessary fromIntegral calls
107simonpj@microsoft.com**20101116172451
108 Ignore-this: 8c44dc2b381c050d4eaaf287bbc55b9
109]
110[Add some comments to the generated Table.hs
111Ian Lynagh <igloo@earth.li>**20101113123430]
112[System.Event.KQueue conditionally uses BangPatterns
113Ian Lynagh <igloo@earth.li>**20101113114825]
114[Add LANGUAGE BangPatterns to modules that use bang patterns
115simonpj@microsoft.com**20101112170543
116 Ignore-this: 30f36b61c29a5fbbfc70b97143ebb4a8
117]
118[Reimplement firstPowerOf2
119Johan Tibell <johan.tibell@gmail.com>**20101103094630
120 Ignore-this: cc4f6ebe52f19ddc34d5e6412753d399
121]
122[Remove redundant import
123Ian Lynagh <igloo@earth.li>**20101031162520
124 Ignore-this: 7fd90d2c844e28f7100c0d803d527953
125]
126[Re-gen GHC/IO/Encoding/CodePage/Table.hs
127Ian Lynagh <igloo@earth.li>**20101031162034
128 Ignore-this: f8885db176f81b296f8dd8bb3146c05b
129]
130[Add a Makefile for MakeTable, and remove GHC.Num generated import
131Ian Lynagh <igloo@earth.li>**20101031161732
132 Ignore-this: 4459f6b29a58978ab56af31bdb888280
133]
134[Fix whitespace in codepages/MakeTable.hs
135Ian Lynagh <igloo@earth.li>**20101031154953
136 Ignore-this: 7d280cf26429de8a51947c2690d63b33
137]
138[Add an INLINE pragma on fromInteger on Int
139simonpj@microsoft.com**20101027193931
140 Ignore-this: 6363b8e1338f1e5334c28e8967284ef3
141]
142[Add an INLINE pragme for fmapDefault
143simonpj@microsoft.com**20101027193859
144 Ignore-this: 5f140c8fe79bbe1fa6af933fb58366bb
145]
146[hGetBuf: fix a case of a short read being returned (#4427)
147Simon Marlow <marlowsd@gmail.com>**20101027144324
148 Ignore-this: 6aa4cf722bef8eb01dfec3e751fd3eeb
149]
150[Refer to 'mask' instead of 'block' in documentation of Control.Exception
151Bas van Dijk <v.dijk.bas@gmail.com>**20101016185312
152 Ignore-this: cd1bc58df53f3cd1078b9031c3c13f4e
153]
154[Add showMultiLineString to GHC.Show
155simonpj@microsoft.com**20101025151655
156 Ignore-this: eacc594597387e8d965d17204b3ae35f
157 
158 This is part of the fix for #4436
159 
160   showMultiLineString :: String -> [String]
161   -- | Like 'showLitString' (expand escape characters using Haskell
162   -- escape conventions), but
163   --   * break the string into multiple lines
164   --   * wrap the entire thing in double quotes
165   -- Example:  @breakMultiLineString "hello\ngoodbye\nblah"@
166   -- returns   @["\"hello\\", "\\goodbye\\", "\\blah\"" ]@
167   -- where those "\\" are really just a single backslash
168   -- (but I'm writing them here as Haskell literals)
169]
170[CIntPtr, CUIntPtr, CIntMax, CUIntMax are new to nhc98.
171Malcolm.Wallace@me.com**20101025102644
172 Ignore-this: 32d703e70b9d0136cd68fa1987b35c2c
173]
174[Follow GHC.Bool/GHC.Types merge
175Ian Lynagh <igloo@earth.li>**20101023151510
176 Ignore-this: e8b93b702f02a4709706b130988f85a8
177]
178[Remove redundant imports, now that NoImplicitPrelude does not imply RebindableSyntax
179simonpj@microsoft.com**20101022143157
180 Ignore-this: 8d11a7ea4625d4d9cd1514e7fe158626
181]
182[FIX #4335
183Daniel Fischer <daniel.is.fischer@web.de>**20101019010109
184 Ignore-this: 3b8ad075637088df77937b923f623204
185 fromRational :: Rational -> Ratio a produced invalid results for fixed-width
186 types a. Reduce the fraction to avoid that.
187]
188[FIX #4337
189Daniel Fischer <daniel.is.fischer@web.de>**20101019003030
190 Ignore-this: e6eee4088d63e8d72d5ca7d92f708705
191 Special versions for the power functions with a Rational base and rewrite rules.
192]
193[remove trailing whitespace
194Simon Marlow <marlowsd@gmail.com>**20101021093337
195 Ignore-this: dda2815ba424a460ba2a31771a3f03fc
196]
197[FIX #4336
198Daniel Fischer <daniel.is.fischer@web.de>**20101021093246
199 Ignore-this: 76031829aff90251a284dbfa72f3b128
200 Avoid superfluous gcd calculation in recip for Ratio a because numerator
201 and denominator are known to be coprime.
202]
203[Add throwSTM :: Exception e => e -> STM a
204Bas van Dijk <v.dijk.bas@gmail.com>**20100926192144
205 Ignore-this: c6bfdae0eab9f0cf1360bc06d088bfd5
206]
207[Generalize catchSTM
208Bas van Dijk <v.dijk.bas@gmail.com>**20100926192106
209 Ignore-this: d2038494582d2cde2247293dd162671c
210]
211[FIX #4334
212Daniel Fischer <daniel.is.fischer@web.de>**20101020091111
213 Ignore-this: 1a1a406fcf4c352b5bc1f46f93f31b2a
214 Make selector thunks visible to GHC to fix a space leak in lines.
215]
216[FIX #1434
217Daniel Fischer <daniel.is.fischer@web.de>**20101020091014
218 Ignore-this: 3c7c73d3f4487d5aaa453087497d3534
219 Rewrite rules for RealFrac methods with sized Int and Word targets.
220 For all types whose range is contained in Int's range, there are now
221 rewrite rules for properFraction, truncate, floor, ceiling and round
222 from Double and Float, going through the specialised methods for Int.
223 
224 Unfortunately, we can't have a rewrite rule for Word.
225]
226[Define SpecConstrAnnotation in GHC.Exts, and import it from there
227simonpj@microsoft.com**20101018135857
228 Ignore-this: 8bf81cbc5787dbb5a3875b5622f67732
229   
230 Reason: avoid having to link the entire ghc package in modules
231 that use compile-time annotations:
232   
233        import GHC.Exts( SpecConstrAnnotation )
234        {-# ANN type T ForceSpecConstr #-}
235   
236 It's a kind of bug that the package exporting SpecConstrAnnotation
237 is linked even though it is only needed at compile time, but putting
238 the data type declaration in GHC.Exts is a simple way to sidestep
239 the problem
240   
241 See See Note [SpecConstrAnnotation] in SpecConstr
242]
243[throwTo: mention interruptible foreign calls
244Simon Marlow <marlowsd@gmail.com>**20101014084220
245 Ignore-this: dbc53d85f870cf649f87186c7185465a
246]
247[remove trailing whitespace
248Simon Marlow <marlowsd@gmail.com>**20101013101906
249 Ignore-this: b8b424540cacbbb3c6d934242e3af795
250]
251[FIX #4381
252Simon Marlow <marlowsd@gmail.com>**20101013101849
253 Ignore-this: f0daa4845eeb444231451b975b71d055
254 Fix scaleFloat by clamping the scaling parameter so that
255 exponent + scale doesn't overflow.
256 
257 Patch by: Daniel Fischer <daniel.is.fischer@web.de>
258]
259[Replaced some throws to throwIOs where the type is IO
260Bas van Dijk <v.dijk.bas@gmail.com>**20100924221340
261 Ignore-this: e74191e4527ae6f7551c95fd41063335
262]
263[Added initial .authorspellings
264Bas van Dijk <v.dijk.bas@gmail.com>**20101005072701
265 Ignore-this: 63628bcabfdd0b7beda4cd37daeccd89
266]
267[Lazier intersperse
268Daniel Fischer <daniel.is.fischer@web.de>**20101002231201
269 Ignore-this: a0fed65930cf19e68b4363381a5ab576
270 A lazier implementation of intersperse, and consequentially intercalate, to
271 avoid space leaks.
272]
273[FIX #4228 (atanh (-1) returns NaN instead of -Infinity)
274ghc@cainnorris.net**20100816213654
275 Ignore-this: dee89c24493e84a02bea711a1c83a73f
276]
277[Make intersectBy lazier
278Daniel Fischer <daniel.is.fischer@web.de>**20100930191731
279 Ignore-this: ef687bc75923434e85c14b57171576aa
280 Add shortcuts to intersectBy for empty list arguments.
281 In addition to being faster in that case, more inputs yield defined results.
282 Treats ticket #4323
283]
284[doc tweak for Directory file type: file names are '\0'-separated
285Simon Marlow <marlowsd@gmail.com>**20100922113811
286 Ignore-this: 96b7b004bd6e5bc3e958ad55bf238ba1
287]
288[documentation for IODeviceType (#4317, edited by me)
289Simon Marlow <marlowsd@gmail.com>**20100915131341
290 Ignore-this: 21c50ca7a189eebcf299523b6e942bae
291]
292[Allow Data.HashTable construction with user-supplied size
293**20100722210726
294 Ignore-this: bd54880bb16a106a992f03b040dc4164
295 
296 This avoids some resizing for users who know they will be inserting a
297 lot of data.
298 
299 http://hackage.haskell.org/trac/ghc/ticket/4193
300]
301[some fixes for hGetBufSome
302Simon Marlow <marlowsd@gmail.com>**20100916113732
303 Ignore-this: 3e596a606c180dc4859ea8f4c9132ca1
304  - fix one case where it was blocking when it shouldn't
305  - a couple of error-message tweaks
306]
307[Windows: map ERROR_NO_DATA to EPIPE, rather than EINVAL
308Simon Marlow <marlowsd@gmail.com>**20100915142618
309 Ignore-this: 9023e5f0542419f225aef26cb6b1d88d
310 WriteFile() returns ERROR_NO_DATA when writing to a pipe that is
311 "closing", however by default the write() wrapper in the CRT maps this
312 to EINVAL so we get confusing things like
313 
314   hPutChar: invalid argument (Invalid Argumnet)
315 
316 when piping the output of a Haskell program into something that closes
317 the pipe early.  This was happening in the testsuite in a few place.
318 
319 The solution is to map ERROR_NO_DATA to EPIPE correctly, as we
320 explicitly check for EPIPE on stdout (in GHC.TopHandler) so we can
321 exit without an error in this case.
322]
323[tighten up parsing of numbers (#1579)
324Simon Marlow <marlowsd@gmail.com>**20100913214733
325 Ignore-this: 3411bf3d2e98cfacb9e0afd11d79e722
326]
327[Add absentError. 
328simonpj@microsoft.com**20100914134639
329 Ignore-this: d0eef5a87e1def4cdbde92a55241c8c4
330 
331 This patch accompanies the HEAD patch:
332 
333   Tue Sep 14 12:38:27 BST 2010  simonpj@microsoft.com
334     * Make absent-arg wrappers work for unlifted types (fix Trac #4306)
335     
336     Previously we were simply passing arguments of unlifted
337     type to a wrapper, even if they were absent, which was
338     stupid.
339     
340     See Note [Absent error Id] in WwLib.
341]
342[Add missing import, fixes build on windows
343simonpj@microsoft.com**20100914122750
344 Ignore-this: 12ece15ef94982ddfbf5f9f7900619da
345]
346[Add a suitable Show instance for TextEncoding (#4273)
347Simon Marlow <marlowsd@gmail.com>**20100913154459
348 Ignore-this: 77f2235460895debd2827f34c42c3435
349]
350[don't fill a finalized handle with an error (see comment)
351Simon Marlow <marlowsd@gmail.com>**20100913153350
352 Ignore-this: c72cdb6898dffa88eca1d781171b2943
353]
354[deriving (Eq, Ord, Read, Show) for Newline and NewlineMode
355Simon Marlow <marlowsd@gmail.com>**20100913153031
356 Ignore-this: 9b9b29bfb7abf5550cfbfa7788f81bf
357]
358[fix warning on Windows
359Simon Marlow <marlowsd@gmail.com>**20100913111536
360 Ignore-this: dacc5448c452daad60ed37a1a5ed096e
361]
362[Put the state-token argument on fill, done, adjust on the RHS
363simonpj@microsoft.com**20100913101832
364 Ignore-this: d228b492de7d4635c026ed24cbc17e34
365 
366 This is so that the functions will inline when
367 applied to their normal (non-state-token) aguments.
368 
369 I forget why I did this, but it seems like the right thing anyway.
370]
371[avoid Foreign.unsafePerformIO
372Ross Paterson <ross@soi.city.ac.uk>**20100909125521
373 Ignore-this: b698101119ffd1bc6311cce0736f745d
374]
375[Remove debugging code accidentally left in
376Simon Marlow <marlowsd@gmail.com>**20100909113331
377 Ignore-this: 906a14176dd37030b8203782a687936b
378]
379[Fix Windows build; patches frmo ezyang
380Ian Lynagh <igloo@earth.li>**20100908123037
381 Ignore-this: 2f02986087edd7da8382221012c27cd0
382]
383[More accurate isatty test for MinGW.
384Edward Z. Yang <ezyang@mit.edu>**20100907154144
385 Ignore-this: 93bdc2b2a8e65a7c4c7d3906bdda01db
386]
387[Fix the build when HAVE_KQUEUE but not HAVE_KEVENT64
388Ian Lynagh <igloo@earth.li>**20100904223703]
389[Fix warnings
390benl@ouroborus.net**20100830044741
391 Ignore-this: 8397aaec7c36046c9ace403e65f32d32
392]
393[fix cache variable name used by FP_SEARCH_LIBS_PROTO
394Ross Paterson <ross@soi.city.ac.uk>**20100819204858
395 Ignore-this: b8113cb3c6f0e03c507297c99d3d82b7
396]
397[Add a missing castPtr (only shows up in -DDEBUG)
398simonpj@microsoft.com**20100815145127
399 Ignore-this: 30b9c42cd3ce7837bdabd254fe66078d
400]
401[Fixed a rounding error in threadDelay
402Johan Tibell <johan.tibell@gmail.com>**20100813124043
403 Ignore-this: 1cb77d0852233ffffb144b134064ee3c
404]
405[export allocaBytesAligned; make allocaArray use the correct alignment (#2917)
406Simon Marlow <marlowsd@gmail.com>**20100812105524
407 Ignore-this: deb6495f7b7b84deaf02b88927a5ba8c
408]
409[deprecate unGetChan and isEmptyChan (see #4154)
410Simon Marlow <marlowsd@gmail.com>**20100705125952
411 Ignore-this: b4e769959f131b2d0001eb7202bc1b92
412]
413[Add type signatures to cope with lack of local generalisation
414simonpj@microsoft.com**20100728124847
415 Ignore-this: d3af9a47c2821c6081bde05a135a92fb
416]
417[Add type signature in local where
418simonpj@microsoft.com**20100727151532
419 Ignore-this: 1c57063ad32d13e0d1ec8daf968bf055
420]
421[Integrated new I/O manager
422Simon Marlow <marlowsd@gmail.com>**20100810082248
423 Ignore-this: ed70a9066ac9b676a446fe99978fef7a
424 (patch originally by Johan Tibell <johan.tibell@gmail.com>, minor merging by me)
425]
426[Add mfilter to Control.Monad
427jon.fairbairn@cl.cam.ac.uk**20090917145616
428 Ignore-this: de4240b60684f3065b29378df3ea98f2
429 
430 Straightforward MonadPlus version of List.filter. I would
431 prefer to call it filter, but the current naming scheme for
432 Control.Monad implies mfilter.
433 
434]
435[move Monad and MonadFix instances for Either from mtl (proposal #4159)
436Ross Paterson <ross@soi.city.ac.uk>**20100729122449
437 Ignore-this: b0f8cd8643679948d1da43bd7c08c5aa
438 
439 The Monad and MonadFix instances for Either (formerly in the mtl
440 package) are moved to Control.Monad.Instances and Control.Monad.Fix
441 respectively.  The Monad instance is still an orphan, to retain Haskell
442 98 compatibility, but the MonadFix instance is together with its class.
443 The Error constraint is removed from both instances, and the default
444 definition of fail is used.
445]
446[Remove egregious ghc-ish from Foreign.Marshal
447Malcolm.Wallace@me.com**20100722075449]
448[add numSparks :: IO Int (#4167)
449Simon Marlow <marlowsd@gmail.com>**20100720153858
450 Ignore-this: 4543f57a7f137f8cae1c3efc5c023a9b
451]
452[add unsafeLocalState from Haskell 2010, and docs
453Simon Marlow <marlowsd@gmail.com>**20100720082819
454 Ignore-this: dcd79fb546ebe29ddff4df279ec2f38
455]
456[docs: mention that Foreign.unsafePerformIO is deprecated
457Simon Marlow <marlowsd@gmail.com>**20100720082804
458 Ignore-this: 4cfebb8f2a1cddc7d15e94e31b2befa4
459 We can't actually deprecate it without introducing a name clash
460 between Foreign.unsafePerformIO and System.IO.Unsafe.unsafePerformIO
461]
462[doc formatting fix
463Simon Marlow <marlowsd@gmail.com>**20100714151347
464 Ignore-this: 255edef607dcd290e198015240b5d125
465]
466[add module intro from Haskell 2010
467Simon Marlow <marlowsd@gmail.com>**20100714115853
468 Ignore-this: 59b5a07507a059ccccdff2dfb6490a27
469]
470[document exception-overriding behaviour in withFile
471Simon Marlow <marlowsd@gmail.com>**20100714104107
472 Ignore-this: f99e641ea2f46d872cb7420a62fa50dc
473]
474[doc: use "finalizer" consistently
475Simon Marlow <marlowsd@gmail.com>**20100714103649
476 Ignore-this: bdfea40f31dc5045fdbc6e12266dda93
477]
478[clarify meaning of bit
479Simon Marlow <marlowsd@gmail.com>**20100714103310
480 Ignore-this: 521b031f1e83ef34ca03d9aa9273df8a
481]
482[note shortcutting behaviour of any/all/elem
483Simon Marlow <marlowsd@gmail.com>**20100714103304
484 Ignore-this: 1605f362ba0712ad1cea1309636f3ea1
485]
486[add cast{C,U}CharToChar and castCharTo{C,U}Char, from Haskell 2010
487Simon Marlow <marlowsd@gmail.com>**20100713132515
488 Ignore-this: 9b1da827016c7b08668078b45964e9de
489]
490[mention that IntPtr and WordPtr can be marshalled to/from intptr_t and uintptr_t
491Simon Marlow <marlowsd@gmail.com>**20100713132403
492 Ignore-this: dcc112a72746ba117a84fa29e71b6800
493]
494[Partial fix for Trac #4136
495simonpj@microsoft.com**20100707135725
496 Ignore-this: 9548eeb3187d9779d4e5c858a0f35354
497 
498 In 'choose' (which is a library function designed specifically
499 to support derived instances of Read), we must match Symbol
500 as well as Ident, for nullary constructors that (wierdly) are
501 symbols.
502]
503[Fix typo in documentation
504Simon Hengel <simon.hengel@wiktory.org>**20100711141648
505 Ignore-this: c052dd8a681832ef598a323ad55eae3a
506]
507[Remove duplicated word in documentation
508Simon Hengel <simon.hengel@wiktory.org>**20100711072703
509 Ignore-this: fb3732dc57be55f14168792f923433
510]
511[Allow nhc98 to cope with recent changes to Control.Exception.
512Malcolm.Wallace@me.com**20100710170940]
513[ New asynchronous exception control API (base parts)
514Simon Marlow <marlowsd@gmail.com>**20100708152735
515 Ignore-this: 71a4811804f04259f1fe739f8863beaf
516   
517 As discussed on the libraries/haskell-cafe mailing lists
518   http://www.haskell.org/pipermail/libraries/2010-April/013420.html
519 
520 This is a replacement for block/unblock in the asychronous exceptions
521 API to fix a problem whereby a function could unblock asynchronous
522 exceptions even if called within a blocked context.
523 
524 The new terminology is "mask" rather than "block" (to avoid confusion
525 due to overloaded meanings of the latter).
526 
527 The following is the new API; the old API is deprecated but still
528 available for the time being.
529 
530 Control.Exception
531 -----------------
532 
533 mask  :: ((forall a. IO a -> IO a) -> IO b) -> IO b
534 mask_ :: IO a -> IO a
535 
536 uninterruptibleMask :: ((forall a. IO a -> IO a) -> IO b) -> IO b
537 uninterruptibleMask_ :: IO a -> IO
538 
539 getMaskingState :: IO MaskingState
540 
541 data MaskingState
542   = Unmasked
543   | MaskedInterruptible
544   | MaskedUninterruptible
545 
546 
547 Control.Concurrent
548 ------------------
549 
550 forkIOUnmasked :: IO () -> IO ThreadId
551]
552[Async-exception safety, and avoid space leaks
553Simon Marlow <marlowsd@gmail.com>**20100708145819
554 Ignore-this: dbfd0e61551e9e7b4fc1c6fe9b9a83de
555 Patch submitted by: Bas van Dijk <v.dijk.bas@gmail.com>
556 Modified slightly by me to remove non-functional changes.
557]
558[Async-exception safety, and avoid space leaks
559Simon Marlow <marlowsd@gmail.com>**20100708103154
560 Ignore-this: 190c3ac8f6633231624da8cf1316588
561 Patch submitted by: Bas van Dijk <v.dijk.bas@gmail.com>
562 Modified slightly by me to remove non-functional changes.
563]
564[Fix a few places where we forgot to close the text codecs (#4029)
565Simon Marlow <marlowsd@gmail.com>**20100702130210
566 Ignore-this: 2e81a4b4cb343181cef34b0f9e2ded47
567 Each time you invoke :load in GHCi it resets the CAFs, including
568 stdin/stdout/stderr, and each of these was allocating a new iconv_t.
569]
570[remove docs from Monad that belonged on the instance for MonadPlus IO
571Simon Marlow <marlowsd@gmail.com>**20100701154203
572 Ignore-this: 59df02542a7ac9421552a2155d848d27
573]
574[docs: unqualify Prelude.IO
575Simon Marlow <marlowsd@gmail.com>**20100701153817
576 Ignore-this: 73b0202876c827e7a5b4a5ce74e724c4
577]
578[unqualify Float and Double
579Simon Marlow <marlowsd@gmail.com>**20100701142727
580 Ignore-this: cbe89d31a00bf49996a33933324fca17
581]
582[extract information about Data.Time from docs for CTime
583Simon Marlow <marlowsd@gmail.com>**20100701142415
584 Ignore-this: c48c9609b8d36e43e033a7bea81d6f17
585]
586[doc typo
587Simon Marlow <marlowsd@gmail.com>**20100701142354
588 Ignore-this: 17a1fd703831c888975ff63fbfa3a9b2
589]
590[peekArray docs: remove mentions of "this version" and "previous version"
591Simon Marlow <marlowsd@gmail.com>**20100701125333
592 Ignore-this: 39a744874258670bd935ba9e38390939
593]
594[doc typo
595Simon Marlow <marlowsd@gmail.com>**20100701124154
596 Ignore-this: 98f5c286e38c2c34c96b05d5e8bc5ad9
597]
598[doc typo
599Simon Marlow <marlowsd@gmail.com>**20100701124128
600 Ignore-this: 10a4314ec7aed336701fc616fb574ebc
601]
602[doc typo
603Simon Marlow <marlowsd@gmail.com>**20100701123715
604 Ignore-this: c4909a7bf7163460ee5d32f58812041e
605]
606[doc wibble: Haskell 98 I/O Error -> 'IOError'
607Simon Marlow <marlowsd@gmail.com>**20100701123612
608 Ignore-this: bf373df781acbc575e4ffe3b7e6059ae
609]
610[doc typo
611Simon Marlow <marlowsd@gmail.com>**20100701123014
612 Ignore-this: 16aaccae48ef3101adf78ea5b0d5a8fd
613]
614[Haddock hacks to fix whitespace consistency
615Simon Marlow <marlowsd@gmail.com>**20100701121631
616 Ignore-this: 61c58dec52a31fd2d3f331a87d2f903f
617]
618[use '==' consistently rather than '->' in examples
619Simon Marlow <marlowsd@gmail.com>**20100701121616
620 Ignore-this: 472b0a05a85d34d9712186040e1636d9
621]
622[doc wibble: remove confusing mention of "Prelude"
623Simon Marlow <marlowsd@gmail.com>**20100701113308
624 Ignore-this: 232283d0096d01cd45e9b3c5c1e63a6d
625]
626[doc wibble: nonstrict -> non-strict
627Simon Marlow <marlowsd@gmail.com>**20100701113253
628 Ignore-this: 4264f0ab23a0835fc13c6e8601d6b743
629]
630[doc whitespace
631Simon Marlow <marlowsd@gmail.com>**20100701112242
632 Ignore-this: 777a95b1d1140c61d3ab95d5eb5809e7
633]
634[move the doc for 'Char' to its new home in ghc-prim:GHC.Types
635Simon Marlow <marlowsd@gmail.com>**20100629134150
636 Ignore-this: 7687db0077a29498349bfb4b44983985
637]
638[doc wibble
639Simon Marlow <marlowsd@gmail.com>**20100629122608
640 Ignore-this: 9a909e5d015332dc445bd9592e6e386d
641]
642[doc updates in System.IO
643Simon Marlow <marlowsd@gmail.com>**20100629122118
644 Ignore-this: 2257ec1cc4cdb8b7804cfa1f3cf32753
645]
646[doc wibble
647Simon Marlow <marlowsd@gmail.com>**20100625134858
648 Ignore-this: 64c50f29df6c389273b818918fe7033a
649]
650[doc wibbles
651Simon Marlow <marlowsd@gmail.com>**20100624154614
652 Ignore-this: b364aad53beea6e741fee2824459b6e8
653]
654[Fix haddock formatting
655Ian Lynagh <igloo@earth.li>**20100625222623]
656[Give nub's complexity in the haddock docs; fixes #4086
657Ian Lynagh <igloo@earth.li>**20100625222059]
658[correct docs for exitWith: only stdout/stderr are flushed, not all Handles
659Simon Marlow <marlowsd@gmail.com>**20100624130506
660 Ignore-this: 33a938dad8f0bc061572e2ec571cacc7
661]
662[fix docs for isSpace
663Simon Marlow <marlowsd@gmail.com>**20100624130444
664 Ignore-this: b35ff080dbb9833176f08e39dbd9ff6d
665]
666[make the hGetBuf/hPutBuf family work with non-FD Handles (#4144)
667Simon Marlow <marlowsd@gmail.com>**20100624130425
668 Ignore-this: 8200f0208a9b1b1cf4824f343d75819a
669]
670[nit in docs for accumArray
671Simon Marlow <marlowsd@gmail.com>**20100622121131
672 Ignore-this: c066a456c40907e767df10c3990f35ff
673]
674[add doc for the ExitCode type
675Simon Marlow <marlowsd@gmail.com>**20100622120930
676 Ignore-this: 99c34332be7f3565da844528b470054a
677]
678[remove extraneous info from docs for Array
679Simon Marlow <marlowsd@gmail.com>**20100622120921
680 Ignore-this: e2a3f5e84fc23eb7bae911f0680e805e
681]
682[add an INLINE to the list version of traverse, to enable fusion
683Simon Marlow <marlowsd@gmail.com>**20100608082531
684 Ignore-this: ea98cdc3308b406bb04c0f7a38c4424b
685]
686[Don't define the C localeEncoding on Windows
687Ian Lynagh <igloo@earth.li>**20100620202342
688 Ignore-this: c4992f6832a391b0cccc5a9b7d643976
689 (it causes warnings, and isn't used)
690]
691[add Applicative instance for Either (proposal #4095)
692Ross Paterson <ross@soi.city.ac.uk>**20100617225110
693 Ignore-this: 50262ec4700dc16efec5755be5b308c5
694 
695 This is not the only possible instance for Either, but this one is
696 compatible with the usual Monad instance.
697]
698[Use libcharset instead of nl_langinfo(CODESET) if possible.
699pho@cielonegro.org**20100519013112
700 Ignore-this: 4c1e278e022a3d276848afc1dcba4425
701 
702 nl_langinfo(CODESET) doesn't always return standardized variations of the encoding names. Use libcharset if possible, which is shipped together with GNU libiconv.
703]
704[Add a note about the interruptibility of throwTo.
705Simon Marlow <marlowsd@gmail.com>**20100615112720
706 Ignore-this: ae9fabe95310d7c364e95f7784793485
707]
708[docs: note that hGetBufNonBlocking isn't non-blocking on Windows
709Simon Marlow <marlowsd@gmail.com>**20100615112547
710 Ignore-this: 4f3e5213e142149affe08c5123d6efea
711]
712[don't depend on Prelude (#4122)
713Simon Marlow <marlowsd@gmail.com>**20100615105631
714 Ignore-this: 1a3fd49b103fe31cbb453f302c18767f
715]
716[Don't depend on Prelude (#4123)
717Simon Marlow <marlowsd@gmail.com>**20100615105401
718 Ignore-this: cc7616d85a1637bc7621b4f2bc181c0e
719]
720[bump version to 4.3.0.0, added instance MonadPlus STM
721Simon Marlow <marlowsd@gmail.com>**20100601144831
722 Ignore-this: 7c3cf7574499c4267372493f2636dc0
723]
724[Moved MonadPlus instance for STM from Control.Monad.STM to GHC.Conc to avoid an orphaned instance
725Bas van Dijk <v.dijk.bas@gmail.com>**20100516160651
726 Ignore-this: 651b852942b2fae2b93f996e39239b8f
727]
728[Added Applicative and Alternative instances for STM
729Bas van Dijk <v.dijk.bas@gmail.com>**20100516171756
730 Ignore-this: 567003bc4040bc97105cda4d31ebf04a
731]
732[expand Foldable instance for Array
733Ross Paterson <ross@soi.city.ac.uk>**20100602212154
734 Ignore-this: 9bd9e9666a9400431eb92352244fe7e7
735]
736[doc comment illustrating Foldable(foldr)
737Ross Paterson <ross@soi.city.ac.uk>**20100527150833
738 Ignore-this: 8f27d889379803f3ba86d6e928428f3c
739]
740[fix syntax in doc comments
741Ross Paterson <ross@soi.city.ac.uk>**20100527150757
742 Ignore-this: cb78da51d60ff6863dc395f1a892c103
743]
744[export hGetBufSome (#4046)
745Simon Marlow <marlowsd@gmail.com>**20100520093538
746 Ignore-this: f467fad9722e27edfad6b3dd75290e7b
747]
748[hWaitForInput: don't try to read from the device (#4078)
749Simon Marlow <marlowsd@gmail.com>**20100517133741
750 Ignore-this: 55ec33b03397380259b91e4ca62207a6
751 readTextDeviceNonBlocking is not non-blocking on Windows
752]
753[hSetEncoding: change the encoding on both read and write sides (#4066)
754Simon Marlow <marlowsd@gmail.com>**20100514124628
755 Ignore-this: 5b9e9caef06356d0296c584159709ebb
756]
757[Correct haddock formatting.
758Adam Vogt <vogt.adam@gmail.com>**20100423022103
759 Ignore-this: d2622339302048fda48080f7d5ce4a2f
760]
761[Fix for hGetBufSome
762Simon Marlow <marlowsd@gmail.com>**20100505135637
763 Ignore-this: 2019680f8fb223956cacfcf0d046f133
764]
765[improve the documentation for throwTo and killThread (#3884)
766Simon Marlow <marlowsd@gmail.com>**20100505135600
767 Ignore-this: ce881d96ddb729acb6ca09c779975e7d
768]
769[elaborate the docs for unsafePerformIO a bit
770Simon Marlow <marlowsd@gmail.com>**20100505101249
771 Ignore-this: 1cec3f67560b672c64c5a0dcf9a79eb7
772]
773[add Typeable instance
774Simon Marlow <marlowsd@gmail.com>**20100504152815
775 Ignore-this: 6d9cf9d62f0ef17fa459bf213a04098
776]
777[Add hGetBufSome, like hGetBuf but can return short reads
778Simon Marlow <marlowsd@gmail.com>**20100504152759
779 Ignore-this: 195c905b43f8d9505029364e2c5b18e
780]
781[Add swap (#3298)
782Simon Marlow <marlowsd@gmail.com>**20100504095339
783 Ignore-this: 13b007dc4594ce252997ec6fa0bbd976
784]
785[inline allocaArray0, to fix withCString benchmark
786Simon Marlow <marlowsd@gmail.com>**20100423124729
787 Ignore-this: 35c96816acc2f3aaf9dd29f7995fa6f0
788]
789[raise asynchronous exceptions asynchronously (#3997)
790Simon Marlow <marlowsd@gmail.com>**20100421094932
791 Ignore-this: 6d987d93d382c0f69c68c326312abd6b
792]
793[add NOINLINE pragmas for stdin/stdout/stderr
794Simon Marlow <marlowsd@gmail.com>**20100421082041
795 Ignore-this: 3fc130268ec786f28d945858d6690986
796]
797[INLINE alloca and malloc
798Simon Marlow <marlowsd@gmail.com>**20100419135333
799 Ignore-this: b218bd611f18721b1505a8c0b9e6a16a
800 See discussion on glasgow-haskell-users:
801   http://www.haskell.org/pipermail/glasgow-haskell-users/2010-April/018740.html
802]
803[Move comment closer to the offending line
804Matthias Kilian <kili@outback.escape.de>**20100419155421
805 Ignore-this: b34a1d7affd66f67d210df2377b585d9
806]
807[Ignore the return code of c_fcntl_write again
808Matthias Kilian <kili@outback.escape.de>**20100415140452
809 Ignore-this: 266d8ba02cc3cb79c85629b3528261c9
810 
811 The return code has been ignored in the past on purpose, because
812 O_NONBLOCK will fail on BSDs for some special files. This fixes the
813 problem mentioned in
814 http://www.haskell.org/pipermail/glasgow-haskell-users/2010-April/018698.html
815 
816]
817[Fix bitrot in IO debugging code
818Ian Lynagh <igloo@earth.li>**20100413134339
819 Also switched to using Haskell Bools (rather than CPP) to en/disable it,
820 so it shouldn't break again in the future.
821]
822[Tiny code tidy-up
823Ian Lynagh <igloo@earth.li>**20100413011147]
824[remove old/wrong comment
825Simon Marlow <marlowsd@gmail.com>**20100325161403
826 Ignore-this: e6e377d44af48c4162d17d55bdf3f821
827]
828[withThread: block asynchronous exceptions before installing exception handler.
829Bas van Dijk <v.dijk.bas@gmail.com>**20100329131624
830 Ignore-this: be5aeb47dbd73807b5f94df11afbb81c
831 Note that I don't unblock the given io computation. Because AFAICS
832 withThread is only called with 'waitFd' which only performs an FFI
833 call which can't receive asynchronous exceptions anyway.
834]
835[runInUnboundThread: block asynchronous exceptions before installing exception handler
836Bas van Dijk <v.dijk.bas@gmail.com>**20100329131549
837 Ignore-this: a00c5e32fe3981ff87bedd367a69051e
838]
839[fix the deprecation message (GHC.IO.Handle.Base -> GHC.IO.Handle)
840Simon Marlow <marlowsd@gmail.com>**20100330121137
841 Ignore-this: 4ca8500a01ac93454507aa8f9dd001f9
842]
843[Make SampleVar an abstract newtype
844Bas van Dijk <v.dijk.bas@gmail.com>**20100318200349
845 Ignore-this: 27939e2a064b75e71cb146117346be30
846]
847[Fix bugs regarding asynchronous exceptions and laziness in Control.Concurrent.SampleVar
848Bas van Dijk <v.dijk.bas@gmail.com>**20100318200104
849 Ignore-this: 7376b2a3afe155daf233a8f1ddc0a7a
850  - Block asynchronous exceptions at the right places
851  - Force thunks before putting them in a MVar
852]
853[Write the thunk 'next' to the MVar
854Bas van Dijk <v.dijk.bas@gmail.com>**20100319125951
855 Ignore-this: dd25636cf220131385ff2fd32493d456
856]
857[change to use STM, fixing 4 things
858Simon Marlow <marlowsd@gmail.com>**20100318104436
859 Ignore-this: 551d30280a7941c08f5c3b14576bdd70
860   1. there was no async exception protection
861   2. there was a space leak (now new value is strict)
862   3. using atomicModifyIORef would be slightly quicker, but can
863      suffer from adverse scheduling issues (see #3838)
864   4. also, the STM version is faster.
865]
866[Tweak docs
867Ian Lynagh <igloo@earth.li>**20100312214129]
868[Fixed dead links in documentation of forkIO
869Bas van Dijk <v.dijk.bas@gmail.com>**20100308222415
870 Ignore-this: 7deb8fd064c867fbede2a6b2e9da4f15
871]
872[Documentation fixes in Control.Exception
873Bas van Dijk <v.dijk.bas@gmail.com>**20100301220442
874 Ignore-this: 761fcba401cbd1f47276ddfc9b5b80f2
875]
876[Plug two race conditions that could lead to deadlocks in the IO manager
877Simon Marlow <marlowsd@gmail.com>**20100225120255
878 Ignore-this: e6983d6b953104d370278ab3e4617e8b
879]
880[FIX #3866: improve documentation of Data.Data.Constr
881jpm@cs.uu.nl**20100224125506
882 Ignore-this: 3818c5d8fee012a3cf322fb455b6e5dc
883]
884[UNDO: Handle NaN, -Infinity and Infinity in the toRational for Float/Double (#3676)
885Simon Marlow <marlowsd@gmail.com>**20100223101603
886 Ignore-this: 78becb2d39b3cd9a1a473a5811ca7d92
887]
888[Put the complexity in the length docs. Fixes trac #3680
889Ian Lynagh <igloo@earth.li>**20100221191425]
890[nhc98 should build Data.Functor.
891Malcolm.Wallace@cs.york.ac.uk**20100221163218]
892[Update the exitWith docs
893Ian Lynagh <igloo@earth.li>**20100213140004
894 Error pointed out by Volker Wysk <vw@volker-wysk.de>
895]
896[Handle NaN, -Infinity and Infinity in the toRational for Float/Double (#3676)
897Simon Marlow <marlowsd@gmail.com>**20100211101955
898 Ignore-this: 261415363303efca265e80290eac5f28
899]
900[For nhc98, import unsafeInterleaveIO rather than defining it here.
901Malcolm.Wallace@cs.york.ac.uk**20100204171021]
902[Stifle warning about unused return value
903benl@cse.unsw.edu.au**20100203025537]
904[fix #3832: use the locale encoding in openTempFile
905Simon Marlow <marlowsd@gmail.com>**20100120211830
906 Ignore-this: df4f778cc5fefb32290c798db722632c
907 Also while I was here fix an XXX: the Handle contained an
908 uninformative string like <fd: 4> for error messages rather than the
909 real file path.
910]
911[Fix the build: export void, so it doesn't give an unused binding warning
912Ian Lynagh <igloo@earth.li>**20100116174451]
913[hIsEOF: don't do any decoding (#3808)
914Simon Marlow <marlowsd@gmail.com>**20100112230317
915 Ignore-this: 6a384dd2d547ffe3ad3762920e5c1671
916]
917[Control.Monad: +void :: f a -> f ()
918gwern0@gmail.com**20100108214455
919 Ignore-this: 4dc07452315f2d1b4941903ff42fc45f
920 See http://hackage.haskell.org/trac/ghc/ticket/3292
921 Turns m a -> m (). Lets one call functions for their side-effects without
922 having to get rid of their return values with '>> return ()'. Very useful
923 in many contexts (parsing, IO etc.); particularly good for 'forkIO' and 'forM_',
924 as they demand return types of 'IO ()' though most interesting IO functions
925 return non-().
926]
927[Replace the implementation of mergesort with a 2x faster one.
928Malcolm.Wallace@cs.york.ac.uk**20091224152014
929 See ticket http://hackage.haskell.org/trac/ghc/ticket/2143.
930]
931[Restore previous Data.Typeable.typeOf*Default implementations for non-ghc.
932Malcolm.Wallace@cs.york.ac.uk**20091223142625
933 Not all compilers have ScopedTypeVariables.
934]
935[Add comments about double bounds-checking, and fast paths for rectangular arrays
936simonpj@microsoft.com**20091218165655
937 Ignore-this: ea0849419dc00927aba4bd410b1cc58d
938 
939 See Note [Double bounds-checking of index values] for the details.
940 
941 The fast paths omit the doubled checks for cases we know about
942]
943[Fix Trac #3245: memoising typeOf
944simonpj@microsoft.com**20091218155117
945 Ignore-this: 5a178a7f2222293c5ee0c3c43bd1b625
946 
947 The performance bug in #3245 was caused by computing the typeRep
948 once for each call of typeOf, rather than once for each dictionary
949 contruction.  (Computing TypeReps is reasonably expensive, because
950 of the hash-consing machinery.)
951 
952 This is readily fixed by putting the TypeRep construction outside
953 the lambda.  (Arguably GHC might have worked that out itself,
954 but it involves floating something between a type lambda and a
955 value lambda, which GHC doesn't currently do. If it happens a lot
956 we could fix that.)
957]
958[Mark 'index' as INLINE in GHC.Arr
959simonpj@microsoft.com**20091216170441
960 Ignore-this: a4df9d8acf496c8e0e9ce5a520509a2a
961 
962 This makes indexing much faster. See Trac #1216
963]
964[Comment the remaining orphan instance modules
965Ian Lynagh <igloo@earth.li>**20091206125021]
966[De-orphan Eq/Ord Float/Double
967Ian Lynagh <igloo@earth.li>**20091205181238]
968[Add comments to "OPTIONS_GHC -fno-warn-orphans" pragmas
969Ian Lynagh <igloo@earth.li>**20091205165854]
970[Data.Either.partitionEithers was insufficiently lazy.
971Malcolm.Wallace@cs.york.ac.uk**20091202032807
972 Ignore-this: 77e1b3288f66608c71458d8a91bcbe12
973 Spotted by Daniel Fischer.
974]
975[fix the docs regarding finalizer guarantees
976Simon Marlow <marlowsd@gmail.com>**20091130144409
977 Ignore-this: d1ab9532c74a002b8075ff60febcbe2d
978]
979[x86_64 requires more stack
980Malcolm.Wallace@cs.york.ac.uk**20091201033745]
981[check for size < 0 in mallocForeignPtrBytes and friends (#3514)
982Simon Marlow <marlowsd@gmail.com>**20091125143822
983 Ignore-this: 91077d01da2bbe1dfed5155e8b40da9
984]
985[hGetContents: close the handle properly on error
986Simon Marlow <marlowsd@gmail.com>**20091125123435
987 Ignore-this: bc37ff678acc6e547dc390285e056eb9
988 
989 When hGetContents caught an error it was closing the handle and then
990 throwing the exception, without updating the handle with the new
991 closed state.  This lead to a double-closed, which was the cause of
992 
993 *** glibc detected *** ./Setup: double free or corruption
994 
995 when iconv_close was called twice on the decoder.
996 
997 See http://hackage.haskell.org/trac/hackage/ticket/609
998]
999[Fix arities of mapFB and zipFB
1000Roman Leshchinskiy <rl@cse.unsw.edu.au>**20091126232219
1001 Ignore-this: c4e14cd0a92622549c86e67237a40865
1002]
1003[Remove an unnecessary -fno-warn-orphans flag
1004Ian Lynagh <igloo@earth.li>**20091126123404]
1005[Tweak layout to work with alternative layout rule
1006Ian Lynagh <igloo@earth.li>**20091125232349]
1007[Tweak layout to be accepted by the alternative layout rul
1008Ian Lynagh <igloo@earth.li>**20091125194147]
1009[Make sure zipWithFB has arity 2
1010Roman Leshchinskiy <rl@cse.unsw.edu.au>**20091125010003
1011 Ignore-this: 4cf60c55666f03d22a9f5a6e07f52d36
1012 
1013 It gets 2 arguments in the "zipWith" rule but its arity was higher and the new
1014 inliner didn't inline it sometimes, for instance here:
1015 
1016 mpp ::  [Double] -> [Double] -> [Double] -> [Double] -> [Double]
1017 mpp as bs cs ds = zipWith (*) (zipWith (+) as bs) (zipWith (+) cs ds)
1018 
1019 This was a regression vs. 6.10.
1020]
1021[Remove an old comment
1022Ian Lynagh <igloo@earth.li>**20091124134647]
1023[De-orphan the Eq/Ord Integer instances
1024Ian Lynagh <igloo@earth.li>**20091124133639]
1025[Whitespace only
1026Ian Lynagh <igloo@earth.li>**20091124133421]
1027[Derive some more instances, rather than writing them by hand
1028Ian Lynagh <igloo@earth.li>**20091124011747]
1029[We can now derive Ord ()
1030Ian Lynagh <igloo@earth.li>**20091124011416]
1031[De-orphan tuple Eq/Ord instances
1032Ian Lynagh <igloo@earth.li>**20091123233343]
1033[Control.Exception.Base no longer has any orphans
1034Ian Lynagh <igloo@earth.li>**20091123224905]
1035[De-orphan the MonadFix ST instance for GHC
1036Ian Lynagh <igloo@earth.li>**20091123223544]
1037[Rearrange the contents of Control.Monad.ST; no functionality changes
1038Ian Lynagh <igloo@earth.li>**20091123222702]
1039[De-orphan the Eq/Ord [a] instances
1040Ian Lynagh <igloo@earth.li>**20091123215635]
1041[De-orphan the Eq/Ord Char instances
1042Ian Lynagh <igloo@earth.li>**20091123202253]
1043[De-orphan the Eq/Ord Bool instances
1044Ian Lynagh <igloo@earth.li>**20091123201817]
1045[Move Eq/Ord Ordering instances to de-orphan them
1046Ian Lynagh <igloo@earth.li>**20091123194310]
1047[Remove ffi warnings for nhc98.
1048Malcolm.Wallace@cs.york.ac.uk**20091123063743]
1049[Second attempt to fix #1185 (forkProcess and -threaded)
1050Simon Marlow <marlowsd@gmail.com>**20091111151915
1051 Ignore-this: fa5f5d5e4e080d4b612a37244f937f9c
1052 
1053 Patch 2/2: first patch is to ghc
1054 
1055 This time without dynamic linker hacks, instead I've expanded the
1056 existing rts/Globals.c to cache more CAFs, specifically those in
1057 GHC.Conc.  We were already using this trick for signal handlers, I
1058 should have realised before.
1059 
1060 It's still quite unsavoury, but we can do away with rts/Globals.c in
1061 the future when we switch to a dynamically-linked GHCi.
1062]
1063[Rollback #1185 fix
1064Simon Marlow <marlowsd@gmail.com>**20091106140629
1065 Ignore-this: cd5667e8474e37e01ba26a1984274811
1066 
1067 rolling back:
1068 
1069 Tue Nov  3 16:05:40 GMT 2009  Simon Marlow <marlowsd@gmail.com>
1070   * Fix #1185: restart the IO manager after fork()
1071   
1072   This is the libraries/base part of the patch; there is a corresponding
1073   patch to GHC itself.
1074   
1075   The main change is that we now keep track of the IO manager's ThreadId
1076   in a top-level MVar, and ensureIOManagerIsRunning checks whether a
1077   previous IO manager thread is alive before starting one.  In the child
1078   of fork(), we can hence call ensureIOManagerIsRunning to restart the
1079   IO manager.
1080 
1081     M ./GHC/Conc.lhs -46 +44
1082 
1083 Wed Nov  4 17:49:45 GMT 2009  Ian Lynagh <igloo@earth.li>
1084   * Fix the build on Windows
1085 
1086     M ./GHC/Conc.lhs -6 +4
1087]
1088[Fix the build on Windows
1089Ian Lynagh <igloo@earth.li>**20091104174945]
1090[Fix #1185: restart the IO manager after fork()
1091Simon Marlow <marlowsd@gmail.com>**20091103160540
1092 Ignore-this: 6dc05464f1500104554637f4759738cc
1093 
1094 This is the libraries/base part of the patch; there is a corresponding
1095 patch to GHC itself.
1096 
1097 The main change is that we now keep track of the IO manager's ThreadId
1098 in a top-level MVar, and ensureIOManagerIsRunning checks whether a
1099 previous IO manager thread is alive before starting one.  In the child
1100 of fork(), we can hence call ensureIOManagerIsRunning to restart the
1101 IO manager.
1102]
1103[improve the documentation for throwErrnoIfRetry
1104Simon Marlow <marlowsd@gmail.com>**20091016112404
1105 Ignore-this: b77275cacf730e15757946027168f63e
1106]
1107[Don't inline unpackFoldrCString ever
1108simonpj@microsoft.com**20091029135350
1109 Ignore-this: 85d672649b1b776efc7e97500b05d4f9
1110]
1111[Inline more default methods
1112simonpj@microsoft.com**20091029135330
1113 Ignore-this: 289c44b0afd6d5631c2a4e0664275ca9
1114 
1115 Namely Monad: (>>)
1116        Eq:    (==), (/=)
1117        Num:   (-), negate
1118        Real:  quot, rem, div, mod, recip, (/), truncate
1119        Float: (**), logBase, sqrt, tan, tanh
1120]
1121[Move error messages out of INLINEd default methods
1122simonpj@microsoft.com**20091029135118
1123 Ignore-this: 9e35dc947f94827a3529eb53a41575fd
1124 
1125 No need to duplicate the error generation!
1126]
1127[Exploit now-working default-method INLINE pragmas for Data.Bits
1128simonpj@microsoft.com**20091029135041
1129 Ignore-this: 8adf225f31ca7a3181ee087e9e4fe535
1130 
1131 * Add INLINE pragmas to default methods for class Bits
1132 
1133 * Remove redundant instance methods elsewhere, now that
1134   the default method will do the job
1135]
1136[Tidy up and comment imports
1137simonpj@microsoft.com**20091029134414
1138 Ignore-this: bf2be31035de975d8995e988933cc940
1139]
1140[Inline foldr and (.) when applied to two arguments not three
1141simonpj@microsoft.com**20091029134335
1142 Ignore-this: fccb6f3e90e15f44cb465814be85ede2
1143 
1144 The new INLINE story is (by design) arity-sensitive, so we must
1145 put fewer argument on the LHS for foldr and (.)
1146]
1147[dirUtils.c no longer available
1148Malcolm.Wallace@cs.york.ac.uk**20091013093833]
1149[Make hGetContents throw an exception if an error is encountered
1150Simon Marlow <marlowsd@gmail.com>**20091012152955
1151 Ignore-this: 9f7a7176193eab25c9daaacd9261f2de
1152 
1153 Strictly speaking this breaks Haskell 98 compatibility, which requires
1154 hGetContents to just end the lazy stream silently if an error is
1155 encountered.  However, for a few reasons we think it will make
1156 everyone's life a bit easier if we make this change
1157 
1158  1. Errors will be a lot more common in GHC 6.12.1, in the form
1159     of Unicode decoding errors.
1160 
1161  2. When Haskell 98 was designed, we didn't know how to throw
1162     exceptions from inside lazy I/O, but now we do.
1163 
1164  3. If anyone is actually relying on the previous behaviour, their
1165     code is arguably broken.
1166]
1167[Re-instate System.Console.Getopt for nhc98 builds.
1168Malcolm.Wallace@cs.york.ac.uk**20091013092843
1169 Although it was split out of base a while back, that change was
1170 reverted for ghc soon afterwards, but nhc98 never noticed.
1171]
1172[Roll back "Another instance of nhc98's strange import semantics."
1173Ian Lynagh <igloo@earth.li>**20091009185618
1174 Fri Oct  9 14:50:51 BST 2009  Malcolm.Wallace@cs.york.ac.uk
1175 GHC (correctly) warns about the unused import, which breaks the validate
1176 build.
1177]
1178[Roll back "Cope with nhc98's (occasionally-strange) import semantics"
1179Ian Lynagh <igloo@earth.li>**20091009184704
1180 Fri Oct  9 14:43:51 BST 2009  Malcolm.Wallace@cs.york.ac.uk
1181 GHC (correctly) warns about the unused import, which breaks the validate
1182 build.
1183]
1184[It seems that nhc98 needs defaulting in Data.Fixed.
1185Malcolm.Wallace@cs.york.ac.uk**20091009135242]
1186[Another instance of nhc98's strange import semantics.
1187Malcolm.Wallace@cs.york.ac.uk**20091009135051]
1188[Make Data.Functor compatible with non-GHC compilers.
1189Malcolm.Wallace@cs.york.ac.uk**20091009134821]
1190[Cope with nhc98's (occasionally-strange) import semantics.
1191Malcolm.Wallace@cs.york.ac.uk**20091009134351]
1192[Fix gratuitous breakage of nhc98 in System.IO.
1193Malcolm.Wallace@cs.york.ac.uk**20091009134001]
1194[Fix gratuitous breakage of nhc98 in Control.Exception.Base.
1195Malcolm.Wallace@cs.york.ac.uk**20091009133615]
1196[Fix gratuitous breakage of non-GHC in Data.Fixed.
1197Malcolm.Wallace@cs.york.ac.uk**20091009133330]
1198[Fix gratuitous breakage for non-GHC in Data.Bits.
1199Malcolm.Wallace@cs.york.ac.uk**20091009133257]
1200[Use UTF-32LE instead of UTF32LE
1201Simon Marlow <marlowsd@gmail.com>**20091006100207
1202 Ignore-this: 7f881e36543d250ef848c9f60d67655a
1203 The latter is not recognised by some iconv implementations.
1204]
1205[Strip any Byte Order Mark (BOM) from the front of decoded streams.
1206Ben.Lippmeier@anu.edu.au*-20090930084229
1207 Ignore-this: d0d0c3ae87b31d71ef1627c8e1786445
1208 When decoding to UTF-32, Solaris iconv inserts a BOM at the front
1209 of the stream, but Linux iconv doesn't.
1210]
1211[use UTF32BE/UTF32LE instead of UCS-4/UCS-4LE
1212Simon Marlow <marlowsd@gmail.com>**20091005101554
1213 Ignore-this: 2aef5e9bec421e714953b7aa1bdfc1b3
1214]
1215[Strip any Byte Order Mark (BOM) from the front of decoded streams.
1216Ben.Lippmeier@anu.edu.au**20090930084229
1217 Ignore-this: d0d0c3ae87b31d71ef1627c8e1786445
1218 When decoding to UTF-32, Solaris iconv inserts a BOM at the front
1219 of the stream, but Linux iconv doesn't.
1220]
1221[Add traceEvent :: String -> IO ()
1222Simon Marlow <marlowsd@gmail.com>**20090925141257
1223 Ignore-this: 8b1888bbf9682ffba13f815b6000e4b1
1224 For emitting an event via the RTS tracing framework
1225]
1226[Fix the error message when flushing the read buffer of a non-seekable Handle
1227Simon Marlow <marlowsd@gmail.com>**20090923090536
1228 Ignore-this: 4342026df93759d99480f4e13f80a492
1229]
1230[Fix #3534: No need to flush the byte buffer when setting binary mode
1231Simon Marlow <marlowsd@gmail.com>**20090923090445
1232 Ignore-this: 625817ed7ae2c12291eb993a99dc640a
1233]
1234[Use let !y = x in .. x .. instead of seq in $! and evaluate (#2273)
1235Simon Marlow <marlowsd@gmail.com>**20090916140454]
1236[make some Applicative functions into methods, and split off Data.Functor (proposal #3335)
1237Ross Paterson <ross@soi.city.ac.uk>**20090915173109
1238 Ignore-this: a0cff4de6dfdbcbd56a66101bc4855a9
1239 
1240 The following functions
1241 
1242     (<$) :: Functor f => a -> f b -> f a
1243     (*>) :: Applicative f => f a -> f b -> f b
1244     (<*) :: Applicative f => f a -> f b -> f a
1245     some :: Alternative f => f a -> f [a]
1246     many :: Alternative f => f a -> f [a]
1247 
1248 are moved into the corresponding classes, with the existing implementations
1249 as default definitions.  This gives people creating instances the option of
1250 defining specialized implementations of these functions, though they should
1251 be equivalent to the default definitions.
1252 
1253 Although (<$) is now a method of the Functor class, it is hidden in the
1254 re-export by the Prelude, Control.Monad and Monad.  The new module
1255 Data.Functor exposes the full class, plus the function (<$>).  These are
1256 also re-exported by Control.Applicative.
1257]
1258[On Windows, use the console code page for text file encoding/decoding.
1259Judah Jacobson <judah.jacobson@gmail.com>**20090913022126
1260 Ignore-this: 86c2f2db8ef92b751599795d3195187b
1261 
1262 We keep all of the code page tables in the module
1263 GHC.IO.Encoding.CodePage.Table.  That file was generated automatically
1264 by running codepages/MakeTable.hs; more details are in the comments at the
1265 start of that script.
1266 
1267 Storing the lookup tables adds about 40KB to each statically linked executable;
1268 this only increases the size of a "hello world" program by about 7%.
1269 
1270 Currently we do not support double-byte encodings (Chinese/Japanese/Korean), since
1271 including those codepages would increase the table size to 400KB.  It will be
1272 straightforward to implement them once the work on library DLLs is finished.
1273]
1274[Fix "init" docs: the input list need not be finite. Fixes trac #3465
1275Ian Lynagh <igloo@earth.li>**20090911210437]
1276[Bump base version to 4.2.0.0
1277Ian Lynagh <igloo@earth.li>**20090911153913]
1278[Address #3310
1279Simon Marlow <marlowsd@gmail.com>**20090830152850
1280 Ignore-this: 40c7f7c171ee299a83092fd360a952b7
1281 
1282  - Rename BlockedOnDeadMVar   -> BlockedIndefinitelyOnMVar
1283  - Rename BlockedIndefinitely -> BlockedIndefinitelyOnSTM
1284  - instance Show BlockedIndefinitelyOnMVar is now
1285      "blocked indefinitely in an MVar operation"
1286  - instance Show BlockedIndefinitelyOnSTM is now
1287      "blocked indefinitely in an STM transaction"
1288 
1289 clients using Control.OldException will be unaffected (the new
1290 exceptions are mapped to the old names).  However, for base4-compat
1291 we'll need to make a version of catch/try that does a similar
1292 mapping.
1293]
1294[Fix unicode conversion for MSB architectures
1295Ben.Lippmeier@anu.edu.au**20090830130028
1296 This fixes the SPARC/Solaris build.
1297]
1298[Fix #3441: detect errors in partial sequences
1299Simon Marlow <marlowsd@gmail.com>**20090830075909
1300 Ignore-this: d12a75d95e0cae5eb1555266810ec281
1301]
1302[Fix hWaitForInput
1303Simon Marlow <marlowsd@gmail.com>**20090827152116
1304 Ignore-this: 2550e911f1a4d4357a5aa8d1764238ce
1305 It was erroneously waiting when there were bytes to decode waiting in
1306 the byte buffer.
1307]
1308[fix debugging code
1309Simon Marlow <marlowsd@gmail.com>**20090827150628
1310 Ignore-this: e1c82fdc19a22e247cd69ff6fa11921d
1311]
1312[Allow for configurable iconv include and library locations.
1313Matthias Kilian <kili@outback.escape.de>**20090826154406
1314 Ignore-this: be95fab611a5534cf184b508964ed498
1315 This should help to fix the build on OpenBSD.
1316]
1317[typo in comment
1318Simon Marlow <marlowsd@gmail.com>**20090826085252
1319 Ignore-this: 1903ee0f354157a6ed3871c100f6b1b9
1320]
1321[un-hide some modules from the Haddock docs
1322Simon Marlow <marlowsd@gmail.com>**20090825152457
1323 Ignore-this: dce6606f93cf977fb24ebe99082dfa62
1324]
1325[Apply fix for #1548, from squadette@gmail.com
1326Simon Marlow <marlowsd@gmail.com>**20090819120700
1327 Ignore-this: 31c237c46a6445f588ed4b8c51bb6231
1328]
1329[improvements to Data.Fixed: instances for Typeable and Data, more predefined types
1330Ashley Yakeley <ashley@semantic.org>**20090812055058
1331 Ignore-this: feeece36d5632f02a05d137d2a39ab78
1332]
1333[Fix "Cabal check" warnings
1334Ian Lynagh <igloo@earth.li>**20090811215856]
1335[Add a GHC.Constants module; fixes trac #3094
1336Ian Lynagh <igloo@earth.li>**20090809183252]
1337[Apply proposal #3393
1338Ian Lynagh <igloo@earth.li>**20090809134717
1339 Add openTempFileWithDefaultPermissions and
1340 openBinaryTempFileWithDefaultPermissions.
1341]
1342[Add some more C wrappers; patch from Krister Walfridsson
1343Ian Lynagh <igloo@earth.li>**20090807200631
1344 Fixes 21 testsuite errors on NetBSD 5.99.
1345]
1346[Fixing configure for autoconf 2.64
1347Alexander Dunlap <alexander.dunlap@gmail.com>**20090805060748
1348 Ignore-this: 992ab91ae3d68c12dbb265776e33e243
1349]
1350[add INLINE toList
1351Ross Paterson <ross@soi.city.ac.uk>**20090806142853
1352 Ignore-this: aba16aabb17d5dca44f15d188945680e
1353 
1354 In anticipation of the fixing of #2353.
1355]
1356[fix a copyright
1357Simon Marlow <marlowsd@gmail.com>**20090805134045
1358 Ignore-this: b0ffbdd38fbba121e8bcba37c4082a60
1359]
1360[Tweak the BufferedIO class to enable a memory-mapped file implementation
1361Simon Marlow <marlowsd@gmail.com>**20090805134036
1362 Ignore-this: ec67d7a0a6d977438deaa342503f77e0
1363 We have to eliminate the assumption that an empty write buffer can be
1364 constructed by setting the buffer pointers to zero: this isn't
1365 necessarily the case when the buffer corresponds to a memory-mapped
1366 file, or other in-memory device implementation.
1367]
1368[Deprecate Control.OldException
1369Ian Lynagh <igloo@earth.li>**20090804143910]
1370[Windows build fix, following RTS tidyup
1371Simon Marlow <marlowsd@gmail.com>**20090803131121
1372 Ignore-this: ce862fb91c2b234211a8757f98690778
1373]
1374[Updates to follow the RTS tidyup
1375Simon Marlow <marlowsd@gmail.com>**20090801220743
1376 Ignore-this: 6e92412df93a66c12d75344053d5634
1377 C functions like isDoubleNaN moved here (primFloat.c)
1378]
1379[Add integer-simple as a build option
1380Ian Lynagh <igloo@earth.li>**20090722013151]
1381[Use shift[LR]Integer in the Bits Integer instance
1382Ian Lynagh <igloo@earth.li>**20090721222440]
1383[depend directly on integer-gmp, rather than indirecting through integer
1384Ian Lynagh <igloo@earth.li>**20090721185228]
1385[Move the instances of Functor and Monad IO to GHC.Base, to avoid orphans
1386Simon Marlow <marlowsd@gmail.com>**20090722102130
1387 Ignore-this: a7d85ac0025d559674249de0108dbcf4
1388]
1389[move "instance Exception Dynamic" so it isn't an orphan
1390Simon Marlow <marlowsd@gmail.com>**20090721093854
1391 Ignore-this: 5ede91ecfec2112c91b699d4de87cd02
1392]
1393[Improve the index checking for array accesses; fixes #2120 #2669
1394Ian Lynagh <igloo@earth.li>**20090719153228
1395 As well as checking that offset we are reading is actually inside the
1396 array, we now also check that it is "in range" as defined by the Ix
1397 instance. This fixes confusing behaviour (#2120) and improves some error
1398 messages (#2669).
1399]
1400[Make chr say what its argument was, if it's a bad argument
1401Ian Lynagh <igloo@earth.li>**20090718151049]
1402[remove unused warning
1403Simon Marlow <marlowsd@gmail.com>**20090715124416
1404 Ignore-this: 31f613654089d0f4a44363946087b41e
1405]
1406[warning fix: -fno-implicit-prelude -> -XNoImplicitPrelude
1407Simon Marlow <marlowsd@gmail.com>**20090715122839
1408 Ignore-this: dc8957249731d5bcb71c01899e5adf2b
1409]
1410[Add hGetEncoding :: Handle -> IO (Maybe TextEncoding)
1411Simon Marlow <marlowsd@gmail.com>**20090715122519
1412 Ignore-this: 14c3eff996db062da1199739781e4708
1413 as suggested during the discussion on the libraries list
1414]
1415[Add more documentation to mkTextEncoding
1416Simon Marlow <marlowsd@gmail.com>**20090715122414
1417 Ignore-this: 97253b2624267df3a246a18121e8ea81
1418 noting that "//IGNORE" and "//TRANSLIT" suffixes can be used with GNU
1419 iconv.
1420]
1421[Add the utf8_bom codec
1422Simon Marlow <marlowsd@gmail.com>**20090715122257
1423 Ignore-this: 1c9396cd805201fe873a39382ced79c7
1424 as suggested during the discussion on the libraries list.
1425]
1426[Export Unicode and newline functionality from System.IO; update Haddock docs
1427Simon Marlow <marlowsd@gmail.com>**20090713113104
1428 Ignore-this: c3f017a555335aa55d106253393f72e2
1429]
1430[add a comment about the non-workingness of CHARBUF_UTF16
1431Simon Marlow <marlowsd@gmail.com>**20090707124406
1432 Ignore-this: 98d00411b68d688b3b4cffc9507b1f35
1433]
1434[Fix build on Windows
1435Ian Lynagh <igloo@earth.li>**20090711004351]
1436[Fix some "warn-unused-do-bind" warnings where we want to ignore the value
1437Ian Lynagh <igloo@earth.li>**20090710204513]
1438[Use throwErrnoIfMinus1_ when calling getrusage
1439Ian Lynagh <igloo@earth.li>**20090710204221]
1440[Remove an unused import
1441Ian Lynagh <igloo@earth.li>**20090710153345]
1442[reportStackOverflow now returns IO ()
1443Ian Lynagh <igloo@earth.li>**20090710153257
1444 It used to do "return undefined" to return IO a.
1445]
1446[GHC.Conc.reportError now returns IO ()
1447Ian Lynagh <igloo@earth.li>**20090710152646
1448 It used to return IO a, by "return undefined".
1449]
1450[Fix some "warn-unused-do-bind" warnings where we want to ignore the value
1451Ian Lynagh <igloo@earth.li>**20090710152526]
1452[Minor SampleVar refactoring
1453Ian Lynagh <igloo@earth.li>**20090710151438]
1454[Fix "warn-unused-do-bind" warnings in GHC/IO/Handle/Text.hs
1455Ian Lynagh <igloo@earth.li>**20090710122905]
1456[Fix some "warn-unused-do-bind" warnings where we just want to ignore the result
1457Ian Lynagh <igloo@earth.li>**20090710005638]
1458[Use the result of writeCharBuf in GHC/IO/Encoding/Latin1.hs too
1459Ian Lynagh <igloo@earth.li>**20090710004032]
1460[Minor code tidyups in GHC.Conc
1461Ian Lynagh <igloo@earth.li>**20090710003801]
1462[Fix "warn-unused-do-bind" warning in GHC.Conc
1463Ian Lynagh <igloo@earth.li>**20090710003530
1464 If we fail to communicate with the IO manager then we print a warning
1465 using debugErrLn from the ghc-prim package.
1466]
1467[Fix "warn-unused-do-bind" warnings in System.Posix.Internals
1468Ian Lynagh <igloo@earth.li>**20090709164546]
1469[Fix "warn-unused-do-bind" warnings where we really do want to ignore the result
1470Ian Lynagh <igloo@earth.li>**20090709163912]
1471[Add back imports needed on Windows
1472Ian Lynagh <igloo@earth.li>**20090707181924]
1473[Remove unused imports
1474Ian Lynagh <igloo@earth.li>**20090707115810]
1475[Remove unused imports from base
1476simonpj@microsoft.com**20090706111842
1477 Ignore-this: f9b5f353e3bb820f787c56d615b28765
1478 
1479 These unused imports are detected by the new unused-import code
1480 
1481]
1482[Use the result of writeCharBuf
1483Simon Marlow <marlowsd@gmail.com>**20090706133303
1484 Ignore-this: 52288dd559bf4c4f313df6197091d935
1485   
1486 This only makes a difference when CHARBUF_UTF16 is in use, which it
1487 normally isn't.  I suspect CHARBUF_UTF16 doesn't currently work for
1488 other reasons (CHARBUF_UTF16 was an experiment before I wrote the
1489 GHC.IO.Encoding.UTF* codecs), but this patch at least makes it
1490 slightly closer to working.
1491]
1492[Remove some cruft from Data.HashTable
1493Ian Lynagh <igloo@earth.li>**20090706181630]
1494[Add 'eof' to Text.ParserCombinators.ReadP
1495simonpj@microsoft.com**20090706111801
1496 Ignore-this: 2aea7b848e00c894761bc4011adaa95d
1497 
1498 Add a ReadP parser that succeeds at the end of input. Very useful!
1499 
1500]
1501[Don't export CLDouble for GHC; fixes trac #2793
1502Ian Lynagh <igloo@earth.li>**20090705155120
1503 We never really supported CLDouble (it was a plain old double underneath),
1504 and pretending that we do does more harm than good.
1505]
1506[a byte between 0x80 and 0xBF is illegal immediately (#3341)
1507Simon Marlow <marlowsd@gmail.com>**20090702081415
1508 Ignore-this: dc19ef59a1a21118d5a7dd38aa2f611c
1509]
1510[avoid a warning
1511Simon Marlow <marlowsd@gmail.com>**20090630084134
1512 Ignore-this: c92a45ee216faf01327feae9fe06d6e2
1513]
1514[Add a wrapper for libiconv.
1515Matthias Kilian <kili@outback.escape.de>**20090629183634
1516 Ignore-this: 23c6047c0d71b745b495cc223574a47f
1517]
1518[#include <sys/times.h> if we have it (should fix build problems)
1519Simon Marlow <marlowsd@gmail.com>**20090629085351
1520 Ignore-this: a35e93b37ca9595c73460243180f4b9d
1521]
1522[set binary mode for existing FDs on Windows (fixes some GHCi test failures)
1523Simon Marlow <marlowsd@gmail.com>**20090626120522
1524 Ignore-this: 580cf636e9c77d8427aff6861d089481
1525]
1526[Move directory-related stuff to the unix package
1527Simon Marlow <marlowsd@gmail.com>**20090625120325
1528 Ignore-this: b997b3cbce0a46ca87ad825bbdc0a411
1529 now that it isn't used on Windows any more.
1530]
1531[TAG 2009-06-25
1532Ian Lynagh <igloo@earth.li>**20090625160056]
1533Patch bundle hash:
153403cd5b7ecfcbadffcdc434df56a8f2bd672cf9d9