patch applied (ghc-6.6/testsuite): Donapos; t put double-quotes around the command when passing it to timeout

2007-02-05 Thread Simon Marlow
Fri Feb 2 09:00:26 PST 2007 Simon Marlow [EMAIL PROTECTED] * Don't put double-quotes around the command when passing it to timeout Fixes the testsuite on Cygwin/MSYS using Cygwin Python. I hope it hasn't broken it using the native Python... if it has, we'll need to revisit. I can't see

patch applied (ghc-6.6/ghc): donapos; t forget to remove html-docs as part of apos; make cleanapos;

2007-02-05 Thread Simon Marlow
Mon Feb 5 06:08:00 PST 2007 Simon Marlow [EMAIL PROTECTED] * don't forget to remove html-docs as part of 'make clean' M ./libraries/Makefile +3 ___ Cvs-ghc mailing list Cvs-ghc@haskell.org http://www.haskell.org/mailman/listinfo/cvs-ghc

patch applied (ghc): One more PAPI measurement, dropped precise cycle counting and replaced it with instructions.

2007-02-05 Thread Simon Marlow
Thu Dec 21 03:56:15 PST 2006 Alexey Rodriguez [EMAIL PROTECTED] * One more PAPI measurement, dropped precise cycle counting and replaced it with instructions. M ./includes/RtsFlags.h +1 M ./rts/Papi.c -5 +52 M ./rts/Papi.h +2 M ./rts/RtsFlags.c +4 M ./rts/Stats.c +2

patch applied (ghc): Small optimisation for comparisons

2007-02-05 Thread Simon Marlow
Fri Jan 19 07:04:33 PST 2007 [EMAIL PROTECTED] * Small optimisation for comparisons Comparison of literal with narrowed/widened operand: perform the comparison at a different width, as long as the literal is within range. We only do this on x86/x86_64 at the moment, where we have

patch applied (ghc): donapos; t make jump tables for small switches (lt; = 4 branches)

2007-02-05 Thread Simon Marlow
Fri Jan 19 07:07:49 PST 2007 [EMAIL PROTECTED] * don't make jump tables for small switches (= 4 branches) Only affects -fasm: gcc makes its own decisions about jump tables M ./compiler/codeGen/CgUtils.hs -3 +5 ___ Cvs-ghc mailing list

patch applied (ghc): small debugging output cleanup

2007-02-05 Thread Simon Marlow
Fri Jan 19 07:08:00 PST 2007 [EMAIL PROTECTED] * small debugging output cleanup M ./compiler/codeGen/CgUtils.hs -4 +5 ___ Cvs-ghc mailing list Cvs-ghc@haskell.org http://www.haskell.org/mailman/listinfo/cvs-ghc

patch applied (ghc-6.6/ghc): TAG 2007-02-05

2007-02-05 Thread Simon Marlow
Mon Feb 5 06:35:38 PST 2007 Ian Lynagh [EMAIL PROTECTED] tagged 2007-02-05 ___ Cvs-ghc mailing list Cvs-ghc@haskell.org http://www.haskell.org/mailman/listinfo/cvs-ghc

patch applied (ghc-6.6/ghc): Make binary-dist tarballs automatically, and add support for uploading

2007-02-05 Thread Simon Marlow
Mon Feb 5 06:48:47 PST 2007 Simon Marlow [EMAIL PROTECTED] * Make binary-dist tarballs automatically, and add support for uploading Moving functionality that was previously in the nightly build scripts into the top-level Makefile, so it's easier to use from BuildBot. M ./Makefile -17

patch applied (ghc-6.6/testsuite): MERGE: part of quot; ignore_output should be a test optionquot;

2007-02-14 Thread Simon Marlow
Wed Feb 14 02:28:51 PST 2007 Simon Marlow [EMAIL PROTECTED] * MERGE: part of ignore_output should be a test option Fixes problems with detecting and reporting framework failures M ./driver/testlib.py -4 +7 ___ Cvs-ghc mailing list Cvs-ghc

patch applied (testsuite): only do win32002 on Windows

2007-02-15 Thread Simon Marlow
Thu Feb 15 01:28:06 PST 2007 Simon Marlow [EMAIL PROTECTED] * only do win32002 on Windows M ./tests/ghc-regress/lib/win32/all.T -10 +7 ___ Cvs-ghc mailing list Cvs-ghc@haskell.org http://www.haskell.org/mailman/listinfo/cvs-ghc

patch applied (ghc-6.6/ghc): Fix sleep delay for the non-threaded Windows RTS

2007-02-20 Thread Simon Marlow
Tue Feb 20 01:07:16 PST 2007 Simon Marlow [EMAIL PROTECTED] * Fix sleep delay for the non-threaded Windows RTS This is the Windows counterpart to Make the non-threaded-RTS threadDelay wait at least as long as asked M ./rts/win32/IOManager.c -1 +1

patch applied (testsuite): rename GHC_PKG -gt; LOCAL_GHC_PKG to avoid clash with mk/test.mk

2007-02-20 Thread Simon Marlow
Tue Feb 20 01:20:11 PST 2007 Simon Marlow [EMAIL PROTECTED] * rename GHC_PKG - LOCAL_GHC_PKG to avoid clash with mk/test.mk M ./tests/ghc-regress/cabal/Makefile -32 +32 ___ Cvs-ghc mailing list Cvs-ghc@haskell.org http://www.haskell.org/mailman

patch applied (testsuite): add Windows output

