glimmer-dsl-libui 0.12.6 → 0.12.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (130) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +10 -0
  3. data/LICENSE.txt +1 -1
  4. data/README.md +23 -21
  5. data/VERSION +1 -1
  6. data/bin/girb +1 -1
  7. data/bin/girb_runner.rb +1 -1
  8. data/bin/glimmer +1 -1
  9. data/docs/examples/GLIMMER-DSL-LIBUI-ADVANCED-EXAMPLES.md +1 -1
  10. data/examples/snake/model/game.rb +12 -12
  11. data/examples/tetris/model/block.rb +1 -1
  12. data/examples/tetris/model/game.rb +1 -1
  13. data/examples/tetris/model/past_game.rb +1 -1
  14. data/examples/tetris/model/tetromino.rb +1 -1
  15. data/examples/tetris.rb +1 -1
  16. data/examples/tic_tac_toe/board.rb +1 -1
  17. data/examples/tic_tac_toe/cell.rb +1 -1
  18. data/glimmer-dsl-libui.gemspec +0 -0
  19. data/lib/glimmer/dsl/libui/bind_expression.rb +1 -1
  20. data/lib/glimmer/dsl/libui/content_expression.rb +1 -1
  21. data/lib/glimmer/dsl/libui/control_expression.rb +1 -1
  22. data/lib/glimmer/dsl/libui/custom_control_expression.rb +1 -1
  23. data/lib/glimmer/dsl/libui/custom_control_slot_content_expression.rb +1 -1
  24. data/lib/glimmer/dsl/libui/custom_shape_expression.rb +1 -1
  25. data/lib/glimmer/dsl/libui/data_binding_expression.rb +1 -1
  26. data/lib/glimmer/dsl/libui/dsl.rb +1 -1
  27. data/lib/glimmer/dsl/libui/file_expression.rb +1 -1
  28. data/lib/glimmer/dsl/libui/listener_expression.rb +1 -1
  29. data/lib/glimmer/dsl/libui/observe_expression.rb +1 -1
  30. data/lib/glimmer/dsl/libui/open_file_expression.rb +1 -1
  31. data/lib/glimmer/dsl/libui/open_folder_expression.rb +1 -1
  32. data/lib/glimmer/dsl/libui/operation_expression.rb +1 -1
  33. data/lib/glimmer/dsl/libui/property_expression.rb +1 -1
  34. data/lib/glimmer/dsl/libui/save_file_expression.rb +1 -1
  35. data/lib/glimmer/dsl/libui/shape_expression.rb +1 -1
  36. data/lib/glimmer/dsl/libui/shine_data_binding_expression.rb +1 -1
  37. data/lib/glimmer/dsl/libui/string_expression.rb +1 -1
  38. data/lib/glimmer/dsl/libui/tab_item_expression.rb +1 -1
  39. data/lib/glimmer/fiddle_consumer.rb +1 -1
  40. data/lib/glimmer/libui/attributed_string.rb +1 -1
  41. data/lib/glimmer/libui/control_proxy/area_proxy/scrolling_area_proxy.rb +1 -1
  42. data/lib/glimmer/libui/control_proxy/area_proxy.rb +1 -1
  43. data/lib/glimmer/libui/control_proxy/box/horizontal_box_proxy.rb +1 -1
  44. data/lib/glimmer/libui/control_proxy/box/vertical_box_proxy.rb +1 -1
  45. data/lib/glimmer/libui/control_proxy/box.rb +1 -1
  46. data/lib/glimmer/libui/control_proxy/button_proxy.rb +1 -1
  47. data/lib/glimmer/libui/control_proxy/checkbox_proxy.rb +1 -1
  48. data/lib/glimmer/libui/control_proxy/color_button_proxy.rb +1 -1
  49. data/lib/glimmer/libui/control_proxy/column/background_color_column_proxy.rb +1 -1
  50. data/lib/glimmer/libui/control_proxy/column/button_column_proxy.rb +1 -1
  51. data/lib/glimmer/libui/control_proxy/column/checkbox_column_proxy.rb +1 -1
  52. data/lib/glimmer/libui/control_proxy/column/checkbox_text_color_column_proxy.rb +1 -1
  53. data/lib/glimmer/libui/control_proxy/column/checkbox_text_column_proxy.rb +1 -1
  54. data/lib/glimmer/libui/control_proxy/column/image_column_proxy.rb +1 -1
  55. data/lib/glimmer/libui/control_proxy/column/image_text_color_column_proxy.rb +1 -1
  56. data/lib/glimmer/libui/control_proxy/column/image_text_column_proxy.rb +1 -1
  57. data/lib/glimmer/libui/control_proxy/column/progress_bar_column_proxy.rb +1 -1
  58. data/lib/glimmer/libui/control_proxy/column/text_color_column_proxy.rb +1 -1
  59. data/lib/glimmer/libui/control_proxy/column/text_column_proxy.rb +1 -1
  60. data/lib/glimmer/libui/control_proxy/column.rb +1 -1
  61. data/lib/glimmer/libui/control_proxy/combobox_proxy.rb +1 -1
  62. data/lib/glimmer/libui/control_proxy/date_time_picker_proxy/date_picker_proxy.rb +1 -1
  63. data/lib/glimmer/libui/control_proxy/date_time_picker_proxy/time_picker_proxy.rb +1 -1
  64. data/lib/glimmer/libui/control_proxy/date_time_picker_proxy.rb +1 -1
  65. data/lib/glimmer/libui/control_proxy/dual_column.rb +1 -1
  66. data/lib/glimmer/libui/control_proxy/editable_column.rb +1 -1
  67. data/lib/glimmer/libui/control_proxy/editable_combobox_proxy.rb +1 -1
  68. data/lib/glimmer/libui/control_proxy/enableable_column.rb +1 -1
  69. data/lib/glimmer/libui/control_proxy/entry_proxy/password_entry_proxy.rb +1 -1
  70. data/lib/glimmer/libui/control_proxy/entry_proxy/search_entry_proxy.rb +1 -1
  71. data/lib/glimmer/libui/control_proxy/entry_proxy.rb +1 -1
  72. data/lib/glimmer/libui/control_proxy/font_button_proxy.rb +1 -1
  73. data/lib/glimmer/libui/control_proxy/form_proxy.rb +1 -1
  74. data/lib/glimmer/libui/control_proxy/grid_proxy.rb +1 -1
  75. data/lib/glimmer/libui/control_proxy/group_proxy.rb +1 -1
  76. data/lib/glimmer/libui/control_proxy/image_part_proxy.rb +1 -1
  77. data/lib/glimmer/libui/control_proxy/image_proxy.rb +1 -1
  78. data/lib/glimmer/libui/control_proxy/label_proxy.rb +1 -1
  79. data/lib/glimmer/libui/control_proxy/matrix_proxy.rb +1 -1
  80. data/lib/glimmer/libui/control_proxy/menu_item_proxy/about_menu_item_proxy.rb +1 -1
  81. data/lib/glimmer/libui/control_proxy/menu_item_proxy/check_menu_item_proxy.rb +1 -1
  82. data/lib/glimmer/libui/control_proxy/menu_item_proxy/preferences_menu_item_proxy.rb +1 -1
  83. data/lib/glimmer/libui/control_proxy/menu_item_proxy/quit_menu_item_proxy.rb +1 -1
  84. data/lib/glimmer/libui/control_proxy/menu_item_proxy/radio_menu_item_proxy.rb +1 -1
  85. data/lib/glimmer/libui/control_proxy/menu_item_proxy/separator_menu_item_proxy.rb +1 -1
  86. data/lib/glimmer/libui/control_proxy/menu_item_proxy.rb +1 -1
  87. data/lib/glimmer/libui/control_proxy/menu_proxy.rb +1 -1
  88. data/lib/glimmer/libui/control_proxy/message_box/msg_box_error_proxy.rb +1 -1
  89. data/lib/glimmer/libui/control_proxy/message_box/msg_box_proxy.rb +1 -1
  90. data/lib/glimmer/libui/control_proxy/message_box.rb +1 -1
  91. data/lib/glimmer/libui/control_proxy/multiline_entry_proxy/non_wrapping_multiline_entry_proxy.rb +1 -1
  92. data/lib/glimmer/libui/control_proxy/multiline_entry_proxy.rb +1 -1
  93. data/lib/glimmer/libui/control_proxy/open_type_features_proxy.rb +1 -1
  94. data/lib/glimmer/libui/control_proxy/open_type_tag_proxy.rb +1 -1
  95. data/lib/glimmer/libui/control_proxy/path_proxy.rb +1 -1
  96. data/lib/glimmer/libui/control_proxy/radio_buttons_proxy.rb +1 -1
  97. data/lib/glimmer/libui/control_proxy/slider_proxy.rb +1 -1
  98. data/lib/glimmer/libui/control_proxy/spinbox_proxy.rb +1 -1
  99. data/lib/glimmer/libui/control_proxy/tab_item_proxy.rb +1 -1
  100. data/lib/glimmer/libui/control_proxy/table_proxy.rb +1 -1
  101. data/lib/glimmer/libui/control_proxy/text_proxy.rb +1 -1
  102. data/lib/glimmer/libui/control_proxy/transformable.rb +1 -1
  103. data/lib/glimmer/libui/control_proxy/triple_column.rb +1 -1
  104. data/lib/glimmer/libui/control_proxy/window_proxy.rb +1 -1
  105. data/lib/glimmer/libui/control_proxy.rb +1 -1
  106. data/lib/glimmer/libui/custom_control/code_area.rb +1 -1
  107. data/lib/glimmer/libui/custom_control/code_entry.rb +1 -1
  108. data/lib/glimmer/libui/custom_control/refined_table.rb +2 -2
  109. data/lib/glimmer/libui/custom_control.rb +1 -1
  110. data/lib/glimmer/libui/custom_shape.rb +1 -1
  111. data/lib/glimmer/libui/custom_window.rb +1 -1
  112. data/lib/glimmer/libui/data_bindable.rb +1 -1
  113. data/lib/glimmer/libui/parent.rb +1 -1
  114. data/lib/glimmer/libui/shape/arc.rb +1 -1
  115. data/lib/glimmer/libui/shape/bezier.rb +1 -1
  116. data/lib/glimmer/libui/shape/circle.rb +1 -1
  117. data/lib/glimmer/libui/shape/figure.rb +1 -1
  118. data/lib/glimmer/libui/shape/line.rb +1 -1
  119. data/lib/glimmer/libui/shape/polybezier.rb +1 -1
  120. data/lib/glimmer/libui/shape/polygon.rb +1 -1
  121. data/lib/glimmer/libui/shape/polyline.rb +1 -1
  122. data/lib/glimmer/libui/shape/rectangle.rb +1 -1
  123. data/lib/glimmer/libui/shape/square.rb +1 -1
  124. data/lib/glimmer/libui/shape.rb +1 -1
  125. data/lib/glimmer/libui.rb +1 -1
  126. data/lib/glimmer/rake_task/package.rb +1 -1
  127. data/lib/glimmer/rake_task/scaffold.rb +10 -6
  128. data/lib/glimmer/rake_task.rb +1 -1
  129. data/lib/glimmer-dsl-libui.rb +1 -1
  130. metadata +3 -3
