[PATCH v12 00/10] ui/cocoa: Use NSWindow's ability to resize

Akihiko Odaki posted 10 patches 2 months, 1 week ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20240224-cocoa-v12-0-e89f70bdda71@daynix.com
Maintainers: Peter Maydell <peter.maydell@linaro.org>, "Philippe Mathieu-Daudé" <philmd@linaro.org>, Akihiko Odaki <akihiko.odaki@daynix.com>, Gerd Hoffmann <kraxel@redhat.com>, "Marc-André Lureau" <marcandre.lureau@redhat.com>
ui/cocoa.m | 552 +++++++++++++++++++++++++++----------------------------------
1 file changed, 242 insertions(+), 310 deletions(-)
[PATCH v12 00/10] ui/cocoa: Use NSWindow's ability to resize
Posted by Akihiko Odaki 2 months, 1 week ago
V5 -> V6:
  Rebased.

Signed-off-by: Akihiko Odaki <akihiko.odaki@daynix.com>
---
Changes in v12:
- Extracted patches "ui/cocoa: Split [-QemuCocoaView handleEventLocked:]",
  "ui/cocoa: Immediately call [-QemuCocoaView handleMouseEvent:buttons:]" from
  "ui/cocoa: Release specific mouse buttons". (Peter Maydell)
- Changed the message of patch "ui/cocoa: Call console_select() with the BQL" to
  refer to [-QemuCocoaView displayConsole:]. (Peter Maydell)
- Added patch "ui/cocoa: Fix pause label coordinates".
- Added patch "ui/cocoa: Remove normalWindow".
- Removed [-QemuCocoaView fixZoomedFullScreenSize:], which turned out
  unnecessary.
- Simplified references to NSWindow.styleMask.
- Link to v11: https://lore.kernel.org/r/20240217-cocoa-v11-0-0a17a7e534d4@daynix.com

Changes in v11:
- Ensured to reflect screen size changes to bounds
- Link to v10: https://lore.kernel.org/r/20240214-cocoa-v10-0-c7ffe5d9f08a@daynix.com

Changes in v10:
- Removed relative mouse input scaling.
- Link to v9: https://lore.kernel.org/r/20240213-cocoa-v9-0-d5a5e1bf0490@daynix.com

Changes in v9:
- Split patch "ui/cocoa: Use NSWindow's ability to resize" into patches
  "ui/cocoa: Let the platform toggle fullscreen", "ui/cocoa: Make window
  resizable", "ui/cocoa: Call console_select() with the BQL".
- Added patch "ui/cocoa: Scale with NSView instead of Core Graphics".
- Rebased.
- Dropped Tested-by: from patch "ui/cocoa: Use NSWindow's ability to
  resize".
- Link to v8: https://lore.kernel.org/r/20231218-cocoa-v8-0-d7fad80c7ef6@daynix.com

Changes in v8:
- Split into three patches. (BALATON Zoltan)
- Removed negative full-screen conditions. (BALATON Zoltan)
- Converted a C++-style comment to C style.
- Link to v7: https://lore.kernel.org/r/20231217-cocoa-v7-1-6af21ef75680@daynix.com

Changes in v7:
- Fixed zoom-to-fit option. (Marek Glogowski)
- Link to v6: https://lore.kernel.org/r/20231211-cocoa-v6-1-49f3be0191f2@daynix.com

---
Akihiko Odaki (10):
      ui/cocoa: Split [-QemuCocoaView handleEventLocked:]
      ui/cocoa: Immediately call [-QemuCocoaView handleMouseEvent:buttons:]
      ui/cocoa: Release specific mouse buttons
      ui/cocoa: Scale with NSView instead of Core Graphics
      ui/cocoa: Fix pause label coordinates
      ui/cocoa: Let the platform toggle fullscreen
      ui/cocoa: Remove normalWindow
      ui/cocoa: Make window resizable
      ui/cocoa: Call console_select() with the BQL
      ui/cocoa: Remove stretch_video flag

 ui/cocoa.m | 552 +++++++++++++++++++++++++++----------------------------------
 1 file changed, 242 insertions(+), 310 deletions(-)
---
base-commit: 5005aed8a7e728d028efb40e243ecfc2b4f3df3a
change-id: 20231211-cocoa-576b8639e9bd

Best regards,
-- 
Akihiko Odaki <akihiko.odaki@daynix.com>
Re: [PATCH v12 00/10] ui/cocoa: Use NSWindow's ability to resize
Posted by Philippe Mathieu-Daudé 2 months ago
On 24/2/24 13:43, Akihiko Odaki wrote:

> Akihiko Odaki (10):
>        ui/cocoa: Split [-QemuCocoaView handleEventLocked:]
>        ui/cocoa: Immediately call [-QemuCocoaView handleMouseEvent:buttons:]
>        ui/cocoa: Release specific mouse buttons
>        ui/cocoa: Scale with NSView instead of Core Graphics
>        ui/cocoa: Fix pause label coordinates
>        ui/cocoa: Let the platform toggle fullscreen
>        ui/cocoa: Remove normalWindow
>        ui/cocoa: Make window resizable
>        ui/cocoa: Call console_select() with the BQL
>        ui/cocoa: Remove stretch_video flag

Series queued, thanks for all the people involved over
the various iterations!