glimmer-dsl-opal 0.8.0 → 0.10.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (86) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +30 -0
  3. data/LICENSE.txt +1 -1
  4. data/README.md +640 -186
  5. data/VERSION +1 -1
  6. data/lib/display.rb +1 -1
  7. data/lib/glimmer-dsl-opal.rb +10 -5
  8. data/lib/glimmer-dsl-opal/ext/file.rb +1 -1
  9. data/lib/glimmer-dsl-opal/ext/glimmer/dsl/engine.rb +47 -0
  10. data/lib/glimmer-dsl-opal/samples/elaborate/contact_manager/contact_repository.rb +4 -4
  11. data/lib/glimmer-dsl-opal/samples/elaborate/tic_tac_toe.rb +2 -2
  12. data/lib/glimmer-dsl-opal/samples/hello/hello_browser.rb +1 -1
  13. data/lib/glimmer-dsl-opal/samples/hello/hello_button.rb +1 -1
  14. data/lib/glimmer-dsl-opal/samples/hello/hello_checkbox.rb +1 -1
  15. data/lib/glimmer-dsl-opal/samples/hello/hello_checkbox_group.rb +1 -1
  16. data/lib/glimmer-dsl-opal/samples/hello/hello_combo.rb +1 -1
  17. data/lib/glimmer-dsl-opal/samples/hello/hello_computed.rb +1 -1
  18. data/lib/glimmer-dsl-opal/samples/hello/hello_computed/contact.rb +21 -0
  19. data/lib/glimmer-dsl-opal/samples/hello/hello_custom_shell.rb +1 -1
  20. data/lib/glimmer-dsl-opal/samples/hello/hello_custom_widget.rb +1 -1
  21. data/lib/glimmer-dsl-opal/samples/hello/hello_date_time.rb +1 -1
  22. data/lib/glimmer-dsl-opal/samples/hello/hello_dialog.rb +78 -0
  23. data/lib/glimmer-dsl-opal/samples/hello/hello_group.rb +1 -1
  24. data/lib/glimmer-dsl-opal/samples/hello/hello_list_multi_selection.rb +1 -1
  25. data/lib/glimmer-dsl-opal/samples/hello/hello_list_single_selection.rb +1 -1
  26. data/lib/glimmer-dsl-opal/samples/hello/hello_menu_bar.rb +241 -0
  27. data/lib/glimmer-dsl-opal/samples/hello/hello_message_box.rb +1 -1
  28. data/lib/glimmer-dsl-opal/samples/hello/hello_pop_up_context_menu.rb +1 -1
  29. data/lib/glimmer-dsl-opal/samples/hello/hello_radio.rb +1 -1
  30. data/lib/glimmer-dsl-opal/samples/hello/hello_radio_group.rb +1 -1
  31. data/lib/glimmer-dsl-opal/samples/hello/hello_tab.rb +1 -1
  32. data/lib/glimmer-dsl-opal/samples/hello/hello_table.rb +1 -1
  33. data/lib/glimmer-dsl-opal/samples/hello/hello_world.rb +4 -4
  34. data/lib/glimmer-dsl-swt.rb +1 -1
  35. data/lib/glimmer/config/opal_logger.rb +16 -0
  36. data/lib/glimmer/dsl/opal/async_exec_expression.rb +1 -1
  37. data/lib/glimmer/dsl/opal/block_property_expression.rb +1 -1
  38. data/lib/glimmer/dsl/opal/checkbox_group_selection_data_binding_expression.rb +1 -1
  39. data/lib/glimmer/dsl/opal/color_expression.rb +1 -1
  40. data/lib/glimmer/dsl/opal/custom_widget_expression.rb +1 -1
  41. data/lib/glimmer/dsl/opal/dialog_expression.rb +20 -0
  42. data/lib/glimmer/dsl/opal/display_expression.rb +1 -1
  43. data/lib/glimmer/dsl/opal/dsl.rb +1 -1
  44. data/lib/glimmer/dsl/opal/exec_expression.rb +1 -1
  45. data/lib/glimmer/dsl/opal/font_expression.rb +1 -1
  46. data/lib/glimmer/dsl/opal/menu_bar_expression.rb +1 -1
  47. data/lib/glimmer/dsl/opal/menu_expression.rb +1 -1
  48. data/lib/glimmer/dsl/opal/radio_group_selection_data_binding_expression.rb +1 -1
  49. data/lib/glimmer/dsl/opal/rgb_expression.rb +1 -1
  50. data/lib/glimmer/dsl/opal/rgba_expression.rb +1 -1
  51. data/lib/glimmer/dsl/opal/shell_expression.rb +0 -4
  52. data/lib/glimmer/dsl/opal/swt_expression.rb +4 -4
  53. data/lib/glimmer/dsl/opal/sync_exec_expression.rb +1 -1
  54. data/lib/glimmer/swt.rb +1 -1
  55. data/lib/glimmer/swt/color_proxy.rb +1 -1
  56. data/lib/glimmer/swt/control_editor.rb +1 -1
  57. data/lib/glimmer/swt/custom/checkbox_group.rb +1 -1
  58. data/lib/glimmer/swt/custom/radio_group.rb +1 -1
  59. data/lib/glimmer/swt/dialog_proxy.rb +173 -0
  60. data/lib/glimmer/swt/display_proxy.rb +8 -4
  61. data/lib/glimmer/swt/font_proxy.rb +1 -1
  62. data/lib/glimmer/swt/label_proxy.rb +22 -1
  63. data/lib/{glimmer-dsl-opal/ext/struct.rb → glimmer/swt/latest_dialog_proxy.rb} +17 -12
  64. data/lib/glimmer/swt/latest_message_box_proxy.rb +42 -0
  65. data/lib/glimmer/swt/latest_shell_proxy.rb +55 -0
  66. data/lib/glimmer/swt/layout_data_proxy.rb +4 -0
  67. data/lib/glimmer/swt/list_proxy.rb +0 -18
  68. data/lib/glimmer/swt/make_shift_shell_proxy.rb +1 -1
  69. data/lib/glimmer/swt/menu_item_proxy.rb +96 -9
  70. data/lib/glimmer/swt/menu_proxy.rb +136 -25
  71. data/lib/glimmer/swt/message_box_proxy.rb +31 -13
  72. data/lib/glimmer/swt/row_layout_proxy.rb +22 -2
  73. data/lib/glimmer/swt/shell_proxy.rb +16 -4
  74. data/lib/glimmer/swt/style_constantizable.rb +1 -1
  75. data/lib/glimmer/swt/swt_proxy.rb +1 -1
  76. data/lib/glimmer/swt/tab_folder_proxy.rb +1 -1
  77. data/lib/glimmer/swt/table_editor.rb +1 -1
  78. data/lib/glimmer/swt/table_item_proxy.rb +1 -1
  79. data/lib/glimmer/swt/table_proxy.rb +1 -1
  80. data/lib/glimmer/swt/widget_proxy.rb +14 -2
  81. data/lib/glimmer/ui/custom_shell.rb +2 -2
  82. data/lib/glimmer/ui/custom_widget.rb +1 -1
  83. data/lib/glimmer/util/proc_tracker.rb +1 -1
  84. data/lib/net/http.rb +30 -2
  85. data/lib/os.rb +1 -1
  86. metadata +33 -5
