Hi all,
While playing with SDL on OSX we have noticed that the main window in the
VM is randomly eating events that belong to other windows. This happens
because we are consuming events regardless the window they come from.
The corresponding code is in the method pumpRunLoopEventSendAndSignal: in
https://github.com/OpenSmalltalk/opensmalltalk-vm/blob/Cog/platforms/iOS/vm…
I've playing around with making the VM consume only events that come from
its own window or from no window (window=null).
This seems to work correctly, and I've had run into no issues in the last
couple of hours.
I've also prepared a PR with the associated changes in here:
https://github.com/OpenSmalltalk/opensmalltalk-vm/pull/295.
I've put a guard so my code is only valid for PHAROVM builds, but I'd
gladly remove the guards if people think this is a good move for all the
community.
Thanks,
Guille
Hi All,
I'm looking at a bug with the Win64 FFI when there are more than four
arguments. The test functions are
in platforms/Cross/plugins/SqueakFFIPrims/sqFFITestFuncs.c and the SUnit
code is in FFI-Tests, e.g. on http://source.squeak.org/FFI. But
whereas sqFFITestFuncs.c already contains functions such as ffiTestInts8,
ffiTestFloats7, ffiTestFloats13, there are no test for these in FFI-Tests.
Can anyone point me to such tests, and/or commit them to FFI-Tests on
http://source.squeak.org/FFI?
AdvThanksance
_,,,^..^,,,_
best, Eliot