Commits on Mar 11, 2013
  1. @headius
Commits on Mar 9, 2013
  1. @headius

    [2.0] Add Thread::Backtrace::Location and related methods.

    * Thread#backtrace_locations
    * Kernel#caller_locations
    * Exception#backtrace_locations (not official, but should be soon)
    headius committed Mar 9, 2013
  2. @headius

    Fix broken test.

    headius committed Mar 9, 2013
  3. @headius
  4. @headius
  5. @headius

    Additional tweaks for Enumerator::Lazy

    * Fix each_with_index use in #drop.
    * Fix subtype preservation in *with_index methods.
    * Handle all-arrays and all-not-arrays in #zip like MRI.
    * Handle no-arg zip when given a block.
    * Properly implement zipping past the end of one or more args.
    headius committed Mar 9, 2013
  6. @headius

    [2.0] Fixes and additions for Ruby 2.0 Enumera[ble,tor].

    * Move to Kernel, Enumerable their methods defined in Enumerator.
    * Reduce some duplication of logic in Enumerator.
    * Add Enumerable#chunk.
    * Add a mostly complete implementation of Enumerator::Lazy.
    * Multiple minor fixes throughout Enumera* to support 2.0 logic.
    headius committed Mar 8, 2013
Commits on Mar 7, 2013
  1. @headius
  2. @headius

    Tweaks to get more of TracePoint working.

    * Add a safeguard in binding creation for empty RubyClass stack
    * Add b_call, b_return, thread_begin and thread_end events
    * Wire up new events
    * Mask out 2.0 events from non-2.0 tracing
    headius committed Mar 7, 2013
  3. @headius

    [2.0] Add TracePoint API (partial impl)

    TODO:
    
    * Try to avoid eagerly allocating binding. May not be possible.
    * Provide return values for return events
    * Properly handle exception value for raise events
    * Add block events and other missing events
    headius committed Mar 7, 2013
  4. @headius

    Reduce cost of cloning a binding.

    Instance evals and define_method always force the binding
    associated with a block to be cloned. This is a large part of the
    cost of these call paths. This patch reduces allocation to
    improve the performance of binding cloning.
    
    * Make DummyDynamicScope.clone return itself
    * Preallocate dummy scope on binding when setting up proc
    * Copy dummy scope reference to new binding, to avoid recreating
    * Reference an eval binding rather than creating DynamicScope[1]
    headius committed Mar 6, 2013
Commits on Mar 6, 2013
  1. @headius
  2. @headius

    Optimizations to proc invocation to reduce allocation.

    * Do not clone block if we aren't modifying frame self
    * Do not create intermediate lists for 1.9 args setup
    * Use preallocated, frozen Array for intermediate Array of size 0
    headius committed Mar 6, 2013
  3. @headius

    Re-add bind target check to define_method and simplify it.

    Logic for checking the bind target of UnboundMethod was
    overcomplicated and redundant in places, so I refactored it into
    a separate "check" method. I added a call to that method in the
    modified define_method logic to ensure the target is valid in the
    same way.
    headius committed Mar 6, 2013
  4. @headius
  5. @headius

    Optimization to bind define_method with unbound method directly.

    Before this change, we would rebind the method passed to Module#
    define_method every invocation. However, since the only
    requirement for define_method against a method or unbound method
    is that the rebind would succeed (by having the method in the
    same hierarchy), rebinding for every object is unnecessary. This
    optimization removes that rebinding and just transplant the method
    from the source to the original DynamicMethod. Invocations of the
    name bound by define_method then perform exactly as the original.
    
    This could be more useful if the UnboundMethod could come from any
    module, since modules can in theory live in any hierarchy.
    Libraries of utility methods could be assembled via define_method
    into other classes. I may explore that as a feature to present to
    the other implementers.
    headius committed Mar 6, 2013
Commits on Mar 4, 2013
  1. @donv

    * JRUBY-7117 Dir.foreach should list entries in JAR root and in JAR d…

    …irectories ending in slash
    
    * Ruboto Issue #338 Using  and __FILE__
    donv committed Mar 4, 2013
Commits on Mar 3, 2013
  1. @BanzaiMan
Commits on Mar 2, 2013
  1. @BanzaiMan

    Time#== should return false when passed "".

    We were calling the 1.8 version of '==' when the 1.9 was called for.
    BanzaiMan committed Mar 2, 2013
Commits on Feb 28, 2013
  1. @enebo

    Test for 502

    enebo committed Feb 28, 2013
  2. Bump jnr-posix to 2.5.0 - Possible fix for JRUBY-7038 - compare times…

    …(3) return to -1, not < 0 for error.
    Wayne Meissner committed Mar 1, 2013
  3. @enebo
  4. @enebo

    Merge pull request #471 from atambo/file_directory

    File.directory? should handle IO's
    enebo committed Feb 28, 2013
  5. @enebo

    Merge pull request #553 from ryenus/ci-status

    show build status from travis [ci skip]
    enebo committed Feb 28, 2013
  6. @enebo
  7. @enebo
  8. @enebo
  9. @enebo

    Two typos one name

    enebo committed Feb 28, 2013
Commits on Feb 27, 2013
  1. @enebo
  2. @headius

    Update to ASM 4.1.

    headius committed Feb 27, 2013
  3. @headius
  4. @enebo

    Doh...f is just a stylish t right?

    enebo committed Feb 27, 2013
  5. @enebo
  6. @enebo

    Make 'p ?\u{1234}' not crash

    enebo committed Feb 27, 2013
  7. @ryenus