glimmer-dsl-swt 4.24.4.8 → 4.25.0.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 0fe762c944e91cd87d49690912e9bfe3513335ff8ac80d5248a485b597bc82fb
4
- data.tar.gz: 0fc8caa7604fbc524020ab9b7c91f7cf5e1aa44055c116607a9103ef407b4b2e
3
+ metadata.gz: 41e2be5d798d0306f341617d1052830cfd9d7c161f5901b5fc3dc0085f03ae6d
4
+ data.tar.gz: 0a6b56b7cf420f0d7c27c5a191676201ed1d7c531d1f1526939dac63664eb241
5
5
  SHA512:
6
- metadata.gz: e1e058691460ad791753d7040268e0ede146a075a32eb85b7c9b5bb12cc87316dfa90965b27f274741ac7c4c7c9fd7d03a5196dcffc5c5156918251c2cf41196
7
- data.tar.gz: 3ed723eb74b7b225d7a082732cfbb0c50350221ab532576f6da14000cad1c8149bb0a5becd6db78f33b318b1e09ab8e12ff0bae9069578ce379428ff98250661
6
+ metadata.gz: e244ae57af5ed8a605b1499aa48e2a9c694e59f0b7c946e5b340a2fc449f483b7b9bd57e0305d4229a3a5c940bcec0d2be333ac7fc66b1ef3ff6ac3ec06aea17
7
+ data.tar.gz: c907ce1160c84865cded4ac999f5dcbd6318525f038fb020f9baff6915cd728048231160265d88fc835385e87703338b4e2ec2e3083fca342dccd7039dcc255e
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Change Log
2
2
 
3
+ ## 4.25.0.0
4
+
5
+ - Upgrade to SWT 4.25
6
+ - Upgrade to JRuby 9.3.8.0
7
+ - Upgrade to JDK 19
8
+ - Make `:edge` the default SWT style for `browser` widget on Windows (Microsoft Edge Browser)
9
+ - Fix Hello, Tool Bar! look in Linux
10
+
3
11
  ## 4.24.4.8
4
12
 
