glimmer-dsl-swt 4.20.13.3 → 4.20.13.4

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: a2334810c1c1fb86f4539f50c79e463c1574abab93c58300e7352c68b1a6b77a
4
- data.tar.gz: 8a64907ff1c3b7eabbd13e289fc7bb603886a9128981af6606082a323b31d952
3
+ metadata.gz: ae711a0eacc8c77e76d141a6eb1576b904aa95f6c3df8fa842fbec5f9c491a7a
4
+ data.tar.gz: e0784d7f5899ddf32bac4212432b0b118e579e989d8e6ad2565b7f9061d0b9b8
5
5
  SHA512:
6
- metadata.gz: 11fb6dea6fa4fdaccfde2ec485284a937eea521b7d41726b38c1e92cf098f2bd3d31ec739f5f1cf23f444df65983bea2a49b2dd2816d3dcc3f6a40720f8fc1a7
7
- data.tar.gz: 936aa733ded3e24d379ee2f0bff42ec0d49abf8410578ebb42b686481a25b820c3a52eaa4bf9680b983e92e92a197b1c53703c54d564ff798fa917ca9de34984
6
+ metadata.gz: c34d8c0ac635256a80f21bdf0c14b0235a13f8d14415227e16de24076d46eee269834ef9c1ec59dfa608e09c5b51534d2069f25c08e8f18c77e5c8c5707f0195
7
+ data.tar.gz: adae4e6f727036983b50a021fdd7401deed05227c8f32325fda605ceb046460cf6795326cb80715d45aa38abb891ae909a14c133e931196b1e100c733549ab82
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Change Log
2
2
 
3
+ ### 4.20.13.4
4
+
5
+ - Improved shape drag and drop checking for inclusion in drop target when there are multiple drop targets
6
+
3
7
  ### 4.20.13.3
4
8
 
5
9
  - Fix issue regarding `nil` calculated_width/calculated_height encountered in Shape#contain?
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.20.13.2
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.20.13.4
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)
@@ -15,7 +15,7 @@
15
15
  [<img src="https://covers.oreillystatic.com/images/9780596519650/lrg.jpg" width=105 /><br />
16
16
  Featured in JRuby Cookbook](http://shop.oreilly.com/product/9780596519650.do) and [Chalmers/Gothenburg University Software Engineering Master's Lecture Material](http://www.cse.chalmers.se/~bergert/slides/guest_lecture_DSLs.pdf)
17
17
 
18
- [Glimmer DSL for SWT](https://rubygems.org/gems/glimmer-dsl-swt) 4.20.13.2 includes [SWT 4.20](https://download.eclipse.org/eclipse/downloads/drops4/R-4.20-202106111600/), which was released on June 11, 2021. 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 now supports AARCH64 on Mac and Linux, but it is not fully tested in Glimmer DSL for SWT yet, so deem its support experimental for the time being without guarantees for functionality until declared otherwise (report any issues you may encounter).
18
+ [Glimmer DSL for SWT](https://rubygems.org/gems/glimmer-dsl-swt) 4.20.13.4 includes [SWT 4.20](https://download.eclipse.org/eclipse/downloads/drops4/R-4.20-202106111600/), which was released on June 11, 2021. 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 now supports AARCH64 on Mac and Linux, but it is not fully tested in Glimmer DSL for SWT yet, so deem its support experimental for the time being without guarantees for functionality until declared otherwise (report any issues you may encounter).
19
19
 
20
20
  **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 (keep in mind that it is still a beta, so default back to `bind` whenever needed).
21
21
 
@@ -326,7 +326,7 @@ jgem install glimmer-dsl-swt
326
326
 
327
327
  Or this command if you want a specific version:
328
328
  ```
329
- jgem install glimmer-dsl-swt -v 4.20.13.2
329
+ jgem install glimmer-dsl-swt -v 4.20.13.4
330
330
  ```
331
331
 
332
332
  `jgem` is JRuby's version of `gem` command.
@@ -354,7 +354,7 @@ Note: if you're using activerecord or activesupport, keep in mind that Glimmer u
354
354
 
355
355
  Add the following to `Gemfile`:
356
356
  ```
357
- gem 'glimmer-dsl-swt', '~> 4.20.13.2'
357
+ gem 'glimmer-dsl-swt', '~> 4.20.13.4'
358
358
  ```
359
359
 
360
360
  And, then run:
@@ -375,7 +375,7 @@ glimmer
375
375
  ```
376
376
 
377
377
  ```
378
- Glimmer (JRuby Desktop Development GUI Framework) - JRuby Gem: glimmer-dsl-swt v4.20.13.2
378
+ Glimmer (JRuby Desktop Development GUI Framework) - JRuby Gem: glimmer-dsl-swt v4.20.13.4
379
379
 
380
380
  Usage: glimmer [--bundler] [--pd] [--quiet] [--debug] [--log-level=VALUE] [[ENV_VAR=VALUE]...] [[-jruby-option]...] (application.rb or task[task_args]) [[application2.rb]...]
381
381
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 4.20.13.3
1
+ 4.20.13.4
Binary file
@@ -592,7 +592,7 @@ module Glimmer
592
592
  if observation_request == 'on_drop'
593
593
  Shape.drop_shapes << self
594
594
  handle_observation_request('on_mouse_up') do |event|
595
- if Shape.dragged_shape
595
+ if Shape.dragging && include_with_children?(event.x, event.y)
596
596
  drop_event = DropEvent.new(
597
597
  doit: true,
598
598
  dragged_shape: Shape.dragged_shape,
@@ -605,7 +605,7 @@ module Glimmer
605
605
  y: event.y
606
606
  )
607
607
  begin
608
- shape_block.call(drop_event)
608
+ block.call(drop_event)
609
609
  rescue => e
610
610
  Glimmer::Config.logger.error e.full_message
611
611
  ensure
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.20.13.3
4
+ version: 4.20.13.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andy Maleh
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-07-28 00:00:00.000000000 Z
11
+ date: 2021-07-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  requirement: !ruby/object:Gem::Requirement