Permalink
Commits on Aug 27, 2009
Commits on Aug 25, 2009
  1. Labeled all my own TODOs with TtC for future reference.

    Implemented some small things for Windows (untested).
    committed Aug 8, 2009
Commits on Aug 1, 2009
  1. Scion command jobs are no longer cancelled.

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

    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.
    committed Jul 30, 2009
  2. Reworked preferences stuff to use the new API.

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

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

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

    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.
    committed Jul 25, 2009
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.

    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.
    Thomas ten Cate committed Jul 19, 2009
Commits on Jul 18, 2009
  1. Refactorings of the Scion client code.

    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.
    Thomas ten Cate committed Jul 18, 2009
Commits on Jul 13, 2009
  1. Fixed bug causing useless hovers to appear.

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

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

    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.
    committed Jun 30, 2009
Commits on Jun 29, 2009
  1. Made hovers over squiggly error/warning text show the error/warning.

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

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

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

    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.
    committed Jun 29, 2009
Commits on Jun 27, 2009
  1. Reimplemented GHC output parsing in Java.

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

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

    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.
    committed Jun 25, 2009
Commits on Jun 22, 2009
  1. Added JSON Simple library.

    committed Jun 22, 2009
  2. Revert "Replaced tabbed Editor preference page by sub-pages."

    These changes were incomplete, and parked in the "preferences" branch for future work.
    
    This reverts commit 47f0f27.
    committed Jun 22, 2009
Commits on Jun 20, 2009
  1. Replaced tabbed Editor preference page by sub-pages.

    Ignore-this: d7b2b63bdd95e09a6e91087aa518a617
    
    darcs-hash:20090620082848-04e1b-03b702cd0d7b397e48496d0db634e9991ce740c7.gz
    committed Jun 20, 2009
Commits on Jun 19, 2009
  1. Various small UI fixes.

    Ignore-this: eecb88270a17a3b9d425827d7ed7ba2f
    
    darcs-hash:20090619185717-04e1b-d06c27c96ce00c3dae47db7514c5a61cc728615e.gz
    committed Jun 19, 2009
  2. Upgrades to various icons and graphics to make them blend in better.

    Ignore-this: 15aac23d659417452751170f88cfa52
    
    darcs-hash:20090619185329-04e1b-3d6c5482af615f3c29f0d789cf74bf3bf4379857.gz
    committed Jun 19, 2009