Permalink
Commits on Dec 7, 2010
  1. Update include paths

    vmg committed Dec 7, 2010
    libgit2 is now placed at <git2.h>
    
    Signed-off-by: Vicent Marti <tanoku@gmail.com>
Commits on Dec 6, 2010
  1. Fix compatibility with Rubinius/REE

    vmg committed Dec 6, 2010
    The rb_ary_length() function is not implemented outside of the MRI.
    
    Signed-off-by: Vicent Marti <tanoku@gmail.com>
Commits on Dec 5, 2010
  1. Refactor initialization of Rugged::RawObject

    vmg committed Dec 5, 2010
    All the Rugged code with git_rawobj calls uses the same initializator,
    	rugged_rawobject_new().
    
    Signed-off-by: Vicent Marti <tanoku@gmail.com>
  2. Fix memory management in Rugged (the lib is now GC-aware)

    vmg committed Dec 5, 2010
    Technically, a few memory leaks have been fixed. In practice, Rugged
    wasn't freeing a single byte of memory from libgit2: now it is fully
    GC-aware.
    
    Signed-off-by: Vicent Marti <tanoku@gmail.com>
Commits on Dec 4, 2010
  1. Wrap the git_odb_backend structure

    vmg committed Dec 4, 2010
    Allows for custom backends implemented in Ruby. Yes really.
    
    Signed-off-by: Vicent Marti <tanoku@gmail.com>
Commits on Dec 3, 2010
  1. Update to latest API changes

    vmg committed Dec 3, 2010
    In-sync with the ODB decoupling changes.
    
    Signed-off-by: Vicent Marti <tanoku@gmail.com>
Commits on Dec 2, 2010
  1. Do not use uint32_t types in the code

    vmg committed Dec 2, 2010
    Signed-off-by: Vicent Marti <tanoku@gmail.com>
  2. Repository#init now supports custom paths (open2)

    vmg committed Dec 2, 2010
    Signed-off-by: Vicent Marti <tanoku@gmail.com>
  3. Fix unit test for topological sorting

    vmg committed Dec 2, 2010
    Remember, kids: a DAG has at least one topological sort, but it can also
    have more than one!
    
    Signed-off-by: Vicent Marti <tanoku@gmail.com>
  4. Expose Commit#parents (read-only)

    JustinLove committed with vmg Dec 1, 2010
Commits on Nov 30, 2010
  1. Return complete content even when it contains nulls.

    JustinLove committed Nov 30, 2010
    rugged_raw_read was using rb_str_new2, which expects a null-terminated string.  If the content was binary and contained nulls, it would become truncated.
Commits on Nov 29, 2010
  1. version bump and extconf update

    schacon committed Nov 29, 2010
  2. update rugged version to 0.1.0

    schacon committed Nov 23, 2010
  3. Properly export IndexEntry flag bitmasks

    vmg committed Nov 29, 2010
    Signed-off-by: Vicent Marti <tanoku@gmail.com>
  4. Fix several issues with the IndexEntry.flag attribute

    vmg committed Nov 29, 2010
    The 'flags' attribute is now returned as a single value, together with
    the 'flags_extended' when available.
    
    Signed-off-by: Vicent Marti <tanoku@gmail.com>
  5. Remove 'pp' statements from test cases

    vmg committed Nov 29, 2010
    Signed-off-by: Vicent Marti <tanoku@gmail.com>
Commits on Nov 22, 2010
  1. Add new Ruby class Rugged::Person

    vmg committed Nov 22, 2010
    The Rugged global object has been changed to a Module to easen the
    extension with native Ruby classes.
    
    Unit tests have been updated accordingly.
    
    Signed-off-by: Vicent Marti <tanoku@gmail.com>
  2. Make the object initialization method non-static

    vmg committed Nov 22, 2010
    Signed-off-by: Vicent Marti <tanoku@gmail.com>
  3. new blob bindings tests

    schacon committed Nov 22, 2010
Commits on Nov 20, 2010
  1. we need to convert the ruby type (VALUE) to it's proper C type (git_o…

    brianmario committed Nov 20, 2010
    …type) before handing it to the libgit2 api
  2. Fix undeclared extern symbol in GCC

    vmg committed Nov 20, 2010
    Signed-off-by: Vicent Marti <tanoku@gmail.com>
  3. Wrap git_blob and its methods

    vmg committed Nov 20, 2010
    The blob object has been wrapped together with the basic methods,
    
    	- initialize
    	- content=
    	- content
    	- size
    
    Signed-off-by: Vicent Marti <tanoku@gmail.com>
  4. Fix warnings when compiling with -Wall and -Wextra

    vmg committed Nov 20, 2010
    Signed-off-by: Vicent Marti <tanoku@gmail.com>
  5. Fix lack of precision in time comparison

    vmg committed Nov 20, 2010
    Signed-off-by: Vicent Marti <tanoku@gmail.com>
Commits on Nov 19, 2010
Commits on Nov 18, 2010
  1. Fix duplicated symbol when compiling on GCC

    vmg committed Nov 18, 2010
    Signed-off-by: Vicent Marti <tanoku@gmail.com>
  2. Update README.md with recent API changes

    vmg committed Nov 18, 2010
    Signed-off-by: Vicent Marti <tanoku@gmail.com>
  3. Split up rugged.c into several files

    vmg committed Nov 18, 2010
    Celebrate the new library name by cleaning up the code base and
    splitting all the crust in rugged.c into one C file for each Ruby
    object. Lookin' clean now!
    
    Signed-off-by: Vicent Marti <tanoku@gmail.com>
Commits on Nov 17, 2010
  1. haha. little typo there

    schacon committed Nov 17, 2010