aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJoakim Verona2012-04-26 11:59:27 +0200
committerJoakim Verona2012-04-26 11:59:27 +0200
commit6346156f96f3d3492dd3ca1f3d3a5db55ab3c3b2 (patch)
tree9361a618467f2089e7e4b409d5f9f7b4e4f23a1d /src
parentab5b626f97ea7d71a98a06d8cc777fa925a1f716 (diff)
parente6fd457e010c2ec034a331335530d817852cc11c (diff)
downloademacs-6346156f96f3d3492dd3ca1f3d3a5db55ab3c3b2.tar.gz
emacs-6346156f96f3d3492dd3ca1f3d3a5db55ab3c3b2.zip
upstream partial out of memory
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog18
-rw-r--r--src/ChangeLog.102
-rw-r--r--src/ChangeLog.112
-rw-r--r--src/ChangeLog.62
-rw-r--r--src/character.h2
-rw-r--r--src/lisp.h2
-rw-r--r--src/s/aix4-2.h4
-rw-r--r--src/s/cygwin.h6
-rw-r--r--src/s/darwin.h3
-rw-r--r--src/s/freebsd.h3
-rw-r--r--src/s/gnu-linux.h3
-rw-r--r--src/s/gnu.h3
-rw-r--r--src/s/hpux10-20.h4
-rw-r--r--src/s/irix6-5.h1
-rw-r--r--src/s/msdos.h1
-rw-r--r--src/s/netbsd.h3
-rw-r--r--src/s/sol2-6.h1
-rw-r--r--src/s/unixware.h4
18 files changed, 34 insertions, 30 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 6d2ed01bafc..c58b87c7705 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,15 @@
12012-04-14 Paul Eggert <eggert@cs.ucla.edu>
2
3 Make GC_MAKE_GCPROS_NOOPS the default (Bug#9926).
4 * lisp.h (GC_MARK_STACK): Default to GC_MAKE_GCPROS_NOOPS.
5 * s/cygwin.h, s/darwin.h, s/freebsd.h, s/gnu.h, s/irix6-5.h, s/msdos.h:
6 * s/netbsd.h, s/sol2-6.h:
7 Remove definition of GC_MARK_STACK, since the default now works.
8 * s/aix4-2.h, s/hpux10-20.h, s/unixware.h:
9 Define GC_MARK_STACK to GC_USE_GCPROS_AS_BEFORE, since that's
10 no longer the default.
11 * s/gnu-linux.h (GC_MARK_STACK): Adjust to change in default.
12
12012-04-14 Atsuo Ohki <ohki@gssm.otsuka.tsukuba.ac.jp> (tiny change) 132012-04-14 Atsuo Ohki <ohki@gssm.otsuka.tsukuba.ac.jp> (tiny change)
2 14
3 * lread.c (lisp_file_lexically_bound_p): 15 * lread.c (lisp_file_lexically_bound_p):
@@ -39,7 +51,7 @@
39 51
40 * alloc.c (lisp_align_malloc): Remove unneeded prototype. 52 * alloc.c (lisp_align_malloc): Remove unneeded prototype.
41 53
422012-04-10 "Jason S. Cornez" <jcornez@ravenpack.com> (tiny change) 542012-04-10 Jason S. Cornez <jcornez@ravenpack.com> (tiny change)
43 55
44 * keyboard.c: Override inhibit-quit after the third C-g (bug#6585). 56 * keyboard.c: Override inhibit-quit after the third C-g (bug#6585).
45 (force_quit_count): New var. 57 (force_quit_count): New var.
@@ -1538,7 +1550,7 @@
1538 * xfns.c (unwind_create_frame): Fix comment. 1550 * xfns.c (unwind_create_frame): Fix comment.
1539 (Fx_create_frame, x_create_tip_frame): 1551 (Fx_create_frame, x_create_tip_frame):
1540 Move terminal->reference_count++ just before making the frame 1552 Move terminal->reference_count++ just before making the frame
1541 official. Move initialization of image_cache_refcount and 1553 official. Move initialization of image_cache_refcount and
1542 dpyinfo_refcount before calling init_frame_faces (Bug#9943). 1554 dpyinfo_refcount before calling init_frame_faces (Bug#9943).
1543 1555
15442011-11-05 Eli Zaretskii <eliz@gnu.org> 15562011-11-05 Eli Zaretskii <eliz@gnu.org>
@@ -7311,7 +7323,7 @@
7311 * xfaces.c <Qunspecified>: Make extern again. 7323 * xfaces.c <Qunspecified>: Make extern again.
7312 7324
7313 * syntax.c: Include sys/types.h before including regex.h, as 7325 * syntax.c: Include sys/types.h before including regex.h, as
7314 required by Posix. 7326 required by POSIX.
7315 7327
7316 * doc.c (get_doc_string): Improve the format passed to `error'. 7328 * doc.c (get_doc_string): Improve the format passed to `error'.
7317 7329
diff --git a/src/ChangeLog.10 b/src/ChangeLog.10
index 10de7e53794..cf62ec29bbc 100644
--- a/src/ChangeLog.10
+++ b/src/ChangeLog.10
@@ -23215,7 +23215,7 @@
23215 23215
23216 * macterm.c (do_ae_open_documents) [MAC_OSX]: Call FSpMakeFSRef 23216 * macterm.c (do_ae_open_documents) [MAC_OSX]: Call FSpMakeFSRef
23217 and FSRefMakePath to convert FSSpec returned with Apple Event to 23217 and FSRefMakePath to convert FSSpec returned with Apple Event to
23218 Posix pathname. 23218 POSIX pathname.
23219 (mac_initialize) [TARGET_API_MAC_CARBON]: 23219 (mac_initialize) [TARGET_API_MAC_CARBON]:
23220 Call init_required_apple_events and disable the `Quit' menu item 23220 Call init_required_apple_events and disable the `Quit' menu item
23221 provided automatically by the Carbon Toolbox. 23221 provided automatically by the Carbon Toolbox.
diff --git a/src/ChangeLog.11 b/src/ChangeLog.11
index 97d5a65281a..781027ee8ae 100644
--- a/src/ChangeLog.11
+++ b/src/ChangeLog.11
@@ -9641,7 +9641,7 @@
9641 9641
96422010-03-12 Eli Zaretskii <eliz@gnu.org> 96422010-03-12 Eli Zaretskii <eliz@gnu.org>
9643 9643
9644 These changes remove termcap.c from the build on Posix platforms. 9644 These changes remove termcap.c from the build on POSIX platforms.
9645 * Makefile.in (termcapobj): Move termcap.o from here... 9645 * Makefile.in (termcapobj): Move termcap.o from here...
9646 (MSDOS_OBJ): ...to here. 9646 (MSDOS_OBJ): ...to here.
9647 (termcapobj) [!LIBS_TERMCAP]: Remove specialized value, as it is 9647 (termcapobj) [!LIBS_TERMCAP]: Remove specialized value, as it is
diff --git a/src/ChangeLog.6 b/src/ChangeLog.6
index 91c20681157..3aa1a23818e 100644
--- a/src/ChangeLog.6
+++ b/src/ChangeLog.6
@@ -3236,7 +3236,7 @@
3236 3236
32371995-12-12 Paul Eggert <eggert@twinsun.com> 32371995-12-12 Paul Eggert <eggert@twinsun.com>
3238 3238
3239 * process.c (create_process): Use Posix signal handling to 3239 * process.c (create_process): Use POSIX signal handling to
3240 block signals, if available. If HAVE_VFORK, save and restore 3240 block signals, if available. If HAVE_VFORK, save and restore
3241 signal handlers that the child might change, since in many 3241 signal handlers that the child might change, since in many
3242 systems (e.g. Solaris 2.4) if the child changes the signal 3242 systems (e.g. Solaris 2.4) if the child changes the signal
diff --git a/src/character.h b/src/character.h
index a829def428d..88de343b228 100644
--- a/src/character.h
+++ b/src/character.h
@@ -316,7 +316,7 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
316 Note: This macro returns the actual length of the character's 316 Note: This macro returns the actual length of the character's
317 multibyte sequence as it is stored in a buffer or string. The 317 multibyte sequence as it is stored in a buffer or string. The
318 character it returns might have a different codepoint that has a 318 character it returns might have a different codepoint that has a
319 different multibyte sequence of a different legth, due to possible 319 different multibyte sequence of a different length, due to possible
320 unification of CJK characters inside string_char. Therefore do NOT 320 unification of CJK characters inside string_char. Therefore do NOT
321 assume that the length returned by this macro is identical to the 321 assume that the length returned by this macro is identical to the
322 length of the multibyte sequence of the character it returns. */ 322 length of the multibyte sequence of the character it returns. */
diff --git a/src/lisp.h b/src/lisp.h
index 1f98780e8e9..0d66f57fdb1 100644
--- a/src/lisp.h
+++ b/src/lisp.h
@@ -2225,7 +2225,7 @@ struct gcpro
2225#define GC_USE_GCPROS_CHECK_ZOMBIES 3 2225#define GC_USE_GCPROS_CHECK_ZOMBIES 3
2226 2226
2227#ifndef GC_MARK_STACK 2227#ifndef GC_MARK_STACK
2228#define GC_MARK_STACK GC_USE_GCPROS_AS_BEFORE 2228#define GC_MARK_STACK GC_MAKE_GCPROS_NOOPS
2229#endif 2229#endif
2230 2230
2231/* Whether we do the stack marking manually. */ 2231/* Whether we do the stack marking manually. */
diff --git a/src/s/aix4-2.h b/src/s/aix4-2.h
index 37b041396f9..354ffda0988 100644
--- a/src/s/aix4-2.h
+++ b/src/s/aix4-2.h
@@ -75,3 +75,7 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
75 Emacs currently calls xrealloc on the results of get_current_dir name, 75 Emacs currently calls xrealloc on the results of get_current_dir name,
76 to avoid a crash just use the Emacs implementation for that function. */ 76 to avoid a crash just use the Emacs implementation for that function. */
77#define BROKEN_GET_CURRENT_DIR_NAME 1 77#define BROKEN_GET_CURRENT_DIR_NAME 1
78
79/* Conservative garbage collection has not been tested, so for now
80 play it safe and stick with the old-fashioned way of marking. */
81#define GC_MARK_STACK GC_USE_GCPROS_AS_BEFORE
diff --git a/src/s/cygwin.h b/src/s/cygwin.h
index f8c656e8ebc..9310890351e 100644
--- a/src/s/cygwin.h
+++ b/src/s/cygwin.h
@@ -82,12 +82,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
82 82
83#define HAVE_SOCKETS 83#define HAVE_SOCKETS
84 84
85/* This should work (at least when compiling with gcc). But I have no way
86 or intention to verify or even test it. If you encounter a problem with
87 it, feel free to change this setting, but please add a comment here about
88 why it needed to be changed. */
89#define GC_MARK_STACK GC_MAKE_GCPROS_NOOPS
90
91/* Emacs supplies its own malloc, but glib (part of Gtk+) calls 85/* Emacs supplies its own malloc, but glib (part of Gtk+) calls
92 memalign and on Cygwin, that becomes the Cygwin-supplied memalign. 86 memalign and on Cygwin, that becomes the Cygwin-supplied memalign.
93 As malloc is not the Cygwin malloc, the Cygwin memalign always 87 As malloc is not the Cygwin malloc, the Cygwin memalign always
diff --git a/src/s/darwin.h b/src/s/darwin.h
index 9ac9e91fd9d..7c8e26f46cc 100644
--- a/src/s/darwin.h
+++ b/src/s/darwin.h
@@ -145,6 +145,3 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
145 It is already a controlling terminal of subprocess, because we did 145 It is already a controlling terminal of subprocess, because we did
146 ioctl TIOCSCTTY. */ 146 ioctl TIOCSCTTY. */
147#define DONT_REOPEN_PTY 147#define DONT_REOPEN_PTY
148
149/* Use the GC_MAKE_GCPROS_NOOPS (see lisp.h) method for marking the stack. */
150#define GC_MARK_STACK GC_MAKE_GCPROS_NOOPS
diff --git a/src/s/freebsd.h b/src/s/freebsd.h
index c74605fe366..05be07695cb 100644
--- a/src/s/freebsd.h
+++ b/src/s/freebsd.h
@@ -58,6 +58,3 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
58/* Tell that garbage collector that setjmp is known to save all 58/* Tell that garbage collector that setjmp is known to save all
59 registers relevant for conservative garbage collection in the jmp_buf. */ 59 registers relevant for conservative garbage collection in the jmp_buf. */
60#define GC_SETJMP_WORKS 1 60#define GC_SETJMP_WORKS 1
61
62/* Use the GC_MAKE_GCPROS_NOOPS (see lisp.h) method for marking the stack. */
63#define GC_MARK_STACK GC_MAKE_GCPROS_NOOPS
diff --git a/src/s/gnu-linux.h b/src/s/gnu-linux.h
index c1233c0e6ce..d04ea33068a 100644
--- a/src/s/gnu-linux.h
+++ b/src/s/gnu-linux.h
@@ -145,7 +145,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
145 || defined __arm__ || defined __powerpc__ || defined __amd64__ \ 145 || defined __arm__ || defined __powerpc__ || defined __amd64__ \
146 || defined __ia64__ || defined __sh__ 146 || defined __ia64__ || defined __sh__
147#define GC_SETJMP_WORKS 1 147#define GC_SETJMP_WORKS 1
148#define GC_MARK_STACK GC_MAKE_GCPROS_NOOPS
149#ifdef __ia64__ 148#ifdef __ia64__
150#define GC_MARK_SECONDARY_STACK() \ 149#define GC_MARK_SECONDARY_STACK() \
151 do { \ 150 do { \
@@ -155,4 +154,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
155 __builtin_ia64_bsp ()); \ 154 __builtin_ia64_bsp ()); \
156 } while (0) 155 } while (0)
157#endif 156#endif
157#else
158#define GC_MARK_STACK GC_USE_GCPROS_AS_BEFORE
158#endif 159#endif
diff --git a/src/s/gnu.h b/src/s/gnu.h
index 37aaa1357cc..a09e0e824c9 100644
--- a/src/s/gnu.h
+++ b/src/s/gnu.h
@@ -45,6 +45,3 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
45#endif /* emacs */ 45#endif /* emacs */
46 46
47#define POSIX_SIGNALS 1 47#define POSIX_SIGNALS 1
48
49/* Use the GC_MAKE_GCPROS_NOOPS (see lisp.h) method for marking the stack. */
50#define GC_MARK_STACK GC_MAKE_GCPROS_NOOPS
diff --git a/src/s/hpux10-20.h b/src/s/hpux10-20.h
index becb5d3464e..3e25b1bd0d9 100644
--- a/src/s/hpux10-20.h
+++ b/src/s/hpux10-20.h
@@ -100,6 +100,10 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
100 header sections which lose when `static' is defined away, as it is 100 header sections which lose when `static' is defined away, as it is
101 on HP-UX. (You get duplicate symbol errors on linking). */ 101 on HP-UX. (You get duplicate symbol errors on linking). */
102#undef _FILE_OFFSET_BITS 102#undef _FILE_OFFSET_BITS
103
104/* Conservative garbage collection has not been tested, so for now
105 play it safe and stick with the old-fashioned way of marking. */
106#define GC_MARK_STACK GC_USE_GCPROS_AS_BEFORE
103 107
104/* The data segment on this machine always starts at address 0x40000000. */ 108/* The data segment on this machine always starts at address 0x40000000. */
105#define DATA_SEG_BITS 0x40000000 109#define DATA_SEG_BITS 0x40000000
diff --git a/src/s/irix6-5.h b/src/s/irix6-5.h
index 32374498fe7..e5d90c1bd5d 100644
--- a/src/s/irix6-5.h
+++ b/src/s/irix6-5.h
@@ -95,7 +95,6 @@ char *_getpty();
95 95
96/* Tested on Irix 6.5. SCM worked on earlier versions. */ 96/* Tested on Irix 6.5. SCM worked on earlier versions. */
97#define GC_SETJMP_WORKS 1 97#define GC_SETJMP_WORKS 1
98#define GC_MARK_STACK GC_MAKE_GCPROS_NOOPS
99 98
100 99
101/* DATA_SEG_BITS forces extra bits to be or'd in with any pointers which 100/* DATA_SEG_BITS forces extra bits to be or'd in with any pointers which
diff --git a/src/s/msdos.h b/src/s/msdos.h
index cde24147c57..add2902d5f3 100644
--- a/src/s/msdos.h
+++ b/src/s/msdos.h
@@ -137,4 +137,3 @@ You lose; /* Emacs for DOS must be compiled with DJGPP */
137/* Tell the garbage collector that setjmp is known to save all 137/* Tell the garbage collector that setjmp is known to save all
138 registers relevant for conservative garbage collection in the jmp_buf. */ 138 registers relevant for conservative garbage collection in the jmp_buf. */
139#define GC_SETJMP_WORKS 1 139#define GC_SETJMP_WORKS 1
140#define GC_MARK_STACK GC_MAKE_GCPROS_NOOPS
diff --git a/src/s/netbsd.h b/src/s/netbsd.h
index f25023fb615..ce3b2afa1bb 100644
--- a/src/s/netbsd.h
+++ b/src/s/netbsd.h
@@ -38,6 +38,3 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
38/* Tell that garbage collector that setjmp is known to save all 38/* Tell that garbage collector that setjmp is known to save all
39 registers relevant for conservative garbage collection in the jmp_buf. */ 39 registers relevant for conservative garbage collection in the jmp_buf. */
40#define GC_SETJMP_WORKS 1 40#define GC_SETJMP_WORKS 1
41
42/* Use the GC_MAKE_GCPROS_NOOPS (see lisp.h) method. */
43#define GC_MARK_STACK GC_MAKE_GCPROS_NOOPS
diff --git a/src/s/sol2-6.h b/src/s/sol2-6.h
index a9fefcb1992..bb7a9859b7d 100644
--- a/src/s/sol2-6.h
+++ b/src/s/sol2-6.h
@@ -59,4 +59,3 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
59 } 59 }
60 60
61#define GC_SETJMP_WORKS 1 61#define GC_SETJMP_WORKS 1
62#define GC_MARK_STACK GC_MAKE_GCPROS_NOOPS
diff --git a/src/s/unixware.h b/src/s/unixware.h
index 22c396a060e..63c36ee40c2 100644
--- a/src/s/unixware.h
+++ b/src/s/unixware.h
@@ -50,3 +50,7 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
50 } 50 }
51 51
52#define PENDING_OUTPUT_COUNT(FILE) ((FILE)->__ptr - (FILE)->__base) 52#define PENDING_OUTPUT_COUNT(FILE) ((FILE)->__ptr - (FILE)->__base)
53
54/* Conservative garbage collection has not been tested, so for now
55 play it safe and stick with the old-fashioned way of marking. */
56#define GC_MARK_STACK GC_USE_GCPROS_AS_BEFORE