Ticket #3984: re_add-newlines-to-enable-layout-for-multi_line-input_.dpatch

File re_add-newlines-to-enable-layout-for-multi_line-input_.dpatch, 2.4 KB (added by aavogt, 4 years ago)

patch for ghci-haskelline

Line 
11 patch for repository http://code.haskell.org/~judah/ghci-haskeline:
2
3Thu Apr 29 13:02:46 EDT 2010  Adam Vogt <vogt.adam@gmail.com>
4  * Re-add newlines to enable layout for multi-line input.
5 
6  Addresses part of:
7  http://hackage.haskell.org/trac/ghc/ticket/3984
8
9New patches:
10
11[Re-add newlines to enable layout for multi-line input.
12Adam Vogt <vogt.adam@gmail.com>**20100429170246
13 Ignore-this: 498f2481ea5fb192db0edd97cdcb4ba5
14 
15 Addresses part of:
16 http://hackage.haskell.org/trac/ghc/ticket/3984
17] hunk ./GhciHaskeline612/InteractiveUI.hs 624
18       maybe (liftIO (ioError collectError))
19             (\l->if removeSpaces l == ":}"
20                  then return (Just $ removeSpaces c)
21-                 else collectCommand q (c++map normSpace l))
22+                 else collectCommand q (c++"\n"++map normSpace l))
23       where normSpace '\r' = ' '
24             normSpace   c  = c
25     -- QUESTION: is userError the one to use here?
26
27Context:
28
29[Add missing *.Main modules to the .cabal file.
30Judah Jacobson <judah.jacobson@gmail.com>**20100401213733
31 Ignore-this: dafd8fcd06337233fd1a9fc15dbcf676
32]
33[Make buildable with ghc-6.12, by having two separate codebases.
34Judah Jacobson <judah.jacobson@gmail.com>**20100204204236
35 Ignore-this: bc5a0c95b8b63728e48620d171f0d5b
36]
37[Bump version to 0.1.1.
38Judah Jacobson <judah.jacobson@gmail.com>**20090406035334
39 Ignore-this: ab31b2829c492f7391713edf45947775
40]
41[Handling change in 'resume' type
42Paulo Tanimoto <ptanimoto@gmail.com>**20090406031116
43 Ignore-this: 975e3af9fc0f2f12fc261a5cb475b4f0
44 
45 GHC 6.10.2 changed the signature type of 'resume'.  This patch adds a CPP option to support both the current and the previous version of GHC.  The option is set by the flag 'ghc-newer' in the cabal file.  The difference in the API can be seen at:
46 
47 http://www.haskell.org/ghc/docs/6.10.1/html/libraries/ghc/GhciMonad.html#v%3Aresume
48 http://www.haskell.org/ghc/docs/6.10.2/html/libraries/ghc/GhciMonad.html#v%3Aresume
49 
50]
51[Make :module complete the names of loaded modules in addition to installed modules.
52Judah Jacobson <judah.jacobson@gmail.com>**20090303030448
53 Ignore-this: 419f166d2dd7fc819db3472706c65f9b
54]
55[Remove obsolete comment.
56Judah Jacobson <judah.jacobson@gmail.com>**20090303015531
57 Ignore-this: c4e4d57994392f6fc571258edd9a0447
58]
59[TAG 0.1
60Judah Jacobson <judah.jacobson@gmail.com>**20090303015157
61 Ignore-this: b22e3dc0cd4fa3c943794be8752e30f1
62]
63Patch bundle hash:
64b7f991a4cc2df64156e18aa12e136fd2b2d9d5b1