[Vm-dev] Passed: OpenSmalltalk/opensmalltalk-vm#1901 (Cog - f219b72)

Travis CI builds at travis-ci.org
Tue Dec 31 17:38:10 UTC 2019

Build Update for OpenSmalltalk/opensmalltalk-vm

Build: #1901
Status: Passed

Duration: 1 hr, 27 mins, and 57 secs
Commit: f219b72 (Cog)
Author: Nicolas Cellier
Message: Fix the sign of x wheel events in OSX to be inline with "natural scrolling" preference.

- The VM should generate positive deltaX for Left to Right trackpad motion
- The VM should generate positive deltaY for Bottom to Up trackpad motion

For historical reasons, if VM does not send mouse wheel events, but fake keyboard arrow events, then:

- The VM should generate a left arrow key for Left to Right trackpad motion
- The VM should generate a bottom arrow key for Bottom to Up trackpad motion

Not that the preferred direction preference of OSX is taken into account by the VM
See https://developer.apple.com/documentation/appkit/nsevent/1525151-isdirectioninvertedfromdevice
Above description is for "natural scrolling" preference (the trackpad does drag the screen contents).
It will be inverted if the preference is unset (the trackpad does drag the scroll bar).

Note that the `isFlipped` method of the Cocoa/Quartz view presumably ha an impact on sign of vertical motions
See https://developer.apple.com/documentation/appkit/nsview/1483532-isflipped
OpenSmalltalk VM does use isFlipped YES.

View the changeset: https://github.com/OpenSmalltalk/opensmalltalk-vm/compare/9f4fae8b5bca...f219b7218fad

View the full build log and details: https://travis-ci.org/OpenSmalltalk/opensmalltalk-vm/builds/631316227?utm_medium=notification&utm_source=email


You can unsubscribe from build emails from the OpenSmalltalk/opensmalltalk-vm repository going to https://travis-ci.org/account/preferences/unsubscribe?repository=8795279&utm_medium=notification&utm_source=email.
Or unsubscribe from *all* email updating your settings at https://travis-ci.org/account/preferences/unsubscribe?utm_medium=notification&utm_source=email.
Or configure specific recipients for build notifications in your .travis.yml file. See https://docs.travis-ci.com/user/notifications.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/vm-dev/attachments/20191231/ebda9fa5/attachment.html>

More information about the Vm-dev mailing list