2007-02-20 Thread Simon Marlow
Tue Feb 20 01:55:33 PST 2007 Simon Marlow [EMAIL PROTECTED] * add Windows output A ./tests/ghc-regress/concurrent/should_run/conc056.stderr-i386-unknown-mingw32 ___ Cvs-ghc mailing list Cvs-ghc@haskell.org http://www.haskell.org/mailman

patch applied (ghc): describe the Z-encoding for __stginit symbol names (addresses #1014)

2007-02-20 Thread Simon Marlow
Tue Feb 20 05:25:32 PST 2007 Simon Marlow [EMAIL PROTECTED] * describe the Z-encoding for __stginit symbol names (addresses #1014) M ./docs/users_guide/ffi-chap.xml -1 +35 ___ Cvs-ghc mailing list Cvs-ghc@haskell.org http://www.haskell.org

patch applied (ghc-6.6/ghc): Windows fix for stdcall foreign-import-wrapper, fixes ffi012(ghci)

2007-02-20 Thread Simon Marlow
Tue Feb 20 05:57:53 PST 2007 Simon Marlow [EMAIL PROTECTED] * Windows fix for stdcall foreign-import-wrapper, fixes ffi012(ghci) M ./compiler/ghci/ByteCodeAsm.lhs -1 +7 ___ Cvs-ghc mailing list Cvs-ghc@haskell.org http://www.haskell.org/mailman

patch applied (ghc-6.6/testsuite): use HsInt64 instead of int64_t, fixes this test on Windows (and is more correct)

2007-02-20 Thread Simon Marlow
Tue Feb 20 06:01:37 PST 2007 Simon Marlow [EMAIL PROTECTED] * use HsInt64 instead of int64_t, fixes this test on Windows (and is more correct) M ./tests/ghc-regress/ccall/should_run/ffi018.h -3 +2 M ./tests/ghc-regress/ccall/should_run/ffi018_c.c -1 +1

patch applied (ghc-6.6/testsuite): conc058 is not an expected failure any more on Windows

2007-02-20 Thread Simon Marlow
Tue Feb 20 06:04:10 PST 2007 Simon Marlow [EMAIL PROTECTED] * conc058 is not an expected failure any more on Windows M ./tests/ghc-regress/concurrent/should_run/all.T -7 +1 ___ Cvs-ghc mailing list Cvs-ghc@haskell.org http://www.haskell.org

patch applied (ghc-6.6/testsuite): make this test deterministic on a multiprocessor

2007-02-20 Thread Simon Marlow
Tue Feb 20 06:23:05 PST 2007 Simon Marlow [EMAIL PROTECTED] * make this test deterministic on a multiprocessor M ./tests/ghc-regress/lib/net/net002.hs -3 +10 M ./tests/ghc-regress/lib/net/net002.stdout -15 +4 ___ Cvs-ghc mailing list Cvs-ghc

patch applied (testsuite): use HsInt64 instead of int64_t, fixes this test on Windows (and is more correct)

2007-02-21 Thread Simon Marlow
Tue Feb 20 06:01:37 PST 2007 Simon Marlow [EMAIL PROTECTED] * use HsInt64 instead of int64_t, fixes this test on Windows (and is more correct) M ./tests/ghc-regress/ccall/should_run/ffi018.h -3 +2 M ./tests/ghc-regress/ccall/should_run/ffi018_c.c -1 +1

patch applied (testsuite): temp: omit conc063 on Windows to avoid hanging the build

2007-02-21 Thread Simon Marlow
Wed Feb 21 01:19:25 PST 2007 Simon Marlow [EMAIL PROTECTED] * temp: omit conc063 on Windows to avoid hanging the build M ./tests/ghc-regress/concurrent/should_run/all.T -1 +10 ___ Cvs-ghc mailing list Cvs-ghc@haskell.org http://www.haskell.org

patch applied (ghc-6.6/testsuite): Skip out lots of the middle numbers in cg058 as the test was taking too long

2007-02-23 Thread Simon Marlow
Thu Nov 23 16:18:09 PST 2006 Ian Lynagh [EMAIL PROTECTED] * Skip out lots of the middle numbers in cg058 as the test was taking too long The test still shows up the problem in hugs. M ./tests/ghc-regress/codeGen/should_run/cg058.hs -1 +1 ___

patch applied (ghc-nightly): weapos;re building snapshots now

2007-02-26 Thread Simon Marlow
Tue Nov 7 02:31:10 PST 2006 Simon Marlow [EMAIL PROTECTED] * we're building snapshots now M ./site/msrc/conf-6.6-cam-02-unx -1 +1 M ./site/msrc/conf-6.6-cam-03-unx -1 +1 ___ Cvs-ghc mailing list Cvs-ghc@haskell.org http://www.haskell.org

patch applied (ghc-nightly): Try 10 times to push each distfile

2007-02-26 Thread Simon Marlow
Fri Dec 1 01:25:36 PST 2006 Simon Marlow [EMAIL PROTECTED] * Try 10 times to push each distfile To workaround problems with firewalls at MS that corrupt and drop SSH connections. M! ./bin/nightly-wrk -15 +18 ___ Cvs-ghc mailing list Cvs-ghc

patch applied (ghc-nightly): omit source dist

2007-02-26 Thread Simon Marlow
Mon Feb 12 03:10:48 PST 2007 Simon Marlow [EMAIL PROTECTED] * omit source dist M ./site/msrc/conf-6.6-cam-02-unx -3 ___ Cvs-ghc mailing list Cvs-ghc@haskell.org http://www.haskell.org/mailman/listinfo/cvs-ghc

patch applied (ghc): fix data con patch for 64-bit architectures

2007-02-27 Thread Simon Marlow
Tue Feb 27 05:43:58 PST 2007 Simon Marlow [EMAIL PROTECTED] * fix data con patch for 64-bit architectures M ./compiler/ghci/ByteCodeItbls.lhs -5 +2 ___ Cvs-ghc mailing list Cvs-ghc@haskell.org http://www.haskell.org/mailman/listinfo/cvs-ghc

patch applied (ghc): Remove the itbls field of BCO, put itbls in with the literals

2007-02-27 Thread Simon Marlow
Tue Feb 27 05:46:09 PST 2007 Simon Marlow [EMAIL PROTECTED] * Remove the itbls field of BCO, put itbls in with the literals This is a simplification minor optimisation for GHCi M ./compiler/ghci/ByteCodeAsm.lhs -56 +54 M ./compiler/ghci/ByteCodeLink.lhs -24 +13 M ./compiler

patch applied (testsuite): Windows: the .ps file is lt; proggt; .exe.ps

2007-02-28 Thread Simon Marlow
Wed Feb 28 04:02:54 PST 2007 Simon Marlow [EMAIL PROTECTED] * Windows: the .ps file is prog.exe.ps M ./driver/testlib.py -2 +5 ___ Cvs-ghc mailing list Cvs-ghc@haskell.org http://www.haskell.org/mailman/listinfo/cvs-ghc

patch applied (ghc): Windows: the .hp file is lt;proggt;.exe.hp

2007-02-28 Thread Simon Marlow
Wed Feb 28 04:03:19 PST 2007 Simon Marlow [EMAIL PROTECTED] * Windows: the .hp file is prog.exe.hp M ./utils/hp2ps/Main.c -1 +5 ___ Cvs-ghc mailing list Cvs-ghc@haskell.org http://www.haskell.org/mailman/listinfo/cvs-ghc

patch applied (ghc): Remove vectored returns.

2007-02-28 Thread Simon Marlow
Wed Feb 28 05:07:14 PST 2007 Simon Marlow [EMAIL PROTECTED] * Remove vectored returns. We recently discovered that they aren't a win any more, and just cost code size. M ./compiler/cmm/CLabel.hs -2 M ./compiler/cmm/CmmParse.y -10 +5 M ./compiler/codeGen/CgCallConv.hs -31 +3

patch applied (ghc): use -fforce-recomp when compiling Main.hs against the ghc package.

2007-02-28 Thread Simon Marlow
Wed Feb 28 07:33:04 PST 2007 Simon Marlow [EMAIL PROTECTED] * use -fforce-recomp when compiling Main.hs against the ghc package. This is necessary because GHC's recompilation checker doesn't check across package boundaries. M ./compiler/Makefile.ghcbin +3

patch applied (ghc): Fix #249 (-caf-all bugs)

2007-02-28 Thread Simon Marlow
Wed Feb 28 07:50:09 PST 2007 Simon Marlow [EMAIL PROTECTED] * Fix #249 (-caf-all bugs) There were two bugs: * we were generating the symbol name for the CAF cost centre from the OccName, which isn't unique enough in the case of system-generated non-external names * :Main.main

patch applied (ghc): Fix #839 (Generate documentation for built-in types and primitve operations)

2007-02-28 Thread Simon Marlow
Wed Feb 28 08:34:42 PST 2007 Simon Marlow [EMAIL PROTECTED] * Fix #839 (Generate documentation for built-in types and primitve operations) This patch was originally by [EMAIL PROTECTED], but I re-recorded it in order to add a better log message. The effect of this patch is to add

patch applied (ghc): some more vectored return stuff to be removed

2007-03-01 Thread Simon Marlow
Thu Mar 1 01:22:50 PST 2007 Simon Marlow [EMAIL PROTECTED] * some more vectored return stuff to be removed M ./compiler/ghci/ByteCodeItbls.lhs -24 ___ Cvs-ghc mailing list Cvs-ghc@haskell.org http://www.haskell.org/mailman/listinfo/cvs-ghc

patch applied (ghc): Fix -keep-s-file with --make

2007-03-01 Thread Simon Marlow
Thu Mar 1 01:57:49 PST 2007 Simon Marlow [EMAIL PROTECTED] * Fix -keep-s-file with --make M ./compiler/main/DriverPipeline.hs -6 +13 ___ Cvs-ghc mailing list Cvs-ghc@haskell.org http://www.haskell.org/mailman/listinfo/cvs-ghc

patch applied (testsuite): Add tests for -keep-s-file with and without --make

2007-03-01 Thread Simon Marlow
Thu Mar 1 01:57:25 PST 2007 Simon Marlow [EMAIL PROTECTED] * Add tests for -keep-s-file with and without --make One of these fails with 6.6 M ./tests/ghc-regress/driver/Makefile +12 M ./tests/ghc-regress/driver/all.T +4 ___ Cvs-ghc

patch applied (ghc): is64BitInteger: truncate to 64 bits before testing

2007-03-01 Thread Simon Marlow
Thu Mar 1 03:25:13 PST 2007 Simon Marlow [EMAIL PROTECTED] * is64BitInteger: truncate to 64 bits before testing We weren't catching some literals that actually fit in 32 bits before, because e.g. -1 was sometimes represented as 0x in CmmInt. M ./compiler/nativeGen

patch applied (ghc): Use the most complex form of addressing modes on x86

2007-03-01 Thread Simon Marlow
Thu Mar 1 03:26:25 PST 2007 Simon Marlow [EMAIL PROTECTED] * Use the most complex form of addressing modes on x86 We had a pattern that matched (base+(indexN)), but not (base+(indexN)+M). M ./compiler/nativeGen/MachCodeGen.hs -9 +22 ___ Cvs

patch applied (ghc): further improvements to the x86/x86_64 NCG

2007-03-01 Thread Simon Marlow
Thu Mar 1 05:06:28 PST 2007 Simon Marlow [EMAIL PROTECTED] * further improvements to the x86/x86_64 NCG M ./compiler/cmm/Cmm.hs +2 M ./compiler/nativeGen/MachCodeGen.hs +22 ___ Cvs-ghc mailing list Cvs-ghc@haskell.org http://www.haskell.org

patch applied (ghc): fix the timer_create() test

2007-03-06 Thread Simon Marlow
Tue Mar 6 01:35:25 PST 2007 Simon Marlow [EMAIL PROTECTED] * fix the timer_create() test M ./aclocal.m4 -2 +2 ___ Cvs-ghc mailing list Cvs-ghc@haskell.org http://www.haskell.org/mailman/listinfo/cvs-ghc

patch applied (ghc): remove vestiges of CCallable/CReturnable

2007-03-06 Thread Simon Marlow
Tue Mar 6 04:35:33 PST 2007 Simon Marlow [EMAIL PROTECTED] * remove vestiges of CCallable/CReturnable M ./rts/PrimOps.cmm -18 ___ Cvs-ghc mailing list Cvs-ghc@haskell.org http://www.haskell.org/mailman/listinfo/cvs-ghc

patch applied (ghc): workerTaskStop(): set task-gt;cap = NULL

2007-03-06 Thread Simon Marlow
Tue Mar 6 06:04:53 PST 2007 Simon Marlow [EMAIL PROTECTED] * workerTaskStop(): set task-cap = NULL avoids an assertion failure in newBoundTask() M ./rts/Task.c +1 ___ Cvs-ghc mailing list Cvs-ghc@haskell.org http://www.haskell.org/mailman

patch applied (ghc): THREADED_RTS: use cas() when claiming thunks

2007-03-06 Thread Simon Marlow
Tue Mar 6 06:27:32 PST 2007 Simon Marlow [EMAIL PROTECTED] * THREADED_RTS: use cas() when claiming thunks I guess I forgot to do this the first time around; the upshot is that there could be some uncaught duplication of work on a multiprocessor (but unlikely). M ./rts/ThreadPaused.c

patch applied (ghc-6.6/ghc): workerTaskStop(): set task-gt; cap = NULL

2007-03-06 Thread Simon Marlow
Tue Mar 6 06:04:53 PST 2007 Simon Marlow [EMAIL PROTECTED] * workerTaskStop(): set task-cap = NULL avoids an assertion failure in newBoundTask() M ./rts/Task.c +1 ___ Cvs-ghc mailing list Cvs-ghc@haskell.org http://www.haskell.org/mailman

patch applied (ghc): add missing %ENTRY_CODE()

2007-03-08 Thread Simon Marlow
Thu Mar 8 02:19:21 PST 2007 Simon Marlow [EMAIL PROTECTED] * add missing %ENTRY_CODE() fixes unreg way in HEAD M ./rts/Exception.cmm -2 +2 ___ Cvs-ghc mailing list Cvs-ghc@haskell.org http://www.haskell.org/mailman/listinfo/cvs-ghc

patch applied (ghc): when invoking gcc, instead of the -Blt; dirgt; flag, use GCC_EXEC_PREFIX

2007-03-08 Thread Simon Marlow
Thu Mar 8 07:46:53 PST 2007 Simon Marlow [EMAIL PROTECTED] * when invoking gcc, instead of the -Bdir flag, use GCC_EXEC_PREFIX should hopefully fix/workaround #1110, but I haven't had a chance to test it yet. M ./compiler/main/SysTools.lhs -9 +30

patch applied (ghc): Fix a bug in the liveness analysis

2007-03-13 Thread Simon Marlow
Tue Jan 23 02:40:25 PST 2007 Simon Marlow [EMAIL PROTECTED] * Fix a bug in the liveness analysis We were being overly conservative, registers that were live only at a branch target were not recorded as being dead in the branch-not-taken code. M ./compiler/nativeGen/RegisterAlloc.hs

patch applied (ghc-6.6/testsuite): fix test driver

2007-03-26 Thread Simon Marlow
Mon Mar 26 08:45:54 PDT 2007 Simon Marlow [EMAIL PROTECTED] * fix test driver compile_and_run should return the result from compile_and_run_helper M ./driver/testlib.py -2 +2 ___ Cvs-ghc mailing list Cvs-ghc@haskell.org http://www.haskell.org

patch applied (ghc-6.6/ghc): move quot; boot :: allquot; after the include of target.mk to fix #1095

2007-03-26 Thread Simon Marlow
Mon Mar 26 08:59:49 PDT 2007 Simon Marlow [EMAIL PROTECTED] * move boot :: all after the include of target.mk to fix #1095 M ./includes/Makefile -4 +11 ___ Cvs-ghc mailing list Cvs-ghc@haskell.org http://www.haskell.org/mailman/listinfo/cvs-ghc

Re: patch applied (ghc): Use update-alternatives for handling generic tool names

2007-03-27 Thread Simon Marlow
Malcolm Wallace wrote: Sven Panne [EMAIL PROTECTED] wrote: they come with different sets of tools: GHC: hsc2hs Hugs: hsc2hs, cpphs nhc: cpphs The only reason ghc does not ship by default with cpphs is ideological - the latter is GPL licensed. Of

patch applied (ghc): move quot; boot :: allquot; after the include of target.mk to fix #1095

2007-03-27 Thread Simon Marlow
Mon Mar 26 08:59:49 PDT 2007 Simon Marlow [EMAIL PROTECTED] * move boot :: all after the include of target.mk to fix #1095 M ./includes/Makefile -4 +11 ___ Cvs-ghc mailing list Cvs-ghc@haskell.org http://www.haskell.org/mailman/listinfo/cvs-ghc

patch applied (ghc): partial fix for #1119

2007-03-27 Thread Simon Marlow
Tue Mar 27 08:22:15 PDT 2007 Simon Marlow [EMAIL PROTECTED] * partial fix for #1119 Unless we're in one-shot mode, emit an error if we attempt to demand-load interfaces for home modules. This can only happen in one way (that I'm aware of): typing a qualified name at the GHCi prompt

patch applied (ghc): remove docs for unimplemented options

2007-03-27 Thread Simon Marlow
Mon Mar 26 07:27:28 PDT 2007 Simon Marlow [EMAIL PROTECTED] * remove docs for unimplemented options -optdep--include-module and --optdep--exclude-directory were features of the old mkdependHS script but weren't implemented when mkdependHS was merged into GHC. M ./docs/users_guide

patch applied (ghc): more improvements for #1119

2007-03-27 Thread Simon Marlow
Tue Mar 27 08:37:23 PDT 2007 Simon Marlow [EMAIL PROTECTED] * more improvements for #1119 When GHCi compiles its code framgents for setting buffering, it wants to refer to base:System.IO rather than whatever System.IO is on the search path, unfortunately there's no way to do

patch applied (ghc): make GHCi use base:Prelude, not just Prelude

2007-03-27 Thread Simon Marlow
Tue Mar 27 08:45:54 PDT 2007 Simon Marlow [EMAIL PROTECTED] * make GHCi use base:Prelude, not just Prelude The module that GHCi uses for its default scope should be exactly base:Prelude, not whatever Prelude is found on the search path. M ./compiler/ghci/InteractiveUI.hs -1 +1 M

Re: Daily report for 6.6

2007-03-28 Thread Simon Marlow
BuildBot Collator wrote: utf8_0022 mnemosyne x86-64 Gentoo 6.6 utf8_0032 mnemosyne x86-64 Gentoo 6.6 utf8_0042 mnemosyne x86-64 Gentoo 6.6 utf8_0052 mnemosyne x86-64 Gentoo 6.6 These are caused by using an Alex before 2.1, I

patch applied (ghc): remove old library doc link (#1098), and point to HackageDB

2007-03-28 Thread Simon Marlow
Wed Mar 28 03:29:38 PDT 2007 Simon Marlow [EMAIL PROTECTED] * remove old library doc link (#1098), and point to HackageDB M ./docs/users_guide/glasgow_exts.xml -8 +5 M ./docs/users_guide/packages.xml -3 +6 ___ Cvs-ghc mailing list Cvs-ghc

Re: darcs performance

2007-04-02 Thread Simon Marlow
Ian Lynagh wrote: On Sun, Apr 01, 2007 at 01:23:32PM +0200, Sven Panne wrote: When getting a repo via HTTP, darcs seems to be *much* faster than via SSH. Here as an example the cpphs repo, 3.7 patches per second vs. 0.7 patches per second (almost unusable for large/old repos): 5. :-( Is

patch applied (ghc-6.6/testsuite): allow ignoring output from ghci scripts

2007-04-03 Thread Simon Marlow
Tue Apr 3 04:25:46 PDT 2007 Simon Marlow [EMAIL PROTECTED] * allow ignoring output from ghci scripts don't merge; this is done better in the HEAD M ./driver/testlib.py -1 +7 ___ Cvs-ghc mailing list Cvs-ghc@haskell.org http://www.haskell.org

patch applied (ghc-6.6/testsuite): ignore the output from ghci015

2007-04-03 Thread Simon Marlow
Tue Apr 3 04:26:04 PDT 2007 Simon Marlow [EMAIL PROTECTED] * ignore the output from ghci015 M ./tests/ghc-regress/ghci/scripts/all.T -1 +1 ___ Cvs-ghc mailing list Cvs-ghc@haskell.org http://www.haskell.org/mailman/listinfo/cvs-ghc

patch applied (ghc-6.6/testsuite): add comment

2007-04-03 Thread Simon Marlow
Tue Apr 3 04:26:15 PDT 2007 Simon Marlow [EMAIL PROTECTED] * add comment M ./tests/ghc-regress/ghci/scripts/ghci015.hs +3 ___ Cvs-ghc mailing list Cvs-ghc@haskell.org http://www.haskell.org/mailman/listinfo/cvs-ghc

patch applied (testsuite): ghci015 should ignore output (see comment)

2007-04-03 Thread Simon Marlow
Tue Apr 3 04:22:28 PDT 2007 Simon Marlow [EMAIL PROTECTED] * ghci015 should ignore output (see comment) M ./tests/ghc-regress/ghci/scripts/all.T -1 +6 ___ Cvs-ghc mailing list Cvs-ghc@haskell.org http://www.haskell.org/mailman/listinfo/cvs-ghc

patch applied (ghc): HANDLE --gt; (void *), we canapos; t rely on having included windows.h here

2007-04-04 Thread Simon Marlow
Wed Apr 4 01:40:18 PDT 2007 Simon Marlow [EMAIL PROTECTED] * HANDLE -- (void *), we can't rely on having included windows.h here HANDLE is defined to be (void *) anyway, so this shouldn't hurt M ./includes/RtsExternal.h -1 +1 ___ Cvs-ghc

patch applied (ghc-6.6/testsuite): Another attempt to make mod{144, 146, 158, 160, 165} generate consistent output

2007-04-04 Thread Simon Marlow
Wed Apr 4 02:06:42 PDT 2007 Simon Marlow [EMAIL PROTECTED] * Another attempt to make mod{144,146,158,160,165} generate consistent output On some platforms $MAKE == gmake, so the error messages still didn't match. I made it so that these tests now don't fail in make, but the exit code

patch applied (ghc-6.6/ghc): Fix bug exposed by conc052. A thread that was blocked on a blackhole

2007-04-04 Thread Simon Marlow
Wed Apr 4 02:40:21 PDT 2007 Simon Marlow [EMAIL PROTECTED] * Fix bug exposed by conc052. A thread that was blocked on a blackhole but can now be woken up could possibly be treated as unreachable by the GC, and sent the NonTermination exception. This can give rise to spurious loops

patch applied (ghc): MERGE: Fix bug exposed by conc052.

2007-04-04 Thread Simon Marlow
Wed Apr 4 03:30:27 PDT 2007 Simon Marlow [EMAIL PROTECTED] * MERGE: Fix bug exposed by conc052. A thread that was blocked on a blackhole but can now be woken up could possibly be treated as unreachable by the GC, and sent the NonTermination exception. This can give rise to spurious

patch applied (testsuite): MERGE: Another attempt to make mod{144, 146, 158, 160, 165} generate consistent output

2007-04-04 Thread Simon Marlow
Wed Apr 4 03:36:34 PDT 2007 Simon Marlow [EMAIL PROTECTED] * MERGE: Another attempt to make mod{144,146,158,160,165} generate consistent output On some platforms $MAKE == gmake, so the error messages still didn't match. I made it so that these tests now don't fail in make, but the exit

patch applied (ghc): slight doc wibble for the -r flag

2007-04-04 Thread Simon Marlow
Wed Apr 4 07:08:05 PDT 2007 Simon Marlow [EMAIL PROTECTED] * slight doc wibble for the -r flag M ./rts/RtsFlags.c -1 +1 ___ Cvs-ghc mailing list Cvs-ghc@haskell.org http://www.haskell.org/mailman/listinfo/cvs-ghc

patch applied (ghc): add a safety net to avoid generating bogus code

2007-04-04 Thread Simon Marlow
Wed Apr 4 08:50:01 PDT 2007 Simon Marlow [EMAIL PROTECTED] * add a safety net to avoid generating bogus code M ./compiler/cmm/PprC.hs +3 ___ Cvs-ghc mailing list Cvs-ghc@haskell.org http://www.haskell.org/mailman/listinfo/cvs-ghc

patch applied (ghc-6.6/ghc): Fix a few uses of the wrong return convention for the scheduler

2007-04-05 Thread Simon Marlow
Thu Apr 5 02:06:34 PDT 2007 Simon Marlow [EMAIL PROTECTED] * Fix a few uses of the wrong return convention for the scheduler We changed the convention a while ago so that BaseReg is returned to the scheduler in R1, because BaseReg may change during the run of a thread, e.g. during

patch applied (ghc): Rationalise GhcMode, HscTarget and GhcLink

2007-04-11 Thread Simon Marlow
Wed Apr 11 03:18:02 PDT 2007 Simon Marlow [EMAIL PROTECTED] * Rationalise GhcMode, HscTarget and GhcLink This patch cleans up the GHC API, and adds some functionality: we can now compile to object code inside GHCi. Previously we had: data GhcMode = BatchCompile

patch applied (ghc-6.6/ghc): do the right thing by default with a current mingw

2007-04-11 Thread Simon Marlow
Wed Apr 11 07:48:25 PDT 2007 Simon Marlow [EMAIL PROTECTED] * do the right thing by default with a current mingw and hopefully be a bit cleverer about finding things automatically. M ./distrib/prep-bin-dist-mingw -37 +67 ___ Cvs-ghc mailing

patch applied (ghc-6.6/ghc): fix comment

2007-04-11 Thread Simon Marlow
Wed Apr 11 07:51:55 PDT 2007 Simon Marlow [EMAIL PROTECTED] * fix comment M ./distrib/prep-bin-dist-mingw -1 +1 ___ Cvs-ghc mailing list Cvs-ghc@haskell.org http://www.haskell.org/mailman/listinfo/cvs-ghc

patch applied (ghc-6.6/ghc): call prep-bin-dist-mingw as part of binary-dist, before we make the tarball

2007-04-11 Thread Simon Marlow
Wed Apr 11 07:52:35 PDT 2007 Simon Marlow [EMAIL PROTECTED] * call prep-bin-dist-mingw as part of binary-dist, before we make the tarball M ./Makefile +6 ___ Cvs-ghc mailing list Cvs-ghc@haskell.org http://www.haskell.org/mailman/listinfo/cvs

patch applied (ghc-6.6/ghc): further tweak the comments

2007-04-11 Thread Simon Marlow
Wed Apr 11 07:57:36 PDT 2007 Simon Marlow [EMAIL PROTECTED] * further tweak the comments M ./distrib/prep-bin-dist-mingw -11 +10 ___ Cvs-ghc mailing list Cvs-ghc@haskell.org http://www.haskell.org/mailman/listinfo/cvs-ghc

patch applied (ghc-6.6/ghc): add prep-bin-dist-mingw to binary-dist target, and add a separate target for publish-binary-dist

2007-04-11 Thread Simon Marlow
Wed Apr 11 08:45:12 PDT 2007 Simon Marlow [EMAIL PROTECTED] * add prep-bin-dist-mingw to binary-dist target, and add a separate target for publish-binary-dist M ./Makefile -2 +5 ___ Cvs-ghc mailing list Cvs-ghc@haskell.org http

HEADS UP: Windows Vista users

2007-04-12 Thread Simon Marlow
I've discovered a gotcha that happens when trying to use Cabal on Windows Vista. If you compile Setup.lhs to a binary (as I often do), with something like 'ghc --make Setup', and then try to run it, you'll get something like this: $ ./Setup configure Setup.exe: Permission denied This is

patch applied (ghc-6.6/ghc): fixes to prep-bin-dist-mingw, and add separate rule to tar the bindist

2007-04-12 Thread Simon Marlow
Thu Apr 12 05:56:32 PDT 2007 Simon Marlow [EMAIL PROTECTED] * fixes to prep-bin-dist-mingw, and add separate rule to tar the bindist M ./Makefile -3 +6 ___ Cvs-ghc mailing list [EMAIL PROTECTED] http://www.haskell.org/mailman/listinfo/cvs-ghc

patch applied (ghc): do the right thing by default with a current mingw

2007-04-12 Thread Simon Marlow
Wed Apr 11 07:48:25 PDT 2007 Simon Marlow [EMAIL PROTECTED] * do the right thing by default with a current mingw and hopefully be a bit cleverer about finding things automatically. M ./distrib/prep-bin-dist-mingw -37 +67 ___ Cvs-ghc mailing

patch applied (ghc): MERGE: fixes to prep-bin-dist-mingw, and add separate rule to tar the bindist

2007-04-12 Thread Simon Marlow
Thu Apr 12 06:10:12 PDT 2007 Simon Marlow [EMAIL PROTECTED] * MERGE: fixes to prep-bin-dist-mingw, and add separate rule to tar the bindist M ./Makefile -3 +6 ___ Cvs-ghc mailing list [EMAIL PROTECTED] http://www.haskell.org/mailman/listinfo

patch applied (ghc): call prep-bin-dist-mingw as part of binary-dist, before we make the tarball

2007-04-12 Thread Simon Marlow
Wed Apr 11 07:52:35 PDT 2007 Simon Marlow [EMAIL PROTECTED] * call prep-bin-dist-mingw as part of binary-dist, before we make the tarball M ./Makefile +6 ___ Cvs-ghc mailing list [EMAIL PROTECTED] http://www.haskell.org/mailman/listinfo/cvs-ghc

patch applied (ghc-6.6/ghc): when invoking gcc, instead of the -Blt; dirgt; flag, use GCC_EXEC_PREFIX

2007-04-13 Thread Simon Marlow
Thu Mar 8 07:46:53 PST 2007 Simon Marlow [EMAIL PROTECTED] * when invoking gcc, instead of the -Bdir flag, use GCC_EXEC_PREFIX should hopefully fix/workaround #1110, but I haven't had a chance to test it yet. M ./compiler/main/SysTools.lhs -9 +30

patch applied (ghc-6.6/ghc): fix building with pre-6.4

2007-04-16 Thread Simon Marlow
Mon Apr 16 01:27:32 PDT 2007 Simon Marlow [EMAIL PROTECTED] * fix building with pre-6.4 M ./compiler/main/SysTools.lhs -1 +1 ___ Cvs-ghc mailing list Cvs-ghc@haskell.org http://www.haskell.org/mailman/listinfo/cvs-ghc

patch applied (testsuite): conc063 should exit(0) now

2007-04-16 Thread Simon Marlow
Mon Apr 16 03:08:47 PDT 2007 Simon Marlow [EMAIL PROTECTED] * conc063 should exit(0) now M ./tests/ghc-regress/concurrent/should_run/all.T -2 +1 ___ Cvs-ghc mailing list Cvs-ghc@haskell.org http://www.haskell.org/mailman/listinfo/cvs-ghc

patch applied (ghc): Add missing special case for GHC.Prim

2007-04-16 Thread Simon Marlow
Mon Apr 16 06:04:57 PDT 2007 Simon Marlow [EMAIL PROTECTED] * Add missing special case for GHC.Prim The special cases for GHC.Prim are a bit fragile. We were relying on (a) the base package to be already registered and (b) the base package not to be hidden. These used to be true

patch applied (ghc): tab, verttab, formfeed, and CR are not allowed in strings

2007-04-16 Thread Simon Marlow
Mon Apr 16 04:04:33 PDT 2007 Simon Marlow [EMAIL PROTECTED] * tab, verttab, formfeed, and CR are not allowed in strings See #1277 M ./compiler/parser/Ctype.lhs -5 +5 ___ Cvs-ghc mailing list Cvs-ghc@haskell.org http://www.haskell.org/mailman

patch applied (ghc): MERGE: Fix a few uses of the wrong return convention for the scheduler

2007-04-16 Thread Simon Marlow
Mon Apr 16 07:19:02 PDT 2007 Simon Marlow [EMAIL PROTECTED] * MERGE: Fix a few uses of the wrong return convention for the scheduler We changed the convention a while ago so that BaseReg is returned to the scheduler in R1, because BaseReg may change during the run of a thread, e.g. during

patch applied (ghc): MERGE: another attempt at a workaround for #1110 (Vista bug)

2007-04-16 Thread Simon Marlow
Mon Apr 16 07:22:23 PDT 2007 Simon Marlow [EMAIL PROTECTED] * MERGE: another attempt at a workaround for #1110 (Vista bug) now instead of setting GCC_EXEC_PREFIX, we just add the appropriate gcc-lib directory to the front of PATH before invoking gcc. M ./compiler/main/SysTools.lhs -9

patch applied (ghc): Re-working of the breakpoint support

2007-04-17 Thread Simon Marlow
Tue Apr 17 07:24:58 PDT 2007 Simon Marlow [EMAIL PROTECTED] * Re-working of the breakpoint support This is the result of Bernie Pope's internship work at MSR Cambridge, with some subsequent improvements by me. The main plan was to (a) Reduce the overhead for breakpoints, so we

patch applied (ghc): con_desc should be an OFFSET_FIELD

2007-04-17 Thread Simon Marlow
Tue Apr 17 02:25:26 PDT 2007 Simon Marlow [EMAIL PROTECTED] * con_desc should be an OFFSET_FIELD M ./includes/InfoTables.h -1 +2 ___ Cvs-ghc mailing list Cvs-ghc@haskell.org http://www.haskell.org/mailman/listinfo/cvs-ghc

patch applied (ghc): add module header

2007-04-18 Thread Simon Marlow
Wed Apr 18 04:25:11 PDT 2007 Simon Marlow [EMAIL PROTECTED] * add module header M ./compiler/main/BreakArray.hs +5 ___ Cvs-ghc mailing list Cvs-ghc@haskell.org http://www.haskell.org/mailman/listinfo/cvs-ghc

patch applied (ghc): Various cleanups and improvements to the breakpoint support

2007-04-18 Thread Simon Marlow
Wed Apr 18 04:47:00 PDT 2007 Simon Marlow [EMAIL PROTECTED] * Various cleanups and improvements to the breakpoint support - move parts of the debugger implementation below the GHC API where they belong. There is still more in Debugger that violates the layering, hopefully

patch applied (ghc): add missing module

2007-04-18 Thread Simon Marlow
Wed Apr 18 05:41:24 PDT 2007 Simon Marlow [EMAIL PROTECTED] * add missing module A ./compiler/ghci/DebuggerTys.hs ___ Cvs-ghc mailing list Cvs-ghc@haskell.org http://www.haskell.org/mailman/listinfo/cvs-ghc

patch applied (ghc): small cleanup: showForUser -gt; printForUser, eliminate some duplicate code

2007-04-18 Thread Simon Marlow
Wed Apr 18 05:49:48 PDT 2007 Simon Marlow [EMAIL PROTECTED] * small cleanup: showForUser - printForUser, eliminate some duplicate code M ./compiler/ghci/GhciMonad.hs -5 +6 M ./compiler/ghci/InteractiveUI.hs -16 +8 ___ Cvs-ghc mailing list

patch applied (ghc): Restore the interactive context when resuming a breakpoint

2007-04-18 Thread Simon Marlow
Wed Apr 18 06:41:16 PDT 2007 Simon Marlow [EMAIL PROTECTED] * Restore the interactive context when resuming a breakpoint So that we don't accumulate bindings from previous breakpoints, which could lead to a space leak. M ./compiler/ghci/Linker.lhs -2 +10 M ./compiler/main/GHC.hs

patch applied (ghc): unused import

2007-04-18 Thread Simon Marlow
Wed Apr 18 07:20:08 PDT 2007 Simon Marlow [EMAIL PROTECTED] * unused import M ./compiler/ghci/InteractiveUI.hs -1 +1 ___ Cvs-ghc mailing list Cvs-ghc@haskell.org http://www.haskell.org/mailman/listinfo/cvs-ghc

patch applied (ghc): improve completion for debugger commands

2007-04-18 Thread Simon Marlow
Wed Apr 18 07:20:36 PDT 2007 Simon Marlow [EMAIL PROTECTED] * improve completion for debugger commands M ./compiler/ghci/InteractiveUI.hs -5 +5 ___ Cvs-ghc mailing list Cvs-ghc@haskell.org http://www.haskell.org/mailman/listinfo/cvs-ghc

patch applied (ghc): update the help text

2007-04-19 Thread Simon Marlow
Wed Apr 18 07:42:01 PDT 2007 Simon Marlow [EMAIL PROTECTED] * update the help text M ./compiler/ghci/InteractiveUI.hs -7 +16 ___ Cvs-ghc mailing list Cvs-ghc@haskell.org http://www.haskell.org/mailman/listinfo/cvs-ghc

patch applied (ghc): more layering cleanup: BreakArray should come from GHC

2007-04-19 Thread Simon Marlow
Thu Apr 19 02:48:06 PDT 2007 Simon Marlow [EMAIL PROTECTED] * more layering cleanup: BreakArray should come from GHC M ./compiler/ghci/InteractiveUI.hs -9 +4 M ./compiler/main/GHC.hs +2 ___ Cvs-ghc mailing list Cvs-ghc@haskell.org http

patch applied (ghc): we werenapos; t adding breakpoints on parenthesised expressions

2007-04-19 Thread Simon Marlow
Thu Apr 19 07:19:05 PDT 2007 Simon Marlow [EMAIL PROTECTED] * we weren't adding breakpoints on parenthesised expressions M ./compiler/deSugar/Coverage.lhs -13 +12 ___ Cvs-ghc mailing list Cvs-ghc@haskell.org http://www.haskell.org/mailman

patch applied (ghc): More debugger improvements

2007-04-19 Thread Simon Marlow
Thu Apr 19 07:23:58 PDT 2007 Simon Marlow [EMAIL PROTECTED] * More debugger improvements :list shows the code around the current breakpoint. Also it highlights the current expression in bold (the bold/unbold codes are hardwired to the ANSI codes right now, I'll provide a way to change

  1   2   3   4   5   6   7   8   9   10   >