]> code.delx.au - gnu-emacs/blobdiff - src/ChangeLog
(vertical-centering-font-regexp): New
[gnu-emacs] / src / ChangeLog
index 6c1fe1bcdbb0a46c2387452025a16e66e98f458f..8f9b92710eabbe583a6eb5f41d818b42f2bad046 100644 (file)
@@ -1,5 +1,295 @@
+1999-12-14  Gerd Moellmann  <gerd@gnu.org>
+
+       * xterm.c (show_mouse_face): Don't use updated_area, use
+       TEXT_AREA.
+
+1999-12-12  Richard M. Stallman  <rms@caffeine.ai.mit.edu>
+
+       * minibuf.c (Fall_completions): Doc fix.
+
+1999-12-12  Richard M. Stallman  <rms@caffeine.ai.mit.edu>
+
+       * macros.c (Fstart_kbd_macro): Handle case where last-kbd-macro
+       has been changed by the Lisp code.
+
+1999-12-12  Gerd Moellmann  <gerd@gnu.org>
+
+       * xfns.c: Indentation fixes.
+
+1999-12-10  Stefan Monnier  <monnier@cs.yale.edu>
+
+       * xterm.c (x_initialize): Only setup xaw3d_* if they've been declared.
+
+1999-12-10  Gerd Moellmann  <gerd@gnu.org>
+
+       * frame.h (FRAME_FOREGROUND_PIXEL, FRAME_BACKGROUND_PIXEL)
+       [!MSDOS && !WINDOWSNT && !macintosh]: Moved here from xterm.h.
+
+       * xterm.h (FRAME_FOREGROUND_PIXEL, FRAME_BACKGROUND_PIXEL): Moved
+       to frame.h.
+
+1999-12-09  Stefan Monnier  <monnier@cs.yale.edu>
+
+       * keyboard.c (Qratio): New symbol.
+       (scroll_bar_parts): Add `Qratio' to it.
+       (syms_of_keyboard): Init `Qratio'.
+       * termhooks.h (scroll_bar_part): Add `scroll_bar_move_ratio'.
+       * xterm.c (#includes): Allow compilation with only Xaw.
+       (xaw3d_arrow_scroll, xaw3d_pick_top): New variables.
+       (xt_action_hook): Replace XAW3D by XAW.
+       (xaw3d_jump_callback): Renamed to xaw_jump_callback.
+       (xaw_jump_callback): Renamed from xaw3d_jump_callback.
+       Determine epsilon dynamically and don't try to be too clever.
+       (xaw3d_scroll_callback): Renamed to xaw_scroll_callback.
+       (xaw_scroll_callback): Renamed from xaw3d_scroll_callback.
+       Handle both Xaw3d with arrow-scrollbars and with Xaw-style
+       scrollbar (using `ratio').
+       (x_create_toolkit_scroll_bar): Try to detect which style of Xaw3d
+       scrollbar we have so as to set it up more optimally and to fix
+       xaw3d_arrow_scroll and xaw3d_pick_top.
+       (x_set_toolkit_scroll_bar_thumb): Try to maintain 2 spare pixels at the
+       bottom of the Xaw3d scrollbar, to work around its tendency to refuse
+       shrinking the thumb.  Also make sure that `XawScrollbarSetThumb'
+       is not ignored, using a major gross hack.
+       (x_initialize): Init default values for xaw3d_arrow_scroll and
+       xaw3d_pick_top.
+
+1999-12-09  Dave Love  <fx@gnu.org>
+
+       * frame.h: (PIX_TYPE) [! HAVE_X_WINDOWS]: Define PIX_TYPE.
+
+1999-12-08  Gerd Moellmann  <gerd@gnu.org>
+
+       * eval.c: Remove conditional compilation on `standalone'.
+       (call_debugger): When entering the debugger while redisplaying,
+       reset redisplaying_p, and go back to the top-level if the debugger
+       returns.
+
+1999-12-07  Gerd Moellmann  <gerd@gnu.org>
+
+       * xfaces.c (x_set_menu_resources_from_menu_face): Make sure
+       basic faces are realized before trying to use face `menu'.
+
+       * window.c (delete_window): Block input for the time window
+       matrices are being changed.
+
+1999-12-07  Dave Love  <fx@gnu.org>
+
+       * lread.c (Fintern_soft): Fix newlines in doc string.
+
+1999-12-07  Alexandre Oliva  <oliva@dcc.unicamp.br>
+
+       * unexelf.c: Include <syms.h>, not <sym.h> on IRIX.  Removed
+       duplicate definition of ElfW.
+       (find_section): Copied from unexsgi.c.
+       (unexec): Use find_section.  Adjust whitespace.  Initialize
+       new_data2_offset based on old_data, not sbss (this fixes a bug on
+       IRIX6).  Change #ifdef __mips to __sgi, since it's IRIX-specific.
+       Adjust test for presence of .mdebug section to the new return
+       value of find_section.
+       
+1999-12-07  Gerd Moellmann  <gerd@gnu.org>
+
+       * unexelf.c: Merge changes from 20.5.
+       (unexec): Handle .lit4 and .lit8 unconditionally.
+
+       * m/iris4d.h (UNEXEC) [USG5_4]: Use unexelf.o instead of
+       unexsgi.o again.
+       
+       * m/iris5d.h (UNEXEC): Likewise.
+
+1999-12-06  Stefan Monnier  <monnier@cs.yale.edu>
+
+       * editfns.c (Fdelete_and_extract_region): New function.
+       (syms_of_editfns): Register it.
+       * insdel.c (del_range): Update del_range_1 call.
+       (del_range_1, del_range_2): Add a ret_string argument to
+       request that the deleted text be returned.
+       (del_range_byte, del_range_both): Update del_range_2 call.
+       * lisp.h (del_range_1, del_range_2): Change prototype
+       * casefiddle.c (casify_region): Update del_range_1 call.
+       * coding.c (code_convert_region): Update del_range_2 call.
+       * fileio.c (Finsert_file_contents): Update del_range_2 call.
+
+1999-12-06  Gerd Moellmann  <gerd@gnu.org>
+
+       * xfaces.c (set_lface_from_font_name): Fix incomplete merge.
+
+1999-12-04  Hrvoje Niksic  <hniksic@iskon.hr>
+
+       * lread.c (Fintern_soft): Accept a symbol argument.
+       
+1999-12-06  Eli Zaretskii  <eliz@is.elta.co.il>
+
+       * s/msdos.h (SYSTEM_PURESIZE_EXTRA): Reduce to 40000.
+
+       * insdel.c (adjust_markers_for_delete): Fix last change.
+
+1999-12-06  Eli Zaretskii  <eliz@is.elta.co.il>
+
+       Changes for automatic remapping of X colors on terminal frames:
+
+       * xfaces.c (XColor) [!HAVE_X_WINDOWS]: Provide a typedef for non-X
+       frames.
+       (Vface_tty_color_alist): Remove.
+       (tty_defined_color): New function.
+       (defined_color): Rewrite to support any type of frame.
+       (tty_color_name): New function.
+       (face_color_supported_p, Fface_color_gray_p,
+       Fface_color_supported_p): Support non-X frames.
+       (load_color): Enclose the color name in quotes, in the log
+       messages.  Remove DOS-specific version of load_color.
+       (realize_tty_face): Take the supported colors from
+       tty-color-alist.  Support translation of X colors to the closest
+       tty color, for both MSDOS and tty frames.
+       [MSDOS]: Don't invert face colors if they were taken from the
+       frame colors.
+       (Fface_register_tty_color, Fface_clear_tty_colors): Remove.
+
+       * frame.h (struct x_output) [!MSDOS, !WINDOWSNT, !HAVE_X_WINDOWS]:
+       Define a mostly empty surrogate.
+       (tty_display): Declare.
+
+       * frame.c (make_terminal_frame) [!macintosh]: Don't use
+       tty_display.
+       (Fframe_parameters): Don't invert colors of non-FRAME_WINDOW_P
+       frames when the frame's param_alist includes 'reverse.
+       (tty_display): Define.
+       (make_terminal_frame) [!MSDOS]: Assign &tty_display to the
+       output_data.x member.
+       (Fframe_parameters): Return foreground and background color names
+       on tty frames as well, in addition to MSDOS frames.
+
+       * msdos.h (DisplayWidth, DisplayHeight): Changes for Lisp_Object
+       selected_frame.
+       (struct x_output): Remove unused members; document who uses each
+       member.
+       (FRAME_PARAM_FACES, FRAME_N_PARAM_FACES, FRAME_DEFAULT_PARAM_FACE,
+       FRAME_MODE_LINE_PARAM_FACE, FRAME_COMPUTED_FACES,
+       FRAME_N_COMPUTED_FACES, FRAME_SIZE_COMPUTED_FACES,
+       FRAME_DEFAULT_FACE, FRAME_MODE_LINE_FACE, unload_color): Remove
+       unused macro definintions.
+
+       * msdos.c (IT_set_frame_parameters): Don't call
+       recompute_basic_faces, the next redisplay will, anyway.
+       (x_current_display): Remove unused variable.
+       Many functions: changes for Lisp_object selected_frame.
+       (IT_set_face): If the tty_reverse_p flag is set for the face,
+       reverse the foreground and background colors.
+       (Fmsdos_remember_default_colors): New function.
+       (syms_of_msdos): Defsubr it.
+       (IT_set_frame_parameters): Use initial_screen_colors[] when
+       creating a new frame.  If the frame parameters include 'reverse,
+       swap the foreground and background colors.
+       (internal_terminal_init): Initialize initial_screen_colors to -1.
+       (syms_of_msdos): Add DEFVAR_BOOL for x-stretch-cursor, to shut up
+       cus-start.el.
+
+       * Makefile.in (lisp, shortlisp): Add lisp/term/tty-colors.elc.
+
+       * xfns.c (x_defined_color): Rename from defined_color.  All
+       callers changed.
+       (Fxw_color_defined_p): Renamed from Fx_color_defined_p;
+       all callers changed.
+       (Fxw_color_values): Renamed from Fx_color_values; all callers
+       changed.
+       (Fxw_display_color_p): Renamed from Fx_display_color_p; all
+       callers changed.
+       (x_window_to_frame, x_any_window_to_frame,
+       x_non_menubar_window_to_frame, x_menubar_window_to_frame,
+       x_top_window_to_frame): Use !FRAME_X_P instead of
+       f->output_data.nothing.
+       * xterm.h (x_defined_color): Rename from defined_color.
+
+       * w32fns.c (x_window_to_frame): Use FRAME_W32_P instead of
+       f->output_data.nothing.
+       (Fxw_color_defined_p): Renamed from Fx_color_defined_p;
+       all callers changed.
+       (Fxw_color_values): Renamed from Fx_color_values; all callers
+       changed.
+       (Fxw_display_color_p): Renamed from Fx_display_color_p; all
+       callers changed.
+
+       * dispextern.h (tty_color_name): Add prototype.
+
+       * xmenu.c (menubar_id_to_frame): Use FRAME_WINDOW_P instead of
+       f->output_data.nothing.
+       * w32menu.c (menubar_id_to_frame): Likewise.
+       * w32term.h (w32_output): Declare.
+
+       * dosfns.c (Qmsdos_color_translate): Remove.
+       (msdos_stdcolor_name): Now returns a Lisp_Object.
+       * dosfns.h (Qmsdos_color_translate): Remove.
+
+       * s/msdos.h (INTERNAL_TERMINAL): Add entries for color support.
+
+1999-12-06  Kenichi Handa  <handa@etl.go.jp>
+
+       * fileio.c (decide_coding_unwind): Renamed from
+       set_auto_coding_unwind.
+       (Finsert_file_contents): Make single unwind protect to call both
+       Vset_auto_coding_function and Ffind_operation_coding_system.
+
+       * insdel.c (adjust_markers_for_delete): Make it non-static.
+
+1999-12-04  Stefan Monnier  <monnier@cs.yale.edu>
+
+       * regex.c (regex_compile): Recognize *?, +? and ?? as non-greedy
+       operators and handle them properly.
+       * regex.h (RE_ALL_GREEDY): New option.
+       (RE_UNMATCHED_RIGHT_PAREN_ORD): Moved to the end where alphabetic
+       sorting would put it.
+       (RE_SYNTAX_AWK, RE_SYNTAX_GREP, RE_SYNTAX_EGREP)
+       (_RE_SYNTAX_POSIX_COMMON): Use the new option to keep old behavior.
+
+1999-12-04  Dave Love  <d.love@dl.ac.uk>
+
+       * m/arm.h: New file.
+
+1999-12-03  Dave Love  <fx@gnu.org>
+
+       * editfns.c (Fmessage_or_box): Use use_dialog_box.
+
+1999-12-02  Gerd Moellmann  <gerd@gnu.org>
+
+       * s/usg5-4.h (LIBS_SYSTEM): Add -lgen because that's needed
+       for building with Motif.
+
+       * m/iris4d.h (UNEXEC) [USG5_4]: Use unexsgi.o instead of
+       unexelf.o.
+       
+       * m/iris5d.h (UNEXEC): Use unexsgi.o instead of unexelf.o.
+
+1999-12-01  Dave Love  <fx@gnu.org>
+
+       * emacs.c (main): Set LANG=C iff AX3_2 defined.
+
+1999-11-28  Gerd Moellmann  <gerd@gnu.org>
+
+       * systime.h (EMACS_TIME_CMP, EMACS_TIME_EQ, EMACS_TIME_NE)
+       (EMACS_TIME_GT, EMACS_TIME_GE, EMACS_TIME_LT,EMACS_TIME_LE): New
+       macros.
+
+       * config.in (HAVE_SETITIMER, HAVE_UALARM): New.
+
+1999-11-28  eliz  <eliz@dlpx1>
+
+       * emacs.c (synchronize_locale): Avoid compiler warnings about
+       pointer type mismatch.
+
+1999-11-28  Gerd Moellmann  <gerd@gnu.org>
+
+       * window.c (Fwindow_end): Don't call temp_set_pt_both with
+       out of range position.
+
+       * xterm.c (XTread_socket) <ClientMessage, Xatom_Scrollbar>: 
+       Switch off busy-cursor by setting inhibit_busy_cursor to 2.
+
 1999-11-28  Eli Zaretskii  <eliz@is.elta.co.il>
 
+       * charset.c (Fmake_char_internal): Print the charset ID when
+       signalling an error.
+
        * emacs.c (synchronize_locale): Avoid compiler warnings about
        pointer type mismatch.
 
 
        * coding.c (code_convert_region): Update `dst' correctly.
 
