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