Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on Dec 4, 2009
  1. * socket/rudel-socket.el (rudel-socket-listener): new class;

    authored
      implements `rudel-listener'
      (rudel-tcp-backend::rudel-wait-for-connections): removed argument
      dispatch-callback; added argument info-callback; ensure info
      contains required properties; create a listener socket and pass it
      to a new listener object
    * rudel.el (rudel-host-session): added argument info; generate empty
      info list in interactive form; create a listener object and pass it
      to the protocol backend
    * rudel-transport.el (rudel-listener): new abstract class; generic
      functionality for accepting incoming connections
      (rudel-transport-backend::rudel-wait-for-connections): removed
      argument dispatch-callback; added argument info-callback; updated
      documentation string
    * rudel-protocol.el (rudel-protocol-backend::rudel-ask-connect-info):
      added optional argument info; updated documentation string
      (rudel-protocol-backend::rudel-ask-host-info): added optional
      argument info; updated documentation string
    * obby/rudel-obby.el (rudel-obby-backend::rudel-ask-host-info): added
      optional argument info
      (rudel-obby-backend::rudel-host): renamed
      argument`transport-backend' -> `listener'; do not install dispatch
      function; the server does this itself
    * obby/rudel-obby-server.el (require rudel-obby): required to silence
      the byte-compiler
      (rudel-obby-server::listener): new slot; stores listener object of
      the server
      (rudel-obby-server::initialize-instance): install `rudel-add-client'
      into the listener as dispatch function
Commits on Dec 3, 2009
  1. * rudel.el (rudel-host-session): determine a transport and a protocol

    authored
      backend; ask the protocol backend to create the session 
    * rudel-util.el (rudel-socket-owner):
      (rudel-filter-dispatch):
      (rudel-sentinel-dispatch): removed; made obsolete by transports
    * rudel-protocol.el (rudel-protocol-backend::rudel-host): added
      backend argument, which is the transport backend; updated
      documentation string
    * rudel-debug.el (rudel-state-machine::rudel-state-change): attached
      method to `rudel-state-machine' instead of `rudel-socket-owner'
      (rudel-debug-stream-name): determine the name from a transport
      object instead of a socket
    * obby/rudel-obby.el (require rudel-transport): required for
      transports
      (rudel-obby-backend::rudel-connect): use a transport object instead
      of a socket
      (rudel-obby-backend::rudel-ask-host-info): added :address property
      (rudel-obby-backend::rudel-host): added transport-backend argument;
      do not create a socket but call the
      `rudel-wait-for-connections' method of the transport backend
      (rudel-obby-send): removed; made obsolete by transports
      (rudel-obby-generate-message): new function; used in parsing
      transport filters to serialize obby messages
    * obby/rudel-obby-util.el (require rudel-transport-util): new; for
      `rudel-transport-make-filter-stack'
      (rudel-obby-socket-owner): removed; made obsolete by transports
    * obby/rudel-obby-server.el (header): bumped version to 0.3
      (rudel-obby-client): removed base class `rudel-obby-socket-owner'
      (rudel-obby-client::transport): new slot; stores transport object
      (rudel-obby-client::initialize-instance): build a transport filter
      stack and install `rudel-accept' as filter
      (rudel-obby-client::rudel-message): removed; `rudel-accept' is
      called by the transport
      (rudel-obby-client::rudel-send): new; send data through transport
      (rudel-obby-server): removed base class `rudel-socket-owner'
      (rudel-obby-server::rudel-add-client): expect a transport object
      instead of a socket
    * obby/rudel-obby-debug.el (header): cosmetic changes
      (require rudel-obby-client): new; required since all methods are now
      attached to the `rudel-obby-connection' class
      (rudel-obby-connection::rudel-send): now attached to the
      `rudel-obby-connection' class
      (rudel-obby-connection::rudel-accept): renamed `rudel-receive' ->
      `rudel-accept'; now attached to the `rudel-obby-connection' class
      (rudel-obby-socket-owner::rudel-message): removed; obsolete
      (rudel-obby-connection::rudel-switch): now attached to the
      `rudel-obby-connection' class
    * obby/rudel-obby-client.el (header): bumped version to 0.3
      (rudel-obby-client-state-encryption-start::rudel-obby/net6_encryption_begin):
      call transport method to enable encryption
      (rudel-obby-connection): removed base class `rudel-socket-owner'
      (rudel-obby-connection::transport): new slot; stores transport
      object
      (rudel-obby-connection::initialize-instance): build a transport
      filter stack and install `rudel-accept' as filter
      (rudel-obby-connection::rudel-send): new; send data through the
      transport
      (rudel-obby-connection::rudel-message): removed; obsolete
Commits on Dec 2, 2009
  1. * rudel.el (rudel-join-session): do not call `rudel-ask-connect-info'

    authored
      as this is done by the protocol backend when needed
    * rudel-protocol.el (generic rudel-connect): added arguments
      info-callback and progress-callback; updated documentation string
    * obby/rudel-obby.el (rudel-obby-backend::rudel-connect): added
      arguments info-callback and progress-callback; removed progress
      reporter, since callback is used instead; in case of recoverable
      errors, do not signal but try again
    * obby/rudel-obby-client.el
      (rudel-obby-client-state-encryption-start::rudel-obby/net6_encryption_begin):
      (rudel-obby-client-state-encryption-start::rudel-obby/net6_encryption_failed):
      new successor state is waiting-for-join-info
      (rudel-obby-client-state-waiting-for-join-info): new class; state
      entered when waiting for join info
      (rudel-obby-client-state-joining::rudel-enter): new argument info;
      do not retrieve info from connection object
      (rudel-obby-client-connection-states): added waiting-for-join-info
