glimmer-dsl-swt 4.18.0.0 → 4.18.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (147) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +52 -0
  3. data/LICENSE.txt +1 -1
  4. data/README.md +571 -55
  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/glimmer-dsl-swt.gemspec +26 -17
  11. data/lib/ext/glimmer.rb +1 -1
  12. data/lib/ext/glimmer/config.rb +7 -7
  13. data/lib/glimmer-dsl-swt.rb +2 -1
  14. data/lib/glimmer/Rakefile +1 -1
  15. data/lib/glimmer/data_binding/list_selection_binding.rb +1 -1
  16. data/lib/glimmer/data_binding/observable_widget.rb +1 -1
  17. data/lib/glimmer/data_binding/shine.rb +1 -1
  18. data/lib/glimmer/data_binding/table_items_binding.rb +1 -1
  19. data/lib/glimmer/data_binding/tree_items_binding.rb +1 -1
  20. data/lib/glimmer/data_binding/widget_binding.rb +1 -1
  21. data/lib/glimmer/dsl/swt/animation_expression.rb +43 -0
  22. data/lib/glimmer/dsl/swt/async_exec_expression.rb +1 -1
  23. data/lib/glimmer/dsl/swt/bind_expression.rb +1 -1
  24. data/lib/glimmer/dsl/swt/block_property_expression.rb +1 -1
  25. data/lib/glimmer/dsl/swt/checkbox_group_selection_data_binding_expression.rb +1 -1
  26. data/lib/glimmer/dsl/swt/color_expression.rb +1 -1
  27. data/lib/glimmer/dsl/swt/column_properties_expression.rb +1 -1
  28. data/lib/glimmer/dsl/swt/combo_selection_data_binding_expression.rb +1 -1
  29. data/lib/glimmer/dsl/swt/cursor_expression.rb +1 -1
  30. data/lib/glimmer/dsl/swt/custom_widget_expression.rb +1 -1
  31. data/lib/glimmer/dsl/swt/data_binding_expression.rb +1 -1
  32. data/lib/glimmer/dsl/swt/dialog_expression.rb +1 -1
  33. data/lib/glimmer/dsl/swt/directory_dialog_expression.rb +1 -1
  34. data/lib/glimmer/dsl/swt/display_expression.rb +1 -1
  35. data/lib/glimmer/dsl/swt/dnd_expression.rb +1 -1
  36. data/lib/glimmer/dsl/swt/dsl.rb +5 -4
  37. data/lib/glimmer/dsl/swt/exec_expression.rb +5 -5
  38. data/lib/glimmer/dsl/swt/expand_item_expression.rb +1 -1
  39. data/lib/glimmer/dsl/swt/file_dialog_expression.rb +1 -1
  40. data/lib/glimmer/dsl/swt/font_expression.rb +8 -6
  41. data/lib/glimmer/dsl/swt/image_expression.rb +1 -1
  42. data/lib/glimmer/dsl/swt/layout_data_expression.rb +1 -1
  43. data/lib/glimmer/dsl/swt/layout_expression.rb +1 -1
  44. data/lib/glimmer/dsl/swt/list_selection_data_binding_expression.rb +1 -1
  45. data/lib/glimmer/dsl/swt/menu_bar_expression.rb +1 -1
  46. data/lib/glimmer/dsl/swt/menu_expression.rb +1 -1
  47. data/lib/glimmer/dsl/swt/message_box_expression.rb +1 -1
  48. data/lib/glimmer/dsl/swt/observe_expression.rb +1 -1
  49. data/lib/glimmer/dsl/swt/property_expression.rb +4 -4
  50. data/lib/glimmer/dsl/swt/radio_group_selection_data_binding_expression.rb +1 -1
  51. data/lib/glimmer/dsl/swt/rgb_expression.rb +1 -1
  52. data/lib/glimmer/dsl/swt/rgba_expression.rb +1 -1
  53. data/lib/glimmer/dsl/swt/shape_expression.rb +56 -0
  54. data/lib/glimmer/dsl/swt/shell_expression.rb +1 -1
  55. data/lib/glimmer/dsl/swt/swt_expression.rb +1 -1
  56. data/lib/glimmer/dsl/swt/sync_exec_expression.rb +1 -1
  57. data/lib/glimmer/dsl/swt/tab_item_expression.rb +1 -1
  58. data/lib/glimmer/dsl/swt/table_items_data_binding_expression.rb +1 -1
  59. data/lib/glimmer/dsl/swt/tree_items_data_binding_expression.rb +1 -1
  60. data/lib/glimmer/dsl/swt/tree_properties_expression.rb +1 -1
  61. data/lib/glimmer/dsl/swt/widget_expression.rb +7 -3
  62. data/lib/glimmer/dsl/swt/widget_listener_expression.rb +1 -1
  63. data/lib/glimmer/launcher.rb +1 -1
  64. data/lib/glimmer/rake_task.rb +1 -1
  65. data/lib/glimmer/rake_task/list.rb +6 -6
  66. data/lib/glimmer/rake_task/package.rb +1 -1
  67. data/lib/glimmer/rake_task/scaffold.rb +33 -34
  68. data/lib/glimmer/swt/color_proxy.rb +1 -1
  69. data/lib/glimmer/swt/cursor_proxy.rb +1 -1
  70. data/lib/glimmer/swt/custom/animation.rb +243 -0
  71. data/lib/glimmer/swt/custom/checkbox_group.rb +1 -1
  72. data/lib/glimmer/swt/custom/code_text.rb +2 -1
  73. data/lib/glimmer/swt/custom/drawable.rb +43 -0
  74. data/lib/glimmer/swt/custom/radio_group.rb +1 -1
  75. data/lib/glimmer/swt/custom/shape.rb +193 -0
  76. data/lib/glimmer/swt/date_time_proxy.rb +1 -1
  77. data/lib/glimmer/swt/directory_dialog_proxy.rb +1 -1
  78. data/lib/glimmer/swt/display_proxy.rb +17 -1
  79. data/lib/glimmer/swt/dnd_proxy.rb +1 -1
  80. data/lib/glimmer/swt/expand_item_proxy.rb +1 -1
  81. data/lib/glimmer/swt/file_dialog_proxy.rb +1 -1
  82. data/lib/glimmer/swt/font_proxy.rb +4 -4
  83. data/lib/glimmer/swt/image_proxy.rb +1 -1
  84. data/lib/glimmer/swt/layout_data_proxy.rb +1 -1
  85. data/lib/glimmer/swt/layout_proxy.rb +1 -1
  86. data/lib/glimmer/swt/menu_proxy.rb +1 -1
  87. data/lib/glimmer/swt/message_box_proxy.rb +1 -1
  88. data/lib/glimmer/swt/packages.rb +1 -1
  89. data/lib/glimmer/swt/properties.rb +49 -0
  90. data/lib/glimmer/swt/sash_form_proxy.rb +1 -1
  91. data/lib/glimmer/swt/scrolled_composite_proxy.rb +1 -1
  92. data/lib/glimmer/swt/shell_proxy.rb +3 -2
  93. data/lib/glimmer/swt/style_constantizable.rb +1 -1
  94. data/lib/glimmer/swt/styled_text_proxy.rb +1 -1
  95. data/lib/glimmer/swt/swt_proxy.rb +1 -1
  96. data/lib/glimmer/swt/tab_item_proxy.rb +1 -1
  97. data/lib/glimmer/swt/table_column_proxy.rb +1 -1
  98. data/lib/glimmer/swt/table_proxy.rb +1 -1
  99. data/lib/glimmer/swt/tree_proxy.rb +26 -22
  100. data/lib/glimmer/swt/widget_listener_proxy.rb +1 -1
  101. data/lib/glimmer/swt/widget_proxy.rb +5 -23
  102. data/lib/glimmer/ui/custom_shell.rb +1 -1
  103. data/lib/glimmer/ui/custom_widget.rb +1 -1
  104. data/lib/glimmer/util/proc_tracker.rb +1 -1
  105. data/samples/elaborate/contact_manager.rb +1 -1
  106. data/samples/elaborate/contact_manager/contact.rb +1 -1
  107. data/samples/elaborate/contact_manager/contact_manager_presenter.rb +1 -1
  108. data/samples/elaborate/contact_manager/contact_repository.rb +1 -1
  109. data/samples/elaborate/login.rb +1 -1
  110. data/samples/elaborate/meta_sample.rb +3 -1
  111. data/samples/elaborate/tic_tac_toe.rb +2 -2
  112. data/samples/elaborate/tic_tac_toe/board.rb +1 -1
  113. data/samples/elaborate/tic_tac_toe/cell.rb +1 -1
  114. data/samples/elaborate/user_profile.rb +1 -1
  115. data/samples/hello/hello_browser.rb +1 -1
  116. data/samples/hello/hello_button.rb +1 -1
  117. data/samples/hello/hello_canvas.rb +63 -0
  118. data/samples/hello/hello_canvas_animation.rb +66 -0
  119. data/samples/hello/hello_checkbox.rb +1 -1
  120. data/samples/hello/hello_checkbox_group.rb +1 -1
  121. data/samples/hello/hello_combo.rb +1 -1
  122. data/samples/hello/hello_computed.rb +1 -1
  123. data/samples/hello/hello_computed/contact.rb +1 -1
  124. data/samples/hello/hello_custom_shell.rb +1 -1
  125. data/samples/hello/hello_custom_widget.rb +1 -1
  126. data/samples/hello/hello_date_time.rb +1 -1
  127. data/samples/hello/hello_dialog.rb +78 -0
  128. data/samples/hello/hello_directory_dialog.rb +1 -1
  129. data/samples/hello/hello_drag_and_drop.rb +1 -1
  130. data/samples/hello/hello_expand_bar.rb +1 -1
  131. data/samples/hello/hello_file_dialog.rb +1 -1
  132. data/samples/hello/hello_group.rb +1 -1
  133. data/samples/hello/hello_link.rb +1 -1
  134. data/samples/hello/hello_list_multi_selection.rb +1 -1
  135. data/samples/hello/hello_list_single_selection.rb +1 -1
  136. data/samples/hello/hello_menu_bar.rb +1 -1
  137. data/samples/hello/hello_message_box.rb +1 -1
  138. data/samples/hello/hello_pop_up_context_menu.rb +1 -1
  139. data/samples/hello/hello_radio.rb +1 -1
  140. data/samples/hello/hello_radio_group.rb +1 -1
  141. data/samples/hello/hello_sash_form.rb +1 -1
  142. data/samples/hello/hello_spinner.rb +1 -1
  143. data/samples/hello/hello_styled_text.rb +1 -1
  144. data/samples/hello/hello_tab.rb +1 -1
  145. data/samples/hello/hello_table.rb +1 -1
  146. data/samples/hello/hello_world.rb +1 -1
  147. metadata +37 -13
