glimmer-dsl-swt 4.20.9.0 → 4.20.9.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/README.md +5 -5
- data/VERSION +1 -1
- data/glimmer-dsl-swt.gemspec +0 -0
- data/lib/glimmer/swt/custom/shape/line.rb +6 -6
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e37d0806e8aaa9348e085cee3068003ab71eba9b55dcf9dc0a6dc19df8f9a351
|
4
|
+
data.tar.gz: ffc3acfdc525c51c694d1461f28955b77b3f33869abfb6a9fc7b2c40624085c4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 85e233e9aca10e9674ef33ec09ab00ecbe04d122f9bc9e6bbbba24d48b187bf9f89eaa55bf8b4001eec37b4825995e2e8427f39ede64f76d51767ee1e60421a5
|
7
|
+
data.tar.gz: d168d8a89386a65ee536e372eeb0f4b958e536db7d8ec0f6b280dc8249b268108997e037b107aa59c3fe1f59bb8003c9a7b5c557749a31c962eb2cbb97d90d42
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,9 @@
|
|
1
1
|
# Change Log
|
2
2
|
|
3
|
+
### 4.20.9.1
|
4
|
+
|
5
|
+
- Fix issue with not being able to use :default x/y location with composite/custom shapes containing lines
|
6
|
+
|
3
7
|
### 4.20.9.0
|
4
8
|
|
5
9
|
- Canvas animation fps/frame_rate property to set frames-per-second rate of rendering (alternative to every)
|
data/README.md
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
# [<img src="https://raw.githubusercontent.com/AndyObtiva/glimmer/master/images/glimmer-logo-hi-res.png" height=85 />](https://github.com/AndyObtiva/glimmer) Glimmer DSL for SWT 4.20.9.
|
1
|
+
# [<img src="https://raw.githubusercontent.com/AndyObtiva/glimmer/master/images/glimmer-logo-hi-res.png" height=85 />](https://github.com/AndyObtiva/glimmer) Glimmer DSL for SWT 4.20.9.1
|
2
2
|
## JRuby Desktop Development GUI Framework
|
3
3
|
[![Gem Version](https://badge.fury.io/rb/glimmer-dsl-swt.svg)](http://badge.fury.io/rb/glimmer-dsl-swt)
|
4
4
|
[![Travis CI](https://travis-ci.com/AndyObtiva/glimmer-dsl-swt.svg?branch=master)](https://travis-ci.com/github/AndyObtiva/glimmer-dsl-swt)
|
@@ -15,7 +15,7 @@
|
|
15
15
|
[<img src="https://covers.oreillystatic.com/images/9780596519650/lrg.jpg" width=105 /><br />
|
16
16
|
Featured in JRuby Cookbook](http://shop.oreilly.com/product/9780596519650.do) and [Chalmers/Gothenburg University Software Engineering Master's Lecture Material](http://www.cse.chalmers.se/~bergert/slides/guest_lecture_DSLs.pdf)
|
17
17
|
|
18
|
-
[Glimmer DSL for SWT](https://rubygems.org/gems/glimmer-dsl-swt) 4.20.9.
|
18
|
+
[Glimmer DSL for SWT](https://rubygems.org/gems/glimmer-dsl-swt) 4.20.9.1 includes [SWT 4.20](https://download.eclipse.org/eclipse/downloads/drops4/R-4.20-202106111600/), which was released on June 11, 2021. Gem version numbers are in sync with the SWT library versions. The first two digits represent the SWT version number. The last two digits represent the minor and patch versions of Glimmer DSL for SWT. Note that SWT now supports AARCH64 on Mac and Linux, but it is not fully tested in Glimmer DSL for SWT yet, so deem its support experimental for the time being without guarantees for functionality until declared otherwise (report any issues you may encounter).
|
19
19
|
|
20
20
|
**Starting in version 4.20.0.0, [Glimmer DSL for SWT](https://rubygems.org/gems/glimmer-dsl-swt) comes with the new [***Shine***](/docs/reference/GLIMMER_GUI_DSL_SYNTAX.md#shine) syntax** for highly intuitive and visually expressive View/Model Attribute Mapping, relying on `<=>` for bidirectional (two-way) data-binding and `<=` for unidirectional (one-way) data-binding, providing an alternative to the `bind` keyword (keep in mind that it is still a beta, so default back to `bind` whenever needed).
|
21
21
|
|
@@ -347,7 +347,7 @@ jgem install glimmer-dsl-swt
|
|
347
347
|
|
348
348
|
Or this command if you want a specific version:
|
349
349
|
```
|
350
|
-
jgem install glimmer-dsl-swt -v 4.20.9.
|
350
|
+
jgem install glimmer-dsl-swt -v 4.20.9.1
|
351
351
|
```
|
352
352
|
|
353
353
|
`jgem` is JRuby's version of `gem` command.
|
@@ -375,7 +375,7 @@ Note: if you're using activerecord or activesupport, keep in mind that Glimmer u
|
|
375
375
|
|
376
376
|
Add the following to `Gemfile`:
|
377
377
|
```
|
378
|
-
gem 'glimmer-dsl-swt', '~> 4.20.9.
|
378
|
+
gem 'glimmer-dsl-swt', '~> 4.20.9.1'
|
379
379
|
```
|
380
380
|
|
381
381
|
And, then run:
|
@@ -396,7 +396,7 @@ glimmer
|
|
396
396
|
```
|
397
397
|
|
398
398
|
```
|
399
|
-
Glimmer (JRuby Desktop Development GUI Framework) - JRuby Gem: glimmer-dsl-swt v4.20.9.
|
399
|
+
Glimmer (JRuby Desktop Development GUI Framework) - JRuby Gem: glimmer-dsl-swt v4.20.9.1
|
400
400
|
|
401
401
|
Usage: glimmer [--bundler] [--pd] [--quiet] [--debug] [--log-level=VALUE] [[ENV_VAR=VALUE]...] [[-jruby-option]...] (application.rb or task[task_args]) [[application2.rb]...]
|
402
402
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
4.20.9.
|
1
|
+
4.20.9.1
|
data/glimmer-dsl-swt.gemspec
CHANGED
Binary file
|
@@ -71,14 +71,14 @@ module Glimmer
|
|
71
71
|
# Logical x coordinate relative to parent
|
72
72
|
def x
|
73
73
|
x_value = bounds.x
|
74
|
-
x_value -= parent.absolute_x if parent.is_a?(Shape)
|
74
|
+
x_value -= parent.absolute_x if parent.is_a?(Shape) && parent.class != Shape
|
75
75
|
x_value
|
76
76
|
end
|
77
77
|
|
78
78
|
# Logical y coordinate relative to parent
|
79
79
|
def y
|
80
80
|
y_value = bounds.y
|
81
|
-
y_value -= parent.absolute_y if parent.is_a?(Shape)
|
81
|
+
y_value -= parent.absolute_y if parent.is_a?(Shape) && parent.class != Shape
|
82
82
|
y_value
|
83
83
|
end
|
84
84
|
|
@@ -91,7 +91,7 @@ module Glimmer
|
|
91
91
|
end
|
92
92
|
|
93
93
|
def absolute_x1
|
94
|
-
if parent.is_a?(Shape)
|
94
|
+
if parent.is_a?(Shape) && parent.class != Shape
|
95
95
|
parent.absolute_x + x1
|
96
96
|
else
|
97
97
|
x1
|
@@ -99,7 +99,7 @@ module Glimmer
|
|
99
99
|
end
|
100
100
|
|
101
101
|
def absolute_y1
|
102
|
-
if parent.is_a?(Shape)
|
102
|
+
if parent.is_a?(Shape) && parent.class != Shape
|
103
103
|
parent.absolute_y + y1
|
104
104
|
else
|
105
105
|
y1
|
@@ -107,7 +107,7 @@ module Glimmer
|
|
107
107
|
end
|
108
108
|
|
109
109
|
def absolute_x2
|
110
|
-
if parent.is_a?(Shape)
|
110
|
+
if parent.is_a?(Shape) && parent.class != Shape
|
111
111
|
parent.absolute_x + x2.to_f
|
112
112
|
else
|
113
113
|
x2
|
@@ -115,7 +115,7 @@ module Glimmer
|
|
115
115
|
end
|
116
116
|
|
117
117
|
def absolute_y2
|
118
|
-
if parent.is_a?(Shape)
|
118
|
+
if parent.is_a?(Shape) && parent.class != Shape
|
119
119
|
parent.absolute_y + y2.to_f
|
120
120
|
else
|
121
121
|
y2
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: glimmer-dsl-swt
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 4.20.9.
|
4
|
+
version: 4.20.9.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Andy Maleh
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-07-
|
11
|
+
date: 2021-07-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
requirement: !ruby/object:Gem::Requirement
|
@@ -69,7 +69,7 @@ dependencies:
|
|
69
69
|
requirements:
|
70
70
|
- - ">="
|
71
71
|
- !ruby/object:Gem::Version
|
72
|
-
version: 0.
|
72
|
+
version: 0.13.0
|
73
73
|
- - "<"
|
74
74
|
- !ruby/object:Gem::Version
|
75
75
|
version: 2.0.0
|
@@ -80,7 +80,7 @@ dependencies:
|
|
80
80
|
requirements:
|
81
81
|
- - ">="
|
82
82
|
- !ruby/object:Gem::Version
|
83
|
-
version: 0.
|
83
|
+
version: 0.13.0
|
84
84
|
- - "<"
|
85
85
|
- !ruby/object:Gem::Version
|
86
86
|
version: 2.0.0
|