Permalink
Commits on Dec 26, 2012
  1. This logic is now obsolete

    committed Dec 26, 2012
  2. Refactor SyncCall stack trace analysis for aborting

    Factor the logic for examining the backtrace and determining if
    an exception was due to caller error into methods which describe
    this behavior.
    
    This should make the SyncCall code clearer and easier to understand.
    committed Dec 26, 2012
  3. Stack traces that span inter-actor calls

    Previously Celluloid gave some hard-to-interpret stack traces. The new
    stack traces span calls across actors. Here's an example:
    
    	/Users/tony/src/celluloid/spec/support/actor_examples.rb:203:in `receiver_method'
    	/Users/tony/src/celluloid/lib/celluloid/calls.rb:24:in `public_send'
    	/Users/tony/src/celluloid/lib/celluloid/calls.rb:24:in `dispatch'
    	/Users/tony/src/celluloid/lib/celluloid/actor.rb:326:in `block in handle_message'
    	/Users/tony/src/celluloid/lib/celluloid/tasks/task_fiber.rb:24:in `block in initialize'
    	(celluloid): remote procedure call
    	/Users/tony/src/celluloid/lib/celluloid/actor.rb:70:in `call'
    	/Users/tony/src/celluloid/lib/celluloid/proxies/actor_proxy.rb:106:in `method_missing'
    	/Users/tony/src/celluloid/spec/support/actor_examples.rb:211:in `caller_method'
    	/Users/tony/src/celluloid/lib/celluloid/calls.rb:24:in `public_send'
    	/Users/tony/src/celluloid/lib/celluloid/calls.rb:24:in `dispatch'
    	/Users/tony/src/celluloid/lib/celluloid/actor.rb:326:in `block in handle_message'
    	/Users/tony/src/celluloid/lib/celluloid/tasks/task_fiber.rb:24:in `block in initialize'
    	(celluloid): remote procedure call
    	/Users/tony/src/celluloid/lib/celluloid/actor.rb:80:in `call'
    	/Users/tony/src/celluloid/lib/celluloid/proxies/actor_proxy.rb:106:in `method_missing'
    	/Users/tony/src/celluloid/spec/support/actor_examples.rb:217:in `block (3 levels) in <top (required)>'
    	/Users/tony/.rvm/gems/ruby-1.9.3-p327/gems/rspec-core-2.12.2/lib/rspec/core/example.rb:114:in `instance_eval'
    	/Users/tony/.rvm/gems/ruby-1.9.3-p327/gems/rspec-core-2.12.2/lib/rspec/core/example.rb:114:in `block in run'
    	/Users/tony/.rvm/gems/ruby-1.9.3-p327/gems/rspec-core-2.12.2/lib/rspec/core/example.rb:254:in `with_around_each_hooks'
    	/Users/tony/.rvm/gems/ruby-1.9.3-p327/gems/rspec-core-2.12.2/lib/rspec/core/example.rb:111:in `run'
    	/Users/tony/.rvm/gems/ruby-1.9.3-p327/gems/rspec-core-2.12.2/lib/rspec/core/example_group.rb:388:in `block in run_examples'
    	/Users/tony/.rvm/gems/ruby-1.9.3-p327/gems/rspec-core-2.12.2/lib/rspec/core/example_group.rb:384:in `map'
    	/Users/tony/.rvm/gems/ruby-1.9.3-p327/gems/rspec-core-2.12.2/lib/rspec/core/example_group.rb:384:in `run_examples'
    	/Users/tony/.rvm/gems/ruby-1.9.3-p327/gems/rspec-core-2.12.2/lib/rspec/core/example_group.rb:369:in `run'
    	/Users/tony/.rvm/gems/ruby-1.9.3-p327/gems/rspec-core-2.12.2/lib/rspec/core/example_group.rb:370:in `block in run'
    	/Users/tony/.rvm/gems/ruby-1.9.3-p327/gems/rspec-core-2.12.2/lib/rspec/core/example_group.rb:370:in `map'
    	/Users/tony/.rvm/gems/ruby-1.9.3-p327/gems/rspec-core-2.12.2/lib/rspec/core/example_group.rb:370:in `run'
    	/Users/tony/.rvm/gems/ruby-1.9.3-p327/gems/rspec-core-2.12.2/lib/rspec/core/example_group.rb:370:in `block in run'
    	/Users/tony/.rvm/gems/ruby-1.9.3-p327/gems/rspec-core-2.12.2/lib/rspec/core/example_group.rb:370:in `map'
    	/Users/tony/.rvm/gems/ruby-1.9.3-p327/gems/rspec-core-2.12.2/lib/rspec/core/example_group.rb:370:in `run'
    	/Users/tony/.rvm/gems/ruby-1.9.3-p327/gems/rspec-core-2.12.2/lib/rspec/core/command_line.rb:28:in `block (2 levels) in run'
    	/Users/tony/.rvm/gems/ruby-1.9.3-p327/gems/rspec-core-2.12.2/lib/rspec/core/command_line.rb:28:in `map'
    	/Users/tony/.rvm/gems/ruby-1.9.3-p327/gems/rspec-core-2.12.2/lib/rspec/core/command_line.rb:28:in `block in run'
    	/Users/tony/.rvm/gems/ruby-1.9.3-p327/gems/rspec-core-2.12.2/lib/rspec/core/reporter.rb:34:in `report'
    	/Users/tony/.rvm/gems/ruby-1.9.3-p327/gems/rspec-core-2.12.2/lib/rspec/core/command_line.rb:25:in `run'
    	/Users/tony/.rvm/gems/ruby-1.9.3-p327/gems/rspec-core-2.12.2/lib/rspec/core/runner.rb:80:in `run'
    	/Users/tony/.rvm/gems/ruby-1.9.3-p327/gems/rspec-core-2.12.2/lib/rspec/core/runner.rb:17:in `block in autorun
    committed Dec 26, 2012