-1999-10-28  Richard M. Stallman  <rms@caffeine.ai.mit.edu>
-
-       * regex.c (POP_FAILURE_POINT): Use failure_id.integer
-       as arg to DEBUG_POP and DEBUG_PRINT.
-
 1999-10-28  Gerd Moellmann  <gerd@gnu.org>
 
        * fns.c (Fmemq, Fassq, Frassq, assq_no_quit, Fassoc)
 
 1999-10-08  Stefan Monnier  <monnier@cs.yale.edu>
 
-       * fileio.c (Fmake_temp_name): add a reference to `make-temp-file'
+       * fileio.c (Fmake_temp_name): Add a reference to `make-temp-file'
        in the docstring.
 
 1999-10-08  Gerd Moellmann  <gerd@gnu.org>
@@ -8789,7 +9074,7 @@ Sun Jan  3 08:41:10 1999  Masatake Yamato  <masata-y@is.aist-nara.ac.jp>
 
        * xterm.c (XTclear_end_of_line): Respect right_to_left_p.
 
-       * xdisp.c (try_window_id): clear desired matrix if not successul.
+       * xdisp.c (try_window_id): Clear desired matrix if not successul.
 
        * xdisp.c (try_window_id): Call update_window_begin_hook/end_hook.
 
@@ -8883,7 +9168,7 @@ Sun Jan  3 08:41:10 1999  Masatake Yamato  <masata-y@is.aist-nara.ac.jp>
 
        * window.h: Comments for window_end_pos/vpos.
 
