+2002-01-21 Jan D. <Jan.Djarv@mbox200.swipnet.se>
+
+ * xfns.c (x_set_frame_parameters): Just call x_fullscreen_adjust
+ if fullscreen is being set.
+
+2002-01-21 Pavel Jan\e,Bm\e(Bk <Pavel@Janik.cz>
+
+ * minibuf.c (Fminibuffer_contents)
+ (Fminibuffer_contents_no_properties, Fread_from_minibuffer)
+ (Fread_string, Fread_no_blanks_input, Fcompleting_read): Doc fixes.
+
+2002-01-21 Richard M. Stallman <rms@gnu.org>
+
+ * window.c (check_frame_size): Fix minimum height calculation.
+
+2002-01-20 Ken Raeburn <raeburn@gnu.org>
+
+ * dispextern.h (WINDOW_WANTS_MODELINE_P): Use XFASTINT on window
+ height before comparison.
+ (WINDOW_WANTS_HEADER_LINE_P): Likewise.
+
+2002-01-20 Jason Rumney <jasonr@gnu.org>
+
+ * w32term.c (w32_system_caret_width): Remove.
+ (w32_use_visible_system_caret): New user flag.
+ (syms_of_w32term): DEFVAR_BOOL it. Initialize based on whether
+ Windows reports a screen reader running.
+ (x_update_window_begin): Hide the system caret.
+ (x_update_window_end): Show the system caret.
+ (x_display_and_set_cursor): Don't draw a cursor when
+ w32_use_visible_system_caret is set. Do not adjust width.
+
+ * w32fns.c (w32_visible_system_caret_hwnd): New static variable.
+ (w32_wnd_proc) <WM_KILL_FOCUS, WM_EMACS_DESTROY_CARET>: Set it.
+ <WM_EMACS_TRACK_CARET>: Arrange for system caret to be visible if
+ the user requests it. Use system default width when creating.
+ <WM_EMACS_HIDE_CARET, WM_EMACS_SHOW_CARET>: Handle new messages.
+
+ * w32term.h (WM_EMACS_SHOW_CARET, WM_EMACS_HIDE_CARET): New
+ window messages.
+
+2002-01-20 Richard M. Stallman <rms@gnu.org>
+
+ * window.c (MIN_SAFE_WINDOW_HEIGHT): Value now 1.
+
+2002-01-20 Pavel Jan\e,Bm\e(Bk <Pavel@Janik.cz>
+
+ * doprnt.c (doprnt1): Fix typos in error call.
+
+2002-01-20 Eli Zaretskii <eliz@is.elta.co.il>
+
+ * unexelf.c (unexec) [__sgi]: Support the .got sections.
+
+2002-01-20 Jason Rumney <jasonr@gnu.org>
+
+ * w32term.c (w32_native_per_char_metric): Don't trust the metrics
+ that Windows returns. If a double check fails, try to guess how
+ ExtTextOut is going to act.
+
+ * w32fns.c (w32_load_system_font, w32_to_x_charset): Use strnicmp
+ in place of stricmp.
+ (w32_list_synthesized_fonts): Removed.
+ (w32_to_all_x_charsets, enum_font_maybe_add_to_list): New functions.
+ (struct enumfont_t): New element; list.
+ (enum_font_cb2): List all style and charset variations of a font.
+ (Fw32_select_font): New optional argument; include_proportional.
+ Exclude vertical fonts. Exclude proportional fonts unless
+ include_proportional is non-nil.
+ (w32_enable_synthesized_fonts): Change to a boolean.
+ (Fw32_send_sys_command): Doc fix.
+
+2002-01-19 Pavel Jan\e,Bm\e(Bk <Pavel@Janik.cz>
+
+ * dispnew.c (update_frame): Move the variable `tem' to the block
+ where it is used.
+
+2002-01-19 Jason Rumney <jasonr@gnu.org>
+
+ * w32fns.c (Fx_create_frame): Bind redisplay-dont-pause around
+ call to face-set-after-frame-default.
+
+2002-01-18 Richard M. Stallman <rms@gnu.org>
+
+ * dispextern.h (WINDOW_WANTS_MODELINE_P): Check window height > 1.
+ (WINDOW_WANTS_HEADER_LINE_P): Check window height provides room.
+
+2002-01-17 Richard M. Stallman <rms@gnu.org>
+
+ * window.c (enlarge_window): When exceeding size of parent,
+ directly delete all the siblings instead of trying to resize it.
+
+2002-01-17 Pavel Jan\e,Bm\e(Bk <Pavel@Janik.cz>
+
+ * term.c (set_tty_color_mode): Remove unused variable `tem'.
+
+2002-01-16 Henrik Enberg <henrik@enberg.org>
+
+ * lread.c (init_lread): Move the installed-lisp dirs later in the path.
+
+2002-01-16 Kim F. Storm <storm@cua.dk>
+
+ * xterm.c (x_erase_phys_cursor): Don't erase cursor if cursor row
+ is invisible. This can happen if cursor is on top line of a
+ window, and we switch to a buffer with a header line.
+
+ * w32term.c (x_erase_phys_cursor): ditto.
+
+2002-01-16 Pavel Jan\e,Bm\e(Bk <Pavel@Janik.cz>
+
+ * xterm.c (XTread_socket) [!USE_X_TOOLKIT]: Compute the value of
+ `dont_resize' only when used.
+
+ * xdisp.c: Remove forgotten extern declaration of `Qimage'.
+
+2002-01-15 Eli Zaretskii <eliz@is.elta.co.il>
+
+ * xdisp.c (display_mode_element): When computing charpos, depend
+ on multibyteness of elt, not the text in field.
+
+2002-01-15 Pavel Jan\e,Bm\e(Bk <Pavel@Janik.cz>
+
+ * buffer.c (Fkill_all_local_variables): Increment
+ `update_mode_lines' only once.
+
+2002-01-14 Pavel Jan\e,Bm\e(Bk <Pavel@Janik.cz>
+
+ * lisp.h (adjust_after_replace_noundo)
+ (Fupdate_coding_systems_internal): Add prototypes.
+
+ * sound.c (Fplay_sound): Initialize header_size also for :data
+ case.
+
+2002-01-14 Eli Zaretskii <eliz@is.elta.co.il>
+
+ Support for the --color command-line argument and tty-color-mode
+ frame parameter:
+
+ * term.c (tty_default_color_capabilities, tty_setup_colors)
+ (set_tty_color_mode): New functions.
+ (term_init): Call tty_default_color_capabilities.
+ (Qtty_color_mode_alist): New variable.
+ (syms_of_term): Intern and staticpro it.
+
+ * frame.c (store_frame_param): Call set_tty_color_mode for termcap
+ frames.
+ (do_switch_frame): For termcap frames, switch the tty
+ color mode as specified by the frame's parameters.
+ (Qtty_color_mode): New variable.
+ (syms_of_frame): Intern and staticpro it.
+
+ * emacs.c (USAGE2): Add the --color option.
+ (standard_args): Ditto.
+
+2002-01-13 Jan Djarv <Jan.Djarv@mbox200.swipnet.se>
+
+ * xterm.h (struct x_output): New members want_fullscreen,
+ x_pixels_diff, y_pixels_diff, x_pixels_outer_diff, and
+ y_pixels_outer_diff.
+ New enum for FULLSCREEN_* constants.
+ (FRAME_OUTER_WINDOW): Handle the case where output_data.x->widget
+ is NULL.
+ (x_fullscreen_adjust): Add prototype.
+
+ * emacs.c (USAGE2): Add the new full-screen arguments.
+ (standard_args): Ditto.
+
+ * xfns.c (Qfullscreen, Qfullwidth, Qfullheight, Qfullboth): New
+ variables.
+ (syms_of_xfns): Intern and staticpro them.
+ (x_frame_parms) <"fullscreen">: New parameter.
+ (x_fullscreen_move, x_set_fullscreen): New functions.
+ (x_set_frame_parameters): Support for Qfullscreen.
+ (x_real_positions): More accurate computation of the frame position.
+ (x_figure_window_size): Support full-screen frames.
+ (Fx_create_frame): Default the fullscreen parameter.
+
+ * xterm.c (x_check_fullscreen, x_fullscreen_adjust): New functions.
+ (XTread_socket) <Expose>: Call x_check_fullscreen.
+ <ConfigureNotify>: Don't resize to fullscreen. Call
+ x_check_fullscreen_move, and set the want_fullscreen member of
+ output_data.x.
+
+2002-01-13 Jason Rumney <jasonr@gnu.org>
+
+ * w32term.h (WM_XBUTTONDOWN, WM_XBUTTONUP): New window messages
+ for mice with more than 3 buttons.
+
+ * w32term.c (parse_button): New parameter xbutton. Callers changed.
+ (w32_read_socket): Handle new "XBUTTON" messages.
+
+ * w32fns.c (w32_pass_extra_mouse_buttons_to_system): New user option.
+ (syms_of_w32fns): DEFVAR_BOOL it.
+ (w32_wnd_proc): Handle new "XBUTTON" messages.
+
+2002-01-13 Pavel Jan\e,Bm\e(Bk <Pavel@Janik.cz>
+
+ * keyboard.c (read_key_sequence): Remove unused variable
+ `extra_maps'.
+
+2002-01-13 Andreas Schwab <schwab@suse.de>
+
+ * xterm.c (x_load_font): Never set fonts_changed_p to zero.
+
+2002-01-12 Andreas Schwab <schwab@suse.de>
+
+ * .gdbinit (xbuffer): Remove address operator since data is now a
+ pointer.
+
+2002-01-11 Richard M. Stallman <rms@gnu.org>
+
+ * insdel.c (adjust_after_replace_noundo): New function.
+
+ * coding.c (code_convert_region): Don't copy old text if undo disabled.
+
+2002-01-09 Jason Rumney <jasonr@gnu.org>
+
+ * xdisp.c (x_consider_frame_title): Don't count the tooltip frame
+ when checking for multiple frames.
+
+2002-01-08 Richard M. Stallman <rms@gnu.org>
+
+ * window.c (delete_window): Rewrite the code for changing the
+ selected window to handle the case where WINDOW is not a leaf.
+
+2002-01-07 Eli Zaretskii <eliz@is.elta.co.il>
+
+ * process.c (send_process): Set src_multibyte to 1 after the call
+ top setup_coding_system, not before the call.
+
+2002-01-07 Jason Rumney <jasonr@gnu.org>
+
+ * xmenu.c (set_frame_menubar, xmenu_show):
+ (xdialog_show): Initialize wv->help to Qnil.
+
+ * w32menu.c (single_submenu, set_frame_menubar, w32_menu_show):
+ (w32_dialog_show): Initialize wv->help to Qnil.
+
+2002-01-06 Jason Rumney <jasonr@gnu.org>
+
+ * xmenu.c (single_submenu): Initialize wv->help to Qnil.
+
+ * w32menu.c (w32_menu_display_help): Revert last change.
+
+ * xmenu.c (menu_highlight_callback): Revert last change.
+
+2002-01-06 Andreas Schwab <schwab@suse.de>
+
+ * insdel.c (make_gap_larger): Make sure buffer size does not
+ overflow range of int.
+
+2002-01-05 Jason Rumney <jasonr@gnu.org>
+
+ * w32term.c (x_draw_glyphs): Don't call notice_overwritten_cursor if
+ OVERLAPS_P.
+
+ * w32menu.c (w32_menu_display_help): Hide any tooltip window.
+
+ * w32fns.c (compute_tip_xy): If tooltip won't fit on the screen
+ to the left or to the right of the pointer, put it against
+ the left screen edge.
+ (x_frame_parms): Add missing braces around initializer.
+
+ * w32term.c (x_setup_relief_colors): Don't compute an image's
+ background color if it doesn't have a Pixmap.
+ (notice_overwritten_cursor): Don't depend on
+ output_cursor and updated_area. Compare pixel coordinates with
+ window's cursor pixel coordinates.
+ (x_draw_glyphs, x_clear_end_of_line, show_mouse_face): Call
+ notice_overwritten_cursor with new arg list.
+ (show_mouse_face): Fix bug setting a row's mouse_face_p flag
+ unconditionally.
+ (x_draw_image_relief): Use predefined macro instead of
+ constant when the value of `tool_bar_button_relief' is negative.
+
+ * w32term.c (x_display_and_set_cursor): Fix PostMessage arg types.
+
+2002-01-04 Richard M. Stallman <rms@gnu.org>
+
+ * xmenu.c (menu_highlight_callback): Hide any tooltip window.
+
2002-01-03 Richard M. Stallman <rms@gnu.org>
* keymap.c (Fcurrent_active_maps): Put the `keymap' property map first.
(x_new_font, x_set_window_size_1): Use it.
* xfns.c (x_frame_parms): Add `left-fringe' and `right-fringe' parms.
- (x_set_frame_parameters): Process Process `font' parameter before other
+ (x_set_frame_parameters): Process `font' parameter before other
parameters as fringe widths depend on it.
(x_set_fringe_width): New function.
(x_figure_window_size): Use x_compute_fringe_widths.