From ndmitchell at gmail.com Thu May 3 12:30:05 2007 From: ndmitchell at gmail.com (Neil Mitchell) Date: Thu May 3 12:27:19 2007 Subject: Adding parser.c to the repo Message-ID: <404396ef0705030930mea81cfaqe900e669e58480bf@mail.gmail.com> Hi Would it be too much annoyance to add parser.c to the repo? On Windows I have to manually rebuild parser.c, which is unreliable, and means that sometimes I forget. Plus it requires an additional tool (bison) to be installed - and if you use the wrong version it works but parses a different style of Haskell! Thanks Neil From ndmitchell at gmail.com Thu May 3 12:59:01 2007 From: ndmitchell at gmail.com (Neil Mitchell) Date: Thu May 3 12:56:15 2007 Subject: Hugs fails to build Message-ID: <404396ef0705030959p3782800fh804889f6452e38f5@mail.gmail.com> Hi On Windows: checking value of SIG_IGN... 1 checking value of SIG_ERR... 4294967295 checking value of O_BINARY... 32768 checking what readdir sets errno to upon EOF... 0 configure: creating ./config.status config.status: creating include/HsBaseConfig.h /bin/find: invalid predicate `-wholename' /bin/find: invalid predicate `-wholename' /bin/find: invalid predicate `-wholename' ERROR: unable to locate Prelude along new path: "libraries/bootlib" - ignoring i t. ERROR: unable to locate Prelude along new path: "libraries/bootlib" - ignoring i t. ERROR: unable to locate Prelude along new path: "libraries/bootlib" - ignoring i t. ERROR: unable to locate Prelude along new path: "libraries/bootlib" - ignoring i t. ERROR: unable to locate Prelude along new path: "libraries/bootlib" - ignoring i t. ERROR: unable to locate Prelude along new path: "libraries/bootlib" - ignoring i t. ERROR: unable to locate Prelude along new path: "libraries/bootlib" - ignoring i t. ERROR: unable to locate Prelude along new path: "libraries/bootlib" - ignoring i t. echo timestamp for bootlib >bootlib/.stamp cd ../cpphs; HUGSFLAGS=-P../libraries/bootlib HUGSDIR=../hugsdir ../src/runhugs -98 Setup.hs configure --verbose --hugs --prefix='/usr/local' --scratchdir='../h ugsdir/packages/cpphs' --with-compiler=../src/ffihugs ERROR: unable to locate Prelude along new path: "../libraries/bootlib" - ignorin g it. make[1]: *** [../hugsdir/programs/cpphs/Main.hs] Error 1 make[1]: Leaving directory `/d/sources/hugs/hugs98/libraries' make: *** [all] Error 2 Thanks Neil From ndmitchell at gmail.com Thu May 3 14:13:13 2007 From: ndmitchell at gmail.com (Neil Mitchell) Date: Thu May 3 14:10:28 2007 Subject: patch applied (hugs98): Upgrade the MSVC project files from 7.1 to 8.0 Message-ID: <20070503181313.GA8706@cvs.haskell.org> Thu May 3 10:04:03 PDT 2007 Neil Mitchell * Upgrade the MSVC project files from 7.1 to 8.0 M ./src/winhugs/winhugs.sln -21 +19 M ./src/winhugs/winhugs.vcproj -468 +660 From ndmitchell at gmail.com Thu May 3 14:13:17 2007 From: ndmitchell at gmail.com (Neil Mitchell) Date: Thu May 3 14:10:42 2007 Subject: patch applied (hugs98): Change the copyright information to 2007 in the WinHugs about box Message-ID: <20070503181317.GA8742@cvs.haskell.org> Thu May 3 10:23:15 PDT 2007 Neil Mitchell * Change the copyright information to 2007 in the WinHugs about box M ./src/winhugs/DlgAbout.c -1 +1 From ndmitchell at gmail.com Thu May 3 14:13:19 2007 From: ndmitchell at gmail.com (Neil Mitchell) Date: Thu May 3 14:10:43 2007 Subject: patch applied (hugs98): Update the copyright message on the front banner from 2005 to 2007 Message-ID: <20070503181319.GA8756@cvs.haskell.org> Thu May 3 10:24:53 PDT 2007 Neil Mitchell * Update the copyright message on the front banner from 2005 to 2007 M ./src/hugs.c -2 +2 From ndmitchell at gmail.com Thu May 3 14:13:21 2007 From: ndmitchell at gmail.com (Neil Mitchell) Date: Thu May 3 14:10:44 2007 Subject: patch applied (hugs98): Fix bug #55, Ctrl+E should not centre the text (also blocks L/R alignment changes) Message-ID: <20070503181321.GA8770@cvs.haskell.org> Thu May 3 11:05:40 PDT 2007 Neil Mitchell * Fix bug #55, Ctrl+E should not centre the text (also blocks L/R alignment changes) M ./src/winhugs/RtfWindow.c +4 From ndmitchell at gmail.com Thu May 3 14:13:15 2007 From: ndmitchell at gmail.com (Neil Mitchell) Date: Thu May 3 14:10:46 2007 Subject: patch applied (hugs98): Fix some preprocessors directives that got lost in the translation to VS 8 Message-ID: <20070503181315.GA8728@cvs.haskell.org> Thu May 3 10:18:25 PDT 2007 Neil Mitchell * Fix some preprocessors directives that got lost in the translation to VS 8 M ./src/winhugs/winhugs.vcproj -1 +1 From ndmitchell at gmail.com Thu May 3 15:25:57 2007 From: ndmitchell at gmail.com (Neil Mitchell) Date: Thu May 3 15:23:11 2007 Subject: patch applied (hugs98): Do not allow new lines to be pasted into the prompt Message-ID: <20070503192557.GA10737@cvs.haskell.org> Thu May 3 11:21:53 PDT 2007 Neil Mitchell * Do not allow new lines to be pasted into the prompt M ./src/winhugs/RtfWindow.c -5 +5 From ndmitchell at gmail.com Thu May 3 15:25:59 2007 From: ndmitchell at gmail.com (Neil Mitchell) Date: Thu May 3 15:23:13 2007 Subject: patch applied (hugs98): Slight clean up, reorder a conditional test to match the others around it Message-ID: <20070503192559.GA10757@cvs.haskell.org> Thu May 3 11:23:30 PDT 2007 Neil Mitchell * Slight clean up, reorder a conditional test to match the others around it M ./src/winhugs/RtfWindow.c -1 +1 From ndmitchell at gmail.com Thu May 3 15:26:01 2007 From: ndmitchell at gmail.com (Neil Mitchell) Date: Thu May 3 15:23:15 2007 Subject: patch applied (hugs98): Initial changes for bug #66, split the extensions and loading options, to give more space for the loading ones Message-ID: <20070503192601.GA10772@cvs.haskell.org> Thu May 3 12:00:41 PDT 2007 Neil Mitchell * Initial changes for bug #66, split the extensions and loading options, to give more space for the loading ones M ./src/winhugs/DlgOptions.c -23 +46 M ./src/winhugs/resrc1.h -62 +65 M ./src/winhugs/winhugs.rc -572 +548 From ndmitchell at gmail.com Thu May 3 15:26:03 2007 From: ndmitchell at gmail.com (Neil Mitchell) Date: Thu May 3 15:23:18 2007 Subject: patch applied (hugs98): Further changes to complete the transition to a multi-line list for include directories, fixes bug #66 Message-ID: <20070503192603.GA10786@cvs.haskell.org> Thu May 3 12:22:53 PDT 2007 Neil Mitchell * Further changes to complete the transition to a multi-line list for include directories, fixes bug #66 M ./src/winhugs/DlgOptions.c -6 +55 M ./src/winhugs/winhugs.rc -11 +11 From ndmitchell at gmail.com Thu May 3 15:54:43 2007 From: ndmitchell at gmail.com (Neil Mitchell) Date: Thu May 3 15:51:57 2007 Subject: patch applied (hugs98): Change the default HUGSPATH on Windows to include the place where Cabal puts stuff, fixes bug #67 Message-ID: <20070503195443.GA11682@cvs.haskell.org> Thu May 3 12:48:42 PDT 2007 Neil Mitchell * Change the default HUGSPATH on Windows to include the place where Cabal puts stuff, fixes bug #67 M ./src/winhugs/Registry.c +13 M ./src/winhugs/options.h -1 +3 From ndmitchell at gmail.com Fri May 4 09:10:36 2007 From: ndmitchell at gmail.com (Neil Mitchell) Date: Fri May 4 09:07:46 2007 Subject: patch applied (hugs98): Delete some \r characters that had sneaked into the Registry.c file (not quite sure how..) Message-ID: <20070504131036.GA8046@cvs.haskell.org> Fri May 4 04:21:18 PDT 2007 Neil Mitchell * Delete some \r characters that had sneaked into the Registry.c file (not quite sure how..) M ./src/winhugs/Registry.c -4 +4 From ndmitchell at gmail.com Fri May 4 09:10:38 2007 From: ndmitchell at gmail.com (Neil Mitchell) Date: Fri May 4 09:07:48 2007 Subject: patch applied (hugs98): Display the reduction count statistics in the status bar all the time Message-ID: <20070504131038.GA8066@cvs.haskell.org> Fri May 4 06:04:25 PDT 2007 Neil Mitchell * Display the reduction count statistics in the status bar all the time M ./src/errors.c +3 M ./src/winhugs/DlgMain.c -1 +46 M ./src/winhugs/Winhugs.h +3 From ndmitchell at gmail.com Fri May 4 10:12:01 2007 From: ndmitchell at gmail.com (Neil Mitchell) Date: Fri May 4 10:09:12 2007 Subject: patch applied (hugs98): Add a wall clock time status message to WinHugs Message-ID: <20070504141201.GA11455@cvs.haskell.org> Fri May 4 07:06:51 PDT 2007 Neil Mitchell * Add a wall clock time status message to WinHugs M ./src/winhugs/DlgMain.c -2 +6 From ndmitchell at gmail.com Fri May 4 10:33:36 2007 From: ndmitchell at gmail.com (Neil Mitchell) Date: Fri May 4 10:30:48 2007 Subject: patch applied (hugs98): Change the logic for when a file is relative, fixes bugs with openning files which were included by Hugs with .. Message-ID: <20070504143336.GA11950@cvs.haskell.org> Fri May 4 07:28:30 PDT 2007 Neil Mitchell * Change the logic for when a file is relative, fixes bugs with openning files which were included by Hugs with .. M ./src/winhugs/General.c -2 +15 From ndmitchell at gmail.com Fri May 4 11:49:05 2007 From: ndmitchell at gmail.com (Neil Mitchell) Date: Fri May 4 11:46:16 2007 Subject: Proposal to add a flag Message-ID: <404396ef0705040849j712d04bahd66d56010adc96b1@mail.gmail.com> Hi, I'd like to add a flag to Hugs, which if set, will disable the saving of options into the registry. In GHCi all options via :set are temporary, in Hugs they are saved permanently. This flag would never be saved into the registry, so could not be set permanently. The reason for this is GuiHaskell [1]. The first step it takes is to change the prompt to something silly, so it can detect when a computation has finished. Currently this prompt is saved, which is confusing when you next launch Hugs. The alternative is to introduce a GuiHaskell flag to Hugs. If we had this, we could also add some subtle improvements like support for interact into GuiHaskell. Thanks Neil [1] http://www-users.cs.york.ac.uk/~ndm/guihaskell/ From ross at soi.city.ac.uk Fri May 11 16:38:19 2007 From: ross at soi.city.ac.uk (Ross Paterson) Date: Fri May 11 16:35:07 2007 Subject: patch applied (hugs98): expand message on pattern match failure in do expression (fixes #70) Message-ID: <20070511203819.GA3886@cvs.haskell.org> Fri May 11 13:33:12 PDT 2007 Ross Paterson * expand message on pattern match failure in do expression (fixes #70) M ./src/compiler.c -2 +2 From ross at soi.city.ac.uk Mon May 14 13:18:53 2007 From: ross at soi.city.ac.uk (Ross Paterson) Date: Mon May 14 13:15:32 2007 Subject: patch applied (hugs98): include filepath in the first phase of the bootstrap Message-ID: <20070514171853.GA20581@cvs.haskell.org> Mon May 14 09:54:23 PDT 2007 Ross Paterson * include filepath in the first phase of the bootstrap M ./libraries/Makefile.in -1 +1 M ./libraries/tools/make_bootlib -2 +2 From ross at soi.city.ac.uk Thu May 24 20:32:14 2007 From: ross at soi.city.ac.uk (Ross Paterson) Date: Thu May 24 20:28:17 2007 Subject: patch applied (hugs98): track package split (based on Ian' s patch) Message-ID: <20070525003214.GA21901@cvs.haskell.org> Thu May 24 17:30:55 PDT 2007 Ross Paterson * track package split (based on Ian's patch) M ./Makefile -4 +5 M ./libraries/Makefile.in -4 +4 M ./libraries/tools/convert_libraries -1 +1 M ./libraries/tools/make_bootlib -3 +4 M ./package-list +7 From ndmitchell at gmail.com Mon May 28 09:33:37 2007 From: ndmitchell at gmail.com (Neil Mitchell) Date: Mon May 28 09:29:29 2007 Subject: patch applied (hugs98): Change some newline issues, had \r\n for some small part of DlgMain.c Message-ID: <20070528133337.GA5922@cvs.haskell.org> Mon May 28 05:59:10 PDT 2007 Neil Mitchell * Change some newline issues, had \r\n for some small part of DlgMain.c M ./src/winhugs/DlgMain.c -9 +9 From ndmitchell at gmail.com Mon May 28 09:33:39 2007 From: ndmitchell at gmail.com (Neil Mitchell) Date: Mon May 28 09:29:31 2007 Subject: patch applied (hugs98): Remove an undefined SetWorkingDir message Message-ID: <20070528133339.GA5938@cvs.haskell.org> Mon May 28 06:11:08 PDT 2007 Neil Mitchell * Remove an undefined SetWorkingDir message M ./src/winhugs/DlgMain.c +1 From ndmitchell at gmail.com Mon May 28 09:33:40 2007 From: ndmitchell at gmail.com (Neil Mitchell) Date: Mon May 28 09:29:33 2007 Subject: patch applied (hugs98): Add a predefinition of WinHugsStatistics Message-ID: <20070528133340.GA5953@cvs.haskell.org> Mon May 28 06:11:24 PDT 2007 Neil Mitchell * Add a predefinition of WinHugsStatistics M ./src/winhugs/DlgMain.c +1 From ndmitchell at gmail.com Mon May 28 09:33:42 2007 From: ndmitchell at gmail.com (Neil Mitchell) Date: Mon May 28 09:29:35 2007 Subject: patch applied (hugs98): Add FlushBufferUnlock, in order to get the locking just right Message-ID: <20070528133342.GA5969@cvs.haskell.org> Mon May 28 06:13:19 PDT 2007 Neil Mitchell * Add FlushBufferUnlock, in order to get the locking just right M ./src/winhugs/RtfWindow.c -6 +10 From ndmitchell at gmail.com Mon May 28 09:33:44 2007 From: ndmitchell at gmail.com (Neil Mitchell) Date: Mon May 28 09:29:36 2007 Subject: patch applied (hugs98): Add more locking to the buffer, pretty much at random (I have no replicable test case, and no idea whats going on, but it doesn' t seem to break anything) Message-ID: <20070528133344.GA5986@cvs.haskell.org> Mon May 28 06:25:33 PDT 2007 Neil Mitchell * Add more locking to the buffer, pretty much at random (I have no replicable test case, and no idea whats going on, but it doesn't seem to break anything) M ./src/winhugs/RtfWindow.c -19 +26