glimmer-dsl-opal 0.9.3 → 0.11.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (96) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +28 -0
  3. data/LICENSE.txt +1 -1
  4. data/README.md +114 -49
  5. data/VERSION +1 -1
  6. data/lib/display.rb +1 -1
  7. data/lib/glimmer-dsl-opal.rb +3 -2
  8. data/lib/glimmer-dsl-opal/ext/file.rb +1 -1
  9. data/lib/glimmer-dsl-opal/ext/glimmer/dsl/engine.rb +8 -4
  10. data/lib/glimmer-dsl-opal/samples/elaborate/contact_manager/contact_repository.rb +4 -4
  11. data/lib/glimmer-dsl-opal/samples/elaborate/login.rb +7 -7
  12. data/lib/glimmer-dsl-opal/samples/elaborate/tic_tac_toe.rb +3 -3
  13. data/lib/glimmer-dsl-opal/samples/hello/hello_browser.rb +1 -1
  14. data/lib/glimmer-dsl-opal/samples/hello/hello_button.rb +2 -2
  15. data/lib/glimmer-dsl-opal/samples/hello/hello_checkbox.rb +5 -5
  16. data/lib/glimmer-dsl-opal/samples/hello/hello_checkbox_group.rb +1 -1
  17. data/lib/glimmer-dsl-opal/samples/hello/hello_combo.rb +2 -2
  18. data/lib/glimmer-dsl-opal/samples/hello/hello_computed.rb +6 -6
  19. data/lib/glimmer-dsl-opal/samples/hello/hello_computed/contact.rb +1 -1
  20. data/lib/glimmer-dsl-opal/samples/hello/hello_custom_shell.rb +1 -1
  21. data/lib/glimmer-dsl-opal/samples/hello/hello_custom_widget.rb +1 -1
  22. data/lib/glimmer-dsl-opal/samples/hello/hello_date_time.rb +5 -5
  23. data/lib/glimmer-dsl-opal/samples/hello/hello_dialog.rb +78 -0
  24. data/lib/glimmer-dsl-opal/samples/hello/hello_group.rb +7 -7
  25. data/lib/glimmer-dsl-opal/samples/hello/hello_list_multi_selection.rb +2 -2
  26. data/lib/glimmer-dsl-opal/samples/hello/hello_list_single_selection.rb +2 -2
  27. data/lib/glimmer-dsl-opal/samples/hello/hello_menu_bar.rb +1 -1
  28. data/lib/glimmer-dsl-opal/samples/hello/hello_message_box.rb +1 -1
  29. data/lib/glimmer-dsl-opal/samples/hello/hello_pop_up_context_menu.rb +1 -1
  30. data/lib/glimmer-dsl-opal/samples/hello/hello_radio.rb +7 -7
  31. data/lib/glimmer-dsl-opal/samples/hello/hello_radio_group.rb +1 -1
  32. data/lib/glimmer-dsl-opal/samples/hello/hello_tab.rb +1 -1
  33. data/lib/glimmer-dsl-opal/samples/hello/hello_table.rb +1 -1
  34. data/lib/glimmer-dsl-opal/samples/hello/hello_world.rb +1 -1
  35. data/lib/glimmer-dsl-swt.rb +1 -1
  36. data/lib/glimmer/data_binding/table_items_binding.rb +2 -1
  37. data/lib/glimmer/dsl/opal/async_exec_expression.rb +1 -1
  38. data/lib/glimmer/dsl/opal/bind_expression.rb +24 -25
  39. data/lib/glimmer/dsl/opal/block_property_expression.rb +1 -1
  40. data/lib/glimmer/dsl/opal/checkbox_group_selection_data_binding_expression.rb +1 -1
  41. data/lib/glimmer/dsl/opal/color_expression.rb +1 -1
  42. data/lib/glimmer/dsl/opal/custom_widget_expression.rb +7 -7
  43. data/lib/glimmer/dsl/opal/dialog_expression.rb +20 -0
  44. data/lib/glimmer/dsl/opal/display_expression.rb +1 -1
  45. data/lib/glimmer/dsl/opal/dsl.rb +5 -1
  46. data/lib/glimmer/dsl/opal/exec_expression.rb +1 -1
  47. data/lib/glimmer/dsl/opal/font_expression.rb +1 -1
  48. data/lib/glimmer/dsl/opal/menu_bar_expression.rb +1 -1
  49. data/lib/glimmer/dsl/opal/menu_expression.rb +2 -2
  50. data/lib/glimmer/dsl/opal/message_box_expression.rb +1 -1
  51. data/lib/glimmer/dsl/opal/property_expression.rb +2 -1
  52. data/lib/glimmer/dsl/opal/radio_group_selection_data_binding_expression.rb +1 -1
  53. data/lib/glimmer/dsl/opal/rgb_expression.rb +1 -1
  54. data/lib/glimmer/dsl/opal/rgba_expression.rb +1 -1
  55. data/lib/glimmer/dsl/opal/shape_expression.rb +26 -0
  56. data/lib/glimmer/dsl/opal/shell_expression.rb +1 -1
  57. data/lib/glimmer/dsl/opal/shine_data_binding_expression.rb +49 -0
  58. data/lib/glimmer/dsl/opal/swt_expression.rb +4 -4
  59. data/lib/glimmer/dsl/opal/sync_exec_expression.rb +1 -1
  60. data/lib/glimmer/dsl/opal/widget_expression.rb +1 -1
  61. data/lib/glimmer/swt.rb +1 -1
  62. data/lib/glimmer/swt/color_proxy.rb +1 -1
  63. data/lib/glimmer/swt/combo_proxy.rb +1 -0
  64. data/lib/glimmer/swt/composite_proxy.rb +18 -2
  65. data/lib/glimmer/swt/control_editor.rb +1 -1
  66. data/lib/glimmer/swt/custom/checkbox_group.rb +1 -1
  67. data/lib/glimmer/swt/custom/radio_group.rb +1 -1
  68. data/lib/glimmer/swt/dialog_proxy.rb +188 -0
  69. data/lib/glimmer/swt/display_proxy.rb +132 -9
  70. data/lib/glimmer/swt/font_proxy.rb +1 -1
  71. data/lib/glimmer/swt/grid_layout_proxy.rb +28 -33
  72. data/lib/glimmer/swt/label_proxy.rb +1 -1
  73. data/lib/glimmer/swt/latest_dialog_proxy.rb +44 -0
  74. data/lib/glimmer/swt/latest_message_box_proxy.rb +4 -2
  75. data/lib/glimmer/swt/latest_shell_proxy.rb +7 -3
  76. data/lib/glimmer/swt/layout_data_proxy.rb +4 -0
  77. data/lib/glimmer/swt/layout_proxy.rb +9 -6
  78. data/lib/glimmer/swt/make_shift_shell_proxy.rb +1 -1
  79. data/lib/glimmer/swt/menu_item_proxy.rb +1 -1
  80. data/lib/glimmer/swt/menu_proxy.rb +1 -1
  81. data/lib/glimmer/swt/message_box_proxy.rb +23 -17
  82. data/lib/glimmer/swt/row_layout_proxy.rb +34 -7
  83. data/lib/glimmer/swt/shell_proxy.rb +43 -9
  84. data/lib/glimmer/swt/style_constantizable.rb +1 -1
  85. data/lib/glimmer/swt/swt_proxy.rb +1 -1
  86. data/lib/glimmer/swt/tab_folder_proxy.rb +1 -1
  87. data/lib/glimmer/swt/table_editor.rb +1 -1
  88. data/lib/glimmer/swt/table_item_proxy.rb +1 -1
  89. data/lib/glimmer/swt/table_proxy.rb +1 -1
  90. data/lib/glimmer/swt/widget_proxy.rb +53 -21
  91. data/lib/glimmer/ui/custom_shell.rb +17 -3
  92. data/lib/glimmer/ui/custom_widget.rb +1 -1
  93. data/lib/glimmer/util/proc_tracker.rb +17 -6
  94. data/lib/net/http.rb +1 -1
  95. data/lib/os.rb +1 -1
  96. metadata +17 -11
