+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.
+ Remove unnecessary tabs.
+
+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): Moved 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
(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.
* 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.
* 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.
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
* 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.
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'.