Ticket #1923: haddock.patch

File haddock.patch, 5.9 KB (added by igloo, 6 years ago)
Line 
1
2New patches:
3
4[Remove a redundant cabal-version stanza in the .cabal file
5Ian Lynagh <igloo@earth.li>**20071110002321
6 We had both
7 cabal-version: >=1.1.4
8 and
9 cabal-version: >= 1.2
10] {
11hunk ./haddock.cabal 2
12-cabal-version: >=1.1.4
13}
14
15[In Binary, always treat Int as Int64
16Ian Lynagh <igloo@earth.li>**20071110002452
17 This gives us binary compatibility of .haddock files between e.g. amd64
18 and i386.
19] {
20hunk ./src/Binary.hs 138
21-#ifndef SIZEOF_HSINT
22-#define SIZEOF_HSINT  INT_SIZE_IN_BYTES
23-#endif
24-
25-#ifndef SIZEOF_HSWORD
26-#define SIZEOF_HSWORD WORD_SIZE_IN_BYTES
27-#endif
28-
29hunk ./src/Binary.hs 431
30-#if SIZEOF_HSINT == 4
31-    put_ bh i = put_ bh (fromIntegral i :: Int32)
32-    get  bh = do
33-       x <- get bh
34-       return $! (fromIntegral (x :: Int32))
35-#elif SIZEOF_HSINT == 8
36hunk ./src/Binary.hs 433
37-       x <- get bh
38-       return $! (fromIntegral (x :: Int64))
39-#else
40-#error "unsupported sizeof(HsInt)"
41-#endif
42---    getF bh   = getBitsF bh 32
43+        x <- get bh
44+        return $! (fromIntegral (x :: Int64))
45+--    getF bh   = getBitsF bh 64
46}
47
48Context:
49
50[Use configurations to allow to build with old ghc, but requires new cabal
51Duncan Coutts <duncan@haskell.org>**20070906183907
52 Also update Setup.lhs, again requires new cabal, but much simplified.
53]
54[We depend on tons of new packages nowadays
55sven.panne@aedion.de**20070902121907]
56[Fixed XML syntax. Remember: "make validate" is your friend before a checkin...
57sven.panne@aedion.de**20070902121821]
58[Install LICENSE in the correct place
59sven.panne@aedion.de**20070902121802]
60[Add category: Development to .cabal file
61Duncan Coutts <duncan@haskell.org>**20070831112145
62 Otherwise it appears on the hackage website in the "Unclassified" category.
63]
64[Modify lexing of /../
65Simon Marlow <simonmar@microsoft.com>**20070828091954
66 This makes /../ more like '..', so that a single / on a line doesn't
67 trigger a parse error.  This should reduce the causes of accidental
68 parse errors in Haddock comments; apparently stray / characters are
69 a common source of failures.
70]
71[Don't display silly "expanding to size" messages when writing .haddock file
72Duncan Coutts <duncan.coutts@worc.ox.ac.uk>**20070723155603
73 It's really just noise.
74]
75[bug fix
76Wolfgang Jeltsch <g9ks157k@acme.softbase.org>**20070419182340
77 When Haddock was invoked with the --ignore-all-exports flag but the ignore-exports module attribute wasn't used, hyperlinks weren't created for non-exported names.
78 
79 This fix might not be as clean as one would wish (since --ignore-all-exports now results in ignore_all_exports = True *and* an additional OptIgnoreExports option for every module) but at least the bug seems to be resolved now.
80]
81[URL expansion for %%, %L, %{LINE}
82Roberto Zunino <zunrob@users.sf.net>**20070421023643]
83[Add a flag --allow-missing-html
84Ian Lynagh <igloo@earth.li>**20070307145955
85 With this flag, haddock ignores whether or not the HTML directory of
86 packages depended upon exists. We need this when haddocking groups of
87 packages that aren't installed yet.
88]
89[Add a --ghc-pkg flag
90Ian Lynagh <igloo@earth.li>**20070307144253]
91[added substitution %{FILE///c}
92Conal Elliott <conal@conal.net>**20070214215400]
93[Do not create empty tables for data declarations which don't have any constructors, instances or comments. Gets better HTML 4.01 compliance
94Neil Mitchell**20070206174912]
95[infix type op precedence tweak, ppHsNameAsVar
96Conal Elliott <conal@conal.net>**20070115171157]
97[tweaked tyvarop precedence
98Conal Elliott <conal@conal.net>**20070110002300]
99[added infix type operators
100Conal Elliott <conal@conal.net>**20070105172038]
101[Make the search box in a form so that enter does the default search
102Neil Mitchell <http://www.cs.york.ac.uk/~ndm/>**20070112125817]
103[Make the max number of results 75 instead of 50, to allow map searching in the base library to work
104Neil Mitchell <http://www.cs.york.ac.uk/~ndm/>**20070112122501]
105[Rewrite much of the index searching code, previously was too slow to execute on the base library with IE, the new version guarantees less than O(log n) operations be performed, where n is the number in the list (before was always O(n))
106Neil Mitchell <http://www.cs.york.ac.uk/~ndm/>**20070112121746]
107[Make the index be in case-insensitive alphabetic order
108Neil Mitchell <http://www.cs.york.ac.uk/~ndm/>**20070111185143]
109[Change from tabs to spaces in the ppHtmlIndex function
110Neil Mitchell <http://www.cs.york.ac.uk/~ndm/>**20070111182244]
111[Delete more stuff that is no longer required
112Neil Mitchell <http://www.cs.york.ac.uk/~ndm/>**20070111182119]
113[Delete dead code, now there is only one index page
114Neil Mitchell <http://www.cs.york.ac.uk/~ndm/>**20070111181746]
115[Add searching on the index page
116Neil Mitchell <http://www.cs.york.ac.uk/~ndm/>**20070111170709]
117[Never do spliting index files into many
118Neil Mitchell <http://www.cs.york.ac.uk/~ndm/>**20070111154115]
119[add test for blank lines inside @...@ code block
120Simon Marlow <simonmar@microsoft.com>**20070109131444]
121[allow blank lines inside a @...@ code block
122Simon Marlow <simonmar@microsoft.com>**20070109131434]
123[Fix up a case of extra vertical space after a code block
124Simon Marlow <simonmar@microsoft.com>**20070105111341
125 
126 
127]
128[TODO: do something better about re-exported symbols from another package
129Simon Marlow <simonmar@microsoft.com>**20061215155200]
130[fix <<URL>> image markup
131Simon Marlow <simonmar@microsoft.com>**20061208100637]
132[add todo item for --maintainer
133Simon Marlow <simonmar@microsoft.com>**20061206160507]
134[fix --use-package error message
135Simon Marlow <simonmar@microsoft.com>**20061013105135]
136[Cabal's sdist does not generate "-src.tar.gz" files, but ".tar.gz" ones
137sven.panne@aedion.de**20061012152823]
138[Rename haddock.js to haddock-util.js
139Simon Marlow <simonmar@microsoft.com>**20061011141737
140 haddock.js will be run automatically by Windows when you type
141 'haddock' if it is found on the PATH, so rename to avoid confusion.
142 Spotted by Adrian Hey.
143]
144[TAG 0.8 release
145Simon Marlow <simonmar@microsoft.com>**20061010122403]
146Patch bundle hash:
1477829e944259a69745a5de25a5a77034a52d54fcf