comparison src/scrollbar-x.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 79c6ff3eef26
children b531bf8658e9
comparison
equal deleted inserted replaced
1122:7abc2b15a990 1123:37bdd24225ef
684 /* Make sure that all scrollbars on frame are up-to-date. Called 684 /* Make sure that all scrollbars on frame are up-to-date. Called
685 directly from x_set_frame_properties in frame-x.c*/ 685 directly from x_set_frame_properties in frame-x.c*/
686 void 686 void
687 x_update_frame_scrollbars (struct frame *f) 687 x_update_frame_scrollbars (struct frame *f)
688 { 688 {
689 /* Consider this code to be "in_display" so that we abort() if Fsignal() 689 /* Consider this code to be "in_display" (in a critical section) so we
690 gets called. */ 690 abort() if elisp or QUIT is not properly wrapped -- see
691 enter_redisplay_critical_section(). */
691 in_display++; 692 in_display++;
692 x_scrollbar_loop (X_UPDATE_FRAME_SCROLLBARS, f->root_window, 693 x_scrollbar_loop (X_UPDATE_FRAME_SCROLLBARS, f->root_window,
693 XWINDOW_MIRROR (f->root_mirror), 0, (Window) NULL); 694 XWINDOW_MIRROR (f->root_mirror), 0, (Window) NULL);
694 in_display--; 695 in_display--;
695 if (in_display < 0) abort (); 696 if (in_display < 0) abort ();