glimmer-dsl-swt 0.6.6 → 4.17.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (109) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +257 -0
  3. data/LICENSE.txt +1 -1
  4. data/README.md +3948 -24
  5. data/VERSION +1 -1
  6. data/bin/girb +21 -0
  7. data/bin/girb_runner.rb +21 -0
  8. data/bin/glimmer +24 -3
  9. data/glimmer-dsl-swt.gemspec +187 -0
  10. data/lib/ext/glimmer.rb +21 -0
  11. data/lib/ext/glimmer/config.rb +26 -2
  12. data/lib/glimmer-dsl-swt.rb +21 -0
  13. data/lib/glimmer/Rakefile +21 -0
  14. data/lib/glimmer/data_binding/list_selection_binding.rb +21 -0
  15. data/lib/glimmer/data_binding/observable_widget.rb +21 -0
  16. data/lib/glimmer/data_binding/shine.rb +22 -1
  17. data/lib/glimmer/data_binding/table_items_binding.rb +21 -0
  18. data/lib/glimmer/data_binding/tree_items_binding.rb +21 -0
  19. data/lib/glimmer/data_binding/widget_binding.rb +21 -0
  20. data/lib/glimmer/dsl/swt/async_exec_expression.rb +21 -0
  21. data/lib/glimmer/dsl/swt/bind_expression.rb +21 -0
  22. data/lib/glimmer/dsl/swt/block_property_expression.rb +21 -0
  23. data/lib/glimmer/dsl/swt/color_expression.rb +21 -0
  24. data/lib/glimmer/dsl/swt/column_properties_expression.rb +21 -0
  25. data/lib/glimmer/dsl/swt/combo_selection_data_binding_expression.rb +21 -0
  26. data/lib/glimmer/dsl/swt/cursor_expression.rb +21 -0
  27. data/lib/glimmer/dsl/swt/custom_widget_expression.rb +20 -0
  28. data/lib/glimmer/dsl/swt/data_binding_expression.rb +21 -0
  29. data/lib/glimmer/dsl/swt/dialog_expression.rb +21 -0
  30. data/lib/glimmer/dsl/swt/display_expression.rb +21 -0
  31. data/lib/glimmer/dsl/swt/dnd_expression.rb +21 -0
  32. data/lib/glimmer/dsl/swt/dsl.rb +21 -0
  33. data/lib/glimmer/dsl/swt/exec_expression.rb +28 -1
  34. data/lib/glimmer/dsl/swt/font_expression.rb +21 -0
  35. data/lib/glimmer/dsl/swt/image_expression.rb +21 -0
  36. data/lib/glimmer/dsl/swt/layout_data_expression.rb +21 -0
  37. data/lib/glimmer/dsl/swt/layout_expression.rb +21 -0
  38. data/lib/glimmer/dsl/swt/list_selection_data_binding_expression.rb +21 -0
  39. data/lib/glimmer/dsl/swt/menu_bar_expression.rb +21 -0
  40. data/lib/glimmer/dsl/swt/menu_expression.rb +21 -0
  41. data/lib/glimmer/dsl/swt/message_box_expression.rb +21 -0
  42. data/lib/glimmer/dsl/swt/observe_expression.rb +21 -0
  43. data/lib/glimmer/dsl/swt/property_expression.rb +21 -0
  44. data/lib/glimmer/dsl/swt/rgb_expression.rb +21 -0
  45. data/lib/glimmer/dsl/swt/rgba_expression.rb +21 -0
  46. data/lib/glimmer/dsl/swt/shell_expression.rb +21 -0
  47. data/lib/glimmer/dsl/swt/swt_expression.rb +21 -0
  48. data/lib/glimmer/dsl/swt/sync_exec_expression.rb +21 -0
  49. data/lib/glimmer/dsl/swt/tab_item_expression.rb +21 -0
  50. data/lib/glimmer/dsl/swt/table_items_data_binding_expression.rb +21 -0
  51. data/lib/glimmer/dsl/swt/tree_items_data_binding_expression.rb +21 -0
  52. data/lib/glimmer/dsl/swt/tree_properties_expression.rb +21 -0
  53. data/lib/glimmer/dsl/swt/widget_expression.rb +21 -0
  54. data/lib/glimmer/dsl/swt/widget_listener_expression.rb +21 -0
  55. data/lib/glimmer/launcher.rb +27 -7
  56. data/lib/glimmer/package.rb +21 -0
  57. data/lib/glimmer/rake_task.rb +36 -98
  58. data/lib/glimmer/rake_task/list.rb +21 -0
  59. data/lib/glimmer/rake_task/sample.rb +115 -0
  60. data/lib/glimmer/scaffold.rb +27 -6
  61. data/lib/glimmer/swt/color_proxy.rb +21 -0
  62. data/lib/glimmer/swt/cursor_proxy.rb +21 -0
  63. data/lib/glimmer/swt/display_proxy.rb +21 -0
  64. data/lib/glimmer/swt/dnd_proxy.rb +21 -0
  65. data/lib/glimmer/swt/font_proxy.rb +21 -0
  66. data/lib/glimmer/swt/image_proxy.rb +21 -0
  67. data/lib/glimmer/swt/layout_data_proxy.rb +21 -0
  68. data/lib/glimmer/swt/layout_proxy.rb +21 -0
  69. data/lib/glimmer/swt/menu_proxy.rb +21 -0
  70. data/lib/glimmer/swt/message_box_proxy.rb +21 -0
  71. data/lib/glimmer/swt/packages.rb +21 -0
  72. data/lib/glimmer/swt/scrolled_composite_proxy.rb +21 -0
  73. data/lib/glimmer/swt/shell_proxy.rb +21 -0
  74. data/lib/glimmer/swt/style_constantizable.rb +22 -0
  75. data/lib/glimmer/swt/swt_proxy.rb +21 -0
  76. data/lib/glimmer/swt/tab_item_proxy.rb +21 -0
  77. data/lib/glimmer/swt/table_column_proxy.rb +21 -0
  78. data/lib/glimmer/swt/table_proxy.rb +27 -4
  79. data/lib/glimmer/swt/tree_proxy.rb +21 -0
  80. data/lib/glimmer/swt/widget_listener_proxy.rb +21 -0
  81. data/lib/glimmer/swt/widget_proxy.rb +72 -37
  82. data/lib/glimmer/ui/custom_shell.rb +21 -0
  83. data/lib/glimmer/ui/custom_widget.rb +22 -0
  84. data/lib/glimmer/util/proc_tracker.rb +21 -0
  85. data/samples/elaborate/contact_manager.rb +21 -0
  86. data/samples/elaborate/contact_manager/contact.rb +21 -0
  87. data/samples/elaborate/contact_manager/contact_manager_presenter.rb +21 -0
  88. data/samples/elaborate/contact_manager/contact_repository.rb +21 -0
  89. data/samples/elaborate/login.rb +20 -2
  90. data/samples/elaborate/tic_tac_toe.rb +21 -0
  91. data/samples/elaborate/tic_tac_toe/board.rb +21 -0
  92. data/samples/elaborate/tic_tac_toe/cell.rb +21 -0
  93. data/samples/elaborate/user_profile.rb +21 -0
  94. data/samples/hello/hello_browser.rb +22 -1
  95. data/samples/hello/hello_combo.rb +21 -0
  96. data/samples/hello/hello_computed.rb +21 -0
  97. data/samples/hello/hello_computed/contact.rb +21 -0
  98. data/samples/hello/hello_drag_and_drop.rb +21 -0
  99. data/samples/hello/hello_list_multi_selection.rb +21 -0
  100. data/samples/hello/hello_list_single_selection.rb +21 -0
  101. data/samples/hello/hello_menu_bar.rb +21 -0
  102. data/samples/hello/hello_message_box.rb +21 -0
  103. data/samples/hello/hello_pop_up_context_menu.rb +21 -0
  104. data/samples/hello/hello_tab.rb +21 -0
  105. data/samples/hello/hello_world.rb +21 -0
  106. data/vendor/swt/linux/swt.jar +0 -0
  107. data/vendor/swt/mac/swt.jar +0 -0
  108. data/vendor/swt/windows/swt.jar +0 -0
  109. metadata +41 -32
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.6.6
1
+ 4.17.1.0
data/bin/girb CHANGED
@@ -1,5 +1,26 @@
1
1
  #!/usr/bin/env jruby