@@ -1,4 +1,4 @@
1
- # Copyright (c) 2020 Andy Maleh
1
+ # Copyright (c) 2020-2021 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) 2020 Andy Maleh
1
+ # Copyright (c) 2020-2021 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) 2020 Andy Maleh
1
+ # Copyright (c) 2020-2021 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) 2020 Andy Maleh
1
+ # Copyright (c) 2020-2021 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) 2020 Andy Maleh
1
+ # Copyright (c) 2020-2021 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) 2020 Andy Maleh
1
+ # Copyright (c) 2020-2021 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
@@ -46,9 +46,8 @@ module Glimmer
46
46
  end
47
47
 
48
48
  def widget_class(keyword)
49
- class_name_alternative = keyword.camelcase(:upper)
50
- class_name_main = "#{class_name_alternative}Proxy"
51
- Glimmer::SWT.const_get(class_name_main.to_sym) rescue Glimmer::SWT.const_get(class_name_alternative.to_sym)
49
+ class_name_main = "#{keyword.camelcase(:upper)}Proxy"
50
+ Glimmer::SWT.const_get(class_name_main.to_sym)
52
51
  rescue => e
53
52
  puts "Widget #{keyword} was not found!"
54
53
  nil
@@ -77,15 +76,20 @@ module Glimmer
77
76
  def underscored_widget_name(widget_proxy)
