glimmer-dsl-libui 0.2.11 → 0.2.15
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 +40 -0
- data/README.md +192 -110
- data/VERSION +1 -1
- data/bin/girb +0 -0
- data/bin/girb_runner.rb +1 -1
- data/examples/area_gallery.rb +1 -3
- data/examples/area_gallery3.rb +1 -3
- data/examples/basic_draw_text2.rb +0 -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/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/dsl/libui/string_expression.rb +9 -2
- data/lib/glimmer/libui/attributed_string.rb +32 -12
- data/lib/glimmer/libui/control_proxy/area_proxy.rb +37 -4
- data/lib/glimmer/libui/control_proxy/table_proxy.rb +30 -10
- 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 +13 -10
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f23b1189d1941feb73e4bb46e1dde90c491815f3f0900aea06f43a05ceae56ff
|
4
|
+
data.tar.gz: 0243b5a6b58772596b0ca0ea6211376ee864654933ceedcd726543f88a49d364
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ac7d1713123d01d73c40a7b8bef6e952cb6347247d53769a6f1c2592891c9889b38840d86bfe42d256116d8d70df3bd704a25114491c0b54ec9b155543b358ea
|
7
|
+
data.tar.gz: 887830207088df1a8380e558c42a5fd2b2c448c963da5018f81938767392954a73f37a2984fa831e43a4db22d5d6402980bac9dc0bfff96788cd6967aa643305
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,45 @@
|
|
1
1
|
# Change Log
|
2
2
|
|
3
|
+
## 0.2.15
|
4
|
+
|
5
|
+
- Make examples/meta_example.rb output catch up more quickly with event puts statements
|
6
|
+
- Fix examples/color_the_circles.rb on Windows (it was crashing upon losing)
|
7
|
+
|
8
|
+
## 0.2.14
|
9
|
+
|
10
|
+
- Revise examples/meta_example.rb to avoid blocking upon launching examples, thus permitting launching multiple examples at the same time
|
11
|
+
- 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)
|
12
|
+
- Support `message_box` as an alias for `msg_box` (and `message_box_error` for `msg_box_error` too)
|
13
|
+
- Tolerate `nil` input for any widget `String` attributes (e.g. `entry` `text` attribute)
|
14
|
+
- 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)
|
15
|
+
- Fix Color The Shapes (Circles) and rename back to Color The Circles due to fixing `circle` support on Windows
|
16
|
+
|
17
|
+
## 0.2.13
|
18
|
+
|
19
|
+
- 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
|
20
|
+
- Fix examples/basic_table_button.rb double-deletion issue on Windows via a temporary workaround (generating an extra empty row on Windows only)
|
21
|
+
- Fix examples/basic_table_checkbox.rb , examples/basic_table_checkbox_text.rb , and examples/basic_table_color.rb on Windows
|
22
|
+
- Fix examples/basic_table_progress_bar.rb crash due to an issue on Windows when switching from -1 to a positive value
|
23
|
+
- Fix examples/area_gallery.rb (all its versions) by disabling arc/circle on Windows where they don't work due to issue in libui
|
24
|
+
- Fix girb on Windows
|
25
|
+
- Removed redundant `table` on_change notification
|
26
|
+
- Fix issue with supplying a font without all its keys (e.g. missing `:weight`) to attributed `string` nested under `text`, tolerating missing font keys.
|
27
|
+
- Fix issue with examples/color_the_circles.rb when clicking outside the playing area causing this error:
|
28
|
+
```
|
29
|
+
examples/color_the_circles.rb:82:in `block in color_circle': undefined method `include?' for nil:NilClass (NoMethodError)
|
30
|
+
from examples/color_the_circles.rb:81:in `each'
|
31
|
+
from examples/color_the_circles.rb:81:in `find'
|
32
|
+
from examples/color_the_circles.rb:81:in `color_circle'
|
33
|
+
from examples/color_the_circles.rb:212:in `block (4 levels) in launch'
|
34
|
+
```
|
35
|
+
|
36
|
+
## 0.2.12
|
37
|
+
|
38
|
+
- Upgrade to glimmer 2.4.0
|
39
|
+
- Upgrade to LibUI 0.0.12
|
40
|
+
- Support passing `string` value as an argument to attributed `string` keyword
|
41
|
+
- Support setting `string` value as a property on attributed `string` keyword (automatically redrawing)
|
42
|
+
|
3
43
|
## 0.2.11
|
4
44
|
|
5
45
|
- Fix issue with running examples that rely on local assets from gem (they work fine from locally cloned project)
|