@@ -1,4 +1,4 @@
1
- # Copyright (c) 2021-2024 Andy Maleh
1
+ # Copyright (c) 2021-2025 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
@@ -1,4 +1,4 @@
1
- # Copyright (c) 2021-2024 Andy Maleh
1
+ # Copyright (c) 2021-2025 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
@@ -1,4 +1,4 @@
1
- # Copyright (c) 2021-2024 Andy Maleh
1
+ # Copyright (c) 2021-2025 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
@@ -1,4 +1,4 @@
1
- # Copyright (c) 2021-2024 Andy Maleh
1
+ # Copyright (c) 2021-2025 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
@@ -1,4 +1,4 @@
1
- # Copyright (c) 2021-2024 Andy Maleh
1
+ # Copyright (c) 2021-2025 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
@@ -1,4 +1,4 @@
1
- # Copyright (c) 2021-2024 Andy Maleh
1
+ # Copyright (c) 2021-2025 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
@@ -1,4 +1,4 @@
1
- # Copyright (c) 2021-2024 Andy Maleh
1
+ # Copyright (c) 2021-2025 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
@@ -1,4 +1,4 @@
1
- # Copyright (c) 2021-2024 Andy Maleh
1
+ # Copyright (c) 2021-2025 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
@@ -1,4 +1,4 @@
1
- # Copyright (c) 2021-2024 Andy Maleh
1
+ # Copyright (c) 2021-2025 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
@@ -1,4 +1,4 @@
1
- # Copyright (c) 2021-2024 Andy Maleh
1
+ # Copyright (c) 2021-2025 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
@@ -1,4 +1,4 @@
1
- # Copyright (c) 2021-2024 Andy Maleh
1
+ # Copyright (c) 2021-2025 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
@@ -1,4 +1,4 @@
1
- # Copyright (c) 2021-2024 Andy Maleh
1
+ # Copyright (c) 2021-2025 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
@@ -1,4 +1,4 @@
1
- # Copyright (c) 2021-2024 Andy Maleh
1
+ # Copyright (c) 2021-2025 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
@@ -1,4 +1,4 @@
1
- # Copyright (c) 2021-2024 Andy Maleh
1
+ # Copyright (c) 2021-2025 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
@@ -1,4 +1,4 @@
1
- # Copyright (c) 2021-2024 Andy Maleh
1
+ # Copyright (c) 2021-2025 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
@@ -1,4 +1,4 @@
1
- # Copyright (c) 2021-2024 Andy Maleh
1
+ # Copyright (c) 2021-2025 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
@@ -1,4 +1,4 @@
1
- # Copyright (c) 2021-2024 Andy Maleh
1
+ # Copyright (c) 2021-2025 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
@@ -1,4 +1,4 @@
1
- # Copyright (c) 2021-2024 Andy Maleh
1
+ # Copyright (c) 2021-2025 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
@@ -1,4 +1,4 @@
1
- # Copyright (c) 2021-2024 Andy Maleh
1
+ # Copyright (c) 2021-2025 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
@@ -1,4 +1,4 @@
1
- # Copyright (c) 2021-2024 Andy Maleh
1
+ # Copyright (c) 2021-2025 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
@@ -1,4 +1,4 @@
1
- # Copyright (c) 2021-2024 Andy Maleh
1
+ # Copyright (c) 2021-2025 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
@@ -1,4 +1,4 @@
1
- # Copyright (c) 2021-2024 Andy Maleh
1
+ # Copyright (c) 2021-2025 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
@@ -1,4 +1,4 @@
1
- # Copyright (c) 2021-2024 Andy Maleh
1
+ # Copyright (c) 2021-2025 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
@@ -1,4 +1,4 @@
1
- # Copyright (c) 2021-2024 Andy Maleh
1
+ # Copyright (c) 2021-2025 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
@@ -1,4 +1,4 @@
1
- # Copyright (c) 2021-2024 Andy Maleh
1
+ # Copyright (c) 2021-2025 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
@@ -1,4 +1,4 @@
1
- # Copyright (c) 2021-2024 Andy Maleh
1
+ # Copyright (c) 2021-2025 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
@@ -1,4 +1,4 @@
1
- # Copyright (c) 2021-2024 Andy Maleh
1
+ # Copyright (c) 2021-2025 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
@@ -1,4 +1,4 @@
1
- # Copyright (c) 2021-2024 Andy Maleh
1
+ # Copyright (c) 2021-2025 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
@@ -1,4 +1,4 @@
1
- # Copyright (c) 2021-2024 Andy Maleh
1
+ # Copyright (c) 2021-2025 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
@@ -1,4 +1,4 @@
1
- # Copyright (c) 2021-2024 Andy Maleh
1
+ # Copyright (c) 2021-2025 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
@@ -1,4 +1,4 @@
1
- # Copyright (c) 2021-2024 Andy Maleh
1
+ # Copyright (c) 2021-2025 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
@@ -1,4 +1,4 @@
1
- # Copyright (c) 2021-2024 Andy Maleh
1
+ # Copyright (c) 2021-2025 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
@@ -1,4 +1,4 @@
1
- # Copyright (c) 2021-2024 Andy Maleh
1
+ # Copyright (c) 2021-2025 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
@@ -1,4 +1,4 @@
1
- # Copyright (c) 2021-2024 Andy Maleh
1
+ # Copyright (c) 2021-2025 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
@@ -1,4 +1,4 @@
1
- # Copyright (c) 2021-2024 Andy Maleh
1
+ # Copyright (c) 2021-2025 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
@@ -1,4 +1,4 @@
1
- # Copyright (c) 2021-2024 Andy Maleh
1
+ # Copyright (c) 2021-2025 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
@@ -1,4 +1,4 @@
1
- # Copyright (c) 2021-2024 Andy Maleh
1
+ # Copyright (c) 2021-2025 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
@@ -1,4 +1,4 @@
1
- # Copyright (c) 2021-2024 Andy Maleh
1
+ # Copyright (c) 2021-2025 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
@@ -1,4 +1,4 @@
1
- # Copyright (c) 2021-2024 Andy Maleh
1
+ # Copyright (c) 2021-2025 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
@@ -1,4 +1,4 @@
1
- # Copyright (c) 2021-2024 Andy Maleh
1
+ # Copyright (c) 2021-2025 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
@@ -1,4 +1,4 @@
1
- # Copyright (c) 2021-2024 Andy Maleh
1
+ # Copyright (c) 2021-2025 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
@@ -1,4 +1,4 @@
1
- # Copyright (c) 2021-2024 Andy Maleh
1
+ # Copyright (c) 2021-2025 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
@@ -1,4 +1,4 @@
1
- # Copyright (c) 2021-2024 Andy Maleh
1
+ # Copyright (c) 2021-2025 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
@@ -1,4 +1,4 @@
1
- # Copyright (c) 2021-2024 Andy Maleh
1
+ # Copyright (c) 2021-2025 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
@@ -1,4 +1,4 @@
1
- # Copyright (c) 2021-2024 Andy Maleh
1
+ # Copyright (c) 2021-2025 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
@@ -1,4 +1,4 @@
1
- # Copyright (c) 2021-2024 Andy Maleh
1
+ # Copyright (c) 2021-2025 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
@@ -1,4 +1,4 @@
1
- # Copyright (c) 2021-2024 Andy Maleh
1
+ # Copyright (c) 2021-2025 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
@@ -1,4 +1,4 @@
1
- # Copyright (c) 2021-2024 Andy Maleh
1
+ # Copyright (c) 2021-2025 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
@@ -1,4 +1,4 @@
1
- # Copyright (c) 2021-2024 Andy Maleh
1
+ # Copyright (c) 2021-2025 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
@@ -1,4 +1,4 @@
1
- # Copyright (c) 2021-2024 Andy Maleh
1
+ # Copyright (c) 2021-2025 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
@@ -1,4 +1,4 @@
1
- # Copyright (c) 2021-2024 Andy Maleh
1
+ # Copyright (c) 2021-2025 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
@@ -1,4 +1,4 @@
1
- # Copyright (c) 2021-2024 Andy Maleh
1
+ # Copyright (c) 2021-2025 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
@@ -61,7 +61,7 @@ module Glimmer
61
61
  table_column_name.underscore.start_with?(column_name.underscore)
