[Vm-dev] [OpenSmalltalk/opensmalltalk-vm] d7ac40: Command-line tools for Xcode have different SDK path

Tobias Pape noreply at github.com
Thu Apr 7 12:46:33 UTC 2022


  Branch: refs/heads/krono/highdpi-v2
  Home:   https://github.com/OpenSmalltalk/opensmalltalk-vm
  Commit: d7ac40223f2cb7e60f4a96e32bdb06fd5b3a4592
      https://github.com/OpenSmalltalk/opensmalltalk-vm/commit/d7ac40223f2cb7e60f4a96e32bdb06fd5b3a4592
  Author: Marcel Taeumel <marcel.taeumel at hpi.de>
  Date:   2022-03-22 (Tue, 22 Mar 2022)

  Changed paths:
    M .gitignore
    M building/macos64ARMv8/common/Makefile.flags

  Log Message:
  -----------
  Command-line tools for Xcode have different SDK path


  Commit: beedf7902c7da1dadb6366fdb4a6208103d3ca5b
      https://github.com/OpenSmalltalk/opensmalltalk-vm/commit/beedf7902c7da1dadb6366fdb4a6208103d3ca5b
  Author: Marcel Taeumel <marcel.taeumel at hpi.de>
  Date:   2022-03-23 (Wed, 23 Mar 2022)

  Changed paths:
    M building/macos64ARMv8/common/Makefile.flags
    M platforms/iOS/vm/Common/Classes/sqSqueakScreenAndWindow.m
    M platforms/iOS/vm/OSX/Newspeak-Info.plist
    M platforms/iOS/vm/OSX/Pharo-Info.plist
    M platforms/iOS/vm/OSX/Squeak-Info.plist
    M platforms/iOS/vm/OSX/sqSqueakOSXApplication+events.m
    M platforms/iOS/vm/OSX/sqSqueakOSXMetalView.m
    M platforms/iOS/vm/OSX/sqSqueakOSXView.h
    M platforms/iOS/vm/iPhone/Classes/SqueakUIView.h
    M platforms/iOS/vm/iPhone/Classes/SqueakUIView.m

  Log Message:
  -----------
  Extracting directly from krono/highdpi-v2, fixes high-resolution scaling for Metal backend.


  Commit: 220f91c6de598f069d1070f6408f721526298d3f
      https://github.com/OpenSmalltalk/opensmalltalk-vm/commit/220f91c6de598f069d1070f6408f721526298d3f
  Author: Marcel Taeumel <marcel.taeumel at hpi.de>
  Date:   2022-03-23 (Wed, 23 Mar 2022)

  Changed paths:
    M platforms/iOS/plugins/HostWindowPlugin/sqMacHostWindow.m
    M platforms/iOS/vm/OSX/SqueakOSXAppDelegate.m
    M platforms/iOS/vm/OSX/plugins/HostWindowPlugin/sqMacHostWindow.m

  Log Message:
  -----------
  For macOS platform, fixes high-resolution scaling when (1) reading prior display extent from image and (2) setting new extent via HostWindowPlugin.


  Commit: 2dde6de7a161ace4c8c4ef78bea0f8208c4bfc0d
      https://github.com/OpenSmalltalk/opensmalltalk-vm/commit/2dde6de7a161ace4c8c4ef78bea0f8208c4bfc0d
  Author: Marcel Taeumel <marcel.taeumel at hpi.de>
  Date:   2022-03-24 (Thu, 24 Mar 2022)

  Changed paths:
    M platforms/iOS/vm/OSX/sqSqueakOSXCGView.m
    M platforms/iOS/vm/OSX/sqSqueakOSXOpenGLView.h
    M platforms/iOS/vm/OSX/sqSqueakOSXOpenGLView.m

  Log Message:
  -----------
  Extracting directly from krono/highdpi-v2, fixes high-resolution scaling for both OpenGL and CoreGraphics backends. Note that the CoreGraphics backend is still kind of broken and should not be used on macOS 10.15.x or 11.x.x.


  Commit: fe9c1034af2d27029444e486f520bafe7e6edf30
      https://github.com/OpenSmalltalk/opensmalltalk-vm/commit/fe9c1034af2d27029444e486f520bafe7e6edf30
  Author: Marcel Taeumel <marcel.taeumel at hpi.de>
  Date:   2022-03-24 (Thu, 24 Mar 2022)

  Changed paths:
    M platforms/iOS/vm/OSX/sqSqueakOSXOpenGLView.m

  Log Message:
  -----------
  Fixes initial screen refresh for macOS OpenGL backend when using high-resolution mode. Only applies to macOS 10.x.x because OpenGL support was dropped starting with macOS 11.x.x.


  Commit: c119f5bf8d26ef0a41936512baaf36689931731d
      https://github.com/OpenSmalltalk/opensmalltalk-vm/commit/c119f5bf8d26ef0a41936512baaf36689931731d
  Author: Marcel Taeumel <marcel.taeumel at hpi.de>
  Date:   2022-03-25 (Fri, 25 Mar 2022)

  Changed paths:
    M platforms/iOS/vm/OSX/sqSqueakOSXApplication+events.m
    M platforms/iOS/vm/OSX/sqSqueakOSXCGView.m
    M platforms/iOS/vm/OSX/sqSqueakOSXMetalView.m
    M platforms/iOS/vm/OSX/sqSqueakOSXOpenGLView.h
    M platforms/iOS/vm/OSX/sqSqueakOSXOpenGLView.m
    M platforms/iOS/vm/OSX/sqSqueakOSXView.h
    M platforms/iOS/vm/iPhone/Classes/SqueakUIView.h
    M platforms/iOS/vm/iPhone/Classes/SqueakUIView.m

  Log Message:
  -----------
  For macOS platform, fixes drag-and-drop for high-resolution mode. Note that this change also makes the dragged file names/urls accessible directly after drag-enter, not just when letting go of the mouse button. Thus, the image can now show the dragged file names early on. The macOS dragging cursor is still visible though.


  Commit: 68343d42632824620b262941f99506dfbf2c7b88
      https://github.com/OpenSmalltalk/opensmalltalk-vm/commit/68343d42632824620b262941f99506dfbf2c7b88
  Author: Marcel Taeumel <marcel.taeumel at hpi.de>
  Date:   2022-03-25 (Fri, 25 Mar 2022)

  Changed paths:
    M platforms/iOS/vm/OSX/sqSqueakOSXCGView.m
    M platforms/iOS/vm/OSX/sqSqueakOSXMetalView.m
    M platforms/iOS/vm/OSX/sqSqueakOSXOpenGLView.m

  Log Message:
  -----------
  For macOS platform, fixes mouse tracking (entered, exited, moved), which got lost since macOS 10.5 where NSTrackingArea was introduced.


  Commit: 0fff8c345f3da3d972cd49018ec1b82f6e2c7433
      https://github.com/OpenSmalltalk/opensmalltalk-vm/commit/0fff8c345f3da3d972cd49018ec1b82f6e2c7433
  Author: Marcel Taeumel <marcel.taeumel at hpi.de>
  Date:   2022-03-28 (Mon, 28 Mar 2022)

  Changed paths:
    M platforms/iOS/vm/OSX/sqSqueakOSXCGView.h
    M platforms/iOS/vm/OSX/sqSqueakOSXCGView.m
    M platforms/iOS/vm/OSX/sqSqueakOSXHeadlessView.h
    M platforms/iOS/vm/OSX/sqSqueakOSXHeadlessView.m
    M platforms/iOS/vm/OSX/sqSqueakOSXMetalView.h
    M platforms/iOS/vm/OSX/sqSqueakOSXMetalView.m
    M platforms/iOS/vm/OSX/sqSqueakOSXOpenGLView.h
    M platforms/iOS/vm/OSX/sqSqueakOSXOpenGLView.m
    M platforms/iOS/vm/OSX/sqSqueakOSXView.h

  Log Message:
  -----------
  For macOS platform, clean up code around mouse tracking. The flag NSTrackingInVisibleRect ensures that macOS will take care of resizing the tracking area when the window is resized.


  Commit: 1f5aee54d2d086d8ceaadebc6af23b8926cf0e7d
      https://github.com/OpenSmalltalk/opensmalltalk-vm/commit/1f5aee54d2d086d8ceaadebc6af23b8926cf0e7d
  Author: Marcel Taeumel <marcel.taeumel at hpi.de>
  Date:   2022-03-29 (Tue, 29 Mar 2022)

  Changed paths:
    M platforms/iOS/vm/OSX/Newspeak-Info.plist
    M platforms/iOS/vm/OSX/Pharo-Info.plist
    M platforms/iOS/vm/OSX/Squeak-Info.plist

  Log Message:
  -----------
  For macOS platform, explicitly allow "Open in low resolution" in case the default gets changed.


  Commit: 9a03134ac3d2b7b05a79e51d8c170d543269e24b
      https://github.com/OpenSmalltalk/opensmalltalk-vm/commit/9a03134ac3d2b7b05a79e51d8c170d543269e24b
  Author: Marcel Taeumel <marcel.taeumel at hpi.de>
  Date:   2022-03-29 (Tue, 29 Mar 2022)

  Changed paths:
    M platforms/iOS/vm/OSX/Newspeak-Info.plist
    M platforms/iOS/vm/OSX/Pharo-Info.plist
    M platforms/iOS/vm/OSX/Squeak-Info.plist

  Log Message:
  -----------
  Fix typo in previous commit. :-/


  Commit: d2ebcbc25a0deb8d0a58bbb998c48faf95c6d1fe
      https://github.com/OpenSmalltalk/opensmalltalk-vm/commit/d2ebcbc25a0deb8d0a58bbb998c48faf95c6d1fe
  Author: Marcel Taeumel <marcel.taeumel at hpi.de>
  Date:   2022-03-31 (Thu, 31 Mar 2022)

  Changed paths:
    M platforms/iOS/vm/OSX/sqSqueakOSXCGView.m

  Log Message:
  -----------
  For macOS platform, makes -core-graphics backend kind of usable again. There are still occasional segfaults that should be inspected. Also, the Smalltalk image must not rely on deferred updates in the VM but implement an extra composition buffer in the image. Squeak/Morph has #disableDeferredUpdates for this.


  Commit: ee7fec3e1a54294028eb12db89a98a084902be9b
      https://github.com/OpenSmalltalk/opensmalltalk-vm/commit/ee7fec3e1a54294028eb12db89a98a084902be9b
  Author: Marcel Taeumel <marcel.taeumel at hpi.de>
  Date:   2022-03-31 (Thu, 31 Mar 2022)

  Changed paths:
    M platforms/iOS/vm/OSX/sqSqueakOSXOpenGLView.m

  Log Message:
  -----------
  For macOS platform, disable vsync for -opengl backend to not slow down the VM interpreter loop.


  Commit: 34c0321b1ec07e1650ea4f6cae048f003657c863
      https://github.com/OpenSmalltalk/opensmalltalk-vm/commit/34c0321b1ec07e1650ea4f6cae048f003657c863
  Author: Marcel Taeumel <marcel.taeumel at hpi.de>
  Date:   2022-03-31 (Thu, 31 Mar 2022)

  Changed paths:
    M platforms/iOS/vm/OSX/sqSqueakOSXMetalView.m

  Log Message:
  -----------
  For macOS platform, disable vsync for -metal backend to not slow down the VM interpreter loop.

