unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Lars Ingebrigtsen <larsi@gnus.org>
To: Philipp <p.stephani2@gmail.com>
Cc: 33035@debbugs.gnu.org
Subject: bug#33035: 27.0.50; Deprecated macOS functions
Date: Sun, 16 Aug 2020 19:45:17 +0200	[thread overview]
Message-ID: <871rk6trgy.fsf@gnus.org> (raw)
In-Reply-To: <m2a7nhg8vm.fsf@gmail.com> (Philipp's message of "Sat, 13 Oct 2018 17:32:29 +0200")

Philipp <p.stephani2@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





  reply	other threads:[~2020-08-16 17:45 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-10-13 15:32 bug#33035: 27.0.50; Deprecated macOS functions Philipp
2020-08-16 17:45 ` Lars Ingebrigtsen [this message]
2021-01-10 13:25 ` Mattias Engdegård
2021-01-10 15:43   ` Alan Third
2021-01-10 16:22     ` Alan Third
2021-01-10 16:53       ` Mattias Engdegård
2021-01-18 12:03         ` Mattias Engdegård
2021-01-18 20:58           ` Alan Third
2021-01-10 16:22     ` Mattias Engdegård

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=871rk6trgy.fsf@gnus.org \
    --to=larsi@gnus.org \
    --cc=33035@debbugs.gnu.org \
    --cc=p.stephani2@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).