Mercurial > hg > xemacs-beta
comparison src/alloc.c @ 1123:37bdd24225ef
[xemacs-hg @ 2002-11-27 07:15:02 by ben]
bug fixes, profiling debugging improvements
configure.in: Check for GCC version and only use -Wpacked in v3.
.cvsignore: Add .idb, .ilk for MS Windows VC++.
cl-macs.el: Document better.
cmdloop.el: Removed.
Remove nonworking breakpoint-on-error now that debug-on-error
works as documented.
help.el: Extract out with-displaying-help-buffer into a more general
mechanism.
lib-complete.el: Support thunks in find-library-source-path.
startup.el: Don't catch errors when noninteractive, because that makes
stack traces from stack-trace-on-error useless.
.cvsignore: Windows shit.
alloc.c: Better redisplay-related assert.
elhash.c: Comment change.
eval.c: Don't generate large warning strings (e.g. backtraces) when they will
be discarded.
Implement debug-on-error as documented -- it will enter the
debugger and crash when an uncaught signal happens noninteractively
and we are --debug.
Better redisplay-related asserts.
frame-msw.c, frame.c, lisp.h, redisplay.c, scrollbar-gtk.c, scrollbar-x.c, signal.c, sysdep.c: Fix up documentation related to QUIT (which CANNOT garbage-collect
under any circumstances), and to redisplay critical sections.
lread.c: Add load-ignore-out-of-date-elc-files,
load-always-display-messages, load-show-full-path-in-messages for
more robust package compilation and debugging.
profile.c: Overhaul profile code. Change format to include call count and be
extensible for further info. Remove call-count-profile-table.
Add set-profiling-info. See related profile.el changes (which
SHOULD ABSOLUTELY be in the core! Get rid of xemacs-devel and
xemacs-base packages *yesterday*!).
author | ben |
---|---|
date | Wed, 27 Nov 2002 07:15:36 +0000 |
parents | 8b464283e891 |
children | 3136b3c99ceb |
comparison
equal
deleted
inserted
replaced
1122:7abc2b15a990 | 1123:37bdd24225ef |
---|---|
178 /* This is just for use by the printer, to allow things to print uniquely */ | 178 /* This is just for use by the printer, to allow things to print uniquely */ |
179 static int lrecord_uid_counter; | 179 static int lrecord_uid_counter; |
180 | 180 |
181 /* Nonzero when calling certain hooks or doing other things where | 181 /* Nonzero when calling certain hooks or doing other things where |
182 a GC would be bad */ | 182 a GC would be bad */ |
183 static int gc_currently_forbidden; | 183 int gc_currently_forbidden; |
184 | 184 |
185 /* Hooks. */ | 185 /* Hooks. */ |
186 Lisp_Object Vpre_gc_hook, Qpre_gc_hook; | 186 Lisp_Object Vpre_gc_hook, Qpre_gc_hook; |
187 Lisp_Object Vpost_gc_hook, Qpost_gc_hook; | 187 Lisp_Object Vpost_gc_hook, Qpost_gc_hook; |
188 | 188 |
4237 int speccount; | 4237 int speccount; |
4238 int cursor_changed; | 4238 int cursor_changed; |
4239 Lisp_Object pre_gc_cursor; | 4239 Lisp_Object pre_gc_cursor; |
4240 struct gcpro gcpro1; | 4240 struct gcpro gcpro1; |
4241 | 4241 |
4242 assert (!in_display || gc_currently_forbidden); | |
4243 | |
4242 if (gc_in_progress | 4244 if (gc_in_progress |
4243 || gc_currently_forbidden | 4245 || gc_currently_forbidden |
4244 || in_display | 4246 || in_display |
4245 || preparing_for_armageddon) | 4247 || preparing_for_armageddon) |
4246 return; | 4248 return; |