-       * xdisp.c (skip_to): assert current_buffer is the buffer
+       * xdisp.c (skip_to): Assert current_buffer is the buffer
        of the window in which we are skipping.
 
        * dispnew.c (update_window_line): Optimized clear_end_of_line.
@@ -8959,7 +9244,7 @@ Sun Jan  3 08:41:10 1999  Masatake Yamato  <masata-y@is.aist-nara.ac.jp>
        * xterm.c (XTmouse_position): Calculate LAST_MOUSE_GLYPH 
        rectangle based on minimum character bounds.
 
-       * keyboard.c (make_lispy_event): mouse clicks; don't do frame
+       * keyboard.c (make_lispy_event): Mouse clicks; don't do frame
        glyph position calculations.
        (make_lispy_movement): Use buffer_posn_from_coords and window
        relative coordinates.
@@ -8988,7 +9273,7 @@ Sun Jan  3 08:41:10 1999  Masatake Yamato  <masata-y@is.aist-nara.ac.jp>
        cursor positioning on partially visible lines.
        (set_window_cursor_after_update): Ditto.
 
-       * dispextern.h (MATRIX_ROW_PARTIALLY_VISIBLE_P): bug fix.
+       * dispextern.h (MATRIX_ROW_PARTIALLY_VISIBLE_P): Bug fix.
 
        * window.h (struct window): start_y removed.
 
