glimmer-dsl-libui 0.2.10 → 0.2.14
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +40 -0
- data/README.md +209 -100
- 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 +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_the_circles.rb +13 -13
- data/examples/control_gallery.rb +6 -0
- data/examples/editable_table.rb +2 -0
- data/examples/meta_example.rb +20 -10
- data/examples/method_based_custom_keyword.rb +16 -6
- 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
- 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: 3fc5e2f1b4c01af406703b74785af4a3469d604ff06a798a3577895e0850645c
|
4
|
+
data.tar.gz: 307dda9b6070a9c01a26a76590172f3a04c73f48998a462b5e334fc8cf2bde6d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 232c835f1aa07097e7e190053adbc5f3572c4a9e77f94ad17d2b01fe47ff092c2722ad7236669bbff8a231dc5ba9908498173f4ad949e321f942f0d037ce4fc6
|
7
|
+
data.tar.gz: 250349d677f9e5bcadb961747707370d9d67bb6d3bdd48a8990887eda2ee7db22905c2898d63bef4fc40b958ec1c8d25541af625991e36ab5c6b49d7766398fa
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,45 @@
|
|
1
1
|
# Change Log
|
2
2
|
|
3
|
+
## 0.2.14
|
4
|
+
|
5
|
+
- Revise examples/meta_example.rb to avoid blocking upon launching examples, thus permitting launching multiple examples at the same time
|
6
|
+
- 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)
|
7
|
+
- Support `message_box` as an alias for `msg_box` (and `message_box_error` for `msg_box_error` too)
|
8
|
+
- Tolerate `nil` input for any widget `String` attributes (e.g. `entry` `text` attribute)
|
9
|
+
- 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)
|
10
|
+
- Fix Color The Shapes (Circles) and rename back to Color The Circles due to fixing `circle` support on Windows
|
11
|
+
|
12
|
+
## 0.2.13
|
13
|
+
|
14
|
+
- 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
|
15
|
+
- Fix examples/basic_table_button.rb double-deletion issue on Windows via a temporary workaround (generating an extra empty row on Windows only)
|
16
|
+
- Fix examples/basic_table_checkbox.rb , examples/basic_table_checkbox_text.rb , and examples/basic_table_color.rb on Windows
|
17
|
+
- Fix examples/basic_table_progress_bar.rb crash due to an issue on Windows when switching from -1 to a positive value
|
18
|
+
- Fix examples/area_gallery.rb (all its versions) by disabling arc/circle on Windows where they don't work due to issue in libui
|
19
|
+
- Fix girb on Windows
|
20
|
+
- Removed redundant `table` on_change notification
|
21
|
+
- Fix issue with supplying a font without all its keys (e.g. missing `:weight`) to attributed `string` nested under `text`, tolerating missing font keys.
|
22
|
+
- Fix issue with examples/color_the_circles.rb when clicking outside the playing area causing this error:
|
23
|
+
```
|
24
|
+
examples/color_the_circles.rb:82:in `block in color_circle': undefined method `include?' for nil:NilClass (NoMethodError)
|
25
|
+
from examples/color_the_circles.rb:81:in `each'
|
26
|
+
from examples/color_the_circles.rb:81:in `find'
|
27
|
+
from examples/color_the_circles.rb:81:in `color_circle'
|
28
|
+
from examples/color_the_circles.rb:212:in `block (4 levels) in launch'
|
29
|
+
```
|
30
|
+
|
31
|
+
## 0.2.12
|
32
|
+
|
33
|
+
- Upgrade to glimmer 2.4.0
|
34
|
+
- Upgrade to LibUI 0.0.12
|
35
|
+
- Support passing `string` value as an argument to attributed `string` keyword
|
36
|
+
- Support setting `string` value as a property on attributed `string` keyword (automatically redrawing)
|
37
|
+
|
38
|
+
## 0.2.11
|
39
|
+
|
40
|
+
- Fix issue with running examples that rely on local assets from gem (they work fine from locally cloned project)
|
41
|
+
- Fix issue with not showing puts output in Basic Table Button and Editable Table examples when run from Meta Example
|
42
|
+
|
3
43
|
## 0.2.10
|
4
44
|
|
5
45
|
- New examples/method_based_custom_keyword.rb
|