[Vm-dev] two small bugs (vm related)

Nicolai Hess nicolaihess at web.de
Sun Sep 13 20:23:42 UTC 2015


I am about to close some old mantis reports.

There are two issues related to the vm and easy to solve ( I think).

http://bugs.squeak.org/view.php?id=7265

0007265: Bug in Matrix2x3Plugin okayIntValue:
Method
okayIntValue: value
uses argument to compare with lower bound, m23ResultX for upper bound.

okayIntValue: value
    ^(value >= -1073741824 asFloat and:[m23ResultX <= 1073741823 asFloat])

should be:
okayIntValue: value
    ^(value >= -1073741824 asFloat and:[value <= 1073741823 asFloat])

I looked at the Matrix2x3Plugin code, and the wrong comparsion
is still there.


http://bugs.squeak.org/view.php?id=7756
0007756: InputSensor>>cursorPoint: uses primitive 91
(primitiveTestDisplayDepth)

Either we remove the code from InputSensor, or we add another
new primitive for setting the mouse cursor.
(Maybe we don't need this functionality or this is already possible with
the hostwindow plugin?)


nicolai
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/vm-dev/attachments/20150913/117bc08a/attachment.htm


More information about the Vm-dev mailing list