GNU bug report logs - #33035
27.0.50; Deprecated macOS functions

Previous Next

Package: emacs;

Reported by: Philipp <p.stephani2 <at> gmail.com>

Date: Sat, 13 Oct 2018 15:33:01 UTC

Severity: normal

Found in version 27.0.50

Done: Mattias EngdegÄrd <mattiase <at> acm.org>

Bug is archived. No further changes may be made.

Full log


Message #8 received at 33035 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Philipp <p.stephani2 <at> gmail.com>
Cc: 33035 <at> debbugs.gnu.org
Subject: Re: bug#33035: 27.0.50; Deprecated macOS functions
Date: Sun, 16 Aug 2020 19:45:17 +0200
Philipp <p.stephani2 <at> gmail.com> writes:

> A few functions and variables have been deprecated in macOS Mojave,
> these should be replaced or removed:

To replicate, I'm compiling Emacs 28 on Catalina (because I would assume
even more things have been deprecated there).

>   CC       nsterm.o
> nsterm.m:175:16: warning: 'colorUsingColorSpaceName:' is deprecated: first deprecated in macOS 10.14 - Use -colorUsingType: or -colorUsingColorSpace: instead
>       [-Wdeprecated-declarations]
>   return [self colorUsingColorSpaceName: NSCalibratedRGBColorSpace];
>                ^

This one is gone...

>   NSDisableScreenUpdates ();
>   ^

And this one.

>       [FRAME_NS_VIEW (f) scrollRect: src
>                          ^

Ditto.

> nsterm.m:5452:47: warning: 'NSStringPboardType' is deprecated: first deprecated in macOS 10.14 [-Wdeprecated-declarations]
>   ns_send_types = [[NSArray arrayWithObjects: NSStringPboardType, nil] retain];
>                                               ^~~~~~~~~~~~~~~~~~
>                                               NSPasteboardTypeString

Still present.

> nsterm.m:9027:10: warning: 'NSScrollerDecrementLine' is deprecated: first deprecated in macOS 10.14 [-Wdeprecated-declarations]
>     case NSScrollerDecrementLine:
>          ^

Gone.

> nsterm.m:9029:10: warning: 'NSScrollerIncrementLine' is deprecated: first deprecated in macOS 10.14 [-Wdeprecated-declarations]
>     case NSScrollerIncrementLine:

Ditto.

> nsmenu.m:670:25: warning: 'NSOnState' is deprecated: first deprecated in macOS 10.14 [-Wdeprecated-declarations]
>         [item setState: NSOnState];
>                         ^~~~~~~~~
>                         NSControlStateValueOn

And this.

So it's basically just the Pboard...  And this new one:

sxwidget.m:75:31: warning: 'plugInsEnabled' is deprecated: first deprecated in
      macOS 10.15 - Plug-ins are no longer supported
      [-Wdeprecated-declarations]
    configuration.preferences.plugInsEnabled = YES;
                              ^


-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




This bug report was last modified 4 years and 126 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.