glimmer-dsl-swt 0.6.8 → 4.17.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +269 -0
- data/LICENSE.txt +1 -1
- data/README.md +3975 -24
- data/VERSION +1 -1
- data/bin/girb +21 -0
- data/bin/girb_runner.rb +21 -0
- data/bin/glimmer +21 -0
- data/glimmer-dsl-swt.gemspec +185 -0
- data/lib/ext/glimmer.rb +21 -0
- data/lib/ext/glimmer/config.rb +21 -5
- data/lib/glimmer-dsl-swt.rb +21 -0
- data/lib/glimmer/Rakefile +21 -0
- data/lib/glimmer/data_binding/list_selection_binding.rb +21 -0
- data/lib/glimmer/data_binding/observable_widget.rb +21 -0
- data/lib/glimmer/data_binding/shine.rb +22 -1
- data/lib/glimmer/data_binding/table_items_binding.rb +21 -0
- data/lib/glimmer/data_binding/tree_items_binding.rb +21 -0
- data/lib/glimmer/data_binding/widget_binding.rb +21 -0
- data/lib/glimmer/dsl/swt/async_exec_expression.rb +21 -0
- data/lib/glimmer/dsl/swt/bind_expression.rb +21 -0
- data/lib/glimmer/dsl/swt/block_property_expression.rb +21 -0
- data/lib/glimmer/dsl/swt/color_expression.rb +21 -0
- data/lib/glimmer/dsl/swt/column_properties_expression.rb +21 -0
- data/lib/glimmer/dsl/swt/combo_selection_data_binding_expression.rb +21 -0
- data/lib/glimmer/dsl/swt/cursor_expression.rb +21 -0
- data/lib/glimmer/dsl/swt/custom_widget_expression.rb +20 -0
- data/lib/glimmer/dsl/swt/data_binding_expression.rb +21 -0
- data/lib/glimmer/dsl/swt/dialog_expression.rb +21 -0
- data/lib/glimmer/dsl/swt/display_expression.rb +21 -0
- data/lib/glimmer/dsl/swt/dnd_expression.rb +21 -0
- data/lib/glimmer/dsl/swt/dsl.rb +21 -0
- data/lib/glimmer/dsl/swt/exec_expression.rb +28 -1
- data/lib/glimmer/dsl/swt/font_expression.rb +21 -0
- data/lib/glimmer/dsl/swt/image_expression.rb +21 -0
- data/lib/glimmer/dsl/swt/layout_data_expression.rb +21 -0
- data/lib/glimmer/dsl/swt/layout_expression.rb +21 -0
- data/lib/glimmer/dsl/swt/list_selection_data_binding_expression.rb +21 -0
- data/lib/glimmer/dsl/swt/menu_bar_expression.rb +21 -0
- data/lib/glimmer/dsl/swt/menu_expression.rb +21 -0
- data/lib/glimmer/dsl/swt/message_box_expression.rb +21 -0
- data/lib/glimmer/dsl/swt/observe_expression.rb +21 -0
- data/lib/glimmer/dsl/swt/property_expression.rb +21 -0
- data/lib/glimmer/dsl/swt/rgb_expression.rb +21 -0
- data/lib/glimmer/dsl/swt/rgba_expression.rb +21 -0
- data/lib/glimmer/dsl/swt/shell_expression.rb +21 -0
- data/lib/glimmer/dsl/swt/swt_expression.rb +21 -0
- data/lib/glimmer/dsl/swt/sync_exec_expression.rb +21 -0
- data/lib/glimmer/dsl/swt/tab_item_expression.rb +21 -0
- data/lib/glimmer/dsl/swt/table_items_data_binding_expression.rb +21 -0
- data/lib/glimmer/dsl/swt/tree_items_data_binding_expression.rb +21 -0
- data/lib/glimmer/dsl/swt/tree_properties_expression.rb +21 -0
- data/lib/glimmer/dsl/swt/widget_expression.rb +21 -0
- data/lib/glimmer/dsl/swt/widget_listener_expression.rb +21 -0
- data/lib/glimmer/launcher.rb +28 -8
- data/lib/glimmer/rake_task.rb +66 -87
- data/lib/glimmer/rake_task/list.rb +25 -1
- data/lib/glimmer/rake_task/package.rb +128 -0
- data/lib/glimmer/rake_task/sample.rb +115 -0
- data/lib/glimmer/rake_task/scaffold.rb +661 -0
- data/lib/glimmer/swt/color_proxy.rb +21 -0
- data/lib/glimmer/swt/cursor_proxy.rb +21 -0
- data/lib/glimmer/swt/display_proxy.rb +21 -0
- data/lib/glimmer/swt/dnd_proxy.rb +21 -0
- data/lib/glimmer/swt/font_proxy.rb +21 -0
- data/lib/glimmer/swt/image_proxy.rb +21 -0
- data/lib/glimmer/swt/layout_data_proxy.rb +21 -0
- data/lib/glimmer/swt/layout_proxy.rb +21 -0
- data/lib/glimmer/swt/menu_proxy.rb +21 -0
- data/lib/glimmer/swt/message_box_proxy.rb +21 -0
- data/lib/glimmer/swt/packages.rb +21 -0
- data/lib/glimmer/swt/scrolled_composite_proxy.rb +21 -0
- data/lib/glimmer/swt/shell_proxy.rb +22 -0
- data/lib/glimmer/swt/style_constantizable.rb +21 -0
- data/lib/glimmer/swt/swt_proxy.rb +21 -0
- data/lib/glimmer/swt/tab_item_proxy.rb +21 -0
- data/lib/glimmer/swt/table_column_proxy.rb +21 -0
- data/lib/glimmer/swt/table_proxy.rb +27 -4
- data/lib/glimmer/swt/tree_proxy.rb +21 -0
- data/lib/glimmer/swt/widget_listener_proxy.rb +21 -0
- data/lib/glimmer/swt/widget_proxy.rb +54 -24
- data/lib/glimmer/ui/custom_shell.rb +21 -0
- data/lib/glimmer/ui/custom_widget.rb +22 -0
- data/lib/glimmer/util/proc_tracker.rb +23 -0
- data/samples/elaborate/contact_manager.rb +21 -0
- data/samples/elaborate/contact_manager/contact.rb +21 -0
- data/samples/elaborate/contact_manager/contact_manager_presenter.rb +21 -0
- data/samples/elaborate/contact_manager/contact_repository.rb +21 -0
- data/samples/elaborate/login.rb +20 -2
- data/samples/elaborate/tic_tac_toe.rb +21 -0
- data/samples/elaborate/tic_tac_toe/board.rb +21 -0
- data/samples/elaborate/tic_tac_toe/cell.rb +21 -0
- data/samples/elaborate/user_profile.rb +21 -0
- data/samples/hello/hello_browser.rb +22 -1
- data/samples/hello/hello_combo.rb +21 -0
- data/samples/hello/hello_computed.rb +21 -0
- data/samples/hello/hello_computed/contact.rb +21 -0
- data/samples/hello/hello_drag_and_drop.rb +21 -0
- data/samples/hello/hello_list_multi_selection.rb +21 -0
- data/samples/hello/hello_list_single_selection.rb +21 -0
- data/samples/hello/hello_menu_bar.rb +21 -0
- data/samples/hello/hello_message_box.rb +21 -0
- data/samples/hello/hello_pop_up_context_menu.rb +21 -0
- data/samples/hello/hello_tab.rb +21 -0
- data/samples/hello/hello_world.rb +21 -0
- data/vendor/swt/linux/swt.jar +0 -0
- data/vendor/swt/mac/swt.jar +0 -0
- data/vendor/swt/windows/swt.jar +0 -0
- metadata +50 -61
- data/lib/glimmer/package.rb +0 -91
- data/lib/glimmer/scaffold.rb +0 -631
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
4.17.2.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
|
data/bin/girb_runner.rb
CHANGED
@@ -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
|
data/bin/glimmer
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
|
require_relative '../lib/glimmer/launcher'
|
4
25
|
|
5
26
|
Glimmer::Launcher.new(ARGV).launch
|
@@ -0,0 +1,185 @@
|
|
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.2.0 ruby lib
|
6
|
+
|
7
|
+
Gem::Specification.new do |s|
|
8
|
+
s.name = "glimmer-dsl-swt".freeze
|
9
|
+
s.version = "4.17.2.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-25"
|
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/rake_task.rb",
|
82
|
+
"lib/glimmer/rake_task/list.rb",
|
83
|
+
"lib/glimmer/rake_task/package.rb",
|
84
|
+
"lib/glimmer/rake_task/sample.rb",
|
85
|
+
"lib/glimmer/rake_task/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.3", "< 2.0.0"])
|
151
|
+
s.add_runtime_dependency(%q<git-glimmer>.freeze, ["= 1.7.0"])
|
152
|
+
s.add_runtime_dependency(%q<logging>.freeze, [">= 2.3.0", "< 3.0.0"])
|
153
|
+
s.add_runtime_dependency(%q<os>.freeze, [">= 1.0.0", "< 2.0.0"])
|
154
|
+
s.add_runtime_dependency(%q<rake>.freeze, [">= 10.1.0", "< 14.0.0"])
|
155
|
+
s.add_runtime_dependency(%q<text-table>.freeze, [">= 1.2.4", "< 2.0.0"])
|
156
|
+
s.add_runtime_dependency(%q<tty-markdown>.freeze, [">= 0.6.0", "< 2.0.0"])
|
157
|
+
s.add_development_dependency(%q<juwelier>.freeze, [">= 2.4.9", "< 3.0.0"])
|
158
|
+
s.add_development_dependency(%q<warbler>.freeze, [">= 2.0.5", "< 3.0.0"])
|
159
|
+
s.add_development_dependency(%q<rspec-mocks>.freeze, ["~> 3.5.0"])
|
160
|
+
s.add_development_dependency(%q<rspec>.freeze, ["~> 3.5.0"])
|
161
|
+
s.add_development_dependency(%q<coveralls>.freeze, ["= 0.8.23"])
|
162
|
+
s.add_development_dependency(%q<simplecov>.freeze, ["~> 0.16.1"])
|
163
|
+
s.add_development_dependency(%q<simplecov-lcov>.freeze, ["~> 0.7.0"])
|
164
|
+
else
|
165
|
+
s.add_dependency(%q<glimmer>.freeze, ["~> 1.0.0"])
|
166
|
+
s.add_dependency(%q<super_module>.freeze, ["~> 1.4.1"])
|
167
|
+
s.add_dependency(%q<nested_inherited_jruby_include_package>.freeze, ["~> 0.3.0"])
|
168
|
+
s.add_dependency(%q<puts_debuggerer>.freeze, ["~> 0.10.1"])
|
169
|
+
s.add_dependency(%q<rake-tui>.freeze, [">= 0.2.3", "< 2.0.0"])
|
170
|
+
s.add_dependency(%q<git-glimmer>.freeze, ["= 1.7.0"])
|
171
|
+
s.add_dependency(%q<logging>.freeze, [">= 2.3.0", "< 3.0.0"])
|
172
|
+
s.add_dependency(%q<os>.freeze, [">= 1.0.0", "< 2.0.0"])
|
173
|
+
s.add_dependency(%q<rake>.freeze, [">= 10.1.0", "< 14.0.0"])
|
174
|
+
s.add_dependency(%q<text-table>.freeze, [">= 1.2.4", "< 2.0.0"])
|
175
|
+
s.add_dependency(%q<tty-markdown>.freeze, [">= 0.6.0", "< 2.0.0"])
|
176
|
+
s.add_dependency(%q<juwelier>.freeze, [">= 2.4.9", "< 3.0.0"])
|
177
|
+
s.add_dependency(%q<warbler>.freeze, [">= 2.0.5", "< 3.0.0"])
|
178
|
+
s.add_dependency(%q<rspec-mocks>.freeze, ["~> 3.5.0"])
|
179
|
+
s.add_dependency(%q<rspec>.freeze, ["~> 3.5.0"])
|
180
|
+
s.add_dependency(%q<coveralls>.freeze, ["= 0.8.23"])
|
181
|
+
s.add_dependency(%q<simplecov>.freeze, ["~> 0.16.1"])
|
182
|
+
s.add_dependency(%q<simplecov-lcov>.freeze, ["~> 0.7.0"])
|
183
|
+
end
|
184
|
+
end
|
185
|
+
|
data/lib/ext/glimmer.rb
CHANGED
@@ -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
|
data/lib/ext/glimmer/config.rb
CHANGED
@@ -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/config'
|
2
23
|
|
3
24
|
module Glimmer
|
@@ -12,11 +33,6 @@ module Glimmer
|
|
12
33
|
'org.eclipse.swt.dnd',
|
13
34
|
]
|
14
35
|
|
15
|
-
# This may be configured with extra sample directories from custom widget/shell gems
|
16
|
-
# following the convention of a `samples/subdirectory` where subdirectory is the
|
17
|
-
# custom widget/shell name or something representative of a group of samples (e.g. c_date_time).
|
18
|
-
SAMPLE_DIRECTORIES = []
|
19
|
-
|
20
36
|
class << self
|
21
37
|
# Tells Glimmer to import SWT packages into including class (default: true)
|
22
38
|
def import_swt_packages=(value)
|
data/lib/glimmer-dsl-swt.rb
CHANGED
@@ -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
|
data/lib/glimmer/Rakefile
CHANGED
@@ -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
|
@@ -1,4 +1,25 @@
|
|
1
|
-
|
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
|
+
## NOTE: Unsupported for now TODO support in the future
|
2
23
|
#
|
3
24
|
# require File.dirname(__FILE__) + "/glimmer"
|
4
25
|
#
|