• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

shoes / shoes4

Build:
Build:
LAST BUILD BRANCH: simple_calc_fix
DEFAULT BRANCH: master
Repo Added 25 Apr 2013 08:26PM UTC
Files 141
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

LAST BUILD ON BRANCH simple_calc_fix
branch: SELECT
CHANGE BRANCH
x
  • No branch selected
  • app-proxy
  • app-proxy_rake
  • button_displace_style
  • changelog
  • clear_after_dispose
  • clear_links
  • clear_transform
  • click_proc
  • context
  • cursor_revision
  • daniel_fix
  • displace
  • displace_fix
  • dispose
  • dispose_text
  • experimental_text_block_flow
  • explicit_width_crash
  • extract-dimension-from-dimensions
  • fi/built_in_methods
  • fi/click_option
  • fi/clipboard_spec_tests
  • fi/console
  • fi/curate_samples
  • fi/display_underlines
  • fi/mac_persistence_error
  • fi/nested_styles
  • fi/new_span
  • fi/rake_task_create_list_of_non_samples
  • fi/rise_text_style
  • fi/scrolling_increment_value
  • fi/set_underline_color
  • fi/shoesp
  • fi/span
  • fi/strikethrough
  • fi/swt_text_bock_refactor
  • fi/text_block_painter_refactor
  • fi/text_block_refactoring
  • fi/weight_and_emphasis
  • fitting_outside_containers
  • fix-off-by-one
  • gem_installation
  • gems
  • global_keypress
  • good_vjot
  • guard-jruby-rspec
  • gutter
  • image_dispose
  • implement_contents
  • inspect
  • leak_hunter
  • leak_hunter_keypress
  • leaking_colors
  • left_top_reporting
  • link_bounds
  • link_click_option
  • mad_flow
  • margins_on_text_blocks
  • master
  • more_accurate_redraws
  • move-helpers
  • next_dir_problem_on_gem
  • no-file-error
  • painter_alert_fail
  • pairwithme_for_a_better_dsl
  • para_clicking
  • rake_samples
  • rake_spec_isolate_suites
  • readme_changes_for_release
  • redraw_only_on_style_update
  • refactor-swt-context
  • refactor-swt-specs
  • refactor_dsl_spec
  • refactor_url
  • remove_manual_flush
  • removing_moving_next
  • replace_method_missing
  • revert-rspec3
  • revise_sample35
  • right_and_bottom
  • rspec3
  • rubocop
  • scroll
  • shape-dimensions
  • simple-menu-fixes
  • stale_textcursor
  • style-for-elements
  • subdir_for_text_block
  • swtUpdateTry
  • swt_shared_context
  • text_block_dimensions
  • text_cursor_tidy
  • text_flow_tidying
  • text_width_handling
  • toggles_everywhere
  • transform_dispose
  • travis_bouncy-castle-java-fix
  • unless-disposed-delegator
  • v4.0.0.pre1
  • widget_app_delegation

pending completion
2760

Pull #1244

travis-ci

Wayne Vucenic
Fix several calculator issues

In any physical, real-world calculator I can recall using, if I wanted to compute 2+2 and 3+3 I would click the following buttons:

2 + 2 = 3 + 3 =

But if I do that in this program,

2 + 2 =

shows "4", as expected, but then clicking 3 changes the display to "43".

I appreciate that the sample is intended as an example of using Shoes, not an example of how to write calculator logic.  But this problem makes it hard to actually use the calculator.

Another fix is that on most calculators, doing:

1 + 2 + 3 + 4 + 5 + 6 + 7 + 8 + 9 =

shows the running total every time + is clicked.  This program did not display any result until = was clicked.

Renamed several instance variable to be more precise.

Corrected 4 RuboCop issues.
Pull Request #1244: Fix several issues in simple-calc-2 sample

403 of 552 branches covered (73.01%)

1966 of 2179 relevant lines covered (90.22%)

73.96 hits per line

Relevant lines Covered
Build:
Build:
2179 RELEVANT LINES 1966 COVERED LINES
73.96 HITS PER LINE
Source Files on master
Detailed source file information is not available for this build.

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
2760 simple_calc_fix Fix several calculator issues In any physical, real-world calculator I can recall using, if I wanted to compute 2+2 and 3+3 I would click the following buttons: 2 + 2 = 3 + 3 = But if I do that in this program, 2 + 2 = shows "4", as expected,... Pull #1244 04 Aug 2018 06:59AM UTC Wayne Vucenic travis-ci pending completion  
2632 master Merge pull request #1171 from shoes/jclark/system_background Load system colors during backend initialization Pull #1166 30 Sep 2017 09:11AM UTC KCErb travis-ci pending completion  
2504 master gif removed from dsl.rb file Pull #1129 30 Jan 2017 03:15PM UTC Gabriela Kaczka travis-ci pending completion  
2474 master Merge pull request #1122 from shoes/no-initial-choose Don't choose at DSL level during initialization Changelog: bugfix push 18 Jan 2017 09:43PM UTC jasonrclark travis-ci pending completion  
2422 master Modify #replace to use options hash and parse fonts. Pull #1107 26 Dec 2016 12:13AM UTC bookstein travis-ci pending completion  
2366 master Using `let` for more convenicence push 23 Nov 2016 08:05AM UTC PragTob travis-ci pending completion  
2326 master fix some rubocop warning Pull #1070 11 Oct 2016 12:51AM UTC matugm travis-ci pending completion  
2110 master couple of general margin specs as I saw they were missing Pull #997 14 Jul 2016 02:07PM UTC PragTob travis-ci pending completion  
1948 rubocop Through rubocop #1410 the Java::float problem was fixed push 26 May 2016 02:05PM UTC PragTob travis-ci pending completion  
1909 release_all_task rake release:all task While we have tasks to build and install all three gems in the correct order, there wasn't one for fully building and releasing--each had to be called by itself (at least as far as I could see). push 20 Apr 2016 05:25AM UTC jasonrclark travis-ci pending completion  
See All Builds (1212)
  • Repo on GitHub
  • CI Project
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc