glimmer-dsl-opal 0.3.0 → 0.6.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +48 -0
- data/README.md +690 -24
- data/VERSION +1 -1
- data/app/assets/images/glimmer/images/calendar.gif +0 -0
- data/app/assets/images/glimmer/images/ui-icons_222222_256x240.png +0 -0
- data/app/assets/images/glimmer/images/ui-icons_444444_256x240.png +0 -0
- data/app/assets/images/glimmer/images/ui-icons_555555_256x240.png +0 -0
- data/app/assets/images/glimmer/images/ui-icons_777620_256x240.png +0 -0
- data/app/assets/images/glimmer/images/ui-icons_777777_256x240.png +0 -0
- data/app/assets/images/glimmer/images/ui-icons_cc0000_256x240.png +0 -0
- data/app/assets/images/glimmer/images/ui-icons_ffffff_256x240.png +0 -0
- data/app/assets/stylesheets/glimmer/glimmer.css +15 -0
- data/app/assets/stylesheets/glimmer/jquery-ui.css +1312 -0
- data/app/assets/stylesheets/glimmer/jquery-ui.structure.css +886 -0
- data/app/assets/stylesheets/glimmer/jquery-ui.theme.css +443 -0
- data/app/assets/stylesheets/glimmer/jquery.ui.timepicker.css +57 -0
- data/lib/glimmer-dsl-opal.rb +22 -10
- data/lib/glimmer-dsl-opal/ext/date.rb +38 -3
- data/lib/glimmer-dsl-opal/samples/elaborate/tic_tac_toe.rb +23 -0
- data/lib/glimmer-dsl-opal/samples/hello/hello_checkbox.rb +85 -0
- data/lib/glimmer-dsl-opal/samples/hello/hello_checkbox_group.rb +68 -0
- data/lib/glimmer-dsl-opal/samples/hello/hello_combo.rb +5 -5
- data/lib/glimmer-dsl-opal/samples/hello/hello_custom_widget.rb +3 -3
- data/lib/glimmer-dsl-opal/samples/hello/hello_date_time.rb +63 -0
- data/lib/glimmer-dsl-opal/samples/hello/hello_group.rb +104 -0
- data/lib/glimmer-dsl-opal/samples/hello/hello_list_single_selection.rb +1 -1
- data/lib/glimmer-dsl-opal/samples/hello/hello_radio.rb +108 -0
- data/lib/glimmer-dsl-opal/samples/hello/hello_radio_group.rb +84 -0
- data/lib/glimmer-dsl-opal/vendor/jquery-ui-timepicker/GPL-LICENSE.txt +278 -0
- data/lib/glimmer-dsl-opal/vendor/jquery-ui-timepicker/MIT-LICENSE.txt +20 -0
- data/lib/glimmer-dsl-opal/vendor/jquery-ui-timepicker/jquery.ui.timepicker.css +57 -0
- data/lib/glimmer-dsl-opal/vendor/jquery-ui-timepicker/jquery.ui.timepicker.js +1496 -0
- data/lib/glimmer-dsl-opal/vendor/jquery-ui/AUTHORS.txt +333 -0
- data/lib/glimmer-dsl-opal/vendor/jquery-ui/LICENSE.txt +43 -0
- data/lib/glimmer-dsl-opal/vendor/jquery-ui/images/ui-icons_444444_256x240.png +0 -0
- data/lib/glimmer-dsl-opal/vendor/jquery-ui/images/ui-icons_555555_256x240.png +0 -0
- data/lib/glimmer-dsl-opal/vendor/jquery-ui/images/ui-icons_777620_256x240.png +0 -0
- data/lib/glimmer-dsl-opal/vendor/jquery-ui/images/ui-icons_777777_256x240.png +0 -0
- data/lib/glimmer-dsl-opal/vendor/jquery-ui/images/ui-icons_cc0000_256x240.png +0 -0
- data/lib/glimmer-dsl-opal/vendor/jquery-ui/images/ui-icons_ffffff_256x240.png +0 -0
- data/lib/glimmer-dsl-opal/vendor/jquery-ui/jquery-ui.min.css +7 -0
- data/lib/glimmer-dsl-opal/vendor/jquery-ui/jquery-ui.min.js +13 -0
- data/lib/glimmer-dsl-opal/vendor/jquery-ui/jquery-ui.structure.min.css +5 -0
- data/lib/glimmer-dsl-opal/vendor/jquery-ui/jquery-ui.theme.min.css +5 -0
- data/lib/glimmer-dsl-opal/vendor/jquery-ui/package.json +74 -0
- data/lib/glimmer-dsl-swt.rb +37 -0
- data/lib/glimmer/data_binding/element_binding.rb +2 -1
- data/lib/glimmer/dsl/opal/async_exec_expression.rb +23 -7
- data/lib/glimmer/dsl/opal/checkbox_group_selection_data_binding_expression.rb +61 -0
- data/lib/glimmer/dsl/opal/custom_widget_expression.rb +33 -16
- data/lib/glimmer/dsl/opal/display_expression.rb +40 -0
- data/lib/glimmer/dsl/opal/dsl.rb +6 -0
- data/lib/glimmer/dsl/opal/exec_expression.rb +55 -0
- data/lib/glimmer/dsl/opal/property_expression.rb +4 -3
- data/lib/glimmer/dsl/opal/radio_group_selection_data_binding_expression.rb +61 -0
- data/lib/glimmer/dsl/opal/shell_expression.rb +7 -1
- data/lib/glimmer/dsl/opal/sync_exec_expression.rb +33 -0
- data/lib/glimmer/dsl/opal/widget_expression.rb +6 -1
- data/lib/glimmer/engine.rb +9 -0
- data/lib/glimmer/swt.rb +3 -3
- data/lib/glimmer/swt/button_proxy.rb +16 -2
- data/lib/glimmer/swt/checkbox_proxy.rb +81 -0
- data/lib/glimmer/swt/color_proxy.rb +45 -45
- data/lib/glimmer/swt/combo_proxy.rb +6 -6
- data/lib/glimmer/swt/composite_proxy.rb +2 -2
- data/lib/glimmer/swt/custom/checkbox_group.rb +142 -0
- data/lib/glimmer/swt/custom/radio_group.rb +143 -0
- data/lib/glimmer/swt/date_time_proxy.rb +145 -0
- data/lib/glimmer/swt/display_proxy.rb +55 -1
- data/lib/glimmer/swt/fill_layout_proxy.rb +3 -3
- data/lib/glimmer/swt/grid_layout_proxy.rb +21 -10
- data/lib/glimmer/swt/group_proxy.rb +38 -0
- data/lib/glimmer/swt/label_proxy.rb +27 -7
- data/lib/glimmer/swt/layout_data_proxy.rb +40 -22
- data/lib/glimmer/swt/layout_proxy.rb +4 -4
- data/lib/glimmer/swt/list_proxy.rb +3 -3
- data/lib/glimmer/swt/make_shift_shell_proxy.rb +38 -0
- data/lib/glimmer/swt/message_box_proxy.rb +8 -7
- data/lib/glimmer/swt/radio_proxy.rb +82 -0
- data/lib/glimmer/swt/row_layout_proxy.rb +35 -12
- data/lib/glimmer/swt/scrolled_composite_proxy.rb +20 -0
- data/lib/glimmer/swt/shell_proxy.rb +23 -9
- data/lib/glimmer/swt/styled_text_proxy.rb +44 -0
- data/lib/glimmer/swt/tab_folder_proxy.rb +5 -5
- data/lib/glimmer/swt/tab_item_proxy.rb +7 -7
- data/lib/glimmer/swt/table_item_proxy.rb +6 -6
- data/lib/glimmer/swt/table_proxy.rb +12 -12
- data/lib/glimmer/swt/text_proxy.rb +2 -2
- data/lib/glimmer/swt/widget_proxy.rb +79 -36
- data/lib/glimmer/ui/custom_shell.rb +2 -1
- data/lib/glimmer/ui/custom_widget.rb +10 -9
- data/lib/{glimmer-dsl-opal/missing/net → net}/http.rb +0 -0
- data/lib/{glimmer-dsl-opal/missing/uri.rb → uri.rb} +2 -2
- metadata +56 -4
@@ -20,6 +20,7 @@
|
|
20
20
|
# WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
21
21
|
|
22
22
|
require 'glimmer/ui/custom_widget'
|
23
|
+
require 'glimmer/swt/display_proxy'
|
23
24
|
require 'glimmer/error'
|
24
25
|
|
25
26
|
module Glimmer
|
@@ -53,7 +54,7 @@ module Glimmer
|
|
53
54
|
|
54
55
|
def initialize(parent, args, options, &content)
|
55
56
|
super(parent, args, options, &content)
|
56
|
-
raise Error, 'Invalid custom shell body root! Must be a shell or another custom shell.' unless body_root.is_a?(Glimmer::SWT::ShellProxy)
|
57
|
+
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)
|
57
58
|
end
|
58
59
|
|
59
60
|
# Classes may override
|
@@ -1,5 +1,5 @@
|
|
1
1
|
# Copyright (c) 2020 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
|
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
|
@@ -89,7 +89,7 @@ module Glimmer
|
|
89
89
|
def included(klass)
|
90
90
|
klass.extend(ClassMethods)
|
91
91
|
unless klass.name.include?('Glimmer::UI::CustomShell')
|
92
|
-
klass.include(Glimmer)
|
92
|
+
klass.include(Glimmer)
|
93
93
|
Glimmer::UI::CustomWidget.add_custom_widget_namespaces_for(klass)
|
94
94
|
end
|
95
95
|
end
|
@@ -107,7 +107,7 @@ module Glimmer
|
|
107
107
|
end
|
108
108
|
begin
|
109
109
|
constant = result.const_get(namespace)
|
110
|
-
return constant if constant
|
110
|
+
return constant if constant&.respond_to?(:ancestors) && constant&.ancestors&.to_a.include?(Glimmer::UI::CustomWidget)
|
111
111
|
constant
|
112
112
|
rescue => e
|
113
113
|
# Glimmer::Config.logger.debug {"#{e.message}\n#{e.backtrace.join("\n")}"}
|
@@ -152,12 +152,13 @@ module Glimmer
|
|
152
152
|
|
153
153
|
def initialize(parent, args, options, &content)
|
154
154
|
@parent = parent
|
155
|
-
options = args.delete_at(-1) if
|
155
|
+
options = args.delete_at(-1) if args.is_a?(Array) && args.last.is_a?(Hash)
|
156
156
|
if args.is_a?(Hash)
|
157
157
|
options = args
|
158
158
|
args = []
|
159
159
|
end
|
160
|
-
|
160
|
+
options ||= {}
|
161
|
+
args = options.delete('swt_style').split(',').map(&:to_sym) if options['swt_style']
|
161
162
|
@args = args
|
162
163
|
@swt_style = SWT::SWTProxy[*@args]
|
163
164
|
options ||= {}
|
@@ -243,7 +244,7 @@ module Glimmer
|
|
243
244
|
|
244
245
|
def has_style?(symbol)
|
245
246
|
@args.include?(symbol) # not a very solid implementation. Bring SWT constants eventually
|
246
|
-
end
|
247
|
+
end
|
247
248
|
|
248
249
|
def async_exec(&block)
|
249
250
|
SWT::DisplayProxy.instance.async_exec(&block)
|
@@ -272,7 +273,7 @@ module Glimmer
|
|
272
273
|
end
|
273
274
|
end
|
274
275
|
|
275
|
-
alias local_respond_to? respond_to?
|
276
|
+
alias local_respond_to? respond_to?
|
276
277
|
def respond_to?(method, *args, &block)
|
277
278
|
super or
|
278
279
|
can_handle_observation_request?(method) or
|
File without changes
|
@@ -19,8 +19,8 @@ module URI
|
|
19
19
|
end
|
20
20
|
end
|
21
21
|
|
22
|
-
TBLENCWWWCOMP_ = {"\u0000"=>"%00", "\u0001"=>"%01", "\u0002"=>"%02", "\u0003"=>"%03", "\u0004"=>"%04", "\u0005"=>"%05", "\u0006"=>"%06", "\a"=>"%07", "\b"=>"%08", "\t"=>"%09", "\n"=>"%0A", "\v"=>"%0B", "\f"=>"%0C", "\r"=>"%0D", "\u000E"=>"%0E", "\u000F"=>"%0F", "\u0010"=>"%10", "\u0011"=>"%11", "\u0012"=>"%12", "\u0013"=>"%13", "\u0014"=>"%14", "\u0015"=>"%15", "\u0016"=>"%16", "\u0017"=>"%17", "\u0018"=>"%18", "\u0019"=>"%19", "\u001A"=>"%1A", "\e"=>"%1B", "\u001C"=>"%1C", "\u001D"=>"%1D", "\u001E"=>"%1E", "\u001F"=>"%1F", " "=>"+", "!"=>"%21", "\""=>"%22", "#"=>"%23", "$"=>"%24", "%"=>"%25", "&"=>"%26", "'"=>"%27", "("=>"%28", ")"=>"%29", "*"=>"%2A", "+"=>"%2B", ","=>"%2C", "-"=>"%2D", "."=>"%2E", "/"=>"%2F", "0"=>"%30", "1"=>"%31", "2"=>"%32", "3"=>"%33", "4"=>"%34", "5"=>"%35", "6"=>"%36", "7"=>"%37", "8"=>"%38", "9"=>"%39", ":"=>"%3A", ";"=>"%3B", "<"=>"%3C", "="=>"%3D", ">"=>"%3E", "?"=>"%3F", "@"=>"%40", "A"=>"%41", "B"=>"%42", "C"=>"%43", "D"=>"%44", "E"=>"%45", "F"=>"%46", "G"=>"%47", "H"=>"%48", "I"=>"%49", "J"=>"%4A", "K"=>"%4B", "L"=>"%4C", "M"=>"%4D", "N"=>"%4E", "O"=>"%4F", "P"=>"%50", "Q"=>"%51", "R"=>"%52", "S"=>"%53", "T"=>"%54", "U"=>"%55", "V"=>"%56", "W"=>"%57", "X"=>"%58", "Y"=>"%59", "Z"=>"%5A", "["=>"%5B", "\\"=>"%5C", "]"=>"%5D", "^"=>"%5E", "_"=>"%5F", "`"=>"%60", "a"=>"%61", "b"=>"%62", "c"=>"%63", "d"=>"%64", "e"=>"%65", "f"=>"%66", "g"=>"%67", "h"=>"%68", "i"=>"%69", "j"=>"%6A", "k"=>"%6B", "l"=>"%6C", "m"=>"%6D", "n"=>"%6E", "o"=>"%6F", "p"=>"%70", "q"=>"%71", "r"=>"%72", "s"=>"%73", "t"=>"%74", "u"=>"%75", "v"=>"%76", "w"=>"%77", "x"=>"%78", "y"=>"%79", "z"=>"%7A", "{"=>"%7B", "|"=>"%7C", "}"=>"%7D", "~"=>"%7E", "\u007F"=>"%7F", "\u0080"=>"%80", "\u0081"=>"%81", "\u0082"=>"%82", "\u0083"=>"%83", "\u0084"=>"%84", "\u0085"=>"%85", "\u0086"=>"%86", "\u0087"=>"%87", "\u0088"=>"%88", "\u0089"=>"%89", "\u008A"=>"%8A", "\u008B"=>"%8B", "\u008C"=>"%8C", "\u008D"=>"%8D", "\u008E"=>"%8E", "\u008F"=>"%8F", "\u0090"=>"%90", "\u0091"=>"%91", "\u0092"=>"%92", "\u0093"=>"%93", "\u0094"=>"%94", "\u0095"=>"%95", "\u0096"=>"%96", "\u0097"=>"%97", "\u0098"=>"%98", "\u0099"=>"%99", "\u009A"=>"%9A", "\u009B"=>"%9B", "\u009C"=>"%9C", "\u009D"=>"%9D", "\u009E"=>"%9E", "\u009F"=>"%9F", "\u00A0"=>"%A0", "\u00A1"=>"%A1", "\u00A2"=>"%A2", "\u00A3"=>"%A3", "\u00A4"=>"%A4", "\u00A5"=>"%A5", "\u00A6"=>"%A6", "\u00A7"=>"%A7", "\u00A8"=>"%A8", "\u00A9"=>"%A9", "\u00AA"=>"%AA", "\u00AB"=>"%AB", "\u00AC"=>"%AC", "\u00AD"=>"%AD", "\u00AE"=>"%AE", "\u00AF"=>"%AF", "\u00B0"=>"%B0", "\u00B1"=>"%B1", "\u00B2"=>"%B2", "\u00B3"=>"%B3", "\u00B4"=>"%B4", "\u00B5"=>"%B5", "\u00B6"=>"%B6", "\u00B7"=>"%B7", "\u00B8"=>"%B8", "\u00B9"=>"%B9", "\u00BA"=>"%BA", "\u00BB"=>"%BB", "\u00BC"=>"%BC", "\u00BD"=>"%BD", "\u00BE"=>"%BE", "\u00BF"=>"%BF", "\u00C0"=>"%C0", "\u00C1"=>"%C1", "\u00C2"=>"%C2", "\u00C3"=>"%C3", "\u00C4"=>"%C4", "\u00C5"=>"%C5", "\u00C6"=>"%C6", "\u00C7"=>"%C7", "\u00C8"=>"%C8", "\u00C9"=>"%C9", "\u00CA"=>"%CA", "\u00CB"=>"%CB", "\u00CC"=>"%CC", "\u00CD"=>"%CD", "\u00CE"=>"%CE", "\u00CF"=>"%CF", "\u00D0"=>"%D0", "\u00D1"=>"%D1", "\u00D2"=>"%D2", "\u00D3"=>"%D3", "\u00D4"=>"%D4", "\u00D5"=>"%D5", "\u00D6"=>"%D6", "\u00D7"=>"%D7", "\u00D8"=>"%D8", "\u00D9"=>"%D9", "\u00DA"=>"%DA", "\u00DB"=>"%DB", "\u00DC"=>"%DC", "\u00DD"=>"%DD", "\u00DE"=>"%DE", "\u00DF"=>"%DF", "\u00E0"=>"%E0", "\u00E1"=>"%E1", "\u00E2"=>"%E2", "\u00E3"=>"%E3", "\u00E4"=>"%E4", "\u00E5"=>"%E5", "\u00E6"=>"%E6", "\u00E7"=>"%E7", "\u00E8"=>"%E8", "\u00E9"=>"%E9", "\u00EA"=>"%EA", "\u00EB"=>"%EB", "\u00EC"=>"%EC", "\u00ED"=>"%ED", "\u00EE"=>"%EE", "\u00EF"=>"%EF", "\u00F0"=>"%F0", "\u00F1"=>"%F1", "\u00F2"=>"%F2", "\u00F3"=>"%F3", "\u00F4"=>"%F4", "\u00F5"=>"%F5", "\u00F6"=>"%F6", "\u00F7"=>"%F7", "\u00F8"=>"%F8", "\u00F9"=>"%F9", "\u00FA"=>"%FA", "\u00FB"=>"%FB", "\u00FC"=>"%FC", "\u00FD"=>"%FD", "\u00FE"=>"%FE", "\u00FF"=>"%FF"}
|
23
|
-
TBLDECWWWCOMP_ = TBLENCWWWCOMP_.invert
|
22
|
+
TBLENCWWWCOMP_ = {"\u0000"=>"%00", "\u0001"=>"%01", "\u0002"=>"%02", "\u0003"=>"%03", "\u0004"=>"%04", "\u0005"=>"%05", "\u0006"=>"%06", "\a"=>"%07", "\b"=>"%08", "\t"=>"%09", "\n"=>"%0A", "\v"=>"%0B", "\f"=>"%0C", "\r"=>"%0D", "\u000E"=>"%0E", "\u000F"=>"%0F", "\u0010"=>"%10", "\u0011"=>"%11", "\u0012"=>"%12", "\u0013"=>"%13", "\u0014"=>"%14", "\u0015"=>"%15", "\u0016"=>"%16", "\u0017"=>"%17", "\u0018"=>"%18", "\u0019"=>"%19", "\u001A"=>"%1A", "\e"=>"%1B", "\u001C"=>"%1C", "\u001D"=>"%1D", "\u001E"=>"%1E", "\u001F"=>"%1F", " "=>"+", "!"=>"%21", "\""=>"%22", "#"=>"%23", "$"=>"%24", "%"=>"%25", "&"=>"%26", "'"=>"%27", "("=>"%28", ")"=>"%29", "*"=>"%2A", "+"=>"%2B", ","=>"%2C", "-"=>"%2D", "."=>"%2E", "/"=>"%2F", "0"=>"%30", "1"=>"%31", "2"=>"%32", "3"=>"%33", "4"=>"%34", "5"=>"%35", "6"=>"%36", "7"=>"%37", "8"=>"%38", "9"=>"%39", ":"=>"%3A", ";"=>"%3B", "<"=>"%3C", "="=>"%3D", ">"=>"%3E", "?"=>"%3F", "@"=>"%40", "A"=>"%41", "B"=>"%42", "C"=>"%43", "D"=>"%44", "E"=>"%45", "F"=>"%46", "G"=>"%47", "H"=>"%48", "I"=>"%49", "J"=>"%4A", "K"=>"%4B", "L"=>"%4C", "M"=>"%4D", "N"=>"%4E", "O"=>"%4F", "P"=>"%50", "Q"=>"%51", "R"=>"%52", "S"=>"%53", "T"=>"%54", "U"=>"%55", "V"=>"%56", "W"=>"%57", "X"=>"%58", "Y"=>"%59", "Z"=>"%5A", "["=>"%5B", "\\"=>"%5C", "]"=>"%5D", "^"=>"%5E", "_"=>"%5F", "`"=>"%60", "a"=>"%61", "b"=>"%62", "c"=>"%63", "d"=>"%64", "e"=>"%65", "f"=>"%66", "g"=>"%67", "h"=>"%68", "i"=>"%69", "j"=>"%6A", "k"=>"%6B", "l"=>"%6C", "m"=>"%6D", "n"=>"%6E", "o"=>"%6F", "p"=>"%70", "q"=>"%71", "r"=>"%72", "s"=>"%73", "t"=>"%74", "u"=>"%75", "v"=>"%76", "w"=>"%77", "x"=>"%78", "y"=>"%79", "z"=>"%7A", "{"=>"%7B", "|"=>"%7C", "}"=>"%7D", "~"=>"%7E", "\u007F"=>"%7F", "\u0080"=>"%80", "\u0081"=>"%81", "\u0082"=>"%82", "\u0083"=>"%83", "\u0084"=>"%84", "\u0085"=>"%85", "\u0086"=>"%86", "\u0087"=>"%87", "\u0088"=>"%88", "\u0089"=>"%89", "\u008A"=>"%8A", "\u008B"=>"%8B", "\u008C"=>"%8C", "\u008D"=>"%8D", "\u008E"=>"%8E", "\u008F"=>"%8F", "\u0090"=>"%90", "\u0091"=>"%91", "\u0092"=>"%92", "\u0093"=>"%93", "\u0094"=>"%94", "\u0095"=>"%95", "\u0096"=>"%96", "\u0097"=>"%97", "\u0098"=>"%98", "\u0099"=>"%99", "\u009A"=>"%9A", "\u009B"=>"%9B", "\u009C"=>"%9C", "\u009D"=>"%9D", "\u009E"=>"%9E", "\u009F"=>"%9F", "\u00A0"=>"%A0", "\u00A1"=>"%A1", "\u00A2"=>"%A2", "\u00A3"=>"%A3", "\u00A4"=>"%A4", "\u00A5"=>"%A5", "\u00A6"=>"%A6", "\u00A7"=>"%A7", "\u00A8"=>"%A8", "\u00A9"=>"%A9", "\u00AA"=>"%AA", "\u00AB"=>"%AB", "\u00AC"=>"%AC", "\u00AD"=>"%AD", "\u00AE"=>"%AE", "\u00AF"=>"%AF", "\u00B0"=>"%B0", "\u00B1"=>"%B1", "\u00B2"=>"%B2", "\u00B3"=>"%B3", "\u00B4"=>"%B4", "\u00B5"=>"%B5", "\u00B6"=>"%B6", "\u00B7"=>"%B7", "\u00B8"=>"%B8", "\u00B9"=>"%B9", "\u00BA"=>"%BA", "\u00BB"=>"%BB", "\u00BC"=>"%BC", "\u00BD"=>"%BD", "\u00BE"=>"%BE", "\u00BF"=>"%BF", "\u00C0"=>"%C0", "\u00C1"=>"%C1", "\u00C2"=>"%C2", "\u00C3"=>"%C3", "\u00C4"=>"%C4", "\u00C5"=>"%C5", "\u00C6"=>"%C6", "\u00C7"=>"%C7", "\u00C8"=>"%C8", "\u00C9"=>"%C9", "\u00CA"=>"%CA", "\u00CB"=>"%CB", "\u00CC"=>"%CC", "\u00CD"=>"%CD", "\u00CE"=>"%CE", "\u00CF"=>"%CF", "\u00D0"=>"%D0", "\u00D1"=>"%D1", "\u00D2"=>"%D2", "\u00D3"=>"%D3", "\u00D4"=>"%D4", "\u00D5"=>"%D5", "\u00D6"=>"%D6", "\u00D7"=>"%D7", "\u00D8"=>"%D8", "\u00D9"=>"%D9", "\u00DA"=>"%DA", "\u00DB"=>"%DB", "\u00DC"=>"%DC", "\u00DD"=>"%DD", "\u00DE"=>"%DE", "\u00DF"=>"%DF", "\u00E0"=>"%E0", "\u00E1"=>"%E1", "\u00E2"=>"%E2", "\u00E3"=>"%E3", "\u00E4"=>"%E4", "\u00E5"=>"%E5", "\u00E6"=>"%E6", "\u00E7"=>"%E7", "\u00E8"=>"%E8", "\u00E9"=>"%E9", "\u00EA"=>"%EA", "\u00EB"=>"%EB", "\u00EC"=>"%EC", "\u00ED"=>"%ED", "\u00EE"=>"%EE", "\u00EF"=>"%EF", "\u00F0"=>"%F0", "\u00F1"=>"%F1", "\u00F2"=>"%F2", "\u00F3"=>"%F3", "\u00F4"=>"%F4", "\u00F5"=>"%F5", "\u00F6"=>"%F6", "\u00F7"=>"%F7", "\u00F8"=>"%F8", "\u00F9"=>"%F9", "\u00FA"=>"%FA", "\u00FB"=>"%FB", "\u00FC"=>"%FC", "\u00FD"=>"%FD", "\u00FE"=>"%FE", "\u00FF"=>"%FF"}
|
23
|
+
TBLDECWWWCOMP_ = TBLENCWWWCOMP_.invert
|
24
24
|
|
25
25
|
# Encodes given +str+ to URL-encoded form data.
|
26
26
|
#
|
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.
|
4
|
+
version: 0.6.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- AndyMaleh
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-
|
11
|
+
date: 2020-11-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: glimmer
|
@@ -209,11 +209,22 @@ files:
|
|
209
209
|
- LICENSE.txt
|
210
210
|
- README.md
|
211
211
|
- VERSION
|
212
|
+
- app/assets/images/glimmer/images/calendar.gif
|
213
|
+
- app/assets/images/glimmer/images/ui-icons_222222_256x240.png
|
214
|
+
- app/assets/images/glimmer/images/ui-icons_444444_256x240.png
|
215
|
+
- app/assets/images/glimmer/images/ui-icons_555555_256x240.png
|
216
|
+
- app/assets/images/glimmer/images/ui-icons_777620_256x240.png
|
217
|
+
- app/assets/images/glimmer/images/ui-icons_777777_256x240.png
|
218
|
+
- app/assets/images/glimmer/images/ui-icons_cc0000_256x240.png
|
219
|
+
- app/assets/images/glimmer/images/ui-icons_ffffff_256x240.png
|
220
|
+
- app/assets/stylesheets/glimmer/glimmer.css
|
221
|
+
- app/assets/stylesheets/glimmer/jquery-ui.css
|
222
|
+
- app/assets/stylesheets/glimmer/jquery-ui.structure.css
|
223
|
+
- app/assets/stylesheets/glimmer/jquery-ui.theme.css
|
224
|
+
- app/assets/stylesheets/glimmer/jquery.ui.timepicker.css
|
212
225
|
- lib/glimmer-dsl-opal.rb
|
213
226
|
- lib/glimmer-dsl-opal/ext/date.rb
|
214
227
|
- lib/glimmer-dsl-opal/ext/exception.rb
|
215
|
-
- lib/glimmer-dsl-opal/missing/net/http.rb
|
216
|
-
- lib/glimmer-dsl-opal/missing/uri.rb
|
217
228
|
- lib/glimmer-dsl-opal/samples/elaborate/contact_manager.rb
|
218
229
|
- lib/glimmer-dsl-opal/samples/elaborate/contact_manager/contact.rb
|
219
230
|
- lib/glimmer-dsl-opal/samples/elaborate/contact_manager/contact_manager_presenter.rb
|
@@ -223,16 +234,40 @@ files:
|
|
223
234
|
- lib/glimmer-dsl-opal/samples/elaborate/tic_tac_toe/board.rb
|
224
235
|
- lib/glimmer-dsl-opal/samples/elaborate/tic_tac_toe/cell.rb
|
225
236
|
- lib/glimmer-dsl-opal/samples/hello/hello_browser.rb
|
237
|
+
- lib/glimmer-dsl-opal/samples/hello/hello_checkbox.rb
|
238
|
+
- lib/glimmer-dsl-opal/samples/hello/hello_checkbox_group.rb
|
226
239
|
- lib/glimmer-dsl-opal/samples/hello/hello_combo.rb
|
227
240
|
- lib/glimmer-dsl-opal/samples/hello/hello_computed.rb
|
228
241
|
- lib/glimmer-dsl-opal/samples/hello/hello_computed/contact.rb
|
229
242
|
- lib/glimmer-dsl-opal/samples/hello/hello_custom_shell.rb
|
230
243
|
- lib/glimmer-dsl-opal/samples/hello/hello_custom_widget.rb
|
244
|
+
- lib/glimmer-dsl-opal/samples/hello/hello_date_time.rb
|
245
|
+
- lib/glimmer-dsl-opal/samples/hello/hello_group.rb
|
231
246
|
- lib/glimmer-dsl-opal/samples/hello/hello_list_multi_selection.rb
|
232
247
|
- lib/glimmer-dsl-opal/samples/hello/hello_list_single_selection.rb
|
248
|
+
- lib/glimmer-dsl-opal/samples/hello/hello_radio.rb
|
249
|
+
- lib/glimmer-dsl-opal/samples/hello/hello_radio_group.rb
|
233
250
|
- lib/glimmer-dsl-opal/samples/hello/hello_tab.rb
|
234
251
|
- lib/glimmer-dsl-opal/samples/hello/hello_world.rb
|
252
|
+
- lib/glimmer-dsl-opal/vendor/jquery-ui-timepicker/GPL-LICENSE.txt
|
253
|
+
- lib/glimmer-dsl-opal/vendor/jquery-ui-timepicker/MIT-LICENSE.txt
|
254
|
+
- lib/glimmer-dsl-opal/vendor/jquery-ui-timepicker/jquery.ui.timepicker.css
|
255
|
+
- lib/glimmer-dsl-opal/vendor/jquery-ui-timepicker/jquery.ui.timepicker.js
|
256
|
+
- lib/glimmer-dsl-opal/vendor/jquery-ui/AUTHORS.txt
|
257
|
+
- lib/glimmer-dsl-opal/vendor/jquery-ui/LICENSE.txt
|
258
|
+
- lib/glimmer-dsl-opal/vendor/jquery-ui/images/ui-icons_444444_256x240.png
|
259
|
+
- lib/glimmer-dsl-opal/vendor/jquery-ui/images/ui-icons_555555_256x240.png
|
260
|
+
- lib/glimmer-dsl-opal/vendor/jquery-ui/images/ui-icons_777620_256x240.png
|
261
|
+
- lib/glimmer-dsl-opal/vendor/jquery-ui/images/ui-icons_777777_256x240.png
|
262
|
+
- lib/glimmer-dsl-opal/vendor/jquery-ui/images/ui-icons_cc0000_256x240.png
|
263
|
+
- lib/glimmer-dsl-opal/vendor/jquery-ui/images/ui-icons_ffffff_256x240.png
|
264
|
+
- lib/glimmer-dsl-opal/vendor/jquery-ui/jquery-ui.min.css
|
265
|
+
- lib/glimmer-dsl-opal/vendor/jquery-ui/jquery-ui.min.js
|
266
|
+
- lib/glimmer-dsl-opal/vendor/jquery-ui/jquery-ui.structure.min.css
|
267
|
+
- lib/glimmer-dsl-opal/vendor/jquery-ui/jquery-ui.theme.min.css
|
268
|
+
- lib/glimmer-dsl-opal/vendor/jquery-ui/package.json
|
235
269
|
- lib/glimmer-dsl-opal/vendor/jquery.js
|
270
|
+
- lib/glimmer-dsl-swt.rb
|
236
271
|
- lib/glimmer/data_binding/element_binding.rb
|
237
272
|
- lib/glimmer/data_binding/ext/observable_model.rb
|
238
273
|
- lib/glimmer/data_binding/list_selection_binding.rb
|
@@ -240,12 +275,15 @@ files:
|
|
240
275
|
- lib/glimmer/data_binding/table_items_binding.rb
|
241
276
|
- lib/glimmer/dsl/opal/async_exec_expression.rb
|
242
277
|
- lib/glimmer/dsl/opal/bind_expression.rb
|
278
|
+
- lib/glimmer/dsl/opal/checkbox_group_selection_data_binding_expression.rb
|
243
279
|
- lib/glimmer/dsl/opal/color_expression.rb
|
244
280
|
- lib/glimmer/dsl/opal/column_properties_expression.rb
|
245
281
|
- lib/glimmer/dsl/opal/combo_selection_data_binding_expression.rb
|
246
282
|
- lib/glimmer/dsl/opal/custom_widget_expression.rb
|
247
283
|
- lib/glimmer/dsl/opal/data_binding_expression.rb
|
284
|
+
- lib/glimmer/dsl/opal/display_expression.rb
|
248
285
|
- lib/glimmer/dsl/opal/dsl.rb
|
286
|
+
- lib/glimmer/dsl/opal/exec_expression.rb
|
249
287
|
- lib/glimmer/dsl/opal/font_expression.rb
|
250
288
|
- lib/glimmer/dsl/opal/layout_data_expression.rb
|
251
289
|
- lib/glimmer/dsl/opal/layout_expression.rb
|
@@ -253,36 +291,48 @@ files:
|
|
253
291
|
- lib/glimmer/dsl/opal/message_box_expression.rb
|
254
292
|
- lib/glimmer/dsl/opal/observe_expression.rb
|
255
293
|
- lib/glimmer/dsl/opal/property_expression.rb
|
294
|
+
- lib/glimmer/dsl/opal/radio_group_selection_data_binding_expression.rb
|
256
295
|
- lib/glimmer/dsl/opal/rgb_expression.rb
|
257
296
|
- lib/glimmer/dsl/opal/rgba_expression.rb
|
258
297
|
- lib/glimmer/dsl/opal/shell_expression.rb
|
259
298
|
- lib/glimmer/dsl/opal/swt_expression.rb
|
299
|
+
- lib/glimmer/dsl/opal/sync_exec_expression.rb
|
260
300
|
- lib/glimmer/dsl/opal/table_column_expression.rb
|
261
301
|
- lib/glimmer/dsl/opal/table_expression.rb
|
262
302
|
- lib/glimmer/dsl/opal/table_items_data_binding_expression.rb
|
263
303
|
- lib/glimmer/dsl/opal/widget_expression.rb
|
264
304
|
- lib/glimmer/dsl/opal/widget_listener_expression.rb
|
305
|
+
- lib/glimmer/engine.rb
|
265
306
|
- lib/glimmer/swt.rb
|
266
307
|
- lib/glimmer/swt/browser_proxy.rb
|
267
308
|
- lib/glimmer/swt/button_proxy.rb
|
309
|
+
- lib/glimmer/swt/checkbox_proxy.rb
|
268
310
|
- lib/glimmer/swt/color_proxy.rb
|
269
311
|
- lib/glimmer/swt/combo_proxy.rb
|
270
312
|
- lib/glimmer/swt/composite_proxy.rb
|
313
|
+
- lib/glimmer/swt/custom/checkbox_group.rb
|
314
|
+
- lib/glimmer/swt/custom/radio_group.rb
|
315
|
+
- lib/glimmer/swt/date_time_proxy.rb
|
271
316
|
- lib/glimmer/swt/display_proxy.rb
|
272
317
|
- lib/glimmer/swt/event_listener_proxy.rb
|
273
318
|
- lib/glimmer/swt/fill_layout_proxy.rb
|
274
319
|
- lib/glimmer/swt/font_proxy.rb
|
275
320
|
- lib/glimmer/swt/grid_layout_proxy.rb
|
321
|
+
- lib/glimmer/swt/group_proxy.rb
|
276
322
|
- lib/glimmer/swt/label_proxy.rb
|
277
323
|
- lib/glimmer/swt/layout_data_proxy.rb
|
278
324
|
- lib/glimmer/swt/layout_proxy.rb
|
279
325
|
- lib/glimmer/swt/list_proxy.rb
|
326
|
+
- lib/glimmer/swt/make_shift_shell_proxy.rb
|
280
327
|
- lib/glimmer/swt/message_box_proxy.rb
|
281
328
|
- lib/glimmer/swt/point.rb
|
282
329
|
- lib/glimmer/swt/property_owner.rb
|
330
|
+
- lib/glimmer/swt/radio_proxy.rb
|
283
331
|
- lib/glimmer/swt/row_layout_proxy.rb
|
332
|
+
- lib/glimmer/swt/scrolled_composite_proxy.rb
|
284
333
|
- lib/glimmer/swt/shell_proxy.rb
|
285
334
|
- lib/glimmer/swt/style_constantizable.rb
|
335
|
+
- lib/glimmer/swt/styled_text_proxy.rb
|
286
336
|
- lib/glimmer/swt/swt_proxy.rb
|
287
337
|
- lib/glimmer/swt/tab_folder_proxy.rb
|
288
338
|
- lib/glimmer/swt/tab_item_proxy.rb
|
@@ -294,6 +344,8 @@ files:
|
|
294
344
|
- lib/glimmer/ui/custom_shell.rb
|
295
345
|
- lib/glimmer/ui/custom_widget.rb
|
296
346
|
- lib/glimmer/util/proc_tracker.rb
|
347
|
+
- lib/net/http.rb
|
348
|
+
- lib/uri.rb
|
297
349
|
homepage: http://github.com/AndyObtiva/glimmer-dsl-opal
|
298
350
|
licenses:
|
299
351
|
- MIT
|