aboutsummaryrefslogtreecommitdiffstats
path: root/mac
diff options
context:
space:
mode:
authorKaroly Lorentey2005-01-06 15:00:09 +0000
committerKaroly Lorentey2005-01-06 15:00:09 +0000
commit0feecea9fb7079a2c1fbfee32a992449a22cf478 (patch)
tree0826d68e3dc2ce370c7bd4dae7db3cffc3568321 /mac
parent17d51b68fb4e7da4f18eff72c589b7ffc4f9c22c (diff)
parent1a63439b34c3455a317feda5c271dfdb7af0296b (diff)
downloademacs-0feecea9fb7079a2c1fbfee32a992449a22cf478.tar.gz
emacs-0feecea9fb7079a2c1fbfee32a992449a22cf478.zip
Merged in changes from CVS trunk.
Patches applied: * miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-747 Update from CVS * miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-748 Update from CVS * miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-749 Update from CVS * miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-750 Merge from gnus--rel--5.10 * miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-751 Update from CVS * miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-752 Update from CVS * miles@gnu.org--gnu-2004/gnus--rel--5.10--patch-78 Merge from emacs--cvs-trunk--0 * miles@gnu.org--gnu-2004/gnus--rel--5.10--patch-79 Update from CVS * miles@gnu.org--gnu-2004/gnus--rel--5.10--patch-80 Update from CVS git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-278
Diffstat (limited to 'mac')
-rw-r--r--mac/ChangeLog21
-rw-r--r--mac/inc/config.h9
-rw-r--r--mac/inc/epaths.h5
-rw-r--r--mac/inc/m-mac.h5
-rw-r--r--mac/inc/s-mac.h14
-rw-r--r--mac/makefile.MPW45
6 files changed, 89 insertions, 10 deletions
diff --git a/mac/ChangeLog b/mac/ChangeLog
index 7283b3e2aed..a12d8bc4673 100644
--- a/mac/ChangeLog
+++ b/mac/ChangeLog
@@ -1,3 +1,24 @@
12004-12-24 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
2
3 * makefile.MPW: Add dependencies for fringe.c.x, image.c.x, and
4 lastfile.c.x.
5 (PPCCOptions): Add -alloca.
6 (EmacsObjects): Remove alloca.c.x. Add fringe.c.x, image.c.x, and
7 lastfile.c.x.
8 (Emacs MPW): Add QuickTimeLib.
9 (EmacsSource): Remove alloca.c. Add fringe.c, image.c, and
10 lastfile.c.
11 (LispSource): Fix pathnames for byte-run.elc, float-sup.elc, and
12 map-ynp.elc.
13 * inc/config.h (USE_LSB_TAG) [__MRC__]: Define.
14 (UNEXEC_SRC): Close comment.
15 * inc/epaths.h (PATH_BITMAPS, PATH_GAME): New defines.
16 * inc/m-mac.h (HAVE_ALLOCA) [__MRC__]: Define.
17 (C_ALLOCA) [__MRC__]: Don't define.
18 * inc/s-mac.h (X_OK): New define.
19 (DECL_ALIGN) [USE_LSB_TAG && __MRC__]: New macro.
20 (GC_MARK_STACK): Define to GC_MAKE_GCPROS_NOOPS.
21
12004-05-29 Steven Tamm <steventamm@mac.com> 222004-05-29 Steven Tamm <steventamm@mac.com>
2 23
3 * INSTALL: Fixing typos 24 * INSTALL: Fixing typos
diff --git a/mac/inc/config.h b/mac/inc/config.h
index b7257f35f35..859ef017bc6 100644
--- a/mac/inc/config.h
+++ b/mac/inc/config.h
@@ -261,7 +261,7 @@ Boston, MA 02111-1307, USA. */
261 261
262/* #undef CRAY_STACKSEG_END */ 262/* #undef CRAY_STACKSEG_END */
263 263
264/* #undef UNEXEC_SRC unexelf.c 264/* #undef UNEXEC_SRC */
265 265
266/* #undef HAVE_LIBXBSD */ 266/* #undef HAVE_LIBXBSD */
267/* #undef HAVE_XRMSETDATABASE */ 267/* #undef HAVE_XRMSETDATABASE */
@@ -367,6 +367,13 @@ Boston, MA 02111-1307, USA. */
367/* #undef _XOPEN_SOURCE */ 367/* #undef _XOPEN_SOURCE */
368 368
369#ifdef __MRC__ 369#ifdef __MRC__
370/* Use low-bits for tags. If ENABLE_CHECKING is turned on together
371 with USE_LSB_TAG, optimization flags should be explicitly turned
372 off. */
373#define USE_LSB_TAG
374#endif
375
376#ifdef __MRC__
370#define EMACS_CONFIGURATION "macos-mpw" 377#define EMACS_CONFIGURATION "macos-mpw"
371#else /* Assume CodeWarrior */ 378#else /* Assume CodeWarrior */
372#define EMACS_CONFIGURATION "macos-cw" 379#define EMACS_CONFIGURATION "macos-cw"
diff --git a/mac/inc/epaths.h b/mac/inc/epaths.h
index 8c9bbd2f8ba..96027388e3f 100644
--- a/mac/inc/epaths.h
+++ b/mac/inc/epaths.h
@@ -46,7 +46,7 @@ Boston, MA 02111-1307, USA. */
46 46
47/* Where Emacs should look for X bitmap files. 47/* Where Emacs should look for X bitmap files.
48 The lisp variable x-bitmap-file-path is set based on this value. */ 48 The lisp variable x-bitmap-file-path is set based on this value. */
49/* #define PATH_BITMAPS "/usr/include/X11/bitmaps" */ 49#define PATH_BITMAPS ""
50 50
51/* Where Emacs should look for its docstring file. The lisp variable 51/* Where Emacs should look for its docstring file. The lisp variable
52 doc-directory is set to this value. */ 52 doc-directory is set to this value. */
@@ -57,6 +57,9 @@ Boston, MA 02111-1307, USA. */
57 macro, and is then used to set the Info-default-directory-list. */ 57 macro, and is then used to set the Info-default-directory-list. */
58#define PATH_INFO "~emacs/info" 58#define PATH_INFO "~emacs/info"
59 59
60/* Where Emacs should store game score files. */
61#define PATH_GAME "~emacs/games"
62
60/* Where Emacs should look for the application default file. */ 63/* Where Emacs should look for the application default file. */
61/* #define PATH_X_DEFAULTS "/usr/lib/X11/%L/%T/%N%C%S:/usr/lib/X11/%l/%T/%N%C%S:/usr/lib/X11/%T/%N%C%S:/usr/lib/X11/%L/%T/%N%S:/usr/lib/X11/%l/%T/%N%S:/usr/lib/X11/%T/%N%S" */ 64/* #define PATH_X_DEFAULTS "/usr/lib/X11/%L/%T/%N%C%S:/usr/lib/X11/%l/%T/%N%C%S:/usr/lib/X11/%T/%N%C%S:/usr/lib/X11/%L/%T/%N%S:/usr/lib/X11/%l/%T/%N%S:/usr/lib/X11/%T/%N%S" */
62 65
diff --git a/mac/inc/m-mac.h b/mac/inc/m-mac.h
index f3f6f084b34..bb4011af4a6 100644
--- a/mac/inc/m-mac.h
+++ b/mac/inc/m-mac.h
@@ -87,8 +87,11 @@ Boston, MA 02111-1307, USA. */
87 Define neither one if an assembler-language alloca 87 Define neither one if an assembler-language alloca
88 in the file alloca.s should be used. */ 88 in the file alloca.s should be used. */
89 89
90#ifdef __MRC__
91#define HAVE_ALLOCA
92#else
90#define C_ALLOCA 93#define C_ALLOCA
91/* #define HAVE_ALLOCA */ 94#endif
92 95
93/* Define NO_REMAP if memory segmentation makes it not work well 96/* Define NO_REMAP if memory segmentation makes it not work well
94 to change the boundary between the text section and data section 97 to change the boundary between the text section and data section
diff --git a/mac/inc/s-mac.h b/mac/inc/s-mac.h
index c187944ae6b..2905692aac0 100644
--- a/mac/inc/s-mac.h
+++ b/mac/inc/s-mac.h
@@ -255,6 +255,10 @@ void read_input_waiting ();
255#include <unistd.h> 255#include <unistd.h>
256#endif 256#endif
257 257
258#ifndef X_OK
259#define X_OK 01
260#endif
261
258#undef unlink 262#undef unlink
259#define unlink sys_unlink 263#define unlink sys_unlink
260#undef read 264#undef read
@@ -319,5 +323,15 @@ extern double atof (const char *);
319 323
320#define SYMS_SYSTEM syms_of_mac() 324#define SYMS_SYSTEM syms_of_mac()
321 325
326#ifdef USE_LSB_TAG
327#ifdef __MRC__
328#define DECL_ALIGN(type, var) type var
329#endif
330#endif
331
332/* Use the GC_MAKE_GCPROS_NOOPS (see lisp.h) method for marking the
333 stack. */
334#define GC_MARK_STACK GC_MAKE_GCPROS_NOOPS
335
322/* arch-tag: 6a941c4b-a419-4d25-80ac-9335053e58b2 336/* arch-tag: 6a941c4b-a419-4d25-80ac-9335053e58b2
323 (do not change this comment) */ 337 (do not change this comment) */
diff --git a/mac/makefile.MPW b/mac/makefile.MPW
index a398f63a925..870052996b7 100644
--- a/mac/makefile.MPW
+++ b/mac/makefile.MPW
@@ -44,7 +44,7 @@ OptOption = # -opt speed # alternatively set to -opt off or -opt size
44 44
45# The -noMapCR options and the two -d's must not be removed. 45# The -noMapCR options and the two -d's must not be removed.
46 46
47PPCCOptions = {SymOption} {OptOption} -noMapCR -enum int ¶ 47PPCCOptions = {SymOption} {OptOption} -noMapCR -enum int -alloca
48 -typecheck relaxed -w off ¶ 48 -typecheck relaxed -w off ¶
49 -includes unix -i {Includes},{Src} ¶ 49 -includes unix -i {Includes},{Src} ¶
50 -d emacs=1 -d HAVE_CONFIG_H -d MAC_OS -d MAC_OS8 50 -d emacs=1 -d HAVE_CONFIG_H -d MAC_OS -d MAC_OS8
@@ -63,7 +63,6 @@ BLOCKINPUT_H_GROUP = "{Src}blockinput.h" "{Src}atimer.h" "{Src}systime.h" ¶
63EmacsObjects = ¶ 63EmacsObjects = ¶
64 "{Src}abbrev.c.x" ¶ 64 "{Src}abbrev.c.x" ¶
65 "{Src}alloc.c.x" ¶ 65 "{Src}alloc.c.x" ¶
66 "{Src}alloca.c.x" ¶
67 "{Src}atimer.c.x" ¶ 66 "{Src}atimer.c.x" ¶
68 "{Src}buffer.c.x" ¶ 67 "{Src}buffer.c.x" ¶
69 "{Src}bytecode.c.x" ¶ 68 "{Src}bytecode.c.x" ¶
@@ -92,7 +91,9 @@ EmacsObjects = ¶
92 "{Src}fns.c.x" ¶ 91 "{Src}fns.c.x" ¶
93 "{Src}fontset.c.x" ¶ 92 "{Src}fontset.c.x" ¶
94 "{Src}frame.c.x" ¶ 93 "{Src}frame.c.x" ¶
94 "{Src}fringe.c.x" ¶
95 "{Src}getloadavg.c.x" ¶ 95 "{Src}getloadavg.c.x" ¶
96 "{Src}image.c.x" ¶
96 "{Src}indent.c.x" ¶ 97 "{Src}indent.c.x" ¶
97 "{Src}insdel.c.x" ¶ 98 "{Src}insdel.c.x" ¶
98 "{Src}intervals.c.x" ¶ 99 "{Src}intervals.c.x" ¶
@@ -120,7 +121,8 @@ EmacsObjects = ¶
120 "{Src}undo.c.x" ¶ 121 "{Src}undo.c.x" ¶
121 "{Src}window.c.x" ¶ 122 "{Src}window.c.x" ¶
122 "{Src}xdisp.c.x" ¶ 123 "{Src}xdisp.c.x" ¶
123 "{Src}xfaces.c.x" 124 "{Src}xfaces.c.x" ¶
125 "{Src}lastfile.c.x"
124 126
125# The list of object files generated from new source files of the Macintosh port. 127# The list of object files generated from new source files of the Macintosh port.
126 128
@@ -142,6 +144,7 @@ Emacs ÄÄ {Makefile} {DocTarget}DOC {EmacsObjects} {MacObjects}
142 "{SharedLibraries}AppleScriptLib" ¶ 144 "{SharedLibraries}AppleScriptLib" ¶
143 "{SharedLibraries}TextEncodingConverter" ¶ 145 "{SharedLibraries}TextEncodingConverter" ¶
144 "{SharedLibraries}AppearanceLib" ¶ 146 "{SharedLibraries}AppearanceLib" ¶
147 "{SharedLibraries}QuickTimeLib" ¶
145 "{PPCLibraries}StdCRuntime.o" ¶ 148 "{PPCLibraries}StdCRuntime.o" ¶
146 "{PPCLibraries}PPCCRuntime.o" ¶ 149 "{PPCLibraries}PPCCRuntime.o" ¶
147 "{PPCLibraries}PPCToolLibs.o" ¶ 150 "{PPCLibraries}PPCToolLibs.o" ¶
@@ -495,10 +498,33 @@ Emacs ÄÄ {Makefile} "{Source}"Emacs.maclf.r "{Source}"EmacsMPW.maclf.r
495 "{Src}commands.h" ¶ 498 "{Src}commands.h" ¶
496 "{Src}keyboard.h" 499 "{Src}keyboard.h"
497 500
501{Src}fringe.c.x Ä ¶
502 {CONFIG_H_GROUP} ¶
503 "{Src}lisp.h" ¶
504 "{Src}frame.h" ¶
505 {WINDOW_H_GROUP} ¶
506 "{Src}buffer.h" ¶
507 {BLOCKINPUT_H_GROUP}
508
498{Src}getloadavg.c.x Ä ¶ 509{Src}getloadavg.c.x Ä ¶
499 {CONFIG_H_GROUP} ¶ 510 {CONFIG_H_GROUP} ¶
500 "{Includes}sys:types.h" 511 "{Includes}sys:types.h"
501 512
513{Src}image.c.x Ä ¶
514 {CONFIG_H_GROUP} ¶
515 "{Src}lisp.h" ¶
516 "{Src}frame.h" ¶
517 {WINDOW_H_GROUP} ¶
518 {DISPEXTERN_H_GROUP} ¶
519 {BLOCKINPUT_H_GROUP} ¶
520 "{Includes}epaths.h" ¶
521 "{Src}macterm.h" ¶
522 "{Src}macgui.h" ¶
523 "{Src}frame.h" ¶
524 "{Includes}sys:stat.h" ¶
525 "{Includes}alloca.h" ¶
526 "{Includes}sys:param.h"
527
502{Src}indent.c.x Ä ¶ 528{Src}indent.c.x Ä ¶
503 {CONFIG_H_GROUP} ¶ 529 {CONFIG_H_GROUP} ¶
504 "{Src}lisp.h" ¶ 530 "{Src}lisp.h" ¶
@@ -574,6 +600,9 @@ Emacs ÄÄ {Makefile} "{Source}"Emacs.maclf.r "{Source}"EmacsMPW.maclf.r
574 "{Src}puresize.h" ¶ 600 "{Src}puresize.h" ¶
575 {INTERVALS_H_GROUP} 601 {INTERVALS_H_GROUP}
576 602
603{Src}lastfile.c.x Ä ¶
604 {CONFIG_H_GROUP}
605
577{Src}lread.c.x Ä ¶ 606{Src}lread.c.x Ä ¶
578 {CONFIG_H_GROUP} ¶ 607 {CONFIG_H_GROUP} ¶
579 "{Includes}sys:types.h" ¶ 608 "{Includes}sys:types.h" ¶
@@ -935,7 +964,6 @@ DistClean Ä Clean
935EmacsSource = ¶ 964EmacsSource = ¶
936 "{Src}abbrev.c" ¶ 965 "{Src}abbrev.c" ¶
937 "{Src}alloc.c" ¶ 966 "{Src}alloc.c" ¶
938 "{Src}alloca.c" ¶
939 "{Src}atimer.c" ¶ 967 "{Src}atimer.c" ¶
940 "{Src}buffer.c" ¶ 968 "{Src}buffer.c" ¶
941 "{Src}bytecode.c" ¶ 969 "{Src}bytecode.c" ¶
@@ -964,12 +992,15 @@ EmacsSource = ¶
964 "{Src}fns.c" ¶ 992 "{Src}fns.c" ¶
965 "{Src}fontset.c" ¶ 993 "{Src}fontset.c" ¶
966 "{Src}frame.c" ¶ 994 "{Src}frame.c" ¶
995 "{Src}fringe.c" ¶
967 "{Src}getloadavg.c" ¶ 996 "{Src}getloadavg.c" ¶
997 "{Src}image.c" ¶
968 "{Src}indent.c" ¶ 998 "{Src}indent.c" ¶
969 "{Src}insdel.c" ¶ 999 "{Src}insdel.c" ¶
970 "{Src}intervals.c" ¶ 1000 "{Src}intervals.c" ¶
971 "{Src}keyboard.c" ¶ 1001 "{Src}keyboard.c" ¶
972 "{Src}keymap.c" ¶ 1002 "{Src}keymap.c" ¶
1003 "{Src}lastfile.c" ¶
973 "{Src}lread.c" ¶ 1004 "{Src}lread.c" ¶
974 "{Src}macros.c" ¶ 1005 "{Src}macros.c" ¶
975 "{Src}marker.c" ¶ 1006 "{Src}marker.c" ¶
@@ -1018,7 +1049,7 @@ LispSource = ¶
1018 {Lisp}abbrev.elc ¶ 1049 {Lisp}abbrev.elc ¶
1019 {Lisp}buff-menu.elc ¶ 1050 {Lisp}buff-menu.elc ¶
1020 {Lisp}server.elc ¶ 1051 {Lisp}server.elc ¶
1021 {Lisp}byte-run.elc ¶ 1052 {Lisp}emacs-lisp:byte-run.elc ¶
1022 {Lisp}cus-start.el ¶ 1053 {Lisp}cus-start.el ¶
1023 {Lisp}custom.elc ¶ 1054 {Lisp}custom.elc ¶
1024 {Lisp}emacs-lisp:lisp-mode.elc ¶ 1055 {Lisp}emacs-lisp:lisp-mode.elc ¶
@@ -1026,7 +1057,7 @@ LispSource = ¶
1026 {Lisp}facemenu.elc ¶ 1057 {Lisp}facemenu.elc ¶
1027 {Lisp}faces.elc ¶ 1058 {Lisp}faces.elc ¶
1028 {Lisp}files.elc ¶ 1059 {Lisp}files.elc ¶
1029 {Lisp}float-sup.elc ¶ 1060 {Lisp}emacs-lisp:float-sup.elc ¶
1030 {Lisp}format.elc ¶ 1061 {Lisp}format.elc ¶
1031 {Lisp}frame.elc ¶ 1062 {Lisp}frame.elc ¶
1032 {Lisp}help.elc ¶ 1063 {Lisp}help.elc ¶
@@ -1035,7 +1066,7 @@ LispSource = ¶
1035 {Lisp}loadup.el ¶ 1066 {Lisp}loadup.el ¶
1036 {Lisp}loaddefs.el ¶ 1067 {Lisp}loaddefs.el ¶
1037 {Lisp}bindings.elc ¶ 1068 {Lisp}bindings.elc ¶
1038 {Lisp}map-ynp.elc ¶ 1069 {Lisp}emacs-lisp:map-ynp.elc ¶
1039 {Lisp}international:mule.elc ¶ 1070 {Lisp}international:mule.elc ¶
1040 {Lisp}international:mule-conf.el ¶ 1071 {Lisp}international:mule-conf.el ¶
1041 {Lisp}international:mule-cmds.elc ¶ 1072 {Lisp}international:mule-cmds.elc ¶