Skip to content

Commit

Permalink
Upgrade to SWT 4.27 / Upgrade to jruby-9.3.10.0
Browse files Browse the repository at this point in the history
  • Loading branch information
AndyObtiva committed Mar 21, 2023
1 parent 86ca6e4 commit 344439e
Show file tree
Hide file tree
Showing 12 changed files with 21 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .ruby-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
jruby-9.3.8.0
jruby-9.3.10.0
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# Change Log

## 4.27.0.0

- Upgrade to SWT 4.27
- Upgrade to jruby-9.3.10.0

## 4.26.0.1

- Fix an issue that prevented data-binding the `image` widget property using Shine syntax (e.g. `image <= [model, :attr]` inside `tool_item`)
Expand Down
16 changes: 10 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# [<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.26.0.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.27.0.0
## JRuby Desktop Development GUI Framework
### The Quickest Way From Zero To GUI
[![Gem Version](https://badge.fury.io/rb/glimmer-dsl-swt.svg)](http://badge.fury.io/rb/glimmer-dsl-swt)
Expand All @@ -9,7 +9,11 @@

**(The Original Glimmer Library Handling the World’s Ruby GUI Needs Since 2007. Beware of Imitators!)**

(**[Presenting ***"Building Native GUI Apps in Ruby"*** at RubyConf 2022](https://andymaleh.blogspot.com/2022/09/rubyconf-2022-building-native-gui-apps.html)**)
(**[***RubyConf 2022 Talk - Building Native GUI Apps in Ruby***](https://andymaleh.blogspot.com/2023/02/rubyconf-2022-talk-video-for-building.html)**)

(**[***Montreal.rb Talk - Glimmer DSL for SWT - Ruby Desktop Development GUI Framework***](https://andymaleh.blogspot.com/2022/10/montrealrb-talk-slides-for-glimmer-dsl.html)**)

[**(Ruby Rogues Podcast Interview - Desktop Apps in Ruby ft. Andy)**](https://andymaleh.blogspot.com/2022/05/ruby-rogues-podcast-interview-desktop.html)

[GLIMMER VIDEO TUTORIAL CHANNEL](https://www.youtube.com/channel/UC5hzDE23HZXsZLAxYk2UJEw)

Expand All @@ -24,7 +28,7 @@ Featured in JRuby Cookbook](http://shop.oreilly.com/product/9780596519650.do) an

![Eclipse SWT RCP NASA Mars Rover](/images/glimmer-eclipse-swt-rcp-nasa-mars-rover.png)

[Glimmer DSL for SWT](https://rubygems.org/gems/glimmer-dsl-swt) 4.26.0.1 includes [SWT 4.26](https://download.eclipse.org/eclipse/downloads/drops4/R-4.26-202211231800/), which was released on 23 Nov 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.
[Glimmer DSL for SWT](https://rubygems.org/gems/glimmer-dsl-swt) 4.27.0.0 includes [SWT 4.27](https://download.eclipse.org/eclipse/downloads/drops4/R-4.27-202303020300/), which was released on Mar 2, 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.

**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).

Expand Down Expand Up @@ -341,7 +345,7 @@ jgem install glimmer-dsl-swt

Or this command if you want a specific version:
```
jgem install glimmer-dsl-swt -v 4.26.0.1
jgem install glimmer-dsl-swt -v 4.27.0.0
```

`jgem` is JRuby's version of `gem` command.
Expand Down Expand Up @@ -369,7 +373,7 @@ Note: if you're using activerecord or activesupport, keep in mind that Glimmer u

Add the following to `Gemfile`:
```
gem 'glimmer-dsl-swt', '~> 4.26.0.1'
gem 'glimmer-dsl-swt', '~> 4.27.0.0'
```

And, then run:
Expand All @@ -392,7 +396,7 @@ glimmer
```

```
Glimmer (JRuby Desktop Development GUI Framework) - JRuby Gem: glimmer-dsl-swt v4.26.0.1
Glimmer (JRuby Desktop Development GUI Framework) - JRuby Gem: glimmer-dsl-swt v4.27.0.0
Usage: glimmer [--bundler] [--pd] [--quiet] [--debug] [--log-level=VALUE] [[ENV_VAR=VALUE]...] [[-jruby-option]...] (application.rb or task[task_args]) [[application2.rb]...]
Expand Down
2 changes: 1 addition & 1 deletion RUBY_VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
jruby-9.3.8.0
jruby-9.3.10.0
3 changes: 3 additions & 0 deletions TODO.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ Here is a list of tasks to do (moved to [CHANGELOG.md](CHANGELOG.md) once done).

## Next

- Provide a method on any custom widget to instantly access its parent custom widget without using `get_data` or `data` because it is obscure
- Remove extra line after `body {}` in scaffolded custom widgets/shells/shapes
- Refactor Meta-Sample to pull in remote video tutorial data in a separate thread
- Fix `moveable`/`resizable` attributes for `table_column` (they don't work as they should)
- Support `-s`/`-S` `glimmer` command switch to enable running a glimmer script with `glimmer-dsl-swt` required and `Glimmer` module mixed into main object already.
Expand Down Expand Up @@ -113,6 +115,7 @@ composite {
- Fix intermittent slowdown issue with closing Mandelbrot Fractal sample (only happens after keeping it open for a while, complains about threads)
- Support `square` and `circle` shapes (as well as any other missing shapes like polybezier/polyquad)
- Support setting both background and foreground on shapes causing a fill/draw of two shapes (one with background and one with foreground) (remove support of gradients via specifying both background/foreground in rectangles)
- Support background_pattern gradiant data-binding
- Improve Contact Manager elaborate sample to add/remove/clear contacts, add phone and address, and store contacts permanently on hard drive.
- Auto-derive column properties from column names (by convention through dehumanize of each column name)
- Support data-binding `_options` method items on list and combo (not just main value), thus making options update if `notify_observers(:some_attr_options)` is called)
Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
4.26.0.1
4.27.0.0
Binary file modified glimmer-dsl-swt.gemspec
Binary file not shown.
Binary file modified vendor/swt/linux/swt.jar
Binary file not shown.
Binary file modified vendor/swt/linux_aarch64/swt.jar
Binary file not shown.
Binary file modified vendor/swt/mac/swt.jar
Binary file not shown.
Binary file modified vendor/swt/mac_aarch64/swt.jar
Binary file not shown.
Binary file modified vendor/swt/windows/swt.jar
Binary file not shown.

0 comments on commit 344439e

Please sign in to comment.