+2004-11-14 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se>
+
+ * gtkutil.c (pop_down_file_dialog): Add BLOCK_INPUT.
+
+ * xfns.c (Fx_file_dialog): Call x_menu_in_use and x_menu_set_in_use.
+ Record unwind with clean_up_file_dialog.
+
+ * xterm.h: Declare x_menu_in_use, x_menu_set_in_use,
+ x_menu_wait_for_event.
+
+ * xmenu.c (x_menu_in_use, x_menu_set_in_use): New functions.
+
+2004-11-13 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se>
+
+ * gtkutil.c (xg_file_sel_ok, xg_file_sel_cancel)
+ (xg_file_sel_destroy): Removed.
+ (xg_file_response_cb, pop_down_file_dialog,
+ xg_get_file_name_from_chooser, xg_get_file_name_from_selector):
+ New functions.
+ (xg_get_file_with_chooser, xg_get_file_with_selection): Take
+ new argument func, set it to xg_get_file_name_from_chooser/selector.
+ Move common code to xg_get_file_name. Return widget created.
+ (xg_get_file_name): Set name, transient for, modal and destroy
+ with parent here. Connect response signal to xg_file_response_cb,
+ connect delete-event to gtk_true. Record pop_down_file_dialog
+ for unwind. Do event loop and call x_menu_wait_for_event in loop.
+ (xg_create_widget): Make dialogs modal.
+
+ * xmenu.c (unuse_menu_items, pop_down_menu): Arg is of type
+ Lisp_Object.
+ (popup_get_selection): Move unwind protect ...
+ (create_and_show_popup_menu, create_and_show_dialog): ... to here.
+ Move destroy of widget to pop_down_menu.
+ (popup_widget_loop): Move unwind protect ...
+ (create_and_show_popup_menu, create_and_show_dialog): ... to here.
+ Move destroy of widget to pop_down_menu.
+ (pop_down_menu): BLOCK_INPUT and destroy widget/window.
+ (xmenu_show): record unwind pop_down_menu. Move XMenuDestroy,
+ x_mouse_leave and grabbed = 0 to pop_down_menu.
+
+2004-11-13 Kim F. Storm <storm@cua.dk>
+
+ * xdisp.c (make_cursor_line_fully_visible_p): New variable.
+ (syms_of_xdisp): DEFVAR_BOOL it.
+ (make_cursor_line_fully_visible, try_cursor_movement)
+ (try_window_id): Use it.
+
+2004-11-12 Kim F. Storm <storm@cua.dk>
+
+ * dispextern.h (struct glyph_row): New member extra_line_spacing.
+ (struct it): New member max_extra_line_spacing.
+ (MR_PARTIALLY_VISIBLE, MR_PARTIALLY_VISIBLE_AT_TOP)
+ (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.
+ 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.
+
+ * window.c (window_scroll_pixel_based, Frecenter): Use
+ move_it_vertically_backward directly.
+ (Frecenter): Fix calculation of new start pos for negative arg.
+ Before, the new start pos was sometimes chosen too far back, so
+ the last line became only partially visible, and thus would be
+ either only semi-visible or automatically scrolled to the middle
+ of the window by redisplay.
+
+ * xdisp.c (init_iterator): Clear it.max_extra_line_spacing.
+ (move_it_vertically_backward): Don't recure to move further back.
+ (move_it_vertically): Remove superfluous condition.
+ (move_it_by_lines): Clear last_height when moved 0 lines.
+ (resize_mini_window): use it.max_extra_line_spacing.
+ (display_tool_bar_line): Clear row->extra_line_spacing.
+ (try_scrolling): Use move_it_vertically_backward directly.
+ (redisplay_window): Likewise.
+ (compute_line_metrics): Set row->extra_line_spacing.
+ (display_line, display_string): Likewise.
+ (x_produce_glyphs): Update it->max_extra_line_spacing.
+
+ * xmenu.c (pop_down_menu): Return nil.
+
+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
+ to handle timers.
+ (popup_widget_loop): Add argument do_timers.
+ (create_and_show_popup_menu, create_and_show_dialog): Pass 1 for
+ do_timers to popup_widget_loop.
+ (xmenu_show): Call XMenuActivateSetWaitFunction so that
+ x_menu_wait_for_event is called by XMenuActivate.
+ (create_and_show_popup_menu): Pass 1 for do_timers to
+ popup_get_selection.
+ (pop_down_menu): New function.
+ (popup_get_selection, popup_widget_loop): Unwind protect to
+ pop_down_menu.
+ (popup_widget_loop): Add argument widget.
+ (create_and_show_popup_menu, create_and_show_dialog): Pass new
+ argument widget to popup_widget_loop.
+
+2004-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
+
+ * keymap.c (Fkeymap_prompt): Accept symbol keymaps.
+
+2004-11-09 Kim F. Storm <storm@cua.dk>
+
+ * xselect.c: Include <sys/types.h> and <unistd.h> (for getpid).
+ Fix various comments referring to XEvents instead of input events.
+ (x_queue_event): Fix format strings.
+ (x_stop_queuing_selection_requests): Likewise.
+
+ * xdisp.c (produce_image_glyph): Remove unused variable 'face_ascent'.
+ (pint2hrstr): Add extra braces to silence compiler.
+
+ * print.c (print_object): Fix format string.
+
+ * lread.c (read1): Fix next_char matching.
+
+ * lisp.h (Fdelete): Add EXFUN.
+ (replace_range_2): Add prototype.
+
+ * keyboard.c (read_avail_input): Remove unused variable 'discard'.
+
+ * intervals.h (NULL_INTERVAL_P): Add separate version when
+ ENABLE_CHECKING is not defined to silence compiler.
+ (compare_string_intervals): Add prototype.
+
+ * fringe.c (destroy_fringe_bitmap): Fix return type.
+ (Ffringe_bitmaps_at_pos): Remove unused var 'old_buffer'.
+
+ * emacs.c (Fdump_emacs): Fix format string.
+
+ * doc.c: Include <ctype.h>.
+ (Fsubstitute_command_keys): Remove unused variable 'firstkey'.
+
+ * data.c (store_symval_forwarding): Remove unused variables.
+
+ * callint.c (Fcall_interactively): Remove unused variable 'funcar'.
+
+2004-11-09 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se>
+
+ * Makefile.in (stamp-oldxmenu): If HAVE_GTK, don't add dependencies
+ to ${OLDXMENU}.
+
+2004-11-09 Kim F. Storm <storm@cua.dk>
+
+ * process.c (Fmake_network_process): Remove kludge for interrupted
+ connects on BSD. If connect is interrupted, just close socket and
+ start over rather than sleeping and retry with same socket.
+
+2004-11-09 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se>
+
+ * .cvsignore: Add buildobj.lst.
+
+ * doc.c: New variable Vbuild_files.
+ (Fsnarf_documentation): If Vbuild_files is nil, populate it with
+ file names from buildobh.lst. Only attach docstrings from files
+ that are in Vbuild_files.
+ (syms_of_doc): Defvar Vbuild_files.
+
+ * Makefile.in (SOME_MACHINE_OBJECTS): Add fringe.o, image.o
+ and w32*.o.
+ (temacs${EXEEXT}): Generate buildobj.lst when temacs is linked.
+ (mostlyclean): rm buildobj.lst
+
+ * makefile.w32-in ($(TEMACS)): Generate buildobj.lst when temacs
+ is linked.
+
+2004-11-09 Kim F. Storm <storm@cua.dk>
+
+ * fringe.c (update_window_fringes): Update fringe bitmaps if
+ cur and row ends_at_zv_p differs. If bitmaps of a row is updated,
+ also update previous row to get rid of misc. artifacts.
+
+2004-11-08 Kim F. Storm <storm@cua.dk>
+
+ * xdisp.c (fast_find_position): Fix start pos if header line present.
+ (note_mouse_highlight): Clear mouse face if we move out of text area.
+
+2004-11-08 Eli Zaretskii <eliz@gnu.org>
+
+ * editfns.c: Move #include "systime.h" before <sys/resource.h>.
+ Don't include <sys/time.h> explicitly.
+ Include <stdio.h> unconditionally, not just on MacOS.
+
+2004-11-08 Kenichi Handa <handa@m17n.org>
+
+ * fontset.c (fontset_pattern_regexp): Cancel my previous change;
+ don't pay attention to '\' before '*'.
+ (fontset_pattern_regexp): Change the meaning of the second arg.
+ (Fnew_fontset): Call fs_query_fontset, not Fquery_fontset.
+ (check_fontset_name): Try NAME as literal at first, and if it
+ failes, try NAME as pattern.
+
+2004-11-07 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se>
+
+ * emacs.c (Fdump_emacs): Only output warning on GNU/Linux.
+
+2004-11-07 Andreas Schwab <schwab@suse.de>
+
+ * lisp.h: Declare Fmsdos_downcase_filename.
+ * dired.c: Don't declare Fmsdos_downcase_filename.
+ * fileio.c: Likewise.
+
+2004-11-07 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se>
+
+ * dosfns.c (Fdos_memget, Fdos_memput): Use integer variable offs in
+ comparisons with integers instead of Lisp_Object address.
+ (Fmsdos_set_keyboard): Declare argument allkeys.
+
+ * msdos.c (IT_set_frame_parameters): Use EQ, not ==, for Lisp_Object:s.
+
+ * dired.c: extern declare Fmsdos_downcase_filename on MSDOS to avoid
+ int/Lisp_Object mixup.
+
+ * fileio.c: Ditto.
+
+2004-11-06 Steven Tamm <steventamm@mac.com>
+
+ * editfns.c: Need to include sys/time.h before resource.h on darwin.
+
+2004-11-06 Richard M. Stallman <rms@gnu.org>
+
+ * callint.c (Fcall_interactively): Avoid reusing EVENT for other data.
+
+ * xfaces.c (merge_named_face): GCPRO the face_name in the
+ named_merge_point struct that we make.
+ (merge_face_heights): Eliminate GCPRO arg. All callers changed.
+
+ * keyboard.c (command_loop_1): Change Vtransient_mark_mode
+ before deciding whether to inactivate mark.
+
+2004-11-06 Lars Brinkhoff <lars@nocrew.org>
+
+ * config.in: Regenerate (add HAVE_GETRUSAGE).
+ * editfns.c (Fget_internal_run_time): New function.
+ (syms_of_data): Defsubr it.
+ * fns.c (sxhash): As far as possible, merge calculation of
+ hash code for symbols and strings.
+
+2004-11-06 Eli Zaretskii <eliz@gnu.org>
+
+ * frame.c (syms_of_frame): Fix the example in the doc string.
+
+2004-11-06 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se>
+
+ * eval.c (Feval): Remove check for INPUT_BLOCKED_P.
+
+ * xmenu.c (popup_get_selection, create_and_show_popup_menu)
+ (create_and_show_dialog): Revert change from 2004-10-31.
+
+2004-11-05 Luc Teirlinck <teirllm@auburn.edu>
+
+ * macros.c (syms_of_macros) <defining-kbd-macro>: Doc fix.
+
+2004-11-05 Kim F. Storm <storm@cua.dk>
+
+ * print.c (print_object): Print Lisp_Misc_Save_Value objects.
+
+ * fileio.c (Ffile_modes): Doc fix.
+ (auto_save_1): Check for Ffile_modes nil value.
+
+2004-11-05 Kim F. Storm <storm@cua.dk>
+
+ * xselect.c (struct selection_event_queue, selection_queue)
+ (x_queue_selection_requests, x_queue_event)
+ (x_start_queuing_selection_requests)
+ (x_stop_queuing_selection_requests): Add new queue for selection
+ input events to replace previous XEvent queue in xterm.c.
+ (queue_selection_requests_unwind): Adapt to new queue.
+ (x_reply_selection_request): Adapt to new queue.
+ Unexpect wait_object in case of x errors (memory leak).
+ (x_handle_selection_request, x_handle_selection_clear): Make static.
+ (x_handle_selection_event): New function. May queue selection events.
+ (wait_for_property_change_unwind): Use save_value instead of cons.
+ Clear property_change_reply_object.
+ (wait_for_property_change): Abort if already waiting.
+ Use save_value instead of cons for unwind data.
+ (x_handle_property_notify): Skip events already arrived, but don't
+ free them, as "arrived" field is checked by wait_for_property_change,
+ and it will be freed by unwind or explicit unexpect_property_change.
+ (x_get_foreign_selection): Add to new queue.
+ (receive_incremental_selection): Don't unexpect wait_object when done
+ as it has already been freed by previous wait_for_property_change.
+
+ * xterm.h (x_start_queuing_selection_requests)
+ (x_stop_queuing_selection_requests, x_handle_selection_request)
+ (x_handle_selection_clear): Remove prototypes.
+ (x_handle_selection_event): Add prototype.
+
+ * xterm.c (handle_one_xevent): Don't queue X selection events
+ here, it may be too late if we start queuing after we have already
+ stored some selection events into the kbd buffer.
+ (struct selection_event_queue, queue, x_queue_selection_requests)
+ (x_queue_event, x_unqueue_events, x_start_queuing_selection_requests)
+ (x_stop_queuing_selection_requests): Remove/move to xselect.c.
+ (x_catch_errors_unwind): Block input around final XSync.
+
+ * keyboard.h (kbd_buffer_unget_event): Add prototype.
+
+ * keyboard.c (kbd_buffer_store_event_hold): Remove obsolete code.
+ (kbd_buffer_unget_event): New function.
+ (kbd_buffer_get_event, swallow_events): Combine SELECTION events
+ and use x_handle_selection_event.
+ (mark_kboards): Don't mark x and y of SELECTION_CLEAR_EVENT.
+
+2004-11-05 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se>
+
+ * xselect.c (TRACE3): New debug macro.
+ (x_reply_selection_request): Use it.
+ (receive_incremental_selection): In call to TRACE0, the name of
+ a symbol is in xname.
+
+2004-11-05 Kim F. Storm <storm@cua.dk>
+
+ * fontset.c (fontset_pattern_regexp): Use unsigned char.
+
+2004-11-04 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se>
+
+ * fileio.c (Fnext_read_file_uses_dialog_p): New function.
+
+ * gtkutil.h: Declare use_old_gtk_file_dialog.
+
+ * gtkutil.c: Make use_old_gtk_file_dialog non-static.
+ (xg_initialize): Move DEFVAR_BOOL for use_old_gtk_file_dialog ...
+ * xfns.c (syms_of_xfns): ... to here.
+
+ * gtkutil.c (xg_get_file_with_chooser): Expand DEFAULT_FILENAME if
+ it doesn't start with /.
+
+2004-11-04 Kenichi Handa <handa@m17n.org>
+
+ * fontset.c (fontset_pattern_regexp): If '*' is preceded by '\',
+ treat it as a literal character.
+
+2004-11-03 Kim F. Storm <storm@cua.dk>
+
+ * .gdbinit (ppt): New function.
+
+2004-11-02 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se>
+
+ * xterm.c (x_window_to_scroll_bar): Only call
+ xg_get_scroll_id_for_window if toolkit scroll bars are used.
+
+ * gtkutil.c (xg_get_file_with_chooser): Use GTK_STOCK_OK instead
+ of save.
+
+2004-11-02 Andreas Schwab <schwab@suse.de>
+
+ * window.c (Fscroll_right): Fix last change.
+
+2004-11-02 Kim F. Storm <storm@cua.dk>
+
+ * Makefile.in (callproc.o): Depend on blockinput.h atimer.h systime.h.
+
+2004-11-02 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
+
+ * callproc.c (Fcall_process): Block input around vfork.
+
+2004-11-02 Kim F. Storm <storm@cua.dk>
+
+ * eval.c (Fcalled_interactively_p): Rename from Fcall_interactive_p.
+ (syms_of_eval): Defsubr it.
+
+2004-11-02 Richard M. Stallman <rms@gnu.org>
+
+ * insdel.c (replace_range_2): New function.
+
+ * casefiddle.c (casify_region): Handle changes in byte-length
+ using replace_range_2.
+
+ * emacs.c (USAGE3): Delete --horizontal-scroll-bars, -hb.
+
+ * xdisp.c (back_to_previous_visible_line_start):
+ Subtract 1 from pos when checking previous newline for invisibility.
+
+ * window.c (window_scroll_pixel_based): Update preserve_y
+ for header line if any.
+ (Fscroll_left, Fscroll_right): Don't call interactive_p;
+ use a new second argument instead.
+
+ * eval.c (Fcall_interactive_p): New function.
+ (interactive_p): Don't test INTERACTIVE here.
+ (Finteractive_p): Doc fix.
+
+ * eval.c (Feval): Abort if INPUT_BLOCKED_P.
+
+2004-11-02 KOBAYASHI Yasuhiro <kobayays@otsukakj.co.jp>
+
+ * w32fns.c (w32_font_match): Use fast_string_match_ignore_case for
+ comparing font names.
+
+2004-11-02 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se>
+
+ * fileio.c (Fread_file_name): Pass Qt as fifth parameter to
+ Fx_file_dialog if only directories should be read.
+
+ * lisp.h: Fx_file_dialog takes 5 parameters.
+
+ * xfns.c (Fx_file_dialog): Both Motif and GTK version:
+ Add parameter only_dir_p.
+ In Motif version, don't put DEFAULT_FILENAME in filter part of the
+ dialog, just text field part. Do not add DEFAULT_FILENAME
+ to list of files if it isn't there.
+ In GTK version, pass only_dir_p parameter to xg_get_file_name.
+
+ * macfns.c (Fx_file_dialog): Add parameter only_dir_p.
+ Check only_dir_p instead of comparing prompt to "Dired". When using
+ a save dialog, add option kNavDontConfirmReplacement, change title
+ to "Enter name", change text for save button to "Ok".
+
+ * w32fns.c (Fx_file_dialog): Add parameter only_dir_p.
+ Check only_dir_p instead of comparing prompt to "Dired".
+
+ * gtkutil.c (xg_get_file_with_chooser)
+ (xg_get_file_with_selection): New functions, only defined ifdef
+ HAVE_GTK_FILE_CHOOSER_DIALOG_NEW and HAVE_GTK_FILE_SELECTION_NEW
+ respectively.
+ (xg_get_file_name): Add parameter only_dir_p.
+ Call xg_get_file_with_chooser or xg_get_file_with_selection
+ depending on HAVE_GTK_FILE* and the value of use_old_gtk_file_dialog.
+ (xg_initialize): New DEFVAR_BOOL use_old_gtk_file_dialog.
+
+ * gtkutil.h (xg_get_file_name): Add parameter only_dir_p.
+
+ * config.in: Rebuild (added HAVE_GTK_FILE_*).
+
+2004-11-01 Kim F. Storm <storm@cua.dk>
+
+ * process.c (connect_wait_mask, num_pending_connects):
+ Only declare and use them if NON_BLOCKING_CONNECT is defined.
+ (init_process): Initialize them if NON_BLOCKING_CONNECT defined.
+ (IF_NON_BLOCKING_CONNECT): New helper macro.
+ (wait_reading_process_output): Only declare and use local vars
+ Connecting and check_connect when NON_BLOCKING_CONNECT is defined.
+
+2004-11-01 Andy Petrusenco <Igrek@star-sw.com> (tiny change)
+
+ * w32term.c (x_scroll_run): Delete region objects after use.
+
+2004-10-31 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se>
+
+ * xmenu.c: Add prototypes for forward function declarations.
+ (popup_get_selection): Remove parameter do_timers, remove call to
+ timer_check.
+ (create_and_show_popup_menu, create_and_show_dialog):
+ Remove parameter do_timers from call to popup_get_selection.
+
+ * xdisp.c (update_tool_bar): Pass a copy of f->tool_bar_items to
+ tool_bar_items and assign the result to f->tool_bar_items if
+ not equal. Move BLOCK/UNBLOCK_INPUT from around call to
+ tool_bar_items to assignment of result.
+
+ * atimer.c (alarm_signal_handler): Do not call set_alarm if
+ pending_atmers is non-zero.
+
+2004-10-31 Kim F. Storm <storm@cua.dk>
+
+ * dispnew.c (margin_glyphs_to_reserve): Don't use ncols_scale_factor.
+
+2004-10-28 Will <will@glozer.net>
+
+ * 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>
+
+ * xselect.c (Vx_lost_selection_functions, Vx_sent_selection_functions):
+ Rename from Vx_lost_selection_hooks and Vx_sent_selection_hooks.
+ (x_handle_selection_request, x_handle_selection_clear)
+ (x_clear_frame_selections, syms_of_xselect): Adjust accordingly.
+
+2004-10-28 Richard M. Stallman <rms@gnu.org>
+
+ * w32fns.c (Fx_server_vendor, Fx_server_version): Doc fixes.
+
+ * xfns.c (Fx_server_vendor, Fx_server_version): Doc fixes.
+
+2004-10-27 Stefan Monnier <monnier@iro.umontreal.ca>
+
+ * syntax.c (scan_sexps_forward): Give precedence to a 2-char
+ comment-starter over a 1-char one.
+
+2004-10-27 Richard M. Stallman <rms@gnu.org>
+
+ * xdisp.c (get_next_display_element): In mode lines,
+ treat newline and tab like other control characters.
+
+ * editfns.c (Fmessage): Doc fix.
+
+ * indent.c (vmotion): When moving up, check the newline before.
+ Make prevline an int, not a Lisp_Object.
+
+2004-10-27 Kim F. Storm <storm@cua.dk>
+
+ * editfns.c (Fformat): Allocate discarded table with SAFE_ALLOCA.
+ Only allocate info and discarded tables once.
+
+ * lisp.h (USE_SAFE_ALLOCA): Add and init sa_must_free integer.
+ (SAFE_ALLOCA, SAFE_ALLOCA_LISP): Increment it when malloc is used.
+ (SAFE_FREE): Test it to determine if we need to unwind to free.
+ Remove size arg. All users changed.
+ (SAFE_FREE_LISP) Remove. All users changed to use SAFE_FREE.
+
+2004-10-26 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se>
+
+ * gtkutil.c: Put empty line between comment and function body.
+ (xg_destroy_widgets): Rename from remove_from_container.
+ Just destroy all widgets in list. Argument wcont removed.
+ (xg_update_menubar, xg_update_submenu): Call xg_destroy_widgets
+ instead of remove_from_container.
+ (xg_display_close, xg_create_tool_bar, update_frame_tool_bar)
+ (free_frame_tool_bar): Add comment.
+
+ * xfns.c (xic_create_xfontset): Check that FRAME_XIC_BASE_FONTNAME
+ is not NULL before strcmp.
+
+2004-10-26 Kim F. Storm <storm@cua.dk>
+
+ * callint.c (Fcall_interactively): Add 'U' code to get the
+ up-event discarded by a previous 'k' or 'K' argument.
+
+2004-10-26 David Kastrup <dak@gnu.org>
+
+ * buffer.c (syms_of_buffer): Fix a few typos.
+
+2004-10-26 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se>
+
+ * xsmfns.c: Put empty line between comment and function body.
+ Use two spaces before comment end.
+
+2004-10-25 Kenichi Handa <handa@m17n.org>
+
+ * fontset.c (fontset_pattern_regexp): Optimize for the case that
+ PATTERN is full XLFD.
+
+2004-10-24 Kenichi Handa <handa@m17n.org>
+
+ * regex.h (enum reg_errcode_t): New value REG_ERANGEX.
+
+ * regex.c (re_error_msgid): Add an entry for REG_ERANGEX.
+ (regex_compile): Return REG_ERANGEX if appropriate.
+
+2004-10-22 Kenichi Handa <handa@m17n.org>
+
+ * editfns.c (Ftranslate_region_internal): New function.
+ (syms_of_editfns): Defsubr it.
+
+2004-10-22 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se>
+
+ * xfns.c (xic_create_xfontset): Initialize missing_list to NULL.
+
+2004-10-21 K\e,Aa\e(Broly L\e$,1 q\e(Brentey <lorentey@elte.hu>
+
+ * xterm.h (x_output): New member `xic_base_fontname'.
+ (FRAME_XIC_BASE_FONTNAME): New macro.
+ (xic_free_xfontset): Declare.
+
+ * xfns.c (xic_create_xfontset): Share fontsets between frames
+ based on base_fontname.
+ (xic_free_xfontset): New function.
+ (free_frame_xic): Use it.
+ (xic_set_xfontset): Ditto.
+
+ * xterm.c (xim_destroy_callback): Ditto.
+
+
+2004-10-20 B. Anyos <banyos@freemail.hu> (tiny change)
+
+ * w32term.c (x_draw_glyph_string): Use overline_color for overlines.
+
+2004-10-20 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se>
+
+ * xterm.h (XSync): If USE_GTK, define XSync as process_all and then
+ XSync.
+
+ * emacs.c (my_heap_start, heap_bss_diff, MAX_HEAP_BSS_DIFF):
+ New variables and constant.
+ (main): Calculate heap_bss_diff. If we are dumping and the
+ heap_bss_diff is greater than MAX_HEAP_BSS_DIFF, set PER_LINUX32
+ and exec ourself again.
+ (Fdump_emacs): If heap_bss_diff is greater than MAX_HEAP_BSS_DIFF
+ print a warning.
+
+ * lastfile.c: Make my_endbss and my_endbss_static available on all
+ platforms.
+
+ * Makefile.in (RUN_TEMACS): Remove @SETARCH@.
+ * config.in (HAVE_PERSONALITY_LINUX32): Regenerate.
+
+2004-10-19 Luc Teirlinck <teirllm@auburn.edu>
+
+ * data.c (Flocal_variable_if_set_p): Doc fix.
+
+2004-10-19 Jason Rumney <jasonr@gnu.org>
+
+ * w32.c (init_environment): Set emacs_dir correctly when running
+ emacs from the build directory.
+
+2004-10-19 Richard M. Stallman <rms@gnu.org>
+
+ * editfns.c (Fdelete_and_extract_region):
+ If region is empty, return null string.
+
+2004-10-19 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se>
+
+ * gtkutil.h (xg_update_scrollbar_pos): Remove arguments real_left
+ and canon_width.
+ (xg_frame_cleared): Remove.
+
+ * gtkutil.c (xg_frame_cleared, xg_fixed_handle_expose)
+ (xg_find_top_left_in_fixed): Remove.
+ (xg_create_scroll_bar): Put an event box widget between
+ the scroll bar widget and the edit widget.
+ (xg_show_scroll_bar): Show the parent widget (the event box).
+ (xg_remove_scroll_bar): Destroy parent (the event box) also.
+ (xg_update_scrollbar_pos): Remove arguments real_left and canon_width.
+ Move the parent (the event box) widget inside the fixed widget.
+ Move window clear to xterm.c.
+
+ * gtkutil.h (xg_frame_cleared): Remove.
+
+ * xterm.c (x_clear_frame): Remove call to xg_frame_cleared
+ (x_scroll_bar_create, XTset_vertical_scroll_bar):
+ Remove arguments left and width to xg_update_scrollbar_pos.
+ (XTset_vertical_scroll_bar): Do x_clear_area for USE_GTK also.
+
+2004-10-19 Kenichi Handa <handa@m17n.org>
+
+ * xdisp.c (display_mode_element): Fix display of wide chars.
+
+2004-10-18 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se>
+
+ * gtkutil.c (xg_update_scrollbar_pos): Change XClearWindow to
+ gdk_window_clear and move gdk_window_process_all_updates after
+ clear so events are sent to the X server in correct order.
+
+2004-10-18 Kenichi Handa <handa@m17n.org>
+
+ * fontset.c (fs_load_font): Use fast_string_match_ignore_case for
+ comparing font names.
+ (fs_query_fontset): Use fast_string_match for comparing fontset names.
+ (list_fontsets): Likewise.
+
+ * search.c (fast_string_match_ignore_case): New function.
+
+ * lisp.h (fast_string_match_ignore_case): Extern it.
+
+2004-10-17 Kim F. Storm <storm@cua.dk>
+
+ * xdisp.c (overlay_arrow_at_row): Return overlay string rather
+ than bitmap if there is not left fringe.
+ (get_overlay_arrow_glyph_row): Also used on windows system.
+ (display_line): Display overlay string if no left fringe.
+
+2004-10-16 Jason Rumney <jasonr@gnu.org>
+
+ * w32fns.c (w32_font_match): Encode font name being matched.
+
+2004-10-16 Richard M. Stallman <rms@gnu.org>
+
+ * window.c (Fspecial_display_p): Doc fix.
+
+2004-10-15 Stefan <monnier@iro.umontreal.ca>
+
+ * doc.c (Fsubstitute_command_keys): Fix remap-handling.
+ Don't ignore menus, because where-is-internal already does it for us.
+
+2004-10-15 Kim F. Storm <storm@cua.dk>
+
+ * xdisp.c (redisplay_window): Only update fringes and vertical
+ border on window frames.
+
+2004-10-14 Andreas Schwab <schwab@suse.de>
+
+ * m/ia64.h (DATA_SEG_BITS): Don't define.
+
+2004-10-14 Kim F. Storm <storm@cua.dk>
+
+ * xterm.h: Include Xutil.h after keysym.h to work around bug
+ in some X versions.
+
+2004-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
+
+ * fns.c (map_char_table): Add missing gcpros.
+
+2004-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
+
+ * keymap.c (get_keymap): An autoload form is not a keymap.
+
+ * textprop.c (syms_of_textprop): Make `syntax-table' nonsticky.
+
+2004-10-13 Kim F. Storm <storm@cua.dk>
+
+ * callproc.c (Fcall_process): Simplify handling of display arg.
+ Resume `display_on_the_fly' once a coding system is determined.
+
+ * xdisp.c (redisplay_preserve_echo_area): Fix last change.
+
+2004-10-12 Kim F. Storm <storm@cua.dk>
+
+ * xdisp.c (redisplay_preserve_echo_area): Flush display in case
+ caller, such as call-process, is not going to poll for input.
+ (calc_line_height_property): Handle case where it->object is nil.
+
+ * xterm.c (x_redisplay_interface): Fix flush_display_optional.
+
+2004-10-12 Kenichi Handa <handa@m17n.org>
+
+ * xdisp.c (get_next_display_element):
+ If unibyte_display_via_language_environment is zero, display 8-bit
+ chars in octal in unibyte buffer.
+
2004-10-12 Kim F. Storm <storm@cua.dk>
* doc.c (Fsubstitute_command_keys): Ignore remappings unless there
2004-10-11 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se>
- * xfns.c (syms_of_xfns): defsubr x-file-dialog for GTK also.
+ * xfns.c (syms_of_xfns): Defsubr x-file-dialog for GTK also.
2004-10-10 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
- * macterm.c (x_raise_frame): Add BLOCK_INPUT around SelectWindow
- (x_lower_frame): Add BLOCK_INPUT around SendBehind
+ * macterm.c (x_raise_frame): Add BLOCK_INPUT around SelectWindow.
+ (x_lower_frame): Add BLOCK_INPUT around SendBehind.
(make_mac_frame): Add BLOCK_INPUT around the making of a
- terminal frame
- (mac_initialize): Add BLOCK_INPUT around carbon initialization
- * macgui.h (mktime): Use emacs_mktime
+ terminal frame.
+ (mac_initialize): Add BLOCK_INPUT around carbon initialization.
+ * macgui.h (mktime): Use emacs_mktime.
* macfns.c (Fx_file_dialog): Add BLOCK_INPUT around more code.
Make a cancel file-open dialog be like C-g.
- * mac.c (mktime): Use emacs_mktime
- (Fdo_applescript): Add BLOCK_INPUT around do_applescript
- (Fmac_paste_function): Add better error handling for carbon
- cut/paste
+ * mac.c (mktime): Use emacs_mktime.
+ (Fdo_applescript): Add BLOCK_INPUT around do_applescript.
+ (Fmac_paste_function): Add better error handling for carbon cut/paste.
2004-10-10 Kim F. Storm <storm@cua.dk>
2004-10-08 Steven Tamm <steventamm@mac.com>
- * config.in (HAVE_MALLOC_MALLOC_H): Regenerate
+ * config.in (HAVE_MALLOC_MALLOC_H): Regenerate.
* macterm.c (mac_check_for_quit_char): Remove warning for using
- NULL where 0 should be used
+ NULL where 0 should be used.
* unexmacosx.c: Use malloc/malloc.h on Tiger instead of
objc/malloc.h
- * mac.c: Include time.h for Tiger compatibility
+ * mac.c: Include time.h for Tiger compatibility.
2004-10-07 Kim F. Storm <storm@cua.dk>
compositions to encode.
(encode_coding_string): Likewise. Free composition data.
-2004-09-30 Florian Weimer <fw@deneb.enyo.de> (tiny change)
+2004-09-30 Florian Weimer <fw@deneb.enyo.de>
* coding.c (code_convert_region): Free composition data.
Change arg to Lisp_Object and fail if not an integer.
(get_fringe_bitmap_name, resolve_fringe_bitmap)
(destroy_fringe_bitmap): New functions.
- (Fdestroy_fringe_bitmap): Change arg to bitmap symbol. Use
- destroy_fringe_bitmap. Remove symbol from Vfringe_bitmaps and
+ (Fdestroy_fringe_bitmap): Change arg to bitmap symbol.
+ Use destroy_fringe_bitmap. Remove symbol from Vfringe_bitmaps and
clear its fringe property.
(init_fringe_bitmap): Use destroy_fringe_bitmap instead of
Fdestroy_fringe_bitmap.
2004-09-25 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se>
- * config.in: Rebuild
+ * config.in: Rebuild.
2004-09-24 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se>
Handle the case where we reach the old displayed text,
out of sync with the old line boundary.
-2004-09-14 Stefan <monnier@iro.umontreal.ca>
+2004-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
* fileio.c (Finsert_file_contents): Fix case of replacement in a
narrowed buffer.
(Fbyte_code): Remove dead code after `wrong_type_argument'.
* alloc.c (Fgarbage_collect): Mark keyboards, gtk data, and specpdl
- before doing the mark_stack_check_gcpros since they are not on the stack.
+ before doing the mark_stack_check_gcpros since they're not on the stack.
2004-09-12 Kim F. Storm <storm@cua.dk>
blockinput.h.
(dosfns.o): Depend on blockinput.h, window.h, dispextern.h,
charset.h, and coding.h
- (w16select.o): Depend on buffer.h, charset.h, coding.h, and
- composite.h.
+ (w16select.o): Depend on buffer.h, charset.h, coding.h, and composite.h.
(term.o): Depend on window.h and keymap.h.
(abbrev.o): Depend on syntax.h.
(callint.o): Depend on keymap.h.
(lread.o): Depend on $(INTERVALS_SRC), termhooks.h, and coding.h.
(intervals.o): Depend on keymap.h.
- * msdos.c (msdos_set_cursor_shape, IT_display_cursor): Add
- debugging print-out to termscript.
+ * msdos.c (msdos_set_cursor_shape, IT_display_cursor):
+ Add debugging print-out to termscript.
2004-09-09 Richard M. Stallman <rms@gnu.org>
2004-09-07 Luc Teirlinck <teirllm@auburn.edu>
* buffer.h (struct buffer): Add auto_save_file_format field.
- * buffer.c (reset_buffer, init_buffer_once): Handle
- auto_save_file_format field.
+ * buffer.c (reset_buffer, init_buffer_once):
+ Handle auto_save_file_format field.
(syms_of_buffer): Add DEFVAR_PER_BUFFER for
`buffer-auto-save-file-format'.
* fileio.c: Delete declaration for removed Vauto_save_file_format.
* w32term.h (AppendMenuW_Proc): Move declaration from w32menu.c.
- * w32fns.c (w32_wnd_proc) [WM_MEASUREITEM, WM_DRAWITEM]: Handle
- Unicode menu titles.
+ * w32fns.c (w32_wnd_proc) [WM_MEASUREITEM, WM_DRAWITEM]:
+ Handle Unicode menu titles.
2004-09-07 Kim F. Storm <storm@cua.dk>
* xdisp.c (set_cursor_from_row): Fix last change. Only use 'cursor'
property from text property or overlay strings at point.
-2004-09-07 Stefan <monnier@iro.umontreal.ca>
+2004-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
* xmenu.c (update_submenu_strings): YAILOM.
(set_frame_menubar): Make sure last_i is initialized.
(Fsave_window_excursion, Fset_window_vscroll)
(syms_of_window) <window-size-fixed>: Doc fixes.
-2004-07-19 KOBAYASHI Yasuhiro <kobayays@otsukakj.co.jp> (tiny change)
+2004-07-19 KOBAYASHI Yasuhiro <kobayays@otsukakj.co.jp>
* w32fns.c (Fx_file_dialog): Use ENCODE_FILE instead of
ENCODE_SYSTEM for filenames.
* buffer.c (syms_of_buffer) <transient-mark-mode>: Doc fix.
-2004-07-15 KOBAYASHI Yasuhiro <kobayays@otsukakj.co.jp> (tiny change)
+2004-07-15 KOBAYASHI Yasuhiro <kobayays@otsukakj.co.jp>
* w32fns.c (Fx_file_dialog): Encode strings in system coding
system before passing them to OS functions for display.
* w32select.c (Fw32_set_clipboard_data): Update `nbytes' correctly
after getting a new string by pre-write-conversion.
-2004-06-30 Stefan <monnier@iro.umontreal.ca>
+2004-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
* xterm.c (x_detect_focus_change): Remove unused var `nr_events'.
(x_calc_absolute_position): Remove unused var `child'.
before actually accepting connection in case it has already been
accepted due to recursion.
-2004-05-23 K\e,Ba\e(Broly L\e,Bu\e(Brentey <lorentey@elte.hu> (tiny change)
+2004-05-23 K\e,Ba\e(Broly L\e,Bu\e(Brentey <lorentey@elte.hu>
* coding.c (Fset_safe_terminal_coding_system_internal):
Set suppress_error in safe_terminal_coding, not terminal_coding.
* w32fns.c (Vw32_ansi_code_page): New Lisp variable.
(globals_of_w32fns): Set it.
-2004-05-09 Piet van Oostrum <piet@cs.uu.nl> (tiny change)
+2004-05-09 Piet van Oostrum <piet@cs.uu.nl>
* data.c (Fquo): Simplify.
* emacs.c (main) [VMS]: Fix var ref.
-2004-05-06 Romain Francoise <romain@orebokech.com> (tiny change)
+2004-05-06 Romain Francoise <romain@orebokech.com>
* data.c (Fsetq_default): Fix docstring.
* Makefile.in (region-cache.o): Depend on config.h.
-2004-05-02 Romain Francoise <romain@orebokech.com> (tiny change)
+2004-05-02 Romain Francoise <romain@orebokech.com>
* indent.c (compute_motion): Save vpos in prev_vpos when dealing
with continuation lines, too.
entries that were used before we return.
(init_keyboard): Initialize read_avail_input_buf here.
-2004-02-16 Jesper Harder <harder@ifa.au.dk> (tiny change)
+2004-02-16 Jesper Harder <harder@ifa.au.dk>
* cmds.c (Fend_of_line): Doc fix.
to the definition of `signal' in the Elisp manual.
* eval.c (Fsignal): Ditto.
-2003-12-29 James Clark <jjc@jclark.com> (tiny change)
+2003-12-29 James Clark <jjc@jclark.com>
* fns.c (internal_equal): Return t for two NaN arguments.
* fileio.c (Fwrite_region): Fix conditional expression to issue
the right message.
-2003-08-16 Juri Linkov <juri@jurta.org> (tiny change)
+2003-08-16 Juri Linkov <juri@jurta.org>
* syntax.c (Fforward_word): Argument changed to optional.
Set default value to 1.
* fns.c (Fclear_string): New function.
(syms_of_fns): defsubr it.
-2003-07-28 KOBAYASHI Yasuhiro <kobayays@otsukakj.co.jp> (tiny change)
+2003-07-28 KOBAYASHI Yasuhiro <kobayays@otsukakj.co.jp>
* xfns.c (xic_set_preeditarea): Add the left fringe width to spot.x.
* alloc.c (Fgarbage_collect): Doc fix.
-2003-07-07 Nozomu Ando <nand@mac.com> (tiny change)
+2003-07-07 Nozomu Ando <nand@mac.com>
* buffer.c (Fkill_buffer): Clear charpos cache if necessary.
* alloc.c (Fgarbage_collect): Cast pointers into specpdl
to avoid GCC warning.
-2003-05-16 Ralph Schleicher <rs@nunatak.allgaeu.org> (tiny change)
+2003-05-16 Ralph Schleicher <rs@nunatak.allgaeu.org>
* fileio.c (Fdelete_file): Handle symlinks pointing to directories.
(w32_init_class): Use it.
(x_put_x_image): Declare all args.
-2003-01-21 Richard Dawe <rich@phekda.freeserve.co.uk> (tiny change)
+2003-01-21 Richard Dawe <rich@phekda.freeserve.co.uk>
* Makefile.in (ALL_CFLAGS): Include MYCPPFLAGS, not MYCPPFLAG.
in direct action cases for Qforward_char and Qbackward_char.
Set already_adjusted so it won't be done twice.
-2002-12-30 Richard Dawe <rich@phekda.freeserve.co.uk> (tiny change)
+2002-12-30 Richard Dawe <rich@phekda.freeserve.co.uk>
* src/config.in (!HAVE_SIZE_T): Fix order of arguments in
type definition of size_t.
* dired.c (file_name_completion): Fix that change.
Delete special quit-handling code; just use QUIT.
-2002-12-21 Tak Ota <Takaaki.Ota@am.sony.com> (tiny change)
+2002-12-21 Tak Ota <Takaaki.Ota@am.sony.com>
* dired.c (file_name_completion): Close directory on error
just as in directory_files_internal.
2002-08-26 Kim F. Storm <storm@cua.dk>
- * frame.c (make_terminal_frame) [CANNOT_DUMP]: Initialize foreground
- and background colors. From Joe Buehler (tiny change).
+ * frame.c (make_terminal_frame) [CANNOT_DUMP]: Initialize
+ foreground and background colors. From Joe Buehler.
2002-08-26 Miles Bader <miles@gnu.org>