78
77
  widget_proxy.class.name.split(/::|\./).last.sub(/Proxy$/, '').underscore
79
78
  end
79
+
80
+ def widget_handling_listener
81
+ @@widget_handling_listener
82
+ end
80
83
  end
81
84
 
82
85
  DEFAULT_INITIALIZERS = {
86
+ # TODO remove if built in class initializer is taking care of this
83
87
  composite: lambda do |composite_proxy|
84
- if composite_proxy.layout.nil?
85
- layout = GridLayoutProxy.new(composite_proxy, [])
86
- composite_proxy.layout = layout
87
- layout.margin_width = 15
88
- layout.margin_height = 15
88
+ if composite_proxy.get_layout.nil?
89
+ the_layout = GridLayoutProxy.new(composite_proxy, [])
90
+ composite_proxy.layout = the_layout
91
+ the_layout.margin_width = 15
92
+ the_layout.margin_height = 15
89
93
  end
90
94
  end,
91
95
  # scrolled_composite: lambda do |scrolled_composite|
@@ -100,7 +104,7 @@ module Glimmer
100
104
  table_column_proxy.width = 80
101
105
  end,
102
106
  # group: lambda do |group_proxy|
103
- # group_proxy.layout = GridLayoutProxy.new(group_proxy, []) if group.layout.nil?
107
+ # group_proxy.layout = GridLayoutProxy.new(group_proxy, []) if group.get_layout.nil?
104
108
  # end,
105
109
  }
106
110
 
@@ -135,8 +139,8 @@ module Glimmer
135
139
  dom_element.css('position', 'relative')
136
140
  menu&.render
137
141
  menu.dom_element.css('position', 'absolute')
138
- menu.dom_element.css('left', mouse_event.x - parent.layout&.margin_width.to_i) # TODO - parent.layout&.margin_left.to_i)
139
- menu.dom_element.css('top', mouse_event.y - parent.layout&.margin_height.to_i - 5) # TODO - parent.layout&.margin_top.to_i)
142
+ menu.dom_element.css('left', mouse_event.x - parent.get_layout&.margin_width.to_i) # TODO - parent.get_layout&.margin_left.to_i)
143
+ menu.dom_element.css('top', mouse_event.y - parent.get_layout&.margin_height.to_i - 5) # TODO - parent.get_layout&.margin_top.to_i)
140
144
  @menu_requested = false
141
145
  end
142
146
  }
@@ -186,18 +190,31 @@ module Glimmer
186
190
  def path
187
191
  "#{parent_path} #{element}##{id}.#{name}"
188
192
  end
193
+ alias widget_path path # pure path without subchildren modifications
189
194
 
190
195
  # Root element representing widget. Must be overridden by subclasses if different from div
191
196
  def element
192
197
  'div'
193
198
  end
194
199
 
195
- def pack(*args)
196
- # No Op (just a shim) TODO consider if it should be implemented
200
+ def shell
201
+ current_widget = self
202
+ current_widget = current_widget.parent until current_widget.parent.nil?
203
+ current_widget
197
204
  end
198
205
 
199
- def layout(*args)
200
- # No Op (just a shim) TODO consider if it should be implemented
206
+ def parents
207
+ parents_array = []
208
+ current_widget = self
209
+ until current_widget.parent.nil?
210
+ current_widget = current_widget.parent
211
+ parents_array << current_widget
212
+ end
213
+ parents_array
214
+ end
215
+
216
+ def dialog_ancestor
217
+ parents.detect {|p| p.is_a?(DialogProxy)}
201
218
  end