@@ -1 +1 @@
1
- jruby-9.2.13.0
1
+ jruby-9.2.14.0
data/VERSION CHANGED
@@ -1 +1 @@
1
- 4.18.0.0
1
+ 4.18.2.0
data/bin/girb CHANGED
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/env jruby
2
2
 
3
- # Copyright (c) 2007-2020 Andy Maleh
3
+ # Copyright (c) 2007-2021 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,4 +1,4 @@
1
- # Copyright (c) 2007-2020 Andy Maleh
1
+ # Copyright (c) 2007-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,6 +1,6 @@
1
1
  #!/usr/bin/env jruby
2
2
 
3
- # Copyright (c) 2007-2020 Andy Maleh
3
+ # Copyright (c) 2007-2021 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
@@ -2,17 +2,17 @@
2
2
  # DO NOT EDIT THIS FILE DIRECTLY
3
3
  # Instead, edit Juwelier::Tasks in Rakefile, and run 'rake gemspec'
4
4
  # -*- encoding: utf-8 -*-
5
- # stub: glimmer-dsl-swt 4.18.0.0 ruby lib
5
+ # stub: glimmer-dsl-swt 4.18.2.0 ruby lib
6
6
 
7
7
  Gem::Specification.new do |s|
8
8
  s.name = "glimmer-dsl-swt".freeze
