glimmer-dsl-libui 0.4.7 → 0.4.11
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 +33 -0
- data/README.md +1043 -493
- data/VERSION +1 -1
- data/examples/basic_table_button.rb +54 -30
- data/examples/basic_table_button2.rb +34 -0
- data/examples/basic_table_color.rb +1 -1
- data/examples/button_counter.rb +2 -1
- data/examples/cpu_percentage.rb +36 -0
- data/examples/editable_table.rb +1 -1
- data/examples/form_table.rb +21 -17
- data/examples/form_table2.rb +104 -85
- data/examples/form_table3.rb +113 -0
- data/examples/form_table4.rb +110 -0
- data/examples/form_table5.rb +94 -0
- data/examples/meta_example.rb +21 -8
- data/examples/midi_player.rb +1 -1
- data/examples/snake.rb +19 -10
- data/examples/snake2.rb +97 -0
- data/examples/tetris.rb +15 -18
- data/examples/tic_tac_toe.rb +1 -0
- data/examples/tic_tac_toe2.rb +84 -0
- data/glimmer-dsl-libui.gemspec +0 -0
- data/lib/glimmer/dsl/libui/control_expression.rb +2 -1
- data/lib/glimmer/dsl/libui/shape_expression.rb +2 -2
- data/lib/glimmer/dsl/libui/string_expression.rb +2 -1
- data/lib/glimmer/libui/attributed_string.rb +3 -2
- data/lib/glimmer/libui/control_proxy/checkbox_proxy.rb +4 -0
- data/lib/glimmer/libui/control_proxy/color_button_proxy.rb +1 -2
- data/lib/glimmer/libui/control_proxy/combobox_proxy.rb +1 -2
- data/lib/glimmer/libui/control_proxy/date_time_picker_proxy.rb +1 -2
- data/lib/glimmer/libui/control_proxy/editable_combobox_proxy.rb +4 -5
- data/lib/glimmer/libui/control_proxy/entry_proxy.rb +1 -2
- data/lib/glimmer/libui/control_proxy/font_button_proxy.rb +5 -1
- data/lib/glimmer/libui/control_proxy/menu_item_proxy/check_menu_item_proxy.rb +4 -0
- data/lib/glimmer/libui/control_proxy/menu_item_proxy/radio_menu_item_proxy.rb +16 -4
- data/lib/glimmer/libui/control_proxy/multiline_entry_proxy.rb +1 -2
- data/lib/glimmer/libui/control_proxy/radio_buttons_proxy.rb +19 -0
- data/lib/glimmer/libui/control_proxy/slider_proxy.rb +1 -2
- data/lib/glimmer/libui/control_proxy/spinbox_proxy.rb +1 -2
- data/lib/glimmer/libui/control_proxy/table_proxy.rb +88 -24
- data/lib/glimmer/libui/control_proxy.rb +6 -4
- data/lib/glimmer/libui/data_bindable.rb +34 -4
- data/lib/glimmer/libui/shape.rb +3 -2
- data/lib/glimmer-dsl-libui.rb +1 -0
- metadata +9 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3e70a639d4f55c50b7e18b15c8122969c08dd4e50c8517048d9167bb8e7f1a4e
|
4
|
+
data.tar.gz: 7c774b5f04f58306113c89355201026585c6b5701dcad7c911fa541044423196
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: de3cca63789bd2d0818ad65350dc1e8ae79206c11d1f6f38b2bd4f7702f846b2ee160ca34456889d9a19dc958e5c768b3d6c8f0deb52f9b2c6205e1d719c3ef2
|
7
|
+
data.tar.gz: 9fae92e29083d58ae527d548084f7da5187170aa3f0c66796649edffaf53ee7d7d0a948d586ea9a3310c34c5213125bbe5c6883f7f1c1fdc2e8dad1ec83ec96c
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,38 @@
|
|
1
1
|
# Change Log
|
2
2
|
|
3
|
+
## 0.4.11
|
4
|
+
|
5
|
+
- Support `table` `cell_rows` explicit bidirectional data-binding (with `<=>` sign)
|
6
|
+
- Support `table` `cell_rows` explicit bidirectional data-binding with model-based rows (not `Array`s of column cells) by expecting model attributes to match underscored column names
|
7
|
+
- Support specifying `column_attributes` as `Hash` map (e.g. `{'State/Province' => :state}`) in `table` `cell_rows` explicit bidirectional data-binding with model-based rows (not `Array`s of column cells)
|
8
|
+
- Support specifying `column_attributes` as `Array` (e.g. `[:name, :email, :phone, :city, :state]`) in `table` `cell_rows` explicit bidirectional data-binding with model-based rows (not `Array`s of column cells)
|
9
|
+
- Ensure `post_add_content` is not called on controls and shapes during Shine syntax data-binding
|
10
|
+
- Improve examples/basic_table_button.rb with bidirectional data-binding for `table` `cell_rows`
|
11
|
+
- Improve examples/form_table.rb with bidirectional data-binding for `table` `cell_rows`
|
12
|
+
- Ensure examples/meta_example.rb has examples sorted
|
13
|
+
- Fix minor issue in examples/meta_example.rb by deselecting radio in basic examples when selecting an advanced example (and vice versa)
|
14
|
+
|
15
|
+
## 0.4.10
|
16
|
+
|
17
|
+
- examples/cpu_percentage.rb
|
18
|
+
- Bring back non-data-binding versions of examples/snake.rb and examples/tic_tac_toe.rb for educational purposes
|
19
|
+
|
20
|
+
## 0.4.9
|
21
|
+
|
22
|
+
- Support unidirectional data-binding on all control properties that support bidirectional data-binding
|
23
|
+
- Fix issue in examples/snake.rb with double-turn causing instant death due to snake illogically going back against itself
|
24
|
+
|
25
|
+
## 0.4.8
|
26
|
+
|
27
|
+
- Support `checkbox` `checked` bidirectional data-binding (with `<=>` sign)
|
28
|
+
- Support `check_menu_item` `checked` bidirectional data-binding (with `<=>` sign)
|
29
|
+
- Support `radio_menu_item` `checked` bidirectional data-binding (with `<=>` sign)
|
30
|
+
- Support `radio_buttons` `selected` property bidirectional data-binding (with `<=>` sign)
|
31
|
+
- Improve examples/tetris.rb with bidirectional data-binding for `check_menu_item`/`radio_menu_item` `checked`
|
32
|
+
- Update default dimensions of Meta-Example to `1000x500`
|
33
|
+
- Fix minor issue with Meta-Example selecting first radio button in Advanced examples despite it not being the truly selected example on launch of the app (now, it starts explicitly deselected)
|
34
|
+
- Fix minor issue with Meta-Example showing basic examples as advanced
|
35
|
+
|
3
36
|
## 0.4.7
|
4
37
|
|
5
38
|
- Support `date_time_picker`/`date_picker`/`time_picker` `time` bidirectional data-binding (with `<=>` sign)
|