62
62
  end
63
63
  if column_human_name
64
- row_hash[column_human_name].downcase.include?(column_value.downcase)
64
+ row_hash[column_human_name]&.downcase&.include?(column_value.downcase)
65
65
  else
66
66
  text.downcase.include?(word.downcase)
67
67
  end
@@ -1,4 +1,4 @@
1
- # Copyright (c) 2021-2024 Andy Maleh
1
+ # Copyright (c) 2021-2025 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
@@ -1,4 +1,4 @@
1
- # Copyright (c) 2021-2024 Andy Maleh
1
+ # Copyright (c) 2021-2025 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
@@ -1,4 +1,4 @@
1
- # Copyright (c) 2021-2024 Andy Maleh
1
+ # Copyright (c) 2021-2025 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
@@ -1,4 +1,4 @@
1
- # Copyright (c) 2021-2024 Andy Maleh
1
+ # Copyright (c) 2021-2025 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
@@ -1,4 +1,4 @@
1
- # Copyright (c) 2021-2024 Andy Maleh
1
+ # Copyright (c) 2021-2025 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
@@ -1,4 +1,4 @@
1
- # Copyright (c) 2021-2024 Andy Maleh
1
+ # Copyright (c) 2021-2025 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
@@ -1,4 +1,4 @@
1
- # Copyright (c) 2021-2024 Andy Maleh
1
+ # Copyright (c) 2021-2025 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
@@ -1,4 +1,4 @@
1
- # Copyright (c) 2021-2024 Andy Maleh
1
+ # Copyright (c) 2021-2025 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
@@ -1,4 +1,4 @@
1
- # Copyright (c) 2021-2024 Andy Maleh
1
+ # Copyright (c) 2021-2025 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
@@ -1,4 +1,4 @@
1
- # Copyright (c) 2021-2024 Andy Maleh
1
+ # Copyright (c) 2021-2025 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
@@ -1,4 +1,4 @@
1
- # Copyright (c) 2021-2024 Andy Maleh
1
+ # Copyright (c) 2021-2025 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
@@ -1,4 +1,4 @@
1
- # Copyright (c) 2021-2024 Andy Maleh
1
+ # Copyright (c) 2021-2025 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
@@ -1,4 +1,4 @@
1
- # Copyright (c) 2021-2024 Andy Maleh
1
+ # Copyright (c) 2021-2025 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
@@ -1,4 +1,4 @@
1
- # Copyright (c) 2021-2024 Andy Maleh
1
+ # Copyright (c) 2021-2025 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
@@ -1,4 +1,4 @@
1
- # Copyright (c) 2021-2024 Andy Maleh
1
+ # Copyright (c) 2021-2025 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
@@ -1,4 +1,4 @@
1
- # Copyright (c) 2021-2024 Andy Maleh
1
+ # Copyright (c) 2021-2025 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/lib/glimmer/libui.rb CHANGED
@@ -1,4 +1,4 @@
1
- # Copyright (c) 2021-2024 Andy Maleh
1
+ # Copyright (c) 2021-2025 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
@@ -1,4 +1,4 @@
1
- # Copyright (c) 2021-2024 Andy Maleh
1
+ # Copyright (c) 2021-2025 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
@@ -1,4 +1,4 @@
1
- # Copyright (c) 2021-2024 Andy Maleh
1
+ # Copyright (c) 2021-2025 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
@@ -153,6 +153,7 @@ module Glimmer
153
153
  mkdir 'app'