NOTE THAT we now have sporadic segfaults as with the -core-graphics backend. There is a @synchronized missing somewhere. I suspect something around input events bc. the crashes always happen after a mouse click...


  Commit: dd4011712ace52c0446580fc3ed9988007577fea
      https://github.com/OpenSmalltalk/opensmalltalk-vm/commit/dd4011712ace52c0446580fc3ed9988007577fea
  Author: Marcel Taeumel <marcel.taeumel at hpi.de>
  Date:   2022-03-31 (Thu, 31 Mar 2022)

  Changed paths:
    M platforms/iOS/vm/Common/Classes/sqSqueakEventsAPI.m

  Log Message:
  -----------
  For macOS platform, fixes the sporadic segfaults...

...that started to happen after the recent changes to both -metal and -core-graphics backends, which entailed a slight change in what is actually in the view's event loop. That is, we added "redraw" events to work around vsync limitations. See uses of setNeedsDisplayInRect:.

The solution was, apparently, that we must not call the ancient Carbon-style pumpRunLoop() but always do the modern pumping via pumpRunLoopEventSendAndSignal().

Still, one of the remaining issues is that, for example, Squeak's #disableDeferredUpdates does not work for MVC-style display, which relies on the #copyBits side effect of directly pushing the contents to the screen. I will think of something such as pumping events from within the image.


  Commit: cbc443d5288806d74750af799654e1de1e2d6713
      https://github.com/OpenSmalltalk/opensmalltalk-vm/commit/cbc443d5288806d74750af799654e1de1e2d6713
  Author: Marcel Taeumel <marcel.taeumel at hpi.de>
  Date:   2022-04-01 (Fri, 01 Apr 2022)

  Changed paths:
    M platforms/iOS/vm/Common/Classes/sqSqueakEventsAPI.m
    M platforms/iOS/vm/OSX/sqSqueakOSXMetalView.h
    M platforms/iOS/vm/OSX/sqSqueakOSXMetalView.m

  Log Message:
  -----------
  For macOS platform using -metal backend, do some code clean-up and add more commentary on where display events are generated to avoid slowing down the VM interpreter loop.


  Commit: e19cb0fcfc5ee389e5116226eda179ea6217421b
      https://github.com/OpenSmalltalk/opensmalltalk-vm/commit/e19cb0fcfc5ee389e5116226eda179ea6217421b
  Author: Marcel Taeumel <marcel.taeumel at hpi.de>
  Date:   2022-04-01 (Fri, 01 Apr 2022)

  Changed paths:
    M platforms/iOS/vm/OSX/sqSqueakOSXCGView.m

  Log Message:
  -----------
  For macOS platform using -core-graphics backend, initialize colorMap32 like we do for all supported backends, even though we don't seem to accept display depths other than 32-bit (BGRA) these days, although we could because we the color-mapping tables (1-to-32, 2-to-32, etc.) still present.


  Commit: ab7eaf0ec1fe0eb822ed4b25d3ef84a7b462b8eb
      https://github.com/OpenSmalltalk/opensmalltalk-vm/commit/ab7eaf0ec1fe0eb822ed4b25d3ef84a7b462b8eb
  Author: Marcel Taeumel <marcel.taeumel at hpi.de>
  Date:   2022-04-01 (Fri, 01 Apr 2022)

  Changed paths:
    M cmake/Zlib.cmake
    M third-party/zlib.spec

  Log Message:
  -----------
  Merge remote-tracking branch 'remotes/upstream/Cog' into marceltaeumel/high-resolution-fix


  Commit: 7cc38e3dd97b47dab102a509347972814729fa7b
      https://github.com/OpenSmalltalk/opensmalltalk-vm/commit/7cc38e3dd97b47dab102a509347972814729fa7b
  Author: Marcel Taeumel <marcel.taeumel at hpi.de>
  Date:   2022-04-04 (Mon, 04 Apr 2022)

  Changed paths:
    M platforms/Mac OS/vm/Developer/sqMacMinimal.c
    M platforms/Mac OS/vm/sqMacWindowUniversal.c
    M platforms/Plan9/vm/sqPlan9io.c
    M platforms/RiscOS/vm/sqRPCWindows.c
    M platforms/iOS/vm/Common/Classes/sqSqueakScreenAPI.m
    M platforms/iOS/vm/Common/Classes/sqSqueakScreenAndWindow.m
    M platforms/iOS/vm/OSX/sqSqueakMainApplication+screen.m
    M platforms/unix/vm-display-Quartz/sqUnixQuartz.m
    M platforms/unix/vm-display-Quartz/zzz/sqUnixQuartz.m
    M platforms/unix/vm-display-X11/sqUnixX11.c
    M platforms/unix/vm-display-custom/sqUnixCustomWindow.c
    M platforms/unix/vm-display-fbdev/sqUnixFBDev.c
    M platforms/unix/vm-display-null/sqUnixDisplayNull.c
    M platforms/win32/vm/sqWin32Window.c

  Log Message:
  -----------
  Merge remote-tracking branch 'remotes/upstream/Cog' into marceltaeumel/high-resolution-fix


  Commit: 5c61dbab183257e4f051c9fbc6b4b74097408d8c
      https://github.com/OpenSmalltalk/opensmalltalk-vm/commit/5c61dbab183257e4f051c9fbc6b4b74097408d8c
  Author: Marcel Taeumel <marcel.taeumel at hpi.de>
  Date:   2022-04-05 (Tue, 05 Apr 2022)

  Changed paths:
    M .gitignore
    M building/macos64ARMv8/common/Makefile.flags
    M platforms/iOS/plugins/HostWindowPlugin/sqMacHostWindow.m
    M platforms/iOS/vm/Common/Classes/sqSqueakEventsAPI.m
    M platforms/iOS/vm/Common/Classes/sqSqueakScreenAndWindow.m
    M platforms/iOS/vm/OSX/Newspeak-Info.plist
    M platforms/iOS/vm/OSX/Pharo-Info.plist
    M platforms/iOS/vm/OSX/Squeak-Info.plist
    M platforms/iOS/vm/OSX/SqueakOSXAppDelegate.m
    M platforms/iOS/vm/OSX/plugins/HostWindowPlugin/sqMacHostWindow.m
    M platforms/iOS/vm/OSX/sqSqueakOSXApplication+events.m
    M platforms/iOS/vm/OSX/sqSqueakOSXCGView.h
    M platforms/iOS/vm/OSX/sqSqueakOSXCGView.m
    M platforms/iOS/vm/OSX/sqSqueakOSXHeadlessView.h
    M platforms/iOS/vm/OSX/sqSqueakOSXHeadlessView.m
    M platforms/iOS/vm/OSX/sqSqueakOSXMetalView.h
    M platforms/iOS/vm/OSX/sqSqueakOSXMetalView.m
    M platforms/iOS/vm/OSX/sqSqueakOSXOpenGLView.h
    M platforms/iOS/vm/OSX/sqSqueakOSXOpenGLView.m
    M platforms/iOS/vm/OSX/sqSqueakOSXView.h
    M platforms/iOS/vm/iPhone/Classes/SqueakUIView.h
    M platforms/iOS/vm/iPhone/Classes/SqueakUIView.m

  Log Message:
  -----------
  Merge pull request #620 from marceltaeumel/marceltaeumel/high-resolution-fix

