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.
Files changed (275) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +21 -0
  3. data/LICENSE.txt +1 -1
  4. data/README.md +15 -12
  5. data/RUBY_VERSION +1 -1
  6. data/VERSION +1 -1
  7. data/bin/girb +1 -1
  8. data/bin/girb_runner.rb +1 -1
  9. data/bin/glimmer +1 -1
  10. data/bin/glimmer-setup +1 -1
  11. data/docs/reference/GLIMMER_COMMAND.md +20 -6
  12. data/docs/reference/GLIMMER_CONFIGURATION.md +1 -1
  13. data/docs/reference/GLIMMER_GIRB.md +2 -2
  14. data/docs/reference/GLIMMER_GUI_DSL_SYNTAX.md +646 -94
  15. data/docs/reference/GLIMMER_PACKAGING_AND_DISTRIBUTION.md +13 -32
  16. data/docs/reference/GLIMMER_SAMPLES.md +25 -9
  17. data/docs/reference/GLIMMER_STYLE_GUIDE.md +6 -0
  18. data/glimmer-dsl-swt.gemspec +0 -0
  19. data/lib/ext/glimmer/config.rb +1 -1
  20. data/lib/ext/glimmer.rb +4 -4
  21. data/lib/ext/rouge/themes/glimmer.rb +21 -0
  22. data/lib/glimmer/Rakefile +6 -6
  23. data/lib/glimmer/data_binding/list_selection_binding.rb +1 -1
  24. data/lib/glimmer/data_binding/observable_widget.rb +1 -1
  25. data/lib/glimmer/data_binding/table_items_binding.rb +1 -1
  26. data/lib/glimmer/data_binding/tree_items_binding.rb +1 -1
  27. data/lib/glimmer/data_binding/widget_binding.rb +1 -1
  28. data/lib/glimmer/dsl/swt/animation_expression.rb +1 -1
  29. data/lib/glimmer/dsl/swt/async_exec_expression.rb +1 -1
  30. data/lib/glimmer/dsl/swt/auto_exec_expression.rb +1 -1
  31. data/lib/glimmer/dsl/swt/bind_expression.rb +1 -1
  32. data/lib/glimmer/dsl/swt/block_property_expression.rb +1 -1
  33. data/lib/glimmer/dsl/swt/c_tab_item_expression.rb +1 -1
  34. data/lib/glimmer/dsl/swt/checkbox_group_selection_data_binding_expression.rb +1 -1
  35. data/lib/glimmer/dsl/swt/color_expression.rb +1 -1
  36. data/lib/glimmer/dsl/swt/column_properties_expression.rb +1 -1
  37. data/lib/glimmer/dsl/swt/combo_selection_data_binding_expression.rb +1 -1
  38. data/lib/glimmer/dsl/swt/cursor_expression.rb +1 -1
  39. data/lib/glimmer/dsl/swt/custom_shape_expression.rb +1 -1
  40. data/lib/glimmer/dsl/swt/custom_widget_expression.rb +1 -1
  41. data/lib/glimmer/dsl/swt/data_binding_expression.rb +1 -1
  42. data/lib/glimmer/dsl/swt/dialog_expression.rb +1 -1
  43. data/lib/glimmer/dsl/swt/display_expression.rb +1 -1
  44. data/lib/glimmer/dsl/swt/dnd_expression.rb +1 -1
  45. data/lib/glimmer/dsl/swt/dsl.rb +2 -2
  46. data/lib/glimmer/dsl/swt/exec_expression.rb +2 -3
  47. data/lib/glimmer/dsl/swt/expand_item_expression.rb +1 -1
  48. data/lib/glimmer/dsl/swt/font_expression.rb +1 -1
  49. data/lib/glimmer/dsl/swt/image_expression.rb +1 -1
  50. data/lib/glimmer/dsl/swt/layout_data_expression.rb +1 -1
  51. data/lib/glimmer/dsl/swt/layout_expression.rb +1 -1
  52. data/lib/glimmer/dsl/swt/list_selection_data_binding_expression.rb +1 -1
  53. data/lib/glimmer/dsl/swt/listener_expression.rb +1 -1
  54. data/lib/glimmer/dsl/swt/menu_bar_expression.rb +1 -1
  55. data/lib/glimmer/dsl/swt/menu_expression.rb +1 -1
  56. data/lib/glimmer/dsl/swt/message_box_expression.rb +1 -1
  57. data/lib/glimmer/dsl/swt/multiply_expression.rb +1 -1
  58. data/lib/glimmer/dsl/swt/observe_expression.rb +1 -1
  59. data/lib/glimmer/dsl/swt/pixel_expression.rb +1 -1
  60. data/lib/glimmer/dsl/swt/property_expression.rb +1 -1
  61. data/lib/glimmer/dsl/swt/radio_group_selection_data_binding_expression.rb +1 -1
  62. data/lib/glimmer/dsl/swt/rgb_expression.rb +1 -1
  63. data/lib/glimmer/dsl/swt/rgba_expression.rb +1 -1
  64. data/lib/glimmer/dsl/swt/shape_expression.rb +2 -1
  65. data/lib/glimmer/dsl/swt/shell_expression.rb +1 -1
  66. data/lib/glimmer/dsl/swt/shine_data_binding_expression.rb +4 -9
  67. data/lib/glimmer/dsl/swt/swt_expression.rb +1 -1
  68. data/lib/glimmer/dsl/swt/sync_call_expression.rb +1 -1
  69. data/lib/glimmer/dsl/swt/sync_exec_expression.rb +1 -1
  70. data/lib/glimmer/dsl/swt/tab_item_expression.rb +1 -1
  71. data/lib/glimmer/dsl/swt/table_items_data_binding_expression.rb +1 -1
  72. data/lib/glimmer/dsl/swt/timer_exec_expression.rb +1 -1
  73. data/lib/glimmer/dsl/swt/transform_expression.rb +1 -1
  74. data/lib/glimmer/dsl/swt/tray_expression.rb +1 -1
  75. data/lib/glimmer/dsl/swt/tray_item_expression.rb +1 -1
  76. data/lib/glimmer/dsl/swt/tree_items_data_binding_expression.rb +1 -1
  77. data/lib/glimmer/dsl/swt/tree_properties_expression.rb +1 -1
  78. data/lib/glimmer/dsl/swt/widget_expression.rb +1 -1
  79. data/lib/glimmer/launcher.rb +2 -2
  80. data/lib/glimmer/rake_task/list.rb +1 -1
  81. data/lib/glimmer/rake_task/package.rb +1 -1
  82. data/lib/glimmer/rake_task/scaffold.rb +2 -3
  83. data/lib/glimmer/rake_task.rb +1 -1
  84. data/lib/glimmer/swt/c_tab_item_proxy.rb +1 -1
  85. data/lib/glimmer/swt/color_proxy.rb +1 -1
  86. data/lib/glimmer/swt/combo_proxy.rb +1 -1
  87. data/lib/glimmer/swt/cursor_proxy.rb +1 -1
  88. data/lib/glimmer/swt/custom/animation.rb +1 -1
  89. data/lib/glimmer/swt/custom/checkbox_group.rb +1 -1
  90. data/lib/glimmer/swt/custom/code_text.rb +1 -1
  91. data/lib/glimmer/swt/custom/drawable.rb +1 -1
  92. data/lib/glimmer/swt/custom/radio_group.rb +1 -1
  93. data/lib/glimmer/swt/custom/shape/arc.rb +1 -1
  94. data/lib/glimmer/swt/custom/shape/cubic.rb +1 -1
  95. data/lib/glimmer/swt/custom/shape/focus.rb +1 -1
  96. data/lib/glimmer/swt/custom/shape/image.rb +1 -1
  97. data/lib/glimmer/swt/custom/shape/line.rb +1 -1
  98. data/lib/glimmer/swt/custom/shape/oval.rb +1 -1
  99. data/lib/glimmer/swt/custom/shape/path.rb +1 -1
  100. data/lib/glimmer/swt/custom/shape/path_segment.rb +1 -1
  101. data/lib/glimmer/swt/custom/shape/point.rb +1 -1
  102. data/lib/glimmer/swt/custom/shape/polygon.rb +1 -1
  103. data/lib/glimmer/swt/custom/shape/polyline.rb +1 -1
  104. data/lib/glimmer/swt/custom/shape/quad.rb +1 -1
  105. data/lib/glimmer/swt/custom/shape/rectangle.rb +1 -1
  106. data/lib/glimmer/swt/custom/shape/text.rb +1 -1
  107. data/lib/glimmer/swt/custom/shape.rb +2 -1
  108. data/lib/glimmer/swt/date_time_proxy.rb +1 -1
  109. data/lib/glimmer/swt/dialog_proxy.rb +1 -1
  110. data/lib/glimmer/swt/display_proxy.rb +1 -1
  111. data/lib/glimmer/swt/dnd_proxy.rb +1 -1
  112. data/lib/glimmer/swt/expand_item_proxy.rb +1 -1
  113. data/lib/glimmer/swt/font_proxy.rb +1 -1
  114. data/lib/glimmer/swt/image_proxy.rb +1 -1
  115. data/lib/glimmer/swt/layout_data_proxy.rb +1 -1
  116. data/lib/glimmer/swt/layout_proxy.rb +1 -1
  117. data/lib/glimmer/swt/menu_proxy.rb +1 -1
  118. data/lib/glimmer/swt/message_box_proxy.rb +1 -1
  119. data/lib/glimmer/swt/packages.rb +1 -1
  120. data/lib/glimmer/swt/properties.rb +1 -1
  121. data/lib/glimmer/swt/proxy_properties.rb +1 -1
  122. data/lib/glimmer/swt/sash_form_proxy.rb +1 -1
  123. data/lib/glimmer/swt/scrolled_composite_proxy.rb +1 -1
  124. data/lib/glimmer/swt/shape_listener_proxy.rb +1 -1
  125. data/lib/glimmer/swt/shell_proxy.rb +2 -1
  126. data/lib/glimmer/swt/style_constantizable.rb +1 -1
  127. data/lib/glimmer/swt/styled_text_proxy.rb +1 -1
  128. data/lib/glimmer/swt/swt_proxy.rb +1 -1
  129. data/lib/glimmer/swt/tab_folder_proxy.rb +1 -1
  130. data/lib/glimmer/swt/tab_item_proxy.rb +1 -1
  131. data/lib/glimmer/swt/table_column_proxy.rb +1 -1
  132. data/lib/glimmer/swt/table_proxy.rb +1 -1
  133. data/lib/glimmer/swt/tool_bar_proxy.rb +1 -1
  134. data/lib/glimmer/swt/transform_proxy.rb +1 -1
  135. data/lib/glimmer/swt/tray_item_proxy.rb +1 -1
  136. data/lib/glimmer/swt/tray_proxy.rb +1 -1
  137. data/lib/glimmer/swt/tree_proxy.rb +1 -1
  138. data/lib/glimmer/swt/widget_listener_proxy.rb +1 -1
  139. data/lib/glimmer/swt/widget_proxy.rb +1 -1
  140. data/lib/glimmer/ui/custom_shape.rb +1 -1
  141. data/lib/glimmer/ui/custom_shell.rb +1 -1
  142. data/lib/glimmer/ui/custom_widget.rb +1 -1
  143. data/lib/glimmer/ui.rb +21 -0
  144. data/lib/glimmer/util/proc_tracker.rb +4 -4
  145. data/lib/glimmer-dsl-swt.rb +1 -1
  146. data/samples/elaborate/battleship/model/cell.rb +1 -1
  147. data/samples/elaborate/battleship/model/game.rb +1 -1
  148. data/samples/elaborate/battleship/model/grid.rb +1 -1
  149. data/samples/elaborate/battleship/model/ship.rb +1 -1
  150. data/samples/elaborate/battleship/model/ship_collection.rb +1 -1
  151. data/samples/elaborate/battleship/view/action_panel.rb +1 -1
  152. data/samples/elaborate/battleship/view/cell.rb +1 -1
  153. data/samples/elaborate/battleship/view/grid.rb +1 -1
  154. data/samples/elaborate/battleship/view/ship.rb +1 -1
  155. data/samples/elaborate/battleship/view/ship_collection.rb +1 -1
  156. data/samples/elaborate/battleship.rb +1 -1
  157. data/samples/elaborate/calculator.rb +1 -1
  158. data/samples/elaborate/clock.rb +1 -1
  159. data/samples/elaborate/connect4/model/grid.rb +1 -1
  160. data/samples/elaborate/connect4/model/slot.rb +1 -1
  161. data/samples/elaborate/connect4.rb +1 -1
  162. data/samples/elaborate/contact_manager/contact.rb +1 -1
  163. data/samples/elaborate/contact_manager/contact_manager_presenter.rb +1 -1
  164. data/samples/elaborate/contact_manager/contact_repository.rb +1 -1
  165. data/samples/elaborate/contact_manager.rb +1 -1
  166. data/samples/elaborate/game_of_life/model/cell.rb +1 -1
  167. data/samples/elaborate/game_of_life/model/grid.rb +1 -1
  168. data/samples/elaborate/game_of_life.rb +1 -1
  169. data/samples/elaborate/login.rb +1 -1
  170. data/samples/elaborate/mandelbrot_fractal.rb +1 -1
  171. data/samples/elaborate/meta_sample.rb +1 -1
  172. data/samples/elaborate/metronome.rb +1 -1
  173. data/samples/elaborate/parking/model/parking_floor.rb +1 -1
  174. data/samples/elaborate/parking/model/parking_presenter.rb +1 -1
  175. data/samples/elaborate/parking/model/parking_spot.rb +1 -1
  176. data/samples/elaborate/parking.rb +1 -1
  177. data/samples/elaborate/quarto/model/game.rb +1 -1
  178. data/samples/elaborate/quarto/model/piece/cube.rb +1 -1
  179. data/samples/elaborate/quarto/model/piece/cylinder.rb +1 -1
  180. data/samples/elaborate/quarto/model/piece.rb +1 -1
  181. data/samples/elaborate/quarto/view/available_pieces_area.rb +1 -1
  182. data/samples/elaborate/quarto/view/board.rb +1 -1
  183. data/samples/elaborate/quarto/view/cell.rb +1 -1
  184. data/samples/elaborate/quarto/view/cube.rb +1 -1
  185. data/samples/elaborate/quarto/view/cylinder.rb +1 -1
  186. data/samples/elaborate/quarto/view/message_box_panel.rb +1 -1
  187. data/samples/elaborate/quarto/view/piece.rb +1 -1
  188. data/samples/elaborate/quarto/view/selected_piece_area.rb +1 -1
  189. data/samples/elaborate/quarto.rb +1 -3
  190. data/samples/elaborate/snake/model/apple.rb +33 -0
  191. data/samples/elaborate/snake/model/game.rb +68 -0
  192. data/samples/elaborate/snake/model/snake.rb +95 -0
  193. data/samples/elaborate/snake/model/vertebra.rb +22 -0
  194. data/samples/elaborate/snake/presenter/cell.rb +27 -0
  195. data/samples/elaborate/snake/presenter/grid.rb +49 -0
  196. data/samples/elaborate/snake.rb +103 -0
  197. data/samples/elaborate/stock_ticker.rb +1 -1
  198. data/samples/elaborate/tetris/model/block.rb +1 -1
  199. data/samples/elaborate/tetris/model/game.rb +1 -1
  200. data/samples/elaborate/tetris/model/past_game.rb +1 -1
  201. data/samples/elaborate/tetris/model/tetromino.rb +1 -1
  202. data/samples/elaborate/tetris/view/bevel.rb +1 -1
  203. data/samples/elaborate/tetris/view/block.rb +1 -1
  204. data/samples/elaborate/tetris/view/high_score_dialog.rb +1 -1
  205. data/samples/elaborate/tetris/view/playfield.rb +1 -1
  206. data/samples/elaborate/tetris/view/score_lane.rb +1 -1
  207. data/samples/elaborate/tetris/view/tetris_menu_bar.rb +1 -1
  208. data/samples/elaborate/tetris.rb +8 -8
  209. data/samples/elaborate/tic_tac_toe/board.rb +1 -1
  210. data/samples/elaborate/tic_tac_toe/cell.rb +1 -1
  211. data/samples/elaborate/tic_tac_toe.rb +1 -1
  212. data/samples/elaborate/timer.rb +1 -1
  213. data/samples/elaborate/user_profile.rb +1 -1
  214. data/samples/elaborate/weather.rb +1 -1
  215. data/samples/hello/hello_arrow.rb +1 -1
  216. data/samples/hello/hello_browser.rb +1 -1
  217. data/samples/hello/hello_button.rb +1 -1
  218. data/samples/hello/hello_c_combo.rb +1 -1
  219. data/samples/hello/hello_c_tab.rb +1 -1
  220. data/samples/hello/hello_canvas.rb +1 -1
  221. data/samples/hello/hello_canvas_animation.rb +1 -1
  222. data/samples/hello/hello_canvas_animation_multi.rb +1 -1
  223. data/samples/hello/hello_canvas_data_binding.rb +8 -8
  224. data/samples/hello/hello_canvas_path.rb +1 -1
  225. data/samples/hello/hello_canvas_shape_listeners.rb +1 -1
  226. data/samples/hello/hello_checkbox.rb +1 -1
  227. data/samples/hello/hello_checkbox_group.rb +1 -1
  228. data/samples/hello/hello_code_text.rb +1 -1
  229. data/samples/hello/hello_color_dialog.rb +1 -1
  230. data/samples/hello/hello_combo.rb +1 -1
  231. data/samples/hello/hello_composite.rb +1 -1
  232. data/samples/hello/hello_computed.rb +1 -1
  233. data/samples/hello/hello_cool_bar.rb +1 -1
  234. data/samples/hello/hello_cursor.rb +1 -1
  235. data/samples/hello/hello_custom_shape.rb +1 -1
  236. data/samples/hello/hello_custom_shell.rb +1 -1
  237. data/samples/hello/hello_custom_widget.rb +1 -1
  238. data/samples/hello/hello_date_time.rb +1 -1
  239. data/samples/hello/hello_dialog.rb +1 -1
  240. data/samples/hello/hello_directory_dialog.rb +1 -1
  241. data/samples/hello/hello_drag_and_drop.rb +1 -1
  242. data/samples/hello/hello_expand_bar.rb +1 -1
  243. data/samples/hello/hello_file_dialog.rb +1 -1
  244. data/samples/hello/hello_font_dialog.rb +1 -1
  245. data/samples/hello/hello_group.rb +1 -1
  246. data/samples/hello/hello_label.rb +1 -1
  247. data/samples/hello/hello_layout.rb +1 -1
  248. data/samples/hello/hello_link.rb +1 -1
  249. data/samples/hello/hello_list_multi_selection.rb +1 -1
  250. data/samples/hello/hello_list_single_selection.rb +1 -1
  251. data/samples/hello/hello_menu_bar.rb +1 -1
  252. data/samples/hello/hello_message_box.rb +1 -1
  253. data/samples/hello/hello_pop_up_context_menu.rb +1 -1
  254. data/samples/hello/hello_print.rb +1 -1
  255. data/samples/hello/hello_print_dialog.rb +1 -1
  256. data/samples/hello/hello_progress_bar.rb +1 -1
  257. data/samples/hello/hello_radio.rb +1 -1
  258. data/samples/hello/hello_radio_group.rb +1 -1
  259. data/samples/hello/hello_sash_form.rb +1 -1
  260. data/samples/hello/hello_scale.rb +1 -1
  261. data/samples/hello/hello_scrolled_composite.rb +1 -1
  262. data/samples/hello/hello_shape.rb +1 -1
  263. data/samples/hello/hello_shell.rb +1 -1
  264. data/samples/hello/hello_slider.rb +1 -1
  265. data/samples/hello/hello_spinner.rb +1 -1
  266. data/samples/hello/hello_styled_text.rb +1 -1
  267. data/samples/hello/hello_tab.rb +1 -1
  268. data/samples/hello/hello_table.rb +1 -1
  269. data/samples/hello/hello_text.rb +1 -1
  270. data/samples/hello/hello_toggle.rb +1 -1
  271. data/samples/hello/hello_tool_bar.rb +1 -1
  272. data/samples/hello/hello_tray_item.rb +1 -1
  273. data/samples/hello/hello_tree.rb +1 -1
  274. data/samples/hello/hello_world.rb +1 -1
  275. metadata +27 -33
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3026e50ed964fa1fb5f64eda607a4e867d31148c0bdf85a22a5c72797d5b7d64
4
- data.tar.gz: a95b41151a1c7805d7906e5d60771ef0281c202c29d7c5bdd38f4143c1f5bb6d
3
+ metadata.gz: 3de6dce288c5d0febfd7cdaa37195daf13284c7ff6f175442a4642f71b499fe7
4
+ data.tar.gz: 33e0fc58526098b0fa74c4bbc6779845b34b5052c3ddcb33d40e6f9d6548f2aa
5
5
  SHA512:
6
- metadata.gz: 9a8e7851957f56c3625e7160b3432b22e970a406f7f9e2a0774da98dced348e0e3d9c6d2059c5bcef1ca714e058a9a23be37f4506d6a259996d3efae78b97790
7
- data.tar.gz: 510f9209d45b3debb9879996da87f86764b9a5e80bda1545de2217a81620b6e5c3d27bbb23ae2d79144294b51a203e3b15f5d50b643628ccf0477788afce6721
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
@@ -1,4 +1,4 @@
1
- Copyright (c) 2007-2021 Andy Maleh
1
+ Copyright (c) 2007-2022 Andy Maleh
2
2
 
3
3
  Permission is hereby granted, free of charge, to any person obtaining
4
4
  a copy of this software and associated documentation files (the
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.1
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.1.1 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. Note that SWT now supports AARCH64 on Mac and Linux, but it is not fully tested in Glimmer DSL for SWT yet, so deem its support experimental for the time being without guarantees for functionality until declared otherwise (please report any issues you may encounter).
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://rubygems.org/gems/glimmer) DSL gems you might be interested in:
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.1.0 (supporting Ruby 2.6.x syntax) (get via [RVM](http://rvm.io) on Mac and Linux by running `rvm install jruby-9.3.1.0`; On Windows, find at [https://www.jruby.org/download](https://www.jruby.org/download))
299
- - SWT 4.22 (already included in the [glimmer-dsl-swt](https://rubygems.org/gems/glimmer-dsl-swt) gem). Note that SWT now supports AARCH64 on Mac and Linux, but it is not fully tested with Glimmer DSL for SWT yet, so it is considered experimental until declared otherwise.
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.1.1
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.1.1'
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.1.1
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-2021 - Andy Maleh.
698
+ Copyright (c) 2007-2022 - Andy Maleh.
696
699
 
697
700
  --
698
701
 
data/RUBY_VERSION CHANGED
@@ -1 +1 @@
1
- jruby-9.3.1.0
1
+ jruby-9.3.3.0
data/VERSION CHANGED
@@ -1 +1 @@
1
- 4.22.1.1
1
+ 4.22.2.2
data/bin/girb CHANGED
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/env jruby
2
2
 
3
- # Copyright (c) 2007-2021 Andy Maleh
3
+ # Copyright (c) 2007-2022 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
data/bin/girb_runner.rb CHANGED
@@ -1,4 +1,4 @@
1
- # Copyright (c) 2007-2021 Andy Maleh
1
+ # Copyright (c) 2007-2022 Andy Maleh
2
2
  #
3
3
  # Permission is hereby granted, free of charge, to any person obtaining
4
4
  # a copy of this software and associated documentation files (the
data/bin/glimmer CHANGED
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/env jruby
2
2
 
3
- # Copyright (c) 2007-2021 Andy Maleh
3
+ # Copyright (c) 2007-2022 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
data/bin/glimmer-setup CHANGED
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/env jruby
2
2
 
3
- # Copyright (c) 2020-2021 Andy Maleh
3
+ # Copyright (c) 2007-2022 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
@@ -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 that Rails does. It also packages it and launches it,
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 must run the `glimmer run`. It automatically detects the generated run script under the `bin` directory and uses it as an argument.
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
- glimmer run[bin/greeter]
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 must run the `glimmer run`. It automatically detects the generated run script under the `bin` directory and uses it as an argument.
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-2021 - Andy Maleh.
671
+ Copyright (c) 2007-2022 - Andy Maleh.
@@ -195,4 +195,4 @@ large scale updates in the rare cases where optimization is needed.
195
195
 
196
196
  [MIT](LICENSE.txt)
197
197
 
198
- Copyright (c) 2007-2021 - Andy Maleh.
198
+ 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 experiement with Glimmer GUI DSL Syntax, you may try:
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-2021 - Andy Maleh.
30
+ Copyright (c) 2007-2022 - Andy Maleh.