9
- s.version = "4.18.0.0"
9
+ s.version = "4.18.2.0"
10
10
 
11
11
  s.required_rubygems_version = Gem::Requirement.new(">= 0".freeze) if s.respond_to? :required_rubygems_version=
12
12
  s.require_paths = ["lib".freeze]
13
13
  s.authors = ["AndyMaleh".freeze]
14
- s.date = "2020-12-19"
15
- s.description = "Glimmer DSL for SWT (JRuby Desktop Development GUI Framework)".freeze
14
+ s.date = "2021-01-20"
15
+ s.description = "Glimmer DSL for SWT (JRuby Desktop Development GUI Framework) is a native-GUI cross-platform desktop development library written in JRuby, an OS-threaded faster version of Ruby. Glimmer's main innovation is a declarative Ruby DSL that enables productive and efficient authoring of desktop application user-interfaces by relying on the robust Eclipse SWT library. Glimmer additionally innovates by having built-in data-binding support, which greatly facilitates synchronizing the GUI with domain models, thus achieving true decoupling of object oriented components and enabling developers to solve business problems (test-first) without worrying about GUI concerns, or alternatively drive development GUI-first, and then write clean business models (test-first) afterwards. Not only does Glimmer provide a large set of GUI widgets, but also supports drawing Canvas Graphics like Shapes and Animations. To get started quickly, Glimmer offers scaffolding options for Apps, Gems, and Custom Widgets. Glimmer also includes native-executable packaging support, sorely lacking in other libraries, thus enabling the delivery of desktop apps written in Ruby as truly native DMG/PKG/APP files on the Mac + App Store, MSI/EXE files on Windows, and Gem Packaged Shell Scripts on Linux.".freeze
16
16
  s.email = "andy.am@gmail.com".freeze
