+2002-04-19 Eli Zaretskii <eliz@is.elta.co.il>
+
+ * s/sol2-5.h (bcopy, bzero, bcmp): Define only if HAVE_BCOPY is
+ not defined.
+
+2002-04-18 Richard M. Stallman <rms@gnu.org>
+
+ * textprop.c (remove_properties): New arg LIST allows scanning
+ either a list or a plist.
+ (interval_has_some_properties_list): New function, like
+ interval_has_some_properties using list instead of plist.
+ All callers changed.
+ (Fremove_list_of_text_properties): New function.
+ (syms_of_textprop): Defsubr it.
+
+2002-04-17 Eli Zaretskii <eliz@is.elta.co.il>
+
+ * s/sol2.h (HAVE_LIBKSTAT): Define only if not already defined.
+
+2002-04-17 Juanma Barranquero <lektu@terra.es>
+
+ * indent.c (Fmove_to_column): Remove unused local variable
+ `end_byte'.
+
+2002-04-17 Eli Zaretskii <eliz@is.elta.co.il>
+
+ * window.c (coordinates_in_window): Don't report on margin area
+ if its width is zero.
+
+2002-04-16 Jason Rumney <jasonr@gnu.org>
+
+ * w32fns.c (Fx_file_dialog): Decode file name before using.
+
+ * w32term.c (construct_drag_n_drop): Likewise.
+
+2002-04-16 Eli Zaretskii <eliz@is.elta.co.il>
+
+ * puresize.h (BASE_PURESIZE): Increase to 830000, since we now
+ store load-history in pure space.
+
+ * s/msdos.h (SYSTEM_PURESIZE_EXTRA): Reduce to 50000.
+
+2002-04-16 Stefan Monnier <monnier@cs.yale.edu>
+
+ * xterm.c (Qlatin_1, Qutf_8): New vars.
+ (syms_of_xterm): Initialize them.
+ (XTread_socket): Eliminate incorrect optimization that tried to avoid
+ decoding the output of X*LookupString.
+ Always use latin-1 to decode the output of XLookupString.
+ Try Xutf8LookupString if XmbLookupString failed.
+
+ * region-cache.c (new_region_cache): Use BEG.
+
+2002-04-16 Gerd Moellmann <gerd@gnu.org>
+
+ * buffer.c (MMAP_ALLOCATED_P): New macro to be set from system
+ configuration files.
+ (mmap_enlarge): Enlarge mapped regions only if MMAP_ALLOCATED_P
+ returns 0.
+
+2002-04-15 Andreas Schwab <schwab@suse.de>
+
+ * config.in: Regenerated using autoheader.
+
+ * m/7300.h, m/acorn.h, m/alliant-2800.h, m/alliant.h, m/alpha.h,
+ m/altos.h, m/amdahl.h, m/apollo.h, m/arm.h, m/att3b.h, m/aviion.h,
+ m/celerity.h, m/clipper.h, m/cnvrgnt.h, m/convex.h, m/cydra5.h,
+ m/delta.h, m/delta88k.h, m/dpx2.h, m/elxsi.h, m/gec63.h,
+ m/gould.h, m/hp800.h, m/hp9000s300.h, m/i860.h, m/ia64.h,
+ m/ibmps2-aix.h, m/ibmrs6000.h, m/ibmrt-aix.h, m/ibmrt.h,
+ m/ibms390.h, m/intel386.h, m/iris4d.h, m/irist.h, m/isi-ov.h,
+ m/m68k.h, m/macppc.h, m/masscomp.h, m/mg1.h, m/mips-siemens.h,
+ m/mips.h, m/news-r6.h, m/news.h, m/next.h, m/nh3000.h, m/nh4000.h
+ m/ns32000.h, m/orion.h, m/pfa50.h, m/plexus.h, m/pmax.h,
+ m/powerpcle.h, m/pyrmips.h, m/sequent-ptx.h, m/sequent.h,
+ m/sparc.h, m/sr2k.h, m/symmetry.h, m/tad68k.h, m/tahoe.h,
+ m/targon31.h, m/tek4300.h, m/tekxd88.h, m/template.h, m/tower32.h,
+ m/tower32v3.h, m/ustation.h, m/vax.h, m/wicat.h, m/windowsnt.h,
+ m/xps100.h, s/aix3-2.h, s/aix4-2.h, s/irix4-0.h, s/irix5-0.h,
+ s/sco5.h, s/unixware.h: Don't set HAVE_ALLOCA, C_ALLOCA and
+ STACK_DIRECTION, now set by autoconf.
+
+2002-04-14 Pavel Jan\e,Bm\e(Bk <Pavel@Janik.cz>
+
+ * dispnew.c (marginal_area_string): Sort arguments.
+
+ * dispextern.h (marginal_area_string): Add prototype.
+
+2002-04-13 Richard M. Stallman <rms@gnu.org>
+
+ * fileio.c (Finsert_file_contents):
+ Don't call temp_output_buffer_setup--do just part, by hand.
+
+ * coding.c (run_pre_post_conversion_on_str):
+ Don't call temp_output_buffer_setup--do just part, by hand.
+
+ * keyboard.c (command_loop_1): Don't call start_hourglass
+ or cancel_hourglass when executing a macro.
+
+ * marker.c (count_markers): New function.
+
+ * xdisp.c (display_mode_element): Don't let mode_line_proptrans_alist
+ grow without limit. Move recently used elements to the front.
+
+2002-04-13 Eli Zaretskii <eliz@is.elta.co.il>
+
+ * unexelf.c (unexec) [__sgi]: Undo the change from 2002-01-20.
+
+2002-04-12 Gerd Moellmann <gerd@gnu.org>
+
+ * xdisp.c (sync_frame_with_window_matrix_rows): Don't give frame
+ rows marginal areas.
+ (Fdump_frame_glyph_matrix) [GLYPH_DEBUG]: New function.
+ (syms_of_xdisp) [GLYPH_DEBUG]: Defsubr it.
+
+ * dispnew.c (marginal_area_string): Check that glyph row is enabled.
+
+2002-04-12 Dave Love <fx@gnu.org>
+
+ * dispnew.c (marginal_area_string): New.
+
+ * window.c (window_part): Add ON_LEFT_MARGIN, ON_RIGHT_MARGIN.
+ (Qleft_margin, Qright_margin): Declare.
+ (coordinates_in_window, (Fcoordinates_in_window_p): Deal with margins.
+
+ * xterm.c (note_mode_line_or_margin_highlight): Renamed from
+ note_mode_line_highlight and extended.
+
+ * keyboard.c (Qleft_margin, Qright_margin): Declare.
+ (make_lispy_event): Deal with mouse events in margins.
+
+2002-04-12 Stefan Monnier <monnier@cs.yale.edu>
+
+ * msdos.c (dos_rawgetc): Use a single event for HELP_EVENT.
+
+ * keyboard.c (command_loop_1): Turn off transient-mark-mode rather
+ than deactivating the mark if tmm is set to `lambda'.
+ (gen_help_event, kbd_buffer_store_help_event, kbd_buffer_get_event):
+ Use a single event for HELP_EVENT.
+ (Fexecute_extended_command): Save last_point_position.
+
+2002-04-12 Pavel Jan\e,Bm\e(Bk <Pavel@Janik.cz>
+
+ * lisp.h (Fpropertize): Add prototype.
+
+ * fns.c (Fy_or_n_p): Use `minibuffer-prompt' face for prompt.
+
+2002-04-10 Colin Walters <walters@verbum.org>
+
+ * config.in: Add HAVE_SHARED_GAME_DIR.
+
+ * callproc.c: (Vgame_score_directory): New variable.
+ (syms_of_callproc) <Vgame_score_directory>: DEFVAR_LISP.
+
+2002-04-10 Richard M. Stallman <rms@gnu.org>
+
+ * puresize.h (BASE_PURESIZE): Reduce again to avoid big excess.
+
+2002-04-09 Stefan Monnier <monnier@cs.yale.edu>
+
+ * minibuf.c (read_minibuf): Use empty_string.
+ (Ftry_completion): Allow lambda forms and lists of strings for `alist'.
+ Short-circuit the search as soon as it "failed".
+ (Fall_completions): Allow lambda forms and lists of strings for alist.
+ (Fcompleting_read): Set Qminibuffer_completion_confirm to nil
+ when require_match is nil.
+ (Ftest_completion): Rename from `test_completion' and export to elisp.
+ Call the predicate also when alist is a list.
+ Obey Vcompletion_regexp_list.
+ (do_completion, Fminibuffer_complete_and_exit): Use it.
+ (Fassoc_string): Rename from `assoc_for_completion'.
+ Allow list of strings as well and export to elisp.
+
+2002-04-08 Stefan Monnier <monnier@cs.yale.edu>
+
+ * puresize.h (BASE_PURESIZE): Increase to 900KB.
+
+2002-04-08 Juanma Barranquero <lektu@terra.es>
+
+ * w32.c (sys_accept): Don't hide variable `s'.
+
+2002-04-05 Gerd Moellmann <gerd@gnu.org>
+
+ * callint.c (Fcall_interactively): Use INTEGERP instead of
+ NUMBERP for checking Vhistory_length.
+
+2002-04-05 Pavel Jan\e,Bm\e(Bk <Pavel@Janik.cz>
+
+ * sound.c (Fplay_sound_internal): Renamed from Fplay_sound.
+ Doc fix to reflect it.
+
+2002-04-04 Richard M. Stallman <rms@gnu.org>
+
+ * xdisp.c (display_mode_element): New arg RISKY.
+ Disregard text props found or specified within a variable
+ that isn't marked risky-local-variable.
+ (Qrisky_local_variable): New variable.
+ (syms_of_xdisp): Init and staticpro it.
+
+2002-04-04 Stefan Monnier <monnier@cs.yale.edu>
+
+ * undo.c (record_point): New fun.
+ (record_delete, record_insert): Use it.
+
+2002-04-03 Juanma Barranquero <lektu@terra.es>
+
+ * doc.c (Fdocumentation): Add missing parentheses.
+ (Fdocumentation_property): Likewise.
+
+2002-04-03 Stefan Monnier <monnier@cs.yale.edu>
+
+ * doc.c (Fdocumentation, Fdocumentation_property): When the doc
+ data is 0, just return nil.
+
+2002-04-03 Eli Zaretskii <eliz@is.elta.co.il>
+
+ * msdos.c (syms_of_msdos): Fix last change with
+ mouse_autoselect_window.
+
+2002-04-03 Pavel Jan\e,Bm\e(Bk <Pavel@Janik.cz>
+
+ * w32term.c, xterm.c, msdos.c: Rename autoselect_window_p to
+ mouse_autoselect_window.
+
+2002-04-02 Stefan Monnier <monnier@cs.yale.edu>
+
+ * keyboard.c (make_lispy_event): Handle unknown keysyms together
+ with system-specific keysyms. Use it also for unknown function keys.
+
+ * doc.c (reread_doc_file): Return whether reload was attempted.
+ (Fdocumentation, Fdocumentation_property): Don't try to reload
+ if the doc is 0 and only ask once.
+
+ * Makefile.in (lisp, shortlisp): Add ucs-tables.elc.
+
+2002-04-02 Eli Zaretskii <eliz@is.elta.co.il>
+
+ * keyboard.c (read_char): If the event was Qselect_window,
+ restore timer_idleness_start_time to its previous value.
+
+ * msdos.c (dos_rawgetc): Generate SELECT_WINDOW_EVENTs when required.
+
+2002-04-01 Stefan Monnier <monnier@cs.yale.edu>
+
+ * region-cache.c (new_region_cache): Use BEG.
+
+ * marker.c (buf_charpos_to_bytepos, buf_bytepos_to_charpos):
+ Use BEG and BEG_BYTE.
+
+ * doc.c (get_doc_string): Return nil if the location is wrong.
+ (reread_doc_file): New fun.
+ (Fdocumentation, Fdocumentation_property):
+ Call it if get_doc_string fails.
+ (Fsnarf_documentation): Make it work for a dumped Emacs.
+
+ * charset.h (DEC_POS, BUF_DEC_POS): Use BEG_BYTE.
+ Bound the search with MAX_MULTIBYTE_LENGTH to avoid pathological case.
+
+ * charset.c (Fstring): Allow 0 arguments.
+
+ * xterm.c (XTread_socket): Fix int/Lisp_Object confusion.
+
+ * process.c (DATAGRAM_CONN_P, list_processes_1)
+ (Fprocess_datagram_address, Fset_process_datagram_address)
+ (Fset_network_process_options, server_accept_connection):
+ Fix some int/Lisp_Object confusions (thank you union types).
+
+2002-04-01 Pavel Jan\e,Bm\e(Bk <Pavel@Janik.cz>
+
+ * msdos.c: Rename x_autoselect_window_p to autoselect_window_p.
+
+ * w32term.c: Likewise.
+ (note_mouse_movement): Put code for x_autoselect_window_p in #if 0.
+
+ * keyboard.c (Qselect_window): New symbol.
+ (head_table): Use it.
+ (keys_of_keyboard): Bound select-window event to handle-select-window.
+ (kbd_buffer_get_event): Make a Lisp event from SELECT_WINDOW_EVENT.
+
+ * xterm.c: Rename x_autoselect_window_p to autoselect_window_p.
+ (last_window): New variable.
+ (XTread_socket): Generate SELECT_WINDOW_EVENTs.
+ (note_mouse_movement): Remove reimplemented code in #if 0.
+ (XTread_socket): Generate SELECT_WINDOW_EVENTs only for
+ Emacs windows.
+
+ * termhooks.h (enum event_kind): New event type `SELECT_WINDOW_EVENT'.
+
+2002-03-31 Gerd Moellmann <gerd@gnu.org>
+
+ * xterm.c (x_get_char_face_and_encoding): Add parameter DISPLAY_P.
+ Callers changed.
+
+2002-03-30 Richard M. Stallman <rms@gnu.org>
+
+ * window.c (window_scroll_pixel_based): Exit the move_it_by_lines
+ loop whenever it stops making progress.
+
+ * widget.c (set_frame_size): Don't call change_frame_size.
+
+2002-03-30 Gerd Moellmann <gerd@gnu.org>
+
+ * dispnew.c (direct_output_for_insert):
+ Call mark_window_display_accurate.
+
+2002-03-29 Jason Rumney <jasonr@gnu.org>
+
+ * w32term.c (w32_draw_relief_rect): Fix calculations of line lengths.
+
+2002-03-29 Eli Zaretskii <eliz@is.elta.co.il>
+
+ * Makefile.in (lread.o): Depend on coding.h.
+
+ * lread.c (openp, Fload): Encode the file name before passing it
+ to `stat', `access', and `emacs_open'.
+ (openp): GCPRO the encoded file name. Don't recompute Lisp
+ strings unnecessarily.
+
+2002-03-29 Kim F. Storm <storm@cua.dk>
+
+ * fns.c (Flax_plist_put): Doc fix.
+
+2002-03-28 Miles Bader <miles@gnu.org>
+
+ * process.c (DATAGRAM_CONN_P): Make sure PROC is really a process.
+
+2002-03-27 Pavel Jan\e,Bm\e(Bk <Pavel@Janik.cz>
+
+ * process.c (set-network-process-options): Add usage.
+ (make-network-process): Doc fix.
+
+2002-03-26 Eli Zaretskii <eliz@is.elta.co.il>
+
+ * emacs.c (Fdump_emacs): Fix a typo in "command-line-processed".
+
+2002-03-26 Richard M. Stallman <rms@gnu.org>
+
+ * fns.c (Fsubstring_no_properties): New function.
+ (Flax_plist_get, Flax_plist_put): New functions.
+ (syms_of_fns): defsubr them.
+
+ * xdisp.c (update_menu_bar): Test only update_mode_lines;
+ don't test or alter w->update_mode_line.
+
+ * window.c (Fdisplay_buffer): Doc fix.
+
+2002-03-24 Richard M. Stallman <rms@gnu.org>
+
+ * regex.c (GET_UNSIGNED_NUMBER): Give proper error for spaces.
+
+2002-03-24 Gerd Moellmann <gerd@gnu.org>
+
+ * eval.c (Qdeclare, Vmacro_declaration_function): New variables.
+ (Fdefmacro): Handle `(declare ...)'.
+ (syms_of_eval) <Qdeclare>: Initialize and staticpro.
+ (syms_of_eval) <Vmacro_declaration_function>: DEFVAR_LISP.
+
+2002-03-24 Jason Rumney <jasonr@gnu.org>
+
+ * w32fns.c (xbm_scan, xbm_load_image, xbm_read_bitmap_data)
+ (xbm_file_p): Add prototypes.
+ (xbm_format, xbm_image_p): Sync with xfns.c.
+ (reflect_byte): New function.
+ (xbm_read_bitmap_data): Sync with xfns.c, adapt for Windows.
+ (xbm_load_image): Create bitmaps with a depth of 1.
+ (init_xfns): Enable XBM images.
+
+2002-03-23 Jason Rumney <jasonr@gnu.org>
+
+ * w32term.c (w32_handle_tool_bar_click): Detect up and down events
+ correctly. Do not pass up_modifier to keyboard buffer.
+
+ * w32fns.c [HAVE_IMAGES, HAVE_PBM]: Remove conditionals.
+
+2002-03-22 Stefan Monnier <monnier@cs.yale.edu>
+
+ * Makefile.in (bootstrapclean): New target.
+ (bootstrap-temacs, bootstrap-doc): Remove.
+ (bootstrap-emacs): Use a bog-standard `temacs'.
+ Don't bother to build a DOC file.
+
+ * sysdep.c (wait_for_termination): Use sigsuspend rather than sigpause.
+
+ * emacs.c (main): Handle --unibyte, --multibyte, and --no-loadup
+ in temacs even if !CANNOT_DUMP.
+ (standard_args): Keep --no-loadup even if !CANNOT_DUMP.
+
+ * alloc.c (check_pure_size): Only output a warning.
+
+2002-03-22 Jason Rumney <jasonr@gnu.org>
+
+ * w32fns.c (Fx_create_frame): Enable tool-bar when images are
+ supported.
+
+ * w32term.c (zv_bits): Declare as short, for word alignment.
+ (w32_read_socket) <WM_XBUTTONUP>: Fix last change.
+ (syms_of_w32term): Define x-use-underline-position-properties.
+
+ * w32fns.c (x_set_cursor_color): Set cursor_gc as well.
+ (clear_image_cache): Block input, fix logic, clear matrices in
+ all frames that share this cache.
+
+2002-03-22 Eli Zaretskii <eliz@is.elta.co.il>
+
+ * emacs.c (main): Update the Copyright year in the blurb printed
+ by "emacs --version".
+
+ * xdisp.c (message_with_string): Fix syntax of a call to GCPRO2.
+
+ * xterm.c (XTread_socket): If XK_ISO_Lock and
+ XK_ISO_Last_Group_Lock are defined, handle keysyms between
+ XK_ISO_Lock and XK_ISO_Last_Group_Lock similarly to Mode_switch.
+
+2002-03-21 Kim F. Storm <storm@cua.dk>
+
+ * keyboard.c (menu_bar_items): Mostly undo 2002-02-20 patch, so
+ menu-bar bindings in keymap and local-map properties _are_ used.
+ But try keymap property first in accordance with 2002-01-03 patch.
+ Added comment describing why this is not always reliable.
+ (tool_bar_items): Ditto for tool-bar.
+
+2002-03-21 Jason Rumney <jasonr@gnu.org>
+
+ * w32fns.c (x_clear_image_1): Disable color table code.
+
+2002-03-21 Kim F. Storm <storm@cua.dk>
+
+ * lisp.h (DEFUN) [USE_NONANSI_DEFUN]: The 2001-10-17 patch
+ removed the wrong version of the DEFUN macro; fixed it.
+
+ * fns.c (Ffeaturep): Allow subfeature to be a list (test using
+ Fmember rather than Fmemq).
+ (Fprovide): Check that subfeatures is a list.
+
+ * process.c (QCfeature, QCdatagram): Removed variables.
+ (QCtype, Qdatagram): New variables.
+ (network_process_featurep): Removed function.
+ (Fmake_network_process): Removed :feature check.
+ Use :type 'datagram instead of :datagram t to create a datagram
+ socket. This allows us to add other connection types (e.g. raw
+ sockets) later in a consistent manner.
+ (init_process) [subprocess, HAVE_SOCKETS]: Provide list of
+ supported subfeatures for feature make-network-process.
+ (syms_of_process) [subprocess]: Remove QCfeature and QCdatagram.
+ Intern and staticpro QCtype and Qdatagram.
+ (syms_of_process) [!subprocess]: Intern and staticpro QCtype.
+
+ * xfns.c: (QCtype): Remove duplicate declaration and
+ initialization (is now declared in process.c).
+
+ * w32fns.c: (QCtype): Remove duplicate declaration and
+ initialization (is now declared in process.c).
+
+2002-03-21 Richard M. Stallman <rms@gnu.org>
+
+ * regex.c (DISCARD_FAILURE_REG_OR_COUNT): New macro.
+ (CHECK_INFINITE_LOOP): Use DISCARD_FAILURE_REG_OR_COUNT
+ when jumping to `fail' to avoid undoing reg changes in the
+ last iteration of the loop.
+ (GET_UNSIGNED_NUMBER): Skip spaces around the number.
+
+ * Makefile.in (dispnew.o, sysdep.o, xdisp.o, xselect.o, alloc.o):
+ Depend on process.h.
+
+2002-03-20 Jason Rumney <jasonr@gnu.org>
+
+ Most of the following changes are still conditional on HAVE_IMAGES
+ which is not set by default on Windows.
+
+ * emacs.c (main) [WINDOWSNT]: Call init_xfns.
+
+ * w32fns.c (x_set_cursor_color): Set foreground of cursor, not frame.
+ (Fimage_size, Fimage_mask_p, XPutPixel): New functions.
+ (four_corners_best, x_clear_image_1, x_clear_image)
+ (x_alloc_image_color, postprocess_image)
+ (x_create_x_image_and_pixmap, x_destroy_x_image, xbm_load_image)
+ (x_from_x_colors, x_disable_image, pbm_load): Adapt for Windows.
+ (init_xfns, syms_of_w32fns): Initialize image functions and constants.
+
+ * w32gui.h (struct XImage): Define.
+
+ * w32term.c (w32_read_socket) <WM_XBUTTONUP>: Use XFASTINT to
+ extract mouse co-ordinates.
+
+2002-03-20 Jason Rumney <jasonr@gnu.org>
+
+ * w32.c (init_winsock): Dynamically load new server and UDP
+ socket functions.
+ (socket_to_fd): New function.
+ (sys_socket): Use it.
+ (sys_setsockopt, sys_listen, sys_getsockname, sys_accept)
+ (sys_recvfrom, sys_sendto): New wrapper functions.
+
+ * process.c (QCfamily, QCfilter): Remove duplicate declaration
+ and initialization.
+
+ * makefile.w32-in (LIBS): Remove $(WSOCK32).
+
+2002-03-20 Eli Zaretskii <eliz@is.elta.co.il>
+
+ * process.c (conv_sockaddr_to_lisp, conv_lisp_to_sockaddr): Don't
+ use "sun" as a variable, it's a predefined constant on Sun
+ machines.
+
+2002-03-20 Pavel Jan\e,Bm\e(Bk <Pavel@Janik.cz>
+
+ * bytecode.c (Fbyte_code): Revert last change.
+
+2002-03-19 Kim F. Storm <storm@cua.dk>
+
+ * makefile.w32-in (LIBS): Add $(WSOCK32).
+ From David Ponce <dponce@voila.fr>.
+
+2002-03-18 Pavel Jan\e,Bm\e(Bk <Pavel@Janik.cz>
+
+ * process.c (wait_reading_process_input): Move variables `pname'
+ and `pnamelen' down where they are used.
+
+ * bytecode.c (Fbyte_code): Discard unused computed value to
+ prevent gcc warning.
+
+ * lisp.h (Fplist_member): Add prototype.
+
+2002-03-18 Kim F. Storm <storm@cua.dk>
+
+ * config.in: Add HAVE_SENDTO, HAVE_RECVFROM, HAVE_SETSOCKOPT,
+ HAVE_GETSOCKOPT, HAVE_GETPEERNAME, HAVE_GETSOCKNAME, and
+ HAVE_SYS_UN_H.
+
+ * process.c: Define HAVE_LOCAL_SOCKETS based on HAVE_SYS_UN_H.
+ Remove explicit GNU_LINUX settings for datagram support.
+
+2002-03-18 Pavel Jan\e,Bm\e(Bk <Pavel@Janik.cz>
+
+ * process.c (Fmake_network_process): Remove unused variable `sa'.
+ Doc fix. Add usage:.
+ (set_socket_options): Remove unused variables `optnum' and
+ `opttype'.
+
+2002-03-17 Richard M. Stallman <rms@gnu.org>
+
+ * xdisp.c (cursor_type_changed): New variable.
+ (redisplay_internal): Redisplay all windows if cursor_type_changed.
+ Clear it when clearing windows_or_buffers_changed.
+ (try_cursor_movement, redisplay_window, try_window_id)
+ (try_window_reusing_current_matrix): Test cursor_type_changed
+ along with windows_or_buffers_changed.
+
+ * window.h (cursor_type_changed): New variable.
+
+ * xfns.c (x_set_cursor_type): Set cursor_type_changed,
+ not update_mode_lines, and always set it to 1.
+
+ * xdisp.c (clear_garbaged_frames): Don't set windows_or_buffers_changed
+ if no frames needed redrawing.
+
+2002-03-17 Kim F. Storm <storm@cua.dk>
+
+ The following changes add support for network server processes,
+ datagram connections, and local (unix) sockets.
+
+ * process.h (struct Lisp_Process): New member log.
+ Doc fix: Member command used to indicate stopped network process.
+ Doc fix: Member childp contains plist for network process.
+ Doc fix: Member kill_without_query is inverse of query-on-exit flag.
+
+ * process.c (Qlocal, QCname, QCbuffer, QChost, QCservice, QCfamily)
+ (QClocal, QCremote, QCserver, QCdatagram, QCnowait, QCnoquery,QCstop)
+ (QCcoding, QCoptions, QCfilter, QCsentinel, QClog, QCfeature):
+ New variables.
+ (NETCONN1_P): New macro.
+ (DATAGRAM_SOCKETS): New conditional symbol.
+ (datagram_address): New array.
+ (DATAGRAM_CONN_P, DATAGRAM_CHAN_P): New macros.
+ (status_message): Use concat3.
+ (Fprocess_status): Add `listen' status to doc string. Return `stop'
+ for a stopped network process.
+ (Fset_process_buffer): Update contact plist for network process.
+ (Fset_process_filter): Ditto. Don't enable input for stopped
+ network processes. Server must listen, even if filter is t.
+ (Fset_process_query_on_exit_flag, Fprocess_query_on_exit_flag):
+ New functions.
+ (Fprocess_kill_without_query): Removed. Now defined in simple.el.
+ (Fprocess_contact): Added KEY argument. Handle datagrams.
+ (list_processes_1): Optionally show only processes with the query
+ on exit flag set. Dynamically adjust column widths. Omit tty
+ column if not needed. Report stopped network processes.
+ Identify server and datagram network processes.
+ (Flist_processes): New optional arg `query-only'.
+ (conv_sockaddr_to_lisp, get_lisp_to_sockaddr_size)
+ (conv_lisp_to_sockaddr, set_socket_options)
+ (network_process_featurep, unwind_request_sigio): New helper functions.
+ (Fprocess_datagram_address, Fset_process_datagram_address):
+ (Fset_network_process_options): New lisp functions.
+ (Fopen_network_stream): Removed. Now defined in simple.el.
+ (Fmake_network_process): New lisp function. Code is based on previous
+ Fopen_network_stream, but heavily reworked with new property list based
+ argument list, support for datagrams, server processes, and local
+ sockets in addition to old client-only functionality.
+ (server_accept_connection): New function.
+ (wait_reading_process_input): Use it to handle incoming connects.
+ Do not enable input on a new connection if process is stopped.
+ (read_process_output): Handle datagram sockets. Use 2k buffer for them.
+ (send_process): Handle datagram sockets.
+ (Fstop_process, Fcontinue_process): Apply to network processes. A stopped
+ network process is indicated by setting command field to t .
+ (Fprocess_send_eof): No-op if datagram connection.
+ (Fstatus_notify): Don't read input for a stream server socket or a
+ stopped network process.
+ (init_process): Initialize datagram_address array.
+ (syms_of_process): Intern and staticpro new variables, defsubr new
+ functions.
+
+2002-03-16 Jason Rumney <jasonr@gnu.org>
+
+ * w32fns.c (w32_to_all_x_charsets): Return correct type in
+ startup case.
+
+2002-03-16 Richard M. Stallman <rms@gnu.org>
+
+ * xdisp.c (redisplay_internal, redisplay_windows):
+ Use list_of_error to call internal_condition_case_1.
+ (safe_eval, safe_call): Pass Qt to internal_condition_case_{1,2}
+ so as to catch all errors with no possibility of debugger redisplay.
+ (list_of_error): New variable.
+ (syms_of_xdisp): Init and staticpro it.
+
+ * print.c (print_object): Delete `\ ' from printed rep of frame.
+
+2002-03-15 Eli Zaretskii <eliz@is.elta.co.il>
+
+ * msdos.c (dos_rawgetc): Disable the x-autoselect-window feature,
+ until its implementation is fixed.
+
+2002-03-14 Pavel Jan\e,Bm\e(Bk <Pavel@Janik.cz>
+
+ * xfns.c (png_load): Remove unused variable `gamma_str'.
+
+2002-03-14 Richard M. Stallman <rms@gnu.org>
+
+ * xfns.c (x_real_positions): Handle failure in XQueryTree.
+
+2002-03-14 Miles Bader <miles@gnu.org>
+
+ * intervals.c (adjust_for_invis_intang): New function.
+ (set_point_both): Use `adjust_for_invis_intang' to do most of the
+ work for dealing with invisible+intangible regions. Do so before
+ and after both forward and backward movements, to handle both
+ front-sticky and rear-sticky cases.
+ * textprop.c (text_property_stickiness): Function moved here from
+ `editfns.c'.
+ * intervals.h (text_property_stickiness): New declaration.
+ * editfns.c (char_property_eq): Function removed.
+ (text_property_stickiness): Function moved to `textprop.c'.
+
+2002-03-13 Jason Rumney <jasonr@gnu.org>
+
+ * config.in: Add STRFTIME_NO_POSIX2.
+
+ * strftime.c (my_strftime) [STRFTIME_NO_POSIX2]: Handle %h, %EX
+ and %OX when underlying strftime does not.
+
+2002-03-13 Stefan Monnier <monnier@cs.yale.edu>
+
+ * xterm.c (x_set_toolkit_scroll_bar_thumb) <USE_MOTIF>:
+ Use a fixed-size thumb (based on an ad-hoc estimate of 30 chars per
+ line) to avoid annoying flicker.
+ (xm_scroll_callback): Get rid of the now unnecessary kludge.
+ (XTread_socket): Mark it static.
+
+ * xdisp.c (display_mode_element): Fix int/Lisp_Object mixup.
+
+2002-03-13 Kim F. Storm <storm@cua.dk>
+
+ * puresize.h (BASE_PURESIZE): Increase to 775000.
+
+2002-03-12 Juanma Barranquero <lektu@terra.es>
+
+ * editfns.c (syms_of_editfns): Fix typo.
+
2002-03-12 Gerd Moellmann <gerd@gnu.org>
* xsmfns.c: Include stdio.h because termhooks.h needs it.
2002-03-10 Jan D. <Jan.Djarv@mbox200.swipnet.se>
- * xterm.h: Declare x_session_check_input and x_session_initialize.
+ * xterm.h (x_session_check_input, x_session_initialize): Declared.
- * xterm.c: Add calls to x_session_check_input and
- x_session_initialize.
+ * xterm.c: (XTread_socket): Add call to x_session_check_input and
+ x_session_have_connection.
+ (x_initialize): Add call to x_session_initialize.
* termhooks.h (enum event_kind): Add save_session_event.
* config.in: Add HAVE_X_SM.
- * Makefile.in: Add test for HAVE_X_SM and new file xsmfns.c
+ * Makefile.in (LIBXT): Add -lSM -lICE
+ if HAVE_X_SM and not USE_X_TOOLKIT.
+ (XOBJ): New file xsmfns.c added.
* xsmfns.c: New file for X session management.