+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):
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.
+ * 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-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.
+ * 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
2005-06-06 Eli Zaretskii <eliz@gnu.org>
- * w32heap.h (OFFSET_TO_RVA, RVA_TO_OFFSET, RVA_TO_PTR): Remove
- macros.
+ * w32heap.h (OFFSET_TO_RVA, RVA_TO_OFFSET, RVA_TO_PTR): Remove macros.
- * unexw32.c (RVA_TO_PTR): Moved here from w32heap.h.
+ * unexw32.c (RVA_TO_PTR): Move here from w32heap.h.
* w32proc.c (RVA_TO_PTR): New macro.
(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.
+ 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.
+ 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.
* 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.
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>
* 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.
* 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>
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.