2
2
 
3
+ # Copyright (c) 2007-2020 Andy Maleh
4
+ #
5
+ # Permission is hereby granted, free of charge, to any person obtaining
6
+ # a copy of this software and associated documentation files (the
7
+ # "Software"), to deal in the Software without restriction, including
8
+ # without limitation the rights to use, copy, modify, merge, publish,
9
+ # distribute, sublicense, and/or sell copies of the Software, and to
10
+ # permit persons to whom the Software is furnished to do so, subject to
11
+ # the following conditions:
12
+ #
13
+ # The above copyright notice and this permission notice shall be
14
+ # included in all copies or substantial portions of the Software.
15
+ #
16
+ # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
17
+ # EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
18
+ # MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
19
+ # NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
20
+ # LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
21
+ # OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
22
+ # WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
23
+
3
24
  trap "SIGINT" do
4
25
  # No Op for irb
5
26
  end
@@ -1,3 +1,24 @@
1
+ # Copyright (c) 2007-2020 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 'puts_debuggerer'
2
23
 
3
24
  include Glimmer
@@ -1,9 +1,30 @@
1
1
  #!/usr/bin/env jruby
2
2
 
3
- if ARGV.empty?
4
- require 'rake-tui'
5
- require 'tty-screen'
3
+ # Copyright (c) 2007-2020 Andy Maleh
4
+ #
5
+ # Permission is hereby granted, free of charge, to any person obtaining
6
+ # a copy of this software and associated documentation files (the
7
+ # "Software"), to deal in the Software without restriction, including
8
+ # without limitation the rights to use, copy, modify, merge, publish,
9
+ # distribute, sublicense, and/or sell copies of the Software, and to
10
+ # permit persons to whom the Software is furnished to do so, subject to
11
+ # the following conditions:
12
+ #
13
+ # The above copyright notice and this permission notice shall be
14
+ # included in all copies or substantial portions of the Software.
15
+ #
16
+ # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
17
+ # EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
18
+ # MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
19
+ # NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
20
+ # LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
21
+ # OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
22
+ # WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
23
+
24
+ if File.exist?(File.expand_path('./Gemfile'))
25
+ require 'bundler/setup' unless ENV['GLIMMER_BUNDLER_SETUP'].to_s.downcase == 'false'
6
26
  end
