Ticket #4865: dep.dpatch

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