@@ -1,3 +1,24 @@
1
+ # Copyright (c) 2020-2021 Andy Maleh
2
+ #
3
+ # Permission is hereby granted, free of charge, to any person obtaining
4
+ # a copy of this software and associated documentation files (the
5
+ # "Software"), to deal in the Software without restriction, including
6
+ # without limitation the rights to use, copy, modify, merge, publish,
7
+ # distribute, sublicense, and/or sell copies of the Software, and to
8
+ # permit persons to whom the Software is furnished to do so, subject to
9
+ # the following conditions:
10
+ #
11
+ # The above copyright notice and this permission notice shall be
12
+ # included in all copies or substantial portions of the Software.
13
+ #
14
+ # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
15
+ # EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
16
+ # MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
17
+ # NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
18
+ # LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
19
+ # OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
20
+ # WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
21
+
1
22
  require 'glimmer/swt/widget_proxy'
2
23
  require 'glimmer/swt/display_proxy'
3
24
 
@@ -7,7 +28,7 @@ module Glimmer
7
28
  STYLE = <<~CSS
8
29
  .modal {
9
30
  position: fixed;
10
- z-index: 1;
31
+ z-index: 1000;
11
32
  padding-top: 100px;
12
33
  left: 0;
13
34
  top: 0;
@@ -51,16 +72,17 @@ module Glimmer
51
72
 
52
73
  def initialize(parent, args, block)
53
74
  i = 0
54
- @parent = parent || DisplayProxy.instance.shells.last
75
+ @parent = parent
76
+ @parent = nil if parent.is_a?(LatestShellProxy)
77
+ @parent ||= DisplayProxy.instance.shells.last || ShellProxy.new([])
55
78
  @args = args
56
79
  @block = block
57
80
  @children = Set.new
58
81
  @enabled = true
59
- content do
60
- on_widget_selected {
61
- hide
62
- }
63
- end
82
+ on_widget_selected {
83
+ hide
84
+ }
85
+ DisplayProxy.instance.message_boxes << self
64
86
  end
65
87
 
66
88
  def text=(txt)
@@ -69,7 +91,7 @@ module Glimmer
69
91
  end
70
92
 
71
93
  def html_message
72
- message.gsub("\n", '<br />')
94
+ message&.gsub("\n", '<br />')
73
95
  end
74
96
 
75
97
  def message=(msg)
@@ -89,10 +111,6 @@ module Glimmer
89
111
  Glimmer::DSL::Engine.add_content(self, Glimmer::DSL::Opal::MessageBoxExpression.new, &block)
90
112
  end
91
113
 
92
- def name
93
- 'div'
94
- end
95
-
96
114
  def selector
97
115
  super + ' .close'
98
116
  end
@@ -114,7 +132,7 @@ module Glimmer
114
132
  div(id: id, class: "modal #{name}") {
115
133
  div(class: 'modal-content') {
116
134
  header(class: 'text') {
117
- text
135
+ "#{text}&nbsp;" # ensure title area occuppied when there is no text by adding non-breaking space (&nbsp;)
118
136
  }
119
137
  tag(_name: 'p', id: 'message', class: 'message') {
120
138
  html_message
@@ -14,6 +14,16 @@ module Glimmer
14
14
  .row-layout-pack-false {
15
15
  align-items: stretch;
16
16
  }
17
+
18
+ .row-layout-center.row-layout-horizontal > * {
19
+ margin-top: auto;
20
+ margin-bottom: auto;
21
+ }
22
+
23
+ .row-layout-center.row-layout-vertical > * {
24
+ margin-left: auto;
25
+ margin-right: auto;
26
+ }
17
27
 
18
28
  .row-layout-horizontal {
19
29
  flex-direction: row;
@@ -32,7 +42,7 @@ module Glimmer
32
42
  }
33
43
  CSS
34
44
 
35
- attr_reader :type, :margin_width, :margin_height, :margin_top, :margin_right, :margin_bottom, :margin_left, :spacing, :pack
45
+ attr_reader :type, :margin_width, :margin_height, :margin_top, :margin_right, :margin_bottom, :margin_left, :spacing, :pack, :center
36
46
 
37
47
  def initialize(parent, args)
38
48
  super(parent, args)
@@ -67,6 +77,16 @@ module Glimmer
67
77
  end
68
78
  end
69
79
 
80
+ def center=(center_value)
81
+ @center = center_value
82
+ # Using padding for width since margin-right isn't getting respected with width 100%
83
+ if @center
84
+ parent.dom_element.add_class("row-layout-center")
85
+ else
86
+ parent.dom_element.remove_class("row-layout-center")
87
+ end
88
+ end
89
+
70
90
  def margin_width=(pixels)
71
91
  @margin_width = pixels
72
92
  # Using padding for width since margin-right isn't getting respected with width 100%
@@ -101,7 +121,7 @@ module Glimmer
101
121
  @margin_left = pixels
102
122
  @parent.dom_element.css('padding-left', @margin_left)
103
123
  end
104
-
124
+
105
125
  def spacing=(spacing)
106
126
  @spacing = spacing.to_i
107
127
  # TODO implement changes to accomodate layout_data in the future
@@ -24,11 +24,22 @@ module Glimmer
24
24
  width: 100%;
25
25
  height: 100%;
26
26
  }
27
+ .shell .dialog-overlay {
28
+ position: fixed;
29
+ z-index: 10;
30
+ padding-top: 100px;
31
+ left: 0;
32
+ top: 0;
33
+ width: 100%;
34
+ height: 100%;
35
+ overflow: auto;
36
+ background-color: rgba(0,0,0,0.4);
37
+ }
27
38
  CSS
28
39
 
29
40
  # TODO consider renaming to ShellProxy to match SWT API
30
41
  attr_reader :minimum_size
31
- attr_accessor :menu_bar # TODO implement menu bar rendering
42
+ attr_accessor :menu_bar
32
43
 
33
44
  WIDTH_MIN = 130
34
45
  HEIGHT_MIN = 0
@@ -36,7 +47,7 @@ module Glimmer
36
47
  def initialize(args)
37
48
  @args = args
38
49
  @children = []
39
- # Document.ready? do end # TODO consider embedding this jQuery call in so outside consumers don't have to use it
50
+ # TODO consider the implication of emptying the body
40
51
  Document.find('body').empty unless ENV['RUBY_ENV'] == 'test'
41
52
  render
42
53
  @layout = FillLayoutProxy.new(self, [])
@@ -98,7 +109,8 @@ module Glimmer
98
109
  }
99
110
  end
100
111
  end
101
- ''
112
+ div(class: 'dialog-overlay hide') {
113
+ }
102
114
  }
103
115
  }.to_s
