New patches: [Fix segfault in runtime on AMD64 (and possibly other archs) Michal Palka **20060310203100 cinfo->size has an unsigned type which caused it to underflow on -1 and populate i with a huge value. This fix was actually suggested by Neil. ] { hunk ./src/runtime/BCKernel/mutator.c 343 - for (i = cinfo->size - 1; i >= 0; i--){ + for (i = ((Int) cinfo->size) - 1; i >= 0; i--){ } [More fixes for AMD64 Michal Palka **20060319205422 Several more type casts needed on 64-bit platforms. ] { hunk ./src/runtime/BCKernel/info.c 138 - *lstArg = cinfo->size - 1; + *lstArg = ((Int) cinfo->size) - 1; hunk ./src/runtime/BCKernel/info.c 142 - *lstArg = pinfo->size - 1; + *lstArg = ((Int) pinfo->size) - 1; hunk ./src/runtime/BCKernel/mark.c 97 - x = 1 << (_diff & WORD_BITS_MASK); } + x = ((Word)1) << (_diff & WORD_BITS_MASK); } } Context: [File calcRootPath, would get it wrong if there was a . in a higher up path Neil Mitchell **20060314141828] [Make the generated chart anti-aliased Neil Mitchell **20060313151419] [Initial version of DarcsGraph, pretty little web script Neil Mitchell **20060313143756] [Fixed windows platform.h Tom Shackell **20060312202931] [Added in a check that ensures people don't try to run with old config.h Tom Shackell **20060312140759] [Fixed config.h for windows Tom Shackell **20060312134024] [Added --partial to the darcs pull of cpphs Tom Shackell **20060312131705] [Using Quarter Int/UInt/Word, instead of Byte/UByte in a few places. Tom Shackell **20060312130543] [(Hopefully) fixed the AMD64 issues, also changed sanity checking. Tom Shackell **20060312121921 - a bug plaguing AMD64 was that of a corruption of heap nodes caused in cinfo_alloc. Essentially it was allocating a ZCON even for nodes that weren't zero arity, leaving a node in the heap with junk argument pointers. - improved the sanity checking code, which wasn't up to the task of finding the previously mentioned bug. The sanity checker will now linearly scan the whole heap as well as chasing via GC roots. ] [Make tester give out the number of failed tests as its return code Neil Mitchell **20060310163524] [Added support for writing testlogs (for automatic testing) Tom Shackell **20060310154314] [Added a test to test packedstring functionality Tom Shackell **20060310145101] [Added support for getEnv Tom Shackell **20060310144526] [Added support for System.Environment and improved Data.PackedString Tom Shackell **20060310143955] [Tidied up main.c and added option to set the heap size Tom Shackell **20060310134335] [Added a first attempt at a readme.txt for Unix Tom Shackell **20060310125804] [Windows makefile, always run the conformance98 tests, remove the 98 option Neil Mitchell **20060310122535] [Minor makefile tweaks Tom Shackell **20060310115756] [Add dead.txt files to mark the failing regression tests Neil Mitchell **20060310114903] [Add -dead flag to tester Neil Mitchell **20060310113852] [Added a 'make tests' to main makefile that runs the compiler tests Tom Shackell **20060310114056] [Fixed some integer size issues (on AMD64) Tom Shackell **20060310083908] [Still create Main.hbc, wait until Yhi is fixed up before this is turned on again Neil Mitchell **20060309193938] [Reorder the building of Haskell98, to respect the fact that Array.hs depends on Ix.hs Neil Mitchell **20060309192119] [Fix typo of hs vs hs, was causing breakages in compiling (note to Neil - you are an idiot) Neil Mitchell **20060309191047] [Add information about who asked for a module to all paths to give better error messages Neil Mitchell **20060306005134] [If you can't find the file on the command line, imagine its a module name Neil Mitchell **20060306002336] [Make the compiling message a bit prettier, alignment and better file path Neil Mitchell **20060306000823] [Write out the name of the module when compiling Neil Mitchell **20060305230827] [Write out the short name when compiling Neil Mitchell **20060305215450] [Add some basic search when the user types yhc Main (look for .hs and .lhs) Neil Mitchell **20060305211107] [Remove tmpPath, was unused Neil Mitchell **20060305205604] [Handle the new dotted heirarchical modules Neil Mitchell **20060305204601] [Accidentally left a debugging call inside FilePath Neil Mitchell **20060305203814] [Beef up the .hi and .hs detection code a lot, support new Haskell' proposal, detect .lhs files, support a standalone hi directory Neil Mitchell **20060305203710] [Change the semantics back to before when only trying to find an .hi file Neil Mitchell **20060305195414] [Remove getModuleHi, set it as a flag to getModule (less code duplication) Neil Mitchell **20060305193929] [Fixup Package to not use ., but to use a given basepath (calculated in Flags) Neil Mitchell **20060305193219] [Add a -hide option, to put the .hi and .hbc files hidden away. Also change Main.hbc -> filename.hbc Neil Mitchell **20060305181951] [Write makeDirs directly, instead of using the current directory (which is a bit dangerous) Neil Mitchell **20060305181816] [Add an addExtension method, for when you are definately adding, but may have a . in the filepath already Neil Mitchell **20060305181740] [Call make only with fully qualified paths Neil Mitchell **20060305171308] [Remove dead code in Flags.hs Neil Mitchell **20060305170102] [Make front take in a FilePath, not a FileFlags (which had only one valid member) Neil Mitchell **20060305165005] [Move code from Compile to ByteCode.ByteCode, the stuff that does compiling the bytecode Neil Mitchell **20060305145837] [Make things import ByteCode.Type and ByteCode.Metric instead of ByteCode.ByteCode Neil Mitchell **20060305144326] [Add dist target for Windows makefile Neil Mitchell **20060305143040] [Add pyhi target for Windows makefile Neil Mitchell **20060305141650] [Add setup.py file compatible with py2exe Neil Mitchell **20060305141616] [Restructure the batch file, less common code to check for dependancies. Make the makefile pull command much safer Neil Mitchell **20060305125417] [Remove isIntSize functions from DotNot, were unneeded Neil Mitchell **20060305120658] [Move the isIntSized functions into Util.Extra instead of ByteCode Neil Mitchell **20060305120413] [Split ByteCode.ByteCode into Type and Metric Neil Mitchell **20060305115935] [Move ByteCode.Stats to util\BCView Neil Mitchell **20060305115248] [Fix building in release mode on VS 2005 Mike Dodds **20060303182630] [Remove Visual Studio warning Mike Dodds **20060303182302] [Fix a compiler warning message when building for debug with VS 2003 Neil Mitchell **20060303180911] [Windows threading support Neil Mitchell **20060303180513] [Fix the Visual Studio 2005 solution to work with concurrency (Release mode still broken) Mike Dodds **20060303171946] [Correct visual studio 2003 project files Neil Mitchell **20060303170923] [Add a null threading implementation, for places which don't have threads setup properly Neil Mitchell **20060303170843] [Add visual studio project files which got accidentally deleted Neil Mitchell **20060303163116] [Removed code for dead HALT instruction Tom Shackell **20060303160213] [Added Concurrency support to Yhc Tom Shackell **20060303155131] [Fixes for running on Windows (binary file open) and using $YHC_BASE_PATH for all libaries Neil Mitchell **20060303155424] [Switch to using standard python profiling and add command line options to pyhi. Andrew Wilkinson **20060303154602] [Make trampolining work correctly in pyhi. Andrew Wilkinson **20060303143624] [Python: Add profiling, don't special case built in functions and various speed improvements. Andrew Wilkinson **20060302164703] [General code tidy and speed increase for Python interpreter. Andrew Wilkinson **20060301171441] [Make Python interpretor use $YHC_BASE_PATH to find modules not a hardcoded path. Andrew Wilkinson **20060301160544] [Initial version of Python bytecode interpretor. Andrew Wilkinson **20060301122645] [add haddock docs to Bytecode/* in the compiler robdockins@fastmail.fm**20060228023753] [Remove unused declarations from TokenId.hs Neil Mitchell **20060228134711] [Fix the end copying of yhi to the inst\bin directory, also fix up release vs debug Neil Mitchell **20060227180202] [Remove redefinition of _strdup, there is an easier way Neil Mitchell **20060227175415] [Don't flag use of strdup as a depreciated function Neil Mitchell **20060227175152] [Define strdup to be _strdup, to keep VS 2005 happy about depreciated names Neil Mitchell **20060227174542] [Remove a compiler warning about no return statement Neil Mitchell **20060227174331] [Visual studio 2005 project files Neil Mitchell **20060227173852] [Move the Yhi Visual Studio 2003 files to yhi.2003.* (so 2005 ones can coexist) Neil Mitchell **20060227172322] [Fix the path for Visual Studio 2005, probably originally a typo Neil Mitchell **20060227171530] [Fix up DemandCpphs in the Windows makefile Neil Mitchell **20060227170556] [Unlit is now in cpphs, so no point duplicating it Neil Mitchell **20060227155706] [Added make pull to main makefile Tom Shackell **20060227142827] [Removed old cpphs from src tree Tom Shackell **20060227142519] [Pulls cpphs from darcs repo in unix makefile Tom Shackell **20060227141806] [Add cpphs support to the makefile Neil Mitchell **20060227122315] [Fix up conflicts from applying the Batch++ patch Neil Mitchell **20060227120059] [Add Batch++ language and rewrite the makefile Neil Mitchell **20060226190409] [Cpp support using Language.Preprocessor.Cpphs Neil Mitchell **20060224122554] [Bump the copyright year Neil Mitchell **20060226184629] [Remove haddock comments, since they parse error in Haddock Neil Mitchell **20060226141557] [Remove redundant case branch in Core (duplicated) Neil Mitchell **20060224120427] [Make sure you can tell the difference between the 0 and 1 instance tuples Neil Mitchell **20060222025800] [Add support for telling the difference between case on Int and case on Char Neil Mitchell **20060221152040] [Output Core in a form that can be read lazily, if required Neil Mitchell **20060215160839] [Add comment that says Core is untyped, and cannot be easily retyped Neil Mitchell **20060203144209] [Fix up dubious makefile practices Neil Mitchell **20060203135024] [Make the order of the data declarations match the source file in Core Neil Mitchell **20060203121621] [First implementation of .NET compiler, from Krasimir Angelov Neil Mitchell **20060203114750] [compiler.patch kr.angelov@gmail.com**20060201203316] [Core: Sometimes a variable is not an InfoVar, in which case assume its not a Char, rather than crashing Neil Mitchell **20060201163847] [Add Data types to the produced Core files Neil Mitchell **20060201155544] [Fixed some confusing indexes in the bytecode documentation, from Tom Neil Mitchell **20060201153005] [Add bytecode documentation patch, from Tom Neil Mitchell **20060201151352] [Improve description Tom Shackell **20060201145909] [Make Char's appear on the LHS of a case statement if you can tell the type of the case is a Char Neil Mitchell **20060201150010] [Make Core use IntState directly (prepares for future improvements) Neil Mitchell **20060201123016] [cleaned up gyhe code, removed calls to readIORef Mike Dodds **20060123153905] [Added extra calls to readIORef to improve state safety Mike Dodds **20060123120524] [Moved gyhe config file to standard location Mike Dodds **20060123120405] [rearranged gyhe preferences dialog Mike Dodds **20060122125738] [Added color-picking support to gyhe, added clickable text Mike Dodds **20060122120154] [Added unsafe coerce to the primitive Tom Shackell **20060120134456] [typos in help strings ggreif@gmail.com**20060118153642] [added color conversion to / from string Mike Dodds **20060119160357] [Added substructure for clickable links in gyhe Mike Dodds **20060118224300] [Lots of changes, integrated Interact.hs, began to split off stderr etc, added color, many others Mike Dodds **20060118163308] [Rewrite much of the error handling, now have an Error data structure to give better and more standard error messages (helps for Gyhe) Neil Mitchell **20060119145238] [Add new error handling code and style Neil Mitchell **20060117154507] [Remove dependancy on Error.hs, was making things circular Neil Mitchell **20060117153142] [Delete duplicate bits in the prelude, probably an original cut and paste error Neil Mitchell **20060117141913] [If the -redefine flag is specified, paper over warnings - not errors Neil Mitchell **20060117141813] [Added code to print current file compile Tom Shackell **20060117103425] [correct compiler name to yhc in messages ggreif@gmail.com**20060113081321] [Fix so tuples are printed out as Prelude.(,), not Prelude.2, in Core Neil Mitchell **20060109121425] [Add type annotations, to help Haddock Neil Mitchell **20060106173943] [Add Core as one of the directories to document Neil Mitchell **20060106173923] [Change the Core.* files from PC to Unix line endings Neil Mitchell **20060106171817] [Handle more of PosLambda, for the benefit of Guan Neil Mitchell **20060106171548] [Add CoreInteger to the Core language Neil Mitchell **20060106171515] [Add a new mapPosExp method, which is very useful for Core stuff at least Neil Mitchell **20060106171404] [Add an unimplemented error message Neil Mitchell **20060106171304] [Add type annotations, as inferred by Hugs Neil Mitchell **20060106164216] [Give a helpful error message if they forgot to run configure Neil Mitchell **20051219173511] [copy Data.Ratio bytecode file when bootstrapping Malcolm.Wallace@cs.york.ac.uk**20051219113204] [Backup of the wiki Neil Mitchell **20051219141747] [bugfix for importing instances Malcolm.Wallace@cs.york.ac.uk**20051214133123 Copy across a recent bugfix from nhc98. The import of an instance from an interface file was recently discovered to be broken. (An unusual instance definition for was added to the standard hierarchical libraries.) ] [Fix typo, devevn instead of devenv Neil Mitchell **20051213150357] [Initial support for Yhc Core Neil Mitchell **20051212145826] [Backup of Wiki, 09-Dec-2005 Neil Mitchell **20051209191626] [Fix windows Makefile so it builds using the correct flags Neil Mitchell **20051209191208] [Add type support to tbe bytecode, and to documentation and Haskell Neil Mitchell **20051208112327] [New back-end based on the back-end for jhci Mike Dodds **20051207231209] [Fix python.xsl, missing a closing bracket Neil Mitchell **20051207161057] [Output depreciated variables as well, required for GCC label jumps Neil Mitchell **20051207154946] [Change from 09 to 9, since C thinks octal Neil Mitchell **20051207154855] [bashism elimination for Solaris ggreif@gmail.com**20051207151609 I guess is a bash extension. This patch makes the makefiles compatible with Solaris sh, without sacrificing functionality. Cheers, Gabor ] [Fixed bytecode.h to include deprecated instructions Tom Shackell **20051207154221] [New bytecodes.h generated from the xml Tom Shackell **20051207135516] [Added warning text, adding value in macro Neil Mitchell **20051207134934] [Intial version of XSL style sheets Neil Mitchell **20051207130711] [Load gyhe icon from an XPM rather than a PNG Mike Dodds **20051206150053] [Updated configure to (hopefully) support other version of libgmp Tom Shackell **20051207100923] [Initial version of bytecode description Neil Mitchell **20051206143005] [Fixed bug in Makefile.bat Mike Dodds **20051206135211] [Catch compilation / execution failure, shift to using yhc Mike Dodds **20051206134648] [Fixed gui bugs Mike Dodds **20051206134531] [Autodetect the location of Visual Studio Neil Mitchell **20051206112836] [Check for Visual Studio 2005 Neil Mitchell **20051206111311] [Fixes the make clean issue in the yhc-base Makefile Tom Shackell **20051206101642] [add stupidest possible thread support Mike Dodds **20051206011619] [fix minor bug, clean-up Mike Dodds **20051206010205] [Added a makefile for the gui and cmdline tool Mike Dodds **20051206004855] [added support for auto-resizing of bottom box Mike Dodds **20051205150109] [added resizing on multi-line input, saved multi-line status between sessions Mike Dodds **20051204000410] [Fixed Data.Ratio issue in Prelude makefile Tom Shackell **20051205153323] [Add documentation for Util.MergeSort Neil Mitchell **20051205151705] [Remove Tree234, no longer needed Neil Mitchell **20051205151643] [Fixed haskell98 makefile Tom Shackell **20051205150048] [fixed 'make clean' Mike Dodds **20051205145743] [Fixed unitialized primitive module Tom Shackell **20051205121300] [Add expected.stdout for infix/derived test Neil Mitchell **20051128234019] [Remove uneeded imports from the compiler Neil Mitchell **20051202122214] [Don't initialise makefile variables twice, no need Neil Mitchell **20051204123217] [Initial version of makefile lib for Windows Neil Mitchell **20051129175514] [Fix the help message so its always right, but less informative Neil Mitchell **20051129170800] [Change to make it easier to add modes and options Neil Mitchell **20051129170635] [Add fix for GHC 6.4.1 bug Neil Mitchell **20051128234104] [reorganised gui, added single-line mode, fixed various bugs Mike Dodds **20051203173352] [Move towards using a proper Set, intead of the fake one Neil Mitchell **20051128181352] [Remove Util.Memo Neil Mitchell **20051128180154] [Make all references in terms of Set.Set instead of Memo Neil Mitchell **20051128180009] [Move from Memo to Data.Set, remove some methods Neil Mitchell **20051128175427] [Move from Tree234 to Data.Set Neil Mitchell **20051128174554] [remove lookupM from Memo, was only ever used wrongly :) Neil Mitchell **20051128174234] [Remove unneeded import Prelude Neil Mitchell **20051128173518] [Start to remove Tree234 Neil Mitchell **20051128162235] [refactored various bits, recorded window position Mike Dodds **20051201152938] [minor gui changes, fixed size-recording code Mike Dodds **20051201003621] [sourceview now optional, improved config dialog, broken support for recording resize Mike Dodds **20051130233700] [Fix uninitialised variables Neil Mitchell **20051129151032] [Add a web target, to build the website etc. Neil Mitchell **20051129144314] [Move from DOS to UNIX, add the devel darcs repo Neil Mitchell **20051129144131] [Rewrite of the Windows makefile, more features and better Neil Mitchell **20051129143225] [Fix haddock parse errors Neil Mitchell **20051129143142] [Initial version of the WinYhe logo Neil Mitchell **20051129143050] [Add a prefix for the haddock documentation Neil Mitchell **20051129143014] [Backup of the wiki Neil Mitchell **20051129142837] [Update to the new version of the website Neil Mitchell **20051129142621] [Move from insertWith const to insert Neil Mitchell **20051128131843] [Remove sndOf, replace with const Neil Mitchell **20051128131554] [Move towards Map.singleton instead of insertWith, where appropriate Neil Mitchell **20051128131225] [Use insert instead of insertWith const Neil Mitchell **20051128120801] [Remove Util.AssocTree from the Repo Neil Mitchell **20051128120314] [Remove Tree export from AssocTree Neil Mitchell **20051128115747] [Remove addAT, move to Map.insertWith Neil Mitchell **20051128115022] [Remove reorderAT, was unused Neil Mitchell **20051128112431] [Remove updateAT, move to using Map.update Neil Mitchell **20051125155618] [Added command history, fixed bugs Mike Dodds **20051128004540] [added syntax highlighting, refactored code Mike Dodds **20051126233333] [reorganised gui, fixed more bugs Mike Dodds **20051126132635] [numerous changes and bug fixes for Yhe Mike Dodds **20051125232720] [Fixed crash when GUI icon was absent Mike Dodds **20051125105337] [Fixed numerous small bugs Mike Dodds **20051124152726] [Added Numeric.hi and Numeric.hbc to the bootstrap code Tom Shackell **20051124151305] [Added fixed Prelude.hbc to bootstrap Tom Shackell **20051124145425] [Fixed infix/derived test Tom Shackell **20051124145245] [Fix for Float32 Tom Shackell **20051124140958] [Fixed missing references to Data.Ratio.* Tom Shackell **20051124134935] [Fixed some AM64 issues (integer.c/integer.h) Tom Shackell **20051124123931] [TAG Stable 1 Tom Shackell **20051123104200] Patch bundle hash: 5d74aeb1317efbf8dfccfbcd6aa5ffca2f7eaa49