- Upgrade to SWT 4.30
- Upgrade to JDK 21
- Upgrade to JRuby 9.4.5.0 with Ruby 3.1 support
- Upgrade to Glimmer 2.7.4
- Avoid loading the entirety of facets when scaffolding or listing gems (speeding up performance of glimmer list and scaffold commands)
- Fix Mandelbrot Fractal sample on Windows as it crashes if run from within VirtualBox due to attempting to access Concurrent.physical_processor_count, which has been changed to Concurrent.processor_count
- Fix dimensions of Weather sample on Linux
- Upgrade to SWT 4.29
- Upgrade to JRuby 9.3.11.0
- Enable setting properties direclty on main code body
styled_text
component ofcode_text
by nesting properties underneath thecode
element (e.g.code_text { code { font font_options } }
)
- Upgrade to SWT 4.28
- Avoid displaying confusing "No such file or directory" message when scaffolding fails due to missing GitHub user configuration (by displaying a friendly message for when either GitHub user or Git user is missing)
- Upgrade to SWT 4.27
- Upgrade to jruby-9.3.10.0
- Fix an issue that prevented data-binding the
image
widget property using Shine syntax (e.g.image <= [model, :attr]
insidetool_item
)
- Upgrade to SWT 4.26
- Ensure that scaffolded custom widget (red label) uses SWT constants passed to custom widget
- Update sash form weights in Meta Sample for bigger monitors (give more space to code)
- Pass border to multi-line lists since it will not be included by default anymore given they are overridden with :multi SWT style
- Fix issue with Hello, Label! crashing because image width is getting passed as 0 and the new SWT 4.25 ImageData API rejecting it as not a valid argument
- Contact Manager Create Button and Table Delete Menu Item
- Make default table sorting behavior for strings case-insensitive
- Upgrade to SWT 4.25
- Upgrade to JRuby 9.3.8.0
- Upgrade to JDK 19
- Make
:edge
the default SWT style forbrowser
widget on Windows (Microsoft Edge Browser) - Fix Hello, Tool Bar! look in Linux
- Optimize
refined_table
sorting to avoid re-running upon navigating pages - Fix issue with
refined_table
sorting breaking page remembering behavior upon entering a filter query
- Optimize performance of
refined_table
in filtering (it now caches results and replays them) and pagination (it now remembers last query page and avoids refiltering when paginating on the same query value) - Improve
combo
selection
data-binding by auto-converting_options
values toString
before setting asItem
s oncombo
(e.g. in caseInteger
values were set like years)
- Support
refined_table
sorting (now clicking on headers sorts the entiremodel_array
collection, not just the visible rows) - Support
table
no_sort
attribute to disable sorting in general if needed - Fix issue with Tetris sample upon restart of game (WidgetProxy#shell_proxy method was failing for being disposed, now it retains a reference to parent that stays if disposed)
- Support
refined_table
:editable
SWT style andmodel_array
bidirectional data-binding - Update Hello, Refined Table! to allow editing the table
- Support
Glimmer::UI::CustomWidget
/Glimmer::UI::CustomShell
support forswt_style_symbols
read-only attribute to access array of SWT style symbols (works better thanswt_style
because some widgets support custom Glimmer-only SWT style symbols not originally supported by SWT)
- Support
refined_table
selection
data-binding - Remove extra horizontal/vertical margins in
refined_table
pagination area - Update Hello, Refined Table! to support booking a game with right-click pop up context menu
- Have
Glimmer::UI::CustomWidget
better delegate listners and data-binding observers to@children_owner
when set
- Fix issue with failed
table
extra property data-binding (e.g. foreground color, background color) due to asynchronous multi-threading optimization (now it works).
refined_table
filtering support- Ensure correct
refined_table
enablement of pagination buttons based on whether on first/last page or not - Display vertical scroll bar when setting
refined_table
per_page
to a height value that results in table exceeding screen height - Support
refined_table
nested elementsfirst_button {}
,previous_button {}
,page_text {}
,next_button {}
,last_button {}
to customize every widget within. - Support
refined_table
attributes for accessing nested elements:table_proxy
,first_button_proxy
,previous_button_proxy
,page_text_proxy
,next_button_proxy
,last_button_proxy
to customize every widget within.
- Optimize
table
data-binding performance (improving paging performance inrefined_table
) by making observer registrations run asynchronously in a separate thread - Fix cleaning of old
table
data-binding observers (it was retaining some old observers after table updates) - Fix issue with ActiveSupport overriding Facets String
underscore
/snakecase
/titlecase
/camelcase
methods with different incompatible implementations when loaded by a project (now, that is repaired automatically)
refined_table
custom widget with pagination support (and future filtering support)- Hello, Refined Table! sample demonstrating
refined_table
- Save
WidgetBinding
instances onWidgetProxy
objects viawidget_bindings
attribute - Support specifying
@children_owner
in any custom widget for which adding children will not add them under thebody_root
(e.g. a composite wrapping a table will designate the table as the@children_owner
for addingtable_column
s) - Add explicit
shell_proxy
method toGlimmer::UI::CustomWidget
that delegates tobody_root
to avoid annoying false negative error every time that method is called - Optimize
table
data-binding performance for single-model update scenarios - Fix issue with data-binding a table as the body root of a custom widget when customizing column_attributes
- Have
table
data-binding infer model attribute names from column names by convention (no need to specifycolumn_properties
) - Support
table
data-bindingcolumn_properties
mapping of column names to model attribute names via aHash
- Support
table
data-binding alias ofcolumn_attributes
in place ofcolumn_properties
because the word 'attribute' is more Ruby-idiomatic than 'property' in the Ruby world - Handle boundary condition of font height reaching 0 on repeated zoom out of
code_text
- Battleship Video Tutorial in Glimmer Meta-Sample
code_text
default behavior support of zoom in (CMD+= on Mac, CTRL+= on Win/Linux), zoom out (CMD+- on Mac, CTRL+- on Win/Linux), and restore original font height (CMD+0 on Mac, CTRL+0 on Win/Linux).
- Support
table
items
data-binding of table row cellbackground
,foreground
,font
,image
to model attributes by convention based on specifiedcolumn_properties
(e.g. forcolumn_properties
modelname
attribute, automatically assume modelname_background
provides[r, g, b]
array of color) - Update Hello, Table! sample to demonstrate data-binding
table
items
background
,foreground
,font
,image
to model attributes by convention, and to addbooked
attribute onBaseballGame
to disable Book button when already booked - Update Hello, Table! sample to add
booked
attribute toBaseballGame
to disable Book button when already booked - Update Hello, Table! sample to enable booking by hitting the ENTER keyboard button
- Optimize
table
data-binding performance by not recreating table-items when the table grows or stays at the same size, and by not updating a table item (row) when no changes have occurred (detect through diffing) - Update
font
keyword andFontProxy
to support lightweight creation/caching/sharing following Flyweight Design Pattern
- Default
code_text
font name in Mac is changed back to'Courier'
- Upgrade to jruby-9.3.7.0
code_text
can use external Rouge custom themes similar toext/rouge/themes/glimmer_dark
. When in Dark Mode, the specified custom theme must have the word 'dark' in its name to avoid forcing theglimmer_dark
theme instead as per default behavior.- Look for 'Monospace' and 'Liberation Mono' fonts on Linux if 'Courier' is not available
- Fix issue discovered in Red Hat Linux related to ImageExpression getting loaded before others and missing
require 'glimmer/dsl/parent_expression'
statement (issue does not happen in other operating systems that load classes in a different order)
- Fix mistake of changing all themes to dark themes in Hello, Code Text! (not it works just like before)
- Update
code_text
to support Dark Mode withglimmer_dark
theme, which is applied by default when app is run with OS in dark mode - Fix issue with
code_text
showing gibberish on Linux when Courier & Consolas fonts are not available. It will attempt to use the first Monospace font it finds now or otherwise stick to the default font. - Update Hello, Code Text! and Glimmer Meta-Sample to support Dark Mode
- Refactor Hello, Custom Widget! with on_widget_disposed thread cleanup code
- Refactor Hello, Custom Shell! to support keyboard display of emails by hitting ENTER/SPACE after selecting a table row
- Fix Windows freezing issue with warbler during packaging with the
glimmer package
command (caused by bundler included in JRuby on JDK18, fixed by installing latest bundler)
- Fix issue where you cannot call
tab_item_proxy.text
ortab_item_proxy.text = 'new text'
because itsswt_widget
is the containedcomposite
- Refactor Parking sample to clarify rotation details
- Fix
jar-dependencies
gem version to v0.4.1 in scaffolded applications to avoid issue encountered in newly released v0.4.2
- Upgrade to JRuby 9.3.6.0
- Speed up app scaffolding by dropping packaging from the scaffolding steps as there is no point in packaging an unfinished product
- Refactor/simplify Hello, Canvas Path!
- Update Hello, Canvas Data-Binding! to support quadratic bezier curves, cubic bezier curves, and Drag & Drop of endpoints / control points
- Fix issue with data-binding
quad
&cubic
path shapepoint_array
- Support declaratively setting shape data via
data
property - Update Hello, Canvas Drag and Drop! sample to set data in draggable shapes for a more sophisticated drag and drop example
- Refactor Game of Life sample
- Hello, Drag and Drop!, Hello, Canvas Drag and Drop!, and Game of Life Video Tutorials added to Glimmer Meta-Sample
- Upgrade to SWT 4.24
- Refactor/Improve the Hello, Cursor! sample
- Add Hello, Cursor! video tutorial to Glimmer Meta-Sample
- Improve convenience by making
sash_form
acceptorientation
with SWT style symbols directly (:horizontal
directly instead ofswt(:horizontal)
) - Improve convenience by making
sash_form
acceptmaximized_control
as Glimmer DSL for SWT widget proxy instead of low-level SWT widget (@label
instead of@label.swt_widget
) - Update Hello, Sash Form! to add Sash Color and simplify with new
sash_form
improvements
- Update initial tab folder width in Weather sample
- Add Help menu to scaffolded apps/gems with About menu item that used to be in the scaffolded File menu
- Fix names of icons generated for custom shell gems to get them picked up by the
glimmer package
command - Fix issue with shell not packing layout correctly on initial open (might be caused by the latest version of SWT under certain scenarios)
- Fix setting of Display app_name and app_version in scaffolded apps and custom shells
- Add Hello, Pop Up Context Menu! video tutorial to Glimmer Meta-Sample
- Add Hello, Menu Bar! video tutorial to Glimmer Meta-Sample
- Add Language & Country menus to Hello, Menu Bar!
- Fix "Last Name" label in Hello, Tree! (was a duplicate "First Name" by mistake)
- Switch order of buttons in Glimmer Meta-Sample to put Tutorial first
- Make Glimmer Meta-Sample pull list of tutorials from GitHub to avoid needing to update gem when adding new tutorials
- Upgrade to JRuby 9.3.4.0
- Upgrade to glimmer 2.7.3
- Add "Tutorial" button to Glimmer Meta-Sample to show Youtube Video Tutorial
- Add "Speed" menu to the Tetris sample
- Add "Show Next Block Preview" View menu item to the Tetris sample
- Document Glimmer::UI::Application alias for Glimmer::UI::CustomShell
- Upgrade to SWT 4.23
- Upgrade to JDK 18
- Fix issue whereby updating
string
property on thetext
/string
shape does not trigger a redraw on the shape because the text dimensions remained the same despite the change of content (e.g. switching fromstring
content of letterA
toS
results in the same dimensions) - Canvas Shape DSL graduated from Beta to Final
- Update all samples to match the GLIMMER_STYLE_GUIDE.md
- Update scaffolding code to match the GLIMMER_STYLE_GUIDE.md
- Address the warning regarding using Ruby singletons on Java objects (shows up when running
glimmer samples
) - Fix order of calling
require 'app_name/view/app_view'
in scaffolded app (must be last)
- Support
#content { }
onlayout_data
- Fix issue with data-binding
layout_data {exclude}
property using Shine<=>
syntax
- Snake elaborate sample
- Fixed
timer_exec(time_in_millis) {}
expresion
- Upgrade to glimmer 2.6.0
- Fixed issue of
"unsupported Java version "17", defaulting to 1.7"
when scaffolding an application
- Upgrade to JRuby 9.3.3.0 (supporting ARM64/AARCH64)
- Fix support for ARM64 on Mac
- Upgrade to glimmer v2.5.5, reusing newly added Glimmer::DSL::ShineDataBindingExpression
- Include .gladiator-scratchpad in scaffolded app/gem .gitignore
ShellProxy#center_in_display
as alias to#center_within_display
- Fix minor issue with Shape listener disposal
- Fix minor issue with Quarto not displaying help message box after game over
- New Quarto game sample: https://en.gigamic.com/game/quarto-classic
- Make Klondike Solitaire (sample) playing cards bigger to be more readable and make tableau slightly taller
- Update Hello, Custom Widget! sample with a custom listener example
- Optimize performance of
glimmer
command to be exactly as fast as usingjruby
directly by avoiding callingjgem
or loadingrake
/Rakefile
when not needed - Remove
logging
gem dependency, improving startup time (still available as an option as per docs/reference/GLIMMER_CONFIGURATION.md). - Ensure that setting both
Shape
drag_source true
anddrag_and_move true
results in the last one winning (they are mutually exclusive) - Default
text
shape to flags:[:draw_transparent, :draw_delimiter]
to handle newline delimiter correctly when sizing text extent automatically (e.g. when passing width/height 2nd/3rd args as:default
or not passing at all) - Remove
" - App View"
from shell title indesktopify
scaffolding mode - Remove SWT Chromium browser option since it is no longer supported by SWT.
- Support being able to hook listeners on a shape directly via Shape#on_event calls
- Support Shape#on_shape_disposed listener
- Automatic display listener disposal upon disposing a custom shape (for listeners defined in before_body/after_body of custom shape)
- Ensure deregistering drag & drop listeners from shapes with
drag_source=true
/drag_and_move=true
when they are disposed - Support
Shape#transform_point(x, y)
by applying currenttransform
to point (similar to existing opposite:inverse_transform_point
) - Look into forwarding options for
CustomShape#dispose(...)
tobody_root
Shape#dispose(...)
(e.g..dispose(dispose_images: true, dispose_patterns: true, redraw: true)
) - Fix Linux-only issue with JRuby 9.3.1.0 where GC#drawPolyline requires passing array of values calling array.to_java(:int) manually (it automatically converts array on other platforms and other versions of JRuby)
- Fix canvas drag and drop issue (edge case) with having multiple on drop handlers and one of them before the last one setting doit=false while a subsequent on_drop handler being able to handle the drop request but not getting a chance to
- Fix canvas drag and drop issue (edge case) with failing when dragging a custom shape by one of its deep children
- Fix slowdown issue that occurs with drag and drop in Klondike Solitaire after finishing a full game or multiple games (it seems something is accumulating in memory and slowing things down after a while.. ensure there is no caching residue relating to drag and drop)
- Upgrade to SWT 4.22
- Upgrade to JDK17
- Upgrade to glimmer 2.5.4
- Support new SWT 4.22
sync_call
keyword, which is likesync_exec
, but returns value of evaluating expression (thoughsync_exec
was already enhanced by Glimmer to return the expression evaluated value just likesync_call
) - More work regarding: Do not clean observers when disposing of a widget while closing the last shell (e.g. when closing an app, it is not needed to clean observers, so it is better to exit faster)
- Fix issue in Battleship sample caused by data-binding nil model, which is forbidden in glimmer 2.5.x
- Fix issue with closing Stock Ticker sample taking too long
- Hello, Scrolled Composite! sample
- Update gem
post_install_message
to clearly indicate that-J-XstartOnFirstThread
jruby option is needed on the Mac and is handled automatically with global configuration after runningglimmer-setup
.
- Upgrade to glimmer 2.5.1 to fix an issue with mistakenly referencing
OpenStruct
without'ostruct'
being loaded
- Demo file drag and drop in Hello, Drag and Drop!
- Make shapes added inside a widget with
:default
or:max
dimensions auto-resize as the widget resizes - Upgrade to glimmer 2.5.0
- Update Hello, Drag and Drop! to include
list
,label
,text
, andspinner
examples - Add manual and fully customizable drag and drop syntax alternatives to Hello, Drag and Drop!
- Support simpler drag and drop syntax (
drag_source true
/drop_target true
) for simple cases concerninglist
,label
,text
, andspinner
- Support Linux packaging of deb/rpm native executable installers (not just gems) through standard
glimmer package
call (e.g.glimmer package[deb]
orglimmer package[rpm]
) - Update
Glimmer::SWT::ImageProxy
implementation of image loading from JAR to useJRuby.runtime.jruby_class_loader.get_resource_as_stream(file_path).to_io.to_input_stream
- Remove scaffolding/packaging building/using of a generated Java
Resource
class - Force installing
gem 'psych', '3.3.2'
in scaffolded app as a temporary workaround topsych
issues with the latest jruby (jruby-9.3.1.0)
- Fix samples for Windows, espcially Hello, Cool Bar!, Hello, Tool Bar!, and Weather
- Fix down button for Tetris on Windows/Linux
- Fix pause menu item for Tetris
- Upgrade to jruby 9.3.1.0
- Upgrade to glimmer 2.4.0 (with better observing of array of arrays nested changes)
- Minor sample fixes for Linux: Tetris (down button now works), Hello, Scale! (now fits horizontally), and Hello, Slider! (now fits horizontally)
- Adjusted minimum size of Meta-Sample to allow more shrinking (
minimum_size 640, 384
) - Do not clean observers when disposing of a widget while closing the last shell (e.g. when closing an app, it is not needed to clean observers, so it is better to exit faster)
- Updated default width for
shell
to190
(was130
before)
- Upgrade to SWT 4.21
- Upgrade to JDK 16.0.2
- Upgrade to JRuby 9.3.0.0
- Update packaging to rely on JDK 16
jpackage
(instead of older JDK 8javapackager
) - Renamed
Glimmer::RakeTask::Package.javapackager_extra_args
toGlimmer::RakeTask::Package.jpackage_extra_args
to match the name ofjpackage
in JDK 16 - Change
package/[os]
scaffolding placement for packaging icons intoicons/[os]
to accomodate Java 9 Module security for icon retrieval from within a JAR
- Upgrade to glimmer 2.1.5
- Fix issue with not tying observer registrations to custom widgets correctly automatically
- Updated Hello, Text! sample to have a no-border
text
widget
- Fixed
widget#print
support and Hello, Print Dialog! handling of cancellation of printing
- Glimmer Clock elaborate sample
- Hello, Print Dialog!
- Hello, Print!
widget#print
method that automates work in Hello, Print Dialog! and is used in Hello, Print!
- Hello, Toggle!
- Upgrade to Glimmer 2.1.1
- Correct Hello, Slider! sample class name
- Extract ObserveExpression into Glimmer
- Upgrade to Glimmer 2.1.0
- Change
arrow
widget default SWT style to include:down
- Hello, Arrow! sample
- Hello, Slider! sample
- Fix issue with setting app name (via
Display.app_name=
) when app is not packaged (always gets set to Glimmer) - Fix Hello, Custom Shell! sample
- Battleship elaborate sample
- Connect 4 elaborate sample
- Parking elaborate sample
- Support shape contain?/include? when a transform (e.g. rotation) is applied
- Fixed issue with dragged shapes having
drag_source true
not going back to original position when not dropped in a target if they were part of a composite shape
- Conway's Game of Life elaborate sample
- Update Glimmer Style Guide, scaffolding, and samples to have
before_body
andafter_body
in custom widgets/shells/shapes always take ado; end
block since they contain logic not visuals
- Update Klondike Solitaire to have playing card suit symbols and avoid clipping of cards on the boundaries
- Glimmer Klondike Solitaire elaborate sample
- Support accepting ImageProxy objects in Canvas Shape DSL (not just image paths)
- Fix issue in ImageProxy not flattening args before selecting file path
- Ensure a dragged shape can be dropped back into a parent it originally belonged to without it counting as a drop into itself.
- Add set_data and get_data to Glimmer::UI::CustomShape, which proxies calls to body_root
- Fix issue occurring with shape drag & drop when the dragged shape is a drop target too, thus getting dropped back to itself.
- Improved shape drag and drop checking for inclusion in drop target when there are multiple drop targets
- Fix issue regarding
nil
calculated_width/calculated_height encountered in Shape#contain?
- Support
drop_event.doit = false
to deny dropping and move dragged shape back to where it was
- Supporting having a
drag_source
that is dragged and not dropped at a target go back to its original position - Fix issue of dragged shape getting obscured by ensuring that it is rendered on top of all other shapes
- Fix issue with shapes obscured by shapes on top of them getting preference when dragged (surprising behavior). Now, the top-most shapes get dragged first if they overlap with others.
- Shape
drag_and_move true
property to make shapes movable via dragging - Shape
drag_source true
andon_drop {|event| }
built-in support for drag and drop - Refactor Hello, Canvas Drag and Drop! to use new Shape built-in support for drag and drop
- Update Hello, Shape! to take advantage of shape listeners (on mouse click, change color)
- Make Custom Shapes support on_event listeners just like Shapes
- Update Hello, Custom Shape! to take advantage of custom shape listeners (on mouse click, change color)
- Make Shape listeners check inclusion against all sub-shapes
- Refactor Hello, Canvas Drag & Drop! sample to use composite shapes (e.g. ball containing a ball border)
- Hello, Canvas Drag & Drop! sample
- Canvas Shape Listeners: on_mouse_up, on_mouse_down, on_mouse_move, on_drag_detected
- Make scaffolding not generate an empty () after shell
- Hello, Canvas Shape Listeners! Sample
- Make scaffolded app project use bundler optionally only and still load glimmer-dsl-swt otherwise, like in gem-packaged mode (
glimmer package:gem
) to avoid erroring out about bundler.
- Shape
#center_x
/#center_y
methods to identify a shape's center point - Shape
#rotate
method to rotate around center point
- Fix issue "Resolve 'NameError: uninitialized constant Glimmer::DataBinding' on Windows" #9 (originally in AMaleh#1)
- Hello, Scale! sample.
- Support noun alternatives for
Canvas Transform DSL
operations:multiply(&block)
=>multiplication(&block)
invert
=>inversion
rotate(angle)
=>rotation(angle)
translate(x, y)
=>translation(x, y)
- Fix issue with not being able to use :default x/y location with composite/custom shapes containing lines
- Canvas animation fps/frame_rate property to set frames-per-second rate of rendering (alternative to every)
- Support data-binding Animation
duration_limit
property - Improve support of Animation
duration_limit
property in recognizing when an animation is finished - Added duration limit to Hello, Canvas Animation! sample
- Add Canvas Animation DSL #finished, #finished?, #finished= properties
- Update Hello, Canvas Animation! (formerly had Data Binding suffix)
- Update Hello, Canvas Animation Multi! (formerly did not have Multi suffix)
- Canvas Animation DSL: support parallel animations per canvas (running along canvas static shapes too)
- Identify trimmed Canvas Shape DSL attribute
fill_rule
styles withoutfill_
prefix - Identify trimmed Canvas Shape DSL attribute
line_cap
styles withoutcap_
prefix - Identify trimmed Canvas Shape DSL attribute
line_join
styles withoutjoin_
prefix
- Fix issue with Namespace is required always showing up when buildling a custom widget gem or custom shape gem
- Relax glimmer-dsl-swt version number when scaffolding custom shape/widget/shell gems. Keep it strict for app development.
- Explicit support for
tray_item
keyword as nested undershell
, havingmenu
nested undertray_item
, automating everything relating to using SWT TrayItem (no need to work with the Display System Tray or Menu objects manually). - Hello, Tray Item! Sample
- Hello, Label!
- Ensure a
table
with:editable
style loses it ifitems <= ...
one-way data-binding (having read_only: true option) was setup. - Tweak/refactor/improve samples
- Extracted Shine data-binding syntax and
BindExpression
to Glimmer 2
- Shine data-binding support for
custom widgets
,custom shells
, andcustom shapes
- Update remaining samples with
bind
keyword to switch to Shine data-binding syntax - Switch scaffolded classes' data-binding to Shine
- Fix
table
Shine syntax support for unidirectional (one-way) data-binding
- Shine data-binding support for
animation
(also supporting#content {}
method inAnimation
) - Update Hello, Custom Shell! to use Shine data-binding syntax
- Fix
table
automatic sorting support when using one-way Shine data-binding syntax (which was disabling reads)
- Shine data-binding syntax support for
tree
widget - Use Shine syntax in Hello, Tree! sample
- Shine data-binding syntax support for
table
widget - Use Shine syntax in Hello, Table! and Contact Manager samples
- Hello, Text! sample
- Timer elaborate sample (copied and simplified from external sample)
- Calculator elaborate sample (copied and simplified from external sample)
- Fixed issue relating to cleaning up display listeners
- Weather elaborate sample
- Hello, Shell! sample
- Hello, Tool Bar! sample
- Hello, Cool Bar! sample
- Hello, Composite! sample
- Hello, Layout! sample
- Removed inclusion of Glimmer module in scaffolded App class since it is no longer needed with relying on SomeCustomShell.launch method
- Upgrade to SWT 4.20, supporting AARCH64 experimentally
- Upgrade to JRuby 9.2.19.0
- Shine syntax for data-binding
- Tweak/Fix Samples
- Fixed issue with Meta-Sample code editing not showing changes properly (although recording them)
- Stop Mandelbrot Fractal sample background calculation when its custom shell is closed
- Upgrade to JRuby 9.2.17.0
- Fix Hello, C Tab! sample not showing flags on Windows
- Fix Stock Ticker elaborate sample non-scrolling and clipped stock names on Windows
- Upgrade to SWT 4.19
- Upgrade to JRuby 9.2.16.0
- Speed up glimmer command startup time by not spawning a jruby a second time for handling Mac-specific options (cutting down glimmer app startup time to half)
- glimmer-setup command configures
glimmer
andgirb
for the Mac with-X-JstartOnFirstThread
in aJRUBY_OPTS
environment variable - Switch all scaffolded models/views to
Model::
andView::
namespacing instead of the namespaceless 'models' and 'views' directories (new scheme was originally introduced in the Tetris sample) - Make sure that scaffolded shell/app uses new custom shell built-in
.launch
method instead of custom written.open
method - Make
scaffold:desktopify
generated app window shell fill the screen by default - Support
c_tab_folder
andc_tab_item
- Support
c_combo
(org.eclipse.swt.custom.CCombo
SWT widget) data-binding - Hello, CCombo!
- Hello, C Tab!
- Shape#clear_shapes just like that of Drawable in WidgetProxy
- Set default background of
rgb(230, 230, 230)
on sash_form to make it more spottable to resize the sash - Fix issue with processing arguments for the
glimmer package
command. - Fix mandelbrot fractal sample on Windows (added missing
jruby-win32ole
gem for use withconcurrent-ruby
gem) - Fix this
glimmer package
message, which comes out even with the right Java version:WARNING! Glimmer Packaging Pre-Requisite Java Version 1.8.0_241 Is Not Found!
- Upgrade to glimmer v1.3.0
- Handle
code_text
encountering errors in adding observation request - Always notify widget binding observer on
async_exec: true
data-bindings
- Update the Hello, Code Text! sample to use data-binding
- Upgrade
puts_debuggerer
gem dependency to version 0.12.0 - Fix issue with
code_text
data-binding
- Update
ImageProxy
with missing methods#size
,#parent_proxy
, and#parent
, needed for a better "Shapes in an Image" support.
- Add
glimmer scaffold:customshape[name,namespace]
command - Add
glimmer scaffold:gem:customshape[name,namespace]
command - Add
glimmer list:gems:customshape[keyword]
command - Support automatic inference of
fill: true
forpath
just like other shapes - Support
filled: true
alternative forfill: true
Canvas Shape DSL option - Fix issue with having to pass base_color to
bevel
custom shape in Tetris before data-binding instead of data-binding being sufficient
- Support the ability for nested shapes to override their parent
shape
common shared properties - Refactor Tetris to use a custom shape (
bevel
) for its blocks given they are used in both the game and the icon, thus achieving code reuse - Fix issue with moving filled polygon (moving drawn polygon works)
- Enable defining custom shapes with direct args just like basic shapes (alternative to using keyword arg options)
- Fix interpretation of
:max
/:default
width
/height
values in Canvas Shape DSL
- Hello, Canvas Animation Data Binding! Sample
- Metronome Elaborate Sample
- Update Hello, Spinner! Sample to data bind a Thank you message to selected value
- Support direct use of the
shape
keyword as a shape composite that could contain other shapes and shares common attributes (e.g. background color) with all of them - Hello, Shape! Sample (implements a method-based custom shape containing other nested shapes)
- Support custom shapes via including the Glimmer::UI::CustomShape module to add new shape keywords to the Glimmer GUI DSL / Canvas Shape DSL, representing shapes composed of a group of nested shapes (e.g.
car
shape representing a group of nestedpolygon
shapes) - Hello, Custom Shape! Sample (redoes Hello, Shape! with the use of a class-based custom shape)
- Support :max value for Canvas Shape DSL width and height, meaning fill up parent (useful for using rectangles as borders)
- Upgrade to glimmer v1.2.0
- Support
Glimmer::SWT::Custom::Shape::PathSegment#dispose
method - Amend Hello, Canvas Path! sample with ability to regenerate paths
- Make
tab_folder
preinit all its tabs by default while supporting the SWT style of:initialize_tabs_on_select
to init tabs on first select instead. - Support trimming line style symbols (no need to say line_ before each style. e.g.
:line_solid
becomes:solid
) in Canvas Shape DSL line_style property - Support
antialias true
as an alternative toantialias :on
,antialias false
as an alternative toantialias :off
, andantialias nil
as an alternative toantialias :default
- Hello, Canvas Data Binding! Sample
- Update Stock Ticker sample to keep stock names visible when scrolling graphs off the screen
rgb
keyword tolerance of nil values (converts to 0)- Canvas Path DSL Data-Binding
- Added
Glimmer::SWT::Custom::Shape::PathSegment
#path
and#root_path
API methods to enable determining what path/root-path the path segment is part of. - Fixed issues with geometry calculation of path segments (especially line)
- Fixed issues with Canvas Path DSL handling of connected vs non-connected path segments (including in geometry calculations)
- Optimized Canvas Path DSL redraw performance by removing extra redraws
- Fixed issues in the Hello, Canvas Path! sample and renamed to Stock Ticker
- Added a new simpler Hello, Canvas Path! sample
- Canvas Path DSL support (Alpha) for
path
as drawn or filled (fill: true
) to the Canvas Shape DSL, supportingpoint
,line
(first point is auto-derived from previous point if not specified) - Hello, Canvas Path! sample showing a Stock Ticker with line curves for multiple company stocks, animated with randomly generated data, moving to the left out of screen second by second. Has multiple tabs demonstrating different types of paths for graphing/charting of different real world business applications: point, line, quad, cubic.
- Fix issue to allow invocation of
set_min_size
off ofscrolled_composite
proxy directly (not just swt_widget), thus taking advantage of implicitauto_exec
- Support
Shape#content {}
method just likeWidgetProxy#content
to enable reopening and adding nested shapes at runtime after initial construction - Support a path containing a
quad
bezier curve withpoint_array
property - Support a path containing a
cubic
bezier curve withpoint_array
property
- Automatically recalculate default size (width/height) to accomodate nested shapes when changing x/y/width/height sticking out of parent from right or bottom.
- Support special case of centering a nested shape with default x/y within a parent with default width/height calculated from nested shape
- Consider Canvas Shape DSL support for LineAttributes
line_dash_offset
andline_miter_limit
- Canvas Shape DSL Polygon
include?
does an outer/inner check of edge detection only - Ensure all Canvas Shape DSL properties are restored upon painting a shape to what they were prior to painting that shape
- Fix issue with bringing high score dialog up in Tetris caused by latest dialog changes for supporting the new
color_dialog
andfont_dialog
- Support passing width, height as :default (or nil or not passed in if they are the last args) in all shapes that include other shapes to indicate they are calculated automatically from nested shapes, text/string extent, or otherwise defaulting to 0, 0
- Support [:default, width_delta], [:default, height_delta] attributes for width and height, which add/subtract from defaults used for shape
- Switch from use of
:default
with x_delta/y_delta to passing[:default, x_delta]
or[:default, y_delta]
(e.g.image(file, [:default, -30], :default)
for x = default - 30 and y = default + 0) - Support a bounding box for all shapes, implementing
#bounds
(x, y, width, and height) and#size
(width, height) for the ones that don't receive as parameters (like polygon)
- Support nesting shapes within shapes, with relative positioning (meaning x, y coordinates are assumed relative to parent's x, y in nested shapes)
- Support passing x, y coordinates as :default (or nil or not passed in if they are the last args) in all shapes, meaning they are centered within parent taking their width and height into account
- Support default_x_delta, y_delta attributes, which add/subtract from defaults used for shape
- Support checking if an
arc
shape accurately includes a point x,y coordinates within pie region only - Support checking if an
oval
shape includes a point x,y coordinates in oval region only (not its rectangular region) - Support checking if a
focus
shape includes a point x,y coordinates - Support checking point inclusion differently in drawed vs filled Rectangle (only check the drawn border when not filled)
- Support checking point inclusion differently in drawed vs filled Oval (only check the drawn border when not filled)
- Support checking point inclusion differently in drawed vs filled Arc (only check the drawn border when not filled)
- Support
#include?(x, y)
and#contain?(x, y)
methods intext
shape - Fix point inclusion check for polyline
- Fix issue with
polygon
check if it includes a point x,y coordinates (replace with availablejava.awt
robust geometry algorithms) - Fix issue with transforms not working after the latest changes
- Hello, Color Dialog! Sample
- Hello, Font Dialog! Sample
- Handle SWT RGB color data objects when setting colors on widgets (e.g. background)
- Enhance Hello, Canvas! with Color selector via right-click menu
- Fixed issue with tree multi selection throwing an exception
- Automatic
sync_exec
usage from threads other than the GUI thread, thus absolving software engineers from the need to usesync_exec
explicitly anymore. auto_exec
keyword to automatically usesync_exec
with SWT code when needed (running from a thread other than GUI thread)- Implement
sync_exec:
option inbind
keyword with table, tree, combo, and list data-binding (other data-binding types than the standard) - Add
async_exec
option tobind
keyword (coveringdata_binding_expression.rb
withasync_exec
properly) - Support tree multi-selection data-binding
- Hello, Tree! sample
- Enhance Hello, Canvas! with Shape Movement
- Add Jars.lock to scaffold .gitignore file
- Add Glimmer::GUI alias for Glimmer::UI module, thus permitting inclusion of Glimmer::GUI::CustomWidget, Glimmer::GUI::CustomShell, and Glimmer::GUI::CustomWindow
- Provide a quick method for grabbing all available cursor/color options off of SWTProxy (SWTProxy.cursor_options, SWTProxy.cursor_styles, SWTProxy.color_options, SWTProxy.color_styles)
- Remove explicit git gem dependency given that it is installed via juwelier during scaffolding and is not needed otherwise
- Support partial image shape drawing by passing source and destination dimensions to
image
shape [documented in docs] - Support alternate Canvas Shape DSL syntax for
image
by passing nested properties - Canvas Shape DSL argument data-binding support for
image
- Support alternate Canvas Shape DSL syntax for
rectangle
by passing nested properties - Canvas Shape DSL argument data-binding support for
rectangle(x, y, width, height, fill: false)
standard rectangle, which can be optionally filled - Canvas Shape DSL argument data-binding support for
rectangle(x, y, width, height, arcWidth = 60, arcHeight = 60, fill: false, round: true)
round rectangle, which can be optionally filled, and takes optional extra round angle arguments - Canvas Shape DSL argument data-binding support for
rectangle(x, y, width, height, vertical = true, fill: true, gradient: true)
gradient rectangle, which is always filled, and takes an optional extra argument to specify true for vertical gradient (default) and false for horizontal gradient - Canvas Shape DSL argument data-binding support for
arc(x, y, width, height, startAngle, arcAngle, fill: false)
arc is part of a circle within an oval area, denoted by start angle (degrees) and end angle (degrees) - Canvas Shape DSL argument data-binding support for
focus(x, y, width, height)
this is just like rectangle but its foreground color is always that of the OS widget focus color (useful when capturing user interaction via a shape) - Canvas Shape DSL argument data-binding support for
line(x1, y1, x2, y2)
line - Canvas Shape DSL argument data-binding support for
oval(x, y, width, height, fill: false)
oval if width does not match heigh and circle if width matches height. Can be optionally filled. - Canvas Shape DSL argument data-binding support for
point(x, y)
point - Canvas Shape DSL argument data-binding support for
polygon(pointArray, fill: false)
polygon consisting of points, which close automatically to form a shape that can be optionally filled (when points only form a line, it does not show up as filled) - Canvas Shape DSL argument data-binding support for
polyline(pointArray)
polyline is just like a polygon, but it does not close up to form a shape, remaining open (unless the points close themselves by having the last point or an intermediate point match the first) - Canvas Shape DSL argument data-binding support for
text(string, x, y, flags = nil)
text with optional flags (flag format isswt(comma_separated_flags)
where flags can be :draw_delimiter (i.e. new lines), :draw_tab, :draw_mnemonic, and :draw_transparent as explained in GC API) - Update Hello, Button!, Hello, Table! sample, Hello, Checkbox Group! sample, Hello, Radio Group! sample, Hello, Combo! sample, Hello, List Single Selection! sample, Hello, List Multi Selection! sample to utilize a CustomShell
- Refactor all samples to rely on Glimmer::UI::CustomShell given its new class launch method for productive app declaration
- Fix issue with logging remaining async in debug mode
- Fix issue with combo, list, radio group, and checkbox group not supporting nested data-binding
- Support creating images pixel by pixel with
image(width, height) {|x,y| [r, g, b]}
keyword, which takes a block with x, y coordinates based on the image width and height and returns a pixel foreground color per point - Add proper indentation in code_text upon hitting ENTER
- Reset Canvas Shape DSL alpha value to 255 when not explicitly set on a shape (Apply in Hello, Canvas! Sample)
- Provide terse syntax for building canvas objects (autodetecting its width and height)
- Provide terse syntax for building
:image_double_buffered
canvas objects (autodetecting its width and height): - Center mandelbrot where mouse is clicked upon zoom
- Fix issue with Mandelbrot sample off by one error on Cores selected via Menu
- Fix use of on_events in code_text widget with lines mode true
- Hello, Progress Bar!
- Alias shell as window, Glimmer::UI::CustomShell as Glimmer::UI::CustomWindow, on_shell_xyz events as on_window_xyz events, and :shell_trim SWT style as :window_trim SWT Glimmer custom style
bind
option ofasync_exec
orsync_exec
(e.g.bind(model, :property, async_exec: true)
) to perform GUI updates from another thread safely- Show progress bar for Mandelbrot calculation
- Mandelbrot Cores menu options to switch the number of CPU cores being used for calculation on the next zoom calculation cycle
- Hello, Cursor! Sample
- Log errors that occur in widget event listener blocks to help with troubleshooting
- disposed? method for Shape objects
- Add
dispose_images: false, dispose_patterns: false
options toShape#dispose
to avoid disposing images/patterns when needed - Mandelbrot background thread pre-calculation of future zoom levels
- Mandelbrot menu bar menu items
- Mandelbrot panning via scrollbars or dragging
- Make
image
a top-level expression keyword - Default placing image on Canvas at coordinates 0, 0 if they are not specified (e.g. canvas {image some_image})
- Support passing in color args directly to the
pixel
keyword as an rgb value array without using thecolor
/rgb
keyword, to improve performance for large pixel counts - Support Image Double Buffering by nesting an
image
built from shapes within acanvas
- Shrink image of baseball background for Hello, Table! Sample to reduce the glimmer-dsl-swt gem size (recently bloated)
- Fix issue with closing a canvas shell with pixel graphics freezing temporarily for a long time while disposing shapes
- Fix issue with disposing
image
having shapes
- Fixed issue with Tetris breaking with the latest Canvas Shape/Animation DSL performance optimizations
- Mandlebrot Fractal Elaborate Sample
- Optimize Canvas Shape/Animation DSL performance by combining multiple shapes in a single paint listener
- Memoized attribute-to-SWT-property-method-name translation
- Support a
pixel
static expression that is an optimizedpoint
, which takes a foreground hash property to bypass the dynamic DSL chain of responsibility
- Added double_buffered SWT style as default for
canvas
widget to ensure smooth animations - Officially support
timer_exec
keyword to execute code asynchronously after time has elapsed - Added
disposed?
guard to animation frames regarding parent widget for extra safety if a widget was disposed in the middle of an animation - Auto-Dispose observers declared inside custom widgets and custom shells (during their construction with before_body or after_body) with the observe keyword.
- Refactor Tetris sample to remove observer deregister calls now that they happen automatically
- Ensure code_text line numbers text font matches that of the actual styled_text widget
- Use after_read data binding option to update top pixel in code text line numbers after updating text (ensuring top_pixel remains in sync after text changes)
- Remove unnecessary image copies in hello canvas transform and meta-sample samples
- Fix flashing issue when using ShellProxy#pack_same_size on Windows
- Double buffer Hello, Canvas Animation! Sample to remove flickering
- Tetris - Added
:double_buffered
SWT style for Tetris Playfield and Block to avoid rendering flicker on Windows - Tetris - Substituted command key with control on Windows/Linux to make Tetris menu shortcuts work (e.g. CTRL+P pauses)
- Tetris - Workaround for Windows issue with tetromino down invisibility upon holding down arrow key (now holding down does only one down)
- Remove Tetris Clear button from High Score dialog (since it is available via menu and is rarely used)
- Make right control button rotate right with Tetris
- Avoid adding the widget listeners for read_only data-binding (instead of just relying on ModelBinding raising exceptions)
- Clean up the meta sample code_text style by removing root composite margins/spacing
- Made background for top label of Hello, Table! transparent for Windows
- Fix
glimmer samples
command and Meta-Sample on Windows - Fix Tetris on Windows
- Fix Hello, Canvas on Windows
- Fix Hello, Canvas Transform when launched from
glimmer samples
- Fix Table editing write_on_cancel option use on Windows
- Fix issue with adding content to the end of a styled text widget breaking line number scrolling
- Fix issue with code_text not showing line numbers for extra new lines at the end
- Support data-binding of
code_text
with lines enabled. - Upgrade the Glimmer Meta-Sample with code_text lines: {width: 2}
- With code_text lines enabled, support setting/data-binding properties on root composite via nesting
root { }
underneath - With code_text lines enabled, support setting/data-binding properties on line numbers styled text widget via nesting
line_numbers { }
underneath - Update the Hello, Code Text! sample to remove borders and line numbers background in the JavaScript example
- Fix issue with updating layout upon later reopening layout/layout data via
proxy.content {}
method
- Extract line numbers part of text_editor widget from Gladiator into Glimmer code_text and make it an option (e.g. lines: true or lines: {width: 4})
- code_text support select all via CMD+A
- code_text support end of line via CTRL+E and beginning of line via CTRL+A
- Support automatic inferrence of Canvas Shape DSL gradient option (just like fill option)
- Support automatic inferrence of Canvas Shape DSL round option (just like fill option)
- Add a background image to Hello, Table! Sample + font/color changes
- Make Canvas patterns auto-reused and auto-disposed when canvas is disposed
- Make Canvas images auto-dispose themselves when canvas is disposed
- Update Hello, Code Text!
- Change Glimmer Tetris Sample up arrow default to rotate left
- Fix issue with "undefined method lex for nil:NilClass" in
code_text
- Add
write_on_cancel: true
option for TableProxy#edit_table_item to make cancel behave just like save for special cases where you cannot cancel except the edit mode itself - Make code_text custom widget support multiple code languages via
language: 'java'
option - Make code_text custom widget support multiple themes via
theme: 'github'
option - Hello, Code Text! Sample
- Fix issue with High Score Dialog in Tetris Sample not sorting by scores correctly (string compare instead of numeric compare) until first game is completed
- Fix issue with setting date geting rejected in
date_time
for month or day being incompatible with the year/month/day combo
- Support building Image objects with the Glimmer Canvas Shape DSL
- Tetris build icon image in-game by nesting Glimmer Shape DSL syntax
- Canvas Make shapes auto-fill if you specify a background only (no need to say fill: true) or not fill if you specify a foreground only
- Tetris option to switch Up Arrow between Instant Down, Rotate Right, and Rotate Left
- Support Table data binding read_only_sort: true option to allow visual sorting without affecting model data
- on_quit to
- Tetris Add lines and level to High Score Dialog
- Tetris Immediate Drop on Arrow Up
- Tetris Pause on showing High Score Dialog
- Tetris Make High Scores -> Show a check menu item
- Tetris Disable pause button upon showing High Score Dialog
- Fix Quit Tetris CMD+Q shortcut by adding on_quit event to display
- Tetris Fix escape button upon entering high score name
- If WidgetBinding encounters a disposed widget, it deregisters all observables that it is observing
- Tetris High Scores
- Tetris Modify High Score Player Name
- Tetris Show High Scores (Menu Item + Accelerator)
- Tetris add a menu item with beep enablement option
- Tetris Clear High Scores
- Tetris Add left and right alt (option) buttons as alternative to shift for rotation. Use left ctrl as rotate left. Use a, s, d as left, down, right.
- Fix issues relating to setting parenthood with custom widgets before building their body (instead of after)
- Fix issues relating to not respecting arity of passed in table editing callbacks: before_write, after_write, and after_cancel
- Provide an auto_sync_exec all data-binding config option to automatically sync_exec GUI calls from other threads instead of requiring users to use sync_exec on model attribute-change logic. Default value to false.
- Have CustomShell::launch method take options to pass to custom shell keyword invocation
- Update Glimmer Meta-Sample to load entire gem into user directory (since some new samples rely on images)
- Update Glimmer Meta-Sample to display errors in a
dialog
instead of amessage_box
to allow scrolling - Removed newly added CustomShell::shutdown as unnecessary (could just do CustomShell::launchd_custom_shell.close)
- Supporting deregistering Display listeners just like standard listeners via deregister
- Enhance performance of excluded keyword check
- Remove CustomWidget support for multiple before_body/after_body blocks instead of one each since it is not needed.
- Add new :fill_screen style for
shell
to start app filling the screen size (not full screen mode though) - Tetris Menu Bar with Game Menu -> Start, Pause, Restart, and Exit
- Tetris refactor mutation methods to end with bangs
- Tetris Stop game if user does not play again in the end (instead of closing it)
- End Tetris Thread loop gracefully if game over is encountered
- Tetris use more observers instead of callbacks to Game
- Turn Tetris::Model::Game class from a singleton class to a standard class supporting instances
- Fix issue of
tetris
keyword not found when run from meta-sample app
- Canvas Transform DSL (DSL declared Transform objects are auto-disposed after getting used by their parent shape)
- Canvas support a top-level Transform DSL fluent interface for methods that use Transform arguments manually (e.g. tr1 = transform.rotate(90).translate(0, -100))
- Hello, Canvas Transformation!
- ColorProxy args now are automatically fit into 0..255 bounds upon use of the
color
/rgb
/rgba
keywords - Canvas Shape DSL (Property) Data-Binding support (No Argument Data-Binding support yet)
- Add a more bevel 3D look to Tetris blocks
- Use flyweight pattern with colors
- Use flyweight pattern with widget classes
- Use flyweight pattern with custom widget classes
- Optimized performance of Canvas Shape DSL
- Optimized performance of Tetris game
- Fixed issue with top-level sync_exec/async_exec use randomly bombing
- Tetris scoring
- Tetris eliminated Line tracking
- Tetris level tracking and speed-ups
- Tetris preview upcoming tetromino shape
- Added parent_proxy to CustomWidget and CustomShell classes
- Update CustomShell#center and ShellProxy#center to center_within_display to avoid clash with
row_layout
center property - Fixed issue with shell/dialog/custom-shell not maintaining parent when not passed
- Fix Tetris sideways edge detection
- Added Tetris Elaborate Sample
- Added support for CustomShell
::launch
and::shutdown
class methods to treat a top-level custom shell as a self contained launchable app (saving you from writing boilerplate code for launching Glimmer applications)
- Fixed issue with processing shape color due to missing Color class package name
- Ensure drawing image works in Shape DSL
- Support passing image as simply an image path or image proxy to Shape DSL image method
- Canvas animation start method (useful if animation had a frame count limit or cycle count limit and needed to be started again after it stopped)
- Canvas animation stop method
- Canvas animation restart method (restarts from frame 1)
- Canvas animation started? # meaning it is animating
- Canvas animation stopped? # meaning it has stopped animating
- Canvas animation duration_limit option
- Make gradient/round rectangles in Shape DSL receive an option of
gradient: true
andround: true
instead of prefix - Canvas Shape DSL support for Background/Foreground Pattern (NOTE: not extensively tested yet)
- Canvas Shape DSL smart defaults for background/foreground depending on shape being drawn
- Canvas Shape DSL smart defaults for fill option depending on shape being drawn
- Added fallback font "Courier" for
code_text
widget when "Consolas" is not available.
- Add smart defaults for round rectangle angles (defaults to 60 degrees angles)
- Add smart default for gradient rectangle vertical option
- Small update to Hello, Canvas! Sample
- Convert SWT style symbol to SWT style integer if method takes integer but receives a symbol (or string)
- Make polygon not require [] for its array args
- Allow cycle to receive splatted array as varargs
- Change references to
Display.setAppName
andDisplay.setAppVersion
toDisplay.app_name =
andDisplay.app_version =
- Default Glimmer app name to "Glimmer" (instead of previous "SWT") unless
Display.app_name = "Somename"
is set by consumer before instantiating first display - Set default background to system widget background default for fill shapes
- Set default foreground to black for draw shapes
- Fix issue with shapes always requiring a block (even an empty one) to render
- Fix issue with animation requiring changes to canvas directly in addition to shapes
- Fix issue with
glimmer list:gems:dsl
command - Fix issue with scaffolding still depending on git-glimmer despite being merged back to git gem
- Canvas Shape DSL
- Hello, Canvas! Sample
- Animation DSL
- Hello, Canvas Animation! Sample
- Fixed issue with async_exec not working in ShellProxy when delegate widget is nil
- Minor update on Hello, Dialog! Sample
- Upgrade to glimmer v1.0.7
- Hello, Dialog! Sample
- Added Glimmer icon to Glimmer Meta-Sample (Sample of Samples)
- Upgrade Scaffolded projects to JRuby v9.2.14.0
- Switch back to official git gem v1.8.1 now that glimmer-git gem branch is merged into it
- Fix issue with not reporting exception encountered in editing a tree item if consumer code had a bug
- Upgrade to SWT v4.18
- Upgrade to JRuby v9.2.14.0
- Apply all WidgetProxy property converters upon normal setting of properties too (not just in DSL) (like
some_widget.background = color_symbol
) - Update Hello, Menu Bar! sample to show accelerators on menu items
- Have the
swt
keyword (SWTProxy) support accepting a string character (to build an accelerator style) - Make accelerator property accept symbols and character directly (without swt)
- Write meta-sample changes to user directory to avoid permission issues
- Zero margin_left, margin_right, margin_top, margin_bottom in layouts given that margin_width and margin_height are set by default
- Prevent editing/launching meta-sample from Glimmer Meta-Sample
- Fix enablement on
menu
(as opposed to menu_item, where it works) - Fix issue relating to background image scaling on resize of widget
- Support editing sample code in the Glimmer Meta-Sample to enable experimentation and learning
- Add a "Reset" button to the Glimmer Meta-Sample to allow resetting sample code changes
- Refactor/revise hello_message_box.rb and hello_pop_up_context_menu.rb samples
- Upgrade to glimmer 1.0.6
- Loosened dependencies on most Glimmer author-owned gems
- Refactored/Simplified/Fixed Hello, Link! Sample
- Hello, Link! Sample
- Refactor hello list samples
- Hello, Button! Sample
- Do not select first row in a table by default (keep unselected)
- Prevented extra call to model data in table items data-binding
- Upgraded to glimmer v1.0.5
- Fixed issue in StyledText data-binding relating to capturing selection changes on mouse click
- Upgraded glimmer gem to version 1.0.4
- Fixed issues relating to data-binding
styled_text
widget
- Upgraded glimmer gem to version 1.0.3
- Upgraded rouge gem to version 3.25.0
- Support table editing via
date_time
for date/time values - Support table default sort configuration via sort_property
- Support table default sort configuration via sort block
- Support table default sort configuration via sort_by block
- Hello, Table! Sample editor :date_time, property: :date_time in
- Hello, Table! Sample label for (Baseball Game Schedule)
- Hello, Table! Sample combo for selecting nlds, nlcs, alds, alcs, world series
- Hello, Table! Sample promotion field that indicates things like Free Bobblehead, Free Towel, Free Umbrella, etc...
- ShellProxy#include_focus_control?
- Fix issue with table selection data-binding when in single selection mode vs multi
- Hello, Spinner! Sample
- Add table style :editable to hook editing listener on mouse click automatically (instead of manually via on_widget_selected)
- Support table editing via
spinner
for integer values - date_time widget official data-binding support of date_time, date, time, year, month, day, hours, minutes, and seconds
- date widget alias for date_time(:date)
- time widget alias for date_time(:time)
- calendar widget alias for date_time(:calendar)
- date_drop_down widget alias for date_time(:date, :drop_down)
- Hello, Date Time! Sample
- Hello, Table! Sample
- Disable editing on a column with
editor :none
- Improve
code_text
performance immensely by only styling the lines being shown upon editing - Fix dead spots with syntax highlighting in some files in Gladiator like file.rb
- Hello, Group! Sample
- Fixed an issue in Windows with code_text
- Officially Support SWT FileDialog with the
file_dialog
keyword (was unofficially supported before via standard SWT) - Officially Support SWT DirectoryDialog with the
directory_dialog
keyword (was unofficially supported before via standard SWT) - Hello, File Dialog! Sample
- Hello, Directory Dialog! Sample
- Prevent tree items data-binding from updating if no tree data change occurred
- Performance optimization for
code_text
syntax highlighting through caching
checkbox_group
built-in custom widget- Hello, Checkbox Group! Sample
- Refactor
radio_group
to render labels instead of relying on radio button text since they are better stylable - Refactor Glimmer Meta-Sample to use
radio_group
instead ofradio
- Fix issue with ExpandBar fill_layout with the extra element at the end (remove it)
- New
radio_group
built-in Glimmer custom widget - Hello, Radio! Sample
- Hello, Radio Group! Sample
- Hello, Checkbox! Sample
- Support auto-scaling by aspect ratio of width and height (write specs)
- Support SWT ExpandBar via expand_bar keyword
- Hello, Expand Bar! Sample
- Hello, Styled Text! Sample
- Use expand_bar in Glimmer Meta-Sample
- Support StyledText data-binding of caret_offset, selection_count, selection, top_index, and top_pixel, useful for code_text
- Support
width, height
hash options for ImageProxy and image properties on widgets - Default SWT styles for tool_bar (:border) and tool_item (:push)
- Optimize code_text line style listener algorithm or avoid setting code_text style via listener for performance reasons
- Optimize code_text syntax highlighting by not lexing except when content changes (e.g. during scrolling, do not lex)
- Glimmer sample app to launch samples (sample of samples meta-sample)
- Syntax Color Highlighting in meta-sample
- Make sash_form weights accept splat array elements (not wrapped in [])
- Make sash_form weights not get set till the closing of the sash_form (to allow putting it above content instead of below as originally required by SWT)
- Replace dependency on tty-markdown gem with dependency on rouge gem instead
- Remove rake tasks
sample:list
,sample:code
andsample:run
- Add rake task
samples
to point to the new Glimmer Meta-Sample - Have meta-sample load samples from gems
glimmer scaffold:desktopify[appname,website]
Macglimmer scaffold:desktopify[appname,website]
Windowsglimmer scaffold:desktopify[appname,website]
Linux (have scaffolding include the glimmer-cw-browser-chromium gem in scaffolded app on Linux)- Remove the native packaging from Linux scaffolding since it is not officially supported
- Add gem packaging as part of scaffolding on Linux
- Launch the app at the end of scaffolding in Linux
- Provide a
glimmer package:gem
task - Add support for scaffolding "app/scaffolded_app/launch" and "lib/namespace/custom_shell/launch" to enable launching SWT apps in Glimmer DSL for Opal without changing a line of code
- Add a binary executable shell in "app" mode (just like "custom shell gem" mode)
- Have glimmer packaging check the Java version and give a warning if an unsupported version is used.
- New
glimmer run
glimmer command task. - Add built in support for handling jar file paths like that in ImageProxy code processing "uri:classloader" path
- Document that gif background_image only works without on_top and no_trim styles in Windows
- Give a good error message when Git is not properly setup for Glimmer Scaffolding
- Give an error message when attempting to scaffold over an already scaffolded directory
- Fix issue on Windows regarding use of the new EXPERIMENTAL Animated gif support in the
composite#background_image
property - Fix SWTProxy.deconstruct method
- Maintain image file path upon scaling an ImageProxy
- Add a glimmer rake task that wraps the juwelier rake gemspec:generate task
- Accept
ImageProxy
as arg forimage
andbackground_image
property methods - (EXPERIMENTAL) Animate gif images when set as a
background_image
on acomposite
- Fix issue with table redraw after data-binding changes leaving old removed table items visible (even if user cannot interact with anymore)
- Fix issue with running package rake task from
glimmer
command TUI
- Small updates/refactorings in samples
- Fix issue with displaying
glimmer
command tasks on Windows
- Add
--bundler=group
option toglimmer
command - Add
--pd
option toglimmer
command - Hello, Custom Widget! sample
- Hello, Custom Shell! sample
glimmer
command --bundler option to run with bundler/setup (instead of picking gems directly)- Remove Gemfile dependency on Juwelier since it does not relate to GUI (delaying install of it till scaffolding)
- Remove Gemfile dependency on Warbler since it does not relate to GUI (delaying install of it till packaging)
- Move Package and Scaffold classes under Glimmer::RakeTask (Glimmer::Package.javapackager_extra_args is now Glimmer::RakeTask::Package.javapackager_extra_args)
- Fixed issue with scaffolding spec/spec_helper.rb with Juwelier (since it changed from Jeweler)
- Fixed issue with showing glimmer command tasks twice
- Switch to Juwelier gem (from Jeweler)
- Load samples from Glimmer gems automatically (no need for configuration)
- Empty body validation in CustomWidget (and CustomShell by inheritance)
- require 'bundler/setup' in
glimmer
command if aGemfile
is present (disabled with GLIMMER_BUNDLER_SETUP=false env var) - Upgrade to rvm-tui version 0.2.2
- Upgrade to SWT (Standard Widget Toolkit) 4.17 and sync version with SWT going forward
- Upgrade to Glimmer (DSL Engine) 1.0.0
- Sync version number with the SWT version number (first two numbers, leaving the last two as minor and patch)
- Log error messages when running inside sync_exec or async_exec (since you cannot rescue their errors from outside them)
- Exclude gladiator from required libraries during sample listing/running/code-display
- Ensured creating a widget with swt_widget keyword arg doesn't retrigger initializers on its parents if already initialized
- Extract
WidgetProxy#interpret_style
to make it possible to extend with further styles with less code (e.g. CDateTimeProxy adds CDT styles by overriding method)
- Support external configuration of
WidgetProxy::KEYWORD_ALIASES
(e.g.radio
is an alias forbutton(:radio)
) - Support external configuration of
Glimmer::Config::SAMPLE_DIRECTORIES
for theglimmer sample
commands from Glimmer gems
- Fix issue with re-initializing layout for already initialized swt_widget being wrapped by WidgetProxy via swt_widget keyword args
- Change naming of scaffolded app bundle for mac to start with a capital letter (e.g. com.evernote.Evernote not com.evernote.evernote)
- Add User Profile sample from DZone article
- Colored Ruby syntax highlighting for sample:code and sample:run tasks courtesy of tty-markdown
- Support
check
as alias tocheckbox
DSL keyword for Button widget with :check style. - Validate scaffolded custom shell gem name to ensure it doesn't clash with a built in Ruby method
- GLIMMER_LOGGER_ASYNC env var for disabling async logging when needed for immediate troubleshooting purposes
- Fix issue with table equivalent sort edge case (that is two sorts that are equivalent causing an infinite loop of resorting since the table is not correctly identified as sorted already)
- Added the rake-tui gem as a productivity tool for arrow key navigation/text-filtering/quick-triggering of rake tasks
- Use rake-tui gem in
glimmer
command by default on Mac and Linux
- Display glimmer-dsl-swt gem version in glimmer command usage
- Include Glimmer Samples in Gem and provide access via
glimmer samples:list
,glimmer samples:run
, andglimmer samples:code
commands - Fix issue with glimmer not listing commands in usage without having a Rakefile
- Fix issue with passing --log-level or --debug to the
girb
command
Scaffolding:
- Add mnemonic to Preferences menu in scaffolding
- Make bin/glimmer, bin/girb, and scaffolded bin/script files call jruby instead of ruby in the shebang
- Launch scaffolded app on Linux without using packaging (via
glimmer bin/app_script
) - Add all of Mac, Windows, and Linux icons upon scaffolding (not just for the OS we are on)
Packaging:
- Perform gemspec:generate first during packaging
- Ensure lock_jars step happens before package:jar to have vendor jar-dependencies packaged inside JAR file
- Change lock_jar vendor-dir to vendor/jars and add it to .gitignore
- Handle naming of -Bwin.menuGroup properly for Windows in scaffolded custom shell gems (and apps) (e.g. instead of Glimmer Cs Timer set to Timer only or namespace when available in a CustomShell)
- Support passing javapackager extra args after
glimmer package:native
command inside double-quotes (e.g.glimmer package:native "-title 'CarMaker'"
) - JDK14 experimental
jpackage
support as a packaging alternative tojavapackager
(Not recommended for production use and must specify JDK8 as JRE with an additional option since SWT doesn't support JDK14 yet)
GUI:
- Add radio and checkbox table editors
- Add
content
method to DisplayProxy - Add
content
method to MessageBox - WidgetProxy now supports taking a fully constructed swt_widget argument instead of init_args
CI:
- Add Windows to Travis-CI
Issues:
- Fix issue with TableProxy editor rejecting false and nil values set on items
- Fix issue with message_box getting stuck upon closing when no parent in its args
- Fix transient issue with git bash not interpretting glimmer package[msi] as a rake task (yet as packages instead as it resolves [msi] by picking s to match packages local directory)
- Fix issue with getting "Namespace is required!" when running
glimmer scaffold[app_name]
orglimmer scaffold:gem:customshell[name,namespace]
(AndyObtiva/glimmer#5)
- Set default margins on layouts (FilLayout, RowLayout, GridLayout, and any layout that responds to marginWidth and marginHeight)
- Have scrolled_composite autoset min width and min height based on parent size
- Add
radio
,toggle
,checkbox
, andarrow
widgets as shortcuts tobutton
widget with different styles - Add parent_proxy method to WidgetProxy
- Add post_add_content hook method to WidgetProxy
- Add
image
keyword to create an ImageProxy and be able to scale it - Fix issue with ImageProxy not being scalable before swt_image is called
- Lock JARs task for jar-dependencies as part of packaging
- Add 'vendor' to require_paths for custom shell gem
- Add Windows icon to scaffold
- Generate scaffolded app/custom-shell-gem gemspec as part of packaging (useful for jar-dependencies)
- Support a package:native type option for specifying native type
- Add a preferences menu for Windows (since it does not have one out of the box)
- Fix app scaffold on Windows by having it generate jeweler gem first (to have gemspec for jar-dependencies)
- Fix girb for Windows
- Upgrade to JRuby 9.2.13.0
- Upgrade to SWT 4.16
- Support
font
keyword - Support cursor setting via SWT style symbols directly
- Support
cursor
keyword
- Fixed issue with excluding on_swt_* listeners from Glimmer DSL engine processing in CustomWidget
- Add shell minimum_size to Tic Tac Toe sample for Linux
- Add 'package' directory to 'config/warble.rb' for packaging in JAR file
- Fix issue with image path conversion to imagedata on Mac vs Windows
- Fix issue with uri:classloader paths generated by JRuby when using File.expand_path inside packaged JAR files
- Set widget
image
/images
property via string file path(s) just likebackground_image
- Added :full_selection to table widget default SWT styles
- Made packaging -BsystemWide option true on the Mac only
- Upgrade to glimmer 0.10.1 to take advantage of the new logging library
- Make Glimmer commands support acronym, dash and no separator (default) alternatives
- Support scaffold commands for gems with
scaffold:gem:cw
pattern (cs
as other suffix) - Support listing commands with
list:gems:cw
pattern (cs
as other suffix) - Add -BinstalldirChooser=true / -Bcopyright=string / -Bvendor=string / -Bwin.menuGroup=string to Package class to support Windows packaging
- Configure 'logging' gem to generate log files on Windows/Linux/Mac and syslog where available
- Configure 'logging' gem to do async buffered logging via a thread to avoid impacting app performance with logging
- Make GLIMMER_LOGGER_LEVEL env var work with logging gem
- Update all logger calls to be lazy blocks
- Add logging formatter (called layout in logging library)
- Support legacy rake tasks for package and scaffold (the ones without gem/gems nesting)
- GLIMMER_LOGGER_LEVEL env var disables async logging in logging gem to help with immediate troubleshooting
- Create 'log' directory if :file logging device is specified
- Remember log level when reseting logger after the first time
- Dispose all tree items when removed
- Dispose all table items when removed
- Remove table model collection observers when updating
- Make message_box instantiate a shell if none passed in
- Eliminate unimportant (false negative) log messages getting reported as ERROR when running test suite
- Sort table on every change to maintain its sort according to its sorted column
- Fixed an issue with async_exec and sync_exec keywords not working when used from a module that mixes Glimmer
- Support SWT listener events that take multiple-args (as in custom libraries like Nebula GanttChart)
- Drop on_event_* keywords in favor of on_swt_* for SWT constant events
- Remove Table#table_editor_text_proxy in favor of Table#table_editor_widget_proxy
- Set WidgetProxy/ShellProxy/DisplayProxy data('proxy') objects
- Set CustomWidget data('custom_widget') objects
- Set CustomShell data('custom_shell') objects
- Delegate all WidgetProxy/ShellProxy/DisplayProxy/CustomWidget/CustomShell methods to wrapped SWT object on method_missing
- Support multiple widgets for editing table items
- Update API for table column sorting to pass models not properties to sorting blocks
- Support table multi-column sort_property
- Support table additional_sort_properties array
- Display table column sorting direction sign
- Update Scaffold MessageBox reference to message_box DSL keyword
- Fix issue with different sorting blocks not reseting each other on different table columns
- Make table auto-sortable
- Configure custom sorters for table columns
- Support for ScrolledComposite smart default behavior (auto setting of content, h_scroll/v_scroll styles, and horizontal/vertical expand)
- Upgraded to Glimmer 0.9.4
- Add vendor directory to warble config for glimmer package command.
- Make WidgetProxy register only the nearest ancestor property observer, calling on_modify_text and on_widget_selected for widgets that support these listeners, or otherwise the widget specific customizations
- Add glimmer package:clean command
- Make scaffolding gems fail when no namespace is specified
- Add a hello menu samples
- Support Combo custom-text-entry data-binding
- Remove Gemfile.lock from .gitignore in scaffolding apps/gems
- Support latest JRuby 9.2.12.0
- Support extra args (other than style) in WidgetProxy just like ShellProxy
- Specify additional Java packages to import when including Glimmer via Glimmer::Config::import_swt_packages=(packages)
- Add compatibility for ActiveSupport (automatically call ActiveSupport::Dependencies.unhook! if ActiveSupport is loaded)
- Fix bug with table items data binding ignoring bind converters
- Simplified Drag and Drop API by being able to attach drag and drop event listener handlers directly on widgets
- Support drag and drop events implicitly on all widgets without explicit drag source and drop target declarations
- Set drag and drop transfer property to :text by default if not specified
- Automatically set
event.detail
insideon_drag_enter
to match the first operation specified indrop_target
(make sure it doesn't cause problems if source and target have differnet operations, denying drop gracefully) - Support
dnd
keyword for easily settingevent.detail
(e.g. dnd(:drop_copy)) insideon_drag_enter
(and consider supporting symbol directly as well) - Support Drag and Drop on Custom Widgets
- Fix hello_computed.rb sample (convert camelcase to underscore case for layout data properties)
- Added 'org.eclipse.swt.dnd' to glimmer auto-included Java packages
- Updated Tic Tac Toe sample to use new
message_box
keyword - Add DragSource and DropTarget transfer expression that takes a symbol or symbol array representing one or more of the following: FileTransfer, HTMLTransfer, ImageTransfer, RTFTransfer, TextTransfer, URLTransfer
- Set default style DND::DROP_COPY in DragSource and DropTarget widgets
- Support Glimmer::SWT::DNDProxy for handling Drop & Drop styles
- Implemented list:* rake tasks for listing Glimmer custom widget gems, custom shell gems, and dsl gems
- Support querying for Glimmer gems (not just listing them)
- Fix bug with table edit remaining when sorting table or re-listing (in contact_manager.rb sample)
- Update icon of scaffolded apps to Glimmer logo
- Extracted common model data-binding classes into glimmer
- Fixed issue with packaging after generating gemspec
- Fixed issue with enabling development mode in glimmer command
- Extracted Glimmer DSL for SWT (glimmer-dsl-swt gem) from Glimmer