glimmer-dsl-swt 4.23.1.4 → 4.23.1.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/README.md +5 -5
- data/VERSION +1 -1
- data/docs/reference/GLIMMER_SAMPLES.md +4 -3
- data/glimmer-dsl-swt.gemspec +0 -0
- data/samples/elaborate/meta_sample.rb +1 -1
- data/samples/hello/hello_cursor.rb +9 -11
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1e7fdea386552ea2e886daa0e3af525b3cd61f010c15cec8f0e0b284589fe623
|
4
|
+
data.tar.gz: 628664b99898f420c6dbaff3cfd169d488ae5820a58f810a5c00f59145b322a2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 49bd76ed70c1376a1a845206663660fcfb89278f4ea8d3c2da3c033d2c8402a694e1bc07f1ec23312465ad90d15aaebbcc2de0888d797b5b62e28feb8770803a
|
7
|
+
data.tar.gz: ebc7b0e9ac9e5374c63a33d10e1a54fec57aa59117e1c130c8e9ca8a60d3f2bcf2ec72f6fe20f9c4c22305509fd24ae0d0dcc80542bd0f7a75457be2a095f30a
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,10 @@
|
|
1
1
|
# Change Log
|
2
2
|
|
3
|
+
## 4.23.1.5
|
4
|
+
|
5
|
+
- Refactor/Improve the Hello, Cursor! sample
|
6
|
+
- Add Hello, Cursor! video tutorial to Glimmer Meta-Sample
|
7
|
+
|
3
8
|
## 4.23.1.4
|
4
9
|
|
5
10
|
- Improve convenience by making `sash_form` accept `orientation` with SWT style symbols directly (`:horizontal` directly instead of `swt(:horizontal)`)
|
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.23.1.
|
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.23.1.5
|
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)
|
@@ -19,7 +19,7 @@ Featured in JRuby Cookbook](http://shop.oreilly.com/product/9780596519650.do) an
|
|
19
19
|
|
20
20
|
![Eclipse SWT RCP NASA Mars Rover](/images/glimmer-eclipse-swt-rcp-nasa-mars-rover.png)
|
21
21
|
|
22
|
-
[Glimmer DSL for SWT](https://rubygems.org/gems/glimmer-dsl-swt) 4.23.1.
|
22
|
+
[Glimmer DSL for SWT](https://rubygems.org/gems/glimmer-dsl-swt) 4.23.1.5 includes [SWT 4.23](https://download.eclipse.org/eclipse/downloads/drops4/R-4.23-202203080310/), which was released on March 8, 2022. 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.
|
23
23
|
|
24
24
|
**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. That was [originally conceived back in 2007](https://andymaleh.blogspot.com/2007/12/data-shining-in-glimmer.html).
|
25
25
|
|
@@ -333,7 +333,7 @@ jgem install glimmer-dsl-swt
|
|
333
333
|
|
334
334
|
Or this command if you want a specific version:
|
335
335
|
```
|
336
|
-
jgem install glimmer-dsl-swt -v 4.23.1.
|
336
|
+
jgem install glimmer-dsl-swt -v 4.23.1.5
|
337
337
|
```
|
338
338
|
|
339
339
|
`jgem` is JRuby's version of `gem` command.
|
@@ -361,7 +361,7 @@ Note: if you're using activerecord or activesupport, keep in mind that Glimmer u
|
|
361
361
|
|
362
362
|
Add the following to `Gemfile`:
|
363
363
|
```
|
364
|
-
gem 'glimmer-dsl-swt', '~> 4.23.1.
|
364
|
+
gem 'glimmer-dsl-swt', '~> 4.23.1.5'
|
365
365
|
```
|
366
366
|
|
367
367
|
And, then run:
|
@@ -384,7 +384,7 @@ glimmer
|
|
384
384
|
```
|
385
385
|
|
386
386
|
```
|
387
|
-
Glimmer (JRuby Desktop Development GUI Framework) - JRuby Gem: glimmer-dsl-swt v4.23.1.
|
387
|
+
Glimmer (JRuby Desktop Development GUI Framework) - JRuby Gem: glimmer-dsl-swt v4.23.1.5
|
388
388
|
|
389
389
|
Usage: glimmer [--bundler] [--pd] [--quiet] [--debug] [--log-level=VALUE] [[ENV_VAR=VALUE]...] [[-jruby-option]...] (application.rb or task[task_args]) [[application2.rb]...]
|
390
390
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
4.23.1.
|
1
|
+
4.23.1.5
|
@@ -84,6 +84,7 @@
|
|
84
84
|
- [Glimmer Calculator](#glimmer-calculator)
|
85
85
|
- [Gladiator](#gladiator)
|
86
86
|
- [Timer](#timer)
|
87
|
+
- [Contact Manager App](#contact-manager-app)
|
87
88
|
- [License](#license)
|
88
89
|
|
89
90
|
## Samples
|
@@ -1429,11 +1430,11 @@ Gladiator is a good demonstration of:
|
|
1429
1430
|
|
1430
1431
|
[<img src="https://raw.githubusercontent.com/AndyObtiva/glimmer-cs-timer/master/glimmer-timer-screenshot.png" />](https://github.com/AndyObtiva/glimmer-cs-timer)
|
1431
1432
|
|
1432
|
-
#### Contact Manager
|
1433
|
+
#### Contact Manager App
|
1433
1434
|
|
1434
|
-
[<img src="https://raw.githubusercontent.com/AndyObtiva/contact_manager/master/icons/linux/Contact%20Manager.png" height=40 /> Contact Manager](https://github.com/AndyObtiva/contact_manager) is an enhanced version of the included Contact Manager elaborate sample, which demonstrates how to connect to a [SQLite database](https://www.sqlite.org/index.html) with [ActiveRecord](https://rubygems.org/gems/activerecord).
|
1435
|
+
[<img src="https://raw.githubusercontent.com/AndyObtiva/contact_manager/master/icons/linux/Contact%20Manager.png" height=40 /> Contact Manager](https://github.com/AndyObtiva/contact_manager) is an enhanced version of the included Contact Manager elaborate sample, which demonstrates how to connect to a [SQLite database](https://www.sqlite.org/index.html) with [ActiveRecord](https://rubygems.org/gems/activerecord) and how to implement a [Master-Detail Interface](https://en.wikipedia.org/wiki/Master%E2%80%93detail_interface) following the [Model-View-Presenter Pattern](https://en.wikipedia.org/wiki/Model%E2%80%93view%E2%80%93presenter). This version can also be packaged as a native executable (DMG/MSI/DEB/RPM).
|
1435
1436
|
|
1436
|
-
[<img src="https://raw.githubusercontent.com/AndyObtiva/contact_manager/master/screenshots/contact-manager.
|
1437
|
+
[<img src="https://raw.githubusercontent.com/AndyObtiva/contact_manager/master/screenshots/contact-manager.gif" /> ](https://github.com/AndyObtiva/contact_manager)
|
1437
1438
|
|
1438
1439
|
## License
|
1439
1440
|
|
data/glimmer-dsl-swt.gemspec
CHANGED
Binary file
|
@@ -48,7 +48,7 @@ class Sample
|
|
48
48
|
end
|
49
49
|
|
50
50
|
def tutorials
|
51
|
-
if remote_tutorials && !remote_tutorials.empty? && remote_tutorials
|
51
|
+
if remote_tutorials && !remote_tutorials.empty? && remote_tutorials.size >= local_tutorials.size
|
52
52
|
remote_tutorials
|
53
53
|
else
|
54
54
|
local_tutorials
|
@@ -23,27 +23,25 @@ require 'glimmer-dsl-swt'
|
|
23
23
|
|
24
24
|
class HelloCursor
|
25
25
|
include Glimmer::UI::CustomShell
|
26
|
-
|
26
|
+
|
27
27
|
attr_accessor :selected_cursor
|
28
|
-
|
28
|
+
|
29
29
|
# This method matches the name of the :selected_cursor property by convention
|
30
30
|
def selected_cursor_options
|
31
31
|
Glimmer::SWT::SWTProxy.cursor_options
|
32
32
|
end
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
body_root.cursor = selected_cursor
|
37
|
-
}
|
33
|
+
|
34
|
+
before_body do
|
35
|
+
self.selected_cursor = :arrow
|
38
36
|
end
|
39
|
-
|
37
|
+
|
40
38
|
body {
|
41
39
|
shell {
|
42
40
|
grid_layout
|
43
|
-
|
41
|
+
|
44
42
|
text 'Hello, Cursor!'
|
45
|
-
cursor :
|
46
|
-
|
43
|
+
cursor <= [self, :selected_cursor]
|
44
|
+
|
47
45
|
label {
|
48
46
|
text 'Please select a cursor style and see it change the mouse cursor (varies per platform):'
|
49
47
|
font style: :bold
|
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.23.1.
|
4
|
+
version: 4.23.1.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Andy Maleh
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-06-
|
11
|
+
date: 2022-06-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
requirement: !ruby/object:Gem::Requirement
|