(Fformat_network_address): Fix int/Lisp_Object mixup.
[bpt/emacs.git] / src / ChangeLog
index 19b31c7..244fcdb 100644 (file)
+2002-10-31  Stefan Monnier  <monnier@cs.yale.edu>
+
+       * process.c (Fformat_network_address): Fix int/Lisp_Object mixup.
+
+2002-10-30  Stefan Monnier  <monnier@cs.yale.edu>
+
+       * editfns.c (overlays_around, get_pos_property): New funs.
+       (find_field): Use them.
+       Also be careful not to modify POS before its last use.
+       (Fmessage): Don't Fformat if there's nothing to format.
+
+2002-10-30  Dave Love  <fx@gnu.org>
+
+       * process.c [HAVE_SYS_WAIT]: Include sys/wait.h.
+       [HAVE_PTY_H]; Include pty.h.
+
+       * lread.c (Fload) <!load_dangerous_libraries>: Close fd.
+
+       * xterm.c (Qeql): Declare.
+       (Vx_keysym_table): New.
+       (syms_of_xterm): Initialize it.
+       (XTread_socket): Use it.  Deal with ASCII keysyms.
+       (XSetIMValues) [HAVE_X11R6]: Prototype.
+
+       * keyboard.c (lispy_accent_codes, lispy_accent_keys): Extended.
+       (lispy_kana_keys): Comment out.
+       (make_lispy_event) [XK_kana_A]: Comment out.
+       (modify_event_symbol) <sizeof (long) == sizeof (EMACS_INT)>:
+       Fix sprintf call.
+
+       * s/osf5-0.h (C_SWITCH_SYSTEM): Revert last change (fixed by
+       regexp.h change).
+       (TERMINFO, LIBS_TERMCAP): Define.
+
+       * s/usg5-4.h (bcopy, bzero): Define conditional on HAVE_BCOPY.
+       (bcmp): Define conditional on HAVE_BCMP.
+       (NO_SIOCTL_H): Don't define.
+       (TIOCSIGSEND): Don't make conditional on IRIX6.
+
+       * s/sol2-5.h: Don't include strings.h.
+       (bcopy, bzero, bcmp) [HAVE_BCOPY]: Don't undef.
+
+       * s/irix6-0.h (IRIX6): Don't define.
+       (bcopy, bcmp, bzero): Don't undef.
+
+       * s/irix6-5.h: Don't include strings.h.
+       (IRIX6): Don't define.
+       (bcopy, bcmp, bzero): Don't undef.
+
+       * syntax.c (Fforward_comment): Doc fix.
+
+2002-10-29  Kim F. Storm  <storm@cua.dk>
+
+       * process.c (Fsignal_process): Allow PROCESS to be specified by
+       name in addition to pid (as integer or string).
+
+2002-10-28  Harald Maier  <Harald.Maier.BW@t-online.de>  (tiny change)
+
+       * w32heap.c: Don't redefine _heap_init and _heap_term on MSVC 7 build
+       environments.
+
+2002-10-27  Kim F. Storm  <storm@cua.dk>
+
+       * xterm.c (note_mouse_highlight): Don't use mouse-face if hidden.
+
+       * w32term.c (note_mouse_highlight): Don't use mouse-face if hidden.
+
+       * msdos.c (IT_note_mouse_highlight): Don't use mouse-face if hidden.
+
+       * macterm.c (note_mouse_highlight): Don't use mouse-face if hidden.
+
+2002-10-26  Richard M. Stallman  <rms@gnu.org>
+
+       * editfns.c (Fformat): Detect invalid format letters for floats.
+
+2002-10-25  Kenichi Handa  <handa@m17n.org>
+
+       * xfns.c (x_set_name): Encode by Qcompound_text unconditionally.
+       (x_set_title): Likewise.
+
+2002-10-25  Juanma Barranquero  <lektu@terra.es>
+
+       * macgui.h:
+       * w32gui.h: Remove definition of XColor.
+
+       * dispextern.h [!HAVE_X_WINDOWS]: Define XColor.
+
+2002-10-24  Kim F. Storm  <storm@cua.dk>
+
+       * xdisp.c (get_window_cursor_type): New arg ACTIVE_CURSOR.
+       Callers changed (supply dummy arg).
+
+       * lisp.h (get_window_cursor_type): Update prototype.
+
+       * w32term.c (x_display_and_set_cursor): Get active_cursor from
+       get_window_cursor_type to track system caret.
+
+2002-10-24  Kim F. Storm  <storm@cua.dk>
+
+       * process.c (Fformat_network_address): New function.
+       (syms_of_process): Defsubr it.
+       (list_processes_1): Use it to format :local/:remote address if
+       service/host is not set; before emacs would crash in that case.
+       (Fmake_network_process): Don't use Ffind_operation_coding_system
+       to setup coding system if host or service is not set.
+
+2002-10-23  Juanma Barranquero  <lektu@terra.es>
+
+       Patch suggested by Jay Finger <jay_finger@hotmail.com>.
+
+       * w32term.c (w32_term_init): Pass XColor to w32_define_color, not
+       COLORREF.
+
+       * macgui.h:
+       * w32gui.h: Add definition of XColor.
+
+       * macfns.c:
+       * w32fns.c:
+       * xfaces.c: Remove definition of XColor.
+
+2002-10-22  Stefan Monnier  <monnier@cs.yale.edu>
+
+       * xfns.c (x_set_name, x_set_title): `icon.value' has unsigned char.
+
+       * window.c (window_loop): For GET_LRU_WINDOW and GET_LARGEST_WINDOW>,
+       Only ignore truly dedicated windows.  For UNSHOW_BUFFER, delete the
+       window if it is dedicated.
+       (Fshrink_window): Add preserve_before as was done for enlarge_window.
+       (Vspecial_display_function): Update docstring.
+
+       * buffer.c (assoc_ignore_text_properties, Fother_buffer, Fkill_buffer)
+       (call_overlay_mod_hooks): Use CONSP and XCAR/XCDR.
+       (Fget_buffer_create, advance_to_char_boundary): Use BEG and BEG_BYTE;
+
+2002-10-21  Stefan Monnier  <monnier@cs.yale.edu>
+
+       * casefiddle.c (casify_region): Don't treat a prefix char as part
+       of a word when at the beginning.
+
+2002-10-17  Juanma Barranquero  <lektu@terra.es>
+
+       * lread.c (syms_of_lread): Fix typos.
+
+2002-10-17  Dave Love  <fx@gnu.org>
+
+       * Makefile.in (TEMACS_LDFLAGS): Add trailing comment.
+
+2002-10-16  Richard M. Stallman  <rms@gnu.org>
+
+       * fileio.c (Fcopy_file): Fix backward test of KEEP_TIME.
+
+2002-10-14  Juanma Barranquero  <lektu@terra.es>
+
+       * w16select.c (syms_of_win16select): Fix docstring for
+       `selection-coding-system'.
+
+       * w32select.c (syms_of_w32select): Likewise.
+
+2002-10-14  Stefan Monnier  <monnier@cs.yale.edu>
+
+       * syntax.c (scan_lists): Don't get fooled by a symbol ending with
+       a backslash-quoted char.
+       (scan_lists, scan_sexps_forward): Pacify the compiler.
+
+2002-10-13  Richard M. Stallman  <rms@gnu.org>
+
+       * window.c (window_scroll): Set immediate_quit.
+
+       * print.c (print): When backquote form is the car of a list,
+       output in old style.  Use old_backquote_output to output all
+       comma forms inside it in old style too.
+
+       * buffer.h (struct buffer): Move `undo_list' down below `name'.
+
+2002-10-11  Markus Rost  <rost@math.ohio-state.edu>
+
+       * emacs.c (syms_of_emacs) <kill-emacs-hook>: Doc fix (not run in
+       batch mode).
+
+       * lread.c (Fload): Doc fix (load-suffixes).
+
+2002-10-10  Steven Tamm  <steventamm@mac.com>
+
+       * macterm.c (syms_of_macterm, mac_get_mouse_btn):
+       Reverse functionality of mac-wheel-button-is-mouse-2 to be correct.
+       Also switch the default to Qnil from Qt.
+
+2002-10-08  Kenichi Handa  <handa@m17n.org>
+
+       * coding.c (code_convert_region): When we need more GAP for
+       conversion, pay attention to the case that coding->produced is not
+       greater than coding->consumed.
+
+2002-10-07  Richard M. Stallman  <rms@gnu.org>
+
+       * unexelf.c (unexec): Redo 9/16 change, but only if IRIX6_5.
+
+2002-10-06  Andrew Choi  <akochoi@shaw.ca>
+
+       * macmenu.c (mac_menu_show): Add j to count menu items; match
+       menu_item_selection to it to find selected item.
+
+2002-10-06  Jan D.  <jan.h.d@swipnet.se>
+
+       * xterm.c (XTread_socket): Fix from 2002-10-03 didn't cover all
+       cases.  The correct fix is to pass ReparentNotify to Xt.
+       The shell widget interprets ConfigureNotify differently depending
+       on if it has been reparented or not.
+
+2002-10-05  Markus Rost  <rost@math.ohio-state.edu>
+
+       * editfns.c (Fformat_time_string): Doc fix.
+
+2002-10-05  John Paul Wallington  <jpw@shootybangbang.com>
+
+       * fns.c (Flength): Doc fix.
+
+2002-10-04  Stefan Monnier  <monnier@cs.yale.edu>
+
+       * keyboard.c (keyremap): New struct.
+       (read_key_sequence): Use it: globally replace keytran_foo with
+       keytran.foo and fkey_foo with fkey.foo.  Rename temp vars
+       keytran_next and fkey_next to just `next'.
+
+2002-10-04  Steven Tamm  <steventamm@mac.com>
+
+       * macterm.c (keycode_to_xkeysym_table): Change return to be
+       treated like an X keysym.
+
+2002-10-03  Jan D.  <jan.h.d@swipnet.se>
+
+       * xterm.c (XTread_socket): For ConfigureNotify, with x and y == 0,
+       and USE_MOTIF, call XTranslateCoordinates to get the real x and y.
+       This is to also handle x/y changes that occur because of a resize.
+
+2002-10-02  John Paul Wallington  <jpw@shootybangbang.com>
+
+       * frame.c (Vdelete_frame_functions): New variable.
+       (syms_of_frame): Initialize and defvar it.
+       (Fdelete_frame): Use it instead of delete-frame-hook.  Don't run
+       it when frame's `tooltip' parameter is non-nil.
+
+       * xfns.c (x_create_tip_frame): Set `tooltip' frame parameter to t.
+
+       * w32fns.c (x_create_tip_frame): Likewise.
+
+       * macfns.c (x_create_tip_frame): Likewise.
+
+2002-09-30  Kenichi Handa  <handa@m17n.org>
+
+       * xterm.c (x_encode_char): For DIM=1 charset, set ccl->reg[2] to
+       -1 before calling ccl_driver.
+
+       * coding.c (decode_coding_emacs_mule): Check coding->cmp_data.
+       Only when it is non-nil, handle composition sequence.
+       (setup_coding_system) <0>: Don't force composition handling.
+
+       * Makefile.in (lisp, shortlisp): Add utf-16.elc
+
+2002-09-29  Richard M. Stallman  <rms@gnu.org>
+
+       * search.c (Freplace_match): Adjust match data for the substitution
+       just made in the buffer.
+
+       * xdisp.c (STOP_POLLING, RESUME_POLLING): New macros.
+       (redisplay_internal): Use them.  Do RESUME_POLLING at end of function.
+
+2002-09-27  Richard M. Stallman  <rms@gnu.org>
+
+       * keyboard.c (STOP_POLLING, RESUME_POLLING): New macros.
+       (read_char): Use them.  Do all exits thru the end of the function.
+
+2002-09-27  Kenichi Handa  <handa@etl.go.jp>
+
+       * xfaces.c (try_font_list): Pay attention to the case that FAMILY
+       is nil.
+
+2002-09-26  Richard M. Stallman  <rms@gnu.org>
+
+       * regex.h (__restrict_arr): Don't define if already defined.
+
+       * coding.c (run_pre_post_conversion_on_str):
+       Save and restore Vdeactivate_mark.
+
+2002-09-26  John Paul Wallington  <jpw@shootybangbang.com>
+
+       * minibuf.c (Fminibufferp): Add an optional `buffer' argument.
+
+2002-09-26  Kenichi Handa  <handa@etl.go.jp>
+
+       * xfaces.c (try_font_list): New arg PREFER_FACE_FAMILY.  If it is
+       nonzero, try face's family at first.  Otherwise try FAMILY at first.
+       (choose_face_font): If C is a single byte char or latin-1, call
+       try_font_list with PREFER_FACE_FAMILY 1.
+
+2002-09-21  Richard M. Stallman  <rms@gnu.org>
+
+       * window.c (select_window_1): Don't select frame.
+       Set frame's selected window only when frame itself is selected.
+       (Fselect_window): Doc fix.
+
+2002-09-18  Kim F. Storm  <storm@cua.dk>
+
+       * process.c (make-network-process): Doc fix (there is no
+       network-server-log-function hook).
+
+2002-09-18  Richard M. Stallman  <rms@gnu.org>
+
+       * print.c (print): Clear out the unused parts of Vprint_number_table.
+       (syms_of_print): Doc fix for `print-number-table'.
+
+       * unexelf.c (unexec): Undo previous change.
+
+2002-09-17  Andreas Schwab  <schwab@suse.de>
+
+       * m/alpha.h [LINUX]: Don't define DATA_START.
+
+2002-09-16  Dave Love  <fx@gnu.org>
+
+       * unexelf.c (unexec): Deal with .got, reinstating change from
+       25-08-1999.
+
+2002-09-13  Richard M. Stallman  <rms@gnu.org>
+
+       * s/sol2-6.h (UNEXEC): Comment out definition.
+
+       * unexsol.c (unexec): Don't downcase first letter of error msg.
+
+       * xfaces.c (Fcolor_supported_p): Just one arg is required.
+
+2002-09-12  Markus Rost  <rost@math.ohio-state.edu>
+
+       * unexsol.c: Include buffer.h, charset.h, coding.h.
+
+2002-09-11  Richard M. Stallman  <rms@gnu.org>
+
+       * unexsol.c: Don't use report_file_error; do it by hand
+       using dlerror.
+
+       * process.c (wait_reading_process_input, both versions):
+       Before calling turn_on_atimers, call stop_polling.
+
+       * emacs.c (syms_of_emacs) <command-line-args>: Doc fix.
+
+       * xdisp.c (try_scrolling): If after make_cursor_line_fully_visible
+       we go to too_near_end, call clear_glyph_matrix.
+       (redisplay_window): After make_cursor_line_fully_visible,
+       call clear_glyph_matrix and bypass `goto done'.
+
+       * xfns.c (x_report_frame_params): If FRAME_SCROLL_BAR_PIXEL_WIDTH is 0
+       and we have non-toolkit scroll bars, return nil for scroll-bar-width.
+
+2002-09-10  Richard M. Stallman  <rms@gnu.org>
+
+       * fileio.c (Fdo_auto_save): Catch error making directory.
+       Only call push_message if we need to.
+       At the same time, make an unwind-protect to pop it.
+       Rename local message_p to old_message_p.
+       (do_auto_save_make_dir, do_auto_save_eh): New functions.
+       (do_auto_save_unwind): Don't call pop_message.
+
+       * lisp.h (pop_message_unwind): Renamed from push_message_unwind.
+
+       * keyboard.c (Fexecute_extended_command): Use pop_message_unwind.
+
+       * alloc.c (Fgarbage_collect): Use pop_message_unwind.
+
+       * xdisp.c (pop_message_unwind): Renamed from push_message_unwind.
+
+2002-09-10  Stefan Monnier  <monnier@cs.yale.edu>
+
+       * regex.c (DISCARD_FAILURE_REG_OR_COUNT): Delete.
+       (CHECK_INFINITE_LOOP): Don't pop anything: just set `cycle' to 1.
+       (re_match_2_internal): Be more careful with infinite loops.
+
+2002-09-10  Kim F. Storm  <storm@cua.dk>
+
+       * macros.c (end_kbd_macro): New function.
+       (Fend_kbd_macro): Use it.
+
+       * macros.h (end_kbd_macro): Declare extern.
+
+       * keyboard.c (Fdiscard_input): If defining keyboard macro,
+       end and save it instead of discarding it.
+
+2002-09-09  Markus Rost  <rost@math.ohio-state.edu>
+
+       * s/sol2-6.h: Fix typo.  Add comment.
+
+2002-09-09  Richard M. Stallman  <rms@gnu.org>
+
+       * regex.c (regnum_t): Use signed int, not unsigned int.
+
+       * s/sol2-6.h: New file.
+
+       * s/sol2-5.h (UNEXEC): Definition deleted.
+
+2002-09-08  Kim F. Storm  <storm@cua.dk>
+
+       * macros.c (executing_macro_index): Change type to EMACS_INT.
+       (syms_of_macros): DEFVAR_INT it  (needed by kmacro).
+
+       * macros.h (executing_macro_index): Change type to EMACS_INT.
+
+2002-09-06  Richard M. Stallman  <rms@gnu.org>
+
+       * casetab.c (set_case_table): Make canon table point to eqv table.
+
+2002-09-06  Juanma Barranquero  <lektu@terra.es>
+
+       * coding.c (syms_of_coding): Fix spacing.
+
+       * composite.c (Fcompose_region_internal)
+       (Fcompose_string_internal): Likewise.
+
+       * data.c (Flsh): Likewise.
+
+       * fontset.c (Fset_fontset_font): Likewise.
+
+       * macfns.c (Fx_server_max_request_size): Likewise.
+
+       * w16select.c (syms_of_win16select): Likewise.
+
+       * w32select.c (syms_of_w32select): Likewise.
+
+       * xselect.c (syms_of_xselect): Likewise.
+
+2002-09-05  Richard M. Stallman  <rms@gnu.org>
+
+       * regex.c (set_image_of_range_1): In no-TRANSLATE case,
+       call EXTEND_RANGE_TABLE and return a proper value.
+       (set_image_of_range): Don't call set_image_of_range_1
+       if no TRANSLATE or if range includes all of Latin-1.
+       Only call it for the Latin-1 part of the range.
+       For other cases, make two separate ranges,
+       one for the original specified characters and one for
+       their case-conversions.
+
+2002-09-04  Richard M. Stallman  <rms@gnu.org>
+
+       * s/sol2-5.h (UNEXEC): Use unexsol.o.
+
+       * window.c (displayed_window_lines): Correct for one-off bug
+       in HEIGHT on non-window displays.
+
+       * regex.c (set_image_of_range_1): New function.
+       (set_image_of_range): Use set_image_of_range_1 for Latin-1.
+       Return a value to indicate running out of memory.
+       (SET_RANGE_TABLE_WORK_AREA): Check value from set_image_of_range.
+       (extend_range_table_work_area): New subroutine.
+       (EXTEND_RANGE_TABLE): Replaces EXTEND_RANGE_TABLE_WORK_AREA.
+       Different calling conventions, and used from set_image_of_range{,_1}.
+       (IMMEDIATE_QUIT_CHECK): Definitions moved.
+
+2002-09-04  Juanma Barranquero  <lektu@terra.es>
+
+       * makefile.w32-in: All dependencies updated.
+
+2002-09-01  Richard M. Stallman  <rms@gnu.org>
+
+       * unexsol.c: New file.
+
+       * xfns.c (Qbox): Declare external, don't define.
+
+       * xdisp.c (redisplay_window) <force-start case>:
+       If point is on semi-visible last line, reposition
+       it at previous line.
+
+       * alloc.c (display_malloc_warning): Use display-warning.
+       (malloc_warning_1): Function deleted.
+
+       * alloc.c [ALLOC_DEBUG]: #undef INLINE.
+
+       * lread.c (read1): Handle #! by skipping the line.
+
+2002-08-31  Richard M. Stallman  <rms@gnu.org>
+
+       * Makefile.in (TEMACS_LDFLAGS): Renamed from ALL_LDFLAGS.
+       Don't include LDFLAGS.
+       (temacs): Pass LDFLAGS separately, and not via YMF_PASS_LDFLAGS.
+
+2002-08-31  Eli Zaretskii  <eliz@is.elta.co.il>
+
+       * xdisp.c (get_window_cursor_type): Don't use x_highlight_frame
+       member of x_display_info unless we compile for some window system.
+
 2002-08-31  Kim F. Storm  <storm@cua.dk>
 
        * xdisp.c (Valternate_cursor_type, Qalternate_cursor_type): Removed.
        (get_window_cursor_type): Don't use them.
        (syms_of_xdisp): Remove intern, staticpro, and defvar for them.
 