17
17
  s.executables = ["glimmer".freeze, "girb".freeze]
18
18
  s.extra_rdoc_files = [
@@ -42,6 +42,7 @@ Gem::Specification.new do |s|
42
42
  "lib/glimmer/data_binding/table_items_binding.rb",
43
43
  "lib/glimmer/data_binding/tree_items_binding.rb",
44
44
  "lib/glimmer/data_binding/widget_binding.rb",
45
+ "lib/glimmer/dsl/swt/animation_expression.rb",
45
46
  "lib/glimmer/dsl/swt/async_exec_expression.rb",
46
47
  "lib/glimmer/dsl/swt/bind_expression.rb",
47
48
  "lib/glimmer/dsl/swt/block_property_expression.rb",
@@ -73,6 +74,7 @@ Gem::Specification.new do |s|
73
74
  "lib/glimmer/dsl/swt/radio_group_selection_data_binding_expression.rb",
74
75
  "lib/glimmer/dsl/swt/rgb_expression.rb",
75
76
  "lib/glimmer/dsl/swt/rgba_expression.rb",
77
+ "lib/glimmer/dsl/swt/shape_expression.rb",
76
78
  "lib/glimmer/dsl/swt/shell_expression.rb",
77
79
  "lib/glimmer/dsl/swt/swt_expression.rb",
78
80
  "lib/glimmer/dsl/swt/sync_exec_expression.rb",
@@ -89,9 +91,12 @@ Gem::Specification.new do |s|
89
91
  "lib/glimmer/rake_task/scaffold.rb",
90
92
  "lib/glimmer/swt/color_proxy.rb",
91
93
  "lib/glimmer/swt/cursor_proxy.rb",
94
+ "lib/glimmer/swt/custom/animation.rb",
92
95
  "lib/glimmer/swt/custom/checkbox_group.rb",
93
96
  "lib/glimmer/swt/custom/code_text.rb",
97
+ "lib/glimmer/swt/custom/drawable.rb",
94
98
  "lib/glimmer/swt/custom/radio_group.rb",
99
+ "lib/glimmer/swt/custom/shape.rb",
95
100
  "lib/glimmer/swt/date_time_proxy.rb",
96
101
  "lib/glimmer/swt/directory_dialog_proxy.rb",
97
102
  "lib/glimmer/swt/display_proxy.rb",
@@ -105,6 +110,7 @@ Gem::Specification.new do |s|
105
110
  "lib/glimmer/swt/menu_proxy.rb",
106
111
  "lib/glimmer/swt/message_box_proxy.rb",
107
112
  "lib/glimmer/swt/packages.rb",
113
+ "lib/glimmer/swt/properties.rb",
108
114
  "lib/glimmer/swt/sash_form_proxy.rb",
109
115
  "lib/glimmer/swt/scrolled_composite_proxy.rb",
110
116
  "lib/glimmer/swt/shell_proxy.rb",
@@ -132,6 +138,8 @@ Gem::Specification.new do |s|
132
138
  "samples/elaborate/user_profile.rb",
133
139
  "samples/hello/hello_browser.rb",
134
140
  "samples/hello/hello_button.rb",
141
+ "samples/hello/hello_canvas.rb",
142
+ "samples/hello/hello_canvas_animation.rb",
135
143
  "samples/hello/hello_checkbox.rb",
136
144
  "samples/hello/hello_checkbox_group.rb",
137
145
  "samples/hello/hello_combo.rb",
@@ -140,6 +148,7 @@ Gem::Specification.new do |s|
140
148
  "samples/hello/hello_custom_shell.rb",
141
149
  "samples/hello/hello_custom_widget.rb",
142
150
  "samples/hello/hello_date_time.rb",
151
+ "samples/hello/hello_dialog.rb",
143
152
  "samples/hello/hello_directory_dialog.rb",
144
153
  "samples/hello/hello_drag_and_drop.rb",
145
154
  "samples/hello/hello_expand_bar.rb",
@@ -167,18 +176,18 @@ Gem::Specification.new do |s|
167
176
  s.licenses = ["MIT".freeze]
168
177
  s.required_ruby_version = Gem::Requirement.new(">= 2.5.3".freeze)
169
178
  s.rubygems_version = "3.0.6".freeze
170
- s.summary = "Glimmer DSL for SWT".freeze
179
+ s.summary = "Glimmer DSL for SWT (JRuby Desktop Development GUI Framework)".freeze
171
180
 
172
181
  if s.respond_to? :specification_version then
173
182
  s.specification_version = 4
174
183
 
175
184
  if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
176
- s.add_runtime_dependency(%q<glimmer>.freeze, ["~> 1.0.6"])
185
+ s.add_runtime_dependency(%q<glimmer>.freeze, ["~> 1.0.8"])
177
186
  s.add_runtime_dependency(%q<super_module>.freeze, [">= 1.4.1", "< 2.0.0"])
178
187
  s.add_runtime_dependency(%q<nested_inherited_jruby_include_package>.freeze, [">= 0.3.0", "< 2.0.0"])
179
188
  s.add_runtime_dependency(%q<puts_debuggerer>.freeze, [">= 0.11.0", "< 2.0.0"])
180
189
  s.add_runtime_dependency(%q<rake-tui>.freeze, [">= 0.2.3", "< 2.0.0"])
181
- s.add_runtime_dependency(%q<git-glimmer>.freeze, ["= 1.7.0"])
190
+ s.add_runtime_dependency(%q<git>.freeze, ["= 1.8.1"])
182
191
  s.add_runtime_dependency(%q<logging>.freeze, [">= 2.3.0", "< 3.0.0"])
183
192
  s.add_runtime_dependency(%q<os>.freeze, [">= 1.0.0", "< 2.0.0"])
184
193
  s.add_runtime_dependency(%q<rake>.freeze, [">= 10.1.0", "< 14.0.0"])
@@ -186,18 +195,18 @@ Gem::Specification.new do |s|
186
195
  s.add_runtime_dependency(%q<rouge>.freeze, [">= 3.26.0", "< 4.0.0"])
187
196
  s.add_development_dependency(%q<juwelier>.freeze, [">= 2.4.9", "< 3.0.0"])
188
197
  s.add_development_dependency(%q<warbler>.freeze, [">= 2.0.5", "< 3.0.0"])
189
- s.add_development_dependency(%q<rspec-mocks>.freeze, ["~> 3.5.0"])
190
- s.add_development_dependency(%q<rspec>.freeze, ["~> 3.5.0"])
198
+ s.add_development_dependency(%q<rspec-mocks>.freeze, ["~> 3.0"])
199
+ s.add_development_dependency(%q<rspec>.freeze, ["~> 3.0"])
191
200
  s.add_development_dependency(%q<coveralls>.freeze, ["= 0.8.23"])
192
201
  s.add_development_dependency(%q<simplecov>.freeze, ["~> 0.16.1"])
193
202
  s.add_development_dependency(%q<simplecov-lcov>.freeze, ["~> 0.7.0"])
194
203
  else
195
- s.add_dependency(%q<glimmer>.freeze, ["~> 1.0.6"])
204
+ s.add_dependency(%q<glimmer>.freeze, ["~> 1.0.8"])
196
205
  s.add_dependency(%q<super_module>.freeze, [">= 1.4.1", "< 2.0.0"])
197
206
  s.add_dependency(%q<nested_inherited_jruby_include_package>.freeze, [">= 0.3.0", "< 2.0.0"])
198
207
  s.add_dependency(%q<puts_debuggerer>.freeze, [">= 0.11.0", "< 2.0.0"])
199
208
  s.add_dependency(%q<rake-tui>.freeze, [">= 0.2.3", "< 2.0.0"])
200
- s.add_dependency(%q<git-glimmer>.freeze, ["= 1.7.0"])
209
+ s.add_dependency(%q<git>.freeze, ["= 1.8.1"])
201
210
  s.add_dependency(%q<logging>.freeze, [">= 2.3.0", "< 3.0.0"])
202
211
  s.add_dependency(%q<os>.freeze, [">= 1.0.0", "< 2.0.0"])
203
212
  s.add_dependency(%q<rake>.freeze, [">= 10.1.0", "< 14.0.0"])
@@ -205,19 +214,19 @@ Gem::Specification.new do |s|
205
214
  s.add_dependency(%q<rouge>.freeze, [">= 3.26.0", "< 4.0.0"])
206
215
  s.add_dependency(%q<juwelier>.freeze, [">= 2.4.9", "< 3.0.0"])
207
216
  s.add_dependency(%q<warbler>.freeze, [">= 2.0.5", "< 3.0.0"])
208
- s.add_dependency(%q<rspec-mocks>.freeze, ["~> 3.5.0"])
209
- s.add_dependency(%q<rspec>.freeze, ["~> 3.5.0"])
217
+ s.add_dependency(%q<rspec-mocks>.freeze, ["~> 3.0"])
218
+ s.add_dependency(%q<rspec>.freeze, ["~> 3.0"])
210
219
  s.add_dependency(%q<coveralls>.freeze, ["= 0.8.23"])
211
220
  s.add_dependency(%q<simplecov>.freeze, ["~> 0.16.1"])
212
221
  s.add_dependency(%q<simplecov-lcov>.freeze, ["~> 0.7.0"])
213
222
  end
214
223
  else
215
- s.add_dependency(%q<glimmer>.freeze, ["~> 1.0.6"])
224
+ s.add_dependency(%q<glimmer>.freeze, ["~> 1.0.8"])
216
225
  s.add_dependency(%q<super_module>.freeze, [">= 1.4.1", "< 2.0.0"])
217
226
  s.add_dependency(%q<nested_inherited_jruby_include_package>.freeze, [">= 0.3.0", "< 2.0.0"])
218
227
  s.add_dependency(%q<puts_debuggerer>.freeze, [">= 0.11.0", "< 2.0.0"])
219
228
  s.add_dependency(%q<rake-tui>.freeze, [">= 0.2.3", "< 2.0.0"])
220
- s.add_dependency(%q<git-glimmer>.freeze, ["= 1.7.0"])
229
+ s.add_dependency(%q<git>.freeze, ["= 1.8.1"])
221
230
  s.add_dependency(%q<logging>.freeze, [">= 2.3.0", "< 3.0.0"])
222
231
  s.add_dependency(%q<os>.freeze, [">= 1.0.0", "< 2.0.0"])
223
232
  s.add_dependency(%q<rake>.freeze, [">= 10.1.0", "< 14.0.0"])
@@ -225,8 +234,8 @@ Gem::Specification.new do |s|
225
234
  s.add_dependency(%q<rouge>.freeze, [">= 3.26.0", "< 4.0.0"])
226
235
  s.add_dependency(%q<juwelier>.freeze, [">= 2.4.9", "< 3.0.0"])
227
236
  s.add_dependency(%q<warbler>.freeze, [">= 2.0.5", "< 3.0.0"])
228
- s.add_dependency(%q<rspec-mocks>.freeze, ["~> 3.5.0"])
229
- s.add_dependency(%q<rspec>.freeze, ["~> 3.5.0"])
237
+ s.add_dependency(%q<rspec-mocks>.freeze, ["~> 3.0"])
238
+ s.add_dependency(%q<rspec>.freeze, ["~> 3.0"])
230
239
  s.add_dependency(%q<coveralls>.freeze, ["= 0.8.23"])
231
240
  s.add_dependency(%q<simplecov>.freeze, ["~> 0.16.1"])
232
241
  s.add_dependency(%q<simplecov-lcov>.freeze, ["~> 0.7.0"])
@@ -1,4 +1,4 @@
1
- # Copyright (c) 2007-2020 Andy Maleh
1
+ # Copyright (c) 2007-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) 2007-2020 Andy Maleh
2
- #
1
+ # Copyright (c) 2007-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
@@ -30,7 +30,7 @@ module Glimmer
30
30
  'org.eclipse.swt.graphics',
31
31
  'org.eclipse.swt.browser',
32
32
  'org.eclipse.swt.custom',
33
- 'org.eclipse.swt.dnd',
33
+ 'org.eclipse.swt.dnd',
34
34
  ]
