Commits on Nov 9, 2009
  1. @toolmantim
  2. @freshtonic @toolmantim

    Teach bananajour some basic housekeeping skills.

    Make sure child processes (Sinatra & git-daemons) are killed on exit.
    freshtonic committed with toolmantim Nov 8, 2009
  3. @freshtonic @toolmantim

    Another attempt to beat DNSSD::UnknownError

    I refactored browser.rb so that all of DNSSD methods are executed
    synchronously within one thread for browser.rb.  This makes it much
    easier to catch errors because I don't need to worry what thread the
    errors are occurring on - there can just be one handler within the browser
    freshtonic committed with toolmantim Nov 4, 2009
Commits on Oct 20, 2009
  1. Allow override of hostname in git config: closes #15

    Jason King committed Oct 20, 2009
Commits on Oct 17, 2009
  1. @toolmantim

    Release 2.2.2 gem

    toolmantim committed Oct 17, 2009
  2. @andrewsardone @toolmantim

    Quick 'n ditry tweak to display commit messages on multiple lines

    It's customary to have Git commit messages consist of a short, one-line
    description (acting as the summary) of the change on the first line with
    any further descriptions handled in paragraphs below. For a further
    discussion on this point, see
    Within the commit view, rendering @commit.message appeared to strip the
    newlines provided by Grit::Commit#message, so I figured splitting the
    message string on the newline character and iterating over the array,
    inserting a <br/> element, would do the trick.
    andrewsardone committed with toolmantim Oct 16, 2009
Commits on Oct 15, 2009
  1. @toolmantim
  2. @toolmantim
  3. @toolmantim

    [DEV] Bump gem to v2.2.1

    toolmantim committed Oct 15, 2009
  4. @toolmantim
  5. @toolmantim
Commits on Oct 14, 2009
  1. @toolmantim

    [DEV] Sinatra 0.9.4

    toolmantim committed Oct 14, 2009
  2. @toolmantim
  3. @toolmantim

    ".local" no longer appended to FQDN

    Jason King committed with toolmantim Oct 14, 2009
  4. @toolmantim

    Version 2.2

    toolmantim committed Oct 14, 2009
  5. @toolmantim
  6. @toolmantim
  7. @freshtonic @toolmantim

    Upgraded dnssd gem version to 1.3.1

    This is the release that contains my fix for escaping.
    freshtonic committed with toolmantim Oct 14, 2009
  8. @freshtonic @toolmantim
  9. @freshtonic @toolmantim

    Rescue from DNSSD::UnknownErorr

    I only see these errors in Ubuntu, and am making the assumption that
    they are fairly harmless.  They need to be caught due to using
    Thread.abort_on_exception = true, and I don't want the app to die.
    freshtonic committed with toolmantim Oct 13, 2009
  10. @freshtonic @toolmantim

    Append .local to the hostname if it's not already.

    On Linux (at least on Ubuntu versions Karmic & Jaunty), the hostname of
    the other bananajours cannot be resolved because the name resolution
    doesn't search .local (MDNS).  I've tried a number of incantations to
    Avahi configuration, /etc/resolv.conf and /etc/nsswitch.conf to get this
    to happen but without success.
    So, in order to get this to happen, we need to make sure all of the
    published URIs use $hostname.local.
    Also, all Bananajours will need to be updated, as this fix is on the
    publishing side, not on the consumer side.
    freshtonic committed with toolmantim Oct 11, 2009
  11. @freshtonic @toolmantim

    Check that the service has stopped before trying to stop it.

    Looks like something that changed in dnssd between 0.7.1 and 1.3.
    This is not an issue when Avahi-backed, only seems to happen on OS X. I
    suspect it's a timing-related issue due to the use of multiple threads.
    freshtonic committed with toolmantim Oct 10, 2009
  12. @freshtonic @toolmantim
  13. @freshtonic @toolmantim

    Instantiate Browser with modified service syntax.

    This was the only way I could see replies to resolve in Linux.
    And it seems to make no difference on OS X.
    freshtonic committed with toolmantim Oct 10, 2009
  14. @freshtonic @toolmantim

    Upgrade dnssd to 1.3

    freshtonic committed with toolmantim Oct 10, 2009
  15. @freshtonic @toolmantim

    Fixed thread synchronization in browser.rb

    The mutex was only acquired for _writes_ to replies Array.  It is also
    now acquired in the reading thread, and the value that is returned is a
    copy of the Array, not the array itself.
    freshtonic committed with toolmantim Oct 10, 2009
Commits on Aug 9, 2009
  1. @toolmantim
  2. @tswicegood @toolmantim

    Fix commit diff view for initial commits.

    This always assumed that there was a diff available without checking
    to make sure.  This change checks to ensure that a real diff is
    possible, and if not, just takes every line from the b_blob and
    marks it as an addition.
    Thanks to Nate Haas (natehaas) for help with this patch.
    Signed-off-by: Tim Lucas <>
    tswicegood committed with toolmantim Aug 7, 2009
Commits on Aug 7, 2009
  1. @toolmantim
Commits on Aug 6, 2009
  1. @toolmantim
Commits on Aug 5, 2009
  1. @toolmantim
Commits on Jun 28, 2009
  1. @toolmantim
Commits on Jun 23, 2009
  1. @toolmantim
Commits on Jun 14, 2009
  1. @chrislloyd

    Don't show the more (+) if there isn't multiple commits.

    Use cases: when somebody does `bananajour init` but doesn't push to Banana Master. Also, if the project only has one commit, then there isn't any more to show.
    chrislloyd committed Jun 14, 2009
Commits on Jun 12, 2009
  1. @toolmantim

    Release version 2.1.5

    toolmantim committed Jun 12, 2009