202
219
 
203
220
  def enabled=(value)
@@ -236,7 +253,7 @@ module Glimmer
236
253
  alias setFocus set_focus
237
254
 
238
255
  def parent_path
239
- @parent.path
256
+ @parent&.path
240
257
  end
241
258
 
242
259
  def parent_dom_element
@@ -252,7 +269,6 @@ module Glimmer
252
269
  the_parent_dom_element.append(@dom) # TODO make a method attach to allow subclasses to override if needed
253
270
  else
254
271
  old_element.replace_with(@dom)
255
- old_element.replace_with(@dom)
256
272
  end
257
273
  observation_requests&.each do |keyword, event_listener_set|
258
274
  event_listener_set.each do |event_listener|
@@ -287,12 +303,12 @@ module Glimmer
287
303
  # TODO consider passing parent element instead and having table item include a table cell widget only for opal
288
304
  @dom = nil
289
305
  @dom = dom
290
- @dom = @parent.layout.dom(@dom) if @parent.respond_to?(:layout) && @parent.layout
306
+ @dom = @parent.get_layout.dom(@dom) if @parent.respond_to?(:layout) && @parent.get_layout
291
307
  @dom
292
308
  end
293
309
 
294
310
  def content(&block)
295
- Glimmer::DSL::Engine.add_content(self, Glimmer::DSL::Opal::WidgetExpression.new, &block)
311
+ Glimmer::DSL::Engine.add_content(self, Glimmer::DSL::Opal::WidgetExpression.new, self.class.underscored_widget_name(self), &block)
296
312
  end
297
313
 
298
314
  # Subclasses must override with their own mappings
@@ -633,6 +649,18 @@ module Glimmer
633
649
  @event_listener_proxies ||= []
634
650
  end
635
651
 
652
+ def suspend_event_handling
653
+ @event_handling_suspended = true
654
+ end
655
+
656
+ def resume_event_handling
657
+ @event_handling_suspended = false
658
+ end
659
+
660
+ def event_handling_suspended?
661
+ @event_handling_suspended
662
+ end
663
+
636
664
  def can_handle_observation_request?(observation_request)
637
665
  # TODO sort this out for Opal
638
666
  observation_request = observation_request.to_s
@@ -662,7 +690,10 @@ module Glimmer
662
690
  # TODO look into the issue with using async::task.new here. maybe put it in event listener (like not being able to call preventDefault or return false successfully )
663
691
  # maybe consider pushing inside the widget classes instead where needed only or implement universal doit support correctly to bypass this issue
664
692
  # Async::Task.new do
665
- event_listener.call(event)
693
+ @@widget_handling_listener = self
694
+ # TODO also make sure to disable all widgets for suspension
695
+ event_listener.call(event) unless dialog_ancestor&.event_handling_suspended?
696
+ @widget_handling_listener = nil
666
697
  # end
667
698
  end
668
699
  the_listener_dom_element = event_element_css_selector ? Element[event_element_css_selector] : listener_dom_element
@@ -896,6 +927,7 @@ require 'glimmer/swt/button_proxy'
896
927
  require 'glimmer/swt/combo_proxy'
897
928
  require 'glimmer/swt/checkbox_proxy'
898
929
  require 'glimmer/swt/composite_proxy'
930
+ require 'glimmer/swt/dialog_proxy'
899
931
  require 'glimmer/swt/date_time_proxy'
900
932
  require 'glimmer/swt/group_proxy'
901
933
  require 'glimmer/swt/label_proxy'
@@ -1,4 +1,4 @@
1
- # Copyright (c) 2020 Andy Maleh
1
+ # Copyright (c) 2020-2021 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
@@ -28,15 +28,29 @@ module Glimmer
28
28
  module CustomShell
29
29
  include Glimmer::UI::CustomWidget
30
30
 
31
+ module ClassMethods
32
+ attr_reader :custom_shell
33
+
34
+ def launch
35
+ @custom_shell = send(self.name.underscore.gsub('::', '__'))
36
+ @custom_shell.open
37
+ end
38
+
39
+ def shutdown
40
+ @custom_shell.close
41
+ end
42
+ end
43
+
31
44
  class << self
32
45
  def included(klass)
33
46
  klass.extend(CustomWidget::ClassMethods)
47
+ klass.extend(CustomShell::ClassMethods)
34
48
  klass.include(Glimmer)
