Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Commits on Jul 17, 2007
  1. @evanphx

    Stack allocated lvars, GC fixes, compiler changes, oh my!

    evanphx authored
    This is a biggy (too big in fact). It started as a change to allow
    arguments to be accessed directly from the stack, and turned into a
    monster.
    
    Arguments and some lvars can now be accessed directly from the stack,
    making them cheaper to create and use. This turned out to expose
    a large number of bugs in the VM related to stack access, as well
    as some in the GC.
    
    The big GC change here is that the mark/sweep GC is actually run now,
    as opposed to before when it would just allocated more and more memory
    (the source of memory issues I suspect).
Commits on Jul 4, 2007
  1. @evanphx

    A little magic for a more bulletproof process. Run rake dev:setup aft…

    evanphx authored
    …er a checkout and pristine copies of core and bootstrap will always be used to compile files.
Commits on May 21, 2007
  1. @evanphx

    Revert array changes back to r1088. r1089 is busted bigtime.

    evanphx authored
    >> a = [:call, [:const, :Ruby], :asm, [:array, [:str, "push 1\nsend puts 1", 0]]]
    In r1089:
    
    >> a[0,3]
    => [:call, [:const, :Ruby], :asm, [:array, [:str, "push 1\nsend puts 1", 0]]]
    
    Thats very wrong.
    In r1088:
    
    >> a[0,3]
    => [:call, [:const, :Ruby], :asm]
    
    Thats correct.
Commits on May 16, 2007
  1. @evanphx

    * Reworked the Rakefile to build the compiler by detection, like boot…

    evanphx authored
    …strap and core.
    
    * Dumped using kernel/hints, the native/bytecode/system_hints.rb file now has the hints as a hash that is required by bytecode/compiler
    * A couple of changes to __loader.rb
Commits on May 15, 2007
  1. @evanphx

    * bootstrap.rba and core.rba are self generated!

    evanphx authored
    * Fixes a nasty bug in String#== (and fixes some VM plumbing that caused it)
    * bin/ccompare.rb can be used to compare 'rbx compile' and rcompile
Commits on Apr 29, 2007
  1. @evanphx

    Farewell jmpbuf.h, you were a bitch anyway. All hail PortableUContext!

    evanphx authored
    PortableUContext provides [get|set|make]context on platforms that doen't implement it. We use it to provide the subtend setup operations rather than setjmp/longjmp.
Commits on Mar 21, 2007
  1. @evanphx
Commits on Mar 14, 2007
  1. @evanphx

    A bunch of compiler fixes as well as the ability to install rubinius!

    evanphx authored
    From the top> make && make install && /usr/local/bin/rbx -v
    Edit shotgun/vars.mk to alter parts of the build process.
Commits on Feb 14, 2007
  1. @evanphx

    Fixed up sirb and added a little extra VM support so that the locals …

    evanphx authored
    …defined
    
    in each statement are carried through to the next statement.
Commits on Jan 21, 2007
  1. @evanphx
  2. @evanphx

    kernel/ reorg! New functionality goes in kernel/core only. kernel.rba…

    evanphx authored
    … have been
    
    replaced with bootstrap.rba and core.rba. Currently both are loaded automatically
    from main.
Commits on Jan 20, 2007
  1. @evanphx

    Make find exit cleanly

    evanphx authored
Commits on Jan 19, 2007
  1. @evanphx

    Fixed rakefile so that kernel/hints and 00auto_fields.rb are regenerated

    evanphx authored
    only when they need to be.
    
    Added more ignores too.
  2. @evanphx
  3. @evanphx

    Merge from /branches/backtrace.

    evanphx authored
    This makes the kernel support only loading from an archive, so be aware!
Commits on Jan 13, 2007
  1. @evanphx

    With this revision, we begin the time of the generational GC.

    evanphx authored
    Long live the generational GC!
Commits on Dec 31, 2006
  1. @evanphx

    A bunch more work getting self hosting working nicely. The compiler c…

    evanphx authored
    …an now
    
    save new CompiledMethod objects it generates to disk and reuse them later.
    
    Also added libzip and some primitives to use it to load files directly from
    zip files (what I'm calling .rba's for now).
