first go at fixing app.width
whoops, minor typo fix
whoops, minor typo fix - 2
using getScrollbarsMode now
added overlay_scrollbars? method
Promote CommonMethods DSL classes to top level

Older Rubies that Shoes3 ran on had scoping differences that meant that DSL
classes could be referred to unqualified (i.e. Link instead of Shoes::Link).

To retain compatibility with that older code (and also keep the Shoes API
simpler), we promote any DSL class that gets Shoes::CommonMethods included in
it to the top-level.
Including Link and LinkHover in primary DSL

This is done by including Shoes::CommonMethods, and ensures that the
unqualified constants are available at the top-level Object scope.

LinkHover is just a placeholder for now.
Merge branch 'master' into simple-menu-fixes

Conflicts:
	lib/shoes/link.rb
Revert "Promote CommonMethods DSL classes to top level"

This reverts commit c4306dd93767dd96934b52ebcf705959cafd74b0.
Simple menu fixes for compatibility

There are a couple of post-alpha issues that were preventing this sample from
working, and also a compatibility change in how we reference the Shoes classes
for use from `style`. This commit should get the sample running on master, and
it can be revised when later functionality allows.

Also removes the copied simple-menu1.rb which was presumably a Shoes4
compatible version of the original simple-menu.rb
Merge branch 'fix_app_width' of github.com:KCErb/shoes4 into KCErb-fix_app_width
Code style and public/private

* in JRuby we can call Java methods like ruby methods
* no parentheses for methods without arguments
Little refactoring/keeping it at 80 chars width
Merge pull request #635 from shoes/simple-menu-fixes

Simple menu fixes (samples/simple-menu.rb)

Resolves #528
Fix for layout fitting when no space on first line

Previously we've made the assumption that there's enough room on the first line
when fitting text to put something there. Turns out we can have too little
space, and in those cases we'd end up crashing on some negative-width setting.

Instead, the right behavior in these cases is to provide an empty first layout,
and then proceed to put the actual text in a typically flowed second layout.

Resolves #594.
Merge branch 'master' into explicit_width_crash
Minor code-style cleanups
Merge pull request #642 from shoes/explicit_width_crash

Fix for layout fitting when no space on first line
We hand the dsl objects to the click listeners

* dsl objects take care of bounds checking etc.
* Swt::Link did not respond to dsl, fixed as well
* Spec fixups fot Swt::Link
* fixes #643 (regression)
Fix for crash on Shoes::Link#in_bounds? missing

Resolves #644, which requires that the DSL level have a in_bounds? method that
the link wasn't delegating to the backend class for.