104
116
  end
@@ -106,7 +118,7 @@ module Glimmer
106
118
  def open
107
119
  # TODO consider the idea of delaying rendering till the open method
108
120
  # TODO make it start as hidden and show shell upon open
109
- Glimmer::SWT::DisplayProxy.instance.shells << self
121
+ # DisplayProxy.instance.shells << self
110
122
  end
111
123
  end
112
124
  end
@@ -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
@@ -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
@@ -186,11 +186,20 @@ module Glimmer
186
186
  def path
187
187
  "#{parent_path} #{element}##{id}.#{name}"
188
188
  end
189
+ alias widget_path path # pure path without subchildren modifications
189
190
 
190
191
  # Root element representing widget. Must be overridden by subclasses if different from div
191
192
  def element
192
193
  'div'
193
194
  end
195
+
196
+ def pack(*args)
197
+ # No Op (just a shim) TODO consider if it should be implemented
198
+ end
199
+
200
+ def layout(*args)
201
+ # No Op (just a shim) TODO consider if it should be implemented
202
+ end
194
203
 
195
204
  def enabled=(value)
196
205
  @enabled = value
@@ -198,11 +207,13 @@ module Glimmer
198
207
  end
199
208
 
200
209
  def foreground=(value)
210
+ value = ColorProxy.new(value) if value.is_a?(String)
201
211
  @foreground = value
