glimmer-dsl-libui 0.2.9 → 0.2.13
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +42 -0
- data/README.md +599 -189
- data/VERSION +1 -1
- data/bin/girb +0 -0
- data/bin/girb_runner.rb +1 -1
- data/examples/area_gallery.rb +24 -14
- data/examples/area_gallery2.rb +37 -21
- data/examples/area_gallery3.rb +22 -12
- data/examples/area_gallery4.rb +37 -21
- data/examples/basic_draw_text2.rb +0 -1
- data/examples/basic_table_button.rb +2 -1
- data/examples/basic_table_checkbox.rb +1 -1
- data/examples/basic_table_image.rb +1 -0
- data/examples/basic_table_image_text.rb +1 -0
- data/examples/color_button.rb +2 -0
- data/examples/{color_the_circles.rb → color_the_shapes.rb} +45 -44
- data/examples/control_gallery.rb +6 -0
- data/examples/editable_table.rb +2 -0
- data/examples/form.rb +12 -2
- data/examples/meta_example.rb +34 -18
- data/examples/method_based_custom_keyword.rb +97 -0
- data/glimmer-dsl-libui.gemspec +0 -0
- data/lib/glimmer/dsl/libui/string_expression.rb +9 -2
- data/lib/glimmer/libui/attributed_string.rb +32 -12
- data/lib/glimmer/libui/control_proxy/path_proxy.rb +31 -6
- data/lib/glimmer/libui/control_proxy/table_proxy.rb +30 -10
- data/lib/glimmer/libui.rb +1 -1
- metadata +13 -9
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d0d69180e099ba8e4ef76b6d862542fd84753baf128e07ea17ef145ee1a4e20d
|
4
|
+
data.tar.gz: 25a96db46d241e7e17ec45778bda264fc662c77fcf9323e4eb0917ace5cda6da
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5073abc3a7bec0ffafa7d7dccc90273c9d6fbb5533a15a74b083a25df0d7a8b3e0dd7536429b47ea1d8b863afb4e98ef6de63943593025b3a53df39a7d455eeb
|
7
|
+
data.tar.gz: 33c26144db9e702762afaa3866685851e620208b60515937bdaccf44d059056c2232a325fc43d629f8998965f35b60106f390677ff2400305f711b1860475f4b
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,47 @@
|
|
1
1
|
# Change Log
|
2
2
|
|
3
|
+
## 0.2.13
|
4
|
+
|
5
|
+
- Rename examples/color_the_circles.rb to examples/color_the_shapes.rb to fix/make compatible with Windows by rendering only Squares on Windows, but Squares and Circles on Mac/Linux
|
6
|
+
- Fix examples/basic_table_button.rb double-deletion issue on Windows via a temporary workaround (generating an extra empty row on Windows only)
|
7
|
+
- Fix examples/basic_table_checkbox.rb , examples/basic_table_checkbox_text.rb , and examples/basic_table_color.rb on Windows
|
8
|
+
- Fix examples/basic_table_progress_bar.rb crash due to an issue on Windows when switching from -1 to a positive value
|
9
|
+
- Fix examples/area_gallery.rb (all its versions) by disabling arc/circle on Windows where they don't work due to issue in libui
|
10
|
+
- Fix girb on Windows
|
11
|
+
- Removed redundant `table` on_change notification
|
12
|
+
- Fix issue with supplying a font without all its keys (e.g. missing `:weight`) to attributed `string` nested under `text`, tolerating missing font keys.
|
13
|
+
- Fix issue with examples/color_the_circles.rb when clicking outside the playing area causing this error:
|
14
|
+
```
|
15
|
+
examples/color_the_circles.rb:82:in `block in color_circle': undefined method `include?' for nil:NilClass (NoMethodError)
|
16
|
+
from examples/color_the_circles.rb:81:in `each'
|
17
|
+
from examples/color_the_circles.rb:81:in `find'
|
18
|
+
from examples/color_the_circles.rb:81:in `color_circle'
|
19
|
+
from examples/color_the_circles.rb:212:in `block (4 levels) in launch'
|
20
|
+
```
|
21
|
+
|
22
|
+
## 0.2.12
|
23
|
+
|
24
|
+
- Upgrade to glimmer 2.4.0
|
25
|
+
- Upgrade to LibUI 0.0.12
|
26
|
+
- Support passing `string` value as an argument to attributed `string` keyword
|
27
|
+
- Support setting `string` value as a property on attributed `string` keyword (automatically redrawing)
|
28
|
+
|
29
|
+
## 0.2.11
|
30
|
+
|
31
|
+
- Fix issue with running examples that rely on local assets from gem (they work fine from locally cloned project)
|
32
|
+
- Fix issue with not showing puts output in Basic Table Button and Editable Table examples when run from Meta Example
|
33
|
+
|
34
|
+
## 0.2.10
|
35
|
+
|
36
|
+
- New examples/method_based_custom_keyword.rb
|
37
|
+
- Update examples/form.rb to have two more fields
|
38
|
+
- Update color_button example to show how to preset initial color
|
39
|
+
- Support `path` `fill`/`stroke` `:type` of `:linear_gradient`
|
40
|
+
- Support `path` `fill`/`stroke` `:type` of `:radial_gradient`
|
41
|
+
- Add text to Area Gallery examples
|
42
|
+
- Update variable names in examples/meta_example.rb to be more meaningful
|
43
|
+
- Update examples/meta_example.rb to show terminal/command-line output for run examples
|
44
|
+
|
3
45
|
## 0.2.9
|
4
46
|
|
5
47
|
- Upgrade to glimmer 2.3.0
|