@@ -9112,7 +9397,7 @@ Fri Aug 22 18:46:43 1997  Gerd Moellmann  <gerd@acm.org>
 
        * xterm.c (do_line_dance): Only one parameter.
 
-       * xdisp.c (display_line): set continued_p.
+       * xdisp.c (display_line): Set continued_p.
 
        * dispextern.h (struct glyph_row): New flag continued_p.
        Fix truncated_on_left_p and truncated_on_right_p to be bits.
@@ -9155,7 +9440,7 @@ Wed Aug 20 11:23:28 1997  Gerd Moellmann  <gerd@acm.org>
        * dispnew.c (update_window_line): If rows have different height
        or y, write entire line.
 
-       * xdisp.c (compute_line_metrics): reset max_ascent and max_descent
+       * xdisp.c (compute_line_metrics): Reset max_ascent and max_descent
        of info struct.
 
        * xfaces.c (Fset_face_attribute_internal): Don't call 
@@ -9248,7 +9533,7 @@ Sat Aug 16 13:13:32 1997  Gerd Moellmann  <gerd@acm.org>
        (get_leaf_windows): Build vector of leaf windows.
        Corrupted archive restored from v77.
 
-       * xdisp.c (display_string): stop at >= last_visible_x if truncating
+       * xdisp.c (display_string): Stop at >= last_visible_x if truncating
        like display_line does.
 
        * xdisp.c (display_mode_line): Don't hscroll mode line.
