Skip to content

HTTPS clone URL

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""

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

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

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

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

    authored
    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

    authored
  2. more formatting

    authored
  3. formatting

    authored
  4. formatting

    authored
  5. use markdown for readme

    authored
  6. use markdown for changelog

    authored
  7. add travis

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

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

    authored
    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

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

    authored
    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

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

    authored
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.