]> code.delx.au - gnu-emacs/blobdiff - src/ChangeLog
(FATAL ERRORS): Fix infinite loop in redisplay
[gnu-emacs] / src / ChangeLog
index 75c9f9e375997873be8afabab42be2d78a64f833..cdba368c48a2be8ae5ff3c08fe22be9357bfd83c 100644 (file)
@@ -1,3 +1,337 @@
+2005-11-11  Kim F. Storm  <storm@cua.dk>
+
+       * doc.c (Fsubstitute_command_keys): Doc fix.
+
+       * dispextern.h (struct it): New member ignore_overlay_strings_at_pos_p.
+
+       * xdisp.c (handle_stop): Skip overlay string handling if
+       ignore_overlay_strings_at_pos_p is set.
+       (set_iterator_to_next): At end of display vector, set
+       ignore_overlay_strings_at_pos_p if dpvec came from an overlay
+       string, so we skip those overlay strings at current pos.
+
+2005-11-10  Lars Hansen <larsh@soem.dk>
+
+       * fileio.c (file-regular-p): Doc fix.
+
+2005-11-10  Kim F. Storm  <storm@cua.dk>
+
+       * alloc.c (valid_lisp_object_p): New function to validate that
+       an object is really a valid Lisp_Object.
+
+       * lisp.h (valid_lisp_object_p): Add prototype.
+
+       * print.c (safe_debug_print): New function to be called from gdb
+       to print Lisp objects; use valid_lisp_object_p to avoid crashing
+       if user tries to print something which is not a Lisp object.
+
+       * .gdbinit (pp, pp1): Use safe_debug_print.
+       (pv, pv1): New commands to print value of a lisp variable.
+
+2005-11-10  Nick Roberts  <nickrob@snap.net.nz>
+
+       * .gdbinit (pp1): New user-defined function.
+
+2005-11-09  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
+
+       * image.c [MAC_OSX] (image_load_quartz2d): Fix memory leak.
+
+       * mac.c [MAC_OSX] (init_mac_osx_environment): Reinitialize locale
+       related variables for dumped executable.
+
+       * unexmacosx.c (unexec_write_zero): New function.
+       (copy_data_segment): Clear uninitialized local variables in
+       statically linked libraries.
+
+       * s/darwin.h (C_SWITCH_SYSTEM): Remove -fno-common.
+
+2005-11-09  Juri Linkov  <juri@jurta.org>
+
+       * keymap.c (shadow_lookup): If Flookup_key returns a number,
+       call it again with a sub-key-sequence, and if its return value
+       is non-nil (sub-key is bound), return nil.
+
+2005-11-08  Kim F. Storm  <storm@cua.dk>
+
+       * process.c (Fsignal_process): Recognize signal names with and
+       without SIG prefix, e.g. SIGHUP and HUP.
+
+       * search.c (search_buffer): No need to initialize base_pat.
+
+2005-11-04  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * window.c (Fget_lru_window, Fget_largest_window, window_loop):
+       Don't abuse the `mini' arg.  Use the `obj' arg instead.
+
+2005-11-04  Kim F. Storm  <storm@cua.dk>
+
+       * xdisp.c (show_mouse_face): Clear mouse face to eol.
+
+2005-11-03  Dan Nicolaescu  <dann@ics.uci.edu>
+
+       * Makefile.in (lisp, shortlisp): Add emacs-lisp/syntax.elc,
+       font-lock.elc and jit-lock.elc.
+
+2005-11-03  Richard M. Stallman  <rms@gnu.org>
+
+       * window.c (Fenlarge_window): Rename SIDE to HORIZONTAL.
+       (enlarge_window): Rename WIDTHFLAG to HORIZ_FLAG.
+       (CURBEG, CURSIZE): Use HORIZ_FLAG instead of WIDTHFLAG.
+
+       * sheap.c (STATIC_HEAP_SIZE): Increment both definitions.
+
+       * alloc.c (refill_memory_reserve): Move decl out of conditionals.
+
+2005-11-03  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * window.c (Fdisplay_buffer): Fix last change to not use
+       a dedicated window.
+
+2005-11-01  Kim F. Storm  <storm@cua.dk>
+
+       * fringe.c (update_window_fringes): Undo 2005-10-27 change.
+       Instead, rotate the bottom angle bitmap 180 degrees to indicate
+       that the bottom row does not end in a newline.
+
+2005-11-01  Andreas Schwab  <schwab@suse.de>
+
+       * unexelf.c (unexec): Handle .plt section in BSS segment.
+
+2005-11-01  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * lread.c (readevalloop): Yet another int/Lisp_Object mixup (YAILOM).
+
+       * window.c (window_loop): For LRU and LARGEST, let the `mini' argument
+       determine whether to consider dedicated windows as well.
+       (Fget_lru_window, Fget_largest_window): Add `dedicated' argument.
+       (Fdisplay_buffer): Do consider dedicated windows in those cases where
+       we will split the window rather than reuse it.
+       Don't try to use windows on other displays.
+
+2005-10-31  Dan Nicolaescu  <dann@ics.uci.edu>
+
+       * puresize.h (BASE_PURESIZE): Increment to 1170000.
+
+2005-10-31  Romain Francoise  <romain@orebokech.com>
+
+       * macfns.c: Update copyright year.
+       * m/gould.h: Likewise.
+
+2005-10-30  Kim F. Storm  <storm@cua.dk>
+
+       * xdisp.c (display_line): Restore it->current_x and call
+       extend_face_to_end_of_line when last glyph doesn't fit on line.
+       (set_glyph_string_background_width): Remove specific tests  here
+       to see if face background should extend to end of line.  Simplify.
+
+2005-10-30  Richard M. Stallman  <rms@gnu.org>
+
+       * alloc.c (BYTES_USED): Use uordblks, not arena.
+       (bytes_used_when_reconsidered): New variable.
+       (emacs_blocked_free): Set that.
+
+2005-10-29  Chong Yidong  <cyd@stupidchicken.com>
+
+       * alloc.c (emacs_blocked_free): Fix typo.
+
+2005-10-29  Richard M. Stallman  <rms@gnu.org>
+
+       * data.c (Fmake_variable_frame_local): Doc fix.
+
+       * xdisp.c (handle_fontified_prop): Do nothing if memory full.
+       (format_mode_line_unwind_data): New arg SAVE_PROPTRANS
+       controls whether to save and restore mode_line_proptrans_alist.
+       Callers changed.
+       (unwind_format_mode_line): Work with that feature.
+       (redisplay_internal): Don't call prepare_menu_bars if memory full.
+       (move_elt_to_front): New function.
+       (display_mode_element): Use move_elt_to_front.
+       Don't bother munging text props on a null string.
+       Delete obsolete elts from mode_line_proptrans_alist.
+       (decode_mode_spec): Test Vmemory_full, not spare_memory.
+       (Fformat_mode_line): Clear mode_line_proptrans_alist after saving.
+
+       * lisp.h (memory_full_cons_threshold): Declare.
+       (internal_lisp_condition_case): Declare.
+
+       * alloc.c (syms_of_alloc) <memory-full>: Doc fix.
+       (Fmemory_full_p): Function deleted.
+       (syms_of_alloc): Don't defsubr it.
+       (memory_full_cons_threshold): New variable.
+       (spare_memory): Now a vector of 7 elts.
+       (buffer_memory_full): Don't set Vmemory_full here.
+       (xfree): Don't try to refill here.
+       (emacs_blocked_free): Record BYTES_USED in local var.
+       (memory_full): Now free all the slots in spare_memory.
+       (refill_memory_reserve): Allocate each slot in spare_memory.
+       (init_alloc_once): Call refill_memory_reserve.
+
+       * keyboard.c (command_loop_1): Don't set Vmemory_full here.
+
+       * eval.c (internal_lisp_condition_case): New function.
+       (Fcondition_case): Use internal_lisp_condition_case.
+       (Feval): Test Vmemory_full and memory_full_cons_threshold.
+       (Ffuncall): Likewise.
+
+       * bytecode.c (Fbyte_code): Use internal_lisp_condition_case.
+
+2005-10-29  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * syntax.c (Fparse_partial_sexp): Fix docstring.
+
+2005-10-28  Romain Francoise  <romain@orebokech.com>
+
+       * puresize.h (BASE_PURESIZE): Increment to 1130000.
+
+2005-10-28  Richard M. Stallman  <rms@gnu.org>
+
+       * xfns.c (syms_of_xfns): Provide `x' as feature.
+
+       * xdisp.c (decode_mode_spec): Define %e to indicate memory full.
+
+       * editfns.c (Fformat): Don't include string padding
+       between info[n].start and info[n].end.
+
+       * alloc.c (spare_memory): No longer static.
+       (xfree) [!SYSTEM_MALLOC]: Call refill_memory_reserve.
+
+       * puresize.h (BASE_PURESIZE): Increment to 1120000.
+
+2005-10-27  Chong Yidong  <cyd@stupidchicken.com>
+
+       * data.c (Fmake_variable_frame_local): Add clarification to docstring.
+
+       * fringe.c (update_window_fringes): Handle case where buffer ends
+       with a newline.
+
+2005-10-27  Kenichi Handa  <handa@m17n.org>
+
+       * coding.h (DECODE_SYSTEM): Fix argument name; name->str.
+
+2005-10-24  Kenichi Handa  <handa@m17n.org>
+
+       * charset.h (charset_mule_unicode_0100_24ff)
+       (charset_mule_unicode_2500_33ff, charset_mule_unicode_e000_ffff):
+       Extern them.
+
+       * charset.c (charset_mule_unicode_0100_24ff)
+       (charset_mule_unicode_2500_33ff, charset_mule_unicode_e000_ffff):
+       New variables.
+       (Fsetup_special_charsets): Initialize them.
+
+       * xterm.c (handle_one_xevent): Handle keysyms directly mapped to
+       supported Unicode characters.
+
+2005-10-25  Jason Rumney  <jasonr@gnu.org>
+
+       * w32fns.c (w32_to_x_font): Avoid forcing font widths.
+
+2005-10-25  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
+
+       * image.c [MAC_OS] (image_load_qt_1): Check image size.
+       Use GraphicsImportGetImageDescription instead of
+       GraphicsImportGetNaturalBounds.
+       [MAC_OSX] (image_load_quartz2d): Check image size.
+       [MAC_OS] (xpm_load_image): Likewise.
+
+       * macterm.c (last_mouse_glyph_frame): New var.
+       (note_mouse_movement): Say mouse moved if current frame differs
+       from last_mouse_glyph_frame, and update last_mouse_glyph_frame.
+       (XTmouse_position): Set last_mouse_glyph_frame.
+       (XTread_socket): Clear last_mouse_glyph_frame on mouse up/down event.
+       (mac_draw_string_common) [MAC_OSX && WORDS_BIG_ENDIAN]: Fix typo.
+       Use EndianU16_BtoN.
+       (mac_draw_string_common) [MAC_OSX]: Don't use ATSUClearLayoutControls.
+       (x_per_char_metric, XLoadQueryFont)
+       [MAC_OS_X_VERSION_MAX_ALLOWED < 1020]: Use device origins to get
+       glyph bounds.
+       (mac_to_x_fontname, mac_do_list_fonts)
+       (mac_initialize_display_info): Change screen resolutions to 72dpi.
+
+2005-10-25  Masatake YAMATO  <jet@gyve.org>
+
+       * minibuf.c (Fdisplay_completion_list): Small doc fix.
+
+2005-10-24  Kim F. Storm  <storm@cua.dk>
+
+       * xterm.c: Undo 2005-10-23 change.
+       (last_mouse_glyph_frame): New var.
+       (note_mouse_movement): Say mouse moved if current frame differs
+       from last_mouse_glyph_frame, and update last_mouse_glyph_frame.
+       (XTmouse_position): Set last_mouse_glyph_frame.
+       (handle_one_xevent): Clear last_mouse_glyph_frame [instead of
+       last_mouse_glyph] on mouse up/down event.
+
+       * editfns.c (Fcompare_buffer_substrings): Fix last change.
+
+2005-10-23  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * editfns.c (Fcompare_buffer_substrings): Handle multibyte chars.
+
+2005-10-23  Jan Dj\e,Ad\e(Brv  <jan.h.d@swipnet.se>
+
+       * xterm.c (note_mouse_movement): Always call note_mouse_highlight
+       so tool tips don't interfere with press on tool bar button.
+
+2005-10-23  Richard M. Stallman  <rms@gnu.org>
+
+       * casetab.c (Fset_case_table): Doc fix.
+
+       * lread.c (build_load_history): Replace STREAM arg with ENTIRE.
+       (readevalloop): Compute ENTIRE properly.
+       (syms_of_lread) <load-history>: Doc fix.
+
+2005-10-21  Richard M. Stallman  <rms@gnu.org>
+
+       * lread.c (Fload): Simplify gcpro structure.
+       Gcpro FOUND as well as FILE, but not EFOUND.
+       Unless preloading, record FOUND instead of FILE in Vload_history.
+       Rename repeat local FILE to MSG_FILE.
+       (syms_of_lread) <load-history>: Doc fix.
+
+2005-10-21  Kenichi Handa  <handa@m17n.org>
+
+       * search.c (boyer_moore): Add parens to fix and/or precedence bug.
+
+2005-10-20  Kim F. Storm  <storm@cua.dk>
+
+       * buffer.c (clone_per_buffer_values): Remove unused var tem.
+       (init_buffer): Remove unused vars dotstat, pwdstat.
+
+       * ccl.c (check_ccl_update): Remove unused var vp.
+
+       * fileio.c (auto_save_error): Call SAFE_FREE.
+
+       * fns.c (Fchar_table_range): Remove unused var i.
+
+       * minibuf.c (display_completion_list_1): New wrapper function
+       for Fdisplay_completion_list.
+       (Fminibuffer_completion_help): Use it.
+
+       * term.c (encode_terminal_code): Remove unused var src_start.
+
+       * window.c (Fwindow_tree): Remove unused var alist.
+
+       * xterm.c (x_calc_absolute_position): Remove unused vars win_x, win_y.
+
+2005-10-20  Aubrey Jaffer  <agj@alum.mit.edu>  (tiny change)
+
+       * unexelf.c (unexec): Fix calls to `fatal' with less than 3 arguments.
+
+2005-10-20  Olli Savia  <ops@iki.fi>  (tiny change)
+
+       * syssignal.h [__Lynx__]: Undef SIGPOLL along with SIGIO.
+
+2005-10-20  Andreas Schwab  <schwab@suse.de>
+
+       * minibuf.c (Fdisplay_completion_list): Doc fix.
+
+2005-10-19  Kim F. Storm  <storm@cua.dk>
+
+       * image.c (check_image_size): Handle integer Vmax_image_size value
+       directly as max pixel value.  Use default frame size for null frame.
+       (syms_of_image) <max-image-size>: Describe integer value.
+
 2005-10-19  Romain Francoise  <romain@orebokech.com>
 
        * emacs.c (main): Update copyright year.
 2005-10-16  Masatake YAMATO  <jet@gyve.org>
 
        * minibuf.c (Fdisplay_completion_list): Add new optional
-       argument COMMON_SUBSTRING. Bind `completion-common-substring' 
+       argument COMMON_SUBSTRING.  Bind `completion-common-substring'
        to the optional argument during running `completion-setup-hook'.
 
 2005-10-16  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>