Commits on Dec 1, 2009
  1. added initial support for the transport abstraction to affected

    authored
    components
    * obby/rudel-obby-client (require rudel-tls): required for STARTTLS
      encryption
    * obby/rudel-obby.el (header): added version 0.3 to history section
      (rudel-obby-backend::rudel-ask-connect-info): return info list
      containing entries for transport and protocol backend
      (rudel-obby-backend::rudel-connect): added transport argument; use
      transport object instead of creating a socket
      (zeroconf service registration): register transport and protocol
      backend
    * rudel-protocol.el (header): history section fix
      (rudel-protocol-backend::rudel-ask-connect-info): renamed
      `rudel-ask-join-info' -> `rudel-ask-connect-info'
      (rudel-protocol-backend::rudel-connect): renamed `rudel-join ->
      `rudel-connect; added argument transport; updated documentation
      string
    * rudel.el (header): added version 0.2 to history section
      (rudel-join-session): obtain transport and protocol backends from
      info; create a transport object; return created session object
    * zeroconf/rudel-zeroconf.el (header): downcased keywords; updated
      commentary section; added version 0.2 to history
      (rudel-zeroconf-version): bumped to 0.2
      (rudel-zeroconf-service-types): updated documentation string
      (rudel-zeroconf-service-backend): removed
      (rudel-zeroconf-transport-backend): new; accessor for transport
      backend
      (rudel-zeroconf-protocol-backend): new; accessor for protocol
      backend
      (rudel-zeroconf-register-service): accept a transport and a protocol
      backend argument; update documentation string
      (initialize-instance): remove &rest from argument slots
      (rudel-advertise): handle transport and protocol backend
      (rudel-zeroconf-services): updated to work with new service
      representation
      (rudel-zeroconf-services-present-p): updated to work with new
      service representation
      (rudel-zeroconf-publish): accept a transport and a protocol backend
      argument
      (rudel-zeroconf-service->plist): handle transport and protocol
      backends
Commits on Aug 2, 2009
  1. * rudel-protocol.el (new file): interface for Rudel protocol backends

    jan authored
    * Project.ede (target rudel): added rudel-protocol.el
    * Makefile (rudel_LISP): added rudel-protocol.el
Something went wrong with that request. Please try again.