@@ -9263,7 +9548,7 @@ Sat Aug 16 13:13:32 1997  Gerd Moellmann  <gerd@acm.org>
        * dispextern.h (struct display_cursor): New member string_length.
 
        * xdisp.c (next_display_element): Return padding spaces.
-       (init_string_cursor): take precision and field_width
+       (init_string_cursor): Take precision and field_width
        (display_string): Use string cursor, skip over invisible text.
 
 Thu Aug 14 10:41:41 1997  Gerd Moellmann  <gerd@acm.org>
@@ -9286,13 +9571,13 @@ Thu Aug 14 10:41:41 1997  Gerd Moellmann  <gerd@acm.org>
        * dispnew.c (direct_output_for_insert): Give up for hscrolled 
        mini window.
 
-       * xdisp.c (display_line): don't scroll mini prompt.
+       * xdisp.c (display_line): Don't scroll mini prompt.
 
        * xdisp.c (echo_area_display): Call update_single_window if 
        possible. 
 
        * dispnew.c (update_window_line):  Call scrolling_window.
-       (scrolling_window): work on enabled desired lines only.
+       (scrolling_window): Work on enabled desired lines only.
        (update_single_window): Update a single window like update_frame
        does for all windows.
        (update_window, update_window_tree): Additional argument 
