Permalink
Commits on Aug 25, 2009
Commits on Aug 20, 2009
  1. Added "New Build Target" wizard.

    ttencate committed Aug 20, 2009
    The new build target does not yet show up until the tree is refreshed, though.
Commits on Aug 8, 2009
  1. Added a Build Targets node under the project in the Project Explorer.

    ttencate committed Aug 8, 2009
    The idea is that build targets can be added, removed, configured and run from here.
  2. Labeled all my own TODOs with TtC for future reference.

    ttencate committed Aug 8, 2009
    Implemented some small things for Windows (untested).
Commits on Aug 1, 2009
  1. Writing the new HaskellProject structure to the .hsproject XML file.

    ttencate committed Aug 1, 2009
    Two unit tests fail, but this is expected behaviour.
  2. Refactored HaskellProject in preparation of storing more info in the …

    ttencate committed Aug 1, 2009
    …Cabal file, if present.
    
    A separate interface, IHaskellProjectInfo, can now be implemented in two ways:
    as a simple thing that stores the info in the .hsproject file (current implementation),
    or as a more fancy thing that updates the Cabal file with the new information (to be implemented).
  3. Scion command jobs are no longer cancelled.

    ttencate committed Aug 1, 2009
    Whoops! Who put that negation there?
Commits on Jul 30, 2009
  1. Removed unnecessary classes.

    ttencate committed Jul 30, 2009
    They also gave deprecation warnings.
    The code compiles with only 9 warnings now,
    all about unused private methods. Those might become useful again
    once all previously Cohatoe-based stuff is reinstated.
  2. Reworked preferences stuff to use the new API.

    ttencate committed Jul 30, 2009
    The use of the old API resulted in many compilation warnings
    that distracted from the real problems.
Commits on Jul 29, 2009
Commits on Jul 27, 2009
  1. Updated unit tests to succeed again. Added master test suite.

    ttencate committed Jul 27, 2009
    Updated EasyMock to give us the resetToDefault() function.
    Made some changes to GhcCompiler for the benefit of the unit tests.
Commits on Jul 25, 2009
  1. Deleted unnecessary empty projects.

    ttencate committed Jul 25, 2009
    These were used for Cohatoe code, but are now no longer needed.
  2. Added possibility to create project from existing source.

    ttencate committed Jul 25, 2009
    Just like in JDT, there's now a field in the New Project wizard where
    a directory for the new project can be set. If this directory exists,
    its contents are imported into the new project.
    
    In fact, the new project is just created in the specified location
    without regard for what's already there. More advanced importing
    (e.g. detection of Cabal file, detection of source directories)
    remains to be done.
    
    The UI additions required some changes to the creation wizards,
    leading to an overhaul of the Cabal import wizard as well.
    
    In particular, there is now a common structure for wizard validators.
    This is not as clean as I would like it to be, yet.
Commits on Jul 21, 2009
  1. Checking job for cancellation before running.

    Thomas ten Cate committed Jul 21, 2009
  2. Removed exception that was thrown only for testing...

    Thomas ten Cate committed Jul 21, 2009
Commits on Jul 19, 2009
  1. Improved error message.

    Thomas ten Cate committed Jul 19, 2009
  2. Improved robustness and error handling.

    Thomas ten Cate committed Jul 19, 2009
    The Scion server will now automatically be restarted when it crashes,
    restoring the state it was previously in.
    
    If the server cannot be started, a helpful error message is shown
    that can forward the user to the Scion preferences page
    in order to configure the server executable's location.
Commits on Jul 18, 2009
  1. Refactorings of the Scion client code.

    Thomas ten Cate committed Jul 18, 2009
    Now uses the Eclipse job scheduler to run commands.
    This is a lot cleaner than using our own command queue;
    moreover, it gives us more flexibility such as job priorities and cancellation.
    
    Also, made parts of ...scion.client internal for
    a cleaner separation of interface and implementation.
Commits on Jul 13, 2009
  1. Fixed bug causing useless hovers to appear.

    Thomas ten Cate committed Jul 13, 2009
    Had to filter the annotations by type.
Commits on Jun 30, 2009
  1. Fixed bug in the GHC output parser.

    ttencate committed Jun 30, 2009
    Also showing the full message (with additional info) in annotations and markers.
  2. Improved the way GHC output is processed.

    ttencate committed Jun 30, 2009
    Objective: to get the GHC output in the Eclipse Console back.
    Reinstated the ProcessRunner and ProcessFactory, but modified them a little.
    Refactored parts of the stream processing code, though most is still similar to the old.
    Moved the process runner stuff from ghccompiler to core, where it fits in better.
    Should also port the QueryUtil to use these classes.
Commits on Jun 29, 2009
  1. Made hovers over squiggly error/warning text show the error/warning.

    ttencate committed Jun 29, 2009
    Previously, this would just do the thing-at-point lookup,
    whereas hovering over the icon in the gutter would give the error/warning message.
  2. Added problem decorators in the Project Explorer.

    ttencate committed Jun 29, 2009
    Files with compilation errors and warnings are now decorated with a little icon.
    The icons were borrowed from the JDT.
  3. Better exception handling in places.

    ttencate committed Jun 29, 2009
    Previously, exceptions were ignored in these places. Now they are at least logged.
  4. Improved GHC output parsing.

    ttencate committed Jun 29, 2009
    Parsing is now done on a stream, and results are applied as they come in.
    This means that the user does not have to wait for the full compilation
    to complete before seeing error markers and such.
Commits on Jun 27, 2009
  1. Reimplemented GHC output parsing in Java.

    ttencate committed Jun 27, 2009
    This was previously done by Haskell code, invoked through Cohatoe.
    Known bug: markers from dependencies of the compiled file aren't cleared.
  2. Configured code formatting settings per project.

    ttencate committed Jun 27, 2009
    Will ensure less version control breakage in the future.
Commits on Jun 26, 2009
  1. Implemented the new JSON protocol.

    ttencate committed Jun 25, 2009
    Settled on the reference JSON implementation for Java (instead of json-simple) because it is a little bit cleaner.
    Also experimenting with compilation error markers, but this is done from the wrong place, so they tend to disappear again.
Commits on Jun 22, 2009
  1. Added JSON Simple library.

    ttencate committed Jun 22, 2009