diff options
| author | Dan Nicolaescu | 2008-07-27 18:24:48 +0000 |
|---|---|---|
| committer | Dan Nicolaescu | 2008-07-27 18:24:48 +0000 |
| commit | 9e2a2647758db83b490e2993aa31cd4607305a82 (patch) | |
| tree | 9c3d41b47bcd316c60d56bef8d7fd32789e59411 /admin | |
| parent | 7f19297073b2dd6c28987bf5663933591f59e91e (diff) | |
| download | emacs-9e2a2647758db83b490e2993aa31cd4607305a82.tar.gz emacs-9e2a2647758db83b490e2993aa31cd4607305a82.zip | |
Remove support for Mac Carbon.
* mactoolbox.c:
* macterm.h:
* macterm.c:
* macselect.c:
* macmenu.c:
* macgui.h:
* macfns.c:
* mac.c: Remove file.
* s/darwin.h:
* m/intel386.h:
* xfaces.c:
* xdisp.c:
* window.c:
* tparam.c:
* termhooks.h:
* termcap.c:
* term.c:
* syssignal.h:
* sysselect.h:
* sysdep.c:
* process.c:
* lread.c:
* lisp.h:
* keyboard.c:
* image.c:
* fringe.c:
* frame.h:
* frame.c:
* fontset.c:
* font.h:
* font.c:
* fns.c:
* fileio.c:
* emacs.c:
* dispnew.c:
* dispextern.h:
* config.in:
* atimer.c:
* Makefile.in: Remove code for Carbon
* erc.el: Remove code for Carbon.
Remove support for Mac Carbon.
* term/mac-win.el: Remove file
* international/mule-cmds.el:
* version.el:
* startup.el:
* simple.el:
* mwheel.el:
* mouse.el:
* loadup.el:
* isearch.el:
* info.el:
* frame.el:
* faces.el:
* disp-table.el:
* cus-start.el:
* cus-face.el:
* cus-edit.el:
* Makefile.in: Remove code for Carbon.
Remove support for Mac Carbon.
* makefile.w32-in:
* emacsclient.c: Remove code for Carbon.
* PROBLEMS:
* MACHINES: Remove mentions of Mac Carbon.
* ns-emacs.texi:
* faq.texi: Remove mentions of Mac Carbon.
* os.texi:
* frames.texi:
* display.texi: Remove mentions of Mac Carbon.
* xresources.texi: Remove mentions of Mac Carbon.
* make-tarball.txt:
* admin.el:
* FOR-RELEASE:
* CPP-DEFINES: Remove mentions of Mac Carbon.
Remove support for Mac Carbon.
* mac: Remove directory.
* make-dist:
* configure.in:
* README:
* Makefile.in:
* INSTALL: Remove code for Carbon.
* configure: Regenerate.
Diffstat (limited to 'admin')
| -rw-r--r-- | admin/CPP-DEFINES | 5 | ||||
| -rw-r--r-- | admin/ChangeLog | 7 | ||||
| -rw-r--r-- | admin/FOR-RELEASE | 2 | ||||
| -rw-r--r-- | admin/admin.el | 59 | ||||
| -rw-r--r-- | admin/make-tarball.txt | 3 |
5 files changed, 11 insertions, 65 deletions
diff --git a/admin/CPP-DEFINES b/admin/CPP-DEFINES index 54aef9b1cf3..bbfdc59f16f 100644 --- a/admin/CPP-DEFINES +++ b/admin/CPP-DEFINES | |||
| @@ -3,8 +3,6 @@ of their use. Feel free to add more macros and more categories. | |||
| 3 | 3 | ||
| 4 | ** Distinguishing OSes ** | 4 | ** Distinguishing OSes ** |
| 5 | 5 | ||
| 6 | MAC_OS8 Compiling for Mac OS Classic (v8 or v9). No longer supported, all code using it can be removed. | ||
| 7 | MAC_OSX Compiling for Mac OS X. Not bare Darwin. | ||
| 8 | CYGWIN Compiling the Cygwin port. | 6 | CYGWIN Compiling the Cygwin port. |
| 9 | __CYGWIN__ Ditto | 7 | __CYGWIN__ Ditto |
| 10 | MSDOS Compiling the MS-DOS port. | 8 | MSDOS Compiling the MS-DOS port. |
| @@ -21,8 +19,6 @@ USE_LISP_UNION_TYPE Define it in lisp.h to make Lisp_Object be a union type inst | |||
| 21 | ** Distinguishing GUIs ** | 19 | ** Distinguishing GUIs ** |
| 22 | 20 | ||
| 23 | HAVE_NTGUI Use the native W32 GUI for windows, frames, menus&scrollbars. | 21 | HAVE_NTGUI Use the native W32 GUI for windows, frames, menus&scrollbars. |
| 24 | MAC_OS Compiling for the `mac' window-system. | ||
| 25 | HAVE_CARBON Compile support for the Carbon GUI. Requires MAC_OS? | ||
| 26 | HAVE_NS Use the NeXT/OpenStep/Cocoa UI under Mac OS X or GNUstep. | 22 | HAVE_NS Use the NeXT/OpenStep/Cocoa UI under Mac OS X or GNUstep. |
| 27 | NS_IMPL_GNUSTEP Compile support for GNUSTEP implementation of NS GUI API. | 23 | NS_IMPL_GNUSTEP Compile support for GNUSTEP implementation of NS GUI API. |
| 28 | NS_IMPL_COCOA Compile support for Cocoa (Apple) implementation of NS GUI API. | 24 | NS_IMPL_COCOA Compile support for Cocoa (Apple) implementation of NS GUI API. |
| @@ -38,7 +34,6 @@ USE_GTK Use the Gtk toolkit for menus&scrollbars. Requires HAVE_X11. | |||
| 38 | FRAME_TERMCAP_P A tty (character terminal) frame. | 34 | FRAME_TERMCAP_P A tty (character terminal) frame. |
| 39 | FRAME_X_P A frame on X Window system. | 35 | FRAME_X_P A frame on X Window system. |
| 40 | FRAME_MSDOS_P An MS-DOS frame (used only by the DOS port). | 36 | FRAME_MSDOS_P An MS-DOS frame (used only by the DOS port). |
| 41 | FRAME_MAC_P A Mac frame. | ||
| 42 | FRAME_W32_P A frame using native MS-Windows GUI. | 37 | FRAME_W32_P A frame using native MS-Windows GUI. |
| 43 | FRAME_WINDOW_P A GUI frame (like X, w32, etc.) | 38 | FRAME_WINDOW_P A GUI frame (like X, w32, etc.) |
| 44 | 39 | ||
diff --git a/admin/ChangeLog b/admin/ChangeLog index e3e8d86edb7..06ad75ce5e9 100644 --- a/admin/ChangeLog +++ b/admin/ChangeLog | |||
| @@ -1,3 +1,10 @@ | |||
| 1 | 2008-07-27 Dan Nicolaescu <dann@ics.uci.edu> | ||
| 2 | |||
| 3 | * make-tarball.txt: | ||
| 4 | * admin.el: | ||
| 5 | * FOR-RELEASE: | ||
| 6 | * CPP-DEFINES: Remove mentions of Mac Carbon. | ||
| 7 | |||
| 1 | 2008-07-16 Glenn Morris <rgm@gnu.org> | 8 | 2008-07-16 Glenn Morris <rgm@gnu.org> |
| 2 | 9 | ||
| 3 | * admin.el (set-version, set-copyright): Add nextstep/ files. | 10 | * admin.el (set-version, set-copyright): Add nextstep/ files. |
diff --git a/admin/FOR-RELEASE b/admin/FOR-RELEASE index 57e1163b7f4..3a37dc93a09 100644 --- a/admin/FOR-RELEASE +++ b/admin/FOR-RELEASE | |||
| @@ -125,6 +125,8 @@ http://lists.gnu.org/archive/html/emacs-devel/2007-10/msg00951.html | |||
| 125 | 125 | ||
| 126 | * DOCUMENTATION | 126 | * DOCUMENTATION |
| 127 | 127 | ||
| 128 | ** Verify if doc/emacs/macos.texi is still useful, remove it if it is not. | ||
| 129 | |||
| 128 | ** Document multi-tty features | 130 | ** Document multi-tty features |
| 129 | http://lists.gnu.org/archive/html/emacs-devel/2007-08/msg01639.html | 131 | http://lists.gnu.org/archive/html/emacs-devel/2007-08/msg01639.html |
| 130 | http://lists.gnu.org/archive/html/emacs-devel/2007-08/msg01602.html | 132 | http://lists.gnu.org/archive/html/emacs-devel/2007-08/msg01602.html |
diff --git a/admin/admin.el b/admin/admin.el index f1d1b308f88..26072ead86f 100644 --- a/admin/admin.el +++ b/admin/admin.el | |||
| @@ -123,43 +123,7 @@ Root must be the root of an Emacs source tree." | |||
| 123 | (set-version-in-file root "nt/emacs.rc" comma-space-version | 123 | (set-version-in-file root "nt/emacs.rc" comma-space-version |
| 124 | (rx (and "\"ProductVersion\"" (0+ space) ?, | 124 | (rx (and "\"ProductVersion\"" (0+ space) ?, |
| 125 | (0+ space) ?\" (submatch (1+ (in "0-9, "))) | 125 | (0+ space) ?\" (submatch (1+ (in "0-9, "))) |
| 126 | "\\0\""))) | 126 | "\\0\"")))) |
| 127 | ;; Some files in the "mac" subdirectory also contain the version | ||
| 128 | ;; number. | ||
| 129 | (set-version-in-file | ||
| 130 | root "mac/Emacs.app/Contents/Resources/English.lproj/InfoPlist.strings" | ||
| 131 | version (rx (and "CFBundleShortVersionString" (0+ space) ?= (0+ space) ?\" | ||
| 132 | (submatch (1+ (in "0-9.")))))) | ||
| 133 | (set-version-in-file | ||
| 134 | root "mac/Emacs.app/Contents/Resources/English.lproj/InfoPlist.strings" | ||
| 135 | version (rx (and "CFBundleGetInfoString" (0+ space) ?= (0+ space) ?\" | ||
| 136 | (submatch (1+ (in "0-9.")))))) | ||
| 137 | (set-version-in-file root "mac/src/Emacs.r" (car version-components) | ||
| 138 | (rx (and "GNU Emacs " (submatch (1+ (in "0-9"))) | ||
| 139 | " for Mac OS"))) | ||
| 140 | (set-version-in-file root "mac/src/Emacs.r" (car version-components) | ||
| 141 | (rx (and (submatch (1+ (in "0-9"))) (0+ space) ?\, | ||
| 142 | (0+ space) "/* Major revision in BCD */"))) | ||
| 143 | (set-version-in-file root "mac/src/Emacs.r" (cadr version-components) | ||
| 144 | (rx (and (submatch (1+ (in "0-9"))) (0+ space) ?\, | ||
| 145 | (0+ space) "/* Minor revision in BCD */"))) | ||
| 146 | (set-version-in-file root "mac/src/Emacs.r" (cadr (cdr version-components)) | ||
| 147 | (rx (and (submatch (1+ (in "0-9"))) (0+ space) ?\, | ||
| 148 | (0+ space) "/* Non-final release # */"))) | ||
| 149 | (set-version-in-file root "mac/src/Emacs.r" version | ||
| 150 | (rx (and (submatch (1+ (in "0-9."))) (0+ space) ?\" ?\, | ||
| 151 | (0+ space) "/* Short version number */"))) | ||
| 152 | (set-version-in-file root "mac/src/Emacs.r" version | ||
| 153 | (rx (and "/* Short version number */" (0+ space) ?\" | ||
| 154 | (submatch (1+ (in "0-9.")))))) | ||
| 155 | (let* ((third-component (string-to-number (cadr (cdr version-components)))) | ||
| 156 | (release (cond ((>= third-component 90) "alpha") | ||
| 157 | ((>= third-component 50) "development") | ||
| 158 | (t "final")))) | ||
| 159 | (set-version-in-file | ||
| 160 | root "mac/src/Emacs.r" release | ||
| 161 | (rx (and (submatch (1+ (in "a-z"))) (0+ space) ?\, (0+ space) | ||
| 162 | "/* development, alpha, beta, or final (release) */"))))) | ||
| 163 | ;; nextstep. | 127 | ;; nextstep. |
| 164 | (set-version-in-file | 128 | (set-version-in-file |
| 165 | root "nextstep/Cocoa/Emacs.base/Contents/Info.plist" | 129 | root "nextstep/Cocoa/Emacs.base/Contents/Info.plist" |
| @@ -211,29 +175,8 @@ Root must be the root of an Emacs source tree." | |||
| 211 | (set-version-in-file root "lib-src/rcs2log" copyright | 175 | (set-version-in-file root "lib-src/rcs2log" copyright |
| 212 | (rx (and "Copyright" (0+ space) ?= (0+ space) | 176 | (rx (and "Copyright" (0+ space) ?= (0+ space) |
| 213 | ?\' (submatch (1+ nonl))))) | 177 | ?\' (submatch (1+ nonl))))) |
| 214 | (set-version-in-file | ||
| 215 | root "mac/Emacs.app/Contents/Resources/English.lproj/InfoPlist.strings" | ||
| 216 | copyright (rx (and "CFBundleGetInfoString" (0+ space) ?= (0+ space) ?\" | ||
| 217 | (1+ anything) | ||
| 218 | (submatch "Copyright" (1+ (not (in ?\"))))))) | ||
| 219 | ;; This one is a nuisance, as it needs to be split over two lines. | 178 | ;; This one is a nuisance, as it needs to be split over two lines. |
| 220 | (string-match "\\(.*[0-9]\\{4\\} *\\)\\(.*\\)" copyright) | 179 | (string-match "\\(.*[0-9]\\{4\\} *\\)\\(.*\\)" copyright) |
| 221 | (let ((csign "\\0xa9") | ||
| 222 | (cyear (match-string 1 copyright)) ; "Copyright (C) 2007 " | ||
| 223 | (owner (match-string 2 copyright))) ; "Free Software Foundation, Inc." | ||
| 224 | (set-version-in-file root "mac/src/Emacs.r" | ||
| 225 | (regexp-quote | ||
| 226 | (replace-regexp-in-string "(C)" | ||
| 227 | (regexp-quote csign) cyear)) | ||
| 228 | (rx (and | ||
| 229 | (submatch "Copyright" (0+ space) (eval csign) | ||
| 230 | (0+ space) (= 4 num) | ||
| 231 | (0+ (not (in ?\")))) ?\"))) | ||
| 232 | (set-version-in-file root "mac/src/Emacs.r" owner | ||
| 233 | (rx (and ?\" | ||
| 234 | (submatch (1+ (not (in ?\")))) | ||
| 235 | ?\" (0+ space) | ||
| 236 | "/* Long version number */")))) | ||
| 237 | ;; nextstep. | 180 | ;; nextstep. |
| 238 | (set-version-in-file | 181 | (set-version-in-file |
| 239 | root "nextstep/Cocoa/Emacs.base/Contents/Info.plist" | 182 | root "nextstep/Cocoa/Emacs.base/Contents/Info.plist" |
diff --git a/admin/make-tarball.txt b/admin/make-tarball.txt index a5be0ca1d6f..4650c88cefd 100644 --- a/admin/make-tarball.txt +++ b/admin/make-tarball.txt | |||
| @@ -23,8 +23,7 @@ For each step, check for possible errors. | |||
| 23 | 23 | ||
| 24 | 6. Commit configure, README, doc/emacs/emacs.texi, | 24 | 6. Commit configure, README, doc/emacs/emacs.texi, |
| 25 | doc/lispref/elisp.texi, etc/AUTHORS, lisp/version.el, | 25 | doc/lispref/elisp.texi, etc/AUTHORS, lisp/version.el, |
| 26 | mac/Emacs.app/Contents/Resources/English.lproj/InfoPlist.strings, | 26 | nt/emacs.rc. Copy lisp/loaddefs.el to |
| 27 | mac/src/Emacs.r, nt/emacs.rc. Copy lisp/loaddefs.el to | ||
| 28 | lisp/ldefs-boot.el and commit lisp/ldefs-boot.el. For a release, | 27 | lisp/ldefs-boot.el and commit lisp/ldefs-boot.el. For a release, |
| 29 | also commit the ChangeLog files in all directories. | 28 | also commit the ChangeLog files in all directories. |
| 30 | 29 | ||