glimmer-dsl-swt 4.29.0.0 → 4.30.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +15 -0
- data/LICENSE.txt +1 -1
- data/README.md +11 -10
- data/RUBY_VERSION +1 -1
- data/VERSION +1 -1
- data/bin/girb +2 -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 +1 -1
- data/docs/reference/GLIMMER_CONFIGURATION.md +1 -1
- data/docs/reference/GLIMMER_GIRB.md +1 -1
- data/docs/reference/GLIMMER_GUI_DSL_SYNTAX.md +1 -1
- data/docs/reference/GLIMMER_PACKAGING_AND_DISTRIBUTION.md +5 -1
- data/docs/reference/GLIMMER_SAMPLES.md +1 -1
- data/docs/reference/GLIMMER_STYLE_GUIDE.md +1 -1
- data/glimmer-dsl-swt.gemspec +0 -0
- data/lib/ext/glimmer/config.rb +1 -1
- data/lib/ext/glimmer.rb +1 -1
- data/lib/ext/rouge/themes/glimmer.rb +1 -1
- data/lib/ext/rouge/themes/glimmer_dark.rb +1 -1
- data/lib/glimmer/Rakefile +1 -1
- 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 +1 -1
- data/lib/glimmer/dsl/swt/exec_expression.rb +1 -1
- 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 +1 -1
- data/lib/glimmer/dsl/swt/shell_expression.rb +1 -1
- data/lib/glimmer/dsl/swt/shine_data_binding_expression.rb +1 -1
- 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 +1 -1
- data/lib/glimmer/rake_task/list.rb +2 -2
- data/lib/glimmer/rake_task/package.rb +1 -1
- data/lib/glimmer/rake_task/scaffold.rb +3 -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/refined_table.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 +1 -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 +1 -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 +1 -1
- data/lib/glimmer/util/proc_tracker.rb +1 -1
- 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/klondike_solitaire.rb +1 -1
- data/samples/elaborate/login.rb +1 -1
- data/samples/elaborate/mandelbrot_fractal.rb +3 -3
- 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 -1
- 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 +2 -2
- 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 +3 -3
- 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 +1 -1
- data/samples/hello/hello_canvas_drag_and_drop.rb +1 -1
- 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_refined_table.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
- data/vendor/swt/linux/swt.jar +0 -0
- data/vendor/swt/linux_aarch64/swt.jar +0 -0
- data/vendor/swt/mac/swt.jar +0 -0
- data/vendor/swt/mac_aarch64/swt.jar +0 -0
- data/vendor/swt/windows/swt.jar +0 -0
- metadata +29 -9
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 37a4844519fc3bb8ff777ab255086b32d7d1d21a2e26b867acbaf601c73b193c
|
4
|
+
data.tar.gz: 1fa4f38976055606cb187a55a0ff09adb1c28b7f3af1e5468e405899057caab7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0f50accb631c50b02fb28fbaa7f26486a5127e06d943937b8a34699d042e4c5e7e4177f2d3a5902b8216693eed665433c9472ee631986b4c128be0cbdd0d6a46
|
7
|
+
data.tar.gz: 32e948d00b452fcd367e59a05658a00b651333927d54f1e0ae7bbd2999e5f74c793b5b0e9596e01baab7182e30ff338d1b1d0b46e079f79cdebb213d4244f585
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,20 @@
|
|
1
1
|
# Change Log
|
2
2
|
|
3
|
+
## 4.30.1.0
|
4
|
+
|
5
|
+
- Upgrade to JRuby 9.4.10.0
|
6
|
+
- Fix issue with native executable packaging by upgrading scaffolded app/gem configured jar-dependencies version to 0.5.3
|
7
|
+
|
8
|
+
## 4.30.0.0
|
9
|
+
|
10
|
+
- Upgrade to SWT 4.30
|
11
|
+
- Upgrade to JDK 21
|
12
|
+
- Upgrade to JRuby 9.4.5.0 with Ruby 3.1 support
|
13
|
+
- Upgrade to Glimmer 2.7.4
|
14
|
+
- Avoid loading the entirety of facets when scaffolding or listing gems (speeding up performance of glimmer list and scaffold commands)
|
15
|
+
- 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
|
16
|
+
- Fix dimensions of Weather sample on Linux
|
17
|
+
|
3
18
|
## 4.29.0.0
|
4
19
|
|
5
20
|
- Upgrade to SWT 4.29
|
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.
|
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.30.1.0
|
2
2
|
## JRuby Desktop Development Cross-Platform Native GUI Framework
|
3
3
|
### The Quickest Way From Zero To GUI
|
4
4
|
[![Gem Version](https://badge.fury.io/rb/glimmer-dsl-swt.svg)](http://badge.fury.io/rb/glimmer-dsl-swt)
|
@@ -9,7 +9,7 @@
|
|
9
9
|
|
10
10
|
**[If You Liked Shoes, You'll Love Glimmer!](https://github.com/AndyObtiva/glimmer#faq)**
|
11
11
|
|
12
|
-
**(
|
12
|
+
**(Original Glimmer Library Handling World’s Ruby GUI Needs Since 2007. Beware of Imitators!)**
|
13
13
|
|
14
14
|
(**[***RubyConf 2022 Talk - Building Native GUI Apps in Ruby***](https://andymaleh.blogspot.com/2023/02/rubyconf-2022-talk-video-for-building.html)**)
|
15
15
|
|
@@ -30,12 +30,14 @@ Featured in JRuby Cookbook](http://shop.oreilly.com/product/9780596519650.do) an
|
|
30
30
|
|
31
31
|
![Eclipse SWT RCP NASA Mars Rover](/images/glimmer-eclipse-swt-rcp-nasa-mars-rover.png)
|
32
32
|
|
33
|
-
[Glimmer DSL for SWT](https://rubygems.org/gems/glimmer-dsl-swt) 4.
|
33
|
+
[Glimmer DSL for SWT](https://rubygems.org/gems/glimmer-dsl-swt) 4.30.1.0 includes [SWT 4.30](https://download.eclipse.org/eclipse/downloads/drops4/R-4.30-202312010110/), which was released on December 1, 2023. 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. Note that SWT supports ARM64/AARCH64 on Mac and Linux since version `4.20`.
|
34
34
|
|
35
35
|
**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. That was [originally conceived back in 2007](https://andymaleh.blogspot.com/2007/12/data-shining-in-glimmer.html).
|
36
36
|
|
37
37
|
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.
|
38
38
|
|
39
|
+
This is a [JRuby](https://www.jruby.org/) desktop GUI library. If you are looking for a standard [Ruby](https://www.ruby-lang.org/) (aka MRI/CRuby) desktop GUI library instead, check out [Glimmer DSL for LibUI](https://github.com/AndyObtiva/glimmer-dsl-libui) (Fukuoka Ruby 2022 Award Winning), [Glimmer DSL for WX](https://github.com/AndyObtiva/glimmer-dsl-wx), [Glimmer DSL for Tk](https://github.com/AndyObtiva/glimmer-dsl-tk), [Glimmer DSL for GTK](https://github.com/AndyObtiva/glimmer-dsl-gtk), or [Glimmer DSL for FX](https://github.com/AndyObtiva/glimmer-dsl-fx).
|
40
|
+
|
39
41
|
Learn more about the differences between various [Glimmer](https://github.com/AndyObtiva/glimmer) DSLs by looking at the **[Glimmer DSL Comparison Table](https://github.com/AndyObtiva/glimmer#glimmer-dsl-comparison-table)**.
|
40
42
|
|
41
43
|
## Examples
|
@@ -303,10 +305,9 @@ https://www.eclipse.org/swt/faq.php
|
|
303
305
|
|
304
306
|
## Pre-requisites
|
305
307
|
|
306
|
-
- JDK
|
308
|
+
- JDK 21 is recommended / JDK 16 is the minimum except on Mac ARM64 where JDK 17 is the minimum (find at https://www.oracle.com/java/technologies/downloads / Ensure `PATH` env var includes Java bin directory for `jpackage` command to work when packaging Glimmer applications / Preferably setup `JAVA_HOME` env var too to point to JDK home directory before installing JRuby)
|
307
309
|
- [RVM](http://rvm.io) on Mac & Linux (not needed on Windows)
|
308
|
-
- JRuby 9.
|
309
|
-
- SWT 4.25 (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
|
310
|
+
- JRuby 9.4.10.0 (supporting Ruby 3.1.x syntax) (get via [RVM](http://rvm.io) on Mac and Linux by running `rvm install jruby-9.4.10.0`; On Windows, find at [https://www.jruby.org/download](https://www.jruby.org/download))
|
310
311
|
- Git (comes with Mac and Linux. Install on Windows: https://git-scm.com/download/win )
|
311
312
|
|
312
313
|
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.
|
@@ -335,7 +336,7 @@ jgem install glimmer-dsl-swt
|
|
335
336
|
|
336
337
|
Or this command if you want a specific version:
|
337
338
|
```
|
338
|
-
jgem install glimmer-dsl-swt -v 4.
|
339
|
+
jgem install glimmer-dsl-swt -v 4.30.1.0
|
339
340
|
```
|
340
341
|
|
341
342
|
`jgem` is JRuby's version of `gem` command.
|
@@ -363,7 +364,7 @@ Note: if you're using activerecord or activesupport, keep in mind that Glimmer u
|
|
363
364
|
|
364
365
|
Add the following to `Gemfile`:
|
365
366
|
```
|
366
|
-
gem 'glimmer-dsl-swt', '~> 4.
|
367
|
+
gem 'glimmer-dsl-swt', '~> 4.30.1.0'
|
367
368
|
```
|
368
369
|
|
369
370
|
And, then run:
|
@@ -386,7 +387,7 @@ glimmer
|
|
386
387
|
```
|
387
388
|
|
388
389
|
```
|
389
|
-
Glimmer (JRuby Desktop Development GUI Framework) - JRuby Gem: glimmer-dsl-swt v4.
|
390
|
+
Glimmer (JRuby Desktop Development GUI Framework) - JRuby Gem: glimmer-dsl-swt v4.30.1.0
|
390
391
|
|
391
392
|
Usage: glimmer [--bundler] [--pd] [--quiet] [--debug] [--log-level=VALUE] [[ENV_VAR=VALUE]...] [[-jruby-option]...] (application.rb or task[task_args]) [[application2.rb]...]
|
392
393
|
|
@@ -790,7 +791,7 @@ You may apply for contributing to any of these Glimmer DSL gems whether you pref
|
|
790
791
|
|
791
792
|
[MIT](LICENSE.txt)
|
792
793
|
|
793
|
-
Copyright (c) 2007-
|
794
|
+
Copyright (c) 2007-2025 - Andy Maleh.
|
794
795
|
|
795
796
|
--
|
796
797
|
|
data/RUBY_VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
jruby-9.
|
1
|
+
jruby-9.4.10.0
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
4.
|
1
|
+
4.30.1.0
|
data/bin/girb
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
#!/usr/bin/env jruby
|
2
2
|
|
3
|
-
# Copyright (c) 2007-
|
3
|
+
# Copyright (c) 2007-2025 Andy Maleh
|
4
4
|
#
|
5
5
|
# Permission is hereby granted, free of charge, to any person obtaining
|
6
6
|
# a copy of this software and associated documentation files (the
|
@@ -29,4 +29,5 @@ require_relative 'girb_runner'
|
|
29
29
|
|
30
30
|
require 'irb'
|
31
31
|
|
32
|
+
IRB.parse_opts(argv: ['--readline'])
|
32
33
|
IRB.start('.')
|
data/bin/girb_runner.rb
CHANGED
data/bin/glimmer
CHANGED
data/bin/glimmer-setup
CHANGED
@@ -94,6 +94,10 @@ glimmer package:config
|
|
94
94
|
|
95
95
|
This will generate `config/warble.rb`, which you may configure and then run `glimmer package` afterwards.
|
96
96
|
|
97
|
+
For example, if you need to add extra files, like `.env` (using [`dotenv` Ruby gem](https://github.com/bkeepers/dotenv)), you would add `.env` to `config.includes` in `config/warble.rb`
|
98
|
+
|
99
|
+
If you need extra directory to be packaged beyond the default ones generated for you, you can add them to `config.dirs` in `config/warble.rb`
|
100
|
+
|
97
101
|
### Packaging Configuration
|
98
102
|
|
99
103
|
- Ensure you have a Ruby script under `bin` directory that launches the application, preferably matching your project directory name (e.g. `bin/math_bowling`) :
|
@@ -235,4 +239,4 @@ This would not be an issue if the app was [signed by Apple as per Mac Applicatio
|
|
235
239
|
|
236
240
|
[MIT](LICENSE.txt)
|
237
241
|
|
238
|
-
Copyright (c) 2007-
|
242
|
+
Copyright (c) 2007-2025 - Andy Maleh.
|
data/glimmer-dsl-swt.gemspec
CHANGED
Binary file
|
data/lib/ext/glimmer/config.rb
CHANGED
data/lib/ext/glimmer.rb
CHANGED
data/lib/glimmer/Rakefile
CHANGED
data/lib/glimmer/dsl/swt/dsl.rb
CHANGED