202
212
  dom_element.css('color', foreground.to_css) unless foreground.nil?
203
213
  end
204
214
 
205
215
  def background=(value)
216
+ value = ColorProxy.new(value) if value.is_a?(String)
206
217
  @background = value
207
218
  dom_element.css('background-color', background.to_css) unless background.nil?
208
219
  end
@@ -239,7 +250,7 @@ module Glimmer
239
250
  brand_new = @dom.nil? || old_element.empty? || brand_new
240
251
  build_dom(layout: !custom_parent_dom_element) # TODO handle custom parent layout by passing parent instead of parent dom element
241
252
  if brand_new
242
- the_parent_dom_element.append(@dom)
253
+ the_parent_dom_element.append(@dom) # TODO make a method attach to allow subclasses to override if needed
243
254
  else
244
255
  old_element.replace_with(@dom)
245
256
  end
@@ -885,6 +896,7 @@ require 'glimmer/swt/button_proxy'
885
896
  require 'glimmer/swt/combo_proxy'
886
897
  require 'glimmer/swt/checkbox_proxy'
887
898
  require 'glimmer/swt/composite_proxy'
899
+ require 'glimmer/swt/dialog_proxy'
888
900
  require 'glimmer/swt/date_time_proxy'
889
901
  require 'glimmer/swt/group_proxy'
