glimmer-dsl-libui 0.4.9 → 0.4.13

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.
Files changed (40) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +32 -0
  3. data/README.md +1330 -487
  4. data/VERSION +1 -1
  5. data/examples/basic_table_button.rb +54 -30
  6. data/examples/basic_table_button2.rb +34 -0
  7. data/examples/basic_table_color.rb +104 -26
  8. data/examples/basic_table_color2.rb +2 -14
  9. data/examples/basic_table_color3.rb +37 -0
  10. data/examples/basic_table_image.rb +1 -1
  11. data/examples/basic_table_image2.rb +2 -14
  12. data/examples/basic_table_image3.rb +44 -0
  13. data/examples/basic_table_image_text.rb +1 -2
  14. data/examples/basic_table_image_text2.rb +2 -13
  15. data/examples/basic_table_image_text3.rb +44 -0
  16. data/examples/cpu_percentage.rb +36 -0
  17. data/examples/editable_table.rb +1 -1
  18. data/examples/form_table.rb +21 -17
  19. data/examples/form_table2.rb +104 -85
  20. data/examples/form_table3.rb +113 -0
  21. data/examples/form_table4.rb +110 -0
  22. data/examples/form_table5.rb +94 -0
  23. data/examples/meta_example.rb +6 -4
  24. data/examples/snake2.rb +97 -0
  25. data/examples/tic_tac_toe.rb +1 -0
  26. data/examples/tic_tac_toe2.rb +84 -0
  27. data/glimmer-dsl-libui.gemspec +0 -0
  28. data/lib/glimmer/dsl/libui/control_expression.rb +2 -1
  29. data/lib/glimmer/dsl/libui/shape_expression.rb +2 -2
  30. data/lib/glimmer/dsl/libui/string_expression.rb +2 -1
  31. data/lib/glimmer/libui/attributed_string.rb +3 -2
  32. data/lib/glimmer/libui/control_proxy/column/background_color_column_proxy.rb +4 -0
  33. data/lib/glimmer/libui/control_proxy/image_proxy.rb +16 -0
  34. data/lib/glimmer/libui/control_proxy/table_proxy.rb +95 -29
  35. data/lib/glimmer/libui/control_proxy.rb +4 -2
  36. data/lib/glimmer/libui/data_bindable.rb +8 -3
  37. data/lib/glimmer/libui/shape.rb +3 -2
  38. data/lib/glimmer/libui.rb +2 -2
  39. data/lib/glimmer-dsl-libui.rb +1 -0
  40. metadata +12 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 755dfde419aa3c77d0ca7229f9962d63b7aa139adbc1d5543e93acbf0c1917db
4
- data.tar.gz: f4d753f109947eafeea727804ee871923948a0a262cde11a58dfd2f2fbe893ec
3
+ metadata.gz: e1f51ecb1e42d70d4081b671b3ba4ee277a35cc5f75372536a826802f2766124
4
+ data.tar.gz: 949069cd28522b6480ae3095cd4056aaeb26c90758429a393a5ee325a5e29c4c
5
5
  SHA512:
6
- metadata.gz: 96f4f5b7ddbf09a9543cea439ce74b1c5c545e2e6c240533e4d283ffba2bea16778a826601e2350392253d39edd21c8a6cb60d22fa1ee4107084c2cdd9155f70
7
- data.tar.gz: 65b9fdb359801bdd1e4c6e9df74f3cc1d49f7012a5fc6b7dfc8cb4f6fbc16732cc6e4119a05d6c0a26eb559d60e3c72b263b3376f0775d4ff1ff5dd3ec52435d
6
+ metadata.gz: 9f0f791fe044894e4aa300f9642b2703e1774e0bb02bb98044056306e6e06ae32d58296301c0e6b6c0ede7bd2236ce2c2793ee56beb5e9f7db2ea772e427811d
7
+ data.tar.gz: 8d11e1478a7c6a317a1a176cf464faaff5947231f01635c69d9771baf643ef80afba40ae92fdff551959f81f17eab2effa6edfe7dc40085ee020c789e1baf586
data/CHANGELOG.md CHANGED
@@ -1,5 +1,37 @@
1
1
  # Change Log
2
2
 
3
+ ## 0.4.13
4
+
5
+ - Shorten height of examples/cpu_percentage.rb
6
+ - Optimize `table` `image` object by caching for multiple images sharing the same arguments
7
+
8
+ ## 0.4.12
9
+
10
+ - Support `table` data-binding to model rows when utilizing dual-columns or triple-columns (e.g. columns having color and/or a checkbox in addition to text)
11
+ - Support passing `table` `image`/`image_text` `cell_rows` `image` data as file path/image args directly (without using `image` keyword)
12
+ - Add examples/basic_table_color.rb version that data-binds to model rows instead of raw data
13
+ - Simplify examples/basic_table_color.rb to pass image data as file-path/width/height arguments directly
14
+ - Simplify examples/basic_table_image.rb to pass image data as file url directly
15
+ - Simplify examples/basic_table_image_text.rb to pass image data as file url directly
16
+ - Fix issue with hex color support for colors starting with `'#'`
17
+
18
+ ## 0.4.11
19
+
20
+ - Support `table` `cell_rows` explicit bidirectional data-binding (with `<=>` sign)
21
+ - 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
22
+ - 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)
23
+ - 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)
24
+ - Ensure `post_add_content` is not called on controls and shapes during Shine syntax data-binding
25
+ - Improve examples/basic_table_button.rb with bidirectional data-binding for `table` `cell_rows`
26
+ - Improve examples/form_table.rb with bidirectional data-binding for `table` `cell_rows`
27
+ - Ensure examples/meta_example.rb has examples sorted
28
+ - Fix minor issue in examples/meta_example.rb by deselecting radio in basic examples when selecting an advanced example (and vice versa)
29
+
30
+ ## 0.4.10
31
+
32
+ - examples/cpu_percentage.rb
33
+ - Bring back non-data-binding versions of examples/snake.rb and examples/tic_tac_toe.rb for educational purposes
34
+
3
35
  ## 0.4.9
4
36
 
5
37
  - Support unidirectional data-binding on all control properties that support bidirectional data-binding