+2003-03-21 Kenichi Handa <handa@m17n.org>
+
+ * fileio.c (Fexpand_file_name): Fix previous change.
+
+2003-03-19 Kenichi Handa <handa@m17n.org>
+
+ * fileio.c (Ffile_name_directory): Reconstruct file name by
+ make_specified_string.
+ (Ffile_name_nondirectory, Ffile_name_as_directory)
+ (Fdirectory_file_name, Fexpand_file_name)
+ (Fsubstitute_in_file_name): Likewise.
+ (Fread_file_name): Compare decoded homedir with DIR and
+ DEFAULT_FILENAME.
+
+ * alloc.c (make_specified_string): If NCHARS is negative, count
+ the number of characters.
+
+2003-03-18 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se>
+
+ * gtkutil.c (xg_frame_cleared): Call gtk_widget_queue_draw for
+ all widgets.
+
+ * gtkutil.h: Removed xg_ignore_next_thumb.
+
+2003-03-18 Kenichi Handa <handa@etlken2>
+
+ * coding.c (Vchar_coding_system_table): Remove this variable.
+ (Vcoding_system_safe_chars): New variable.
+ (intersection): Remove this function.
+ (find_safe_codings): Don't use Vchar_coding_system_table, but try
+ all codings in SAFE_CODINGS.
+ (Ffind_coding_systems_region_internal): Adjusted for the change of
+ find_safe_codings. Get generic coding systems from
+ Vcoding_system_safe_chars.
+ (Fdefine_coding_system_internal): New function.
+ (syms_of_coding): Defsubr Sdefine_coding_system_internal.
+ Initialize and staticpro Vcoding_system_safe_chars.
+
+2003-03-18 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se>
+
+ * gtkutil.c (xg_set_toolkit_scroll_bar_thumb): Check if new values
+ equal old values before updating.
+
+ * xterm.c (xg_scroll_callback): Remove xg_ignore_next_thumb.
+
+ * gtkutil.c (xg_initialize): Remove xg_ignore_next_thumb.
+
+2003-03-17 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se>
+
+ * gtkutil.c: Removed handle_fixed_child, struct xg_last_sb_pos.
+ (xg_resize_widgets): Don't call foreach(handle_fixed_child).
+ (xg_gtk_scroll_destroy): Remove free of struct xg_last_sb_pos.
+ (scroll_bar_button_cb): Set bar->dragging to NIL on button release.
+ (xg_create_scroll_bar): Pass bar to button event callback.
+ (xg_find_top_left_in_fixed): New function.
+ (xg_update_scrollbar_pos): Don't call gdk_window_clear on
+ whole scroll bar area. Get old position with
+ xg_find_top_left_in_fixed, calculate and only clear needed areas.
+ (xg_set_toolkit_scroll_bar_thumb): Do not adjust scroll bar if
+ dragging is in progress. Calculate whole as for Motif.
+ Remove code that saved last values. Call gtk_range functions to
+ set scroll bar sizes.
+
+ * gtkutil.h: Removed xg_ignore_next_thumb.
+
+2003-03-17 Juanma Barranquero <lektu@terra.es>
+
+ * makefile.w32-in ($(BLD)/xdisp.$(O)): Add dependency on blockinput.h
+ and files included from it.
+
+2003-03-16 Jason Rumney <jasonr@gnu.org>
+
+ * w32gui.h: Use HDC for Display.
+
+ * w32term.c (w32_encode_char): Prevent double-byte chars from
+ crashing Emacs.
+
+ * w32fns.c (jpeg_load, png_load, slurp_file): Read image files
+ as binary.
+
+2003-03-16 Juanma Barranquero <lektu@terra.es>
+
+ * xdisp.c (x_produce_glyphs): Use FRAME_BASELINE_OFFSET.
+
+2003-03-16 Kim F. Storm <storm@cua.dk>
+
+ The following changes consolidate some of the gui-independent
+ parts of the processing and drawing of "glyph strings" from
+ xterm.c, w32term.c, and macterm.c into xdisp.c.
+
+ * dispextern.h (struct glyph): Reduce face_id member from 22 to
+ 21 bits (this reduces number of faces from 4M to 2M).
+ Replace W32 specific w32_font_type member (2 bits) by generic
+ font_type member (3 bits) for portability.
+ (FONT_TYPE_UNKNOWN): New define, default for font_type member.
+ (enum draw_glyphs_face): Define here.
+ (struct glyph_string): Define here. Merge W32 and X versions.
+ (struct redisplay_interface): New members per_char_metric,
+ encode_char, compute_glyph_string_overhangs, draw_glyph_string.
+ (VCENTER_BASELINE_OFFSET): Define here.
+ (dump_glyph_string, x_get_glyph_overhangs, x_produce_glyphs)
+ (x_draw_glyphs, notice_overwritten_cursor): Declare prototypes here.
+
+ * xdisp.c: Consolidate gui-independent "glyph string" code here.
+ (dump_glyph_string): Moved here.
+ (init_glyph_string, append_glyph_string_lists, append_glyph_string)
+ (prepend_glyph_string_lists, get_glyph_face_and_encoding)
+ (fill_composite_glyph_string, fill_glyph_string)
+ (fill_image_glyph_string, fill_stretch_glyph_string)
+ (left_overwritten, left_overwriting, right_overwritten)
+ (right_overwriting, get_char_face_and_encoding)
+ (set_glyph_string_background_width, compute_overhangs_and_x)
+ (append_glyph, append_composite_glyph, produce_image_glyph)
+ (take_vertical_position_into_account, append_stretch_glyph)
+ (produce_stretch_glyph): New generic functions (based on X version).
+ Call platform specific functions through rif.
+ (INIT_GLYPH_STRING): New macro, hides W32 details.
+ (BUILD_STRETCH_GLYPH_STRING, BUILD_IMAGE_GLYPH_STRING)
+ (BUILD_CHAR_GLYPH_STRINGS, BUILD_COMPOSITE_GLYPH_STRING)
+ (BUILD_GLYPH_STRINGS): Generic macros (based on X version).
+ (x_draw_glyphs, x_get_glyph_overhangs, x_produce_glyphs)
+ (notice_overwritten_cursor):
+ Generic functions exported to platform modules. Users changed.
+
+ * xterm.h (FONT_DESCENT, FRAME_X_OUTPUT, FRAME_BASELINE_OFFSET)
+ (FONT_TYPE_FOR_UNIBYTE, FONT_TYPE_FOR_MULTIBYTE)
+ (STORE_XCHAR2B, XCHAR2B_BYTE1, XCHAR2B_BYTE2):
+ New macros for consolidated code.
+
+ * xterm.c: Remove consolidated defines and code.
+ (x_per_char_metric, x_encode_char)
+ (x_compute_glyph_string_overhangs): Adapt to RIF requirements.
+ (x_redisplay_interface): Add new members.
+
+ * w32gui.h (Display): Add dummy typedef for consolidation.
+ (XChar2b): Define alias for wchar_t for consolidation.
+ (STORE_XCHAR2B, XCHAR2B_BYTE1, XCHAR2B_BYTE2): New macros.
+
+ * w32term.h (FRAME_X_OUTPUT, FRAME_X_WINDOW, FRAME_X_DISPLAY)
+ (FONT_TYPE_FOR_UNIBYTE, FONT_TYPE_FOR_MULTIBYTE):
+ New macros for consolidation.
+
+ * w32term.c: Remove consolidated defines and code.
+ (BUILD_WCHAR_T, BYTE1, BYTE2): Macros removed; callers changed
+ to use STORE_XCHAR2B, XCHAR2B_BYTE1, XCHAR2B_BYTE2 instead.
+ (w32_per_char_metric): Change font_type arg to int for RIF.
+ (w32_encode_char): Return int according to RIF requirements.
+ (w32_compute_glyph_string_overhangs): Adapt to RIF.
+ (w32_get_glyph_overhangs): New function for RIF. Uses generic
+ x_get_glyph_overhangs.
+ (w32_redisplay_interface): Add new members.
+
+ * macgui.h (XChar2b): Move typedef here for consolidation.
+ (STORE_XCHAR2B, XCHAR2B_BYTE1, XCHAR2B_BYTE2): New macros.
+
+ * macterm.h (FRAME_X_OUTPUT, FRAME_X_WINDOW, FRAME_X_DISPLAY):
+ (FONT_TYPE_FOR_UNIBYTE, FONT_TYPE_FOR_MULTIBYTE): New macros for
+ consolidation.
+
+ * macterm.c: Remove consolidated defines and code.
+ (mac_per_char_metric): New function for RIF.
+ (mac_encode_char): Adapted to new RIF requirements.
+ (mac_compute_glyph_string_overhangs): Adapt for RIF.
+ (x_redisplay_interface): Add new members.
+
+2003-03-14 Richard M. Stallman <rms@gnu.org>
+
+ * lread.c (read1): After #!, exit loop on eof.
+
+2003-03-14 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se>
+
+ * gtkutil.h: Add declaration for xg_frame_cleared.
+
+ * xterm.c (x_clear_frame): Call xg_frame_cleared for GTK.
+
+ * gtkutil.c (struct xg_last_sb_pos): New structure.
+ (handle_fixed_child): New function.
+ (xg_resize_widgets): Call handle_fixed_child on all scroll bar widgets
+ and force a redraw on them.
+ (xg_gtk_scroll_destroy): Free struct xg_last_sb_pos also.
+ (xg_create_scroll_bar): Add struct xg_last_sb_pos to scroll bar
+ so we can avoid unneeded redraws.
+ (xg_update_scrollbar_pos): Invalidate data in xg_last_sb_pos
+ and force a redraw on the scroll bar.
+ (xg_set_toolkit_scroll_bar_thumb): Do not change/redraw scroll bar
+ if xg_last_sb_pos shows the positions are up to date.
+ (xg_frame_cleared): New function.
+
+2003-03-13 Kenichi Handa <handa@m17n.org>
+
+ * coding.c (Fdetect_coding_region): Fix docstring.
+ (Fdetect_coding_string): Fix docstring.
+
+2003-03-13 Andreas Schwab <schwab@suse.de>
+
+ * gtkutil.c: Add prototype for create_menus.
+
+ * data.c (long_to_cons): Fix type of top.
+
+ * xselect.c (selection_data_to_lisp_data): Use int instead of
+ long for an integer of size 4.
+
+ * gtkutil.c (xg_update_frame_menubar): Add missing return value.
+ (xg_tool_bar_help_callback): Likewise.
+
+2003-03-12 Andreas Schwab <schwab@suse.de>
+
+ * xterm.c (x_term_init) [USE_GTK]: Fix typo.
+
+2003-03-12 Kim F. Storm <storm@cua.dk>
+
+ The following changes consolidate the fringe handling from
+ xterm.c, w32term.c, and macterm.c into xdisp.c.
+
+ * xdisp.c: Consolidate fringe handling code here.
+ (left_bits, right_bits, continued_bits, continuation_bits)
+ (ov_bits, zv_bits): Define fringe bitmaps.
+ (fringe_bitmaps): New array holding fringe bitmaps.
+ (draw_fringe_bitmap): Draw a specific bitmap; call display
+ specific drawing routine via rif->draw_fringe_bitmap.
+ (draw_row_fringe_bitmaps): Generic replacement for
+ x_draw_row_fringe_bitmaps; all callers changed.
+ (compute_fringe_widths): Generic replacement for
+ x_compute_fringe_widths; all callers changed.
+
+ * dispextern.h (enum fringe_bitmap_type): Define here.
+ (struct fringe_bitmap, struct draw_fringe_bitmap_params): New.
+ (fringe_bitmaps): Declare extern.
+ (struct redisplay_interface): New member draw_fringe_bitmap.
+ (draw_row_fringe_bitmaps, compute_fringe_widths): Declare extern.
+
+ * xterm.c: Remove generic fringe code.
+ (x_draw_fringe_bitmap): Only perform actual fringe drawing.
+ (x_redisplay_interface): Add x_draw_fringe_bitmap member.
+
+ * w32term.c: Remove generic fringe code.
+ (w32_draw_fringe_bitmap): Only perform actual fringe drawing.
+ (w32_redisplay_interface): Add w32_draw_fringe_bitmap member.
+
+ * macterm.c: Remove generic fringe code.
+ (x_draw_fringe_bitmap): Only perform actual fringe drawing.
+ (x_redisplay_interface): Add x_draw_fringe_bitmap member.
+
+2003-03-11 Stefan Monnier <monnier@cs.yale.edu>
+
+ * print.c (Fprin1_to_string): Return unibyte string if possible.
+
+2003-03-09 David Kastrup <dak@gnu.org>
+
+ * process.c (read_process_output): We have allocated enough space
+ for readmax and carryover, so actually use the alloted space.
+
+2003-03-09 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se>
+
+ * keyboard.c (make_lispy_event): Extend mouse_syms if needed for
+ toolkit scrollbar click.
+
+ * xterm.c (x_window_to_scroll_bar): Call xg_get_scroll_id_for_window
+ 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
+ scrollbar and control is pressed, call x_scroll_bar_handle_click.
+
+ * gtkutil.h: Declare xg_get_scroll_id_for_window.
+
+ * gtkutil.c (xg_get_scroll_id_for_window): New function.
+ (xg_tool_bar_item_expose_callback): New function.
+ (xg_tool_bar_expose_callback): Call update_frame_tool_bar.
+ (xg_create_tool_bar): Connect xg_tool_bar_expose_callback to expose
+ on the tool bar widget.
+ (update_frame_tool_bar): Connect xg_tool_bar_item_expose_callback
+ to expose on the tool bar item widgets.
+
+2003-03-08 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se>
+
+ * gtkutil.c (update_frame_tool_bar): Compare pixmap ID instead of
+ struct image* when deciding to update (struct image* may have been
+ deleted from the image cache).
+
+ * xterm.c (handle_one_xevent): Pass ReparentNotify to Xt even if
+ the event isn't for a frame (i.e. for dialogs).
+
+2003-03-07 Kenichi Handa <handa@m17n.org>
+
+ * coding.c (CODING_ADD_COMPOSITION_COMPONENT): If the number of
+ composition components reaches the limit, terminate composing.
+ (COMPOSITION_OK): New macro.
+ (detect_coding_iso2022): Use it if an escape sequence for
+ composition is found.
+ (coding_restore_composition): Adjust the number of composition
+ components if it is not sane.
+
+2003-03-06 Juanma Barranquero <lektu@terra.es>
+
+ * w32term.h (struct w32_display_info): Add xrdb member to support
+ passing resources via -xrm on Windows.
+
+ * w32term.c (w32_make_rdb): New function.
+ (w32_term_init): Use it to initialize xrdb member of w32_display_info
+ struct. Delete leftover code.
+
+ * w32fns.c (Fx_get_resource, x_get_resource_string): Pass xrdb to check
+ for resources passed on the command line.
+
+ * w32reg.c (w32_get_rdb_resource): New function.
+ (x_get_string_resource): Use it, so resources passed with -xrm
+ supercede the ones in the registry.
+
+2003-03-04 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se>
+
+ * xterm.c (x_detect_focus_change): Call x_any_window_to_frame
+ instead of x_top_window_to_frame.
+
+2003-03-03 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se>
+
+ * xsmfns.c (smc_save_yourself_CB): Add --no-splash to options
+ when restarting Emacs.
+
+2003-03-03 Richard M. Stallman <rms@gnu.org>
+
+ * buffer.c (Fkill_buffer): Use Frun_hook_with_args_until_failure
+ to run kill-buffer-query-functions.
+ (Qkill_buffer_query_functions): New var.
+ (syms_of_buffer): Init and staticpro it.
+
+2003-03-02 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se>
+
+ * xterm.h (XSync): Define as gdk_window_process_all_updates for GTK.
+
+2003-02-25 Kim F. Storm <storm@cua.dk>
+
+ * xdisp.c (redisplay_window): Fix infinite loop in redisplay.
+ If centering point failed to make whole line visible and vscroll
+ is non-zero, disable vscroll and try centering point again.
+
+ * lread.c (read1): Accept `single space' syntax like (? x).
+
+2003-02-25 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se>
+
+ * keyboard.c (cancel_hourglass_unwind): Surround with
+ #ifdef HAVE_X_WINDOWS
+
+2003-02-25 Kenichi Handa <handa@m17n.org>
+
+ * buffer.c (Fset_buffer_multibyte): Pay attention to the buffer
+ process only when "subprocesses" is defined.
+
+2003-02-24 Stefan Monnier <monnier@cs.yale.edu>
+
+ * syntax.c (back_comment): Only check nestedness of 2nd char if needed.
+
+2003-02-24 Juanma Barranquero <lektu@terra.es>
+
+ * callint.c (fix_command): Declare as static void and move before
+ Fcall_interactively.
+
+ * xdisp.c (Qwhen): Declare external; it's now defined in callint.c.
+ (syms_of_xdisp): Don't initialize Qwhen.
+
+2003-02-23 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se>
+
+ * keyboard.c (cancel_hourglass_unwind): New function.
+ (command_loop_1): Cancel hourglass with unwind-protect.
+
+2003-02-23 Richard M. Stallman <rms@gnu.org>
+
+ * callint.c (fix_command): New subroutine, from Fcall_interactively.
+ Detect (when ... (region-beginning)) etc.
+ (Fcall_interactively): Call fix_command.
+ (Qif, Qwhen): New variables.
+ (syms_of_callint): Init and staticpro them.
+
+ * regex.c (print_partial_compiled_pattern): Output to stderr.
+
+2003-02-23 Kai Gro\e,A_\e(Bjohann <kai.grossjohann@uni-duisburg.de>
+
+ * dired.c (directory_files_internal): Don't expand directory.
+ (Fdirectory_files, Fdirectory_files_and_attributes): Do it here
+ instead. From Lars Hansen <larsh@math.ku.dk>.
+
+2003-02-22 Stefan Monnier <monnier@cs.yale.edu>
+
+ * fns.c (string_to_multibyte): Remove unused var i.
+ (Flanginfo): Fix int/Lisp_Object mixup.
+ (void_call2): New fun.
+ (Fmap_char_table): Use it in place of call2.
+
+ * xfaces.c (x_face_list_fonts): Fix int/Lisp_Object mixup.
+
+ * macros.c (Fstart_kbd_macro): Remove redundant assignment.
+
+ * keymap.c (copy_keymap_1): Make it static.
+
+ * alloc.c (Fgarbage_collect): Don't use XSETFLOAT.
+
+2003-02-22 David Ponce <david@dponce.com>
+
+ * lread.c (Fload): Don't check STRING_MULTIBYTE.
+
+2003-02-21 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se>
+
+ * process.h: Removed subtty field from struct Lisp_Process.
+
+ * process.c (create_process): Remove setting of subtty.
+ (emacs_get_tty_pgrp): New function.
+ (Fprocess_running_child_p, process_send_signal):
+ Call emacs_get_tty_pgrp instead of ioctl.
+ (process_send_signal): Call EMACS_KILLPG if ioctl TIOCSIGSEND fails.
+
+2003-02-21 Kai Gro\e,A_\e(Bjohann <kai.grossjohann@uni-duisburg.de>
+
+ * keymap.c (Fdefine_key): Doc fix.
+
+2003-02-21 Juanma Barranquero <lektu@terra.es>
+
+ Port of patch for RC by Klaus Zeitler <kzeitler@lucent.com>.
+
+ * s/hpux10.h: Define POLL_INTERRUPTED_SYS_CALL, not
+ POLLING_PROBLEM_IN_SELECT.
+
+ * s/hpux11.h: Include hpux10-20.h instead of hpux10.h.
+ Delete #undef of POLLING_PROBLEM_IN_SELECT.
+
+ * s/hpux10-20.h: New file.
+
+ * process.c (wait_reading_process_input):
+ Use POLL_INTERRUPTED_SYS_CALL, not POLLING_PROBLEM_IN_SELECT.
+
+2003-02-20 Kenichi Handa <handa@m17n.org>
+
+ * fontset.c (check_fontset_name): If NAME is nil, return the
+ default fontset.
+ (override_font_info): New function.
+ (Fset_fontset_font): Document that NAME nil means the default fontset.
+ (Ffontset_info): If FONTSET is not the default fontset, merge
+ FONTSET onto the copy of the default fontset, and work on that
+ copy. Document that NAME nil means the default fontset.
+ (Ffontset_font): Document that NAME nil means the default fontset.
+
+ * process.c (setup_process_coding_systems): If the process's
+ in/out descriptor is -1, do nothing.
+
+2003-02-19 Andreas Schwab <schwab@suse.de>
+
+ * lisp.h (Fcancel_kbd_macro_events, Fstring_to_multibyte):
+ Add prototypes.
+
+2003-02-19 Kenichi Handa <handa@m17n.org>
+
+ * xfaces.c (try_alternative_families): Try all scalable fonts if
+ Vscalable_fonts_allowed is not Qt.
+
+2003-02-19 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se>
+
+ * xfaces.c (x_face_list_fonts): Set *pfonts to 0 if no fonts found.
+
+2003-02-18 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se>
+
+ * xterm.c (x_list_fonts): If maxnames is less than 0, get all font
+ names.
+
+ * xfaces.c (x_face_list_fonts): Allocate struct font_name here.
+ (sorted_font_list): Move allocation of struct font_name to
+ x_face_list_fonts.
+ (Fx_font_family_list): Set font-list-limit to -1 to get all font names.
+ (Fx_list_fonts): Set maxnames to -1 to get all font names.
+
+2003-02-18 Kim F. Storm <storm@cua.dk>
+
+ * lread.c (read1): Fix last change.
+ "`" is not always special. Allow "?" after a character constant.
+
+2003-02-18 Andrew Choi <akochoi@shaw.ca>
+
+ * unexmacosx.c (copy_data_segment): Also copy __cfstring section.
+
+2003-02-18 Andreas Schwab <schwab@suse.de>
+
+ * window.c (window_scroll_pixel_based): Move outside a
+ multi-glyph character before setting new window start.
+
+ * xdisp.c (in_display_vector_p): New function.
+ * dispextern.h (in_display_vector_p): Declare.
+
+2003-02-18 Kim F. Storm <storm@cua.dk>
+
+ * lread.c (read1): Fix and relax read syntax.
+ Recognize "[", ";", "#", and "?" after a dotted-pair dot.
+ Only recognize "," after dotted-pair dot if inside backquote.
+ Never include "`" or "," (inside backquote) in a symbol.
+ Allow dotted-pair dot after a character constant.
+ Allow "`" and "," (inside backquote) after a character constant.
+
+2003-02-17 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se>
+
+ * gtkutil.c (xg_tool_bar_expose_callback): New function.
+ (xg_create_tool_bar): Force style of tool bar to be horizontal with
+ icons. Set name of tool bar to emacs-toolbar.
+ (update_frame_tool_bar): Connect expose event to
+ xg_tool_bar_expose_callback.
+
+2003-02-17 Richard M. Stallman <rms@gnu.org>
+
+ * keyboard.c (this_command_key_count_reset): New variable.
+ Initiatize to 0 where this_command_key_count is set.
+ (read_char): Save and restore this_command_key_count_reset
+ around input method code.
+ (read_char): If this_command_key_count_reset, echo reread commands.
+ (Freset_this_command_lengths): Set this_command_key_count_reset to 1.
+
+2003-02-17 Kenichi Handa <handa@m17n.org>
+
+ * fns.c (string_to_multibyte): Always return a multibyte string.
+
+2003-02-16 Jason Rumney <jasonr@gnu.org>
+
+ * w32fns.c (w32_list_bdf_fonts, w32_list_fonts):
+ Negative max_fonts parameter means list all.
+
+2003-02-14 Dave Love <fx@gnu.org>
+
+ * fns.c (Flanginfo): Doc fix.
+
+2003-02-13 Kim F. Storm <storm@cua.dk>
+
+ * lread.c (read_escape): Interpret \s as a SPACE character, except
+ for \s-X in a character constant which still is the super modifier.
+ (read1): Signal an `invalid read syntax' error if a character
+ constant is immediately followed by a digit or symbol character.
+
+ * search.c (Fmatch_data): Doc fix. Explicitly state that
+ match-data is undefined if last search failed.
+
+ * keymap.c (Fcommand_remapping): Renamed from Fremap_command.
+ All uses changed.
+
+2003-02-12 Juanma Barranquero <lektu@terra.es>
+
+ * eval.c (Fdefmacro): Fix typo.
+
+2003-02-12 Kim F. Storm <storm@cua.dk>
+
+ * macros.c (Fstart_kbd_macro): If appending, and last keyboard
+ macro is a string, convert meta modifiers in string when copying
+ the string into a vector.
+
+2003-02-11 Kim F. Storm <storm@cua.dk>
+
+ * keymap.c (Fremap_command): Return nil if arg is not a symbol.
+
+2003-02-11 Kenichi Handa <handa@m17n.org>
+
+ * Makefile.in (lisp, shortlisp): Add malayalam.el and tamil.el.
+
+2003-02-10 Kim F. Storm <storm@cua.dk>
+
+ * process.c: Doc fixes.
+ (syms_of_process): Add `:' prefix to QCfilter_multibyte.
+
+2003-02-10 Kenichi Handa <handa@m17n.org>
+
+ * fns.c (Fstring_to_multibyte): Fix typo in the docstring.
+
+ * process.c (QCfilter_multibyte): New variable.
+ (setup_process_coding_systems): New function.
+ (Fset_process_buffer, Fset_process_filter):
+ Call setup_process_coding_systems.
+ (Fstart_process): Initialize the member `filter_multibyte' of
+ struct Lisp_Process.
+ (create_process): Call setup_process_coding_systems.
+ (Fmake_network_process): New keyward `:filter-multibyte'.
+ Initialize the member `filter_multibyte' of struct Lisp_Process.
+ Call setup_process_coding_systems.
+ (server_accept_connection): Call setup_process_coding_systems.
+ (read_process_output): If the process has a filter, decide the
+ multibyteness of a string to given to the filter by
+ `filter_multibyte' member of the process. If the process doesn't
+ have a filter and the result of conversion is unibyte, use
+ Fstring_to_multibyte (not Fstring_make_multibyte) to get the
+ multibyte form.
+ (Fset_process_coding_system): Call setup_process_coding_systems.
+ (Fset_process_filter_multibyte): New function.
+ (Fprocess_filter_multibyte_p): New function.
+ (syms_of_process): Intern and staticpro QCfilter_multibyte.
+ Defsubr Sset_process_filter_multibyte and
+ Sprocess_filter_multibyte_p.
+
+ * process.h (struct Lisp_Process): New member filter_multibyte.
+
+ * lisp.h (setup_process_coding_systems): Add prototype.
+
+ * buffer.c (Fset_buffer_multibyte): If the current buffer has a
+ process, update coding systems for the process.
+
+2003-02-09 Kenichi Handa <handa@m17n.org>
+
+ * fns.c (string_to_multibyte): New function.
+ (Fstring_to_multibyte): New function.
+ (syms_of_fns): Defsubr it.
+
+2003-02-08 Andreas Schwab <schwab@suse.de>
+
+ * Makefile.in (EXEEXT): Define to @EXEEXT@ and use this variable
+ instead of the substitution.
+
+2003-02-08 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se>
+
+ * xterm.c (x_make_frame_visible): Call gtk_window_deiconify.
+
+ * xmenu.c (menu_position_func): Adjust menu popup position so that
+ the menu is fully visible.
+
+2003-02-07 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se>
+
+ * xterm.c (x_text_icon, x_raise_frame, x_lower_frame)
+ (x_make_frame_invisible, x_wm_set_icon_position):
+ Use FRAME_OUTER_WINDOW instead of ifdef X_TOOLKIT/else/endif.
+
+ * xfns.c (x_set_name, x_set_title): Ditto.
+
+2003-02-04 Richard M. Stallman <rms@gnu.org>
+
+ * keyboard.c (echo_now): Update before_command_echo_length.
+ (Freset_this_command_lengths): Reset this_command_key_count etc.
+ immediately rather than arranging to do it later.
+ (before_command_key_count_1, before_command_echo_length_1)
+ (before_command_restore_flag): Vars deleted.
+ (add_command_key): Don't handle before_command_restore_flag.
+ (read_char, record_menu_key): Don't update before_command_key_count or
+ before_command_echo_length.
+ (read_char): Don't handle before_command_restore_flag.
+
+ * keyboard.c (command_loop_1): Don't call adjust_point_for_property
+ in direct-output clauses if it wouldn't be called in the ordinary case.
+
+2003-02-04 Kim F. Storm <storm@cua.dk>
+
+ * keyboard.c (syms_of_keyboard) <this-original-command>: Doc fix.
+
+2003-02-02 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se>
+
+ * gtkutil.c (remove_from_container): Copying list is not needed.
+ (xg_update_menubar, xg_update_menu_item, xg_update_submenu)
+ (xg_modify_menubar_widgets, update_frame_tool_bar): Call g_list_free
+ on list returned from gtk_container_get_children to avoid memory leak.
+
2003-02-01 Jason Rumney <jasonr@gnu.org>
* w32fns.c (w32_create_pixmap_from_bitmap_data): Use alloca for
2003-01-31 Kenichi Handa <handa@m17n.org>
* xdisp.c (SKIP_GLYPHS): New macro.
- (set_cursor_from_row): Skip all glyphs that comes from overlay
- string.
+ (set_cursor_from_row): Skip all glyphs that comes from overlay string.
2003-01-30 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se>
- * gtkutil.c (free_frame_tool_bar): Removed debug printf.
+ * gtkutil.c (free_frame_tool_bar): Remove debug printf.
2003-01-30 Dave Love <fx@gnu.org>
2003-01-24 Kenichi Handa <handa@m17n.org>
* keyboard.c (adjust_point_for_property): New second arg MODIFIED.
- It it is nonzero, don't pretend that an invisible area doesn't
- exist.
+ It it is nonzero, don't pretend that an invisible area doesn't exist.
(command_loop_1): Call adjust_point_for_property with proper
second arg.
(notice_overwritten_cursor): Consider the cursor image erased if
the output area intersects the cursor image in y-direction.
- * w32term.c (note_mode_line_or_margin_highlight): Renamed from
- note_mode_line_highlight and extended.
+ * w32term.c (note_mode_line_or_margin_highlight): Rename from
+ note_mode_line_highlight and extend.
* w32term.c (last_window): New variable.
(w32_read_socket) <WM_MOUSEMOVE>: Generate SELECT_WINDOW_EVENTs.
add function w32_define_cursor.
(show_mouse_face): Delete #if 0 to enable function w32_define_cursor
and change member name output_data.x to output_data.w32.
- (w32_initialize_display_info): Setup
- dpyinfo->vertical_scroll_bar_cursor.
+ (w32_initialize_display_info):
+ Setup dpyinfo->vertical_scroll_bar_cursor.
* w32fns.c (Vx_hand_shape): New variable.
(w32_wnd_proc): Add message entries for WM_SETCURSOR and
* xmenu.c: Include gtkutil.h for USE_GTK.
(Fx_popup_menu): Use current position if x and y is NIL.
- (single_menu_item, single_menu_item, Fx_popup_dialog): Check
- for USE_GTK.
+ (single_menu_item, single_menu_item, Fx_popup_dialog):
+ Check for USE_GTK.
(popup_widget_loop): New function for USE_GTK.
(x_activate_menubar): Add code for USE_GTK.
(popup_activate_callback, popup_deactivate_callback)
- (menu_highlight_callback, menubar_selection_callback): USE_GTK versions
- added.
+ (menu_highlight_callback, menubar_selection_callback):
+ Add USE_GTK versions.
(update_frame_menubar): Call xg_update_frame_menubar for USE_GTK.
(set_frame_menubar): Call xg_modify_menubar_widgets for USE_GTK.
(free_frame_menubar): Only compile if not USE_GTK. GTK version
is in gtkutil.c.
(popup_selection_callback): New version for USE_GTK.
(create_and_show_popup_menu): New fuction, one USE_GTK version and
- one USE_X_TOOLKIT version.
+ one USE_X_TOOLKIT version.
(xmenu_show): Call create_and_show_popup_menu.
(dialog_selection_callback): New version for USE_GTK.
(create_and_show_dialog): New fuction, one USE_GTK version and
- one USE_X_TOOLKIT version.
+ one USE_X_TOOLKIT version.
(xdialog_show): Call create_and_show_dialog.
* xfns.c: Include gtkutil for USE_GTK.
* fileio.c (Fread_file_name): Add check for USE_GTK.
- * dispnew.c (adjust_frame_glyphs_for_window_redisplay): Add
- check for USE_GTK.
+ * dispnew.c (adjust_frame_glyphs_for_window_redisplay):
+ Add check for USE_GTK.
* config.in: Added HAVE_GTK
member private_vars. All uses changed.
* process.c: Reworked 2003-01-12 change -- call a plist a plist!
- (QCplist): Renamed from QCvars. All uses changed.
+ (QCplist): Rename from QCvars. Change all uses.
(Fprocess_plist): Replaces Fprocess_variable. Simplified.
- (Fset_process_plist): Replaces Fset_process_variable. Simplified.
+ (Fset_process_plist): Replaces Fset_process_variable. Simplify.
(syms_of_process): Intern, staticpro, defsubr these.
- (Fmake_network_process): Describe :plist arg. Removed :vars arg.
+ (Fmake_network_process): Describe :plist arg. Remove :vars arg.
2003-01-14 Francesco Potort\e,Al\e(B <pot@gnu.org>
- * m/delta.h: Removed (obsolete).
+ * m/delta.h: Remove (obsolete).
2003-01-13 Francesco Potort\e,Al\e(B <pot@gnu.org>
2003-01-08 Kim F. Storm <storm@cua.dk>
- * process.c (server_accept_connection): Fixed recording of new
+ * process.c (server_accept_connection): Fix recording of new
connection's local address in :local property of contact info.
(Fmake_network_process): Record local network address for new
client processes in :local property of contact info.
- (format-network-address): Added arg OMIT-PORT. Callers changed.
+ (format-network-address): Add arg OMIT-PORT. Change callers.
2003-01-07 Dave Love <fx@gnu.org>
* w32.c (g_b_init_is_windows_9x, g_b_init_open_process_token,
g_b_init_get_token_information, g_b_init_lookup_account_sid,
- g_b_init_get_sid_identifier_authority ): Added several static
+ g_b_init_get_sid_identifier_authority ): Add several static
global variables.
* w32.c (globals_of_w32): New function. Used to initialize those
2002-12-10 Steven Tamm <steventamm@mac.com>
- * mac.c (sys_read): Fixed sys_read to not call select if IO is
+ * mac.c (sys_read): Fix sys_read to not call select if IO is
non-blocking.
- (sys_select): Fixed sys_select to not use a timeout larger than
+ (sys_select): Fix sys_select to not use a timeout larger than
the one given.
2002-12-10 Juanma Barranquero <lektu@terra.es>
* macterm.c (mac_check_for_quit_char, quit_char_comp)
(init_quit_char_handler, mac_determine_quit_char_modifiers)
- (mac_initialize): Added code to check for pressing of quit_char
+ (mac_initialize): Add code to check for pressing of quit_char
in the OS event queue.
* mac.c (sys_select): Call mac_check_for_quit_char every second
the version of advapi32.dll that is found in the 9x branch of
Microsoft Windows.
- * w32.c (init_user_info): Replaced the calls to the win32 API
+ * w32.c (init_user_info): Replace the calls to the win32 API
functions OpenProcessToken, GetTokenInformation, LookupAccountSid,
and GetSidIdentifierAuthority with calls to the newly added
wrapper functions.
syms_of_w32term, syms_of_w32fns, syms_of_w32select,
syms_of_w32menu, and void syms_of_fontset.
- * w32fns.c (w32_wnd_proc): Added code to reinitialize the
+ * w32fns.c (w32_wnd_proc): Add code to reinitialize the
function pointer track_mouse_event_fn in the handler for the
WM_SETFOCUS message.
- * w32menu.c (initialize_frame_menubar): Added code to
+ * w32menu.c (initialize_frame_menubar): Add code to
reinitialize the function pointers set_menu_item_info and
get_menu_item_info.
2002-11-08 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
- * process.c (Fformat_network_address): Removed unused locals p,
+ * process.c (Fformat_network_address): Remove unused locals p,
cp, and i.
2002-11-06 Dave Love <fx@gnu.org>