890
902
  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
@@ -56,7 +56,7 @@ module Glimmer
56
56
 
57
57
  def initialize(parent, args, options, &content)
58
58
  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)
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)
60
60
  end
61
61
 
62
62
  # 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,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,13 +1,41 @@
1
+ # Copyright (c) 2020-2021 Andy Maleh
2
+ #
3
+ # Permission is hereby granted, free of charge, to any person obtaining
4
+ # a copy of this software and associated documentation files (the
5
+ # "Software"), to deal in the Software without restriction, including
6
+ # without limitation the rights to use, copy, modify, merge, publish,
7
+ # distribute, sublicense, and/or sell copies of the Software, and to
8
+ # permit persons to whom the Software is furnished to do so, subject to
9
+ # the following conditions:
10
+ #
11
+ # The above copyright notice and this permission notice shall be
12
+ # included in all copies or substantial portions of the Software.
13
+ #
14
+ # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
15
+ # EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
16
+ # MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
17
+ # NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
18
+ # LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
19
+ # OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
20
+ # WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
21
+
1
22
  # Missing Net module class methods TODO implement
2
23
 
3
24
  require_relative '../uri'
4
25
 
5
26
  module Net
6
27
  # TODO Implement HTTP with jQuery for use in Glimmer DSL for Opal
28
+ # TODO Re-Implement in Fetch in the future
7
29
  # Note: ignore Protocol superclass for now
8
30
  class HTTP
9
- def post_form(uri, params)
10
- # TODO
31
+ class << self
32
+ def post_form(uri, params)
33
+ response_body = nil
34
+ result = ::HTTP.post(uri, payload: params) do |response|
35
+ response_body = response.body
36
+ end
37
+ response_body
38
+ end
11
39
  end
12
40
  end
13
41
  end
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.8.0
4
+ version: 0.10.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - AndyMaleh
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-12-17 00:00:00.000000000 Z
11
+ date: 2021-01-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: glimmer
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: 1.0.5
19
+ version: 1.0.7
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: 1.0.7
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: glimmer-dsl-xml
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -86,6 +86,26 @@ dependencies:
86
86
  - - "<"
87
87
  - !ruby/object:Gem::Version
88
88
  version: 3.0.0
89
+ - !ruby/object:Gem::Dependency
90
+ name: pure-struct
91
+ requirement: !ruby/object:Gem::Requirement
92
+ requirements:
93
+ - - ">="
94
+ - !ruby/object:Gem::Version
95
+ version: 1.0.2
96
+ - - "<"
97
+ - !ruby/object:Gem::Version
98
+ version: 2.0.0
99
+ type: :runtime
100
+ prerelease: false
101
+ version_requirements: !ruby/object:Gem::Requirement
102
+ requirements:
103
+ - - ">="
104
+ - !ruby/object:Gem::Version
105
+ version: 1.0.2
106
+ - - "<"
107
+ - !ruby/object:Gem::Version
108
+ version: 2.0.0
89
109
  - !ruby/object:Gem::Dependency
90
110
  name: puts_debuggerer
91
111
  requirement: !ruby/object:Gem::Requirement
@@ -249,7 +269,7 @@ files:
249
269
  - lib/glimmer-dsl-opal/ext/date.rb
250
270
  - lib/glimmer-dsl-opal/ext/exception.rb
