[Vm-dev] [OpenSmalltalk/opensmalltalk-vm] 231a17: When used with SDL, the events in the main VM wind...

GitHub noreply at github.com
Tue Jan 22 22:21:27 UTC 2019


  Branch: refs/heads/Cog
  Home:   https://github.com/OpenSmalltalk/opensmalltalk-vm
  Commit: 231a175ea3c833543bbe77e0edc5b0c1ee245b58
      https://github.com/OpenSmalltalk/opensmalltalk-vm/commit/231a175ea3c833543bbe77e0edc5b0c1ee245b58
  Author: Pablo Tesone <tesonep at gmail.com>
  Date:   2019-01-22 (Tue, 22 Jan 2019)

  Changed paths:
    M platforms/win32/vm/sqWin32Window.c

  Log Message:
  -----------
  When used with SDL, the events in the main VM windows are not properly handled.
SDL has its own GetMessage / DispatchMessage loop.
The VM implemnetation was expecting to have a pointer to the message read from GetMessage. Stored in the variable lastMessage.
This variable is Null when the GetMessage is executed by SDL.
So, I have modified the process to recreate the MSG from the information provided by the Window Callback Arguments.


  Commit: eedd22e8bebab3b17878f19a41b594b49e78212d
      https://github.com/OpenSmalltalk/opensmalltalk-vm/commit/eedd22e8bebab3b17878f19a41b594b49e78212d
  Author: Eliot Miranda <eliot.miranda at gmail.com>
  Date:   2019-01-22 (Tue, 22 Jan 2019)

  Changed paths:
    M platforms/win32/vm/sqWin32Window.c

  Log Message:
  -----------
  Merge pull request #358 from tesonep/Cog

Win32 Events when using SDL


Compare: https://github.com/OpenSmalltalk/opensmalltalk-vm/compare/f4721045b9b5...eedd22e8beba
      **NOTE:** This service has been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/

      Functionality will be removed from GitHub.com on January 31st, 2019.


More information about the Vm-dev mailing list