Permalink
Commits on Mar 30, 2009
  1. Version bump to 1.1.0

    committed Mar 30, 2009
  2. update history for 1.1.0 release

    committed Mar 30, 2009
  3. match version file to history

    committed Mar 30, 2009
Commits on Mar 4, 2009
Commits on Mar 1, 2009
  1. update history

    committed Mar 1, 2009
  2. update history

    committed Mar 1, 2009
  3. update history

    committed Mar 1, 2009
  4. update history

    committed Mar 1, 2009
  5. update history

    committed Mar 1, 2009
Commits on Feb 28, 2009
  1. convert readme to markdown

    committed Feb 28, 2009
Commits on Feb 17, 2009
  1. @Voker57
  2. @Voker57
  3. @Voker57

    Fixed gem builing

    Voker57 committed Feb 17, 2009
Commits on Feb 14, 2009
  1. @js
  2. @js
  3. @js
  4. @js

    Rename the GitRuby Mmap class to FileWindow, since it's not really mm…

    …ap'ed at
    
    all (except for any OS level caching)
    js committed Feb 13, 2009
  5. @js

    Add a #basename method to Submodule, Blob and Tree for retrieving the…

    … name
    
    without the path
    js committed Feb 13, 2009
  6. @js
  7. @js

    Added Repo#commit_deltas_from as a (fairly expensive and lazy) way of…

    … getting
    
    the commits that differ between two different repositories
    js committed Feb 13, 2009
  8. @js
  9. @js

    set an even lower timeout in the test_raises_on_slow_shell test, to m…

    …ake it
    
    pass on machines faster than an Atari
    js committed Feb 6, 2009
  10. @js
  11. @chapados @js
  12. @chapados @js

    Use [<string>] instead of <string>.to_a to create an array from a string

    String#to_a is not defined in Ruby 1.9
    chapados committed with js Feb 5, 2009
  13. @chapados @js

    Define String#getord(offset) for accessing a single byte at a String …

    …offset
    
    Strings have changed significantly in Ruby 1.9.  The main issues related
    to Grit are encodings, and the [] method.  The GitRuby implementation
    currently uses code such as "buf[offset]" to access a byte (1 uint8_t byte in C)
    of data. It would be nice to just use String#getbyte(offset), but this method is not
    sensitive to the string encoding.  The default encoding for Ruby strings
    is UTF-8, and I can't figure out how to make sure that all of the encodings
    are correct such that String#getbyte will return the right value.
    
    In Ruby 1.8, String[offset] returns the integer code of the character at offset.
    In Ruby 1.9, String[offset] returns the actual character at offset. To get the integer
    value, we need to call String#ord, which returns the int code of the first char.
    Thus, to get Ruby 1.8 behavior in Ruby 1.9, we would need to call String[offset].ord.
    My solution for now is just to define a getord(offset) method in a version dependent
    manner, and use this in place of String[offset].  It's somewhat hackish, but
    I can't think of a better solution right now.
    chapados committed with js Feb 5, 2009
  14. @chapados @js
  15. @defunkt

    Make ls_tree ignore nils

    defunkt committed Feb 14, 2009