patch applied (ghc): Add some invariants to OrdList

2007-08-18 Thread Ian Lynagh
Sat Aug 18 06:21:02 PDT 2007 Ian Lynagh [EMAIL PROTECTED] * Add some invariants to OrdList isNilOL is now constant time, rather than possibly having to walk a tree of Two's. Compiling J.hs from trac #1136 now makes 10302 isNilOL calls rather than 50050152. It's gone from 10.8% time

patch applied (ghc): Use the qualified name for catch

2007-08-18 Thread Ian Lynagh
Sat Aug 18 12:44:36 PDT 2007 Ian Lynagh [EMAIL PROTECTED] * Use the qualified name for catch Unqualified it's ambiguous with some configurations. M ./compiler/main/GHC.hs -2 +2 ___ Cvs-ghc mailing list Cvs-ghc@haskell.org http

patch applied (ghc): Update user guide bug list

2007-08-18 Thread Ian Lynagh
Sat Aug 18 13:13:47 PDT 2007 Ian Lynagh [EMAIL PROTECTED] * Update user guide bug list Remove the bug that claims GHC treats source files as ISO-8859-1 rather than UTF8. M ./docs/users_guide/bugs.xml -6 ___ Cvs-ghc mailing list Cvs-ghc

patch applied (ghc): Make runghc -f path-to-ghc Main.hs work

2007-08-18 Thread Ian Lynagh
Sun Jul 29 14:02:30 PDT 2007 Magnus Jonsson [EMAIL PROTECTED] * Make runghc -f path-to-ghc Main.hs work M ./utils/runghc/runghc.hs +2 ___ Cvs-ghc mailing list Cvs-ghc@haskell.org http://www.haskell.org/mailman/listinfo/cvs-ghc

patch applied (ghc): Implement --info, and change how can_split is defined

2007-08-18 Thread Ian Lynagh
Sat Aug 18 15:37:58 PDT 2007 Ian Lynagh [EMAIL PROTECTED] * Implement --info, and change how can_split is defined We now get the value of can_split from the SplitObjs setting in the build system, rather than working out whether it should be possible based on the platform. M

patch applied (ghc): Make the runghc code prettier and fix some warnings

2007-08-18 Thread Ian Lynagh
Sat Aug 18 15:40:21 PDT 2007 Ian Lynagh [EMAIL PROTECTED] * Make the runghc code prettier and fix some warnings M ./utils/runghc/runghc.hs -31 +34 ___ Cvs-ghc mailing list Cvs-ghc@haskell.org http://www.haskell.org/mailman/listinfo/cvs-ghc

patch applied (ghc): Add some runghc docs to the users guide

2007-08-18 Thread Ian Lynagh
Sat Aug 18 17:02:58 PDT 2007 Ian Lynagh [EMAIL PROTECTED] * Add some runghc docs to the users guide A ./docs/users_guide/runghc.xml M ./docs/users_guide/ug-book.xml.in +1 M ./docs/users_guide/ug-ent.xml +1 ___ Cvs-ghc mailing list Cvs

Re: patch applied (ghc): Fix description and type profiling

2007-08-20 Thread Ian Lynagh
On Mon, Aug 20, 2007 at 10:05:08AM +0100, Simon Marlow wrote: Ian Lynagh wrote: Fri Aug 17 07:45:31 PDT 2007 Ian Lynagh [EMAIL PROTECTED] * Fix description and type profiling Consistently make the type and description in the info table an offset or a pointer, depending on whether

Re: patch applied (ghc): Add a GhcDebugged build setting, for whether GHC is linked with -debug

2007-08-20 Thread Ian Lynagh
On Mon, Aug 20, 2007 at 10:11:48AM +0100, Simon Marlow wrote: Ian Lynagh wrote: Fri Aug 17 13:36:07 PDT 2007 Ian Lynagh [EMAIL PROTECTED] * Add a GhcDebugged build setting, for whether GHC is linked with -debug Is this really necessary? Why not just GhcStage1HcOpts += -debug

patch applied (ghc): Fix ghc-inplace.c on Windows; new code based on ghci.c

2007-08-21 Thread Ian Lynagh
Mon Aug 20 15:27:01 PDT 2007 Ian Lynagh [EMAIL PROTECTED] * Fix ghc-inplace.c on Windows; new code based on ghci.c M ./compiler/Makefile -2 +6 M ./compiler/ghc-inplace.c -2 +124 ___ Cvs-ghc mailing list Cvs-ghc@haskell.org http

patch applied (ghc): Fix quoting of double quotes in the Makefile on Windows

2007-08-21 Thread Ian Lynagh
Mon Aug 20 16:52:21 PDT 2007 Ian Lynagh [EMAIL PROTECTED] * Fix quoting of double quotes in the Makefile on Windows M ./compiler/Makefile -2 +13 ___ Cvs-ghc mailing list Cvs-ghc@haskell.org http://www.haskell.org/mailman/listinfo/cvs-ghc

patch applied (ghc): Make ghc-inplace return GHC's exitcode on Windows

2007-08-21 Thread Ian Lynagh
Tue Aug 21 03:10:28 PDT 2007 Ian Lynagh [EMAIL PROTECTED] * Make ghc-inplace return GHC's exitcode on Windows M ./compiler/ghc-inplace.c -1 +7 ___ Cvs-ghc mailing list Cvs-ghc@haskell.org http://www.haskell.org/mailman/listinfo/cvs-ghc

Re: darcs patch: Added Monoid instance for Doc

2007-08-21 Thread Ian Lynagh
Hi, On Mon, Aug 20, 2007 at 09:17:25PM +0200, [EMAIL PROTECTED] wrote: Mon Aug 20 21:13:59 CEST 2007 [EMAIL PROTECTED] * Added Monoid instance for Doc Thanks for the contribution! However, this change should really go through the library submissions procedure. You can find information on