35
49
  Glimmer::UI::CustomWidget.add_custom_widget_namespaces_for(klass)
36
50
  keyword = klass.name.split(':').last.underscore
37
51
  LocalStorage[keyword] = $LOADED_FEATURES.last
38
52
  end
39
-
53
+
40
54
  def request_parameter_string
41
55
  URI.decode_www_form_component(`document.location.href`.match(/\?(.*)$/).to_a[1].to_s)
42
56
  end
@@ -56,7 +70,7 @@ module Glimmer
56
70
 
57
71
  def initialize(parent, args, options, &content)
58
72
  super(parent, args, options, &content)
59
- raise Error, 'Invalid custom shell body root! Must be a shell or another custom shell.' unless body_root.is_a?(Glimmer::SWT::ShellProxy) || body_root.is_a?(Glimmer::UI::CustomShell) || body_root.is_a?(Glimmer::SWT::LatestShellProxy)
73
+ raise Error, 'Invalid custom shell body root! Must be a shell or another custom shell.' unless body_root.is_a?(Glimmer::SWT::ShellProxy) || body_root.is_a?(Glimmer::UI::CustomShell)
60
74
  end
61
75
 
62
76
  # Classes may override
@@ -1,4 +1,4 @@
1
- # Copyright (c) 2020 Andy Maleh
1
+ # Copyright (c) 2020-2021 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,5 +1,5 @@
1
- # Copyright (c) 2020 Andy Maleh
2
- #
1
+ # Copyright (c) 2020-2021 Andy Maleh
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
5
5
  # "Software"), to deal in the Software without restriction, including
@@ -7,10 +7,10 @@
7
7
  # distribute, sublicense, and/or sell copies of the Software, and to
8
8
  # permit persons to whom the Software is furnished to do so, subject to
9
9
  # the following conditions:
10
- #
10
+ #
11
11
  # The above copyright notice and this permission notice shall be
12
12
  # included in all copies or substantial portions of the Software.
13
- #
13
+ #
14
14
  # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
15
15
  # EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
16
16
  # MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
@@ -23,17 +23,28 @@ require 'delegate'
23
23
 
24
24
  module Glimmer
25
25
  module Util
26
+ # Decorator that provides tracking facilities for Ruby procs, tracking owner (string), invoked_form method name (symbol/string), and called? (boolean)
26
27
  class ProcTracker < DelegateClass(Proc)
27
- def initialize(proc)
28
- super(proc)
28
+ attr_reader :owner, :invoked_from
29
+
30
+ def initialize(proc = nil, owner: nil, invoked_from: nil, &block)
31
+ super(proc || block)
32
+ @owner = owner
33
+ @invoked_from = invoked_from
29
34
  end
35
+
30
36
  def call(*args)
31
37
  __getobj__.call(*args)
32
38
  @called = true
33
39
  end
40
+
34
41
  def called?
35
42
  !!@called
36
43
  end
44
+
45
+ def respond_to?(method, *args, &block)
46
+ %w[owner invoked_from called?].include?(method.to_s) || super(method, *args, &block)
47
+ end
37
48
  end
38
49
  end
39
50
  end
data/lib/net/http.rb CHANGED
@@ -1,4 +1,4 @@
1
- # Copyright (c) 2020 Andy Maleh
1
+ # Copyright (c) 2020-2021 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/os.rb CHANGED
@@ -1,4 +1,4 @@
1
- # Copyright (c) 2020 Andy Maleh
1
+ # Copyright (c) 2020-2021 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-opal
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.3
4
+ version: 0.11.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - AndyMaleh
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-01-09 00:00:00.000000000 Z
11
+ date: 2021-07-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: glimmer
@@ -16,42 +16,42 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: 1.0.5
19
+ version: 2.0.0
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: 1.0.5
26
+ version: 2.0.0
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: glimmer-dsl-xml
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: 1.1.0
33
+ version: 1.2.0
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - "~>"
39
39
  - !ruby/object:Gem::Version
40
- version: 1.1.0
40
+ version: 1.2.0
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: glimmer-dsl-css
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
45
  - - "~>"
46
46
  - !ruby/object:Gem::Version
47
- version: 1.1.0
47
+ version: 1.2.0
48
48
  type: :runtime
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
52
  - - "~>"
53
53
  - !ruby/object:Gem::Version
