Permalink
Commits on May 28, 2012
  1. Merge pull request #24 from alindeman/issue-22

    Settings are not (accidentally) shared among instances of App
    pjfitzgibbons committed May 28, 2012
  2. Merge pull request #21 from alindeman/rspec-upgrade

    Upgrades rspec to run specs in random order
    ashbb committed May 28, 2012
  3. Add move. Closes #8

    This adds move for Shape, Oval, and Button. Shoes-level implementation
    and an SWT gui implementation. Oval is straghtforward. Shape is
    somewhat complicated because it moves all elements of the shape. I
    believe this is a correct, but not optimized implementation.
    
    Button is also complicated because Buttons can be laid out in slots.
    The Button is removed from the slot's layout, so the remaining elements
    can reflow. The Button's gui element is disposed, and a new gui element
    is created and added to a new Swt::Composite layer so it is out of the
    layout flow. This only happens on the first move. Once the Button is in
    a container without a layout, it continues to use the same gui element.
    
    Note that in this commit, the move method for button is on the button
    class itself. It belongs somewhere else, but I wasn't yet sure what else
    would have the same move semantics as button.
    
    * Add NO_BACKGROUND so layers are transparent. This applies to
      all flow objects
    * Adjust framerate to approach Red Shoes. It's still not a perfect
      match, but it's closer.
    * Add new working sample: simple-move.rb
    wasnotrice committed May 28, 2012
  4. Use text file to track working samples

    - Remove directories of symlinks
    - Update README.md
    - Create README in samples directory to track working samples
    wasnotrice committed May 28, 2012
  5. Add animation. Closes #7

    wasnotrice committed May 28, 2012
Commits on May 27, 2012
  1. Travis config email: peter.fitzgibbons@gmail.com

    Peter Fitzgibbons committed May 27, 2012
  2. move jars, etc into lib/support

    Peter Fitzgibbons committed May 27, 2012
  3. Delete `features` directory for now. You can revert this commit when …

    …the need arises. Refer to Issue #10.
    ashbb committed May 27, 2012
  4. Fix TravisCI build errors

    - Add xvfb for testing on headless machine (travis), following example at
      http://about.travis-ci.org/docs/user/gui-and-headless-browsers/
    - Add spec directory to rake spec commands
    - Make all spec requires relative to spec
    - Expand paths for directories when globbing shared examples
    - Move shared specs for paintable into their own file
    wasnotrice committed May 26, 2012
Commits on May 26, 2012
  1. Fixed issue #17. Now, `bin\swt-shoooes samples\working-swt\simple-sou…

    …nd.rb` works on Windows.
    ashbb committed May 26, 2012
  2. Oops, mistook an operation, sorry.

    ashbb committed May 26, 2012
Commits on May 25, 2012
  1. Use Proc.new instead of lambda with instance_eval

    When we moved from jruby 1.6.5 to 1.6.7, the lambdas started
    causing failures. I think this is a matter of jruby's 1.9
    compatibility improving. Because instance_eval passes the
    receiver into the block it evals, lambdas without parameters
    raised errors. See http://bugs.ruby-lang.org/issues/2476
    wasnotrice committed May 25, 2012
  2. travis integration

    Fixes #12
    steveklabnik committed May 25, 2012
  3. Merge pull request #5 from wasnotrice/cleanup

    Add files from brown shoes
    pjfitzgibbons committed May 25, 2012
  4. Add files from brown shoes

    This adds the files we need to get started. All specs pass. This commit
    adds the lib/white_shoes files because some swt specs depend on them.
    The white_shoes files should be removed.
    
    This also adds instructions to the README that should be sufficient to
    get people set up and running specs.
    wasnotrice committed May 25, 2012
Commits on May 24, 2012
  1. Initial commit

    pjfitzgibbons committed May 24, 2012