Re: Runghc patch

2007-08-22 Thread Ian Lynagh
On Wed, Aug 22, 2007 at 09:34:32AM -0300, Isaac Dupree wrote: Hmm, ghc doesn't take '-f' as an argument alone... the odd '--' interpretation It's actually a standard way to separate groups of arguments, e.g. touch -- -a rm -- -a will create and remove a file called -a, and

Re: GHC hacking in Windows - too much pain

2007-08-22 Thread Ian Lynagh
On Wed, Aug 22, 2007 at 01:54:07PM +0100, Neil Mitchell wrote: We had similar problems in Yhc, so decided to move to Scons to have a properly cross platform and consistent build system. My only advice from that experiment is _never_ use Scons. :-) Our current plan is to move to a

Re: GHC hacking in Windows - too much pain

2007-08-22 Thread Ian Lynagh
On Wed, Aug 22, 2007 at 01:12:53PM +0300, Esa Ilari Vuokko wrote: Attached few patches that I needed to build head with 6.7 binary snapshot installer. Great, thanks! Will validate along with a couple of others and should push shortly. * When building with ghc 6.6.1 and make -j2 or higher,

patch applied (ghc): makeRelativeRefTo checks tablesNextToCode, so we don't have to before using it

2007-08-22 Thread Ian Lynagh
Mon Aug 20 03:30:58 PDT 2007 Ian Lynagh [EMAIL PROTECTED] * makeRelativeRefTo checks tablesNextToCode, so we don't have to before using it M ./compiler/cmm/CmmInfo.hs -6 +2 ___ Cvs-ghc mailing list Cvs-ghc@haskell.org http://www.haskell.org

patch applied (ghc): Link ghc-pkg and hpc with containers if building ghc 6.7 or newer

2007-08-22 Thread Ian Lynagh
Tue Aug 21 14:04:59 PDT 2007 Esa Ilari Vuokko [EMAIL PROTECTED] * Link ghc-pkg and hpc with containers if building ghc 6.7 or newer M ./utils/ghc-pkg/Makefile +4 M ./utils/hpc/Makefile +4 ___ Cvs-ghc mailing list Cvs-ghc@haskell.org

patch applied (testsuite): Stop the timeout calibration ever returning 0

2007-08-22 Thread Ian Lynagh
Tue Aug 21 06:50:55 PDT 2007 Ian Lynagh [EMAIL PROTECTED] * Stop the timeout calibration ever returning 0 M ./timeout/calibrate -1 +4 ___ Cvs-ghc mailing list Cvs-ghc@haskell.org http://www.haskell.org/mailman/listinfo/cvs-ghc

Re: Runghc patch

2007-08-22 Thread Ian Lynagh
On Wed, Aug 22, 2007 at 12:12:51PM -0300, Isaac Dupree wrote: runghc -- -- -fglasgow-exts would be needed to run a file named -fglasgow-exts, compared to I don't think we should worry too much about making it easy for people to call their sources -fglasgow-exts.hs. In fact, I'm not even too

patch applied (ghc): Include package.mk in target.mk, in the bindists's mk/

2007-08-22 Thread Ian Lynagh
Wed Aug 22 13:10:49 PDT 2007 Ian Lynagh [EMAIL PROTECTED] * Include package.mk in target.mk, in the bindists's mk/ M ./Makefile -1 +2 ___ Cvs-ghc mailing list Cvs-ghc@haskell.org http://www.haskell.org/mailman/listinfo/cvs-ghc

patch applied (ghc): Add a bindisttest directory

2007-08-22 Thread Ian Lynagh
Wed Aug 22 13:20:40 PDT 2007 Ian Lynagh [EMAIL PROTECTED] * Add a bindisttest directory After make binary-dist stage=2 you can run make in bindisttest/ to test it M ./Makefile -2 +3 A ./bindisttest/ A ./bindisttest/HelloWorld.hs A ./bindisttest/Makefile

patch applied (ghc): In bindisttest, don't try to configure/install the bindist on Windows

2007-08-23 Thread Ian Lynagh
Wed Aug 22 19:18:23 PDT 2007 Ian Lynagh [EMAIL PROTECTED] * In bindisttest, don't try to configure/install the bindist on Windows M ./bindisttest/Makefile -1 +5 ___ Cvs-ghc mailing list Cvs-ghc@haskell.org http://www.haskell.org/mailman/listinfo

patch applied (ghc): Put a space between gcc and its arguments when calling windres

2007-08-23 Thread Ian Lynagh
Wed Aug 22 19:19:14 PDT 2007 Ian Lynagh [EMAIL PROTECTED] * Put a space between gcc and its arguments when calling windres M ./compiler/main/SysTools.lhs -1 +2 ___ Cvs-ghc mailing list Cvs-ghc@haskell.org http://www.haskell.org/mailman/listinfo

patch applied (ghc): When installing, get libgmp.a from the right place

2007-08-23 Thread Ian Lynagh
Wed Aug 22 19:19:40 PDT 2007 Ian Lynagh [EMAIL PROTECTED] * When installing, get libgmp.a from the right place M ./gmp/Makefile -4 +3 ___ Cvs-ghc mailing list Cvs-ghc@haskell.org http://www.haskell.org/mailman/listinfo/cvs-ghc

patch applied (ghc): In ghc-inplace, flush stdout after giving debugging output

2007-08-24 Thread Ian Lynagh
Fri Aug 24 06:27:02 PDT 2007 Ian Lynagh [EMAIL PROTECTED] * In ghc-inplace, flush stdout after giving debugging output M ./compiler/ghc-inplace.c +1 ___ Cvs-ghc mailing list Cvs-ghc@haskell.org http://www.haskell.org/mailman/listinfo/cvs-ghc

