+2005-07-01 Masatake YAMATO <jet@gyve.org>
+
+ * emacs.c (main): Passing ADD_NO_RANDOMIZE to
+ `personality'.
+
+2005-06-30 Juri Linkov <juri@jurta.org>
+
+ * xdisp.c (x_draw_vertical_border): If left fringe is not present
+ decrease x coord of vertical border by 1 pixel to not occupy text
+ area of the right window.
+
+ * xterm.c (x_draw_vertical_window_border): Use foreground of
+ VERTICAL_BORDER_FACE_ID for vertical border line.
+
+ * term.c (turn_on_face): In standout mode apply specified
+ fg to bg, and specified bg to fg (this makes the logic of
+ inversion on terminal consistent with X).
+
+2005-06-29 Juanma Barranquero <lekktu@gmail.com>
+
+ * eval.c (user_variable_p_eh): New function.
+ (Fuser_variable_p): Use it. Clarify docstring.
+ Return t for aliases of user options, nil for alias loops.
+
+2005-06-27 Richard M. Stallman <rms@gnu.org>
+
+ * eval.c (Fdefvar): Improve error message.
+
+2005-06-27 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
+
+ * macterm.c [USE_CARBON_EVENTS] (mac_convert_event_ref): Fix last
+ change.
+
+2005-06-27 Juanma Barranquero <lekktu@gmail.com>
+
+ * eval.c (Fdefvar): Don't try to set constant symbols.
+
+2005-06-25 Richard M. Stallman <rms@gnu.org>
+
+ * macfns.c (Fx_show_tip): Pass new arg to try_window.
+
+ * w32fns.c (Fx_show_tip): Pass new arg to try_window.
+
+ * xfns.c (Fx_show_tip): Pass new arg to try_window.
+
+ * xdisp.c (try_window): New arg CHECK_MARGINS. Calls changed.
+ (redisplay_window): Handle try_window reporting point in scroll margin.
+
+ * dispextern.h (try_window): Declare new arg.
+
+ * fileio.c (Fcopy_file): New arg PRESERVE_UID_GID.
+ Use fchmod to copy the file modes.
+ (Frename_file): Don't copy UID and GID here;
+ instead, specify t for PRESERVE_UID_GID when calling Fcopy_file.
+
+ * eval.c (call_debugger): Take full care of extending stack limits
+ to make space for the debugger, and restore the change afterward.
+ Bind debug-on-error to nil.
+ (restore_stack_limits): New subroutine.
+ (Fsignal): Extend specpdl bound along with eval depth bound,
+ for calling edebug. Don't do either one, for calling debugger.
+ (find_handler_clause): Don't bind debug-on-error here.
+ Don't unbind anything either.
+ Temporarily advance max_specpdl_size for calling
+ internal_with_output_to_temp_buffer.
+ (grow_specpdl): Don't alter max_specpdl_size before signaling
+ an error.
+ (syms_of_eval) <max-specpdl-size>: Doc fix.
+
+ * lread.c (read1): 0.0e+NaN should make a "positive" NaN.
+
+2005-06-24 Eli Zaretskii <eliz@gnu.org>
+
+ * fileio.c (Frename_file): Undo last change: no need to ifdef away
+ chown on DOS_NT platforms.
+
+ * w32.c (sys_chown): New function.
+
+ * s/ms-w32.h (chown): New; define to sys_chown.
+
+2005-06-24 Juanma Barranquero <lekktu@gmail.com>
+
+ * xdisp.c (syms_of_xdisp) <nobreak-char-display>: Doc fix.
+ (syms_of_xdisp) <void-text-area-pointer>: Doc fix.
+
+ * fileio.c (Frename_file)[!DOS_NT]: Don't call chown on MSDOS/Windows.
+
+2005-06-23 Richard M. Stallman <rms@gnu.org>
+
+ * xdisp.c (get_next_display_element): Finish reversing the tests of
+ Vnobreak_char_display.
+
+ * xdisp.c (Vnobreak_char_display): Rename from Vshow_nonbreak_escape.
+ All uses changed.
+ (Qnobreak_space): Rename from Qno_break_space. All uses changed.
+ (syms_of_xdisp): Define nobreak-char-display and nobreak-space.
+
+ * fileio.c (Frename_file): Preserve owner and group, if possible,
+ when copying.
+
+2005-06-23 Juanma Barranquero <lekktu@gmail.com>
+
+ * abbrev.c (Funexpand_abbrev):
+ * category.c (Fmake_category_set):
+ * dispnew.c (Fsleep_for, Fsit_for):
+ * editfns.c (Fsubst_char_in_region):
+ * eval.c (Fdefvar, Fdefconst, Feval, Ffuncall):
+ * frame.c (make_frame_without_minibuffer):
+ * lread.c (read_vector):
+ * macfns.c (check_x_frame):
+ * process.c (Fstop_process, Fcontinue_process):
+ * search.c (Freplace_match):
+ * syntax.c (Fstring_to_syntax):
+ * w32fns.c (check_x_frame, check_x_display_info):
+ * xfaces.c (x_supports_face_attributes_p):
+ * xselect.c (Fx_own_selection_internal): Follow error conventions.
+
+ * image.c (fn_png_init_io): Don't define it.
+ (init_png_functions) [HAVE_NTGUI]: Don't initialize fn_png_init_io.
+ (png_read_from_file): New function, based on png_read_from_memory.
+ (png_load): Use it, instead of fn_png_init_io.
+
+2005-06-23 Kim F. Storm <storm@cua.dk>
+
+ * search.c (Fmatch_data): Remove evaporate option.
+ (Fset_match_data): Do not mention evaporate option in doc string.
+ Add commentary explaining evaporate arg (for internal use only).
+ (unwind_set_match_data): Add comment on evaporate use.
+
+2005-06-22 Miles Bader <miles@gnu.org>
+
+ * xfaces.c (Qvertical_border): Renamed from `Qvertical_divider'.
+ (realize_basic_faces, syms_of_xfaces): Update references to it.
+ * dispextern.h (enum face_id): Rename `VERTICAL_DIVIDER_FACE_ID'
+ to `VERTICAL_BORDER_FACE_ID'.
+ * dispnew.c (build_frame_matrix_from_leaf_window): Update references.
+
+2005-06-21 Juri Linkov <juri@jurta.org>
+
+ * dispextern.h: Add extern Qframe_set_background_mode.
+
+ * xfaces.c: Rename obsolete function Qframe_update_face_colors to
+ Qframe_set_background_mode.
+
+ * frame.c (Fmodify_frame_parameters):
+ Call frame-set-background-mode after changing the background color
+ on non-window non-dos branch.
+
+2005-06-21 Juanma Barranquero <lekktu@gmail.com>
+
+ * fns.c (Fchar_table_range):
+ * process.c (Fmake_network_process): Fix spellings.
+
+2005-06-20 Kim F. Storm <storm@cua.dk>
+
+ * fns.c (Fsort): Doc fix.
+
+2005-06-20 Miles Bader <miles@gnu.org>
+
+ * xfaces.c (Qvertical_divider): New variable.
+ (realize_basic_faces): Realize its face.
+ (syms_of_xfaces): Initialize it.
+
+ * dispextern.h (enum face_id): Add `VERTICAL_DIVIDER_FACE_ID'.
+
+ * dispnew.c (build_frame_matrix_from_leaf_window): Display vertical
+ window-separator on ttys using `vertical-divider' face by default.
+
+2005-06-17 Richard M. Stallman <rms@gnu.org>
+
+ * xdisp.c (get_next_display_element): Reverse
+ test of Vshow_nonbreak_escape.
+
+ * term.c (produce_special_glyphs): Use spec_glyph_lookup_face.
+ (Ftty_no_underline): New function.
+ (syms_of_term): defsubr it.
+
+ * keyboard.c (read_char): Call restore_getcjmp after jump occurs.
+
+ * dispnew.c (spec_glyph_lookup_face): New function.
+ (build_frame_matrix_from_leaf_window): Use it.
+
+ * dispextern.h (spec_glyph_lookup_face): Add declaration.
+
+ * buffer.c (syms_of_buffer) <cursor-type>: Doc fix.
+
+2005-06-12 Richard M. Stallman <rms@gnu.org>
+
+ * keyboard.c (read_char): After catching a longjmp,
+ call restore_getcjmp.
+
+2005-06-17 Juanma Barranquero <lekktu@gmail.com>
+
+ * xselect.c (lisp_data_to_selection_data): Fix spelling.
+
+2005-06-15 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
+
+ * macterm.c (mac_compute_glyph_string_overhangs): Don't set
+ overhangs unless the given glyph type is noncomposite CHAR_GLYPH.
+ [USE_CARBON_EVENTS] (mac_convert_event_ref): Convert dead key down
+ events.
+ (XTread_socket): Don't pass keyboard events with the option
+ modifier to the system when Vmac_command_key_is_meta is nil or
+ Vmac_option_modifier is non-nil.
+ [USE_CARBON_EVENTS] (read_socket_inev): New variable.
+ [USE_CARBON_EVENTS] (init_command_handler): Fix argument.
+ [USE_CARBON_EVENTS] (mac_handle_mouse_event): New Carbon event
+ handler function.
+ (install_window_handler) [USE_CARBON_EVENTS]: Install it.
+ (XTread_socket) [USE_CARBON_EVENTS]: Move mouse wheel event
+ handler part to mac_handle_mouse_event.
+
+2005-06-14 Juanma Barranquero <lekktu@gmail.com>
+
+ * eval.c (Fdefvaralias): Rename arguments SYMBOL and ALIASED to
+ NEW-ALIAS and BASE-VARIABLE, respectively.
+
+2005-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
+
+ * xdisp.c (note_mode_line_or_margin_highlight): Lisp_Object/int mixup.
+ (get_phys_cursor_geometry, format_mode_line_unwind_data)
+ (get_line_height_property, x_produce_glyphs): Remove unused vars.
+
+ * coding.c (run_pre_post_conversion_on_str): Remove unused var `buf'.
+
+2005-06-13 Eli Zaretskii <eliz@gnu.org>
+
+ * w32term.c (x_use_underline_position_properties): New variable.
+ (x_draw_glyph_string): Remind in a comment to change doc string of
+ x-use-underline-position-properties if/when underline positioning
+ is implemented.
+ (syms_of_w32term): DEFVAR_BOOL x-use-underline-position-properties,
+ and initialize it to nil.
+
+2005-06-12 Jason Rumney <jasonr@gnu.org>
+
+ * w32fns.c (NEWOPENFILENAME): New struct.
+ (Fx_file_dialog): Use it to trick the system into giving us up to
+ date dialogs on systems that are documented to support it.
+ Do not set OFN_FILEMUSTEXIST flag if looking for a directory.
+
+2005-06-12 Eli Zaretskii <eliz@gnu.org>
+
+ * w32fns.c (w32_abort): Use the MB_YESNO dialog instead of
+ MB_ABORTRETRYIGNORE. Never return, even if DebugBreak does.
+
+2005-06-11 Eli Zaretskii <eliz@gnu.org>
+
+ * image.c (x_create_x_image_and_pixmap) [HAVE_NTGUI]: Cast 4th arg
+ to CreateDIBSection to avoid a compiler warning.
+ (pbm_load): Cast 3rd arg to IMAGE_BACKGROUND to avoid a compiler
+ warning.
+ (png_load): Cast return values of fn_png_create_read_struct and
+ fn_png_create_info_struct, to avoid compiler warnings on W32.
+ Cast 3rd arg to IMAGE_BACKGROUND and image_background_transparent
+ to avoid compiler warnings.
+ (jpeg_load): Cast return value of fn_jpeg_std_error to avoid a
+ compiler warning on W32. Cast 3rd arg to IMAGE_BACKGROUND to
+ avoid a compiler warning.
+ (tiff_load): Cast return values of fn_TIFFOpen and
+ fn_TIFFClientOpen to avoid compiler warning on W32. Cast 3rd arg
+ to IMAGE_BACKGROUND to avoid a compiler warning.
+ (gif_load): Cast return values of fn_DGifOpenFileName and
+ fn_DGifOpen to avoid compiler warnings on W32. Cast 3rd arg to
+ IMAGE_BACKGROUND to avoid a compiler warning.
+ (DrawText) [HAVE_NTGUI || MAC_OS]: If already defined, undef
+ before redefining.
+
+ * w32bdf.c (create_offscreen_bitmap): Cast `bitsp' to `void **' in
+ the call to CreateDIBSection, to avoid a compiler warning.
+
+2005-06-11 Jason Rumney <jasonr@gnu.org>
+
+ * w32fns.c (Fx_file_dialog): Unblock input before falling back to
+ minibuffer.
+ * macfns.c (Fx_file_dialog): Likewise.
+
+2005-06-10 Eli Zaretskii <eliz@gnu.org>
+
+ * makefile.w32-in ($(TEMACS)): Depend on addsection.exe.
+
+2005-06-10 Juanma Barranquero <lekktu@gmail.com>
+
+ * process.c (syms_of_process) [ADAPTIVE_READ_BUFFERING]:
+ * w32fns.c (syms_of_w32fns): Fix spellings.
+
+2005-06-10 Eli Zaretskii <eliz@gnu.org>
+
+ * unexw32.c (COPY_CHUNK, COPY_PROC_CHUNK): Add a new argument
+ `verbose'; print diagnostic messages only if it is non-zero.
+ All callers changed to pass a zero value unless DEBUG_DUMP is defined
+ in the environment.
+ (copy_executable_and_dump_data): Print section names with %.8s.
+
+2005-06-10 Masatake YAMATO <jet@gyve.org>
+
+ * xdisp.c (note_mode_line_or_margin_highlight): Call clear_mouse_face
+ when mouse_face is not given.
+
+2005-06-09 Luc Teirlinck <teirllm@auburn.edu>
+
+ * window.c (Fselect_window): Adapt call to Fselect_frame.
+
+ * lisp.h: Update EXFUN of Fselect_frame.
+
+ * keyboard.c (command_loop_1): Adapt call to Fselect_frame.
+
+ * frame.c (Fhandle_switch_frame, Fselect_frame): Delete unused arg
+ no_enter.
+ (Fset_mouse_position, Fset_mouse_pixel_position, Ficonify_frame):
+ Adapt to above change.
+
+2005-06-10 Juanma Barranquero <lekktu@gmail.com>
+
+ * fns.c (Fmemq, Fmaphash): Doc fixes.
+
+2005-06-09 Juanma Barranquero <lekktu@gmail.com>
+
+ * xfaces.c (Fdisplay_supports_face_attributes_p):
+ Fix typo in docstring.
+
+2005-06-08 Steven Tamm <steventamm@mac.com>
+
+ * unexmacosx.c (copy_data_segment): Copy __la_sym_ptr2 section
+ used by gcc4 on intel mac.
+
+2005-06-09 Kim F. Storm <storm@cua.dk>
+
+ * search.c (Fmatch_data): Add optional RESEAT arg. Unchain markers
+ in REUSE list if non-nil; free them if equal to evaporate.
+ (Fset_match_data): Add optional RESEAT arg. Unchain markers in LIST
+ if non-nil; free them if equal to evaporate. Use XCAR/XCDR.
+ (restore_search_regs): Rename from restore_match_data. Uses changed.
+ (unwind_set_match_data): New function.
+ (record_unwind_save_match_data): New function like save-match-data.
+
+ * lisp.h (Fmatch_data, Fset_match_data): Fix EXFUN.
+ (record_unwind_save_match_data): Add prototype.
+ (restore_search_regs): Rename from restore_match_data.
+
+ * composite.c (compose_chars_in_text):
+ * eval.c (do_autoload):
+ * macmenu.c (set_frame_menubar):
+ * process.c (read_process_output, exec_sentinel):
+ * xmenu.c (set_frame_menubar):
+ * xdisp.c (prepare_menu_bars, update_menu_bar, update_tool_bar):
+ * w32menu.c (set_frame_menubar):
+ Use record_unwind_save_match_data.
+
+2005-06-08 Richard M. Stallman <rms@gnu.org>
+
+ * xdisp.c (get_next_display_element): Alter previous change:
+ Distinguish Vshow_nonbreak_escape = t or not t.
+ For t, use escape_glyph once again, as before previous change.
+ Use space or hyphen for display, instead of the non-ASCII char.
+ (syms_of_xdisp) <show-nonbreak-escape>: Doc fix.
+
+ * process.c (Fstart_process): Don't touch command_channel_p slot.
+
+ * process.h (struct process): Delete command_channel_p.
+
+2005-06-07 Masatake YAMATO <jet@gyve.org>
+
+ * xdisp.c (note_mode_line_or_margin_highlight):
+ Check the overlapping of re-rendering area to avoid flickering.
+ (note_mouse_highlight): Call clear_mouse_face if PART
+ is not ON_MODE_LINE nor ON_HEADER_LINE.
+
+2005-06-07 Kim F. Storm <storm@cua.dk>
+
+ * process.c: Improve commentary for adaptive read buffering.
+
+2005-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
+
+ * xterm.c (x_create_toolkit_scroll_bar): Use XtNarrowScrollbars
+ if available.
+
+2005-06-06 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se>
+
+ * macmenu.c (menu_quit_handler, install_menu_quit_handler):
+ New functions for popping down menus on C-g.
+ (set_frame_menubar, mac_menu_show): Call install_menu_quit_handler.
+
+ * macterm.c: Make mac_quit_char_modifiers and mac_quit_char_keycode
+ non-static.
+
+ * config.in: Add HAVE_CANCELMENUTRACKING.
+
+2005-06-06 Eli Zaretskii <eliz@gnu.org>
+
+ * w32heap.h (OFFSET_TO_RVA, RVA_TO_OFFSET, RVA_TO_PTR): Remove macros.
+
+ * unexw32.c (RVA_TO_PTR): Move here from w32heap.h.
+
+ * w32proc.c (RVA_TO_PTR): New macro.
+
+ * w32heap.c (RVA_TO_PTR): No need to #undef now.
+
+ * makefile.w32-in ($(BLD)/emacs.$(O), $(BLD)/w32select.$(O)):
+ Depend on w32heap.h.
+
+2005-06-06 Luc Teirlinck <teirllm@auburn.edu>
+
+ * keyboard.c (command_loop_1): Update Vthis_original_command.
+
+2005-06-06 Richard M. Stallman <rms@gnu.org>
+
+ * xmenu.c (popup_get_selection): Undo previous change.
+
+2005-06-06 Juri Linkov <juri@jurta.org>
+
+ * xdisp.c (Qno_break_space): New variable.
+ (syms_of_xdisp): Initialize it.
+ (get_next_display_element): Add no-break space and soft hypen
+ codes for iso8859-2 and iso8859-5. Don't add `\' for them.
+ Use `no-break-space' face for no-break spaces.
+
+2005-06-06 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se>
+
+ * window.c (delete_window): Handle the case where a h/vchild has
+ a h/vchild.
+
+2005-06-05 Eli Zaretskii <eliz@gnu.org>
+
+ * w32.c (sys_setsockopt): Change arg 4 to `const void *'. In the
+ call to pfn_setsockopt, cast optval to `const char *'.
+
+2005-06-04 Eli Zaretskii <eliz@gnu.org>
+
+ * w32.c (gettimeofday): Use struct _timeb, not struct timeb.
+ (open_unc_volume): Cast return value of map_w32_filename, to avoid
+ compiler warnings.
+
+ * s/ms-w32.h (fileno): Don't define if already defined.
+
+ * emacs.c: Include w32heap.h, to avoid compiler warning about sbrk.
+
+ * makefile.w32-in (DOC): Define to point to the generated DOC-X.
+
+2005-06-04 Richard M. Stallman <rms@gnu.org>
+
+ * xmenu.c (popup_get_selection): Click not in menu deactivates menu.
+
+2005-06-04 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se>
+
+ * macmenu.c (cleanup_popup_menu): New function.
+ (Fx_popup_menu): unwind protect cleanup_popup_menu in case
+ mac_menu_show Quit:s.
+ (mac_menu_show): Quit on cancel if not popped up on click (i.e.
+ a dialog).
+
+2005-06-04 Kim F. Storm <storm@cua.dk>
+
+ * coding.c (decode_coding_string): Handle CODING_FINISH_INTERRUPT.
+
+ * callproc.c (Fcall_process): Don't use alloca to gradually
+ increase size of buf, as it effectively uses twice the necessary
+ space on the stack. Instead, pre-allocate buf of full size, and
+ gradually increase the read size.
+
+ * bytecode.c (BYTE_CODE_QUIT): Check Vthrow_on_input.
+
+ * eval.c (unbind_to): Preserve value of Vquit_flag.
+
+ * xterm.c (handle_one_xevent): Also ignore mouse motion just
+ before a button release event.
+
+2005-06-03 Juanma Barranquero <lekktu@gmail.com>
+
+ * xfaces.c (Finternal_lisp_face_equal_p): Really report
+ on faces in a frame, if the argument FRAME is non-nil.
+ Improve argument/docstring consistency.
+
+2005-06-02 Kim F. Storm <storm@cua.dk>
+
+ * xdisp.c (MODE_LINE_NOPROP_LEN): New macro.
+ (x_consider_frame_title, Fformat_mode_line): Save offset into
+ mode_line_noprop_buf rather than pointer, in case buffer is relocated.
+
+2005-06-01 Kim F. Storm <storm@cua.dk>
+
+ * fns.c (mapcar1): Maybe exit loop if original sequence was modified.
+
+2005-06-01 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
+
+ * macterm.c (mac_to_x_fontname, mac_do_list_fonts): Set XLFD
+ resolution fields for scalable fonts to 0.
+
+ * xfaces.c (build_scalable_font_name): Round pixel size to the
+ nearest integer.
+
+2005-06-01 Kim F. Storm <storm@cua.dk>
+
+ * xdisp.c (display_mode_line): Support nested calls to redisplay
+ and format-mode-line. Set mode_line_target to MODE_LINE_DISPLAY.
+
+2005-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
+
+ * fileio.c (Finsert_file_contents):
+ * xdisp.c (note_mode_line_or_margin_highlight): Lisp_Object/int mixup.
+
+2005-05-31 Kim F. Storm <storm@cua.dk>
+
+ * xdisp.c (mode_line_noprop_buf, mode_line_noprop_buf_end)
+ (mode_line_noprop_ptr): Rename from frame_title_*.
+ (store_mode_line_noprop_char): Rename from store_frame_title_char.
+ (store_mode_line_noprop): Rename from store_frame_title.
+ (mode_line_target): New enum to specify current output target
+ for mode line formatting.
+ (display_mode_element): Test it rather than frame_title_ptr and
+ mode_line_string_list to determine where output should go.
+ (mode_line_proptrans_alist, mode_line_string_alist): Make static.
+ (Vmode_line_unwind_vector): New variable.
+ (format_mode_line_unwind_data, unwind_format_mode_line):
+ New functions for unwind protection in mode line formatting.
+ (x_consider_frame_title): Use them and new local var 'title_start'
+ to support nested calls to format-mode-line and redisplay.
+ Set mode_line_target to MODE_LINE_TITLE.
+ (Fformat_mode_line): Use them and new local var 'string_start' to
+ support nested calls to format-mode-line and redisplay.
+ Set mode_line_target to MODE_LINE_NOPROP or MODE_LINE_STRING.
+ Don't trim trailing dashes.
+ (decode_mode_spec): Don't make infinite number of trailing dashes
+ for MODE_LINE_NOPROP and MODE_LINE_STRING targets.
+ (syms_of_xdisp): Initialize and staticpro mode_line_string_face,
+ mode_line_string_face_prop, and Vmode_line_unwind_vector.
+ (init_xdisp): Initialize mode_line_noprop_ptr to start of _buf.
+ Initialize mode_line_target to MODE_LINE_DISPLAY.
+
+2005-05-29 Richard M. Stallman <rms@gnu.org>
+
+ * buffer.c (Fbuffer_local_value): Call indirect_variable.
+
+2005-05-28 Masatake YAMATO <jet@gyve.org>
+
+ * xdisp.c (note_mode_line_or_margin_highlight): Change the
+ pointer to a hand cursor when hoovering over a mouse-face.
+
+2005-05-27 Kenichi Handa <handa@m17n.org>
+
+ * xterm.c (x_encode_char): Call check_ccl_update in advance.
+
+ * ccl.c: Now an element of Vccl_program_table is a vector of
+ length 4, not 3.
+ (ccl_get_compiled_code): New arg idx. Caller changed.
+ Adjust for the change of Vccl_program_table.
+ (setup_ccl_program): Adjust for the change of Vccl_program_table.
+ (check_ccl_update): New function.
+ (Fregister_ccl_program): Use ASET to set an element of a vector.
+ Adjusted for the change of Vccl_program_table.
+
+ * ccl.h (struct ccl_program): New member idx.
+ (check_ccl_update): Extern it.
+
+2005-05-27 Juanma Barranquero <lekktu@gmail.com>
+
+ * image.c (Vimage_library_alist): Move from image.el.
+ (syms_of_image): Defvar it.
+ (lookup_image_type): Use it.
+
+ * buffer.c (Fbuffer_local_value): Make argument name match its use
+ in docstring.
+
+2005-05-26 Juanma Barranquero <lekktu@gmail.com>
+
+ * keyboard.c (Frecursive_edit): Fix typo in docstring.
+ (Fposn_at_x_y): Make argument name match its use in docstring.
+
+2005-05-26 Lute Kamstra <lute@gnu.org>
+
+ * eval.c (Frun_hooks): Mention run-mode-hooks in docstring.
+
+2005-05-24 Masatake YAMATO <jet@gyve.org>
+
+ * xdisp.c (note_mode_line_or_margin_highlight): Use b and e
+ as loop sentinels.
+
+2005-05-24 Nick Roberts <nickrob@snap.net.nz>
+
+ * xmenu.c (Fx_popup_dialog): Add a third boolean argument to
+ select frame title ("Question"/"Information").
+ (xdialog_show): Use it.
+
+ * macmenu.c (Fx_popup_dialog, mac_dialog_show): As for xmenu.c.
+
+ * w32menu.c (Fx_popup_dialog, w32_dialog_show): As for xmenu.c.
+
+ * fns.c (Fyes_or_no_p, Fy_or_n_p): Call Fx_popup_dialog with
+ a third argument (Qnil).
+
+ * lisp.h: x-popup-dialog can have three arguments.
+
+ * editfns.c (Fmessage_box): Use "Information" for frame title.
+
+2005-05-23 Thien-Thi Nguyen <ttn@gnu.org>
+
+ * termcap.c [VMS]: Include <starlet.h>.
+
+2005-05-23 Masatake YAMATO <jet@gyve.org>
+
+ * xdisp.c (note_mode_line_or_margin_highlight): Add code
+ for mouse-face. Change the type of the first argument from `window'
+ to `Lisp_Object'.
+ (note_mouse_highlight): Call note_mode_line_or_margin_highlight with
+ window instead of w.
+
2005-05-22 Andreas Schwab <schwab@suse.de>
* process.c (send_process): Move misplaced volatile.
2005-05-16 Andreas Schwab <schwab@suse.de>
- * unexmacosx.c (unexec_realloc): Move declarations before
- statements.
+ * unexmacosx.c (unexec_realloc): Move declarations before statements.
2005-05-14 Richard M. Stallman <rms@gnu.org>
* emacs.c (main) [MAC_OS8]: Call init_atimer before mac_term_init.
- * keyboard.c (readable_events) [USE_TOOLKIT_SCROLL_BARS]: Regard
- toolkit scroll bar thumb drag events as squeezable and prevent
+ * keyboard.c (readable_events) [USE_TOOLKIT_SCROLL_BARS]:
+ Regard toolkit scroll bar thumb drag events as squeezable and prevent
redisplay from being paused by them.
* mac.c [!MAC_OSX]: Include keyboard.h and syssignal.h.
[!MAC_OSX] (check_alarm, pause, index): Remove functions.
[!MAC_OSX && __MRC__] (sys_strftime): Likewise.
[!MAC_OSX] (select): If fd 0 is not set in rfds and some input
- event occurs before timeout, behave as if the function were
- interrupted.
+ event occurs before timeout, behave as if the function were interrupted.
[!MAC_OSX] (sigblock, sigsetmask, alarm): Simulate SIGALRM
handling using Time Manager routines.
- [!MAC_OSX] (mac_atimer_task, mac_atimer_qlink, signal_mask): New
- variables.
+ [!MAC_OSX] (mac_atimer_task, mac_atimer_qlink, signal_mask):
+ New variables.
[!MAC_OSX] (mac_atimer_handler, set_mac_atimer, remove_mac_atimer)
(setitimer): New functions.
(x_scroll_bar_handle_click): Change type of second argument from
int to ControlPartCode.
(check_alarm): Remove declaration.
- (XTread_Socket) [!TARGET_API_MAC_CARBON]: Don't call it.
- (XTread_Socket): Use ControlPartCode instead of SInt16.
+ (XTread_socket) [!TARGET_API_MAC_CARBON]: Don't call it.
+ (XTread_socket): Use ControlPartCode instead of SInt16.
2005-05-13 Nozomu Ando <nand@mac.com>
2005-01-13 Kim F. Storm <storm@cua.dk>
* xdisp.c (Fformat_mode_line): Fix last change. Remove NO_PROPS arg
- (specify 0 for FACE instead). Reorder arg list. Doc fix.
+ (specify 0 for FACE instead). Reorder arg list. Doc fix.
2005-01-12 Richard M. Stallman <rms@gnu.org>
fontp->space_width to FONT_WIDTH so they are valid.
* w32fns.c (w32_load_system_font): Set FONT_WIDTH to maximum, not
- average width. Set fontp->average_width and fontp->space_width to
+ average width. Set fontp->average_width and fontp->space_width to
their appropriate values.
* w32term.c (x_new_font): Set FRAME_COLUMN_WIDTH to
* xdisp.c (setup_for_ellipsis, get_next_display_element):
Set it->ellipsis_p to 1 or 0.
(display_line): Record whether row ends in mid-ellipsis.
- (set_cursor_from_row): If ends in ellipsis. find start of it.
+ (set_cursor_from_row): If ends in ellipsis, find start of it.
(cursor_row_p): If PT's at the end of the ellipsis the row
ends within, don't display cursor on this row.
* xdisp.c (expose_window, expose_frame): Remove kludges for Mac.
- * xfaces.c (clear_font_table) [MAC_OS]: call mac_unload_font.
+ * xfaces.c (clear_font_table) [MAC_OS]: Call mac_unload_font.
2004-12-27 Richard M. Stallman <rms@gnu.org>
(xmenu_show): In no toolkit version, if menu returns NO_SELECT call
Fsignal to quit.
- * xfns.c (Fx_file_dialog): Motif/Lesstif version: Pop down on C-g.
+ * xfns.c (Fx_file_dialog): Motif/Lesstif version: Pop down on C-g.
* gtkutil.c (xg_initialize): Install bindings for C-g so that
dialogs and menus pop down.
* fringe.c (update_window_fringes): Prefer truncation bitmaps over
angle bitmaps at top/bottom line.
- * xdisp.c: Undo recent changes for restoring saved_face_id. Instead,
+ * xdisp.c: Undo recent changes for restoring saved_face_id. Instead,
set it when it->method is set to next_element_from_display_vector.
(setup_for_ellipsis): Add LEN argument. Callers changed.
Set it->saved_face_id.
* xfns.c (Fx_file_dialog): Call popup_activated instead of
x_menu_in_use. Call x_menu_set_in_use in Motif version also.
- * xterm.h: (x_menu_in_use): Remove.
+ * xterm.h (x_menu_in_use): Remove.
2004-11-16 Richard M. Stallman <rms@gnu.org>
(MR_PARTIALLY_VISIBLE_AT_BOTTOM): New helper macros.
(MATRIX_ROW_PARTIALLY_VISIBLE_P): Fix to return false if invisible
part of last line is only extra line spacing (so the text on the
- line is fully visible). Use helper macros.
+ line is fully visible). Use helper macros.
Add W arg (to use them). All callers changed.
(MATRIX_ROW_PARTIALLY_VISIBLE_AT_TOP_P)
(MATRIX_ROW_PARTIALLY_VISIBLE_AT_BOTTOM_P): Use helper macros.
2004-11-12 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se>
* xmenu.c (x_menu_wait_for_event): New function.
- (popup_get_selection, popup_widget_loop): Call x_menu_wait_for_event
+ (popup_get_selection, popup_widget_loop): Call x_menu_wait_for_event
to handle timers.
(popup_widget_loop): Add argument do_timers.
(create_and_show_popup_menu, create_and_show_dialog): Pass 1 for
2004-10-28 Will <will@glozer.net>
- * macterm.c: allow user to assign key modifiers to the Mac Option
+ * macterm.c: Allow user to assign key modifiers to the Mac Option
key via a 'mac-option-modifier' variable.
2004-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
* keyboard.c (timer_resume_idle): New function to resume idle
timer without resetting timers on the idle list.
- (read_char): Use timer_resume_idle. Remove local var last_idle_start.
+ (read_char): Use timer_resume_idle. Remove local var last_idle_start.
(timer_start_idle, timer_stop_idle): Declare static.
(read_key_sequence): Use timer_resume_idle instead of timer_start_idle.
* keymap.c (Fset_keymap_parent, Fdefine_prefix_command): Doc fixes.
- * keyboard.c (syms_of_keyboard) <disable-point-adjustment>: Doc fix.
+ * keyboard.c (syms_of_keyboard) <disable-point-adjustment>: Doc fix.
* callint.c (Fcall_interactively): Doc fix.
2004-06-11 Kenichi Handa <handa@m17n.org>
- * coding.c (decode_coding_string): Check CODING_FINISH_INTERRUPT.
+ * coding.c (encode_coding_string): Check CODING_FINISH_INTERRUPT.
2004-06-11 Kim F. Storm <storm@cua.dk>
elt_prefix combined with Fsingle_key_description.
(describe_vector): Declare static. Replace arg `elt_prefix' with
`prefix'. Add KEYMAP_P arg. Add local var `elt_prefix'; use it
- if !KEYMAP_P. Use Fkey_description with prefix instead of
+ if !KEYMAP_P. Use Fkey_description with prefix instead of
Fsingle_key_description.
* keymap.h (Fkey_description): Fix prototype.
(display_mode_line): Set mode_line_p before displaying line.
(calc_pixel_width_or_height): Declare extern. Add separate :align-to
handling. Remove complex cases for fringes and scroll-bars.
- Add left, right, and center alignment positions. Add text (area)
+ Add left, right, and center alignment positions. Add text (area)
width/height. Return width or height for image specs.
(produce_stretch_glyph): Improve handling of :align-to. Is now
relative to left of text area by default, but other base offsets
* fileio.c (Fread_file_name): Check use_file_dialog also before
calling Fx_file_dialog.
- * fns.c: use_file_dialog: New variable.
+ * fns.c (use_file_dialog): New variable.
(syms_of_fns): DEFVAR_BOOL use-file-dialog.
2003-11-29 Kim F. Storm <storm@cua.dk>
* intervals.h (CHECK_TOTAL_LENGTH): New macro.
* intervals.c: Add many calls to CHECK_TOTAL_LENGTH.
- * alloc.c: (VALIDATE_LISP_STORAGE): Macro deleted.
+ * alloc.c (VALIDATE_LISP_STORAGE): Macro deleted.
All calls deleted.
(lisp_malloc): Do the work here directly.
(syms_of_w32fns): Don't intern/staticpro removed vars.
* w32term.c: Remove unnecessary extern declarations.
- (x_fullscreen_adjust): Remove. Use generic instead.
+ (x_fullscreen_adjust): Remove. Use generic instead.
(x_redisplay_interface): Add w32_frame_parm_handlers member.
* w32reg.c (x_get_string_resource): Use XrmDatabase.
for USE_GTK.
(x_scroll_bar_handle_click): Use this function for toolkit scrollbars
also.
- (handle_one_xevent): ButtonPress/Release: If event is for a toolkit
+ (handle_one_xevent): ButtonPress/Release: If event is for a toolkit
scrollbar and control is pressed, call x_scroll_bar_handle_click.
* gtkutil.h (xg_get_scroll_id_for_window): Declare.
2003-01-21 David Ponce <david@dponce.com>
* w32term.c (w32_encode_char): For DIM=1 charset, set
- ccl->reg[2] to -1 before calling ccl_driver. (Sync. with xterm.c
- x_encode_char change by Kenichi Handa <handa@m17n.org> on
- 2002-09-30.)
+ ccl->reg[2] to -1 before calling ccl_driver.
+ (Sync. with xterm.c x_encode_char change by Kenichi Handa
+ <handa@m17n.org> on 2002-09-30.)
(w32_draw_relief_rect): Declare all args.
(w32_define_cursor): New.
* sound.c: Added a partial implementation of play-sound-internal
for Microsoft Windows. Added various #ifdef / #else / #endif
code blocks to separate the code that will compile under
- Microsoft Windows from the code that is specific to Gnu/Linux.
+ Microsoft Windows from the code that is specific to GNU/Linux.
Moved several blocks of code around to make this separation of code
- into Windows compatible and Gnu/Linux compatible code blocks easier.
+ into Windows compatible and GNU/Linux compatible code blocks easier.
* makefile.w32-in: Include sound.c and link with WinMM.lib.
2002-06-27 Kim F. Storm <storm@cua.dk>
- * xdisp.c: (mode_line_string_list, mode_line_string_face)
+ * xdisp.c (mode_line_string_list, mode_line_string_face)
(mode_line_string_face_prop): New variables.
(store_mode_line_string): New function.
(display_mode_element): Use store_mode_line_string to
2002-06-24 Juanma Barranquero <lektu@terra.es>
- * w32select.c: Include composite.h
+ * w32select.c: Include composite.h.
* w16select.c: Likewise.
* config.in: Add HAVE_SHARED_GAME_DIR.
- * callproc.c: (Vgame_score_directory): New variable.
+ * callproc.c (Vgame_score_directory): New variable.
(syms_of_callproc) <Vgame_score_directory>: DEFVAR_LISP.
2002-04-10 Richard M. Stallman <rms@gnu.org>
* xterm.h (x_session_check_input, x_session_initialize): Declare.
- * xterm.c: (XTread_socket): Add call to x_session_check_input and
+ * xterm.c (XTread_socket): Add call to x_session_check_input and
x_session_have_connection.
(x_initialize): Add call to x_session_initialize.
2002-02-17 Kim F. Storm <storm@cua.dk>
- * frame.c: (Vmouse_highlight): New variable.
+ * frame.c (Vmouse_highlight): New variable.
(syms_of_frame): DEFVAR_LISP it.
- * frame.h: (Vmouse_highlight): Declare extern.
+ * frame.h (Vmouse_highlight): Declare extern.
* xterm.h (struct x_display_info): Add mouse_face_hidden.
2001-11-16 Eli Zaretskii <eliz@is.elta.co.il>
- * syswait.h: (HAVE_SYS_WAIT_H): Undef for ISC 4.1. Reported by
+ * syswait.h (HAVE_SYS_WAIT_H): Undef for ISC 4.1. Reported by
Andrew Wiseman <a.wiseman@btclick.com>.
2001-11-16 Kim F. Storm <storm@cua.dk>
* xterm.c: Fix typo in a comment.
- * lisp.h: (gdb_lisp_params): Remove code in #if 0 which is now in
+ * lisp.h (gdb_lisp_params): Remove code in #if 0 which is now in
emacs.c.
2001-10-27 Gerd Moellmann <gerd@gnu.org>
2001-10-24 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
- * xterm.c: (x_insert_glyphs): Remove unused variables `real_end'
+ * xterm.c (x_insert_glyphs): Remove unused variables `real_end'
and `real_start'.
(x_draw_image_foreground): Remove unused variables `mask' and `xgcv'.
(glyph_rect): Remove unused variable `area'.
(HAVE_BOXES): Fix typo in comment.
(push_menu_pane): Fix typo in comment.
- * xdisp.c: (display_prop_string_p): Remove unused local declaration
+ * xdisp.c (display_prop_string_p): Remove unused local declaration
of `Qwhen'.
(single_display_prop_string_p): Remove unused local declarations
of `Qwhen' and `Qmargin'.