54
- version: 1.1.0
54
+ version: 1.2.0
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: opal-async
57
57
  requirement: !ruby/object:Gem::Requirement
@@ -92,7 +92,7 @@ dependencies:
92
92
  requirements:
93
93
  - - ">="
94
94
  - !ruby/object:Gem::Version
95
- version: 1.0.1
95
+ version: 1.0.2
96
96
  - - "<"
97
97
  - !ruby/object:Gem::Version
98
98
  version: 2.0.0
@@ -102,7 +102,7 @@ dependencies:
102
102
  requirements:
103
103
  - - ">="
104
104
  - !ruby/object:Gem::Version
105
- version: 1.0.1
105
+ version: 1.0.2
106
106
  - - "<"
107
107
  - !ruby/object:Gem::Version
108
108
  version: 2.0.0
@@ -288,6 +288,7 @@ files:
288
288
  - lib/glimmer-dsl-opal/samples/hello/hello_custom_shell.rb
289
289
  - lib/glimmer-dsl-opal/samples/hello/hello_custom_widget.rb
290
290
  - lib/glimmer-dsl-opal/samples/hello/hello_date_time.rb
291
+ - lib/glimmer-dsl-opal/samples/hello/hello_dialog.rb
291
292
  - lib/glimmer-dsl-opal/samples/hello/hello_group.rb
292
293
  - lib/glimmer-dsl-opal/samples/hello/hello_list_multi_selection.rb
293
294
  - lib/glimmer-dsl-opal/samples/hello/hello_list_single_selection.rb
@@ -332,6 +333,7 @@ files:
332
333
  - lib/glimmer/dsl/opal/combo_selection_data_binding_expression.rb
333
334
  - lib/glimmer/dsl/opal/custom_widget_expression.rb
334
335
  - lib/glimmer/dsl/opal/data_binding_expression.rb
336
+ - lib/glimmer/dsl/opal/dialog_expression.rb
335
337
  - lib/glimmer/dsl/opal/display_expression.rb
336
338
  - lib/glimmer/dsl/opal/dsl.rb
337
339
  - lib/glimmer/dsl/opal/exec_expression.rb
@@ -347,7 +349,9 @@ files:
347
349
  - lib/glimmer/dsl/opal/radio_group_selection_data_binding_expression.rb
348
350
  - lib/glimmer/dsl/opal/rgb_expression.rb
349
351
  - lib/glimmer/dsl/opal/rgba_expression.rb
352
+ - lib/glimmer/dsl/opal/shape_expression.rb
350
353
  - lib/glimmer/dsl/opal/shell_expression.rb
354
+ - lib/glimmer/dsl/opal/shine_data_binding_expression.rb
351
355
  - lib/glimmer/dsl/opal/swt_expression.rb
352
356
  - lib/glimmer/dsl/opal/sync_exec_expression.rb
353
357
  - lib/glimmer/dsl/opal/table_column_expression.rb
@@ -367,6 +371,7 @@ files:
367
371
  - lib/glimmer/swt/custom/checkbox_group.rb
368
372
  - lib/glimmer/swt/custom/radio_group.rb
369
373
  - lib/glimmer/swt/date_time_proxy.rb
374
+ - lib/glimmer/swt/dialog_proxy.rb
370
375
  - lib/glimmer/swt/display_proxy.rb
371
376
  - lib/glimmer/swt/event_listener_proxy.rb
372
377
  - lib/glimmer/swt/fill_layout_proxy.rb
@@ -374,6 +379,7 @@ files:
374
379
  - lib/glimmer/swt/grid_layout_proxy.rb
375
380
  - lib/glimmer/swt/group_proxy.rb
376
381
  - lib/glimmer/swt/label_proxy.rb
382
+ - lib/glimmer/swt/latest_dialog_proxy.rb
377
383
  - lib/glimmer/swt/latest_message_box_proxy.rb
378
384
  - lib/glimmer/swt/latest_shell_proxy.rb
379
385
  - lib/glimmer/swt/layout_data_proxy.rb
@@ -425,7 +431,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
425
431
  - !ruby/object:Gem::Version
426
432
  version: '0'
427
433
  requirements: []
428
- rubygems_version: 3.1.4
434
+ rubygems_version: 3.2.22
429
435
  signing_key:
430
436
  specification_version: 4
431
437
  summary: Glimmer DSL for Opal