]> git.ipfire.org Git - thirdparty/vim.git/commitdiff
patch 9.1.1727: Nextstep support still included v9.1.1727
authorDamien Lejay <damien@lejay.be>
Tue, 2 Sep 2025 17:18:21 +0000 (19:18 +0200)
committerChristian Brabandt <cb@256bit.org>
Tue, 2 Sep 2025 17:23:54 +0000 (19:23 +0200)
Problem:  Nextstep support still included
Solution: Deprecate Nextstep code and undef corresponding feature flag

closes: #18131

Signed-off-by: Damien Lejay <damien@lejay.be>
Signed-off-by: Christian Brabandt <cb@256bit.org>
runtime/doc/vi_diff.txt
src/version.c
src/vim.h

index 12ac3f65e53047610ab005f3ac5fed4506ab88ae..4053243bf933e0240cd25385df3e5becba3a4cd9 100644 (file)
@@ -1,4 +1,4 @@
-*vi_diff.txt*   For Vim version 9.1.  Last change: 2025 Aug 10
+*vi_diff.txt*   For Vim version 9.1.  Last change: 2025 Sep 02
 
 
                  VIM REFERENCE MANUAL    by Bram Moolenaar
@@ -1398,5 +1398,6 @@ MS-DOS:                           | support was dropped with v7.4.1399
 MS-Windows XP and Vista:       | support was dropped with v9.0.0496
 OS/2                           | support was dropped with v7.4.1008
 RISC OS:                       | support was dropped with v7.3.0187
+NextStep Systems               | support was deprecated with v9.1.1727
 
  vim:tw=78:ts=8:noet:ft=help:norl:
index ffa7bf10e416bf1b9897f4a2df7d4fe6ff967ce6..7221f48235198ccd1b55a8d48cb6dbf7d20e87ee 100644 (file)
@@ -724,6 +724,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    1727,
 /**/
     1726,
 /**/
index db5740deb85fa0c817583347f195175817bcc80d..609c05730e9ca611564b15ac90e3a0154ba38ef3 100644 (file)
--- a/src/vim.h
+++ b/src/vim.h
 #  error configure did not run properly.  Check auto/config.log.
 # endif
 
+/*
+ * NeXTSTEP / OPENSTEP support deprecation
+ *
+ * NeXT hardware was discontinued in 1993, and the last OPENSTEP release
+ * (4.2) shipped in 1996–1997. No known users remain today.
+ *
+ * To simplify maintenance, NeXT support is formally deprecated. If you hit
+ * this error, please report it to the Vim maintainers.
+ *
+ * This guard will be removed once the remaining NeXT-specific code paths
+ * are deleted in a future release.
+ */
+#if defined(NeXT) || defined(__NeXT__)
+# error "NeXTSTEP / OPENSTEP support has been deprecated."
+#endif
+
 # if (defined(__linux__) && !defined(__ANDROID__)) || defined(__CYGWIN__) || defined(__GNU__)
 // Needed for strptime().  Needs to be done early, since header files can
 // include other header files and end up including time.h, where these symbols