+2002-08-30  Kenichi Handa  <handa@etl.go.jp>
+
+       * xdisp.c (get_next_display_element): Fix previous change.
+
 2002-08-30  Andrew Choi  <akochoi@shaw.ca>
 
+       * macterm.c (expose_overlaps): New function (merge code from
+       xterm.c).
+       (expose_window): Use it to fix the display of overlapping
+       rows (merge code from xterm.c).
+
        * macfns.c (Qbox): Add extern declaration.
 
 2002-08-30  Juanma Barranquero  <lektu@terra.es>
        * w32fns.c (Qbox): Make extern.
        (syms_of_w32fns): Remove initialization of Qbox.
 
-       * xfns.c (Fx_open_connection): Fix error message. Patch from Rune
-       Kleveland <runekl@viewpoint.no>.
+2002-08-30  Rune Kleveland  <runekl@viewpoint.no>  (tiny change)
+
+       * xfns.c (Fx_open_connection): Fix error message.
 
 2002-08-30  Kim F. Storm  <storm@cua.dk>
 
 
        * msdos.c (croak): Add `void' to definition.
 
-       * sysdep.c [MSDOS]: Don't define request_sigio and
-       unrequest_sigio, they are defined on msdos.c.
+       * sysdep.c [MSDOS] (request_sigio, unrequest_sigio):
+       Don't define them, they are defined in msdos.c.
 
        * mem-limits.h [MSDOS]: Declare etext.
 
        (IT_set_cursor_type, IT_set_frame_parameters): Handle the `hbar'
        cursor type.
 
-2002-04-19  Dave Lambert <dlambert@acm.org>
+2002-04-19  Dave Lambert  <dlambert@acm.org>
 
        Theses change implement an underscore-like (`hbar') cursor.
 
        * keyboard.c (echo-area-clear-hook): Undo Oct 29 change.
 
        * indent.c (current_column_1, Fmove_to_column): Separate the code
-       for display-table glyphs from the code buffer text, to fix
+       for display-table glyphs from the code for buffer text, to fix
        bugs in the former.
 
 2001-11-04  Michael Welsh Duggan  <md5i@cs.cmu.edu>