154
154
  write "app/#{file_name(app_name)}.rb", app_main_file(app_name)
155
155
  mkdir_p "app/#{file_name(app_name)}/model"
156
+ mkdir_p "app/#{file_name(app_name)}/presenter"
156
157
  mkdir_p "app/#{file_name(app_name)}/view"
157
158
  custom_window(class_name(app_name), current_dir_name, window_type, custom_window_class_name: 'Application')
158
159
  app_model(current_dir_name)
@@ -195,9 +196,11 @@ module Glimmer
195
196
  namespace ||= current_dir_name
196
197
  root_dir = File.exist?('app') ? 'app' : 'lib'
197
198
  parent_dir = "#{root_dir}/#{file_name(namespace)}/view"
198
- return puts("The file '#{parent_dir}/#{file_name(custom_window_name)}.rb' already exists. Please either remove or pick a different name.") if File.exist?("#{parent_dir}/#{file_name(custom_window_name)}.rb")
199
+ custom_window_file_name_suffix = "_#{file_name(window_options[:custom_window_class_name])}" if window_options[:custom_window_class_name] == 'Application'
200
+ custom_window_file_name = "#{parent_dir}/#{file_name(custom_window_name)}#{custom_window_file_name_suffix}.rb"
201
+ return puts("The file '#{custom_window_file_name}' already exists. Please either remove or pick a different name.") if File.exist?(custom_window_file_name)
199
202
  mkdir_p parent_dir unless File.exist?(parent_dir)
