Permalink
Commits on Jun 23, 2009
  1. Flush stdout before starting to listen on a port.

    Not flushing caused the client never to receive the port number.
    committed Jun 23, 2009
  2. Merge branch 'master' into multi_proto_server

    Merged the TCP port scanning from my master branch into the Main module.
    Also merged the somewhat updated README.markdown file.
    
    Conflicts:
    	server/Main.hs
    	server/scion-server.cabal
    committed Jun 23, 2009
  3. Recognise paths with leading "./" as part of the project.

    This code is very fragile; a more robust solution would be nice.
    nominolo committed Jun 23, 2009
Commits on Jun 22, 2009
  1. Use JSON as the external format.

    Finding a suitable abstraction that works for a variety of protocols
    is difficult.  Maintaining several protocols also probably isn't worth
    the effort.  By using a single protocol we also keep the front-ends
    completely independent of the server.  (Otherwise some front-ends may
    end up broken with various versions of the server because some
    protocol-specific patch didn't make it into the release.)
    
    JSON is a simple and very widely supported protocol.  It doesn't fit
    too well with Haskell's or Emacs' type system (e.g., ambiguous
    encodings) but at least this Hydra has only one head.
    
    ATM, the Emacs front-end is mostly broken because the commands are
    often not encoded correctly, but the server itself should be fine.
    nominolo committed Jun 22, 2009
Commits on Jun 12, 2009
  1. added handling of command line options;

    added an option to set the TCP port to listen on;
    in absence of this option, made the server automatically determine a free port (using linear search)
    committed Jun 12, 2009
Commits on Jun 4, 2009
  1. ignored dist directories

    committed Jun 4, 2009
Commits on Jun 2, 2009
  1. updated the readme to match the new build system

    Thomas ten Cate committed Jun 2, 2009
Commits on May 26, 2009
  1. Use lazy Bytestrings in ConnectionIO so we have efficient append.

    This is needed to efficiently implement getLine on top of the
    chunk-based socket.  Possibly network-bytestring should implement
    this, so we don't have two levels of buffer management.
    nominolo committed May 26, 2009
Commits on May 25, 2009
  1. Work around weird hslogger bug.

    Apparently hslogger doesn't like the output of __FILE__ as a logger
    name.
    nominolo committed May 25, 2009
  2. Make gets confused by wildcards that don't match anything.

    In particular, server/Scion/*.hs matches nothing, so make tries to
    find a rule for it.  Fixed by being more specific in the dependencies.
    nominolo committed May 25, 2009
  3. Added vim module completion.

    MarcWeber committed with nominolo Jan 28, 2009
  4. Added experimental cmdThingAtPointMoreInfo.

    To returns info about the module exporting the thing in a hacky way.
    MarcWeber committed with nominolo Jan 27, 2009
  5. Small vim test project

    MarcWeber committed with nominolo Jan 22, 2009
  6. added short vim howto

    MarcWeber committed with nominolo Jan 22, 2009
  7. Vim implementation update.

    LoadComponent, BackgroundTypecheckFile, ThingAtPoint all seem to work fine.
    MarcWeber committed with nominolo Jan 22, 2009
  8. Fix build of server.

    nominolo committed May 25, 2009
  9. Start multi-protocol server.

    MarcWeber committed with nominolo Jan 7, 2009
Commits on May 24, 2009
  1. Fix build.

    nominolo committed May 24, 2009
Commits on May 23, 2009
Commits on Apr 29, 2009
Commits on Apr 20, 2009