35
35
 
36
36
  class << self
@@ -99,9 +99,9 @@ module Glimmer
99
99
  end
100
100
 
101
101
  def reset_logger!
102
- @first_time = !defined?(@@logger)
102
+ @first_time = !defined?(@@logger)
103
103
  old_level = logger.level unless @first_time
104
- self.logger = Logging.logger['glimmer'].tap do |logger|
104
+ self.logger = Logging.logger['glimmer'].tap do |logger|
105
105
  logger.level = old_level || :error
106
106
  appenders = []
107
107
  appenders << Logging.appenders.stdout(logging_appender_options) if logging_devices.include?(:stdout)
@@ -1,4 +1,4 @@
1
- # Copyright (c) 2007-2020 Andy Maleh
1
+ # Copyright (c) 2007-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
@@ -37,6 +37,7 @@ require 'super_module'
37
37
  require 'rouge'
38
38
  require 'date'
39
39
  require 'facets/string/capitalized'
40
+ require 'facets/hash/symbolize_keys'
40
41
 
41
42
  # Internal requires
42
43
  require 'ext/glimmer/config'
@@ -1,4 +1,4 @@
1
- # Copyright (c) 2007-2020 Andy Maleh
1
+ # Copyright (c) 2007-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) 2007-2020 Andy Maleh
1
+ # Copyright (c) 2007-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) 2007-2020 Andy Maleh
1
+ # Copyright (c) 2007-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) 2007-2020 Andy Maleh
1
+ # Copyright (c) 2007-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) 2007-2020 Andy Maleh
1
+ # Copyright (c) 2007-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) 2007-2020 Andy Maleh
1
+ # Copyright (c) 2007-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) 2007-2020 Andy Maleh
1
+ # Copyright (c) 2007-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
@@ -0,0 +1,43 @@
1
+ # Copyright (c) 2007-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
+
22
+ require 'glimmer/dsl/static_expression'
23
+ require 'glimmer/dsl/parent_expression'
24
+ require 'glimmer/swt/custom/animation'
25
+
26
+ module Glimmer
27
+ module DSL
28
+ module SWT
29
+ class AnimationExpression < StaticExpression
30
+ include ParentExpression
31
+
32
+ def interpret(parent, keyword, *args, &block)
33
+ Glimmer::SWT::Custom::Animation.new(parent)
34
+ end
35
+
36
+ def add_content(parent, &block)
37
+ super
38
+ parent.post_add_content
39
+ end
40
+ end
41
+ end
42
+ end
43
+ end
@@ -1,4 +1,4 @@
1
- # Copyright (c) 2007-2020 Andy Maleh
1
+ # Copyright (c) 2007-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) 2007-2020 Andy Maleh
1
+ # Copyright (c) 2007-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) 2007-2020 Andy Maleh
1
+ # Copyright (c) 2007-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) 2007-2020 Andy Maleh
1
+ # Copyright (c) 2007-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) 2007-2020 Andy Maleh
1
+ # Copyright (c) 2007-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) 2007-2020 Andy Maleh
1
+ # Copyright (c) 2007-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) 2007-2020 Andy Maleh
1
+ # Copyright (c) 2007-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) 2007-2020 Andy Maleh
1
+ # Copyright (c) 2007-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) 2007-2020 Andy Maleh
1
+ # Copyright (c) 2007-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) 2007-2020 Andy Maleh
1
+ # Copyright (c) 2007-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) 2007-2020 Andy Maleh
1
+ # Copyright (c) 2007-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) 2007-2020 Andy Maleh
1
+ # Copyright (c) 2007-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) 2007-2020 Andy Maleh
1
+ # Copyright (c) 2007-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) 2007-2020 Andy Maleh
1
+ # Copyright (c) 2007-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) 2007-2020 Andy Maleh
2
- #
1
+ # Copyright (c) 2007-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
@@ -54,6 +54,7 @@ module Glimmer
54
54
  block_property
55
55
  widget
56
56
  custom_widget
57
+ shape
57
58
  ]
58
59
  )
59
60
  end