1. 24 Jul, 2010 1 commit
  2. 05 Jul, 2010 1 commit
  3. 25 Jun, 2010 1 commit
  4. 13 Jun, 2010 1 commit
  5. 02 Jun, 2010 2 commits
  6. 25 May, 2010 1 commit
  7. 05 May, 2010 1 commit
  8. 03 Dec, 2009 1 commit
  9. 18 Sep, 2009 1 commit
  10. 17 Aug, 2009 1 commit
  11. 12 May, 2009 1 commit
  12. 08 Sep, 2009 1 commit
    • Simon Marlow's avatar
      Add -package-id, improve package shadowing behaviour and error messages · 03bb97e0
      Simon Marlow authored
      A few changes bundled together here:
      
       - Add -package-id flag, like -package but takes an
         InstalledPackageId as an argument (mainly for Cabal)
         (docs to follow)
      
       - Fix the shadowing behaviour: if we end up with
         two packages with the same name/version that came from
         different package databases, then one will shadow the
         other.  This may mean we have to disable other packages
         that depended on the now-shadowed package.  Lots of
         refactoring to ensure that we can get reasonable diagnostics when
         this happens
      
      <command line>: cannot satisfy -package shadowdep: 
          shadowdep-1-XXX is unusable due to missing or recursive dependencies:
            shadow-1-XXX
          (use -v for more information)
      03bb97e0
  13. 02 Aug, 2009 1 commit
  14. 23 Jul, 2009 1 commit
  15. 06 Jul, 2009 1 commit
  16. 01 Jul, 2009 2 commits
  17. 23 Jun, 2009 1 commit
    • Simon Marlow's avatar
      Fix buffering problem when GHCi is using the new IO library · f540ac1c
      Simon Marlow authored
      Behind the scenes, the new IO library always does buffering for read
      Handles regardless of NoBuffering.  Normally this isn't visible, but
      it causes a problem in GHCi where there are two stdin Handles.
      
      This should fix those ghci test failures that sprung up in full
      testsuite runs recently.
      f540ac1c
  18. 29 May, 2009 1 commit
  19. 28 May, 2009 1 commit
  20. 23 May, 2009 1 commit
  21. 06 May, 2009 1 commit
  22. 29 Apr, 2009 1 commit
  23. 21 Apr, 2009 1 commit
    • Simon Marlow's avatar
      FIX #2682: banish silly cases of the "module Foo is not loaded" error · ef03a76a
      Simon Marlow authored
      In GHCi if you say 'import Foo' meaning to load a package module Foo,
      and Foo.hs is found on the search path, then GHCi replies "module Foo
      is not loaded", because it knows Foo refers to the source file rather
      than the package module, and you haven't loaded that module with
      :load.
      
      This is consistent with the usual module-finding semantics.  However,
      it isn't particularly useful.  And it leads to silly problems like not
      being able to start GHCi when you happen to be sitting in
      libraries/base, because GHCi thinks the Prelude hasn't been loaded.
      
      So now I've made a slight change to the way that 'import M' works: if
      M is loaded, then it refers to the loaded module, otherwise it looks
      for a package module M.  This does what the reporter of #2682 wanted,
      and since it turns an error condition into meaningful behaviour it
      can't break anything.  
      
      The only undesirable consequence is that 'import M' might refer to a
      different M than ':load M'.  Hopefully that won't lead to confusion.
      ef03a76a
  24. 11 Mar, 2009 1 commit
  25. 22 Feb, 2009 2 commits
  26. 30 Jan, 2009 1 commit
  27. 27 Jan, 2009 1 commit
  28. 04 Jan, 2009 1 commit
  29. 09 Dec, 2008 1 commit
  30. 26 Nov, 2008 1 commit
  31. 22 Nov, 2008 1 commit
  32. 14 Nov, 2008 1 commit
  33. 07 Nov, 2008 1 commit
  34. 04 Nov, 2008 1 commit
  35. 31 Oct, 2008 1 commit
  36. 20 Oct, 2008 1 commit
  37. 16 Oct, 2008 1 commit