251
271
  - lib/glimmer-dsl-opal/ext/file.rb
252
- - lib/glimmer-dsl-opal/ext/struct.rb
272
+ - lib/glimmer-dsl-opal/ext/glimmer/dsl/engine.rb
253
273
  - lib/glimmer-dsl-opal/samples/elaborate/contact_manager.rb
254
274
  - lib/glimmer-dsl-opal/samples/elaborate/contact_manager/contact.rb
255
275
  - lib/glimmer-dsl-opal/samples/elaborate/contact_manager/contact_manager_presenter.rb
@@ -268,9 +288,11 @@ files:
268
288
  - lib/glimmer-dsl-opal/samples/hello/hello_custom_shell.rb
269
289
  - lib/glimmer-dsl-opal/samples/hello/hello_custom_widget.rb
270
290
  - lib/glimmer-dsl-opal/samples/hello/hello_date_time.rb
291
+ - lib/glimmer-dsl-opal/samples/hello/hello_dialog.rb
271
292
  - lib/glimmer-dsl-opal/samples/hello/hello_group.rb
272
293
  - lib/glimmer-dsl-opal/samples/hello/hello_list_multi_selection.rb
273
294
  - lib/glimmer-dsl-opal/samples/hello/hello_list_single_selection.rb
295
+ - lib/glimmer-dsl-opal/samples/hello/hello_menu_bar.rb
274
296
  - lib/glimmer-dsl-opal/samples/hello/hello_message_box.rb
275
297
  - lib/glimmer-dsl-opal/samples/hello/hello_pop_up_context_menu.rb
276
298
  - lib/glimmer-dsl-opal/samples/hello/hello_radio.rb
@@ -297,6 +319,7 @@ files:
297
319
  - lib/glimmer-dsl-opal/vendor/jquery-ui/package.json
298
320
  - lib/glimmer-dsl-opal/vendor/jquery.js
299
321
  - lib/glimmer-dsl-swt.rb
322
+ - lib/glimmer/config/opal_logger.rb
300
323
  - lib/glimmer/data_binding/element_binding.rb
301
324
  - lib/glimmer/data_binding/list_selection_binding.rb
302
325
  - lib/glimmer/data_binding/observable_element.rb
@@ -310,6 +333,7 @@ files:
310
333
  - lib/glimmer/dsl/opal/combo_selection_data_binding_expression.rb
311
334
  - lib/glimmer/dsl/opal/custom_widget_expression.rb
312
335
  - lib/glimmer/dsl/opal/data_binding_expression.rb
336
+ - lib/glimmer/dsl/opal/dialog_expression.rb
313
337
  - lib/glimmer/dsl/opal/display_expression.rb
314
338
  - lib/glimmer/dsl/opal/dsl.rb
315
339
  - lib/glimmer/dsl/opal/exec_expression.rb
@@ -345,6 +369,7 @@ files:
345
369
  - lib/glimmer/swt/custom/checkbox_group.rb
346
370
  - lib/glimmer/swt/custom/radio_group.rb
347
371
  - lib/glimmer/swt/date_time_proxy.rb
372
+ - lib/glimmer/swt/dialog_proxy.rb
348
373
  - lib/glimmer/swt/display_proxy.rb
349
374
  - lib/glimmer/swt/event_listener_proxy.rb
350
375
  - lib/glimmer/swt/fill_layout_proxy.rb
@@ -352,6 +377,9 @@ files:
352
377
  - lib/glimmer/swt/grid_layout_proxy.rb
353
378
  - lib/glimmer/swt/group_proxy.rb
354
379
  - lib/glimmer/swt/label_proxy.rb
380
+ - lib/glimmer/swt/latest_dialog_proxy.rb
381
+ - lib/glimmer/swt/latest_message_box_proxy.rb
382
+ - lib/glimmer/swt/latest_shell_proxy.rb
355
383
  - lib/glimmer/swt/layout_data_proxy.rb
356
384
  - lib/glimmer/swt/layout_proxy.rb
357
385
  - lib/glimmer/swt/list_proxy.rb