Permalink
Switch branches/tags
Commits on May 20, 2012
  1. clang

    ryoqun committed May 19, 2012
  2. Support weakly-referencing to all kinds of objects

    ryoqun committed May 2, 2012
    Current WeakRef implementation doesn't support to reference to nil and false.
    
    The reason for nil is that it can't know whether referenced object is nil or it
    is garbage-collected and set to nil. The reason for false is that there is an
    incorrect assumption that referenced objects can't be evaluated to false.
    
    By adding a new field to C++ WeakRef class to record whether referenced object
    is immediate or reference, WeakRef truly supports all kinds of objects.
Commits on May 19, 2012
  1. Revert "fixed Rake deprecation warning"

    nazgob committed May 19, 2012
    This reverts commit 95bb2fe.
  2. Revert "Ignore all GNU-extension warnings"

    dbussink committed May 19, 2012
    This reverts commit a9648cf.
  3. Regenerated Rapa

    ryoqun committed May 19, 2012
  4. Ignore all GNU-extension warnings

    ryoqun committed May 19, 2012
    This commit suppresses following warnings from Clang:
      vm/builtin/io.cpp:1101:22: error: field 'hdr' with variable sized type
        'struct cmsghdr' not at the end of a struct or class is a GNU extension
        [-Werror,-Wgnu]
            struct cmsghdr hdr;
                           ^
      vm/builtin/io.cpp:1146:22: error: field 'hdr' with variable sized type
        'struct cmsghdr' not at the end of a struct or class is a GNU extension
        [-Werror,-Wgnu]
            struct cmsghdr hdr;
                           ^
      2 errors generated.
  5. fixed Rake deprecation warning

    nazgob committed May 18, 2012
  6. Define the prototype of rb_cvar_set_internal

    ryoqun committed May 19, 2012
    This suppresses a following warning by running specs with Rubinius built by
    clang:
    
      spec/ruby/optional/capi/ext/class_spec.c:108:2: warning:
        implicit declaration of function 'rb_cvar_set_internal' is invalid in C99
          [-Wimplicit-function-declaration]
            rb_cvar_set(klass, rb_intern(StringValuePtr(name)), val);
            ^
      vm/capi/19/include/ruby/ruby.h:1096:23: note: expanded from:
        #define rb_cvar_set   rb_cvar_set_internal
                              ^
      1 warning generated.
  7. Make some Zlib::ZStream methods private

    IPGlider committed May 19, 2012
    These methods should't be public, there are more methods that shouldn't
    be public but they need more work or is not currently possible.
  8. Remove Zlib::ZStream#detach_input & #detach_output

    IPGlider committed May 19, 2012
    These methods where called directly by #flush_next_in and #flush_next_out
    and are not in MRI so let's remove them for the sake of consistency.
Commits on May 18, 2012
  1. Fix indent..

    ryoqun committed May 18, 2012
Commits on May 17, 2012
  1. Wrap condition in curlies.

    ileitch committed May 17, 2012
  2. Merge pull request #1732 from antekpiechnik/specs_typo_fix

    nazgob committed May 17, 2012
    Corrected a typo in Float#to_s spec description
  3. Fixed invalid spec descriptions for Float#to_s

    antekpiechnik committed May 17, 2012
    Instead of *decimal places* we should use *significant figures* to describe
    the number of digits that carry meaning contributing to precision of those numbers.
    
    http://en.wikipedia.org/wiki/Significant_figures
    
    I think :)
  4. Merge pull request #1731 from antekpiechnik/string_delete_fixes

    nazgob committed May 17, 2012
    String#delete raises ArgumentError if the given ranges are invalid in 1....