glimmer-dsl-libui 0.2.12 → 0.2.16
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 +358 -93
- data/VERSION +1 -1
- data/bin/girb +0 -0
- data/bin/girb_runner.rb +1 -1
- data/examples/basic_table_button.rb +1 -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/basic_transform.rb +8 -2
- data/examples/color_button.rb +1 -1
- data/examples/color_the_circles.rb +24 -22
- data/examples/control_gallery.rb +6 -0
- data/examples/meta_example.rb +12 -7
- data/glimmer-dsl-libui.gemspec +0 -0
- data/lib/glimmer/dsl/libui/control_expression.rb +2 -0
- data/lib/glimmer/libui/attributed_string.rb +20 -10
- data/lib/glimmer/libui/control_proxy/area_proxy.rb +37 -4
- data/lib/glimmer/libui/control_proxy/table_proxy.rb +29 -9
- data/lib/glimmer/libui/control_proxy.rb +17 -2
- data/lib/glimmer/libui/shape/arc.rb +5 -1
- data/lib/glimmer/libui/shape/circle.rb +5 -1
- data/lib/glimmer/libui.rb +2 -2
- metadata +7 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8a31446583d7ac10399c0049f7735ad4de97be8142d71acb34bc97606e945754
|
4
|
+
data.tar.gz: d613addf5ba20feb610d43531288d9c50080d42f2873c14e5195d59b48735021
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c6bcfd1c455419275e95922115f8e82b9b0918834eab9ad1bf9b975d4ada823806c8822cc9b5f09b032673caca53f8084abed53d53e642d76b13deaa7ad11347
|
7
|
+
data.tar.gz: d149dc38cfa8456b4557d351ca25e0968daf20dc0a52b0faa9ee66ef2b1f046da8002bd7bf06dd154f1754730a2adc0b4796eb13172ef0cfa040bc1b0dd421a7
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,43 @@
|
|
1
1
|
# Change Log
|
2
2
|
|
3
|
+
## 0.2.16
|
4
|
+
|
5
|
+
- Document all examples with Windows screenshots
|
6
|
+
- Fix examples/basic_transform.rb issue on Windows where it shows an uncentered different graphic than what is shown on Mac and Linux
|
7
|
+
|
8
|
+
## 0.2.15
|
9
|
+
|
10
|
+
- Make examples/meta_example.rb output catch up more quickly with event puts statements
|
11
|
+
- Fix examples/color_the_circles.rb on Windows (it was crashing upon losing)
|
12
|
+
|
13
|
+
## 0.2.14
|
14
|
+
|
15
|
+
- Revise examples/meta_example.rb to avoid blocking upon launching examples, thus permitting launching multiple examples at the same time
|
16
|
+
- Automatically provide shifted `:key` characters in `area_key_event` provided in `area` key listeners `on_key_event`, `on_key_down`, and `on_key_up` given that libui does not support out of the box (e.g. `!` for SHIFT+1)
|
17
|
+
- Support `message_box` as an alias for `msg_box` (and `message_box_error` for `msg_box_error` too)
|
18
|
+
- Tolerate `nil` input for any widget `String` attributes (e.g. `entry` `text` attribute)
|
19
|
+
- Fix issue regarding `arc`s and `circle`s on Windows by auto-starting a figure if not started already (on Mac and Linux that is not needed)
|
20
|
+
- Fix Color The Shapes (Circles) and rename back to Color The Circles due to fixing `circle` support on Windows
|
21
|
+
|
22
|
+
## 0.2.13
|
23
|
+
|
24
|
+
- 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
|
25
|
+
- Fix examples/basic_table_button.rb double-deletion issue on Windows via a temporary workaround (generating an extra empty row on Windows only)
|
26
|
+
- Fix examples/basic_table_checkbox.rb , examples/basic_table_checkbox_text.rb , and examples/basic_table_color.rb on Windows
|
27
|
+
- Fix examples/basic_table_progress_bar.rb crash due to an issue on Windows when switching from -1 to a positive value
|
28
|
+
- Fix examples/area_gallery.rb (all its versions) by disabling arc/circle on Windows where they don't work due to issue in libui
|
29
|
+
- Fix girb on Windows
|
30
|
+
- Removed redundant `table` on_change notification
|
31
|
+
- Fix issue with supplying a font without all its keys (e.g. missing `:weight`) to attributed `string` nested under `text`, tolerating missing font keys.
|
32
|
+
- Fix issue with examples/color_the_circles.rb when clicking outside the playing area causing this error:
|
33
|
+
```
|
34
|
+
examples/color_the_circles.rb:82:in `block in color_circle': undefined method `include?' for nil:NilClass (NoMethodError)
|
35
|
+
from examples/color_the_circles.rb:81:in `each'
|
36
|
+
from examples/color_the_circles.rb:81:in `find'
|
37
|
+
from examples/color_the_circles.rb:81:in `color_circle'
|
38
|
+
from examples/color_the_circles.rb:212:in `block (4 levels) in launch'
|
39
|
+
```
|
40
|
+
|
3
41
|
## 0.2.12
|
4
42
|
|
5
43
|
- Upgrade to glimmer 2.4.0
|