27
+
7
28
  require_relative '../lib/glimmer/launcher'
8
29
 
9
30
  Glimmer::Launcher.new(ARGV).launch
@@ -0,0 +1,187 @@
1
+ # Generated by juwelier
2
+ # DO NOT EDIT THIS FILE DIRECTLY
3
+ # Instead, edit Juwelier::Tasks in Rakefile, and run 'rake gemspec'
4
+ # -*- encoding: utf-8 -*-
5
+ # stub: glimmer-dsl-swt 4.17.1.0 ruby lib
6
+
7
+ Gem::Specification.new do |s|
8
+ s.name = "glimmer-dsl-swt".freeze
9
+ s.version = "4.17.1.0"
10
+
11
+ s.required_rubygems_version = Gem::Requirement.new(">= 0".freeze) if s.respond_to? :required_rubygems_version=
12
+ s.require_paths = ["lib".freeze]
13
+ s.authors = ["AndyMaleh".freeze]
14
+ s.date = "2020-09-24"
15
+ s.description = "Glimmer DSL for SWT (JRuby Desktop Development GUI Library)".freeze
16
+ s.email = "andy.am@gmail.com".freeze
17
+ s.executables = ["glimmer".freeze, "girb".freeze]
18
+ s.extra_rdoc_files = [
19
+ "LICENSE.txt",
20
+ "README.md"
21
+ ]
22
+ s.files = [
23
+ "CHANGELOG.md",
24
+ "LICENSE.txt",
25
+ "README.md",
26
+ "RUBY_VERSION",
27
+ "VERSION",
28
+ "bin/girb",
29
+ "bin/girb_runner.rb",
30
+ "bin/glimmer",
31
+ "glimmer-dsl-swt.gemspec",
32
+ "icons/scaffold_app.icns",
33
+ "icons/scaffold_app.ico",
34
+ "icons/scaffold_app.png",
35
+ "lib/ext/glimmer.rb",
36
+ "lib/ext/glimmer/config.rb",
37
+ "lib/glimmer-dsl-swt.rb",
38
+ "lib/glimmer/Rakefile",
39
+ "lib/glimmer/data_binding/list_selection_binding.rb",
40
+ "lib/glimmer/data_binding/observable_widget.rb",
41
+ "lib/glimmer/data_binding/shine.rb",
42
+ "lib/glimmer/data_binding/table_items_binding.rb",
43
+ "lib/glimmer/data_binding/tree_items_binding.rb",
44
+ "lib/glimmer/data_binding/widget_binding.rb",
45
+ "lib/glimmer/dsl/swt/async_exec_expression.rb",
46
+ "lib/glimmer/dsl/swt/bind_expression.rb",
47
+ "lib/glimmer/dsl/swt/block_property_expression.rb",
48
+ "lib/glimmer/dsl/swt/color_expression.rb",
49
+ "lib/glimmer/dsl/swt/column_properties_expression.rb",
50
+ "lib/glimmer/dsl/swt/combo_selection_data_binding_expression.rb",
51
+ "lib/glimmer/dsl/swt/cursor_expression.rb",
52
+ "lib/glimmer/dsl/swt/custom_widget_expression.rb",
53
+ "lib/glimmer/dsl/swt/data_binding_expression.rb",
54
+ "lib/glimmer/dsl/swt/dialog_expression.rb",
55
+ "lib/glimmer/dsl/swt/display_expression.rb",
56
+ "lib/glimmer/dsl/swt/dnd_expression.rb",
57
+ "lib/glimmer/dsl/swt/dsl.rb",
58
+ "lib/glimmer/dsl/swt/exec_expression.rb",
59
+ "lib/glimmer/dsl/swt/font_expression.rb",
60
+ "lib/glimmer/dsl/swt/image_expression.rb",
61
+ "lib/glimmer/dsl/swt/layout_data_expression.rb",
62
+ "lib/glimmer/dsl/swt/layout_expression.rb",
63
+ "lib/glimmer/dsl/swt/list_selection_data_binding_expression.rb",
64
+ "lib/glimmer/dsl/swt/menu_bar_expression.rb",
65
+ "lib/glimmer/dsl/swt/menu_expression.rb",
66
+ "lib/glimmer/dsl/swt/message_box_expression.rb",
67
+ "lib/glimmer/dsl/swt/observe_expression.rb",
68
+ "lib/glimmer/dsl/swt/property_expression.rb",
69
+ "lib/glimmer/dsl/swt/rgb_expression.rb",
70
+ "lib/glimmer/dsl/swt/rgba_expression.rb",
71
+ "lib/glimmer/dsl/swt/shell_expression.rb",
72
+ "lib/glimmer/dsl/swt/swt_expression.rb",
73
+ "lib/glimmer/dsl/swt/sync_exec_expression.rb",
74
+ "lib/glimmer/dsl/swt/tab_item_expression.rb",
75
+ "lib/glimmer/dsl/swt/table_items_data_binding_expression.rb",
76
+ "lib/glimmer/dsl/swt/tree_items_data_binding_expression.rb",
77
+ "lib/glimmer/dsl/swt/tree_properties_expression.rb",
78
+ "lib/glimmer/dsl/swt/widget_expression.rb",
79
+ "lib/glimmer/dsl/swt/widget_listener_expression.rb",
80
+ "lib/glimmer/launcher.rb",
81
+ "lib/glimmer/package.rb",
82
+ "lib/glimmer/rake_task.rb",
83
+ "lib/glimmer/rake_task/list.rb",
84
+ "lib/glimmer/rake_task/sample.rb",
85
+ "lib/glimmer/scaffold.rb",
86
+ "lib/glimmer/swt/color_proxy.rb",
87
+ "lib/glimmer/swt/cursor_proxy.rb",
88
+ "lib/glimmer/swt/display_proxy.rb",
89
+ "lib/glimmer/swt/dnd_proxy.rb",
90
+ "lib/glimmer/swt/font_proxy.rb",
91
+ "lib/glimmer/swt/image_proxy.rb",
92
+ "lib/glimmer/swt/layout_data_proxy.rb",
93
+ "lib/glimmer/swt/layout_proxy.rb",
94
+ "lib/glimmer/swt/menu_proxy.rb",
95
+ "lib/glimmer/swt/message_box_proxy.rb",
96
+ "lib/glimmer/swt/packages.rb",
97
+ "lib/glimmer/swt/scrolled_composite_proxy.rb",
98
+ "lib/glimmer/swt/shell_proxy.rb",
99
+ "lib/glimmer/swt/style_constantizable.rb",
100
+ "lib/glimmer/swt/swt_proxy.rb",
101
+ "lib/glimmer/swt/tab_item_proxy.rb",
102
+ "lib/glimmer/swt/table_column_proxy.rb",
103
+ "lib/glimmer/swt/table_proxy.rb",
104
+ "lib/glimmer/swt/tree_proxy.rb",
105
+ "lib/glimmer/swt/widget_listener_proxy.rb",
106
+ "lib/glimmer/swt/widget_proxy.rb",
107
+ "lib/glimmer/ui/custom_shell.rb",
108
+ "lib/glimmer/ui/custom_widget.rb",
109
+ "lib/glimmer/util/proc_tracker.rb",
110
+ "samples/elaborate/contact_manager.rb",
111
+ "samples/elaborate/contact_manager/contact.rb",
112
+ "samples/elaborate/contact_manager/contact_manager_presenter.rb",
113
+ "samples/elaborate/contact_manager/contact_repository.rb",
114
+ "samples/elaborate/login.rb",
115
+ "samples/elaborate/tic_tac_toe.rb",
116
+ "samples/elaborate/tic_tac_toe/board.rb",
117
+ "samples/elaborate/tic_tac_toe/cell.rb",
118
+ "samples/elaborate/user_profile.rb",
119
+ "samples/hello/hello_browser.rb",
120
+ "samples/hello/hello_combo.rb",
121
+ "samples/hello/hello_computed.rb",
122
+ "samples/hello/hello_computed/contact.rb",
123
+ "samples/hello/hello_drag_and_drop.rb",
124
+ "samples/hello/hello_list_multi_selection.rb",
125
+ "samples/hello/hello_list_single_selection.rb",
126
+ "samples/hello/hello_menu_bar.rb",
127
+ "samples/hello/hello_message_box.rb",
128
+ "samples/hello/hello_pop_up_context_menu.rb",
129
+ "samples/hello/hello_tab.rb",
130
+ "samples/hello/hello_world.rb",
131
+ "vendor/swt/linux/swt.jar",
132
+ "vendor/swt/mac/swt.jar",
133
+ "vendor/swt/windows/swt.jar"
134
+ ]
135
+ s.homepage = "http://github.com/AndyObtiva/glimmer-dsl-swt".freeze
136
+ s.licenses = ["MIT".freeze]
137
+ s.required_ruby_version = Gem::Requirement.new(">= 2.5.3".freeze)
138
+ s.rubygems_version = "3.1.4".freeze
139
+ s.summary = "Glimmer DSL for SWT".freeze
140
+
141
+ if s.respond_to? :specification_version then
142
+ s.specification_version = 4
143
+ end
144
+
145
+ if s.respond_to? :add_runtime_dependency then
146
+ s.add_runtime_dependency(%q<glimmer>.freeze, ["~> 1.0.0"])
147
+ s.add_runtime_dependency(%q<super_module>.freeze, ["~> 1.4.1"])
148
+ s.add_runtime_dependency(%q<nested_inherited_jruby_include_package>.freeze, ["~> 0.3.0"])
149
+ s.add_runtime_dependency(%q<puts_debuggerer>.freeze, ["~> 0.10.1"])
150
+ s.add_runtime_dependency(%q<rake-tui>.freeze, [">= 0.2.2", "< 2.0.0"])
151
+ s.add_runtime_dependency(%q<git-glimmer>.freeze, ["= 1.7.0"])
152
+ s.add_runtime_dependency(%q<juwelier>.freeze, [">= 2.4.9", "< 3.0.0"])
153
+ s.add_runtime_dependency(%q<logging>.freeze, [">= 2.3.0", "< 3.0.0"])
154
+ s.add_runtime_dependency(%q<os>.freeze, [">= 1.0.0", "< 2.0.0"])
155
+ s.add_runtime_dependency(%q<rake>.freeze, [">= 10.1.0", "< 14.0.0"])
156
+ s.add_runtime_dependency(%q<rdoc>.freeze, [">= 6.2.1", "< 7.0.0"])
157
+ s.add_runtime_dependency(%q<text-table>.freeze, [">= 1.2.4", "< 2.0.0"])
158
+ s.add_runtime_dependency(%q<tty-markdown>.freeze, [">= 0.6.0", "< 2.0.0"])
159
+ s.add_runtime_dependency(%q<warbler>.freeze, [">= 2.0.5", "< 3.0.0"])
160
+ s.add_development_dependency(%q<rspec-mocks>.freeze, ["~> 3.5.0"])
161
+ s.add_development_dependency(%q<rspec>.freeze, ["~> 3.5.0"])
162
+ s.add_development_dependency(%q<coveralls>.freeze, ["= 0.8.23"])
163
+ s.add_development_dependency(%q<simplecov>.freeze, ["~> 0.16.1"])
164
+ s.add_development_dependency(%q<simplecov-lcov>.freeze, ["~> 0.7.0"])
165
+ else
166
+ s.add_dependency(%q<glimmer>.freeze, ["~> 1.0.0"])
167
+ s.add_dependency(%q<super_module>.freeze, ["~> 1.4.1"])
168
+ s.add_dependency(%q<nested_inherited_jruby_include_package>.freeze, ["~> 0.3.0"])
169
+ s.add_dependency(%q<puts_debuggerer>.freeze, ["~> 0.10.1"])
170
+ s.add_dependency(%q<rake-tui>.freeze, [">= 0.2.2", "< 2.0.0"])
171
+ s.add_dependency(%q<git-glimmer>.freeze, ["= 1.7.0"])
172
+ s.add_dependency(%q<juwelier>.freeze, [">= 2.4.9", "< 3.0.0"])
173
+ s.add_dependency(%q<logging>.freeze, [">= 2.3.0", "< 3.0.0"])
174
+ s.add_dependency(%q<os>.freeze, [">= 1.0.0", "< 2.0.0"])
175
+ s.add_dependency(%q<rake>.freeze, [">= 10.1.0", "< 14.0.0"])
176
+ s.add_dependency(%q<rdoc>.freeze, [">= 6.2.1", "< 7.0.0"])
177
+ s.add_dependency(%q<text-table>.freeze, [">= 1.2.4", "< 2.0.0"])
178
+ s.add_dependency(%q<tty-markdown>.freeze, [">= 0.6.0", "< 2.0.0"])
179
+ s.add_dependency(%q<warbler>.freeze, [">= 2.0.5", "< 3.0.0"])
180
+ s.add_dependency(%q<rspec-mocks>.freeze, ["~> 3.5.0"])
181
+ s.add_dependency(%q<rspec>.freeze, ["~> 3.5.0"])
182
+ s.add_dependency(%q<coveralls>.freeze, ["= 0.8.23"])
183
+ s.add_dependency(%q<simplecov>.freeze, ["~> 0.16.1"])
184
+ s.add_dependency(%q<simplecov-lcov>.freeze, ["~> 0.7.0"])
185
+ end
186
+ end
187
+
@@ -1,3 +1,24 @@
1
+ # Copyright (c) 2007-2020 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/packages'
2
23
 
