Shoes v4.0.0.pre2 Release Notes
Release Date: 2014-10-14 // over 9 years ago-
๐ New features (1)
Shoes 4.0.0.pre1 was a single gem. Now we ship as as three gems [e16a0c4]:
- shoes -- Home to the shoes executable. Declares dependencies on other shoes gems for ease of installation.
- shoes-dsl -- Code for the Shoes DSL. No direct UI rendering and will be reused with all future backends.
- shoes-swt -- The first Shoes backend, implemented in JRuby on the SWT library via the swt gem.
๐ Full style-setting functionality (element#style, setters, hash, app level) [56d91f8]
๐ Improvements (36)
- โก๏ธ Update SWT to 4.4 [536ffae]
- โก๏ธ Update packaging dependency to 0.2.0 now supporting rubyzip > 1.0 [c3dd289]
- ๐ Update all elements to use new style methods [1b76aa3, 29498d1, d569a77, e6eec90, 54e5edf, 1238977, 2dc222f, dbeffff, 25b2ec6, cb865a6, 49fa0a1]
- ๐ Update list of app level styles and partially fix rotate angle issues [2affdbb]
- Shoes application context improved to avoid conflicts between user-defined and shoes-defined methods. [732108a]
- Builtin methods are also available from the Shoes class [de37d59]
- #gray, #rgb and #gradient builtin methods [8f7ee92]
- โ Removed redrawing triggers after Dimension methods [61a55ba]
- Apply fraction from progress initialize [b241240]
- โก๏ธ Trigger redraw on hover/leave for slot and image update [ae5dfb5]
- Nobody Knows Shoes samples added [68e84e6]
- โ Add sample56 snapshot [e7eb0d3]
- โ Add scroll* methods to slots. Scrolling functionality not implemented yet. [6fb0e79]
- Click passes element, not coordinates to most blocks [78ecb23]
- ๐ Allow button calls without a button name [a315ef4]
- โ Add common #to_s and #inspect methods for DSL objects [350c4dc]
- Disposal for Images and Patterns. [ddcd9fb]
- ๐ Move Swt::TextBlock related classes to subdirectory. [226e03f]
- Revise TextBlock cursor to be more like other text functionality. [f016ee7]
- โก๏ธ Updated manual to show correct syntax for rect. [2fee530]
- App#parent method to show the parent of the slot currently evaled [48e811f]
- โ Add keypress to close app cleanly when running leak hunter and dispose of app-level resources. [af4d6bb]
๐ Bug Fixes (32)
- ๐ Fix running bin/shoes.bat from source [fe47075]
- ๐ Move shoes executable from shoes-dsl to shoes [92583e6]
- ๐ Fix for crash on empty link text [3da3159]
- Hide only the elements of a slot, not its parent contents [f2ea17c]
- ๐ Fix crash for Border when hiding [1c2ab74]
- Methods defined in widgets are available in URL instances [3a94afb]
- ๐ Make texts know their TextBlock and hence their visibility [7b4ea24]
- ๐ Non resizable apps can not be maximized (fixes resizable on mac) #872 [b08b215]
- ๐ Keypress#remove removes the keys listener and does not blow up [498588c]
- โ Run shape blocks with app as self [dbb0a46]
- ๐ When an element is removed or removed, cursor shouldn't change shape over that location. [918288f, 7fcd93a]
- Removing children from slot should trigger redraw [be35743]
- ๐ Fix for allowing widgets to use widget DSL methods [99d22e1]
- ๐ Fix for secret on edit lines [79c4c98]
- ๐ Fix crash computing height with hidden elements [41ebafe]
- ๐ Fix for unbounded height crash on centering [11fc3ae]
- ๐ Windows build requires shoes.bat from ext/install [232ec68]
- Reuse created fonts in the factory [7959bd8]
- Disposal of Shape SWT resources. [650365b]
- ๐ Fix for offsetting of second text segments [97fe79b]
- Consider relatively positioned elements for slot height [3e71126]
- ๐ Fix fatal exceptions in samples/simple-calc.rb [d53d588]
- ๐ Fix slot clearing [3697802]
- Don't clear top_slot when clear is called, clear current_slot [a57778c]
- Handling for text centering [87405f5]
- ๐ Fix common remove to allow removal of slots [c25df7e]
- Clear transform after painting each object, to avoid side effects on other painters [5a57ce3]
- ๐ Fix off by one error in slot positioning. [baee69a]
- Dispose of transform resources. [265600c]
- Only report start/end relative to the parent if there is one [c82e763]
- ๐ Links must be cleared on TextBlock#replace [4b90786]
Contributors (16)
Jason R. Clark, Eric Watson, Tobias Pfeiffer, KC Erb, Charles Chamberlain, George, Marcell Monteiro Cruz, Glenn Murray, Jason Clark, Tim Krajcar, glenn-murray-bse, KCErb, PeterWAWood, Suirtimed, ashbb, Carlos R Tirado