5
13
  - Optimize `refined_table` sorting to avoid re-running upon navigating pages
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.24.4.8
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.25.0.0
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)
@@ -21,7 +21,7 @@ Featured in JRuby Cookbook](http://shop.oreilly.com/product/9780596519650.do) an
21
21
 
22
22
  ![Eclipse SWT RCP NASA Mars Rover](/images/glimmer-eclipse-swt-rcp-nasa-mars-rover.png)
23
23
 
24
- [Glimmer DSL for SWT](https://rubygems.org/gems/glimmer-dsl-swt) 4.24.4.8 includes [SWT 4.24](https://download.eclipse.org/eclipse/downloads/drops4/R-4.24-202206070700/), which was released on June 7, 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.
24
+ [Glimmer DSL for SWT](https://rubygems.org/gems/glimmer-dsl-swt) 4.25.0.0 includes [SWT 4.25](https://download.eclipse.org/eclipse/downloads/drops4/R-4.25-202208311800/), which was released on 31 Aug 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.
25
25
 
26
26
  **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).
27
27
 
@@ -306,10 +306,10 @@ https://www.eclipse.org/swt/faq.php
306
306
 
307
307
  ## Pre-requisites
308
308
 
309
- - JDK 18 is required / JDK 16 is minimum except on Mac ARM64 where JDK 17 is 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)
309
+ - JDK 19 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)
310
310
  - [RVM](http://rvm.io) on Mac & Linux (not needed on Windows)
311
- - JRuby 9.3.7.0 is required / JRuby 9.3.6.0 is minimum (supporting Ruby 2.6.x syntax) (get via [RVM](http://rvm.io) on Mac and Linux by running `rvm install jruby-9.3.7.0`; On Windows, find at [https://www.jruby.org/download](https://www.jruby.org/download))
312
- - SWT 4.24 (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
311
+ - JRuby 9.3.8.0 is recommended / JRuby 9.3.6.0 is the minimum (supporting Ruby 2.6.x syntax) (get via [RVM](http://rvm.io) on Mac and Linux by running `rvm install jruby-9.3.8.0`; On Windows, find at [https://www.jruby.org/download](https://www.jruby.org/download))
312
+ - 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
313
313
  - Git (comes with Mac and Linux. Install on Windows: https://git-scm.com/download/win )
314
314
 
315
315
  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.
@@ -338,7 +338,7 @@ jgem install glimmer-dsl-swt
338
338
 
339
339
  Or this command if you want a specific version:
340
340
  ```
341
- jgem install glimmer-dsl-swt -v 4.24.4.8
341
+ jgem install glimmer-dsl-swt -v 4.25.0.0
342
342
  ```
343
343
 
344
344
  `jgem` is JRuby's version of `gem` command.
@@ -366,7 +366,7 @@ Note: if you're using activerecord or activesupport, keep in mind that Glimmer u
366
366
 
367
367
  Add the following to `Gemfile`:
368
368
  ```
369
- gem 'glimmer-dsl-swt', '~> 4.24.4.8'
369
+ gem 'glimmer-dsl-swt', '~> 4.25.0.0'
370
370
  ```
371
371
 
372
372
  And, then run:
@@ -389,7 +389,7 @@ glimmer
389
389
  ```
390
390
 
391
391
  ```
392
- Glimmer (JRuby Desktop Development GUI Framework) - JRuby Gem: glimmer-dsl-swt v4.24.4.8
392
+ Glimmer (JRuby Desktop Development GUI Framework) - JRuby Gem: glimmer-dsl-swt v4.25.0.0
393
393
 
394
394
  Usage: glimmer [--bundler] [--pd] [--quiet] [--debug] [--log-level=VALUE] [[ENV_VAR=VALUE]...] [[-jruby-option]...] (application.rb or task[task_args]) [[application2.rb]...]
395
395
 
data/RUBY_VERSION CHANGED
@@ -1 +1 @@
1
- jruby-9.3.7.0
1
+ jruby-9.3.8.0
data/VERSION CHANGED
@@ -1 +1 @@
1
- 4.24.4.8
1
+ 4.25.0.0
@@ -1079,7 +1079,7 @@ You may check out a more full-fledged example in [Hello, Sash Form!](/docs/refer
1079
1079
 
1080
1080
  ![Hello Browser](/images/glimmer-hello-browser.png)
1081
1081
 
1082
- Glimmer DSL for SWT includes a basic [SWT Browser widget](https://help.eclipse.org/2020-12/topic/org.eclipse.platform.doc.isv/reference/api/org/eclipse/swt/browser/Browser.html), which can load URLs or render HTML. It supports WebKit, IE, and Edge browsers out of the box. Its JavaScript engine can even be instrumented with Ruby code if needed.
1082
+ Glimmer DSL for SWT includes a basic [SWT Browser widget](https://help.eclipse.org/2020-12/topic/org.eclipse.platform.doc.isv/reference/api/org/eclipse/swt/browser/Browser.html), which can load URLs or render HTML. It supports WebKit (default on Mac/Linux), Edge (default on Windows), and IE (pass SWT style `:none` to activate on Windows) browsers out of the box. Its JavaScript engine can even be instrumented with Ruby code if needed.
1083
1083
 
1084
1084
  Example loading a URL (you may copy/paste in [`girb`](GLIMMER_GIRB.md)):
1085
1085
 
Binary file
@@ -49,6 +49,7 @@ module Glimmer
49
49
 
50
50
  DEFAULT_STYLES = {
51
51
  'arrow' => [:arrow, :down],
52
+ 'browser' => ([:edge] if OS.windows?),
52
53
  'button' => [:push],
53
54
  'canvas' => ([:double_buffered] unless OS.mac?),
54
55
  'ccombo' => [:border],
@@ -36,7 +36,8 @@ class HelloToolBar
36
36
 
37
37
  body {
38
38
  shell {
39
- fill_layout(:vertical) {
39
+ row_layout(:vertical) {
40
+ fill true
40
41
  margin_width 0
41
42
  margin_height 0
42
43
  }
Binary file
Binary file
Binary file
Binary file
Binary file
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: glimmer-dsl-swt
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.24.4.8
4
+ version: 4.25.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andy Maleh
@@ -344,7 +344,7 @@ dependencies:
344
344
  version: 0.14.1.cr2
345
345
  description: Glimmer DSL for SWT (JRuby Desktop Development GUI Framework) is a native-GUI
346
346
  cross-platform desktop development library written in JRuby, an OS-threaded faster
347
- JVM version of Ruby. It includes SWT 4.24 (released June 7, 2022). Glimmer's main
347
+ JVM version of Ruby. It includes SWT 4.25 (released 31 Aug 2022). Glimmer's main
348
348
  innovation is a declarative Ruby DSL that enables productive and efficient authoring
349
349
  of desktop application user-interfaces by relying on the robust Eclipse SWT library.
350
350
  Glimmer additionally innovates by having built-in data-binding support, which greatly