Permalink
Commits on Jul 31, 2012
  1. Remove incompatible lib/missing.rb

    lib/missing.rb doesn't exist in MRI. So following code succeeds on Rubinius,
    but not on MRI. This is an incompatible behavior.
    
      require "missing"
    
    This is found by the following actual code on the wild.
    
      https://github.com/cookpad/chanko/blob/v1.0.6/spec/lib/updating_load_spec.rb#L12
    ryoqun committed Jul 31, 2012
  2. Merge pull request #1831 from flavio/ruby19_file_expand_path_encoding

    ruby 1.9: File.expand_path returns a string in the default external encoding
    Brian Ford committed Jul 31, 2012
  3. Make CodeLoader more robust.

    We shouldn't fail if for some reason the compilation cache disappears
    on use or is otherwise unavailable. We just recompile.
    brixen committed Jul 31, 2012
Commits on Jul 30, 2012
  1. Extend File.expand_path spec

    Ensure File.expand_path raises a Encoding::CompatibilityError when
    the encoding of the string containing the path is not compatible with the
    external one.
    flavio committed Jul 27, 2012
  2. ruby 1.9: File.expand_path returns a string in the default external e…

    …nconding
    
    Ensure File.expand_path returns a string in the default external
    encoding.
    flavio committed Jul 26, 2012
  3. Add validation for adding global handles

    We want to make sure people are only adding valid handles to the list of
    global handles. This means that the VALUE pointer in the CAPI needs to
    point to a proper CAPI handle and not point to some random memory
    location that can cause things such as GC crashes later on.
    
    Should help in debugging stuff like therubyracer to see earlier where
    extensions such as that register invalid handles.
    dbussink committed Jul 30, 2012
  4. Merge pull request #1844 from LTe/c_vars_4args

    Ruby 1.9 should not have defined RB_CVAR_SET_4_ARGS
    dbussink committed Jul 30, 2012
  5. Ruby 1.9 should not have defined RB_CVAR_SET_4_ARGS

    Since 1.9.1 ruby don't use 4th argument from calls to rb_cvar_set
    Fixes #1843
    LTe committed Jul 30, 2012
Commits on Jul 29, 2012
  1. Setup proper SignalException handling

    What a wonderful MRI behavior we see here again. What MRI does is when a
    SignalException escapes to the toplevel, it catches it, sets up the
    default signal handler for that signal and reraises the signal to the
    current process. We therefore mimic this behavior by setting up signal
    handlers for the same signals MRI catches and raises an exception. Our
    post handling then does the same by setting up the default handler and
    resending the signal.
    
    Fixes #1839
    dbussink committed Jul 29, 2012
  2. Add tag for failing spec

    dbussink committed Jul 29, 2012
  3. Remove incorrect workaround for 1.9 regarding IGNORE and nil handler

    MRI makes a difference between a nil handler and the IGNORE handler. We
    can't just simply guard this by a 1.9 mode check. Other changes needed
    for handling signals to match MRI behavior exposed that this is not a
    proper fix for the problem.
    dbussink committed Jul 29, 2012
Commits on Jul 28, 2012
  1. Change regexp conditional

    dbussink committed Jul 28, 2012
Commits on Jul 27, 2012
  1. Tag failing specs

    jfirebaugh committed Jul 27, 2012