]> code.delx.au - gnu-emacs/blobdiff - src/ChangeLog
*** empty log message ***
[gnu-emacs] / src / ChangeLog
index c6de7000e88663476cda4b08be7c847e6f1b17d5..cd3b7479dca676ca561695ed759fbee7174a79f8 100644 (file)
@@ -1,3 +1,400 @@
+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-18  Chong Yidong  <cyd@stupidchicken.com>
+
+       * image.c (Vmax_image_size): New variable.
+       (check_image_size): New function.
+       (xbm_read_bitmap_data, pbm_load, png_load, jpeg_load, tiff_load)
+       (gif_load, gs_load): Use it.
+       (lookup_image): Try loading again if previous load failed.
+       (xbm_read_bitmap_data): Add a new argument, a pointer to the frame
+       to display in, NULL if none.
+       (xbm_load_image, xbm_file_p): Pass xbm_read_bitmap_data the new
+       argument.
+
+2005-10-18  Richard M. Stallman  <rms@gnu.org>
+
+       * search.c (Fstring_match): Doc fix.
+
+2005-10-18  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
+
+       * macterm.c (note_mouse_movement): Use PtInRect.
+       (XTread_socket): Also ignore mouse motion just before a button
+       release event.  Don't process button release event when mouse is
+       not grabbed.
+
+2005-10-16  Masatake YAMATO  <jet@gyve.org>
+
+       * minibuf.c (Fdisplay_completion_list): Add new optional
+       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>
+
+       * mac.c [TARGET_API_MAC_CARBON] (get_cfstring_encoding_from_lisp):
+       Allow nil as argument.
+        [TARGET_API_MAC_CARBON] (Fmac_code_convert_string): Regard nil
+       for encoding arguments as UTF-16 in native byte order, no BOM.
+
+       * macfns.c (Fx_create_frame): Add debugging code.
+       (Fx_show_tip): Set frame pixel width and height.
+
+       * macterm.c (MAC_WINDOW_NORMAL_GC): Remove macro.
+       (FRAME_NORMAL_GC): New macro.
+       (mac_draw_line, mac_clear_area, mac_clear_window)
+       (mac_fill_rectangle, mac_draw_string, mac_draw_string_16)
+       (mac_draw_image_string, mac_draw_image_string_16): Rename from
+       XDrawLine, XClearArea, XClearWindow, XFillRectangle, XDrawString,
+       XDrawString16, XDrawImageString, and XDrawImageString16, respectively.
+       All uses changed.
+       (mac_draw_line, mac_erase_rectangle, mac_clear_area)
+       (mac_clear_window, mac_draw_bitmap, mac_draw_rectangle)
+       (mac_invert_rectangle, mac_draw_string_common, mac_draw_string)
+       (mac_draw_string_16, mac_draw_image_string)
+       (mac_draw_image_string_16, mac_copy_area, mac_copy_area_with_mask)
+       (mac_scroll_area): Drawing functions now take frame as destination.
+       All uses changed.
+       (mac_draw_string_common): Get port height with FRAME_PIXEL_HEIGHT.
+       (x_draw_fringe_bitmap): Set clipping area in face->gc.
+
+       * macterm.h (mac_clear_area): Add extern.
+
+2005-10-14  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
+
+       * macterm.c (note_mouse_movement, XTread_socket): Apply 2005-10-14
+       changes for xterm.c.
+
+       * w32term.c (note_mouse_movement, w32_read_socket): Likewise.
+
+2005-10-14  Kenichi Handa  <handa@m17n.org>
+
+       * search.c (search_buffer): Give up BM search on case-fold-search
+       if one of a target character has a case-equivalence of different
+       charset even if that target charcter is an ASCII.
+
+       * casefiddle.c (casify_object): Fix for the case that case
+       conversion change the byte length.
+
+2005-10-14  Kim F. Storm  <storm@cua.dk>
+
+       * xterm.c (note_mouse_movement): Return 1 if mouse moved; 0 otherwise.
+       (handle_one_xevent): Only clear help_echo_string; restore it if
+       note_mouse_movement didn't record any mouse movement.
+
+       * xdisp.c (pos_visible_p): Convert w->hscroll to pixels before use.
+       (remember_mouse_glyph): Clear RECT if mouse is over an image glyph.
+
+       * keyboard.c (make_lispy_position): Adjust wx for left margin if ON_TEXT.
+       (Fposn_at_x_y): Fix calculation of x coordinate.
+       (Fposn_at_point): Return nil if point is hscrolled out of view.
+
+2005-10-13  Andreas Schwab  <schwab@suse.de>
+
+       * sysdep.c (request_sigio, unrequest_sigio): Do nothing in
+       non-interactive mode.
+
 2005-10-12  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
 
        * xterm.c, w32term.c, macterm.c (note_mouse_movement): Undo last change.
        (FRAME_MAC_WINDOW, FRAME_X_WINDOW): Use window_desc.
 
        * xfaces.c (x_create_gc, x_free_gc) [MAC_OS]: Add BLOCK_INPUT.
-       Add debug code.
+       Add debugging code.
 
 2005-10-08  Kim F. Storm  <storm@cua.dk>
 
        * xterm.c, w32term.c, macterm.c: Rename member for_overlaps_p in
        struct glyph_string to for_overlaps.
 
+2005-10-04  Richard M. Stallman  <rms@gnu.org>
+
+       * alloc.c (refill_memory_reserve): Conditionalize the body,
+       not the function's existence.
+
 2005-10-04  Kim F. Storm  <storm@cua.dk>
 
        * window.c (window_split_tree): New function.
        * keyboard.c (init_keyboard) [MAC_OSX]: Don't install SIGINT handler.
 
        * macfns.c (start_hourglass): Apply 2005-05-07 change for xfns.c.
-       (x_create_tip_frame) [GLYPH_DEBUG]: Uncomment debug code.
+       (x_create_tip_frame) [GLYPH_DEBUG]: Uncomment debugging code.
        (Fx_create_frame, x_create_tip_frame) [USE_ATSUI]:
        Try ATSUI-compatible 12pt Monaco font first.