Commits on Dec 25, 2012
  1. One less ivar...

    committed Dec 25, 2012
Commits on Dec 24, 2012
  1. Proxy send correctly

    committed Dec 24, 2012
  2. Merge pull request #139 from celluloid/bug/send_override

    [BUG] Actors cannot override #send
    committed Dec 24, 2012
Commits on Dec 20, 2012
  1. Merge pull request #138 from nibua-r/finalizer-fix

    Fix run_finalizer
    committed Dec 20, 2012
  2. Fix run_finalizer

    nibua-r committed Dec 20, 2012
Commits on Dec 19, 2012
  1. Remove Celluloid.use_mailbox

    Use Celluloid.mailbox_class instead
    committed Dec 19, 2012
  2. o_O

    These tests spontaneously broke for no apparent reason. RSpec insanity? Aaargh!
    
    Anyway, changing "==" to "eq" seems to fix them.
    committed Dec 19, 2012
Commits on Dec 13, 2012
  1. Revert "Move guard-rspec out of CI gems"

    This reverts commit 4175f4a. This was an unjustified change.
    
    Conflicts:
    	Gemfile
    benlangfeld committed Dec 13, 2012
  2. Clear thread locals from threads returned to the pool

    Previously threads checked out of Celluloid's InternalPool which were
    returned would leak their thread locals. While Ruby apparently lacks
    an API to clear thread locals, we can do the next best thing by
    setting them all to nil.
    
    I look forward to Ruby 2.0's Better Thread Local API!
    committed Dec 13, 2012
Commits on Dec 12, 2012
  1. Merge pull request #134 from mperham/patch-1

    Update lib/celluloid/stack_dumper.rb
    committed Dec 12, 2012
  2. Bump version

    committed Dec 12, 2012
  3. Update lib/celluloid/stack_dumper.rb

    Fix incorrect object_id in output.
    mperham committed Dec 12, 2012
  4. Namespace thread locals

    This reverts c448598
    committed Dec 12, 2012
  5. Merge pull request #119 from ileitch/finalizer

    Add finalizer :callback API.
    committed Dec 12, 2012
Commits on Dec 11, 2012
  1. Bump version to 0.12.4

    committed Dec 11, 2012
  2. Bump version to 0.12.4.pre2

    committed Dec 11, 2012
  3. Revert "Namespace thread locals (fixes #117)"

    This reverts commit 2db76eb.
    
    This is incompatible with Celluloid::IO, etc
    committed Dec 11, 2012
  4. Bump version to 0.12.4.pre

    committed Dec 11, 2012
  5. Namespace thread locals (fixes #117)

    This namespaces the four thread local names that Celluloid used
    previously:
    
    * :actor
    * :mailbox
    * :task
    * :queue
    
    ...with celluloid_ on the front so as to avoid collisions:
    
    * :celluloid_actor
    * :celluloid_mailbox
    * :celluloid_task
    * :celluloid_queue
    committed Dec 11, 2012
Commits on Dec 8, 2012
  1. Merge pull request #131 from zanker/patch-1

    Added total_busy and total_idle stat calls for the pool manager
    committed Dec 8, 2012