Ticket #335: warn-that-we-ignore-ghc_package_path.dpatch

File warn-that-we-ignore-ghc_package_path.dpatch, 66.8 KB (added by kmcallister, 3 years ago)
Line 
11 patch for repository http://darcs.haskell.org/cabal:
2
3Sat Apr 10 05:40:44 EDT 2010  Keegan McAllister <mcallister.keegan@gmail.com>
4  * warn that we ignore GHC_PACKAGE_PATH
5  Resolves ticket #335.  Warn on configure if environment variable
6  GHC_PACKAGE_PATH is set, since Cabal will ignore it.  Suggest
7  --package-db as an alternative.
8 
9
10New patches:
11
12[warn that we ignore GHC_PACKAGE_PATH
13Keegan McAllister <mcallister.keegan@gmail.com>**20100410094044
14 Ignore-this: fe6034491a0e5a3844c35b875a090b31
15 Resolves ticket #335.  Warn on configure if environment variable
16 GHC_PACKAGE_PATH is set, since Cabal will ignore it.  Suggest
17 --package-db as an alternative.
18 
19] {
20hunk ./Distribution/Simple/Configure.hs 132
21     ( Monoid(..) )
22 import System.Directory
23     ( doesFileExist, getModificationTime, createDirectoryIfMissing, getTemporaryDirectory )
24+import System.Environment
25+    ( getEnv )
26 import System.Exit
27     ( ExitCode(..), exitWith )
28 import System.FilePath
29hunk ./Distribution/Simple/Configure.hs 290
30         let version = compilerVersion comp
31             flavor  = compilerFlavor comp
32 
33+        -- Cabal ignores the environment variable GHC_PACKAGE_PATH;
34+        -- let users know this.  See ticket #335.
35+        hasGPP <- (getEnv "GHC_PACKAGE_PATH" >> return True)
36+                  `catchIO` (\_ -> return False)
37+        when hasGPP . warn verbosity $
38+             "You have set the environment variable GHC_PACKAGE_PATH, which is "
39+          ++ "ignored by Cabal.  Use the flag --package-db to specify a package "
40+          ++ "database."
41+
42         -- Create a PackageIndex that makes *any libraries that might be*
43         -- defined internally to this package look like installed packages, in
44         -- case an executable should refer to any of them as dependencies.
45}
46
47Context:
48
49[Workaround the fact that haddock stomps on our precious .hi and .o files
50Duncan Coutts <duncan@haskell.org>**20100408225156
51 Ignore-this: 301321a9ad31195da3cf78d8a0a72edd
52 When using "haddock --optghc-XTemplateHaskell" haddock will write out .o
53 and .hi files. This is bad because it replaces the ones we previously
54 built. This results in broken packages later on. Of course haddock
55 should not do this, it should write temp files elsewhere. The workaround
56 is to tell haddock to write the files to a temp dir.
57]
58[Remove an out-of-date comment
59Ian Lynagh <igloo@earth.li>**20100326131752]
60[Factorise duplicate finding in package description checks
61Duncan Coutts <duncan@haskell.org>**20100320215132
62 Ignore-this: 9a0e068b05f611f77bee85ca5b943919
63]
64[Fix local inplace registration for ghc-6.12
65Duncan Coutts <duncan@haskell.org>**20100320172108
66 Ignore-this: 197ec567d3bf300c6ed6430f03a5409d
67 This is for the case of intra-package deps where the lib has to be
68 registered into a local package db. We use "-inplace" suffix for
69 the local installed package ids (rather than using an ABI hash).
70]
71[On windows, pick up ar.exe from the ghc install before looking on the $PATH
72Duncan Coutts <duncan@haskell.org>**20100320143643
73 Ignore-this: a3931cad3a8fd821a9b1ddd893db8c32
74 Some ar.exe versions floating around seem to have weird non-posix behaviour.
75]
76[Document the "manual" attribute of flags
77Ian Lynagh <igloo@earth.li>**20100317203744]
78[Tweak doc Makefile
79Ian Lynagh <igloo@earth.li>**20100317202418]
80[Fix mismatch between arch and os variables in D.S.InstallDirs interpolation
81Andrea Vezzosi <sanzhiyan@gmail.com>**20100119031642
82 Ignore-this: 3a66bd9771f294fc1f52be8824ca051b
83]
84[Get the correct value of $topdir on Windows with GHC 6.12.1
85Ian Lynagh <igloo@earth.li>**20091230204613]
86[Revert the change to filter out deps of non-buildable components
87Duncan Coutts <duncan@haskell.org>**20091229222533
88 Ignore-this: 7f6f18997e28b843422d2c55a8bce302
89 It does not work as intended and gives inconsistent results between
90 cabal install and cabal configure. The problem with the approach was
91 that we were filtering out the dependencies of non-buildable components
92 at the end. But that does not help much since if one of the deps of
93 the non-buildable component were not available then we would have
94 failed earlier with a constraint failure. A proper solution would have
95 to tackle it from the beginning, not just as a filter at the end.
96 The meaning of build-depends and buildable: False needs more thought.
97]
98[Silence warning about unused paramater
99Duncan Coutts <duncan@haskell.org>**20091229211649]
100[Remove deprecated --copy-prefix= feature
101Duncan Coutts <duncan@haskell.org>**20091228203513
102 It's been deprecated since Cabal 1.1.4 (over 3 years).
103 The replacement since then has been --destdir=
104]
105[Fix generating Paths_pkgname module with hugs
106Duncan Coutts <duncan@haskell.org>**20091228202618
107 In the case that the progsdir is not relative to the $prefix
108]
109[Change preprocessModule to preprocessFile
110Duncan Coutts <duncan@haskell.org>**20091228190125
111 So we can stop pretending that "main-is: foo.hs" is a module name.
112 Also allows us to deprecate ModuleName.simple which bypasses the
113 ModuleName type invariant.
114]
115[Move registering to per-compiler modules, fix inplace register for hugs
116Duncan Coutts <duncan@haskell.org>**20091228025220]
117[Add a number of TODOs
118Duncan Coutts <duncan@haskell.org>**20091228024948]
119[Fix priority of the two global hugs package dbs
120Duncan Coutts <duncan@haskell.org>**20091228024849]
121[Fix name clashes in hugs module
122Duncan Coutts <duncan@haskell.org>**20091228024814]
123[Add parenthesis to macros in cabal_macros.h
124Antoine Latter <aslatter@gmail.com>**20091229023358
125 Ignore-this: 5c5e7244d10bcd82da2cbf4432b30a6d
126 Now this like "#if !MIN_VERSION_base(4,2,0)" will work
127]
128[Make the datadir follow the $prefix on Windows
129Duncan Coutts <duncan@haskell.org>**20091228165056
130 Ignore-this: ce33a328dbf2d1e419cf6e5047bff091
131 This is slightly experimental, we'll see how it goes. See ticket #466.
132]
133[Simplify getInstalledPackages and callers
134Duncan Coutts <duncan@haskell.org>**20091223234857
135 Ignore-this: 7927e992e0b040347dc24530219eb8eb
136 No longer returns Maybe, we can find installed packages for all
137 the compilers we support (and this feature is a requirement for
138 support for new compilers).
139 This is an API change so cannot merge to Cabal-1.8.x branch.
140]
141[Implement support for hugs and nhc98 package databases
142Duncan Coutts <duncan@haskell.org>**20091223233557
143 Ignore-this: aa12e2a278e89544ead82d7c8d3b325a
144 That is, work out which packages are installed for hugs and nhc98.
145 In both cases there is special support for the core packages.
146 In future both should use the standard method when they supply
147 proper installed package info files for the bundled libraries.
148]
149[Find the version of hugs
150Duncan Coutts <duncan@haskell.org>**20091222175415
151 This is really hard and rather nasty.
152]
153[Convert XXX comments to TODO or FIXME as appropriate
154Duncan Coutts <duncan@haskell.org>**20091222160247]
155[Fixes for compiling Cabal with hugs
156Duncan Coutts <duncan@haskell.org>**20091223103916
157 Ignore-this: f49c719d33e3909996f391e80911c51c
158]
159[Make lack of language extensions an error not a warning
160Duncan Coutts <duncan@haskell.org>**20091216204505
161 Also improve the error message somewhat
162]
163[Specify DOCTYPE when generating userguide html
164Duncan Coutts <duncan@haskell.org>**20091216035321
165 Ignore-this: 9d3b09e3c593a8d5f39b691ef2ceb377
166 Useless docbook tools.
167]
168[Registering packages needs all the package dbs listed
169Duncan Coutts <duncan@haskell.org>**20091211133233
170 Ignore-this: 249cc7ae1452bfa8e970f0ba24d4ff5f
171 Important for the case of registering inplace when we're using a
172 specific package db, e.g. when doing isolated builds.
173]
174[Switch a few distribution checks to build warnings
175Duncan Coutts <duncan@haskell.org>**20091202143549
176 Ignore-this: bbadf449113d009b51837bc1dd3488af
177 In particular the one about -prof since this leads to borked packages.
178]
179[Make it so cabal passes the dylib-install-name when building dynamic libraries on Mac OS/X.
180Ian Lynagh <igloo@earth.li>**20091204144142
181 This is a rerecord of
182     Stephen Blackheath <oversensitive.pastors.stephen@blacksapphire.com>**20091001053101
183 to avoid conflicts.
184]
185[Take line endings into account in IOEncodingUTF8 mode
186Duncan Coutts <duncan@haskell.org>**20091202002553
187 Ignore-this: 59a60d9adaf90e94b69336bbb5619d2f
188 When collecting the output from programs.
189]
190[Install shared libraries as executable files
191Ian Lynagh <igloo@earth.li>**20091201145349
192 Fixes GHC trac #3682. Patch from juhpetersen.
193]
194[Fix warnings
195Ian Lynagh <igloo@earth.li>**20091129164643]
196[Tweak layout to work with alternative layout rule
197Ian Lynagh <igloo@earth.li>**20091129163614]
198[Bump version in HEAD branch to 1.9.0
199Duncan Coutts <duncan@haskell.org>**20091129161734
200 Ignore-this: bbbc9fbb9abdee3f51bdcf972554d93d
201 The 1.8.x branch remains at 1.8.0.1
202]
203[Update changelog for 1.8.x release
204Duncan Coutts <duncan@haskell.org>**20091129161613
205 Ignore-this: 43b797ce87ba439869c080e0a8e20eab
206]
207[Package registration files are always UTF8
208Duncan Coutts <duncan@haskell.org>**20091129153341
209 Ignore-this: 7863e05c5514d1fee5165fda3815b116
210 As is the output from ghc-pkg dump.
211]
212[Add support for text encoding when invoking a program
213Duncan Coutts <duncan@haskell.org>**20091129153110
214 Ignore-this: c839875b970d31200d98ead9c8730215
215 Can be either locale text or specifically UTF8.
216 Also tidy up the rawSystemStd* variants and pass
217 a text/binary mode flag for the input and output.
218]
219[Change where we add a trailing newline when showing InstalledPackageInfo
220Duncan Coutts <duncan@haskell.org>**20091128171755
221 Ignore-this: 5e91f3e0988cf60572eefc374735727f
222 Do it in the pretty-printing rather than just before writing the file.
223]
224[Update docs on a couple util functions
225Duncan Coutts <duncan@haskell.org>**20091128171114
226 Ignore-this: f8df6d6f06dcc2f173180fa063aba091
227]
228[Update docs for class Package
229Duncan Coutts <duncan@haskell.org>**20091128170909
230 Ignore-this: 2b36ab0d8c422465d489ca2dc7010204
231]
232[Be less verbose when checking foreign deps
233Duncan Coutts <duncan@haskell.org>**20091128170810
234 Ignore-this: 576c714db6ac0dad7220f9824552c30c
235]
236[Add backwards compat version of findProgramOnPath
237Duncan Coutts <duncan@haskell.org>**20091128152444
238 Ignore-this: be475bbcbb539d2f2f834a2f0ca235f9
239 Break a couple fewer package's Setup.hs files
240]
241[Experimentally, change order of user-supplied program args
242Duncan Coutts <duncan@haskell.org>**20091120135619
243 Ignore-this: f9b8b4ecc68ee8b2294768c95a2ef774
244 Put them last rather than first.
245]
246[Fix building with base 3
247Duncan Coutts <duncan@haskell.org>**20091117141958
248 Ignore-this: 5ee71207064f5298bb40bafbf537d684
249]
250[Canonicalise the package deps returned by finalizePackageDescription
251Duncan Coutts <duncan@haskell.org>**20091109193556
252 Ignore-this: eb489503c4a9e27dd8d427cf707461f9
253 The guarantee is supposed to be that each package name appears at most
254 once with all the constraints for that dependency. The cabal-install
255 planner relies on this property.
256]
257[Improve the error message for missing sh.exe on Windows
258Duncan Coutts <duncan@haskell.org>**20091109182624
259 Ignore-this: 5801ce5598387ad238e61a075285ddf0
260 When ettempting to run ./configure scripts. Fixes ticket #403.
261]
262[Deprecated PatternSignatures in favor of ScopedTypeVariables
263Niklas Broberg <niklas.broberg@gmail.com>**20090603121321
264 Ignore-this: cc1cb044e3db25cb53e1830da34a317b
265]
266[JHC support requires jhc >= 0.7.2
267Duncan Coutts <duncan@haskell.org>**20091109113232
268 Ignore-this: 97e456357263977187c2768c957b8be7
269]
270[Remove some commented out code
271Duncan Coutts <duncan@haskell.org>**20091106133047
272 Ignore-this: f4a122d90207de861acc5af603cf55ea
273]
274[JHC.getInstalledPackages: remove check for --user flag, since JHC-0.7.2 supports local packages
275haskell@henning-thielemann.de**20091029103515]
276[JHC.buildLib: make this working for JHC-0.7.2
277haskell@henning-thielemann.de**20091028223004]
278[JHC.getInstalledPackages: adapt to package lists emitted by jhc-0.7.2
279haskell@henning-thielemann.de**20091028211802]
280[Bump minor version
281Duncan Coutts <duncan@haskell.org>**20091104180106
282 Ignore-this: 6ccbdc1bfa80f66cf74584ff66018582
283 A few changes since version 1.8.0 that was released with ghc-6.12rc1
284]
285[Tweak the assertion on overall package deps
286Duncan Coutts <duncan@haskell.org>**20091104175912
287 Ignore-this: abe2735469828829219938ee4275ebda
288]
289[Exclude non-buildable components when constructing the overall package deps
290Duncan Coutts <duncan@haskell.org>**20091104130435
291 Ignore-this: 60a11926991ce894da07f3e4c54ed257
292]
293[Pass profiling flag to ghc when compiling C files.
294Bertram Felgenhauer <int-e@gmx.de>**20091103165558
295 Ignore-this: 422eaeca8c7246170931adecc8556f15
296 The main effect of this change is that the PROFILING macro gets defined
297 when compiling C files and profiling is enabled. This is useful for code
298 that inspects closures.
299 
300 Caveat:
301   The change relies on the fact that Cabal does not track dependencies
302   of C files but recompiles them every time. If dependency tracking is
303   added, we'll need different extensions for profiling and non-profiling
304   object files.
305]
306[Build with ghc-6.6
307Duncan Coutts <duncan@haskell.org>**20091028161849
308 Ignore-this: 5042dc4f628b68d9d9e40d33837e9818
309]
310[Fix haddock markup
311Duncan Coutts <duncan@haskell.org>**20091021124111
312 Ignore-this: 7a301d4ede384f2256b02dbf179c0d9b
313]
314[Only pass -B... to gcc for GHC < 6.11
315Ian Lynagh <igloo@earth.li>**20091012144707
316 It is no longer needed in 6.12.
317]
318[Use -Wl,-R, for the gcc rpath flag.
319Duncan Coutts <duncan@haskell.org>**20091006211326
320 Ignore-this: 2323285313bad2ec91e4e27a0ae6177
321 Apparently it was only gcc on Solaris that groks -R directly,
322 so we have to use -Wl to pass it through to ld. Both GNU and
323 Solaris ld grok -R, only GNU ld accepts -rpath.
324]
325[Don't complain if there is no ghc rts package registered
326Duncan Coutts <duncan@haskell.org>**20091006172618
327 Ignore-this: 8634380cb75891a13988123bbbfd372b
328]
329[I was wrong, the test was correct before.
330Duncan Coutts <duncan@haskell.org>**20091006172046
331 Ignore-this: e1967271893b0d745d25a9ee09b624cb
332 
333 rolling back:
334 
335 Mon Oct  5 17:32:02 BST 2009  Stephen Blackheath <grossly.sensitive.stephen@blacksapphire.com>
336   * Fix test case InternalLibrary4 on account of a change in Cabal's behaviour.
337 
338     M ./tests/PackageTests/BuildDeps/InternalLibrary4/Check.hs -5 +4
339]
340[Unbreak configure for packages that depend on different versions of themselves
341Duncan Coutts <duncan@haskell.org>**20091006171845
342 Ignore-this: bce724e750b48ffa7e669c6573b49a8d
343]
344[Bump version number to 1.8.0
345Ian Lynagh <igloo@earth.li>**20091006160120]
346[Loosen the invariant, it was too strict
347Simon Marlow <marlowsd@gmail.com>**20091006133756
348 Ignore-this: 6087cfc11c19d4bac2fddcf007e9bb7c
349 The packages do not need to be in the same order when sorted by
350 package name as when sorted by InstalledPackageId.
351]
352[Fix test case InternalLibrary4 on account of a change in Cabal's behaviour.
353Stephen Blackheath <grossly.sensitive.stephen@blacksapphire.com>**20091005163202
354 Ignore-this: abc7f45e5fe6eb8e28dee5bfe406b16c
355]
356[Keep asserts for testing pre-releases
357Duncan Coutts <duncan@haskell.org>**20091005161425
358 Ignore-this: ca9406c17afcba272383eb3f66305a
359]
360[Fix configuring for packages with internal lib deps.
361Duncan Coutts <duncan@haskell.org>**20091005161235
362 Ignore-this: 31d508508230864d43e3df033dd687d1
363 Was using the wrong set of packages when doing the finalise.
364]
365[Bump minor version
366Duncan Coutts <duncan@haskell.org>**20091005114150
367 Ignore-this: 85fe7d55bac00035cd92c4ffc3f71c2
368]
369[Stop converting between installed package id and source package id
370Duncan Coutts <duncan@haskell.org>**20091005111806
371 Ignore-this: ed5b14ec4010ab1b8d5cde0ac5ac83e5
372 In the LocalBuildInfo, for each component, for the list of component
373 dependencies, keep both the InstalledPackageId and the PackageId.
374 That way we don't need to keep converting the InstalledPackageId
375 to the PackageId, via the package index (which is just horrible).
376]
377[Reduce the insanity in Configure
378Duncan Coutts <duncan@haskell.org>**20091005110957
379 Ignore-this: 93fa0d351701e6317afb46df94e64777
380 It was making so many different kinds of package index and converting
381 back and forth between package id and installed package id that it
382 made my brain hurt. Thou shalt not convert blithly between package Id
383 and installed package Id for thou know not what thy doest.
384]
385[Get and merge ghc's package dbs more sensibly
386Duncan Coutts <duncan@haskell.org>**20091005110714
387 Ignore-this: fc4b3c983dc7aa0ebc362e990c6a8a2b
388 Use the merge rather than just making a big list.
389]
390[Rewrite the PackageIndex again
391Duncan Coutts <duncan@haskell.org>**20091005110330
392 Ignore-this: ea36efcd3ee2bb5dae40de998b6b4de6
393 It's a unified index again, rather than one for looking up by an
394 InstalledPackageId and one for the source PackageId. The new one
395 lets you look up by either. It also maintains the order of
396 preference of different installed packages that share the same
397 source PackageId. In configure we just pick the first preference.
398]
399[Don't use -#include flag with ghc-6.12
400Duncan Coutts <duncan@haskell.org>**20091004154334
401 Ignore-this: b520998e5b5213155de0cba1680e1338
402]
403[Fix sdist for packages using .lhs-boot files
404Duncan Coutts <duncan@haskell.org>**20091002145221
405 Ignore-this: eaed8d1170bc81b9baa3825f8b662adc
406]
407[Fix deadlocks when calling waitForProcess; GHC trac #3542
408Ian Lynagh <igloo@earth.li>**20090928174553
409 We now wait on MVars indicating that stdout and stderr have been
410 closed before making the waitForProcess call.
411]
412[Update dependencies
413Ian Lynagh <igloo@earth.li>**20090920152411]
414[Simplify the use of simplifyVersionRange
415Duncan Coutts <duncan@haskell.org>**20090920153433
416 Ignore-this: fd41587284e064b185cd1db423ddf493
417 Use the simplifyDependency wrapper
418]
419[Fix Integer defaulting
420Duncan Coutts <duncan@haskell.org>**20090920153249
421 Ignore-this: a747789b708b34cf3589a4c5a9fdb9cd
422]
423[Don't simplify empty/inconsistent version ranges
424Duncan Coutts <duncan@haskell.org>**20090920151647
425 Ignore-this: aeddcb5625dd29963036c07be5a9c2da
426 They all get squashed to ">1 && <1" which while canonical is not helpful.
427]
428[Fix pretty printing of version ranges to use parens in the right places
429Duncan Coutts <duncan@haskell.org>**20090917042612
430 Ignore-this: 198737aa806fa92774494f6e33344a84
431]
432[Fix the depth calculation for the version range expression check
433Duncan Coutts <duncan@haskell.org>**20090917032748
434 Ignore-this: da1f0fefd17c1269f39e93e4623dc274
435 Previously it was complaining about expressions like
436  >= 2 && < 3
437 because internally >= is represented in terms of >, == and ||.
438 The fix is to use new fold that gives a view with the extra
439 syntactic sugar so that <= and <= can be counted as one.
440]
441[Modify foldVersionRange and add foldVersionRange'
442Duncan Coutts <duncan@haskell.org>**20090917032713
443 Ignore-this: cdb7ff28869dd8637cbc7d1a02620c5b
444 Now foldVersionRange gives a view with no syntactic sugar
445 while foldVersionRange' gives a view with the syntactic sugar.
446]
447[Fix the version-range parser to allow arbitrary expressions over constraints.
448Malcolm.Wallace@cs.york.ac.uk**20090911111643
449 Previously, only a single conjunction (&&) or disjunction (||) was
450 parseable, despite an internal representation that permits arbitrary
451 combinations.  Now, any sequence of (&&) and (||) combining forms is
452 parsed.  (&&) binds more tightly than (||).
453]
454[Use -package-id rather than -package with GHC 6.11+
455Simon Marlow <marlowsd@gmail.com>**20090906112416
456 Ignore-this: a9cb1e8684411ea3fa04e0d54826f76b
457]
458[Install dyn way hi files
459Duncan Coutts <duncan@haskell.org>**20090908142853
460 Ignore-this: 9de867381e500fda321a29e137e71414
461]
462[Use -R flags for hsc2hs wherever we use -L flags on ELF platforms.
463Duncan Coutts <duncan@haskell.org>**20090828233704
464 Ignore-this: 357aa0d1865a1fe6bf37fb6f41e2c93a
465 This fixes use of hsc2hs in cases where things like libgmp
466 is not on the system's dynamic linker path. It's ok to use
467 rpath in the case of hsc2hs because the linked programs are
468 run immediately and never installed.
469]
470[Add the ABI hash to the InstalledPackageId for inplace registrations too
471Simon Marlow <marlowsd@gmail.com>**20090826155157
472 Ignore-this: f10a1e90492a356a8ed8ed78fd056176
473 Previously, we just added a -inplace suffix, but this will cause
474 problems when developing multiple packages inplace, and then
475 installing them.
476 
477 Also, there was a round of refactoring: registerPackage now takes the
478 InstalledPackageId as an argument, and generateRegistrationInfo is
479 exposed for constructing it.  This means that callers of
480 registerPackage get to munge the InstalledPackageInfo before it is
481 registered.
482]
483[Bump minor version to 1.7.4
484Duncan Coutts <duncan@haskell.org>**20090824010433
485 Ignore-this: 360111493090f2cf86a65dfa2bd41da0
486 due to recent API changes
487]
488[Change finalizePackageDescription to take dep test function
489Duncan Coutts <duncan@haskell.org>**20090822234256
490 Ignore-this: 573c4d60e9c40f8814371a6c3a0b8c9
491 Ths is instead of taking a set of installed packages. This insulates
492 us from the representation of the installed package set which is good
493 since we now have several representations. It also opens the door to
494 generalising the kinds of constraints we can handle.
495]
496[Add a HACKING file
497Duncan Coutts <duncan@haskell.org>**20090822151636
498 Ignore-this: 222a83edbe3bf27574bfe51df7f109f0
499 Seems people do not know that the source guide exists.
500]
501[Add a bunch of TODOs and minor doc changes
502Duncan Coutts <duncan@haskell.org>**20090822134721
503 Most TODOs related to the new InstalledPackageId stuff.
504]
505[Refactor and simplify the fixup in "hc-pkg dump"
506Duncan Coutts <duncan@haskell.org>**20090822134408
507 We have to set the installedPackageId if it's missing.
508 There's no need for this to depend on the version of ghc which
509 is nice since this module is not supposed to be ghc specific.
510]
511[Rename the InstalledPackageInfo field package to sourcePackageId
512Duncan Coutts <duncan@haskell.org>**20090822134111
513 The old one was always too generic and it now contrasts
514 better with the new installedPackageId field.
515]
516[Add a unuque identifier for installed packages (part 9 of 9)
517Simon Marlow <marlowsd@gmail.com>**20090806132217
518 Ignore-this: 942731e2e26cfad6c53e728b911f1912
519 
520 When registering, choose the InstalledPackageId.
521 
522  - When registering inplace, use "foo-1.0-inplace"
523 
524  - If this isn't GHC, just use "foo-1.0-installed"
525 
526  - When installing a package with GHC, call
527    Distribution.Simple.GHC.libAbiHash to get the hash, and
528    use "foo-1.0-<hash>".
529]
530[Add a unuque identifier for installed packages (part 7 of 9)
531Simon Marlow <marlowsd@gmail.com>**20090806131728
532 Ignore-this: cf0e7da3e1e8e2b39336649c479c0938
533 
534 Follow changes in Distribution.Simple.LocalBuildInfo (installedPkgs is
535 now an InstalledPackageIndex).
536]
537[Add a unuque identifier for installed packages (part 8 of 9)
538Simon Marlow <marlowsd@gmail.com>**20090806131700
539 Ignore-this: 7cc5db4eb24ced8f3e8770fb8c19650f
540 
541 Distribution.Simple.Configure: follow changes to PackageIndex and
542 INstalledPackageInfo.
543]
544[Add a unuque identifier for installed packages (part 6 of 9)
545Simon Marlow <marlowsd@gmail.com>**20090806132002
546 Ignore-this: 80e560a4b659edd2ec9345aa57af862a
547 
548 Add libAbiHash, which extracts a String representing a hash of
549 the ABI of a built library.  It can fail if the library has not
550 yet been built.
551]
552[Add a unuque identifier for installed packages (part 5 of 9)
553Simon Marlow <marlowsd@gmail.com>**20090806131748
554 Ignore-this: 9e242223ca16314148bf92616c19838b
555 
556 Follow changes to Distribution.Simple.LocalBuildInfo.componentPackageDeps.
557]
558[Add a unuque identifier for installed packages (part 4 of 9)
559Simon Marlow <marlowsd@gmail.com>**20090806131829
560 Ignore-this: cd1f965c30d3dbd26dd184b3fd126163
561 
562 Distribution.Simple.LocalBuildInfo:
563 
564   - the LocalBuildInfo record contains an index of the installed
565     packages; this has changed from PackageIndex InstalledPackageInfo
566     to InstalledPackageIndex.
567 
568   - ComponentLocalBuildInfo stores the "external package dependencies"
569     of the component, which was
570       componentPackageDeps :: [PackageId]
571     and is now
572       componentInstalledPackageDeps :: [InstalledPackageId]
573 
574   - we now export
575       componentPackageDeps :: LocalBuildInfo -> [PackageId]
576     (since to get the PackageId for an InstalledPackageId, you need
577     to look it up in the InstalledPackageIndex, which is in the
578     LocalBuildInfo)
579 
580   - similarly, previously
581       externalPackageDeps :: LocalBuildInfo -> [PackageId]
582     is now
583       externalPackageDeps :: LocalBuildInfo -> [InstalledPackageId]
584]
585[Add a unuque identifier for installed packages (part 3 of 9)
586Simon Marlow <marlowsd@gmail.com>**20090806131810
587 Ignore-this: 455a736ea5a3241aa6040f4c684ab0b3
588 
589 This part adds the InstalledPackageIndex type to
590 Distribution.Simple.PackageIndex.  Now that packages have a unique
591 identifier within a package database, it makes sense to use this as
592 the key for looking up installed packages, so InstalledPackageIndex is
593 a mapping from InstalledPackageId to InstalledPackageInfo.
594 
595 Distribution.Simple.PackageIndex still supports other kinds of package
596 mappings: PackageIndex is a mapping from PackageName.
597 
598 All the functions in the section "Special Queries" now work on
599 InstalledPackageIndex rather than PackageFixedDeps pkg => PackageIndex
600 pkg:
601 
602   topologicalOrder,
603   reverseTopologicalOrder,
604   dependencyInconsistencies,
605   dependencyCycles,
606   brokenPackages,
607   dependencyClosure,
608   reverseDependencyClosure
609   dependencyGraph
610]
611[Add a unuque identifier for installed packages (part 2 of 9)
612Simon Marlow <marlowsd@gmail.com>**20090806131906
613 Ignore-this: f3fba4465373bd4b7397384f08ca189e
614 
615 Note: this patch doesn't build on its own, you also need the rest of
616 the patch series.
617 
618 Compatibility with older GHCs.  When reading a package database
619 created by an older version of GHC without installedPackageIds, we
620 have to fake an InstalledPackageId for the internal
621 InstalledPackageInfo.
622 
623 So, when reading in an InstalledPackageInfo from an older GHC, we set
624 the installedPackageId to be the textual representation of the
625 PackageIdentifier: i.e. <package>-<version>.  Now, previously the
626 depends field of InstalledPackageInfo was [PackageIdentifier], and is
627 now [InstalledPackageId], so we will read each PackageIdentifier as an
628 InstalledPackageId (a String).  The dependencies will still point to
629 the correct package, however, because we have chosen the
630 installedPackageId to be the textual representation of the
631 PackageIdentifier.
632]
633[Add a unuque identifier for installed packages (part 1 of 9)
634Simon Marlow <marlowsd@gmail.com>**20090806131928
635 Ignore-this: b774e5719e666baee504e1f52381cc8b
636   
637   NOTE: the patch has been split into 9 pieces for easy
638   reviewing, the individual pieces won't build on their own.
639   
640 Part 1 does the following:
641 
642 Distribution.Package:
643   - define the InstalledPackageId type as a newtype of String
644 
645 Distribution.InstalledPackageInfo:
646   - add an installedPackageId field to InstalledPackageInfo
647   - change the type of the depends field from [PackageIdentifier]
648     to [InstalledPackageId]
649 
650 
651 The idea behind this change is to add a way to uniquely identify
652 installed packages, letting us decouple the identity of an installed
653 package instance from its package name and version.  The benefits of
654 this are
655 
656   - We get to detect when a package is broken because its
657     dependencies have been recompiled, or because it is being
658     used with a different package than it was compiled against.
659 
660   - We have the possibility of having multiple instances of a
661     given <package>-<version> installed at the same time.  In the
662     future this might be used for "ways".  It might also be
663     useful during the process of upgrading/recompiling packages.
664]
665[Refactoring: fit into 80 columns
666Simon Marlow <marlowsd@gmail.com>**20090806115825
667 Ignore-this: e4e9bdea632814842121fcf7c7d6c3a
668]
669[Use a simpler method for the check on the base-upper-bound
670Duncan Coutts <duncan@haskell.org>**20090812133313
671 Ignore-this: 9234cc76670a135906c8b7d2e19e6199
672 The key point is that we do not complain for packages
673 that do not depend on base at all (like ghc-prim).
674]
675[Fix the base-upper-bound Cabal check error
676Ian Lynagh <igloo@earth.li>**20090811204455]
677[Fix "unused-do-bind" warnings properly
678Duncan Coutts <duncan@haskell.org>**20090727161125
679 Though I'm not at all sure I like the _ <- bind idiom.
680]
681[Undo incorrect fixes for "unused-do-bind" warnings.
682Duncan Coutts <duncan@haskell.org>**20090727160907
683 We capture (and discard) the program output because we do not
684 want it printed to the console. We do not currently have a
685 specific variant for redirecting the output to /dev/null so
686 we simply use the variant that captures the output.
687 
688 rolling back:
689 
690 Fri Jul 10 22:04:45 BST 2009  Ian Lynagh <igloo@earth.li>
691   * Don't ask for the output of running ld, as we ignore it anyway
692 
693     M ./Distribution/Simple/GHC.hs -2 +2
694     M ./Distribution/Simple/LHC.hs -2 +2
695 Fri Jul 10 22:08:02 BST 2009  Ian Lynagh <igloo@earth.li>
696   * Don't use the Stdout variant of rawSystemProgramConf to call gcc
697   We ignore the output anyway
698 
699     M ./Distribution/Simple/Configure.hs -2 +3
700]
701[Pass GHC >= 6.11 the -fbuilding-cabal-package flag
702Ian Lynagh <igloo@earth.li>**20090726181405]
703[Follow the change in GHC's split-objs directory naming
704Ian Lynagh <igloo@earth.li>**20090723234430]
705[Fix a "warn-unused-do-bind" warning
706Ian Lynagh <igloo@earth.li>**20090710212059]
707[Don't use the Stdout variant of rawSystemProgramConf to call gcc
708Ian Lynagh <igloo@earth.li>**20090710210802
709 We ignore the output anyway
710]
711[Don't ask for the output of running ld, as we ignore it anyway
712Ian Lynagh <igloo@earth.li>**20090710210445]
713[Fix some "warn-unused-do-bind" warnings where we want to ignore the value
714Ian Lynagh <igloo@earth.li>**20090710210407]
715[Fix unused import warnings
716Ian Lynagh <igloo@earth.li>**20090707133559]
717[Remove unused imports
718Ian Lynagh <igloo@earth.li>**20090707115824]
719[Bump version to 1.7.3 due to recent API changes
720Duncan Coutts <duncan@haskell.org>**20090707095901]
721[Simplify and generalise installDirsTemplateEnv
722Duncan Coutts <duncan@haskell.org>**20090705205411
723 Take a set of templates rather than file paths.
724]
725[Rename and export substituteInstallDirTemplates
726Duncan Coutts <duncan@haskell.org>**20090705205257
727 This does the mutual substituition of the installation
728 directory templates into each other.
729]
730[Follow changes in haddock
731Ian Lynagh <igloo@earth.li>**20090705193610
732 The --verbose flag is now called --verbosity
733]
734[TAG 2009-06-25
735Ian Lynagh <igloo@earth.li>**20090625160144]
736[Undo a simplification in the type of absoluteInstallDirs
737Duncan Coutts <duncan@haskell.org>**20090705154155
738 Existing Setup scripts use it so we can't change it. Fixes #563.
739]
740[Help Cabal find gcc/ld on Windows
741Simon Marlow <marlowsd@gmail.com>**20090626140250
742 Ignore-this: bad21fe3047bc6e23165160c88dd53d9
743 the layout changed in the new GHC build system
744]
745[clean up createTempDirectory, using System.Posix or System.Directory
746Simon Marlow <marlowsd@gmail.com>**20090625105648
747 Ignore-this: 732aac57116c308198a8aaa2f67ec475
748 rather than low-level System.Posix.Internals operations which are
749 about to go away.
750]
751[follow change in System.Posix.Internals.c_open
752Simon Marlow <marlowsd@gmail.com>**20090622133654
753 Ignore-this: d2c775473d6dfb1dcca40f51834a2d26
754]
755[update to work with the new GHC IO library internals (fdToHandle)
756Simon Marlow <marlowsd@gmail.com>**20090612095346
757 Ignore-this: 2697bd2b64b3231ab4d9bb13490c124f
758]
759[Describe the autoconfUserHooks option more accurately in the user guide
760Duncan Coutts <duncan@haskell.org>**20090614191400]
761[Fix && entity refs in doc xml
762Duncan Coutts <duncan@haskell.org>**20090614191230]
763[documentation update: add a description of the syntax for 'compiler' fields in .cabal files
764Brent Yorgey <byorgey@cis.upenn.edu>**20090610194550]
765[use Haskell 98 import syntax
766Ross Paterson <ross@soi.city.ac.uk>**20090610174619
767 Ignore-this: 26774087968e247b41d69350c015bc30
768]
769[fix typo of exitcode
770Ross Paterson <ross@soi.city.ac.uk>**20090610174541
771 Ignore-this: e21da0e6178e69694011e5286b382d72
772]
773[Put a "%expect 0" directive in the .y file of a test
774Ian Lynagh <igloo@earth.li>**20090608204035]
775[Rearrange the PathTemplateEnv stuff and export more pieces
776Duncan Coutts <duncan@haskell.org>**20090607224721]
777[Rewrite the Register module
778Duncan Coutts <duncan@haskell.org>**20090607182821
779 It was getting increasingly convoluted and incomprehensible.
780 Now uses the Program.HcPkg and Program.Scripts modules.
781]
782[Simplify OSX ranlib madness
783Duncan Coutts <duncan@haskell.org>**20090607180717]
784[Use new Program.Ld and Program.Ar in GHC module
785Duncan Coutts <duncan@haskell.org>**20090607180534]
786[Use the new HcPkg module in the GHC getInstalledPackages function
787Duncan Coutts <duncan@haskell.org>**20090607180442]
788[Add specialised modules for handling ar and ld
789Duncan Coutts <duncan@haskell.org>**20090607180257]
790[Add improved xargs style function
791Duncan Coutts <duncan@haskell.org>**20090607180214
792 More flexible and based on the ProgramInvocation stuff
793]
794[Pass verbosity to hc-pkg
795Duncan Coutts <duncan@haskell.org>**20090607180146]
796[Use a better api for registering libs in the internal package db
797Duncan Coutts <duncan@haskell.org>**20090607125436]
798[Add new Program modules
799Duncan Coutts <duncan@haskell.org>**20090607121301]
800[New module for handling calling the hc-pkg program
801Duncan Coutts <duncan@haskell.org>**20090607120650]
802[New module to write program invocations as shell scripts or batch files
803Duncan Coutts <duncan@haskell.org>**20090607120520
804 For tasks like registering where we call hc-pkg, this allows us to
805 produce a single program invocation and then either run it directly
806 or write it out as a script.
807]
808[Re-export the program invocation stuff from the Program module
809Duncan Coutts <duncan@haskell.org>**20090607120404]
810[Fix rawSystemStdin util function
811Duncan Coutts <duncan@haskell.org>**20090607120324
812 Close the input after pushing it. Return any error message.
813]
814[Split the Program module up a bit
815Duncan Coutts <duncan@haskell.org>**20090607101246
816 Add an explicit intermediate ProgramInvocation data type.
817]
818[Do not pass Maybe LocalBuildInfo to clean hook
819Duncan Coutts <duncan@haskell.org>**20090604203830
820 It is a bad idea for clean to do anything different depending
821 on whether the package was configured already or not. The
822 actual cleaning code did not use the LocalBuildInfo so this
823 only changes in the UserHooks interface. No Setup.hs scripts
824 actually make of this parameter for the clean hook.
825 Part of ticket #133.
826]
827[Simplify checkPackageProblems function
828Duncan Coutts <duncan@haskell.org>**20090604203709
829 Since we now always have a GenericPackageDescription
830]
831[Change UserHooks.confHook to use simply GenericPackageDescription
832Duncan Coutts <duncan@haskell.org>**20090604203400
833 Rather than Either GenericPackageDescription PackageDescription
834 In principle this is an interface change that could break Setup.hs
835 scripts but in practise the few scripts that use confHook just pass
836 the arguments through and so are not sensitve to the type change.
837]
838[Change UserHooks.readDesc to use GenericPackageDescription
839Duncan Coutts <duncan@haskell.org>**20090604202837
840 Also changes Simple.defaultMainNoRead to use GenericPackageDescription.
841 This is an API change that in principle could break Setup.hs scripts
842 but in practise there are no Setup.hs scripts that use either.
843]
844[Pass a verbosity flag to ghc-pkg
845Ian Lynagh <igloo@earth.li>**20090605143244]
846[When build calls register, pass the verbosity level too
847Ian Lynagh <igloo@earth.li>**20090605142718]
848[Fix unlit
849Ian Lynagh <igloo@earth.li>**20090605130801
850 The arguments to isPrefixOf were the wrong way round. We want to see if
851 the line starts "\\begin{code}", not if the line is a prefix of that string.
852]
853[Tweak a comment so that it doesn't confuse haddock
854Ian Lynagh <igloo@earth.li>**20090605130728]
855[Tweak new build system
856Ian Lynagh <igloo@earth.li>**20090404204426]
857[GHC new build system fixes
858Ian Lynagh <igloo@earth.li>**20090329153151]
859[Add ghc.mk for the new GHC build system
860Ian Lynagh <igloo@earth.li>**20090324211819]
861[Bump version due to recent changes
862Duncan Coutts <duncan@haskell.org>**20090603101833]
863[Ticket #89 final: Regression tests for new dependency behaviour.
864rubbernecking.trumpet.stephen@blacksapphire.com**20090601215651
865 Ignore-this: 52e04d50f1d045a14706096413c19a85
866]
867[Make message "refers to a library which is defined within the same.." more grammatical
868rubbernecking.trumpet.stephen@blacksapphire.com**20090601214918
869 Ignore-this: 3887c33ff39105f3483ca97a7f05f3eb
870]
871[Remove a couple unused imports.
872Duncan Coutts <duncan@haskell.org>**20090601192932]
873[Ban upwardly open version ranges in dependencies on base
874Duncan Coutts <duncan@haskell.org>**20090601191629
875 Fixes ticket #435. This is an approximation. It will ban most
876 but not all cases where a package specifies no upper bound.
877 There should be no false positives however, that is cases that
878 really are always bounded above that the check flags up.
879 Doing a fully precise test needs a little more work.
880]
881[Split requireProgram into two different functions
882Duncan Coutts <duncan@haskell.org>**20090601174846
883 Now requireProgram doesn't take a version range and does not check
884 the program version (indeed it doesn't need to have one). The new
885 function requireProgramVersion takes a required program version
886 range and returns the program version. Also update callers.
887 Also fixes the check that GHC has a version number.
888]
889[Ignore a byte order mark (BOM) when reading UTF8 text files
890Duncan Coutts <duncan@haskell.org>**20090531225008
891 Yes of course UTF8 text files should not use the BOM but
892 notepad.exe does anyway. Fixes ticket #533.
893]
894[executables can now depend on a library in the same package.
895Duncan Coutts <duncan@haskell.org>**20090531220720
896 Fixes ticket #89. The library gets registered into an inplace
897 package db file which is used when building the executables.
898 Based partly on an original patch by Stephen Blackheath.
899]
900[Always build ar files with indexes
901Duncan Coutts <duncan@haskell.org>**20090531193412
902 Since we have to be able to use these inplace we always need
903 the index it's not enough to just make the index on installing.
904 This particularly affects OSX.
905]
906[Make rendering the ghc package db stack more lenient
907Duncan Coutts <duncan@haskell.org>**20090531192545
908 Allow the user package db to appear after a specific one.
909 No reason not to and makes some things in cabal-install more convenient.
910]
911[Simplify version ranges in configure messages and errors
912Duncan Coutts <duncan@haskell.org>**20090531192426
913 Part of #369
914]
915[Add and export simplifyDependency
916Duncan Coutts <duncan@haskell.org>**20090531192332
917 Just uses simplifyVersionRange on the version range in the dep
918]
919[Use the PackageDbStack in the local build info and compiler modules
920Duncan Coutts <duncan@haskell.org>**20090531153124
921 This lets us pass a whole stack of package databases to the compiler.
922 This is more flexible than passing just one and working out what
923 other dbs that implies. This also lets us us more than one specific
924 package db, which we need for the inplace package db use case.
925]
926[Simplify version ranges before printing in configure error message
927Duncan Coutts <duncan@haskell.org>**20090530213922
928 Part of ticket #369. Now instead of:
929   setup: At least the following dependencies are missing:
930   base <3 && <4 && <3 && <3 && <4
931 we get:
932   setup: At least the following dependencies are missing:
933   base <3
934]
935[Bump version to 1.7.1 due to recent changes
936Duncan Coutts <duncan@haskell.org>**20090530211320]
937[Minor renaming
938Duncan Coutts <duncan@haskell.org>**20090530202312
939 Part of one of Stephen Blackheath's patches
940]
941[Improve an internal error message slightly
942Duncan Coutts <duncan@haskell.org>**20090530205540]
943[Detect intra-package build-depends
944Duncan Coutts <duncan@haskell.org>**20090530204447
945 Based on an original patch by Stephen Blackheath
946 With this change build-depends on a library within the same package
947 are detected. Such deps are not full handled yet so for the moment
948 they are explicitly banned, however this is another step towards
949 actually supporting such dependencies. In particular deps on
950 internal libs are resolved to the internal one in preference to any
951 existing external version of the same lib.
952]
953[Use accurate per-component package deps
954Duncan Coutts <duncan@haskell.org>**20090530202350
955 Based on an original patch by Stephen Blackheath
956 Previously each component got built using the union of all package
957 deps of all components in the entire package. Now we use exactly the
958 deps specified for that component. To prevent breaking old packages
959 that rely on the sloppy behaviour, package will only get the new
960 behaviour if they specify they need at least cabal-version: >= 1.7.1
961]
962[Add *LBI variants of withLib and withExe that give corresponding build info
963rubbernecking.trumpet.stephen@blacksapphire.com**20090528113232
964 Ignore-this: 6856385f1c210e33c352da4a0b6e876a
965]
966[Register XmlSyntax and RegularPatterns as known extensions in Language.Haskell.Extension
967Niklas Broberg <d00nibro@chalmers.se>**20090529102848
968 Ignore-this: 32aacd8aeef9402a1fdf3966a213db7d
969 
970 Concrete XML syntax is used in the Haskell Server Pages extension
971 language, and a description can be found in the paper "Haskell Server
972 Pages through Dynamic Loading" by Niklas Broberg, published in Haskell
973 Workshop '05.
974 
975 Regular expression pattern matching is described in the paper "Regular
976 Expression Patterns" by Niklas Broberg, Andreas Farre and Josef
977 Svenningsson, published in ICFP '04.
978]
979[Resolve merge conflict with dynlibPref patch
980Duncan Coutts <duncan@haskell.org>**20090528115249
981 The dynlibPref patch accidentally was only pushed to ghc's branch.
982]
983[Use dynlibdir = libdir for the moment
984Duncan Coutts <duncan@well-typed.com>**20090519134115
985 It will need more thought about how much control the user needs
986 and what the default shared libs management scheme should be.
987]
988[Use componentPackageDeps, remove packageDeps, add externalPackageDeps
989Duncan Coutts <duncan@haskell.org>**20090527225016
990 So now when building, we actually use per-component set of package deps.
991 There's no actual change in behaviour yet as we're still setting each of
992 the componentPackageDeps to the union of all the package deps.
993]
994[Pass ComponentLocalBuildInfo to the buildLib/Exe
995Duncan Coutts <duncan@haskell.org>**20090527210731
996 Not yet used
997]
998[Simplify writeInstalledConfig slightly
999Duncan Coutts <duncan@haskell.org>**20090527204755]
1000[No need to drop dist/installed-pkg-config after every build
1001Duncan Coutts <duncan@haskell.org>**20090527204500
1002 We generate this file if necessary when registering.
1003]
1004[Make absoluteInstallDirs only take the package id
1005Duncan Coutts <duncan@haskell.org>**20090527203112
1006 It doesn't need the entire PackageDescription
1007]
1008[Rejig calls to per-compiler build functions
1009Duncan Coutts <duncan@haskell.org>**20090527195146
1010 So it's now a bit clearer what is going on in the generic build code
1011 Also shift info calls up to generic code
1012]
1013[Split nhc and hugs's build action into buildLib and buildExe
1014Duncan Coutts <duncan@haskell.org>**20090527194206]
1015[Split JHC's build into buildLib and buildExe
1016Duncan Coutts <duncan@haskell.org>**20090527192036]
1017[Sync LHC module from GHC module
1018Duncan Coutts <duncan@haskell.org>**20090527191615]
1019[Give withLib and withExe sensible types
1020Duncan Coutts <duncan@haskell.org>**20090527185634]
1021[Fix types of libModules and exeModules
1022Duncan Coutts <duncan@haskell.org>**20090527185108
1023 Take a Library/Executable rather than a PackageDescription
1024 Means we're more precise in using it, just passing the info we need.
1025]
1026[Split ghc's build action into buildLib and buildExe
1027Duncan Coutts <duncan@haskell.org>**20090527183250]
1028[Remove unused ghc-only executable wrapper feature
1029Duncan Coutts <duncan@haskell.org>**20090527183245
1030 Some kind of shell script wrapper feature might be useful,
1031 but we should design it properly.
1032]
1033[Fixup .cabal file with the removed modules and files
1034Duncan Coutts <duncan@haskell.org>**20090527182344]
1035[Fix warnings about unused definitions and imports
1036Duncan Coutts <duncan@haskell.org>**20090527175253]
1037[Remove the makefile generation feature
1038Duncan Coutts <duncan@haskell.org>**20090527175002
1039 It was an ugly hack and ghc no longer uses it.
1040]
1041[Add new ComponentLocalBuildInfo
1042Duncan Coutts <duncan@haskell.org>**20090527174418
1043 We want to have each component have it's own dependencies,
1044 rather than using the union of deps of the whole package.
1045]
1046[Ticket #89 part 2: Dependency-related test cases and a simple test harness
1047rubbernecking.trumpet.stephen@blacksapphire.com**20090526133509
1048 Ignore-this: 830dd56363c34d8edff65314cd8ccb2
1049 The purpose of these tests is mostly to pin down some existing behaviour to
1050 ensure it doesn't get broken by the ticket #89 changes.
1051]
1052[Ticket #89 part 1: add targetBuildDepends field to PackageDescription's target-specific BuildInfos
1053rubbernecking.trumpet.stephen@blacksapphire.com**20090526133729
1054 Ignore-this: 96572adfad12ef64a51dce2f7c5f738
1055 This provides dependencies specifically for each library and executable target.
1056 buildDepends is calculated as the union of the individual targetBuildDepends,
1057 giving a result that's exactly equivalent to the old behaviour.
1058]
1059[LHC: register the external core files.
1060Lemmih <lemmih@gmail.com>**20090521021511
1061 Ignore-this: d4e484d7b8e541c3ec4cb35ba8aba4d0
1062]
1063[Update the support for LHC.
1064Lemmih <lemmih@gmail.com>**20090515211659
1065 Ignore-this: 2884d3eca0596a441e3b3c008e16fd6f
1066]
1067[Print a more helpful message when haddock's ghc version doesn't match
1068Duncan Coutts <duncan@haskell.org>**20090422093240
1069 Eg now says something like:
1070 cabal: Haddock's internal GHC version must match the configured GHC version.
1071 The GHC version is 6.8.2 but haddock is using GHC version 6.10.1
1072]
1073[use -D__HADDOCK__ only when preprocessing for haddock < 2
1074Andrea Vezzosi <sanzhiyan@gmail.com>**20090302015137
1075 Ignore-this: d186a5dbebe6d7fdc64e6414493c6271
1076 haddock-2.x doesn't define any additional macros.
1077]
1078[Make die use an IOError that gets handled at the top level
1079Duncan Coutts <duncan@haskell.org>**20090301195143
1080 Rather than printing the error there and then and throwing an
1081 exit exception. The top handler now catches IOErrors and
1082 formats and prints them before throwing an exit exception.
1083 Fixes ticket #512.
1084]
1085[rewrite of Distribution.Simple.Haddock
1086Andrea Vezzosi <sanzhiyan@gmail.com>**20090219153738
1087 Ignore-this: 5b465b2b0f5ee001caa0cb19355d6fce
1088 In addition to (hopefully) making clear what's going on
1089 we now do the additional preprocessing for all the versions of haddock
1090 (but not for hscolour) and we run cpp before moving the files.
1091]
1092[Allow --with-ghc to be specified when running Cabal
1093Ian Lynagh <igloo@earth.li>**20090225172249]
1094[fix imports for non-GHC
1095Ross Paterson <ross@soi.city.ac.uk>**20090221164939
1096 Ignore-this: 12756e3863e312352d5f6c69bba63b92
1097]
1098[Fix user guide docs about --disable-library-vanilla
1099Duncan Coutts <duncan@haskell.org>**20090219165539
1100 It is not default. Looks like it was a copy and paste error.
1101]
1102[Specify a temp output file for the header/lib checks
1103Duncan Coutts <duncan@haskell.org>**20090218233928
1104 Otherwise we litter the current dir with a.out and *.o files.
1105]
1106[Final changelog updates for 1.6.0.2
1107Duncan Coutts <duncan@haskell.org>**20090218222106]
1108[Use more cc options when checking for header files and libs
1109Duncan Coutts <duncan@haskell.org>**20090218110520
1110 Use -I. to simulate the search path that gets used when we tell ghc
1111 to -#include something. Also use the include dirs and cc options of
1112 dependent packages. These two changes fix about 3 packages each.
1113]
1114[Validate the docbook xml before processing.
1115Duncan Coutts <duncan@haskell.org>**20090213134136
1116 Apparently xsltproc does not validate against the dtd.
1117 This should stop errors creaping back in.
1118]
1119[Make documentation validate
1120Samuel Bronson <naesten@gmail.com>**20090212235057]
1121[Folly the directions for docbook-xsl
1122Samuel Bronson <naesten@gmail.com>**20090213022615
1123 As it says in http://docbook.sourceforge.net/release/xsl/current/README:
1124 
1125   - Use the base canonical URI in combination with one of the
1126     pathnames below. For example, for "chunked" HTML, output:
1127 
1128     http://docbook.sourceforge.net/release/xsl/current/html/chunk.xsl
1129 
1130]
1131[Fix compat functions for setting file permissions on windows
1132Duncan Coutts <duncan@haskell.org>**20090205224415
1133 Spotted by Dominic Steinitz
1134]
1135[Only print message about ignoring -threaded if its actually present
1136Duncan Coutts <duncan@haskell.org>**20090206174707]
1137[Don't build ghci lib if we're not making vanilla libs
1138Duncan Coutts <duncan@haskell.org>**20090206173914
1139 As the .o files will not exist.
1140]
1141[Correct docdir -> mandir in InstallDirs
1142Samuel Bronson <naesten@gmail.com>**20090203043338]
1143[Fix message suggesting the --executables flag
1144Samuel Bronson <naesten@gmail.com>**20090201010708]
1145[Remove #ifdefery for windows, renameFile now works properly
1146Duncan Coutts <duncan@haskell.org>**20090202004450
1147 It's even atomic on windows so we don't need the workaround.
1148]
1149[Make withTempDirectory create a new secure temp dir
1150Duncan Coutts <duncan@haskell.org>**20090201233318
1151 Rather than taking a specific dir to create.
1152 Update the one use of the function.
1153]
1154[Add createTempDirectory to Compat.TempFile module
1155Duncan Coutts <duncan@haskell.org>**20090201233213
1156 Also clean up imports
1157]
1158[Improve the error message for missing foreign libs and make it fatal
1159Duncan Coutts <duncan@haskell.org>**20090131184813
1160 The check should now be accurate enough that we can make it an
1161 error rather than just a warning.
1162]
1163[Use the cc, cpp and ld options when checking foreign headers and libs
1164Duncan Coutts <duncan@haskell.org>**20090131184016
1165 In partiular this is needed for packages that use ./configure
1166 scripts to write .buildinfo files since they typically do not
1167 split the cpp/cc/ldoptions into the more specific fields.
1168]
1169[Do the check for foreign libs after running configure
1170Duncan Coutts <duncan@haskell.org>**20090131182213
1171 This lets us pick up build info discovered by the ./configure script
1172]
1173[move imports outside ifdef GHC
1174Ross Paterson <ross@soi.city.ac.uk>**20090130153505]
1175[Document most of the new file utility functions
1176Duncan Coutts <duncan@haskell.org>**20090130151640]
1177[#262 iterative tests for foreign dependencies
1178Gleb Alexeyev <gleb.alexeev@gmail.com>**20090130120228
1179 Optimize for succesful case. First try all libs and includes in one command,
1180 proceed with further tests only if the first test fails. The same goes for libs
1181 and headers: look for an offending one only when overall test fails.
1182 
1183]
1184[Misc minor comment and help message changes
1185Duncan Coutts <duncan@haskell.org>**20090129233455]
1186[Deprecate smartCopySources and copyDirectoryRecursiveVerbose
1187Duncan Coutts <duncan@haskell.org>**20090129233234
1188 Also use simplified implementation in terms of recently added functions.
1189]
1190[Switch copyFileVerbose to use compat copyFile
1191Duncan Coutts <duncan@haskell.org>**20090129233125
1192 All remaining uses of it do not require copying permissions
1193]
1194[Let the setFileExecutable function work with hugs too
1195Duncan Coutts <duncan@haskell.org>**20090129232948]
1196[Switch hugs wrapper code to use setFileExecutable
1197Duncan Coutts <duncan@haskell.org>**20090129232542
1198 instead of get/setPermissions which don't really work properly.
1199]
1200[Switch last uses of copyFile to copyFileVerbose
1201Duncan Coutts <duncan@haskell.org>**20090129232429]
1202[Stop using smartCopySources or copyDirectoryRecursiveVerbose
1203Duncan Coutts <duncan@haskell.org>**20090129231656
1204 Instead if copyDirectoryRecursiveVerbose use installDirectoryContents
1205 and for smartCopySources use findModuleFiles and installExecutableFiles
1206 In both cases the point is so that we use functions for installing
1207 files rather than functions to copy files.
1208]
1209[Use installOrdinaryFile and installExecutableFile in various places
1210Duncan Coutts <duncan@haskell.org>**20090129231321
1211 instead of copyFileVerbose
1212]
1213[Make the Compat.CopyFile module with with old and new ghc
1214Duncan Coutts <duncan@haskell.org>**20090129225423]
1215[Add a bunch of utility functions for installing files
1216Duncan Coutts <duncan@haskell.org>**20090129180243
1217 We want to separate the functions that do ordinary file copies
1218 from the functions that install files because in the latter
1219 case we have to do funky things with file permissions.
1220]
1221[Use setFileExecutable instead of copyPermissions
1222Duncan Coutts <duncan@haskell.org>**20090129180130
1223 This lets us get rid of the Compat.Permissions module
1224]
1225[Export setFileOrdinary and setFileExecutable from Compat.CopyFile
1226Duncan Coutts <duncan@haskell.org>**20090129173413]
1227[Warn if C dependencies not found (kind of fixes #262)
1228gleb.alexeev@gmail.com**20090126185832
1229 
1230 This is just a basic check - generate a sample program and check if it compiles and links with relevant flags. Error messages (warning messages,
1231 actually) could use some improvement.
1232]
1233[Pass include directories to LHC
1234Samuel Bronson <naesten@gmail.com>**20090127220021]
1235[Add Distribution.Compat.CopyFile module
1236Duncan Coutts <duncan@haskell.org>**20090128181115
1237 This is to work around the file permissions problems with the
1238 standard System.Directory.copyFile function. When installing
1239 files we do not want to copy permissions or attributes from the
1240 source files. On unix we want to use specific permissions and
1241 on windows we want to inherit default permissions. On unix:
1242 copyOrdinaryFile   sets the permissions to -rw-r--r--
1243 copyExecutableFile sets the permissions to -rwxr-xr-x
1244]
1245[Remove unused support for installing dynamic exe files
1246Duncan Coutts <duncan@haskell.org>**20090128170421
1247 No idea why this was ever added, they've never been built.
1248]
1249[Check for ghc-options: -threaded in libraries
1250Duncan Coutts <duncan@haskell.org>**20090125161226
1251 It's totally unnecessary and messes up profiling in older ghc versions.
1252]
1253[Filter ghc-options -threaded for libs too
1254Duncan Coutts <duncan@haskell.org>**20090125145035]
1255[New changelog entries for 1.7.x
1256Duncan Coutts <duncan@haskell.org>**20090123175645]
1257[Update changelog for 1.6.0.2
1258Duncan Coutts <duncan@haskell.org>**20090123175629]
1259[Fix openNewBinaryFile on Windows with ghc-6.6
1260Duncan Coutts <duncan@haskell.org>**20090122172100
1261 fdToHandle calls fdGetMode which does not work with ghc-6.6 on
1262 windows, the workaround is not to call fdToHandle, but call
1263 openFd directly. Bug reported by Alistair Bayley, ticket #473.
1264]
1265[filter -threaded when profiling is on
1266Duncan Coutts <duncan@haskell.org>**20090122014425
1267 Fixes #317. Based on a patch by gleb.alexeev@gmail.com
1268]
1269[Move installDataFiles out of line to match installIncludeFiles
1270Duncan Coutts <duncan@haskell.org>**20090122005318]
1271[Fix installIncludeFiles to create target directories properly
1272Duncan Coutts <duncan@haskell.org>**20090122004836
1273 Previously for 'install-includes: subdir/blah.h' we would not
1274 create the subdir in the target location.
1275]
1276[Typo in docs for source-repository
1277Joachim Breitner <mail@joachim-breitner.de>**20090121220747]
1278[Make 'ghc-options: -O0' a warning rather than an error
1279Duncan Coutts <duncan@haskell.org>**20090118141949]
1280[Improve runE parse error message
1281Duncan Coutts <duncan@haskell.org>**20090116133214
1282 Only really used in parsing config files derived from command line flags.
1283]
1284[The Read instance for License and InstalledPackageInfo is authoritative
1285Duncan Coutts <duncan@haskell.org>**20090113234229
1286 It is ghc's optimised InstalledPackageInfo parser that needs updating.
1287 
1288 rolling back:
1289 
1290 Fri Dec 12 18:36:22 GMT 2008  Ian Lynagh <igloo@earth.li>
1291   * Fix Show/Read for License
1292   We were ending up with things like
1293       InstalledPackageInfo {
1294           ...
1295           license = LGPL Nothing,
1296           ...
1297       }
1298   i.e. "LGPL Nothing" rather than "LGPL", which we couldn't then read.
1299 
1300     M ./Distribution/License.hs -2 +14
1301]
1302[Swap the order of global usage messages
1303Duncan Coutts <duncan@haskell.org>**20090113191810
1304 Put the more important one first.
1305]
1306[Enable the global command usage to be set
1307Duncan Coutts <duncan@haskell.org>**20090113181303
1308 extend it rather than overriding it.
1309 Also rearrange slightly the default global --help output.
1310]
1311[On Windows, if gcc isn't where we expect it then keep looking
1312Ian Lynagh <igloo@earth.li>**20090109153507]
1313[Ban ghc-options: --make
1314Duncan Coutts <duncan@haskell.org>**20081223170621
1315 I dunno, some people...
1316]
1317[Update changelog for 1.6.0.2 release
1318Duncan Coutts <duncan@haskell.org>**20081211142202]
1319[Make the compiler PackageDB stuff more flexible
1320Duncan Coutts <duncan@haskell.org>**20081211141649
1321 We support using multiple package dbs, however the method for
1322 specifying them is very limited. We specify a single package db
1323 and that implicitly specifies any other needed dbs. For example
1324 the user or a specific db require the global db too. We now
1325 represent that stack explicitly. The user interface still uses
1326 the single value method and we convert internally.
1327]
1328[Fix Show/Read for License
1329Ian Lynagh <igloo@earth.li>**20081212183622
1330 We were ending up with things like
1331     InstalledPackageInfo {
1332         ...
1333         license = LGPL Nothing,
1334         ...
1335     }
1336 i.e. "LGPL Nothing" rather than "LGPL", which we couldn't then read.
1337]
1338[Un-deprecate Distribution.ModuleName.simple for now
1339Ian Lynagh <igloo@earth.li>**20081212164540
1340 Distribution/Simple/PreProcess.hs uses it, so this causes build failures
1341 with -Werror.
1342]
1343[Use the first three lhc version digits
1344Duncan Coutts <duncan@haskell.org>**20081211224048
1345 Rather than two, and do it in a simpler way.
1346]
1347[Remove obsolete test code
1348Duncan Coutts <duncan@haskell.org>**20081211142054]
1349[Update the VersionInterval properties which now all pass
1350Duncan Coutts <duncan@haskell.org>**20081210145653]
1351[Eliminate NoLowerBound, Versions do have a lower bound of 0.
1352Duncan Coutts <duncan@haskell.org>**20081210145433
1353 This eliminates the duplicate representation of ">= 0" vs "-any"
1354 and makes VersionIntervals properly canonical.
1355]
1356[Update and extend the Version quickcheck properties
1357Duncan Coutts <duncan@haskell.org>**20081210143251
1358 One property fails. The failure reveals that the VersionInterval type
1359 is not quite a canonical representation of the VersionRange semantics.
1360 This is because the lowest Version is [0] and not -infinity, so for
1361 example the intervals (.., 0] and [0,0] are equivalent.
1362]
1363[Add documentation for VersionRange functions
1364Duncan Coutts <duncan@haskell.org>**20081210140632
1365 With properties.
1366]
1367[Export withinVersion and deprecate betweenVersionsInclusive
1368Duncan Coutts <duncan@haskell.org>**20081210140411]
1369[Add checking of Version validity to the VersionIntervals invariant
1370Duncan Coutts <duncan@haskell.org>**20081210134100
1371 Version numbers have to be a non-empty sequence of non-negataive ints.
1372]
1373[Fix implementation of withinIntervals
1374Duncan Coutts <duncan@haskell.org>**20081210000141]
1375[Fix configCompilerAux to consider user-supplied program flags
1376Duncan Coutts <duncan@haskell.org>**20081209193320
1377 This fixes a bug in cabal-install
1378]
1379[Add ModuleName.fromString and deprecate ModuleName.simple
1380Duncan Coutts <duncan@haskell.org>**20081209151232
1381 Also document the functions in the ModuleName module.
1382]
1383[Check for absolute, outside-of-tree and dist/ paths
1384Duncan Coutts <duncan@haskell.org>**20081208234312]
1385[Export more VersionIntervals operations
1386Duncan Coutts <duncan@haskell.org>**20081208222420
1387 and check internal invariants
1388]
1389[Check for use of cc-options: -O
1390Duncan Coutts <duncan@haskell.org>**20081208182047]
1391[Fake support for NamedFieldPuns in ghc-6.8
1392Duncan Coutts <duncan@haskell.org>**20081208180018
1393 Implement it in terms of the -XRecordPuns which was accidentally
1394 added in ghc-6.8 and deprecates in 6.10 in favor of NamedFieldPuns
1395 So this is for compatability so we can tell package authors always
1396 to use NamedFieldPuns instead.
1397]
1398[Make getting ghc supported language extensions its own function
1399Duncan Coutts <duncan@haskell.org>**20081208175815]
1400[Check for use of deprecated extensions
1401Duncan Coutts <duncan@haskell.org>**20081208175441]
1402[Add a list of deprecated extenstions
1403Duncan Coutts <duncan@haskell.org>**20081208175337
1404 Along with possibly another extension that replaces it.
1405]
1406[Change the checking of new language extensions
1407Duncan Coutts <duncan@haskell.org>**20081207202315
1408 Check for new language extensions added in Cabal-1.2 and also 1.6.
1409 Simplify the checking of -X ghc flags. Now always suggest using
1410 the extensions field, as we separately warn about new extenssons.
1411]
1412[Tweak docs for VersionRange and VersionIntervals
1413Duncan Coutts <duncan@haskell.org>**20081207184749]
1414[Correct and simplify checkVersion
1415Duncan Coutts <duncan@haskell.org>**20081205232845]
1416[Make users of VersionIntervals use the new view function
1417Duncan Coutts <duncan@haskell.org>**20081205232707]
1418[Make VersionIntervals an abstract type
1419Duncan Coutts <duncan@haskell.org>**20081205232041
1420 Provide asVersionIntervals as the view function for a VersionRange
1421 This will let us enforce the internal data invariant
1422]
1423[Slight clarity improvement in compiler language extension handling
1424Duncan Coutts <duncan@haskell.org>**20081205210747]
1425[Slightly simplify the maintenance burden of adding new language extensions
1426Duncan Coutts <duncan@haskell.org>**20081205210543]
1427[Distributing a package with no synopsis and no description is inexcusable
1428Duncan Coutts <duncan@haskell.org>**20081205160719
1429 Previously if one or the other or both were missing we only warned.
1430 Now if neither are given it's an error. We still warn about either
1431 missing.
1432]
1433[Add Test.Laws module for checking class laws
1434Duncan Coutts <duncan@haskell.org>**20081204144238
1435 For Functor, Monoid and Traversable.
1436]
1437[Add QC Arbitrary instances for Version and VersionRange
1438Duncan Coutts <duncan@haskell.org>**20081204144204]
1439[Remove accidentally added bianry file
1440Duncan Coutts <duncan@haskell.org>**20081203000824]
1441[Fix #396 and add let .Haddock find autogen modules
1442Andrea Vezzosi <sanzhiyan@gmail.com>**20081201114853]
1443[Add checks for new and unknown licenses
1444Duncan Coutts <duncan@haskell.org>**20081202172742]
1445[Add MIT and versioned GPL and LGPL licenses
1446Duncan Coutts <duncan@haskell.org>**20081202171033
1447 Since Cabal-1.4 we've been able to parse versioned licenses
1448 and unknown licenses without the parser falling over.
1449]
1450[Don't nub lists of dependencies
1451Duncan Coutts <duncan@haskell.org>**20081202162259
1452 It's pretty meaningless since it's only a syntactic check.
1453 The proper thing is to maintain a dependency set or to
1454 simplify dependencies before printing them.
1455]
1456[Fix the date in the LICENSE file
1457Duncan Coutts <duncan@haskell.org>**20081202161457]
1458[Fix the version number in the makefile
1459Duncan Coutts <duncan@haskell.org>**20081202161441]
1460[Use VersionRange abstractly
1461Duncan Coutts <duncan@haskell.org>**20081202160321]
1462[Do the cabal version check properly.
1463Duncan Coutts <duncan@haskell.org>**20081202155410
1464 Instead of matching on the actual expression ">= x.y" we use the
1465 sematic view of the version range so we can do it precisely.
1466 Also use foldVersionRange to simplify a couple functions.
1467]
1468[Drop support for ghc-6.4 era OPTIONS pragmas
1469Duncan Coutts <duncan@haskell.org>**20081202154744
1470 It's still possible to build with ghc-6.4 but you have to pass
1471 extra flags like "ghc --make -cpp -fffi Setup.hs" We could not
1472 keep those OPTIONS pragmas and make it warning-free with ghc-6.10.
1473 See http://hackage.haskell.org/trac/ghc/ticket/2800 for details.
1474]
1475[Almost make the VersionRange type abstract
1476Duncan Coutts <duncan@haskell.org>**20081202154307
1477 Export constructor functions and deprecate all the real constructors
1478 We should not be pattern matching on this type because it's just
1479 syntax. For meaningful questions we should be matching on the
1480 VersionIntervals type which represents the semantics.
1481]
1482[Change isAnyVersion to be a semantic rather than syntactic test
1483Duncan Coutts <duncan@haskell.org>**20081202142123
1484 Also add simplify and isNoVersion.
1485]
1486[Add VersionIntervals, a view of VersionRange
1487Duncan Coutts <duncan@haskell.org>**20081202141040
1488 as a sequence of non-overlapping intervals. This provides a canonical
1489 representation for the semantics of a VersionRange. This makes several
1490 operations easier.
1491]
1492[Fix pretty-printing of version wildcards, was missing leading ==
1493Duncan Coutts <duncan@haskell.org>**20081202135949]
1494[Add a fold function for the VersionRange
1495Duncan Coutts <duncan@haskell.org>**20081202135845
1496 Use it to simplify the eval / withinRange function
1497]
1498[Improve the error on invalid file globs slightly
1499Duncan Coutts <duncan@haskell.org>**20081202135335]
1500[Use commaSep everywhere in the Check module
1501Duncan Coutts <duncan@haskell.org>**20081202135208]
1502[Fix message in the extra-source-files field check
1503Duncan Coutts <duncan@haskell.org>**20081202135000]
1504[Add checks for file glob syntax
1505Duncan Coutts <duncan@haskell.org>**20081202133954
1506 It requires cabal-version: >= 1.6 to be specified
1507]
1508[Add check for use of "build-depends: foo == 1.*" syntax
1509Duncan Coutts <duncan@haskell.org>**20081202131459
1510 It requires Cabal-1.6 or later.
1511]
1512[Distinguish version wild cards in the VersionRange AST
1513Duncan Coutts <duncan@haskell.org>**20081128170513
1514 Rather than encoding them in existing constructors.
1515 This will enable us to check that uses of the new syntax
1516 are flagged in .cabal files with cabal-version: >= 1.6
1517]
1518[Fix comment in LHC module
1519Duncan Coutts <duncan@haskell.org>**20081123100710
1520 Yes, LHC really does use ghc-pkg (with a different package.conf)
1521]
1522[Use the new bug-reports and source-repository info in the .cabal file
1523Duncan Coutts <duncan@haskell.org>**20081123100041]
1524[Simplify build-depends and base3/4 flags
1525Duncan Coutts <duncan@haskell.org>**20081123100003]
1526[Simplify default global libdir for LHC
1527Duncan Coutts <duncan@haskell.org>**20081123095802
1528 So it uses libdir=$prefix/lib rather than libdir=/usr/local/lib
1529]
1530[Simplify the compat exceptions stuff
1531Duncan Coutts <duncan@haskell.org>**20081123095737]
1532[Fix warnings in the LHC module
1533Duncan Coutts <duncan@haskell.org>**20081122224011]
1534[Distribution/Simple/GHC.hs: remove tabs for whitespace to eliminate warnings in cabal-install
1535gwern0@gmail.com**20081122190011
1536 Ignore-this: 2fd54090af86e67e25e51ade42992b53
1537]
1538[Warn about use of tabs
1539Duncan Coutts <duncan@haskell.org>**20081122154134]
1540[Bump Cabal HEAD version to 1.7.x development series
1541Duncan Coutts <duncan@haskell.org>**20081122145817
1542 Support for LHC is the first divergence between 1.7
1543 and the stable 1.6.x series.
1544]
1545[Update changelog for 1.6.0.x fixes
1546Duncan Coutts <duncan@haskell.org>**20081122145758]
1547[LHC: Don't use --no-user-package-conf. It doesn't work with ghc-6.8.
1548Lemmih <lemmih@gmail.com>**20081122012341
1549 Ignore-this: 88a837b38cf3e897cc5ed4bb22046cee
1550]
1551[Semi-decent lhc support.
1552Lemmih <lemmih@gmail.com>**20081121034138]
1553[Make auto-generated *_paths.hs module warning-free.
1554Thomas Schilling <nominolo@googlemail.com>**20081106142734
1555 
1556 On newer GHCs using {-# OPTIONS_GHC -fffi #-} gives a warning which
1557 can lead to a compile failure when -Werror is activated.  We therefore
1558 emit this option if we know that the LANGUAGE pragma is supported
1559 (ghc >= 6.6.1).
1560]
1561[Escape ld-options with the -optl prefix when passing them to ghc
1562Duncan Coutts <duncan@haskell.org>**20081103151931
1563 Fixes ticket #389
1564]
1565[Simplify previous pkg-config fix
1566Duncan Coutts <duncan@haskell.org>**20081101200309]
1567[Fix bug where we'd try to configure an empty set of pkg-config packages
1568Duncan Coutts <duncan@haskell.org>**20081101195512
1569 This happened when the lib used pkg-config but the exe did not.
1570 It cropped up in hsSqlite3-0.0.5.
1571]
1572[Add GHC 6.10.1's extensions to the list in Language.Haskell.Extension
1573Ian Lynagh <igloo@earth.li>**20081019141408]
1574[Ensure that the lib target directory is present when installing
1575Duncan Coutts <duncan@haskell.org>**20081017004437
1576 Variant on a patch from Bryan O'Sullivan
1577]
1578[Release kind is now rc
1579Duncan Coutts <duncan@haskell.org>**20081011183201]
1580[TAG 1.6.0.1
1581Duncan Coutts <duncan@haskell.org>**20081011182516]
1582Patch bundle hash:
1583b5c6e9f1be47844cd34c3047cdcc58f3814dc8bf