@@ -9305,23 +9590,23 @@ Thu Aug 14 10:41:41 1997  Gerd Moellmann  <gerd@acm.org>
        (x_display_and_set_cursor): Do nothing if cursor glyph row 
        not enabled.  Draw bar cursor 1 pixel smaller.
 
-       * dispnew.c (adjust_frame_glyphs): don't set frame garbaged
+       * dispnew.c (adjust_frame_glyphs): Don't set frame garbaged
        since update will follow soon.
 
        * xdisp.c (echo_area_display): Unitialized variable.
 
-       * xterm.c (draw_bitmap): previously draw_truncation; draw
+       * xterm.c (draw_bitmap): Previously draw_truncation; draw
        overlay arrow bitmap.
 
-       * xdisp.c (display_line): for truncated lines, consider everything
+       * xdisp.c (display_line): For truncated lines, consider everything
        up to the final \n as part of the line for cursor positioning. 
 
-       * xterm.c (draw_truncation): take FRAME_X_TRUNC_WIDTH into account.
-       (x_after_update_window_line): clear trunc marks.
+       * xterm.c (draw_truncation): Take FRAME_X_TRUNC_WIDTH into account.
+       (x_after_update_window_line): Clear trunc marks.
 
        * xterm.h (FRAME_X_TRUNC_WIDTH).
 
-       * frame.h (FRAME_TRUNC_WIDTH):  width of area at the left margin
+       * frame.h (FRAME_TRUNC_WIDTH):  Width of area at the left margin
        of a window reserved for truncation mark.
 
        * dispextern.h: Take FRAME_TRUNC_WIDTH into account. 
@@ -9343,7 +9628,7 @@ Thu Aug 14 10:41:41 1997  Gerd Moellmann  <gerd@acm.org>
        (x_display_cursor): Use default font width if width not
        known. 
 
-       * xdisp.c (echo_area_display): set row->y.
+       * xdisp.c (echo_area_display): Set row->y.
 
        * dispnew.c (set_window_cursor_after_update): Don't assume
        all rows are enabled.
@@ -10242,7 +10527,7 @@ Wed Jun 25 15:22:58 1997  Gerd Moellmann  <gerd@acm.org>
        * alloc.c: Include dispextern.h
        (mark_object): Mark objects referenced from glyphs.
 
-       * frame.c (make_frame): initialize DECODE_MODE_SPEC_BUFFER.
+       * frame.c (make_frame): Initialize DECODE_MODE_SPEC_BUFFER.
 
        * scroll.c (do_direct_scrolling): Remove TEMP_MATRIX.
        (do_scrolling): Ditto.
@@ -10270,9 +10555,9 @@ Wed Jun 25 15:22:58 1997  Gerd Moellmann  <gerd@acm.org>
        (Fdelete_frame): Free glyphs.
        (make_frame): Initialize matrix fields in frame.
 
-       * config.in (PROTO): added.
+       * config.in (PROTO): Added.
 
-       * emacs.c (shut_down_emacs): check glyph memory.
+       * emacs.c (shut_down_emacs): Check glyph memory.
 
        * window.c (Fdelete_window): Free window matrices.
        (Fset_window_configuration): Ditto.