diff options
| author | Miles Bader | 2005-08-26 09:51:52 +0000 |
|---|---|---|
| committer | Miles Bader | 2005-08-26 09:51:52 +0000 |
| commit | d4cccb140682cfa548a8658f905764ceb4a38cb2 (patch) | |
| tree | 5230af18ee25b37efed50fa38cac1eefb47d03fc /src | |
| parent | 5e10f34207ff594cd6570928bc0292a7b53297b8 (diff) | |
| parent | f3f01d5df3156fb408b43da0c670796c37ed084f (diff) | |
| download | emacs-d4cccb140682cfa548a8658f905764ceb4a38cb2.tar.gz emacs-d4cccb140682cfa548a8658f905764ceb4a38cb2.zip | |
Revision: miles@gnu.org--gnu-2005/emacs--unicode--0--patch-78
Merge from emacs--cvs-trunk--0
Patches applied:
* emacs--cvs-trunk--0 (patch 514-518)
- Update from CVS
- Merge from gnus--rel--5.10
* gnus--rel--5.10 (patch 104-105)
- Update from CVS
Diffstat (limited to 'src')
287 files changed, 1096 insertions, 564 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index fb8664b9fb6..80117561faa 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,152 @@ | |||
| 1 | 2005-08-25 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> | ||
| 2 | |||
| 3 | * keyboard.c (kbd_buffer_get_event) [MAC_OS]: Make events for | ||
| 4 | ICONIFY/DEICONIFY_EVENT. | ||
| 5 | |||
| 6 | * macterm.c (mac_copy_area, mac_copy_area_with_mask): Restore | ||
| 7 | background color. | ||
| 8 | (mac_handle_visibility_change): New function. | ||
| 9 | (x_make_frame_invisible, x_iconify_frame) | ||
| 10 | (XTread_socket) [!USE_CARBON_EVENTS]: Use it. | ||
| 11 | [USE_CARBON_EVENTS] (mac_handle_window_event) | ||
| 12 | (install_window_handler): Handle visibilty change events. | ||
| 13 | (x_make_frame_visible): Don't reposition window if it is iconified | ||
| 14 | or asked for visible before. Select and uncollapse window when it | ||
| 15 | is made visible. | ||
| 16 | (x_make_frame_invisible): Don't reset x_highlight_frame. | ||
| 17 | (x_iconify_frame): Likewise. Make invisible frame visible before | ||
| 18 | it is iconified. | ||
| 19 | (read_socket_inev): Move variable outside #if USE_CARBON_EVENTS. | ||
| 20 | (do_window_update): Don't change visibility of invisible frame. | ||
| 21 | |||
| 22 | 2005-08-22 Juri Linkov <juri@jurta.org> | ||
| 23 | |||
| 24 | * term.c (turn_on_face): Check for TS_set_foreground and | ||
| 25 | TS_set_background depending on standout_mode. Simplify. | ||
| 26 | |||
| 27 | 2005-08-21 Kim F. Storm <storm@cua.dk> | ||
| 28 | |||
| 29 | * fringe.c (update_window_fringes): Only put TOP and BOTTOM | ||
| 30 | bitmaps on fully visible rows. | ||
| 31 | |||
| 32 | * fringe.c (update_window_fringes): Replace FORCE_P arg with | ||
| 33 | KEEP_CURRENT_P arg; if non-zero, don't update current row fringes, | ||
| 34 | and return 0. | ||
| 35 | |||
| 36 | * xdisp.c (redisplay_window): Call update_window_fringes with | ||
| 37 | KEEP_CURRENT_P non-0 if we are going to refresh fringes later. | ||
| 38 | |||
| 39 | 2005-08-20 Richard M. Stallman <rms@gnu.org> | ||
| 40 | |||
| 41 | * xdisp.c (display_echo_area_1): Get display start pos from w->start. | ||
| 42 | (resize_mini_window): Set w->start, and PT, so as to display the tail | ||
| 43 | end of the buffer, if it doesn't all fit. | ||
| 44 | |||
| 45 | 2005-08-18 Kim F. Storm <storm@cua.dk> | ||
| 46 | |||
| 47 | * xdisp.c (calc_pixel_width_or_height): Use actual display | ||
| 48 | resolution when available instead of Vdisplay_pixels_per_inch. | ||
| 49 | |||
| 50 | 2005-08-17 Kim F. Storm <storm@cua.dk> | ||
| 51 | |||
| 52 | * xdisp.c (pos_visible_p): Adjust X value if window is hscrolled. | ||
| 53 | |||
| 54 | * dispnew.c (buffer_posn_from_coords): Check that target row is | ||
| 55 | within matrix. | ||
| 56 | |||
| 57 | 2005-08-16 Jan Dj,Ad(Brv <jan.h.d@swipnet.se> | ||
| 58 | |||
| 59 | * xterm.c (x_wm_set_icon_pixmap): Move GTK specific code to | ||
| 60 | xg_set_frame_icon and call it. | ||
| 61 | |||
| 62 | * gtkutil.c (xg_set_frame_icon): New function. | ||
| 63 | |||
| 64 | * gtkutil.h (xg_set_frame_icon): Declare it. | ||
| 65 | |||
| 66 | 2005-08-16 Kim F. Storm <storm@cua.dk> | ||
| 67 | |||
| 68 | * dispnew.c (increment_row_positions): Skip non-enabled rows. | ||
| 69 | |||
| 70 | * window.c (SAVED_WINDOW_VECTOR_SIZE): Remove dangerous define. | ||
| 71 | (Fcurrent_window_configuration): Use VECSIZE macro instead. | ||
| 72 | |||
| 73 | 2005-08-15 Richard M. Stallman <rms@gnu.org> | ||
| 74 | |||
| 75 | * xdisp.c (message3_nolog): Clear echo_message_buffer. | ||
| 76 | |||
| 77 | 2005-08-15 Kim F. Storm <storm@cua.dk> | ||
| 78 | |||
| 79 | * lisp.h (QUIT) [!SYNC_INPUT]: Throw t to Vthrow_on_input. | ||
| 80 | |||
| 81 | * process.c (deactivate_process, status_notify, read_process_output) | ||
| 82 | (update_status, status_convert, decode_status, allocate_pty) | ||
| 83 | (make_process, remove_process, list_processes_1) | ||
| 84 | (create_process_1, unwind_request_sigio, read_process_output) | ||
| 85 | (send_process, keyboard_bit_set): Declare static. | ||
| 86 | (Fdelete_process): Simplify. Pass process to status_notify, so we | ||
| 87 | don't try to read output from it. | ||
| 88 | (status_notify): New arg deleting_process--don't try to read | ||
| 89 | output from that process. | ||
| 90 | |||
| 91 | * lisp.h (deactivate_process, status_notify, read_process_output): | ||
| 92 | Remove prototypes. | ||
| 93 | |||
| 94 | 2005-08-14 Richard M. Stallman <rms@gnu.org> | ||
| 95 | |||
| 96 | * image.c (syms_of_image): Init Qxbm, Qpbm before calling define_image_type. | ||
| 97 | |||
| 98 | 2005-08-13 Jan Dj,Ad(Brv <jan.h.d@swipnet.se> | ||
| 99 | |||
| 100 | * gtkutil.c (xg_get_pixbuf_from_pix_and_mask): New function. | ||
| 101 | (xg_get_image_for_pixmap): Move some code to | ||
| 102 | xg_get_pixbuf_from_pix_and_mask, and call it. | ||
| 103 | |||
| 104 | * gtkutil.h (xg_get_pixbuf_from_pix_and_mask): Declare. | ||
| 105 | |||
| 106 | * xterm.c (x_wm_set_icon_pixmap): Call xg_get_pixbuf_from_pix_and_mask | ||
| 107 | to get an GTK icon and set it with GTK functions to avoid having GTK | ||
| 108 | override an icon set with just X functions. | ||
| 109 | |||
| 110 | 2005-08-11 Richard M. Stallman <rms@gnu.org> | ||
| 111 | |||
| 112 | * image.c (syms_of_image): Init image_types here, and call define_image_type. | ||
| 113 | (init_image): Not here. | ||
| 114 | |||
| 115 | 2005-08-09 Richard M. Stallman <rms@gnu.org> | ||
| 116 | |||
| 117 | * bytecode.c (BYTE_CODE_QUIT): Throw t to Vthrow_on_input. | ||
| 118 | |||
| 119 | * lisp.h (QUIT): Throw t to Vthrow_on_input. | ||
| 120 | |||
| 121 | 2005-08-09 Thien-Thi Nguyen <ttn@gnu.org> | ||
| 122 | |||
| 123 | * floatfns.c (Fexpt): Use floats for negative exponent. | ||
| 124 | |||
| 125 | 2005-08-08 Jan Dj,Ad(Brv <jan.h.d@swipnet.se> | ||
| 126 | |||
| 127 | * gtkutil.c (xg_modify_menubar_widgets): Remove semicolon that | ||
| 128 | should not be there, causing menu display errors with GTK 2.6.9. | ||
| 129 | |||
| 130 | 2005-08-07 Richard M. Stallman <rms@gnu.org> | ||
| 131 | |||
| 132 | * floatfns.c (Fexpt): Undo previous change. | ||
| 133 | |||
| 134 | * dispnew.c (Fframe_or_buffer_changed_p): Take an arg | ||
| 135 | so it can be used with various state vectors. | ||
| 136 | |||
| 137 | * emacs.c (endif): Convert -script into -scriptload. | ||
| 138 | (standard_args): Add -scriptload. Allow -basic-display with one dash. | ||
| 139 | |||
| 140 | * fns.c (syms_of_fns): Add `emacs' to features. | ||
| 141 | |||
| 142 | * term.c (set_terminal_modes): If no TS_termcap_modes string, | ||
| 143 | output newlines to scroll the old screen contents off the screen. | ||
| 144 | |||
| 145 | 2005-08-06 Thien-Thi Nguyen <ttn@gnu.org> | ||
| 146 | |||
| 147 | * floatfns.c (Fexpt): Use floats for negative exponent. | ||
| 148 | Reported by D Goel. | ||
| 149 | |||
| 1 | 2005-08-02 Richard M. Stallman <rms@gnu.org> | 150 | 2005-08-02 Richard M. Stallman <rms@gnu.org> |
| 2 | 151 | ||
| 3 | * frame.c (Fframe_char_width): Doc fix. | 152 | * frame.c (Fframe_char_width): Doc fix. |
diff --git a/src/Makefile.in b/src/Makefile.in index ebbc16534f1..dc757182d4b 100644 --- a/src/Makefile.in +++ b/src/Makefile.in | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | # Makefile for GNU Emacs. | 1 | # Makefile for GNU Emacs. |
| 2 | # Copyright (C) 1985, 87, 88, 93, 94, 95, 99, 2000, 01, 03, 2004 | 2 | # Copyright (C) 1985, 1987, 1988, 1993, 1994, 1995, 1999, 2000, 2001, 2002, |
| 3 | # Free Software Foundation, Inc. | 3 | # 2003, 2004, 2005 Free Software Foundation, Inc. |
| 4 | 4 | ||
| 5 | # This file is part of GNU Emacs. | 5 | # This file is part of GNU Emacs. |
| 6 | 6 | ||
diff --git a/src/abbrev.c b/src/abbrev.c index 94e915827cf..a62a3a23037 100644 --- a/src/abbrev.c +++ b/src/abbrev.c | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | /* Primitives for word-abbrev mode. | 1 | /* Primitives for word-abbrev mode. |
| 2 | Copyright (C) 1985, 1986, 1993, 1996, 1998, 2001,02,03,04 | 2 | Copyright (C) 1985, 1986, 1993, 1996, 1998, 2001, 2002, 2003, 2004, |
| 3 | Free Software Foundation, Inc. | 3 | 2005 Free Software Foundation, Inc. |
| 4 | 4 | ||
| 5 | This file is part of GNU Emacs. | 5 | This file is part of GNU Emacs. |
| 6 | 6 | ||
diff --git a/src/atimer.c b/src/atimer.c index 9ac6d529b99..f8ed1b265ec 100644 --- a/src/atimer.c +++ b/src/atimer.c | |||
| @@ -1,5 +1,5 @@ | |||
| 1 | /* Asynchronous timers. | 1 | /* Asynchronous timers. |
| 2 | Copyright (C) 2000, 2004 Free Software Foundation, Inc. | 2 | Copyright (C) 2000, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. |
| 3 | 3 | ||
| 4 | This file is part of GNU Emacs. | 4 | This file is part of GNU Emacs. |
| 5 | 5 | ||
diff --git a/src/atimer.h b/src/atimer.h index 5057eb2be24..d5ad9c674d5 100644 --- a/src/atimer.h +++ b/src/atimer.h | |||
| @@ -1,5 +1,5 @@ | |||
| 1 | /* Asynchronous timers. | 1 | /* Asynchronous timers. |
| 2 | Copyright (C) 2000, 2003 Free Software Foundation, Inc. | 2 | Copyright (C) 2000, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. |
| 3 | 3 | ||
| 4 | This file is part of GNU Emacs. | 4 | This file is part of GNU Emacs. |
| 5 | 5 | ||
diff --git a/src/blockinput.h b/src/blockinput.h index 36559715533..0eaebbe34df 100644 --- a/src/blockinput.h +++ b/src/blockinput.h | |||
| @@ -1,5 +1,6 @@ | |||
| 1 | /* blockinput.h - interface to blocking complicated interrupt-driven input. | 1 | /* blockinput.h - interface to blocking complicated interrupt-driven input. |
| 2 | Copyright (C) 1989, 1993, 2004 Free Software Foundation, Inc. | 2 | Copyright (C) 1989, 1993, 2002, 2003, 2004, |
| 3 | 2005 Free Software Foundation, Inc. | ||
| 3 | 4 | ||
| 4 | This file is part of GNU Emacs. | 5 | This file is part of GNU Emacs. |
| 5 | 6 | ||
diff --git a/src/buffer.c b/src/buffer.c index 01be485fcc0..3450e88c72d 100644 --- a/src/buffer.c +++ b/src/buffer.c | |||
| @@ -1,6 +1,7 @@ | |||
| 1 | /* Buffer manipulation primitives for GNU Emacs. | 1 | /* Buffer manipulation primitives for GNU Emacs. |
| 2 | Copyright (C) 1985, 86, 87, 88, 89, 93, 94, 95, 97, 98, 99, | 2 | Copyright (C) 1985, 1986, 1987, 1988, 1989, 1993, 1994, |
| 3 | 2000, 01, 02, 03, 04, 2005 Free Software Foundation, Inc. | 3 | 1995, 1997, 1998, 1999, 2000, 2001, 2002, |
| 4 | 2003, 2004, 2005 Free Software Foundation, Inc. | ||
| 4 | 5 | ||
| 5 | This file is part of GNU Emacs. | 6 | This file is part of GNU Emacs. |
| 6 | 7 | ||
diff --git a/src/buffer.h b/src/buffer.h index 12475ce26a8..3250967c5a8 100644 --- a/src/buffer.h +++ b/src/buffer.h | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | /* Header file for the buffer manipulation primitives. | 1 | /* Header file for the buffer manipulation primitives. |
| 2 | Copyright (C) 1985, 1986, 1993, 1994, 1995, 1997, 1998, 1999, 2000, 2001, | 2 | Copyright (C) 1985, 1986, 1993, 1994, 1995, 1997, 1998, 1999, 2000, 2001, |
| 3 | 2003, 2004, 2005 Free Software Foundation, Inc. | 3 | 2002, 2003, 2004, 2005 Free Software Foundation, Inc. |
| 4 | 4 | ||
| 5 | This file is part of GNU Emacs. | 5 | This file is part of GNU Emacs. |
| 6 | 6 | ||
diff --git a/src/bytecode.c b/src/bytecode.c index c9ab56b18d1..21e89d372c2 100644 --- a/src/bytecode.c +++ b/src/bytecode.c | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | /* Execution of byte code produced by bytecomp.el. | 1 | /* Execution of byte code produced by bytecomp.el. |
| 2 | Copyright (C) 1985, 1986, 1987, 1988, 1993, 2000, 2001, 2002, 2003, 2004 | 2 | Copyright (C) 1985, 1986, 1987, 1988, 1993, 2000, 2001, 2002, 2003, 2004, |
| 3 | Free Software Foundation, Inc. | 3 | 2005 Free Software Foundation, Inc. |
| 4 | 4 | ||
| 5 | This file is part of GNU Emacs. | 5 | This file is part of GNU Emacs. |
| 6 | 6 | ||
| @@ -389,7 +389,7 @@ unmark_byte_stack () | |||
| 389 | Vquit_flag = Qnil; \ | 389 | Vquit_flag = Qnil; \ |
| 390 | BEFORE_POTENTIAL_GC (); \ | 390 | BEFORE_POTENTIAL_GC (); \ |
| 391 | if (EQ (Vthrow_on_input, flag)) \ | 391 | if (EQ (Vthrow_on_input, flag)) \ |
| 392 | Fthrow (Vthrow_on_input, Qnil); \ | 392 | Fthrow (Vthrow_on_input, Qt); \ |
| 393 | Fsignal (Qquit, Qnil); \ | 393 | Fsignal (Qquit, Qnil); \ |
| 394 | AFTER_POTENTIAL_GC (); \ | 394 | AFTER_POTENTIAL_GC (); \ |
| 395 | } \ | 395 | } \ |
diff --git a/src/callint.c b/src/callint.c index 10db39ddce4..5979e495ac3 100644 --- a/src/callint.c +++ b/src/callint.c | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | /* Call a Lisp function interactively. | 1 | /* Call a Lisp function interactively. |
| 2 | Copyright (C) 1985, 86, 93, 94, 95, 1997, 2000, 02, 03, 2004 | 2 | Copyright (C) 1985, 1986, 1993, 1994, 1995, 1997, 2000, 2002, 2003, |
| 3 | Free Software Foundation, Inc. | 3 | 2004, 2005 Free Software Foundation, Inc. |
| 4 | 4 | ||
| 5 | This file is part of GNU Emacs. | 5 | This file is part of GNU Emacs. |
| 6 | 6 | ||
diff --git a/src/callproc.c b/src/callproc.c index fe897ba3ea6..4e81bb62c3a 100644 --- a/src/callproc.c +++ b/src/callproc.c | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | /* Synchronous subprocess invocation for GNU Emacs. | 1 | /* Synchronous subprocess invocation for GNU Emacs. |
| 2 | Copyright (C) 1985, 1986, 1987, 1988, 1993, 1994, 1995, 1999, 2000, 2001, | 2 | Copyright (C) 1985, 1986, 1987, 1988, 1993, 1994, 1995, 1999, 2000, 2001, |
| 3 | 2002, 2003, 2004, 2005 Free Software Foundation, Inc. | 3 | 2002, 2003, 2004, 2005 Free Software Foundation, Inc. |
| 4 | 4 | ||
| 5 | This file is part of GNU Emacs. | 5 | This file is part of GNU Emacs. |
| 6 | 6 | ||
diff --git a/src/casefiddle.c b/src/casefiddle.c index 95ac6669b41..04ec1d32284 100644 --- a/src/casefiddle.c +++ b/src/casefiddle.c | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | /* GNU Emacs case conversion functions. | 1 | /* GNU Emacs case conversion functions. |
| 2 | Copyright (C) 1985,94,97,98,99, 2001, 2002, 2004, 2005 | 2 | Copyright (C) 1985, 1994, 1997, 1998, 1999, 2001, 2002, 2003, 2004, |
| 3 | Free Software Foundation, Inc. | 3 | 2005 Free Software Foundation, Inc. |
| 4 | 4 | ||
| 5 | This file is part of GNU Emacs. | 5 | This file is part of GNU Emacs. |
| 6 | 6 | ||
diff --git a/src/casetab.c b/src/casetab.c index 134f19fff06..d34ca473a93 100644 --- a/src/casetab.c +++ b/src/casetab.c | |||
| @@ -1,5 +1,6 @@ | |||
| 1 | /* GNU Emacs routines to deal with case tables. | 1 | /* GNU Emacs routines to deal with case tables. |
| 2 | Copyright (C) 1993, 1994 Free Software Foundation, Inc. | 2 | Copyright (C) 1993, 1994, 2002, 2003, 2004, |
| 3 | 2005 Free Software Foundation, Inc. | ||
| 3 | 4 | ||
| 4 | This file is part of GNU Emacs. | 5 | This file is part of GNU Emacs. |
| 5 | 6 | ||
| @@ -1,7 +1,7 @@ | |||
| 1 | /* CCL (Code Conversion Language) interpreter. | 1 | /* CCL (Code Conversion Language) interpreter. |
| 2 | Copyright (C) 1995, 1997 Electrotechnical Laboratory, JAPAN. | 2 | Copyright (C) 1995, 1997 Electrotechnical Laboratory, JAPAN. |
| 3 | Licensed to the Free Software Foundation. | 3 | Licensed to the Free Software Foundation. |
| 4 | Copyright (C) 2001, 2002 Free Software Foundation, Inc. | 4 | Copyright (C) 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. |
| 5 | Copyright (C) 2003 | 5 | Copyright (C) 2003 |
| 6 | National Institute of Advanced Industrial Science and Technology (AIST) | 6 | National Institute of Advanced Industrial Science and Technology (AIST) |
| 7 | Registration Number H13PRO009 | 7 | Registration Number H13PRO009 |
diff --git a/src/charset.c b/src/charset.c index bf4dfc5bd48..d2d5686b899 100644 --- a/src/charset.c +++ b/src/charset.c | |||
| @@ -1,7 +1,7 @@ | |||
| 1 | /* Basic character set support. | 1 | /* Basic character set support. |
| 2 | Copyright (C) 1995, 97, 98, 2000, 2001 Electrotechnical Laboratory, JAPAN. | 2 | Copyright (C) 1995, 97, 98, 2000, 2001 Electrotechnical Laboratory, JAPAN. |
| 3 | Licensed to the Free Software Foundation. | 3 | Licensed to the Free Software Foundation. |
| 4 | Copyright (C) 2001, 2004 Free Software Foundation, Inc. | 4 | Copyright (C) 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. |
| 5 | Copyright (C) 2003, 2004 | 5 | Copyright (C) 2003, 2004 |
| 6 | National Institute of Advanced Industrial Science and Technology (AIST) | 6 | National Institute of Advanced Industrial Science and Technology (AIST) |
| 7 | Registration Number H13PRO009 | 7 | Registration Number H13PRO009 |
diff --git a/src/charset.h b/src/charset.h index 4f342a3fbbe..a06c3a1b094 100644 --- a/src/charset.h +++ b/src/charset.h | |||
| @@ -1,7 +1,7 @@ | |||
| 1 | /* Header for charset handler. | 1 | /* Header for charset handler. |
| 2 | Copyright (C) 1995, 1997, 1998 Electrotechnical Laboratory, JAPAN. | 2 | Copyright (C) 1995, 1997, 1998 Electrotechnical Laboratory, JAPAN. |
| 3 | Licensed to the Free Software Foundation. | 3 | Licensed to the Free Software Foundation. |
| 4 | Copyright (C) 2001 Free Software Foundation, Inc. | 4 | Copyright (C) 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. |
| 5 | Copyright (C) 2003 | 5 | Copyright (C) 2003 |
| 6 | National Institute of Advanced Industrial Science and Technology (AIST) | 6 | National Institute of Advanced Industrial Science and Technology (AIST) |
| 7 | Registration Number H13PRO009 | 7 | Registration Number H13PRO009 |
| @@ -1,5 +1,6 @@ | |||
| 1 | /* Cursor motion subroutines for GNU Emacs. | 1 | /* Cursor motion subroutines for GNU Emacs. |
| 2 | Copyright (C) 1985, 1995 Free Software Foundation, Inc. | 2 | Copyright (C) 1985, 1995, 2002, 2003, 2004, |
| 3 | 2005 Free Software Foundation, Inc. | ||
| 3 | based primarily on public domain code written by Chris Torek | 4 | based primarily on public domain code written by Chris Torek |
| 4 | 5 | ||
| 5 | This file is part of GNU Emacs. | 6 | This file is part of GNU Emacs. |
| @@ -1,5 +1,6 @@ | |||
| 1 | /* Cursor motion calculation definitions for GNU Emacs | 1 | /* Cursor motion calculation definitions for GNU Emacs |
| 2 | Copyright (C) 1985, 1989 Free Software Foundation, Inc. | 2 | Copyright (C) 1985, 1989, 2002, 2003, 2004, |
| 3 | 2005 Free Software Foundation, Inc. | ||
| 3 | 4 | ||
| 4 | This file is part of GNU Emacs. | 5 | This file is part of GNU Emacs. |
| 5 | 6 | ||
diff --git a/src/cmds.c b/src/cmds.c index 9e95d1443fb..0b1ea9857ca 100644 --- a/src/cmds.c +++ b/src/cmds.c | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | /* Simple built-in editing commands. | 1 | /* Simple built-in editing commands. |
| 2 | Copyright (C) 1985, 93, 94, 95, 96, 97, 1998, 2001, 02, 03 | 2 | Copyright (C) 1985, 1993, 1994, 1995, 1996, 1997, 1998, 2001, 2002, |
| 3 | Free Software Foundation, Inc. | 3 | 2003, 2004, 2005 Free Software Foundation, Inc. |
| 4 | 4 | ||
| 5 | This file is part of GNU Emacs. | 5 | This file is part of GNU Emacs. |
| 6 | 6 | ||
diff --git a/src/coding.c b/src/coding.c index d55817c9c79..93051d2f8a3 100644 --- a/src/coding.c +++ b/src/coding.c | |||
| @@ -1,7 +1,7 @@ | |||
| 1 | /* Coding system handler (conversion, detection, etc). | 1 | /* Coding system handler (conversion, detection, etc). |
| 2 | Copyright (C) 1995, 1997, 1998 Electrotechnical Laboratory, JAPAN. | 2 | Copyright (C) 1995, 1997, 1998 Electrotechnical Laboratory, JAPAN. |
| 3 | Licensed to the Free Software Foundation. | 3 | Licensed to the Free Software Foundation. |
| 4 | Copyright (C) 2001, 2002 Free Software Foundation, Inc. | 4 | Copyright (C) 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. |
| 5 | Copyright (C) 2003 | 5 | Copyright (C) 2003 |
| 6 | National Institute of Advanced Industrial Science and Technology (AIST) | 6 | National Institute of Advanced Industrial Science and Technology (AIST) |
| 7 | Registration Number H13PRO009 | 7 | Registration Number H13PRO009 |
diff --git a/src/coding.h b/src/coding.h index f96b86b2413..c182f182e67 100644 --- a/src/coding.h +++ b/src/coding.h | |||
| @@ -1,10 +1,10 @@ | |||
| 1 | /* Header for coding system handler. | 1 | /* Header for coding system handler. |
| 2 | Copyright (C) 2004, 2005 Free Software Foundation, Inc. | ||
| 3 | Copyright (C) 1995, 1997 Electrotechnical Laboratory, JAPAN. | 2 | Copyright (C) 1995, 1997 Electrotechnical Laboratory, JAPAN. |
| 4 | Licensed to the Free Software Foundation. | 3 | Licensed to the Free Software Foundation. |
| 5 | Copyright (C) 2003 | 4 | Copyright (C) 2003 |
| 6 | National Institute of Advanced Industrial Science and Technology (AIST) | 5 | National Institute of Advanced Industrial Science and Technology (AIST) |
| 7 | Registration Number H13PRO009 | 6 | Registration Number H13PRO009 |
| 7 | Copyright (C) 2002, 2003, 2004, 2005 Free Software Foundation, Inc. | ||
| 8 | 8 | ||
| 9 | This file is part of GNU Emacs. | 9 | This file is part of GNU Emacs. |
| 10 | 10 | ||
diff --git a/src/commands.h b/src/commands.h index 9486467e2fe..7ad593577ad 100644 --- a/src/commands.h +++ b/src/commands.h | |||
| @@ -1,5 +1,6 @@ | |||
| 1 | /* Definitions needed by most editing commands. | 1 | /* Definitions needed by most editing commands. |
| 2 | Copyright (C) 1985, 1994 Free Software Foundation, Inc. | 2 | Copyright (C) 1985, 1994, 2002, 2003, 2004, |
| 3 | 2005 Free Software Foundation, Inc. | ||
| 3 | 4 | ||
| 4 | This file is part of GNU Emacs. | 5 | This file is part of GNU Emacs. |
| 5 | 6 | ||
diff --git a/src/composite.c b/src/composite.c index 1eb0b0212fd..3d50886dc3c 100644 --- a/src/composite.c +++ b/src/composite.c | |||
| @@ -1,7 +1,7 @@ | |||
| 1 | /* Composite sequence support. | 1 | /* Composite sequence support. |
| 2 | Copyright (C) 1999 Electrotechnical Laboratory, JAPAN. | 2 | Copyright (C) 1999 Electrotechnical Laboratory, JAPAN. |
| 3 | Licensed to the Free Software Foundation. | 3 | Licensed to the Free Software Foundation. |
| 4 | Copyright (C) 2001 Free Software Foundation, Inc. | 4 | Copyright (C) 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. |
| 5 | Copyright (C) 2003 | 5 | Copyright (C) 2003 |
| 6 | National Institute of Advanced Industrial Science and Technology (AIST) | 6 | National Institute of Advanced Industrial Science and Technology (AIST) |
| 7 | Registration Number H13PRO009 | 7 | Registration Number H13PRO009 |
diff --git a/src/composite.h b/src/composite.h index 550115edd44..fe931a579ae 100644 --- a/src/composite.h +++ b/src/composite.h | |||
| @@ -1,10 +1,10 @@ | |||
| 1 | /* Header for composite sequence handler. | 1 | /* Header for composite sequence handler. |
| 2 | Copyright (C) 1999 Electrotechnical Laboratory, JAPAN. | 2 | Copyright (C) 1999 Electrotechnical Laboratory, JAPAN. |
| 3 | Licensed to the Free Software Foundation. | 3 | Licensed to the Free Software Foundation. |
| 4 | Copyright (C) 2001 Free Software Foundation, Inc. | ||
| 5 | Copyright (C) 2003 | 4 | Copyright (C) 2003 |
| 6 | National Institute of Advanced Industrial Science and Technology (AIST) | 5 | National Institute of Advanced Industrial Science and Technology (AIST) |
| 7 | Registration Number H13PRO009 | 6 | Registration Number H13PRO009 |
| 7 | Copyright (C) 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. | ||
| 8 | 8 | ||
| 9 | This file is part of GNU Emacs. | 9 | This file is part of GNU Emacs. |
| 10 | 10 | ||
diff --git a/src/cxux-crt0.s b/src/cxux-crt0.s index 615837eaeb4..71076eb8b5f 100644 --- a/src/cxux-crt0.s +++ b/src/cxux-crt0.s | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | /* | 1 | /* |
| 2 | * External symbol setup file for GNU Emacs on CX/UX | 2 | * External symbol setup file for GNU Emacs on CX/UX |
| 3 | * Copyright (C) 1990 Free Software Foundation, Inc. | 3 | * Copyright (C) 1990, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. |
| 4 | * | 4 | * |
| 5 | * This file is part of GNU Emacs. | 5 | * This file is part of GNU Emacs. |
| 6 | * | 6 | * |
diff --git a/src/data.c b/src/data.c index 8f98e6fbd6b..c1545d0169f 100644 --- a/src/data.c +++ b/src/data.c | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | /* Primitive operations on Lisp data types for GNU Emacs Lisp interpreter. | 1 | /* Primitive operations on Lisp data types for GNU Emacs Lisp interpreter. |
| 2 | Copyright (C) 1985,86,88,93,94,95,97,98,99, 2000, 2001, 03, 2004 | 2 | Copyright (C) 1985, 1986, 1988, 1993, 1994, 1995, 1997, 1998, 1999, 2000, |
| 3 | Free Software Foundation, Inc. | 3 | 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. |
| 4 | 4 | ||
| 5 | This file is part of GNU Emacs. | 5 | This file is part of GNU Emacs. |
| 6 | 6 | ||
diff --git a/src/dired.c b/src/dired.c index 4594d96e359..206b21402a3 100644 --- a/src/dired.c +++ b/src/dired.c | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | /* Lisp functions for making directory listings. | 1 | /* Lisp functions for making directory listings. |
| 2 | Copyright (C) 1985, 1986, 1993, 1994, 1999, 2000, 2001, 2004, 2005 | 2 | Copyright (C) 1985, 1986, 1993, 1994, 1999, 2000, 2001, 2002, 2003, |
| 3 | Free Software Foundation, Inc. | 3 | 2004, 2005 Free Software Foundation, Inc. |
| 4 | 4 | ||
| 5 | This file is part of GNU Emacs. | 5 | This file is part of GNU Emacs. |
| 6 | 6 | ||
diff --git a/src/dispextern.h b/src/dispextern.h index 433a348438a..e6e61ac45fb 100644 --- a/src/dispextern.h +++ b/src/dispextern.h | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | /* Interface definitions for display code. | 1 | /* Interface definitions for display code. |
| 2 | Copyright (C) 1985,93,94,97,98,99, 2000,01,02,03, 2004, 2005 | 2 | Copyright (C) 1985, 1993, 1994, 1997, 1998, 1999, 2000, 2001, 2002, |
| 3 | Free Software Foundation, Inc. | 3 | 2003, 2004, 2005 Free Software Foundation, Inc. |
| 4 | 4 | ||
| 5 | This file is part of GNU Emacs. | 5 | This file is part of GNU Emacs. |
| 6 | 6 | ||
diff --git a/src/dispnew.c b/src/dispnew.c index 345c3aa7640..1f9d2dc4189 100644 --- a/src/dispnew.c +++ b/src/dispnew.c | |||
| @@ -1,6 +1,7 @@ | |||
| 1 | /* Updating of data structures for redisplay. | 1 | /* Updating of data structures for redisplay. |
| 2 | Copyright (C) 1985, 1986, 1987, 1988, 1993, 1994, 1995, 1997, 1998, 1999, | 2 | Copyright (C) 1985, 1986, 1987, 1988, 1993, 1994, 1995, |
| 3 | 2000, 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. | 3 | 1997, 1998, 1999, 2000, 2001, 2002, 2003, |
| 4 | 2004, 2005 Free Software Foundation, Inc. | ||
| 4 | 5 | ||
| 5 | This file is part of GNU Emacs. | 6 | This file is part of GNU Emacs. |
| 6 | 7 | ||
| @@ -1184,6 +1185,9 @@ increment_row_positions (row, delta, delta_bytes) | |||
| 1184 | MATRIX_ROW_END_CHARPOS (row) += delta; | 1185 | MATRIX_ROW_END_CHARPOS (row) += delta; |
| 1185 | MATRIX_ROW_END_BYTEPOS (row) += delta_bytes; | 1186 | MATRIX_ROW_END_BYTEPOS (row) += delta_bytes; |
| 1186 | 1187 | ||
| 1188 | if (!row->enabled_p) | ||
| 1189 | return; | ||
| 1190 | |||
| 1187 | /* Increment positions in glyphs. */ | 1191 | /* Increment positions in glyphs. */ |
| 1188 | for (area = 0; area < LAST_AREA; ++area) | 1192 | for (area = 0; area < LAST_AREA; ++area) |
| 1189 | for (i = 0; i < row->used[area]; ++i) | 1193 | for (i = 0; i < row->used[area]; ++i) |
| @@ -5783,8 +5787,9 @@ buffer_posn_from_coords (w, x, y, pos, object, dx, dy, width, height) | |||
| 5783 | } | 5787 | } |
| 5784 | #endif | 5788 | #endif |
| 5785 | 5789 | ||
| 5786 | row = MATRIX_ROW (w->current_matrix, it.vpos); | 5790 | if (it.vpos < w->current_matrix->nrows |
| 5787 | if (row->enabled_p) | 5791 | && (row = MATRIX_ROW (w->current_matrix, it.vpos), |
| 5792 | row->enabled_p)) | ||
| 5788 | { | 5793 | { |
| 5789 | if (it.hpos < row->used[TEXT_AREA]) | 5794 | if (it.hpos < row->used[TEXT_AREA]) |
| 5790 | { | 5795 | { |
| @@ -6448,68 +6453,106 @@ usage: (sit-for SECONDS &optional NODISP OLD-NODISP) */) | |||
| 6448 | 6453 | ||
| 6449 | /* A vector of size >= 2 * NFRAMES + 3 * NBUFFERS + 1, containing the | 6454 | /* A vector of size >= 2 * NFRAMES + 3 * NBUFFERS + 1, containing the |
| 6450 | session's frames, frame names, buffers, buffer-read-only flags, and | 6455 | session's frames, frame names, buffers, buffer-read-only flags, and |
| 6451 | buffer-modified-flags, and a trailing sentinel (so we don't need to | 6456 | buffer-modified-flags. */ |
| 6452 | add length checks). */ | ||
| 6453 | 6457 | ||
| 6454 | static Lisp_Object frame_and_buffer_state; | 6458 | static Lisp_Object frame_and_buffer_state; |
| 6455 | 6459 | ||
| 6456 | 6460 | ||
| 6457 | DEFUN ("frame-or-buffer-changed-p", Fframe_or_buffer_changed_p, | 6461 | DEFUN ("frame-or-buffer-changed-p", Fframe_or_buffer_changed_p, |
| 6458 | Sframe_or_buffer_changed_p, 0, 0, 0, | 6462 | Sframe_or_buffer_changed_p, 0, 1, 0, |
| 6459 | doc: /* Return non-nil if the frame and buffer state appears to have changed. | 6463 | doc: /* Return non-nil if the frame and buffer state appears to have changed. |
| 6460 | The state variable is an internal vector containing all frames and buffers, | 6464 | VARIABLE is a variable name whose value is either nil or a state vector |
| 6465 | that will be updated to contain all frames and buffers, | ||
| 6461 | aside from buffers whose names start with space, | 6466 | aside from buffers whose names start with space, |
| 6462 | along with the buffers' read-only and modified flags, which allows a fast | 6467 | along with the buffers' read-only and modified flags. This allows a fast |
| 6463 | check to see whether the menu bars might need to be recomputed. | 6468 | check to see whether buffer menus might need to be recomputed. |
| 6464 | If this function returns non-nil, it updates the internal vector to reflect | 6469 | If this function returns non-nil, it updates the internal vector to reflect |
| 6465 | the current state. */) | 6470 | the current state. |
| 6466 | () | 6471 | |
| 6472 | If VARIABLE is nil, an internal variable is used. Users should not | ||
| 6473 | pass nil for VARIABLE. */) | ||
| 6474 | (variable) | ||
| 6475 | Lisp_Object variable; | ||
| 6467 | { | 6476 | { |
| 6468 | Lisp_Object tail, frame, buf; | 6477 | Lisp_Object state, tail, frame, buf; |
| 6469 | Lisp_Object *vecp; | 6478 | Lisp_Object *vecp, *end; |
| 6470 | int n; | 6479 | int n; |
| 6471 | 6480 | ||
| 6472 | vecp = XVECTOR (frame_and_buffer_state)->contents; | 6481 | if (! NILP (variable)) |
| 6482 | { | ||
| 6483 | CHECK_SYMBOL (variable); | ||
| 6484 | state = Fsymbol_value (variable); | ||
| 6485 | if (! VECTORP (state)) | ||
| 6486 | goto changed; | ||
| 6487 | } | ||
| 6488 | else | ||
| 6489 | state = frame_and_buffer_state; | ||
| 6490 | |||
| 6491 | vecp = XVECTOR (state)->contents; | ||
| 6492 | end = vecp + XVECTOR (state)->size; | ||
| 6493 | |||
| 6473 | FOR_EACH_FRAME (tail, frame) | 6494 | FOR_EACH_FRAME (tail, frame) |
| 6474 | { | 6495 | { |
| 6496 | if (vecp == end) | ||
| 6497 | goto changed; | ||
| 6475 | if (!EQ (*vecp++, frame)) | 6498 | if (!EQ (*vecp++, frame)) |
| 6476 | goto changed; | 6499 | goto changed; |
| 6500 | if (vecp == end) | ||
| 6501 | goto changed; | ||
| 6477 | if (!EQ (*vecp++, XFRAME (frame)->name)) | 6502 | if (!EQ (*vecp++, XFRAME (frame)->name)) |
| 6478 | goto changed; | 6503 | goto changed; |
| 6479 | } | 6504 | } |
| 6480 | /* Check that the buffer info matches. | 6505 | /* Check that the buffer info matches. */ |
| 6481 | No need to test for the end of the vector | ||
| 6482 | because the last element of the vector is lambda | ||
| 6483 | and that will always cause a mismatch. */ | ||
| 6484 | for (tail = Vbuffer_alist; CONSP (tail); tail = XCDR (tail)) | 6506 | for (tail = Vbuffer_alist; CONSP (tail); tail = XCDR (tail)) |
| 6485 | { | 6507 | { |
| 6486 | buf = XCDR (XCAR (tail)); | 6508 | buf = XCDR (XCAR (tail)); |
| 6487 | /* Ignore buffers that aren't included in buffer lists. */ | 6509 | /* Ignore buffers that aren't included in buffer lists. */ |
| 6488 | if (SREF (XBUFFER (buf)->name, 0) == ' ') | 6510 | if (SREF (XBUFFER (buf)->name, 0) == ' ') |
| 6489 | continue; | 6511 | continue; |
| 6512 | if (vecp == end) | ||
| 6513 | goto changed; | ||
| 6490 | if (!EQ (*vecp++, buf)) | 6514 | if (!EQ (*vecp++, buf)) |
| 6491 | goto changed; | 6515 | goto changed; |
| 6516 | if (vecp == end) | ||
| 6517 | goto changed; | ||
| 6492 | if (!EQ (*vecp++, XBUFFER (buf)->read_only)) | 6518 | if (!EQ (*vecp++, XBUFFER (buf)->read_only)) |
| 6493 | goto changed; | 6519 | goto changed; |
| 6520 | if (vecp == end) | ||
| 6521 | goto changed; | ||
| 6494 | if (!EQ (*vecp++, Fbuffer_modified_p (buf))) | 6522 | if (!EQ (*vecp++, Fbuffer_modified_p (buf))) |
| 6495 | goto changed; | 6523 | goto changed; |
| 6496 | } | 6524 | } |
| 6525 | if (vecp == end) | ||
| 6526 | goto changed; | ||
| 6497 | /* Detect deletion of a buffer at the end of the list. */ | 6527 | /* Detect deletion of a buffer at the end of the list. */ |
| 6498 | if (EQ (*vecp, Qlambda)) | 6528 | if (EQ (*vecp, Qlambda)) |
| 6499 | return Qnil; | 6529 | return Qnil; |
| 6530 | |||
| 6531 | /* Come here if we decide the data has changed. */ | ||
| 6500 | changed: | 6532 | changed: |
| 6501 | /* Start with 1 so there is room for at least one lambda at the end. */ | 6533 | /* Count the size we will need. |
| 6534 | Start with 1 so there is room for at least one lambda at the end. */ | ||
| 6502 | n = 1; | 6535 | n = 1; |
| 6503 | FOR_EACH_FRAME (tail, frame) | 6536 | FOR_EACH_FRAME (tail, frame) |
| 6504 | n += 2; | 6537 | n += 2; |
| 6505 | for (tail = Vbuffer_alist; CONSP (tail); tail = XCDR (tail)) | 6538 | for (tail = Vbuffer_alist; CONSP (tail); tail = XCDR (tail)) |
| 6506 | n += 3; | 6539 | n += 3; |
| 6507 | /* Reallocate the vector if it's grown, or if it's shrunk a lot. */ | 6540 | /* Reallocate the vector if data has grown to need it, |
| 6508 | if (n > XVECTOR (frame_and_buffer_state)->size | 6541 | or if it has shrunk a lot. */ |
| 6509 | || n + 20 < XVECTOR (frame_and_buffer_state)->size / 2) | 6542 | if (! VECTORP (state) |
| 6543 | || n > XVECTOR (state)->size | ||
| 6544 | || n + 20 < XVECTOR (state)->size / 2) | ||
| 6510 | /* Add 20 extra so we grow it less often. */ | 6545 | /* Add 20 extra so we grow it less often. */ |
| 6511 | frame_and_buffer_state = Fmake_vector (make_number (n + 20), Qlambda); | 6546 | { |
| 6512 | vecp = XVECTOR (frame_and_buffer_state)->contents; | 6547 | state = Fmake_vector (make_number (n + 20), Qlambda); |
| 6548 | if (! NILP (variable)) | ||
| 6549 | Fset (variable, state); | ||
| 6550 | else | ||
| 6551 | frame_and_buffer_state = state; | ||
| 6552 | } | ||
| 6553 | |||
| 6554 | /* Record the new data in the (possibly reallocated) vector. */ | ||
| 6555 | vecp = XVECTOR (state)->contents; | ||
| 6513 | FOR_EACH_FRAME (tail, frame) | 6556 | FOR_EACH_FRAME (tail, frame) |
| 6514 | { | 6557 | { |
| 6515 | *vecp++ = frame; | 6558 | *vecp++ = frame; |
| @@ -6527,12 +6570,12 @@ the current state. */) | |||
| 6527 | } | 6570 | } |
| 6528 | /* Fill up the vector with lambdas (always at least one). */ | 6571 | /* Fill up the vector with lambdas (always at least one). */ |
| 6529 | *vecp++ = Qlambda; | 6572 | *vecp++ = Qlambda; |
| 6530 | while (vecp - XVECTOR (frame_and_buffer_state)->contents | 6573 | while (vecp - XVECTOR (state)->contents |
| 6531 | < XVECTOR (frame_and_buffer_state)->size) | 6574 | < XVECTOR (state)->size) |
| 6532 | *vecp++ = Qlambda; | 6575 | *vecp++ = Qlambda; |
| 6533 | /* Make sure we didn't overflow the vector. */ | 6576 | /* Make sure we didn't overflow the vector. */ |
| 6534 | if (vecp - XVECTOR (frame_and_buffer_state)->contents | 6577 | if (vecp - XVECTOR (state)->contents |
| 6535 | > XVECTOR (frame_and_buffer_state)->size) | 6578 | > XVECTOR (state)->size) |
| 6536 | abort (); | 6579 | abort (); |
| 6537 | return Qt; | 6580 | return Qt; |
| 6538 | } | 6581 | } |
diff --git a/src/disptab.h b/src/disptab.h index 0ab8a5afa36..ed7ec8597a9 100644 --- a/src/disptab.h +++ b/src/disptab.h | |||
| @@ -1,5 +1,5 @@ | |||
| 1 | /* Things for GLYPHS and glyph tables. | 1 | /* Things for GLYPHS and glyph tables. |
| 2 | Copyright (C) 1993 Free Software Foundation, Inc. | 2 | Copyright (C) 1993, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. |
| 3 | 3 | ||
| 4 | This file is part of GNU Emacs. | 4 | This file is part of GNU Emacs. |
| 5 | 5 | ||
| @@ -1,6 +1,6 @@ | |||
| 1 | /* Record indices of function doc strings stored in a file. | 1 | /* Record indices of function doc strings stored in a file. |
| 2 | Copyright (C) 1985, 86,93,94,95,97,98,99,2000,04 | 2 | Copyright (C) 1985, 1986, 1993, 1994, 1995, 1997, 1998, 1999, 2000, 2001, |
| 3 | Free Software Foundation, Inc. | 3 | 2002, 2003, 2004, 2005 Free Software Foundation, Inc. |
| 4 | 4 | ||
| 5 | This file is part of GNU Emacs. | 5 | This file is part of GNU Emacs. |
| 6 | 6 | ||
diff --git a/src/doprnt.c b/src/doprnt.c index 1d103f755b2..c67d20f1950 100644 --- a/src/doprnt.c +++ b/src/doprnt.c | |||
| @@ -1,7 +1,7 @@ | |||
| 1 | /* Output like sprintf to a buffer of specified size. | 1 | /* Output like sprintf to a buffer of specified size. |
| 2 | Also takes args differently: pass one pointer to an array of strings | 2 | Also takes args differently: pass one pointer to an array of strings |
| 3 | in addition to the format string which is separate. | 3 | in addition to the format string which is separate. |
| 4 | Copyright (C) 1985 Free Software Foundation, Inc. | 4 | Copyright (C) 1985, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. |
| 5 | 5 | ||
| 6 | This file is part of GNU Emacs. | 6 | This file is part of GNU Emacs. |
| 7 | 7 | ||
diff --git a/src/dosfns.c b/src/dosfns.c index 849ec232cfa..c4b5747ab7d 100644 --- a/src/dosfns.c +++ b/src/dosfns.c | |||
| @@ -1,7 +1,7 @@ | |||
| 1 | /* MS-DOS specific Lisp utilities. Coded by Manabu Higashida, 1991. | 1 | /* MS-DOS specific Lisp utilities. Coded by Manabu Higashida, 1991. |
| 2 | Major changes May-July 1993 Morten Welinder (only 10% original code left) | 2 | Major changes May-July 1993 Morten Welinder (only 10% original code left) |
| 3 | Copyright (C) 1991, 1993, 1996, 1997, 1998, 2001 | 3 | Copyright (C) 1991, 1993, 1996, 1997, 1998, 2001, 2002, 2003, 2004, |
| 4 | Free Software Foundation, Inc. | 4 | 2005 Free Software Foundation, Inc. |
| 5 | 5 | ||
| 6 | This file is part of GNU Emacs. | 6 | This file is part of GNU Emacs. |
| 7 | 7 | ||
diff --git a/src/dosfns.h b/src/dosfns.h index 594c3d980c6..40aaf524e23 100644 --- a/src/dosfns.h +++ b/src/dosfns.h | |||
| @@ -2,8 +2,8 @@ | |||
| 2 | Coded by Manabu Higashida, 1991. | 2 | Coded by Manabu Higashida, 1991. |
| 3 | Modified by Morten Welinder, 1993-1994. | 3 | Modified by Morten Welinder, 1993-1994. |
| 4 | 4 | ||
| 5 | Copyright (C) 1991, 1994, 1995, 1997, 1999 | 5 | Copyright (C) 1991, 1994, 1995, 1997, 1999, 2002, 2003, 2004, |
| 6 | Free Software Foundation, Inc. | 6 | 2005 Free Software Foundation, Inc. |
| 7 | 7 | ||
| 8 | This file is part of GNU Emacs. | 8 | This file is part of GNU Emacs. |
| 9 | 9 | ||
diff --git a/src/ecrt0.c b/src/ecrt0.c index 95b69b11c01..5ee24dfae8c 100644 --- a/src/ecrt0.c +++ b/src/ecrt0.c | |||
| @@ -1,5 +1,6 @@ | |||
| 1 | /* C code startup routine. | 1 | /* C code startup routine. |
| 2 | Copyright (C) 1985, 1986, 1992 Free Software Foundation, Inc. | 2 | Copyright (C) 1985, 1986, 1992, 2002, 2003, 2004, |
| 3 | 2005 Free Software Foundation, Inc. | ||
| 3 | 4 | ||
| 4 | This file is part of GNU Emacs. | 5 | This file is part of GNU Emacs. |
| 5 | 6 | ||
diff --git a/src/editfns.c b/src/editfns.c index 7333a5b8dc7..dea951c32fa 100644 --- a/src/editfns.c +++ b/src/editfns.c | |||
| @@ -1,6 +1,7 @@ | |||
| 1 | /* Lisp functions pertaining to editing. | 1 | /* Lisp functions pertaining to editing. |
| 2 | Copyright (C) 1985, 1986, 1987, 1989, 1993, 1994, 1995, 1996, 1997, 1998, | 2 | Copyright (C) 1985, 1986, 1987, 1989, 1993, 1994, 1995, 1996, |
| 3 | 1999, 2000, 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. | 3 | 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, |
| 4 | 2005 Free Software Foundation, Inc. | ||
| 4 | 5 | ||
| 5 | This file is part of GNU Emacs. | 6 | This file is part of GNU Emacs. |
| 6 | 7 | ||
diff --git a/src/emacs.c b/src/emacs.c index 398837a98e6..35dd1d47919 100644 --- a/src/emacs.c +++ b/src/emacs.c | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | /* Fully extensible Emacs, running on Unix, intended for GNU. | 1 | /* Fully extensible Emacs, running on Unix, intended for GNU. |
| 2 | Copyright (C) 1985, 1986, 1987, 1993, 1994, 1995, 1997, 1998, 1999, 2001, | 2 | Copyright (C) 1985, 1986, 1987, 1993, 1994, 1995, 1997, 1998, 1999, |
| 3 | 2002, 2003, 2004, 2005 Free Software Foundation, Inc. | 3 | 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. |
| 4 | 4 | ||
| 5 | This file is part of GNU Emacs. | 5 | This file is part of GNU Emacs. |
| 6 | 6 | ||
| @@ -1153,9 +1153,9 @@ main (argc, argv | |||
| 1153 | if (argmatch (argv, argc, "-script", "--script", 3, &junk, &skip_args)) | 1153 | if (argmatch (argv, argc, "-script", "--script", 3, &junk, &skip_args)) |
| 1154 | { | 1154 | { |
| 1155 | noninteractive = 1; /* Set batch mode. */ | 1155 | noninteractive = 1; /* Set batch mode. */ |
| 1156 | /* Convert --script to -l, un-skip it, and sort again so that -l will be | 1156 | /* Convert --script to --scriptload, un-skip it, and sort again |
| 1157 | handled in proper sequence. */ | 1157 | so that it will be handled in proper sequence. */ |
| 1158 | argv[skip_args - 1] = "-l"; | 1158 | argv[skip_args - 1] = "-scriptload"; |
| 1159 | skip_args -= 2; | 1159 | skip_args -= 2; |
| 1160 | sort_args (argc, argv); | 1160 | sort_args (argc, argv); |
| 1161 | } | 1161 | } |
| @@ -1842,7 +1842,7 @@ struct standard_args standard_args[] = | |||
| 1842 | { "-itype", 0, 15, 0 }, | 1842 | { "-itype", 0, 15, 0 }, |
| 1843 | { "-iconic", "--iconic", 15, 0 }, | 1843 | { "-iconic", "--iconic", 15, 0 }, |
| 1844 | { "-D", "--basic-display", 12, 0}, | 1844 | { "-D", "--basic-display", 12, 0}, |
| 1845 | { "--basic-display", 0, 12, 0}, | 1845 | { "-basic-display", 0, 12, 0}, |
| 1846 | { "-bg", "--background-color", 10, 1 }, | 1846 | { "-bg", "--background-color", 10, 1 }, |
| 1847 | { "-background", 0, 10, 1 }, | 1847 | { "-background", 0, 10, 1 }, |
| 1848 | { "-fg", "--foreground-color", 10, 1 }, | 1848 | { "-fg", "--foreground-color", 10, 1 }, |
| @@ -1876,6 +1876,7 @@ struct standard_args standard_args[] = | |||
| 1876 | { "-directory", 0, 0, 1 }, | 1876 | { "-directory", 0, 0, 1 }, |
| 1877 | { "-l", "--load", 0, 1 }, | 1877 | { "-l", "--load", 0, 1 }, |
| 1878 | { "-load", 0, 0, 1 }, | 1878 | { "-load", 0, 0, 1 }, |
| 1879 | { "-scriptload", "--scriptload", 0, 1 }, | ||
| 1879 | { "-f", "--funcall", 0, 1 }, | 1880 | { "-f", "--funcall", 0, 1 }, |
| 1880 | { "-funcall", 0, 0, 1 }, | 1881 | { "-funcall", 0, 0, 1 }, |
| 1881 | { "-eval", "--eval", 0, 1 }, | 1882 | { "-eval", "--eval", 0, 1 }, |
diff --git a/src/epaths.in b/src/epaths.in index be91cb485ae..ee965cb7615 100644 --- a/src/epaths.in +++ b/src/epaths.in | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | /* Hey Emacs, this is -*- C -*- code! */ | 1 | /* Hey Emacs, this is -*- C -*- code! */ |
| 2 | /* Copyright (C) 1993, 1995, 1997, 1999, 2001 | 2 | /* Copyright (C) 1993, 1995, 1997, 1999, 2001, 2002, 2003, 2004, |
| 3 | Free Software Foundation, Inc. | 3 | 2005 Free Software Foundation, Inc. |
| 4 | 4 | ||
| 5 | This file is part of GNU Emacs. | 5 | This file is part of GNU Emacs. |
| 6 | 6 | ||
diff --git a/src/eval.c b/src/eval.c index 56fe670f1b1..a867d00150e 100644 --- a/src/eval.c +++ b/src/eval.c | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | /* Evaluator for GNU Emacs Lisp interpreter. | 1 | /* Evaluator for GNU Emacs Lisp interpreter. |
| 2 | Copyright (C) 1985, 1986, 1987, 1993, 1994, 1995, 1999, 2000, 2001, | 2 | Copyright (C) 1985, 1986, 1987, 1993, 1994, 1995, 1999, 2000, 2001, |
| 3 | 2002, 2004, 2005 Free Software Foundation, Inc. | 3 | 2002, 2003, 2004, 2005 Free Software Foundation, Inc. |
| 4 | 4 | ||
| 5 | This file is part of GNU Emacs. | 5 | This file is part of GNU Emacs. |
| 6 | 6 | ||
diff --git a/src/fileio.c b/src/fileio.c index 7d84e243207..ff600a03a31 100644 --- a/src/fileio.c +++ b/src/fileio.c | |||
| @@ -1,6 +1,7 @@ | |||
| 1 | /* File IO for GNU Emacs. | 1 | /* File IO for GNU Emacs. |
| 2 | Copyright (C) 1985, 1986, 1987, 1988, 1993, 1994, 1995, 1996, 1997, 1998, | 2 | Copyright (C) 1985, 1986, 1987, 1988, 1993, 1994, 1995, 1996, |
| 3 | 1999, 2000, 2001, 2003, 2004, 2005 Free Software Foundation, Inc. | 3 | 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, |
| 4 | 2005 Free Software Foundation, Inc. | ||
| 4 | 5 | ||
| 5 | This file is part of GNU Emacs. | 6 | This file is part of GNU Emacs. |
| 6 | 7 | ||
diff --git a/src/filelock.c b/src/filelock.c index cddce66a1d4..33e3bcd5732 100644 --- a/src/filelock.c +++ b/src/filelock.c | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | /* Lock files for editing. | 1 | /* Lock files for editing. |
| 2 | Copyright (C) 1985, 86, 87, 93, 94, 96, 98, 1999, 2000, 2001 | 2 | Copyright (C) 1985, 1986, 1987, 1993, 1994, 1996, 1998, 1999, 2000, 2001, |
| 3 | Free Software Foundation, Inc. | 3 | 2002, 2003, 2004, 2005 Free Software Foundation, Inc. |
| 4 | 4 | ||
| 5 | This file is part of GNU Emacs. | 5 | This file is part of GNU Emacs. |
| 6 | 6 | ||
diff --git a/src/filemode.c b/src/filemode.c index 130cbace773..6257c6a7664 100644 --- a/src/filemode.c +++ b/src/filemode.c | |||
| @@ -1,5 +1,6 @@ | |||
| 1 | /* filemode.c -- make a string describing file modes | 1 | /* filemode.c -- make a string describing file modes |
| 2 | Copyright (C) 1985, 1990, 1993 Free Software Foundation, Inc. | 2 | Copyright (C) 1985, 1990, 1993, 2002, 2003, 2004, |
| 3 | 2005 Free Software Foundation, Inc. | ||
| 3 | 4 | ||
| 4 | This program is free software; you can redistribute it and/or modify | 5 | This program is free software; you can redistribute it and/or modify |
| 5 | it under the terms of the GNU General Public License as published by | 6 | it under the terms of the GNU General Public License as published by |
diff --git a/src/firstfile.c b/src/firstfile.c index cf6dbf3e888..b16f3a3dc44 100644 --- a/src/firstfile.c +++ b/src/firstfile.c | |||
| @@ -1,5 +1,5 @@ | |||
| 1 | /* Mark beginning of data space to dump as pure, for GNU Emacs. | 1 | /* Mark beginning of data space to dump as pure, for GNU Emacs. |
| 2 | Copyright (C) 1997 Free Software Foundation, Inc. | 2 | Copyright (C) 1997, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. |
| 3 | 3 | ||
| 4 | This file is part of GNU Emacs. | 4 | This file is part of GNU Emacs. |
| 5 | 5 | ||
diff --git a/src/floatfns.c b/src/floatfns.c index 529e7b76e39..79574e0a69b 100644 --- a/src/floatfns.c +++ b/src/floatfns.c | |||
| @@ -1,5 +1,6 @@ | |||
| 1 | /* Primitive operations on floating point for GNU Emacs Lisp interpreter. | 1 | /* Primitive operations on floating point for GNU Emacs Lisp interpreter. |
| 2 | Copyright (C) 1988, 1993, 1994, 1999, 2003, 2005 Free Software Foundation, Inc. | 2 | Copyright (C) 1988, 1993, 1994, 1999, 2002, 2003, 2004, |
| 3 | 2005 Free Software Foundation, Inc. | ||
| 3 | 4 | ||
| 4 | This file is part of GNU Emacs. | 5 | This file is part of GNU Emacs. |
| 5 | 6 | ||
| @@ -460,7 +461,8 @@ DEFUN ("expt", Fexpt, Sexpt, 2, 2, 0, | |||
| 460 | CHECK_NUMBER_OR_FLOAT (arg1); | 461 | CHECK_NUMBER_OR_FLOAT (arg1); |
| 461 | CHECK_NUMBER_OR_FLOAT (arg2); | 462 | CHECK_NUMBER_OR_FLOAT (arg2); |
| 462 | if (INTEGERP (arg1) /* common lisp spec */ | 463 | if (INTEGERP (arg1) /* common lisp spec */ |
| 463 | && INTEGERP (arg2)) /* don't promote, if both are ints */ | 464 | && INTEGERP (arg2) /* don't promote, if both are ints, and */ |
| 465 | && 0 <= XINT (arg2)) /* we are sure the result is not fractional */ | ||
| 464 | { /* this can be improved by pre-calculating */ | 466 | { /* this can be improved by pre-calculating */ |
| 465 | EMACS_INT acc, x, y; /* some binary powers of x then accumulating */ | 467 | EMACS_INT acc, x, y; /* some binary powers of x then accumulating */ |
| 466 | Lisp_Object val; | 468 | Lisp_Object val; |
| @@ -1,6 +1,7 @@ | |||
| 1 | /* Random utility Lisp functions. | 1 | /* Random utility Lisp functions. |
| 2 | Copyright (C) 1985, 1986, 1987, 1993, 1994, 1995, 1997, 1998, 1999, 2000, | 2 | Copyright (C) 1985, 1986, 1987, 1993, 1994, 1995, 1997, |
| 3 | 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. | 3 | 1998, 1999, 2000, 2001, 2002, 2003, 2004, |
| 4 | 2005 Free Software Foundation, Inc. | ||
| 4 | 5 | ||
| 5 | This file is part of GNU Emacs. | 6 | This file is part of GNU Emacs. |
| 6 | 7 | ||
| @@ -5190,7 +5191,7 @@ syms_of_fns () | |||
| 5190 | DEFVAR_LISP ("features", &Vfeatures, | 5191 | DEFVAR_LISP ("features", &Vfeatures, |
| 5191 | doc: /* A list of symbols which are the features of the executing emacs. | 5192 | doc: /* A list of symbols which are the features of the executing emacs. |
| 5192 | Used by `featurep' and `require', and altered by `provide'. */); | 5193 | Used by `featurep' and `require', and altered by `provide'. */); |
| 5193 | Vfeatures = Qnil; | 5194 | Vfeatures = Fcons (intern ("emacs"), Qnil); |
| 5194 | Qsubfeatures = intern ("subfeatures"); | 5195 | Qsubfeatures = intern ("subfeatures"); |
| 5195 | staticpro (&Qsubfeatures); | 5196 | staticpro (&Qsubfeatures); |
| 5196 | 5197 | ||
diff --git a/src/fontset.c b/src/fontset.c index 5ccc0dceb60..c63bec61a15 100644 --- a/src/fontset.c +++ b/src/fontset.c | |||
| @@ -1,10 +1,10 @@ | |||
| 1 | /* Fontset handler. | 1 | /* Fontset handler. |
| 2 | Copyright (C) 2004 Free Software Foundation, Inc. | ||
| 3 | Copyright (C) 1995, 1997, 2000 Electrotechnical Laboratory, JAPAN. | 2 | Copyright (C) 1995, 1997, 2000 Electrotechnical Laboratory, JAPAN. |
| 4 | Licensed to the Free Software Foundation. | 3 | Licensed to the Free Software Foundation. |
| 5 | Copyright (C) 2003 | 4 | Copyright (C) 2003 |
| 6 | National Institute of Advanced Industrial Science and Technology (AIST) | 5 | National Institute of Advanced Industrial Science and Technology (AIST) |
| 7 | Registration Number H13PRO009 | 6 | Registration Number H13PRO009 |
| 7 | Copyright (C) 2002, 2003, 2004, 2005 Free Software Foundation, Inc. | ||
| 8 | 8 | ||
| 9 | This file is part of GNU Emacs. | 9 | This file is part of GNU Emacs. |
| 10 | 10 | ||
diff --git a/src/fontset.h b/src/fontset.h index ad7ee334e74..33bbeda4f52 100644 --- a/src/fontset.h +++ b/src/fontset.h | |||
| @@ -4,6 +4,7 @@ | |||
| 4 | Copyright (C) 2003 | 4 | Copyright (C) 2003 |
| 5 | National Institute of Advanced Industrial Science and Technology (AIST) | 5 | National Institute of Advanced Industrial Science and Technology (AIST) |
| 6 | Registration Number H13PRO009 | 6 | Registration Number H13PRO009 |
| 7 | Copyright (C) 2002, 2003, 2004, 2005 Free Software Foundation, Inc. | ||
| 7 | 8 | ||
| 8 | This file is part of GNU Emacs. | 9 | This file is part of GNU Emacs. |
| 9 | 10 | ||
diff --git a/src/frame.c b/src/frame.c index 436bc45cd3d..9c6345a0b40 100644 --- a/src/frame.c +++ b/src/frame.c | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | /* Generic frame functions. | 1 | /* Generic frame functions. |
| 2 | Copyright (C) 1993, 1994, 1995, 1997, 1999, 2000, 2001, 2003, 2004, 2005 | 2 | Copyright (C) 1993, 1994, 1995, 1997, 1999, 2000, 2001, 2002, 2003, |
| 3 | Free Software Foundation. | 3 | 2004, 2005 Free Software Foundation, Inc. |
| 4 | 4 | ||
| 5 | This file is part of GNU Emacs. | 5 | This file is part of GNU Emacs. |
| 6 | 6 | ||
diff --git a/src/frame.h b/src/frame.h index 290aed3266e..2928b36f2f2 100644 --- a/src/frame.h +++ b/src/frame.h | |||
| @@ -1,5 +1,6 @@ | |||
| 1 | /* Define frame-object for GNU Emacs. | 1 | /* Define frame-object for GNU Emacs. |
| 2 | Copyright (C) 1993, 1994, 1999, 2000, 2001 Free Software Foundation, Inc. | 2 | Copyright (C) 1993, 1994, 1999, 2000, 2001, 2002, 2003, 2004, |
| 3 | 2005 Free Software Foundation, Inc. | ||
| 3 | 4 | ||
| 4 | This file is part of GNU Emacs. | 5 | This file is part of GNU Emacs. |
| 5 | 6 | ||
diff --git a/src/fringe.c b/src/fringe.c index 1a130f428f3..62de5e5cdb6 100644 --- a/src/fringe.c +++ b/src/fringe.c | |||
| @@ -1,6 +1,7 @@ | |||
| 1 | /* Fringe handling (split from xdisp.c). | 1 | /* Fringe handling (split from xdisp.c). |
| 2 | Copyright (C) 1985,86,87,88,93,94,95,97,98,99,2000,01,02,03,04 | 2 | Copyright (C) 1985, 1986, 1987, 1988, 1993, 1994, 1995, 1997, |
| 3 | Free Software Foundation, Inc. | 3 | 1998, 1999, 2000, 2000, 2001, 2002, 2003, 2004, |
| 4 | 2005 Free Software Foundation, Inc. | ||
| 4 | 5 | ||
| 5 | This file is part of GNU Emacs. | 6 | This file is part of GNU Emacs. |
| 6 | 7 | ||
| @@ -776,13 +777,14 @@ draw_window_fringes (w, no_fringe) | |||
| 776 | 777 | ||
| 777 | 778 | ||
| 778 | /* Recalculate the bitmaps to show in the fringes of window W. | 779 | /* Recalculate the bitmaps to show in the fringes of window W. |
| 779 | If FORCE_P is 0, only mark rows with modified bitmaps for update in | 780 | Only mark rows with modified bitmaps for update in redraw_fringe_bitmaps_p. |
| 780 | redraw_fringe_bitmaps_p; else mark all rows for update. */ | 781 | |
| 782 | If KEEP_CURRENT_P is 0, update current_matrix too. */ | ||
| 781 | 783 | ||
| 782 | int | 784 | int |
| 783 | update_window_fringes (w, force_p) | 785 | update_window_fringes (w, keep_current_p) |
| 784 | struct window *w; | 786 | struct window *w; |
| 785 | int force_p; | 787 | int keep_current_p; |
| 786 | { | 788 | { |
| 787 | struct glyph_row *row, *cur = 0; | 789 | struct glyph_row *row, *cur = 0; |
| 788 | int yb = window_text_bottom_y (w); | 790 | int yb = window_text_bottom_y (w); |
| @@ -848,7 +850,8 @@ update_window_fringes (w, force_p) | |||
| 848 | { | 850 | { |
| 849 | if (!done_top) | 851 | if (!done_top) |
| 850 | { | 852 | { |
| 851 | if (MATRIX_ROW_START_CHARPOS (row) <= BUF_BEGV (XBUFFER (w->buffer))) | 853 | if (MATRIX_ROW_START_CHARPOS (row) <= BUF_BEGV (XBUFFER (w->buffer)) |
| 854 | && !MATRIX_ROW_PARTIALLY_VISIBLE_AT_TOP_P (w, row)) | ||
| 852 | row->indicate_bob_p = !NILP (boundary_top); | 855 | row->indicate_bob_p = !NILP (boundary_top); |
| 853 | else | 856 | else |
| 854 | row->indicate_top_line_p = !NILP (arrow_top); | 857 | row->indicate_top_line_p = !NILP (arrow_top); |
| @@ -857,7 +860,8 @@ update_window_fringes (w, force_p) | |||
| 857 | 860 | ||
| 858 | if (!done_bot) | 861 | if (!done_bot) |
| 859 | { | 862 | { |
| 860 | if (MATRIX_ROW_END_CHARPOS (row) >= BUF_ZV (XBUFFER (w->buffer))) | 863 | if (MATRIX_ROW_END_CHARPOS (row) >= BUF_ZV (XBUFFER (w->buffer)) |
| 864 | && !MATRIX_ROW_PARTIALLY_VISIBLE_AT_BOTTOM_P (w, row)) | ||
| 861 | row->indicate_eob_p = !NILP (boundary_bot), done_bot = 1; | 865 | row->indicate_eob_p = !NILP (boundary_bot), done_bot = 1; |
| 862 | else if (y + row->height >= yb) | 866 | else if (y + row->height >= yb) |
| 863 | row->indicate_bottom_line_p = !NILP (arrow_bot), done_bot = 1; | 867 | row->indicate_bottom_line_p = !NILP (arrow_bot), done_bot = 1; |
| @@ -942,8 +946,7 @@ update_window_fringes (w, force_p) | |||
| 942 | else | 946 | else |
| 943 | right = NO_FRINGE_BITMAP; | 947 | right = NO_FRINGE_BITMAP; |
| 944 | 948 | ||
| 945 | if (force_p | 949 | if (row->y != cur->y |
| 946 | || row->y != cur->y | ||
| 947 | || row->visible_height != cur->visible_height | 950 | || row->visible_height != cur->visible_height |
| 948 | || row->ends_at_zv_p != cur->ends_at_zv_p | 951 | || row->ends_at_zv_p != cur->ends_at_zv_p |
| 949 | || left != cur->left_fringe_bitmap | 952 | || left != cur->left_fringe_bitmap |
| @@ -952,11 +955,15 @@ update_window_fringes (w, force_p) | |||
| 952 | || right_face_id != cur->right_fringe_face_id | 955 | || right_face_id != cur->right_fringe_face_id |
| 953 | || cur->redraw_fringe_bitmaps_p) | 956 | || cur->redraw_fringe_bitmaps_p) |
| 954 | { | 957 | { |
| 955 | redraw_p = row->redraw_fringe_bitmaps_p = cur->redraw_fringe_bitmaps_p = 1; | 958 | redraw_p = row->redraw_fringe_bitmaps_p = 1; |
| 956 | cur->left_fringe_bitmap = left; | 959 | if (!keep_current_p) |
| 957 | cur->right_fringe_bitmap = right; | 960 | { |
| 958 | cur->left_fringe_face_id = left_face_id; | 961 | cur->redraw_fringe_bitmaps_p = 1; |
| 959 | cur->right_fringe_face_id = right_face_id; | 962 | cur->left_fringe_bitmap = left; |
| 963 | cur->right_fringe_bitmap = right; | ||
| 964 | cur->left_fringe_face_id = left_face_id; | ||
| 965 | cur->right_fringe_face_id = right_face_id; | ||
| 966 | } | ||
| 960 | } | 967 | } |
| 961 | 968 | ||
| 962 | if (row->overlay_arrow_bitmap != cur->overlay_arrow_bitmap) | 969 | if (row->overlay_arrow_bitmap != cur->overlay_arrow_bitmap) |
| @@ -974,7 +981,7 @@ update_window_fringes (w, force_p) | |||
| 974 | row[-1].redraw_fringe_bitmaps_p = cur[-1].redraw_fringe_bitmaps_p = 1; | 981 | row[-1].redraw_fringe_bitmaps_p = cur[-1].redraw_fringe_bitmaps_p = 1; |
| 975 | } | 982 | } |
| 976 | 983 | ||
| 977 | return redraw_p; | 984 | return redraw_p && !keep_current_p; |
| 978 | } | 985 | } |
| 979 | 986 | ||
| 980 | 987 | ||
diff --git a/src/getloadavg.c b/src/getloadavg.c index 191f7d4244f..a2ae9bc310b 100644 --- a/src/getloadavg.c +++ b/src/getloadavg.c | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | /* Get the system load averages. | 1 | /* Get the system load averages. |
| 2 | Copyright (C) 1985, 86, 87, 88, 89, 91, 92, 93, 1994, 1995, 1997, 2003 | 2 | Copyright (C) 1985, 1986, 1987, 1988, 1989, 1991, 1992, 1993, 1994, 1995, |
| 3 | Free Software Foundation, Inc. | 3 | 1997, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. |
| 4 | 4 | ||
| 5 | NOTE: The canonical source of this file is maintained with gnulib. | 5 | NOTE: The canonical source of this file is maintained with gnulib. |
| 6 | Bugs can be reported to bug-gnulib@gnu.org. | 6 | Bugs can be reported to bug-gnulib@gnu.org. |
diff --git a/src/getpagesize.h b/src/getpagesize.h index 20f19279cd0..ed47f80b0e0 100644 --- a/src/getpagesize.h +++ b/src/getpagesize.h | |||
| @@ -1,5 +1,6 @@ | |||
| 1 | /* Emulate getpagesize on systems that lack it. | 1 | /* Emulate getpagesize on systems that lack it. |
| 2 | Copyright (C) 1986, 1992, 1995, 2001 Free Software Foundation, Inc. | 2 | Copyright (C) 1986, 1992, 1995, 2001, 2002, 2003, 2004, |
| 3 | 2005 Free Software Foundation, Inc. | ||
| 3 | 4 | ||
| 4 | This file is part of GNU Emacs. | 5 | This file is part of GNU Emacs. |
| 5 | 6 | ||
diff --git a/src/gmalloc.c b/src/gmalloc.c index 08de77df0e0..55aedb7801b 100644 --- a/src/gmalloc.c +++ b/src/gmalloc.c | |||
| @@ -5,7 +5,8 @@ | |||
| 5 | /* The malloc headers and source files from the C library follow here. */ | 5 | /* The malloc headers and source files from the C library follow here. */ |
| 6 | 6 | ||
| 7 | /* Declarations for `malloc' and friends. | 7 | /* Declarations for `malloc' and friends. |
| 8 | Copyright 1990, 91, 92, 93, 95, 96, 99 Free Software Foundation, Inc. | 8 | Copyright (C) 1990, 1991, 1992, 1993, 1995, 1996, 1999, 2002, 2003, 2004, |
| 9 | 2005 Free Software Foundation, Inc. | ||
| 9 | Written May 1989 by Mike Haertel. | 10 | Written May 1989 by Mike Haertel. |
| 10 | 11 | ||
| 11 | This library is free software; you can redistribute it and/or | 12 | This library is free software; you can redistribute it and/or |
diff --git a/src/gtkutil.c b/src/gtkutil.c index 1cb1004f576..3b590e0faed 100644 --- a/src/gtkutil.c +++ b/src/gtkutil.c | |||
| @@ -1,6 +1,5 @@ | |||
| 1 | /* Functions for creating and updating GTK widgets. | 1 | /* Functions for creating and updating GTK widgets. |
| 2 | Copyright (C) 2003 | 2 | Copyright (C) 2003, 2004, 2005 Free Software Foundation, Inc. |
| 3 | Free Software Foundation, Inc. | ||
| 4 | 3 | ||
| 5 | This file is part of GNU Emacs. | 4 | This file is part of GNU Emacs. |
| 6 | 5 | ||
| @@ -240,6 +239,64 @@ xg_create_default_cursor (dpy) | |||
| 240 | return gdk_cursor_new_for_display (gdpy, GDK_LEFT_PTR); | 239 | return gdk_cursor_new_for_display (gdpy, GDK_LEFT_PTR); |
| 241 | } | 240 | } |
| 242 | 241 | ||
| 242 | /* Apply GMASK to GPIX and return a GdkPixbuf with an alpha channel. */ | ||
| 243 | |||
| 244 | static GdkPixbuf * | ||
| 245 | xg_get_pixbuf_from_pix_and_mask (gpix, gmask, cmap) | ||
| 246 | GdkPixmap *gpix; | ||
| 247 | GdkPixmap *gmask; | ||
| 248 | GdkColormap *cmap; | ||
| 249 | { | ||
| 250 | int x, y, width, height, rowstride, mask_rowstride; | ||
| 251 | GdkPixbuf *icon_buf, *tmp_buf; | ||
| 252 | guchar *pixels; | ||
| 253 | guchar *mask_pixels; | ||
| 254 | |||
| 255 | gdk_drawable_get_size (gpix, &width, &height); | ||
| 256 | tmp_buf = gdk_pixbuf_get_from_drawable (NULL, gpix, cmap, | ||
| 257 | 0, 0, 0, 0, width, height); | ||
| 258 | icon_buf = gdk_pixbuf_add_alpha (tmp_buf, FALSE, 0, 0, 0); | ||
| 259 | g_object_unref (G_OBJECT (tmp_buf)); | ||
| 260 | |||
| 261 | if (gmask) | ||
| 262 | { | ||
| 263 | GdkPixbuf *mask_buf = gdk_pixbuf_get_from_drawable (NULL, | ||
| 264 | gmask, | ||
| 265 | NULL, | ||
| 266 | 0, 0, 0, 0, | ||
| 267 | width, height); | ||
| 268 | guchar *pixels = gdk_pixbuf_get_pixels (icon_buf); | ||
| 269 | guchar *mask_pixels = gdk_pixbuf_get_pixels (mask_buf); | ||
| 270 | int rowstride = gdk_pixbuf_get_rowstride (icon_buf); | ||
| 271 | int mask_rowstride = gdk_pixbuf_get_rowstride (mask_buf); | ||
| 272 | int y; | ||
| 273 | |||
| 274 | for (y = 0; y < height; ++y) | ||
| 275 | { | ||
| 276 | guchar *iconptr, *maskptr; | ||
| 277 | int x; | ||
| 278 | |||
| 279 | iconptr = pixels + y * rowstride; | ||
| 280 | maskptr = mask_pixels + y * mask_rowstride; | ||
| 281 | |||
| 282 | for (x = 0; x < width; ++x) | ||
| 283 | { | ||
| 284 | /* In a bitmap, RGB is either 255/255/255 or 0/0/0. Checking | ||
| 285 | just R is sufficient. */ | ||
| 286 | if (maskptr[0] == 0) | ||
| 287 | iconptr[3] = 0; /* 0, 1, 2 is R, G, B. 3 is alpha. */ | ||
| 288 | |||
| 289 | iconptr += rowstride/width; | ||
| 290 | maskptr += mask_rowstride/width; | ||
| 291 | } | ||
| 292 | } | ||
| 293 | |||
| 294 | g_object_unref (G_OBJECT (mask_buf)); | ||
| 295 | } | ||
| 296 | |||
| 297 | return icon_buf; | ||
| 298 | } | ||
| 299 | |||
| 243 | /* For the image defined in IMG, make and return a GtkImage. For displays with | 300 | /* For the image defined in IMG, make and return a GtkImage. For displays with |
| 244 | 8 planes or less we must make a GdkPixbuf and apply the mask manually. | 301 | 8 planes or less we must make a GdkPixbuf and apply the mask manually. |
| 245 | Otherwise the highlightning and dimming the tool bar code in GTK does | 302 | Otherwise the highlightning and dimming the tool bar code in GTK does |
| @@ -312,60 +369,15 @@ xg_get_image_for_pixmap (f, img, widget, old_widget) | |||
| 312 | } | 369 | } |
| 313 | else | 370 | else |
| 314 | { | 371 | { |
| 372 | |||
| 315 | /* This is a workaround to make icons look good on pseudo color | 373 | /* This is a workaround to make icons look good on pseudo color |
| 316 | displays. Apparently GTK expects the images to have an alpha | 374 | displays. Apparently GTK expects the images to have an alpha |
| 317 | channel. If they don't, insensitive and activated icons will | 375 | channel. If they don't, insensitive and activated icons will |
| 318 | look bad. This workaround does not work on monochrome displays, | 376 | look bad. This workaround does not work on monochrome displays, |
| 319 | and is not needed on true color/static color displays (i.e. | 377 | and is not needed on true color/static color displays (i.e. |
| 320 | 16 bits and higher). */ | 378 | 16 bits and higher). */ |
| 321 | int x, y, width, height, rowstride, mask_rowstride; | 379 | GdkColormap *cmap = gtk_widget_get_colormap (widget); |
| 322 | GdkPixbuf *icon_buf, *tmp_buf; | 380 | GdkPixbuf *icon_buf = xg_get_pixbuf_from_pix_and_mask (gpix, gmask, cmap); |
| 323 | guchar *pixels; | ||
| 324 | guchar *mask_pixels; | ||
| 325 | |||
| 326 | gdk_drawable_get_size (gpix, &width, &height); | ||
| 327 | tmp_buf = gdk_pixbuf_get_from_drawable (NULL, | ||
| 328 | gpix, | ||
| 329 | gtk_widget_get_colormap (widget), | ||
| 330 | 0, 0, 0, 0, width, height); | ||
| 331 | icon_buf = gdk_pixbuf_add_alpha (tmp_buf, FALSE, 0, 0, 0); | ||
| 332 | g_object_unref (G_OBJECT (tmp_buf)); | ||
| 333 | |||
| 334 | if (gmask) | ||
| 335 | { | ||
| 336 | GdkPixbuf *mask_buf = gdk_pixbuf_get_from_drawable (NULL, | ||
| 337 | gmask, | ||
| 338 | NULL, | ||
| 339 | 0, 0, 0, 0, | ||
| 340 | width, height); | ||
| 341 | guchar *pixels = gdk_pixbuf_get_pixels (icon_buf); | ||
| 342 | guchar *mask_pixels = gdk_pixbuf_get_pixels (mask_buf); | ||
| 343 | int rowstride = gdk_pixbuf_get_rowstride (icon_buf); | ||
| 344 | int mask_rowstride = gdk_pixbuf_get_rowstride (mask_buf); | ||
| 345 | int y; | ||
| 346 | |||
| 347 | for (y = 0; y < height; ++y) | ||
| 348 | { | ||
| 349 | guchar *iconptr, *maskptr; | ||
| 350 | int x; | ||
| 351 | |||
| 352 | iconptr = pixels + y * rowstride; | ||
| 353 | maskptr = mask_pixels + y * mask_rowstride; | ||
| 354 | |||
| 355 | for (x = 0; x < width; ++x) | ||
| 356 | { | ||
| 357 | /* In a bitmap, RGB is either 255/255/255 or 0/0/0. Checking | ||
| 358 | just R is sufficient. */ | ||
| 359 | if (maskptr[0] == 0) | ||
| 360 | iconptr[3] = 0; /* 0, 1, 2 is R, G, B. 3 is alpha. */ | ||
| 361 | |||
| 362 | iconptr += rowstride/width; | ||
| 363 | maskptr += mask_rowstride/width; | ||
| 364 | } | ||
| 365 | } | ||
| 366 | |||
| 367 | g_object_unref (G_OBJECT (mask_buf)); | ||
| 368 | } | ||
| 369 | 381 | ||
| 370 | if (! old_widget) | 382 | if (! old_widget) |
| 371 | old_widget = GTK_IMAGE (gtk_image_new_from_pixbuf (icon_buf)); | 383 | old_widget = GTK_IMAGE (gtk_image_new_from_pixbuf (icon_buf)); |
| @@ -940,6 +952,24 @@ xg_set_background_color (f, bg) | |||
| 940 | } | 952 | } |
| 941 | 953 | ||
| 942 | 954 | ||
| 955 | /* Set the frame icon to ICON_PIXMAP/MASK. This must be done with GTK | ||
| 956 | functions so GTK does not overwrite the icon. */ | ||
| 957 | |||
| 958 | void | ||
| 959 | xg_set_frame_icon (f, icon_pixmap, icon_mask) | ||
| 960 | FRAME_PTR f; | ||
| 961 | Pixmap icon_pixmap; | ||
| 962 | Pixmap icon_mask; | ||
| 963 | { | ||
| 964 | GdkDisplay *gdpy = gdk_x11_lookup_xdisplay (FRAME_X_DISPLAY (f)); | ||
| 965 | GdkPixmap *gpix = gdk_pixmap_foreign_new_for_display (gdpy, icon_pixmap); | ||
| 966 | GdkPixmap *gmask = gdk_pixmap_foreign_new_for_display (gdpy, icon_mask); | ||
| 967 | GdkPixbuf *gp = xg_get_pixbuf_from_pix_and_mask (gpix, gmask, NULL); | ||
| 968 | |||
| 969 | gtk_window_set_icon (GTK_WINDOW (FRAME_GTK_OUTER_WIDGET (f)), gp); | ||
| 970 | } | ||
| 971 | |||
| 972 | |||
| 943 | 973 | ||
| 944 | /*********************************************************************** | 974 | /*********************************************************************** |
| 945 | Dialog functions | 975 | Dialog functions |
| @@ -2607,7 +2637,7 @@ xg_modify_menubar_widgets (menubar, f, val, deep_p, | |||
| 2607 | xg_update_menubar (menubar, f, &list, list, 0, val->contents, | 2637 | xg_update_menubar (menubar, f, &list, list, 0, val->contents, |
| 2608 | select_cb, highlight_cb, cl_data); | 2638 | select_cb, highlight_cb, cl_data); |
| 2609 | 2639 | ||
| 2610 | if (deep_p); | 2640 | if (deep_p) |
| 2611 | { | 2641 | { |
| 2612 | widget_value *cur; | 2642 | widget_value *cur; |
| 2613 | 2643 | ||
diff --git a/src/gtkutil.h b/src/gtkutil.h index 08ba9ee1314..aea4ee9e7cf 100644 --- a/src/gtkutil.h +++ b/src/gtkutil.h | |||
| @@ -1,6 +1,5 @@ | |||
| 1 | /* Definitions and headers for GTK widgets. | 1 | /* Definitions and headers for GTK widgets. |
| 2 | Copyright (C) 2003 | 2 | Copyright (C) 2003, 2004, 2005 Free Software Foundation, Inc. |
| 3 | Free Software Foundation, Inc. | ||
| 4 | 3 | ||
| 5 | This file is part of GNU Emacs. | 4 | This file is part of GNU Emacs. |
| 6 | 5 | ||
| @@ -200,6 +199,10 @@ extern void x_wm_set_size_hint P_ ((FRAME_PTR f, | |||
| 200 | int user_position)); | 199 | int user_position)); |
| 201 | extern void xg_set_background_color P_ ((FRAME_PTR f, unsigned long bg)); | 200 | extern void xg_set_background_color P_ ((FRAME_PTR f, unsigned long bg)); |
| 202 | 201 | ||
| 202 | extern void xg_set_frame_icon P_ ((FRAME_PTR f, | ||
| 203 | Pixmap icon_pixmap, | ||
| 204 | Pixmap icon_mask)); | ||
| 205 | |||
| 203 | /* Mark all callback data that are Lisp_object:s during GC. */ | 206 | /* Mark all callback data that are Lisp_object:s during GC. */ |
| 204 | extern void xg_mark_data P_ ((void)); | 207 | extern void xg_mark_data P_ ((void)); |
| 205 | 208 | ||
diff --git a/src/image.c b/src/image.c index 928ec0437aa..3e8a62801b0 100644 --- a/src/image.c +++ b/src/image.c | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | /* Functions for image support on window system. | 1 | /* Functions for image support on window system. |
| 2 | Copyright (C) 1989, 92, 93, 94, 95, 96, 97, 98, 99, 2000,01,02,03,04 | 2 | Copyright (C) 1989, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, |
| 3 | Free Software Foundation. | 3 | 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. |
| 4 | 4 | ||
| 5 | This file is part of GNU Emacs. | 5 | This file is part of GNU Emacs. |
| 6 | 6 | ||
| @@ -8025,6 +8025,11 @@ syms_of_image () | |||
| 8025 | { | 8025 | { |
| 8026 | extern Lisp_Object Qrisky_local_variable; /* Syms_of_xdisp has already run. */ | 8026 | extern Lisp_Object Qrisky_local_variable; /* Syms_of_xdisp has already run. */ |
| 8027 | 8027 | ||
| 8028 | /* Initialize this only once, since that's what we do with Vimage_types | ||
| 8029 | and they are supposed to be in sync. Initializing here gives correct | ||
| 8030 | operation on GNU/Linux of calling dump-emacs after loading some images. */ | ||
| 8031 | image_types = NULL; | ||
| 8032 | |||
| 8028 | /* Must be defined now becase we're going to update it below, while | 8033 | /* Must be defined now becase we're going to update it below, while |
| 8029 | defining the supported image types. */ | 8034 | defining the supported image types. */ |
| 8030 | DEFVAR_LISP ("image-types", &Vimage_types, | 8035 | DEFVAR_LISP ("image-types", &Vimage_types, |
| @@ -8050,6 +8055,17 @@ listed; they're always supported. */); | |||
| 8050 | Vimage_type_cache = Qnil; | 8055 | Vimage_type_cache = Qnil; |
| 8051 | staticpro (&Vimage_type_cache); | 8056 | staticpro (&Vimage_type_cache); |
| 8052 | 8057 | ||
| 8058 | Qpbm = intern ("pbm"); | ||
| 8059 | staticpro (&Qpbm); | ||
| 8060 | ADD_IMAGE_TYPE(Qpbm); | ||
| 8061 | |||
| 8062 | Qxbm = intern ("xbm"); | ||
| 8063 | staticpro (&Qxbm); | ||
| 8064 | ADD_IMAGE_TYPE(Qxbm); | ||
| 8065 | |||
| 8066 | define_image_type (&xbm_type, 1); | ||
| 8067 | define_image_type (&pbm_type, 1); | ||
| 8068 | |||
| 8053 | QCascent = intern (":ascent"); | 8069 | QCascent = intern (":ascent"); |
| 8054 | staticpro (&QCascent); | 8070 | staticpro (&QCascent); |
| 8055 | QCmargin = intern (":margin"); | 8071 | QCmargin = intern (":margin"); |
| @@ -8094,14 +8110,6 @@ listed; they're always supported. */); | |||
| 8094 | staticpro (&QCpt_height); | 8110 | staticpro (&QCpt_height); |
| 8095 | #endif /* HAVE_GHOSTSCRIPT */ | 8111 | #endif /* HAVE_GHOSTSCRIPT */ |
| 8096 | 8112 | ||
| 8097 | Qpbm = intern ("pbm"); | ||
| 8098 | staticpro (&Qpbm); | ||
| 8099 | ADD_IMAGE_TYPE(Qpbm); | ||
| 8100 | |||
| 8101 | Qxbm = intern ("xbm"); | ||
| 8102 | staticpro (&Qxbm); | ||
| 8103 | ADD_IMAGE_TYPE(Qxbm); | ||
| 8104 | |||
| 8105 | #if defined (HAVE_XPM) || defined (MAC_OS) | 8113 | #if defined (HAVE_XPM) || defined (MAC_OS) |
| 8106 | Qxpm = intern ("xpm"); | 8114 | Qxpm = intern ("xpm"); |
| 8107 | staticpro (&Qxpm); | 8115 | staticpro (&Qxpm); |
| @@ -8163,11 +8171,6 @@ meaning don't clear the cache. */); | |||
| 8163 | void | 8171 | void |
| 8164 | init_image () | 8172 | init_image () |
| 8165 | { | 8173 | { |
| 8166 | image_types = NULL; | ||
| 8167 | |||
| 8168 | define_image_type (&xbm_type, 1); | ||
| 8169 | define_image_type (&pbm_type, 1); | ||
| 8170 | |||
| 8171 | #ifdef MAC_OS | 8174 | #ifdef MAC_OS |
| 8172 | /* Animated gifs use QuickTime Movie Toolbox. So initialize it here. */ | 8175 | /* Animated gifs use QuickTime Movie Toolbox. So initialize it here. */ |
| 8173 | EnterMovies (); | 8176 | EnterMovies (); |
diff --git a/src/indent.c b/src/indent.c index 7ad56e02ff3..8921361afd8 100644 --- a/src/indent.c +++ b/src/indent.c | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | /* Indentation functions. | 1 | /* Indentation functions. |
| 2 | Copyright (C) 1985, 1986, 1987, 1988, 1993, 1994, 1995, 1998, 2000, 2001, | 2 | Copyright (C) 1985, 1986, 1987, 1988, 1993, 1994, 1995, 1998, 2000, 2001, |
| 3 | 2002, 2003, 2004, 2005 Free Software Foundation, Inc. | 3 | 2002, 2003, 2004, 2005 Free Software Foundation, Inc. |
| 4 | 4 | ||
| 5 | This file is part of GNU Emacs. | 5 | This file is part of GNU Emacs. |
| 6 | 6 | ||
diff --git a/src/indent.h b/src/indent.h index 39db7b8cf5f..6026be827e8 100644 --- a/src/indent.h +++ b/src/indent.h | |||
| @@ -1,5 +1,6 @@ | |||
| 1 | /* Definitions for interface to indent.c | 1 | /* Definitions for interface to indent.c |
| 2 | Copyright (C) 1985, 1986 Free Software Foundation, Inc. | 2 | Copyright (C) 1985, 1986, 2002, 2003, 2004, |
| 3 | 2005 Free Software Foundation, Inc. | ||
| 3 | 4 | ||
| 4 | This file is part of GNU Emacs. | 5 | This file is part of GNU Emacs. |
| 5 | 6 | ||
diff --git a/src/insdel.c b/src/insdel.c index 981c45c2dbd..2a11f5abe7f 100644 --- a/src/insdel.c +++ b/src/insdel.c | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | /* Buffer insertion/deletion and gap motion for GNU Emacs. | 1 | /* Buffer insertion/deletion and gap motion for GNU Emacs. |
| 2 | Copyright (C) 1985, 86,93,94,95,97,98, 1999, 2000, 01, 2003, 2005 | 2 | Copyright (C) 1985, 1986, 1993, 1994, 1995, 1997, 1998, 1999, 2000, 2001, |
| 3 | Free Software Foundation, Inc. | 3 | 2002, 2003, 2004, 2005 Free Software Foundation, Inc. |
| 4 | 4 | ||
| 5 | This file is part of GNU Emacs. | 5 | This file is part of GNU Emacs. |
| 6 | 6 | ||
diff --git a/src/intervals.c b/src/intervals.c index 5878ce5e4f1..792dd5e2116 100644 --- a/src/intervals.c +++ b/src/intervals.c | |||
| @@ -1,5 +1,6 @@ | |||
| 1 | /* Code for doing intervals. | 1 | /* Code for doing intervals. |
| 2 | Copyright (C) 1993, 1994, 1995, 1997, 1998, 2002, 2003 Free Software Foundation, Inc. | 2 | Copyright (C) 1993, 1994, 1995, 1997, 1998, 2002, 2003, 2004, |
| 3 | 2005 Free Software Foundation, Inc. | ||
| 3 | 4 | ||
| 4 | This file is part of GNU Emacs. | 5 | This file is part of GNU Emacs. |
| 5 | 6 | ||
diff --git a/src/intervals.h b/src/intervals.h index 82943a9daae..5d7ee470751 100644 --- a/src/intervals.h +++ b/src/intervals.h | |||
| @@ -1,5 +1,6 @@ | |||
| 1 | /* Definitions and global variables for intervals. | 1 | /* Definitions and global variables for intervals. |
| 2 | Copyright (C) 1993, 1994, 2000, 2002, 2003 Free Software Foundation, Inc. | 2 | Copyright (C) 1993, 1994, 2000, 2002, 2003, 2004, |
| 3 | 2005 Free Software Foundation, Inc. | ||
| 3 | 4 | ||
| 4 | This file is part of GNU Emacs. | 5 | This file is part of GNU Emacs. |
| 5 | 6 | ||
diff --git a/src/keyboard.c b/src/keyboard.c index 87a4ce3c997..64b6b86244c 100644 --- a/src/keyboard.c +++ b/src/keyboard.c | |||
| @@ -1,6 +1,7 @@ | |||
| 1 | /* Keyboard and mouse input; editor command loop. | 1 | /* Keyboard and mouse input; editor command loop. |
| 2 | Copyright (C) 1985, 1986, 1987, 1988, 1989, 1993, 1994, 1995, 1996, 1997, | 2 | Copyright (C) 1985, 1986, 1987, 1988, 1989, 1993, 1994, 1995, |
| 3 | 1999, 2000, 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. | 3 | 1996, 1997, 1999, 2000, 2001, 2002, 2003, 2004, |
| 4 | 2005 Free Software Foundation, Inc. | ||
| 4 | 5 | ||
| 5 | This file is part of GNU Emacs. | 6 | This file is part of GNU Emacs. |
| 6 | 7 | ||
| @@ -4000,7 +4001,7 @@ kbd_buffer_get_event (kbp, used_mouse_menu) | |||
| 4000 | kbd_fetch_ptr = event + 1; | 4001 | kbd_fetch_ptr = event + 1; |
| 4001 | } | 4002 | } |
| 4002 | #endif | 4003 | #endif |
| 4003 | #if defined (HAVE_X11) || defined (HAVE_NTGUI) | 4004 | #if defined (HAVE_X11) || defined (HAVE_NTGUI) || defined (MAC_OS) |
| 4004 | else if (event->kind == ICONIFY_EVENT) | 4005 | else if (event->kind == ICONIFY_EVENT) |
| 4005 | { | 4006 | { |
| 4006 | /* Make an event (iconify-frame (FRAME)). */ | 4007 | /* Make an event (iconify-frame (FRAME)). */ |
diff --git a/src/keyboard.h b/src/keyboard.h index f5be3f28cf4..afda1c00a92 100644 --- a/src/keyboard.h +++ b/src/keyboard.h | |||
| @@ -1,5 +1,6 @@ | |||
| 1 | /* Declarations useful when processing input. | 1 | /* Declarations useful when processing input. |
| 2 | Copyright (C) 1985, 1986, 1987, 1993 Free Software Foundation, Inc. | 2 | Copyright (C) 1985, 1986, 1987, 1993, 2002, 2003, 2004, |
| 3 | 2005 Free Software Foundation, Inc. | ||
| 3 | 4 | ||
| 4 | This file is part of GNU Emacs. | 5 | This file is part of GNU Emacs. |
| 5 | 6 | ||
diff --git a/src/keymap.c b/src/keymap.c index dd206b8f065..813030fe728 100644 --- a/src/keymap.c +++ b/src/keymap.c | |||
| @@ -1,6 +1,7 @@ | |||
| 1 | /* Manipulation of keymaps | 1 | /* Manipulation of keymaps |
| 2 | Copyright (C) 1985, 1986, 1987, 1988, 1993, 1994, 1995, 1998, 1999, 2000, | 2 | Copyright (C) 1985, 1986, 1987, 1988, 1993, 1994, 1995, |
| 3 | 2001, 2004, 2005 Free Software Foundation, Inc. | 3 | 1998, 1999, 2000, 2001, 2002, 2003, 2004, |
| 4 | 2005 Free Software Foundation, Inc. | ||
| 4 | 5 | ||
| 5 | This file is part of GNU Emacs. | 6 | This file is part of GNU Emacs. |
| 6 | 7 | ||
diff --git a/src/keymap.h b/src/keymap.h index 4fcbffbed5a..bcf14abcd89 100644 --- a/src/keymap.h +++ b/src/keymap.h | |||
| @@ -1,5 +1,5 @@ | |||
| 1 | /* Functions to manipulate keymaps. | 1 | /* Functions to manipulate keymaps. |
| 2 | Copyright (C) 2001, 2005 Free Software Foundation, Inc. | 2 | Copyright (C) 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. |
| 3 | 3 | ||
| 4 | This file is part of GNU Emacs. | 4 | This file is part of GNU Emacs. |
| 5 | 5 | ||
diff --git a/src/lastfile.c b/src/lastfile.c index d03dc2c8346..a229d94fd6a 100644 --- a/src/lastfile.c +++ b/src/lastfile.c | |||
| @@ -1,5 +1,5 @@ | |||
| 1 | /* Mark end of data space to dump as pure, for GNU Emacs. | 1 | /* Mark end of data space to dump as pure, for GNU Emacs. |
| 2 | Copyright (C) 1985 Free Software Foundation, Inc. | 2 | Copyright (C) 1985, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. |
| 3 | 3 | ||
| 4 | This file is part of GNU Emacs. | 4 | This file is part of GNU Emacs. |
| 5 | 5 | ||
diff --git a/src/lisp.h b/src/lisp.h index 086cce3ce9f..0346c8fd0d3 100644 --- a/src/lisp.h +++ b/src/lisp.h | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | /* Fundamental definitions for GNU Emacs Lisp interpreter. | 1 | /* Fundamental definitions for GNU Emacs Lisp interpreter. |
| 2 | Copyright (C) 1985, 1986, 1987, 1993, 1994, 1995, 1997, 1998, 1999, 2000, | 2 | Copyright (C) 1985, 1986, 1987, 1993, 1994, 1995, 1997, 1998, 1999, 2000, |
| 3 | 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. | 3 | 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. |
| 4 | 4 | ||
| 5 | This file is part of GNU Emacs. | 5 | This file is part of GNU Emacs. |
| 6 | 6 | ||
| @@ -1807,7 +1807,7 @@ extern int interrupt_input_pending; | |||
| 1807 | Lisp_Object flag = Vquit_flag; \ | 1807 | Lisp_Object flag = Vquit_flag; \ |
| 1808 | Vquit_flag = Qnil; \ | 1808 | Vquit_flag = Qnil; \ |
| 1809 | if (EQ (Vthrow_on_input, flag)) \ | 1809 | if (EQ (Vthrow_on_input, flag)) \ |
| 1810 | Fthrow (Vthrow_on_input, Qnil); \ | 1810 | Fthrow (Vthrow_on_input, Qt); \ |
| 1811 | Fsignal (Qquit, Qnil); \ | 1811 | Fsignal (Qquit, Qnil); \ |
| 1812 | } \ | 1812 | } \ |
| 1813 | else if (interrupt_input_pending) \ | 1813 | else if (interrupt_input_pending) \ |
| @@ -1823,7 +1823,7 @@ extern int interrupt_input_pending; | |||
| 1823 | Lisp_Object flag = Vquit_flag; \ | 1823 | Lisp_Object flag = Vquit_flag; \ |
| 1824 | Vquit_flag = Qnil; \ | 1824 | Vquit_flag = Qnil; \ |
| 1825 | if (EQ (Vthrow_on_input, flag)) \ | 1825 | if (EQ (Vthrow_on_input, flag)) \ |
| 1826 | Fthrow (Vthrow_on_input, Qnil); \ | 1826 | Fthrow (Vthrow_on_input, Qt); \ |
| 1827 | Fsignal (Qquit, Qnil); \ | 1827 | Fsignal (Qquit, Qnil); \ |
| 1828 | } \ | 1828 | } \ |
| 1829 | } while (0) | 1829 | } while (0) |
| @@ -3062,12 +3062,9 @@ extern int wait_reading_process_output P_ ((int, int, int, int, | |||
| 3062 | Lisp_Object, | 3062 | Lisp_Object, |
| 3063 | struct Lisp_Process *, | 3063 | struct Lisp_Process *, |
| 3064 | int)); | 3064 | int)); |
| 3065 | extern void deactivate_process P_ ((Lisp_Object)); | ||
| 3066 | extern void add_keyboard_wait_descriptor P_ ((int)); | 3065 | extern void add_keyboard_wait_descriptor P_ ((int)); |
| 3067 | extern void delete_keyboard_wait_descriptor P_ ((int)); | 3066 | extern void delete_keyboard_wait_descriptor P_ ((int)); |
| 3068 | extern void close_process_descs P_ ((void)); | 3067 | extern void close_process_descs P_ ((void)); |
| 3069 | extern void status_notify P_ ((void)); | ||
| 3070 | extern int read_process_output P_ ((Lisp_Object, int)); | ||
| 3071 | extern void init_process P_ ((void)); | 3068 | extern void init_process P_ ((void)); |
| 3072 | extern void syms_of_process P_ ((void)); | 3069 | extern void syms_of_process P_ ((void)); |
| 3073 | extern void setup_process_coding_systems P_ ((Lisp_Object)); | 3070 | extern void setup_process_coding_systems P_ ((Lisp_Object)); |
diff --git a/src/lread.c b/src/lread.c index 0cac2515b4f..7b91260cda9 100644 --- a/src/lread.c +++ b/src/lread.c | |||
| @@ -1,6 +1,7 @@ | |||
| 1 | /* Lisp parsing and input streams. | 1 | /* Lisp parsing and input streams. |
| 2 | Copyright (C) 1985, 1986, 1987, 1988, 1989, 1993, 1994, 1995, 1997, 1998, | 2 | Copyright (C) 1985, 1986, 1987, 1988, 1989, 1993, 1994, 1995, |
| 3 | 1999, 2000, 2001, 2003, 2004, 2005 Free Software Foundation, Inc. | 3 | 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, |
| 4 | 2005 Free Software Foundation, Inc. | ||
| 4 | 5 | ||
| 5 | This file is part of GNU Emacs. | 6 | This file is part of GNU Emacs. |
| 6 | 7 | ||
diff --git a/src/m/7300.h b/src/m/7300.h index fa95b3d9c4e..bb261c9188a 100644 --- a/src/m/7300.h +++ b/src/m/7300.h | |||
| @@ -1,5 +1,5 @@ | |||
| 1 | /* machine description file for AT&T UNIX PC model 7300 | 1 | /* machine description file for AT&T UNIX PC model 7300 |
| 2 | Copyright (C) 1986, 2002 Free Software Foundation, Inc. | 2 | Copyright (C) 1986, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. |
| 3 | Modified for this machine by mtxinu!rtech!gonzo!daveb | 3 | Modified for this machine by mtxinu!rtech!gonzo!daveb |
| 4 | 4 | ||
| 5 | This file is part of GNU Emacs. | 5 | This file is part of GNU Emacs. |
diff --git a/src/m/acorn.h b/src/m/acorn.h index 66978329d75..399fb7c9249 100644 --- a/src/m/acorn.h +++ b/src/m/acorn.h | |||
| @@ -1,5 +1,5 @@ | |||
| 1 | /* Machine description file for Acorn RISCiX machines. | 1 | /* Machine description file for Acorn RISCiX machines. |
| 2 | Copyright (C) 1994, 2002 Free Software Foundation, Inc. | 2 | Copyright (C) 1994, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. |
| 3 | 3 | ||
| 4 | This file is part of GNU Emacs. | 4 | This file is part of GNU Emacs. |
| 5 | 5 | ||
diff --git a/src/m/alliant-2800.h b/src/m/alliant-2800.h index cf0afd90bb5..b59322e3d0c 100644 --- a/src/m/alliant-2800.h +++ b/src/m/alliant-2800.h | |||
| @@ -1,5 +1,5 @@ | |||
| 1 | /* alliant-2800.h - Alliant FX/2800 machine running Concentrix 2800. | 1 | /* alliant-2800.h - Alliant FX/2800 machine running Concentrix 2800. |
| 2 | Copyright (C) 1990, 2002 Free Software Foundation, Inc. | 2 | Copyright (C) 1990, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. |
| 3 | 3 | ||
| 4 | This file is part of GNU Emacs. | 4 | This file is part of GNU Emacs. |
| 5 | 5 | ||
diff --git a/src/m/alliant.h b/src/m/alliant.h index a32e514271d..cbc5734ab31 100644 --- a/src/m/alliant.h +++ b/src/m/alliant.h | |||
| @@ -1,5 +1,6 @@ | |||
| 1 | /* alliant.h Alliant machine running system version 2 or 3. | 1 | /* alliant.h Alliant machine running system version 2 or 3. |
| 2 | Copyright (C) 1985, 1986, 1987, 2002 Free Software Foundation, Inc. | 2 | Copyright (C) 1985, 1986, 1987, 2002, 2003, 2004, |
| 3 | 2005 Free Software Foundation, Inc. | ||
| 3 | Note that for version 1 of the Alliant system | 4 | Note that for version 1 of the Alliant system |
| 4 | you should use alliant1.h instead of this file. | 5 | you should use alliant1.h instead of this file. |
| 5 | Use alliant4.h for version 4. | 6 | Use alliant4.h for version 4. |
diff --git a/src/m/alpha.h b/src/m/alpha.h index aff6182270f..41fefaf20fd 100644 --- a/src/m/alpha.h +++ b/src/m/alpha.h | |||
| @@ -1,5 +1,6 @@ | |||
| 1 | /* machine description file For the alpha chip. | 1 | /* machine description file For the alpha chip. |
| 2 | Copyright (C) 1994, 1997, 1999, 2002 Free Software Foundation, Inc. | 2 | Copyright (C) 1994, 1997, 1999, 2002, 2003, 2004, |
| 3 | 2005 Free Software Foundation, Inc. | ||
| 3 | 4 | ||
| 4 | This file is part of GNU Emacs. | 5 | This file is part of GNU Emacs. |
| 5 | 6 | ||
diff --git a/src/m/altos.h b/src/m/altos.h index e3cf0898773..743752d99ec 100644 --- a/src/m/altos.h +++ b/src/m/altos.h | |||
| @@ -1,5 +1,6 @@ | |||
| 1 | /* altos machine description file Altos 3068 Unix System V Release 2 | 1 | /* altos machine description file Altos 3068 Unix System V Release 2 |
| 2 | Copyright (C) 1985, 1986, 2002 Free Software Foundation, Inc. | 2 | Copyright (C) 1985, 1986, 2002, 2003, 2004, |
| 3 | 2005 Free Software Foundation, Inc. | ||
| 3 | 4 | ||
| 4 | This file is part of GNU Emacs. | 5 | This file is part of GNU Emacs. |
| 5 | 6 | ||
diff --git a/src/m/amdahl.h b/src/m/amdahl.h index 8b32a2e64d1..89d4b6cb6f7 100644 --- a/src/m/amdahl.h +++ b/src/m/amdahl.h | |||
| @@ -1,5 +1,6 @@ | |||
| 1 | /* amdahl machine description file | 1 | /* amdahl machine description file |
| 2 | Copyright (C) 1987, 1999, 2002 Free Software Foundation, Inc. | 2 | Copyright (C) 1987, 1999, 2002, 2003, 2004, |
| 3 | 2005 Free Software Foundation, Inc. | ||
| 3 | 4 | ||
| 4 | This file is part of GNU Emacs. | 5 | This file is part of GNU Emacs. |
| 5 | 6 | ||
diff --git a/src/m/amdx86-64.h b/src/m/amdx86-64.h index 61b18dcc319..2d7d86ce7c3 100644 --- a/src/m/amdx86-64.h +++ b/src/m/amdx86-64.h | |||
| @@ -1,5 +1,5 @@ | |||
| 1 | /* machine description file for AMD x86-64. | 1 | /* machine description file for AMD x86-64. |
| 2 | Copyright (C) 2002, 2003 Free Software Foundation, Inc. | 2 | Copyright (C) 2002, 2003, 2004, 2005 Free Software Foundation, Inc. |
| 3 | 3 | ||
| 4 | This file is part of GNU Emacs. | 4 | This file is part of GNU Emacs. |
| 5 | 5 | ||
diff --git a/src/m/apollo.h b/src/m/apollo.h index 8fa91c004c5..4aa62b0b209 100644 --- a/src/m/apollo.h +++ b/src/m/apollo.h | |||
| @@ -1,5 +1,6 @@ | |||
| 1 | /* machine description file for Apollo machine. | 1 | /* machine description file for Apollo machine. |
| 2 | Copyright (C) 1985, 1986, 1994, 2002, Free Software Foundation, Inc. | 2 | Copyright (C) 1985, 1986, 1994, 2002, 2003, 2004, |
| 3 | 2005 Free Software Foundation, Inc. | ||
| 3 | 4 | ||
| 4 | This file is part of GNU Emacs. | 5 | This file is part of GNU Emacs. |
| 5 | 6 | ||
diff --git a/src/m/arm.h b/src/m/arm.h index 1ebcf3be4a4..358445e0649 100644 --- a/src/m/arm.h +++ b/src/m/arm.h | |||
| @@ -1,5 +1,5 @@ | |||
| 1 | /* Machine description file for ARM-based non-RISCiX machines. | 1 | /* Machine description file for ARM-based non-RISCiX machines. |
| 2 | Copyright (C) 1994, 2002 Free Software Foundation, Inc. | 2 | Copyright (C) 1994, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. |
| 3 | 3 | ||
| 4 | This file is part of GNU Emacs. | 4 | This file is part of GNU Emacs. |
| 5 | 5 | ||
diff --git a/src/m/att3b.h b/src/m/att3b.h index 949e6b1d01b..757b47d3f37 100644 --- a/src/m/att3b.h +++ b/src/m/att3b.h | |||
| @@ -1,5 +1,5 @@ | |||
| 1 | /* Machine-dependent configuration for GNU Emacs for AT&T 3b machines. | 1 | /* Machine-dependent configuration for GNU Emacs for AT&T 3b machines. |
| 2 | Copyright (C) 1986, 2002 Free Software Foundation, Inc. | 2 | Copyright (C) 1986, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. |
| 3 | 3 | ||
| 4 | Modified by David Robinson (daver@csvax.caltech.edu) 6/6/86 | 4 | Modified by David Robinson (daver@csvax.caltech.edu) 6/6/86 |
| 5 | 5 | ||
diff --git a/src/m/aviion.h b/src/m/aviion.h index 13a262423b0..b9a2932ef07 100644 --- a/src/m/aviion.h +++ b/src/m/aviion.h | |||
| @@ -1,5 +1,6 @@ | |||
| 1 | /* machine description file for Data General AViiON. | 1 | /* machine description file for Data General AViiON. |
| 2 | Copyright (C) 1985, 1986, 1991, 2002 Free Software Foundation, Inc. | 2 | Copyright (C) 1985, 1986, 1991, 2002, 2003, 2004, |
| 3 | 2005 Free Software Foundation, Inc. | ||
| 3 | 4 | ||
| 4 | This file is part of GNU Emacs. | 5 | This file is part of GNU Emacs. |
| 5 | 6 | ||
diff --git a/src/m/celerity.h b/src/m/celerity.h index 0b0bb020122..639d680afdb 100644 --- a/src/m/celerity.h +++ b/src/m/celerity.h | |||
| @@ -1,5 +1,6 @@ | |||
| 1 | /* machine description file for Celerity. | 1 | /* machine description file for Celerity. |
| 2 | Copyright (C) 1985, 1986, 2002 Free Software Foundation, Inc. | 2 | Copyright (C) 1985, 1986, 2002, 2003, 2004, |
| 3 | 2005 Free Software Foundation, Inc. | ||
| 3 | 4 | ||
| 4 | This file is part of GNU Emacs. | 5 | This file is part of GNU Emacs. |
| 5 | 6 | ||
diff --git a/src/m/clipper.h b/src/m/clipper.h index 5da09e02fb8..af9f67d8a37 100644 --- a/src/m/clipper.h +++ b/src/m/clipper.h | |||
| @@ -1,5 +1,6 @@ | |||
| 1 | /* machine description file for clipper | 1 | /* machine description file for clipper |
| 2 | Copyright (C) 1985, 1986, 2002 Free Software Foundation, Inc. | 2 | Copyright (C) 1985, 1986, 2002, 2003, 2004, |
| 3 | 2005 Free Software Foundation, Inc. | ||
| 3 | 4 | ||
| 4 | This file is part of GNU Emacs. | 5 | This file is part of GNU Emacs. |
| 5 | 6 | ||
diff --git a/src/m/cnvrgnt.h b/src/m/cnvrgnt.h index cb344f98f7f..48727bedbe3 100644 --- a/src/m/cnvrgnt.h +++ b/src/m/cnvrgnt.h | |||
| @@ -1,5 +1,5 @@ | |||
| 1 | /* machine description file for convergent S series. | 1 | /* machine description file for convergent S series. |
| 2 | Copyright (C) 1989, 2002 Free Software Foundation, Inc. | 2 | Copyright (C) 1989, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. |
| 3 | 3 | ||
| 4 | This file is part of GNU Emacs. | 4 | This file is part of GNU Emacs. |
| 5 | 5 | ||
diff --git a/src/m/convex.h b/src/m/convex.h index 97b291743dc..b7fcc71b1c3 100644 --- a/src/m/convex.h +++ b/src/m/convex.h | |||
| @@ -1,5 +1,6 @@ | |||
| 1 | /* machine description file for Convex (all models). | 1 | /* machine description file for Convex (all models). |
| 2 | Copyright (C) 1987, 1994, 2002 Free Software Foundation, Inc. | 2 | Copyright (C) 1987, 1994, 2002, 2003, 2004, |
| 3 | 2005 Free Software Foundation, Inc. | ||
| 3 | 4 | ||
| 4 | This file is part of GNU Emacs. | 5 | This file is part of GNU Emacs. |
| 5 | 6 | ||
diff --git a/src/m/cydra5.h b/src/m/cydra5.h index e2813dc2a4b..9806fc30a47 100644 --- a/src/m/cydra5.h +++ b/src/m/cydra5.h | |||
| @@ -1,5 +1,6 @@ | |||
| 1 | /* machine description file for Cydrome's CYDRA 5 mini super computer | 1 | /* machine description file for Cydrome's CYDRA 5 mini super computer |
| 2 | Copyright (C) 1988, 1999, 2002 Free Software Foundation, Inc. | 2 | Copyright (C) 1988, 1999, 2002, 2003, 2004, |
| 3 | 2005 Free Software Foundation, Inc. | ||
| 3 | 4 | ||
| 4 | This file is part of GNU Emacs. | 5 | This file is part of GNU Emacs. |
| 5 | 6 | ||
diff --git a/src/m/delta88k.h b/src/m/delta88k.h index ab0a48a4e31..517a0f1744b 100644 --- a/src/m/delta88k.h +++ b/src/m/delta88k.h | |||
| @@ -1,5 +1,6 @@ | |||
| 1 | /* Machine description file for Motorola System V/88 machines | 1 | /* Machine description file for Motorola System V/88 machines |
| 2 | Copyright (C) 1985, 2002 Free Software Foundation, Inc. | 2 | Copyright (C) 1985, 2002, 2003, 2004, |
| 3 | 2005 Free Software Foundation, Inc. | ||
| 3 | 4 | ||
| 4 | This file is part of GNU Emacs. | 5 | This file is part of GNU Emacs. |
| 5 | 6 | ||
diff --git a/src/m/dpx2.h b/src/m/dpx2.h index 7a24c3940d3..8d1ceb3db06 100644 --- a/src/m/dpx2.h +++ b/src/m/dpx2.h | |||
| @@ -1,5 +1,6 @@ | |||
| 1 | /* machine description for Bull DPX/2 range | 1 | /* machine description for Bull DPX/2 range |
| 2 | Copyright (C) 1985, 1986, 1999, 2002 Free Software Foundation, Inc. | 2 | Copyright (C) 1985, 1986, 1999, 2002, 2003, 2004, |
| 3 | 2005 Free Software Foundation, Inc. | ||
| 3 | 4 | ||
| 4 | This file is part of GNU Emacs. | 5 | This file is part of GNU Emacs. |
| 5 | 6 | ||
diff --git a/src/m/dual.h b/src/m/dual.h index 253c12bec52..134a5e7720e 100644 --- a/src/m/dual.h +++ b/src/m/dual.h | |||
| @@ -1,5 +1,6 @@ | |||
| 1 | /* machine description file for Dual machines using unisoft port. | 1 | /* machine description file for Dual machines using unisoft port. |
| 2 | Copyright (C) 1985 Free Software Foundation, Inc. | 2 | Copyright (C) 1985, 2002, 2003, 2004, |
| 3 | 2005 Free Software Foundation, Inc. | ||
| 3 | 4 | ||
| 4 | This file is part of GNU Emacs. | 5 | This file is part of GNU Emacs. |
| 5 | 6 | ||
diff --git a/src/m/elxsi.h b/src/m/elxsi.h index f8de3609690..f702dcf0de2 100644 --- a/src/m/elxsi.h +++ b/src/m/elxsi.h | |||
| @@ -1,5 +1,6 @@ | |||
| 1 | /* machine description file for Elxsi machine (running enix). | 1 | /* machine description file for Elxsi machine (running enix). |
| 2 | Copyright (C) 1986, 1992, 2002 Free Software Foundation, Inc. | 2 | Copyright (C) 1986, 1992, 2002, 2003, 2004, |
| 3 | 2005 Free Software Foundation, Inc. | ||
| 3 | Adapted by John Salmon | 4 | Adapted by John Salmon |
| 4 | 5 | ||
| 5 | This file is part of GNU Emacs. | 6 | This file is part of GNU Emacs. |
diff --git a/src/m/ews4800.h b/src/m/ews4800.h index dcb46bf83d8..b377bdeddaa 100644 --- a/src/m/ews4800.h +++ b/src/m/ews4800.h | |||
| @@ -1,5 +1,6 @@ | |||
| 1 | /* m- file for NEC EWS4800 RISC series. | 1 | /* m- file for NEC EWS4800 RISC series. |
| 2 | Copyright (C) 1998, 2000, 2001 Free Software Foundation, Inc. | 2 | Copyright (C) 1998, 2000, 2001, 2002, 2003, 2004, |
| 3 | 2005 Free Software Foundation, Inc. | ||
| 3 | 4 | ||
| 4 | This file is part of GNU Emacs. | 5 | This file is part of GNU Emacs. |
| 5 | 6 | ||
diff --git a/src/m/gould-np1.h b/src/m/gould-np1.h index 4a267865085..1c784f28f4e 100644 --- a/src/m/gould-np1.h +++ b/src/m/gould-np1.h | |||
| @@ -1,5 +1,5 @@ | |||
| 1 | /* machine description file for Gould NP1 with UTX/32 3.0 (first release for NP1) | 1 | /* machine description file for Gould NP1 with UTX/32 3.0 (first release for NP1) |
| 2 | Copyright (C) 1986 Free Software Foundation, Inc. | 2 | Copyright (C) 1986, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. |
| 3 | 3 | ||
| 4 | This file is part of GNU Emacs. | 4 | This file is part of GNU Emacs. |
| 5 | 5 | ||
diff --git a/src/m/hp800.h b/src/m/hp800.h index 64243f4be31..2f661989a15 100644 --- a/src/m/hp800.h +++ b/src/m/hp800.h | |||
| @@ -1,5 +1,5 @@ | |||
| 1 | /* machine description file for hp9000 series 800 machines. | 1 | /* machine description file for hp9000 series 800 machines. |
| 2 | Copyright (C) 1987, 2002, 2003 Free Software Foundation, Inc. | 2 | Copyright (C) 1987, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. |
| 3 | 3 | ||
| 4 | This file is part of GNU Emacs. | 4 | This file is part of GNU Emacs. |
| 5 | 5 | ||
diff --git a/src/m/hp9000s300.h b/src/m/hp9000s300.h index 8886aec204c..e0b3a5ce5c3 100644 --- a/src/m/hp9000s300.h +++ b/src/m/hp9000s300.h | |||
| @@ -1,5 +1,5 @@ | |||
| 1 | /* machine description file for hp9000 series 200 or 300 on either HPUX or BSD. | 1 | /* machine description file for hp9000 series 200 or 300 on either HPUX or BSD. |
| 2 | Copyright (C) 1985, 2002 Free Software Foundation, Inc. | 2 | Copyright (C) 1985, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. |
| 3 | 3 | ||
| 4 | This file is part of GNU Emacs. | 4 | This file is part of GNU Emacs. |
| 5 | 5 | ||
diff --git a/src/m/i860.h b/src/m/i860.h index 66ca2b8fa66..0ecf9e62087 100644 --- a/src/m/i860.h +++ b/src/m/i860.h | |||
| @@ -1,5 +1,6 @@ | |||
| 1 | /* machine description file for i860. | 1 | /* machine description file for i860. |
| 2 | Copyright (C) 1985, 1986, 2002 Free Software Foundation, Inc. | 2 | Copyright (C) 1985, 1986, 2002, 2003, 2004, |
| 3 | 2005 Free Software Foundation, Inc. | ||
| 3 | 4 | ||
| 4 | This file is part of GNU Emacs. | 5 | This file is part of GNU Emacs. |
| 5 | 6 | ||
diff --git a/src/m/ia64.h b/src/m/ia64.h index 33d843c773f..af790946afa 100644 --- a/src/m/ia64.h +++ b/src/m/ia64.h | |||
| @@ -1,5 +1,5 @@ | |||
| 1 | /* machine description file for the IA-64 architecture. | 1 | /* machine description file for the IA-64 architecture. |
| 2 | Copyright (C) 2000, 2002, 2003 Free Software Foundation, Inc. | 2 | Copyright (C) 2000, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. |
| 3 | Contributed by David Mosberger <davidm@hpl.hp.com> | 3 | Contributed by David Mosberger <davidm@hpl.hp.com> |
| 4 | 4 | ||
| 5 | This file is part of GNU Emacs. | 5 | This file is part of GNU Emacs. |
diff --git a/src/m/ibm370aix.h b/src/m/ibm370aix.h index b958656c3e4..3d954ae9d19 100644 --- a/src/m/ibm370aix.h +++ b/src/m/ibm370aix.h | |||
| @@ -1,5 +1,6 @@ | |||
| 1 | /* m/ file for IBM 370 running AIX. | 1 | /* m/ file for IBM 370 running AIX. |
| 2 | Copyright (C) 1993, 1994, 2001 Free Software Foundation, Inc. | 2 | Copyright (C) 1993, 1994, 2001, 2002, 2003, 2004, |
| 3 | 2005 Free Software Foundation, Inc. | ||
| 3 | 4 | ||
| 4 | This file is part of GNU Emacs. | 5 | This file is part of GNU Emacs. |
| 5 | 6 | ||
diff --git a/src/m/ibmps2-aix.h b/src/m/ibmps2-aix.h index d2202d65472..539de924d17 100644 --- a/src/m/ibmps2-aix.h +++ b/src/m/ibmps2-aix.h | |||
| @@ -1,5 +1,5 @@ | |||
| 1 | /* machine description file for ibm ps/2 aix386. | 1 | /* machine description file for ibm ps/2 aix386. |
| 2 | Copyright (C) 1989, 2002 Free Software Foundation, Inc. | 2 | Copyright (C) 1989, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. |
| 3 | 3 | ||
| 4 | This file is part of GNU Emacs. | 4 | This file is part of GNU Emacs. |
| 5 | 5 | ||
diff --git a/src/m/ibmrs6000.h b/src/m/ibmrs6000.h index b76d03bc0b7..9559f1ae62a 100644 --- a/src/m/ibmrs6000.h +++ b/src/m/ibmrs6000.h | |||
| @@ -1,5 +1,5 @@ | |||
| 1 | /* R2 AIX machine/system dependent defines | 1 | /* R2 AIX machine/system dependent defines |
| 2 | Copyright (C) 1988, 2002 Free Software Foundation, Inc. | 2 | Copyright (C) 1988, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. |
| 3 | 3 | ||
| 4 | This file is part of GNU Emacs. | 4 | This file is part of GNU Emacs. |
| 5 | 5 | ||
diff --git a/src/m/ibmrt-aix.h b/src/m/ibmrt-aix.h index b9ea0e6208f..44bfd77c1d0 100644 --- a/src/m/ibmrt-aix.h +++ b/src/m/ibmrt-aix.h | |||
| @@ -1,5 +1,6 @@ | |||
| 1 | /* RTPC AIX machine/system dependent defines | 1 | /* RTPC AIX machine/system dependent defines |
| 2 | Copyright (C) 1988, 1999, 2002 Free Software Foundation, Inc. | 2 | Copyright (C) 1988, 1999, 2002, 2003, 2004, |
| 3 | 2005 Free Software Foundation, Inc. | ||
| 3 | 4 | ||
| 4 | This file is part of GNU Emacs. | 5 | This file is part of GNU Emacs. |
| 5 | 6 | ||
diff --git a/src/m/ibmrt.h b/src/m/ibmrt.h index 1388a46b001..f6c23d9d919 100644 --- a/src/m/ibmrt.h +++ b/src/m/ibmrt.h | |||
| @@ -1,5 +1,5 @@ | |||
| 1 | /* RTPC machine dependent defines | 1 | /* RTPC machine dependent defines |
| 2 | Copyright (C) 1986, 2002 Free Software Foundation, Inc. | 2 | Copyright (C) 1986, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. |
| 3 | 3 | ||
| 4 | This file is part of GNU Emacs. | 4 | This file is part of GNU Emacs. |
| 5 | 5 | ||
diff --git a/src/m/ibms390.h b/src/m/ibms390.h index af7fbb8dfbf..323ef33f633 100644 --- a/src/m/ibms390.h +++ b/src/m/ibms390.h | |||
| @@ -1,5 +1,6 @@ | |||
| 1 | /* machine description file template. | 1 | /* machine description file template. |
| 2 | Copyright (C) 1985, 1986, 2001, 2002 Free Software Foundation, Inc. | 2 | Copyright (C) 1985, 1986, 2001, 2002, 2003, 2004, |
| 3 | 2005 Free Software Foundation, Inc. | ||
| 3 | 4 | ||
| 4 | This file is part of GNU Emacs. | 5 | This file is part of GNU Emacs. |
| 5 | 6 | ||
diff --git a/src/m/intel386.h b/src/m/intel386.h index c63dae7af0b..238015fd345 100644 --- a/src/m/intel386.h +++ b/src/m/intel386.h | |||
| @@ -1,5 +1,5 @@ | |||
| 1 | /* Machine description file for intel 386. | 1 | /* Machine description file for intel 386. |
| 2 | Copyright (C) 1987, 2002 Free Software Foundation, Inc. | 2 | Copyright (C) 1987, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. |
| 3 | 3 | ||
| 4 | This file is part of GNU Emacs. | 4 | This file is part of GNU Emacs. |
| 5 | 5 | ||
diff --git a/src/m/iris4d.h b/src/m/iris4d.h index a13a6f8c2ff..93fe2062674 100644 --- a/src/m/iris4d.h +++ b/src/m/iris4d.h | |||
| @@ -1,5 +1,5 @@ | |||
| 1 | /* machine description file for Iris-4D machines. Use with s/irix*.h. | 1 | /* machine description file for Iris-4D machines. Use with s/irix*.h. |
| 2 | Copyright (C) 1987, 2002, 2003 Free Software Foundation, Inc. | 2 | Copyright (C) 1987, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. |
| 3 | 3 | ||
| 4 | This file is part of GNU Emacs. | 4 | This file is part of GNU Emacs. |
| 5 | 5 | ||
diff --git a/src/m/irist.h b/src/m/irist.h index 71726977b23..b40ffb5dff9 100644 --- a/src/m/irist.h +++ b/src/m/irist.h | |||
| @@ -1,6 +1,7 @@ | |||
| 1 | /* machine description file for Silicon Graphics Iris 2500 Turbos; | 1 | /* machine description file for Silicon Graphics Iris 2500 Turbos; |
| 2 | also possibly for non-turbo Irises with system release 2.5. | 2 | also possibly for non-turbo Irises with system release 2.5. |
| 3 | Copyright (C) 1985, 1986, 2002 Free Software Foundation, Inc. | 3 | Copyright (C) 1985, 1986, 2002, 2003, 2004, |
| 4 | 2005 Free Software Foundation, Inc. | ||
| 4 | 5 | ||
| 5 | This file is part of GNU Emacs. | 6 | This file is part of GNU Emacs. |
| 6 | 7 | ||
diff --git a/src/m/isi-ov.h b/src/m/isi-ov.h index 9b35f03ea70..416335d1bff 100644 --- a/src/m/isi-ov.h +++ b/src/m/isi-ov.h | |||
| @@ -1,5 +1,6 @@ | |||
| 1 | /* machine description file for ISI 68000's | 1 | /* machine description file for ISI 68000's |
| 2 | Copyright (C) 1985, 1986, 2002 Free Software Foundation, Inc. | 2 | Copyright (C) 1985, 1986, 2002, 2003, 2004, |
| 3 | 2005 Free Software Foundation, Inc. | ||
| 3 | 4 | ||
| 4 | This file is part of GNU Emacs. | 5 | This file is part of GNU Emacs. |
| 5 | 6 | ||
diff --git a/src/m/m68k.h b/src/m/m68k.h index 9fdcf1511b8..7b2ffa81351 100644 --- a/src/m/m68k.h +++ b/src/m/m68k.h | |||
| @@ -1,5 +1,6 @@ | |||
| 1 | /* Machine description file for generic Motorola 68k. | 1 | /* Machine description file for generic Motorola 68k. |
| 2 | Copyright (C) 1985, 1995, 2002 Free Software Foundation, Inc. | 2 | Copyright (C) 1985, 1995, 2002, 2003, 2004, |
| 3 | 2005 Free Software Foundation, Inc. | ||
| 3 | 4 | ||
| 4 | This file is part of GNU Emacs. | 5 | This file is part of GNU Emacs. |
| 5 | 6 | ||
diff --git a/src/m/macppc.h b/src/m/macppc.h index 36022af3e52..9e4297df3b7 100644 --- a/src/m/macppc.h +++ b/src/m/macppc.h | |||
| @@ -1,5 +1,6 @@ | |||
| 1 | /* machine description file For the powerpc Macintosh. | 1 | /* machine description file For the powerpc Macintosh. |
| 2 | Copyright (C) 1994, 2001, 2002 Free Software Foundation, Inc. | 2 | Copyright (C) 1994, 2001, 2002, 2003, 2004, |
| 3 | 2005 Free Software Foundation, Inc. | ||
| 3 | 4 | ||
| 4 | This file is part of GNU Emacs. | 5 | This file is part of GNU Emacs. |
| 5 | 6 | ||
diff --git a/src/m/masscomp.h b/src/m/masscomp.h index 4582e29b6bd..01fddc751f1 100644 --- a/src/m/masscomp.h +++ b/src/m/masscomp.h | |||
| @@ -1,5 +1,5 @@ | |||
| 1 | /* machine description file for Masscomp 5000 series running RTU, ucb universe. | 1 | /* machine description file for Masscomp 5000 series running RTU, ucb universe. |
| 2 | Copyright (C) 1986, 2002 Free Software Foundation, Inc. | 2 | Copyright (C) 1986, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. |
| 3 | 3 | ||
| 4 | This file is part of GNU Emacs. | 4 | This file is part of GNU Emacs. |
| 5 | 5 | ||
diff --git a/src/m/mega68.h b/src/m/mega68.h index ba7ee6b48d4..ef1623ca460 100644 --- a/src/m/mega68.h +++ b/src/m/mega68.h | |||
| @@ -1,5 +1,5 @@ | |||
| 1 | /* machine description file for Megatest 68000's. | 1 | /* machine description file for Megatest 68000's. |
| 2 | Copyright (C) 1985 Free Software Foundation, Inc. | 2 | Copyright (C) 1985, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. |
| 3 | 3 | ||
| 4 | This file is part of GNU Emacs. | 4 | This file is part of GNU Emacs. |
| 5 | 5 | ||
diff --git a/src/m/mg1.h b/src/m/mg1.h index 47d34f43768..4e4b3525d6e 100644 --- a/src/m/mg1.h +++ b/src/m/mg1.h | |||
| @@ -1,5 +1,5 @@ | |||
| 1 | /* machine description file for Whitechapel Computer Works MG1 (ns16000 based). | 1 | /* machine description file for Whitechapel Computer Works MG1 (ns16000 based). |
| 2 | Copyright (C) 1985, 2002 Free Software Foundation, Inc. | 2 | Copyright (C) 1985, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. |
| 3 | MG-1 version by L.M.McLoughlin | 3 | MG-1 version by L.M.McLoughlin |
| 4 | 4 | ||
| 5 | This file is part of GNU Emacs. | 5 | This file is part of GNU Emacs. |
diff --git a/src/m/mips-siemens.h b/src/m/mips-siemens.h index f00790210c9..fc1a8a2e0d6 100644 --- a/src/m/mips-siemens.h +++ b/src/m/mips-siemens.h | |||
| @@ -1,5 +1,6 @@ | |||
| 1 | /* m- file for Mips machines. | 1 | /* m- file for Mips machines. |
| 2 | Copyright (C) 1987,1992,1993,95,2002,03 Free Software Foundation, Inc. | 2 | Copyright (C) 1987, 1992, 1993, 1995, 2002, 2003, 2004, |
| 3 | 2005 Free Software Foundation, Inc. | ||
| 3 | 4 | ||
| 4 | This file contains some changes for our SVR4 based SINIX-Mips 5.4. | 5 | This file contains some changes for our SVR4 based SINIX-Mips 5.4. |
| 5 | I hope this is helpful to port the emacs to our RM?00 series and | 6 | I hope this is helpful to port the emacs to our RM?00 series and |
diff --git a/src/m/mips.h b/src/m/mips.h index e868423642c..28a35e02677 100644 --- a/src/m/mips.h +++ b/src/m/mips.h | |||
| @@ -1,5 +1,6 @@ | |||
| 1 | /* m- file for Mips machines. | 1 | /* m- file for Mips machines. |
| 2 | Copyright (C) 1987, 1992, 1999, 2002, 2003 Free Software Foundation, Inc. | 2 | Copyright (C) 1987, 1992, 1999, 2002, 2003, 2004, |
| 3 | 2005 Free Software Foundation, Inc. | ||
| 3 | 4 | ||
| 4 | This file is part of GNU Emacs. | 5 | This file is part of GNU Emacs. |
| 5 | 6 | ||
diff --git a/src/m/news.h b/src/m/news.h index 1d2585c09a0..dec413c3f9e 100644 --- a/src/m/news.h +++ b/src/m/news.h | |||
| @@ -1,5 +1,6 @@ | |||
| 1 | /* machine description file for Sony's NEWS workstations, NEWS-OS 3.0. | 1 | /* machine description file for Sony's NEWS workstations, NEWS-OS 3.0. |
| 2 | Copyright (C) 1985, 1986, 1989, 2002 Free Software Foundation, Inc. | 2 | Copyright (C) 1985, 1986, 1989, 2002, 2003, 2004, |
| 3 | 2005 Free Software Foundation, Inc. | ||
| 3 | 4 | ||
| 4 | This file is part of GNU Emacs. | 5 | This file is part of GNU Emacs. |
| 5 | 6 | ||
diff --git a/src/m/next.h b/src/m/next.h index 2f2952e10f4..dfb3cd11cbf 100644 --- a/src/m/next.h +++ b/src/m/next.h | |||
| @@ -1,5 +1,5 @@ | |||
| 1 | /* Configuration file for the NeXT machine. | 1 | /* Configuration file for the NeXT machine. |
| 2 | Copyright (C) 1990, 2002 Free Software Foundation, Inc. | 2 | Copyright (C) 1990, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. |
| 3 | 3 | ||
| 4 | This file is part of GNU Emacs. | 4 | This file is part of GNU Emacs. |
| 5 | 5 | ||
diff --git a/src/m/nh3000.h b/src/m/nh3000.h index 7be5c5dc7db..42255473020 100644 --- a/src/m/nh3000.h +++ b/src/m/nh3000.h | |||
| @@ -1,7 +1,7 @@ | |||
| 1 | /* machine description for Harris Night Hawk Series 1200 and Series 3000 | 1 | /* machine description for Harris Night Hawk Series 1200 and Series 3000 |
| 2 | MC68030-based systems (FPP on these is custom). These systems are | 2 | MC68030-based systems (FPP on these is custom). These systems are |
| 3 | also known as "ecx" and "gcx". | 3 | also known as "ecx" and "gcx". |
| 4 | Copyright (C) 1994, 2002 Free Software Foundation, Inc. | 4 | Copyright (C) 1994, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. |
| 5 | 5 | ||
| 6 | This file is part of GNU Emacs. | 6 | This file is part of GNU Emacs. |
| 7 | 7 | ||
diff --git a/src/m/nh4000.h b/src/m/nh4000.h index 3d8794b2802..04068f0c065 100644 --- a/src/m/nh4000.h +++ b/src/m/nh4000.h | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | /* machine description for Harris NightHawk 88k based machines | 1 | /* machine description for Harris NightHawk 88k based machines |
| 2 | (includes nh4000 and nh5000 machines). | 2 | (includes nh4000 and nh5000 machines). |
| 3 | Copyright (C) 1994, 2002 Free Software Foundation, Inc. | 3 | Copyright (C) 1994, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. |
| 4 | 4 | ||
| 5 | This file is part of GNU Emacs. | 5 | This file is part of GNU Emacs. |
| 6 | 6 | ||
diff --git a/src/m/ns16000.h b/src/m/ns16000.h index 07fff86502b..49f514ced06 100644 --- a/src/m/ns16000.h +++ b/src/m/ns16000.h | |||
| @@ -1,5 +1,5 @@ | |||
| 1 | /* machine description file for ns16000. | 1 | /* machine description file for ns16000. |
| 2 | Copyright (C) 1985 Free Software Foundation, Inc. | 2 | Copyright (C) 1985, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. |
| 3 | 3 | ||
| 4 | This file is part of GNU Emacs. | 4 | This file is part of GNU Emacs. |
| 5 | 5 | ||
diff --git a/src/m/ns32000.h b/src/m/ns32000.h index 9a135fe2d9f..858630b74ab 100644 --- a/src/m/ns32000.h +++ b/src/m/ns32000.h | |||
| @@ -1,5 +1,6 @@ | |||
| 1 | /* machine description file for National Semiconductor 32000, running Genix. | 1 | /* machine description file for National Semiconductor 32000, running Genix. |
| 2 | Copyright (C) 1985, 1986, 2002 Free Software Foundation, Inc. | 2 | Copyright (C) 1985, 1986, 2002, 2003, 2004, |
| 3 | 2005 Free Software Foundation, Inc. | ||
| 3 | 4 | ||
| 4 | This file is part of GNU Emacs. | 5 | This file is part of GNU Emacs. |
| 5 | 6 | ||
diff --git a/src/m/nu.h b/src/m/nu.h index 8ca03155314..1e5518e451f 100644 --- a/src/m/nu.h +++ b/src/m/nu.h | |||
| @@ -1,5 +1,5 @@ | |||
| 1 | /* machine description file for TI Nu machines using system V. | 1 | /* machine description file for TI Nu machines using system V. |
| 2 | Copyright (C) 1986 Free Software Foundation, Inc. | 2 | Copyright (C) 1986, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. |
| 3 | 3 | ||
| 4 | This file is part of GNU Emacs. | 4 | This file is part of GNU Emacs. |
| 5 | 5 | ||
diff --git a/src/m/orion.h b/src/m/orion.h index e4fa8529664..a73b357d50f 100644 --- a/src/m/orion.h +++ b/src/m/orion.h | |||
| @@ -1,5 +1,5 @@ | |||
| 1 | /* machine description file for HLH Orion. | 1 | /* machine description file for HLH Orion. |
| 2 | Copyright (C) 1985, 2002 Free Software Foundation, Inc. | 2 | Copyright (C) 1985, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. |
| 3 | 3 | ||
| 4 | This file is part of GNU Emacs. | 4 | This file is part of GNU Emacs. |
| 5 | 5 | ||
diff --git a/src/m/orion105.h b/src/m/orion105.h index d0adaba70ec..e75a8e67a84 100644 --- a/src/m/orion105.h +++ b/src/m/orion105.h | |||
| @@ -1,5 +1,5 @@ | |||
| 1 | /* machine description file for HLH Orion 1/05 (Clipper). | 1 | /* machine description file for HLH Orion 1/05 (Clipper). |
| 2 | Copyright (C) 1985 Free Software Foundation, Inc. | 2 | Copyright (C) 1985, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. |
| 3 | Lee McLoughlin <lmjm%doc.imperial.ac.uk@nss.cs.ucl.ac.uk> | 3 | Lee McLoughlin <lmjm%doc.imperial.ac.uk@nss.cs.ucl.ac.uk> |
| 4 | 4 | ||
| 5 | This file is part of GNU Emacs. | 5 | This file is part of GNU Emacs. |
diff --git a/src/m/pfa50.h b/src/m/pfa50.h index be430d25fdc..50e79b623ca 100644 --- a/src/m/pfa50.h +++ b/src/m/pfa50.h | |||
| @@ -1,5 +1,6 @@ | |||
| 1 | /* Machine description file for PFU A-series. | 1 | /* Machine description file for PFU A-series. |
| 2 | Copyright (C) 1988, 1999, 2002 Free Software Foundation, Inc. | 2 | Copyright (C) 1988, 1999, 2002, 2003, 2004, |
| 3 | 2005 Free Software Foundation, Inc. | ||
| 3 | 4 | ||
| 4 | This file is part of GNU Emacs. | 5 | This file is part of GNU Emacs. |
| 5 | 6 | ||
diff --git a/src/m/plexus.h b/src/m/plexus.h index a2f6cc545a0..10826a70bc2 100644 --- a/src/m/plexus.h +++ b/src/m/plexus.h | |||
| @@ -1,5 +1,5 @@ | |||
| 1 | /* machine description file for the Plexus running System V.2. | 1 | /* machine description file for the Plexus running System V.2. |
| 2 | Copyright (C) 1986, 2002 Free Software Foundation, Inc. | 2 | Copyright (C) 1986, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. |
| 3 | 3 | ||
| 4 | This file is part of GNU Emacs. | 4 | This file is part of GNU Emacs. |
| 5 | 5 | ||
diff --git a/src/m/powermac.h b/src/m/powermac.h index c41003ae61c..14b2e110734 100644 --- a/src/m/powermac.h +++ b/src/m/powermac.h | |||
| @@ -1,5 +1,5 @@ | |||
| 1 | /* Machine description file for Apple Power Macintosh | 1 | /* Machine description file for Apple Power Macintosh |
| 2 | Copyright (C) 2001 Free Software Foundation, Inc. | 2 | Copyright (C) 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. |
| 3 | 3 | ||
| 4 | This file is part of GNU Emacs. | 4 | This file is part of GNU Emacs. |
| 5 | 5 | ||
diff --git a/src/m/powerpcle.h b/src/m/powerpcle.h index 34096a37d18..1dfd2df25b4 100644 --- a/src/m/powerpcle.h +++ b/src/m/powerpcle.h | |||
| @@ -1,5 +1,5 @@ | |||
| 1 | /* machine description file for PowerPC. | 1 | /* machine description file for PowerPC. |
| 2 | Copyright (C) 1987, 2002 Free Software Foundation, Inc. | 2 | Copyright (C) 1987, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. |
| 3 | 3 | ||
| 4 | This file is part of GNU Emacs. | 4 | This file is part of GNU Emacs. |
| 5 | 5 | ||
diff --git a/src/m/pyramid.h b/src/m/pyramid.h index 7e0db61ec59..12010087a58 100644 --- a/src/m/pyramid.h +++ b/src/m/pyramid.h | |||
| @@ -1,5 +1,6 @@ | |||
| 1 | /* machine description file for pyramid. | 1 | /* machine description file for pyramid. |
| 2 | Copyright (C) 1985, 1986 Free Software Foundation, Inc. | 2 | Copyright (C) 1985, 1986, 2002, 2003, 2004, |
| 3 | 2005 Free Software Foundation, Inc. | ||
| 3 | 4 | ||
| 4 | This file is part of GNU Emacs. | 5 | This file is part of GNU Emacs. |
| 5 | 6 | ||
diff --git a/src/m/sequent-ptx.h b/src/m/sequent-ptx.h index 57d255a861e..3c22639e3b2 100644 --- a/src/m/sequent-ptx.h +++ b/src/m/sequent-ptx.h | |||
| @@ -1,5 +1,6 @@ | |||
| 1 | /* machine description file for SEQUENT machines running DYNIX/ptx | 1 | /* machine description file for SEQUENT machines running DYNIX/ptx |
| 2 | Copyright (C) 1985, 1986, 2002 Free Software Foundation, Inc. | 2 | Copyright (C) 1985, 1986, 2002, 2003, 2004, |
| 3 | 2005 Free Software Foundation, Inc. | ||
| 3 | 4 | ||
| 4 | This file is part of GNU Emacs. | 5 | This file is part of GNU Emacs. |
| 5 | 6 | ||
diff --git a/src/m/sequent.h b/src/m/sequent.h index 7c572f54f68..f082880b4fc 100644 --- a/src/m/sequent.h +++ b/src/m/sequent.h | |||
| @@ -1,5 +1,6 @@ | |||
| 1 | /* machine description file for SEQUENT BALANCE machines | 1 | /* machine description file for SEQUENT BALANCE machines |
| 2 | Copyright (C) 1985, 1986, 2002 Free Software Foundation, Inc. | 2 | Copyright (C) 1985, 1986, 2002, 2003, 2004, |
| 3 | 2005 Free Software Foundation, Inc. | ||
| 3 | 4 | ||
| 4 | This file is part of GNU Emacs. | 5 | This file is part of GNU Emacs. |
| 5 | 6 | ||
diff --git a/src/m/sparc.h b/src/m/sparc.h index 6926aced07b..20ec53c1344 100644 --- a/src/m/sparc.h +++ b/src/m/sparc.h | |||
| @@ -1,5 +1,5 @@ | |||
| 1 | /* machine description file for Sun 4 SPARC. | 1 | /* machine description file for Sun 4 SPARC. |
| 2 | Copyright (C) 1987, 2002 Free Software Foundation, Inc. | 2 | Copyright (C) 1987, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. |
| 3 | 3 | ||
| 4 | This file is part of GNU Emacs. | 4 | This file is part of GNU Emacs. |
| 5 | 5 | ||
diff --git a/src/m/sps7.h b/src/m/sps7.h index 3bd0c94bccd..422d2470aaa 100644 --- a/src/m/sps7.h +++ b/src/m/sps7.h | |||
| @@ -1,5 +1,6 @@ | |||
| 1 | /* machine description file for Bull SPS-7. | 1 | /* machine description file for Bull SPS-7. |
| 2 | Copyright (C) 1986, 1999 Free Software Foundation, Inc. | 2 | Copyright (C) 1986, 1999, 2002, 2003, 2004, |
| 3 | 2005 Free Software Foundation, Inc. | ||
| 3 | 4 | ||
| 4 | This file is part of GNU Emacs. | 5 | This file is part of GNU Emacs. |
| 5 | 6 | ||
diff --git a/src/m/sr2k.h b/src/m/sr2k.h index 83dbf4941ff..875f428dc1f 100644 --- a/src/m/sr2k.h +++ b/src/m/sr2k.h | |||
| @@ -1,5 +1,5 @@ | |||
| 1 | /* machine description file for Hitachi SR2001/SR2201 machines. | 1 | /* machine description file for Hitachi SR2001/SR2201 machines. |
| 2 | Copyright (C) 1996, 2002, 2003 Free Software Foundation, Inc. | 2 | Copyright (C) 1996, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. |
| 3 | 3 | ||
| 4 | This file is part of GNU Emacs. | 4 | This file is part of GNU Emacs. |
| 5 | 5 | ||
diff --git a/src/m/stride.h b/src/m/stride.h index f176a7642a7..ff900d49b38 100644 --- a/src/m/stride.h +++ b/src/m/stride.h | |||
| @@ -1,5 +1,6 @@ | |||
| 1 | /* Definitions file for GNU Emacs running on Stride Micro System-V.2.2 | 1 | /* Definitions file for GNU Emacs running on Stride Micro System-V.2.2 |
| 2 | Copyright (C) 1985, 1986, 1999 Free Software Foundation, Inc. | 2 | Copyright (C) 1985, 1986, 1999, 2002, 2003, 2004, |
| 3 | 2005 Free Software Foundation, Inc. | ||
| 3 | 4 | ||
| 4 | This file is part of GNU Emacs. | 5 | This file is part of GNU Emacs. |
| 5 | 6 | ||
diff --git a/src/m/sun1.h b/src/m/sun1.h index 7ab81218705..810bad7fd58 100644 --- a/src/m/sun1.h +++ b/src/m/sun1.h | |||
| @@ -1,5 +1,6 @@ | |||
| 1 | /* machine description file for Sun 68000's | 1 | /* machine description file for Sun 68000's |
| 2 | Copyright (C) 1985, 1986 Free Software Foundation, Inc. | 2 | Copyright (C) 1985, 1986, 2002, 2003, 2004, |
| 3 | 2005 Free Software Foundation, Inc. | ||
| 3 | 4 | ||
| 4 | This file is part of GNU Emacs. | 5 | This file is part of GNU Emacs. |
| 5 | 6 | ||
diff --git a/src/m/sun2.h b/src/m/sun2.h index 452fdfc7c01..9df032049e3 100644 --- a/src/m/sun2.h +++ b/src/m/sun2.h | |||
| @@ -1,7 +1,8 @@ | |||
| 1 | /* machine description file for Sun 68000's OPERATING SYSTEM version 2. | 1 | /* machine description file for Sun 68000's OPERATING SYSTEM version 2. |
| 2 | Note that "sun2.h" refers to the operating system version, not the | 2 | Note that "sun2.h" refers to the operating system version, not the |
| 3 | CPU model number. See the MACHINES file for details. | 3 | CPU model number. See the MACHINES file for details. |
| 4 | Copyright (C) 1985, 1986 Free Software Foundation, Inc. | 4 | Copyright (C) 1985, 1986, 2002, 2003, 2004, |
| 5 | 2005 Free Software Foundation, Inc. | ||
| 5 | 6 | ||
| 6 | This file is part of GNU Emacs. | 7 | This file is part of GNU Emacs. |
| 7 | 8 | ||
diff --git a/src/m/sun386.h b/src/m/sun386.h index 782e10925ef..5970f90b98b 100644 --- a/src/m/sun386.h +++ b/src/m/sun386.h | |||
| @@ -2,7 +2,7 @@ | |||
| 2 | "sun2.h", but since that file is heavily cpu-specific, it was easier | 2 | "sun2.h", but since that file is heavily cpu-specific, it was easier |
| 3 | not to include it. | 3 | not to include it. |
| 4 | 4 | ||
| 5 | Copyright (C) 1988 Free Software Foundation, Inc. | 5 | Copyright (C) 1988, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. |
| 6 | 6 | ||
| 7 | This file is part of GNU Emacs. | 7 | This file is part of GNU Emacs. |
| 8 | 8 | ||
diff --git a/src/m/symmetry.h b/src/m/symmetry.h index 262d6474757..4954f596442 100644 --- a/src/m/symmetry.h +++ b/src/m/symmetry.h | |||
| @@ -1,5 +1,6 @@ | |||
| 1 | /* machine description file for SEQUENT SYMMETRY machines | 1 | /* machine description file for SEQUENT SYMMETRY machines |
| 2 | Copyright (C) 1985, 1986, 2002 Free Software Foundation, Inc. | 2 | Copyright (C) 1985, 1986, 2002, 2003, 2004, |
| 3 | 2005 Free Software Foundation, Inc. | ||
| 3 | 4 | ||
| 4 | This file is part of GNU Emacs. | 5 | This file is part of GNU Emacs. |
| 5 | 6 | ||
diff --git a/src/m/tad68k.h b/src/m/tad68k.h index 4c904aaf569..b8b3859f407 100644 --- a/src/m/tad68k.h +++ b/src/m/tad68k.h | |||
| @@ -1,5 +1,5 @@ | |||
| 1 | /* Machine-dependent configuration for GNU Emacs for Tadpole 68k machines | 1 | /* Machine-dependent configuration for GNU Emacs for Tadpole 68k machines |
| 2 | Copyright (C) 1986, 2002 Free Software Foundation, Inc. | 2 | Copyright (C) 1986, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. |
| 3 | 3 | ||
| 4 | This file is part of GNU Emacs. | 4 | This file is part of GNU Emacs. |
| 5 | 5 | ||
diff --git a/src/m/tahoe.h b/src/m/tahoe.h index 988624839b4..47db3f93deb 100644 --- a/src/m/tahoe.h +++ b/src/m/tahoe.h | |||
| @@ -1,5 +1,5 @@ | |||
| 1 | /* machine description file for tahoe. | 1 | /* machine description file for tahoe. |
| 2 | Copyright (C) 1985, 2002 Free Software Foundation, Inc. | 2 | Copyright (C) 1985, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. |
| 3 | 3 | ||
| 4 | This file is part of GNU Emacs. | 4 | This file is part of GNU Emacs. |
| 5 | 5 | ||
diff --git a/src/m/targon31.h b/src/m/targon31.h index 08ecb681bd9..5ac18648387 100644 --- a/src/m/targon31.h +++ b/src/m/targon31.h | |||
| @@ -1,5 +1,6 @@ | |||
| 1 | /* targon31 machine description file | 1 | /* targon31 machine description file |
| 2 | Copyright (C) 1985, 1986, 2002 Free Software Foundation, Inc. | 2 | Copyright (C) 1985, 1986, 2002, 2003, 2004, |
| 3 | 2005 Free Software Foundation, Inc. | ||
| 3 | 4 | ||
| 4 | This file is part of GNU Emacs. | 5 | This file is part of GNU Emacs. |
| 5 | 6 | ||
diff --git a/src/m/tek4300.h b/src/m/tek4300.h index 164df72210a..a84135291cb 100644 --- a/src/m/tek4300.h +++ b/src/m/tek4300.h | |||
| @@ -1,5 +1,5 @@ | |||
| 1 | /* machine description file for tek4300. | 1 | /* machine description file for tek4300. |
| 2 | Copyright (C) 1988, 2002 Free Software Foundation, Inc. | 2 | Copyright (C) 1988, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. |
| 3 | 3 | ||
| 4 | This file is part of GNU Emacs. | 4 | This file is part of GNU Emacs. |
| 5 | 5 | ||
diff --git a/src/m/tekxd88.h b/src/m/tekxd88.h index 7af3dab6a07..4db981a8096 100644 --- a/src/m/tekxd88.h +++ b/src/m/tekxd88.h | |||
| @@ -1,7 +1,7 @@ | |||
| 1 | /* Configuration file for the Tektronix XD88 running UTekV 3.2e, | 1 | /* Configuration file for the Tektronix XD88 running UTekV 3.2e, |
| 2 | contributed by Kaveh Ghazi (ghazi@caip.rutgers.edu) 1/15/93. | 2 | contributed by Kaveh Ghazi (ghazi@caip.rutgers.edu) 1/15/93. |
| 3 | You probably need to use gnu make (version 3.63 or higher.) | 3 | You probably need to use gnu make (version 3.63 or higher.) |
| 4 | Copyright (C) 1993, 2002 Free Software Foundation, Inc. | 4 | Copyright (C) 1993, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. |
| 5 | 5 | ||
| 6 | This file is part of GNU Emacs. | 6 | This file is part of GNU Emacs. |
| 7 | 7 | ||
diff --git a/src/m/template.h b/src/m/template.h index c088efff81a..c7ce2c2cb1f 100644 --- a/src/m/template.h +++ b/src/m/template.h | |||
| @@ -1,5 +1,6 @@ | |||
| 1 | /* machine description file template. | 1 | /* machine description file template. |
| 2 | Copyright (C) 1985, 1986, 2002 Free Software Foundation, Inc. | 2 | Copyright (C) 1985, 1986, 2002, 2003, 2004, |
| 3 | 2005 Free Software Foundation, Inc. | ||
| 3 | 4 | ||
| 4 | This file is part of GNU Emacs. | 5 | This file is part of GNU Emacs. |
| 5 | 6 | ||
diff --git a/src/m/tower32.h b/src/m/tower32.h index c5f34d065ea..cd4ab96de11 100644 --- a/src/m/tower32.h +++ b/src/m/tower32.h | |||
| @@ -1,5 +1,5 @@ | |||
| 1 | /* machine description file for the NCR Tower 32 running System V.2. | 1 | /* machine description file for the NCR Tower 32 running System V.2. |
| 2 | Copyright (C) 1986, 2002 Free Software Foundation, Inc. | 2 | Copyright (C) 1986, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. |
| 3 | 3 | ||
| 4 | This file is part of GNU Emacs. | 4 | This file is part of GNU Emacs. |
| 5 | 5 | ||
diff --git a/src/m/tower32v3.h b/src/m/tower32v3.h index 927dfca93d9..2c1e55c0023 100644 --- a/src/m/tower32v3.h +++ b/src/m/tower32v3.h | |||
| @@ -1,5 +1,5 @@ | |||
| 1 | /* machine description file for the NCR Tower 32 running System V.3. | 1 | /* machine description file for the NCR Tower 32 running System V.3. |
| 2 | Copyright (C) 1986, 2002 Free Software Foundation, Inc. | 2 | Copyright (C) 1986, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. |
| 3 | 3 | ||
| 4 | This file is part of GNU Emacs. | 4 | This file is part of GNU Emacs. |
| 5 | 5 | ||
diff --git a/src/m/ustation.h b/src/m/ustation.h index e7068f3cd86..c62d37d6429 100644 --- a/src/m/ustation.h +++ b/src/m/ustation.h | |||
| @@ -1,5 +1,6 @@ | |||
| 1 | /* machine description file for U-station (Nihon Unisys, SS5E; Sumitomo Denkoh, U-Station E30). | 1 | /* machine description file for U-station (Nihon Unisys, SS5E; Sumitomo Denkoh, U-Station E30). |
| 2 | Copyright (C) 1986, 1999, 2002 Free Software Foundation, Inc. | 2 | Copyright (C) 1986, 1999, 2002, 2003, 2004, |
| 3 | 2005 Free Software Foundation, Inc. | ||
| 3 | 4 | ||
| 4 | This file is part of GNU Emacs. | 5 | This file is part of GNU Emacs. |
| 5 | 6 | ||
diff --git a/src/m/vax.h b/src/m/vax.h index 22fda95abc5..d414d6b57e7 100644 --- a/src/m/vax.h +++ b/src/m/vax.h | |||
| @@ -1,5 +1,6 @@ | |||
| 1 | /* machine description file for vax. | 1 | /* machine description file for vax. |
| 2 | Copyright (C) 1985, 1986, 2002 Free Software Foundation, Inc. | 2 | Copyright (C) 1985, 1986, 2002, 2003, 2004, |
| 3 | 2005 Free Software Foundation, Inc. | ||
| 3 | 4 | ||
| 4 | This file is part of GNU Emacs. | 5 | This file is part of GNU Emacs. |
| 5 | 6 | ||
diff --git a/src/m/wicat.h b/src/m/wicat.h index bd8fcefe99c..78842f32a43 100644 --- a/src/m/wicat.h +++ b/src/m/wicat.h | |||
| @@ -1,5 +1,5 @@ | |||
| 1 | /* machine description file for WICAT machines. | 1 | /* machine description file for WICAT machines. |
| 2 | Copyright (C) 1986, 2002 Free Software Foundation, Inc. | 2 | Copyright (C) 1986, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. |
| 3 | 3 | ||
| 4 | This file is part of GNU Emacs. | 4 | This file is part of GNU Emacs. |
| 5 | 5 | ||
diff --git a/src/m/windowsnt.h b/src/m/windowsnt.h index 39c7baa9de6..cf48ca8aa88 100644 --- a/src/m/windowsnt.h +++ b/src/m/windowsnt.h | |||
| @@ -1,6 +1,7 @@ | |||
| 1 | /* Machine description file for Windows NT. | 1 | /* Machine description file for Windows NT. |
| 2 | 2 | ||
| 3 | Copyright (C) 1993, 1994, 2002 Free Software Foundation, Inc. | 3 | Copyright (C) 1993, 1994, 2002, 2003, 2004, |
| 4 | 2005 Free Software Foundation, Inc. | ||
| 4 | 5 | ||
| 5 | This file is part of GNU Emacs. | 6 | This file is part of GNU Emacs. |
| 6 | 7 | ||
diff --git a/src/m/xps100.h b/src/m/xps100.h index c6e54710bd6..3a851aa9ebd 100644 --- a/src/m/xps100.h +++ b/src/m/xps100.h | |||
| @@ -1,7 +1,8 @@ | |||
| 1 | /* xps100.h for the Honeywell XPS100 running UNIX System V.2 | 1 | /* xps100.h for the Honeywell XPS100 running UNIX System V.2 |
| 2 | Mark J. Hewitt (mjh@uk.co.kernel) | 2 | Mark J. Hewitt (mjh@uk.co.kernel) |
| 3 | 3 | ||
| 4 | Copyright (C) 1985, 1986, 2002 Free Software Foundation, Inc. | 4 | Copyright (C) 1985, 1986, 2002, 2003, 2004, |
| 5 | 2005 Free Software Foundation, Inc. | ||
| 5 | 6 | ||
| 6 | This file is part of GNU Emacs. | 7 | This file is part of GNU Emacs. |
| 7 | 8 | ||
| @@ -1,5 +1,6 @@ | |||
| 1 | /* Unix emulation routines for GNU Emacs on the Mac OS. | 1 | /* Unix emulation routines for GNU Emacs on the Mac OS. |
| 2 | Copyright (C) 2000, 2001, 2005 Free Software Foundation, Inc. | 2 | Copyright (C) 2000, 2001, 2002, 2003, 2004, |
| 3 | 2005 Free Software Foundation, Inc. | ||
| 3 | 4 | ||
| 4 | This file is part of GNU Emacs. | 5 | This file is part of GNU Emacs. |
| 5 | 6 | ||
diff --git a/src/macfns.c b/src/macfns.c index 615c312f3ac..13cb563c156 100644 --- a/src/macfns.c +++ b/src/macfns.c | |||
| @@ -1,5 +1,5 @@ | |||
| 1 | /* Graphical user interface functions for Mac OS. | 1 | /* Graphical user interface functions for Mac OS. |
| 2 | Copyright (C) 2000, 2001, 2004 Free Software Foundation, Inc. | 2 | Copyright (C) 2000, 2001, 2002, 2003, 2004 Free Software Foundation, Inc. |
| 3 | 3 | ||
| 4 | This file is part of GNU Emacs. | 4 | This file is part of GNU Emacs. |
| 5 | 5 | ||
diff --git a/src/macgui.h b/src/macgui.h index ca55bad7a8c..9591b7a8e3d 100644 --- a/src/macgui.h +++ b/src/macgui.h | |||
| @@ -1,5 +1,6 @@ | |||
| 1 | /* Definitions and headers for communication on the Mac OS. | 1 | /* Definitions and headers for communication on the Mac OS. |
| 2 | Copyright (C) 2000, 2001 Free Software Foundation, Inc. | 2 | Copyright (C) 2000, 2001, 2002, 2003, 2004, |
| 3 | 2005 Free Software Foundation, Inc. | ||
| 3 | 4 | ||
| 4 | This file is part of GNU Emacs. | 5 | This file is part of GNU Emacs. |
| 5 | 6 | ||
diff --git a/src/macmenu.c b/src/macmenu.c index c7ee0dfaf21..a68ff04e405 100644 --- a/src/macmenu.c +++ b/src/macmenu.c | |||
| @@ -1,5 +1,6 @@ | |||
| 1 | /* Menu support for GNU Emacs on the for Mac OS. | 1 | /* Menu support for GNU Emacs on the for Mac OS. |
| 2 | Copyright (C) 2000, 2001, 2002, 2003 Free Software Foundation, Inc. | 2 | Copyright (C) 2000, 2001, 2002, 2003, 2004, |
| 3 | 2005 Free Software Foundation, Inc. | ||
| 3 | 4 | ||
| 4 | This file is part of GNU Emacs. | 5 | This file is part of GNU Emacs. |
| 5 | 6 | ||
diff --git a/src/macros.c b/src/macros.c index 6f854018d6a..8167e274dab 100644 --- a/src/macros.c +++ b/src/macros.c | |||
| @@ -1,5 +1,6 @@ | |||
| 1 | /* Keyboard macros. | 1 | /* Keyboard macros. |
| 2 | Copyright (C) 1985, 1986, 1993, 2000, 2001 Free Software Foundation, Inc. | 2 | Copyright (C) 1985, 1986, 1993, 2000, 2001, 2002, 2003, 2004, |
| 3 | 2005 Free Software Foundation, Inc. | ||
| 3 | 4 | ||
| 4 | This file is part of GNU Emacs. | 5 | This file is part of GNU Emacs. |
| 5 | 6 | ||
diff --git a/src/macros.h b/src/macros.h index d9b99b9984e..7acd46dc2ed 100644 --- a/src/macros.h +++ b/src/macros.h | |||
| @@ -1,5 +1,5 @@ | |||
| 1 | /* Definitions for keyboard macro interpretation in GNU Emacs. | 1 | /* Definitions for keyboard macro interpretation in GNU Emacs. |
| 2 | Copyright (C) 1985 Free Software Foundation, Inc. | 2 | Copyright (C) 1985, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. |
| 3 | 3 | ||
| 4 | This file is part of GNU Emacs. | 4 | This file is part of GNU Emacs. |
| 5 | 5 | ||
diff --git a/src/macterm.c b/src/macterm.c index 5b7d3ee2262..099b69bfb09 100644 --- a/src/macterm.c +++ b/src/macterm.c | |||
| @@ -1,5 +1,6 @@ | |||
| 1 | /* Implementation of GUI terminal on the Mac OS. | 1 | /* Implementation of GUI terminal on the Mac OS. |
| 2 | Copyright (C) 2000, 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. | 2 | Copyright (C) 2000, 2001, 2002, 2003, 2004, |
| 3 | 2005 Free Software Foundation, Inc. | ||
| 3 | 4 | ||
| 4 | This file is part of GNU Emacs. | 5 | This file is part of GNU Emacs. |
| 5 | 6 | ||
| @@ -797,6 +798,8 @@ mac_copy_area (display, src, dest, gc, src_x, src_y, width, height, dest_x, | |||
| 797 | &src_r, &dest_r, srcCopy, 0); | 798 | &src_r, &dest_r, srcCopy, 0); |
| 798 | #endif /* not TARGET_API_MAC_CARBON */ | 799 | #endif /* not TARGET_API_MAC_CARBON */ |
| 799 | UnlockPixels (GetGWorldPixMap (src)); | 800 | UnlockPixels (GetGWorldPixMap (src)); |
| 801 | |||
| 802 | RGBBackColor (GC_BACK_COLOR (MAC_WINDOW_NORMAL_GC (dest))); | ||
| 800 | } | 803 | } |
| 801 | 804 | ||
| 802 | 805 | ||
| @@ -835,6 +838,8 @@ mac_copy_area_with_mask (display, src, mask, dest, gc, src_x, src_y, | |||
| 835 | #endif /* not TARGET_API_MAC_CARBON */ | 838 | #endif /* not TARGET_API_MAC_CARBON */ |
| 836 | UnlockPixels (GetGWorldPixMap (mask)); | 839 | UnlockPixels (GetGWorldPixMap (mask)); |
| 837 | UnlockPixels (GetGWorldPixMap (src)); | 840 | UnlockPixels (GetGWorldPixMap (src)); |
| 841 | |||
| 842 | RGBBackColor (GC_BACK_COLOR (MAC_WINDOW_NORMAL_GC (dest))); | ||
| 838 | } | 843 | } |
| 839 | 844 | ||
| 840 | 845 | ||
| @@ -5661,6 +5666,53 @@ XTframe_raise_lower (f, raise_flag) | |||
| 5661 | 5666 | ||
| 5662 | /* Change of visibility. */ | 5667 | /* Change of visibility. */ |
| 5663 | 5668 | ||
| 5669 | static void | ||
| 5670 | mac_handle_visibility_change (f) | ||
| 5671 | struct frame *f; | ||
| 5672 | { | ||
| 5673 | WindowPtr wp = FRAME_MAC_WINDOW (f); | ||
| 5674 | int visible = 0, iconified = 0; | ||
| 5675 | struct input_event buf; | ||
| 5676 | |||
| 5677 | if (IsWindowVisible (wp)) | ||
| 5678 | if (IsWindowCollapsed (wp)) | ||
| 5679 | iconified = 1; | ||
| 5680 | else | ||
| 5681 | visible = 1; | ||
| 5682 | |||
| 5683 | if (!f->async_visible && visible) | ||
| 5684 | { | ||
| 5685 | if (f->iconified) | ||
| 5686 | { | ||
| 5687 | /* wait_reading_process_output will notice this and update | ||
| 5688 | the frame's display structures. If we were made | ||
| 5689 | invisible, we should not set garbaged, because that stops | ||
| 5690 | redrawing on Update events. */ | ||
| 5691 | SET_FRAME_GARBAGED (f); | ||
| 5692 | |||
| 5693 | EVENT_INIT (buf); | ||
| 5694 | buf.kind = DEICONIFY_EVENT; | ||
| 5695 | XSETFRAME (buf.frame_or_window, f); | ||
| 5696 | kbd_buffer_store_event (&buf); | ||
| 5697 | } | ||
| 5698 | else if (! NILP (Vframe_list) && ! NILP (XCDR (Vframe_list))) | ||
| 5699 | /* Force a redisplay sooner or later to update the | ||
| 5700 | frame titles in case this is the second frame. */ | ||
| 5701 | record_asynch_buffer_change (); | ||
| 5702 | } | ||
| 5703 | else if (f->async_visible && !visible) | ||
| 5704 | if (iconified) | ||
| 5705 | { | ||
| 5706 | EVENT_INIT (buf); | ||
| 5707 | buf.kind = ICONIFY_EVENT; | ||
| 5708 | XSETFRAME (buf.frame_or_window, f); | ||
| 5709 | kbd_buffer_store_event (&buf); | ||
| 5710 | } | ||
| 5711 | |||
| 5712 | f->async_visible = visible; | ||
| 5713 | f->async_iconified = iconified; | ||
| 5714 | } | ||
| 5715 | |||
| 5664 | /* This tries to wait until the frame is really visible. | 5716 | /* This tries to wait until the frame is really visible. |
| 5665 | However, if the window manager asks the user where to position | 5717 | However, if the window manager asks the user where to position |
| 5666 | the frame, this will return before the user finishes doing that. | 5718 | the frame, this will return before the user finishes doing that. |
| @@ -5685,29 +5737,32 @@ x_make_frame_visible (f) | |||
| 5685 | before the window gets really visible. */ | 5737 | before the window gets really visible. */ |
| 5686 | if (! FRAME_ICONIFIED_P (f) | 5738 | if (! FRAME_ICONIFIED_P (f) |
| 5687 | && ! f->output_data.mac->asked_for_visible) | 5739 | && ! f->output_data.mac->asked_for_visible) |
| 5688 | x_set_offset (f, f->left_pos, f->top_pos, 0); | ||
| 5689 | |||
| 5690 | f->output_data.mac->asked_for_visible = 1; | ||
| 5691 | |||
| 5692 | #if TARGET_API_MAC_CARBON | 5740 | #if TARGET_API_MAC_CARBON |
| 5693 | if (!(FRAME_SIZE_HINTS (f)->flags & (USPosition | PPosition))) | 5741 | if (!(FRAME_SIZE_HINTS (f)->flags & (USPosition | PPosition))) |
| 5694 | { | 5742 | { |
| 5695 | struct frame *sf = SELECTED_FRAME (); | 5743 | struct frame *sf = SELECTED_FRAME (); |
| 5696 | if (!FRAME_MAC_P (sf)) | 5744 | if (!FRAME_MAC_P (sf)) |
| 5697 | RepositionWindow (FRAME_MAC_WINDOW (f), NULL, | 5745 | RepositionWindow (FRAME_MAC_WINDOW (f), NULL, |
| 5698 | kWindowCenterOnMainScreen); | 5746 | kWindowCenterOnMainScreen); |
| 5699 | else | 5747 | else |
| 5700 | RepositionWindow (FRAME_MAC_WINDOW (f), | 5748 | RepositionWindow (FRAME_MAC_WINDOW (f), |
| 5701 | FRAME_MAC_WINDOW (sf), | 5749 | FRAME_MAC_WINDOW (sf), |
| 5702 | #if MAC_OS_X_VERSION_MAX_ALLOWED >= 1020 | 5750 | #if MAC_OS_X_VERSION_MAX_ALLOWED >= 1020 |
| 5703 | kWindowCascadeStartAtParentWindowScreen | 5751 | kWindowCascadeStartAtParentWindowScreen |
| 5704 | #else | 5752 | #else |
| 5705 | kWindowCascadeOnParentWindowScreen | 5753 | kWindowCascadeOnParentWindowScreen |
| 5706 | #endif | 5754 | #endif |
| 5707 | ); | 5755 | ); |
| 5708 | x_real_positions (f, &f->left_pos, &f->top_pos); | 5756 | x_real_positions (f, &f->left_pos, &f->top_pos); |
| 5709 | } | 5757 | } |
| 5758 | else | ||
| 5710 | #endif | 5759 | #endif |
| 5760 | x_set_offset (f, f->left_pos, f->top_pos, 0); | ||
| 5761 | |||
| 5762 | f->output_data.mac->asked_for_visible = 1; | ||
| 5763 | |||
| 5764 | SelectWindow (FRAME_MAC_WINDOW (f)); | ||
| 5765 | CollapseWindow (FRAME_MAC_WINDOW (f), false); | ||
| 5711 | ShowWindow (FRAME_MAC_WINDOW (f)); | 5766 | ShowWindow (FRAME_MAC_WINDOW (f)); |
| 5712 | } | 5767 | } |
| 5713 | 5768 | ||
| @@ -5766,9 +5821,14 @@ void | |||
| 5766 | x_make_frame_invisible (f) | 5821 | x_make_frame_invisible (f) |
| 5767 | struct frame *f; | 5822 | struct frame *f; |
| 5768 | { | 5823 | { |
| 5824 | /* A deactivate event does not occur when the last visible frame is | ||
| 5825 | made invisible. So if we clear the highlight here, it will not | ||
| 5826 | be rehighlighted when it is made visible. */ | ||
| 5827 | #if 0 | ||
| 5769 | /* Don't keep the highlight on an invisible frame. */ | 5828 | /* Don't keep the highlight on an invisible frame. */ |
| 5770 | if (FRAME_MAC_DISPLAY_INFO (f)->x_highlight_frame == f) | 5829 | if (FRAME_MAC_DISPLAY_INFO (f)->x_highlight_frame == f) |
| 5771 | FRAME_MAC_DISPLAY_INFO (f)->x_highlight_frame = 0; | 5830 | FRAME_MAC_DISPLAY_INFO (f)->x_highlight_frame = 0; |
| 5831 | #endif | ||
| 5772 | 5832 | ||
| 5773 | BLOCK_INPUT; | 5833 | BLOCK_INPUT; |
| 5774 | 5834 | ||
| @@ -5781,17 +5841,11 @@ x_make_frame_invisible (f) | |||
| 5781 | 5841 | ||
| 5782 | HideWindow (FRAME_MAC_WINDOW (f)); | 5842 | HideWindow (FRAME_MAC_WINDOW (f)); |
| 5783 | 5843 | ||
| 5784 | /* We can't distinguish this from iconification | ||
| 5785 | just by the event that we get from the server. | ||
| 5786 | So we can't win using the usual strategy of letting | ||
| 5787 | FRAME_SAMPLE_VISIBILITY set this. So do it by hand, | ||
| 5788 | and synchronize with the server to make sure we agree. */ | ||
| 5789 | f->visible = 0; | ||
| 5790 | FRAME_ICONIFIED_P (f) = 0; | ||
| 5791 | f->async_visible = 0; | ||
| 5792 | f->async_iconified = 0; | ||
| 5793 | |||
| 5794 | UNBLOCK_INPUT; | 5844 | UNBLOCK_INPUT; |
| 5845 | |||
| 5846 | #if !USE_CARBON_EVENTS | ||
| 5847 | mac_handle_visibility_change (f); | ||
| 5848 | #endif | ||
| 5795 | } | 5849 | } |
| 5796 | 5850 | ||
| 5797 | /* Change window state from mapped to iconified. */ | 5851 | /* Change window state from mapped to iconified. */ |
| @@ -5800,21 +5854,37 @@ void | |||
| 5800 | x_iconify_frame (f) | 5854 | x_iconify_frame (f) |
| 5801 | struct frame *f; | 5855 | struct frame *f; |
| 5802 | { | 5856 | { |
| 5857 | OSErr err; | ||
| 5858 | |||
| 5859 | /* A deactivate event does not occur when the last visible frame is | ||
| 5860 | iconified. So if we clear the highlight here, it will not be | ||
| 5861 | rehighlighted when it is deiconified. */ | ||
| 5862 | #if 0 | ||
| 5803 | /* Don't keep the highlight on an invisible frame. */ | 5863 | /* Don't keep the highlight on an invisible frame. */ |
| 5804 | if (FRAME_MAC_DISPLAY_INFO (f)->x_highlight_frame == f) | 5864 | if (FRAME_MAC_DISPLAY_INFO (f)->x_highlight_frame == f) |
| 5805 | FRAME_MAC_DISPLAY_INFO (f)->x_highlight_frame = 0; | 5865 | FRAME_MAC_DISPLAY_INFO (f)->x_highlight_frame = 0; |
| 5866 | #endif | ||
| 5806 | 5867 | ||
| 5807 | #if 0 | ||
| 5808 | /* Review: Since window is still visible in dock, still allow updates? */ | ||
| 5809 | if (f->async_iconified) | 5868 | if (f->async_iconified) |
| 5810 | return; | 5869 | return; |
| 5811 | #endif | ||
| 5812 | 5870 | ||
| 5813 | BLOCK_INPUT; | 5871 | BLOCK_INPUT; |
| 5814 | 5872 | ||
| 5815 | CollapseWindow (FRAME_MAC_WINDOW (f), true); | 5873 | FRAME_SAMPLE_VISIBILITY (f); |
| 5874 | |||
| 5875 | if (! FRAME_VISIBLE_P (f)) | ||
| 5876 | ShowWindow (FRAME_MAC_WINDOW (f)); | ||
| 5877 | |||
| 5878 | err = CollapseWindow (FRAME_MAC_WINDOW (f), true); | ||
| 5816 | 5879 | ||
| 5817 | UNBLOCK_INPUT; | 5880 | UNBLOCK_INPUT; |
| 5881 | |||
| 5882 | if (err != noErr) | ||
| 5883 | error ("Can't notify window manager of iconification"); | ||
| 5884 | |||
| 5885 | #if !USE_CARBON_EVENTS | ||
| 5886 | mac_handle_visibility_change (f); | ||
| 5887 | #endif | ||
| 5818 | } | 5888 | } |
| 5819 | 5889 | ||
| 5820 | 5890 | ||
| @@ -7212,7 +7282,7 @@ x_load_font (f, fontname, size) | |||
| 7212 | 7282 | ||
| 7213 | /* Set global flag fonts_changed_p to non-zero if the font loaded | 7283 | /* Set global flag fonts_changed_p to non-zero if the font loaded |
| 7214 | has a character with a smaller width than any other character | 7284 | has a character with a smaller width than any other character |
| 7215 | before, or if the font loaded has a smalle>r height than any | 7285 | before, or if the font loaded has a smaller height than any |
| 7216 | other font loaded before. If this happens, it will make a | 7286 | other font loaded before. If this happens, it will make a |
| 7217 | glyph matrix reallocation necessary. */ | 7287 | glyph matrix reallocation necessary. */ |
| 7218 | fonts_changed_p |= x_compute_min_glyph_bounds (f); | 7288 | fonts_changed_p |= x_compute_min_glyph_bounds (f); |
| @@ -7343,12 +7413,12 @@ Lisp_Object Vmac_pass_command_to_system; | |||
| 7343 | /* If Non-nil, the Mac "Control" key is passed on to the Mac Toolbox | 7413 | /* If Non-nil, the Mac "Control" key is passed on to the Mac Toolbox |
| 7344 | for processing before Emacs sees it. */ | 7414 | for processing before Emacs sees it. */ |
| 7345 | Lisp_Object Vmac_pass_control_to_system; | 7415 | Lisp_Object Vmac_pass_control_to_system; |
| 7416 | #endif | ||
| 7346 | 7417 | ||
| 7347 | /* Points to the variable `inev' in the function XTread_socket. It is | 7418 | /* Points to the variable `inev' in the function XTread_socket. It is |
| 7348 | used for passing an input event to the function back from | 7419 | used for passing an input event to the function back from |
| 7349 | Carbon/Apple event handlers. */ | 7420 | Carbon/Apple event handlers. */ |
| 7350 | static struct input_event *read_socket_inev = NULL; | 7421 | static struct input_event *read_socket_inev = NULL; |
| 7351 | #endif | ||
| 7352 | 7422 | ||
| 7353 | /* Set in term/mac-win.el to indicate that event loop can now generate | 7423 | /* Set in term/mac-win.el to indicate that event loop can now generate |
| 7354 | drag and drop events. */ | 7424 | drag and drop events. */ |
| @@ -7633,37 +7703,30 @@ do_window_update (WindowPtr win) | |||
| 7633 | { | 7703 | { |
| 7634 | if (f->async_visible == 0) | 7704 | if (f->async_visible == 0) |
| 7635 | { | 7705 | { |
| 7706 | /* Update events may occur when a frame gets iconified. */ | ||
| 7707 | #if 0 | ||
| 7636 | f->async_visible = 1; | 7708 | f->async_visible = 1; |
| 7637 | f->async_iconified = 0; | 7709 | f->async_iconified = 0; |
| 7638 | SET_FRAME_GARBAGED (f); | 7710 | SET_FRAME_GARBAGED (f); |
| 7639 | 7711 | #endif | |
| 7640 | /* An update event is equivalent to MapNotify on X, so report | ||
| 7641 | visibility changes properly. */ | ||
| 7642 | if (! NILP(Vframe_list) && ! NILP (XCDR (Vframe_list))) | ||
| 7643 | /* Force a redisplay sooner or later to update the | ||
| 7644 | frame titles in case this is the second frame. */ | ||
| 7645 | record_asynch_buffer_change (); | ||
| 7646 | } | 7712 | } |
| 7647 | else | 7713 | else |
| 7648 | { | 7714 | { |
| 7649 | Rect r; | 7715 | Rect r; |
| 7650 | |||
| 7651 | #if TARGET_API_MAC_CARBON | 7716 | #if TARGET_API_MAC_CARBON |
| 7652 | { | 7717 | RgnHandle region = NewRgn (); |
| 7653 | RgnHandle region = NewRgn (); | ||
| 7654 | 7718 | ||
| 7655 | GetPortVisibleRegion (GetWindowPort (win), region); | 7719 | GetPortVisibleRegion (GetWindowPort (win), region); |
| 7656 | GetRegionBounds (region, &r); | 7720 | GetRegionBounds (region, &r); |
| 7657 | expose_frame (f, r.left, r.top, r.right - r.left, r.bottom - r.top); | 7721 | expose_frame (f, r.left, r.top, r.right - r.left, r.bottom - r.top); |
| 7658 | UpdateControls (win, region); | 7722 | UpdateControls (win, region); |
| 7659 | DisposeRgn (region); | 7723 | DisposeRgn (region); |
| 7660 | } | ||
| 7661 | #else | 7724 | #else |
| 7662 | r = (*win->visRgn)->rgnBBox; | 7725 | r = (*win->visRgn)->rgnBBox; |
| 7663 | expose_frame (f, r.left, r.top, r.right - r.left, r.bottom - r.top); | 7726 | expose_frame (f, r.left, r.top, r.right - r.left, r.bottom - r.top); |
| 7664 | UpdateControls (win, win->visRgn); | 7727 | UpdateControls (win, win->visRgn); |
| 7665 | #endif | 7728 | #endif |
| 7666 | } | 7729 | } |
| 7667 | } | 7730 | } |
| 7668 | 7731 | ||
| 7669 | EndUpdate (win); | 7732 | EndUpdate (win); |
| @@ -8195,6 +8258,17 @@ mac_handle_window_event (next_handler, event, data) | |||
| 8195 | return noErr; | 8258 | return noErr; |
| 8196 | } | 8259 | } |
| 8197 | break; | 8260 | break; |
| 8261 | |||
| 8262 | case kEventWindowShown: | ||
| 8263 | case kEventWindowHidden: | ||
| 8264 | case kEventWindowExpanded: | ||
| 8265 | case kEventWindowCollapsed: | ||
| 8266 | result = CallNextEventHandler (next_handler, event); | ||
| 8267 | |||
| 8268 | mac_handle_visibility_change (mac_window_to_frame (wp)); | ||
| 8269 | return noErr; | ||
| 8270 | |||
| 8271 | break; | ||
| 8198 | } | 8272 | } |
| 8199 | 8273 | ||
| 8200 | return eventNotHandledErr; | 8274 | return eventNotHandledErr; |
| @@ -8270,7 +8344,11 @@ install_window_handler (window) | |||
| 8270 | #if USE_CARBON_EVENTS | 8344 | #if USE_CARBON_EVENTS |
| 8271 | EventTypeSpec specs_window[] = | 8345 | EventTypeSpec specs_window[] = |
| 8272 | {{kEventClassWindow, kEventWindowUpdate}, | 8346 | {{kEventClassWindow, kEventWindowUpdate}, |
| 8273 | {kEventClassWindow, kEventWindowBoundsChanging}}; | 8347 | {kEventClassWindow, kEventWindowBoundsChanging}, |
| 8348 | {kEventClassWindow, kEventWindowShown}, | ||
| 8349 | {kEventClassWindow, kEventWindowHidden}, | ||
| 8350 | {kEventClassWindow, kEventWindowExpanded}, | ||
| 8351 | {kEventClassWindow, kEventWindowCollapsed}}; | ||
| 8274 | EventTypeSpec specs_mouse[] = {{kEventClassMouse, kEventMouseWheelMoved}}; | 8352 | EventTypeSpec specs_mouse[] = {{kEventClassMouse, kEventMouseWheelMoved}}; |
| 8275 | static EventHandlerUPP handle_window_eventUPP = NULL; | 8353 | static EventHandlerUPP handle_window_eventUPP = NULL; |
| 8276 | static EventHandlerUPP handle_mouse_eventUPP = NULL; | 8354 | static EventHandlerUPP handle_mouse_eventUPP = NULL; |
| @@ -9479,6 +9557,29 @@ XTread_socket (sd, expected, hold_quit) | |||
| 9479 | pending_autoraise_frame = 0; | 9557 | pending_autoraise_frame = 0; |
| 9480 | } | 9558 | } |
| 9481 | 9559 | ||
| 9560 | #if !USE_CARBON_EVENTS | ||
| 9561 | /* Check which frames are still visible. We do this here because | ||
| 9562 | there doesn't seem to be any direct notification from the Window | ||
| 9563 | Manager that the visibility of a window has changed (at least, | ||
| 9564 | not in all cases). */ | ||
| 9565 | { | ||
| 9566 | Lisp_Object tail, frame; | ||
| 9567 | |||
| 9568 | FOR_EACH_FRAME (tail, frame) | ||
| 9569 | { | ||
| 9570 | struct frame *f = XFRAME (frame); | ||
| 9571 | |||
| 9572 | /* The tooltip has been drawn already. Avoid the | ||
| 9573 | SET_FRAME_GARBAGED in mac_handle_visibility_change. */ | ||
| 9574 | if (EQ (frame, tip_frame)) | ||
| 9575 | continue; | ||
| 9576 | |||
| 9577 | if (FRAME_MAC_P (f)) | ||
| 9578 | mac_handle_visibility_change (f); | ||
| 9579 | } | ||
| 9580 | } | ||
| 9581 | #endif | ||
| 9582 | |||
| 9482 | UNBLOCK_INPUT; | 9583 | UNBLOCK_INPUT; |
| 9483 | return count; | 9584 | return count; |
| 9484 | } | 9585 | } |
diff --git a/src/macterm.h b/src/macterm.h index 71cd4db82c0..a4af9381867 100644 --- a/src/macterm.h +++ b/src/macterm.h | |||
| @@ -1,5 +1,6 @@ | |||
| 1 | /* Display module for Mac OS. | 1 | /* Display module for Mac OS. |
| 2 | Copyright (C) 2000, 2001 Free Software Foundation, Inc. | 2 | Copyright (C) 2000, 2001, 2002, 2003, 2004, |
| 3 | 2005 Free Software Foundation, Inc. | ||
| 3 | 4 | ||
| 4 | This file is part of GNU Emacs. | 5 | This file is part of GNU Emacs. |
| 5 | 6 | ||
diff --git a/src/makefile.w32-in b/src/makefile.w32-in index 1418dd64cfd..40c50f8e567 100644 --- a/src/makefile.w32-in +++ b/src/makefile.w32-in | |||
| @@ -1,5 +1,6 @@ | |||
| 1 | # -*- Makefile -*- for GNU Emacs on the Microsoft W32 API. | 1 | # -*- Makefile -*- for GNU Emacs on the Microsoft W32 API. |
| 2 | # Copyright (c) 2000-2001, 2004 Free Software Foundation, Inc. | 2 | # Copyright (C) 2000, 2001, 2002, 2003, 2004, |
| 3 | # 2005 Free Software Foundation, Inc. | ||
| 3 | # | 4 | # |
| 4 | # This file is part of GNU Emacs. | 5 | # This file is part of GNU Emacs. |
| 5 | # | 6 | # |
diff --git a/src/marker.c b/src/marker.c index 4184e9af2b3..9b85930f357 100644 --- a/src/marker.c +++ b/src/marker.c | |||
| @@ -1,5 +1,6 @@ | |||
| 1 | /* Markers: examining, setting and deleting. | 1 | /* Markers: examining, setting and deleting. |
| 2 | Copyright (C) 1985, 1997, 1998, 2003 Free Software Foundation, Inc. | 2 | Copyright (C) 1985, 1997, 1998, 2002, 2003, 2004, |
| 3 | 2005 Free Software Foundation, Inc. | ||
| 3 | 4 | ||
| 4 | This file is part of GNU Emacs. | 5 | This file is part of GNU Emacs. |
| 5 | 6 | ||
| @@ -1,6 +1,7 @@ | |||
| 1 | /* Functions to compute MD5 message digest of files or memory blocks. | 1 | /* Functions to compute MD5 message digest of files or memory blocks. |
| 2 | according to the definition of MD5 in RFC 1321 from April 1992. | 2 | according to the definition of MD5 in RFC 1321 from April 1992. |
| 3 | Copyright (C) 1995, 1996, 1997, 1999, 2000 Free Software Foundation, Inc. | 3 | Copyright (C) 1995, 1996, 1997, 1999, 2000, 2002, 2003, 2004, |
| 4 | 2005 Free Software Foundation, Inc. | ||
| 4 | This file is part of the GNU Emacs. | 5 | This file is part of the GNU Emacs. |
| 5 | 6 | ||
| 6 | The GNU C Library is free software; you can redistribute it and/or | 7 | The GNU C Library is free software; you can redistribute it and/or |
| @@ -1,6 +1,7 @@ | |||
| 1 | /* Declaration of functions and data types used for MD5 sum computing | 1 | /* Declaration of functions and data types used for MD5 sum computing |
| 2 | library functions. | 2 | library functions. |
| 3 | Copyright (C) 1995, 1996, 1997, 1999, 2000 Free Software Foundation, Inc. | 3 | Copyright (C) 1995, 1996, 1997, 1999, 2000, 2002, 2003, 2004, |
| 4 | 2005 Free Software Foundation, Inc. | ||
| 4 | This file is part of GNU Emacs. | 5 | This file is part of GNU Emacs. |
| 5 | 6 | ||
| 6 | The GNU C Library is free software; you can redistribute it and/or | 7 | The GNU C Library is free software; you can redistribute it and/or |
diff --git a/src/mem-limits.h b/src/mem-limits.h index aac8a396172..d7ac6a3e366 100644 --- a/src/mem-limits.h +++ b/src/mem-limits.h | |||
| @@ -1,5 +1,6 @@ | |||
| 1 | /* Includes for memory limit warnings. | 1 | /* Includes for memory limit warnings. |
| 2 | Copyright (C) 1990, 93, 94, 95, 1996, 2004 Free Software Foundation, Inc. | 2 | Copyright (C) 1990, 1993, 1994, 1995, 1996, 2002, 2003, 2004, |
| 3 | 2005 Free Software Foundation, Inc. | ||
| 3 | 4 | ||
| 4 | This file is part of GNU Emacs. | 5 | This file is part of GNU Emacs. |
| 5 | 6 | ||
diff --git a/src/minibuf.c b/src/minibuf.c index 2a54fae8b01..c0624bd29b4 100644 --- a/src/minibuf.c +++ b/src/minibuf.c | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | /* Minibuffer input and completion. | 1 | /* Minibuffer input and completion. |
| 2 | Copyright (C) 1985,86,93,94,95,96,97,98,99,2000,01,03,04,05 | 2 | Copyright (C) 1985, 1986, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, |
| 3 | Free Software Foundation, Inc. | 3 | 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. |
| 4 | 4 | ||
| 5 | This file is part of GNU Emacs. | 5 | This file is part of GNU Emacs. |
| 6 | 6 | ||
diff --git a/src/mktime.c b/src/mktime.c index c61f1463564..025f54d95c2 100644 --- a/src/mktime.c +++ b/src/mktime.c | |||
| @@ -1,5 +1,6 @@ | |||
| 1 | /* Convert a `struct tm' to a time_t value. | 1 | /* Convert a `struct tm' to a time_t value. |
| 2 | Copyright (C) 1993, 94, 95, 96, 97, 98, 99 Free Software Foundation, Inc. | 2 | Copyright (C) 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2002, 2003, 2004, |
| 3 | 2005 Free Software Foundation, Inc. | ||
| 3 | Contributed by Paul Eggert (eggert@twinsun.com). | 4 | Contributed by Paul Eggert (eggert@twinsun.com). |
| 4 | 5 | ||
| 5 | NOTE: The canonical source of this file is maintained with the GNU C Library. | 6 | NOTE: The canonical source of this file is maintained with the GNU C Library. |
diff --git a/src/msdos.c b/src/msdos.c index 3105410af09..ee899d1bee4 100644 --- a/src/msdos.c +++ b/src/msdos.c | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | /* MS-DOS specific C utilities. -*- coding: raw-text -*- | 1 | /* MS-DOS specific C utilities. -*- coding: raw-text -*- |
| 2 | Copyright (C) 1993, 94, 95, 96, 97, 1999, 2000, 01, 2003 | 2 | Copyright (C) 1993, 1994, 1995, 1996, 1997, 1999, 2000, 2001, 2002, |
| 3 | Free Software Foundation, Inc. | 3 | 2003, 2004, 2005 Free Software Foundation, Inc. |
| 4 | 4 | ||
| 5 | This file is part of GNU Emacs. | 5 | This file is part of GNU Emacs. |
| 6 | 6 | ||
diff --git a/src/msdos.h b/src/msdos.h index 7f2f013fd13..b6c6aca1493 100644 --- a/src/msdos.h +++ b/src/msdos.h | |||
| @@ -1,5 +1,6 @@ | |||
| 1 | /* MS-DOS specific C utilities, interface. | 1 | /* MS-DOS specific C utilities, interface. |
| 2 | Copyright (C) 1993, 2001 Free Software Foundation, Inc. | 2 | Copyright (C) 1993, 2001, 2002, 2003, 2004, |
| 3 | 2005 Free Software Foundation, Inc. | ||
| 3 | 4 | ||
| 4 | This file is part of GNU Emacs. | 5 | This file is part of GNU Emacs. |
| 5 | 6 | ||
diff --git a/src/prefix-args.c b/src/prefix-args.c index 5cfe6e4a095..ee1ee7e7c7f 100644 --- a/src/prefix-args.c +++ b/src/prefix-args.c | |||
| @@ -1,5 +1,5 @@ | |||
| 1 | /* prefix-args.c - echo each argument, prefixed by a string. | 1 | /* prefix-args.c - echo each argument, prefixed by a string. |
| 2 | Copyright (C) 1992 Free Software Foundation, Inc. | 2 | Copyright (C) 1992, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. |
| 3 | 3 | ||
| 4 | This file is part of GNU Emacs. | 4 | This file is part of GNU Emacs. |
| 5 | 5 | ||
diff --git a/src/print.c b/src/print.c index 0869340c400..b18bf19002f 100644 --- a/src/print.c +++ b/src/print.c | |||
| @@ -1,6 +1,7 @@ | |||
| 1 | /* Lisp object printing and output streams. | 1 | /* Lisp object printing and output streams. |
| 2 | Copyright (C) 1985, 1986, 1988, 1993, 1994, 1995, 1997, 1998, 1999, | 2 | Copyright (C) 1985, 1986, 1988, 1993, 1994, 1995, 1997, |
| 3 | 2000, 2001, 2003, 2004, 2005 Free Software Foundation, Inc. | 3 | 1998, 1999, 2000, 2001, 2002, 2003, 2004, |
| 4 | 2005 Free Software Foundation, Inc. | ||
| 4 | 5 | ||
| 5 | This file is part of GNU Emacs. | 6 | This file is part of GNU Emacs. |
| 6 | 7 | ||
diff --git a/src/process.c b/src/process.c index 1890a2a0893..a7ef9c36589 100644 --- a/src/process.c +++ b/src/process.c | |||
| @@ -1,6 +1,7 @@ | |||
| 1 | /* Asynchronous subprocess control for GNU Emacs. | 1 | /* Asynchronous subprocess control for GNU Emacs. |
| 2 | Copyright (C) 1985, 1986, 1987, 1988, 1993, 1994, 1995, 1996, 1998, 1999, | 2 | Copyright (C) 1985, 1986, 1987, 1988, 1993, 1994, 1995, |
| 3 | 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. | 3 | 1996, 1998, 1999, 2001, 2002, 2003, 2004, |
| 4 | 2005 Free Software Foundation, Inc. | ||
| 4 | 5 | ||
| 5 | This file is part of GNU Emacs. | 6 | This file is part of GNU Emacs. |
| 6 | 7 | ||
| @@ -293,7 +294,10 @@ static Lisp_Object Vprocess_adaptive_read_buffering; | |||
| 293 | 294 | ||
| 294 | #include "sysselect.h" | 295 | #include "sysselect.h" |
| 295 | 296 | ||
| 296 | extern int keyboard_bit_set P_ ((SELECT_TYPE *)); | 297 | static int keyboard_bit_set P_ ((SELECT_TYPE *)); |
| 298 | static void deactivate_process P_ ((Lisp_Object)); | ||
| 299 | static void status_notify P_ ((struct Lisp_Process *)); | ||
| 300 | static int read_process_output P_ ((Lisp_Object, int)); | ||
| 297 | 301 | ||
| 298 | /* If we support a window system, turn on the code to poll periodically | 302 | /* If we support a window system, turn on the code to poll periodically |
| 299 | to detect C-g. It isn't actually used when doing interrupt input. */ | 303 | to detect C-g. It isn't actually used when doing interrupt input. */ |
| @@ -390,9 +394,9 @@ static char pty_name[24]; | |||
| 390 | /* Compute the Lisp form of the process status, p->status, from | 394 | /* Compute the Lisp form of the process status, p->status, from |
| 391 | the numeric status that was returned by `wait'. */ | 395 | the numeric status that was returned by `wait'. */ |
| 392 | 396 | ||
| 393 | Lisp_Object status_convert (); | 397 | static Lisp_Object status_convert (); |
| 394 | 398 | ||
| 395 | void | 399 | static void |
| 396 | update_status (p) | 400 | update_status (p) |
| 397 | struct Lisp_Process *p; | 401 | struct Lisp_Process *p; |
| 398 | { | 402 | { |
| @@ -406,7 +410,7 @@ update_status (p) | |||
| 406 | /* Convert a process status word in Unix format to | 410 | /* Convert a process status word in Unix format to |
| 407 | the list that we use internally. */ | 411 | the list that we use internally. */ |
| 408 | 412 | ||
| 409 | Lisp_Object | 413 | static Lisp_Object |
| 410 | status_convert (w) | 414 | status_convert (w) |
| 411 | WAITTYPE w; | 415 | WAITTYPE w; |
| 412 | { | 416 | { |
| @@ -425,7 +429,7 @@ status_convert (w) | |||
| 425 | /* Given a status-list, extract the three pieces of information | 429 | /* Given a status-list, extract the three pieces of information |
| 426 | and store them individually through the three pointers. */ | 430 | and store them individually through the three pointers. */ |
| 427 | 431 | ||
| 428 | void | 432 | static void |
| 429 | decode_status (l, symbol, code, coredump) | 433 | decode_status (l, symbol, code, coredump) |
| 430 | Lisp_Object l; | 434 | Lisp_Object l; |
| 431 | Lisp_Object *symbol; | 435 | Lisp_Object *symbol; |
| @@ -504,7 +508,7 @@ status_message (p) | |||
| 504 | The file name of the terminal corresponding to the pty | 508 | The file name of the terminal corresponding to the pty |
| 505 | is left in the variable pty_name. */ | 509 | is left in the variable pty_name. */ |
| 506 | 510 | ||
| 507 | int | 511 | static int |
| 508 | allocate_pty () | 512 | allocate_pty () |
| 509 | { | 513 | { |
| 510 | register int c, i; | 514 | register int c, i; |
| @@ -589,7 +593,7 @@ allocate_pty () | |||
| 589 | } | 593 | } |
| 590 | #endif /* HAVE_PTYS */ | 594 | #endif /* HAVE_PTYS */ |
| 591 | 595 | ||
| 592 | Lisp_Object | 596 | static Lisp_Object |
| 593 | make_process (name) | 597 | make_process (name) |
| 594 | Lisp_Object name; | 598 | Lisp_Object name; |
| 595 | { | 599 | { |
| @@ -633,7 +637,7 @@ make_process (name) | |||
| 633 | return val; | 637 | return val; |
| 634 | } | 638 | } |
| 635 | 639 | ||
| 636 | void | 640 | static void |
| 637 | remove_process (proc) | 641 | remove_process (proc) |
| 638 | register Lisp_Object proc; | 642 | register Lisp_Object proc; |
| 639 | { | 643 | { |
| @@ -768,23 +772,27 @@ nil, indicating the current buffer's process. */) | |||
| 768 | (process) | 772 | (process) |
| 769 | register Lisp_Object process; | 773 | register Lisp_Object process; |
| 770 | { | 774 | { |
| 775 | register struct Lisp_Process *p; | ||
| 776 | |||
| 771 | process = get_process (process); | 777 | process = get_process (process); |
| 772 | XPROCESS (process)->raw_status_low = Qnil; | 778 | p = XPROCESS (process); |
| 773 | XPROCESS (process)->raw_status_high = Qnil; | 779 | |
| 774 | if (NETCONN_P (process)) | 780 | p->raw_status_low = Qnil; |
| 781 | p->raw_status_high = Qnil; | ||
| 782 | if (NETCONN1_P (p)) | ||
| 775 | { | 783 | { |
| 776 | XPROCESS (process)->status = Fcons (Qexit, Fcons (make_number (0), Qnil)); | 784 | p->status = Fcons (Qexit, Fcons (make_number (0), Qnil)); |
| 777 | XSETINT (XPROCESS (process)->tick, ++process_tick); | 785 | XSETINT (p->tick, ++process_tick); |
| 778 | status_notify (); | 786 | status_notify (p); |
| 779 | } | 787 | } |
| 780 | else if (XINT (XPROCESS (process)->infd) >= 0) | 788 | else if (XINT (p->infd) >= 0) |
| 781 | { | 789 | { |
| 782 | Fkill_process (process, Qnil); | 790 | Fkill_process (process, Qnil); |
| 783 | /* Do this now, since remove_process will make sigchld_handler do nothing. */ | 791 | /* Do this now, since remove_process will make sigchld_handler do nothing. */ |
| 784 | XPROCESS (process)->status | 792 | p->status |
| 785 | = Fcons (Qsignal, Fcons (make_number (SIGKILL), Qnil)); | 793 | = Fcons (Qsignal, Fcons (make_number (SIGKILL), Qnil)); |
| 786 | XSETINT (XPROCESS (process)->tick, ++process_tick); | 794 | XSETINT (p->tick, ++process_tick); |
| 787 | status_notify (); | 795 | status_notify (p); |
| 788 | } | 796 | } |
| 789 | remove_process (process); | 797 | remove_process (process); |
| 790 | return Qnil; | 798 | return Qnil; |
| @@ -1238,7 +1246,7 @@ IP address. Returns nil if format of ADDRESS is invalid. */) | |||
| 1238 | } | 1246 | } |
| 1239 | #endif | 1247 | #endif |
| 1240 | 1248 | ||
| 1241 | Lisp_Object | 1249 | static Lisp_Object |
| 1242 | list_processes_1 (query_only) | 1250 | list_processes_1 (query_only) |
| 1243 | Lisp_Object query_only; | 1251 | Lisp_Object query_only; |
| 1244 | { | 1252 | { |
| @@ -1708,7 +1716,7 @@ start_process_unwind (proc) | |||
| 1708 | return Qnil; | 1716 | return Qnil; |
| 1709 | } | 1717 | } |
| 1710 | 1718 | ||
| 1711 | void | 1719 | static void |
| 1712 | create_process_1 (timer) | 1720 | create_process_1 (timer) |
| 1713 | struct atimer *timer; | 1721 | struct atimer *timer; |
| 1714 | { | 1722 | { |
| @@ -2531,7 +2539,7 @@ OPTION is not a supported option, return nil instead; otherwise return t. */) | |||
| 2531 | 2539 | ||
| 2532 | /* A version of request_sigio suitable for a record_unwind_protect. */ | 2540 | /* A version of request_sigio suitable for a record_unwind_protect. */ |
| 2533 | 2541 | ||
| 2534 | Lisp_Object | 2542 | static Lisp_Object |
| 2535 | unwind_request_sigio (dummy) | 2543 | unwind_request_sigio (dummy) |
| 2536 | Lisp_Object dummy; | 2544 | Lisp_Object dummy; |
| 2537 | { | 2545 | { |
| @@ -4222,7 +4230,7 @@ wait_reading_process_output (time_limit, microsecs, read_kbd, do_display, | |||
| 4222 | /* It's okay for us to do this and then continue with | 4230 | /* It's okay for us to do this and then continue with |
| 4223 | the loop, since timeout has already been zeroed out. */ | 4231 | the loop, since timeout has already been zeroed out. */ |
| 4224 | clear_waiting_for_input (); | 4232 | clear_waiting_for_input (); |
| 4225 | status_notify (); | 4233 | status_notify (NULL); |
| 4226 | } | 4234 | } |
| 4227 | } | 4235 | } |
| 4228 | 4236 | ||
| @@ -4740,7 +4748,7 @@ read_process_output_error_handler (error) | |||
| 4740 | The characters read are decoded according to PROC's coding-system | 4748 | The characters read are decoded according to PROC's coding-system |
| 4741 | for decoding. */ | 4749 | for decoding. */ |
| 4742 | 4750 | ||
| 4743 | int | 4751 | static int |
| 4744 | read_process_output (proc, channel) | 4752 | read_process_output (proc, channel) |
| 4745 | Lisp_Object proc; | 4753 | Lisp_Object proc; |
| 4746 | register int channel; | 4754 | register int channel; |
| @@ -5135,7 +5143,7 @@ send_process_trap () | |||
| 5135 | 5143 | ||
| 5136 | This function can evaluate Lisp code and can garbage collect. */ | 5144 | This function can evaluate Lisp code and can garbage collect. */ |
| 5137 | 5145 | ||
| 5138 | void | 5146 | static void |
| 5139 | send_process (proc, buf, len, object) | 5147 | send_process (proc, buf, len, object) |
| 5140 | volatile Lisp_Object proc; | 5148 | volatile Lisp_Object proc; |
| 5141 | unsigned char *volatile buf; | 5149 | unsigned char *volatile buf; |
| @@ -5722,7 +5730,7 @@ process_send_signal (process, signo, current_group, nomsg) | |||
| 5722 | p->status = Qrun; | 5730 | p->status = Qrun; |
| 5723 | XSETINT (p->tick, ++process_tick); | 5731 | XSETINT (p->tick, ++process_tick); |
| 5724 | if (!nomsg) | 5732 | if (!nomsg) |
| 5725 | status_notify (); | 5733 | status_notify (NULL); |
| 5726 | break; | 5734 | break; |
| 5727 | #endif /* ! defined (SIGCONT) */ | 5735 | #endif /* ! defined (SIGCONT) */ |
| 5728 | case SIGINT: | 5736 | case SIGINT: |
| @@ -6390,8 +6398,9 @@ exec_sentinel (proc, reason) | |||
| 6390 | This is usually done while Emacs is waiting for keyboard input | 6398 | This is usually done while Emacs is waiting for keyboard input |
| 6391 | but can be done at other times. */ | 6399 | but can be done at other times. */ |
| 6392 | 6400 | ||
| 6393 | void | 6401 | static void |
| 6394 | status_notify () | 6402 | status_notify (deleting_process) |
| 6403 | struct Lisp_Process *deleting_process; | ||
| 6395 | { | 6404 | { |
| 6396 | register Lisp_Object proc, buffer; | 6405 | register Lisp_Object proc, buffer; |
| 6397 | Lisp_Object tail, msg; | 6406 | Lisp_Object tail, msg; |
| @@ -6427,6 +6436,7 @@ status_notify () | |||
| 6427 | && ! EQ (p->status, Qlisten) | 6436 | && ! EQ (p->status, Qlisten) |
| 6428 | && ! EQ (p->command, Qt) /* Network process not stopped. */ | 6437 | && ! EQ (p->command, Qt) /* Network process not stopped. */ |
| 6429 | && XINT (p->infd) >= 0 | 6438 | && XINT (p->infd) >= 0 |
| 6439 | && p != deleting_process | ||
| 6430 | && read_process_output (proc, XINT (p->infd)) > 0); | 6440 | && read_process_output (proc, XINT (p->infd)) > 0); |
| 6431 | 6441 | ||
| 6432 | buffer = p->buffer; | 6442 | buffer = p->buffer; |
| @@ -6630,7 +6640,7 @@ delete_keyboard_wait_descriptor (desc) | |||
| 6630 | /* Return nonzero if *MASK has a bit set | 6640 | /* Return nonzero if *MASK has a bit set |
| 6631 | that corresponds to one of the keyboard input descriptors. */ | 6641 | that corresponds to one of the keyboard input descriptors. */ |
| 6632 | 6642 | ||
| 6633 | int | 6643 | static int |
| 6634 | keyboard_bit_set (mask) | 6644 | keyboard_bit_set (mask) |
| 6635 | SELECT_TYPE *mask; | 6645 | SELECT_TYPE *mask; |
| 6636 | { | 6646 | { |
diff --git a/src/process.h b/src/process.h index a58b08a197e..cadc9b7031c 100644 --- a/src/process.h +++ b/src/process.h | |||
| @@ -1,5 +1,6 @@ | |||
| 1 | /* Definitions for asynchronous process control in GNU Emacs. | 1 | /* Definitions for asynchronous process control in GNU Emacs. |
| 2 | Copyright (C) 1985, 1994 Free Software Foundation, Inc. | 2 | Copyright (C) 1985, 1994, 2002, 2003, 2004, |
| 3 | 2005 Free Software Foundation, Inc. | ||
| 3 | 4 | ||
| 4 | This file is part of GNU Emacs. | 5 | This file is part of GNU Emacs. |
| 5 | 6 | ||
diff --git a/src/puresize.h b/src/puresize.h index 5e51ae3b1ba..767c88bb807 100644 --- a/src/puresize.h +++ b/src/puresize.h | |||
| @@ -1,5 +1,5 @@ | |||
| 1 | /* How much read-only Lisp storage a dumped Emacs needs. | 1 | /* How much read-only Lisp storage a dumped Emacs needs. |
| 2 | Copyright (C) 1993, 2002 Free Software Foundation, Inc. | 2 | Copyright (C) 1993, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. |
| 3 | 3 | ||
| 4 | This file is part of GNU Emacs. | 4 | This file is part of GNU Emacs. |
| 5 | 5 | ||
diff --git a/src/ralloc.c b/src/ralloc.c index 824fb536fc1..35a8cb9c58a 100644 --- a/src/ralloc.c +++ b/src/ralloc.c | |||
| @@ -1,5 +1,6 @@ | |||
| 1 | /* Block-relocating memory allocator. | 1 | /* Block-relocating memory allocator. |
| 2 | Copyright (C) 1993, 1995, 2000 Free Software Foundation, Inc. | 2 | Copyright (C) 1993, 1995, 2000, 2002, 2003, 2004, |
| 3 | 2005 Free Software Foundation, Inc. | ||
| 3 | 4 | ||
| 4 | This file is part of GNU Emacs. | 5 | This file is part of GNU Emacs. |
| 5 | 6 | ||
diff --git a/src/regex.c b/src/regex.c index afd5cf1322c..bc1ade0bb6e 100644 --- a/src/regex.c +++ b/src/regex.c | |||
| @@ -2,7 +2,8 @@ | |||
| 2 | 0.12. (Implements POSIX draft P1003.2/D11.2, except for some of the | 2 | 0.12. (Implements POSIX draft P1003.2/D11.2, except for some of the |
| 3 | internationalization features.) | 3 | internationalization features.) |
| 4 | 4 | ||
| 5 | Copyright (C) 1993,94,95,96,97,98,99,2000,04 Free Software Foundation, Inc. | 5 | Copyright (C) 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, |
| 6 | 2002, 2003, 2004, 2005 Free Software Foundation, Inc. | ||
| 6 | 7 | ||
| 7 | This program is free software; you can redistribute it and/or modify | 8 | This program is free software; you can redistribute it and/or modify |
| 8 | it under the terms of the GNU General Public License as published by | 9 | it under the terms of the GNU General Public License as published by |
diff --git a/src/regex.h b/src/regex.h index c8b0adaf73c..68db62d34e0 100644 --- a/src/regex.h +++ b/src/regex.h | |||
| @@ -1,7 +1,8 @@ | |||
| 1 | /* Definitions for data structures and routines for the regular | 1 | /* Definitions for data structures and routines for the regular |
| 2 | expression library, version 0.12. | 2 | expression library, version 0.12. |
| 3 | 3 | ||
| 4 | Copyright (C) 1985,89,90,91,92,93,95,2000 Free Software Foundation, Inc. | 4 | Copyright (C) 1985, 1989, 1990, 1991, 1992, 1993, 1995, 2000, 2002, |
| 5 | 2003, 2004, 2005 Free Software Foundation, Inc. | ||
| 5 | 6 | ||
| 6 | This program is free software; you can redistribute it and/or modify | 7 | This program is free software; you can redistribute it and/or modify |
| 7 | it under the terms of the GNU General Public License as published by | 8 | it under the terms of the GNU General Public License as published by |
diff --git a/src/region-cache.c b/src/region-cache.c index 22eac35ca86..d49278eb886 100644 --- a/src/region-cache.c +++ b/src/region-cache.c | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | /* Caching facts about regions of the buffer, for optimization. | 1 | /* Caching facts about regions of the buffer, for optimization. |
| 2 | Copyright (C) 1985, 1986, 1987, 1988, 1989, 1993, 1995 | 2 | Copyright (C) 1985, 1986, 1987, 1988, 1989, 1993, 1995, 2002, 2003, 2004, |
| 3 | Free Software Foundation, Inc. | 3 | 2005 Free Software Foundation, Inc. |
| 4 | 4 | ||
| 5 | This file is part of GNU Emacs. | 5 | This file is part of GNU Emacs. |
| 6 | 6 | ||
diff --git a/src/region-cache.h b/src/region-cache.h index 5c27d00740f..51d2ceb1e62 100644 --- a/src/region-cache.h +++ b/src/region-cache.h | |||
| @@ -1,5 +1,6 @@ | |||
| 1 | /* Header file: Caching facts about regions of the buffer, for optimization. | 1 | /* Header file: Caching facts about regions of the buffer, for optimization. |
| 2 | Copyright (C) 1985, 1986, 1993, 1995 Free Software Foundation, Inc. | 2 | Copyright (C) 1985, 1986, 1993, 1995, 2002, 2003, 2004, |
| 3 | 2005 Free Software Foundation, Inc. | ||
| 3 | 4 | ||
| 4 | This file is part of GNU Emacs. | 5 | This file is part of GNU Emacs. |
| 5 | 6 | ||
diff --git a/src/s/aix3-1.h b/src/s/aix3-1.h index 8fe7bd8fa24..eedfe3d15be 100644 --- a/src/s/aix3-1.h +++ b/src/s/aix3-1.h | |||
| @@ -1,5 +1,6 @@ | |||
| 1 | /* Definitions file for GNU Emacs running on IBM AIX version 3.1 | 1 | /* Definitions file for GNU Emacs running on IBM AIX version 3.1 |
| 2 | Copyright (C) 1985, 1986, 1990, 1999 Free Software Foundation, Inc. | 2 | Copyright (C) 1985, 1986, 1990, 1999, 2002, 2003, 2004, |
| 3 | 2005 Free Software Foundation, Inc. | ||
| 3 | 4 | ||
| 4 | This file is part of GNU Emacs. | 5 | This file is part of GNU Emacs. |
| 5 | 6 | ||
diff --git a/src/s/bsd4-1.h b/src/s/bsd4-1.h index 7316841e212..f36bc016ca8 100644 --- a/src/s/bsd4-1.h +++ b/src/s/bsd4-1.h | |||
| @@ -1,5 +1,6 @@ | |||
| 1 | /* Definitions file for GNU Emacs running on bsd 4.1. | 1 | /* Definitions file for GNU Emacs running on bsd 4.1. |
| 2 | Copyright (C) 1985, 1986, 1999 Free Software Foundation, Inc. | 2 | Copyright (C) 1985, 1986, 1999, 2002, 2003, 2004, |
| 3 | 2005 Free Software Foundation, Inc. | ||
| 3 | 4 | ||
| 4 | This file is part of GNU Emacs. | 5 | This file is part of GNU Emacs. |
| 5 | 6 | ||
diff --git a/src/s/bsd4-2.h b/src/s/bsd4-2.h index 386ab1bbbe5..f4e60b0fdbd 100644 --- a/src/s/bsd4-2.h +++ b/src/s/bsd4-2.h | |||
| @@ -1,5 +1,6 @@ | |||
| 1 | /* Definitions file for GNU Emacs running on bsd 4.2 | 1 | /* Definitions file for GNU Emacs running on bsd 4.2 |
| 2 | Copyright (C) 1985, 1986, 1994 Free Software Foundation, Inc. | 2 | Copyright (C) 1985, 1986, 1994, 2002, 2003, 2004, |
| 3 | 2005 Free Software Foundation, Inc. | ||
| 3 | 4 | ||
| 4 | This file is part of GNU Emacs. | 5 | This file is part of GNU Emacs. |
| 5 | 6 | ||
diff --git a/src/s/bsd4-3.h b/src/s/bsd4-3.h index bbb2715bdf7..37d6a63e984 100644 --- a/src/s/bsd4-3.h +++ b/src/s/bsd4-3.h | |||
| @@ -1,5 +1,6 @@ | |||
| 1 | /* Definitions file for GNU Emacs running on bsd 4.3 | 1 | /* Definitions file for GNU Emacs running on bsd 4.3 |
| 2 | Copyright (C) 1985, 1986 Free Software Foundation, Inc. | 2 | Copyright (C) 1985, 1986, 2002, 2003, 2004, |
| 3 | 2005 Free Software Foundation, Inc. | ||
| 3 | 4 | ||
| 4 | This file is part of GNU Emacs. | 5 | This file is part of GNU Emacs. |
| 5 | 6 | ||
diff --git a/src/s/cxux.h b/src/s/cxux.h index 2af6d006095..118d93d579c 100644 --- a/src/s/cxux.h +++ b/src/s/cxux.h | |||
| @@ -1,5 +1,5 @@ | |||
| 1 | /* Header file for Harris CXUX. | 1 | /* Header file for Harris CXUX. |
| 2 | Copyright (C) 1994 Free Software Foundation, Inc. | 2 | Copyright (C) 1994, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. |
| 3 | 3 | ||
| 4 | This file is part of GNU Emacs. | 4 | This file is part of GNU Emacs. |
| 5 | 5 | ||
diff --git a/src/s/cygwin.h b/src/s/cygwin.h index ac977b8cb52..921cff35bc7 100644 --- a/src/s/cygwin.h +++ b/src/s/cygwin.h | |||
| @@ -1,7 +1,8 @@ | |||
| 1 | /* Template for system description header files. | 1 | /* Template for system description header files. |
| 2 | This file describes the parameters that system description files | 2 | This file describes the parameters that system description files |
| 3 | should define or not. | 3 | should define or not. |
| 4 | Copyright (C) 1985, 1986, 1992, 1999, 2005 Free Software Foundation, Inc. | 4 | Copyright (C) 1985, 1986, 1992, 1999, 2002, 2003, 2004, |
| 5 | 2005 Free Software Foundation, Inc. | ||
| 5 | 6 | ||
| 6 | This file is part of GNU Emacs. | 7 | This file is part of GNU Emacs. |
| 7 | 8 | ||
diff --git a/src/s/darwin.h b/src/s/darwin.h index fea5b4c282d..fad445d7557 100644 --- a/src/s/darwin.h +++ b/src/s/darwin.h | |||
| @@ -1,5 +1,5 @@ | |||
| 1 | /* System description header file for Darwin (Mac OS X). | 1 | /* System description header file for Darwin (Mac OS X). |
| 2 | Copyright (C) 2001, 02, 2004 Free Software Foundation, Inc. | 2 | Copyright (C) 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. |
| 3 | 3 | ||
| 4 | This file is part of GNU Emacs. | 4 | This file is part of GNU Emacs. |
| 5 | 5 | ||
diff --git a/src/s/dgux.h b/src/s/dgux.h index fb01b539f27..82956a900d9 100644 --- a/src/s/dgux.h +++ b/src/s/dgux.h | |||
| @@ -1,6 +1,7 @@ | |||
| 1 | /* Definitions file for GNU Emacs running on Data General's DG/UX | 1 | /* Definitions file for GNU Emacs running on Data General's DG/UX |
| 2 | version 4.32 upto and including 5.4.1. | 2 | version 4.32 upto and including 5.4.1. |
| 3 | Copyright (C) 1994, 1999 Free Software Foundation, Inc. | 3 | Copyright (C) 1994, 1999, 2002, 2003, 2004, |
| 4 | 2005 Free Software Foundation, Inc. | ||
| 4 | 5 | ||
| 5 | This file is part of GNU Emacs. | 6 | This file is part of GNU Emacs. |
| 6 | 7 | ||
diff --git a/src/s/dgux4.h b/src/s/dgux4.h index d866d63e6ce..35834ad4da2 100644 --- a/src/s/dgux4.h +++ b/src/s/dgux4.h | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | /* Definitions file for GNU Emacs running on Data General's DG/UX | 1 | /* Definitions file for GNU Emacs running on Data General's DG/UX |
| 2 | Release 4.10 and above. | 2 | Release 4.10 and above. |
| 3 | Copyright (C) 1996 Free Software Foundation, Inc. | 3 | Copyright (C) 1996, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. |
| 4 | 4 | ||
| 5 | This file is part of GNU Emacs. | 5 | This file is part of GNU Emacs. |
| 6 | 6 | ||
diff --git a/src/s/dgux5-4-3.h b/src/s/dgux5-4-3.h index a95420595a1..7ec88a435eb 100644 --- a/src/s/dgux5-4-3.h +++ b/src/s/dgux5-4-3.h | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | /* Definitions file for GNU Emacs running on Data General's DG/UX | 1 | /* Definitions file for GNU Emacs running on Data General's DG/UX |
| 2 | version 5.4 Release 3.00 and above. | 2 | version 5.4 Release 3.00 and above. |
| 3 | Copyright (C) 1994 Free Software Foundation, Inc. | 3 | Copyright (C) 1994, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. |
| 4 | 4 | ||
| 5 | This file is part of GNU Emacs. | 5 | This file is part of GNU Emacs. |
| 6 | 6 | ||
diff --git a/src/s/dgux5-4r2.h b/src/s/dgux5-4r2.h index c2c7461a204..3f059c32c24 100644 --- a/src/s/dgux5-4r2.h +++ b/src/s/dgux5-4r2.h | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | /* Definitions file for GNU Emacs running on Data General's DG/UX | 1 | /* Definitions file for GNU Emacs running on Data General's DG/UX |
| 2 | 5.4 Release 2.xx systems. | 2 | 5.4 Release 2.xx systems. |
| 3 | Copyright (C) 1994 Free Software Foundation, Inc. | 3 | Copyright (C) 1994, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. |
| 4 | 4 | ||
| 5 | This file is part of GNU Emacs. | 5 | This file is part of GNU Emacs. |
| 6 | 6 | ||
diff --git a/src/s/freebsd.h b/src/s/freebsd.h index dc26eb9f399..83949fd2819 100644 --- a/src/s/freebsd.h +++ b/src/s/freebsd.h | |||
| @@ -1,8 +1,8 @@ | |||
| 1 | /* System description header for FreeBSD systems. | 1 | /* System description header for FreeBSD systems. |
| 2 | This file describes the parameters that system description files | 2 | This file describes the parameters that system description files |
| 3 | should define or not. | 3 | should define or not. |
| 4 | Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001 | 4 | Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, |
| 5 | Free Software Foundation, Inc. | 5 | 2003, 2004, 2005 Free Software Foundation, Inc. |
| 6 | 6 | ||
| 7 | This file is part of GNU Emacs. | 7 | This file is part of GNU Emacs. |
| 8 | 8 | ||
diff --git a/src/s/gnu-linux.h b/src/s/gnu-linux.h index 2563496af5c..f87dcaded1b 100644 --- a/src/s/gnu-linux.h +++ b/src/s/gnu-linux.h | |||
| @@ -1,5 +1,6 @@ | |||
| 1 | /* This file is the configuration file for Linux-based GNU systems | 1 | /* This file is the configuration file for Linux-based GNU systems |
| 2 | Copyright (C) 1985, 86, 92, 94, 96, 1999, 2002, 2004 Free Software Foundation, Inc. | 2 | Copyright (C) 1985, 1986, 1992, 1994, 1996, 1999, 2002, 2003, 2004, |
| 3 | 2005 Free Software Foundation, Inc. | ||
| 3 | 4 | ||
| 4 | This file is part of GNU Emacs. | 5 | This file is part of GNU Emacs. |
| 5 | 6 | ||
diff --git a/src/s/gnu.h b/src/s/gnu.h index 79e5a88a7b9..0da816c32d3 100644 --- a/src/s/gnu.h +++ b/src/s/gnu.h | |||
| @@ -1,5 +1,6 @@ | |||
| 1 | /* Definitions file for GNU Emacs running on the GNU Hurd. | 1 | /* Definitions file for GNU Emacs running on the GNU Hurd. |
| 2 | Copyright (C) 1994, 1995, 1996 Free Software Foundation, Inc. | 2 | Copyright (C) 1994, 1995, 1996, 2002, 2003, 2004, |
| 3 | 2005 Free Software Foundation, Inc. | ||
| 3 | 4 | ||
| 4 | This file is part of GNU Emacs. | 5 | This file is part of GNU Emacs. |
| 5 | 6 | ||
diff --git a/src/s/hpux.h b/src/s/hpux.h index 665b1f3063d..30ade71bf20 100644 --- a/src/s/hpux.h +++ b/src/s/hpux.h | |||
| @@ -1,6 +1,7 @@ | |||
| 1 | /* Definitions file for GNU Emacs running on HPUX release 7.0. | 1 | /* Definitions file for GNU Emacs running on HPUX release 7.0. |
| 2 | Based on AT&T System V.2. | 2 | Based on AT&T System V.2. |
| 3 | Copyright (C) 1985, 1986, 1999 Free Software Foundation, Inc. | 3 | Copyright (C) 1985, 1986, 1999, 2002, 2003, 2004, |
| 4 | 2005 Free Software Foundation, Inc. | ||
| 4 | 5 | ||
| 5 | This file is part of GNU Emacs. | 6 | This file is part of GNU Emacs. |
| 6 | 7 | ||
diff --git a/src/s/iris3-5.h b/src/s/iris3-5.h index 8815bb56f39..a3b6c8ad0ad 100644 --- a/src/s/iris3-5.h +++ b/src/s/iris3-5.h | |||
| @@ -1,5 +1,6 @@ | |||
| 1 | /* Definitions file for GNU Emacs running on Silicon Graphics 3.5 | 1 | /* Definitions file for GNU Emacs running on Silicon Graphics 3.5 |
| 2 | Copyright (C) 1987, 1999 Free Software Foundation, Inc. | 2 | Copyright (C) 1987, 1999, 2002, 2003, 2004, |
| 3 | 2005 Free Software Foundation, Inc. | ||
| 3 | 4 | ||
| 4 | This file is part of GNU Emacs. | 5 | This file is part of GNU Emacs. |
| 5 | 6 | ||
diff --git a/src/s/iris3-6.h b/src/s/iris3-6.h index 64187428c29..1d8b96cc23f 100644 --- a/src/s/iris3-6.h +++ b/src/s/iris3-6.h | |||
| @@ -1,5 +1,6 @@ | |||
| 1 | /* Definitions file for GNU Emacs running on Silicon Graphics system 3.6. | 1 | /* Definitions file for GNU Emacs running on Silicon Graphics system 3.6. |
| 2 | Copyright (C) 1987, 1999 Free Software Foundation, Inc. | 2 | Copyright (C) 1987, 1999, 2002, 2003, 2004, |
| 3 | 2005 Free Software Foundation, Inc. | ||
| 3 | 4 | ||
| 4 | This file is part of GNU Emacs. | 5 | This file is part of GNU Emacs. |
| 5 | 6 | ||
diff --git a/src/s/irix3-3.h b/src/s/irix3-3.h index 60dd6d49c79..a613779913a 100644 --- a/src/s/irix3-3.h +++ b/src/s/irix3-3.h | |||
| @@ -1,5 +1,6 @@ | |||
| 1 | /* Definitions file for GNU Emacs running on Silicon Graphics Irix system 3.3. | 1 | /* Definitions file for GNU Emacs running on Silicon Graphics Irix system 3.3. |
| 2 | Copyright (C) 1987, 1990, 1999 Free Software Foundation, Inc. | 2 | Copyright (C) 1987, 1990, 1999, 2002, 2003, 2004, |
| 3 | 2005 Free Software Foundation, Inc. | ||
| 3 | 4 | ||
| 4 | This file is part of GNU Emacs. | 5 | This file is part of GNU Emacs. |
| 5 | 6 | ||
diff --git a/src/s/lynxos.h b/src/s/lynxos.h index 55de8cba6f9..614735d290d 100644 --- a/src/s/lynxos.h +++ b/src/s/lynxos.h | |||
| @@ -1,5 +1,6 @@ | |||
| 1 | /* Definitions file for GNU Emacs running on LynxOS-3.0.1 | 1 | /* Definitions file for GNU Emacs running on LynxOS-3.0.1 |
| 2 | Copyright (C) 2000, 2001 Free Software Foundation, Inc. | 2 | Copyright (C) 2000, 2001, 2002, 2003, 2004, |
| 3 | 2005 Free Software Foundation, Inc. | ||
| 3 | 4 | ||
| 4 | This file is part of GNU Emacs. | 5 | This file is part of GNU Emacs. |
| 5 | 6 | ||
diff --git a/src/s/ms-w32.h b/src/s/ms-w32.h index c4697db34db..b1989318fba 100644 --- a/src/s/ms-w32.h +++ b/src/s/ms-w32.h | |||
| @@ -1,5 +1,6 @@ | |||
| 1 | /* System description file for Windows NT. | 1 | /* System description file for Windows NT. |
| 2 | Copyright (C) 1993, 1994, 1995 Free Software Foundation, Inc. | 2 | Copyright (C) 1993, 1994, 1995, 2002, 2003, 2004, |
| 3 | 2005 Free Software Foundation, Inc. | ||
| 3 | 4 | ||
| 4 | This file is part of GNU Emacs. | 5 | This file is part of GNU Emacs. |
| 5 | 6 | ||
diff --git a/src/s/msdos.h b/src/s/msdos.h index 5a0cbba5959..9469b33227f 100644 --- a/src/s/msdos.h +++ b/src/s/msdos.h | |||
| @@ -1,6 +1,7 @@ | |||
| 1 | /* System description file for MS-DOS | 1 | /* System description file for MS-DOS |
| 2 | 2 | ||
| 3 | Copyright (C) 1993, 1996, 1997, 2001 Free Software Foundation, Inc. | 3 | Copyright (C) 1993, 1996, 1997, 2001, 2002, 2003, 2004, |
| 4 | 2005 Free Software Foundation, Inc. | ||
| 4 | 5 | ||
| 5 | This file is part of GNU Emacs. | 6 | This file is part of GNU Emacs. |
| 6 | 7 | ||
diff --git a/src/s/newsos5.h b/src/s/newsos5.h index c674bfc559d..d2bed2189be 100644 --- a/src/s/newsos5.h +++ b/src/s/newsos5.h | |||
| @@ -1,5 +1,6 @@ | |||
| 1 | /* Definitions file for GNU Emacs running on Sony's NEWS-OS 5.0.2 | 1 | /* Definitions file for GNU Emacs running on Sony's NEWS-OS 5.0.2 |
| 2 | Copyright (C) 1992, 1994 Free Software Foundation, Inc. | 2 | Copyright (C) 1992, 1994, 2002, 2003, 2004, |
| 3 | 2005 Free Software Foundation, Inc. | ||
| 3 | 4 | ||
| 4 | This file is part of GNU Emacs. | 5 | This file is part of GNU Emacs. |
| 5 | 6 | ||
diff --git a/src/s/nextstep.h b/src/s/nextstep.h index 9253e6acffc..0c0b01c10bd 100644 --- a/src/s/nextstep.h +++ b/src/s/nextstep.h | |||
| @@ -1,5 +1,6 @@ | |||
| 1 | /* Configuration file for the NeXTstep system. | 1 | /* Configuration file for the NeXTstep system. |
| 2 | Copyright (C) 1990, 1995 Free Software Foundation, Inc. | 2 | Copyright (C) 1990, 1995, 2002, 2003, 2004, |
| 3 | 2005 Free Software Foundation, Inc. | ||
| 3 | 4 | ||
| 4 | This file is part of GNU Emacs. | 5 | This file is part of GNU Emacs. |
| 5 | 6 | ||
diff --git a/src/s/ptx.h b/src/s/ptx.h index e490ba659a2..1411dee70d8 100644 --- a/src/s/ptx.h +++ b/src/s/ptx.h | |||
| @@ -1,5 +1,6 @@ | |||
| 1 | /* Definitions file for GNU Emacs running on Sequent DYNIX/ptx 1.x/2.x | 1 | /* Definitions file for GNU Emacs running on Sequent DYNIX/ptx 1.x/2.x |
| 2 | Copyright (C) 1987, 1990, 1999 Free Software Foundation, Inc. | 2 | Copyright (C) 1987, 1990, 1999, 2002, 2003, 2004, |
| 3 | 2005 Free Software Foundation, Inc. | ||
| 3 | 4 | ||
| 4 | This file is part of GNU Emacs. | 5 | This file is part of GNU Emacs. |
| 5 | 6 | ||
diff --git a/src/s/riscix1-1.h b/src/s/riscix1-1.h index ccfa5704b85..aee5d6ddc58 100644 --- a/src/s/riscix1-1.h +++ b/src/s/riscix1-1.h | |||
| @@ -1,5 +1,5 @@ | |||
| 1 | /* Definitions file for GNU Emacs running on RISCiX 1.1 (bsd 4.3) | 1 | /* Definitions file for GNU Emacs running on RISCiX 1.1 (bsd 4.3) |
| 2 | Copyright (C) 1994 Free Software Foundation, Inc. | 2 | Copyright (C) 1994, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. |
| 3 | 3 | ||
| 4 | This file is part of GNU Emacs. | 4 | This file is part of GNU Emacs. |
| 5 | 5 | ||
diff --git a/src/s/riscix12.h b/src/s/riscix12.h index b0e00e780cc..625b667d7b5 100644 --- a/src/s/riscix12.h +++ b/src/s/riscix12.h | |||
| @@ -1,5 +1,5 @@ | |||
| 1 | /* Definitions file for GNU Emacs running on RISCiX 1.2 (bsd 4.3) | 1 | /* Definitions file for GNU Emacs running on RISCiX 1.2 (bsd 4.3) |
| 2 | Copyright (C) 1994 Free Software Foundation, Inc. | 2 | Copyright (C) 1994, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. |
| 3 | 3 | ||
| 4 | This file is part of GNU Emacs. | 4 | This file is part of GNU Emacs. |
| 5 | 5 | ||
diff --git a/src/s/rtu.h b/src/s/rtu.h index 92afbaf6328..b2d0c16e59a 100644 --- a/src/s/rtu.h +++ b/src/s/rtu.h | |||
| @@ -1,5 +1,6 @@ | |||
| 1 | /* Definitions file for GNU Emacs running on RTU 3.0, ucb universe. | 1 | /* Definitions file for GNU Emacs running on RTU 3.0, ucb universe. |
| 2 | Copyright (C) 1986, 1999 Free Software Foundation, Inc. | 2 | Copyright (C) 1986, 1999, 2002, 2003, 2004, |
| 3 | 2005 Free Software Foundation, Inc. | ||
| 3 | 4 | ||
| 4 | This file is part of GNU Emacs. | 5 | This file is part of GNU Emacs. |
| 5 | 6 | ||
diff --git a/src/s/sco4.h b/src/s/sco4.h index 757eb0b57b0..627007e9a52 100644 --- a/src/s/sco4.h +++ b/src/s/sco4.h | |||
| @@ -1,5 +1,6 @@ | |||
| 1 | /* System description file for SCO 3.2v4. | 1 | /* System description file for SCO 3.2v4. |
| 2 | Copyright (C) 1993, 1994 Free Software Foundation, Inc. | 2 | Copyright (C) 1993, 1994, 2002, 2003, 2004, |
| 3 | 2005 Free Software Foundation, Inc. | ||
| 3 | 4 | ||
| 4 | This file is part of GNU Emacs. | 5 | This file is part of GNU Emacs. |
| 5 | 6 | ||
diff --git a/src/s/sco5.h b/src/s/sco5.h index e490a91b608..9fbbf072a12 100644 --- a/src/s/sco5.h +++ b/src/s/sco5.h | |||
| @@ -1,5 +1,5 @@ | |||
| 1 | /* System description file for SCO 3.2v5. | 1 | /* System description file for SCO 3.2v5. |
| 2 | Copyright (C) 1996, 2002 Free Software Foundation, Inc. | 2 | Copyright (C) 1996, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. |
| 3 | 3 | ||
| 4 | This file is part of GNU Emacs. | 4 | This file is part of GNU Emacs. |
| 5 | 5 | ||
diff --git a/src/s/template.h b/src/s/template.h index 5ef1049164d..0610e16473a 100644 --- a/src/s/template.h +++ b/src/s/template.h | |||
| @@ -1,7 +1,8 @@ | |||
| 1 | /* Template for system description header files. | 1 | /* Template for system description header files. |
| 2 | This file describes the parameters that system description files | 2 | This file describes the parameters that system description files |
| 3 | should define or not. | 3 | should define or not. |
| 4 | Copyright (C) 1985, 1986, 1992, 1999 Free Software Foundation, Inc. | 4 | Copyright (C) 1985, 1986, 1992, 1999, 2002, 2003, 2004, |
| 5 | 2005 Free Software Foundation, Inc. | ||
| 5 | 6 | ||
| 6 | This file is part of GNU Emacs. | 7 | This file is part of GNU Emacs. |
| 7 | 8 | ||
diff --git a/src/s/umax.h b/src/s/umax.h index 1741b1d04e3..f4923f33053 100644 --- a/src/s/umax.h +++ b/src/s/umax.h | |||
| @@ -1,5 +1,6 @@ | |||
| 1 | /* Definitions file for GNU Emacs running on UMAX 4.2 | 1 | /* Definitions file for GNU Emacs running on UMAX 4.2 |
| 2 | Copyright (C) 1985, 1986 Free Software Foundation, Inc. | 2 | Copyright (C) 1985, 1986, 2002, 2003, 2004, |
| 3 | 2005 Free Software Foundation, Inc. | ||
| 3 | 4 | ||
| 4 | This file is part of GNU Emacs. | 5 | This file is part of GNU Emacs. |
| 5 | 6 | ||
diff --git a/src/s/unipl5-2.h b/src/s/unipl5-2.h index 05d162239a8..cca703adb82 100644 --- a/src/s/unipl5-2.h +++ b/src/s/unipl5-2.h | |||
| @@ -1,5 +1,6 @@ | |||
| 1 | /* Definitions file for GNU Emacs running on UniSoft's UniPlus 5.2 | 1 | /* Definitions file for GNU Emacs running on UniSoft's UniPlus 5.2 |
| 2 | Copyright (C) 1985, 1986, 1999 Free Software Foundation, Inc. | 2 | Copyright (C) 1985, 1986, 1999, 2002, 2003, 2004, |
| 3 | 2005 Free Software Foundation, Inc. | ||
| 3 | 4 | ||
| 4 | This file is part of GNU Emacs. | 5 | This file is part of GNU Emacs. |
| 5 | 6 | ||
diff --git a/src/s/usg5-0.h b/src/s/usg5-0.h index 21b469dcd55..5f9943f8477 100644 --- a/src/s/usg5-0.h +++ b/src/s/usg5-0.h | |||
| @@ -1,5 +1,6 @@ | |||
| 1 | /* Definitions file for GNU Emacs running on AT&T's System V.0 | 1 | /* Definitions file for GNU Emacs running on AT&T's System V.0 |
| 2 | Copyright (C) 1985, 1986, 1999 Free Software Foundation, Inc. | 2 | Copyright (C) 1985, 1986, 1999, 2002, 2003, 2004, |
| 3 | 2005 Free Software Foundation, Inc. | ||
| 3 | 4 | ||
| 4 | This file is part of GNU Emacs. | 5 | This file is part of GNU Emacs. |
| 5 | 6 | ||
diff --git a/src/s/usg5-2-2.h b/src/s/usg5-2-2.h index dff90efb225..b090f3c32b6 100644 --- a/src/s/usg5-2-2.h +++ b/src/s/usg5-2-2.h | |||
| @@ -1,5 +1,6 @@ | |||
| 1 | /* Definitions file for GNU Emacs running on AT&T's System V Release 2.2 | 1 | /* Definitions file for GNU Emacs running on AT&T's System V Release 2.2 |
| 2 | Copyright (C) 1985, 1986, 1999 Free Software Foundation, Inc. | 2 | Copyright (C) 1985, 1986, 1999, 2002, 2003, 2004, |
| 3 | 2005 Free Software Foundation, Inc. | ||
| 3 | 4 | ||
| 4 | This file is part of GNU Emacs. | 5 | This file is part of GNU Emacs. |
| 5 | 6 | ||
diff --git a/src/s/usg5-2.h b/src/s/usg5-2.h index 0da477276fd..e63bddfc060 100644 --- a/src/s/usg5-2.h +++ b/src/s/usg5-2.h | |||
| @@ -1,5 +1,6 @@ | |||
| 1 | /* Definitions file for GNU Emacs running on AT&T's System V Release 2.0 | 1 | /* Definitions file for GNU Emacs running on AT&T's System V Release 2.0 |
| 2 | Copyright (C) 1985, 1986, 1999 Free Software Foundation, Inc. | 2 | Copyright (C) 1985, 1986, 1999, 2002, 2003, 2004, |
| 3 | 2005 Free Software Foundation, Inc. | ||
| 3 | 4 | ||
| 4 | This file is part of GNU Emacs. | 5 | This file is part of GNU Emacs. |
| 5 | 6 | ||
diff --git a/src/s/usg5-3.h b/src/s/usg5-3.h index 285bae670df..12259936928 100644 --- a/src/s/usg5-3.h +++ b/src/s/usg5-3.h | |||
| @@ -1,5 +1,6 @@ | |||
| 1 | /* Definitions file for GNU Emacs running on AT&T's System V Release 3 | 1 | /* Definitions file for GNU Emacs running on AT&T's System V Release 3 |
| 2 | Copyright (C) 1987, 1999 Free Software Foundation, Inc. | 2 | Copyright (C) 1987, 1999, 2002, 2003, 2004, |
| 3 | 2005 Free Software Foundation, Inc. | ||
| 3 | 4 | ||
| 4 | This file is part of GNU Emacs. | 5 | This file is part of GNU Emacs. |
| 5 | 6 | ||
diff --git a/src/s/usg5-4.h b/src/s/usg5-4.h index 4edda95b39c..b8c2f8d9fa2 100644 --- a/src/s/usg5-4.h +++ b/src/s/usg5-4.h | |||
| @@ -1,5 +1,6 @@ | |||
| 1 | /* Definitions file for GNU Emacs running on AT&T's System V Release 4 | 1 | /* Definitions file for GNU Emacs running on AT&T's System V Release 4 |
| 2 | Copyright (C) 1987, 1990, 1999, 2000 Free Software Foundation, Inc. | 2 | Copyright (C) 1987, 1990, 1999, 2000, 2002, 2003, 2004, |
| 3 | 2005 Free Software Foundation, Inc. | ||
| 3 | 4 | ||
| 4 | This file is part of GNU Emacs. | 5 | This file is part of GNU Emacs. |
| 5 | 6 | ||
diff --git a/src/s/vms.h b/src/s/vms.h index 9afd69b8539..e3c9dc725c0 100644 --- a/src/s/vms.h +++ b/src/s/vms.h | |||
| @@ -1,5 +1,5 @@ | |||
| 1 | /* system description header for VMS | 1 | /* system description header for VMS |
| 2 | Copyright (C) 1986 Free Software Foundation, Inc. | 2 | Copyright (C) 1986, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. |
| 3 | 3 | ||
| 4 | This file is part of GNU Emacs. | 4 | This file is part of GNU Emacs. |
| 5 | 5 | ||
diff --git a/src/s/xenix.h b/src/s/xenix.h index 763a10956ff..e67b897faff 100644 --- a/src/s/xenix.h +++ b/src/s/xenix.h | |||
| @@ -1,5 +1,6 @@ | |||
| 1 | /* Definitions file for GNU Emacs running SCO Xenix 386 Release 2.2 | 1 | /* Definitions file for GNU Emacs running SCO Xenix 386 Release 2.2 |
| 2 | Copyright (C) 1988, 1999 Free Software Foundation, Inc. | 2 | Copyright (C) 1988, 1999, 2002, 2003, 2004, |
| 3 | 2005 Free Software Foundation, Inc. | ||
| 3 | 4 | ||
| 4 | This file is part of GNU Emacs. | 5 | This file is part of GNU Emacs. |
| 5 | 6 | ||
diff --git a/src/scroll.c b/src/scroll.c index 48a50e59983..6e633d4e60b 100644 --- a/src/scroll.c +++ b/src/scroll.c | |||
| @@ -1,5 +1,6 @@ | |||
| 1 | /* Calculate what line insertion or deletion to do, and do it, | 1 | /* Calculate what line insertion or deletion to do, and do it, |
| 2 | Copyright (C) 1985, 1986, 1990, 1993, 1994 Free Software Foundation, Inc. | 2 | Copyright (C) 1985, 1986, 1990, 1993, 1994, 2002, 2003, 2004, |
| 3 | 2005 Free Software Foundation, Inc. | ||
| 3 | 4 | ||
| 4 | This file is part of GNU Emacs. | 5 | This file is part of GNU Emacs. |
| 5 | 6 | ||
diff --git a/src/search.c b/src/search.c index 3b212e007e8..29e24d75e71 100644 --- a/src/search.c +++ b/src/search.c | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | /* String search routines for GNU Emacs. | 1 | /* String search routines for GNU Emacs. |
| 2 | Copyright (C) 1985, 86,87,93,94,97,98, 1999, 2004 | 2 | Copyright (C) 1985, 1986, 1987, 1993, 1994, 1997, 1998, 1999, 2002, 2003, |
| 3 | Free Software Foundation, Inc. | 3 | 2004, 2005 Free Software Foundation, Inc. |
| 4 | 4 | ||
| 5 | This file is part of GNU Emacs. | 5 | This file is part of GNU Emacs. |
| 6 | 6 | ||
diff --git a/src/sheap.c b/src/sheap.c index b7f01d448a8..635c3dc0144 100644 --- a/src/sheap.c +++ b/src/sheap.c | |||
| @@ -1,8 +1,7 @@ | |||
| 1 | /* simulate sbrk() with an array in .bss, for unexec() support for Cygwin; | 1 | /* simulate sbrk() with an array in .bss, for unexec() support for Cygwin; |
| 2 | complete rewrite of xemacs Cygwin unexec() code | 2 | complete rewrite of xemacs Cygwin unexec() code |
| 3 | 3 | ||
| 4 | Copyright (C) 2004 | 4 | Copyright (C) 2004, 2005 Free Software Foundation, Inc. |
| 5 | Free Software Foundation, Inc. | ||
| 6 | 5 | ||
| 7 | This file is part of GNU Emacs. | 6 | This file is part of GNU Emacs. |
| 8 | 7 | ||
diff --git a/src/sound.c b/src/sound.c index 93e456cbc48..1e6a17d0275 100644 --- a/src/sound.c +++ b/src/sound.c | |||
| @@ -1,5 +1,6 @@ | |||
| 1 | /* sound.c -- sound support. | 1 | /* sound.c -- sound support. |
| 2 | Copyright (C) 1998, 1999, 2001 Free Software Foundation. | 2 | Copyright (C) 1998, 1999, 2001, 2002, 2003, 2004, |
| 3 | 2005 Free Software Foundation, Inc. | ||
| 3 | 4 | ||
| 4 | This file is part of GNU Emacs. | 5 | This file is part of GNU Emacs. |
| 5 | 6 | ||
diff --git a/src/strftime.c b/src/strftime.c index 41566ec868e..88a54b7bee4 100644 --- a/src/strftime.c +++ b/src/strftime.c | |||
| @@ -1,5 +1,5 @@ | |||
| 1 | /* Copyright (C) 1991,92,93,94,95,96,97,98,99,2000,2003 | 1 | /* Copyright (C) 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, |
| 2 | Free Software Foundation, Inc. | 2 | 2002, 2003, 2004, 2005 Free Software Foundation, Inc. |
| 3 | 3 | ||
| 4 | NOTE: The canonical source of this file is maintained with gnulib. | 4 | NOTE: The canonical source of this file is maintained with gnulib. |
| 5 | Bugs can be reported to bug-gnulib@gnu.org. | 5 | Bugs can be reported to bug-gnulib@gnu.org. |
diff --git a/src/sunfns.c b/src/sunfns.c index 6a16e6cc08f..8de639b7480 100644 --- a/src/sunfns.c +++ b/src/sunfns.c | |||
| @@ -1,5 +1,6 @@ | |||
| 1 | /* Functions for Sun Windows menus and selection buffer. | 1 | /* Functions for Sun Windows menus and selection buffer. |
| 2 | Copyright (C) 1987, 1999, 2001 Free Software Foundation, Inc. | 2 | Copyright (C) 1987, 1999, 2001, 2002, 2003, 2004, |
| 3 | 2005 Free Software Foundation, Inc. | ||
| 3 | 4 | ||
| 4 | This file is probably totally obsolete. In any case, the FSF is | 5 | This file is probably totally obsolete. In any case, the FSF is |
| 5 | unwilling to support it. We agreed to include it in our distribution | 6 | unwilling to support it. We agreed to include it in our distribution |
diff --git a/src/syntax.c b/src/syntax.c index a859250b15a..b30678243bf 100644 --- a/src/syntax.c +++ b/src/syntax.c | |||
| @@ -1,5 +1,6 @@ | |||
| 1 | /* GNU Emacs routines to deal with syntax tables; also word and list parsing. | 1 | /* GNU Emacs routines to deal with syntax tables; also word and list parsing. |
| 2 | Copyright (C) 1985, 87, 93, 94, 95, 97, 1998, 1999, 2004 Free Software Foundation, Inc. | 2 | Copyright (C) 1985, 1987, 1993, 1994, 1995, 1997, 1998, 1999, 2002, |
| 3 | 2003, 2004, 2005 Free Software Foundation, Inc. | ||
| 3 | 4 | ||
| 4 | This file is part of GNU Emacs. | 5 | This file is part of GNU Emacs. |
| 5 | 6 | ||
diff --git a/src/syntax.h b/src/syntax.h index 34727af4740..ac449dc89e4 100644 --- a/src/syntax.h +++ b/src/syntax.h | |||
| @@ -1,5 +1,6 @@ | |||
| 1 | /* Declarations having to do with GNU Emacs syntax tables. | 1 | /* Declarations having to do with GNU Emacs syntax tables. |
| 2 | Copyright (C) 1985, 93, 94, 97, 1998 Free Software Foundation, Inc. | 2 | Copyright (C) 1985, 1993, 1994, 1997, 1998, 2002, 2003, 2004, |
| 3 | 2005 Free Software Foundation, Inc. | ||
| 3 | 4 | ||
| 4 | This file is part of GNU Emacs. | 5 | This file is part of GNU Emacs. |
| 5 | 6 | ||
diff --git a/src/sysdep.c b/src/sysdep.c index 8e8d02b844e..e63ee904f14 100644 --- a/src/sysdep.c +++ b/src/sysdep.c | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | /* Interfaces to system-dependent kernel and library entries. | 1 | /* Interfaces to system-dependent kernel and library entries. |
| 2 | Copyright (C) 1985, 1986, 1987, 1988, 1993, 1994, 1995, 1999, 2000, 2001, | 2 | Copyright (C) 1985, 1986, 1987, 1988, 1993, 1994, 1995, 1999, 2000, 2001, |
| 3 | 2003, 2004, 2005 Free Software Foundation, Inc. | 3 | 2002, 2003, 2004, 2005 Free Software Foundation, Inc. |
| 4 | 4 | ||
| 5 | This file is part of GNU Emacs. | 5 | This file is part of GNU Emacs. |
| 6 | 6 | ||
diff --git a/src/sysselect.h b/src/sysselect.h index 0030e737bc2..d57527f9ed1 100644 --- a/src/sysselect.h +++ b/src/sysselect.h | |||
| @@ -1,5 +1,5 @@ | |||
| 1 | /* sysselect.h - System-dependent definitions for the select function. | 1 | /* sysselect.h - System-dependent definitions for the select function. |
| 2 | Copyright (C) 1995 Free Software Foundation, Inc. | 2 | Copyright (C) 1995, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. |
| 3 | 3 | ||
| 4 | This file is part of GNU Emacs. | 4 | This file is part of GNU Emacs. |
| 5 | 5 | ||
diff --git a/src/syssignal.h b/src/syssignal.h index dd13e3764aa..6a5cd39bde9 100644 --- a/src/syssignal.h +++ b/src/syssignal.h | |||
| @@ -1,5 +1,6 @@ | |||
| 1 | /* syssignal.h - System-dependent definitions for signals. | 1 | /* syssignal.h - System-dependent definitions for signals. |
| 2 | Copyright (C) 1993, 1999 Free Software Foundation, Inc. | 2 | Copyright (C) 1993, 1999, 2002, 2003, 2004, |
| 3 | 2005 Free Software Foundation, Inc. | ||
| 3 | 4 | ||
| 4 | This file is part of GNU Emacs. | 5 | This file is part of GNU Emacs. |
| 5 | 6 | ||
diff --git a/src/systime.h b/src/systime.h index cf2bc0b084b..12d8d406d8e 100644 --- a/src/systime.h +++ b/src/systime.h | |||
| @@ -1,5 +1,6 @@ | |||
| 1 | /* systime.h - System-dependent definitions for time manipulations. | 1 | /* systime.h - System-dependent definitions for time manipulations. |
| 2 | Copyright (C) 1993, 1994 Free Software Foundation, Inc. | 2 | Copyright (C) 1993, 1994, 2002, 2003, 2004, |
| 3 | 2005 Free Software Foundation, Inc. | ||
| 3 | 4 | ||
| 4 | This file is part of GNU Emacs. | 5 | This file is part of GNU Emacs. |
| 5 | 6 | ||
diff --git a/src/systty.h b/src/systty.h index b322ca60087..af9f5e3aa88 100644 --- a/src/systty.h +++ b/src/systty.h | |||
| @@ -1,5 +1,6 @@ | |||
| 1 | /* systty.h - System-dependent definitions for terminals. | 1 | /* systty.h - System-dependent definitions for terminals. |
| 2 | Copyright (C) 1993, 1994 Free Software Foundation, Inc. | 2 | Copyright (C) 1993, 1994, 2002, 2003, 2004, |
| 3 | 2005 Free Software Foundation, Inc. | ||
| 3 | 4 | ||
| 4 | This file is part of GNU Emacs. | 5 | This file is part of GNU Emacs. |
| 5 | 6 | ||
diff --git a/src/syswait.h b/src/syswait.h index 78057e3fed4..37d59d68ac5 100644 --- a/src/syswait.h +++ b/src/syswait.h | |||
| @@ -1,5 +1,6 @@ | |||
| 1 | /* Define wait system call interface for Emacs. | 1 | /* Define wait system call interface for Emacs. |
| 2 | Copyright (C) 1993, 1994, 1995, 2000 Free Software Foundation, Inc. | 2 | Copyright (C) 1993, 1994, 1995, 2000, 2002, 2003, 2004, |
| 3 | 2005 Free Software Foundation, Inc. | ||
| 3 | 4 | ||
| 4 | This file is part of GNU Emacs. | 5 | This file is part of GNU Emacs. |
| 5 | 6 | ||
diff --git a/src/term.c b/src/term.c index c8c34ffee39..eb575c1792e 100644 --- a/src/term.c +++ b/src/term.c | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | /* Terminal control module for terminals described by TERMCAP | 1 | /* Terminal control module for terminals described by TERMCAP |
| 2 | Copyright (C) 1985, 86, 87, 93, 94, 95, 98, 2000, 2001, 2002, 2005 | 2 | Copyright (C) 1985, 1986, 1987, 1993, 1994, 1995, 1998, 2000, 2001, |
| 3 | Free Software Foundation, Inc. | 3 | 2002, 2003, 2004, 2005 Free Software Foundation, Inc. |
| 4 | 4 | ||
| 5 | This file is part of GNU Emacs. | 5 | This file is part of GNU Emacs. |
| 6 | 6 | ||
| @@ -451,7 +451,17 @@ set_terminal_modes () | |||
| 451 | { | 451 | { |
| 452 | if (FRAME_TERMCAP_P (XFRAME (selected_frame))) | 452 | if (FRAME_TERMCAP_P (XFRAME (selected_frame))) |
| 453 | { | 453 | { |
| 454 | OUTPUT_IF (TS_termcap_modes); | 454 | if (TS_termcap_modes) |
| 455 | OUTPUT (TS_termcap_modes); | ||
| 456 | else | ||
| 457 | { | ||
| 458 | /* Output enough newlines to scroll all the old screen contents | ||
| 459 | off the screen, so it won't be overwritten and lost. */ | ||
| 460 | int i; | ||
| 461 | for (i = 0; i < FRAME_LINES (XFRAME (selected_frame)); i++) | ||
| 462 | putchar ('\n'); | ||
| 463 | } | ||
| 464 | |||
| 455 | OUTPUT_IF (TS_cursor_visible); | 465 | OUTPUT_IF (TS_cursor_visible); |
| 456 | OUTPUT_IF (TS_keypad_mode); | 466 | OUTPUT_IF (TS_keypad_mode); |
| 457 | losecursor (); | 467 | losecursor (); |
| @@ -2019,24 +2029,20 @@ turn_on_face (f, face_id) | |||
| 2019 | 2029 | ||
| 2020 | if (TN_max_colors > 0) | 2030 | if (TN_max_colors > 0) |
| 2021 | { | 2031 | { |
| 2022 | char *p; | 2032 | char *ts, *p; |
| 2023 | 2033 | ||
| 2024 | if (fg >= 0 && TS_set_foreground) | 2034 | ts = standout_mode ? TS_set_background : TS_set_foreground; |
| 2035 | if (fg >= 0 && ts) | ||
| 2025 | { | 2036 | { |
| 2026 | if (standout_mode) | 2037 | p = tparam (ts, NULL, 0, (int) fg); |
| 2027 | p = tparam (TS_set_background, NULL, 0, (int) fg); | ||
| 2028 | else | ||
| 2029 | p = tparam (TS_set_foreground, NULL, 0, (int) fg); | ||
| 2030 | OUTPUT (p); | 2038 | OUTPUT (p); |
| 2031 | xfree (p); | 2039 | xfree (p); |
| 2032 | } | 2040 | } |
| 2033 | 2041 | ||
| 2034 | if (bg >= 0 && TS_set_background) | 2042 | ts = standout_mode ? TS_set_foreground : TS_set_background; |
| 2043 | if (bg >= 0 && ts) | ||
| 2035 | { | 2044 | { |
| 2036 | if (standout_mode) | 2045 | p = tparam (ts, NULL, 0, (int) bg); |
| 2037 | p = tparam (TS_set_foreground, NULL, 0, (int) bg); | ||
| 2038 | else | ||
| 2039 | p = tparam (TS_set_background, NULL, 0, (int) bg); | ||
| 2040 | OUTPUT (p); | 2046 | OUTPUT (p); |
| 2041 | xfree (p); | 2047 | xfree (p); |
| 2042 | } | 2048 | } |
diff --git a/src/termcap.c b/src/termcap.c index 5f2fa55556a..2f6f324eada 100644 --- a/src/termcap.c +++ b/src/termcap.c | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | /* Work-alike for termcap, plus extra features. | 1 | /* Work-alike for termcap, plus extra features. |
| 2 | Copyright (C) 1985, 86, 93, 94, 95, 2000, 2001 | 2 | Copyright (C) 1985, 1986, 1993, 1994, 1995, 2000, 2001, 2002, 2003, |
| 3 | Free Software Foundation, Inc. | 3 | 2004, 2005 Free Software Foundation, Inc. |
| 4 | 4 | ||
| 5 | This program is free software; you can redistribute it and/or modify | 5 | This program is free software; you can redistribute it and/or modify |
| 6 | it under the terms of the GNU General Public License as published by | 6 | it under the terms of the GNU General Public License as published by |
diff --git a/src/termchar.h b/src/termchar.h index 3a3c9978dd6..04583b9309c 100644 --- a/src/termchar.h +++ b/src/termchar.h | |||
| @@ -1,5 +1,6 @@ | |||
| 1 | /* Flags and parameters describing terminal's characteristics. | 1 | /* Flags and parameters describing terminal's characteristics. |
| 2 | Copyright (C) 1985, 1986 Free Software Foundation, Inc. | 2 | Copyright (C) 1985, 1986, 2002, 2003, 2004, |
| 3 | 2005 Free Software Foundation, Inc. | ||
| 3 | 4 | ||
| 4 | This file is part of GNU Emacs. | 5 | This file is part of GNU Emacs. |
| 5 | 6 | ||
diff --git a/src/termhooks.h b/src/termhooks.h index 395e179ff49..641d21bdc06 100644 --- a/src/termhooks.h +++ b/src/termhooks.h | |||
| @@ -1,6 +1,7 @@ | |||
| 1 | /* Hooks by which low level terminal operations | 1 | /* Hooks by which low level terminal operations |
| 2 | can be made to call other routines. | 2 | can be made to call other routines. |
| 3 | Copyright (C) 1985,86,93,94,2003 Free Software Foundation, Inc. | 3 | Copyright (C) 1985, 1986, 1993, 1994, 2002, 2003, 2004, |
| 4 | 2005 Free Software Foundation, Inc. | ||
| 4 | 5 | ||
| 5 | This file is part of GNU Emacs. | 6 | This file is part of GNU Emacs. |
| 6 | 7 | ||
diff --git a/src/terminfo.c b/src/terminfo.c index 8f040d10c68..5c0aa1ccf05 100644 --- a/src/terminfo.c +++ b/src/terminfo.c | |||
| @@ -1,5 +1,6 @@ | |||
| 1 | /* Interface from Emacs to terminfo. | 1 | /* Interface from Emacs to terminfo. |
| 2 | Copyright (C) 1985, 1986 Free Software Foundation, Inc. | 2 | Copyright (C) 1985, 1986, 2002, 2003, 2004, |
| 3 | 2005 Free Software Foundation, Inc. | ||
| 3 | 4 | ||
| 4 | This file is part of GNU Emacs. | 5 | This file is part of GNU Emacs. |
| 5 | 6 | ||
diff --git a/src/termopts.h b/src/termopts.h index 9d241f64678..eaac0557cdb 100644 --- a/src/termopts.h +++ b/src/termopts.h | |||
| @@ -1,5 +1,6 @@ | |||
| 1 | /* Flags and parameters describing user options for handling the terminal. | 1 | /* Flags and parameters describing user options for handling the terminal. |
| 2 | Copyright (C) 1985, 1986, 1990 Free Software Foundation, Inc. | 2 | Copyright (C) 1985, 1986, 1990, 2002, 2003, 2004, |
| 3 | 2005 Free Software Foundation, Inc. | ||
| 3 | 4 | ||
| 4 | This file is part of GNU Emacs. | 5 | This file is part of GNU Emacs. |
| 5 | 6 | ||
diff --git a/src/textprop.c b/src/textprop.c index ec75c6907ae..fa9b0e498c5 100644 --- a/src/textprop.c +++ b/src/textprop.c | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | /* Interface code for dealing with text properties. | 1 | /* Interface code for dealing with text properties. |
| 2 | Copyright (C) 1993, 1994, 1995, 1997, 1999, 2000, 2001, 2002, 2003, 2004 | 2 | Copyright (C) 1993, 1994, 1995, 1997, 1999, 2000, 2001, 2002, 2003, |
| 3 | Free Software Foundation, Inc. | 3 | 2004, 2005 Free Software Foundation, Inc. |
| 4 | 4 | ||
| 5 | This file is part of GNU Emacs. | 5 | This file is part of GNU Emacs. |
| 6 | 6 | ||
diff --git a/src/tparam.c b/src/tparam.c index e05f01f4911..e593589d5cb 100644 --- a/src/tparam.c +++ b/src/tparam.c | |||
| @@ -1,5 +1,6 @@ | |||
| 1 | /* Merge parameters into a termcap entry string. | 1 | /* Merge parameters into a termcap entry string. |
| 2 | Copyright (C) 1985, 87, 93, 95, 2000 Free Software Foundation, Inc. | 2 | Copyright (C) 1985, 1987, 1993, 1995, 2000, 2002, 2003, 2004, |
| 3 | 2005 Free Software Foundation, Inc. | ||
| 3 | 4 | ||
| 4 | This program is free software; you can redistribute it and/or modify | 5 | This program is free software; you can redistribute it and/or modify |
| 5 | it under the terms of the GNU General Public License as published by | 6 | it under the terms of the GNU General Public License as published by |
| @@ -1,5 +1,5 @@ | |||
| 1 | /* GNU Emacs VMS UAF definition file. | 1 | /* GNU Emacs VMS UAF definition file. |
| 2 | Copyright (C) 1986 Free Software Foundation, Inc. | 2 | Copyright (C) 1986, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. |
| 3 | 3 | ||
| 4 | This file is part of GNU Emacs. | 4 | This file is part of GNU Emacs. |
| 5 | 5 | ||
diff --git a/src/undo.c b/src/undo.c index 13ee40130a9..9839906ca7e 100644 --- a/src/undo.c +++ b/src/undo.c | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | /* undo handling for GNU Emacs. | 1 | /* undo handling for GNU Emacs. |
| 2 | Copyright (C) 1990, 1993, 1994, 2000, 2002, 2004, 2005 | 2 | Copyright (C) 1990, 1993, 1994, 2000, 2002, 2003, 2004, |
| 3 | Free Software Foundation, Inc. | 3 | 2005 Free Software Foundation, Inc. |
| 4 | 4 | ||
| 5 | This file is part of GNU Emacs. | 5 | This file is part of GNU Emacs. |
| 6 | 6 | ||
diff --git a/src/unexaix.c b/src/unexaix.c index 4c9f2727e88..071f09898ed 100644 --- a/src/unexaix.c +++ b/src/unexaix.c | |||
| @@ -1,5 +1,6 @@ | |||
| 1 | /* Dump an executable image. | 1 | /* Dump an executable image. |
| 2 | Copyright (C) 1985, 1986, 1987, 1988, 1999 Free Software Foundation, Inc. | 2 | Copyright (C) 1985, 1986, 1987, 1988, 1999, 2002, 2003, 2004, |
| 3 | 2005 Free Software Foundation, Inc. | ||
| 3 | 4 | ||
| 4 | This file is part of GNU Emacs. | 5 | This file is part of GNU Emacs. |
| 5 | 6 | ||
diff --git a/src/unexalpha.c b/src/unexalpha.c index aa32f411fcb..069c39b398b 100644 --- a/src/unexalpha.c +++ b/src/unexalpha.c | |||
| @@ -1,6 +1,7 @@ | |||
| 1 | /* Unexec for DEC alpha. schoepf@sc.ZIB-Berlin.DE (Rainer Schoepf). | 1 | /* Unexec for DEC alpha. schoepf@sc.ZIB-Berlin.DE (Rainer Schoepf). |
| 2 | 2 | ||
| 3 | Copyright (C) 1994, 2000 Free Software Foundation, Inc. | 3 | Copyright (C) 1994, 2000, 2002, 2003, 2004, |
| 4 | 2005 Free Software Foundation, Inc. | ||
| 4 | 5 | ||
| 5 | This file is part of GNU Emacs. | 6 | This file is part of GNU Emacs. |
| 6 | 7 | ||
diff --git a/src/unexapollo.c b/src/unexapollo.c index d9bff963695..f1481d684a3 100644 --- a/src/unexapollo.c +++ b/src/unexapollo.c | |||
| @@ -1,5 +1,6 @@ | |||
| 1 | /* unexapollo.c -- COFF File UNEXEC for GNU Emacs on Apollo SR10.x | 1 | /* unexapollo.c -- COFF File UNEXEC for GNU Emacs on Apollo SR10.x |
| 2 | Copyright (C) 1988, 1994 Free Software Foundation, Inc. | 2 | Copyright (C) 1988, 1994, 2002, 2003, 2004, |
| 3 | 2005 Free Software Foundation, Inc. | ||
| 3 | 4 | ||
| 4 | This file is part of GNU Emacs. | 5 | This file is part of GNU Emacs. |
| 5 | 6 | ||
diff --git a/src/unexconvex.c b/src/unexconvex.c index cbd1dd29fda..6f05e4ae938 100644 --- a/src/unexconvex.c +++ b/src/unexconvex.c | |||
| @@ -7,7 +7,8 @@ | |||
| 7 | think about it, or about whether other Emacs maintenance might | 7 | think about it, or about whether other Emacs maintenance might |
| 8 | break it. | 8 | break it. |
| 9 | 9 | ||
| 10 | Copyright (C) 1985, 1986, 1988 Free Software Foundation, Inc. | 10 | Copyright (C) 1985, 1986, 1988, 2002, 2003, 2004, |
| 11 | 2005 Free Software Foundation, Inc. | ||
| 11 | 12 | ||
| 12 | This file is part of GNU Emacs. | 13 | This file is part of GNU Emacs. |
| 13 | 14 | ||
diff --git a/src/unexcw.c b/src/unexcw.c index 77d5866136b..cfd87781a16 100644 --- a/src/unexcw.c +++ b/src/unexcw.c | |||
| @@ -1,8 +1,7 @@ | |||
| 1 | /* unexec() support for Cygwin; | 1 | /* unexec() support for Cygwin; |
| 2 | complete rewrite of xemacs Cygwin unexec() code | 2 | complete rewrite of xemacs Cygwin unexec() code |
| 3 | 3 | ||
| 4 | Copyright (C) 2004 | 4 | Copyright (C) 2004, 2005 Free Software Foundation, Inc. |
| 5 | Free Software Foundation, Inc. | ||
| 6 | 5 | ||
| 7 | This file is part of GNU Emacs. | 6 | This file is part of GNU Emacs. |
| 8 | 7 | ||
diff --git a/src/unexec.c b/src/unexec.c index bf231b00626..ebf813306da 100644 --- a/src/unexec.c +++ b/src/unexec.c | |||
| @@ -1,4 +1,5 @@ | |||
| 1 | /* Copyright (C) 1985,86,87,88,92,93,94 Free Software Foundation, Inc. | 1 | /* Copyright (C) 1985, 1986, 1987, 1988, 1992, 1993, 1994, 2002, 2003, 2004, |
| 2 | 2005 Free Software Foundation, Inc. | ||
| 2 | 3 | ||
| 3 | This file is part of GNU Emacs. | 4 | This file is part of GNU Emacs. |
| 4 | 5 | ||
diff --git a/src/unexelf.c b/src/unexelf.c index 9e8b827a754..ee563b36a97 100644 --- a/src/unexelf.c +++ b/src/unexelf.c | |||
| @@ -1,5 +1,5 @@ | |||
| 1 | /* Copyright (C) 1985,86,87,88,90,92,1999,2000,01,2003 | 1 | /* Copyright (C) 1985, 1986, 1987, 1988, 1990, 1992, 1999, 2000, 2001, |
| 2 | Free Software Foundation, Inc. | 2 | 2002, 2003, 2004, 2005 Free Software Foundation, Inc. |
| 3 | 3 | ||
| 4 | This file is part of GNU Emacs. | 4 | This file is part of GNU Emacs. |
| 5 | 5 | ||
diff --git a/src/unexenix.c b/src/unexenix.c index 94ac3eb821d..159c0b2f6d8 100644 --- a/src/unexenix.c +++ b/src/unexenix.c | |||
| @@ -6,7 +6,8 @@ | |||
| 6 | we don't plan to think about it, or about whether other Emacs | 6 | we don't plan to think about it, or about whether other Emacs |
| 7 | maintenance might break it. | 7 | maintenance might break it. |
| 8 | 8 | ||
| 9 | Copyright (C) 1988, 1994 Free Software Foundation, Inc. | 9 | Copyright (C) 1988, 1994, 2002, 2003, 2004, |
| 10 | 2005 Free Software Foundation, Inc. | ||
| 10 | 11 | ||
| 11 | This file is part of GNU Emacs. | 12 | This file is part of GNU Emacs. |
| 12 | 13 | ||
diff --git a/src/unexmacosx.c b/src/unexmacosx.c index a191c0721e5..9db9622f6f5 100644 --- a/src/unexmacosx.c +++ b/src/unexmacosx.c | |||
| @@ -1,5 +1,5 @@ | |||
| 1 | /* Dump Emacs in Mach-O format for use on Mac OS X. | 1 | /* Dump Emacs in Mach-O format for use on Mac OS X. |
| 2 | Copyright (C) 2001, 2002, 2005 Free Software Foundation, Inc. | 2 | Copyright (C) 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. |
| 3 | 3 | ||
| 4 | This file is part of GNU Emacs. | 4 | This file is part of GNU Emacs. |
| 5 | 5 | ||
diff --git a/src/unexmips.c b/src/unexmips.c index 53b40f62742..212f7ed5926 100644 --- a/src/unexmips.c +++ b/src/unexmips.c | |||
| @@ -6,7 +6,8 @@ | |||
| 6 | we don't plan to think about it, or about whether other Emacs | 6 | we don't plan to think about it, or about whether other Emacs |
| 7 | maintenance might break it. | 7 | maintenance might break it. |
| 8 | 8 | ||
| 9 | Copyright (C) 1988, 1994 Free Software Foundation, Inc. | 9 | Copyright (C) 1988, 1994, 2002, 2003, 2004, |
| 10 | 2005 Free Software Foundation, Inc. | ||
| 10 | 11 | ||
| 11 | This file is part of GNU Emacs. | 12 | This file is part of GNU Emacs. |
| 12 | 13 | ||
diff --git a/src/unexnext.c b/src/unexnext.c index 2a0b66bc868..b374dd8e9b8 100644 --- a/src/unexnext.c +++ b/src/unexnext.c | |||
| @@ -1,5 +1,6 @@ | |||
| 1 | /* Dump Emacs in macho format. | 1 | /* Dump Emacs in macho format. |
| 2 | Copyright (C) 1990, 1993 Free Software Foundation, Inc. | 2 | Copyright (C) 1990, 1993, 2002, 2003, 2004, |
| 3 | 2005 Free Software Foundation, Inc. | ||
| 3 | Written by Bradley Taylor (btaylor@next.com). | 4 | Written by Bradley Taylor (btaylor@next.com). |
| 4 | 5 | ||
| 5 | This file is part of GNU Emacs. | 6 | This file is part of GNU Emacs. |
diff --git a/src/unexsni.c b/src/unexsni.c index 0c67af899d5..d6b3ae68969 100644 --- a/src/unexsni.c +++ b/src/unexsni.c | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | /* Unexec for Siemens machines running Sinix (modified SVR4). | 1 | /* Unexec for Siemens machines running Sinix (modified SVR4). |
| 2 | Copyright (C) 1985, 1986, 1987, 1988, 1990, 1992, 1993, 1994, 1995 | 2 | Copyright (C) 1985, 1986, 1987, 1988, 1990, 1992, 1993, 1994, 1995, 2002, |
| 3 | Free Software Foundation, Inc. | 3 | 2003, 2004, 2005 Free Software Foundation, Inc. |
| 4 | 4 | ||
| 5 | This file is part of GNU Emacs. | 5 | This file is part of GNU Emacs. |
| 6 | 6 | ||
diff --git a/src/unexsunos4.c b/src/unexsunos4.c index 9ad06b6adaf..5e221050f36 100644 --- a/src/unexsunos4.c +++ b/src/unexsunos4.c | |||
| @@ -1,5 +1,6 @@ | |||
| 1 | /* Unexec for Sunos 4 using shared libraries. | 1 | /* Unexec for Sunos 4 using shared libraries. |
| 2 | Copyright (C) 1990, 1994, 1999 Free Software Foundation, Inc. | 2 | Copyright (C) 1990, 1994, 1999, 2002, 2003, 2004, |
| 3 | 2005 Free Software Foundation, Inc. | ||
| 3 | 4 | ||
| 4 | This file is part of GNU Emacs. | 5 | This file is part of GNU Emacs. |
| 5 | 6 | ||
diff --git a/src/unexw32.c b/src/unexw32.c index 5380ca5c8f7..bc462c18a10 100644 --- a/src/unexw32.c +++ b/src/unexw32.c | |||
| @@ -1,5 +1,5 @@ | |||
| 1 | /* unexec for GNU Emacs on Windows NT. | 1 | /* unexec for GNU Emacs on Windows NT. |
| 2 | Copyright (C) 1994, 2005 Free Software Foundation, Inc. | 2 | Copyright (C) 1994, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. |
| 3 | 3 | ||
| 4 | This file is part of GNU Emacs. | 4 | This file is part of GNU Emacs. |
| 5 | 5 | ||
diff --git a/src/vm-limit.c b/src/vm-limit.c index 1840eb61c0c..0c12dec9b04 100644 --- a/src/vm-limit.c +++ b/src/vm-limit.c | |||
| @@ -1,5 +1,6 @@ | |||
| 1 | /* Functions for memory limit warnings. | 1 | /* Functions for memory limit warnings. |
| 2 | Copyright (C) 1990, 1992 Free Software Foundation, Inc. | 2 | Copyright (C) 1990, 1992, 2002, 2003, 2004, |
| 3 | 2005 Free Software Foundation, Inc. | ||
| 3 | 4 | ||
| 4 | This file is part of GNU Emacs. | 5 | This file is part of GNU Emacs. |
| 5 | 6 | ||
diff --git a/src/w16select.c b/src/w16select.c index 1cbbebb1340..c2c08666da9 100644 --- a/src/w16select.c +++ b/src/w16select.c | |||
| @@ -1,5 +1,6 @@ | |||
| 1 | /* 16-bit Windows Selection processing for emacs on MS-Windows | 1 | /* 16-bit Windows Selection processing for emacs on MS-Windows |
| 2 | Copyright (C) 1996, 1997, 2001 Free Software Foundation. | 2 | Copyright (C) 1996, 1997, 2001, 2002, 2003, 2004, |
| 3 | 2005 Free Software Foundation, Inc. | ||
| 3 | 4 | ||
| 4 | This file is part of GNU Emacs. | 5 | This file is part of GNU Emacs. |
| 5 | 6 | ||
| @@ -1,5 +1,6 @@ | |||
| 1 | /* Utility and Unix shadow routines for GNU Emacs on the Microsoft W32 API. | 1 | /* Utility and Unix shadow routines for GNU Emacs on the Microsoft W32 API. |
| 2 | Copyright (C) 1994, 1995, 2000, 2001 Free Software Foundation, Inc. | 2 | Copyright (C) 1994, 1995, 2000, 2001, 2002, 2003, 2004, |
| 3 | 2005 Free Software Foundation, Inc. | ||
| 3 | 4 | ||
| 4 | This file is part of GNU Emacs. | 5 | This file is part of GNU Emacs. |
| 5 | 6 | ||
| @@ -2,7 +2,7 @@ | |||
| 2 | #define EMACS_W32_H | 2 | #define EMACS_W32_H |
| 3 | 3 | ||
| 4 | /* Support routines for the NT version of Emacs. | 4 | /* Support routines for the NT version of Emacs. |
| 5 | Copyright (C) 1994 Free Software Foundation, Inc. | 5 | Copyright (C) 1994, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. |
| 6 | 6 | ||
| 7 | This file is part of GNU Emacs. | 7 | This file is part of GNU Emacs. |
| 8 | 8 | ||
diff --git a/src/w32bdf.c b/src/w32bdf.c index 37fb6d85cdd..37b892216d1 100644 --- a/src/w32bdf.c +++ b/src/w32bdf.c | |||
| @@ -1,5 +1,5 @@ | |||
| 1 | /* Implementation of BDF font handling on the Microsoft W32 API. | 1 | /* Implementation of BDF font handling on the Microsoft W32 API. |
| 2 | Copyright (C) 1999 Free Software Foundation, Inc. | 2 | Copyright (C) 1999, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. |
| 3 | 3 | ||
| 4 | This file is part of GNU Emacs. | 4 | This file is part of GNU Emacs. |
| 5 | 5 | ||
diff --git a/src/w32bdf.h b/src/w32bdf.h index ca8a5f368cb..9d3d306d56f 100644 --- a/src/w32bdf.h +++ b/src/w32bdf.h | |||
| @@ -1,5 +1,5 @@ | |||
| 1 | /* Definitions and header for handling BDF fonts on the Microsoft W32 API. | 1 | /* Definitions and header for handling BDF fonts on the Microsoft W32 API. |
| 2 | Copyright (C) 1999 Free Software Foundation, Inc. | 2 | Copyright (C) 1999, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. |
| 3 | 3 | ||
| 4 | This file is part of GNU Emacs. | 4 | This file is part of GNU Emacs. |
| 5 | 5 | ||
diff --git a/src/w32console.c b/src/w32console.c index b8ba169ae49..4009397a060 100644 --- a/src/w32console.c +++ b/src/w32console.c | |||
| @@ -1,5 +1,6 @@ | |||
| 1 | /* Terminal hooks for GNU Emacs on the Microsoft W32 API. | 1 | /* Terminal hooks for GNU Emacs on the Microsoft W32 API. |
| 2 | Copyright (C) 1992, 1999 Free Software Foundation, Inc. | 2 | Copyright (C) 1992, 1999, 2002, 2003, 2004, |
| 3 | 2005 Free Software Foundation, Inc. | ||
| 3 | 4 | ||
| 4 | This file is part of GNU Emacs. | 5 | This file is part of GNU Emacs. |
| 5 | 6 | ||
diff --git a/src/w32fns.c b/src/w32fns.c index 063b71cf293..0fc27ac7d89 100644 --- a/src/w32fns.c +++ b/src/w32fns.c | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | /* Graphical user interface functions for the Microsoft W32 API. | 1 | /* Graphical user interface functions for the Microsoft W32 API. |
| 2 | Copyright (C) 1989, 1992, 93, 94, 95, 96, 97, 98, 99, 2000, 01, 04 | 2 | Copyright (C) 1989, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, |
| 3 | Free Software Foundation, Inc. | 3 | 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. |
| 4 | 4 | ||
| 5 | This file is part of GNU Emacs. | 5 | This file is part of GNU Emacs. |
| 6 | 6 | ||
diff --git a/src/w32gui.h b/src/w32gui.h index 1fd145cd026..644adcea924 100644 --- a/src/w32gui.h +++ b/src/w32gui.h | |||
| @@ -1,5 +1,5 @@ | |||
| 1 | /* Definitions and headers for communication on the Microsoft W32 API. | 1 | /* Definitions and headers for communication on the Microsoft W32 API. |
| 2 | Copyright (C) 1995 Free Software Foundation, Inc. | 2 | Copyright (C) 1995, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. |
| 3 | 3 | ||
| 4 | This file is part of GNU Emacs. | 4 | This file is part of GNU Emacs. |
| 5 | 5 | ||
diff --git a/src/w32heap.c b/src/w32heap.c index 7de08bb2b4e..a0c50da5506 100644 --- a/src/w32heap.c +++ b/src/w32heap.c | |||
| @@ -1,5 +1,5 @@ | |||
| 1 | /* Heap management routines for GNU Emacs on the Microsoft W32 API. | 1 | /* Heap management routines for GNU Emacs on the Microsoft W32 API. |
| 2 | Copyright (C) 1994 Free Software Foundation, Inc. | 2 | Copyright (C) 1994, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. |
| 3 | 3 | ||
| 4 | This file is part of GNU Emacs. | 4 | This file is part of GNU Emacs. |
| 5 | 5 | ||
diff --git a/src/w32heap.h b/src/w32heap.h index 259d0bf9ede..1b3b815b115 100644 --- a/src/w32heap.h +++ b/src/w32heap.h | |||
| @@ -1,5 +1,5 @@ | |||
| 1 | /* Heap management routines (including unexec) for GNU Emacs on Windows NT. | 1 | /* Heap management routines (including unexec) for GNU Emacs on Windows NT. |
| 2 | Copyright (C) 1994 Free Software Foundation, Inc. | 2 | Copyright (C) 1994, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. |
| 3 | 3 | ||
| 4 | This file is part of GNU Emacs. | 4 | This file is part of GNU Emacs. |
| 5 | 5 | ||
diff --git a/src/w32inevt.c b/src/w32inevt.c index cc7c5e1e612..ffa2cd0989a 100644 --- a/src/w32inevt.c +++ b/src/w32inevt.c | |||
| @@ -1,5 +1,6 @@ | |||
| 1 | /* Input event support for Emacs on the Microsoft W32 API. | 1 | /* Input event support for Emacs on the Microsoft W32 API. |
| 2 | Copyright (C) 1992, 1993, 1995 Free Software Foundation, Inc. | 2 | Copyright (C) 1992, 1993, 1995, 2002, 2003, 2004, |
| 3 | 2005 Free Software Foundation, Inc. | ||
| 3 | 4 | ||
| 4 | This file is part of GNU Emacs. | 5 | This file is part of GNU Emacs. |
| 5 | 6 | ||
diff --git a/src/w32inevt.h b/src/w32inevt.h index f811c96c313..e0a9428720f 100644 --- a/src/w32inevt.h +++ b/src/w32inevt.h | |||
| @@ -1,5 +1,5 @@ | |||
| 1 | /* Input routines for GNU Emacs on the Microsoft W32 API. | 1 | /* Input routines for GNU Emacs on the Microsoft W32 API. |
| 2 | Copyright (C) 1995 Free Software Foundation, Inc. | 2 | Copyright (C) 1995, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. |
| 3 | 3 | ||
| 4 | This file is part of GNU Emacs. | 4 | This file is part of GNU Emacs. |
| 5 | 5 | ||
diff --git a/src/w32menu.c b/src/w32menu.c index 0e4902b6ce4..75c55ef4f85 100644 --- a/src/w32menu.c +++ b/src/w32menu.c | |||
| @@ -1,5 +1,6 @@ | |||
| 1 | /* Menu support for GNU Emacs on the Microsoft W32 API. | 1 | /* Menu support for GNU Emacs on the Microsoft W32 API. |
| 2 | Copyright (C) 1986,88,93,94,96,98,1999,2003 Free Software Foundation, Inc. | 2 | Copyright (C) 1986, 1988, 1993, 1994, 1996, 1998, 1999, 2002, 2003, |
| 3 | 2004, 2005 Free Software Foundation, Inc. | ||
| 3 | 4 | ||
| 4 | This file is part of GNU Emacs. | 5 | This file is part of GNU Emacs. |
| 5 | 6 | ||
diff --git a/src/w32proc.c b/src/w32proc.c index 7e344985f4e..628a763c675 100644 --- a/src/w32proc.c +++ b/src/w32proc.c | |||
| @@ -1,5 +1,6 @@ | |||
| 1 | /* Process support for GNU Emacs on the Microsoft W32 API. | 1 | /* Process support for GNU Emacs on the Microsoft W32 API. |
| 2 | Copyright (C) 1992, 95, 99, 2000, 01, 04 Free Software Foundation, Inc. | 2 | Copyright (C) 1992, 1995, 1999, 2000, 2001, 2002, 2003, 2004, |
| 3 | 2005 Free Software Foundation, Inc. | ||
| 3 | 4 | ||
| 4 | This file is part of GNU Emacs. | 5 | This file is part of GNU Emacs. |
| 5 | 6 | ||
diff --git a/src/w32reg.c b/src/w32reg.c index a70835ac303..40d84df3d14 100644 --- a/src/w32reg.c +++ b/src/w32reg.c | |||
| @@ -1,5 +1,6 @@ | |||
| 1 | /* Emulate the X Resource Manager through the registry. | 1 | /* Emulate the X Resource Manager through the registry. |
| 2 | Copyright (C) 1990, 1993, 1994 Free Software Foundation. | 2 | Copyright (C) 1990, 1993, 1994, 2002, 2003, 2004, |
| 3 | 2005 Free Software Foundation, Inc. | ||
| 3 | 4 | ||
| 4 | This file is part of GNU Emacs. | 5 | This file is part of GNU Emacs. |
| 5 | 6 | ||
diff --git a/src/w32select.c b/src/w32select.c index 03bddb51dfc..9ad9f96a4b6 100644 --- a/src/w32select.c +++ b/src/w32select.c | |||
| @@ -1,5 +1,6 @@ | |||
| 1 | /* Selection processing for Emacs on the Microsoft W32 API. | 1 | /* Selection processing for Emacs on the Microsoft W32 API. |
| 2 | Copyright (C) 1993, 1994, 2004 Free Software Foundation. | 2 | Copyright (C) 1993, 1994, 2002, 2003, 2004, |
| 3 | 2005 Free Software Foundation, Inc. | ||
| 3 | 4 | ||
| 4 | This file is part of GNU Emacs. | 5 | This file is part of GNU Emacs. |
| 5 | 6 | ||
diff --git a/src/w32term.c b/src/w32term.c index fa9f05ef57c..5d14d758f74 100644 --- a/src/w32term.c +++ b/src/w32term.c | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | /* Implementation of GUI terminal on the Microsoft W32 API. | 1 | /* Implementation of GUI terminal on the Microsoft W32 API. |
| 2 | Copyright (C) 1989, 93, 94, 95, 96, 1997, 1998, 1999, 2000, 2001, 2005 | 2 | Copyright (C) 1989, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, |
| 3 | Free Software Foundation, Inc. | 3 | 2002, 2003, 2004, 2005 Free Software Foundation, Inc. |
| 4 | 4 | ||
| 5 | This file is part of GNU Emacs. | 5 | This file is part of GNU Emacs. |
| 6 | 6 | ||
diff --git a/src/w32term.h b/src/w32term.h index 8703f017c5a..721e427beec 100644 --- a/src/w32term.h +++ b/src/w32term.h | |||
| @@ -1,5 +1,6 @@ | |||
| 1 | /* Definitions and headers for communication on the Microsoft W32 API. | 1 | /* Definitions and headers for communication on the Microsoft W32 API. |
| 2 | Copyright (C) 1995, 2001 Free Software Foundation, Inc. | 2 | Copyright (C) 1995, 2001, 2002, 2003, 2004, |
| 3 | 2005 Free Software Foundation, Inc. | ||
| 3 | 4 | ||
| 4 | This file is part of GNU Emacs. | 5 | This file is part of GNU Emacs. |
| 5 | 6 | ||
diff --git a/src/w32xfns.c b/src/w32xfns.c index ba705d9498d..46a71b942c7 100644 --- a/src/w32xfns.c +++ b/src/w32xfns.c | |||
| @@ -1,5 +1,6 @@ | |||
| 1 | /* Functions taken directly from X sources for use with the Microsoft W32 API. | 1 | /* Functions taken directly from X sources for use with the Microsoft W32 API. |
| 2 | Copyright (C) 1989, 1992, 1993, 1994, 1995, 1999 Free Software Foundation. | 2 | Copyright (C) 1989, 1992, 1993, 1994, 1995, 1999, 2002, 2003, 2004, |
| 3 | 2005 Free Software Foundation, Inc. | ||
| 3 | 4 | ||
| 4 | This file is part of GNU Emacs. | 5 | This file is part of GNU Emacs. |
| 5 | 6 | ||
diff --git a/src/widget.c b/src/widget.c index fdd927cb175..0386890d93b 100644 --- a/src/widget.c +++ b/src/widget.c | |||
| @@ -1,5 +1,6 @@ | |||
| 1 | /* The emacs frame widget. | 1 | /* The emacs frame widget. |
| 2 | Copyright (C) 1992, 1993, 2000 Free Software Foundation, Inc. | 2 | Copyright (C) 1992, 1993, 2000, 2002, 2003, 2004, |
| 3 | 2005 Free Software Foundation, Inc. | ||
| 3 | 4 | ||
| 4 | This file is part of GNU Emacs. | 5 | This file is part of GNU Emacs. |
| 5 | 6 | ||
diff --git a/src/widget.h b/src/widget.h index 174a6a720de..00d743234c0 100644 --- a/src/widget.h +++ b/src/widget.h | |||
| @@ -1,5 +1,5 @@ | |||
| 1 | /* The emacs frame widget public header file. | 1 | /* The emacs frame widget public header file. |
| 2 | Copyright (C) 1993 Free Software Foundation, Inc. | 2 | Copyright (C) 1993, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. |
| 3 | 3 | ||
| 4 | This file is part of GNU Emacs. | 4 | This file is part of GNU Emacs. |
| 5 | 5 | ||
diff --git a/src/widgetprv.h b/src/widgetprv.h index ce087e825cb..2027b4f602d 100644 --- a/src/widgetprv.h +++ b/src/widgetprv.h | |||
| @@ -1,5 +1,5 @@ | |||
| 1 | /* The emacs frame widget private header file. | 1 | /* The emacs frame widget private header file. |
| 2 | Copyright (C) 1993 Free Software Foundation, Inc. | 2 | Copyright (C) 1993, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. |
| 3 | 3 | ||
| 4 | This file is part of GNU Emacs. | 4 | This file is part of GNU Emacs. |
| 5 | 5 | ||
diff --git a/src/window.c b/src/window.c index d926cedc96a..4089217825f 100644 --- a/src/window.c +++ b/src/window.c | |||
| @@ -1,7 +1,7 @@ | |||
| 1 | /* Window creation, deletion and examination for GNU Emacs. | 1 | /* Window creation, deletion and examination for GNU Emacs. |
| 2 | Does not include redisplay. | 2 | Does not include redisplay. |
| 3 | Copyright (C) 1985, 1986, 1987, 1993, 1994, 1995, 1996, 1997, 1998, 2000, | 3 | Copyright (C) 1985, 1986, 1987, 1993, 1994, 1995, 1996, 1997, 1998, 2000, |
| 4 | 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. | 4 | 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. |
| 5 | 5 | ||
| 6 | This file is part of GNU Emacs. | 6 | This file is part of GNU Emacs. |
| 7 | 7 | ||
| @@ -5624,8 +5624,6 @@ struct saved_window | |||
| 5624 | Lisp_Object scroll_bar_width, vertical_scroll_bar_type; | 5624 | Lisp_Object scroll_bar_width, vertical_scroll_bar_type; |
| 5625 | }; | 5625 | }; |
| 5626 | 5626 | ||
| 5627 | #define SAVED_WINDOW_VECTOR_SIZE 24 /* Arg to Fmake_vector */ | ||
| 5628 | |||
| 5629 | #define SAVED_WINDOW_N(swv,n) \ | 5627 | #define SAVED_WINDOW_N(swv,n) \ |
| 5630 | ((struct saved_window *) (XVECTOR ((swv)->contents[(n)]))) | 5628 | ((struct saved_window *) (XVECTOR ((swv)->contents[(n)]))) |
| 5631 | 5629 | ||
| @@ -6205,7 +6203,7 @@ redirection (see `redirect-frame-focus'). */) | |||
| 6205 | data->saved_windows = tem; | 6203 | data->saved_windows = tem; |
| 6206 | for (i = 0; i < n_windows; i++) | 6204 | for (i = 0; i < n_windows; i++) |
| 6207 | XVECTOR (tem)->contents[i] | 6205 | XVECTOR (tem)->contents[i] |
| 6208 | = Fmake_vector (make_number (SAVED_WINDOW_VECTOR_SIZE), Qnil); | 6206 | = Fmake_vector (make_number (VECSIZE (struct saved_window)), Qnil); |
| 6209 | save_window_save (FRAME_ROOT_WINDOW (f), XVECTOR (tem), 0); | 6207 | save_window_save (FRAME_ROOT_WINDOW (f), XVECTOR (tem), 0); |
| 6210 | XSETWINDOW_CONFIGURATION (tem, data); | 6208 | XSETWINDOW_CONFIGURATION (tem, data); |
| 6211 | return (tem); | 6209 | return (tem); |
diff --git a/src/window.h b/src/window.h index 99274e04ad1..df359f37db2 100644 --- a/src/window.h +++ b/src/window.h | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | /* Window definitions for GNU Emacs. | 1 | /* Window definitions for GNU Emacs. |
| 2 | Copyright (C) 1985,86,93,95,97,98,99, 2000,01,03,04 | 2 | Copyright (C) 1985, 1986, 1993, 1995, 1997, 1998, 1999, 2000, 2001, |
| 3 | Free Software Foundation, Inc. | 3 | 2002, 2003, 2004, 2005 Free Software Foundation, Inc. |
| 4 | 4 | ||
| 5 | This file is part of GNU Emacs. | 5 | This file is part of GNU Emacs. |
| 6 | 6 | ||
diff --git a/src/xdisp.c b/src/xdisp.c index 5ba2b847600..cd00255e775 100644 --- a/src/xdisp.c +++ b/src/xdisp.c | |||
| @@ -1,6 +1,7 @@ | |||
| 1 | /* Display generation from window structure and buffer text. | 1 | /* Display generation from window structure and buffer text. |
| 2 | Copyright (C) 1985, 1986, 1987, 1988, 1993, 1994, 1995, 1997, 1998, 1999, | 2 | Copyright (C) 1985, 1986, 1987, 1988, 1993, 1994, 1995, |
| 3 | 2000, 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. | 3 | 1997, 1998, 1999, 2000, 2001, 2002, 2003, |
| 4 | 2004, 2005 Free Software Foundation, Inc. | ||
| 4 | 5 | ||
| 5 | This file is part of GNU Emacs. | 6 | This file is part of GNU Emacs. |
| 6 | 7 | ||
| @@ -1349,6 +1350,9 @@ pos_visible_p (w, charpos, x, y, rtop, rbot, exact_mode_line_heights_p) | |||
| 1349 | 1350 | ||
| 1350 | current_header_line_height = current_mode_line_height = -1; | 1351 | current_header_line_height = current_mode_line_height = -1; |
| 1351 | 1352 | ||
| 1353 | if (visible_p && w->hscroll > 0) | ||
| 1354 | *x -= w->hscroll; | ||
| 1355 | |||
| 1352 | return visible_p; | 1356 | return visible_p; |
| 1353 | } | 1357 | } |
| 1354 | 1358 | ||
| @@ -7201,6 +7205,9 @@ message3_nolog (m, nbytes, multibyte) | |||
| 7201 | set_message (NULL, m, nbytes, multibyte); | 7205 | set_message (NULL, m, nbytes, multibyte); |
| 7202 | if (minibuffer_auto_raise) | 7206 | if (minibuffer_auto_raise) |
| 7203 | Fraise_frame (frame); | 7207 | Fraise_frame (frame); |
| 7208 | /* Assume we are not echoing. | ||
| 7209 | (If we are, echo_now will override this.) */ | ||
| 7210 | echo_message_buffer = Qnil; | ||
| 7204 | } | 7211 | } |
| 7205 | else | 7212 | else |
| 7206 | clear_message (1, 1); | 7213 | clear_message (1, 1); |
| @@ -7729,13 +7736,16 @@ display_echo_area_1 (a1, a2, a3, a4) | |||
| 7729 | int window_height_changed_p = 0; | 7736 | int window_height_changed_p = 0; |
| 7730 | 7737 | ||
| 7731 | /* Do this before displaying, so that we have a large enough glyph | 7738 | /* Do this before displaying, so that we have a large enough glyph |
| 7732 | matrix for the display. */ | 7739 | matrix for the display. If we can't get enough space for the |
| 7740 | whole text, display the last N lines. That works by setting w->start. */ | ||
| 7733 | window_height_changed_p = resize_mini_window (w, 0); | 7741 | window_height_changed_p = resize_mini_window (w, 0); |
| 7734 | 7742 | ||
| 7743 | /* Use the starting position chosen by resize_mini_window. */ | ||
| 7744 | SET_TEXT_POS_FROM_MARKER (start, w->start); | ||
| 7745 | |||
| 7735 | /* Display. */ | 7746 | /* Display. */ |
| 7736 | clear_glyph_matrix (w->desired_matrix); | 7747 | clear_glyph_matrix (w->desired_matrix); |
| 7737 | XSETWINDOW (window, w); | 7748 | XSETWINDOW (window, w); |
| 7738 | SET_TEXT_POS (start, BEG, BEG_BYTE); | ||
| 7739 | try_window (window, start, 0); | 7749 | try_window (window, start, 0); |
| 7740 | 7750 | ||
| 7741 | return window_height_changed_p; | 7751 | return window_height_changed_p; |
| @@ -7791,8 +7801,14 @@ resize_mini_window_1 (a1, exactly, a3, a4) | |||
| 7791 | 7801 | ||
| 7792 | /* Resize mini-window W to fit the size of its contents. EXACT:P | 7802 | /* Resize mini-window W to fit the size of its contents. EXACT:P |
| 7793 | means size the window exactly to the size needed. Otherwise, it's | 7803 | means size the window exactly to the size needed. Otherwise, it's |
| 7794 | only enlarged until W's buffer is empty. Value is non-zero if | 7804 | only enlarged until W's buffer is empty. |
| 7795 | the window height has been changed. */ | 7805 | |
| 7806 | Set W->start to the right place to begin display. If the whole | ||
| 7807 | contents fit, start at the beginning. Otherwise, start so as | ||
| 7808 | to make the end of the contents appear. This is particularly | ||
| 7809 | important for y-or-n-p, but seems desirable generally. | ||
| 7810 | |||
| 7811 | Value is non-zero if the window height has been changed. */ | ||
| 7796 | 7812 | ||
| 7797 | int | 7813 | int |
| 7798 | resize_mini_window (w, exact_p) | 7814 | resize_mini_window (w, exact_p) |
| @@ -7804,6 +7820,11 @@ resize_mini_window (w, exact_p) | |||
| 7804 | 7820 | ||
| 7805 | xassert (MINI_WINDOW_P (w)); | 7821 | xassert (MINI_WINDOW_P (w)); |
| 7806 | 7822 | ||
| 7823 | /* By default, start display at the beginning. */ | ||
| 7824 | set_marker_both (w->start, w->buffer, | ||
| 7825 | BUF_BEGV (XBUFFER (w->buffer)), | ||
| 7826 | BUF_BEGV_BYTE (XBUFFER (w->buffer))); | ||
| 7827 | |||
| 7807 | /* Don't resize windows while redisplaying a window; it would | 7828 | /* Don't resize windows while redisplaying a window; it would |
| 7808 | confuse redisplay functions when the size of the window they are | 7829 | confuse redisplay functions when the size of the window they are |
| 7809 | displaying changes from under them. Such a resizing can happen, | 7830 | displaying changes from under them. Such a resizing can happen, |
| @@ -7867,9 +7888,10 @@ resize_mini_window (w, exact_p) | |||
| 7867 | if (height > max_height) | 7888 | if (height > max_height) |
| 7868 | { | 7889 | { |
| 7869 | height = max_height; | 7890 | height = max_height; |
| 7870 | init_iterator (&it, w, PT, PT_BYTE, NULL, DEFAULT_FACE_ID); | 7891 | init_iterator (&it, w, ZV, ZV_BYTE, NULL, DEFAULT_FACE_ID); |
| 7871 | move_it_vertically_backward (&it, (height - 1) * unit); | 7892 | move_it_vertically_backward (&it, (height - 1) * unit); |
| 7872 | start = it.current.pos; | 7893 | start = it.current.pos; |
| 7894 | SET_PT_BOTH (CHARPOS (start), BYTEPOS (start)); | ||
| 7873 | } | 7895 | } |
| 7874 | else | 7896 | else |
| 7875 | SET_TEXT_POS (start, BEGV, BEGV_BYTE); | 7897 | SET_TEXT_POS (start, BEGV, BEGV_BYTE); |
| @@ -12803,10 +12825,9 @@ redisplay_window (window, just_this_one_p) | |||
| 12803 | 12825 | ||
| 12804 | #ifdef HAVE_WINDOW_SYSTEM | 12826 | #ifdef HAVE_WINDOW_SYSTEM |
| 12805 | if (FRAME_WINDOW_P (f) | 12827 | if (FRAME_WINDOW_P (f) |
| 12806 | && update_window_fringes (w, 0) | 12828 | && update_window_fringes (w, (just_this_one_p |
| 12807 | && !just_this_one_p | 12829 | || (!used_current_matrix_p && !overlay_arrow_seen) |
| 12808 | && (used_current_matrix_p || overlay_arrow_seen) | 12830 | || w->pseudo_window_p))) |
| 12809 | && !w->pseudo_window_p) | ||
| 12810 | { | 12831 | { |
| 12811 | update_begin (f); | 12832 | update_begin (f); |
| 12812 | BLOCK_INPUT; | 12833 | BLOCK_INPUT; |
| @@ -17713,6 +17734,15 @@ calc_pixel_width_or_height (res, it, prop, font, width_p, align_to) | |||
| 17713 | if (pixels > 0) | 17734 | if (pixels > 0) |
| 17714 | { | 17735 | { |
| 17715 | double ppi; | 17736 | double ppi; |
| 17737 | #ifdef HAVE_WINDOW_SYSTEM | ||
| 17738 | if (FRAME_WINDOW_P (it->f) | ||
| 17739 | && (ppi = (width_p | ||
| 17740 | ? FRAME_X_DISPLAY_INFO (it->f)->resx | ||
| 17741 | : FRAME_X_DISPLAY_INFO (it->f)->resy), | ||
| 17742 | ppi > 0)) | ||
| 17743 | return OK_PIXELS (ppi / pixels); | ||
| 17744 | #endif | ||
| 17745 | |||
| 17716 | if ((ppi = NUMVAL (Vdisplay_pixels_per_inch), ppi > 0) | 17746 | if ((ppi = NUMVAL (Vdisplay_pixels_per_inch), ppi > 0) |
| 17717 | || (CONSP (Vdisplay_pixels_per_inch) | 17747 | || (CONSP (Vdisplay_pixels_per_inch) |
| 17718 | && (ppi = (width_p | 17748 | && (ppi = (width_p |
| @@ -23190,7 +23220,7 @@ of the top or bottom of the window. */); | |||
| 23190 | scroll_margin = 0; | 23220 | scroll_margin = 0; |
| 23191 | 23221 | ||
| 23192 | DEFVAR_LISP ("display-pixels-per-inch", &Vdisplay_pixels_per_inch, | 23222 | DEFVAR_LISP ("display-pixels-per-inch", &Vdisplay_pixels_per_inch, |
| 23193 | doc: /* Pixels per inch on current display. | 23223 | doc: /* Pixels per inch value for non-window system displays. |
| 23194 | Value is a number or a cons (WIDTH-DPI . HEIGHT-DPI). */); | 23224 | Value is a number or a cons (WIDTH-DPI . HEIGHT-DPI). */); |
| 23195 | Vdisplay_pixels_per_inch = make_float (72.0); | 23225 | Vdisplay_pixels_per_inch = make_float (72.0); |
| 23196 | 23226 | ||
diff --git a/src/xfaces.c b/src/xfaces.c index 45379c7dd8c..6d805feacae 100644 --- a/src/xfaces.c +++ b/src/xfaces.c | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | /* xfaces.c -- "Face" primitives. | 1 | /* xfaces.c -- "Face" primitives. |
| 2 | Copyright (C) 1993, 1994, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005 | 2 | Copyright (C) 1993, 1994, 1998, 1999, 2000, 2001, 2002, 2003, 2004, |
| 3 | Free Software Foundation. | 3 | 2005 Free Software Foundation, Inc. |
| 4 | 4 | ||
| 5 | This file is part of GNU Emacs. | 5 | This file is part of GNU Emacs. |
| 6 | 6 | ||
diff --git a/src/xfns.c b/src/xfns.c index 8826da7650b..9655951d8c1 100644 --- a/src/xfns.c +++ b/src/xfns.c | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | /* Functions for the X window system. | 1 | /* Functions for the X window system. |
| 2 | Copyright (C) 1989, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, | 2 | Copyright (C) 1989, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, |
| 3 | 2001, 2002, 2003, 2004, 2005 Free Software Foundation. | 3 | 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. |
| 4 | 4 | ||
| 5 | This file is part of GNU Emacs. | 5 | This file is part of GNU Emacs. |
| 6 | 6 | ||
diff --git a/src/xmenu.c b/src/xmenu.c index 180edf871b5..2de8c0917d4 100644 --- a/src/xmenu.c +++ b/src/xmenu.c | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | /* X Communication module for terminals which understand the X protocol. | 1 | /* X Communication module for terminals which understand the X protocol. |
| 2 | Copyright (C) 1986, 1988, 1993, 1994, 1996, 1999, 2000, 2001, 2003, 2004, | 2 | Copyright (C) 1986, 1988, 1993, 1994, 1996, 1999, 2000, 2001, 2002, 2003, |
| 3 | 2005 Free Software Foundation, Inc. | 3 | 2004, 2005 Free Software Foundation, Inc. |
| 4 | 4 | ||
| 5 | This file is part of GNU Emacs. | 5 | This file is part of GNU Emacs. |
| 6 | 6 | ||
diff --git a/src/xrdb.c b/src/xrdb.c index 248e5eba64d..822fb6e2624 100644 --- a/src/xrdb.c +++ b/src/xrdb.c | |||
| @@ -1,5 +1,6 @@ | |||
| 1 | /* Deal with the X Resource Manager. | 1 | /* Deal with the X Resource Manager. |
| 2 | Copyright (C) 1990, 1993, 1994, 2000, 2001 Free Software Foundation. | 2 | Copyright (C) 1990, 1993, 1994, 2000, 2001, 2002, 2003, 2004, |
| 3 | 2005 Free Software Foundation, Inc. | ||
| 3 | 4 | ||
| 4 | This file is part of GNU Emacs. | 5 | This file is part of GNU Emacs. |
| 5 | 6 | ||
diff --git a/src/xselect.c b/src/xselect.c index a424259416b..4db86c1cc5a 100644 --- a/src/xselect.c +++ b/src/xselect.c | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | /* X Selection processing for Emacs. | 1 | /* X Selection processing for Emacs. |
| 2 | Copyright (C) 1993, 1994, 1995, 1996, 1997, 2000, 2001, 2003, 2004 | 2 | Copyright (C) 1993, 1994, 1995, 1996, 1997, 2000, 2001, 2002, 2003, |
| 3 | Free Software Foundation. | 3 | 2004, 2005 Free Software Foundation, Inc. |
| 4 | 4 | ||
| 5 | This file is part of GNU Emacs. | 5 | This file is part of GNU Emacs. |
| 6 | 6 | ||
diff --git a/src/xsmfns.c b/src/xsmfns.c index 9a94adbb997..4285dd76718 100644 --- a/src/xsmfns.c +++ b/src/xsmfns.c | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | /* Session management module for systems which understand the X Session | 1 | /* Session management module for systems which understand the X Session |
| 2 | management protocol. | 2 | management protocol. |
| 3 | Copyright (C) 2002, 2003, 2004 Free Software Foundation, Inc. | 3 | Copyright (C) 2002, 2003, 2004, 2005 Free Software Foundation, Inc. |
| 4 | 4 | ||
| 5 | This file is part of GNU Emacs. | 5 | This file is part of GNU Emacs. |
| 6 | 6 | ||
diff --git a/src/xterm.c b/src/xterm.c index 308456965c1..8eead3d566c 100644 --- a/src/xterm.c +++ b/src/xterm.c | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | /* X Communication module for terminals which understand the X protocol. | 1 | /* X Communication module for terminals which understand the X protocol. |
| 2 | Copyright (C) 1989, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, | 2 | Copyright (C) 1989, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, |
| 3 | 2002, 2003, 2004, 2005 Free Software Foundation, Inc. | 3 | 2002, 2003, 2004, 2005 Free Software Foundation, Inc. |
| 4 | 4 | ||
| 5 | This file is part of GNU Emacs. | 5 | This file is part of GNU Emacs. |
| 6 | 6 | ||
| @@ -9274,7 +9274,14 @@ x_wm_set_icon_pixmap (f, pixmap_id) | |||
| 9274 | #endif | 9274 | #endif |
| 9275 | } | 9275 | } |
| 9276 | 9276 | ||
| 9277 | #ifdef USE_X_TOOLKIT /* same as in x_wm_set_window_state. */ | 9277 | |
| 9278 | #ifdef USE_GTK | ||
| 9279 | { | ||
| 9280 | xg_set_frame_icon (f, icon_pixmap, icon_mask); | ||
| 9281 | return; | ||
| 9282 | } | ||
| 9283 | |||
| 9284 | #elif defined (USE_X_TOOLKIT) /* same as in x_wm_set_window_state. */ | ||
| 9278 | 9285 | ||
| 9279 | { | 9286 | { |
| 9280 | Arg al[1]; | 9287 | Arg al[1]; |
| @@ -9284,12 +9291,12 @@ x_wm_set_icon_pixmap (f, pixmap_id) | |||
| 9284 | XtSetValues (f->output_data.x->widget, al, 1); | 9291 | XtSetValues (f->output_data.x->widget, al, 1); |
| 9285 | } | 9292 | } |
| 9286 | 9293 | ||
| 9287 | #else /* not USE_X_TOOLKIT */ | 9294 | #else /* not USE_X_TOOLKIT && not USE_GTK */ |
| 9288 | 9295 | ||
| 9289 | f->output_data.x->wm_hints.flags |= (IconPixmapHint | IconMaskHint); | 9296 | f->output_data.x->wm_hints.flags |= (IconPixmapHint | IconMaskHint); |
| 9290 | XSetWMHints (FRAME_X_DISPLAY (f), window, &f->output_data.x->wm_hints); | 9297 | XSetWMHints (FRAME_X_DISPLAY (f), window, &f->output_data.x->wm_hints); |
| 9291 | 9298 | ||
| 9292 | #endif /* not USE_X_TOOLKIT */ | 9299 | #endif /* not USE_X_TOOLKIT && not USE_GTK */ |
| 9293 | } | 9300 | } |
| 9294 | 9301 | ||
| 9295 | void | 9302 | void |
diff --git a/src/xterm.h b/src/xterm.h index 337e51a673d..6a2a9a99200 100644 --- a/src/xterm.h +++ b/src/xterm.h | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | /* Definitions and headers for communication with X protocol. | 1 | /* Definitions and headers for communication with X protocol. |
| 2 | Copyright (C) 1989, 1993, 1994, 1998, 1999, 2000,01,02,03,04 | 2 | Copyright (C) 1989, 1993, 1994, 1998, 1999, 2000, 2001, 2002, 2003, |
| 3 | Free Software Foundation, Inc. | 3 | 2004, 2005 Free Software Foundation, Inc. |
| 4 | 4 | ||
| 5 | This file is part of GNU Emacs. | 5 | This file is part of GNU Emacs. |
| 6 | 6 | ||