Skip to contentSkip to conversation

ui/cocoa.m: Update to new DisplayChangeListener member names

PATCH Applied Peter Maydell 4 participants 8 messages Nov 2, 2012

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ui/cocoa.m: Update to new DisplayChangeListener member names

Commit a93a4a2 changed the names of some fields in DisplayChangeListener and broke compilation of the cocoa UI. Update to the new names.

---
 ui/cocoa.m | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
ui/cocoa.m +2 -2
index 2383646..87d2e44 100644
@@ -1017,8 +1017,8 @@ void cocoa_display_init(DisplayState *ds, int full_screen)
     dcl = g_malloc0(sizeof(DisplayChangeListener));
 
     // register vga output callbacks
-    dcl->dpy_update = cocoa_update;
-    dcl->dpy_resize = cocoa_resize;
+    dcl->dpy_gfx_update = cocoa_update;
+    dcl->dpy_gfx_resize = cocoa_resize;
     dcl->dpy_refresh = cocoa_refresh;
 
 	register_displaychangelistener(ds, dcl);
Signature · 1 line
1.7.11.4
Reviewed-by on v1 1/1
#2 lore raw
In reply to Peter Maydell

Am 02.11.2012 15:54, schrieb Peter Maydell:

Quoted 4 lines

Commit a93a4a2 changed the names of some fields in DisplayChangeListener and broke compilation of the cocoa UI. Update to the new names.

Peter, you didn't cc me - through whose queue is this supposed to go? I don't have any other Cocoa patches queued for v1.3.

Thanks,
Andreas

#3 lore raw
Quoted 10 lines · Andreas Färber

Am 02.11.2012 15:54, schrieb Peter Maydell:

Quoted 4 lines

Commit a93a4a2 changed the names of some fields in DisplayChangeListener and broke compilation of the cocoa UI. Update to the new names.

Peter, you didn't cc me - through whose queue is this supposed to go? I don't have any other Cocoa patches queued for v1.3.

Sorry, I forgot the cc. I don't care whose queue it goes through (I have no relevant queue myself).
(I have a philosophical preference for compile fixes being applied directly and quickly to master but my opinion on that matter is not particularly significant :-))

-- PMM

#4 lore raw

Hi,

Quoted 3 lines

(I have a philosophical preference for compile fixes being applied directly and quickly to master but my opinion on that matter is not particularly significant :-))

/me too. Build fixes should go in on the fast track. First because a broken build is annonying. Second because buildbots are less useful if builds are broken for longer periods.

One of the reasons I didn't notice the xenfb breakage was because the fedora build is broken for other reasons, so the buildbot doesn't came to the point where it tries to build xenfb.c and figures it doesn't.

Should we maybe agree on a special buildfix patch subject tag, so maintainers can easily filter and prioritize them?

cheers,
Gerd

#5 lore raw

Hi,

Am 02.11.2012 16:41, schrieb Gerd Hoffmann:

Quoted 7 lines
Quoted 3 lines

(I have a philosophical preference for compile fixes being applied directly and quickly to master but my opinion on that matter is not particularly significant :-))

/me too. Build fixes should go in on the fast track. First because a broken build is annonying. Second because buildbots are less useful if builds are broken for longer periods.

Fine with me, less work. We should cc a maintainer then. ;)

Quoted 6 lines

One of the reasons I didn't notice the xenfb breakage was because the fedora build is broken for other reasons, so the buildbot doesn't came to the point where it tries to build xenfb.c and figures it doesn't.

Should we maybe agree on a special buildfix patch subject tag, so maintainers can easily filter and prioritize them?

I used [PATCH buildfix] or so in the past.

Regards,
Andreas

#6 lore raw
Quoted 13 lines · Andreas Färber

Hi,

Am 02.11.2012 16:41, schrieb Gerd Hoffmann:

Quoted 7 lines
Quoted 3 lines

(I have a philosophical preference for compile fixes being applied directly and quickly to master but my opinion on that matter is not particularly significant :-))

/me too. Build fixes should go in on the fast track. First because a broken build is annonying. Second because buildbots are less useful if builds are broken for longer periods.

Fine with me, less work. We should cc a maintainer then. ;)

Quoted 8 lines
Quoted 6 lines

One of the reasons I didn't notice the xenfb breakage was because the fedora build is broken for other reasons, so the buildbot doesn't came to the point where it tries to build xenfb.c and figures it doesn't.

Should we maybe agree on a special buildfix patch subject tag, so maintainers can easily filter and prioritize them?

I used [PATCH buildfix] or so in the past.

Not all build errors are created equal.

It's impossible for me to build cocoa support without physical Apple hardware.

In this case, the cocoa maintainer (Andreas) should send an urgent pull request to ensure the patch is properly tested.

I'm applying right now, so no worries this time, but if you are a submaintainer, if there is something you consider urgent, you should send a pull request.

Regards,

Anthony Liguori

Quoted 3 lines

Regards,
Andreas

#7 lore raw
In reply to Peter Maydell
Quoted 4 lines · Peter Maydell

Commit a93a4a2 changed the names of some fields in DisplayChangeListener and broke compilation of the cocoa UI. Update to the new names.

Applied. Thanks.

Regards,

Anthony Liguori

Quoted 21 lines
---
 ui/cocoa.m | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
ui/cocoa.m +2 -2
index 2383646..87d2e44 100644
@@ -1017,8 +1017,8 @@ void cocoa_display_init(DisplayState *ds, int full_screen)
     dcl = g_malloc0(sizeof(DisplayChangeListener));
 
     // register vga output callbacks
-    dcl->dpy_update = cocoa_update;
-    dcl->dpy_resize = cocoa_resize;
+    dcl->dpy_gfx_update = cocoa_update;
+    dcl->dpy_gfx_resize = cocoa_resize;
     dcl->dpy_refresh = cocoa_refresh;
 
 	register_displaychangelistener(ds, dcl);
Signature · 1 line
1.7.11.4