glimmer-dsl-swt 4.29.0.0 → 4.30.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/README.md +8 -9
- data/RUBY_VERSION +1 -1
- data/VERSION +1 -1
- data/bin/girb +1 -0
- data/glimmer-dsl-swt.gemspec +0 -0
- data/lib/glimmer/rake_task/list.rb +1 -1
- data/lib/glimmer/rake_task/scaffold.rb +1 -1
- data/samples/elaborate/mandelbrot_fractal.rb +2 -2
- data/samples/elaborate/weather.rb +2 -2
- data/vendor/swt/linux/swt.jar +0 -0
- data/vendor/swt/linux_aarch64/swt.jar +0 -0
- data/vendor/swt/mac/swt.jar +0 -0
- data/vendor/swt/mac_aarch64/swt.jar +0 -0
- data/vendor/swt/windows/swt.jar +0 -0
- metadata +29 -9
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cccbc2af2b202250f8da4758a19bc5d438c3bc0cae1a62071ffe69d7eabfe9ac
|
4
|
+
data.tar.gz: 516f616e4f22b9c2d87f1245761238fbcc2834e5c716591d25507666e3119b26
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7844a260004c9bf9024592587abb87fe2b50889e2677ef0013e30a72f140efe387bb847907172c729820111696d1932dd20bee1df698c16d40a237e71f4a3cbc
|
7
|
+
data.tar.gz: 9cb50b1b055b22d625657764d064db9fe57636df9047f95a15454c32d4f5f7bc63979015f73d25230d0730bc3e6059bb49d1b16fc8d71249ea5a299299c5a5ec
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,15 @@
|
|
1
1
|
# Change Log
|
2
2
|
|
3
|
+
## 4.30.0.0
|
4
|
+
|
5
|
+
- Upgrade to SWT 4.30
|
6
|
+
- Upgrade to JDK 21
|
7
|
+
- Upgrade to JRuby 9.4.5.0 with Ruby 3.1 support
|
8
|
+
- Upgrade to Glimmer 2.7.4
|
9
|
+
- Avoid loading the entirety of facets when scaffolding or listing gems (speeding up performance of glimmer list and scaffold commands)
|
10
|
+
- Fix Mandelbrot Fractal sample on Windows as it crashes if run from within VirtualBox due to attempting to access Concurrent.physical_processor_count, which has been changed to Concurrent.processor_count
|
11
|
+
- Fix dimensions of Weather sample on Linux
|
12
|
+
|
3
13
|
## 4.29.0.0
|
4
14
|
|
5
15
|
- Upgrade to SWT 4.29
|
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.
|
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.30.0.0
|
2
2
|
## JRuby Desktop Development Cross-Platform Native GUI Framework
|
3
3
|
### The Quickest Way From Zero To GUI
|
4
4
|
[![Gem Version](https://badge.fury.io/rb/glimmer-dsl-swt.svg)](http://badge.fury.io/rb/glimmer-dsl-swt)
|
@@ -9,7 +9,7 @@
|
|
9
9
|
|
10
10
|
**[If You Liked Shoes, You'll Love Glimmer!](https://github.com/AndyObtiva/glimmer#faq)**
|
11
11
|
|
12
|
-
**(
|
12
|
+
**(Original Glimmer Library Handling World’s Ruby GUI Needs Since 2007. Beware of Imitators!)**
|
13
13
|
|
14
14
|
(**[***RubyConf 2022 Talk - Building Native GUI Apps in Ruby***](https://andymaleh.blogspot.com/2023/02/rubyconf-2022-talk-video-for-building.html)**)
|
15
15
|
|
@@ -30,7 +30,7 @@ Featured in JRuby Cookbook](http://shop.oreilly.com/product/9780596519650.do) an
|
|
30
30
|
|
31
31
|
![Eclipse SWT RCP NASA Mars Rover](/images/glimmer-eclipse-swt-rcp-nasa-mars-rover.png)
|
32
32
|
|
33
|
-
[Glimmer DSL for SWT](https://rubygems.org/gems/glimmer-dsl-swt) 4.
|
33
|
+
[Glimmer DSL for SWT](https://rubygems.org/gems/glimmer-dsl-swt) 4.30.0.0 includes [SWT 4.30](https://download.eclipse.org/eclipse/downloads/drops4/R-4.30-202312010110/), which was released on December 1, 2023. 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 supports ARM64/AARCH64 on Mac and Linux since version `4.20`.
|
34
34
|
|
35
35
|
**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).
|
36
36
|
|
@@ -303,10 +303,9 @@ https://www.eclipse.org/swt/faq.php
|
|
303
303
|
|
304
304
|
## Pre-requisites
|
305
305
|
|
306
|
-
- JDK
|
306
|
+
- JDK 21 is recommended / JDK 16 is the minimum except on Mac ARM64 where JDK 17 is the minimum (find at https://www.oracle.com/java/technologies/downloads / Ensure `PATH` env var includes Java bin directory for `jpackage` command to work when packaging Glimmer applications / Preferably setup `JAVA_HOME` env var too to point to JDK home directory before installing JRuby)
|
307
307
|
- [RVM](http://rvm.io) on Mac & Linux (not needed on Windows)
|
308
|
-
- JRuby 9.
|
309
|
-
- SWT 4.25 (already included in the [glimmer-dsl-swt](https://rubygems.org/gems/glimmer-dsl-swt) gem). Note that SWT supports ARM64/AARCH64 on Mac and Linux since version 4.20
|
308
|
+
- JRuby 9.4.5.0 (supporting Ruby 3.1.x syntax) (get via [RVM](http://rvm.io) on Mac and Linux by running `rvm install jruby-9.4.5.0`; On Windows, find at [https://www.jruby.org/download](https://www.jruby.org/download))
|
310
309
|
- Git (comes with Mac and Linux. Install on Windows: https://git-scm.com/download/win )
|
311
310
|
|
312
311
|
Glimmer might still work on other versions of Java, JRuby and SWT, but there are no guarantees, so it is best to stick to the pre-requisites outlined above.
|
@@ -335,7 +334,7 @@ jgem install glimmer-dsl-swt
|
|
335
334
|
|
336
335
|
Or this command if you want a specific version:
|
337
336
|
```
|
338
|
-
jgem install glimmer-dsl-swt -v 4.
|
337
|
+
jgem install glimmer-dsl-swt -v 4.30.0.0
|
339
338
|
```
|
340
339
|
|
341
340
|
`jgem` is JRuby's version of `gem` command.
|
@@ -363,7 +362,7 @@ Note: if you're using activerecord or activesupport, keep in mind that Glimmer u
|
|
363
362
|
|
364
363
|
Add the following to `Gemfile`:
|
365
364
|
```
|
366
|
-
gem 'glimmer-dsl-swt', '~> 4.
|
365
|
+
gem 'glimmer-dsl-swt', '~> 4.30.0.0'
|
367
366
|
```
|
368
367
|
|
369
368
|
And, then run:
|
@@ -386,7 +385,7 @@ glimmer
|
|
386
385
|
```
|
387
386
|
|
388
387
|
```
|
389
|
-
Glimmer (JRuby Desktop Development GUI Framework) - JRuby Gem: glimmer-dsl-swt v4.
|
388
|
+
Glimmer (JRuby Desktop Development GUI Framework) - JRuby Gem: glimmer-dsl-swt v4.30.0.0
|
390
389
|
|
391
390
|
Usage: glimmer [--bundler] [--pd] [--quiet] [--debug] [--log-level=VALUE] [[ENV_VAR=VALUE]...] [[-jruby-option]...] (application.rb or task[task_args]) [[application2.rb]...]
|
392
391
|
|
data/RUBY_VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
jruby-9.
|
1
|
+
jruby-9.4.5.0
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
4.
|
1
|
+
4.30.0.0
|
data/bin/girb
CHANGED
data/glimmer-dsl-swt.gemspec
CHANGED
Binary file
|
@@ -19,8 +19,8 @@
|
|
19
19
|
# OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
20
20
|
# WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
21
21
|
|
22
|
-
require 'facets'
|
23
22
|
require 'text-table'
|
23
|
+
require 'facets/string/titlecase'
|
24
24
|
|
25
25
|
module Glimmer
|
26
26
|
module RakeTask
|
@@ -277,7 +277,7 @@ class MandelbrotFractal
|
|
277
277
|
menu {
|
278
278
|
text '&Cores'
|
279
279
|
|
280
|
-
Concurrent.
|
280
|
+
Concurrent.processor_count.times do |n|
|
281
281
|
processor_number = n + 1
|
282
282
|
menu_item(:radio) {
|
283
283
|
text "&#{processor_number}"
|
@@ -291,7 +291,7 @@ class MandelbrotFractal
|
|
291
291
|
accelerator COMMAND, :alt, (processor_number - 20).to_s
|
292
292
|
end
|
293
293
|
|
294
|
-
selection true if processor_number == Concurrent.
|
294
|
+
selection true if processor_number == Concurrent.processor_count
|
295
295
|
|
296
296
|
on_widget_selected do
|
297
297
|
Mandelbrot.processor_count = processor_number
|
@@ -54,7 +54,7 @@ class Weather
|
|
54
54
|
grid_layout
|
55
55
|
|
56
56
|
text 'Glimmer Weather'
|
57
|
-
minimum_size 400, 300
|
57
|
+
minimum_size 400, (OS.linux? ? 330 : 300)
|
58
58
|
background DEFAULT_BACKGROUND
|
59
59
|
|
60
60
|
text {
|
@@ -73,7 +73,7 @@ class Weather
|
|
73
73
|
|
74
74
|
tab_folder {
|
75
75
|
layout_data(:center, :center, true, true) {
|
76
|
-
width_hint
|
76
|
+
width_hint OS.linux? ? 300 : 270
|
77
77
|
}
|
78
78
|
|
79
79
|
['℃', '℉'].each do |temp_unit|
|
data/vendor/swt/linux/swt.jar
CHANGED
Binary file
|
Binary file
|
data/vendor/swt/mac/swt.jar
CHANGED
Binary file
|
Binary file
|
data/vendor/swt/windows/swt.jar
CHANGED
Binary file
|
metadata
CHANGED
@@ -1,21 +1,21 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: glimmer-dsl-swt
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 4.
|
4
|
+
version: 4.30.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Andy Maleh
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-12-31 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
requirement: !ruby/object:Gem::Requirement
|
15
15
|
requirements:
|
16
16
|
- - "~>"
|
17
17
|
- !ruby/object:Gem::Version
|
18
|
-
version: 2.7.
|
18
|
+
version: 2.7.4
|
19
19
|
name: glimmer
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
@@ -23,7 +23,7 @@ dependencies:
|
|
23
23
|
requirements:
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: 2.7.
|
26
|
+
version: 2.7.4
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
requirement: !ruby/object:Gem::Requirement
|
29
29
|
requirements:
|
@@ -104,6 +104,26 @@ dependencies:
|
|
104
104
|
- - "<"
|
105
105
|
- !ruby/object:Gem::Version
|
106
106
|
version: 2.0.0
|
107
|
+
- !ruby/object:Gem::Dependency
|
108
|
+
requirement: !ruby/object:Gem::Requirement
|
109
|
+
requirements:
|
110
|
+
- - ">="
|
111
|
+
- !ruby/object:Gem::Version
|
112
|
+
version: 0.3.0
|
113
|
+
- - "<"
|
114
|
+
- !ruby/object:Gem::Version
|
115
|
+
version: 2.0.0
|
116
|
+
name: matrix
|
117
|
+
type: :runtime
|
118
|
+
prerelease: false
|
119
|
+
version_requirements: !ruby/object:Gem::Requirement
|
120
|
+
requirements:
|
121
|
+
- - ">="
|
122
|
+
- !ruby/object:Gem::Version
|
123
|
+
version: 0.3.0
|
124
|
+
- - "<"
|
125
|
+
- !ruby/object:Gem::Version
|
126
|
+
version: 2.0.0
|
107
127
|
- !ruby/object:Gem::Dependency
|
108
128
|
requirement: !ruby/object:Gem::Requirement
|
109
129
|
requirements:
|
@@ -344,10 +364,10 @@ dependencies:
|
|
344
364
|
version: 0.14.1.cr2
|
345
365
|
description: Glimmer DSL for SWT (JRuby Desktop Development Cross-Platform Native
|
346
366
|
GUI Framework) is a native-GUI cross-platform desktop development library written
|
347
|
-
in JRuby, an OS-threaded faster JVM version of Ruby. It includes SWT 4.
|
348
|
-
on
|
349
|
-
|
350
|
-
|
367
|
+
in JRuby, an OS-threaded faster JVM version of Ruby. It includes SWT 4.30 (released
|
368
|
+
on December 1, 2023). Glimmer's main innovation is a declarative Ruby DSL that enables
|
369
|
+
productive and efficient authoring of professional-grade desktop applications by
|
370
|
+
relying on the robust Eclipse SWT library, with the familiar native look, feel,
|
351
371
|
and behavior of GUI on Mac, Windows, and Linux. Glimmer additionally innovates by
|
352
372
|
having built-in data-binding support, which greatly facilitates synchronizing the
|
353
373
|
GUI with domain models, thus achieving true decoupling of object oriented components
|
@@ -738,7 +758,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
738
758
|
- !ruby/object:Gem::Version
|
739
759
|
version: '0'
|
740
760
|
requirements: []
|
741
|
-
rubygems_version: 3.
|
761
|
+
rubygems_version: 3.3.26
|
742
762
|
signing_key:
|
743
763
|
specification_version: 4
|
744
764
|
summary: Glimmer DSL for SWT (JRuby Desktop Development Cross-Platform Native GUI
|