patches: fix MRC build — add @synthesize for spanLabel/spanValue

This commit is contained in:
2026-02-27 22:25:36 +01:00
parent d408a542e5
commit b002d3004a

View File

@@ -91,8 +91,8 @@ Lisp calls, read only immutable NSString and scalar cache).
--- ---
etc/NEWS | 13 + etc/NEWS | 13 +
src/nsterm.h | 119 ++ src/nsterm.h | 119 ++
src/nsterm.m | 3024 +++++++++++++++++++++++++++++++++++++++++++++++--- src/nsterm.m | 3026 +++++++++++++++++++++++++++++++++++++++++++++++---
3 files changed, 3009 insertions(+), 147 deletions(-) 3 files changed, 3011 insertions(+), 147 deletions(-)
diff --git a/etc/NEWS b/etc/NEWS diff --git a/etc/NEWS b/etc/NEWS
index 7367e3c..608650e 100644 index 7367e3c..608650e 100644
@@ -330,7 +330,7 @@ index 932d209..6b27c6c 100644
ns_focus (f, NULL, 0); ns_focus (f, NULL, 0);
NSGraphicsContext *ctx = [NSGraphicsContext currentContext]; NSGraphicsContext *ctx = [NSGraphicsContext currentContext];
@@ -6849,218 +6892,2522 @@ - (BOOL)fulfillService: (NSString *)name withArg: (NSString *)arg @@ -6849,218 +6892,2524 @@ - (BOOL)fulfillService: (NSString *)name withArg: (NSString *)arg
/* ========================================================================== /* ==========================================================================
@@ -1158,6 +1158,8 @@ index 932d209..6b27c6c 100644
+} +}
+ +
+@implementation EmacsAccessibilityInteractiveSpan +@implementation EmacsAccessibilityInteractiveSpan
+@synthesize spanLabel;
+@synthesize spanValue;
+ +
+- (void)dealloc +- (void)dealloc
+{ +{
@@ -3000,7 +3002,7 @@ index 932d209..6b27c6c 100644
int code; int code;
unsigned fnKeysym = 0; unsigned fnKeysym = 0;
static NSMutableArray *nsEvArray; static NSMutableArray *nsEvArray;
@@ -8237,6 +10584,32 @@ - (void)windowDidBecomeKey /* for direct calls */ @@ -8237,6 +10586,32 @@ - (void)windowDidBecomeKey /* for direct calls */
XSETFRAME (event.frame_or_window, emacsframe); XSETFRAME (event.frame_or_window, emacsframe);
kbd_buffer_store_event (&event); kbd_buffer_store_event (&event);
ns_send_appdefined (-1); // Kick main loop ns_send_appdefined (-1); // Kick main loop
@@ -3033,7 +3035,7 @@ index 932d209..6b27c6c 100644
} }
@@ -9474,6 +11847,332 @@ - (int) fullscreenState @@ -9474,6 +11849,332 @@ - (int) fullscreenState
return fs_state; return fs_state;
} }
@@ -3366,7 +3368,7 @@ index 932d209..6b27c6c 100644
@end /* EmacsView */ @end /* EmacsView */
@@ -11303,6 +14002,28 @@ Convert an X font name (XLFD) to an NS font name. @@ -11303,6 +14004,28 @@ Convert an X font name (XLFD) to an NS font name.
DEFSYM (Qns_drag_operation_generic, "ns-drag-operation-generic"); DEFSYM (Qns_drag_operation_generic, "ns-drag-operation-generic");
DEFSYM (Qns_handle_drag_motion, "ns-handle-drag-motion"); DEFSYM (Qns_handle_drag_motion, "ns-handle-drag-motion");
@@ -3395,7 +3397,7 @@ index 932d209..6b27c6c 100644
Fput (Qalt, Qmodifier_value, make_fixnum (alt_modifier)); Fput (Qalt, Qmodifier_value, make_fixnum (alt_modifier));
Fput (Qhyper, Qmodifier_value, make_fixnum (hyper_modifier)); Fput (Qhyper, Qmodifier_value, make_fixnum (hyper_modifier));
Fput (Qmeta, Qmodifier_value, make_fixnum (meta_modifier)); Fput (Qmeta, Qmodifier_value, make_fixnum (meta_modifier));
@@ -11451,6 +14172,15 @@ Nil means use fullscreen the old (< 10.7) way. The old way works better with @@ -11451,7 +14174,15 @@ Nil means use fullscreen the old (< 10.7) way. The old way works better with
This variable is ignored on Mac OS X < 10.7 and GNUstep. */); This variable is ignored on Mac OS X < 10.7 and GNUstep. */);
ns_use_srgb_colorspace = YES; ns_use_srgb_colorspace = YES;