Saturday, July 11, 2020

Friday, July 10, 2020

Glimmer DSL for SWT 0.2.1 JRuby 9.2.12.0 Support

Glimmer DSL for SWT 0.2.1 (Ruby Desktop Development GUI Library) has been released with support for the latest JRuby 9.2.12.0. More details can be found in the Change Log.

In other related news, I've been asked to build a Mac App for displaying at-a-glance project progress for a list of tasks.

The tool is called "Are We There Yet?":
https://github.com/AndyObtiva/are-we-there-yet

Thanks to Glimmer, I've been able to prototype in 1 day only and come up with this:

Here are the steps I followed:

And voila!

Of course, that is only a prototype. More work needs to be done before it is finished, but not bad for a quick start, right!?

Happy Glimmering!


Tuesday, July 07, 2020

Monday, July 06, 2020

Opal-jQuery OSS Contribution

Just wanted to share some good news. A recent open-source contribution I made to the opal-jquery rubygem got accepted:

https://github.com/opal/opal-jquery/pull/110

opal-jquery allows using jQuery in Opal Ruby.

Below is a quick introduction. Enjoy!


Monday, June 29, 2020

Glimmer 0.9.3 & Glimmer DSL for SWT 0.1.3 Improved Drag and Drop

Glimmer 0.9.3 and Glimmer DSL for SWT 0.1.3 have shipped!

Glimmer Drag and Drop has been simplified a bit by making the `transfer` property for `drag_source` and `drop_target` take a Ruby symbol such as `:text`

Also, a new `hello_drag_and_drop.rb` sample has been added.



Another Glimmer sample that got added is `hello_message_box`.



Drag and Drop and Message Box instructions are below. Happy Glimmering!


Friday, June 26, 2020

Glimmer DSL for Opal 0.0.8 Table Data-Binding Support

Glimmer DSL for Opal 0.0.8 ships with one of the most important features for business applications: table data-binding support, including selection, sorting, and editing. It does so as part of supporting the very last sample Glimmer had for SWT: Contact Manager.


Monday, June 22, 2020

Opal-Async Gem Maintenance Going Forward

Benjamin Titcomb has created a great gem for opal called opal-async. It provides async non-blocking capabilities for tasks and enumerators as well as timeouts, countdowns, and intervals in Opal Ruby. I recently used inside glimmer-dsl-opal to support the Glimmer message_box and async_exec keywords used in the Tic Tac Toe sample. Before using, I had to fix a very minor module namespace issue and publish officially on rubygems (used to be a GitHub gem only): https://rubygems.org/gems/opal-async

Otherwise, Benjamin transferred ownership of opal-async on GitHub to me, so I am the new maintainer of the opal-async gem going forward. Please report to me any issues you may encounter with it.

Below is an overview of what it does taken from its GitHub page.