Permalink
Commits on Jun 26, 2013
  1. Revert "Revert "fix memory leaks in bz_reader_read""

    This reverts commit 69766a7.
    committed Jun 26, 2013
Commits on Jun 19, 2013
  1. Revert "fix memory leaks in bz_reader_read"

    This reverts commit c1bfa84.
    committed Jun 19, 2013
  2. Merge pull request #16 from koraktor/gemfile-source

    Updated source in Gemfile
    committed Jun 19, 2013
Commits on Mar 28, 2013
  1. Merge pull request #18 from koraktor/extconf-ruby2

    Fixed extconf.rb for Ruby 2.0
    committed Mar 28, 2013
Commits on Mar 7, 2013
  1. Merge pull request #20 from chewi/remove-extra_rdoc_files

    Remove extra_rdoc_files because documentation is in Markdown format
    committed Mar 7, 2013
Commits on Feb 14, 2013
  1. Updated source in Gemfile

    :rubygems is deprecated as of Bundler 1.2.4
    koraktor committed Feb 14, 2013
Commits on Feb 13, 2013
  1. add rspec run to travis

    committed Feb 13, 2013
  2. more formatting

    committed Feb 13, 2013
  3. formatting

    committed Feb 13, 2013
  4. formatting

    committed Feb 13, 2013
  5. use markdown for readme

    committed Feb 13, 2013
  6. use markdown for changelog

    committed Feb 13, 2013
  7. add travis

    committed Feb 13, 2013
Commits on Sep 12, 2012
  1. Merge pull request #14 from brixen/master

    Fix to build bzip2-ruby with Rubinius.
    committed Sep 12, 2012
  2. Merge pull request #12 from noahhaon/master

    Fix memory leak in bz_reader_read
    committed Sep 12, 2012
Commits on Apr 28, 2012
  1. Don't poke inside private MRI data structures.

    This code is not supportable on Rubinius and is generally very bad practice. Bzip2 does
    not own the Ruby class data structures and should not make any assumptions about them.
    
    In this case, the code appears entirely unnecessary because the value is created as
    a String in the first place.
    
    I'm not sure what is the best fix, but this would at least allow compiling on Rubinius.
    
    FWIW, there are numerous bad practices in this C extension, such as relying on MRI
    C globals like rb_rs instead of getting the value of the $/ Ruby global and depending
    on the internals of RFile. I've added basic RFile support to Rubinius just to support
    building this C-extension, but there are limits to what I can do.
    brixen committed Apr 28, 2012
Commits on Jan 10, 2012
  1. fix memory leaks in bz_reader_read

    noah committed Jan 10, 2012
Commits on Sep 28, 2011
  1. remove ext/ from loadpath

    committed Sep 28, 2011
Commits on Jun 20, 2011
  1. Merge pull request #9 from kristis/master

    gemspec fix that helped to install the gem with bundler
    committed Jun 20, 2011
  2. gemspec fix

    Kristijonas Urbaitis committed Jun 20, 2011
Commits on Feb 18, 2011
  1. bring in latest from master

    committed Feb 18, 2011
  2. prepare for merge with master

    committed Feb 18, 2011
Commits on Jan 27, 2011
  1. move to rake-compiler

    committed Jan 27, 2011
Commits on Dec 20, 2010
  1. Lining things up

    alexcrichton committed Dec 20, 2010
  2. One last warning!

    Again, it looked like a cast was the best thing to do in this situation...
    alexcrichton committed Dec 20, 2010
  3. Quiet warnings about shortening ints in reader.c

    I tried where I could to not use casts, but it seemed like a cast was the proper thing to do in most cases.
    alexcrichton committed Dec 20, 2010
  4. Quiet warnings about shortening ints from 64 bits to 32 bits in writer.c

    The cast is done because bz_stream's data is always an unsigned int, so conforming otherwise to a 64 bit number isn't possible
    alexcrichton committed Dec 20, 2010
  5. Moving a lot of things around.

    This splits up the 1800 line bzip2.c file into the separate 'reader.c' and 'writer.c' files. This should make it a bit easier to read because 1800 lines isn't very easy on the eyes...
    alexcrichton committed Dec 20, 2010