For macOS -metal -core-graphics -opengl backends, fixes several issues concerning performance and high-resolution


  Commit: d6c93011dafbf389ef7a9abebbd4649a1f1096c4
      https://github.com/OpenSmalltalk/opensmalltalk-vm/commit/d6c93011dafbf389ef7a9abebbd4649a1f1096c4
  Author: Marcel Taeumel <marcel.taeumel at hpi.de>
  Date:   2022-04-06 (Wed, 06 Apr 2022)

  Changed paths:
    M src/spur32.cog.newspeak/cogitARMv5.c
    M src/spur32.cog.newspeak/cogitIA32.c
    M src/spur32.cog.newspeak/cointerp.c
    M src/spur32.cog.newspeak/cointerp.h
    M src/spur32.cog.newspeak/gcc3x-cointerp.c
    M src/spur32.cog.newspeak/vmCallback.h
    M src/spur32.stack.newspeak/gcc3x-interp.c
    M src/spur32.stack.newspeak/interp.c
    M src/spur32.stack.newspeak/vmCallback.h
    M src/spur64.cog.newspeak/cogitARMv8.c
    M src/spur64.cog.newspeak/cogitX64SysV.c
    M src/spur64.cog.newspeak/cogitX64WIN64.c
    M src/spur64.cog.newspeak/cointerp.c
    M src/spur64.cog.newspeak/cointerp.h
    M src/spur64.cog.newspeak/gcc3x-cointerp.c
    M src/spur64.cog.newspeak/vmCallback.h
    M src/spur64.stack.newspeak/gcc3x-interp.c
    M src/spur64.stack.newspeak/interp.c
    M src/spur64.stack.newspeak/vmCallback.h

  Log Message:
  -----------
  Newspeak source as per VMMaker.oscog-mt.3175 [ci skip]


  Commit: 158fa56c20df4276a022410fb48637840e0eef6a
      https://github.com/OpenSmalltalk/opensmalltalk-vm/commit/158fa56c20df4276a022410fb48637840e0eef6a
  Author: Marcel Taeumel <marcel.taeumel at hpi.de>
  Date:   2022-04-06 (Wed, 06 Apr 2022)

  Changed paths:
    M src/v3.cog/cointerp.c
    M src/v3.cog/gcc3x-cointerp.c
    M src/v3.stack/gcc3x-interp.c
    M src/v3.stack/interp.c

  Log Message:
  -----------
  CogVM source as per VMMaker.oscog-mt.3176 [ci skip]


  Commit: 393ec68334b64b2fd1a476746d7648a0d8b5de6f
      https://github.com/OpenSmalltalk/opensmalltalk-vm/commit/393ec68334b64b2fd1a476746d7648a0d8b5de6f
  Author: Marcel Taeumel <marcel.taeumel at hpi.de>
  Date:   2022-04-06 (Wed, 06 Apr 2022)

  Changed paths:
    M src/spur32.cog.lowcode/cogitARMv5.c
    M src/spur32.cog.lowcode/cogitIA32.c
    M src/spur64.cog.lowcode/cogitARMv8.c
    M src/spur64.cog.lowcode/cogitX64SysV.c
    M src/spur64.cog.lowcode/cogitX64WIN64.c

  Log Message:
  -----------
  CogVM source as per VMMaker.oscog-mt.3177 [ci skip]


  Commit: ac5f9dcd6d11e328d80710192751eabc69a726e9
      https://github.com/OpenSmalltalk/opensmalltalk-vm/commit/ac5f9dcd6d11e328d80710192751eabc69a726e9
  Author: Tobias Pape <tobias at netshed.de>
  Date:   2022-04-07 (Thu, 07 Apr 2022)

  Changed paths:
    M .gitignore
    M building/macos64ARMv8/common/Makefile.flags
    M platforms/iOS/plugins/HostWindowPlugin/sqMacHostWindow.m
    M platforms/iOS/vm/Common/Classes/sqSqueakEventsAPI.m
    M platforms/iOS/vm/OSX/Newspeak-Info.plist
    M platforms/iOS/vm/OSX/Pharo-Info.plist
    M platforms/iOS/vm/OSX/Squeak-Info.plist
    M platforms/iOS/vm/OSX/SqueakOSXAppDelegate.m
    M platforms/iOS/vm/OSX/plugins/HostWindowPlugin/sqMacHostWindow.m
    M platforms/iOS/vm/OSX/sqSqueakOSXApplication+events.m
    M platforms/iOS/vm/OSX/sqSqueakOSXCGView.h
    M platforms/iOS/vm/OSX/sqSqueakOSXCGView.m
    M platforms/iOS/vm/OSX/sqSqueakOSXHeadlessView.h
    M platforms/iOS/vm/OSX/sqSqueakOSXHeadlessView.m
    M platforms/iOS/vm/OSX/sqSqueakOSXMetalView.h
    M platforms/iOS/vm/OSX/sqSqueakOSXMetalView.m
    M platforms/iOS/vm/OSX/sqSqueakOSXOpenGLView.h
    M platforms/iOS/vm/OSX/sqSqueakOSXOpenGLView.m
    M platforms/iOS/vm/OSX/sqSqueakOSXView.h
    M platforms/iOS/vm/iPhone/Classes/SqueakUIView.h
    M platforms/iOS/vm/iPhone/Classes/SqueakUIView.m
    M src/spur32.cog.lowcode/cogitARMv5.c
    M src/spur32.cog.lowcode/cogitIA32.c
    M src/spur32.cog.newspeak/cogitARMv5.c
    M src/spur32.cog.newspeak/cogitIA32.c
    M src/spur32.cog.newspeak/cointerp.c
    M src/spur32.cog.newspeak/cointerp.h
    M src/spur32.cog.newspeak/gcc3x-cointerp.c
    M src/spur32.cog.newspeak/vmCallback.h
    M src/spur32.stack.newspeak/gcc3x-interp.c
    M src/spur32.stack.newspeak/interp.c
    M src/spur32.stack.newspeak/vmCallback.h
    M src/spur64.cog.lowcode/cogitARMv8.c
    M src/spur64.cog.lowcode/cogitX64SysV.c
    M src/spur64.cog.lowcode/cogitX64WIN64.c
    M src/spur64.cog.newspeak/cogitARMv8.c
    M src/spur64.cog.newspeak/cogitX64SysV.c
    M src/spur64.cog.newspeak/cogitX64WIN64.c
    M src/spur64.cog.newspeak/cointerp.c
    M src/spur64.cog.newspeak/cointerp.h
    M src/spur64.cog.newspeak/gcc3x-cointerp.c
    M src/spur64.cog.newspeak/vmCallback.h
    M src/spur64.stack.newspeak/gcc3x-interp.c
    M src/spur64.stack.newspeak/interp.c
    M src/spur64.stack.newspeak/vmCallback.h
    M src/v3.cog/cointerp.c
    M src/v3.cog/gcc3x-cointerp.c
    M src/v3.stack/gcc3x-interp.c
    M src/v3.stack/interp.c

  Log Message:
  -----------
  Merge remote-tracking branch 'origin/Cog' into krono/highdpi-v2