3
24
  module Glimmer
@@ -1,3 +1,26 @@
1
+ # Copyright (c) 2007-2020 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/config'
23
+
1
24
  module Glimmer
2
25
  module Config
3
26
  DEFAULT_IMPORT_SWT_PACKAGES = [
@@ -9,7 +32,7 @@ module Glimmer
9
32
  'org.eclipse.swt.custom',
10
33
  'org.eclipse.swt.dnd',
11
34
  ]
12
-
35
+
13
36
  class << self
14
37
  # Tells Glimmer to import SWT packages into including class (default: true)
15
38
  def import_swt_packages=(value)
@@ -103,7 +126,7 @@ module Glimmer
103
126
 
104
127
  end
105
128
 
106
- Glimmer::Config.reset_logger!
129
+ Glimmer::Config.reset_logger! unless ENV['GLIMMER_LOGGER_ENABLED'].to_s.downcase == 'false'
107
130
  if ENV['GLIMMER_LOGGER_LEVEL']
108
131
  # if glimmer log level is being overridden for debugging purposes, then disable async logging making logging immediate
109
132
  Glimmer::Config.logging_appender_options = Glimmer::Config.logging_appender_options.merge(async: false, auto_flushing: 1)
@@ -114,6 +137,7 @@ if ENV['GLIMMER_LOGGER_LEVEL']
114
137
  puts e.message
115
138
  end
116
139
  end
140
+
117
141
  Glimmer::Config.excluded_keyword_checkers << lambda do |method_symbol, *args|
118
142
  method = method_symbol.to_s
119
143
  result = false
@@ -1,3 +1,24 @@
1
+ # Copyright (c) 2007-2020 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
  $LOAD_PATH.unshift(File.expand_path('..', __FILE__))
2
23
 
3
24
  # External requires
@@ -1,3 +1,24 @@
1
+ # Copyright (c) 2007-2020 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
  # This Rakefile gets used from Glimmer::Launcher when the current directory for running the `glimmer` command
2
23
  # does not have a Rakefile (e.g. during scaffolding).
3
24
  # It is not needed when running from inside a scaffolded app or gem, or an app with a Rakefile that has
@@ -1,3 +1,24 @@
1
+ # Copyright (c) 2007-2020 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/data_binding/observable'
2
23
  require 'glimmer/data_binding/observer'
3
24
 
@@ -1,3 +1,24 @@
1
+ # Copyright (c) 2007-2020 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
  module Glimmer
2
23
  module DataBinding
3
24
  module ObservableWidget