glimmer-dsl-libui 0.3.4 → 0.4.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +29 -0
- data/README.md +4114 -3756
- data/VERSION +1 -1
- data/examples/area_gallery.rb +15 -15
- data/examples/area_gallery2.rb +35 -36
- data/examples/area_gallery3.rb +15 -15
- data/examples/area_gallery4.rb +35 -35
- data/examples/button_counter.rb +27 -0
- data/examples/color_the_circles.rb +2 -2
- data/examples/meta_example.rb +1 -1
- data/examples/method_based_custom_keyword.rb +2 -2
- 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 +47 -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/image_proxy.rb +4 -5
- data/lib/glimmer/libui/control_proxy/table_proxy.rb +1 -1
- data/lib/glimmer/libui/control_proxy.rb +4 -1
- data/lib/glimmer/libui/shape.rb +6 -3
- metadata +9 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9b5839a358a532ac1bef6daae1352c655beb83586ebaec5310f9ea585560bce2
|
4
|
+
data.tar.gz: c624d4787132b6d35e91432b551866515f1d99a29882c4395275752bed58bbf5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5637badd742ecea707c0e0b976f616f99175ff16cd15302d5f9ab5ce8d5beab1684582d061299454599926c9028ec01ec3767e0313f3ed1cb24575c36eb4eee6
|
7
|
+
data.tar.gz: 63ffa8f18c75c6aea32e9a9302b3203bd03e011d342d5320d2023709e6dbd949dda89a9afdc282fb53580ddbcce7d2022a0bb484df55f854ab9e100920ed5384
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,34 @@
|
|
1
1
|
# Change Log
|
2
2
|
|
3
|
+
## 0.4.2
|
4
|
+
|
5
|
+
- examples/button_counter.rb (takes advantage of unidirectional data-binding)
|
6
|
+
- 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.
|
7
|
+
- Document `LibUI` API methods
|
8
|
+
- Fix issue with examples/meta_example.rb showing more versions in counts than available
|
9
|
+
|
10
|
+
## 0.4.1
|
11
|
+
|
12
|
+
- Document `observe` keyword
|
13
|
+
- Document unidirectional data-binding in more detail (like `:before_read`, `:on_read`, and `:after_read` options)
|
14
|
+
- Simplify examples/tetris.rb with `observe` keyword
|
15
|
+
- Simplify examples/method_based_custom_keyword.rb with `observe` keyword
|
16
|
+
- Simplify examples/color_the_circles.rb with `observe` keyword
|
17
|
+
- Simplify examples/snake.rb with `observe` keyword
|
18
|
+
|
19
|
+
## 0.4.0
|
20
|
+
|
21
|
+
- Upgrade to LibUI 0.0.13
|
22
|
+
- Support general control/shape/attributed_string property unidirectional data-binding (with `<=` sign or `<=>`)
|
23
|
+
- Support `observe` DSL keyword for simple model observation outside of GUI (e.g. `observe(model, attribute) { do_something }` )
|
24
|
+
- Simplify examples/snake.rb with data-binding and make smaller (20x20) to be more challenging and fun
|
25
|
+
- Simplify examples/tic_tac_toe.rb with data-binding
|
26
|
+
- Fix issue with `Shape#redraw` method calling `AreaProxy#auto_redraw` instead of `AreaProxy#redraw`
|
27
|
+
|
28
|
+
## 0.3.5
|
29
|
+
|
30
|
+
- Fixed Area Gallery example (all versions) after a recent refactoring broke it
|
31
|
+
|
3
32
|
## 0.3.4
|
4
33
|
|
5
34
|
- New examples/basic_scrolling_area.rb
|