* origin/Cog:
  CogVM source as per VMMaker.oscog-mt.3177 [ci skip]
  CogVM source as per VMMaker.oscog-mt.3176 [ci skip]
  Newspeak source as per VMMaker.oscog-mt.3175 [ci skip]
  For macOS platform using -core-graphics backend, initialize colorMap32 like we do for all supported backends, even though we don't seem to accept display depths other than 32-bit (BGRA) these days, although we could because we the color-mapping tables (1-to-32, 2-to-32, etc.) still present.
  For macOS platform using -metal backend, do some code clean-up and add more commentary on where display events are generated to avoid slowing down the VM interpreter loop.
  For macOS platform, fixes the sporadic segfaults...
  For macOS platform, disable vsync for -metal backend to not slow down the VM interpreter loop.
  For macOS platform, disable vsync for -opengl backend to not slow down the VM interpreter loop.
  For macOS platform, makes -core-graphics backend kind of usable again. There are still occasional segfaults that should be inspected. Also, the Smalltalk image must not rely on deferred updates in the VM but implement an extra composition buffer in the image. Squeak/Morph has #disableDeferredUpdates for this.
  Fix typo in previous commit. :-/
  For macOS platform, explicitly allow "Open in low resolution" in case the default gets changed.
  For macOS platform, clean up code around mouse tracking. The flag NSTrackingInVisibleRect ensures that macOS will take care of resizing the tracking area when the window is resized.
  For macOS platform, fixes mouse tracking (entered, exited, moved), which got lost since macOS 10.5 where NSTrackingArea was introduced.
  For macOS platform, fixes drag-and-drop for high-resolution mode. Note that this change also makes the dragged file names/urls accessible directly after drag-enter, not just when letting go of the mouse button. Thus, the image can now show the dragged file names early on. The macOS dragging cursor is still visible though.
  Fixes initial screen refresh for macOS OpenGL backend when using high-resolution mode. Only applies to macOS 10.x.x because OpenGL support was dropped starting with macOS 11.x.x.
  Extracting directly from krono/highdpi-v2, fixes high-resolution scaling for both OpenGL and CoreGraphics backends. Note that the CoreGraphics backend is still kind of broken and should not be used on macOS 10.15.x or 11.x.x.
  For macOS platform, fixes high-resolution scaling when (1) reading prior display extent from image and (2) setting new extent via HostWindowPlugin.
  Extracting directly from krono/highdpi-v2, fixes high-resolution scaling for Metal backend.
  Command-line tools for Xcode have different SDK path


Compare: https://github.com/OpenSmalltalk/opensmalltalk-vm/compare/e31e766c77a1...ac5f9dcd6d11


More information about the Vm-dev mailing list