glimmer-dsl-libui 0.4.0 → 0.4.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +34 -1
- data/README.md +998 -47
- data/VERSION +1 -1
- data/examples/basic_entry.rb +27 -24
- data/examples/basic_entry2.rb +31 -0
- data/examples/button_counter.rb +27 -0
- data/examples/color_the_circles.rb +2 -2
- data/examples/form.rb +42 -30
- data/examples/form2.rb +37 -0
- data/examples/form_table.rb +100 -85
- data/examples/form_table2.rb +95 -0
- data/examples/login.rb +45 -39
- data/examples/login2.rb +55 -0
- data/examples/login3.rb +65 -0
- data/examples/login4.rb +61 -0
- data/examples/login5.rb +43 -0
- data/examples/meta_example.rb +10 -7
- data/examples/method_based_custom_keyword.rb +8 -15
- data/examples/method_based_custom_keyword2.rb +97 -0
- data/examples/snake/presenter/grid.rb +5 -3
- data/examples/snake.rb +4 -4
- data/examples/tetris.rb +12 -12
- data/glimmer-dsl-libui.gemspec +0 -0
- data/lib/glimmer/dsl/libui/data_binding_expression.rb +4 -6
- data/lib/glimmer/libui/attributed_string.rb +3 -0
- data/lib/glimmer/libui/control_proxy/area_proxy.rb +52 -46
- data/lib/glimmer/libui/control_proxy/entry_proxy.rb +5 -0
- data/lib/glimmer/libui/control_proxy/image_proxy.rb +4 -5
- data/lib/glimmer/libui/control_proxy/multiline_entry_proxy.rb +5 -0
- data/lib/glimmer/libui/control_proxy/table_proxy.rb +1 -1
- data/lib/glimmer/libui/control_proxy.rb +8 -1
- data/lib/glimmer/libui/data_bindable.rb +39 -0
- data/lib/glimmer/libui/shape.rb +7 -2
- metadata +12 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6e66ca998dc3b30b4a9ef856b9d23f4359d9b24a4f1a1805760b5912c675310f
|
4
|
+
data.tar.gz: 1e464fd9986e1516709e919c3aba9307b90dc0498c1f478050f5cfc54b3ca377
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ab5d10582f486b129c531aa7472f05e342c5d823d81bec4531dea8996328b916d8eb4e12c49763f28c720e76a9d64feda23b607bca6a748ba0506d4f974e6c1c
|
7
|
+
data.tar.gz: 910c1fd367831c3cb91c3a1a1a37c040ae0cac00cf259a08007625d3bbd8adc39cab8809bc5a8820d700ef925d525372370fc035d1c5c5461b9aae21f759bd4e
|
data/CHANGELOG.md
CHANGED
@@ -1,11 +1,44 @@
|
|
1
1
|
# Change Log
|
2
2
|
|
3
|
+
## 0.4.4
|
4
|
+
|
5
|
+
- Fix issue with data-binding shapes and attributed strings, which broke Snake and Tic Tac Toe examples
|
6
|
+
|
7
|
+
## 0.4.3
|
8
|
+
|
9
|
+
- Support `entry` `text` bidirectional data-binding
|
10
|
+
- Support `search_entry` `text` property bidirectional data-binding (with `<=>` sign)
|
11
|
+
- Support `multiline_entry` `text` property bidirectional data-binding (with `<=>` sign)
|
12
|
+
- Support `non_wrapping_multiline_entry` `text` property bidirectional data-binding (with `<=>` sign)
|
13
|
+
- Improve examples/basic_entry.rb with bidirectional data-binding for `entry` `text`
|
14
|
+
- Improve examples/form.rb with bidirectional data-binding for `entry` `text`
|
15
|
+
- Improve examples/form_table.rb with bidirectional data-binding for `entry` `text`
|
16
|
+
- Improve examples/login.rb with bidirectional data-binding for `entry` `text`
|
17
|
+
- Improve examples/method_based_custom_keyword.rb with bidirectional data-binding for `entry` `text`
|
18
|
+
- Improve examples/meta_example.rb with bidirectional data-binding for `non_wrapping_multiline_entry` `text`
|
19
|
+
|
20
|
+
## 0.4.2
|
21
|
+
|
22
|
+
- examples/button_counter.rb (takes advantage of unidirectional data-binding)
|
23
|
+
- Ensure that upon re-opening `#content {}` of `area`, `path`, shapes, `image`, `table`, `text`, and general controls, `post_add_content` initialization is prevented from running multiple times where inappropriate.
|
24
|
+
- Document `LibUI` API methods
|
25
|
+
- Fix issue with examples/meta_example.rb showing more versions in counts than available
|
26
|
+
|
27
|
+
## 0.4.1
|
28
|
+
|
29
|
+
- Document `observe` keyword
|
30
|
+
- Document unidirectional data-binding in more detail (like `:before_read`, `:on_read`, and `:after_read` options)
|
31
|
+
- Simplify examples/tetris.rb with `observe` keyword
|
32
|
+
- Simplify examples/method_based_custom_keyword.rb with `observe` keyword
|
33
|
+
- Simplify examples/color_the_circles.rb with `observe` keyword
|
34
|
+
- Simplify examples/snake.rb with `observe` keyword
|
35
|
+
|
3
36
|
## 0.4.0
|
4
37
|
|
5
38
|
- Upgrade to LibUI 0.0.13
|
6
39
|
- Support general control/shape/attributed_string property unidirectional data-binding (with `<=` sign or `<=>`)
|
7
40
|
- Support `observe` DSL keyword for simple model observation outside of GUI (e.g. `observe(model, attribute) { do_something }` )
|
8
|
-
- Simplify examples/snake.rb with data-binding
|
41
|
+
- Simplify examples/snake.rb with data-binding and make smaller (20x20) to be more challenging and fun
|
9
42
|
- Simplify examples/tic_tac_toe.rb with data-binding
|
10
43
|
- Fix issue with `Shape#redraw` method calling `AreaProxy#auto_redraw` instead of `AreaProxy#redraw`
|
11
44
|
|