200
- write "#{parent_dir}/#{file_name(custom_window_name)}.rb", custom_window_file(custom_window_name, namespace, window_type, window_options)
203
+ write custom_window_file_name, custom_window_file(custom_window_name, namespace, window_type, window_options)
201
204
  end
202
205
 
203
206
  def custom_control(custom_control_name, namespace)
@@ -437,7 +440,7 @@ module Glimmer
437
440
  LICENSE = File.read(File.join(APP_ROOT, 'LICENSE.txt'))
438
441
  end
439
442
 
440
- require '#{file_name(app_name)}/view/#{file_name(app_name)}'
443
+ require '#{file_name(app_name)}/view/#{file_name(app_name)}_application.rb'
441
444
  MULTI_LINE_STRING
442
445
  end
443
446
 
@@ -457,9 +460,10 @@ module Glimmer
457
460
 
458
461
  def app_launch_file(app_name)
459
462
  <<~MULTI_LINE_STRING
463
+ # this is only a helper for the bin script to launch the app. Developers must generally not need to edit it.
460
464
  require_relative '../#{file_name(app_name)}'
461
465
 
462
- #{class_name(app_name)}::View::#{class_name(app_name)}.launch
466
+ #{class_name(app_name)}::View::#{class_name(app_name)}Application.launch
463
467
  MULTI_LINE_STRING
