glimmer-dsl-swt 4.22.1.1 → 4.22.2.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +21 -0
- data/LICENSE.txt +1 -1
- data/README.md +15 -12
- data/RUBY_VERSION +1 -1
- data/VERSION +1 -1
- data/bin/girb +1 -1
- data/bin/girb_runner.rb +1 -1
- data/bin/glimmer +1 -1
- data/bin/glimmer-setup +1 -1
- data/docs/reference/GLIMMER_COMMAND.md +20 -6
- data/docs/reference/GLIMMER_CONFIGURATION.md +1 -1
- data/docs/reference/GLIMMER_GIRB.md +2 -2
- data/docs/reference/GLIMMER_GUI_DSL_SYNTAX.md +646 -94
- data/docs/reference/GLIMMER_PACKAGING_AND_DISTRIBUTION.md +13 -32
- data/docs/reference/GLIMMER_SAMPLES.md +25 -9
- data/docs/reference/GLIMMER_STYLE_GUIDE.md +6 -0
- data/glimmer-dsl-swt.gemspec +0 -0
- data/lib/ext/glimmer/config.rb +1 -1
- data/lib/ext/glimmer.rb +4 -4
- data/lib/ext/rouge/themes/glimmer.rb +21 -0
- data/lib/glimmer/Rakefile +6 -6
- data/lib/glimmer/data_binding/list_selection_binding.rb +1 -1
- data/lib/glimmer/data_binding/observable_widget.rb +1 -1
- data/lib/glimmer/data_binding/table_items_binding.rb +1 -1
- data/lib/glimmer/data_binding/tree_items_binding.rb +1 -1
- data/lib/glimmer/data_binding/widget_binding.rb +1 -1
- data/lib/glimmer/dsl/swt/animation_expression.rb +1 -1
- data/lib/glimmer/dsl/swt/async_exec_expression.rb +1 -1
- data/lib/glimmer/dsl/swt/auto_exec_expression.rb +1 -1
- data/lib/glimmer/dsl/swt/bind_expression.rb +1 -1
- data/lib/glimmer/dsl/swt/block_property_expression.rb +1 -1
- data/lib/glimmer/dsl/swt/c_tab_item_expression.rb +1 -1
- data/lib/glimmer/dsl/swt/checkbox_group_selection_data_binding_expression.rb +1 -1
- data/lib/glimmer/dsl/swt/color_expression.rb +1 -1
- data/lib/glimmer/dsl/swt/column_properties_expression.rb +1 -1
- data/lib/glimmer/dsl/swt/combo_selection_data_binding_expression.rb +1 -1
- data/lib/glimmer/dsl/swt/cursor_expression.rb +1 -1
- data/lib/glimmer/dsl/swt/custom_shape_expression.rb +1 -1
- data/lib/glimmer/dsl/swt/custom_widget_expression.rb +1 -1
- data/lib/glimmer/dsl/swt/data_binding_expression.rb +1 -1
- data/lib/glimmer/dsl/swt/dialog_expression.rb +1 -1
- data/lib/glimmer/dsl/swt/display_expression.rb +1 -1
- data/lib/glimmer/dsl/swt/dnd_expression.rb +1 -1
- data/lib/glimmer/dsl/swt/dsl.rb +2 -2
- data/lib/glimmer/dsl/swt/exec_expression.rb +2 -3
- data/lib/glimmer/dsl/swt/expand_item_expression.rb +1 -1
- data/lib/glimmer/dsl/swt/font_expression.rb +1 -1
- data/lib/glimmer/dsl/swt/image_expression.rb +1 -1
- data/lib/glimmer/dsl/swt/layout_data_expression.rb +1 -1
- data/lib/glimmer/dsl/swt/layout_expression.rb +1 -1
- data/lib/glimmer/dsl/swt/list_selection_data_binding_expression.rb +1 -1
- data/lib/glimmer/dsl/swt/listener_expression.rb +1 -1
- data/lib/glimmer/dsl/swt/menu_bar_expression.rb +1 -1
- data/lib/glimmer/dsl/swt/menu_expression.rb +1 -1
- data/lib/glimmer/dsl/swt/message_box_expression.rb +1 -1
- data/lib/glimmer/dsl/swt/multiply_expression.rb +1 -1
- data/lib/glimmer/dsl/swt/observe_expression.rb +1 -1
- data/lib/glimmer/dsl/swt/pixel_expression.rb +1 -1
- data/lib/glimmer/dsl/swt/property_expression.rb +1 -1
- data/lib/glimmer/dsl/swt/radio_group_selection_data_binding_expression.rb +1 -1
- data/lib/glimmer/dsl/swt/rgb_expression.rb +1 -1
- data/lib/glimmer/dsl/swt/rgba_expression.rb +1 -1
- data/lib/glimmer/dsl/swt/shape_expression.rb +2 -1
- data/lib/glimmer/dsl/swt/shell_expression.rb +1 -1
- data/lib/glimmer/dsl/swt/shine_data_binding_expression.rb +4 -9
- data/lib/glimmer/dsl/swt/swt_expression.rb +1 -1
- data/lib/glimmer/dsl/swt/sync_call_expression.rb +1 -1
- data/lib/glimmer/dsl/swt/sync_exec_expression.rb +1 -1
- data/lib/glimmer/dsl/swt/tab_item_expression.rb +1 -1
- data/lib/glimmer/dsl/swt/table_items_data_binding_expression.rb +1 -1
- data/lib/glimmer/dsl/swt/timer_exec_expression.rb +1 -1
- data/lib/glimmer/dsl/swt/transform_expression.rb +1 -1
- data/lib/glimmer/dsl/swt/tray_expression.rb +1 -1
- data/lib/glimmer/dsl/swt/tray_item_expression.rb +1 -1
- data/lib/glimmer/dsl/swt/tree_items_data_binding_expression.rb +1 -1
- data/lib/glimmer/dsl/swt/tree_properties_expression.rb +1 -1
- data/lib/glimmer/dsl/swt/widget_expression.rb +1 -1
- data/lib/glimmer/launcher.rb +2 -2
- data/lib/glimmer/rake_task/list.rb +1 -1
- data/lib/glimmer/rake_task/package.rb +1 -1
- data/lib/glimmer/rake_task/scaffold.rb +2 -3
- data/lib/glimmer/rake_task.rb +1 -1
- data/lib/glimmer/swt/c_tab_item_proxy.rb +1 -1
- data/lib/glimmer/swt/color_proxy.rb +1 -1
- data/lib/glimmer/swt/combo_proxy.rb +1 -1
- data/lib/glimmer/swt/cursor_proxy.rb +1 -1
- data/lib/glimmer/swt/custom/animation.rb +1 -1
- data/lib/glimmer/swt/custom/checkbox_group.rb +1 -1
- data/lib/glimmer/swt/custom/code_text.rb +1 -1
- data/lib/glimmer/swt/custom/drawable.rb +1 -1
- data/lib/glimmer/swt/custom/radio_group.rb +1 -1
- data/lib/glimmer/swt/custom/shape/arc.rb +1 -1
- data/lib/glimmer/swt/custom/shape/cubic.rb +1 -1
- data/lib/glimmer/swt/custom/shape/focus.rb +1 -1
- data/lib/glimmer/swt/custom/shape/image.rb +1 -1
- data/lib/glimmer/swt/custom/shape/line.rb +1 -1
- data/lib/glimmer/swt/custom/shape/oval.rb +1 -1
- data/lib/glimmer/swt/custom/shape/path.rb +1 -1
- data/lib/glimmer/swt/custom/shape/path_segment.rb +1 -1
- data/lib/glimmer/swt/custom/shape/point.rb +1 -1
- data/lib/glimmer/swt/custom/shape/polygon.rb +1 -1
- data/lib/glimmer/swt/custom/shape/polyline.rb +1 -1
- data/lib/glimmer/swt/custom/shape/quad.rb +1 -1
- data/lib/glimmer/swt/custom/shape/rectangle.rb +1 -1
- data/lib/glimmer/swt/custom/shape/text.rb +1 -1
- data/lib/glimmer/swt/custom/shape.rb +2 -1
- data/lib/glimmer/swt/date_time_proxy.rb +1 -1
- data/lib/glimmer/swt/dialog_proxy.rb +1 -1
- data/lib/glimmer/swt/display_proxy.rb +1 -1
- data/lib/glimmer/swt/dnd_proxy.rb +1 -1
- data/lib/glimmer/swt/expand_item_proxy.rb +1 -1
- data/lib/glimmer/swt/font_proxy.rb +1 -1
- data/lib/glimmer/swt/image_proxy.rb +1 -1
- data/lib/glimmer/swt/layout_data_proxy.rb +1 -1
- data/lib/glimmer/swt/layout_proxy.rb +1 -1
- data/lib/glimmer/swt/menu_proxy.rb +1 -1
- data/lib/glimmer/swt/message_box_proxy.rb +1 -1
- data/lib/glimmer/swt/packages.rb +1 -1
- data/lib/glimmer/swt/properties.rb +1 -1
- data/lib/glimmer/swt/proxy_properties.rb +1 -1
- data/lib/glimmer/swt/sash_form_proxy.rb +1 -1
- data/lib/glimmer/swt/scrolled_composite_proxy.rb +1 -1
- data/lib/glimmer/swt/shape_listener_proxy.rb +1 -1
- data/lib/glimmer/swt/shell_proxy.rb +2 -1
- data/lib/glimmer/swt/style_constantizable.rb +1 -1
- data/lib/glimmer/swt/styled_text_proxy.rb +1 -1
- data/lib/glimmer/swt/swt_proxy.rb +1 -1
- data/lib/glimmer/swt/tab_folder_proxy.rb +1 -1
- data/lib/glimmer/swt/tab_item_proxy.rb +1 -1
- data/lib/glimmer/swt/table_column_proxy.rb +1 -1
- data/lib/glimmer/swt/table_proxy.rb +1 -1
- data/lib/glimmer/swt/tool_bar_proxy.rb +1 -1
- data/lib/glimmer/swt/transform_proxy.rb +1 -1
- data/lib/glimmer/swt/tray_item_proxy.rb +1 -1
- data/lib/glimmer/swt/tray_proxy.rb +1 -1
- data/lib/glimmer/swt/tree_proxy.rb +1 -1
- data/lib/glimmer/swt/widget_listener_proxy.rb +1 -1
- data/lib/glimmer/swt/widget_proxy.rb +1 -1
- data/lib/glimmer/ui/custom_shape.rb +1 -1
- data/lib/glimmer/ui/custom_shell.rb +1 -1
- data/lib/glimmer/ui/custom_widget.rb +1 -1
- data/lib/glimmer/ui.rb +21 -0
- data/lib/glimmer/util/proc_tracker.rb +4 -4
- data/lib/glimmer-dsl-swt.rb +1 -1
- data/samples/elaborate/battleship/model/cell.rb +1 -1
- data/samples/elaborate/battleship/model/game.rb +1 -1
- data/samples/elaborate/battleship/model/grid.rb +1 -1
- data/samples/elaborate/battleship/model/ship.rb +1 -1
- data/samples/elaborate/battleship/model/ship_collection.rb +1 -1
- data/samples/elaborate/battleship/view/action_panel.rb +1 -1
- data/samples/elaborate/battleship/view/cell.rb +1 -1
- data/samples/elaborate/battleship/view/grid.rb +1 -1
- data/samples/elaborate/battleship/view/ship.rb +1 -1
- data/samples/elaborate/battleship/view/ship_collection.rb +1 -1
- data/samples/elaborate/battleship.rb +1 -1
- data/samples/elaborate/calculator.rb +1 -1
- data/samples/elaborate/clock.rb +1 -1
- data/samples/elaborate/connect4/model/grid.rb +1 -1
- data/samples/elaborate/connect4/model/slot.rb +1 -1
- data/samples/elaborate/connect4.rb +1 -1
- data/samples/elaborate/contact_manager/contact.rb +1 -1
- data/samples/elaborate/contact_manager/contact_manager_presenter.rb +1 -1
- data/samples/elaborate/contact_manager/contact_repository.rb +1 -1
- data/samples/elaborate/contact_manager.rb +1 -1
- data/samples/elaborate/game_of_life/model/cell.rb +1 -1
- data/samples/elaborate/game_of_life/model/grid.rb +1 -1
- data/samples/elaborate/game_of_life.rb +1 -1
- data/samples/elaborate/login.rb +1 -1
- data/samples/elaborate/mandelbrot_fractal.rb +1 -1
- data/samples/elaborate/meta_sample.rb +1 -1
- data/samples/elaborate/metronome.rb +1 -1
- data/samples/elaborate/parking/model/parking_floor.rb +1 -1
- data/samples/elaborate/parking/model/parking_presenter.rb +1 -1
- data/samples/elaborate/parking/model/parking_spot.rb +1 -1
- data/samples/elaborate/parking.rb +1 -1
- data/samples/elaborate/quarto/model/game.rb +1 -1
- data/samples/elaborate/quarto/model/piece/cube.rb +1 -1
- data/samples/elaborate/quarto/model/piece/cylinder.rb +1 -1
- data/samples/elaborate/quarto/model/piece.rb +1 -1
- data/samples/elaborate/quarto/view/available_pieces_area.rb +1 -1
- data/samples/elaborate/quarto/view/board.rb +1 -1
- data/samples/elaborate/quarto/view/cell.rb +1 -1
- data/samples/elaborate/quarto/view/cube.rb +1 -1
- data/samples/elaborate/quarto/view/cylinder.rb +1 -1
- data/samples/elaborate/quarto/view/message_box_panel.rb +1 -1
- data/samples/elaborate/quarto/view/piece.rb +1 -1
- data/samples/elaborate/quarto/view/selected_piece_area.rb +1 -1
- data/samples/elaborate/quarto.rb +1 -3
- data/samples/elaborate/snake/model/apple.rb +33 -0
- data/samples/elaborate/snake/model/game.rb +68 -0
- data/samples/elaborate/snake/model/snake.rb +95 -0
- data/samples/elaborate/snake/model/vertebra.rb +22 -0
- data/samples/elaborate/snake/presenter/cell.rb +27 -0
- data/samples/elaborate/snake/presenter/grid.rb +49 -0
- data/samples/elaborate/snake.rb +103 -0
- data/samples/elaborate/stock_ticker.rb +1 -1
- data/samples/elaborate/tetris/model/block.rb +1 -1
- data/samples/elaborate/tetris/model/game.rb +1 -1
- data/samples/elaborate/tetris/model/past_game.rb +1 -1
- data/samples/elaborate/tetris/model/tetromino.rb +1 -1
- data/samples/elaborate/tetris/view/bevel.rb +1 -1
- data/samples/elaborate/tetris/view/block.rb +1 -1
- data/samples/elaborate/tetris/view/high_score_dialog.rb +1 -1
- data/samples/elaborate/tetris/view/playfield.rb +1 -1
- data/samples/elaborate/tetris/view/score_lane.rb +1 -1
- data/samples/elaborate/tetris/view/tetris_menu_bar.rb +1 -1
- data/samples/elaborate/tetris.rb +8 -8
- data/samples/elaborate/tic_tac_toe/board.rb +1 -1
- data/samples/elaborate/tic_tac_toe/cell.rb +1 -1
- data/samples/elaborate/tic_tac_toe.rb +1 -1
- data/samples/elaborate/timer.rb +1 -1
- data/samples/elaborate/user_profile.rb +1 -1
- data/samples/elaborate/weather.rb +1 -1
- data/samples/hello/hello_arrow.rb +1 -1
- data/samples/hello/hello_browser.rb +1 -1
- data/samples/hello/hello_button.rb +1 -1
- data/samples/hello/hello_c_combo.rb +1 -1
- data/samples/hello/hello_c_tab.rb +1 -1
- data/samples/hello/hello_canvas.rb +1 -1
- data/samples/hello/hello_canvas_animation.rb +1 -1
- data/samples/hello/hello_canvas_animation_multi.rb +1 -1
- data/samples/hello/hello_canvas_data_binding.rb +8 -8
- data/samples/hello/hello_canvas_path.rb +1 -1
- data/samples/hello/hello_canvas_shape_listeners.rb +1 -1
- data/samples/hello/hello_checkbox.rb +1 -1
- data/samples/hello/hello_checkbox_group.rb +1 -1
- data/samples/hello/hello_code_text.rb +1 -1
- data/samples/hello/hello_color_dialog.rb +1 -1
- data/samples/hello/hello_combo.rb +1 -1
- data/samples/hello/hello_composite.rb +1 -1
- data/samples/hello/hello_computed.rb +1 -1
- data/samples/hello/hello_cool_bar.rb +1 -1
- data/samples/hello/hello_cursor.rb +1 -1
- data/samples/hello/hello_custom_shape.rb +1 -1
- data/samples/hello/hello_custom_shell.rb +1 -1
- data/samples/hello/hello_custom_widget.rb +1 -1
- data/samples/hello/hello_date_time.rb +1 -1
- data/samples/hello/hello_dialog.rb +1 -1
- data/samples/hello/hello_directory_dialog.rb +1 -1
- data/samples/hello/hello_drag_and_drop.rb +1 -1
- data/samples/hello/hello_expand_bar.rb +1 -1
- data/samples/hello/hello_file_dialog.rb +1 -1
- data/samples/hello/hello_font_dialog.rb +1 -1
- data/samples/hello/hello_group.rb +1 -1
- data/samples/hello/hello_label.rb +1 -1
- data/samples/hello/hello_layout.rb +1 -1
- data/samples/hello/hello_link.rb +1 -1
- data/samples/hello/hello_list_multi_selection.rb +1 -1
- data/samples/hello/hello_list_single_selection.rb +1 -1
- data/samples/hello/hello_menu_bar.rb +1 -1
- data/samples/hello/hello_message_box.rb +1 -1
- data/samples/hello/hello_pop_up_context_menu.rb +1 -1
- data/samples/hello/hello_print.rb +1 -1
- data/samples/hello/hello_print_dialog.rb +1 -1
- data/samples/hello/hello_progress_bar.rb +1 -1
- data/samples/hello/hello_radio.rb +1 -1
- data/samples/hello/hello_radio_group.rb +1 -1
- data/samples/hello/hello_sash_form.rb +1 -1
- data/samples/hello/hello_scale.rb +1 -1
- data/samples/hello/hello_scrolled_composite.rb +1 -1
- data/samples/hello/hello_shape.rb +1 -1
- data/samples/hello/hello_shell.rb +1 -1
- data/samples/hello/hello_slider.rb +1 -1
- data/samples/hello/hello_spinner.rb +1 -1
- data/samples/hello/hello_styled_text.rb +1 -1
- data/samples/hello/hello_tab.rb +1 -1
- data/samples/hello/hello_table.rb +1 -1
- data/samples/hello/hello_text.rb +1 -1
- data/samples/hello/hello_toggle.rb +1 -1
- data/samples/hello/hello_tool_bar.rb +1 -1
- data/samples/hello/hello_tray_item.rb +1 -1
- data/samples/hello/hello_tree.rb +1 -1
- data/samples/hello/hello_world.rb +1 -1
- metadata +27 -33
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3de6dce288c5d0febfd7cdaa37195daf13284c7ff6f175442a4642f71b499fe7
|
4
|
+
data.tar.gz: 33e0fc58526098b0fa74c4bbc6779845b34b5052c3ddcb33d40e6f9d6548f2aa
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 65b37079de93d70fcdde14ea4fada7cd2feeb1aa1fb22ee7dd0dedf08d873966183de876d510492a07707812b2414193c1003a83804636aeb021cd7b229195d0
|
7
|
+
data.tar.gz: b7c347ae41ee4b0fc170fc910e20bcbf4e58aed1e9d8a31416a66f1253e3a7d40b3d3fe79354549b301023401bf952af15873caf89525c29103da3b447010902
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,26 @@
|
|
1
1
|
# Change Log
|
2
2
|
|
3
|
+
## 4.22.2.2
|
4
|
+
|
5
|
+
- Snake elaborate sample
|
6
|
+
- Fixed `timer_exec(time_in_millis) {}` expresion
|
7
|
+
|
8
|
+
## 4.22.2.1
|
9
|
+
|
10
|
+
- Upgrade to glimmer 2.6.0
|
11
|
+
- Fixed issue of `"unsupported Java version "17", defaulting to 1.7"` when scaffolding an application
|
12
|
+
|
13
|
+
## 4.22.2.0
|
14
|
+
|
15
|
+
- Upgrade to JRuby 9.3.3.0 (supporting ARM64/AARCH64)
|
16
|
+
|
17
|
+
## 4.22.1.2
|
18
|
+
|
19
|
+
- Fix support for ARM64 on Mac
|
20
|
+
- Upgrade to glimmer v2.5.5, reusing newly added Glimmer::DSL::ShineDataBindingExpression
|
21
|
+
- Include .gladiator-scratchpad in scaffolded app/gem .gitignore
|
22
|
+
- `ShellProxy#center_in_display` as alias to `#center_within_display`
|
23
|
+
|
3
24
|
## 4.22.1.1
|
4
25
|
|
5
26
|
- Fix minor issue with Shape listener disposal
|
data/LICENSE.txt
CHANGED
data/README.md
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
# [<img src="https://raw.githubusercontent.com/AndyObtiva/glimmer/master/images/glimmer-logo-hi-res.png" height=85 />](https://github.com/AndyObtiva/glimmer) Glimmer DSL for SWT 4.22.
|
1
|
+
# [<img src="https://raw.githubusercontent.com/AndyObtiva/glimmer/master/images/glimmer-logo-hi-res.png" height=85 />](https://github.com/AndyObtiva/glimmer) Glimmer DSL for SWT 4.22.2.2
|
2
2
|
## JRuby Desktop Development GUI Framework
|
3
3
|
[![Gem Version](https://badge.fury.io/rb/glimmer-dsl-swt.svg)](http://badge.fury.io/rb/glimmer-dsl-swt)
|
4
4
|
[![Travis CI](https://travis-ci.com/AndyObtiva/glimmer-dsl-swt.svg?branch=master)](https://travis-ci.com/github/AndyObtiva/glimmer-dsl-swt)
|
@@ -17,17 +17,20 @@ Featured in JRuby Cookbook](http://shop.oreilly.com/product/9780596519650.do) an
|
|
17
17
|
|
18
18
|
![Eclipse SWT RCP NASA Mars Rover](/images/glimmer-eclipse-swt-rcp-nasa-mars-rover.png)
|
19
19
|
|
20
|
-
[Glimmer DSL for SWT](https://rubygems.org/gems/glimmer-dsl-swt) 4.22.
|
20
|
+
[Glimmer DSL for SWT](https://rubygems.org/gems/glimmer-dsl-swt) 4.22.2.2 includes [SWT 4.22](https://download.eclipse.org/eclipse/downloads/drops4/R-4.22-202111241800/), which was released on November 24, 2021. Gem version numbers are in sync with the SWT library versions. The first two digits represent the SWT version number. The last two digits represent the minor and patch versions of Glimmer DSL for SWT.
|
21
21
|
|
22
22
|
**Starting in version 4.20.0.0, [Glimmer DSL for SWT](https://rubygems.org/gems/glimmer-dsl-swt) comes with the new [***Shine***](/docs/reference/GLIMMER_GUI_DSL_SYNTAX.md#shine) syntax** for highly intuitive and visually expressive View/Model Attribute Mapping, relying on `<=>` for bidirectional (two-way) data-binding and `<=` for unidirectional (one-way) data-binding, providing an alternative to the `bind` keyword.
|
23
23
|
|
24
24
|
Please help make [Glimmer DSL for SWT](https://rubygems.org/gems/glimmer-dsl-swt) better by providing feedback and [contributing](#contributing) whenever possible. Any feature suggestions that are accepted could be implemented within weeks if not days.
|
25
25
|
|
26
|
-
Other [Glimmer](https://
|
26
|
+
Other [Glimmer](https://github.com/AndyObtiva/glimmer) DSL gems you might be interested in:
|
27
27
|
- [glimmer-dsl-opal](https://github.com/AndyObtiva/glimmer-dsl-opal): Glimmer DSL for Opal (Pure Ruby Web GUI and Auto-Webifier of Desktop Apps)
|
28
|
-
- [glimmer-dsl-tk](https://github.com/AndyObtiva/glimmer-dsl-tk): Glimmer DSL for Tk (MRI Ruby Desktop Development GUI Library)
|
29
28
|
- [glimmer-dsl-libui](https://github.com/AndyObtiva/glimmer-dsl-libui): Glimmer DSL for LibUI (Prerequisite-Free Ruby Desktop Development GUI Library)
|
29
|
+
- [glimmer-dsl-tk](https://github.com/AndyObtiva/glimmer-dsl-tk): Glimmer DSL for Tk (MRI Ruby Desktop Development GUI Library)
|
30
30
|
- [glimmer-dsl-gtk](https://github.com/AndyObtiva/glimmer-dsl-gtk): Glimmer DSL for GTK (Ruby-GNOME Desktop Development GUI Library)
|
31
|
+
- [glimmer-dsl-fx](https://github.com/AndyObtiva/glimmer-dsl-fx): Glimmer DSL for FX (FOX Toolkit Ruby Desktop Development GUI Library)
|
32
|
+
- [glimmer-dsl-jfx](https://github.com/AndyObtiva/glimmer-dsl-jfx): Glimmer DSL for JFX (JRuby JavaFX Desktop Development GUI Library)
|
33
|
+
- [glimmer-dsl-swing](https://github.com/AndyObtiva/glimmer-dsl-swing): Glimmer DSL for Swing (JRuby Swing Desktop Development GUI Library)
|
31
34
|
- [glimmer-dsl-xml](https://github.com/AndyObtiva/glimmer-dsl-xml): Glimmer DSL for XML (& HTML)
|
32
35
|
- [glimmer-dsl-css](https://github.com/AndyObtiva/glimmer-dsl-css): Glimmer DSL for CSS
|
33
36
|
|
@@ -147,9 +150,9 @@ shell {
|
|
147
150
|
font height: 14
|
148
151
|
enabled <= [BaseballGame, :selected_game]
|
149
152
|
|
150
|
-
on_widget_selected
|
153
|
+
on_widget_selected do
|
151
154
|
book_selected_game
|
152
|
-
|
155
|
+
end
|
153
156
|
}
|
154
157
|
}
|
155
158
|
```
|
@@ -295,8 +298,8 @@ https://www.eclipse.org/swt/faq.php
|
|
295
298
|
|
296
299
|
- JDK 17 (17.0.1) (find at https://www.oracle.com/java/technologies/javase/jdk17-archive-downloads.html / Ensure PATH includes Java bin directory for `jpackage` command to work when packaging Glimmer applications)
|
297
300
|
- [RVM](http://rvm.io) on Mac & Linux (not available on Windows)
|
298
|
-
- JRuby 9.3.
|
299
|
-
- SWT 4.22 (already included in the [glimmer-dsl-swt](https://rubygems.org/gems/glimmer-dsl-swt) gem). Note that SWT
|
301
|
+
- JRuby 9.3.3.0 (supporting Ruby 2.6.x syntax) (get via [RVM](http://rvm.io) on Mac and Linux by running `rvm install jruby-9.3.3.0`; On Windows, find at [https://www.jruby.org/download](https://www.jruby.org/download))
|
302
|
+
- SWT 4.22 (already included in the [glimmer-dsl-swt](https://rubygems.org/gems/glimmer-dsl-swt) gem). Note that SWT supports ARM64/AARCH64 on Mac and Linux since version 4.20.
|
300
303
|
- Git (comes with Mac and Linux. Install on Windows: https://git-scm.com/download/win )
|
301
304
|
|
302
305
|
Glimmer might still work on other versions of Java, JRuby and SWT, but there are no guarantees, so it is best to stick to the pre-requisites outlined above.
|
@@ -325,7 +328,7 @@ jgem install glimmer-dsl-swt
|
|
325
328
|
|
326
329
|
Or this command if you want a specific version:
|
327
330
|
```
|
328
|
-
jgem install glimmer-dsl-swt -v 4.22.
|
331
|
+
jgem install glimmer-dsl-swt -v 4.22.2.2
|
329
332
|
```
|
330
333
|
|
331
334
|
`jgem` is JRuby's version of `gem` command.
|
@@ -353,7 +356,7 @@ Note: if you're using activerecord or activesupport, keep in mind that Glimmer u
|
|
353
356
|
|
354
357
|
Add the following to `Gemfile`:
|
355
358
|
```
|
356
|
-
gem 'glimmer-dsl-swt', '~> 4.22.
|
359
|
+
gem 'glimmer-dsl-swt', '~> 4.22.2.2'
|
357
360
|
```
|
358
361
|
|
359
362
|
And, then run:
|
@@ -376,7 +379,7 @@ glimmer
|
|
376
379
|
```
|
377
380
|
|
378
381
|
```
|
379
|
-
Glimmer (JRuby Desktop Development GUI Framework) - JRuby Gem: glimmer-dsl-swt v4.22.
|
382
|
+
Glimmer (JRuby Desktop Development GUI Framework) - JRuby Gem: glimmer-dsl-swt v4.22.2.2
|
380
383
|
|
381
384
|
Usage: glimmer [--bundler] [--pd] [--quiet] [--debug] [--log-level=VALUE] [[ENV_VAR=VALUE]...] [[-jruby-option]...] (application.rb or task[task_args]) [[application2.rb]...]
|
382
385
|
|
@@ -692,7 +695,7 @@ You may apply for contributing to any of these Glimmer DSL gems whether you pref
|
|
692
695
|
|
693
696
|
[MIT](LICENSE.txt)
|
694
697
|
|
695
|
-
Copyright (c) 2007-
|
698
|
+
Copyright (c) 2007-2022 - Andy Maleh.
|
696
699
|
|
697
700
|
--
|
698
701
|
|
data/RUBY_VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
jruby-9.3.
|
1
|
+
jruby-9.3.3.0
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
4.22.
|
1
|
+
4.22.2.2
|
data/bin/girb
CHANGED
data/bin/girb_runner.rb
CHANGED
data/bin/glimmer
CHANGED
data/bin/glimmer-setup
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
## Glimmer Command
|
2
2
|
|
3
|
-
The `glimmer` command allows you to run, scaffold, package, and list Glimmer applications/gems.
|
3
|
+
The `glimmer` command allows you to run, scaffold, package, and list Glimmer applications/gems more conveniently.
|
4
4
|
|
5
5
|
You can bring up usage instructions by running the `glimmer` command without arguments:
|
6
6
|
|
@@ -18,6 +18,8 @@ Note: If you encounter an issue running the `glimmer` command, run `bundle exec
|
|
18
18
|
|
19
19
|
### Basic Usage
|
20
20
|
|
21
|
+
You can run any Glimmer app with `jruby` directly, which is the most lightweight way of running Glimmer DSL for SWT applications. However, if you wrote an app that does not explicitly `require 'glimmer-dsl-swt'`, then you may use the `glimmer` command for convenience instead since it automatically loads `glimmer-dsl-swt`.
|
22
|
+
|
21
23
|
```
|
22
24
|
glimmer application.rb
|
23
25
|
```
|
@@ -124,7 +126,7 @@ This brings up the [Glimmer Meta-Sample (The Sample of Samples)](#samples):
|
|
124
126
|
Glimmer borrows from Rails the idea of Scaffolding, that is generating a structure for your app files that
|
125
127
|
helps you get started just like true building scaffolding helps construction workers, civil engineers, and architects.
|
126
128
|
|
127
|
-
Glimmer scaffolding goes beyond just scaffolding the app files
|
129
|
+
Glimmer scaffolding goes beyond just scaffolding the app files. It also packages it and launches it,
|
128
130
|
getting you to a running and delivered state of an advanced "Hello, World!" Glimmer application right off the bat.
|
129
131
|
|
130
132
|
This should greatly facilitate building a new Glimmer app by helping you be productive and focus on app details while
|
@@ -207,7 +209,7 @@ And, here is the Windows version of the boilerplate Preferences dialog.
|
|
207
209
|
|
208
210
|
![Glimmer Scaffold App Windows Preferences](/images/glimmer-scaffolding-app-windows-preferences.png)
|
209
211
|
|
210
|
-
In order to run the app after making changes, you
|
212
|
+
In order to run the app after making changes, you can run the `glimmer run`. It automatically detects the generated run script under the `bin` directory and uses it as an argument.
|
211
213
|
|
212
214
|
```
|
213
215
|
glimmer run
|
@@ -216,7 +218,13 @@ glimmer run
|
|
216
218
|
Alternatively, to manually run the app, you may type:
|
217
219
|
|
218
220
|
```
|
219
|
-
|
221
|
+
jruby bin/greeter
|
222
|
+
```
|
223
|
+
|
224
|
+
or:
|
225
|
+
|
226
|
+
```
|
227
|
+
bin/greeter
|
220
228
|
```
|
221
229
|
|
222
230
|
or:
|
@@ -225,6 +233,12 @@ or:
|
|
225
233
|
glimmer bin/greeter
|
226
234
|
```
|
227
235
|
|
236
|
+
or:
|
237
|
+
|
238
|
+
```
|
239
|
+
glimmer run[bin/greeter]
|
240
|
+
```
|
241
|
+
|
228
242
|
#### Desktopify
|
229
243
|
|
230
244
|
Desktopify basically turns a website into a desktop application by wrapping the website within a [Browser Widget](/docs/reference/GLIMMER_GUI_DSL_SYNTAX.md#browser-widget).
|
@@ -302,7 +316,7 @@ Desktopified App on Linux
|
|
302
316
|
|
303
317
|
![Glimmer Scaffold App](/images/glimmer-scaffolding-desktopify-linux.png)
|
304
318
|
|
305
|
-
In order to run the app after making changes, you
|
319
|
+
In order to run the app after making changes, you can run the `glimmer run`. It automatically detects the generated run script under the `bin` directory and uses it as an argument.
|
306
320
|
|
307
321
|
```
|
308
322
|
glimmer run
|
@@ -654,4 +668,4 @@ jruby -J-XstartOnFirstThread -J-classpath "path_to/swt.jar" -r glimmer-dsl-swt -
|
|
654
668
|
|
655
669
|
[MIT](LICENSE.txt)
|
656
670
|
|
657
|
-
Copyright (c) 2007-
|
671
|
+
Copyright (c) 2007-2022 - Andy Maleh.
|
@@ -18,7 +18,7 @@ Watch out for hands-on examples in this README indicated by "you may copy/paste
|
|
18
18
|
|
19
19
|
Keep in mind that all samples live under [https://github.com/AndyObtiva/glimmer-dsl-swt/samples](https://github.com/AndyObtiva/glimmer-dsl-swt/samples)
|
20
20
|
|
21
|
-
If you need a more GUI interactive option to
|
21
|
+
If you need a more GUI interactive option to experiment with Glimmer GUI DSL Syntax, you may try:
|
22
22
|
- [Glimmer Meta-Sample (The Sample of Samples)](#samples): allows launching Glimmer samples and viewing/editing code to learn/experiment too.
|
23
23
|
- ["Ugliest Editor Ever"](https://github.com/AndyObtiva/glimmer-cs-gladiator)
|
24
24
|
- Just build your own GUI editor using the [Glimmer DSL for SWT Ruby Gem](https://rubygems.org/gems/glimmer-dsl-swt).
|
@@ -27,4 +27,4 @@ If you need a more GUI interactive option to experiement with Glimmer GUI DSL Sy
|
|
27
27
|
|
28
28
|
[MIT](LICENSE.txt)
|
29
29
|
|
30
|
-
Copyright (c) 2007-
|
30
|
+
Copyright (c) 2007-2022 - Andy Maleh.
|