patch applied (ghc): Add have interpreter to the compiler --info output

2007-08-24 Thread Ian Lynagh
Fri Aug 24 14:30:24 PDT 2007 Ian Lynagh [EMAIL PROTECTED] * Add have interpreter to the compiler --info output M ./compiler/Makefile +1 M ./compiler/main/DynFlags.hs +1 ___ Cvs-ghc mailing list Cvs-ghc@haskell.org http://www.haskell.org

patch applied (testsuite): Fix the expected output for derefnull and divbyzero on Windows

2007-08-24 Thread Ian Lynagh
Fri Aug 24 14:53:51 PDT 2007 Ian Lynagh [EMAIL PROTECTED] * Fix the expected output for derefnull and divbyzero on Windows M ./tests/ghc-regress/rts/all.T -4 +2 A ./tests/ghc-regress/rts/derefnull.stdout-i386-unknown-mingw32 A ./tests/ghc-regress/rts/divbyzero.stdout-i386-unknown

patch applied (ghc): Fix the IF_DEBUG(interpreter in StgCRun.c

2007-08-25 Thread Ian Lynagh
Sat Aug 25 06:08:10 PDT 2007 Ian Lynagh [EMAIL PROTECTED] * Fix the IF_DEBUG(interpreter in StgCRun.c M ./includes/Rts.h +4 M ./rts/StgCRun.c -2 ___ Cvs-ghc mailing list Cvs-ghc@haskell.org http://www.haskell.org/mailman/listinfo/cvs-ghc

patch applied (ghc): Add a missing entryCode

2007-08-25 Thread Ian Lynagh
Sat Aug 25 10:12:31 PDT 2007 Ian Lynagh [EMAIL PROTECTED] * Add a missing entryCode This was causing us to try to jump to the address of an infotable when unregisterised, leading to a segfault. M ./compiler/codeGen/CgTailCall.lhs -1 +1

patch applied (testsuite): Update tests now that #1384 is fixed

2007-08-25 Thread Ian Lynagh
Sat Aug 25 18:39:26 PDT 2007 Ian Lynagh [EMAIL PROTECTED] * Update tests now that #1384 is fixed #1384 = Exporting a module that isn't imported doesn't fail M ./tests/ghc-regress/module/all.T -2 +2 M ./tests/ghc-regress/module/mod135.stderr -2 +1 M ./tests/ghc-regress/module/mod8

Re: windows head build problems: Setup.exe: error reading dist\setup-config;

2007-08-25 Thread Ian Lynagh
On Sat, Aug 25, 2007 at 03:43:51PM +0100, Claus Reinke wrote: trying to build head on windows, with ghc-6.6.1, i get Setup warnings, followed by a Setup error. if i read the make log correctly, that Setup was build with bootstrapping.Cabal, so there ought to be no warnings, right? The

Re: windows head build problems: Setup.exe: error reading dist\setup-config;

2007-08-26 Thread Ian Lynagh
On Sun, Aug 26, 2007 at 01:05:53PM +0100, Claus Reinke wrote: note that there are no fewer than three versions of ghc-inplace: $ ls compiler/stage1/ghc-inplace* compiler/stage1/ghc-inplace compiler/stage1/ghc-inplace.bat compiler/stage1/ghc-inplace.exe Ah, this could well be

Re: RPM build problems

2007-08-26 Thread Ian Lynagh
On Sun, Aug 26, 2007 at 02:38:27PM +0200, Sven Panne wrote: I'm currently trying to resurrect ghc.spec.in after all those build system changes in the last few months. One thing I'm currently fighting with is the totally obscure non-standard logic regarding the handling of build/install

Re: windows head build problems: Setup.exe: error reading dist\setup-config;

2007-08-26 Thread Ian Lynagh
On Sun, Aug 26, 2007 at 02:54:20PM +0100, Claus Reinke wrote: $ ls compiler/stage1/ghc-inplace* compiler/stage1/ghc-inplace compiler/stage1/ghc-inplace.bat compiler/stage1/ghc-inplace.exe Ah, this could well be the source of the problem; you should only have ghc-inplace.exe. Does

patch applied (ghc): On Windows, stage1 also deps on stamp.inplace-gcc-lib

2007-08-26 Thread Ian Lynagh
Sun Aug 26 06:38:30 PDT 2007 Ian Lynagh [EMAIL PROTECTED] * On Windows, stage1 also deps on stamp.inplace-gcc-lib M ./Makefile -1 +7 ___ Cvs-ghc mailing list Cvs-ghc@haskell.org http://www.haskell.org/mailman/listinfo/cvs-ghc

patch applied (testsuite): conc057 needs the parallel library

2007-08-26 Thread Ian Lynagh
Sun Aug 26 05:21:17 PDT 2007 Ian Lynagh [EMAIL PROTECTED] * conc057 needs the parallel library M ./tests/ghc-regress/concurrent/should_run/all.T -1 +3 ___ Cvs-ghc mailing list Cvs-ghc@haskell.org http://www.haskell.org/mailman/listinfo/cvs-ghc

patch applied (testsuite): Revert a hack now that the buildds will make a gcc-lib directory on Windows

2007-08-26 Thread Ian Lynagh
Sun Aug 26 06:39:00 PDT 2007 Ian Lynagh [EMAIL PROTECTED] * Revert a hack now that the buildds will make a gcc-lib directory on Windows M ./tests/ghc-regress/cabal/cabal01/Makefile -1 +1 ___ Cvs-ghc mailing list Cvs-ghc@haskell.org http

patch applied (ghc): Use INSTALL_HEADERS in includes/ rather than abusing INSTALL_DATAS

2007-08-28 Thread Ian Lynagh
Tue Aug 28 05:49:18 PDT 2007 Ian Lynagh [EMAIL PROTECTED] * Use INSTALL_HEADERS in includes/ rather than abusing INSTALL_DATAS M ./includes/Makefile -7 +4 ___ Cvs-ghc mailing list Cvs-ghc@haskell.org http://www.haskell.org/mailman/listinfo/cvs

patch applied (ghc): Tidy up the gmp/ Makefile a bit

2007-08-28 Thread Ian Lynagh
Tue Aug 28 05:32:18 PDT 2007 Ian Lynagh [EMAIL PROTECTED] * Tidy up the gmp/ Makefile a bit M ./gmp/Makefile -17 +13 ___ Cvs-ghc mailing list Cvs-ghc@haskell.org http://www.haskell.org/mailman/listinfo/cvs-ghc

Re: Warnings

2007-08-28 Thread Ian Lynagh
On Tue, Aug 28, 2007 at 03:22:33PM +0100, Simon Peyton-Jones wrote: Norman's suggestion for warnings when building GHC. I was actually thinking about warnings the other day. The problem is that to keep code warning free you really need -Werror, or people won't notice and fix them, but that's a

patch applied (ghc): TAG 2007-08-28

2007-08-28 Thread Ian Lynagh
Tue Aug 28 14:54:45 PDT 2007 Ian Lynagh [EMAIL PROTECTED] tagged 2007-08-28 ___ Cvs-ghc mailing list Cvs-ghc@haskell.org http://www.haskell.org/mailman/listinfo/cvs-ghc

patch applied (ghc): Copy LICENSE files into the bindist, as Cabal now installs them

2007-08-28 Thread Ian Lynagh
Tue Aug 28 06:04:28 PDT 2007 Ian Lynagh [EMAIL PROTECTED] * Copy LICENSE files into the bindist, as Cabal now installs them M ./libraries/Makefile +1 ___ Cvs-ghc mailing list Cvs-ghc@haskell.org http://www.haskell.org/mailman/listinfo/cvs-ghc

patch applied (ghc): Use DESTDIR when installing

2007-08-28 Thread Ian Lynagh
Tue Aug 28 13:51:19 PDT 2007 Ian Lynagh [EMAIL PROTECTED] * Use DESTDIR when installing M ./Makefile -3 +2 M ./driver/ghc/Makefile -1 +1 M ./driver/ghci/Makefile -1 +1 M ./libraries/Makefile -1 +1 M ./libraries/installPackage.hs -8 +20 M ./mk/install.mk -60 +61 M

patch applied (ghc): Remove INSTALL_INCLUDES; no longer used

2007-08-28 Thread Ian Lynagh
Tue Aug 28 13:56:36 PDT 2007 Ian Lynagh [EMAIL PROTECTED] * Remove INSTALL_INCLUDES; no longer used M ./mk/install.mk -8 ___ Cvs-ghc mailing list Cvs-ghc@haskell.org http://www.haskell.org/mailman/listinfo/cvs-ghc

Re: Warnings

2007-08-29 Thread Ian Lynagh
On Wed, Aug 29, 2007 at 08:42:57AM +0100, Simon Peyton-Jones wrote: | How much is this style of name shadowing used in GHC? Do people think it | is desirable? | | Personally I like to use shadowing and I think -fwarn-name-shadowing is | overkill, but there are cases where it can catch real

HEADS UP: bytestring library repo changed

2007-08-29 Thread Ian Lynagh
Hi all, The short story is: You need to rm -rf libraries/bytestring and then reget it, e.g. ./darcs-all get The reason is that the repo is now the original repo, with history back to the old fps days, rather than the repo forked from base. Thanks Ian

patch applied (testsuite): Add a test for #1375 (ByteString[_\e2_][_\80_][_\99_]s [_\e2_][_\80_][_\9c_]lines[_\e2_][_\80_][_\9d_] eats empty lines)

2007-08-29 Thread Ian Lynagh
Wed Aug 29 10:46:18 PDT 2007 Ian Lynagh [EMAIL PROTECTED] * Add a test for #1375 (ByteString[_\e2_][_\80_][_\99_]s [_\e2_][_\80_][_\9c_]lines[_\e2_][_\80_][_\9d_] eats empty lines) M ./tests/ghc-regress/lib/Data.ByteString/all.T +1 A ./tests/ghc-regress/lib/Data.ByteString

patch applied (ghc): Fix where all the documentation gets installed

2007-08-30 Thread Ian Lynagh
Thu Aug 30 15:37:40 PDT 2007 Ian Lynagh [EMAIL PROTECTED] * Fix where all the documentation gets installed The paths can also now be overridden with the standard configure flags --docdir=, --htmldir= etc. We were always advertising these, but now we actually obey them. M ./docs

Re: darcs patch: fixes for creating binary distribution

2007-08-30 Thread Ian Lynagh
Hi, On Thu, Aug 30, 2007 at 12:54:02PM -0700, Judah Jacobson wrote: I attempted to create a binary distribution on Mac OS X, and found that the following two patches were necessary to get everything working correctly. Thanks for the patches! Use cp -R instead of cp -a (it's more portable).

Re: darcs patch: fixes for creating binary distribution

2007-08-31 Thread Ian Lynagh
On Thu, Aug 30, 2007 at 10:11:58PM -0700, Judah Jacobson wrote: Yes, -p works on OS X. Here's an updated version of the patches. Great, thanks! I'll push once I've validated them, along with a number of other patches. Thanks Ian ___ Cvs-ghc

Re: trouble compiling regex posix head (I think 0.92) on ghc 6.7

2007-08-31 Thread Ian Lynagh
On Thu, Aug 30, 2007 at 07:04:21PM -0400, Thomas Hartman wrote: I had no idea what HsRegexPosixConfig was, and I have no such file at all. I believe autoreconf will make HsRegexPosixConfig.h.in, and configure will then make HsRegexPosixConfig.h. Text/Regex/Posix.hs:57:2: Warning: The

patch applied (ghc): Use cp -R instead of cp -a (it's more portable).

2007-08-31 Thread Ian Lynagh
Thu Aug 30 22:02:15 PDT 2007 [EMAIL PROTECTED] * Use cp -R instead of cp -a (it's more portable). M ./libraries/Makefile -3 +3 M ./libraries/Makefile -3 +3 ___ Cvs-ghc mailing list Cvs-ghc@haskell.org

patch applied (ghc): Don't try to copy haddock index files if we haven't built the docs.

2007-08-31 Thread Ian Lynagh
Thu Aug 30 22:03:21 PDT 2007 [EMAIL PROTECTED] * Don't try to copy haddock index files if we haven't built the docs. M ./libraries/Makefile +2 M ./libraries/Makefile +2 ___ Cvs-ghc mailing list Cvs-ghc@haskell.org

patch applied (ghc): Follow Cabal module movements in installPackage

2007-08-31 Thread Ian Lynagh
Fri Aug 31 11:13:59 PDT 2007 Ian Lynagh [EMAIL PROTECTED] * Follow Cabal module movements in installPackage M ./libraries/installPackage.hs -2 +2 ___ Cvs-ghc mailing list Cvs-ghc@haskell.org http://www.haskell.org/mailman/listinfo/cvs-ghc

patch applied (ghc): Don't use the --docdir etc that autoconf provides

2007-08-31 Thread Ian Lynagh
Fri Aug 31 10:39:03 PDT 2007 Ian Lynagh [EMAIL PROTECTED] * Don't use the --docdir etc that autoconf provides Older autoconfs (2.60?) don't understand them. M ./mk/config.mk.in -5 +15 ___ Cvs-ghc mailing list Cvs-ghc@haskell.org http

patch applied (ghc): Make the manpage obey DESTDIR

2007-08-31 Thread Ian Lynagh
Thu Aug 30 18:42:53 PDT 2007 Ian Lynagh [EMAIL PROTECTED] * Make the manpage obey DESTDIR M ./docs/man/Makefile -3 +3 ___ Cvs-ghc mailing list Cvs-ghc@haskell.org http://www.haskell.org/mailman/listinfo/cvs-ghc

patch applied (ghc): Obey DESTDIR when installing library docs

2007-08-31 Thread Ian Lynagh
Thu Aug 30 18:23:51 PDT 2007 Ian Lynagh [EMAIL PROTECTED] * Obey DESTDIR when installing library docs M ./libraries/Makefile -7 +9 M ./libraries/installPackage.hs -5 +5 ___ Cvs-ghc mailing list Cvs-ghc@haskell.org http://www.haskell.org

patch applied (ghc): Make rts docs obey DESTDIR

2007-08-31 Thread Ian Lynagh
Thu Aug 30 18:43:46 PDT 2007 Ian Lynagh [EMAIL PROTECTED] * Make rts docs obey DESTDIR M ./mk/package.mk -1 +1 ___ Cvs-ghc mailing list Cvs-ghc@haskell.org http://www.haskell.org/mailman/listinfo/cvs-ghc

patch applied (ghc): Make the doc index page obey DESTDIR

2007-08-31 Thread Ian Lynagh
Thu Aug 30 18:45:37 PDT 2007 Ian Lynagh [EMAIL PROTECTED] * Make the doc index page obey DESTDIR M ./docs/Makefile -2 +2 ___ Cvs-ghc mailing list Cvs-ghc@haskell.org http://www.haskell.org/mailman/listinfo/cvs-ghc

patch applied (ghc): Fix installing the libraries when there is no DESTDIR

2007-08-31 Thread Ian Lynagh
Thu Aug 30 18:54:42 PDT 2007 Ian Lynagh [EMAIL PROTECTED] * Fix installing the libraries when there is no DESTDIR M ./libraries/Makefile -1 +1 M ./libraries/installPackage.hs -1 +2 ___ Cvs-ghc mailing list Cvs-ghc@haskell.org http

patch applied (ghc): Follow Cabal's move Distribution.Program - Distribution.Simple.Program

2007-08-31 Thread Ian Lynagh
Fri Aug 31 10:52:17 PDT 2007 Ian Lynagh [EMAIL PROTECTED] * Follow Cabal's move Distribution.Program - Distribution.Simple.Program ./compat/Distribution/Program.hs - ./compat/Distribution/Simple/Program.hs M ./compat/Distribution/Simple/Program.hs -1 +1

patch applied (ghc): Add a --print-docdir flag

2007-09-01 Thread Ian Lynagh
Fri Aug 31 16:15:38 PDT 2007 Ian Lynagh [EMAIL PROTECTED] * Add a --print-docdir flag M ./compiler/Makefile +1 M ./compiler/main/Main.hs -7 +17 M ./docs/users_guide/flags.xml +6 M ./docs/users_guide/using.xml +14 ___ Cvs-ghc mailing

patch applied (ghc): Add {-# OPTIONS_GHC -w #-} and some blurb to all compiler modules

2007-09-01 Thread Ian Lynagh
Sat Sep 1 04:21:30 PDT 2007 Ian Lynagh [EMAIL PROTECTED] * Add {-# OPTIONS_GHC -w #-} and some blurb to all compiler modules M ./compiler/Makefile +1 M ./compiler/basicTypes/BasicTypes.lhs +7 M ./compiler/basicTypes/DataCon.lhs +7 M ./compiler/basicTypes/Demand.lhs +7 M

patch applied (ghc): Set -Wall -fno-warn-name-shadowing in compiler/ when stage /= 2

2007-09-01 Thread Ian Lynagh
Sat Sep 1 04:30:18 PDT 2007 Ian Lynagh [EMAIL PROTECTED] * Set -Wall -fno-warn-name-shadowing in compiler/ when stage /= 2 M ./compiler/Makefile +4 ___ Cvs-ghc mailing list Cvs-ghc@haskell.org http://www.haskell.org/mailman/listinfo/cvs-ghc

Re: patch applied (ghc): Set -Wall -fno-warn-name-shadowing in compiler/ when stage /= 2

2007-09-01 Thread Ian Lynagh
On Sat, Sep 01, 2007 at 05:47:18AM -0700, Ian Lynagh wrote: Sat Sep 1 04:30:18 PDT 2007 Ian Lynagh [EMAIL PROTECTED] * Set -Wall -fno-warn-name-shadowing in compiler/ when stage /= 2 I mean when stage /= 1. Thanks Ian ___ Cvs-ghc mailing list

Re: patch applied (ghc): Explicitly set docdir when calling make, configure's --docdir seems to be ignored

2007-09-02 Thread Ian Lynagh
On Sun, Sep 02, 2007 at 11:04:51AM -0700, Judah Jacobson wrote: On 9/2/07, Sven Panne [EMAIL PROTECTED] wrote: * Explicitly set docdir when calling make, configure's --docdir seems to be ignored The reason is: # New autoconf (= 2.60?) make a configure with --docdir=DIR etc flags. #

patch applied (ghc): Fix and supress some warnings, and turn on -Werror when validating

2007-09-02 Thread Ian Lynagh
Sun Sep 2 12:39:18 PDT 2007 Ian Lynagh [EMAIL PROTECTED] * Fix and supress some warnings, and turn on -Werror when validating M ./rts/Makefile +10 M ./rts/Schedule.c -1 +6 M ./utils/genapply/GenApply.hs +6 M ./utils/genprimopcode/Parser.y +7 M ./utils/hpc/HpcParser.y +7

patch applied (ghc): Fix warnings in ghc-pkg on Windows

2007-09-02 Thread Ian Lynagh
Sun Sep 2 15:14:42 PDT 2007 Ian Lynagh [EMAIL PROTECTED] * Fix warnings in ghc-pkg on Windows M ./utils/ghc-pkg/Main.hs +3 ___ Cvs-ghc mailing list Cvs-ghc@haskell.org http://www.haskell.org/mailman/listinfo/cvs-ghc

patch applied (ghc): Suppress some warnings on Windows

2007-09-02 Thread Ian Lynagh
Sun Sep 2 15:20:48 PDT 2007 Ian Lynagh [EMAIL PROTECTED] * Suppress some warnings on Windows M ./rts/Makefile +7 ___ Cvs-ghc mailing list Cvs-ghc@haskell.org http://www.haskell.org/mailman/listinfo/cvs-ghc

Re: patch applied (ghc): Set -Wall -fno-warn-name-shadowing in compiler/ when stage /= 2

2007-09-03 Thread Ian Lynagh
On Mon, Sep 03, 2007 at 11:07:30AM +0100, Simon Peyton-Jones wrote: | Sat Sep 1 04:30:18 PDT 2007 Ian Lynagh [EMAIL PROTECTED] |* Set -Wall -fno-warn-name-shadowing in compiler/ when stage /= 2 | | I mean when stage /= 1. Any reason why /= 1? Why not always? To avoid failures

patch applied (ghc): Fix building RTS with gcc 2.*; declare all variables at the top of a block

2007-09-03 Thread Ian Lynagh
Mon Sep 3 09:58:47 PDT 2007 Ian Lynagh [EMAIL PROTECTED] * Fix building RTS with gcc 2.*; declare all variables at the top of a block Patch from Audrey Tang. M ./rts/RaiseAsync.c -2 +6 M ./rts/RetainerProfile.c -1 +2 M ./rts/STM.c -15 +23 M ./rts/Schedule.c -2 +2 M ./rts

patch applied (testsuite): arrowcase1 is now fixed

2007-09-03 Thread Ian Lynagh
Mon Sep 3 13:21:48 PDT 2007 Ian Lynagh [EMAIL PROTECTED] * arrowcase1 is now fixed By: Mon Sep 3 07:10:44 PDT 2007 Ross Paterson [EMAIL PROTECTED] * FIX for #1080 Arrow desugaring now uses a private version of collectPatBinders and friends, in order to include dictionary

GHC 6.8 branch

2007-09-03 Thread Ian Lynagh
Hi all, I've branched GHC and the core libs for the 6.8 branch. They're in http://darcs.haskell.org/ghc-6.8/ (testsuite, nofib and extralibs in there are actually symlinks to the HEAD versions). Until 6.8.1 is out I'll be generally assuming that any patches sent to the HEAD are intended

patch applied (ghc): Use OPTIONS rather than OPTIONS_GHC for pragmas

2007-09-03 Thread Ian Lynagh
Mon Sep 3 16:39:03 PDT 2007 Ian Lynagh [EMAIL PROTECTED] * Use OPTIONS rather than OPTIONS_GHC for pragmas Older GHCs can't parse OPTIONS_GHC. This also changes the URL referenced for the -w options from WorkingConventions#Warnings to CodingStyle#Warnings for the compiler modules

patch applied (ghc): Don't use autoconf's datarootdir as 2.60 doesn't have it

2007-09-03 Thread Ian Lynagh
Mon Sep 3 16:45:04 PDT 2007 Ian Lynagh [EMAIL PROTECTED] * Don't use autoconf's datarootdir as 2.60 doesn't have it M ./mk/config.mk.in -3 +10 ___ Cvs-ghc mailing list Cvs-ghc@haskell.org http://www.haskell.org/mailman/listinfo/cvs-ghc

patch applied (ghc): Use := rather than = when assigning make variables to avoid cycles

2007-09-03 Thread Ian Lynagh
Mon Sep 3 16:51:17 PDT 2007 Ian Lynagh [EMAIL PROTECTED] * Use := rather than = when assigning make variables to avoid cycles M ./mk/config.mk.in -25 +25 ___ Cvs-ghc mailing list Cvs-ghc@haskell.org http://www.haskell.org/mailman/listinfo/cvs

patch applied (ghc-6.8/ghc): Use OPTIONS rather than OPTIONS_GHC for pragmas

2007-09-03 Thread Ian Lynagh
Mon Sep 3 16:39:03 PDT 2007 Ian Lynagh [EMAIL PROTECTED] * Use OPTIONS rather than OPTIONS_GHC for pragmas Older GHCs can't parse OPTIONS_GHC. This also changes the URL referenced for the -w options from WorkingConventions#Warnings to CodingStyle#Warnings for the compiler modules

patch applied (ghc-6.8/ghc): Don't use autoconf's datarootdir as 2.60 doesn't have it

2007-09-03 Thread Ian Lynagh
Mon Sep 3 16:45:04 PDT 2007 Ian Lynagh [EMAIL PROTECTED] * Don't use autoconf's datarootdir as 2.60 doesn't have it M ./mk/config.mk.in -3 +10 ___ Cvs-ghc mailing list Cvs-ghc@haskell.org http://www.haskell.org/mailman/listinfo/cvs-ghc

patch applied (ghc-6.8/ghc): Use := rather than = when assigning make variables to avoid cycles

2007-09-03 Thread Ian Lynagh
Mon Sep 3 16:51:17 PDT 2007 Ian Lynagh [EMAIL PROTECTED] * Use := rather than = when assigning make variables to avoid cycles M ./mk/config.mk.in -25 +25 ___ Cvs-ghc mailing list Cvs-ghc@haskell.org http://www.haskell.org/mailman/listinfo/cvs

Re: patch applied (ghc): Use OPTIONS rather than OPTIONS_GHC for pragmas

2007-09-04 Thread Ian Lynagh
On Tue, Sep 04, 2007 at 08:39:45AM +0100, Simon Peyton-Jones wrote: | This also changes the URL referenced for the -w options from | WorkingConventions#Warnings to CodingStyle#Warnings for the compiler Alas not. You put the URL as

Re: patch forwarded on behalf of Audrey Tang...

2007-09-04 Thread Ian Lynagh
On Mon, Sep 03, 2007 at 05:58:49PM +0100, Duncan Coutts wrote: http://openafp.org/dist/rts.c99.diff audreyt currently rts/ requires C99, unlike the rest of the tree audreyt so GCC 2.* barfs on it audreyt that patch simply moves decls upfront. audreyt thanks in advance :) Thanks for the

patch applied (testsuite): Add a test num014 for #1658: CSE [of Doubles] changes semantics

2007-09-04 Thread Ian Lynagh
Tue Sep 4 06:40:26 PDT 2007 Ian Lynagh [EMAIL PROTECTED] * Add a test num014 for #1658: CSE [of Doubles] changes semantics M ./tests/ghc-regress/numeric/should_run/all.T +1 A ./tests/ghc-regress/numeric/should_run/num014.hs A ./tests/ghc-regress/numeric/should_run/num014.stdout

Re: Just unpulled last 3 patches

2007-09-04 Thread Ian Lynagh
Hi Ben, On Tue, Sep 04, 2007 at 03:18:45PM +0100, Ben Lippmeier wrote: I just un-pulled the last 3 patches I submitted because one of them had conflicts. Hmm, you shouldn't be able push patches that have unresolved conflicts. Apparently we're keeping patches with conflicts out of the

patch applied (ghc-6.8/ghc): Better error message for unsolvable equalities

2007-09-04 Thread Ian Lynagh
Mon Sep 3 00:45:28 PDT 2007 Manuel M T Chakravarty [EMAIL PROTECTED] * Better error message for unsolvable equalities M ./compiler/typecheck/TcTyFuns.lhs -4 +5 ___ Cvs-ghc mailing list Cvs-ghc@haskell.org

patch applied (ghc-6.8/ghc): FIX #1651: unBox types when deferring unification

2007-09-04 Thread Ian Lynagh
Tue Sep 4 00:25:42 PDT 2007 Manuel M T Chakravarty [EMAIL PROTECTED] * FIX #1651: unBox types when deferring unification - This fixes the first part of #1651; ie, the panic in ghci. M ./compiler/typecheck/TcUnify.lhs -3 +9 ___ Cvs-ghc mailing

patch applied (ghc-6.8/ghc): fix cut-and-pasto

2007-09-04 Thread Ian Lynagh
Tue Sep 4 03:05:26 PDT 2007 Simon Marlow [EMAIL PROTECTED] * fix cut-and-pasto M ./docs/users_guide/runghc.xml -1 +1 ___ Cvs-ghc mailing list Cvs-ghc@haskell.org http://www.haskell.org/mailman/listinfo/cvs-ghc

patch applied (ghc-6.8/ghc): OPTIONS_GHC overrides the command-line, not the other way around

2007-09-04 Thread Ian Lynagh
Tue Sep 4 03:06:23 PDT 2007 Simon Marlow [EMAIL PROTECTED] * OPTIONS_GHC overrides the command-line, not the other way around M ./docs/users_guide/using.xml -4 +3 ___ Cvs-ghc mailing list Cvs-ghc@haskell.org

patch applied (ghc-6.8/ghc): Fix CodingStyle#Warnings URLs

2007-09-04 Thread Ian Lynagh
Tue Sep 4 07:01:15 PDT 2007 Ian Lynagh [EMAIL PROTECTED] * Fix CodingStyle#Warnings URLs M ./compiler/basicTypes/BasicTypes.lhs -1 +1 M ./compiler/basicTypes/DataCon.lhs -1 +1 M ./compiler/basicTypes/Demand.lhs -1 +1 M ./compiler/basicTypes/Id.lhs -1 +1 M ./compiler

patch applied (ghc-6.8/ghc): Always turn on -Wall -Werror when compiling the compiler, even for stage 1

2007-09-04 Thread Ian Lynagh
Tue Sep 4 07:03:24 PDT 2007 Ian Lynagh [EMAIL PROTECTED] * Always turn on -Wall -Werror when compiling the compiler, even for stage 1 M ./compiler/Makefile -2 ___ Cvs-ghc mailing list Cvs-ghc@haskell.org http://www.haskell.org/mailman/listinfo

patch applied (ghc-6.8/ghc): Add a -Warn flag

2007-09-04 Thread Ian Lynagh
Tue Sep 4 07:10:28 PDT 2007 Ian Lynagh [EMAIL PROTECTED] * Add a -Warn flag M ./compiler/main/DynFlags.hs -6 +7 M ./docs/users_guide/flags.xml -1 +7 M ./docs/users_guide/using.xml +10 ___ Cvs-ghc mailing list Cvs-ghc@haskell.org http

patch applied (ghc): Set datarootdir to the value configure gives us (if any) so datadir works

2007-09-04 Thread Ian Lynagh
Tue Sep 4 18:32:39 PDT 2007 Ian Lynagh [EMAIL PROTECTED] * Set datarootdir to the value configure gives us (if any) so datadir works We then set datarootdir to something else later on so that things still work when configure doesn't set it. M ./mk/config.mk.in -1 +3

patch applied (ghc-6.8/ghc): Set datarootdir to the value configure gives us (if any) so datadir works

2007-09-04 Thread Ian Lynagh
Tue Sep 4 18:32:39 PDT 2007 Ian Lynagh [EMAIL PROTECTED] * Set datarootdir to the value configure gives us (if any) so datadir works We then set datarootdir to something else later on so that things still work when configure doesn't set it. M ./mk/config.mk.in -1 +3

Re: datarootdir confusion

2007-09-04 Thread Ian Lynagh
On Tue, Sep 04, 2007 at 11:34:28PM +0200, Sven Panne wrote: Therefore, we *must* have a line datarootdir := @datarootdir@ Good point, thanks. Now fixed. Ian ___ Cvs-ghc mailing list Cvs-ghc@haskell.org

patch applied (ghc-6.8/ghc): put the @N suffix on stdcall foreign calls in .cmm code

2007-09-05 Thread Ian Lynagh
Tue Sep 4 07:28:53 PDT 2007 Simon Marlow [EMAIL PROTECTED] * put the @N suffix on stdcall foreign calls in .cmm code This applies to EnterCriticalSection and LeaveCriticalSection in the RTS M ./compiler/cmm/CLabel.hs +7 M ./compiler/cmm/CmmParse.y -5 +19 M

patch applied (ghc-6.8/ghc): FIX: Correct Leave/EnterCriticalSection imports

2007-09-05 Thread Ian Lynagh
Tue Sep 4 18:02:17 PDT 2007 Manuel M T Chakravarty [EMAIL PROTECTED] * FIX: Correct Leave/EnterCriticalSection imports M ./rts/HeapStackCheck.cmm -2 +2 M ./rts/PrimOps.cmm -2 +2 M ./rts/StgMiscClosures.cmm -2 +2 ___ Cvs-ghc mailing list

patch applied (ghc-6.8/ghc): fix of wanted equational class context

2007-09-05 Thread Ian Lynagh
Tue Sep 4 01:00:14 PDT 2007 Tom Schrijvers [EMAIL PROTECTED] * fix of wanted equational class context Previously failed to account for equational class context for wanted dictionary contraints, e.g. wanted C a in class a ~ Int = C a instance C Int should give

patch applied (ghc-6.8/ghc): bug fix in Decomp step of completion algorithm for given equations

2007-09-05 Thread Ian Lynagh
Tue Sep 4 05:39:45 PDT 2007 Tom Schrijvers [EMAIL PROTECTED] * bug fix in Decomp step of completion algorithm for given equations M ./compiler/typecheck/TcTyFuns.lhs -4 +5 ___ Cvs-ghc mailing list Cvs-ghc@haskell.org

patch applied (ghc-6.8/ghc): Use dlsym on OS X if available

2007-09-05 Thread Ian Lynagh
Tue Sep 4 22:22:13 PDT 2007 Roman Leshchinskiy [EMAIL PROTECTED] * Use dlsym on OS X if available On OS X 10.4 and newer, we have to use dlsym because the old NS* interface has been deprecated. The patch checks for HAVE_DLFCN_H instead of switching on the OS version. There is one

patch applied (ghc-6.8/ghc): Do conservative coalescing in register allocator

2007-09-05 Thread Ian Lynagh
Mon Sep 3 09:34:04 PDT 2007 [EMAIL PROTECTED] * Do conservative coalescing in register allocator Avoid coalescing nodes in the register conflict graph if the new node will not be trivially colorable. Also remove the front end aggressive coalescing pass. For typical Haskell code

<    1   2   3   4   5   6   7   8   9   10   >