Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Commits on Apr 28, 2012
  1. Don't poke inside private MRI data structures.

    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 Sep 28, 2011
  1. @brianmario

    remove ext/ from loadpath

    brianmario authored
Commits on Jun 20, 2011
  1. @brianmario

    Merge pull request #9 from kristis/master

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

    Kristijonas Urbaitis authored
Commits on Feb 18, 2011
  1. @brianmario
  2. @brianmario

    bring in latest from master

    brianmario authored
  3. @brianmario
Commits on Jan 27, 2011
  1. @brianmario
  2. @brianmario

    move to rake-compiler

    brianmario authored
Commits on Dec 20, 2010
  1. @alexcrichton

    Lining things up

    alexcrichton authored
  2. @alexcrichton

    One last warning!

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

    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. @alexcrichton
  5. @alexcrichton

    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. @alexcrichton
  7. @alexcrichton

    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. @alexcrichton
  9. @alexcrichton
  10. @alexcrichton

    Same as last commit, let ruby figure out whether we've been passed th…

    alexcrichton authored
    …e right number of arguments or not
  11. @alexcrichton
  12. @alexcrichton

    Adding a rake task for RSpec

    alexcrichton authored
    Can be executed via `rake spec`
  13. @alexcrichton

    Add a task to the Rakefile for compiling the C extension

    alexcrichton authored
    Can be executed via `rake build_extensions`
  14. @alexcrichton
  15. @colindean

    rearrange variable declarations to satisfy ISO C90

    colindean authored
    This is simply a syntax change.
    
    Caveats: I couldn't get the test harness to run. My test case then
    was watching it fail to build, making the change, and watching a
    successful build and installation.
    
    Closes #6.
    Obsoletes #7.
Commits on Nov 16, 2010
  1. @brianmario
Commits on Oct 12, 2010
  1. @alexcrichton
  2. @alexcrichton
  3. @alexcrichton
  4. @alexcrichton
  5. @alexcrichton
  6. @alexcrichton
  7. @alexcrichton

    Improve the reader_spec.rb by making it more resilient in lots of pla…

    alexcrichton authored
    …ces and a bit more descriptive/terse in others
  8. @alexcrichton
  9. @alexcrichton
  10. @alexcrichton

    Make the Writer specs more descriptive by giving them some doc strings.

    alexcrichton authored
    Also reverse the order on the expectations to make a bit more sense
Something went wrong with that request. Please try again.