Commits on Dec 30, 2006
  1. @evanphx

    WOO! This commit marks the beginning of the self hosting era!

    evanphx authored
    Adds a bunch more stdlib functionality, including a first cut at Array#pack.
    Also added UI2N on the C side for convert an unsigned int.
Commits on Dec 12, 2006
  1. @evanphx

    The start of the cuby primitives. cuby primitives are not yet integra…

    evanphx authored
    …ted, but people can
    
    get a feel for their usage from looking at shotgun/lib/primitives/fixnum.rb
Commits on Dec 8, 2006
  1. @evanphx

    r181@vatu: evan | 2006-12-07 17:53:32 -0800

    evanphx authored
     Big ol' commit!
     
     Lots of fun stuff in here:
     
     1. Added the THANKS file. Everyone who donates money/time to rubinius goes in it.
     2. Fixed up the runtime even more so that the compiler works! It's crashing
        on some things, but getting close!
     3. Added ivar_as_index, which lets the compiler know how to map ivar access
        to fields in self. Makes the code A TON more readable.
Commits on Dec 1, 2006
  1. @evanphx

    r125@vatu: evan | 2006-11-30 16:25:42 -0800

    evanphx authored
     Add some error checking for gems and fix the includes so certain
     macros are used when appropriate.
Commits on Nov 2, 2006
  1. @evanphx

    r105@vatu: evan | 2006-11-01 23:28:11 -0800

    evanphx authored
     Added a micro_sleep primitive with test. Also changed the address type
     used my memory.rb to ulong so that RubyInline doesn't complain.
  2. @evanphx

    Fix a bunch of compile and link errors that occured on linux. Also,

    evanphx authored
    finished cleaning up the use of unsigned long as the type for an object
    address.
Commits on Oct 30, 2006
  1. @evanphx
Commits on Oct 29, 2006
  1. @evanphx

    r93@vatu: evan | 2006-10-29 15:34:45 -0800

    evanphx authored
     Continuations now work! I've had to disable context caching because it's not yet
     interacting well with continuations.
Commits on Oct 26, 2006
  1. @evanphx

    r72@vatu: evan | 2006-10-24 18:31:21 -0700

    evanphx authored
     Added external test suite for rubinius, allows testing to be done in
     ruby 1.8.4. 
     
     The kernel now does all the file loading directly via __loader.rb.
  2. @evanphx

    r70@vatu: evan | 2006-10-24 13:34:27 -0700

    evanphx authored
     Fixed ivar hash creation to be lazy and automatic, also supports an external ivars
     hash for objects which don't contain their own slot for them.
     
     (GC is currently broke for this though, oh well.)
     
     clasess now have an instance_flags field that is used to initialize
     the flags of it's instances.
  3. @evanphx

    r69@vatu: evan | 2006-10-22 18:15:55 -0700

    evanphx authored
     Shotgun exception raising now works properly.
     
     Implemented machine to pull in and define a bunch of enviroment stuff (argv, env), etc.
Commits on Sep 21, 2006
  1. @evanphx

    r60@vatu: evan | 2006-09-20 23:21:54 -0700

    evanphx authored
     A good portion of the typer facility is working, this adds the upper translation
     piece which interfaces the typing to the C translator.
Commits on Sep 12, 2006
  1. @evanphx

    r55@vatu: evan | 2006-09-11 22:33:54 -0700

    evanphx authored
     Added syd task to rakefile to build syd-parser.
     
     Moved the syd-parser code into here.
  2. @evanphx

    r53@vatu: evan | 2006-09-11 22:15:12 -0700

    evanphx authored
     Added a test target.
Commits on Sep 10, 2006
  1. @evanphx

    r49@vatu: evan | 2006-09-10 00:16:28 -0700

    evanphx authored
     The beginnings of the type inference and translation code
Commits on Aug 24, 2006
  1. @evanphx

    r43@vatu: evan | 2006-08-24 16:34:21 -0700

    evanphx authored
     MASSIVE update.
     
     ironed a number of bugs, added more primitives (including the beginning
     of the platform specific code).
     
     AND... it runs code!!
Something went wrong with that request. Please try again.