Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Commits on Jun 26, 2013
  1. Revert "Revert "fix memory leaks in bz_reader_read""

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

    This reverts commit c1bfa84.
  2. Merge pull request #16 from koraktor/gemfile-source

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

    Fixed extconf.rb for Ruby 2.0
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
  2. James Le Cuirot
Commits on Feb 14, 2013
  1. Sebastian Staudt

    Updated source in Gemfile

    koraktor authored
    :rubygems is deprecated as of Bundler 1.2.4
  2. Sebastian Staudt

    Fixed extconf.rb for Ruby 2.0

    koraktor authored
Commits on Feb 13, 2013
  1. add rspec run to travis

  2. more formatting

  3. formatting

  4. formatting

  5. use markdown for readme

  6. use markdown for changelog

  7. add travis

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

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

    Fix memory leak in bz_reader_read
Commits on Apr 28, 2012
  1. Brian Shirai

    Don't poke inside private MRI data structures.

    brixen authored
    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.
Commits on Jan 10, 2012
  1. fix memory leaks in bz_reader_read

    noah authored
Commits on Sep 28, 2011
  1. remove ext/ from loadpath

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

    gemspec fix that helped to install the gem with bundler
  2. gemspec fix

    Kristijonas Urbaitis authored
Commits on Feb 18, 2011
  1. bring in latest from master

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

Commits on Dec 20, 2010
  1. Alex Crichton

    Lining things up

    alexcrichton authored
  2. Alex Crichton

    One last warning!

    alexcrichton authored
    Again, it looked like a cast was the best thing to do in this situation...
  3. Alex Crichton

    Quiet warnings about shortening ints in reader.c

    alexcrichton authored
    I tried where I could to not use casts, but it seemed like a cast was the proper thing to do in most cases.
  4. Alex Crichton
  5. Alex Crichton

    Quiet warnings about shortening ints from 64 bits to 32 bits in writer.c

    alexcrichton authored
    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
  6. Alex Crichton
  7. Alex Crichton

    Moving a lot of things around.

    alexcrichton authored
    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...
  8. Alex Crichton
Something went wrong with that request. Please try again.