glimmer-dsl-libui 0.3.5 → 0.4.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +38 -0
- data/README.md +4364 -3406
- 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/midi_player.rb +2 -6
- data/examples/snake/model/game.rb +2 -2
- data/examples/snake/presenter/grid.rb +5 -3
- data/examples/snake.rb +11 -21
- data/examples/tetris.rb +12 -12
- data/examples/tic_tac_toe.rb +3 -12
- data/examples/timer.rb +2 -6
- data/glimmer-dsl-libui.gemspec +0 -0
- data/lib/glimmer/dsl/libui/bind_expression.rb +36 -0
- data/lib/glimmer/dsl/libui/data_binding_expression.rb +45 -0
- data/lib/glimmer/dsl/libui/dsl.rb +3 -0
- data/lib/glimmer/dsl/libui/observe_expression.rb +35 -0
- data/lib/glimmer/dsl/libui/shine_data_binding_expression.rb +42 -0
- data/lib/glimmer/dsl/libui/string_expression.rb +4 -5
- data/lib/glimmer/libui/attributed_string.rb +19 -6
- 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 +16 -1
- data/lib/glimmer/libui/shape.rb +6 -3
- metadata +17 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: '05618c68efbc037c1da16b8644529316d97a8e8d3ac6dba4df8d74eb64264809'
|
4
|
+
data.tar.gz: e2b56cf6d20fdd6091d3e2701b731ba34f770d63aaaf1c2eb5ba2f88c75fa914
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7c62fb459566fc5c0dd428696809ae1a451e64beec43aa0fcc4c577ec976797000b7cef484bb6614f7019441de197bac75e5ed6ffeb6b8cae500b6db60e3e964
|
7
|
+
data.tar.gz: 702b6218d118543c7dbdfa825452dd59f469d0f9cd0aa8bbded05d04d44479c2bfb0e89d9cddce710052239c92d9f4efd932eab45f3acbf9ca627ec654786427
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,43 @@
|
|
1
1
|
# Change Log
|
2
2
|
|
3
|
+
## 0.4.3
|
4
|
+
|
5
|
+
- Support `entry` `text` bidirectional data-binding
|
6
|
+
- Support `search_entry` `text` property bidirectional data-binding (with `<=>` sign)
|
7
|
+
- Support `multiline_entry` `text` property bidirectional data-binding (with `<=>` sign)
|
8
|
+
- Support `non_wrapping_multiline_entry` `text` property bidirectional data-binding (with `<=>` sign)
|
9
|
+
- Improve examples/basic_entry.rb with bidirectional data-binding for `entry` `text`
|
10
|
+
- Improve examples/form.rb with bidirectional data-binding for `entry` `text`
|
11
|
+
- Improve examples/form_table.rb with bidirectional data-binding for `entry` `text`
|
12
|
+
- Improve examples/login.rb with bidirectional data-binding for `entry` `text`
|
13
|
+
- Improve examples/method_based_custom_keyword.rb with bidirectional data-binding for `entry` `text`
|
14
|
+
- Improve examples/meta_example.rb with bidirectional data-binding for `non_wrapping_multiline_entry` `text`
|
15
|
+
|
16
|
+
## 0.4.2
|
17
|
+
|
18
|
+
- examples/button_counter.rb (takes advantage of unidirectional data-binding)
|
19
|
+
- 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.
|
20
|
+
- Document `LibUI` API methods
|
21
|
+
- Fix issue with examples/meta_example.rb showing more versions in counts than available
|
22
|
+
|
23
|
+
## 0.4.1
|
24
|
+
|
25
|
+
- Document `observe` keyword
|
26
|
+
- Document unidirectional data-binding in more detail (like `:before_read`, `:on_read`, and `:after_read` options)
|
27
|
+
- Simplify examples/tetris.rb with `observe` keyword
|
28
|
+
- Simplify examples/method_based_custom_keyword.rb with `observe` keyword
|
29
|
+
- Simplify examples/color_the_circles.rb with `observe` keyword
|
30
|
+
- Simplify examples/snake.rb with `observe` keyword
|
31
|
+
|
32
|
+
## 0.4.0
|
33
|
+
|
34
|
+
- Upgrade to LibUI 0.0.13
|
35
|
+
- Support general control/shape/attributed_string property unidirectional data-binding (with `<=` sign or `<=>`)
|
36
|
+
- Support `observe` DSL keyword for simple model observation outside of GUI (e.g. `observe(model, attribute) { do_something }` )
|
37
|
+
- Simplify examples/snake.rb with data-binding and make smaller (20x20) to be more challenging and fun
|
38
|
+
- Simplify examples/tic_tac_toe.rb with data-binding
|
39
|
+
- Fix issue with `Shape#redraw` method calling `AreaProxy#auto_redraw` instead of `AreaProxy#redraw`
|
40
|
+
|
3
41
|
## 0.3.5
|
4
42
|
|
5
43
|
- Fixed Area Gallery example (all versions) after a recent refactoring broke it
|