glimmer-dsl-opal 0.2.0 → 0.6.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 +47 -0
- data/README.md +1022 -190
- 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.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 +23 -8
- data/lib/glimmer-dsl-opal/ext/date.rb +48 -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_shell.rb +3 -3
- 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 +42 -5
- data/lib/glimmer/dsl/opal/display_expression.rb +40 -0
- data/lib/glimmer/dsl/opal/dsl.rb +7 -0
- data/lib/glimmer/dsl/opal/exec_expression.rb +55 -0
- data/lib/glimmer/dsl/opal/layout_expression.rb +1 -1
- 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 +23 -1
- data/lib/glimmer/dsl/opal/swt_expression.rb +1 -1
- data/lib/glimmer/dsl/opal/sync_exec_expression.rb +33 -0
- data/lib/glimmer/dsl/opal/widget_expression.rb +5 -0
- data/lib/glimmer/engine.rb +9 -0
- data/lib/glimmer/swt.rb +3 -3
- data/lib/glimmer/swt/button_proxy.rb +15 -1
- data/lib/glimmer/swt/checkbox_proxy.rb +81 -0
- data/lib/glimmer/swt/combo_proxy.rb +4 -4
- 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 +144 -0
- data/lib/glimmer/swt/display_proxy.rb +55 -1
- data/lib/glimmer/swt/fill_layout_proxy.rb +2 -2
- 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 +59 -6
- data/lib/glimmer/swt/layout_proxy.rb +2 -1
- data/lib/glimmer/swt/list_proxy.rb +2 -2
- data/lib/glimmer/swt/make_shift_shell_proxy.rb +38 -0
- data/lib/glimmer/swt/message_box_proxy.rb +7 -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 +25 -10
- data/lib/glimmer/swt/styled_text_proxy.rb +44 -0
- data/lib/glimmer/swt/tab_folder_proxy.rb +3 -3
- data/lib/glimmer/swt/table_proxy.rb +10 -10
- data/lib/glimmer/swt/text_proxy.rb +2 -2
- data/lib/glimmer/swt/widget_proxy.rb +67 -33
- data/lib/glimmer/ui/custom_shell.rb +21 -2
- data/lib/glimmer/ui/custom_widget.rb +3 -1
- data/lib/{glimmer-dsl-opal/missing/net → net}/http.rb +0 -0
- data/lib/uri.rb +64 -0
- metadata +57 -4
- data/lib/glimmer-dsl-opal/missing/uri.rb +0 -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.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- AndyMaleh
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-
|
11
|
+
date: 2020-11-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: glimmer
|
@@ -209,10 +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.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
|
226
|
+
- lib/glimmer-dsl-opal/ext/date.rb
|
213
227
|
- lib/glimmer-dsl-opal/ext/exception.rb
|
214
|
-
- lib/glimmer-dsl-opal/missing/net/http.rb
|
215
|
-
- lib/glimmer-dsl-opal/missing/uri.rb
|
216
228
|
- lib/glimmer-dsl-opal/samples/elaborate/contact_manager.rb
|
217
229
|
- lib/glimmer-dsl-opal/samples/elaborate/contact_manager/contact.rb
|
218
230
|
- lib/glimmer-dsl-opal/samples/elaborate/contact_manager/contact_manager_presenter.rb
|
@@ -222,16 +234,40 @@ files:
|
|
222
234
|
- lib/glimmer-dsl-opal/samples/elaborate/tic_tac_toe/board.rb
|
223
235
|
- lib/glimmer-dsl-opal/samples/elaborate/tic_tac_toe/cell.rb
|
224
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
|
225
239
|
- lib/glimmer-dsl-opal/samples/hello/hello_combo.rb
|
226
240
|
- lib/glimmer-dsl-opal/samples/hello/hello_computed.rb
|
227
241
|
- lib/glimmer-dsl-opal/samples/hello/hello_computed/contact.rb
|
228
242
|
- lib/glimmer-dsl-opal/samples/hello/hello_custom_shell.rb
|
229
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
|
230
246
|
- lib/glimmer-dsl-opal/samples/hello/hello_list_multi_selection.rb
|
231
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
|
232
250
|
- lib/glimmer-dsl-opal/samples/hello/hello_tab.rb
|
233
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
|
234
269
|
- lib/glimmer-dsl-opal/vendor/jquery.js
|
270
|
+
- lib/glimmer-dsl-swt.rb
|
235
271
|
- lib/glimmer/data_binding/element_binding.rb
|
236
272
|
- lib/glimmer/data_binding/ext/observable_model.rb
|
237
273
|
- lib/glimmer/data_binding/list_selection_binding.rb
|
@@ -239,12 +275,15 @@ files:
|
|
239
275
|
- lib/glimmer/data_binding/table_items_binding.rb
|
240
276
|
- lib/glimmer/dsl/opal/async_exec_expression.rb
|
241
277
|
- lib/glimmer/dsl/opal/bind_expression.rb
|
278
|
+
- lib/glimmer/dsl/opal/checkbox_group_selection_data_binding_expression.rb
|
242
279
|
- lib/glimmer/dsl/opal/color_expression.rb
|
243
280
|
- lib/glimmer/dsl/opal/column_properties_expression.rb
|
244
281
|
- lib/glimmer/dsl/opal/combo_selection_data_binding_expression.rb
|
245
282
|
- lib/glimmer/dsl/opal/custom_widget_expression.rb
|
246
283
|
- lib/glimmer/dsl/opal/data_binding_expression.rb
|
284
|
+
- lib/glimmer/dsl/opal/display_expression.rb
|
247
285
|
- lib/glimmer/dsl/opal/dsl.rb
|
286
|
+
- lib/glimmer/dsl/opal/exec_expression.rb
|
248
287
|
- lib/glimmer/dsl/opal/font_expression.rb
|
249
288
|
- lib/glimmer/dsl/opal/layout_data_expression.rb
|
250
289
|
- lib/glimmer/dsl/opal/layout_expression.rb
|
@@ -252,36 +291,48 @@ files:
|
|
252
291
|
- lib/glimmer/dsl/opal/message_box_expression.rb
|
253
292
|
- lib/glimmer/dsl/opal/observe_expression.rb
|
254
293
|
- lib/glimmer/dsl/opal/property_expression.rb
|
294
|
+
- lib/glimmer/dsl/opal/radio_group_selection_data_binding_expression.rb
|
255
295
|
- lib/glimmer/dsl/opal/rgb_expression.rb
|
256
296
|
- lib/glimmer/dsl/opal/rgba_expression.rb
|
257
297
|
- lib/glimmer/dsl/opal/shell_expression.rb
|
258
298
|
- lib/glimmer/dsl/opal/swt_expression.rb
|
299
|
+
- lib/glimmer/dsl/opal/sync_exec_expression.rb
|
259
300
|
- lib/glimmer/dsl/opal/table_column_expression.rb
|
260
301
|
- lib/glimmer/dsl/opal/table_expression.rb
|
261
302
|
- lib/glimmer/dsl/opal/table_items_data_binding_expression.rb
|
262
303
|
- lib/glimmer/dsl/opal/widget_expression.rb
|
263
304
|
- lib/glimmer/dsl/opal/widget_listener_expression.rb
|
305
|
+
- lib/glimmer/engine.rb
|
264
306
|
- lib/glimmer/swt.rb
|
265
307
|
- lib/glimmer/swt/browser_proxy.rb
|
266
308
|
- lib/glimmer/swt/button_proxy.rb
|
309
|
+
- lib/glimmer/swt/checkbox_proxy.rb
|
267
310
|
- lib/glimmer/swt/color_proxy.rb
|
268
311
|
- lib/glimmer/swt/combo_proxy.rb
|
269
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
|
270
316
|
- lib/glimmer/swt/display_proxy.rb
|
271
317
|
- lib/glimmer/swt/event_listener_proxy.rb
|
272
318
|
- lib/glimmer/swt/fill_layout_proxy.rb
|
273
319
|
- lib/glimmer/swt/font_proxy.rb
|
274
320
|
- lib/glimmer/swt/grid_layout_proxy.rb
|
321
|
+
- lib/glimmer/swt/group_proxy.rb
|
275
322
|
- lib/glimmer/swt/label_proxy.rb
|
276
323
|
- lib/glimmer/swt/layout_data_proxy.rb
|
277
324
|
- lib/glimmer/swt/layout_proxy.rb
|
278
325
|
- lib/glimmer/swt/list_proxy.rb
|
326
|
+
- lib/glimmer/swt/make_shift_shell_proxy.rb
|
279
327
|
- lib/glimmer/swt/message_box_proxy.rb
|
280
328
|
- lib/glimmer/swt/point.rb
|
281
329
|
- lib/glimmer/swt/property_owner.rb
|
330
|
+
- lib/glimmer/swt/radio_proxy.rb
|
282
331
|
- lib/glimmer/swt/row_layout_proxy.rb
|
332
|
+
- lib/glimmer/swt/scrolled_composite_proxy.rb
|
283
333
|
- lib/glimmer/swt/shell_proxy.rb
|
284
334
|
- lib/glimmer/swt/style_constantizable.rb
|
335
|
+
- lib/glimmer/swt/styled_text_proxy.rb
|
285
336
|
- lib/glimmer/swt/swt_proxy.rb
|
286
337
|
- lib/glimmer/swt/tab_folder_proxy.rb
|
287
338
|
- lib/glimmer/swt/tab_item_proxy.rb
|
@@ -293,6 +344,8 @@ files:
|
|
293
344
|
- lib/glimmer/ui/custom_shell.rb
|
294
345
|
- lib/glimmer/ui/custom_widget.rb
|
295
346
|
- lib/glimmer/util/proc_tracker.rb
|
347
|
+
- lib/net/http.rb
|
348
|
+
- lib/uri.rb
|
296
349
|
homepage: http://github.com/AndyObtiva/glimmer-dsl-opal
|
297
350
|
licenses:
|
298
351
|
- MIT
|
@@ -1,26 +0,0 @@
|
|
1
|
-
# Missing URI module class features
|
2
|
-
|
3
|
-
module URI
|
4
|
-
class HTTP
|
5
|
-
REGEX = /([^:]+):\/\/([^\/])\/([^?]*)\??(.*)/
|
6
|
-
|
7
|
-
def initialize(url)
|
8
|
-
@url = url
|
9
|
-
uri_match = url.match(REGEX)
|
10
|
-
@scheme = uri_match[1]
|
11
|
-
@host = uri_match[2]
|
12
|
-
@path = uri_match[3]
|
13
|
-
@query = uri_match[4]
|
14
|
-
# TODO fragment
|
15
|
-
end
|
16
|
-
|
17
|
-
def to_s
|
18
|
-
url
|
19
|
-
end
|
20
|
-
end
|
21
|
-
end
|
22
|
-
module Kernel
|
23
|
-
def URI(url)
|
24
|
-
URI::HTTP.new(url)
|
25
|
-
end
|
26
|
-
end
|