464
468
  end
465
469
 
@@ -545,7 +549,7 @@ require '#{window_type == :app ? current_dir_name : namespace}/model/greeting'
545
549
  custom_window_file_content += <<-MULTI_LINE_STRING
546
550
  #{namespace_type} #{class_name(namespace)}
547
551
  module View
548
- class #{class_name(custom_window_name)}
552
+ class #{class_name(custom_window_name)}#{window_options[:custom_window_class_name] if window_options[:custom_window_class_name] == 'Application'}
549
553
  include Glimmer::LibUI::#{window_options[:custom_window_class_name]}
550
554
 
551
555
  MULTI_LINE_STRING
@@ -1,4 +1,4 @@
1
- # Copyright (c) 2021-2024 Andy Maleh
1
+ # Copyright (c) 2021-2025 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
@@ -1,4 +1,4 @@
1
- # Copyright (c) 2021-2024 Andy Maleh
1
+ # Copyright (c) 2021-2025 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
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: glimmer-dsl-libui
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.12.6
4
+ version: 0.12.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andy Maleh
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-12-24 00:00:00.000000000 Z
11
+ date: 2025-04-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: glimmer
@@ -646,7 +646,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
646
646
  - !ruby/object:Gem::Version
647
647
  version: '0'
648
648
  requirements: []
649
- rubygems_version: 3.4.10
649
+ rubygems_version: 3.4.19
650
650
  signing_key:
651
651
  specification_version: 4
652
652
  summary: Glimmer DSL for LibUI (Fukuoka Award Winning Prerequisite-Free Ruby Desktop