diff options
| author | Karoly Lorentey | 2007-01-29 22:21:19 +0000 |
|---|---|---|
| committer | Karoly Lorentey | 2007-01-29 22:21:19 +0000 |
| commit | 93afd0f1d463bec0fc8d3127c1d34ccaa4dbe99b (patch) | |
| tree | 6e4e3bec20b8c65eb1f78b0ad302fa6c1977d355 /src | |
| parent | 38db5c8d522cc1faa8190e77dbc932a5560e6aad (diff) | |
| parent | 5c4a60523827062803ab9a55b4325358225d66bf (diff) | |
| download | emacs-93afd0f1d463bec0fc8d3127c1d34ccaa4dbe99b.tar.gz emacs-93afd0f1d463bec0fc8d3127c1d34ccaa4dbe99b.zip | |
Merged from emacs@sv.gnu.org
Patches applied:
* emacs@sv.gnu.org/emacs--devo--0--patch-599
Merge from erc--main--0
* emacs@sv.gnu.org/emacs--devo--0--patch-600
Merge from erc--main--0
* emacs@sv.gnu.org/emacs--devo--0--patch-601
Update from CVS
* emacs@sv.gnu.org/emacs--devo--0--patch-602
Update from CVS
* emacs@sv.gnu.org/emacs--devo--0--patch-603
Update from CVS
* emacs@sv.gnu.org/emacs--devo--0--patch-604
Merge from gnus--rel--5.10
* emacs@sv.gnu.org/emacs--devo--0--patch-605
Update from CVS
* emacs@sv.gnu.org/emacs--devo--0--patch-606
Merge from gnus--rel--5.10
* emacs@sv.gnu.org/emacs--devo--0--patch-607
Update from CVS
* emacs@sv.gnu.org/emacs--devo--0--patch-608
Update from CVS
* emacs@sv.gnu.org/emacs--devo--0--patch-609
Update from CVS
* emacs@sv.gnu.org/emacs--devo--0--patch-610
Update from CVS
* emacs@sv.gnu.org/emacs--devo--0--patch-611
Update from CVS
* emacs@sv.gnu.org/emacs--devo--0--patch-612
Merge from gnus--rel--5.10
* emacs@sv.gnu.org/emacs--devo--0--patch-613
Update from CVS
* emacs@sv.gnu.org/emacs--devo--0--patch-614
Make byte compiler correctly write circular constants
* emacs@sv.gnu.org/emacs--devo--0--patch-615
Update from CVS
* emacs@sv.gnu.org/emacs--devo--0--patch-616
Update from CVS
* emacs@sv.gnu.org/emacs--devo--0--patch-617
Update from CVS
* emacs@sv.gnu.org/emacs--devo--0--patch-618
Update from CVS
* emacs@sv.gnu.org/gnus--rel--5.10--patch-192
Merge from emacs--devo--0
* emacs@sv.gnu.org/gnus--rel--5.10--patch-193
Update from CVS
* emacs@sv.gnu.org/gnus--rel--5.10--patch-194
Merge from emacs--devo--0
* emacs@sv.gnu.org/gnus--rel--5.10--patch-195
Update from CVS
* emacs@sv.gnu.org/gnus--rel--5.10--patch-196
Update from CVS
git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-594
Diffstat (limited to 'src')
307 files changed, 1342 insertions, 1424 deletions
diff --git a/src/.gdbinit b/src/.gdbinit index 0561d53a937..8d8c163b3b6 100644 --- a/src/.gdbinit +++ b/src/.gdbinit | |||
| @@ -1,5 +1,5 @@ | |||
| 1 | # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 2000, 2001, | 1 | # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 2000, 2001, |
| 2 | # 2004, 2005, 2006 Free Software Foundation, Inc. | 2 | # 2002, 2003, 2004, 2005, 2006, 2007 Free Software Foundation, Inc. |
| 3 | # | 3 | # |
| 4 | # This file is part of GNU Emacs. | 4 | # This file is part of GNU Emacs. |
| 5 | # | 5 | # |
| @@ -158,7 +158,8 @@ define ppt | |||
| 158 | printf " SZ=%d\n", $t->gap_size | 158 | printf " SZ=%d\n", $t->gap_size |
| 159 | end | 159 | end |
| 160 | document ppt | 160 | document ppt |
| 161 | Print point, beg, end, narrow, and gap for current buffer. | 161 | Print current buffer's point and boundaries. |
| 162 | Prints values of point, beg, end, narrow, and gap for current buffer. | ||
| 162 | end | 163 | end |
| 163 | 164 | ||
| 164 | # Print out iterator given as first arg | 165 | # Print out iterator given as first arg |
| @@ -312,7 +313,7 @@ define pcursorx | |||
| 312 | printf "y=%d x=%d vpos=%d hpos=%d", $cp->y, $cp->x, $cp->vpos, $cp->hpos | 313 | printf "y=%d x=%d vpos=%d hpos=%d", $cp->y, $cp->x, $cp->vpos, $cp->hpos |
| 313 | end | 314 | end |
| 314 | document pcursorx | 315 | document pcursorx |
| 315 | Pretty print a window cursor | 316 | Pretty print a window cursor. |
| 316 | end | 317 | end |
| 317 | 318 | ||
| 318 | define pcursor | 319 | define pcursor |
| @@ -321,7 +322,7 @@ define pcursor | |||
| 321 | printf "\n" | 322 | printf "\n" |
| 322 | end | 323 | end |
| 323 | document pcursor | 324 | document pcursor |
| 324 | Pretty print the output_cursor | 325 | Pretty print the output_cursor. |
| 325 | end | 326 | end |
| 326 | 327 | ||
| 327 | define pwinx | 328 | define pwinx |
| @@ -381,7 +382,7 @@ define pwinx | |||
| 381 | end | 382 | end |
| 382 | document pwinx | 383 | document pwinx |
| 383 | Pretty print a window structure. | 384 | Pretty print a window structure. |
| 384 | Takes one argument, a pointer to a window structure | 385 | Takes one argument, a pointer to a window structure. |
| 385 | end | 386 | end |
| 386 | 387 | ||
| 387 | define pwin | 388 | define pwin |
| @@ -447,7 +448,7 @@ define pgx | |||
| 447 | end | 448 | end |
| 448 | document pgx | 449 | document pgx |
| 449 | Pretty print a glyph structure. | 450 | Pretty print a glyph structure. |
| 450 | Takes one argument, a pointer to a glyph structure | 451 | Takes one argument, a pointer to a glyph structure. |
| 451 | end | 452 | end |
| 452 | 453 | ||
| 453 | define pg | 454 | define pg |
| @@ -532,7 +533,8 @@ define xvectype | |||
| 532 | echo \n | 533 | echo \n |
| 533 | end | 534 | end |
| 534 | document xvectype | 535 | document xvectype |
| 535 | Print the size or vector subtype of $, assuming it is a vector or pseudovector. | 536 | Print the size or vector subtype of $. |
| 537 | This command assumes that $ is a vector or pseudovector. | ||
| 536 | end | 538 | end |
| 537 | 539 | ||
| 538 | define xmisctype | 540 | define xmisctype |
| @@ -541,7 +543,7 @@ define xmisctype | |||
| 541 | echo \n | 543 | echo \n |
| 542 | end | 544 | end |
| 543 | document xmisctype | 545 | document xmisctype |
| 544 | Print the specific type of $, assuming it is some misc type. | 546 | Assume that $ is some misc type and print its specific type. |
| 545 | end | 547 | end |
| 546 | 548 | ||
| 547 | define xint | 549 | define xint |
| @@ -549,7 +551,7 @@ define xint | |||
| 549 | print $int | 551 | print $int |
| 550 | end | 552 | end |
| 551 | document xint | 553 | document xint |
| 552 | Print $, assuming it is an Emacs Lisp integer. This gets the sign right. | 554 | Print $ as an Emacs Lisp integer. This gets the sign right. |
| 553 | end | 555 | end |
| 554 | 556 | ||
| 555 | define xptr | 557 | define xptr |
| @@ -557,7 +559,7 @@ define xptr | |||
| 557 | print (void *) $ptr | 559 | print (void *) $ptr |
| 558 | end | 560 | end |
| 559 | document xptr | 561 | document xptr |
| 560 | Print the pointer portion of $, assuming it is an Emacs Lisp value. | 562 | Print the pointer portion of an Emacs Lisp value in $. |
| 561 | end | 563 | end |
| 562 | 564 | ||
| 563 | define xmarker | 565 | define xmarker |
| @@ -565,7 +567,8 @@ define xmarker | |||
| 565 | print (struct Lisp_Marker *) $ptr | 567 | print (struct Lisp_Marker *) $ptr |
| 566 | end | 568 | end |
| 567 | document xmarker | 569 | document xmarker |
| 568 | Print $ as a marker pointer, assuming it is an Emacs Lisp marker value. | 570 | Print $ as a marker pointer. |
| 571 | This command assumes that $ is an Emacs Lisp marker value. | ||
| 569 | end | 572 | end |
| 570 | 573 | ||
| 571 | define xoverlay | 574 | define xoverlay |
| @@ -573,7 +576,8 @@ define xoverlay | |||
| 573 | print (struct Lisp_Overlay *) $ptr | 576 | print (struct Lisp_Overlay *) $ptr |
| 574 | end | 577 | end |
| 575 | document xoverlay | 578 | document xoverlay |
| 576 | Print $ as a overlay pointer, assuming it is an Emacs Lisp overlay value. | 579 | Print $ as a overlay pointer. |
| 580 | This command assumes that $ is an Emacs Lisp overlay value. | ||
| 577 | end | 581 | end |
| 578 | 582 | ||
| 579 | define xmiscfree | 583 | define xmiscfree |
| @@ -581,7 +585,8 @@ define xmiscfree | |||
| 581 | print (struct Lisp_Free *) $ptr | 585 | print (struct Lisp_Free *) $ptr |
| 582 | end | 586 | end |
| 583 | document xmiscfree | 587 | document xmiscfree |
| 584 | Print $ as a misc free-cell pointer, assuming it is an Emacs Lisp Misc value. | 588 | Print $ as a misc free-cell pointer. |
| 589 | This command assumes that $ is an Emacs Lisp Misc value. | ||
| 585 | end | 590 | end |
| 586 | 591 | ||
| 587 | define xintfwd | 592 | define xintfwd |
| @@ -589,7 +594,8 @@ define xintfwd | |||
| 589 | print (struct Lisp_Intfwd *) $ptr | 594 | print (struct Lisp_Intfwd *) $ptr |
| 590 | end | 595 | end |
| 591 | document xintfwd | 596 | document xintfwd |
| 592 | Print $ as an integer forwarding pointer, assuming it is an Emacs Lisp Misc value. | 597 | Print $ as an integer forwarding pointer. |
| 598 | This command assumes that $ is an Emacs Lisp Misc value. | ||
| 593 | end | 599 | end |
| 594 | 600 | ||
| 595 | define xboolfwd | 601 | define xboolfwd |
| @@ -597,7 +603,8 @@ define xboolfwd | |||
| 597 | print (struct Lisp_Boolfwd *) $ptr | 603 | print (struct Lisp_Boolfwd *) $ptr |
| 598 | end | 604 | end |
| 599 | document xboolfwd | 605 | document xboolfwd |
| 600 | Print $ as a boolean forwarding pointer, assuming it is an Emacs Lisp Misc value. | 606 | Print $ as a boolean forwarding pointer. |
| 607 | This command assumes that $ is an Emacs Lisp Misc value. | ||
| 601 | end | 608 | end |
| 602 | 609 | ||
| 603 | define xobjfwd | 610 | define xobjfwd |
| @@ -605,7 +612,8 @@ define xobjfwd | |||
| 605 | print (struct Lisp_Objfwd *) $ptr | 612 | print (struct Lisp_Objfwd *) $ptr |
| 606 | end | 613 | end |
| 607 | document xobjfwd | 614 | document xobjfwd |
| 608 | Print $ as an object forwarding pointer, assuming it is an Emacs Lisp Misc value. | 615 | Print $ as an object forwarding pointer. |
| 616 | This command assumes that $ is an Emacs Lisp Misc value. | ||
| 609 | end | 617 | end |
| 610 | 618 | ||
| 611 | define xbufobjfwd | 619 | define xbufobjfwd |
| @@ -613,7 +621,8 @@ define xbufobjfwd | |||
| 613 | print (struct Lisp_Buffer_Objfwd *) $ptr | 621 | print (struct Lisp_Buffer_Objfwd *) $ptr |
| 614 | end | 622 | end |
| 615 | document xbufobjfwd | 623 | document xbufobjfwd |
| 616 | Print $ as a buffer-local object forwarding pointer, assuming it is an Emacs Lisp Misc value. | 624 | Print $ as a buffer-local object forwarding pointer. |
| 625 | This command assumes that $ is an Emacs Lisp Misc value. | ||
| 617 | end | 626 | end |
| 618 | 627 | ||
| 619 | define xkbobjfwd | 628 | define xkbobjfwd |
| @@ -621,7 +630,8 @@ define xkbobjfwd | |||
| 621 | print (struct Lisp_Kboard_Objfwd *) $ptr | 630 | print (struct Lisp_Kboard_Objfwd *) $ptr |
| 622 | end | 631 | end |
| 623 | document xkbobjfwd | 632 | document xkbobjfwd |
| 624 | Print $ as a kboard-local object forwarding pointer, assuming it is an Emacs Lisp Misc value. | 633 | Print $ as a kboard-local object forwarding pointer. |
| 634 | This command assumes that $ is an Emacs Lisp Misc value. | ||
| 625 | end | 635 | end |
| 626 | 636 | ||
| 627 | define xbuflocal | 637 | define xbuflocal |
| @@ -629,7 +639,8 @@ define xbuflocal | |||
| 629 | print (struct Lisp_Buffer_Local_Value *) $ptr | 639 | print (struct Lisp_Buffer_Local_Value *) $ptr |
| 630 | end | 640 | end |
| 631 | document xbuflocal | 641 | document xbuflocal |
| 632 | Print $ as a buffer-local-value pointer, assuming it is an Emacs Lisp Misc value. | 642 | Print $ as a buffer-local-value pointer. |
| 643 | This command assumes that $ is an Emacs Lisp Misc value. | ||
| 633 | end | 644 | end |
| 634 | 645 | ||
| 635 | define xsymbol | 646 | define xsymbol |
| @@ -673,7 +684,8 @@ define xprocess | |||
| 673 | echo \n | 684 | echo \n |
| 674 | end | 685 | end |
| 675 | document xprocess | 686 | document xprocess |
| 676 | Print the address of the struct Lisp_process which the Lisp_Object $ points to. | 687 | Print the address of the struct Lisp_process to which $ points. |
| 688 | This command assumes that $ is a Lisp_Object. | ||
| 677 | end | 689 | end |
| 678 | 690 | ||
| 679 | define xframe | 691 | define xframe |
| @@ -685,7 +697,8 @@ define xframe | |||
| 685 | echo \n | 697 | echo \n |
| 686 | end | 698 | end |
| 687 | document xframe | 699 | document xframe |
| 688 | Print $ as a frame pointer, assuming it is an Emacs Lisp frame value. | 700 | Print $ as a frame pointer. |
| 701 | This command assumes $ is an Emacs Lisp frame value. | ||
| 689 | end | 702 | end |
| 690 | 703 | ||
| 691 | define xcompiled | 704 | define xcompiled |
| @@ -694,7 +707,8 @@ define xcompiled | |||
| 694 | output ($->contents[0])@($->size & 0xff) | 707 | output ($->contents[0])@($->size & 0xff) |
| 695 | end | 708 | end |
| 696 | document xcompiled | 709 | document xcompiled |
| 697 | Print $ as a compiled function pointer, assuming it is an Emacs Lisp compiled value. | 710 | Print $ as a compiled function pointer. |
| 711 | This command assumes that $ is an Emacs Lisp compiled value. | ||
| 698 | end | 712 | end |
| 699 | 713 | ||
| 700 | define xwindow | 714 | define xwindow |
| @@ -721,7 +735,8 @@ define xwinconfig | |||
| 721 | print (struct save_window_data *) $ptr | 735 | print (struct save_window_data *) $ptr |
| 722 | end | 736 | end |
| 723 | document xwinconfig | 737 | document xwinconfig |
| 724 | Print $ as a window configuration pointer, assuming it is an Emacs Lisp window configuration value. | 738 | Print $ as a window configuration pointer. |
| 739 | This command assumes that $ is an Emacs Lisp window configuration value. | ||
| 725 | end | 740 | end |
| 726 | 741 | ||
| 727 | define xsubr | 742 | define xsubr |
| @@ -766,8 +781,8 @@ define xbuffer | |||
| 766 | echo \n | 781 | echo \n |
| 767 | end | 782 | end |
| 768 | document xbuffer | 783 | document xbuffer |
| 769 | Set $ as a buffer pointer, assuming it is an Emacs Lisp buffer value. | 784 | Set $ as a buffer pointer and the name of the buffer. |
| 770 | Print the name of the buffer. | 785 | This command assumes $ is an Emacs Lisp buffer value. |
| 771 | end | 786 | end |
| 772 | 787 | ||
| 773 | define xhashtable | 788 | define xhashtable |
| @@ -775,7 +790,8 @@ define xhashtable | |||
| 775 | print (struct Lisp_Hash_Table *) $ptr | 790 | print (struct Lisp_Hash_Table *) $ptr |
| 776 | end | 791 | end |
| 777 | document xhashtable | 792 | document xhashtable |
| 778 | Set $ as a hash table pointer, assuming it is an Emacs Lisp hash table value. | 793 | Set $ as a hash table pointer. |
| 794 | This command assumes that $ is an Emacs Lisp hash table value. | ||
| 779 | end | 795 | end |
| 780 | 796 | ||
| 781 | define xcons | 797 | define xcons |
| @@ -785,7 +801,7 @@ define xcons | |||
| 785 | echo \n | 801 | echo \n |
| 786 | end | 802 | end |
| 787 | document xcons | 803 | document xcons |
| 788 | Print the contents of $, assuming it is an Emacs Lisp cons. | 804 | Print the contents of $ as an Emacs Lisp cons. |
| 789 | end | 805 | end |
| 790 | 806 | ||
| 791 | define nextcons | 807 | define nextcons |
| @@ -794,7 +810,7 @@ define nextcons | |||
| 794 | end | 810 | end |
| 795 | document nextcons | 811 | document nextcons |
| 796 | Print the contents of the next cell in a list. | 812 | Print the contents of the next cell in a list. |
| 797 | This assumes that the last thing you printed was a cons cell contents | 813 | This command assumes that the last thing you printed was a cons cell contents |
| 798 | (type struct Lisp_Cons) or a pointer to one. | 814 | (type struct Lisp_Cons) or a pointer to one. |
| 799 | end | 815 | end |
| 800 | define xcar | 816 | define xcar |
| @@ -803,7 +819,7 @@ define xcar | |||
| 803 | print/x ($type == Lisp_Cons ? ((struct Lisp_Cons *) $ptr)->car : 0) | 819 | print/x ($type == Lisp_Cons ? ((struct Lisp_Cons *) $ptr)->car : 0) |
| 804 | end | 820 | end |
| 805 | document xcar | 821 | document xcar |
| 806 | Print the car of $, assuming it is an Emacs Lisp pair. | 822 | Assume that $ is an Emacs Lisp pair and print its car. |
| 807 | end | 823 | end |
| 808 | 824 | ||
| 809 | define xcdr | 825 | define xcdr |
| @@ -812,7 +828,7 @@ define xcdr | |||
| 812 | print/x ($type == Lisp_Cons ? ((struct Lisp_Cons *) $ptr)->u.cdr : 0) | 828 | print/x ($type == Lisp_Cons ? ((struct Lisp_Cons *) $ptr)->u.cdr : 0) |
| 813 | end | 829 | end |
| 814 | document xcdr | 830 | document xcdr |
| 815 | Print the cdr of $, assuming it is an Emacs Lisp pair. | 831 | Assume that $ is an Emacs Lisp pair and print its cdr. |
| 816 | end | 832 | end |
| 817 | 833 | ||
| 818 | define xlist | 834 | define xlist |
| @@ -1007,7 +1023,7 @@ define which | |||
| 1007 | set debug_print (which_symbols ($arg0)) | 1023 | set debug_print (which_symbols ($arg0)) |
| 1008 | end | 1024 | end |
| 1009 | document which | 1025 | document which |
| 1010 | Print symbols which references a given lisp object, | 1026 | Print symbols which references a given lisp object |
| 1011 | either as its symbol value or symbol function. | 1027 | either as its symbol value or symbol function. |
| 1012 | end | 1028 | end |
| 1013 | 1029 | ||
diff --git a/src/ChangeLog b/src/ChangeLog index 1974d45dd2c..dd133046747 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,151 @@ | |||
| 1 | 2007-01-28 Richard Stallman <rms@gnu.org> | ||
| 2 | |||
| 3 | * minibuf.c (Ftry_completion, Fall_completions) | ||
| 4 | (Fcompleting_read, Ftest_completion): | ||
| 5 | Rename arg ALIST or TABLE to COLLECTION. | ||
| 6 | |||
| 7 | 2007-01-27 Chong Yidong <cyd@stupidchicken.com> | ||
| 8 | |||
| 9 | * unexhp9k800.c: Remove due to lack of legal papers. | ||
| 10 | |||
| 11 | * m/sr2k.h, m/hp800.h: Remove due to dependence on above. | ||
| 12 | |||
| 13 | 2007-01-27 Eli Zaretskii <eliz@gnu.org> | ||
| 14 | |||
| 15 | * keyboard.c (Fthis_command_keys, Fthis_command_keys_vector): Doc fix. | ||
| 16 | |||
| 17 | * minibuf.c (Fcompleting_read): Doc fix. | ||
| 18 | |||
| 19 | 2007-01-26 Jan Dj,Ad(Brv <jan.h.d@swipnet.se> | ||
| 20 | |||
| 21 | * gtkutil.c (xg_initialize): Call XftInit if HAVE_XFT. | ||
| 22 | |||
| 23 | * Makefile.in: Use XFT_LIBS if defined. | ||
| 24 | |||
| 25 | 2007-01-26 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> | ||
| 26 | |||
| 27 | * alloc.c (BLOCK_INPUT_ALLOC, UNBLOCK_INPUT_ALLOC): Use | ||
| 28 | BLOCK_INPUT/UNBLOCK_INPUT. | ||
| 29 | |||
| 30 | * blockinput.h (interrupt_input_blocked): Declare volatile. | ||
| 31 | |||
| 32 | * keyboard.c (interrupt_input_blocked): Declare volatile. | ||
| 33 | |||
| 34 | * syssignal.h (SIGNAL_THREAD_CHECK): Use pthread_equal. | ||
| 35 | |||
| 36 | 2007-01-24 Kim F. Storm <storm@cua.dk> | ||
| 37 | |||
| 38 | * keymap.c (describe_map): Don't consider prefix keys to be shadowed. | ||
| 39 | |||
| 40 | 2007-01-23 Juanma Barranquero <lekktu@gmail.com> | ||
| 41 | |||
| 42 | * editfns.c (Finsert_char): Doc fix. | ||
| 43 | (Fget_internal_run_time, Fdecode_time): Fix typos in docstrings. | ||
| 44 | |||
| 45 | 2007-01-22 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> | ||
| 46 | |||
| 47 | * macselect.c [TARGET_API_MAC_CARBON] (mac_do_receive_drag): Don't | ||
| 48 | pass keyboard modifiers to mac_store_drag_event, but put them as | ||
| 49 | kEventParamKeyModifiers Apple event parameter. | ||
| 50 | |||
| 51 | 2007-01-21 Chong Yidong <cyd@stupidchicken.com> | ||
| 52 | |||
| 53 | * xdisp.c (try_window): Revert previous change. | ||
| 54 | |||
| 55 | * dispnew.c (update_text_area): Revert 2006-09-17 change. | ||
| 56 | Always redraw non-mode-line rows with mouse-face. | ||
| 57 | |||
| 58 | 2007-01-20 Chong Yidong <cyd@stupidchicken.com> | ||
| 59 | |||
| 60 | * xdisp.c (try_window): Clear mouse-face highlights first. | ||
| 61 | |||
| 62 | * window.c (set_window_buffer): Revert 2006-11-22 change. | ||
| 63 | |||
| 64 | 2007-01-20 Eli Zaretskii <eliz@gnu.org> | ||
| 65 | |||
| 66 | * .gdbinit (ppt, xtype, xmisctype, xint, xptr, xmarker, xframe) | ||
| 67 | (xbuffer, xcons, xcar, xcdr): Fix doc strings. | ||
| 68 | |||
| 69 | 2007-01-20 Chong Yidong <cyd@stupidchicken.com> | ||
| 70 | |||
| 71 | * keyboard.c (read_key_sequence): Extract local map only if the | ||
| 72 | given position is in an accessible buffer region. | ||
| 73 | |||
| 74 | 2007-01-19 Nick Roberts <nickrob@snap.net.nz> | ||
| 75 | |||
| 76 | * .gdbinit: Reformat documentation so that first sentence | ||
| 77 | displays properly with "help user-defined" (like apropos). | ||
| 78 | |||
| 79 | 2007-01-18 Bruno Haible <bruno@clisp.org> (tiny change) | ||
| 80 | |||
| 81 | * epaths.in: Move PATH_DOC from local/info to local/share/info. | ||
| 82 | |||
| 83 | 2007-01-15 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> | ||
| 84 | |||
| 85 | * macmenu.c (create_and_show_dialog) [TARGET_API_MAC_CARBON]: | ||
| 86 | Create movable modal window instead of movable alert window. | ||
| 87 | (create_and_show_dialog) [!MAC_OSX]: Use DeactivateControl instead | ||
| 88 | of DisableControl. | ||
| 89 | |||
| 90 | * macselect.c (Fmac_resume_apple_event): Set error number when | ||
| 91 | descriptor type of reply is non-null. | ||
| 92 | |||
| 93 | 2007-01-14 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> | ||
| 94 | |||
| 95 | * macmenu.c (create_and_show_dialog) [TARGET_API_MAC_CARBON]: Use | ||
| 96 | DisableControl for disabled items. Set default button to first | ||
| 97 | enabled one. Use icon of application in execution. | ||
| 98 | |||
| 99 | 2007-01-13 Eli Zaretskii <eliz@gnu.org> | ||
| 100 | |||
| 101 | * process.c (Fdelete_process, Fprocess_id, sigchld_handler): | ||
| 102 | Copy PID into EMACS_INT to avoid GCC warnings. | ||
| 103 | |||
| 104 | * fns.c (maybe_resize_hash_table): Copy new size of hash table | ||
| 105 | into EMACS_INT to avoid GCC warnings. | ||
| 106 | |||
| 107 | * editfns.c (Fuser_uid, Fuser_real_uid): Copy values returned by | ||
| 108 | geteuid and getuid into EMACS_INT to avoid GCC warnings. | ||
| 109 | |||
| 110 | * dired.c (Ffile_attributes): Fix last change. | ||
| 111 | |||
| 112 | 2007-01-12 Eli Zaretskii <eliz@gnu.org> | ||
| 113 | |||
| 114 | * dired.c (Ffile_attributes): Copy some members of `struct stat' | ||
| 115 | into int's to avoid GCC warnings about limited range of short in | ||
| 116 | arguments to FIXNUM_OVERFLOW_P. | ||
| 117 | |||
| 118 | 2007-01-12 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> | ||
| 119 | |||
| 120 | * macmenu.c (HAVE_DIALOGS): Define if TARGET_API_MAC_CARBON. | ||
| 121 | (mac_handle_dialog_event, install_dialog_event_handler) | ||
| 122 | (create_and_show_dialog) [TARGET_API_MAC_CARBON]: New functions. | ||
| 123 | (DIALOG_LEFT_MARGIN, DIALOG_TOP_MARGIN, DIALOG_RIGHT_MARGIN) | ||
| 124 | (DIALOG_BOTTOM_MARGIN, DIALOG_MIN_INNER_WIDTH) | ||
| 125 | (DIALOG_MAX_INNER_WIDTH, DIALOG_BUTTON_BUTTON_HORIZONTAL_SPACE) | ||
| 126 | (DIALOG_BUTTON_BUTTON_VERTICAL_SPACE, DIALOG_BUTTON_MIN_WIDTH) | ||
| 127 | (DIALOG_TEXT_MIN_HEIGHT, DIALOG_TEXT_BUTTONS_VERTICAL_SPACE) | ||
| 128 | (DIALOG_ICON_WIDTH, DIALOG_ICON_HEIGHT, DIALOG_ICON_LEFT_MARGIN) | ||
| 129 | (DIALOG_ICON_TOP_MARGIN) [TARGET_API_MAC_CARBON]: New macros. | ||
| 130 | (mac_dialog) [TARGET_API_MAC_CARBON]: Remove function. | ||
| 131 | (mac_dialog_show) [TARGET_API_MAC_CARBON]: Use create_and_show_dialog. | ||
| 132 | |||
| 133 | * macterm.c (x_free_frame_resources) [USE_CG_DRAWING]: Call | ||
| 134 | mac_prepare_for_quickdraw. | ||
| 135 | (quit_char, make_ctrl_char) [TARGET_API_MAC_CARBON]: Move externs | ||
| 136 | outside #ifdef MAC_OSX. | ||
| 137 | (mac_quit_char_key_p) [TARGET_API_MAC_CARBON]: Move function | ||
| 138 | outside #ifdef MAC_OSX. | ||
| 139 | (mac_check_bundle) [MAC_OSX]: Remove unused function. | ||
| 140 | |||
| 141 | * macterm.h (mac_quit_char_key_p): Move extern outside #ifdef MAC_OSX. | ||
| 142 | (HOURGLASS_WIDTH, HOURGLASS_HEIGHT): Parenthesize definitions. | ||
| 143 | |||
| 144 | 2007-01-11 Jan Dj,Ad(Brv <jan.h.d@swipnet.se> | ||
| 145 | |||
| 146 | * alloc.c (BLOCK_INPUT_ALLOC, UNBLOCK_INPUT_ALLOC): Use pthread_equal, | ||
| 147 | block/unblock SIGIO. | ||
| 148 | |||
| 1 | 2007-01-10 Stefan Monnier <monnier@iro.umontreal.ca> | 149 | 2007-01-10 Stefan Monnier <monnier@iro.umontreal.ca> |
| 2 | 150 | ||
| 3 | * editfns.c (Fformat): Allow integer-format to work with floats of size | 151 | * editfns.c (Fformat): Allow integer-format to work with floats of size |
| @@ -58,7 +206,7 @@ | |||
| 58 | * xterm.h (x_display_info): New: net_supported_atoms, | 206 | * xterm.h (x_display_info): New: net_supported_atoms, |
| 59 | nr_net_supported_atoms and net_supported_window. | 207 | nr_net_supported_atoms and net_supported_window. |
| 60 | 208 | ||
| 61 | * xterm.c: New variable last_user_time. | 209 | * xterm.c (last_user_time): New variable. |
| 62 | (handle_one_xevent): Set last_user_time from events that have Time. | 210 | (handle_one_xevent): Set last_user_time from events that have Time. |
| 63 | Set net_supported_window to 0 when reparented. | 211 | Set net_supported_window to 0 when reparented. |
| 64 | (wm_supports): New function. | 212 | (wm_supports): New function. |
| @@ -27079,7 +27227,7 @@ See ChangeLog.9 for earlier changes. | |||
| 27079 | ;; End: | 27227 | ;; End: |
| 27080 | 27228 | ||
| 27081 | Copyright (C) 2001, 2002, 2003, 2004, 2005, | 27229 | Copyright (C) 2001, 2002, 2003, 2004, 2005, |
| 27082 | 2006 Free Software Foundation, Inc. | 27230 | 2006, 2007 Free Software Foundation, Inc. |
| 27083 | Copying and distribution of this file, with or without modification, | 27231 | Copying and distribution of this file, with or without modification, |
| 27084 | are permitted provided the copyright notice and this notice are preserved. | 27232 | are permitted provided the copyright notice and this notice are preserved. |
| 27085 | 27233 | ||
diff --git a/src/ChangeLog.1 b/src/ChangeLog.1 index 94f1039f71e..4aaa3202dd6 100644 --- a/src/ChangeLog.1 +++ b/src/ChangeLog.1 | |||
| @@ -3522,7 +3522,8 @@ | |||
| 3522 | * minibuf.c: Don't allow entry to minibuffer | 3522 | * minibuf.c: Don't allow entry to minibuffer |
| 3523 | while minibuffer is selected. | 3523 | while minibuffer is selected. |
| 3524 | 3524 | ||
| 3525 | Copyright (C) 1985, 1986 Free Software Foundation, Inc. | 3525 | Copyright (C) 1985, 1986, 2001, 2002, 2003, 2004, 2005, 2006, 2007 |
| 3526 | Free Software Foundation, Inc. | ||
| 3526 | Copying and distribution of this file, with or without modification, | 3527 | Copying and distribution of this file, with or without modification, |
| 3527 | are permitted provided the copyright notice and this notice are preserved. | 3528 | are permitted provided the copyright notice and this notice are preserved. |
| 3528 | 3529 | ||
diff --git a/src/ChangeLog.2 b/src/ChangeLog.2 index 430cbc0f9da..75dd37940d0 100644 --- a/src/ChangeLog.2 +++ b/src/ChangeLog.2 | |||
| @@ -4771,7 +4771,8 @@ | |||
| 4771 | 4771 | ||
| 4772 | See ChangeLog.1 for earlier changes. | 4772 | See ChangeLog.1 for earlier changes. |
| 4773 | 4773 | ||
| 4774 | Copyright (C) 1986, 1987, 1988 Free Software Foundation, Inc. | 4774 | Copyright (C) 1986, 1987, 1988, 2001, 2002, 2003, 2004, 2005, 2006, |
| 4775 | 2007 Free Software Foundation, Inc. | ||
| 4775 | Copying and distribution of this file, with or without modification, | 4776 | Copying and distribution of this file, with or without modification, |
| 4776 | are permitted provided the copyright notice and this notice are preserved. | 4777 | are permitted provided the copyright notice and this notice are preserved. |
| 4777 | 4778 | ||
diff --git a/src/ChangeLog.3 b/src/ChangeLog.3 index 73f87793541..bde54ff99f9 100644 --- a/src/ChangeLog.3 +++ b/src/ChangeLog.3 | |||
| @@ -16531,7 +16531,8 @@ | |||
| 16531 | 16531 | ||
| 16532 | See ChangeLog.2 for earlier changes. | 16532 | See ChangeLog.2 for earlier changes. |
| 16533 | 16533 | ||
| 16534 | Copyright (C) 1993 Free Software Foundation, Inc. | 16534 | Copyright (C) 1993, 2001, 2002, 2003, 2004, 2005, 2006, 2007 |
| 16535 | Free Software Foundation, Inc. | ||
| 16535 | Copying and distribution of this file, with or without modification, | 16536 | Copying and distribution of this file, with or without modification, |
| 16536 | are permitted provided the copyright notice and this notice are preserved. | 16537 | are permitted provided the copyright notice and this notice are preserved. |
| 16537 | 16538 | ||
diff --git a/src/ChangeLog.4 b/src/ChangeLog.4 index b3d40b96b6c..04310b34cad 100644 --- a/src/ChangeLog.4 +++ b/src/ChangeLog.4 | |||
| @@ -6903,7 +6903,8 @@ | |||
| 6903 | 6903 | ||
| 6904 | See ChangeLog.3 for earlier changes. | 6904 | See ChangeLog.3 for earlier changes. |
| 6905 | 6905 | ||
| 6906 | Copyright (C) 1993, 1994 Free Software Foundation, Inc. | 6906 | Copyright (C) 1993, 1994, 2001, 2002, 2003, 2004, 2005, 2006, 2007 |
| 6907 | Free Software Foundation, Inc. | ||
| 6907 | Copying and distribution of this file, with or without modification, | 6908 | Copying and distribution of this file, with or without modification, |
| 6908 | are permitted provided the copyright notice and this notice are preserved. | 6909 | are permitted provided the copyright notice and this notice are preserved. |
| 6909 | 6910 | ||
diff --git a/src/ChangeLog.5 b/src/ChangeLog.5 index 5e50066bc78..893a6497996 100644 --- a/src/ChangeLog.5 +++ b/src/ChangeLog.5 | |||
| @@ -7144,7 +7144,8 @@ | |||
| 7144 | 7144 | ||
| 7145 | See ChangeLog.4 for earlier changes. | 7145 | See ChangeLog.4 for earlier changes. |
| 7146 | 7146 | ||
| 7147 | Copyright (C) 1994, 1995 Free Software Foundation, Inc. | 7147 | Copyright (C) 1994, 1995, 2001, 2002, 2003, 2004, 2005, 2006, 2007 |
| 7148 | Free Software Foundation, Inc. | ||
| 7148 | Copying and distribution of this file, with or without modification, | 7149 | Copying and distribution of this file, with or without modification, |
| 7149 | are permitted provided the copyright notice and this notice are preserved. | 7150 | are permitted provided the copyright notice and this notice are preserved. |
| 7150 | 7151 | ||
diff --git a/src/ChangeLog.6 b/src/ChangeLog.6 index 2da83619eb4..fb29238601a 100644 --- a/src/ChangeLog.6 +++ b/src/ChangeLog.6 | |||
| @@ -5362,7 +5362,8 @@ | |||
| 5362 | 5362 | ||
| 5363 | See ChangeLog.5 for earlier changes. | 5363 | See ChangeLog.5 for earlier changes. |
| 5364 | 5364 | ||
| 5365 | Copyright (C) 1995, 1996 Free Software Foundation, Inc. | 5365 | Copyright (C) 1995, 1996, 2001, 2002, 2003, 2004, 2005, 2006, 2007 |
| 5366 | Free Software Foundation, Inc. | ||
| 5366 | Copying and distribution of this file, with or without modification, | 5367 | Copying and distribution of this file, with or without modification, |
| 5367 | are permitted provided the copyright notice and this notice are preserved. | 5368 | are permitted provided the copyright notice and this notice are preserved. |
| 5368 | 5369 | ||
diff --git a/src/ChangeLog.7 b/src/ChangeLog.7 index f1a29903715..c38cb1fc9ca 100644 --- a/src/ChangeLog.7 +++ b/src/ChangeLog.7 | |||
| @@ -11098,7 +11098,8 @@ Fri Sep 20 02:37:37 1996 Marcus Daniels <marcus@sayre.sysc.pdx.edu> | |||
| 11098 | 11098 | ||
| 11099 | See ChangeLog.6 for earlier changes. | 11099 | See ChangeLog.6 for earlier changes. |
| 11100 | 11100 | ||
| 11101 | Copyright (C) 1997, 1998 Free Software Foundation, Inc. | 11101 | Copyright (C) 1997, 1998, 2001, 2002, 2003, 2004, 2005, 2006, 2007 |
| 11102 | Free Software Foundation, Inc. | ||
| 11102 | Copying and distribution of this file, with or without modification, | 11103 | Copying and distribution of this file, with or without modification, |
| 11103 | are permitted provided the copyright notice and this notice are preserved. | 11104 | are permitted provided the copyright notice and this notice are preserved. |
| 11104 | 11105 | ||
diff --git a/src/ChangeLog.8 b/src/ChangeLog.8 index a9465058194..ff6b3b25461 100644 --- a/src/ChangeLog.8 +++ b/src/ChangeLog.8 | |||
| @@ -13991,7 +13991,8 @@ Wed Jun 25 15:22:58 1997 Gerd Moellmann <gerd@acm.org> | |||
| 13991 | 13991 | ||
| 13992 | See ChangeLog.7 for earlier changes. | 13992 | See ChangeLog.7 for earlier changes. |
| 13993 | 13993 | ||
| 13994 | Copyright (C) 1999 Free Software Foundation, Inc. | 13994 | Copyright (C) 1999, 2001, 2002, 2003, 2004, 2005, 2006, 2007 |
| 13995 | Free Software Foundation, Inc. | ||
| 13995 | Copying and distribution of this file, with or without modification, | 13996 | Copying and distribution of this file, with or without modification, |
| 13996 | are permitted provided the copyright notice and this notice are preserved. | 13997 | are permitted provided the copyright notice and this notice are preserved. |
| 13997 | 13998 | ||
diff --git a/src/ChangeLog.9 b/src/ChangeLog.9 index 9ce75696f5a..2a644e13585 100644 --- a/src/ChangeLog.9 +++ b/src/ChangeLog.9 | |||
| @@ -13294,7 +13294,8 @@ See ChangeLog.8 for earlier changes. | |||
| 13294 | ;; coding: iso-2022-7bit | 13294 | ;; coding: iso-2022-7bit |
| 13295 | ;; End: | 13295 | ;; End: |
| 13296 | 13296 | ||
| 13297 | Copyright (C) 2001, 2002 Free Software Foundation, Inc. | 13297 | Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006, 2007 |
| 13298 | Free Software Foundation, Inc. | ||
| 13298 | Copying and distribution of this file, with or without modification, | 13299 | Copying and distribution of this file, with or without modification, |
| 13299 | are permitted provided the copyright notice and this notice are preserved. | 13300 | are permitted provided the copyright notice and this notice are preserved. |
| 13300 | 13301 | ||
diff --git a/src/Makefile.in b/src/Makefile.in index 94fe5dee41f..0aa80866a38 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, 1987, 1988, 1993, 1994, 1995, 1999, 2000, 2001, 2002, | 2 | # Copyright (C) 1985, 1987, 1988, 1993, 1994, 1995, 1999, 2000, 2001, 2002, |
| 3 | # 2003, 2004, 2005, 2006 Free Software Foundation, Inc. | 3 | # 2003, 2004, 2005, 2006, 2007 Free Software Foundation, Inc. |
| 4 | 4 | ||
| 5 | # This file is part of GNU Emacs. | 5 | # This file is part of GNU Emacs. |
| 6 | 6 | ||
| @@ -402,6 +402,11 @@ LIBXT=$(LIBW) | |||
| 402 | #endif | 402 | #endif |
| 403 | #endif /* not USE_X_TOOLKIT */ | 403 | #endif /* not USE_X_TOOLKIT */ |
| 404 | 404 | ||
| 405 | #if HAVE_XFT | ||
| 406 | #undef LIB_X11_LIB | ||
| 407 | #define LIB_X11_LIB @XFT_LIBS@ | ||
| 408 | #endif /* HAVE_XFT */ | ||
| 409 | |||
| 405 | #if HAVE_XPM | 410 | #if HAVE_XPM |
| 406 | #ifndef LIBXPM | 411 | #ifndef LIBXPM |
| 407 | #define LIBXPM -lXpm | 412 | #define LIBXPM -lXpm |
diff --git a/src/abbrev.c b/src/abbrev.c index 45d00728242..7dea6969f35 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, 2002, 2003, 2004, | 2 | Copyright (C) 1985, 1986, 1993, 1996, 1998, 2001, 2002, 2003, 2004, |
| 3 | 2005, 2006 Free Software Foundation, Inc. | 3 | 2005, 2006, 2007 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/alloc.c b/src/alloc.c index c49d3b5becc..fe13b84b5a7 100644 --- a/src/alloc.c +++ b/src/alloc.c | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | /* Storage allocation and gc for GNU Emacs Lisp interpreter. | 1 | /* Storage allocation and gc for GNU Emacs Lisp interpreter. |
| 2 | Copyright (C) 1985, 1986, 1988, 1993, 1994, 1995, 1997, 1998, 1999, | 2 | Copyright (C) 1985, 1986, 1988, 1993, 1994, 1995, 1997, 1998, 1999, |
| 3 | 2000, 2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. | 3 | 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007 Free Software Foundation, Inc. |
| 4 | 4 | ||
| 5 | This file is part of GNU Emacs. | 5 | This file is part of GNU Emacs. |
| 6 | 6 | ||
| @@ -127,21 +127,21 @@ extern __malloc_size_t __malloc_extra_blocks; | |||
| 127 | 127 | ||
| 128 | static pthread_mutex_t alloc_mutex; | 128 | static pthread_mutex_t alloc_mutex; |
| 129 | 129 | ||
| 130 | #define BLOCK_INPUT_ALLOC \ | 130 | #define BLOCK_INPUT_ALLOC \ |
| 131 | do \ | 131 | do \ |
| 132 | { \ | 132 | { \ |
| 133 | if (pthread_self () == main_thread) \ | 133 | if (pthread_equal (pthread_self (), main_thread)) \ |
| 134 | BLOCK_INPUT; \ | 134 | BLOCK_INPUT; \ |
| 135 | pthread_mutex_lock (&alloc_mutex); \ | 135 | pthread_mutex_lock (&alloc_mutex); \ |
| 136 | } \ | 136 | } \ |
| 137 | while (0) | 137 | while (0) |
| 138 | #define UNBLOCK_INPUT_ALLOC \ | 138 | #define UNBLOCK_INPUT_ALLOC \ |
| 139 | do \ | 139 | do \ |
| 140 | { \ | 140 | { \ |
| 141 | pthread_mutex_unlock (&alloc_mutex); \ | 141 | pthread_mutex_unlock (&alloc_mutex); \ |
| 142 | if (pthread_self () == main_thread) \ | 142 | if (pthread_equal (pthread_self (), main_thread)) \ |
| 143 | UNBLOCK_INPUT; \ | 143 | UNBLOCK_INPUT; \ |
| 144 | } \ | 144 | } \ |
| 145 | while (0) | 145 | while (0) |
| 146 | 146 | ||
| 147 | #else /* SYSTEM_MALLOC || not HAVE_GTK_AND_PTHREAD */ | 147 | #else /* SYSTEM_MALLOC || not HAVE_GTK_AND_PTHREAD */ |
diff --git a/src/atimer.c b/src/atimer.c index 8b092270d7b..41dd9e53a02 100644 --- a/src/atimer.c +++ b/src/atimer.c | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | /* Asynchronous timers. | 1 | /* Asynchronous timers. |
| 2 | Copyright (C) 2000, 2002, 2003, 2004, 2005, | 2 | Copyright (C) 2000, 2001, 2002, 2003, 2004, 2005, |
| 3 | 2006 Free Software Foundation, Inc. | 3 | 2006, 2007 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.h b/src/atimer.h index 84b1383ffdf..8c3b388d012 100644 --- a/src/atimer.h +++ b/src/atimer.h | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | /* Asynchronous timers. | 1 | /* Asynchronous timers. |
| 2 | Copyright (C) 2000, 2002, 2003, 2004, 2005, | 2 | Copyright (C) 2000, 2001, 2002, 2003, 2004, 2005, |
| 3 | 2006 Free Software Foundation, Inc. | 3 | 2006, 2007 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/blockinput.h b/src/blockinput.h index 78dce69fe1f..468f0e0c762 100644 --- a/src/blockinput.h +++ b/src/blockinput.h | |||
| @@ -1,6 +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, 2002, 2003, 2004, | 2 | Copyright (C) 1989, 1993, 2001, 2002, 2003, 2004, |
| 3 | 2005, 2006 Free Software Foundation, Inc. | 3 | 2005, 2006, 2007 Free Software Foundation, Inc. |
| 4 | 4 | ||
| 5 | This file is part of GNU Emacs. | 5 | This file is part of GNU Emacs. |
| 6 | 6 | ||
| @@ -49,7 +49,7 @@ Boston, MA 02110-1301, USA. */ | |||
| 49 | interrupt_input_pending to a non-zero value. If that flag is set | 49 | interrupt_input_pending to a non-zero value. If that flag is set |
| 50 | when input becomes unblocked, UNBLOCK_INPUT will send a new SIGIO. */ | 50 | when input becomes unblocked, UNBLOCK_INPUT will send a new SIGIO. */ |
| 51 | 51 | ||
| 52 | extern int interrupt_input_blocked; | 52 | extern volatile int interrupt_input_blocked; |
| 53 | 53 | ||
| 54 | /* Nonzero means an input interrupt has arrived | 54 | /* Nonzero means an input interrupt has arrived |
| 55 | during the current critical section. */ | 55 | during the current critical section. */ |
diff --git a/src/buffer.c b/src/buffer.c index 50203f1d25d..ea4752b4a6e 100644 --- a/src/buffer.c +++ b/src/buffer.c | |||
| @@ -1,7 +1,7 @@ | |||
| 1 | /* Buffer manipulation primitives for GNU Emacs. | 1 | /* Buffer manipulation primitives for GNU Emacs. |
| 2 | Copyright (C) 1985, 1986, 1987, 1988, 1989, 1993, 1994, | 2 | Copyright (C) 1985, 1986, 1987, 1988, 1989, 1993, 1994, |
| 3 | 1995, 1997, 1998, 1999, 2000, 2001, 2002, | 3 | 1995, 1997, 1998, 1999, 2000, 2001, 2002, |
| 4 | 2003, 2004, 2005, 2006 Free Software Foundation, Inc. | 4 | 2003, 2004, 2005, 2006, 2007 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/buffer.h b/src/buffer.h index a5f8a6a4070..0652fdb35a8 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 | 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. | 3 | 2002, 2003, 2004, 2005, 2006, 2007 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 f96535354a4..4cb9e7428fd 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 | 2005, 2006 Free Software Foundation, Inc. | 3 | 2005, 2006, 2007 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/callint.c b/src/callint.c index 8f118de5a59..84626031b3c 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, 1986, 1993, 1994, 1995, 1997, 2000, 2002, 2003, | 2 | Copyright (C) 1985, 1986, 1993, 1994, 1995, 1997, 2000, 2001, 2002, |
| 3 | 2004, 2005, 2006 Free Software Foundation, Inc. | 3 | 2003, 2004, 2005, 2006, 2007 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 eb7f8ff6252..8e7ff244697 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, 2006 Free Software Foundation, Inc. | 3 | 2002, 2003, 2004, 2005, 2006, 2007 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 cb7c953a3e4..57fcefdde3a 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, 1994, 1997, 1998, 1999, 2001, 2002, 2003, 2004, | 2 | Copyright (C) 1985, 1994, 1997, 1998, 1999, 2001, 2002, 2003, 2004, |
| 3 | 2005, 2006 Free Software Foundation, Inc. | 3 | 2005, 2006, 2007 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 8c46ab11c60..42c268dd7c6 100644 --- a/src/casetab.c +++ b/src/casetab.c | |||
| @@ -1,6 +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, 2002, 2003, 2004, | 2 | Copyright (C) 1993, 1994, 2001, 2002, 2003, 2004, |
| 3 | 2005, 2006 Free Software Foundation, Inc. | 3 | 2005, 2006, 2007 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/category.c b/src/category.c index ce238f4d399..809e326cbe9 100644 --- a/src/category.c +++ b/src/category.c | |||
| @@ -1,7 +1,8 @@ | |||
| 1 | /* GNU Emacs routines to deal with category tables. | 1 | /* GNU Emacs routines to deal with category tables. |
| 2 | Copyright (C) 1998, 2001, 2004, 2005, 2006 Free Software Foundation, Inc. | 2 | Copyright (C) 1998, 2001, 2002, 2003, 2004, 2005, 2006, 2007 |
| 3 | Free Software Foundation, Inc. | ||
| 3 | Copyright (C) 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, | 4 | Copyright (C) 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, |
| 4 | 2005, 2006 | 5 | 2005, 2006, 2007 |
| 5 | National Institute of Advanced Industrial Science and Technology (AIST) | 6 | National Institute of Advanced Industrial Science and Technology (AIST) |
| 6 | Registration Number H14PRO021 | 7 | Registration Number H14PRO021 |
| 7 | 8 | ||
diff --git a/src/category.h b/src/category.h index e27f86f9a91..858a94a6224 100644 --- a/src/category.h +++ b/src/category.h | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | /* Declarations having to do with Emacs category tables. | 1 | /* Declarations having to do with Emacs category tables. |
| 2 | Copyright (C) 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, | 2 | Copyright (C) 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, |
| 3 | 2005, 2006 | 3 | 2005, 2006, 2007 |
| 4 | National Institute of Advanced Industrial Science and Technology (AIST) | 4 | National Institute of Advanced Industrial Science and Technology (AIST) |
| 5 | Registration Number H14PRO021 | 5 | Registration Number H14PRO021 |
| 6 | 6 | ||
| @@ -1,8 +1,8 @@ | |||
| 1 | /* CCL (Code Conversion Language) interpreter. | 1 | /* CCL (Code Conversion Language) interpreter. |
| 2 | Copyright (C) 2001, 2002, 2003, 2004, 2005, | 2 | Copyright (C) 2001, 2002, 2003, 2004, 2005, |
| 3 | 2006 Free Software Foundation, Inc. | 3 | 2006, 2007 Free Software Foundation, Inc. |
| 4 | Copyright (C) 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, | 4 | Copyright (C) 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, |
| 5 | 2005, 2006 | 5 | 2005, 2006, 2007 |
| 6 | National Institute of Advanced Industrial Science and Technology (AIST) | 6 | National Institute of Advanced Industrial Science and Technology (AIST) |
| 7 | Registration Number H14PRO021 | 7 | Registration Number H14PRO021 |
| 8 | 8 | ||
| @@ -1,6 +1,6 @@ | |||
| 1 | /* Header for CCL (Code Conversion Language) interpreter. | 1 | /* Header for CCL (Code Conversion Language) interpreter. |
| 2 | Copyright (C) 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, | 2 | Copyright (C) 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, |
| 3 | 2005, 2006 | 3 | 2005, 2006, 2007 |
| 4 | National Institute of Advanced Industrial Science and Technology (AIST) | 4 | National Institute of Advanced Industrial Science and Technology (AIST) |
| 5 | Registration Number H14PRO021 | 5 | Registration Number H14PRO021 |
| 6 | 6 | ||
diff --git a/src/charset.c b/src/charset.c index 535022c6797..0d91606da58 100644 --- a/src/charset.c +++ b/src/charset.c | |||
| @@ -1,8 +1,8 @@ | |||
| 1 | /* Basic multilingual character support. | 1 | /* Basic multilingual character support. |
| 2 | Copyright (C) 2001, 2002, 2003, 2004, 2005, | 2 | Copyright (C) 2001, 2002, 2003, 2004, 2005, |
| 3 | 2006 Free Software Foundation, Inc. | 3 | 2006, 2007 Free Software Foundation, Inc. |
| 4 | Copyright (C) 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, | 4 | Copyright (C) 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, |
| 5 | 2005, 2006 | 5 | 2005, 2006, 2007 |
| 6 | National Institute of Advanced Industrial Science and Technology (AIST) | 6 | National Institute of Advanced Industrial Science and Technology (AIST) |
| 7 | Registration Number H14PRO021 | 7 | Registration Number H14PRO021 |
| 8 | 8 | ||
diff --git a/src/charset.h b/src/charset.h index 645bdafe4b2..2d0116d263e 100644 --- a/src/charset.h +++ b/src/charset.h | |||
| @@ -1,8 +1,8 @@ | |||
| 1 | /* Header for multibyte character handler. | 1 | /* Header for multibyte character handler. |
| 2 | Copyright (C) 2001, 2002, 2003, 2004, 2005, | 2 | Copyright (C) 2001, 2002, 2003, 2004, 2005, |
| 3 | 2006 Free Software Foundation, Inc. | 3 | 2006, 2007 Free Software Foundation, Inc. |
| 4 | Copyright (C) 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, | 4 | Copyright (C) 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, |
| 5 | 2005, 2006 | 5 | 2005, 2006, 2007 |
| 6 | National Institute of Advanced Industrial Science and Technology (AIST) | 6 | National Institute of Advanced Industrial Science and Technology (AIST) |
| 7 | Registration Number H14PRO021 | 7 | Registration Number H14PRO021 |
| 8 | 8 | ||
| @@ -1,6 +1,6 @@ | |||
| 1 | /* Cursor motion subroutines for GNU Emacs. | 1 | /* Cursor motion subroutines for GNU Emacs. |
| 2 | Copyright (C) 1985, 1995, 2002, 2003, 2004, | 2 | Copyright (C) 1985, 1995, 2001, 2002, 2003, 2004, |
| 3 | 2005, 2006 Free Software Foundation, Inc. | 3 | 2005, 2006, 2007 Free Software Foundation, Inc. |
| 4 | based primarily on public domain code written by Chris Torek | 4 | based primarily on public domain code written by Chris Torek |
| 5 | 5 | ||
| 6 | This file is part of GNU Emacs. | 6 | This file is part of GNU Emacs. |
| @@ -1,6 +1,6 @@ | |||
| 1 | /* Cursor motion calculation definitions for GNU Emacs | 1 | /* Cursor motion calculation definitions for GNU Emacs |
| 2 | Copyright (C) 1985, 1989, 2002, 2003, 2004, | 2 | Copyright (C) 1985, 1989, 2001, 2002, 2003, 2004, |
| 3 | 2005, 2006 Free Software Foundation, Inc. | 3 | 2005, 2006, 2007 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/cmds.c b/src/cmds.c index b84b9d1d85e..7e07ce1dc6f 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, 1993, 1994, 1995, 1996, 1997, 1998, 2001, 2002, | 2 | Copyright (C) 1985, 1993, 1994, 1995, 1996, 1997, 1998, 2001, 2002, |
| 3 | 2003, 2004, 2005, 2006 Free Software Foundation, Inc. | 3 | 2003, 2004, 2005, 2006, 2007 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 f3008af526f..8dc20ef6a3a 100644 --- a/src/coding.c +++ b/src/coding.c | |||
| @@ -1,8 +1,8 @@ | |||
| 1 | /* Coding system handler (conversion, detection, and etc). | 1 | /* Coding system handler (conversion, detection, and etc). |
| 2 | Copyright (C) 2001, 2002, 2003, 2004, 2005, | 2 | Copyright (C) 2001, 2002, 2003, 2004, 2005, |
| 3 | 2006 Free Software Foundation, Inc. | 3 | 2006, 2007 Free Software Foundation, Inc. |
| 4 | Copyright (C) 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, | 4 | Copyright (C) 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, |
| 5 | 2005, 2006 | 5 | 2005, 2006, 2007 |
| 6 | National Institute of Advanced Industrial Science and Technology (AIST) | 6 | National Institute of Advanced Industrial Science and Technology (AIST) |
| 7 | Registration Number H14PRO021 | 7 | Registration Number H14PRO021 |
| 8 | 8 | ||
diff --git a/src/coding.h b/src/coding.h index c56cd04a226..fc087ccb180 100644 --- a/src/coding.h +++ b/src/coding.h | |||
| @@ -1,8 +1,8 @@ | |||
| 1 | /* Header for coding system handler. | 1 | /* Header for coding system handler. |
| 2 | Copyright (C) 2002, 2003, 2004, 2005, | 2 | Copyright (C) 2001, 2002, 2003, 2004, 2005, |
| 3 | 2006 Free Software Foundation, Inc. | 3 | 2006, 2007 Free Software Foundation, Inc. |
| 4 | Copyright (C) 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, | 4 | Copyright (C) 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, |
| 5 | 2005, 2006 | 5 | 2005, 2006, 2007 |
| 6 | National Institute of Advanced Industrial Science and Technology (AIST) | 6 | National Institute of Advanced Industrial Science and Technology (AIST) |
| 7 | Registration Number H14PRO021 | 7 | Registration Number H14PRO021 |
| 8 | 8 | ||
diff --git a/src/commands.h b/src/commands.h index 5c7cad37407..2d0db0ec13c 100644 --- a/src/commands.h +++ b/src/commands.h | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | /* Definitions needed by most editing commands. | 1 | /* Definitions needed by most editing commands. |
| 2 | Copyright (C) 1985, 1994, 2002, 2003, 2004, | 2 | Copyright (C) 1985, 1994, 2001, 2002, 2003, 2004, |
| 3 | 2005, 2006 Free Software Foundation, Inc. | 3 | 2005, 2006, 2007 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/composite.c b/src/composite.c index 8e5fce2da96..3e0606e9007 100644 --- a/src/composite.c +++ b/src/composite.c | |||
| @@ -1,7 +1,7 @@ | |||
| 1 | /* Composite sequence support. | 1 | /* Composite sequence support. |
| 2 | Copyright (C) 2001, 2002, 2003, 2004, 2005, | 2 | Copyright (C) 2001, 2002, 2003, 2004, 2005, |
| 3 | 2006 Free Software Foundation, Inc. | 3 | 2006, 2007 Free Software Foundation, Inc. |
| 4 | Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006 | 4 | Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007 |
| 5 | National Institute of Advanced Industrial Science and Technology (AIST) | 5 | National Institute of Advanced Industrial Science and Technology (AIST) |
| 6 | Registration Number H14PRO021 | 6 | Registration Number H14PRO021 |
| 7 | 7 | ||
diff --git a/src/composite.h b/src/composite.h index e19fcd99e73..8ff6416990f 100644 --- a/src/composite.h +++ b/src/composite.h | |||
| @@ -1,7 +1,7 @@ | |||
| 1 | /* Header for composite sequence handler. | 1 | /* Header for composite sequence handler. |
| 2 | Copyright (C) 2001, 2002, 2003, 2004, 2005, | 2 | Copyright (C) 2001, 2002, 2003, 2004, 2005, |
| 3 | 2006 Free Software Foundation, Inc. | 3 | 2006, 2007 Free Software Foundation, Inc. |
| 4 | Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006 | 4 | Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007 |
| 5 | National Institute of Advanced Industrial Science and Technology (AIST) | 5 | National Institute of Advanced Industrial Science and Technology (AIST) |
| 6 | Registration Number H14PRO021 | 6 | Registration Number H14PRO021 |
| 7 | 7 | ||
diff --git a/src/config.in b/src/config.in index f0ebbc76218..71b4af0c839 100644 --- a/src/config.in +++ b/src/config.in | |||
| @@ -1,7 +1,7 @@ | |||
| 1 | /* src/config.in. Generated from configure.in by autoheader. */ | 1 | /* src/config.in. Generated from configure.in by autoheader. */ |
| 2 | 2 | ||
| 3 | /* GNU Emacs site configuration template file. | 3 | /* GNU Emacs site configuration template file. |
| 4 | Copyright (C) 1988, 1993, 1994, 1999, 2000, 2001, 2002, 2004, 2005, 2006 | 4 | Copyright (C) 1988, 1993, 1994, 1999, 2000, 2001, 2002, 2004, 2005, 2006, 2007 |
| 5 | Free Software Foundation, Inc. | 5 | Free Software Foundation, Inc. |
| 6 | 6 | ||
| 7 | This file is part of GNU Emacs. | 7 | This file is part of GNU Emacs. |
| @@ -713,6 +713,9 @@ Boston, MA 02110-1301, USA. */ | |||
| 713 | /* Define to 1 if you're using XFree386. */ | 713 | /* Define to 1 if you're using XFree386. */ |
| 714 | #undef HAVE_XFREE386 | 714 | #undef HAVE_XFREE386 |
| 715 | 715 | ||
| 716 | /* Define to 1 if you have the Xft library. */ | ||
| 717 | #undef HAVE_XFT | ||
| 718 | |||
| 716 | /* Define to 1 if XIM is available */ | 719 | /* Define to 1 if XIM is available */ |
| 717 | #undef HAVE_XIM | 720 | #undef HAVE_XIM |
| 718 | 721 | ||
diff --git a/src/cxux-crt0.s b/src/cxux-crt0.s index b05faf57b8e..9a359a44955 100644 --- a/src/cxux-crt0.s +++ b/src/cxux-crt0.s | |||
| @@ -1,7 +1,7 @@ | |||
| 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, 2002, 2003, 2004, 2005, | 3 | * Copyright (C) 1990, 2002, 2003, 2004, 2005, |
| 4 | * 2006 Free Software Foundation, Inc. | 4 | * 2006, 2007 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/data.c b/src/data.c index dc9095c033c..2f682450a16 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, 1986, 1988, 1993, 1994, 1995, 1997, 1998, 1999, 2000, | 2 | Copyright (C) 1985, 1986, 1988, 1993, 1994, 1995, 1997, 1998, 1999, 2000, |
| 3 | 2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. | 3 | 2001, 2002, 2003, 2004, 2005, 2006, 2007 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 7b8f978b20c..c542f8019db 100644 --- a/src/dired.c +++ b/src/dired.c | |||
| @@ -930,6 +930,7 @@ Elements of the attribute list are: | |||
| 930 | char modes[10]; | 930 | char modes[10]; |
| 931 | Lisp_Object handler; | 931 | Lisp_Object handler; |
| 932 | struct gcpro gcpro1; | 932 | struct gcpro gcpro1; |
| 933 | EMACS_INT uid, gid, ino; | ||
| 933 | 934 | ||
| 934 | filename = Fexpand_file_name (filename, Qnil); | 935 | filename = Fexpand_file_name (filename, Qnil); |
| 935 | 936 | ||
| @@ -964,20 +965,26 @@ Elements of the attribute list are: | |||
| 964 | #endif | 965 | #endif |
| 965 | } | 966 | } |
| 966 | values[1] = make_number (s.st_nlink); | 967 | values[1] = make_number (s.st_nlink); |
| 968 | /* When make_fixnum_or_float is called below with types that are | ||
| 969 | shorter than an int (e.g., `short'), GCC whines about comparison | ||
| 970 | being always false due to limited range of data type. Fix by | ||
| 971 | copying s.st_uid and s.st_gid into int variables. */ | ||
| 972 | uid = s.st_uid; | ||
| 973 | gid = s.st_gid; | ||
| 967 | if (NILP (id_format) || EQ (id_format, Qinteger)) | 974 | if (NILP (id_format) || EQ (id_format, Qinteger)) |
| 968 | { | 975 | { |
| 969 | values[2] = make_fixnum_or_float (s.st_uid); | 976 | values[2] = make_fixnum_or_float (uid); |
| 970 | values[3] = make_fixnum_or_float (s.st_gid); | 977 | values[3] = make_fixnum_or_float (gid); |
| 971 | } | 978 | } |
| 972 | else | 979 | else |
| 973 | { | 980 | { |
| 974 | BLOCK_INPUT; | 981 | BLOCK_INPUT; |
| 975 | pw = (struct passwd *) getpwuid (s.st_uid); | 982 | pw = (struct passwd *) getpwuid (uid); |
| 976 | values[2] = (pw ? build_string (pw->pw_name) | 983 | values[2] = (pw ? build_string (pw->pw_name) |
| 977 | : make_fixnum_or_float (s.st_uid)); | 984 | : make_fixnum_or_float (uid)); |
| 978 | gr = (struct group *) getgrgid (s.st_gid); | 985 | gr = (struct group *) getgrgid (gid); |
| 979 | values[3] = (gr ? build_string (gr->gr_name) | 986 | values[3] = (gr ? build_string (gr->gr_name) |
| 980 | : make_fixnum_or_float (s.st_gid)); | 987 | : make_fixnum_or_float (gid)); |
| 981 | UNBLOCK_INPUT; | 988 | UNBLOCK_INPUT; |
| 982 | } | 989 | } |
| 983 | values[4] = make_time (s.st_atime); | 990 | values[4] = make_time (s.st_atime); |
| @@ -999,20 +1006,22 @@ Elements of the attribute list are: | |||
| 999 | if (! NILP (dirname)) | 1006 | if (! NILP (dirname)) |
| 1000 | encoded = ENCODE_FILE (dirname); | 1007 | encoded = ENCODE_FILE (dirname); |
| 1001 | if (! NILP (dirname) && stat (SDATA (encoded), &sdir) == 0) | 1008 | if (! NILP (dirname) && stat (SDATA (encoded), &sdir) == 0) |
| 1002 | values[9] = (sdir.st_gid != s.st_gid) ? Qt : Qnil; | 1009 | values[9] = (sdir.st_gid != gid) ? Qt : Qnil; |
| 1003 | else /* if we can't tell, assume worst */ | 1010 | else /* if we can't tell, assume worst */ |
| 1004 | values[9] = Qt; | 1011 | values[9] = Qt; |
| 1005 | #else /* file gid will be egid */ | 1012 | #else /* file gid will be egid */ |
| 1006 | values[9] = (s.st_gid != getegid ()) ? Qt : Qnil; | 1013 | values[9] = (gid != getegid ()) ? Qt : Qnil; |
| 1007 | #endif /* BSD4_2 (or BSD4_3) */ | 1014 | #endif /* BSD4_2 (or BSD4_3) */ |
| 1008 | if (FIXNUM_OVERFLOW_P (s.st_ino)) | 1015 | /* Shut up GCC warnings in FIXNUM_OVERFLOW_P below. */ |
| 1016 | ino = s.st_ino; | ||
| 1017 | if (FIXNUM_OVERFLOW_P (ino)) | ||
| 1009 | /* To allow inode numbers larger than VALBITS, separate the bottom | 1018 | /* To allow inode numbers larger than VALBITS, separate the bottom |
| 1010 | 16 bits. */ | 1019 | 16 bits. */ |
| 1011 | values[10] = Fcons (make_number (s.st_ino >> 16), | 1020 | values[10] = Fcons (make_number (ino >> 16), |
| 1012 | make_number (s.st_ino & 0xffff)); | 1021 | make_number (ino & 0xffff)); |
| 1013 | else | 1022 | else |
| 1014 | /* But keep the most common cases as integers. */ | 1023 | /* But keep the most common cases as integers. */ |
| 1015 | values[10] = make_number (s.st_ino); | 1024 | values[10] = make_number (ino); |
| 1016 | 1025 | ||
| 1017 | /* Likewise for device. */ | 1026 | /* Likewise for device. */ |
| 1018 | if (FIXNUM_OVERFLOW_P (s.st_dev)) | 1027 | if (FIXNUM_OVERFLOW_P (s.st_dev)) |
diff --git a/src/dispextern.h b/src/dispextern.h index 1198838c17d..4c3bd56e121 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, 1993, 1994, 1997, 1998, 1999, 2000, 2001, 2002, | 2 | Copyright (C) 1985, 1993, 1994, 1997, 1998, 1999, 2000, 2001, 2002, |
| 3 | 2003, 2004, 2005, 2006 Free Software Foundation, Inc. | 3 | 2003, 2004, 2005, 2006, 2007 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 5ace8ac2985..c2a37f8248e 100644 --- a/src/dispnew.c +++ b/src/dispnew.c | |||
| @@ -1,7 +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, | 2 | Copyright (C) 1985, 1986, 1987, 1988, 1993, 1994, 1995, |
| 3 | 1997, 1998, 1999, 2000, 2001, 2002, 2003, | 3 | 1997, 1998, 1999, 2000, 2001, 2002, 2003, |
| 4 | 2004, 2005, 2006 Free Software Foundation, Inc. | 4 | 2004, 2005, 2006, 2007 Free Software Foundation, Inc. |
| 5 | 5 | ||
| 6 | This file is part of GNU Emacs. | 6 | This file is part of GNU Emacs. |
| 7 | 7 | ||
| @@ -4394,12 +4394,12 @@ update_text_area (w, vpos) | |||
| 4394 | || desired_row->phys_height != current_row->phys_height | 4394 | || desired_row->phys_height != current_row->phys_height |
| 4395 | || desired_row->visible_height != current_row->visible_height | 4395 | || desired_row->visible_height != current_row->visible_height |
| 4396 | || current_row->overlapped_p | 4396 | || current_row->overlapped_p |
| 4397 | #if 0 | 4397 | /* This next line is necessary for correctly redrawing |
| 4398 | /* This causes excessive flickering when mouse is moved across | 4398 | mouse-face areas after scrolling and other operations. |
| 4399 | the mode line. Luckily everything seems to work just fine | 4399 | However, it causes excessive flickering when mouse is moved |
| 4400 | without doing this. KFS 2006-09-17. */ | 4400 | across the mode line. Luckily, turning it off for the mode |
| 4401 | || current_row->mouse_face_p | 4401 | line doesn't seem to hurt anything. -- cyd. */ |
| 4402 | #endif | 4402 | || (current_row->mouse_face_p && !current_row->mode_line_p) |
| 4403 | || current_row->x != desired_row->x) | 4403 | || current_row->x != desired_row->x) |
| 4404 | { | 4404 | { |
| 4405 | rif->cursor_to (vpos, 0, desired_row->y, desired_row->x); | 4405 | rif->cursor_to (vpos, 0, desired_row->y, desired_row->x); |
diff --git a/src/disptab.h b/src/disptab.h index 80936fb1830..e20f3e27631 100644 --- a/src/disptab.h +++ b/src/disptab.h | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | /* Things for GLYPHS and glyph tables. | 1 | /* Things for GLYPHS and glyph tables. |
| 2 | Copyright (C) 1993, 2002, 2003, 2004, 2005, | 2 | Copyright (C) 1993, 2001, 2002, 2003, 2004, 2005, |
| 3 | 2006 Free Software Foundation, Inc. | 3 | 2006, 2007 Free Software Foundation, Inc. |
| 4 | 4 | ||
| 5 | This file is part of GNU Emacs. | 5 | This file is part of GNU Emacs. |
| 6 | 6 | ||
| @@ -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, 1986, 1993, 1994, 1995, 1997, 1998, 1999, 2000, 2001, | 2 | Copyright (C) 1985, 1986, 1993, 1994, 1995, 1997, 1998, 1999, 2000, 2001, |
| 3 | 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. | 3 | 2002, 2003, 2004, 2005, 2006, 2007 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 63c0261e6ae..326fb5743e2 100644 --- a/src/doprnt.c +++ b/src/doprnt.c | |||
| @@ -1,8 +1,8 @@ | |||
| 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, 2002, 2003, 2004, 2005, | 4 | Copyright (C) 1985, 2001, 2002, 2003, 2004, 2005, |
| 5 | 2006 Free Software Foundation, Inc. | 5 | 2006, 2007 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/dosfns.c b/src/dosfns.c index 92b90e530da..e57a6a197be 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, 2002, 2003, 2004, | 3 | Copyright (C) 1991, 1993, 1996, 1997, 1998, 2001, 2002, 2003, 2004, |
| 4 | 2005, 2006 Free Software Foundation, Inc. | 4 | 2005, 2006, 2007 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 4f1cfd83d22..622e7cb5335 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, 2002, 2003, 2004, | 5 | Copyright (C) 1991, 1994, 1995, 1997, 1999, 2001, 2002, 2003, 2004, |
| 6 | 2005, 2006 Free Software Foundation, Inc. | 6 | 2005, 2006, 2007 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 a9b993d360e..7f94f07dc00 100644 --- a/src/ecrt0.c +++ b/src/ecrt0.c | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | /* C code startup routine. | 1 | /* C code startup routine. |
| 2 | Copyright (C) 1985, 1986, 1992, 2002, 2003, 2004, | 2 | Copyright (C) 1985, 1986, 1992, 2001, 2002, 2003, 2004, |
| 3 | 2005, 2006 Free Software Foundation, Inc. | 3 | 2005, 2006, 2007 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/editfns.c b/src/editfns.c index ab29a07b693..6ef2efe313e 100644 --- a/src/editfns.c +++ b/src/editfns.c | |||
| @@ -1314,7 +1314,10 @@ DEFUN ("user-uid", Fuser_uid, Suser_uid, 0, 0, 0, | |||
| 1314 | Value is an integer or float, depending on the value. */) | 1314 | Value is an integer or float, depending on the value. */) |
| 1315 | () | 1315 | () |
| 1316 | { | 1316 | { |
| 1317 | return make_fixnum_or_float (geteuid ()); | 1317 | /* Assignment to EMACS_INT stops GCC whining about limited range of |
| 1318 | data type. */ | ||
| 1319 | EMACS_INT euid = geteuid (); | ||
| 1320 | return make_fixnum_or_float (euid); | ||
| 1318 | } | 1321 | } |
| 1319 | 1322 | ||
| 1320 | DEFUN ("user-real-uid", Fuser_real_uid, Suser_real_uid, 0, 0, 0, | 1323 | DEFUN ("user-real-uid", Fuser_real_uid, Suser_real_uid, 0, 0, 0, |
| @@ -1322,7 +1325,10 @@ DEFUN ("user-real-uid", Fuser_real_uid, Suser_real_uid, 0, 0, 0, | |||
| 1322 | Value is an integer or float, depending on the value. */) | 1325 | Value is an integer or float, depending on the value. */) |
| 1323 | () | 1326 | () |
| 1324 | { | 1327 | { |
| 1325 | return make_fixnum_or_float (getuid ()); | 1328 | /* Assignment to EMACS_INT stops GCC whining about limited range of |
| 1329 | data type. */ | ||
| 1330 | EMACS_INT uid = getuid (); | ||
| 1331 | return make_fixnum_or_float (uid); | ||
| 1326 | } | 1332 | } |
| 1327 | 1333 | ||
| 1328 | DEFUN ("user-full-name", Fuser_full_name, Suser_full_name, 0, 1, 0, | 1334 | DEFUN ("user-full-name", Fuser_full_name, Suser_full_name, 0, 1, 0, |
| @@ -1450,9 +1456,9 @@ most significant 16 bits of the seconds, while the second has the | |||
| 1450 | least significant 16 bits. The third integer gives the microsecond | 1456 | least significant 16 bits. The third integer gives the microsecond |
| 1451 | count. | 1457 | count. |
| 1452 | 1458 | ||
| 1453 | On systems that can't determine the run time, get-internal-run-time | 1459 | On systems that can't determine the run time, `get-internal-run-time' |
| 1454 | does the same thing as current-time. The microsecond count is zero on | 1460 | does the same thing as `current-time'. The microsecond count is zero |
| 1455 | systems that do not provide resolution finer than a second. */) | 1461 | on systems that do not provide resolution finer than a second. */) |
| 1456 | () | 1462 | () |
| 1457 | { | 1463 | { |
| 1458 | #ifdef HAVE_GETRUSAGE | 1464 | #ifdef HAVE_GETRUSAGE |
| @@ -1715,7 +1721,7 @@ For example, to produce full ISO 8601 format, use "%Y-%m-%dT%T%z". */) | |||
| 1715 | DEFUN ("decode-time", Fdecode_time, Sdecode_time, 0, 1, 0, | 1721 | DEFUN ("decode-time", Fdecode_time, Sdecode_time, 0, 1, 0, |
| 1716 | doc: /* Decode a time value as (SEC MINUTE HOUR DAY MONTH YEAR DOW DST ZONE). | 1722 | doc: /* Decode a time value as (SEC MINUTE HOUR DAY MONTH YEAR DOW DST ZONE). |
| 1717 | The optional SPECIFIED-TIME should be a list of (HIGH LOW . IGNORED), | 1723 | The optional SPECIFIED-TIME should be a list of (HIGH LOW . IGNORED), |
| 1718 | as from `current-time' and `file-attributes', or `nil' to use the | 1724 | as from `current-time' and `file-attributes', or nil to use the |
| 1719 | current time. The obsolete form (HIGH . LOW) is also still accepted. | 1725 | current time. The obsolete form (HIGH . LOW) is also still accepted. |
| 1720 | The list has the following nine members: SEC is an integer between 0 | 1726 | The list has the following nine members: SEC is an integer between 0 |
| 1721 | and 60; SEC is 60 for a leap second, which only some operating systems | 1727 | and 60; SEC is 60 for a leap second, which only some operating systems |
| @@ -2279,8 +2285,7 @@ usage: (insert-before-markers-and-inherit &rest ARGS) */) | |||
| 2279 | } | 2285 | } |
| 2280 | 2286 | ||
| 2281 | DEFUN ("insert-char", Finsert_char, Sinsert_char, 2, 3, 0, | 2287 | DEFUN ("insert-char", Finsert_char, Sinsert_char, 2, 3, 0, |
| 2282 | doc: /* Insert COUNT (second arg) copies of CHARACTER (first arg). | 2288 | doc: /* Insert COUNT copies of CHARACTER. |
| 2283 | Both arguments are required. | ||
| 2284 | Point, and before-insertion markers, are relocated as in the function `insert'. | 2289 | Point, and before-insertion markers, are relocated as in the function `insert'. |
| 2285 | The optional third arg INHERIT, if non-nil, says to inherit text properties | 2290 | The optional third arg INHERIT, if non-nil, says to inherit text properties |
| 2286 | from adjoining text, if those properties are sticky. */) | 2291 | from adjoining text, if those properties are sticky. */) |
| @@ -3169,7 +3174,7 @@ save_restriction_restore (data) | |||
| 3169 | DEFUN ("save-restriction", Fsave_restriction, Ssave_restriction, 0, UNEVALLED, 0, | 3174 | DEFUN ("save-restriction", Fsave_restriction, Ssave_restriction, 0, UNEVALLED, 0, |
| 3170 | doc: /* Execute BODY, saving and restoring current buffer's restrictions. | 3175 | doc: /* Execute BODY, saving and restoring current buffer's restrictions. |
| 3171 | The buffer's restrictions make parts of the beginning and end invisible. | 3176 | The buffer's restrictions make parts of the beginning and end invisible. |
| 3172 | (They are set up with `narrow-to-region' and eliminated with `widen'.) | 3177 | \(They are set up with `narrow-to-region' and eliminated with `widen'.) |
| 3173 | This special form, `save-restriction', saves the current buffer's restrictions | 3178 | This special form, `save-restriction', saves the current buffer's restrictions |
| 3174 | when it is entered, and restores them when it is exited. | 3179 | when it is entered, and restores them when it is exited. |
| 3175 | So any `narrow-to-region' within BODY lasts only until the end of the form. | 3180 | So any `narrow-to-region' within BODY lasts only until the end of the form. |
diff --git a/src/emacs.c b/src/emacs.c index d068ee767bf..d49d81e70bb 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, | 2 | Copyright (C) 1985, 1986, 1987, 1993, 1994, 1995, 1997, 1998, 1999, |
| 3 | 2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. | 3 | 2001, 2002, 2003, 2004, 2005, 2006, 2007 Free Software Foundation, Inc. |
| 4 | 4 | ||
| 5 | This file is part of GNU Emacs. | 5 | This file is part of GNU Emacs. |
| 6 | 6 | ||
| @@ -867,7 +867,7 @@ main (argc, argv | |||
| 867 | else | 867 | else |
| 868 | { | 868 | { |
| 869 | printf ("GNU Emacs %s\n", SDATA (tem)); | 869 | printf ("GNU Emacs %s\n", SDATA (tem)); |
| 870 | printf ("Copyright (C) 2006 Free Software Foundation, Inc.\n"); | 870 | printf ("Copyright (C) 2007 Free Software Foundation, Inc.\n"); |
| 871 | printf ("GNU Emacs comes with ABSOLUTELY NO WARRANTY.\n"); | 871 | printf ("GNU Emacs comes with ABSOLUTELY NO WARRANTY.\n"); |
| 872 | printf ("You may redistribute copies of Emacs\n"); | 872 | printf ("You may redistribute copies of Emacs\n"); |
| 873 | printf ("under the terms of the GNU General Public License.\n"); | 873 | printf ("under the terms of the GNU General Public License.\n"); |
diff --git a/src/epaths.in b/src/epaths.in index d494d85139c..34d97897c7d 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, 2002, 2003, 2004, | 2 | /* Copyright (C) 1993, 1995, 1997, 1999, 2001, 2002, 2003, 2004, |
| 3 | 2005, 2006 Free Software Foundation, Inc. | 3 | 2005, 2006, 2007 Free Software Foundation, Inc. |
| 4 | 4 | ||
| 5 | This file is part of GNU Emacs. | 5 | This file is part of GNU Emacs. |
| 6 | 6 | ||
| @@ -52,7 +52,7 @@ Boston, MA 02110-1301, USA. */ | |||
| 52 | /* Where the configuration process believes the info tree lives. The | 52 | /* Where the configuration process believes the info tree lives. The |
| 53 | lisp variable configure-info-directory gets its value from this | 53 | lisp variable configure-info-directory gets its value from this |
| 54 | macro, and is then used to set the Info-default-directory-list. */ | 54 | macro, and is then used to set the Info-default-directory-list. */ |
| 55 | #define PATH_INFO "/usr/local/info" | 55 | #define PATH_INFO "/usr/local/share/info" |
| 56 | 56 | ||
| 57 | /* Where Emacs should store game score files. */ | 57 | /* Where Emacs should store game score files. */ |
| 58 | #define PATH_GAME "/usr/local/var/games/emacs" | 58 | #define PATH_GAME "/usr/local/var/games/emacs" |
diff --git a/src/eval.c b/src/eval.c index c587142762e..b1bd3daef7a 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, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. | 3 | 2002, 2003, 2004, 2005, 2006, 2007 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 f41699bcc46..074a7a0527c 100644 --- a/src/fileio.c +++ b/src/fileio.c | |||
| @@ -1,7 +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, | 2 | Copyright (C) 1985, 1986, 1987, 1988, 1993, 1994, 1995, 1996, |
| 3 | 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, | 3 | 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, |
| 4 | 2005, 2006 Free Software Foundation, Inc. | 4 | 2005, 2006, 2007 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/filelock.c b/src/filelock.c index 6e8e6da9fbd..689a80a4209 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, 1986, 1987, 1993, 1994, 1996, 1998, 1999, 2000, 2001, | 2 | Copyright (C) 1985, 1986, 1987, 1993, 1994, 1996, 1998, 1999, 2000, 2001, |
| 3 | 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. | 3 | 2002, 2003, 2004, 2005, 2006, 2007 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 835a8a3778e..b15f65c1647 100644 --- a/src/filemode.c +++ b/src/filemode.c | |||
| @@ -1,6 +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, 2002, 2003, 2004, | 2 | Copyright (C) 1985, 1990, 1993, 2001, 2002, 2003, 2004, |
| 3 | 2005, 2006 Free Software Foundation, Inc. | 3 | 2005, 2006, 2007 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/firstfile.c b/src/firstfile.c index 06e7022d89a..8093f03efc3 100644 --- a/src/firstfile.c +++ b/src/firstfile.c | |||
| @@ -1,6 +1,6 @@ | |||
| 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, 2002, 2003, 2004, 2005, | 2 | Copyright (C) 1997, 2001, 2002, 2003, 2004, 2005, |
| 3 | 2006 Free Software Foundation, Inc. | 3 | 2006, 2007 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/floatfns.c b/src/floatfns.c index dd879de7eb8..e0ed9b625cd 100644 --- a/src/floatfns.c +++ b/src/floatfns.c | |||
| @@ -1,6 +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, 2002, 2003, 2004, | 2 | Copyright (C) 1988, 1993, 1994, 1999, 2001, 2002, 2003, 2004, |
| 3 | 2005, 2006 Free Software Foundation, Inc. | 3 | 2005, 2006, 2007 Free Software Foundation, Inc. |
| 4 | 4 | ||
| 5 | This file is part of GNU Emacs. | 5 | This file is part of GNU Emacs. |
| 6 | 6 | ||
| @@ -1,7 +1,7 @@ | |||
| 1 | /* Random utility Lisp functions. | 1 | /* Random utility Lisp functions. |
| 2 | Copyright (C) 1985, 1986, 1987, 1993, 1994, 1995, 1997, | 2 | Copyright (C) 1985, 1986, 1987, 1993, 1994, 1995, 1997, |
| 3 | 1998, 1999, 2000, 2001, 2002, 2003, 2004, | 3 | 1998, 1999, 2000, 2001, 2002, 2003, 2004, |
| 4 | 2005, 2006 Free Software Foundation, Inc. | 4 | 2005, 2006, 2007 Free Software Foundation, Inc. |
| 5 | 5 | ||
| 6 | This file is part of GNU Emacs. | 6 | This file is part of GNU Emacs. |
| 7 | 7 | ||
| @@ -4671,6 +4671,7 @@ maybe_resize_hash_table (h) | |||
| 4671 | { | 4671 | { |
| 4672 | int old_size = HASH_TABLE_SIZE (h); | 4672 | int old_size = HASH_TABLE_SIZE (h); |
| 4673 | int i, new_size, index_size; | 4673 | int i, new_size, index_size; |
| 4674 | EMACS_INT nsize; | ||
| 4674 | 4675 | ||
| 4675 | if (INTEGERP (h->rehash_size)) | 4676 | if (INTEGERP (h->rehash_size)) |
| 4676 | new_size = old_size + XFASTINT (h->rehash_size); | 4677 | new_size = old_size + XFASTINT (h->rehash_size); |
| @@ -4680,7 +4681,10 @@ maybe_resize_hash_table (h) | |||
| 4680 | index_size = next_almost_prime ((int) | 4681 | index_size = next_almost_prime ((int) |
| 4681 | (new_size | 4682 | (new_size |
| 4682 | / XFLOATINT (h->rehash_threshold))); | 4683 | / XFLOATINT (h->rehash_threshold))); |
| 4683 | if (max (index_size, 2 * new_size) > MOST_POSITIVE_FIXNUM) | 4684 | /* Assignment to EMACS_INT stops GCC whining about limited range |
| 4685 | of data type. */ | ||
| 4686 | nsize = max (index_size, 2 * new_size); | ||
| 4687 | if (nsize > MOST_POSITIVE_FIXNUM) | ||
| 4684 | error ("Hash table too large to resize"); | 4688 | error ("Hash table too large to resize"); |
| 4685 | 4689 | ||
| 4686 | h->key_and_value = larger_vector (h->key_and_value, 2 * new_size, Qnil); | 4690 | h->key_and_value = larger_vector (h->key_and_value, 2 * new_size, Qnil); |
diff --git a/src/fontset.c b/src/fontset.c index 66a31e9acf0..7d227d8f43f 100644 --- a/src/fontset.c +++ b/src/fontset.c | |||
| @@ -1,7 +1,8 @@ | |||
| 1 | /* Fontset handler. | 1 | /* Fontset handler. |
| 2 | Copyright (C) 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. | 2 | Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006, 2007 |
| 3 | Free Software Foundation, Inc. | ||
| 3 | Copyright (C) 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, | 4 | Copyright (C) 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, |
| 4 | 2005, 2006 | 5 | 2005, 2006, 2007 |
| 5 | National Institute of Advanced Industrial Science and Technology (AIST) | 6 | National Institute of Advanced Industrial Science and Technology (AIST) |
| 6 | Registration Number H14PRO021 | 7 | Registration Number H14PRO021 |
| 7 | 8 | ||
diff --git a/src/fontset.h b/src/fontset.h index a08f7b74bd0..a2bac100396 100644 --- a/src/fontset.h +++ b/src/fontset.h | |||
| @@ -1,8 +1,8 @@ | |||
| 1 | /* Header for fontset handler. | 1 | /* Header for fontset handler. |
| 2 | Copyright (C) 1998, 2002, 2003, 2004, 2005, | 2 | Copyright (C) 1998, 2001, 2002, 2003, 2004, 2005, |
| 3 | 2006 Free Software Foundation, Inc. | 3 | 2006, 2007 Free Software Foundation, Inc. |
| 4 | Copyright (C) 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, | 4 | Copyright (C) 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, |
| 5 | 2005, 2006 | 5 | 2005, 2006, 2007 |
| 6 | National Institute of Advanced Industrial Science and Technology (AIST) | 6 | National Institute of Advanced Industrial Science and Technology (AIST) |
| 7 | Registration Number H14PRO021 | 7 | Registration Number H14PRO021 |
| 8 | 8 | ||
diff --git a/src/frame.c b/src/frame.c index b6f361bcbfe..7d5bdcb1cb6 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, 2002, 2003, | 2 | Copyright (C) 1993, 1994, 1995, 1997, 1999, 2000, 2001, 2002, 2003, |
| 3 | 2004, 2005, 2006 Free Software Foundation, Inc. | 3 | 2004, 2005, 2006, 2007 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 9f22d1c08ab..47f7483994e 100644 --- a/src/frame.h +++ b/src/frame.h | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | /* Define frame-object for GNU Emacs. | 1 | /* Define frame-object for GNU Emacs. |
| 2 | Copyright (C) 1993, 1994, 1999, 2000, 2001, 2002, 2003, 2004, | 2 | Copyright (C) 1993, 1994, 1999, 2000, 2001, 2002, 2003, 2004, |
| 3 | 2005, 2006 Free Software Foundation, Inc. | 3 | 2005, 2006, 2007 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/fringe.c b/src/fringe.c index dd885beb1b6..2fb88ce01e8 100644 --- a/src/fringe.c +++ b/src/fringe.c | |||
| @@ -1,7 +1,7 @@ | |||
| 1 | /* Fringe handling (split from xdisp.c). | 1 | /* Fringe handling (split from xdisp.c). |
| 2 | Copyright (C) 1985, 1986, 1987, 1988, 1993, 1994, 1995, 1997, | 2 | Copyright (C) 1985, 1986, 1987, 1988, 1993, 1994, 1995, 1997, |
| 3 | 1998, 1999, 2000, 2000, 2001, 2002, 2003, 2004, | 3 | 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, |
| 4 | 2005, 2006 Free Software Foundation, Inc. | 4 | 2006, 2007 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/getloadavg.c b/src/getloadavg.c index 3f616b47116..f40149a8c47 100644 --- a/src/getloadavg.c +++ b/src/getloadavg.c | |||
| @@ -1,6 +1,7 @@ | |||
| 1 | /* Get the system load averages. | 1 | /* Get the system load averages. |
| 2 | Copyright (C) 1985, 1986, 1987, 1988, 1989, 1991, 1992, 1993, 1994, 1995, | 2 | Copyright (C) 1985, 1986, 1987, 1988, 1989, 1991, 1992, 1993, 1994, 1995, |
| 3 | 1997, 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. | 3 | 1997, 2001, 2002, 2003, 2004, 2005, 2006, 2007 |
| 4 | Free Software Foundation, Inc. | ||
| 4 | 5 | ||
| 5 | NOTE: The canonical source of this file is maintained with gnulib. | 6 | NOTE: The canonical source of this file is maintained with gnulib. |
| 6 | Bugs can be reported to bug-gnulib@gnu.org. | 7 | Bugs can be reported to bug-gnulib@gnu.org. |
diff --git a/src/getpagesize.h b/src/getpagesize.h index f38409da452..c4551677d16 100644 --- a/src/getpagesize.h +++ b/src/getpagesize.h | |||
| @@ -1,6 +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, 2002, 2003, 2004, | 2 | Copyright (C) 1986, 1992, 1995, 2001, 2002, 2003, 2004, |
| 3 | 2005, 2006 Free Software Foundation, Inc. | 3 | 2005, 2006, 2007 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/gmalloc.c b/src/gmalloc.c index 646fbbc4e4c..3f32617fc64 100644 --- a/src/gmalloc.c +++ b/src/gmalloc.c | |||
| @@ -6,7 +6,7 @@ | |||
| 6 | 6 | ||
| 7 | /* Declarations for `malloc' and friends. | 7 | /* Declarations for `malloc' and friends. |
| 8 | Copyright (C) 1990, 1991, 1992, 1993, 1995, 1996, 1999, 2002, 2003, 2004, | 8 | Copyright (C) 1990, 1991, 1992, 1993, 1995, 1996, 1999, 2002, 2003, 2004, |
| 9 | 2005, 2006 Free Software Foundation, Inc. | 9 | 2005, 2006, 2007 Free Software Foundation, Inc. |
| 10 | Written May 1989 by Mike Haertel. | 10 | Written May 1989 by Mike Haertel. |
| 11 | 11 | ||
| 12 | 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 d57a0b56c0c..7953ce30740 100644 --- a/src/gtkutil.c +++ b/src/gtkutil.c | |||
| @@ -1,5 +1,5 @@ | |||
| 1 | /* Functions for creating and updating GTK widgets. | 1 | /* Functions for creating and updating GTK widgets. |
| 2 | Copyright (C) 2003, 2004, 2005, 2006 Free Software Foundation, Inc. | 2 | Copyright (C) 2003, 2004, 2005, 2006, 2007 Free Software Foundation, Inc. |
| 3 | 3 | ||
| 4 | This file is part of GNU Emacs. | 4 | This file is part of GNU Emacs. |
| 5 | 5 | ||
| @@ -3937,6 +3937,11 @@ xg_initialize () | |||
| 3937 | { | 3937 | { |
| 3938 | GtkBindingSet *binding_set; | 3938 | GtkBindingSet *binding_set; |
| 3939 | 3939 | ||
| 3940 | #if HAVE_XFT | ||
| 3941 | /* Work around a bug with corrupted data if libXft gets unloaded. This way | ||
| 3942 | we keep it permanently linked in. */ | ||
| 3943 | XftInit (0); | ||
| 3944 | #endif | ||
| 3940 | xg_ignore_gtk_scrollbar = 0; | 3945 | xg_ignore_gtk_scrollbar = 0; |
| 3941 | xg_detached_menus = 0; | 3946 | xg_detached_menus = 0; |
| 3942 | xg_menu_cb_list.prev = xg_menu_cb_list.next = | 3947 | xg_menu_cb_list.prev = xg_menu_cb_list.next = |
diff --git a/src/gtkutil.h b/src/gtkutil.h index c3957223a18..f87583ea1c2 100644 --- a/src/gtkutil.h +++ b/src/gtkutil.h | |||
| @@ -1,5 +1,5 @@ | |||
| 1 | /* Definitions and headers for GTK widgets. | 1 | /* Definitions and headers for GTK widgets. |
| 2 | Copyright (C) 2003, 2004, 2005, 2006 Free Software Foundation, Inc. | 2 | Copyright (C) 2003, 2004, 2005, 2006, 2007 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/image.c b/src/image.c index b4ee3104543..49d25d819bc 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, 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, 2006 Free Software Foundation, Inc. | 3 | 2001, 2002, 2003, 2004, 2005, 2006, 2007 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.c b/src/indent.c index af556bc38e3..bb77de1be9b 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, 2006 Free Software Foundation, Inc. | 3 | 2002, 2003, 2004, 2005, 2006, 2007 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 ddfd16a16de..b9c39869e60 100644 --- a/src/indent.h +++ b/src/indent.h | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | /* Definitions for interface to indent.c | 1 | /* Definitions for interface to indent.c |
| 2 | Copyright (C) 1985, 1986, 2002, 2003, 2004, | 2 | Copyright (C) 1985, 1986, 2001, 2002, 2003, 2004, |
| 3 | 2005, 2006 Free Software Foundation, Inc. | 3 | 2005, 2006, 2007 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/insdel.c b/src/insdel.c index bd6e30d9449..08043147cdf 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, 1986, 1993, 1994, 1995, 1997, 1998, 1999, 2000, 2001, | 2 | Copyright (C) 1985, 1986, 1993, 1994, 1995, 1997, 1998, 1999, 2000, 2001, |
| 3 | 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. | 3 | 2002, 2003, 2004, 2005, 2006, 2007 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 20c4c191a93..861cb24c598 100644 --- a/src/intervals.c +++ b/src/intervals.c | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | /* Code for doing intervals. | 1 | /* Code for doing intervals. |
| 2 | Copyright (C) 1993, 1994, 1995, 1997, 1998, 2002, 2003, 2004, | 2 | Copyright (C) 1993, 1994, 1995, 1997, 1998, 2001, 2002, 2003, 2004, |
| 3 | 2005, 2006 Free Software Foundation, Inc. | 3 | 2005, 2006, 2007 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.h b/src/intervals.h index 052b55d5a3c..f89b748f2ff 100644 --- a/src/intervals.h +++ b/src/intervals.h | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | /* Definitions and global variables for intervals. | 1 | /* Definitions and global variables for intervals. |
| 2 | Copyright (C) 1993, 1994, 2000, 2002, 2003, 2004, | 2 | Copyright (C) 1993, 1994, 2000, 2001, 2002, 2003, 2004, |
| 3 | 2005, 2006 Free Software Foundation, Inc. | 3 | 2005, 2006, 2007 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/keyboard.c b/src/keyboard.c index c2603427004..82e97441667 100644 --- a/src/keyboard.c +++ b/src/keyboard.c | |||
| @@ -1,7 +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, | 2 | Copyright (C) 1985, 1986, 1987, 1988, 1989, 1993, 1994, 1995, |
| 3 | 1996, 1997, 1999, 2000, 2001, 2002, 2003, 2004, | 3 | 1996, 1997, 1999, 2000, 2001, 2002, 2003, 2004, |
| 4 | 2005, 2006 Free Software Foundation, Inc. | 4 | 2005, 2006, 2007 Free Software Foundation, Inc. |
| 5 | 5 | ||
| 6 | This file is part of GNU Emacs. | 6 | This file is part of GNU Emacs. |
| 7 | 7 | ||
| @@ -89,7 +89,7 @@ extern int errno; | |||
| 89 | /* Variables for blockinput.h: */ | 89 | /* Variables for blockinput.h: */ |
| 90 | 90 | ||
| 91 | /* Non-zero if interrupt input is blocked right now. */ | 91 | /* Non-zero if interrupt input is blocked right now. */ |
| 92 | int interrupt_input_blocked; | 92 | volatile int interrupt_input_blocked; |
| 93 | 93 | ||
| 94 | /* Nonzero means an input interrupt has arrived | 94 | /* Nonzero means an input interrupt has arrived |
| 95 | during the current critical section. */ | 95 | during the current critical section. */ |
| @@ -9493,7 +9493,8 @@ read_key_sequence (keybuf, bufsize, prompt, dont_downcase_last, | |||
| 9493 | { | 9493 | { |
| 9494 | pos = POSN_BUFFER_POSN (start); | 9494 | pos = POSN_BUFFER_POSN (start); |
| 9495 | if (INTEGERP (pos) | 9495 | if (INTEGERP (pos) |
| 9496 | && XINT (pos) >= BEG && XINT (pos) <= Z) | 9496 | && XINT (pos) >= BEGV |
| 9497 | && XINT (pos) <= ZV) | ||
| 9497 | { | 9498 | { |
| 9498 | map_here = get_local_map (XINT (pos), | 9499 | map_here = get_local_map (XINT (pos), |
| 9499 | current_buffer, Qlocal_map); | 9500 | current_buffer, Qlocal_map); |
| @@ -10507,7 +10508,9 @@ DEFUN ("this-command-keys", Fthis_command_keys, Sthis_command_keys, 0, 0, 0, | |||
| 10507 | doc: /* Return the key sequence that invoked this command. | 10508 | doc: /* Return the key sequence that invoked this command. |
| 10508 | However, if the command has called `read-key-sequence', it returns | 10509 | However, if the command has called `read-key-sequence', it returns |
| 10509 | the last key sequence that has been read. | 10510 | the last key sequence that has been read. |
| 10510 | The value is a string or a vector. */) | 10511 | The value is a string or a vector. |
| 10512 | |||
| 10513 | See also `this-command-keys-vector'. */) | ||
| 10511 | () | 10514 | () |
| 10512 | { | 10515 | { |
| 10513 | return make_event_array (this_command_key_count, | 10516 | return make_event_array (this_command_key_count, |
| @@ -10517,7 +10520,9 @@ The value is a string or a vector. */) | |||
| 10517 | DEFUN ("this-command-keys-vector", Fthis_command_keys_vector, Sthis_command_keys_vector, 0, 0, 0, | 10520 | DEFUN ("this-command-keys-vector", Fthis_command_keys_vector, Sthis_command_keys_vector, 0, 0, 0, |
| 10518 | doc: /* Return the key sequence that invoked this command, as a vector. | 10521 | doc: /* Return the key sequence that invoked this command, as a vector. |
| 10519 | However, if the command has called `read-key-sequence', it returns | 10522 | However, if the command has called `read-key-sequence', it returns |
| 10520 | the last key sequence that has been read. */) | 10523 | the last key sequence that has been read. |
| 10524 | |||
| 10525 | See also `this-command-keys'. */) | ||
| 10521 | () | 10526 | () |
| 10522 | { | 10527 | { |
| 10523 | return Fvector (this_command_key_count, | 10528 | return Fvector (this_command_key_count, |
diff --git a/src/keyboard.h b/src/keyboard.h index 749a8aefb28..0879bacc156 100644 --- a/src/keyboard.h +++ b/src/keyboard.h | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | /* Declarations useful when processing input. | 1 | /* Declarations useful when processing input. |
| 2 | Copyright (C) 1985, 1986, 1987, 1993, 2002, 2003, 2004, | 2 | Copyright (C) 1985, 1986, 1987, 1993, 2001, 2002, 2003, 2004, |
| 3 | 2005, 2006 Free Software Foundation, Inc. | 3 | 2005, 2006, 2007 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/keymap.c b/src/keymap.c index 634a52b3834..c85c37aae12 100644 --- a/src/keymap.c +++ b/src/keymap.c | |||
| @@ -1,7 +1,7 @@ | |||
| 1 | /* Manipulation of keymaps | 1 | /* Manipulation of keymaps |
| 2 | Copyright (C) 1985, 1986, 1987, 1988, 1993, 1994, 1995, | 2 | Copyright (C) 1985, 1986, 1987, 1988, 1993, 1994, 1995, |
| 3 | 1998, 1999, 2000, 2001, 2002, 2003, 2004, | 3 | 1998, 1999, 2000, 2001, 2002, 2003, 2004, |
| 4 | 2005, 2006 Free Software Foundation, Inc. | 4 | 2005, 2006, 2007 Free Software Foundation, Inc. |
| 5 | 5 | ||
| 6 | This file is part of GNU Emacs. | 6 | This file is part of GNU Emacs. |
| 7 | 7 | ||
| @@ -3448,9 +3448,13 @@ describe_map (map, prefix, elt_describer, partial, shadow, | |||
| 3448 | tem = shadow_lookup (shadow, kludge, Qt); | 3448 | tem = shadow_lookup (shadow, kludge, Qt); |
| 3449 | if (!NILP (tem)) | 3449 | if (!NILP (tem)) |
| 3450 | { | 3450 | { |
| 3451 | /* If both bindings are keymaps, this key is a prefix key, | ||
| 3452 | so don't say it is shadowed. */ | ||
| 3453 | if (KEYMAPP (definition) && KEYMAPP (tem)) | ||
| 3454 | ; | ||
| 3451 | /* Avoid generating duplicate entries if the | 3455 | /* Avoid generating duplicate entries if the |
| 3452 | shadowed binding has the same definition. */ | 3456 | shadowed binding has the same definition. */ |
| 3453 | if (mention_shadow && !EQ (tem, definition)) | 3457 | else if (mention_shadow && !EQ (tem, definition)) |
| 3454 | this_shadowed = 1; | 3458 | this_shadowed = 1; |
| 3455 | else | 3459 | else |
| 3456 | continue; | 3460 | continue; |
diff --git a/src/keymap.h b/src/keymap.h index 271a2e64284..9614f578f37 100644 --- a/src/keymap.h +++ b/src/keymap.h | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | /* Functions to manipulate keymaps. | 1 | /* Functions to manipulate keymaps. |
| 2 | Copyright (C) 2001, 2002, 2003, 2004, 2005, | 2 | Copyright (C) 2001, 2002, 2003, 2004, 2005, |
| 3 | 2006 Free Software Foundation, Inc. | 3 | 2006, 2007 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/lastfile.c b/src/lastfile.c index 7c5e067dd02..7a7888f4683 100644 --- a/src/lastfile.c +++ b/src/lastfile.c | |||
| @@ -1,6 +1,6 @@ | |||
| 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, 2002, 2003, 2004, 2005, | 2 | Copyright (C) 1985, 2001, 2002, 2003, 2004, 2005, |
| 3 | 2006 Free Software Foundation, Inc. | 3 | 2006, 2007 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/lisp.h b/src/lisp.h index f5d936089cf..7a03836021b 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, 2006 Free Software Foundation, Inc. | 3 | 2001, 2002, 2003, 2004, 2005, 2006, 2007 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/lread.c b/src/lread.c index 9142e0c6dcd..0014c31c45d 100644 --- a/src/lread.c +++ b/src/lread.c | |||
| @@ -1,7 +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, | 2 | Copyright (C) 1985, 1986, 1987, 1988, 1989, 1993, 1994, 1995, |
| 3 | 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, | 3 | 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, |
| 4 | 2005, 2006 Free Software Foundation, Inc. | 4 | 2005, 2006, 2007 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/7300.h b/src/m/7300.h index a8751efa52a..1022e077046 100644 --- a/src/m/7300.h +++ b/src/m/7300.h | |||
| @@ -1,6 +1,6 @@ | |||
| 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, 2003, 2004, 2005, | 2 | Copyright (C) 1986, 2001, 2002, 2003, 2004, 2005, |
| 3 | 2006 Free Software Foundation, Inc. | 3 | 2006, 2007 Free Software Foundation, Inc. |
| 4 | Modified for this machine by mtxinu!rtech!gonzo!daveb | 4 | Modified for this machine by mtxinu!rtech!gonzo!daveb |
| 5 | 5 | ||
| 6 | This file is part of GNU Emacs. | 6 | This file is part of GNU Emacs. |
diff --git a/src/m/acorn.h b/src/m/acorn.h index 326fb7760ae..dee60071e12 100644 --- a/src/m/acorn.h +++ b/src/m/acorn.h | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | /* Machine description file for Acorn RISCiX machines. | 1 | /* Machine description file for Acorn RISCiX machines. |
| 2 | Copyright (C) 1994, 2002, 2003, 2004, 2005, | 2 | Copyright (C) 1994, 2001, 2002, 2003, 2004, 2005, |
| 3 | 2006 Free Software Foundation, Inc. | 3 | 2006, 2007 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/alliant-2800.h b/src/m/alliant-2800.h index d56624a1eac..e81fe48b9e7 100644 --- a/src/m/alliant-2800.h +++ b/src/m/alliant-2800.h | |||
| @@ -1,6 +1,6 @@ | |||
| 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, 2003, 2004, 2005, | 2 | Copyright (C) 1990, 2001, 2002, 2003, 2004, 2005, |
| 3 | 2006 Free Software Foundation, Inc. | 3 | 2006, 2007 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/alliant.h b/src/m/alliant.h index 49459c0b7f7..5ddab96012f 100644 --- a/src/m/alliant.h +++ b/src/m/alliant.h | |||
| @@ -1,6 +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, 2003, 2004, | 2 | Copyright (C) 1985, 1986, 1987, 2001, 2002, 2003, 2004, |
| 3 | 2005, 2006 Free Software Foundation, Inc. | 3 | 2005, 2006, 2007 Free Software Foundation, Inc. |
| 4 | Note that for version 1 of the Alliant system | 4 | Note that for version 1 of the Alliant system |
| 5 | you should use alliant1.h instead of this file. | 5 | you should use alliant1.h instead of this file. |
| 6 | 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 47003400846..cf629c20291 100644 --- a/src/m/alpha.h +++ b/src/m/alpha.h | |||
| @@ -1,6 +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, 2003, 2004, | 2 | Copyright (C) 1994, 1997, 1999, 2001, 2002, 2003, 2004, |
| 3 | 2005, 2006 Free Software Foundation, Inc. | 3 | 2005, 2006, 2007 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/altos.h b/src/m/altos.h index 16e7fb7ce06..1a7c6d4f95a 100644 --- a/src/m/altos.h +++ b/src/m/altos.h | |||
| @@ -1,6 +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, 2003, 2004, | 2 | Copyright (C) 1985, 1986, 2001, 2002, 2003, 2004, |
| 3 | 2005, 2006 Free Software Foundation, Inc. | 3 | 2005, 2006, 2007 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/amdahl.h b/src/m/amdahl.h index e418e3a43bf..c5cae1fc560 100644 --- a/src/m/amdahl.h +++ b/src/m/amdahl.h | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | /* amdahl machine description file | 1 | /* amdahl machine description file |
| 2 | Copyright (C) 1987, 1999, 2002, 2003, 2004, | 2 | Copyright (C) 1987, 1999, 2001, 2002, 2003, 2004, |
| 3 | 2005, 2006 Free Software Foundation, Inc. | 3 | 2005, 2006, 2007 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/amdx86-64.h b/src/m/amdx86-64.h index 36e62ef6166..0dcf5524645 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, 2004, 2005, 2006 Free Software Foundation, Inc. | 2 | Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007 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 d9b3cffdb6d..0e6e53327bc 100644 --- a/src/m/apollo.h +++ b/src/m/apollo.h | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | /* machine description file for Apollo machine. | 1 | /* machine description file for Apollo machine. |
| 2 | Copyright (C) 1985, 1986, 1994, 2002, 2003, 2004, | 2 | Copyright (C) 1985, 1986, 1994, 2001, 2002, 2003, 2004, |
| 3 | 2005, 2006 Free Software Foundation, Inc. | 3 | 2005, 2006, 2007 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/arm.h b/src/m/arm.h index 0a49f0cbd4b..18675f2805c 100644 --- a/src/m/arm.h +++ b/src/m/arm.h | |||
| @@ -1,6 +1,6 @@ | |||
| 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, 2003, 2004, 2005, | 2 | Copyright (C) 1994, 2001, 2002, 2003, 2004, 2005, |
| 3 | 2006 Free Software Foundation, Inc. | 3 | 2006, 2007 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/att3b.h b/src/m/att3b.h index 049593ebcf4..33411ff005c 100644 --- a/src/m/att3b.h +++ b/src/m/att3b.h | |||
| @@ -1,6 +1,6 @@ | |||
| 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, 2003, 2004, 2005, | 2 | Copyright (C) 1986, 2001, 2002, 2003, 2004, 2005, |
| 3 | 2006 Free Software Foundation, Inc. | 3 | 2006, 2007 Free Software Foundation, Inc. |
| 4 | 4 | ||
| 5 | Modified by David Robinson (daver@csvax.caltech.edu) 6/6/86 | 5 | Modified by David Robinson (daver@csvax.caltech.edu) 6/6/86 |
| 6 | 6 | ||
diff --git a/src/m/aviion.h b/src/m/aviion.h index 50355b25bd6..87b7d963f5a 100644 --- a/src/m/aviion.h +++ b/src/m/aviion.h | |||
| @@ -1,6 +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, 2003, 2004, | 2 | Copyright (C) 1985, 1986, 1991, 2001, 2002, 2003, 2004, |
| 3 | 2005, 2006 Free Software Foundation, Inc. | 3 | 2005, 2006, 2007 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/celerity.h b/src/m/celerity.h index 10d38e14c6c..0eba349b7db 100644 --- a/src/m/celerity.h +++ b/src/m/celerity.h | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | /* machine description file for Celerity. | 1 | /* machine description file for Celerity. |
| 2 | Copyright (C) 1985, 1986, 2002, 2003, 2004, | 2 | Copyright (C) 1985, 1986, 2001, 2002, 2003, 2004, |
| 3 | 2005, 2006 Free Software Foundation, Inc. | 3 | 2005, 2006, 2007 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/clipper.h b/src/m/clipper.h index 0dfa13382b3..6851761d53e 100644 --- a/src/m/clipper.h +++ b/src/m/clipper.h | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | /* machine description file for clipper | 1 | /* machine description file for clipper |
| 2 | Copyright (C) 1985, 1986, 2002, 2003, 2004, | 2 | Copyright (C) 1985, 1986, 2001, 2002, 2003, 2004, |
| 3 | 2005, 2006 Free Software Foundation, Inc. | 3 | 2005, 2006, 2007 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/cnvrgnt.h b/src/m/cnvrgnt.h index f8df583657a..09e3365bee9 100644 --- a/src/m/cnvrgnt.h +++ b/src/m/cnvrgnt.h | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | /* machine description file for convergent S series. | 1 | /* machine description file for convergent S series. |
| 2 | Copyright (C) 1989, 2002, 2003, 2004, 2005, | 2 | Copyright (C) 1989, 2001, 2002, 2003, 2004, 2005, |
| 3 | 2006 Free Software Foundation, Inc. | 3 | 2006, 2007 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/convex.h b/src/m/convex.h index fa87d89e3d3..2904b5942f4 100644 --- a/src/m/convex.h +++ b/src/m/convex.h | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | /* machine description file for Convex (all models). | 1 | /* machine description file for Convex (all models). |
| 2 | Copyright (C) 1987, 1994, 2002, 2003, 2004, | 2 | Copyright (C) 1987, 1994, 2001, 2002, 2003, 2004, |
| 3 | 2005, 2006 Free Software Foundation, Inc. | 3 | 2005, 2006, 2007 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/cydra5.h b/src/m/cydra5.h index a64f4761c25..75aca4b0e64 100644 --- a/src/m/cydra5.h +++ b/src/m/cydra5.h | |||
| @@ -1,6 +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, 2003, 2004, | 2 | Copyright (C) 1988, 1999, 2001, 2002, 2003, 2004, |
| 3 | 2005, 2006 Free Software Foundation, Inc. | 3 | 2005, 2006, 2007 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/delta88k.h b/src/m/delta88k.h index 86e416e887d..7017e38284e 100644 --- a/src/m/delta88k.h +++ b/src/m/delta88k.h | |||
| @@ -1,6 +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, 2003, 2004, | 2 | Copyright (C) 1985, 2001, 2002, 2003, 2004, |
| 3 | 2005, 2006 Free Software Foundation, Inc. | 3 | 2005, 2006, 2007 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/dpx2.h b/src/m/dpx2.h index 2a90ff46284..de0b93b21ac 100644 --- a/src/m/dpx2.h +++ b/src/m/dpx2.h | |||
| @@ -1,6 +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, 2003, 2004, | 2 | Copyright (C) 1985, 1986, 1999, 2001, 2002, 2003, 2004, |
| 3 | 2005, 2006 Free Software Foundation, Inc. | 3 | 2005, 2006, 2007 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/dual.h b/src/m/dual.h index d02ac5bc38e..63829b75d2e 100644 --- a/src/m/dual.h +++ b/src/m/dual.h | |||
| @@ -1,6 +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, 2002, 2003, 2004, | 2 | Copyright (C) 1985, 2001, 2002, 2003, 2004, |
| 3 | 2005, 2006 Free Software Foundation, Inc. | 3 | 2005, 2006, 2007 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/elxsi.h b/src/m/elxsi.h index 0cb0c5513bf..c264d57338b 100644 --- a/src/m/elxsi.h +++ b/src/m/elxsi.h | |||
| @@ -1,6 +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, 2003, 2004, | 2 | Copyright (C) 1986, 1992, 2001, 2002, 2003, 2004, |
| 3 | 2005, 2006 Free Software Foundation, Inc. | 3 | 2005, 2006, 2007 Free Software Foundation, Inc. |
| 4 | Adapted by John Salmon | 4 | Adapted by John Salmon |
| 5 | 5 | ||
| 6 | 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 9db133ba682..528ce95d685 100644 --- a/src/m/ews4800.h +++ b/src/m/ews4800.h | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | /* m- file for NEC EWS4800 RISC series. | 1 | /* m- file for NEC EWS4800 RISC series. |
| 2 | Copyright (C) 1998, 2000, 2001, 2002, 2003, 2004, | 2 | Copyright (C) 1998, 2000, 2001, 2002, 2003, 2004, |
| 3 | 2005, 2006 Free Software Foundation, Inc. | 3 | 2005, 2006, 2007 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/gould-np1.h b/src/m/gould-np1.h index 272a06cf305..a750c9f8f39 100644 --- a/src/m/gould-np1.h +++ b/src/m/gould-np1.h | |||
| @@ -1,6 +1,6 @@ | |||
| 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, 2002, 2003, 2004, 2005, | 2 | Copyright (C) 1986, 2001, 2002, 2003, 2004, 2005, |
| 3 | 2006 Free Software Foundation, Inc. | 3 | 2006, 2007 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/gould.h b/src/m/gould.h index 3b5f1494e78..0b422f18fe2 100644 --- a/src/m/gould.h +++ b/src/m/gould.h | |||
| @@ -6,7 +6,7 @@ | |||
| 6 | * official releases of 2.1 | 6 | * official releases of 2.1 |
| 7 | 7 | ||
| 8 | Copyright (C) 1986, 2002, 2003, 2004, 2005, | 8 | Copyright (C) 1986, 2002, 2003, 2004, 2005, |
| 9 | 2006 Free Software Foundation, Inc. | 9 | 2006, 2007 Free Software Foundation, Inc. |
| 10 | 10 | ||
| 11 | This file is part of GNU Emacs. | 11 | This file is part of GNU Emacs. |
| 12 | 12 | ||
diff --git a/src/m/hp800.h b/src/m/hp800.h deleted file mode 100644 index 1630a0bc883..00000000000 --- a/src/m/hp800.h +++ /dev/null | |||
| @@ -1,187 +0,0 @@ | |||
| 1 | /* machine description file for hp9000 series 800 machines. | ||
| 2 | Copyright (C) 1987, 2002, 2003, 2004, 2005, | ||
| 3 | 2006 Free Software Foundation, Inc. | ||
| 4 | |||
| 5 | This file is part of GNU Emacs. | ||
| 6 | |||
| 7 | GNU Emacs 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 | the Free Software Foundation; either version 2, or (at your option) | ||
| 10 | any later version. | ||
| 11 | |||
| 12 | GNU Emacs is distributed in the hope that it will be useful, | ||
| 13 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 14 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 15 | GNU General Public License for more details. | ||
| 16 | |||
| 17 | You should have received a copy of the GNU General Public License | ||
| 18 | along with GNU Emacs; see the file COPYING. If not, write to | ||
| 19 | the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | ||
| 20 | Boston, MA 02110-1301, USA. */ | ||
| 21 | |||
| 22 | |||
| 23 | /* The following line tells the configuration script what sort of | ||
| 24 | operating system this machine is likely to run. | ||
| 25 | USUAL-OPSYS="hpux" */ | ||
| 26 | |||
| 27 | /* Define WORDS_BIG_ENDIAN iff lowest-numbered byte in a word | ||
| 28 | is the most significant byte. */ | ||
| 29 | |||
| 30 | #define WORDS_BIG_ENDIAN | ||
| 31 | |||
| 32 | /* Define NO_ARG_ARRAY if you cannot take the address of the first of a | ||
| 33 | * group of arguments and treat it as an array of the arguments. */ | ||
| 34 | |||
| 35 | #define NO_ARG_ARRAY | ||
| 36 | |||
| 37 | /* Define WORD_MACHINE if addresses and such have | ||
| 38 | * to be corrected before they can be used as byte counts. */ | ||
| 39 | |||
| 40 | #undef WORD_MACHINE | ||
| 41 | |||
| 42 | /* Now define a symbol for the cpu type, if your compiler | ||
| 43 | does not define it automatically: | ||
| 44 | Ones defined so far include vax, m68000, ns16000, pyramid, | ||
| 45 | orion, tahoe, APOLLO and many others */ | ||
| 46 | #ifndef hp9000s800 | ||
| 47 | # define hp9000s800 | ||
| 48 | #endif | ||
| 49 | |||
| 50 | /* Use type int rather than a union, to represent Lisp_Object */ | ||
| 51 | /* This is desirable for most machines. */ | ||
| 52 | |||
| 53 | #define NO_UNION_TYPE | ||
| 54 | |||
| 55 | /* Define EXPLICIT_SIGN_EXTEND if XINT must explicitly sign-extend | ||
| 56 | the bit field into an int. In other words, if bit fields | ||
| 57 | are always unsigned. | ||
| 58 | |||
| 59 | If you use NO_UNION_TYPE, this flag does not matter. */ | ||
| 60 | |||
| 61 | #define EXPLICIT_SIGN_EXTEND | ||
| 62 | |||
| 63 | /* The standard definitions of these macros would work ok, | ||
| 64 | but these are faster because the constants are short. */ | ||
| 65 | |||
| 66 | |||
| 67 | #define XUINT(a) (((unsigned)(a) << BITS_PER_INT-VALBITS) >> BITS_PER_INT-VALBITS) | ||
| 68 | |||
| 69 | #define XSET(var, type, ptr) \ | ||
| 70 | ((var) = ((int)(type) << VALBITS) + (((unsigned) (ptr) << BITS_PER_INT-VALBITS) >> BITS_PER_INT-VALBITS)) | ||
| 71 | |||
| 72 | /* Common definitions for HPUX and GNU/Linux. */ | ||
| 73 | |||
| 74 | #if defined (__hpux) || defined (GNU_LINUX) | ||
| 75 | /* Now define a symbol for the cpu type, if your compiler | ||
| 76 | does not define it automatically: | ||
| 77 | Ones defined so far include vax, m68000, ns16000, pyramid, | ||
| 78 | orion, tahoe, APOLLO and many others */ | ||
| 79 | #ifndef hp9000s800 | ||
| 80 | # define hp9000s800 | ||
| 81 | #endif | ||
| 82 | |||
| 83 | /* Define CANNOT_DUMP on machines where unexec does not work. | ||
| 84 | Then the function dump-emacs will not be defined | ||
| 85 | and temacs will do (load "loadup") automatically unless told otherwise. */ | ||
| 86 | |||
| 87 | #undef CANNOT_DUMP | ||
| 88 | |||
| 89 | /* Define NO_REMAP if memory segmentation makes it not work well | ||
| 90 | to change the boundary between the text section and data section | ||
| 91 | when Emacs is dumped. If you define this, the preloaded Lisp | ||
| 92 | code will not be sharable; but that's better than failing completely. */ | ||
| 93 | |||
| 94 | #define NO_REMAP | ||
| 95 | |||
| 96 | #endif /* __hpux or GNU_LINUX */ | ||
| 97 | |||
| 98 | /* Stuff for just GNU/Linux. */ | ||
| 99 | |||
| 100 | #ifdef GNU_LINUX | ||
| 101 | |||
| 102 | /* Data type of load average, as read out of kmem. */ | ||
| 103 | |||
| 104 | #define LOAD_AVE_TYPE long | ||
| 105 | |||
| 106 | /* Convert that into an integer that is 100 for a load average of 1.0 */ | ||
| 107 | |||
| 108 | #define LOAD_AVE_CVT(x) (int) (((double) (x)) * 100.0 / FSCALE) | ||
| 109 | |||
| 110 | #endif /* GNU_LINUX */ | ||
| 111 | |||
| 112 | /* Stuff for just HPUX. */ | ||
| 113 | |||
| 114 | #ifdef __hpux | ||
| 115 | |||
| 116 | /* Define VIRT_ADDR_VARIES if the virtual addresses of | ||
| 117 | pure and impure space as loaded can vary, and even their | ||
| 118 | relative order cannot be relied on. | ||
| 119 | |||
| 120 | Otherwise Emacs assumes that text space precedes data space, | ||
| 121 | numerically. */ | ||
| 122 | |||
| 123 | #define VIRT_ADDR_VARIES | ||
| 124 | |||
| 125 | /* the data segment on this machine always starts at address 0x40000000. */ | ||
| 126 | |||
| 127 | #define DATA_SEG_BITS 0x40000000 | ||
| 128 | |||
| 129 | #define DATA_START 0x40000000 | ||
| 130 | #define TEXT_START 0x00000000 | ||
| 131 | |||
| 132 | /* This machine requires completely different unexec code | ||
| 133 | which lives in a separate file. Specify the file name. */ | ||
| 134 | |||
| 135 | #define UNEXEC unexhp9k800.o | ||
| 136 | |||
| 137 | #define LIBS_MACHINE | ||
| 138 | #define LIBS_DEBUG | ||
| 139 | |||
| 140 | /* Include the file bsdtty.h, since this machine has job control. */ | ||
| 141 | #define NEED_BSDTTY | ||
| 142 | |||
| 143 | /* Data type of load average, as read out of kmem. */ | ||
| 144 | |||
| 145 | #define LOAD_AVE_TYPE double | ||
| 146 | |||
| 147 | /* Convert that into an integer that is 100 for a load average of 1.0 */ | ||
| 148 | |||
| 149 | #define LOAD_AVE_CVT(x) ((int) (x * 100.0)) | ||
| 150 | |||
| 151 | /* The symbol in the kernel where the load average is found | ||
| 152 | is named _avenrun. At this time there are two major flavors | ||
| 153 | of hp-ux (there is the s800 and s300 (s200) flavors). The | ||
| 154 | differences are thusly moved to the corresponding machine description file. | ||
| 155 | */ | ||
| 156 | |||
| 157 | /* no underscore please */ | ||
| 158 | #define LDAV_SYMBOL "avenrun" | ||
| 159 | |||
| 160 | #if 0 /* Supposedly no longer true. */ | ||
| 161 | /* In hpux, for unknown reasons, S_IFLNK is defined even though | ||
| 162 | symbolic links do not exist. | ||
| 163 | Make sure our conditionals based on S_IFLNK are not confused. | ||
| 164 | |||
| 165 | Here we assume that stat.h is included before config.h | ||
| 166 | so that we can override it here. */ | ||
| 167 | |||
| 168 | #undef S_IFLNK | ||
| 169 | #endif | ||
| 170 | |||
| 171 | /* On USG systems these have different names. */ | ||
| 172 | |||
| 173 | #define index strchr | ||
| 174 | #define rindex strrchr | ||
| 175 | |||
| 176 | #endif /* __hpux */ | ||
| 177 | |||
| 178 | /* Systems with GCC don't need to lose. */ | ||
| 179 | #ifdef __NetBSD__ | ||
| 180 | # ifdef __GNUC__ | ||
| 181 | # define alloca __builtin_alloca | ||
| 182 | # define HAVE_ALLOCA | ||
| 183 | # endif /* __GNUC__ */ | ||
| 184 | #endif /* __NetBSD__ */ | ||
| 185 | |||
| 186 | /* arch-tag: 809436e6-1645-4b92-b40d-2de5d6e7227c | ||
| 187 | (do not change this comment) */ | ||
diff --git a/src/m/hp9000s300.h b/src/m/hp9000s300.h index 9760b9bd2ed..c02a68d31cc 100644 --- a/src/m/hp9000s300.h +++ b/src/m/hp9000s300.h | |||
| @@ -1,6 +1,6 @@ | |||
| 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, 2003, 2004, 2005, | 2 | Copyright (C) 1985, 2001, 2002, 2003, 2004, 2005, |
| 3 | 2006 Free Software Foundation, Inc. | 3 | 2006, 2007 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/i860.h b/src/m/i860.h index d74a01a889c..6af68cc2ae7 100644 --- a/src/m/i860.h +++ b/src/m/i860.h | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | /* machine description file for i860. | 1 | /* machine description file for i860. |
| 2 | Copyright (C) 1985, 1986, 2002, 2003, 2004, | 2 | Copyright (C) 1985, 1986, 2001, 2002, 2003, 2004, |
| 3 | 2005, 2006 Free Software Foundation, Inc. | 3 | 2005, 2006, 2007 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/ia64.h b/src/m/ia64.h index 560cd30f599..7e88aeaedc8 100644 --- a/src/m/ia64.h +++ b/src/m/ia64.h | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | /* machine description file for the IA-64 architecture. | 1 | /* machine description file for the IA-64 architecture. |
| 2 | Copyright (C) 2000, 2002, 2003, 2004, 2005, | 2 | Copyright (C) 2000, 2001, 2002, 2003, 2004, 2005, |
| 3 | 2006 Free Software Foundation, Inc. | 3 | 2006, 2007 Free Software Foundation, Inc. |
| 4 | Contributed by David Mosberger <davidm@hpl.hp.com> | 4 | Contributed by David Mosberger <davidm@hpl.hp.com> |
| 5 | 5 | ||
| 6 | This file is part of GNU Emacs. | 6 | This file is part of GNU Emacs. |
diff --git a/src/m/ibm370aix.h b/src/m/ibm370aix.h index 1a9ed6efe11..09460092b3e 100644 --- a/src/m/ibm370aix.h +++ b/src/m/ibm370aix.h | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | /* m/ file for IBM 370 running AIX. | 1 | /* m/ file for IBM 370 running AIX. |
| 2 | Copyright (C) 1993, 1994, 2001, 2002, 2003, 2004, | 2 | Copyright (C) 1993, 1994, 2001, 2002, 2003, 2004, |
| 3 | 2005, 2006 Free Software Foundation, Inc. | 3 | 2005, 2006, 2007 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/ibmps2-aix.h b/src/m/ibmps2-aix.h index ea895cd4fd8..c8449baef41 100644 --- a/src/m/ibmps2-aix.h +++ b/src/m/ibmps2-aix.h | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | /* machine description file for ibm ps/2 aix386. | 1 | /* machine description file for ibm ps/2 aix386. |
| 2 | Copyright (C) 1989, 2002, 2003, 2004, 2005, | 2 | Copyright (C) 1989, 2001, 2002, 2003, 2004, 2005, |
| 3 | 2006 Free Software Foundation, Inc. | 3 | 2006, 2007 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/ibmrs6000.h b/src/m/ibmrs6000.h index 10b43bf8246..6729282953e 100644 --- a/src/m/ibmrs6000.h +++ b/src/m/ibmrs6000.h | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | /* R2 AIX machine/system dependent defines | 1 | /* R2 AIX machine/system dependent defines |
| 2 | Copyright (C) 1988, 2002, 2003, 2004, 2005, | 2 | Copyright (C) 1988, 2001, 2002, 2003, 2004, 2005, |
| 3 | 2006 Free Software Foundation, Inc. | 3 | 2006, 2007 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/ibmrt-aix.h b/src/m/ibmrt-aix.h index 43e11b36428..ccee40a46a9 100644 --- a/src/m/ibmrt-aix.h +++ b/src/m/ibmrt-aix.h | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | /* RTPC AIX machine/system dependent defines | 1 | /* RTPC AIX machine/system dependent defines |
| 2 | Copyright (C) 1988, 1999, 2002, 2003, 2004, | 2 | Copyright (C) 1988, 1999, 2001, 2002, 2003, 2004, |
| 3 | 2005, 2006 Free Software Foundation, Inc. | 3 | 2005, 2006, 2007 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/ibmrt.h b/src/m/ibmrt.h index e78d182940c..2cf372a278d 100644 --- a/src/m/ibmrt.h +++ b/src/m/ibmrt.h | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | /* RTPC machine dependent defines | 1 | /* RTPC machine dependent defines |
| 2 | Copyright (C) 1986, 2002, 2003, 2004, 2005, | 2 | Copyright (C) 1986, 2001, 2002, 2003, 2004, 2005, |
| 3 | 2006 Free Software Foundation, Inc. | 3 | 2006, 2007 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/ibms390.h b/src/m/ibms390.h index d60b33fdd04..e038e2e1b52 100644 --- a/src/m/ibms390.h +++ b/src/m/ibms390.h | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | /* machine description file template. | 1 | /* machine description file template. |
| 2 | Copyright (C) 1985, 1986, 2001, 2002, 2003, 2004, | 2 | Copyright (C) 1985, 1986, 2001, 2002, 2003, 2004, |
| 3 | 2005, 2006 Free Software Foundation, Inc. | 3 | 2005, 2006, 2007 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/ibms390x.h b/src/m/ibms390x.h index 716dd44c727..f8b21bc3df4 100644 --- a/src/m/ibms390x.h +++ b/src/m/ibms390x.h | |||
| @@ -1,5 +1,5 @@ | |||
| 1 | /* machine description file for IBM S390 in 64-bit mode | 1 | /* machine description file for IBM S390 in 64-bit mode |
| 2 | Copyright (C) 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. | 2 | Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007 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/intel386.h b/src/m/intel386.h index 0d2aacf8d19..44ba3245b2e 100644 --- a/src/m/intel386.h +++ b/src/m/intel386.h | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | /* Machine description file for intel 386. | 1 | /* Machine description file for intel 386. |
| 2 | Copyright (C) 1987, 2002, 2003, 2004, 2005, | 2 | Copyright (C) 1987, 2001, 2002, 2003, 2004, 2005, |
| 3 | 2006 Free Software Foundation, Inc. | 3 | 2006, 2007 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/iris4d.h b/src/m/iris4d.h index bc8d1242710..4304871ca23 100644 --- a/src/m/iris4d.h +++ b/src/m/iris4d.h | |||
| @@ -1,6 +1,6 @@ | |||
| 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, 2004, 2005, | 2 | Copyright (C) 1987, 2001, 2002, 2003, 2004, 2005, |
| 3 | 2006 Free Software Foundation, Inc. | 3 | 2006, 2007 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/irist.h b/src/m/irist.h index a366b521a9a..4ae3681bd92 100644 --- a/src/m/irist.h +++ b/src/m/irist.h | |||
| @@ -1,7 +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, 2003, 2004, | 3 | Copyright (C) 1985, 1986, 2001, 2002, 2003, 2004, |
| 4 | 2005, 2006 Free Software Foundation, Inc. | 4 | 2005, 2006, 2007 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/isi-ov.h b/src/m/isi-ov.h index 5b6c3cd0214..ed96605b5a1 100644 --- a/src/m/isi-ov.h +++ b/src/m/isi-ov.h | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | /* machine description file for ISI 68000's | 1 | /* machine description file for ISI 68000's |
| 2 | Copyright (C) 1985, 1986, 2002, 2003, 2004, | 2 | Copyright (C) 1985, 1986, 2001, 2002, 2003, 2004, |
| 3 | 2005, 2006 Free Software Foundation, Inc. | 3 | 2005, 2006, 2007 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/m68k.h b/src/m/m68k.h index 31307ffa499..1071847eda9 100644 --- a/src/m/m68k.h +++ b/src/m/m68k.h | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | /* Machine description file for generic Motorola 68k. | 1 | /* Machine description file for generic Motorola 68k. |
| 2 | Copyright (C) 1985, 1995, 2002, 2003, 2004, | 2 | Copyright (C) 1985, 1995, 2001, 2002, 2003, 2004, |
| 3 | 2005, 2006 Free Software Foundation, Inc. | 3 | 2005, 2006, 2007 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/macppc.h b/src/m/macppc.h index 25005888c77..eba0a401a18 100644 --- a/src/m/macppc.h +++ b/src/m/macppc.h | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | /* machine description file For the powerpc Macintosh. | 1 | /* machine description file For the powerpc Macintosh. |
| 2 | Copyright (C) 1994, 2001, 2002, 2003, 2004, | 2 | Copyright (C) 1994, 2001, 2002, 2003, 2004, |
| 3 | 2005, 2006 Free Software Foundation, Inc. | 3 | 2005, 2006, 2007 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/masscomp.h b/src/m/masscomp.h index df0d9a1aa1a..777ff797727 100644 --- a/src/m/masscomp.h +++ b/src/m/masscomp.h | |||
| @@ -1,6 +1,6 @@ | |||
| 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, 2003, 2004, 2005, | 2 | Copyright (C) 1986, 2001, 2002, 2003, 2004, 2005, |
| 3 | 2006 Free Software Foundation, Inc. | 3 | 2006, 2007 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/mega68.h b/src/m/mega68.h index 7db67fa0cca..54340bdb0be 100644 --- a/src/m/mega68.h +++ b/src/m/mega68.h | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | /* machine description file for Megatest 68000's. | 1 | /* machine description file for Megatest 68000's. |
| 2 | Copyright (C) 1985, 2002, 2003, 2004, 2005, | 2 | Copyright (C) 1985, 2001, 2002, 2003, 2004, 2005, |
| 3 | 2006 Free Software Foundation, Inc. | 3 | 2006, 2007 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/mg1.h b/src/m/mg1.h index 92e358837c4..b0d6faca500 100644 --- a/src/m/mg1.h +++ b/src/m/mg1.h | |||
| @@ -1,6 +1,6 @@ | |||
| 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, 2003, 2004, 2005, | 2 | Copyright (C) 1985, 2001, 2002, 2003, 2004, 2005, |
| 3 | 2006 Free Software Foundation, Inc. | 3 | 2006, 2007 Free Software Foundation, Inc. |
| 4 | MG-1 version by L.M.McLoughlin | 4 | MG-1 version by L.M.McLoughlin |
| 5 | 5 | ||
| 6 | This file is part of GNU Emacs. | 6 | This file is part of GNU Emacs. |
diff --git a/src/m/mips-siemens.h b/src/m/mips-siemens.h index 27274c8b527..376f8805788 100644 --- a/src/m/mips-siemens.h +++ b/src/m/mips-siemens.h | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | /* m- file for Mips machines. | 1 | /* m- file for Mips machines. |
| 2 | Copyright (C) 1987, 1992, 1993, 1995, 2002, 2003, 2004, | 2 | Copyright (C) 1987, 1992, 1993, 1995, 2001, 2002, 2003, 2004, |
| 3 | 2005, 2006 Free Software Foundation, Inc. | 3 | 2005, 2006, 2007 Free Software Foundation, Inc. |
| 4 | 4 | ||
| 5 | 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. |
| 6 | 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 9ae74178143..ee8e63030c7 100644 --- a/src/m/mips.h +++ b/src/m/mips.h | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | /* m- file for Mips machines. | 1 | /* m- file for Mips machines. |
| 2 | Copyright (C) 1987, 1992, 1999, 2002, 2003, 2004, | 2 | Copyright (C) 1987, 1992, 1999, 2001, 2002, 2003, 2004, |
| 3 | 2005, 2006 Free Software Foundation, Inc. | 3 | 2005, 2006, 2007 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/news.h b/src/m/news.h index 5ac2cd6b6dc..13a718a8612 100644 --- a/src/m/news.h +++ b/src/m/news.h | |||
| @@ -1,6 +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, 2003, 2004, | 2 | Copyright (C) 1985, 1986, 1989, 2001, 2002, 2003, 2004, |
| 3 | 2005, 2006 Free Software Foundation, Inc. | 3 | 2005, 2006, 2007 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/next.h b/src/m/next.h index b519e41920d..2a0f7243772 100644 --- a/src/m/next.h +++ b/src/m/next.h | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | /* Configuration file for the NeXT machine. | 1 | /* Configuration file for the NeXT machine. |
| 2 | Copyright (C) 1990, 2002, 2003, 2004, 2005, | 2 | Copyright (C) 1990, 2001, 2002, 2003, 2004, 2005, |
| 3 | 2006 Free Software Foundation, Inc. | 3 | 2006, 2007 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/nh3000.h b/src/m/nh3000.h index ad2d8dd1340..e5cf1a61b58 100644 --- a/src/m/nh3000.h +++ b/src/m/nh3000.h | |||
| @@ -1,8 +1,8 @@ | |||
| 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, 2003, 2004, 2005, | 4 | Copyright (C) 1994, 2001, 2002, 2003, 2004, 2005, |
| 5 | 2006 Free Software Foundation, Inc. | 5 | 2006, 2007 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/nh4000.h b/src/m/nh4000.h index 1c0bc51c896..ba695700d77 100644 --- a/src/m/nh4000.h +++ b/src/m/nh4000.h | |||
| @@ -1,7 +1,7 @@ | |||
| 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, 2003, 2004, 2005, | 3 | Copyright (C) 1994, 2001, 2002, 2003, 2004, 2005, |
| 4 | 2006 Free Software Foundation, Inc. | 4 | 2006, 2007 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/ns16000.h b/src/m/ns16000.h index 5e9793a44b8..707cb21abb7 100644 --- a/src/m/ns16000.h +++ b/src/m/ns16000.h | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | /* machine description file for ns16000. | 1 | /* machine description file for ns16000. |
| 2 | Copyright (C) 1985, 2002, 2003, 2004, 2005, | 2 | Copyright (C) 1985, 2001, 2002, 2003, 2004, 2005, |
| 3 | 2006 Free Software Foundation, Inc. | 3 | 2006, 2007 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/ns32000.h b/src/m/ns32000.h index 33e48d297bc..fe1fd153b70 100644 --- a/src/m/ns32000.h +++ b/src/m/ns32000.h | |||
| @@ -1,6 +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, 2003, 2004, | 2 | Copyright (C) 1985, 1986, 2001, 2002, 2003, 2004, |
| 3 | 2005, 2006 Free Software Foundation, Inc. | 3 | 2005, 2006, 2007 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/nu.h b/src/m/nu.h index ec051150bdf..01fadeba18a 100644 --- a/src/m/nu.h +++ b/src/m/nu.h | |||
| @@ -1,6 +1,6 @@ | |||
| 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, 2002, 2003, 2004, 2005, | 2 | Copyright (C) 1986, 2001, 2002, 2003, 2004, 2005, |
| 3 | 2006 Free Software Foundation, Inc. | 3 | 2006, 2007 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/orion.h b/src/m/orion.h index 3db485dd3f1..472b7b4c8eb 100644 --- a/src/m/orion.h +++ b/src/m/orion.h | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | /* machine description file for HLH Orion. | 1 | /* machine description file for HLH Orion. |
| 2 | Copyright (C) 1985, 2002, 2003, 2004, 2005, | 2 | Copyright (C) 1985, 2001, 2002, 2003, 2004, 2005, |
| 3 | 2006 Free Software Foundation, Inc. | 3 | 2006, 2007 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/orion105.h b/src/m/orion105.h index 66f87748099..586ddf2ea35 100644 --- a/src/m/orion105.h +++ b/src/m/orion105.h | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | /* machine description file for HLH Orion 1/05 (Clipper). | 1 | /* machine description file for HLH Orion 1/05 (Clipper). |
| 2 | Copyright (C) 1985, 2002, 2003, 2004, 2005, | 2 | Copyright (C) 1985, 2001, 2002, 2003, 2004, 2005, |
| 3 | 2006 Free Software Foundation, Inc. | 3 | 2006, 2007 Free Software Foundation, Inc. |
| 4 | Lee McLoughlin <lmjm%doc.imperial.ac.uk@nss.cs.ucl.ac.uk> | 4 | Lee McLoughlin <lmjm%doc.imperial.ac.uk@nss.cs.ucl.ac.uk> |
| 5 | 5 | ||
| 6 | This file is part of GNU Emacs. | 6 | This file is part of GNU Emacs. |
diff --git a/src/m/pfa50.h b/src/m/pfa50.h index 0b1511fd8e7..3c13aa77872 100644 --- a/src/m/pfa50.h +++ b/src/m/pfa50.h | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | /* Machine description file for PFU A-series. | 1 | /* Machine description file for PFU A-series. |
| 2 | Copyright (C) 1988, 1999, 2002, 2003, 2004, | 2 | Copyright (C) 1988, 1999, 2001, 2002, 2003, 2004, |
| 3 | 2005, 2006 Free Software Foundation, Inc. | 3 | 2005, 2006, 2007 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/plexus.h b/src/m/plexus.h index 8b3e9be7849..606caeb20f4 100644 --- a/src/m/plexus.h +++ b/src/m/plexus.h | |||
| @@ -1,6 +1,6 @@ | |||
| 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, 2003, 2004, 2005, | 2 | Copyright (C) 1986, 2001, 2002, 2003, 2004, 2005, |
| 3 | 2006 Free Software Foundation, Inc. | 3 | 2006, 2007 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/powermac.h b/src/m/powermac.h index 232e424da35..419edb21b9f 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, 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. | 2 | Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006, 2007 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 b4681db06bd..fb70cbfcb4f 100644 --- a/src/m/powerpcle.h +++ b/src/m/powerpcle.h | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | /* machine description file for PowerPC. | 1 | /* machine description file for PowerPC. |
| 2 | Copyright (C) 1987, 2002, 2003, 2004, 2005, | 2 | Copyright (C) 1987, 2001, 2002, 2003, 2004, 2005, |
| 3 | 2006 Free Software Foundation, Inc. | 3 | 2006, 2007 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/pyramid.h b/src/m/pyramid.h index 2dbd713f881..9a07ff09f1d 100644 --- a/src/m/pyramid.h +++ b/src/m/pyramid.h | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | /* machine description file for pyramid. | 1 | /* machine description file for pyramid. |
| 2 | Copyright (C) 1985, 1986, 2002, 2003, 2004, | 2 | Copyright (C) 1985, 1986, 2001, 2002, 2003, 2004, |
| 3 | 2005, 2006 Free Software Foundation, Inc. | 3 | 2005, 2006, 2007 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/sequent-ptx.h b/src/m/sequent-ptx.h index dbb0944a330..03a0bff3e12 100644 --- a/src/m/sequent-ptx.h +++ b/src/m/sequent-ptx.h | |||
| @@ -1,6 +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, 2003, 2004, | 2 | Copyright (C) 1985, 1986, 2001, 2002, 2003, 2004, |
| 3 | 2005, 2006 Free Software Foundation, Inc. | 3 | 2005, 2006, 2007 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/sequent.h b/src/m/sequent.h index e970275901c..d0051642826 100644 --- a/src/m/sequent.h +++ b/src/m/sequent.h | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | /* machine description file for SEQUENT BALANCE machines | 1 | /* machine description file for SEQUENT BALANCE machines |
| 2 | Copyright (C) 1985, 1986, 2002, 2003, 2004, | 2 | Copyright (C) 1985, 1986, 2001, 2002, 2003, 2004, |
| 3 | 2005, 2006 Free Software Foundation, Inc. | 3 | 2005, 2006, 2007 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/sh3el.h b/src/m/sh3el.h index 0854ecd1b25..9c510979bdc 100644 --- a/src/m/sh3el.h +++ b/src/m/sh3el.h | |||
| @@ -1,5 +1,5 @@ | |||
| 1 | /* machine description file for sh3el | 1 | /* machine description file for sh3el |
| 2 | Copyright (C) 1985, 1986 Free Software Foundation, Inc. | 2 | Copyright (C) 1985, 1986, 2006, 2007 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/sparc.h b/src/m/sparc.h index c9ef035653b..3efb4c05553 100644 --- a/src/m/sparc.h +++ b/src/m/sparc.h | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | /* machine description file for Sun 4 SPARC. | 1 | /* machine description file for Sun 4 SPARC. |
| 2 | Copyright (C) 1987, 2002, 2003, 2004, 2005, | 2 | Copyright (C) 1987, 2001, 2002, 2003, 2004, 2005, |
| 3 | 2006 Free Software Foundation, Inc. | 3 | 2006, 2007 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/sps7.h b/src/m/sps7.h index 52edc570f92..db6c9d3a91e 100644 --- a/src/m/sps7.h +++ b/src/m/sps7.h | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | /* machine description file for Bull SPS-7. | 1 | /* machine description file for Bull SPS-7. |
| 2 | Copyright (C) 1986, 1999, 2002, 2003, 2004, | 2 | Copyright (C) 1986, 1999, 2001, 2002, 2003, 2004, |
| 3 | 2005, 2006 Free Software Foundation, Inc. | 3 | 2005, 2006, 2007 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/sr2k.h b/src/m/sr2k.h deleted file mode 100644 index 14a90c666f4..00000000000 --- a/src/m/sr2k.h +++ /dev/null | |||
| @@ -1,160 +0,0 @@ | |||
| 1 | /* machine description file for Hitachi SR2001/SR2201 machines. | ||
| 2 | Copyright (C) 1996, 2002, 2003, 2004, 2005, | ||
| 3 | 2006 Free Software Foundation, Inc. | ||
| 4 | |||
| 5 | This file is part of GNU Emacs. | ||
| 6 | |||
| 7 | GNU Emacs 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 | the Free Software Foundation; either version 2, or (at your option) | ||
| 10 | any later version. | ||
| 11 | |||
| 12 | GNU Emacs is distributed in the hope that it will be useful, | ||
| 13 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 14 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 15 | GNU General Public License for more details. | ||
| 16 | |||
| 17 | You should have received a copy of the GNU General Public License | ||
| 18 | along with GNU Emacs; see the file COPYING. If not, write to | ||
| 19 | the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | ||
| 20 | Boston, MA 02110-1301, USA. */ | ||
| 21 | |||
| 22 | |||
| 23 | /* The following line tells the configuration script what sort of | ||
| 24 | operating system this machine is likely to run. | ||
| 25 | USUAL-OPSYS="hpux" */ | ||
| 26 | |||
| 27 | /* Define WORDS_BIG_ENDIAN iff lowest-numbered byte in a word | ||
| 28 | is the most significant byte. */ | ||
| 29 | |||
| 30 | #define WORDS_BIG_ENDIAN | ||
| 31 | |||
| 32 | /* Define NO_ARG_ARRAY if you cannot take the address of the first of a | ||
| 33 | * group of arguments and treat it as an array of the arguments. */ | ||
| 34 | |||
| 35 | #define NO_ARG_ARRAY | ||
| 36 | |||
| 37 | /* Define WORD_MACHINE if addresses and such have | ||
| 38 | * to be corrected before they can be used as byte counts. */ | ||
| 39 | |||
| 40 | #undef WORD_MACHINE | ||
| 41 | |||
| 42 | /* Now define a symbol for the cpu type, if your compiler | ||
| 43 | does not define it automatically: | ||
| 44 | Ones defined so far include vax, m68000, ns16000, pyramid, | ||
| 45 | orion, tahoe, APOLLO and many others */ | ||
| 46 | #ifndef hp9000s800 | ||
| 47 | # define hp9000s800 | ||
| 48 | #endif | ||
| 49 | |||
| 50 | /* Use type int rather than a union, to represent Lisp_Object */ | ||
| 51 | /* This is desirable for most machines. */ | ||
| 52 | |||
| 53 | #define NO_UNION_TYPE | ||
| 54 | |||
| 55 | /* Define EXPLICIT_SIGN_EXTEND if XINT must explicitly sign-extend | ||
| 56 | the bit field into an int. In other words, if bit fields | ||
| 57 | are always unsigned. | ||
| 58 | |||
| 59 | If you use NO_UNION_TYPE, this flag does not matter. */ | ||
| 60 | |||
| 61 | #define EXPLICIT_SIGN_EXTEND | ||
| 62 | |||
| 63 | /* The standard definitions of these macros would work ok, | ||
| 64 | but these are faster because the constants are short. */ | ||
| 65 | |||
| 66 | |||
| 67 | #define XUINT(a) (((unsigned)(a) << BITS_PER_INT-VALBITS) >> BITS_PER_INT-VALBITS) | ||
| 68 | |||
| 69 | #define XSET(var, type, ptr) \ | ||
| 70 | ((var) = ((int)(type) << VALBITS) + (((unsigned) (ptr) << BITS_PER_INT-VALBITS) >> BITS_PER_INT-VALBITS)) | ||
| 71 | |||
| 72 | /* #ifdef __hpux */ | ||
| 73 | /* Now define a symbol for the cpu type, if your compiler | ||
| 74 | does not define it automatically: | ||
| 75 | Ones defined so far include vax, m68000, ns16000, pyramid, | ||
| 76 | orion, tahoe, APOLLO and many others */ | ||
| 77 | |||
| 78 | #ifndef hp9000s800 | ||
| 79 | # define hp9000s800 | ||
| 80 | #endif | ||
| 81 | |||
| 82 | |||
| 83 | /* Data type of load average, as read out of kmem. */ | ||
| 84 | |||
| 85 | #define LOAD_AVE_TYPE double | ||
| 86 | |||
| 87 | /* Convert that into an integer that is 100 for a load average of 1.0 */ | ||
| 88 | |||
| 89 | #define LOAD_AVE_CVT(x) ((int) (x * 100.0)) | ||
| 90 | |||
| 91 | |||
| 92 | /* Define CANNOT_DUMP on machines where unexec does not work. | ||
| 93 | Then the function dump-emacs will not be defined | ||
| 94 | and temacs will do (load "loadup") automatically unless told otherwise. */ | ||
| 95 | |||
| 96 | #undef CANNOT_DUMP | ||
| 97 | |||
| 98 | /* Define VIRT_ADDR_VARIES if the virtual addresses of | ||
| 99 | pure and impure space as loaded can vary, and even their | ||
| 100 | relative order cannot be relied on. | ||
| 101 | |||
| 102 | Otherwise Emacs assumes that text space precedes data space, | ||
| 103 | numerically. */ | ||
| 104 | |||
| 105 | #define VIRT_ADDR_VARIES | ||
| 106 | |||
| 107 | /* the data segment on this machine always starts at address 0x40000000. */ | ||
| 108 | |||
| 109 | #define DATA_SEG_BITS 0x40000000 | ||
| 110 | |||
| 111 | #define DATA_START 0x40000000 | ||
| 112 | #define TEXT_START 0x00000000 | ||
| 113 | |||
| 114 | /* Define NO_REMAP if memory segmentation makes it not work well | ||
| 115 | to change the boundary between the text section and data section | ||
| 116 | when Emacs is dumped. If you define this, the preloaded Lisp | ||
| 117 | code will not be sharable; but that's better than failing completely. */ | ||
| 118 | |||
| 119 | #define NO_REMAP | ||
| 120 | |||
| 121 | /* This machine requires completely different unexec code | ||
| 122 | which lives in a separate file. Specify the file name. */ | ||
| 123 | |||
| 124 | #define UNEXEC unexhp9k800.o | ||
| 125 | |||
| 126 | #define LIBS_MACHINE | ||
| 127 | #define LIBS_DEBUG | ||
| 128 | |||
| 129 | /* Include the file bsdtty.h, since this machine has job control. */ | ||
| 130 | /* #define NEED_BSDTTY */ | ||
| 131 | |||
| 132 | /* The symbol in the kernel where the load average is found | ||
| 133 | is named _avenrun. At this time there are two major flavors | ||
| 134 | of hp-ux (there is the s800 and s300 (s200) flavors). The | ||
| 135 | differences are thusly moved to the corresponding machine description file. | ||
| 136 | */ | ||
| 137 | |||
| 138 | /* no underscore please */ | ||
| 139 | #define LDAV_SYMBOL "avenrun" | ||
| 140 | |||
| 141 | #if 0 /* Supposedly no longer true. */ | ||
| 142 | /* In hpux, for unknown reasons, S_IFLNK is defined even though | ||
| 143 | symbolic links do not exist. | ||
| 144 | Make sure our conditionals based on S_IFLNK are not confused. | ||
| 145 | |||
| 146 | Here we assume that stat.h is included before config.h | ||
| 147 | so that we can override it here. */ | ||
| 148 | |||
| 149 | #undef S_IFLNK | ||
| 150 | #endif | ||
| 151 | |||
| 152 | /* On USG systems these have different names. */ | ||
| 153 | |||
| 154 | #define index strchr | ||
| 155 | #define rindex strrchr | ||
| 156 | |||
| 157 | /* #endif */ | ||
| 158 | |||
| 159 | /* arch-tag: 4ced5b51-ffe6-4be1-9954-eb40657023a5 | ||
| 160 | (do not change this comment) */ | ||
diff --git a/src/m/stride.h b/src/m/stride.h index 6f05b17d96e..8acc84e3cbe 100644 --- a/src/m/stride.h +++ b/src/m/stride.h | |||
| @@ -1,6 +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, 2002, 2003, 2004, | 2 | Copyright (C) 1985, 1986, 1999, 2001, 2002, 2003, 2004, |
| 3 | 2005, 2006 Free Software Foundation, Inc. | 3 | 2005, 2006, 2007 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/sun1.h b/src/m/sun1.h index 5ded70a9e47..526056dd80f 100644 --- a/src/m/sun1.h +++ b/src/m/sun1.h | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | /* machine description file for Sun 68000's | 1 | /* machine description file for Sun 68000's |
| 2 | Copyright (C) 1985, 1986, 2002, 2003, 2004, | 2 | Copyright (C) 1985, 1986, 2001, 2002, 2003, 2004, |
| 3 | 2005, 2006 Free Software Foundation, Inc. | 3 | 2005, 2006, 2007 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/sun2.h b/src/m/sun2.h index 1afa4a2fa63..cee54da79b7 100644 --- a/src/m/sun2.h +++ b/src/m/sun2.h | |||
| @@ -1,8 +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, 2002, 2003, 2004, | 4 | Copyright (C) 1985, 1986, 2001, 2002, 2003, 2004, |
| 5 | 2005, 2006 Free Software Foundation, Inc. | 5 | 2005, 2006, 2007 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/sun386.h b/src/m/sun386.h index 435c1ded6d2..21a07a69423 100644 --- a/src/m/sun386.h +++ b/src/m/sun386.h | |||
| @@ -2,8 +2,8 @@ | |||
| 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, 2002, 2003, 2004, 2005, | 5 | Copyright (C) 1988, 2001, 2002, 2003, 2004, 2005, |
| 6 | 2006 Free Software Foundation, Inc. | 6 | 2006, 2007 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/m/symmetry.h b/src/m/symmetry.h index 91209d0eb67..39dde99f13c 100644 --- a/src/m/symmetry.h +++ b/src/m/symmetry.h | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | /* machine description file for SEQUENT SYMMETRY machines | 1 | /* machine description file for SEQUENT SYMMETRY machines |
| 2 | Copyright (C) 1985, 1986, 2002, 2003, 2004, | 2 | Copyright (C) 1985, 1986, 2001, 2002, 2003, 2004, |
| 3 | 2005, 2006 Free Software Foundation, Inc. | 3 | 2005, 2006, 2007 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/tad68k.h b/src/m/tad68k.h index fce223da826..357bbe80982 100644 --- a/src/m/tad68k.h +++ b/src/m/tad68k.h | |||
| @@ -1,6 +1,6 @@ | |||
| 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, 2003, 2004, 2005, | 2 | Copyright (C) 1986, 2001, 2002, 2003, 2004, 2005, |
| 3 | 2006 Free Software Foundation, Inc. | 3 | 2006, 2007 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/tahoe.h b/src/m/tahoe.h index 07ec23c7bb6..c28018a149d 100644 --- a/src/m/tahoe.h +++ b/src/m/tahoe.h | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | /* machine description file for tahoe. | 1 | /* machine description file for tahoe. |
| 2 | Copyright (C) 1985, 2002, 2003, 2004, 2005, | 2 | Copyright (C) 1985, 2001, 2002, 2003, 2004, 2005, |
| 3 | 2006 Free Software Foundation, Inc. | 3 | 2006, 2007 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/targon31.h b/src/m/targon31.h index 7100e0e8705..34e3ae40c9e 100644 --- a/src/m/targon31.h +++ b/src/m/targon31.h | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | /* targon31 machine description file | 1 | /* targon31 machine description file |
| 2 | Copyright (C) 1985, 1986, 2002, 2003, 2004, | 2 | Copyright (C) 1985, 1986, 2001, 2002, 2003, 2004, |
| 3 | 2005, 2006 Free Software Foundation, Inc. | 3 | 2005, 2006, 2007 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/tek4300.h b/src/m/tek4300.h index 3ff3ca4a6a0..30e40a0e09f 100644 --- a/src/m/tek4300.h +++ b/src/m/tek4300.h | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | /* machine description file for tek4300. | 1 | /* machine description file for tek4300. |
| 2 | Copyright (C) 1988, 2002, 2003, 2004, 2005, | 2 | Copyright (C) 1988, 2001, 2002, 2003, 2004, 2005, |
| 3 | 2006 Free Software Foundation, Inc. | 3 | 2006, 2007 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/tekxd88.h b/src/m/tekxd88.h index 24c10330363..3b858310af3 100644 --- a/src/m/tekxd88.h +++ b/src/m/tekxd88.h | |||
| @@ -1,8 +1,8 @@ | |||
| 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, 2003, 2004, 2005, | 4 | Copyright (C) 1993, 2001, 2002, 2003, 2004, 2005, |
| 5 | 2006 Free Software Foundation, Inc. | 5 | 2006, 2007 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/template.h b/src/m/template.h index 2b39964018a..79d2d40ab70 100644 --- a/src/m/template.h +++ b/src/m/template.h | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | /* machine description file template. | 1 | /* machine description file template. |
| 2 | Copyright (C) 1985, 1986, 2002, 2003, 2004, | 2 | Copyright (C) 1985, 1986, 2001, 2002, 2003, 2004, |
| 3 | 2005, 2006 Free Software Foundation, Inc. | 3 | 2005, 2006, 2007 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/tower32.h b/src/m/tower32.h index 06ed7efe5d7..cdb6884d5fc 100644 --- a/src/m/tower32.h +++ b/src/m/tower32.h | |||
| @@ -1,6 +1,6 @@ | |||
| 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, 2003, 2004, 2005, | 2 | Copyright (C) 1986, 2001, 2002, 2003, 2004, 2005, |
| 3 | 2006 Free Software Foundation, Inc. | 3 | 2006, 2007 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/tower32v3.h b/src/m/tower32v3.h index 8f5c60cd7c8..19e7d3ba7ea 100644 --- a/src/m/tower32v3.h +++ b/src/m/tower32v3.h | |||
| @@ -1,6 +1,6 @@ | |||
| 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, 2003, 2004, 2005, | 2 | Copyright (C) 1986, 2001, 2002, 2003, 2004, 2005, |
| 3 | 2006 Free Software Foundation, Inc. | 3 | 2006, 2007 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/ustation.h b/src/m/ustation.h index 0a70df92233..b662cca208e 100644 --- a/src/m/ustation.h +++ b/src/m/ustation.h | |||
| @@ -1,6 +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, 2003, 2004, | 2 | Copyright (C) 1986, 1999, 2001, 2002, 2003, 2004, |
| 3 | 2005, 2006 Free Software Foundation, Inc. | 3 | 2005, 2006, 2007 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/vax.h b/src/m/vax.h index 9332b8f494d..fae30d37f73 100644 --- a/src/m/vax.h +++ b/src/m/vax.h | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | /* machine description file for vax. | 1 | /* machine description file for vax. |
| 2 | Copyright (C) 1985, 1986, 2002, 2003, 2004, | 2 | Copyright (C) 1985, 1986, 2001, 2002, 2003, 2004, |
| 3 | 2005, 2006 Free Software Foundation, Inc. | 3 | 2005, 2006, 2007 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/wicat.h b/src/m/wicat.h index 24bb2acd210..6ab0a498104 100644 --- a/src/m/wicat.h +++ b/src/m/wicat.h | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | /* machine description file for WICAT machines. | 1 | /* machine description file for WICAT machines. |
| 2 | Copyright (C) 1986, 2002, 2003, 2004, 2005, | 2 | Copyright (C) 1986, 2001, 2002, 2003, 2004, 2005, |
| 3 | 2006 Free Software Foundation, Inc. | 3 | 2006, 2007 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/windowsnt.h b/src/m/windowsnt.h index 4351f14144f..223958375ca 100644 --- a/src/m/windowsnt.h +++ b/src/m/windowsnt.h | |||
| @@ -1,7 +1,7 @@ | |||
| 1 | /* Machine description file for Windows NT. | 1 | /* Machine description file for Windows NT. |
| 2 | 2 | ||
| 3 | Copyright (C) 1993, 1994, 2002, 2003, 2004, | 3 | Copyright (C) 1993, 1994, 2001, 2002, 2003, 2004, |
| 4 | 2005, 2006 Free Software Foundation, Inc. | 4 | 2005, 2006, 2007 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/xps100.h b/src/m/xps100.h index a9ac9bc5e36..89300211eec 100644 --- a/src/m/xps100.h +++ b/src/m/xps100.h | |||
| @@ -1,8 +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, 2003, 2004, | 4 | Copyright (C) 1985, 1986, 2001, 2002, 2003, 2004, |
| 5 | 2005, 2006 Free Software Foundation, Inc. | 5 | 2005, 2006, 2007 Free Software Foundation, Inc. |
| 6 | 6 | ||
| 7 | This file is part of GNU Emacs. | 7 | This file is part of GNU Emacs. |
| 8 | 8 | ||
| @@ -1,6 +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, 2002, 2003, 2004, | 2 | Copyright (C) 2000, 2001, 2002, 2003, 2004, |
| 3 | 2005, 2006 Free Software Foundation, Inc. | 3 | 2005, 2006, 2007 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/macfns.c b/src/macfns.c index c74fd1089f0..c43a43dae62 100644 --- a/src/macfns.c +++ b/src/macfns.c | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | /* Graphical user interface functions for Mac OS. | 1 | /* Graphical user interface functions for Mac OS. |
| 2 | Copyright (C) 2000, 2001, 2002, 2003, 2004, | 2 | Copyright (C) 2000, 2001, 2002, 2003, 2004, |
| 3 | 2005, 2006 Free Software Foundation, Inc. | 3 | 2005, 2006, 2007 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/macgui.h b/src/macgui.h index 7eed001a4db..1348fe479cb 100644 --- a/src/macgui.h +++ b/src/macgui.h | |||
| @@ -1,6 +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, 2002, 2003, 2004, | 2 | Copyright (C) 2000, 2001, 2002, 2003, 2004, |
| 3 | 2005, 2006 Free Software Foundation, Inc. | 3 | 2005, 2006, 2007 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/macmenu.c b/src/macmenu.c index a70a80d32ed..3ea09412650 100644 --- a/src/macmenu.c +++ b/src/macmenu.c | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | /* Menu support for GNU Emacs on Mac OS. | 1 | /* Menu support for GNU Emacs on Mac OS. |
| 2 | Copyright (C) 2000, 2001, 2002, 2003, 2004, | 2 | Copyright (C) 2000, 2001, 2002, 2003, 2004, |
| 3 | 2005, 2006 Free Software Foundation, Inc. | 3 | 2005, 2006, 2007 Free Software Foundation, Inc. |
| 4 | 4 | ||
| 5 | This file is part of GNU Emacs. | 5 | This file is part of GNU Emacs. |
| 6 | 6 | ||
| @@ -77,10 +77,11 @@ static const int min_menu_id[] = {0, 1, 234, 235, 236, 256, 16384, 32768}; | |||
| 77 | 77 | ||
| 78 | #define DIALOG_WINDOW_RESOURCE 130 | 78 | #define DIALOG_WINDOW_RESOURCE 130 |
| 79 | 79 | ||
| 80 | #if TARGET_API_MAC_CARBON | ||
| 80 | #define HAVE_DIALOGS 1 | 81 | #define HAVE_DIALOGS 1 |
| 82 | #endif | ||
| 81 | 83 | ||
| 82 | #undef HAVE_MULTILINGUAL_MENU | 84 | #undef HAVE_MULTILINGUAL_MENU |
| 83 | #undef HAVE_DIALOGS /* TODO: Implement native dialogs. */ | ||
| 84 | 85 | ||
| 85 | /******************************************************************/ | 86 | /******************************************************************/ |
| 86 | /* Definitions copied from lwlib.h */ | 87 | /* Definitions copied from lwlib.h */ |
| @@ -2319,8 +2320,390 @@ mac_menu_show (f, x, y, for_click, keymaps, title, error) | |||
| 2319 | 2320 | ||
| 2320 | 2321 | ||
| 2321 | #ifdef HAVE_DIALOGS | 2322 | #ifdef HAVE_DIALOGS |
| 2322 | /* Construct native Mac OS menubar based on widget_value tree. */ | 2323 | /* Construct native Mac OS dialog based on widget_value tree. */ |
| 2324 | |||
| 2325 | #if TARGET_API_MAC_CARBON | ||
| 2326 | |||
| 2327 | static pascal OSStatus | ||
| 2328 | mac_handle_dialog_event (next_handler, event, data) | ||
| 2329 | EventHandlerCallRef next_handler; | ||
| 2330 | EventRef event; | ||
| 2331 | void *data; | ||
| 2332 | { | ||
| 2333 | OSStatus err; | ||
| 2334 | WindowRef window = (WindowRef) data; | ||
| 2335 | |||
| 2336 | switch (GetEventClass (event)) | ||
| 2337 | { | ||
| 2338 | case kEventClassCommand: | ||
| 2339 | { | ||
| 2340 | HICommand command; | ||
| 2341 | |||
| 2342 | err = GetEventParameter (event, kEventParamDirectObject, | ||
| 2343 | typeHICommand, NULL, sizeof (HICommand), | ||
| 2344 | NULL, &command); | ||
| 2345 | if (err == noErr) | ||
| 2346 | if ((command.commandID & ~0xffff) == 'Bt\0\0') | ||
| 2347 | { | ||
| 2348 | SetWRefCon (window, command.commandID); | ||
| 2349 | err = QuitAppModalLoopForWindow (window); | ||
| 2350 | |||
| 2351 | return err == noErr ? noErr : eventNotHandledErr; | ||
| 2352 | } | ||
| 2353 | |||
| 2354 | return CallNextEventHandler (next_handler, event); | ||
| 2355 | } | ||
| 2356 | break; | ||
| 2357 | |||
| 2358 | case kEventClassKeyboard: | ||
| 2359 | { | ||
| 2360 | OSStatus result; | ||
| 2361 | char char_code; | ||
| 2362 | |||
| 2363 | result = CallNextEventHandler (next_handler, event); | ||
| 2364 | if (result == noErr) | ||
| 2365 | return noErr; | ||
| 2366 | |||
| 2367 | err = GetEventParameter (event, kEventParamKeyMacCharCodes, | ||
| 2368 | typeChar, NULL, sizeof (char), | ||
| 2369 | NULL, &char_code); | ||
| 2370 | if (err == noErr) | ||
| 2371 | switch (char_code) | ||
| 2372 | { | ||
| 2373 | case kEscapeCharCode: | ||
| 2374 | err = QuitAppModalLoopForWindow (window); | ||
| 2375 | break; | ||
| 2376 | |||
| 2377 | default: | ||
| 2378 | { | ||
| 2379 | UInt32 modifiers, key_code; | ||
| 2380 | |||
| 2381 | err = GetEventParameter (event, kEventParamKeyModifiers, | ||
| 2382 | typeUInt32, NULL, sizeof (UInt32), | ||
| 2383 | NULL, &modifiers); | ||
| 2384 | if (err == noErr) | ||
| 2385 | err = GetEventParameter (event, kEventParamKeyCode, | ||
| 2386 | typeUInt32, NULL, sizeof (UInt32), | ||
| 2387 | NULL, &key_code); | ||
| 2388 | if (err == noErr) | ||
| 2389 | if (mac_quit_char_key_p (modifiers, key_code)) | ||
| 2390 | err = QuitAppModalLoopForWindow (window); | ||
| 2391 | else | ||
| 2392 | err = eventNotHandledErr; | ||
| 2393 | } | ||
| 2394 | break; | ||
| 2395 | } | ||
| 2396 | |||
| 2397 | return err == noErr ? noErr : result; | ||
| 2398 | } | ||
| 2399 | break; | ||
| 2400 | |||
| 2401 | default: | ||
| 2402 | abort (); | ||
| 2403 | } | ||
| 2404 | } | ||
| 2405 | |||
| 2406 | static OSStatus | ||
| 2407 | install_dialog_event_handler (window) | ||
| 2408 | WindowRef window; | ||
| 2409 | { | ||
| 2410 | static const EventTypeSpec specs[] = | ||
| 2411 | {{kEventClassCommand, kEventCommandProcess}, | ||
| 2412 | {kEventClassKeyboard, kEventRawKeyDown}}; | ||
| 2413 | static EventHandlerUPP handle_dialog_eventUPP = NULL; | ||
| 2414 | |||
| 2415 | if (handle_dialog_eventUPP == NULL) | ||
| 2416 | handle_dialog_eventUPP = NewEventHandlerUPP (mac_handle_dialog_event); | ||
| 2417 | return InstallWindowEventHandler (window, handle_dialog_eventUPP, | ||
| 2418 | GetEventTypeCount (specs), specs, | ||
| 2419 | window, NULL); | ||
| 2420 | } | ||
| 2421 | |||
| 2422 | #define DIALOG_LEFT_MARGIN (112) | ||
| 2423 | #define DIALOG_TOP_MARGIN (24) | ||
| 2424 | #define DIALOG_RIGHT_MARGIN (24) | ||
| 2425 | #define DIALOG_BOTTOM_MARGIN (20) | ||
| 2426 | #define DIALOG_MIN_INNER_WIDTH (338) | ||
| 2427 | #define DIALOG_MAX_INNER_WIDTH (564) | ||
| 2428 | #define DIALOG_BUTTON_BUTTON_HORIZONTAL_SPACE (12) | ||
| 2429 | #define DIALOG_BUTTON_BUTTON_VERTICAL_SPACE (12) | ||
| 2430 | #define DIALOG_BUTTON_MIN_WIDTH (68) | ||
| 2431 | #define DIALOG_TEXT_MIN_HEIGHT (50) | ||
| 2432 | #define DIALOG_TEXT_BUTTONS_VERTICAL_SPACE (10) | ||
| 2433 | #define DIALOG_ICON_WIDTH (64) | ||
| 2434 | #define DIALOG_ICON_HEIGHT (64) | ||
| 2435 | #define DIALOG_ICON_LEFT_MARGIN (24) | ||
| 2436 | #define DIALOG_ICON_TOP_MARGIN (15) | ||
| 2437 | |||
| 2438 | static int | ||
| 2439 | create_and_show_dialog (f, first_wv) | ||
| 2440 | FRAME_PTR f; | ||
| 2441 | widget_value *first_wv; | ||
| 2442 | { | ||
| 2443 | OSStatus err; | ||
| 2444 | char *dialog_name, *message; | ||
| 2445 | int nb_buttons, first_group_count, i, result = 0; | ||
| 2446 | widget_value *wv; | ||
| 2447 | short buttons_height, text_height, inner_width, inner_height; | ||
| 2448 | Rect empty_rect, *rects; | ||
| 2449 | WindowRef window = NULL; | ||
| 2450 | ControlRef *buttons, default_button = NULL, text; | ||
| 2451 | |||
| 2452 | dialog_name = first_wv->name; | ||
| 2453 | nb_buttons = dialog_name[1] - '0'; | ||
| 2454 | first_group_count = nb_buttons - (dialog_name[4] - '0'); | ||
| 2455 | |||
| 2456 | wv = first_wv->contents; | ||
| 2457 | message = wv->value; | ||
| 2458 | |||
| 2459 | wv = wv->next; | ||
| 2460 | SetRect (&empty_rect, 0, 0, 0, 0); | ||
| 2461 | |||
| 2462 | /* Create dialog window. */ | ||
| 2463 | err = CreateNewWindow (kMovableModalWindowClass, | ||
| 2464 | kWindowStandardHandlerAttribute, | ||
| 2465 | &empty_rect, &window); | ||
| 2466 | if (err == noErr) | ||
| 2467 | err = SetThemeWindowBackground (window, kThemeBrushMovableModalBackground, | ||
| 2468 | true); | ||
| 2469 | if (err == noErr) | ||
| 2470 | err = SetWindowTitleWithCFString (window, (dialog_name[0] == 'Q' | ||
| 2471 | ? CFSTR ("Question") | ||
| 2472 | : CFSTR ("Information"))); | ||
| 2473 | |||
| 2474 | /* Create button controls and measure their optimal bounds. */ | ||
| 2475 | if (err == noErr) | ||
| 2476 | { | ||
| 2477 | buttons = alloca (sizeof (ControlRef) * nb_buttons); | ||
| 2478 | rects = alloca (sizeof (Rect) * nb_buttons); | ||
| 2479 | for (i = 0; i < nb_buttons; i++) | ||
| 2480 | { | ||
| 2481 | CFStringRef label = cfstring_create_with_utf8_cstring (wv->value); | ||
| 2482 | |||
| 2483 | if (label == NULL) | ||
| 2484 | err = memFullErr; | ||
| 2485 | else | ||
| 2486 | { | ||
| 2487 | err = CreatePushButtonControl (window, &empty_rect, | ||
| 2488 | label, &buttons[i]); | ||
| 2489 | CFRelease (label); | ||
| 2490 | } | ||
| 2491 | if (err == noErr) | ||
| 2492 | { | ||
| 2493 | if (!wv->enabled) | ||
| 2494 | { | ||
| 2495 | #ifdef MAC_OSX | ||
| 2496 | err = DisableControl (buttons[i]); | ||
| 2497 | #else | ||
| 2498 | err = DeactivateControl (buttons[i]); | ||
| 2499 | #endif | ||
| 2500 | } | ||
| 2501 | else if (default_button == NULL) | ||
| 2502 | default_button = buttons[i]; | ||
| 2503 | } | ||
| 2504 | if (err == noErr) | ||
| 2505 | { | ||
| 2506 | SInt16 unused; | ||
| 2507 | |||
| 2508 | rects[i] = empty_rect; | ||
| 2509 | err = GetBestControlRect (buttons[i], &rects[i], &unused); | ||
| 2510 | } | ||
| 2511 | if (err == noErr) | ||
| 2512 | { | ||
| 2513 | OffsetRect (&rects[i], -rects[i].left, -rects[i].top); | ||
| 2514 | if (rects[i].right < DIALOG_BUTTON_MIN_WIDTH) | ||
| 2515 | rects[i].right = DIALOG_BUTTON_MIN_WIDTH; | ||
| 2516 | else if (rects[i].right > DIALOG_MAX_INNER_WIDTH) | ||
| 2517 | rects[i].right = DIALOG_MAX_INNER_WIDTH; | ||
| 2518 | |||
| 2519 | err = SetControlCommandID (buttons[i], | ||
| 2520 | 'Bt\0\0' + (int) wv->call_data); | ||
| 2521 | } | ||
| 2522 | if (err != noErr) | ||
| 2523 | break; | ||
| 2524 | wv = wv->next; | ||
| 2525 | } | ||
| 2526 | } | ||
| 2527 | |||
| 2528 | /* Layout buttons. rects[i] is set relative to the bottom-right | ||
| 2529 | corner of the inner box. */ | ||
| 2530 | if (err == noErr) | ||
| 2531 | { | ||
| 2532 | short bottom, right, max_height, left_align_shift; | ||
| 2533 | |||
| 2534 | inner_width = DIALOG_MIN_INNER_WIDTH; | ||
| 2535 | bottom = right = max_height = 0; | ||
| 2536 | for (i = 0; i < nb_buttons; i++) | ||
| 2537 | { | ||
| 2538 | if (right - rects[i].right < - inner_width) | ||
| 2539 | { | ||
| 2540 | if (i != first_group_count | ||
| 2541 | && right - rects[i].right >= - DIALOG_MAX_INNER_WIDTH) | ||
| 2542 | inner_width = - (right - rects[i].right); | ||
| 2543 | else | ||
| 2544 | { | ||
| 2545 | bottom -= max_height + DIALOG_BUTTON_BUTTON_VERTICAL_SPACE; | ||
| 2546 | right = max_height = 0; | ||
| 2547 | } | ||
| 2548 | } | ||
| 2549 | if (max_height < rects[i].bottom) | ||
| 2550 | max_height = rects[i].bottom; | ||
| 2551 | OffsetRect (&rects[i], right - rects[i].right, | ||
| 2552 | bottom - rects[i].bottom); | ||
| 2553 | right = rects[i].left - DIALOG_BUTTON_BUTTON_HORIZONTAL_SPACE; | ||
| 2554 | if (i == first_group_count - 1) | ||
| 2555 | right -= DIALOG_BUTTON_BUTTON_HORIZONTAL_SPACE; | ||
| 2556 | } | ||
| 2557 | buttons_height = - (bottom - max_height); | ||
| 2558 | |||
| 2559 | left_align_shift = - (inner_width + rects[nb_buttons - 1].left); | ||
| 2560 | for (i = nb_buttons - 1; i >= first_group_count; i--) | ||
| 2561 | { | ||
| 2562 | if (bottom != rects[i].bottom) | ||
| 2563 | { | ||
| 2564 | left_align_shift = - (inner_width + rects[i].left); | ||
| 2565 | bottom = rects[i].bottom; | ||
| 2566 | } | ||
| 2567 | OffsetRect (&rects[i], left_align_shift, 0); | ||
| 2568 | } | ||
| 2569 | } | ||
| 2570 | |||
| 2571 | /* Create a static text control and measure its bounds. */ | ||
| 2572 | if (err == noErr) | ||
| 2573 | { | ||
| 2574 | CFStringRef message_string; | ||
| 2575 | Rect bounds; | ||
| 2576 | |||
| 2577 | message_string = cfstring_create_with_utf8_cstring (message); | ||
| 2578 | if (message_string == NULL) | ||
| 2579 | err = memFullErr; | ||
| 2580 | else | ||
| 2581 | { | ||
| 2582 | ControlFontStyleRec text_style; | ||
| 2583 | |||
| 2584 | text_style.flags = 0; | ||
| 2585 | SetRect (&bounds, 0, 0, inner_width, 0); | ||
| 2586 | err = CreateStaticTextControl (window, &bounds, message_string, | ||
| 2587 | &text_style, &text); | ||
| 2588 | CFRelease (message_string); | ||
| 2589 | } | ||
| 2590 | if (err == noErr) | ||
| 2591 | { | ||
| 2592 | SInt16 unused; | ||
| 2593 | |||
| 2594 | bounds = empty_rect; | ||
| 2595 | err = GetBestControlRect (text, &bounds, &unused); | ||
| 2596 | } | ||
| 2597 | if (err == noErr) | ||
| 2598 | { | ||
| 2599 | text_height = bounds.bottom - bounds.top; | ||
| 2600 | if (text_height < DIALOG_TEXT_MIN_HEIGHT) | ||
| 2601 | text_height = DIALOG_TEXT_MIN_HEIGHT; | ||
| 2602 | } | ||
| 2603 | } | ||
| 2604 | |||
| 2605 | /* Place buttons. */ | ||
| 2606 | if (err == noErr) | ||
| 2607 | { | ||
| 2608 | inner_height = (text_height + DIALOG_TEXT_BUTTONS_VERTICAL_SPACE | ||
| 2609 | + buttons_height); | ||
| 2610 | |||
| 2611 | for (i = 0; i < nb_buttons; i++) | ||
| 2612 | { | ||
| 2613 | OffsetRect (&rects[i], DIALOG_LEFT_MARGIN + inner_width, | ||
| 2614 | DIALOG_TOP_MARGIN + inner_height); | ||
| 2615 | SetControlBounds (buttons[i], &rects[i]); | ||
| 2616 | } | ||
| 2617 | } | ||
| 2323 | 2618 | ||
| 2619 | /* Place text. */ | ||
| 2620 | if (err == noErr) | ||
| 2621 | { | ||
| 2622 | Rect bounds; | ||
| 2623 | |||
| 2624 | SetRect (&bounds, DIALOG_LEFT_MARGIN, DIALOG_TOP_MARGIN, | ||
| 2625 | DIALOG_LEFT_MARGIN + inner_width, | ||
| 2626 | DIALOG_TOP_MARGIN + text_height); | ||
| 2627 | SetControlBounds (text, &bounds); | ||
| 2628 | } | ||
| 2629 | |||
| 2630 | /* Create the application icon at the upper-left corner. */ | ||
| 2631 | if (err == noErr) | ||
| 2632 | { | ||
| 2633 | ControlButtonContentInfo content; | ||
| 2634 | ControlRef icon; | ||
| 2635 | static const ProcessSerialNumber psn = {0, kCurrentProcess}; | ||
| 2636 | #ifdef MAC_OSX | ||
| 2637 | FSRef app_location; | ||
| 2638 | #else | ||
| 2639 | ProcessInfoRec pinfo; | ||
| 2640 | FSSpec app_spec; | ||
| 2641 | #endif | ||
| 2642 | SInt16 unused; | ||
| 2643 | |||
| 2644 | content.contentType = kControlContentIconRef; | ||
| 2645 | #ifdef MAC_OSX | ||
| 2646 | err = GetProcessBundleLocation (&psn, &app_location); | ||
| 2647 | if (err == noErr) | ||
| 2648 | err = GetIconRefFromFileInfo (&app_location, 0, NULL, 0, NULL, | ||
| 2649 | kIconServicesNormalUsageFlag, | ||
| 2650 | &content.u.iconRef, &unused); | ||
| 2651 | #else | ||
| 2652 | bzero (&pinfo, sizeof (ProcessInfoRec)); | ||
| 2653 | pinfo.processInfoLength = sizeof (ProcessInfoRec); | ||
| 2654 | pinfo.processAppSpec = &app_spec; | ||
| 2655 | err = GetProcessInformation (&psn, &pinfo); | ||
| 2656 | if (err == noErr) | ||
| 2657 | err = GetIconRefFromFile (&app_spec, &content.u.iconRef, &unused); | ||
| 2658 | #endif | ||
| 2659 | if (err == noErr) | ||
| 2660 | { | ||
| 2661 | Rect bounds; | ||
| 2662 | |||
| 2663 | SetRect (&bounds, DIALOG_ICON_LEFT_MARGIN, DIALOG_ICON_TOP_MARGIN, | ||
| 2664 | DIALOG_ICON_LEFT_MARGIN + DIALOG_ICON_WIDTH, | ||
| 2665 | DIALOG_ICON_TOP_MARGIN + DIALOG_ICON_HEIGHT); | ||
| 2666 | err = CreateIconControl (window, &bounds, &content, true, &icon); | ||
| 2667 | ReleaseIconRef (content.u.iconRef); | ||
| 2668 | } | ||
| 2669 | } | ||
| 2670 | |||
| 2671 | /* Show the dialog window and run event loop. */ | ||
| 2672 | if (err == noErr) | ||
| 2673 | if (default_button) | ||
| 2674 | err = SetWindowDefaultButton (window, default_button); | ||
| 2675 | if (err == noErr) | ||
| 2676 | err = install_dialog_event_handler (window); | ||
| 2677 | if (err == noErr) | ||
| 2678 | { | ||
| 2679 | SizeWindow (window, | ||
| 2680 | DIALOG_LEFT_MARGIN + inner_width + DIALOG_RIGHT_MARGIN, | ||
| 2681 | DIALOG_TOP_MARGIN + inner_height + DIALOG_BOTTOM_MARGIN, | ||
| 2682 | true); | ||
| 2683 | err = RepositionWindow (window, FRAME_MAC_WINDOW (f), | ||
| 2684 | kWindowAlertPositionOnParentWindow); | ||
| 2685 | } | ||
| 2686 | if (err == noErr) | ||
| 2687 | { | ||
| 2688 | SetWRefCon (window, 0); | ||
| 2689 | ShowWindow (window); | ||
| 2690 | BringToFront (window); | ||
| 2691 | err = RunAppModalLoopForWindow (window); | ||
| 2692 | } | ||
| 2693 | if (err == noErr) | ||
| 2694 | { | ||
| 2695 | UInt32 command_id = GetWRefCon (window); | ||
| 2696 | |||
| 2697 | if ((command_id & ~0xffff) == 'Bt\0\0') | ||
| 2698 | result = command_id - 'Bt\0\0'; | ||
| 2699 | } | ||
| 2700 | |||
| 2701 | if (window) | ||
| 2702 | DisposeWindow (window); | ||
| 2703 | |||
| 2704 | return result; | ||
| 2705 | } | ||
| 2706 | #else /* not TARGET_API_MAC_CARBON */ | ||
| 2324 | static int | 2707 | static int |
| 2325 | mac_dialog (widget_value *wv) | 2708 | mac_dialog (widget_value *wv) |
| 2326 | { | 2709 | { |
| @@ -2425,6 +2808,7 @@ mac_dialog (widget_value *wv) | |||
| 2425 | 2808 | ||
| 2426 | return i; | 2809 | return i; |
| 2427 | } | 2810 | } |
| 2811 | #endif /* not TARGET_API_MAC_CARBON */ | ||
| 2428 | 2812 | ||
| 2429 | static char * button_names [] = { | 2813 | static char * button_names [] = { |
| 2430 | "button1", "button2", "button3", "button4", "button5", | 2814 | "button1", "button2", "button3", "button4", "button5", |
| @@ -2557,10 +2941,10 @@ mac_dialog_show (f, keymaps, title, header, error_name) | |||
| 2557 | } | 2941 | } |
| 2558 | 2942 | ||
| 2559 | /* Actually create the dialog. */ | 2943 | /* Actually create the dialog. */ |
| 2560 | #ifdef HAVE_DIALOGS | 2944 | #if TARGET_API_MAC_CARBON |
| 2561 | menu_item_selection = mac_dialog (first_wv); | 2945 | menu_item_selection = create_and_show_dialog (f, first_wv); |
| 2562 | #else | 2946 | #else |
| 2563 | menu_item_selection = 0; | 2947 | menu_item_selection = mac_dialog (first_wv); |
| 2564 | #endif | 2948 | #endif |
| 2565 | 2949 | ||
| 2566 | /* Free the widget_value objects we used to specify the contents. */ | 2950 | /* Free the widget_value objects we used to specify the contents. */ |
diff --git a/src/macros.c b/src/macros.c index fb452e4e318..40fb429d41d 100644 --- a/src/macros.c +++ b/src/macros.c | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | /* Keyboard macros. | 1 | /* Keyboard macros. |
| 2 | Copyright (C) 1985, 1986, 1993, 2000, 2001, 2002, 2003, 2004, | 2 | Copyright (C) 1985, 1986, 1993, 2000, 2001, 2002, 2003, 2004, |
| 3 | 2005, 2006 Free Software Foundation, Inc. | 3 | 2005, 2006, 2007 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/macros.h b/src/macros.h index bdd510456b0..2fb01667918 100644 --- a/src/macros.h +++ b/src/macros.h | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | /* Definitions for keyboard macro interpretation in GNU Emacs. | 1 | /* Definitions for keyboard macro interpretation in GNU Emacs. |
| 2 | Copyright (C) 1985, 2002, 2003, 2004, 2005, | 2 | Copyright (C) 1985, 2001, 2002, 2003, 2004, 2005, |
| 3 | 2006 Free Software Foundation, Inc. | 3 | 2006, 2007 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/macselect.c b/src/macselect.c index 8d15db24144..8e86c7651e2 100644 --- a/src/macselect.c +++ b/src/macselect.c | |||
| @@ -1,5 +1,5 @@ | |||
| 1 | /* Selection processing for Emacs on Mac OS. | 1 | /* Selection processing for Emacs on Mac OS. |
| 2 | Copyright (C) 2005, 2006 Free Software Foundation, Inc. | 2 | Copyright (C) 2005, 2006, 2007 Free Software Foundation, Inc. |
| 3 | 3 | ||
| 4 | This file is part of GNU Emacs. | 4 | This file is part of GNU Emacs. |
| 5 | 5 | ||
| @@ -1390,7 +1390,7 @@ nil, which means the event is already resumed or expired. */) | |||
| 1390 | ae = *p; | 1390 | ae = *p; |
| 1391 | *p = (*p)->next; | 1391 | *p = (*p)->next; |
| 1392 | if (INTEGERP (error_code) | 1392 | if (INTEGERP (error_code) |
| 1393 | && ae->apple_event.descriptorType != typeNull) | 1393 | && ae->reply.descriptorType != typeNull) |
| 1394 | { | 1394 | { |
| 1395 | SInt32 errn = XINT (error_code); | 1395 | SInt32 errn = XINT (error_code); |
| 1396 | 1396 | ||
| @@ -1562,10 +1562,17 @@ mac_do_receive_drag (window, refcon, drag) | |||
| 1562 | GlobalToLocal (&mouse_pos); | 1562 | GlobalToLocal (&mouse_pos); |
| 1563 | err = GetDragModifiers (drag, NULL, NULL, &modifiers); | 1563 | err = GetDragModifiers (drag, NULL, NULL, &modifiers); |
| 1564 | } | 1564 | } |
| 1565 | if (err == noErr) | ||
| 1566 | { | ||
| 1567 | UInt32 key_modifiers = modifiers; | ||
| 1568 | |||
| 1569 | err = AEPutParamPtr (&apple_event, kEventParamKeyModifiers, | ||
| 1570 | typeUInt32, &key_modifiers, sizeof (UInt32)); | ||
| 1571 | } | ||
| 1565 | 1572 | ||
| 1566 | if (err == noErr) | 1573 | if (err == noErr) |
| 1567 | { | 1574 | { |
| 1568 | mac_store_drag_event (window, mouse_pos, modifiers, &apple_event); | 1575 | mac_store_drag_event (window, mouse_pos, 0, &apple_event); |
| 1569 | AEDisposeDesc (&apple_event); | 1576 | AEDisposeDesc (&apple_event); |
| 1570 | mac_wakeup_from_rne (); | 1577 | mac_wakeup_from_rne (); |
| 1571 | return noErr; | 1578 | return noErr; |
diff --git a/src/macterm.c b/src/macterm.c index 1706da48cc3..8ba62f2308f 100644 --- a/src/macterm.c +++ b/src/macterm.c | |||
| @@ -1,6 +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, | 2 | Copyright (C) 2000, 2001, 2002, 2003, 2004, |
| 3 | 2005, 2006 Free Software Foundation, Inc. | 3 | 2005, 2006, 2007 Free Software Foundation, Inc. |
| 4 | 4 | ||
| 5 | This file is part of GNU Emacs. | 5 | This file is part of GNU Emacs. |
| 6 | 6 | ||
| @@ -6572,6 +6572,9 @@ x_free_frame_resources (f) | |||
| 6572 | if (wp != tip_window) | 6572 | if (wp != tip_window) |
| 6573 | remove_window_handler (wp); | 6573 | remove_window_handler (wp); |
| 6574 | 6574 | ||
| 6575 | #if USE_CG_DRAWING | ||
| 6576 | mac_prepare_for_quickdraw (f); | ||
| 6577 | #endif | ||
| 6575 | DisposeWindow (wp); | 6578 | DisposeWindow (wp); |
| 6576 | if (wp == tip_window) | 6579 | if (wp == tip_window) |
| 6577 | /* Neither WaitNextEvent nor ReceiveNextEvent receives `window | 6580 | /* Neither WaitNextEvent nor ReceiveNextEvent receives `window |
| @@ -9052,6 +9055,38 @@ mac_get_emulated_btn ( UInt32 modifiers ) | |||
| 9052 | return result; | 9055 | return result; |
| 9053 | } | 9056 | } |
| 9054 | 9057 | ||
| 9058 | #if TARGET_API_MAC_CARBON | ||
| 9059 | /***** Code to handle C-g testing *****/ | ||
| 9060 | extern int quit_char; | ||
| 9061 | extern int make_ctrl_char P_ ((int)); | ||
| 9062 | |||
| 9063 | int | ||
| 9064 | mac_quit_char_key_p (modifiers, key_code) | ||
| 9065 | UInt32 modifiers, key_code; | ||
| 9066 | { | ||
| 9067 | UInt32 char_code; | ||
| 9068 | unsigned long some_state = 0; | ||
| 9069 | Ptr kchr_ptr = (Ptr) GetScriptManagerVariable (smKCHRCache); | ||
| 9070 | int c, emacs_modifiers; | ||
| 9071 | |||
| 9072 | /* Mask off modifier keys that are mapped to some Emacs modifiers. */ | ||
| 9073 | key_code |= (modifiers & ~(mac_mapped_modifiers (modifiers))); | ||
| 9074 | char_code = KeyTranslate (kchr_ptr, key_code, &some_state); | ||
| 9075 | if (char_code & ~0xff) | ||
| 9076 | return 0; | ||
| 9077 | |||
| 9078 | emacs_modifiers = mac_to_emacs_modifiers (modifiers); | ||
| 9079 | if (emacs_modifiers & ctrl_modifier) | ||
| 9080 | c = make_ctrl_char (char_code); | ||
| 9081 | |||
| 9082 | c |= (emacs_modifiers | ||
| 9083 | & (meta_modifier | alt_modifier | ||
| 9084 | | hyper_modifier | super_modifier)); | ||
| 9085 | |||
| 9086 | return c == quit_char; | ||
| 9087 | } | ||
| 9088 | #endif | ||
| 9089 | |||
| 9055 | #if USE_CARBON_EVENTS | 9090 | #if USE_CARBON_EVENTS |
| 9056 | /* Obtains the event modifiers from the event ref and then calls | 9091 | /* Obtains the event modifiers from the event ref and then calls |
| 9057 | mac_to_emacs_modifiers. */ | 9092 | mac_to_emacs_modifiers. */ |
| @@ -11607,35 +11642,6 @@ x_delete_display (dpyinfo) | |||
| 11607 | 11642 | ||
| 11608 | #ifdef MAC_OSX | 11643 | #ifdef MAC_OSX |
| 11609 | void | 11644 | void |
| 11610 | mac_check_bundle() | ||
| 11611 | { | ||
| 11612 | extern int inhibit_window_system; | ||
| 11613 | extern int noninteractive; | ||
| 11614 | CFBundleRef appsBundle; | ||
| 11615 | |||
| 11616 | /* No need to test if already -nw*/ | ||
| 11617 | if (inhibit_window_system || noninteractive) | ||
| 11618 | return; | ||
| 11619 | |||
| 11620 | appsBundle = CFBundleGetMainBundle(); | ||
| 11621 | if (appsBundle != NULL) | ||
| 11622 | { | ||
| 11623 | CFStringRef cfBI = CFSTR("CFBundleIdentifier"); | ||
| 11624 | CFTypeRef res = CFBundleGetValueForInfoDictionaryKey(appsBundle, cfBI); | ||
| 11625 | /* We found the bundle identifier, now we know we are valid. */ | ||
| 11626 | if (res != NULL) | ||
| 11627 | { | ||
| 11628 | CFRelease(res); | ||
| 11629 | return; | ||
| 11630 | } | ||
| 11631 | } | ||
| 11632 | /* MAC_TODO: Have this start the bundled executable */ | ||
| 11633 | |||
| 11634 | /* For now, prevent the fatal error by bringing it up in the terminal */ | ||
| 11635 | inhibit_window_system = 1; | ||
| 11636 | } | ||
| 11637 | |||
| 11638 | void | ||
| 11639 | MakeMeTheFrontProcess () | 11645 | MakeMeTheFrontProcess () |
| 11640 | { | 11646 | { |
| 11641 | ProcessSerialNumber psn; | 11647 | ProcessSerialNumber psn; |
| @@ -11645,36 +11651,6 @@ MakeMeTheFrontProcess () | |||
| 11645 | if (err == noErr) | 11651 | if (err == noErr) |
| 11646 | (void) SetFrontProcess (&psn); | 11652 | (void) SetFrontProcess (&psn); |
| 11647 | } | 11653 | } |
| 11648 | |||
| 11649 | /***** Code to handle C-g testing *****/ | ||
| 11650 | extern int quit_char; | ||
| 11651 | extern int make_ctrl_char P_ ((int)); | ||
| 11652 | |||
| 11653 | int | ||
| 11654 | mac_quit_char_key_p (modifiers, key_code) | ||
| 11655 | UInt32 modifiers, key_code; | ||
| 11656 | { | ||
| 11657 | UInt32 char_code; | ||
| 11658 | unsigned long some_state = 0; | ||
| 11659 | Ptr kchr_ptr = (Ptr) GetScriptManagerVariable (smKCHRCache); | ||
| 11660 | int c, emacs_modifiers; | ||
| 11661 | |||
| 11662 | /* Mask off modifier keys that are mapped to some Emacs modifiers. */ | ||
| 11663 | key_code |= (modifiers & ~(mac_mapped_modifiers (modifiers))); | ||
| 11664 | char_code = KeyTranslate (kchr_ptr, key_code, &some_state); | ||
| 11665 | if (char_code & ~0xff) | ||
| 11666 | return 0; | ||
| 11667 | |||
| 11668 | emacs_modifiers = mac_to_emacs_modifiers (modifiers); | ||
| 11669 | if (emacs_modifiers & ctrl_modifier) | ||
| 11670 | c = make_ctrl_char (char_code); | ||
| 11671 | |||
| 11672 | c |= (emacs_modifiers | ||
| 11673 | & (meta_modifier | alt_modifier | ||
| 11674 | | hyper_modifier | super_modifier)); | ||
| 11675 | |||
| 11676 | return c == quit_char; | ||
| 11677 | } | ||
| 11678 | #endif /* MAC_OSX */ | 11654 | #endif /* MAC_OSX */ |
| 11679 | 11655 | ||
| 11680 | static void | 11656 | static void |
diff --git a/src/macterm.h b/src/macterm.h index c7d86f157f1..0f474e1b3d8 100644 --- a/src/macterm.h +++ b/src/macterm.h | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | /* Display module for Mac OS. | 1 | /* Display module for Mac OS. |
| 2 | Copyright (C) 2000, 2001, 2002, 2003, 2004, | 2 | Copyright (C) 2000, 2001, 2002, 2003, 2004, |
| 3 | 2005, 2006 Free Software Foundation, Inc. | 3 | 2005, 2006, 2007 Free Software Foundation, Inc. |
| 4 | 4 | ||
| 5 | This file is part of GNU Emacs. | 5 | This file is part of GNU Emacs. |
| 6 | 6 | ||
| @@ -522,8 +522,8 @@ struct scroll_bar { | |||
| 522 | #define MAC_AQUA_SMALL_VERTICAL_SCROLL_BAR_WIDTH (11) | 522 | #define MAC_AQUA_SMALL_VERTICAL_SCROLL_BAR_WIDTH (11) |
| 523 | 523 | ||
| 524 | /* Size of hourglass controls */ | 524 | /* Size of hourglass controls */ |
| 525 | #define HOURGLASS_WIDTH 16 | 525 | #define HOURGLASS_WIDTH (16) |
| 526 | #define HOURGLASS_HEIGHT 16 | 526 | #define HOURGLASS_HEIGHT (16) |
| 527 | 527 | ||
| 528 | /* Some constants that are used locally. */ | 528 | /* Some constants that are used locally. */ |
| 529 | /* Creator code for Emacs on Mac OS. */ | 529 | /* Creator code for Emacs on Mac OS. */ |
| @@ -633,9 +633,7 @@ extern void do_apple_menu P_ ((SInt16)); | |||
| 633 | #if USE_CG_DRAWING | 633 | #if USE_CG_DRAWING |
| 634 | extern void mac_prepare_for_quickdraw P_ ((struct frame *)); | 634 | extern void mac_prepare_for_quickdraw P_ ((struct frame *)); |
| 635 | #endif | 635 | #endif |
| 636 | #ifdef MAC_OSX | ||
| 637 | extern int mac_quit_char_key_p P_ ((UInt32, UInt32)); | 636 | extern int mac_quit_char_key_p P_ ((UInt32, UInt32)); |
| 638 | #endif | ||
| 639 | 637 | ||
| 640 | #define FONT_TYPE_FOR_UNIBYTE(font, ch) 0 | 638 | #define FONT_TYPE_FOR_UNIBYTE(font, ch) 0 |
| 641 | #define FONT_TYPE_FOR_MULTIBYTE(font, ch) 0 | 639 | #define FONT_TYPE_FOR_MULTIBYTE(font, ch) 0 |
diff --git a/src/makefile.w32-in b/src/makefile.w32-in index e8d30a31cc5..c796a52fe2c 100644 --- a/src/makefile.w32-in +++ b/src/makefile.w32-in | |||
| @@ -1,6 +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, 2002, 2003, 2004, | 2 | # Copyright (C) 2000, 2001, 2002, 2003, 2004, |
| 3 | # 2005, 2006 Free Software Foundation, Inc. | 3 | # 2005, 2006, 2007 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/marker.c b/src/marker.c index 727e97900c2..31849782f6c 100644 --- a/src/marker.c +++ b/src/marker.c | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | /* Markers: examining, setting and deleting. | 1 | /* Markers: examining, setting and deleting. |
| 2 | Copyright (C) 1985, 1997, 1998, 2002, 2003, 2004, | 2 | Copyright (C) 1985, 1997, 1998, 2001, 2002, 2003, 2004, |
| 3 | 2005, 2006 Free Software Foundation, Inc. | 3 | 2005, 2006, 2007 Free Software Foundation, Inc. |
| 4 | 4 | ||
| 5 | This file is part of GNU Emacs. | 5 | This file is part of GNU Emacs. |
| 6 | 6 | ||
| @@ -1,7 +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, 2002, 2003, 2004, | 3 | Copyright (C) 1995, 1996, 1997, 1999, 2000, 2001, 2002, 2003, 2004, |
| 4 | 2005, 2006 Free Software Foundation, Inc. | 4 | 2005, 2006, 2007 Free Software Foundation, Inc. |
| 5 | This file is part of the GNU Emacs. | 5 | This file is part of the GNU Emacs. |
| 6 | 6 | ||
| 7 | 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,7 +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, 2002, 2003, 2004, | 3 | Copyright (C) 1995, 1996, 1997, 1999, 2000, 2001, 2002, 2003, 2004, |
| 4 | 2005, 2006 Free Software Foundation, Inc. | 4 | 2005, 2006, 2007 Free Software Foundation, Inc. |
| 5 | This file is part of GNU Emacs. | 5 | This file is part of GNU Emacs. |
| 6 | 6 | ||
| 7 | 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 45dabca3ac5..30d57d8b51c 100644 --- a/src/mem-limits.h +++ b/src/mem-limits.h | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | /* Includes for memory limit warnings. | 1 | /* Includes for memory limit warnings. |
| 2 | Copyright (C) 1990, 1993, 1994, 1995, 1996, 2002, 2003, 2004, | 2 | Copyright (C) 1990, 1993, 1994, 1995, 1996, 2001, 2002, 2003, 2004, |
| 3 | 2005, 2006 Free Software Foundation, Inc. | 3 | 2005, 2006, 2007 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/minibuf.c b/src/minibuf.c index 3778d185e97..bdd810cb201 100644 --- a/src/minibuf.c +++ b/src/minibuf.c | |||
| @@ -1,7 +1,7 @@ | |||
| 1 | /* Minibuffer input and completion. | 1 | /* Minibuffer input and completion. |
| 2 | Copyright (C) 1985, 1986, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, | 2 | Copyright (C) 1985, 1986, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, |
| 3 | 2001, 2002, 2003, 2004, 2005, | 3 | 2001, 2002, 2003, 2004, 2005, |
| 4 | 2006 Free Software Foundation, Inc. | 4 | 2006, 2007 Free Software Foundation, Inc. |
| 5 | 5 | ||
| 6 | This file is part of GNU Emacs. | 6 | This file is part of GNU Emacs. |
| 7 | 7 | ||
| @@ -1236,22 +1236,25 @@ minibuf_conform_representation (string, basis) | |||
| 1236 | } | 1236 | } |
| 1237 | 1237 | ||
| 1238 | DEFUN ("try-completion", Ftry_completion, Stry_completion, 2, 3, 0, | 1238 | DEFUN ("try-completion", Ftry_completion, Stry_completion, 2, 3, 0, |
| 1239 | doc: /* Return common substring of all completions of STRING in ALIST. | 1239 | doc: /* Return common substring of all completions of STRING in COLLECTION. |
| 1240 | Each car of each element of ALIST (or each element if it is not a cons cell) | 1240 | Test each possible completion specified by COLLECTION |
| 1241 | is tested to see if it begins with STRING. The possible matches may be | 1241 | to see if it begins with STRING. The possible completions may be |
| 1242 | strings or symbols. Symbols are converted to strings before testing, | 1242 | strings or symbols. Symbols are converted to strings before testing, |
| 1243 | see `symbol-name'. | 1243 | see `symbol-name'. |
| 1244 | All that match are compared together; the longest initial sequence | 1244 | All that match STRING are compared together; the longest initial sequence |
| 1245 | common to all matches is returned as a string. | 1245 | common to all these matches is the return value. |
| 1246 | If there is no match at all, nil is returned. | 1246 | If there is no match at all, the return value is nil. |
| 1247 | For a unique match which is exact, t is returned. | 1247 | For a unique match which is exact, the return value is t. |
| 1248 | 1248 | ||
| 1249 | If ALIST is a hash-table, all the string and symbol keys are the | 1249 | If COLLECTION is an alist, the keys (cars of elements) are the |
| 1250 | possible matches. | 1250 | possible completions. If an element is not a cons cell, then the |
| 1251 | If ALIST is an obarray, the names of all symbols in the obarray | 1251 | element itself is the possible completion. |
| 1252 | are the possible matches. | 1252 | If COLLECTION is a hash-table, all the keys that are strings or symbols |
| 1253 | 1253 | are the possible completions. | |
| 1254 | ALIST can also be a function to do the completion itself. | 1254 | If COLLECTION is an obarray, the names of all symbols in the obarray |
| 1255 | are the possible completions. | ||
| 1256 | |||
| 1257 | COLLECTION can also be a function to do the completion itself. | ||
| 1255 | It receives three arguments: the values STRING, PREDICATE and nil. | 1258 | It receives three arguments: the values STRING, PREDICATE and nil. |
| 1256 | Whatever it returns becomes the value of `try-completion'. | 1259 | Whatever it returns becomes the value of `try-completion'. |
| 1257 | 1260 | ||
| @@ -1259,23 +1262,23 @@ If optional third argument PREDICATE is non-nil, | |||
| 1259 | it is used to test each possible match. | 1262 | it is used to test each possible match. |
| 1260 | The match is a candidate only if PREDICATE returns non-nil. | 1263 | The match is a candidate only if PREDICATE returns non-nil. |
| 1261 | The argument given to PREDICATE is the alist element | 1264 | The argument given to PREDICATE is the alist element |
| 1262 | or the symbol from the obarray. If ALIST is a hash-table, | 1265 | or the symbol from the obarray. If COLLECTION is a hash-table, |
| 1263 | predicate is called with two arguments: the key and the value. | 1266 | predicate is called with two arguments: the key and the value. |
| 1264 | Additionally to this predicate, `completion-regexp-list' | 1267 | Additionally to this predicate, `completion-regexp-list' |
| 1265 | is used to further constrain the set of candidates. */) | 1268 | is used to further constrain the set of candidates. */) |
| 1266 | (string, alist, predicate) | 1269 | (string, collection, predicate) |
| 1267 | Lisp_Object string, alist, predicate; | 1270 | Lisp_Object string, collection, predicate; |
| 1268 | { | 1271 | { |
| 1269 | Lisp_Object bestmatch, tail, elt, eltstring; | 1272 | Lisp_Object bestmatch, tail, elt, eltstring; |
| 1270 | /* Size in bytes of BESTMATCH. */ | 1273 | /* Size in bytes of BESTMATCH. */ |
| 1271 | int bestmatchsize = 0; | 1274 | int bestmatchsize = 0; |
| 1272 | /* These are in bytes, too. */ | 1275 | /* These are in bytes, too. */ |
| 1273 | int compare, matchsize; | 1276 | int compare, matchsize; |
| 1274 | int type = (HASH_TABLE_P (alist) ? 3 | 1277 | int type = (HASH_TABLE_P (collection) ? 3 |
| 1275 | : VECTORP (alist) ? 2 | 1278 | : VECTORP (collection) ? 2 |
| 1276 | : NILP (alist) || (CONSP (alist) | 1279 | : NILP (collection) || (CONSP (collection) |
| 1277 | && (!SYMBOLP (XCAR (alist)) | 1280 | && (!SYMBOLP (XCAR (collection)) |
| 1278 | || NILP (XCAR (alist))))); | 1281 | || NILP (XCAR (collection))))); |
| 1279 | int index = 0, obsize = 0; | 1282 | int index = 0, obsize = 0; |
| 1280 | int matchcount = 0; | 1283 | int matchcount = 0; |
| 1281 | int bindcount = -1; | 1284 | int bindcount = -1; |
| @@ -1284,18 +1287,18 @@ is used to further constrain the set of candidates. */) | |||
| 1284 | 1287 | ||
| 1285 | CHECK_STRING (string); | 1288 | CHECK_STRING (string); |
| 1286 | if (type == 0) | 1289 | if (type == 0) |
| 1287 | return call3 (alist, string, predicate, Qnil); | 1290 | return call3 (collection, string, predicate, Qnil); |
| 1288 | 1291 | ||
| 1289 | bestmatch = bucket = Qnil; | 1292 | bestmatch = bucket = Qnil; |
| 1290 | zero = make_number (0); | 1293 | zero = make_number (0); |
| 1291 | 1294 | ||
| 1292 | /* If ALIST is not a list, set TAIL just for gc pro. */ | 1295 | /* If COLLECTION is not a list, set TAIL just for gc pro. */ |
| 1293 | tail = alist; | 1296 | tail = collection; |
| 1294 | if (type == 2) | 1297 | if (type == 2) |
| 1295 | { | 1298 | { |
| 1296 | alist = check_obarray (alist); | 1299 | collection = check_obarray (collection); |
| 1297 | obsize = XVECTOR (alist)->size; | 1300 | obsize = XVECTOR (collection)->size; |
| 1298 | bucket = XVECTOR (alist)->contents[index]; | 1301 | bucket = XVECTOR (collection)->contents[index]; |
| 1299 | } | 1302 | } |
| 1300 | 1303 | ||
| 1301 | while (1) | 1304 | while (1) |
| @@ -1330,19 +1333,19 @@ is used to further constrain the set of candidates. */) | |||
| 1330 | break; | 1333 | break; |
| 1331 | else | 1334 | else |
| 1332 | { | 1335 | { |
| 1333 | bucket = XVECTOR (alist)->contents[index]; | 1336 | bucket = XVECTOR (collection)->contents[index]; |
| 1334 | continue; | 1337 | continue; |
| 1335 | } | 1338 | } |
| 1336 | } | 1339 | } |
| 1337 | else /* if (type == 3) */ | 1340 | else /* if (type == 3) */ |
| 1338 | { | 1341 | { |
| 1339 | while (index < HASH_TABLE_SIZE (XHASH_TABLE (alist)) | 1342 | while (index < HASH_TABLE_SIZE (XHASH_TABLE (collection)) |
| 1340 | && NILP (HASH_HASH (XHASH_TABLE (alist), index))) | 1343 | && NILP (HASH_HASH (XHASH_TABLE (collection), index))) |
| 1341 | index++; | 1344 | index++; |
| 1342 | if (index >= HASH_TABLE_SIZE (XHASH_TABLE (alist))) | 1345 | if (index >= HASH_TABLE_SIZE (XHASH_TABLE (collection))) |
| 1343 | break; | 1346 | break; |
| 1344 | else | 1347 | else |
| 1345 | elt = eltstring = HASH_KEY (XHASH_TABLE (alist), index++); | 1348 | elt = eltstring = HASH_KEY (XHASH_TABLE (collection), index++); |
| 1346 | } | 1349 | } |
| 1347 | 1350 | ||
| 1348 | /* Is this element a possible completion? */ | 1351 | /* Is this element a possible completion? */ |
| @@ -1395,7 +1398,7 @@ is used to further constrain the set of candidates. */) | |||
| 1395 | GCPRO4 (tail, string, eltstring, bestmatch); | 1398 | GCPRO4 (tail, string, eltstring, bestmatch); |
| 1396 | tem = type == 3 | 1399 | tem = type == 3 |
| 1397 | ? call2 (predicate, elt, | 1400 | ? call2 (predicate, elt, |
| 1398 | HASH_VALUE (XHASH_TABLE (alist), index - 1)) | 1401 | HASH_VALUE (XHASH_TABLE (collection), index - 1)) |
| 1399 | : call1 (predicate, elt); | 1402 | : call1 (predicate, elt); |
| 1400 | UNGCPRO; | 1403 | UNGCPRO; |
| 1401 | } | 1404 | } |
| @@ -1504,19 +1507,22 @@ is used to further constrain the set of candidates. */) | |||
| 1504 | } | 1507 | } |
| 1505 | 1508 | ||
| 1506 | DEFUN ("all-completions", Fall_completions, Sall_completions, 2, 4, 0, | 1509 | DEFUN ("all-completions", Fall_completions, Sall_completions, 2, 4, 0, |
| 1507 | doc: /* Search for partial matches to STRING in ALIST. | 1510 | doc: /* Search for partial matches to STRING in COLLECTION. |
| 1508 | Each car of each element of ALIST (or each element if it is not a cons cell) | 1511 | Test each of the possible completions specified by COLLECTION |
| 1509 | is tested to see if it begins with STRING. The possible matches may be | 1512 | to see if it begins with STRING. The possible completions may be |
| 1510 | strings or symbols. Symbols are converted to strings before testing, | 1513 | strings or symbols. Symbols are converted to strings before testing, |
| 1511 | see `symbol-name'. | 1514 | see `symbol-name'. |
| 1512 | The value is a list of all the strings from ALIST that match. | 1515 | The value is a list of all the possible completions that match STRING. |
| 1513 | 1516 | ||
| 1514 | If ALIST is a hash-table, all the string and symbol keys are the | 1517 | If COLLECTION is an alist, the keys (cars of elements) are the |
| 1515 | possible matches. | 1518 | possible completions. If an element is not a cons cell, then the |
| 1516 | If ALIST is an obarray, the names of all symbols in the obarray | 1519 | element itself is the possible completion. |
| 1517 | are the possible matches. | 1520 | If COLLECTION is a hash-table, all the keys that are strings or symbols |
| 1521 | are the possible completions. | ||
| 1522 | If COLLECTION is an obarray, the names of all symbols in the obarray | ||
| 1523 | are the possible completions. | ||
| 1518 | 1524 | ||
| 1519 | ALIST can also be a function to do the completion itself. | 1525 | COLLECTION can also be a function to do the completion itself. |
| 1520 | It receives three arguments: the values STRING, PREDICATE and t. | 1526 | It receives three arguments: the values STRING, PREDICATE and t. |
| 1521 | Whatever it returns becomes the value of `all-completions'. | 1527 | Whatever it returns becomes the value of `all-completions'. |
| 1522 | 1528 | ||
| @@ -1524,24 +1530,24 @@ If optional third argument PREDICATE is non-nil, | |||
| 1524 | it is used to test each possible match. | 1530 | it is used to test each possible match. |
| 1525 | The match is a candidate only if PREDICATE returns non-nil. | 1531 | The match is a candidate only if PREDICATE returns non-nil. |
| 1526 | The argument given to PREDICATE is the alist element | 1532 | The argument given to PREDICATE is the alist element |
| 1527 | or the symbol from the obarray. If ALIST is a hash-table, | 1533 | or the symbol from the obarray. If COLLECTION is a hash-table, |
| 1528 | predicate is called with two arguments: the key and the value. | 1534 | predicate is called with two arguments: the key and the value. |
| 1529 | Additionally to this predicate, `completion-regexp-list' | 1535 | Additionally to this predicate, `completion-regexp-list' |
| 1530 | is used to further constrain the set of candidates. | 1536 | is used to further constrain the set of candidates. |
| 1531 | 1537 | ||
| 1532 | If the optional fourth argument HIDE-SPACES is non-nil, | 1538 | If the optional fourth argument HIDE-SPACES is non-nil, |
| 1533 | strings in ALIST that start with a space | 1539 | strings in COLLECTION that start with a space |
| 1534 | are ignored unless STRING itself starts with a space. */) | 1540 | are ignored unless STRING itself starts with a space. */) |
| 1535 | (string, alist, predicate, hide_spaces) | 1541 | (string, collection, predicate, hide_spaces) |
| 1536 | Lisp_Object string, alist, predicate, hide_spaces; | 1542 | Lisp_Object string, collection, predicate, hide_spaces; |
| 1537 | { | 1543 | { |
| 1538 | Lisp_Object tail, elt, eltstring; | 1544 | Lisp_Object tail, elt, eltstring; |
| 1539 | Lisp_Object allmatches; | 1545 | Lisp_Object allmatches; |
| 1540 | int type = HASH_TABLE_P (alist) ? 3 | 1546 | int type = HASH_TABLE_P (collection) ? 3 |
| 1541 | : VECTORP (alist) ? 2 | 1547 | : VECTORP (collection) ? 2 |
| 1542 | : NILP (alist) || (CONSP (alist) | 1548 | : NILP (collection) || (CONSP (collection) |
| 1543 | && (!SYMBOLP (XCAR (alist)) | 1549 | && (!SYMBOLP (XCAR (collection)) |
| 1544 | || NILP (XCAR (alist)))); | 1550 | || NILP (XCAR (collection)))); |
| 1545 | int index = 0, obsize = 0; | 1551 | int index = 0, obsize = 0; |
| 1546 | int bindcount = -1; | 1552 | int bindcount = -1; |
| 1547 | Lisp_Object bucket, tem, zero; | 1553 | Lisp_Object bucket, tem, zero; |
| @@ -1549,16 +1555,16 @@ are ignored unless STRING itself starts with a space. */) | |||
| 1549 | 1555 | ||
| 1550 | CHECK_STRING (string); | 1556 | CHECK_STRING (string); |
| 1551 | if (type == 0) | 1557 | if (type == 0) |
| 1552 | return call3 (alist, string, predicate, Qt); | 1558 | return call3 (collection, string, predicate, Qt); |
| 1553 | allmatches = bucket = Qnil; | 1559 | allmatches = bucket = Qnil; |
| 1554 | zero = make_number (0); | 1560 | zero = make_number (0); |
| 1555 | 1561 | ||
| 1556 | /* If ALIST is not a list, set TAIL just for gc pro. */ | 1562 | /* If COLLECTION is not a list, set TAIL just for gc pro. */ |
| 1557 | tail = alist; | 1563 | tail = collection; |
| 1558 | if (type == 2) | 1564 | if (type == 2) |
| 1559 | { | 1565 | { |
| 1560 | obsize = XVECTOR (alist)->size; | 1566 | obsize = XVECTOR (collection)->size; |
| 1561 | bucket = XVECTOR (alist)->contents[index]; | 1567 | bucket = XVECTOR (collection)->contents[index]; |
| 1562 | } | 1568 | } |
| 1563 | 1569 | ||
| 1564 | while (1) | 1570 | while (1) |
| @@ -1591,19 +1597,19 @@ are ignored unless STRING itself starts with a space. */) | |||
| 1591 | break; | 1597 | break; |
| 1592 | else | 1598 | else |
| 1593 | { | 1599 | { |
| 1594 | bucket = XVECTOR (alist)->contents[index]; | 1600 | bucket = XVECTOR (collection)->contents[index]; |
| 1595 | continue; | 1601 | continue; |
| 1596 | } | 1602 | } |
| 1597 | } | 1603 | } |
| 1598 | else /* if (type == 3) */ | 1604 | else /* if (type == 3) */ |
| 1599 | { | 1605 | { |
| 1600 | while (index < HASH_TABLE_SIZE (XHASH_TABLE (alist)) | 1606 | while (index < HASH_TABLE_SIZE (XHASH_TABLE (collection)) |
| 1601 | && NILP (HASH_HASH (XHASH_TABLE (alist), index))) | 1607 | && NILP (HASH_HASH (XHASH_TABLE (collection), index))) |
| 1602 | index++; | 1608 | index++; |
| 1603 | if (index >= HASH_TABLE_SIZE (XHASH_TABLE (alist))) | 1609 | if (index >= HASH_TABLE_SIZE (XHASH_TABLE (collection))) |
| 1604 | break; | 1610 | break; |
| 1605 | else | 1611 | else |
| 1606 | elt = eltstring = HASH_KEY (XHASH_TABLE (alist), index++); | 1612 | elt = eltstring = HASH_KEY (XHASH_TABLE (collection), index++); |
| 1607 | } | 1613 | } |
| 1608 | 1614 | ||
| 1609 | /* Is this element a possible completion? */ | 1615 | /* Is this element a possible completion? */ |
| @@ -1665,7 +1671,7 @@ are ignored unless STRING itself starts with a space. */) | |||
| 1665 | GCPRO4 (tail, eltstring, allmatches, string); | 1671 | GCPRO4 (tail, eltstring, allmatches, string); |
| 1666 | tem = type == 3 | 1672 | tem = type == 3 |
| 1667 | ? call2 (predicate, elt, | 1673 | ? call2 (predicate, elt, |
| 1668 | HASH_VALUE (XHASH_TABLE (alist), index - 1)) | 1674 | HASH_VALUE (XHASH_TABLE (collection), index - 1)) |
| 1669 | : call1 (predicate, elt); | 1675 | : call1 (predicate, elt); |
| 1670 | UNGCPRO; | 1676 | UNGCPRO; |
| 1671 | } | 1677 | } |
| @@ -1692,14 +1698,14 @@ Lisp_Object Vminibuffer_completing_file_name; | |||
| 1692 | DEFUN ("completing-read", Fcompleting_read, Scompleting_read, 2, 8, 0, | 1698 | DEFUN ("completing-read", Fcompleting_read, Scompleting_read, 2, 8, 0, |
| 1693 | doc: /* Read a string in the minibuffer, with completion. | 1699 | doc: /* Read a string in the minibuffer, with completion. |
| 1694 | PROMPT is a string to prompt with; normally it ends in a colon and a space. | 1700 | PROMPT is a string to prompt with; normally it ends in a colon and a space. |
| 1695 | TABLE can be a list of strings, an alist, an obarray or a hash table. | 1701 | COLLECTION can be a list of strings, an alist, an obarray or a hash table. |
| 1696 | TABLE can also be a function to do the completion itself. | 1702 | COLLECTION can also be a function to do the completion itself. |
| 1697 | PREDICATE limits completion to a subset of TABLE. | 1703 | PREDICATE limits completion to a subset of COLLECTION. |
| 1698 | See `try-completion' and `all-completions' for more details | 1704 | See `try-completion' and `all-completions' for more details |
| 1699 | on completion, TABLE, and PREDICATE. | 1705 | on completion, COLLECTION, and PREDICATE. |
| 1700 | 1706 | ||
| 1701 | If REQUIRE-MATCH is non-nil, the user is not allowed to exit unless | 1707 | If REQUIRE-MATCH is non-nil, the user is not allowed to exit unless |
| 1702 | the input is (or completes to) an element of TABLE or is null. | 1708 | the input is (or completes to) an element of COLLECTION or is null. |
| 1703 | If it is also not t, typing RET does not exit if it does non-null completion. | 1709 | If it is also not t, typing RET does not exit if it does non-null completion. |
| 1704 | If the input is null, `completing-read' returns DEF, or an empty string | 1710 | If the input is null, `completing-read' returns DEF, or an empty string |
| 1705 | if DEF is nil, regardless of the value of REQUIRE-MATCH. | 1711 | if DEF is nil, regardless of the value of REQUIRE-MATCH. |
| @@ -1733,8 +1739,8 @@ If INHERIT-INPUT-METHOD is non-nil, the minibuffer inherits | |||
| 1733 | 1739 | ||
| 1734 | Completion ignores case if the ambient value of | 1740 | Completion ignores case if the ambient value of |
| 1735 | `completion-ignore-case' is non-nil. */) | 1741 | `completion-ignore-case' is non-nil. */) |
| 1736 | (prompt, table, predicate, require_match, initial_input, hist, def, inherit_input_method) | 1742 | (prompt, collection, predicate, require_match, initial_input, hist, def, inherit_input_method) |
| 1737 | Lisp_Object prompt, table, predicate, require_match, initial_input; | 1743 | Lisp_Object prompt, collection, predicate, require_match, initial_input; |
| 1738 | Lisp_Object hist, def, inherit_input_method; | 1744 | Lisp_Object hist, def, inherit_input_method; |
| 1739 | { | 1745 | { |
| 1740 | Lisp_Object val, histvar, histpos, position; | 1746 | Lisp_Object val, histvar, histpos, position; |
| @@ -1746,7 +1752,7 @@ Completion ignores case if the ambient value of | |||
| 1746 | init = initial_input; | 1752 | init = initial_input; |
| 1747 | GCPRO1 (def); | 1753 | GCPRO1 (def); |
| 1748 | 1754 | ||
| 1749 | specbind (Qminibuffer_completion_table, table); | 1755 | specbind (Qminibuffer_completion_table, collection); |
| 1750 | specbind (Qminibuffer_completion_predicate, predicate); | 1756 | specbind (Qminibuffer_completion_predicate, predicate); |
| 1751 | specbind (Qminibuffer_completion_confirm, | 1757 | specbind (Qminibuffer_completion_confirm, |
| 1752 | EQ (require_match, Qt) ? Qnil : require_match); | 1758 | EQ (require_match, Qt) ? Qnil : require_match); |
| @@ -1808,27 +1814,28 @@ Lisp_Object Fassoc_string (); | |||
| 1808 | DEFUN ("test-completion", Ftest_completion, Stest_completion, 2, 3, 0, | 1814 | DEFUN ("test-completion", Ftest_completion, Stest_completion, 2, 3, 0, |
| 1809 | doc: /* Return non-nil if STRING is a valid completion. | 1815 | doc: /* Return non-nil if STRING is a valid completion. |
| 1810 | Takes the same arguments as `all-completions' and `try-completion'. | 1816 | Takes the same arguments as `all-completions' and `try-completion'. |
| 1811 | If ALIST is a function, it is called with three arguments: | 1817 | If COLLECTION is a function, it is called with three arguments: |
| 1812 | the values STRING, PREDICATE and `lambda'. */) | 1818 | the values STRING, PREDICATE and `lambda'. */) |
| 1813 | (string, alist, predicate) | 1819 | (string, collection, predicate) |
| 1814 | Lisp_Object string, alist, predicate; | 1820 | Lisp_Object string, collection, predicate; |
| 1815 | { | 1821 | { |
| 1816 | Lisp_Object regexps, tail, tem = Qnil; | 1822 | Lisp_Object regexps, tail, tem = Qnil; |
| 1817 | int i = 0; | 1823 | int i = 0; |
| 1818 | 1824 | ||
| 1819 | CHECK_STRING (string); | 1825 | CHECK_STRING (string); |
| 1820 | 1826 | ||
| 1821 | if ((CONSP (alist) && (!SYMBOLP (XCAR (alist)) || NILP (XCAR (alist)))) | 1827 | if ((CONSP (collection) |
| 1822 | || NILP (alist)) | 1828 | && (!SYMBOLP (XCAR (collection)) || NILP (XCAR (collection)))) |
| 1829 | || NILP (collection)) | ||
| 1823 | { | 1830 | { |
| 1824 | tem = Fassoc_string (string, alist, completion_ignore_case ? Qt : Qnil); | 1831 | tem = Fassoc_string (string, collection, completion_ignore_case ? Qt : Qnil); |
| 1825 | if (NILP (tem)) | 1832 | if (NILP (tem)) |
| 1826 | return Qnil; | 1833 | return Qnil; |
| 1827 | } | 1834 | } |
| 1828 | else if (VECTORP (alist)) | 1835 | else if (VECTORP (collection)) |
| 1829 | { | 1836 | { |
| 1830 | /* Bypass intern-soft as that loses for nil. */ | 1837 | /* Bypass intern-soft as that loses for nil. */ |
| 1831 | tem = oblookup (alist, | 1838 | tem = oblookup (collection, |
| 1832 | SDATA (string), | 1839 | SDATA (string), |
| 1833 | SCHARS (string), | 1840 | SCHARS (string), |
| 1834 | SBYTES (string)); | 1841 | SBYTES (string)); |
| @@ -1839,7 +1846,7 @@ the values STRING, PREDICATE and `lambda'. */) | |||
| 1839 | else | 1846 | else |
| 1840 | string = Fstring_make_multibyte (string); | 1847 | string = Fstring_make_multibyte (string); |
| 1841 | 1848 | ||
| 1842 | tem = oblookup (alist, | 1849 | tem = oblookup (collection, |
| 1843 | SDATA (string), | 1850 | SDATA (string), |
| 1844 | SCHARS (string), | 1851 | SCHARS (string), |
| 1845 | SBYTES (string)); | 1852 | SBYTES (string)); |
| @@ -1847,9 +1854,9 @@ the values STRING, PREDICATE and `lambda'. */) | |||
| 1847 | 1854 | ||
| 1848 | if (completion_ignore_case && !SYMBOLP (tem)) | 1855 | if (completion_ignore_case && !SYMBOLP (tem)) |
| 1849 | { | 1856 | { |
| 1850 | for (i = XVECTOR (alist)->size - 1; i >= 0; i--) | 1857 | for (i = XVECTOR (collection)->size - 1; i >= 0; i--) |
| 1851 | { | 1858 | { |
| 1852 | tail = XVECTOR (alist)->contents[i]; | 1859 | tail = XVECTOR (collection)->contents[i]; |
| 1853 | if (SYMBOLP (tail)) | 1860 | if (SYMBOLP (tail)) |
| 1854 | while (1) | 1861 | while (1) |
| 1855 | { | 1862 | { |
| @@ -1871,9 +1878,9 @@ the values STRING, PREDICATE and `lambda'. */) | |||
| 1871 | if (!SYMBOLP (tem)) | 1878 | if (!SYMBOLP (tem)) |
| 1872 | return Qnil; | 1879 | return Qnil; |
| 1873 | } | 1880 | } |
| 1874 | else if (HASH_TABLE_P (alist)) | 1881 | else if (HASH_TABLE_P (collection)) |
| 1875 | { | 1882 | { |
| 1876 | struct Lisp_Hash_Table *h = XHASH_TABLE (alist); | 1883 | struct Lisp_Hash_Table *h = XHASH_TABLE (collection); |
| 1877 | i = hash_lookup (h, string, NULL); | 1884 | i = hash_lookup (h, string, NULL); |
| 1878 | if (i >= 0) | 1885 | if (i >= 0) |
| 1879 | tem = HASH_KEY (h, i); | 1886 | tem = HASH_KEY (h, i); |
| @@ -1892,7 +1899,7 @@ the values STRING, PREDICATE and `lambda'. */) | |||
| 1892 | return Qnil; | 1899 | return Qnil; |
| 1893 | } | 1900 | } |
| 1894 | else | 1901 | else |
| 1895 | return call3 (alist, string, predicate, Qlambda); | 1902 | return call3 (collection, string, predicate, Qlambda); |
| 1896 | 1903 | ||
| 1897 | /* Reject this element if it fails to match all the regexps. */ | 1904 | /* Reject this element if it fails to match all the regexps. */ |
| 1898 | if (CONSP (Vcompletion_regexp_list)) | 1905 | if (CONSP (Vcompletion_regexp_list)) |
| @@ -1913,8 +1920,8 @@ the values STRING, PREDICATE and `lambda'. */) | |||
| 1913 | /* Finally, check the predicate. */ | 1920 | /* Finally, check the predicate. */ |
| 1914 | if (!NILP (predicate)) | 1921 | if (!NILP (predicate)) |
| 1915 | { | 1922 | { |
| 1916 | return HASH_TABLE_P (alist) | 1923 | return HASH_TABLE_P (collection) |
| 1917 | ? call2 (predicate, tem, HASH_VALUE (XHASH_TABLE (alist), i)) | 1924 | ? call2 (predicate, tem, HASH_VALUE (XHASH_TABLE (collection), i)) |
| 1918 | : call1 (predicate, tem); | 1925 | : call1 (predicate, tem); |
| 1919 | } | 1926 | } |
| 1920 | else | 1927 | else |
diff --git a/src/mktime.c b/src/mktime.c index a85ebeb3783..20c1092a62a 100644 --- a/src/mktime.c +++ b/src/mktime.c | |||
| @@ -1,6 +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, 1994, 1995, 1996, 1997, 1998, 1999, 2002, 2003, 2004, | 2 | Copyright (C) 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2001, 2002, 2003, |
| 3 | 2005, 2006 Free Software Foundation, Inc. | 3 | 2004, 2005, 2006, 2007 Free Software Foundation, Inc. |
| 4 | Contributed by Paul Eggert (eggert@twinsun.com). | 4 | Contributed by Paul Eggert (eggert@twinsun.com). |
| 5 | 5 | ||
| 6 | 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 6413fed0014..f9ce739fd5b 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, 1994, 1995, 1996, 1997, 1999, 2000, 2001, 2002, | 2 | Copyright (C) 1993, 1994, 1995, 1996, 1997, 1999, 2000, 2001, 2002, |
| 3 | 2003, 2004, 2005, 2006 Free Software Foundation, Inc. | 3 | 2003, 2004, 2005, 2006, 2007 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 cbe65818867..7a6d2e64ca0 100644 --- a/src/msdos.h +++ b/src/msdos.h | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | /* MS-DOS specific C utilities, interface. | 1 | /* MS-DOS specific C utilities, interface. |
| 2 | Copyright (C) 1993, 2001, 2002, 2003, 2004, | 2 | Copyright (C) 1993, 2001, 2002, 2003, 2004, |
| 3 | 2005, 2006 Free Software Foundation, Inc. | 3 | 2005, 2006, 2007 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/prefix-args.c b/src/prefix-args.c index ad634585168..1fead09247d 100644 --- a/src/prefix-args.c +++ b/src/prefix-args.c | |||
| @@ -1,6 +1,6 @@ | |||
| 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, 2002, 2003, 2004, 2005, | 2 | Copyright (C) 1992, 2001, 2002, 2003, 2004, 2005, |
| 3 | 2006 Free Software Foundation, Inc. | 3 | 2006, 2007 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/print.c b/src/print.c index 5d650813458..883daa55e2b 100644 --- a/src/print.c +++ b/src/print.c | |||
| @@ -1,7 +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, | 2 | Copyright (C) 1985, 1986, 1988, 1993, 1994, 1995, 1997, |
| 3 | 1998, 1999, 2000, 2001, 2002, 2003, 2004, | 3 | 1998, 1999, 2000, 2001, 2002, 2003, 2004, |
| 4 | 2005, 2006 Free Software Foundation, Inc. | 4 | 2005, 2006, 2007 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/process.c b/src/process.c index f6dad808ffe..38a5c8341cf 100644 --- a/src/process.c +++ b/src/process.c | |||
| @@ -1,7 +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, | 2 | Copyright (C) 1985, 1986, 1987, 1988, 1993, 1994, 1995, |
| 3 | 1996, 1998, 1999, 2001, 2002, 2003, 2004, | 3 | 1996, 1998, 1999, 2001, 2002, 2003, 2004, |
| 4 | 2005, 2006 Free Software Foundation, Inc. | 4 | 2005, 2006, 2007 Free Software Foundation, Inc. |
| 5 | 5 | ||
| 6 | This file is part of GNU Emacs. | 6 | This file is part of GNU Emacs. |
| 7 | 7 | ||
| @@ -815,9 +815,12 @@ nil, indicating the current buffer's process. */) | |||
| 815 | { | 815 | { |
| 816 | #ifdef SIGCHLD | 816 | #ifdef SIGCHLD |
| 817 | Lisp_Object symbol; | 817 | Lisp_Object symbol; |
| 818 | /* Assignment to EMACS_INT stops GCC whining about limited range | ||
| 819 | of data type. */ | ||
| 820 | EMACS_INT pid = p->pid;; | ||
| 818 | 821 | ||
| 819 | /* No problem storing the pid here, as it is still in Vprocess_alist. */ | 822 | /* No problem storing the pid here, as it is still in Vprocess_alist. */ |
| 820 | deleted_pid_list = Fcons (make_fixnum_or_float (p->pid), | 823 | deleted_pid_list = Fcons (make_fixnum_or_float (pid), |
| 821 | /* GC treated elements set to nil. */ | 824 | /* GC treated elements set to nil. */ |
| 822 | Fdelq (Qnil, deleted_pid_list)); | 825 | Fdelq (Qnil, deleted_pid_list)); |
| 823 | /* If the process has already signaled, remove it from the list. */ | 826 | /* If the process has already signaled, remove it from the list. */ |
| @@ -827,7 +830,7 @@ nil, indicating the current buffer's process. */) | |||
| 827 | if (CONSP (p->status)) | 830 | if (CONSP (p->status)) |
| 828 | symbol = XCAR (p->status); | 831 | symbol = XCAR (p->status); |
| 829 | if (EQ (symbol, Qsignal) || EQ (symbol, Qexit)) | 832 | if (EQ (symbol, Qsignal) || EQ (symbol, Qexit)) |
| 830 | Fdelete (make_fixnum_or_float (p->pid), deleted_pid_list); | 833 | Fdelete (make_fixnum_or_float (pid), deleted_pid_list); |
| 831 | else | 834 | else |
| 832 | #endif | 835 | #endif |
| 833 | { | 836 | { |
| @@ -912,10 +915,13 @@ For a network connection, this value is nil. */) | |||
| 912 | (process) | 915 | (process) |
| 913 | register Lisp_Object process; | 916 | register Lisp_Object process; |
| 914 | { | 917 | { |
| 918 | /* Assignment to EMACS_INT stops GCC whining about limited range of | ||
| 919 | data type. */ | ||
| 920 | EMACS_INT pid; | ||
| 921 | |||
| 915 | CHECK_PROCESS (process); | 922 | CHECK_PROCESS (process); |
| 916 | return (XPROCESS (process)->pid | 923 | pid = XPROCESS (process)->pid; |
| 917 | ? make_fixnum_or_float (XPROCESS (process)->pid) | 924 | return (pid ? make_fixnum_or_float (pid) : Qnil); |
| 918 | : Qnil); | ||
| 919 | } | 925 | } |
| 920 | 926 | ||
| 921 | DEFUN ("process-name", Fprocess_name, Sprocess_name, 1, 1, 0, | 927 | DEFUN ("process-name", Fprocess_name, Sprocess_name, 1, 1, 0, |
| @@ -6410,7 +6416,7 @@ sigchld_handler (signo) | |||
| 6410 | 6416 | ||
| 6411 | while (1) | 6417 | while (1) |
| 6412 | { | 6418 | { |
| 6413 | register int pid; | 6419 | register EMACS_INT pid; |
| 6414 | WAITTYPE w; | 6420 | WAITTYPE w; |
| 6415 | Lisp_Object tail; | 6421 | Lisp_Object tail; |
| 6416 | 6422 | ||
diff --git a/src/process.h b/src/process.h index fcf8d9b6c1f..718d2a70ea8 100644 --- a/src/process.h +++ b/src/process.h | |||
| @@ -1,6 +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, 2002, 2003, 2004, | 2 | Copyright (C) 1985, 1994, 2001, 2002, 2003, 2004, |
| 3 | 2005, 2006 Free Software Foundation, Inc. | 3 | 2005, 2006, 2007 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/puresize.h b/src/puresize.h index bd8d74f4df6..733d63e5ca6 100644 --- a/src/puresize.h +++ b/src/puresize.h | |||
| @@ -1,6 +1,6 @@ | |||
| 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, 2003, 2004, 2005, | 2 | Copyright (C) 1993, 2001, 2002, 2003, 2004, 2005, |
| 3 | 2006 Free Software Foundation, Inc. | 3 | 2006, 2007 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/ralloc.c b/src/ralloc.c index 83a26dd35d6..7b319556117 100644 --- a/src/ralloc.c +++ b/src/ralloc.c | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | /* Block-relocating memory allocator. | 1 | /* Block-relocating memory allocator. |
| 2 | Copyright (C) 1993, 1995, 2000, 2002, 2003, 2004, | 2 | Copyright (C) 1993, 1995, 2000, 2001, 2002, 2003, 2004, |
| 3 | 2005, 2006 Free Software Foundation, Inc. | 3 | 2005, 2006, 2007 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/regex.c b/src/regex.c index b1307743f0f..7784a3ae616 100644 --- a/src/regex.c +++ b/src/regex.c | |||
| @@ -3,7 +3,7 @@ | |||
| 3 | internationalization features.) | 3 | internationalization features.) |
| 4 | 4 | ||
| 5 | Copyright (C) 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, | 5 | Copyright (C) 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, |
| 6 | 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. | 6 | 2002, 2003, 2004, 2005, 2006, 2007 Free Software Foundation, Inc. |
| 7 | 7 | ||
| 8 | 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 |
| 9 | 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 14817c35e90..dd57ba36f57 100644 --- a/src/regex.h +++ b/src/regex.h | |||
| @@ -1,8 +1,9 @@ | |||
| 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, 1989, 1990, 1991, 1992, 1993, 1995, 2000, 2002, | 4 | Copyright (C) 1985, 1989, 1990, 1991, 1992, 1993, 1995, 2000, 2001, |
| 5 | 2003, 2004, 2005, 2006 Free Software Foundation, Inc. | 5 | 2002, 2003, 2004, 2005, 2006, 2007 |
| 6 | 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/region-cache.c b/src/region-cache.c index cedb0017da0..f30e00470f7 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, 2002, 2003, 2004, | 2 | Copyright (C) 1985, 1986, 1987, 1988, 1989, 1993, 1995, 2001, 2002, 2003, |
| 3 | 2005, 2006 Free Software Foundation, Inc. | 3 | 2004, 2005, 2006, 2007 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 40e68084cce..27176d80dbc 100644 --- a/src/region-cache.h +++ b/src/region-cache.h | |||
| @@ -1,6 +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, 2002, 2003, 2004, | 2 | Copyright (C) 1985, 1986, 1993, 1995, 2001, 2002, 2003, 2004, |
| 3 | 2005, 2006 Free Software Foundation, Inc. | 3 | 2005, 2006, 2007 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/aix3-1.h b/src/s/aix3-1.h index f77a209f0d2..204baa40f07 100644 --- a/src/s/aix3-1.h +++ b/src/s/aix3-1.h | |||
| @@ -1,6 +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, 2002, 2003, 2004, | 2 | Copyright (C) 1985, 1986, 1990, 1999, 2001, 2002, 2003, 2004, |
| 3 | 2005, 2006 Free Software Foundation, Inc. | 3 | 2005, 2006, 2007 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/bsd4-1.h b/src/s/bsd4-1.h index 3e6a44f1fab..2b11ba2302f 100644 --- a/src/s/bsd4-1.h +++ b/src/s/bsd4-1.h | |||
| @@ -1,6 +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, 2002, 2003, 2004, | 2 | Copyright (C) 1985, 1986, 1999, 2001, 2002, 2003, 2004, |
| 3 | 2005, 2006 Free Software Foundation, Inc. | 3 | 2005, 2006, 2007 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/bsd4-2.h b/src/s/bsd4-2.h index ace519c0d74..40c655bea87 100644 --- a/src/s/bsd4-2.h +++ b/src/s/bsd4-2.h | |||
| @@ -1,6 +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, 2002, 2003, 2004, | 2 | Copyright (C) 1985, 1986, 1994, 2001, 2002, 2003, 2004, |
| 3 | 2005, 2006 Free Software Foundation, Inc. | 3 | 2005, 2006, 2007 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/bsd4-3.h b/src/s/bsd4-3.h index 483effe71c1..249cf34f41b 100644 --- a/src/s/bsd4-3.h +++ b/src/s/bsd4-3.h | |||
| @@ -1,6 +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, 2002, 2003, 2004, | 2 | Copyright (C) 1985, 1986, 2001, 2002, 2003, 2004, |
| 3 | 2005, 2006 Free Software Foundation, Inc. | 3 | 2005, 2006, 2007 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/cxux.h b/src/s/cxux.h index 3c4ffcd24a2..daed2fc85d8 100644 --- a/src/s/cxux.h +++ b/src/s/cxux.h | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | /* Header file for Harris CXUX. | 1 | /* Header file for Harris CXUX. |
| 2 | Copyright (C) 1994, 2002, 2003, 2004, 2005, | 2 | Copyright (C) 1994, 2001, 2002, 2003, 2004, 2005, |
| 3 | 2006 Free Software Foundation, Inc. | 3 | 2006, 2007 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/cygwin.h b/src/s/cygwin.h index 749d1a38e3e..eff48e339cb 100644 --- a/src/s/cygwin.h +++ b/src/s/cygwin.h | |||
| @@ -2,7 +2,7 @@ | |||
| 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, 2002, 2003, 2004, | 4 | Copyright (C) 1985, 1986, 1992, 1999, 2002, 2003, 2004, |
| 5 | 2005, 2006 Free Software Foundation, Inc. | 5 | 2005, 2006, 2007 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/darwin.h b/src/s/darwin.h index 91975cd441b..7175ea5457c 100644 --- a/src/s/darwin.h +++ b/src/s/darwin.h | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | /* System description header file for Darwin (Mac OS X). | 1 | /* System description header file for Darwin (Mac OS X). |
| 2 | Copyright (C) 2001, 2002, 2003, 2004, 2005, | 2 | Copyright (C) 2001, 2002, 2003, 2004, 2005, |
| 3 | 2006 Free Software Foundation, Inc. | 3 | 2006, 2007 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/dgux.h b/src/s/dgux.h index d48d95709c8..62194a2fc6e 100644 --- a/src/s/dgux.h +++ b/src/s/dgux.h | |||
| @@ -1,7 +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, 2002, 2003, 2004, | 3 | Copyright (C) 1994, 1999, 2001, 2002, 2003, 2004, |
| 4 | 2005, 2006 Free Software Foundation, Inc. | 4 | 2005, 2006, 2007 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/s/dgux4.h b/src/s/dgux4.h index ee24cd65b50..01d75650e6f 100644 --- a/src/s/dgux4.h +++ b/src/s/dgux4.h | |||
| @@ -1,7 +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 | Release 4.10 and above. | 2 | Release 4.10 and above. |
| 3 | Copyright (C) 1996, 2002, 2003, 2004, 2005, | 3 | Copyright (C) 1996, 2001, 2002, 2003, 2004, 2005, |
| 4 | 2006 Free Software Foundation, Inc. | 4 | 2006, 2007 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/s/dgux5-4-3.h b/src/s/dgux5-4-3.h index d0f6d4f43e8..c9f471af05a 100644 --- a/src/s/dgux5-4-3.h +++ b/src/s/dgux5-4-3.h | |||
| @@ -1,7 +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 5.4 Release 3.00 and above. | 2 | version 5.4 Release 3.00 and above. |
| 3 | Copyright (C) 1994, 2002, 2003, 2004, 2005, | 3 | Copyright (C) 1994, 2001, 2002, 2003, 2004, 2005, |
| 4 | 2006 Free Software Foundation, Inc. | 4 | 2006, 2007 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/s/dgux5-4r2.h b/src/s/dgux5-4r2.h index be0ba73b4e0..fef2da7d29d 100644 --- a/src/s/dgux5-4r2.h +++ b/src/s/dgux5-4r2.h | |||
| @@ -1,7 +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 | 5.4 Release 2.xx systems. | 2 | 5.4 Release 2.xx systems. |
| 3 | Copyright (C) 1994, 2002, 2003, 2004, 2005, | 3 | Copyright (C) 1994, 2001, 2002, 2003, 2004, 2005, |
| 4 | 2006 Free Software Foundation, Inc. | 4 | 2006, 2007 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/s/freebsd.h b/src/s/freebsd.h index 78f314700b3..3adca71bebc 100644 --- a/src/s/freebsd.h +++ b/src/s/freebsd.h | |||
| @@ -2,7 +2,7 @@ | |||
| 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, 2002, | 4 | Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, |
| 5 | 2003, 2004, 2005, 2006 Free Software Foundation, Inc. | 5 | 2003, 2004, 2005, 2006, 2007 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 7116d24c718..24a37f964db 100644 --- a/src/s/gnu-linux.h +++ b/src/s/gnu-linux.h | |||
| @@ -1,6 +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, 1986, 1992, 1994, 1996, 1999, 2002, 2003, 2004, | 2 | Copyright (C) 1985, 1986, 1992, 1994, 1996, 1999, 2001, 2002, 2003, 2004, |
| 3 | 2005, 2006 Free Software Foundation, Inc. | 3 | 2005, 2006, 2007 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/gnu.h b/src/s/gnu.h index 71f1dd34a5e..c4f1a798d9e 100644 --- a/src/s/gnu.h +++ b/src/s/gnu.h | |||
| @@ -1,6 +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, 2002, 2003, 2004, | 2 | Copyright (C) 1994, 1995, 1996, 2001, 2002, 2003, 2004, |
| 3 | 2005, 2006 Free Software Foundation, Inc. | 3 | 2005, 2006, 2007 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/hpux.h b/src/s/hpux.h index b8f9c62a893..c0419fbad46 100644 --- a/src/s/hpux.h +++ b/src/s/hpux.h | |||
| @@ -1,7 +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, 2002, 2003, 2004, | 3 | Copyright (C) 1985, 1986, 1999, 2001, 2002, 2003, 2004, |
| 4 | 2005, 2006 Free Software Foundation, Inc. | 4 | 2005, 2006, 2007 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/s/iris3-5.h b/src/s/iris3-5.h index 6b0009c1c38..abbd945ab2f 100644 --- a/src/s/iris3-5.h +++ b/src/s/iris3-5.h | |||
| @@ -1,6 +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, 2002, 2003, 2004, | 2 | Copyright (C) 1987, 1999, 2001, 2002, 2003, 2004, |
| 3 | 2005, 2006 Free Software Foundation, Inc. | 3 | 2005, 2006, 2007 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/iris3-6.h b/src/s/iris3-6.h index d0c68bd89cb..192118eeca7 100644 --- a/src/s/iris3-6.h +++ b/src/s/iris3-6.h | |||
| @@ -1,6 +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, 2002, 2003, 2004, | 2 | Copyright (C) 1987, 1999, 2001, 2002, 2003, 2004, |
| 3 | 2005, 2006 Free Software Foundation, Inc. | 3 | 2005, 2006, 2007 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/irix3-3.h b/src/s/irix3-3.h index a65242179a9..1512077fe49 100644 --- a/src/s/irix3-3.h +++ b/src/s/irix3-3.h | |||
| @@ -1,6 +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, 2002, 2003, 2004, | 2 | Copyright (C) 1987, 1990, 1999, 2001, 2002, 2003, 2004, |
| 3 | 2005, 2006 Free Software Foundation, Inc. | 3 | 2005, 2006, 2007 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/lynxos.h b/src/s/lynxos.h index b822bad3691..faa036037f5 100644 --- a/src/s/lynxos.h +++ b/src/s/lynxos.h | |||
| @@ -1,6 +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, 2002, 2003, 2004, | 2 | Copyright (C) 2000, 2001, 2002, 2003, 2004, |
| 3 | 2005, 2006 Free Software Foundation, Inc. | 3 | 2005, 2006, 2007 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/ms-w32.h b/src/s/ms-w32.h index 06b1f8960f0..ad699dff035 100644 --- a/src/s/ms-w32.h +++ b/src/s/ms-w32.h | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | /* System description file for Windows NT. | 1 | /* System description file for Windows NT. |
| 2 | Copyright (C) 1993, 1994, 1995, 2002, 2003, 2004, | 2 | Copyright (C) 1993, 1994, 1995, 2001, 2002, 2003, 2004, |
| 3 | 2005, 2006 Free Software Foundation, Inc. | 3 | 2005, 2006, 2007 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/msdos.h b/src/s/msdos.h index 966384ee352..0bb5a678ae3 100644 --- a/src/s/msdos.h +++ b/src/s/msdos.h | |||
| @@ -1,7 +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, 2002, 2003, 2004, | 3 | Copyright (C) 1993, 1996, 1997, 2001, 2002, 2003, 2004, |
| 4 | 2005, 2006 Free Software Foundation, Inc. | 4 | 2005, 2006, 2007 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/s/newsos5.h b/src/s/newsos5.h index 0b441d74e24..b548a47ffbe 100644 --- a/src/s/newsos5.h +++ b/src/s/newsos5.h | |||
| @@ -1,6 +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, 2002, 2003, 2004, | 2 | Copyright (C) 1992, 1994, 2001, 2002, 2003, 2004, |
| 3 | 2005, 2006 Free Software Foundation, Inc. | 3 | 2005, 2006, 2007 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/nextstep.h b/src/s/nextstep.h index 8ea45e16e6e..2923712d929 100644 --- a/src/s/nextstep.h +++ b/src/s/nextstep.h | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | /* Configuration file for the NeXTstep system. | 1 | /* Configuration file for the NeXTstep system. |
| 2 | Copyright (C) 1990, 1995, 2002, 2003, 2004, | 2 | Copyright (C) 1990, 1995, 2001, 2002, 2003, 2004, |
| 3 | 2005, 2006 Free Software Foundation, Inc. | 3 | 2005, 2006, 2007 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/ptx.h b/src/s/ptx.h index 319bbc049f2..edbbe5b2ac4 100644 --- a/src/s/ptx.h +++ b/src/s/ptx.h | |||
| @@ -1,6 +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, 2002, 2003, 2004, | 2 | Copyright (C) 1987, 1990, 1999, 2001, 2002, 2003, 2004, |
| 3 | 2005, 2006 Free Software Foundation, Inc. | 3 | 2005, 2006, 2007 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/riscix1-1.h b/src/s/riscix1-1.h index d6281d256b6..682ba06720a 100644 --- a/src/s/riscix1-1.h +++ b/src/s/riscix1-1.h | |||
| @@ -1,6 +1,6 @@ | |||
| 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, 2002, 2003, 2004, 2005, | 2 | Copyright (C) 1994, 2001, 2002, 2003, 2004, 2005, |
| 3 | 2006 Free Software Foundation, Inc. | 3 | 2006, 2007 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/riscix12.h b/src/s/riscix12.h index a4811877070..d082e442810 100644 --- a/src/s/riscix12.h +++ b/src/s/riscix12.h | |||
| @@ -1,6 +1,6 @@ | |||
| 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, 2002, 2003, 2004, 2005, | 2 | Copyright (C) 1994, 2001, 2002, 2003, 2004, 2005, |
| 3 | 2006 Free Software Foundation, Inc. | 3 | 2006, 2007 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/rtu.h b/src/s/rtu.h index 2a9df14a14c..1517165877b 100644 --- a/src/s/rtu.h +++ b/src/s/rtu.h | |||
| @@ -1,6 +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, 2002, 2003, 2004, | 2 | Copyright (C) 1986, 1999, 2001, 2002, 2003, 2004, |
| 3 | 2005, 2006 Free Software Foundation, Inc. | 3 | 2005, 2006, 2007 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/sco4.h b/src/s/sco4.h index 0eda0a3f728..96e812ce0e4 100644 --- a/src/s/sco4.h +++ b/src/s/sco4.h | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | /* System description file for SCO 3.2v4. | 1 | /* System description file for SCO 3.2v4. |
| 2 | Copyright (C) 1993, 1994, 2002, 2003, 2004, | 2 | Copyright (C) 1993, 1994, 2001, 2002, 2003, 2004, |
| 3 | 2005, 2006 Free Software Foundation, Inc. | 3 | 2005, 2006, 2007 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/sco5.h b/src/s/sco5.h index 06166f32fd9..6ab7b60e466 100644 --- a/src/s/sco5.h +++ b/src/s/sco5.h | |||
| @@ -1,5 +1,6 @@ | |||
| 1 | /* System description file for SCO 3.2v5. | 1 | /* System description file for SCO 3.2v5. |
| 2 | Copyright (C) 1996, 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. | 2 | Copyright (C) 1996, 2001, 2002, 2003, 2004, 2005, 2006, |
| 3 | 2007 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/template.h b/src/s/template.h index 94b3787811f..c16b12971ad 100644 --- a/src/s/template.h +++ b/src/s/template.h | |||
| @@ -1,8 +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, 2002, 2003, 2004, | 4 | Copyright (C) 1985, 1986, 1992, 1999, 2001, 2002, 2003, 2004, |
| 5 | 2005, 2006 Free Software Foundation, Inc. | 5 | 2005, 2006, 2007 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/umax.h b/src/s/umax.h index ae3b98cfcad..5d379ea398a 100644 --- a/src/s/umax.h +++ b/src/s/umax.h | |||
| @@ -1,6 +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, 2002, 2003, 2004, | 2 | Copyright (C) 1985, 1986, 2001, 2002, 2003, 2004, |
| 3 | 2005, 2006 Free Software Foundation, Inc. | 3 | 2005, 2006, 2007 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/unipl5-2.h b/src/s/unipl5-2.h index 096096f9f7a..0d4aba8ea2b 100644 --- a/src/s/unipl5-2.h +++ b/src/s/unipl5-2.h | |||
| @@ -1,6 +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, 2002, 2003, 2004, | 2 | Copyright (C) 1985, 1986, 1999, 2001, 2002, 2003, 2004, |
| 3 | 2005, 2006 Free Software Foundation, Inc. | 3 | 2005, 2006, 2007 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/usg5-0.h b/src/s/usg5-0.h index 94389290726..101e75726ef 100644 --- a/src/s/usg5-0.h +++ b/src/s/usg5-0.h | |||
| @@ -1,6 +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, 2002, 2003, 2004, | 2 | Copyright (C) 1985, 1986, 1999, 2001, 2002, 2003, 2004, |
| 3 | 2005, 2006 Free Software Foundation, Inc. | 3 | 2005, 2006, 2007 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/usg5-2-2.h b/src/s/usg5-2-2.h index a60a985856d..b2c89a1abdc 100644 --- a/src/s/usg5-2-2.h +++ b/src/s/usg5-2-2.h | |||
| @@ -1,6 +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, 2002, 2003, 2004, | 2 | Copyright (C) 1985, 1986, 1999, 2001, 2002, 2003, 2004, |
| 3 | 2005, 2006 Free Software Foundation, Inc. | 3 | 2005, 2006, 2007 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/usg5-2.h b/src/s/usg5-2.h index 7f1fcb92ec5..13a9885fb53 100644 --- a/src/s/usg5-2.h +++ b/src/s/usg5-2.h | |||
| @@ -1,6 +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, 2002, 2003, 2004, | 2 | Copyright (C) 1985, 1986, 1999, 2001, 2002, 2003, 2004, |
| 3 | 2005, 2006 Free Software Foundation, Inc. | 3 | 2005, 2006, 2007 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/usg5-3.h b/src/s/usg5-3.h index 56a448e9dba..0e0a1c84829 100644 --- a/src/s/usg5-3.h +++ b/src/s/usg5-3.h | |||
| @@ -1,6 +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, 2002, 2003, 2004, | 2 | Copyright (C) 1987, 1999, 2001, 2002, 2003, 2004, |
| 3 | 2005, 2006 Free Software Foundation, Inc. | 3 | 2005, 2006, 2007 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/usg5-4.h b/src/s/usg5-4.h index 5e202e3edad..4ca5b6fcabc 100644 --- a/src/s/usg5-4.h +++ b/src/s/usg5-4.h | |||
| @@ -1,6 +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, 2002, 2003, 2004, | 2 | Copyright (C) 1987, 1990, 1999, 2000, 2001, 2002, 2003, 2004, |
| 3 | 2005, 2006 Free Software Foundation, Inc. | 3 | 2005, 2006, 2007 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/vms.h b/src/s/vms.h index 51f3ca1a531..4d9bbaebb07 100644 --- a/src/s/vms.h +++ b/src/s/vms.h | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | /* system description header for VMS | 1 | /* system description header for VMS |
| 2 | Copyright (C) 1986, 2002, 2003, 2004, 2005, | 2 | Copyright (C) 1986, 2001, 2002, 2003, 2004, 2005, |
| 3 | 2006 Free Software Foundation, Inc. | 3 | 2006, 2007 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/xenix.h b/src/s/xenix.h index 09a7b61fcd1..6d77ef50acc 100644 --- a/src/s/xenix.h +++ b/src/s/xenix.h | |||
| @@ -1,6 +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, 2002, 2003, 2004, | 2 | Copyright (C) 1988, 1999, 2001, 2002, 2003, 2004, |
| 3 | 2005, 2006 Free Software Foundation, Inc. | 3 | 2005, 2006, 2007 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/scroll.c b/src/scroll.c index 9b04f47c16b..964e7ba9037 100644 --- a/src/scroll.c +++ b/src/scroll.c | |||
| @@ -1,6 +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, 2002, 2003, 2004, | 2 | Copyright (C) 1985, 1986, 1990, 1993, 1994, 2001, 2002, 2003, 2004, |
| 3 | 2005, 2006 Free Software Foundation, Inc. | 3 | 2005, 2006, 2007 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/search.c b/src/search.c index 3fc3faeda98..abc28619199 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, 1986, 1987, 1993, 1994, 1997, 1998, 1999, 2002, 2003, | 2 | Copyright (C) 1985, 1986, 1987, 1993, 1994, 1997, 1998, 1999, 2001, 2002, |
| 3 | 2004, 2005, 2006 Free Software Foundation, Inc. | 3 | 2003, 2004, 2005, 2006, 2007 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 03da2afa813..510a75d4743 100644 --- a/src/sheap.c +++ b/src/sheap.c | |||
| @@ -1,7 +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, 2005, 2006 Free Software Foundation, Inc. | 4 | Copyright (C) 2004, 2005, 2006, 2007 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/sound.c b/src/sound.c index b6f5ff513ee..7fb79e64048 100644 --- a/src/sound.c +++ b/src/sound.c | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | /* sound.c -- sound support. | 1 | /* sound.c -- sound support. |
| 2 | Copyright (C) 1998, 1999, 2001, 2002, 2003, 2004, | 2 | Copyright (C) 1998, 1999, 2001, 2002, 2003, 2004, |
| 3 | 2005, 2006 Free Software Foundation, Inc. | 3 | 2005, 2006, 2007 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/strftime.c b/src/strftime.c index 88800c0d408..7a9506e55d3 100644 --- a/src/strftime.c +++ b/src/strftime.c | |||
| @@ -1,5 +1,6 @@ | |||
| 1 | /* Copyright (C) 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, | 1 | /* Copyright (C) 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, |
| 2 | 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. | 2 | 2001, 2002, 2003, 2004, 2005, 2006, 2007 |
| 3 | Free Software Foundation, Inc. | ||
| 3 | 4 | ||
| 4 | NOTE: The canonical source of this file is maintained with gnulib. | 5 | NOTE: The canonical source of this file is maintained with gnulib. |
| 5 | Bugs can be reported to bug-gnulib@gnu.org. | 6 | Bugs can be reported to bug-gnulib@gnu.org. |
diff --git a/src/sunfns.c b/src/sunfns.c index 336f02221cf..c532ae7f849 100644 --- a/src/sunfns.c +++ b/src/sunfns.c | |||
| @@ -1,6 +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, 2002, 2003, 2004, | 2 | Copyright (C) 1987, 1999, 2001, 2002, 2003, 2004, |
| 3 | 2005, 2006 Free Software Foundation, Inc. | 3 | 2005, 2006, 2007 Free Software Foundation, Inc. |
| 4 | 4 | ||
| 5 | 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 |
| 6 | 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 52527a0516d..a9e6dda81fe 100644 --- a/src/syntax.c +++ b/src/syntax.c | |||
| @@ -1,6 +1,7 @@ | |||
| 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, 1987, 1993, 1994, 1995, 1997, 1998, 1999, 2002, | 2 | Copyright (C) 1985, 1987, 1993, 1994, 1995, 1997, 1998, 1999, 2001, |
| 3 | 2003, 2004, 2005, 2006 Free Software Foundation, Inc. | 3 | 2002, 2003, 2004, 2005, 2006, 2007 |
| 4 | 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/syntax.h b/src/syntax.h index 92d55967b33..f64aa0e1327 100644 --- a/src/syntax.h +++ b/src/syntax.h | |||
| @@ -1,6 +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, 1993, 1994, 1997, 1998, 2002, 2003, 2004, | 2 | Copyright (C) 1985, 1993, 1994, 1997, 1998, 2001, 2002, 2003, 2004, |
| 3 | 2005, 2006 Free Software Foundation, Inc. | 3 | 2005, 2006, 2007 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/sysdep.c b/src/sysdep.c index 1068c7a1773..87998088753 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 | 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. | 3 | 2002, 2003, 2004, 2005, 2006, 2007 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 ba204dafe3f..d72ff90ac0b 100644 --- a/src/sysselect.h +++ b/src/sysselect.h | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | /* sysselect.h - System-dependent definitions for the select function. | 1 | /* sysselect.h - System-dependent definitions for the select function. |
| 2 | Copyright (C) 1995, 2002, 2003, 2004, 2005, | 2 | Copyright (C) 1995, 2001, 2002, 2003, 2004, 2005, |
| 3 | 2006 Free Software Foundation, Inc. | 3 | 2006, 2007 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/syssignal.h b/src/syssignal.h index ac77759d258..69ff7a41bd1 100644 --- a/src/syssignal.h +++ b/src/syssignal.h | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | /* syssignal.h - System-dependent definitions for signals. | 1 | /* syssignal.h - System-dependent definitions for signals. |
| 2 | Copyright (C) 1993, 1999, 2002, 2003, 2004, | 2 | Copyright (C) 1993, 1999, 2001, 2002, 2003, 2004, |
| 3 | 2005, 2006 Free Software Foundation, Inc. | 3 | 2005, 2006, 2007 Free Software Foundation, Inc. |
| 4 | 4 | ||
| 5 | This file is part of GNU Emacs. | 5 | This file is part of GNU Emacs. |
| 6 | 6 | ||
| @@ -211,7 +211,7 @@ char *strsignal (); | |||
| 211 | #ifdef HAVE_GTK_AND_PTHREAD | 211 | #ifdef HAVE_GTK_AND_PTHREAD |
| 212 | #define SIGNAL_THREAD_CHECK(signo) \ | 212 | #define SIGNAL_THREAD_CHECK(signo) \ |
| 213 | do { \ | 213 | do { \ |
| 214 | if (pthread_self () != main_thread) \ | 214 | if (!pthread_equal (pthread_self (), main_thread)) \ |
| 215 | { \ | 215 | { \ |
| 216 | /* POSIX says any thread can receive the signal. On GNU/Linux \ | 216 | /* POSIX says any thread can receive the signal. On GNU/Linux \ |
| 217 | that is not true, but for other systems (FreeBSD at least) \ | 217 | that is not true, but for other systems (FreeBSD at least) \ |
diff --git a/src/systime.h b/src/systime.h index e7ff2b2a3b7..ac28d883d64 100644 --- a/src/systime.h +++ b/src/systime.h | |||
| @@ -1,6 +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, 2002, 2003, 2004, | 2 | Copyright (C) 1993, 1994, 2002, 2003, 2004, |
| 3 | 2005, 2006 Free Software Foundation, Inc. | 3 | 2005, 2006, 2007 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/systty.h b/src/systty.h index 6d6a6f01ea9..d1eb3b84597 100644 --- a/src/systty.h +++ b/src/systty.h | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | /* systty.h - System-dependent definitions for terminals. | 1 | /* systty.h - System-dependent definitions for terminals. |
| 2 | Copyright (C) 1993, 1994, 2002, 2003, 2004, | 2 | Copyright (C) 1993, 1994, 2001, 2002, 2003, 2004, |
| 3 | 2005, 2006 Free Software Foundation, Inc. | 3 | 2005, 2006, 2007 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/syswait.h b/src/syswait.h index bb4937f353e..e70e992d545 100644 --- a/src/syswait.h +++ b/src/syswait.h | |||
| @@ -1,6 +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, 2002, 2003, 2004, | 2 | Copyright (C) 1993, 1994, 1995, 2000, 2001, 2002, 2003, 2004, |
| 3 | 2005, 2006 Free Software Foundation, Inc. | 3 | 2005, 2006, 2007 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/term.c b/src/term.c index 00c72ea8bee..a12f982844c 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, 1986, 1987, 1993, 1994, 1995, 1998, 2000, 2001, | 2 | Copyright (C) 1985, 1986, 1987, 1993, 1994, 1995, 1998, 2000, 2001, |
| 3 | 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. | 3 | 2002, 2003, 2004, 2005, 2006, 2007 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/termcap.c b/src/termcap.c index dee5465ebf9..111565131b5 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, 1986, 1993, 1994, 1995, 2000, 2001, 2002, 2003, | 2 | Copyright (C) 1985, 1986, 1993, 1994, 1995, 2000, 2001, 2002, 2003, |
| 3 | 2004, 2005, 2006 Free Software Foundation, Inc. | 3 | 2004, 2005, 2006, 2007 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 c0d9895462e..9bc3e21d220 100644 --- a/src/termchar.h +++ b/src/termchar.h | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | /* Flags and parameters describing terminal's characteristics. | 1 | /* Flags and parameters describing terminal's characteristics. |
| 2 | Copyright (C) 1985, 1986, 2002, 2003, 2004, | 2 | Copyright (C) 1985, 1986, 2001, 2002, 2003, 2004, |
| 3 | 2005, 2006 Free Software Foundation, Inc. | 3 | 2005, 2006, 2007 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/termhooks.h b/src/termhooks.h index 98c4edb4f24..72e0940cea6 100644 --- a/src/termhooks.h +++ b/src/termhooks.h | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | /* Parameters and display hooks for terminal devices. | 1 | /* Parameters and display hooks for terminal devices. |
| 2 | Copyright (C) 1985, 1986, 1993, 1994, 2002, 2003, 2004, | 2 | Copyright (C) 1985, 1986, 1993, 1994, 2002, 2003, 2004, |
| 3 | 2005, 2006 Free Software Foundation, Inc. | 3 | 2005, 2006, 2007 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/terminfo.c b/src/terminfo.c index 7fccfaf1700..99f8b9a1e4e 100644 --- a/src/terminfo.c +++ b/src/terminfo.c | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | /* Interface from Emacs to terminfo. | 1 | /* Interface from Emacs to terminfo. |
| 2 | Copyright (C) 1985, 1986, 2002, 2003, 2004, | 2 | Copyright (C) 1985, 1986, 2001, 2002, 2003, 2004, |
| 3 | 2005, 2006 Free Software Foundation, Inc. | 3 | 2005, 2006, 2007 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/termopts.h b/src/termopts.h index 8d776b3de38..082f9b15af7 100644 --- a/src/termopts.h +++ b/src/termopts.h | |||
| @@ -1,6 +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, 2002, 2003, 2004, | 2 | Copyright (C) 1985, 1986, 1990, 2001, 2002, 2003, 2004, |
| 3 | 2005, 2006 Free Software Foundation, Inc. | 3 | 2005, 2006, 2007 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/textprop.c b/src/textprop.c index a039c17ae64..b98acaeccd8 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, | 2 | Copyright (C) 1993, 1994, 1995, 1997, 1999, 2000, 2001, 2002, 2003, |
| 3 | 2004, 2005, 2006 Free Software Foundation, Inc. | 3 | 2004, 2005, 2006, 2007 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 ea04f7eaea1..dea57ff7461 100644 --- a/src/tparam.c +++ b/src/tparam.c | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | /* Merge parameters into a termcap entry string. | 1 | /* Merge parameters into a termcap entry string. |
| 2 | Copyright (C) 1985, 1987, 1993, 1995, 2000, 2002, 2003, 2004, | 2 | Copyright (C) 1985, 1987, 1993, 1995, 2000, 2001, 2002, 2003, 2004, |
| 3 | 2005, 2006 Free Software Foundation, Inc. | 3 | 2005, 2006, 2007 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 |
| @@ -1,6 +1,6 @@ | |||
| 1 | /* GNU Emacs VMS UAF definition file. | 1 | /* GNU Emacs VMS UAF definition file. |
| 2 | Copyright (C) 1986, 2002, 2003, 2004, 2005, | 2 | Copyright (C) 1986, 2001, 2002, 2003, 2004, 2005, |
| 3 | 2006 Free Software Foundation, Inc. | 3 | 2006, 2007 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/undo.c b/src/undo.c index 3313c8e306c..0eca97df566 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, 2003, 2004, | 2 | Copyright (C) 1990, 1993, 1994, 2000, 2001, 2002, 2003, 2004, |
| 3 | 2005, 2006 Free Software Foundation, Inc. | 3 | 2005, 2006, 2007 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 4785aa1dcb3..41324ac0fd8 100644 --- a/src/unexaix.c +++ b/src/unexaix.c | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | /* Dump an executable image. | 1 | /* Dump an executable image. |
| 2 | Copyright (C) 1985, 1986, 1987, 1988, 1999, 2002, 2003, 2004, | 2 | Copyright (C) 1985, 1986, 1987, 1988, 1999, 2001, 2002, 2003, 2004, |
| 3 | 2005, 2006 Free Software Foundation, Inc. | 3 | 2005, 2006, 2007 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/unexalpha.c b/src/unexalpha.c index ead259437f6..cbd44616bd4 100644 --- a/src/unexalpha.c +++ b/src/unexalpha.c | |||
| @@ -1,7 +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, 2002, 2003, 2004, | 3 | Copyright (C) 1994, 2000, 2001, 2002, 2003, 2004, |
| 4 | 2005, 2006 Free Software Foundation, Inc. | 4 | 2005, 2006, 2007 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/unexapollo.c b/src/unexapollo.c index ace28dfa38d..27cf968c5fe 100644 --- a/src/unexapollo.c +++ b/src/unexapollo.c | |||
| @@ -1,6 +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, 2002, 2003, 2004, | 2 | Copyright (C) 1988, 1994, 2001, 2002, 2003, 2004, |
| 3 | 2005, 2006 Free Software Foundation, Inc. | 3 | 2005, 2006, 2007 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/unexconvex.c b/src/unexconvex.c index 8409463b783..598b1b3428b 100644 --- a/src/unexconvex.c +++ b/src/unexconvex.c | |||
| @@ -7,8 +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, 2002, 2003, 2004, | 10 | Copyright (C) 1985, 1986, 1988, 2001, 2002, 2003, 2004, |
| 11 | 2005, 2006 Free Software Foundation, Inc. | 11 | 2005, 2006, 2007 Free Software Foundation, Inc. |
| 12 | 12 | ||
| 13 | This file is part of GNU Emacs. | 13 | This file is part of GNU Emacs. |
| 14 | 14 | ||
diff --git a/src/unexcw.c b/src/unexcw.c index 92e313c05d6..f1023d4b239 100644 --- a/src/unexcw.c +++ b/src/unexcw.c | |||
| @@ -1,7 +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, 2005, 2006 Free Software Foundation, Inc. | 4 | Copyright (C) 2004, 2005, 2006, 2007 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/unexec.c b/src/unexec.c index 7fe7e26568c..16f9c96faa7 100644 --- a/src/unexec.c +++ b/src/unexec.c | |||
| @@ -1,5 +1,5 @@ | |||
| 1 | /* Copyright (C) 1985, 1986, 1987, 1988, 1992, 1993, 1994, 2002, 2003, 2004, | 1 | /* Copyright (C) 1985, 1986, 1987, 1988, 1992, 1993, 1994, 2001, 2002, 2003, |
| 2 | 2005, 2006 Free Software Foundation, Inc. | 2 | 2004, 2005, 2006, 2007 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/unexelf.c b/src/unexelf.c index a236b98eab1..7b2c72f0fa9 100644 --- a/src/unexelf.c +++ b/src/unexelf.c | |||
| @@ -1,5 +1,5 @@ | |||
| 1 | /* Copyright (C) 1985, 1986, 1987, 1988, 1990, 1992, 1999, 2000, 2001, | 1 | /* Copyright (C) 1985, 1986, 1987, 1988, 1990, 1992, 1999, 2000, 2001, |
| 2 | 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. | 2 | 2002, 2003, 2004, 2005, 2006, 2007 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 c1ad8bbf7eb..4d4bec11eb6 100644 --- a/src/unexenix.c +++ b/src/unexenix.c | |||
| @@ -6,8 +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, 2002, 2003, 2004, | 9 | Copyright (C) 1988, 1994, 2001, 2002, 2003, 2004, |
| 10 | 2005, 2006 Free Software Foundation, Inc. | 10 | 2005, 2006, 2007 Free Software Foundation, Inc. |
| 11 | 11 | ||
| 12 | This file is part of GNU Emacs. | 12 | This file is part of GNU Emacs. |
| 13 | 13 | ||
diff --git a/src/unexhp9k800.c b/src/unexhp9k800.c deleted file mode 100644 index 146cc5707da..00000000000 --- a/src/unexhp9k800.c +++ /dev/null | |||
| @@ -1,322 +0,0 @@ | |||
| 1 | /* Unexec for HP 9000 Series 800 machines. | ||
| 2 | Bob Desinger <hpsemc!bd@hplabs.hp.com> | ||
| 3 | |||
| 4 | Note that the GNU project considers support for HP operation a | ||
| 5 | peripheral activity which should not be allowed to divert effort | ||
| 6 | from development of the GNU system. Changes in this code will be | ||
| 7 | installed when users send them in, but aside from that we don't | ||
| 8 | plan to think about it, or about whether other Emacs maintenance | ||
| 9 | might break it. | ||
| 10 | |||
| 11 | |||
| 12 | Unexec creates a copy of the old a.out file, and replaces the old data | ||
| 13 | area with the current data area. When the new file is executed, the | ||
| 14 | process will see the same data structures and data values that the | ||
| 15 | original process had when unexec was called. | ||
| 16 | |||
| 17 | Unlike other versions of unexec, this one copies symbol table and | ||
| 18 | debug information to the new a.out file. Thus, the new a.out file | ||
| 19 | may be debugged with symbolic debuggers. | ||
| 20 | |||
| 21 | If you fix any bugs in this, I'd like to incorporate your fixes. | ||
| 22 | Send them to uunet!hpda!hpsemc!jmorris or jmorris%hpsemc@hplabs.HP.COM. | ||
| 23 | |||
| 24 | CAVEATS: | ||
| 25 | This routine saves the current value of all static and external | ||
| 26 | variables. This means that any data structure that needs to be | ||
| 27 | initialized must be explicitly reset. Variables will not have their | ||
| 28 | expected default values. | ||
| 29 | |||
| 30 | Unfortunately, the HP-UX signal handler has internal initialization | ||
| 31 | flags which are not explicitly reset. Thus, for signals to work in | ||
| 32 | conjunction with this routine, the following code must executed when | ||
| 33 | the new process starts up. | ||
| 34 | |||
| 35 | void _sigreturn (); | ||
| 36 | ... | ||
| 37 | sigsetreturn (_sigreturn); | ||
| 38 | */ | ||
| 39 | |||
| 40 | #ifdef emacs | ||
| 41 | #include <config.h> | ||
| 42 | #endif | ||
| 43 | |||
| 44 | #include <stdio.h> | ||
| 45 | #include <fcntl.h> | ||
| 46 | #include <errno.h> | ||
| 47 | |||
| 48 | #include <a.out.h> | ||
| 49 | |||
| 50 | #ifdef HPUX_USE_SHLIBS | ||
| 51 | #include <dl.h> | ||
| 52 | #endif | ||
| 53 | |||
| 54 | /* brk value to restore, stored as a global. | ||
| 55 | This is really used only if we used shared libraries. */ | ||
| 56 | static long brk_on_dump = 0; | ||
| 57 | |||
| 58 | /* Called from main, if we use shared libraries. */ | ||
| 59 | int | ||
| 60 | run_time_remap (ignored) | ||
| 61 | char *ignored; | ||
| 62 | { | ||
| 63 | brk ((char *) brk_on_dump); | ||
| 64 | } | ||
| 65 | |||
| 66 | #undef roundup | ||
| 67 | #define roundup(x,n) (((x) + ((n) - 1)) & ~((n) - 1)) /* n is power of 2 */ | ||
| 68 | #define min(x,y) (((x) < (y)) ? (x) : (y)) | ||
| 69 | |||
| 70 | |||
| 71 | /* Create a new a.out file, same as old but with current data space */ | ||
| 72 | |||
| 73 | unexec (new_name, old_name, new_end_of_text, dummy1, dummy2) | ||
| 74 | char new_name[]; /* name of the new a.out file to be created */ | ||
| 75 | char old_name[]; /* name of the old a.out file */ | ||
| 76 | char *new_end_of_text; /* ptr to new edata/etext; NOT USED YET */ | ||
| 77 | int dummy1, dummy2; /* not used by emacs */ | ||
| 78 | { | ||
| 79 | int old, new; | ||
| 80 | int old_size, new_size; | ||
| 81 | struct header hdr; | ||
| 82 | struct som_exec_auxhdr auxhdr; | ||
| 83 | long i; | ||
| 84 | |||
| 85 | /* For the greatest flexibility, should create a temporary file in | ||
| 86 | the same directory as the new file. When everything is complete, | ||
| 87 | rename the temp file to the new name. | ||
| 88 | This way, a program could update its own a.out file even while | ||
| 89 | it is still executing. If problems occur, everything is still | ||
| 90 | intact. NOT implemented. */ | ||
| 91 | |||
| 92 | /* Open the input and output a.out files */ | ||
| 93 | old = open (old_name, O_RDONLY); | ||
| 94 | if (old < 0) | ||
| 95 | { perror (old_name); exit (1); } | ||
| 96 | new = open (new_name, O_CREAT|O_RDWR|O_TRUNC, 0777); | ||
| 97 | if (new < 0) | ||
| 98 | { perror (new_name); exit (1); } | ||
| 99 | |||
| 100 | /* Read the old headers */ | ||
| 101 | read_header (old, &hdr, &auxhdr); | ||
| 102 | |||
| 103 | brk_on_dump = (long) sbrk (0); | ||
| 104 | |||
| 105 | /* Decide how large the new and old data areas are */ | ||
| 106 | old_size = auxhdr.exec_dsize; | ||
| 107 | /* I suspect these two statements are separate | ||
| 108 | to avoid a compiler bug in hpux version 8. */ | ||
| 109 | i = (long) sbrk (0); | ||
| 110 | new_size = i - auxhdr.exec_dmem; | ||
| 111 | |||
| 112 | /* Copy the old file to the new, up to the data space */ | ||
| 113 | lseek (old, 0, 0); | ||
| 114 | copy_file (old, new, auxhdr.exec_dfile); | ||
| 115 | |||
| 116 | /* Skip the old data segment and write a new one */ | ||
| 117 | lseek (old, old_size, 1); | ||
| 118 | save_data_space (new, &hdr, &auxhdr, new_size); | ||
| 119 | |||
| 120 | /* Copy the rest of the file */ | ||
| 121 | copy_rest (old, new); | ||
| 122 | |||
| 123 | /* Update file pointers since we probably changed size of data area */ | ||
| 124 | update_file_ptrs (new, &hdr, &auxhdr, auxhdr.exec_dfile, new_size-old_size); | ||
| 125 | |||
| 126 | /* Save the modified header */ | ||
| 127 | write_header (new, &hdr, &auxhdr); | ||
| 128 | |||
| 129 | /* Close the binary file */ | ||
| 130 | close (old); | ||
| 131 | close (new); | ||
| 132 | return 0; | ||
| 133 | } | ||
| 134 | |||
| 135 | /* Save current data space in the file, update header. */ | ||
| 136 | |||
| 137 | save_data_space (file, hdr, auxhdr, size) | ||
| 138 | int file; | ||
| 139 | struct header *hdr; | ||
| 140 | struct som_exec_auxhdr *auxhdr; | ||
| 141 | int size; | ||
| 142 | { | ||
| 143 | /* Write the entire data space out to the file */ | ||
| 144 | if (write (file, auxhdr->exec_dmem, size) != size) | ||
| 145 | { perror ("Can't save new data space"); exit (1); } | ||
| 146 | |||
| 147 | /* Update the header to reflect the new data size */ | ||
| 148 | auxhdr->exec_dsize = size; | ||
| 149 | auxhdr->exec_bsize = 0; | ||
| 150 | } | ||
| 151 | |||
| 152 | /* Update the values of file pointers when something is inserted. */ | ||
| 153 | |||
| 154 | update_file_ptrs (file, hdr, auxhdr, location, offset) | ||
| 155 | int file; | ||
| 156 | struct header *hdr; | ||
| 157 | struct som_exec_auxhdr *auxhdr; | ||
| 158 | unsigned int location; | ||
| 159 | int offset; | ||
| 160 | { | ||
| 161 | struct subspace_dictionary_record subspace; | ||
| 162 | int i; | ||
| 163 | |||
| 164 | /* Increase the overall size of the module */ | ||
| 165 | hdr->som_length += offset; | ||
| 166 | |||
| 167 | /* Update the various file pointers in the header */ | ||
| 168 | #define update(ptr) if (ptr > location) ptr = ptr + offset | ||
| 169 | update (hdr->aux_header_location); | ||
| 170 | update (hdr->space_strings_location); | ||
| 171 | update (hdr->init_array_location); | ||
| 172 | update (hdr->compiler_location); | ||
| 173 | update (hdr->symbol_location); | ||
| 174 | update (hdr->fixup_request_location); | ||
| 175 | update (hdr->symbol_strings_location); | ||
| 176 | update (hdr->unloadable_sp_location); | ||
| 177 | update (auxhdr->exec_tfile); | ||
| 178 | update (auxhdr->exec_dfile); | ||
| 179 | |||
| 180 | /* Do for each subspace dictionary entry */ | ||
| 181 | lseek (file, hdr->subspace_location, 0); | ||
| 182 | for (i = 0; i < hdr->subspace_total; i++) | ||
| 183 | { | ||
| 184 | if (read (file, &subspace, sizeof (subspace)) != sizeof (subspace)) | ||
| 185 | { perror ("Can't read subspace record"); exit (1); } | ||
| 186 | |||
| 187 | /* If subspace has a file location, update it */ | ||
| 188 | if (subspace.initialization_length > 0 | ||
| 189 | && subspace.file_loc_init_value > location) | ||
| 190 | { | ||
| 191 | subspace.file_loc_init_value += offset; | ||
| 192 | lseek (file, -sizeof (subspace), 1); | ||
| 193 | if (write (file, &subspace, sizeof (subspace)) != sizeof (subspace)) | ||
| 194 | { perror ("Can't update subspace record"); exit (1); } | ||
| 195 | } | ||
| 196 | } | ||
| 197 | |||
| 198 | /* Do for each initialization pointer record */ | ||
| 199 | /* (I don't think it applies to executable files, only relocatables) */ | ||
| 200 | #undef update | ||
| 201 | } | ||
| 202 | |||
| 203 | /* Read in the header records from an a.out file. */ | ||
| 204 | |||
| 205 | read_header (file, hdr, auxhdr) | ||
| 206 | int file; | ||
| 207 | struct header *hdr; | ||
| 208 | struct som_exec_auxhdr *auxhdr; | ||
| 209 | { | ||
| 210 | |||
| 211 | /* Read the header in */ | ||
| 212 | lseek (file, 0, 0); | ||
| 213 | if (read (file, hdr, sizeof (*hdr)) != sizeof (*hdr)) | ||
| 214 | { perror ("Couldn't read header from a.out file"); exit (1); } | ||
| 215 | |||
| 216 | if (hdr->a_magic != EXEC_MAGIC && hdr->a_magic != SHARE_MAGIC | ||
| 217 | && hdr->a_magic != DEMAND_MAGIC) | ||
| 218 | { | ||
| 219 | fprintf (stderr, "a.out file doesn't have legal magic number\n"); | ||
| 220 | exit (1); | ||
| 221 | } | ||
| 222 | |||
| 223 | lseek (file, hdr->aux_header_location, 0); | ||
| 224 | if (read (file, auxhdr, sizeof (*auxhdr)) != sizeof (*auxhdr)) | ||
| 225 | { | ||
| 226 | perror ("Couldn't read auxiliary header from a.out file"); | ||
| 227 | exit (1); | ||
| 228 | } | ||
| 229 | } | ||
| 230 | |||
| 231 | /* Write out the header records into an a.out file. */ | ||
| 232 | |||
| 233 | write_header (file, hdr, auxhdr) | ||
| 234 | int file; | ||
| 235 | struct header *hdr; | ||
| 236 | struct som_exec_auxhdr *auxhdr; | ||
| 237 | { | ||
| 238 | /* Update the checksum */ | ||
| 239 | hdr->checksum = calculate_checksum (hdr); | ||
| 240 | |||
| 241 | /* Write the header back into the a.out file */ | ||
| 242 | lseek (file, 0, 0); | ||
| 243 | if (write (file, hdr, sizeof (*hdr)) != sizeof (*hdr)) | ||
| 244 | { perror ("Couldn't write header to a.out file"); exit (1); } | ||
| 245 | lseek (file, hdr->aux_header_location, 0); | ||
| 246 | if (write (file, auxhdr, sizeof (*auxhdr)) != sizeof (*auxhdr)) | ||
| 247 | { perror ("Couldn't write auxiliary header to a.out file"); exit (1); } | ||
| 248 | } | ||
| 249 | |||
| 250 | /* Calculate the checksum of a SOM header record. */ | ||
| 251 | |||
| 252 | calculate_checksum (hdr) | ||
| 253 | struct header *hdr; | ||
| 254 | { | ||
| 255 | int checksum, i, *ptr; | ||
| 256 | |||
| 257 | checksum = 0; ptr = (int *) hdr; | ||
| 258 | |||
| 259 | for (i = 0; i < sizeof (*hdr) / sizeof (int) - 1; i++) | ||
| 260 | checksum ^= ptr[i]; | ||
| 261 | |||
| 262 | return (checksum); | ||
| 263 | } | ||
| 264 | |||
| 265 | /* Copy size bytes from the old file to the new one. */ | ||
| 266 | |||
| 267 | copy_file (old, new, size) | ||
| 268 | int new, old; | ||
| 269 | int size; | ||
| 270 | { | ||
| 271 | int len; | ||
| 272 | int buffer[8192]; /* word aligned will be faster */ | ||
| 273 | |||
| 274 | for (; size > 0; size -= len) | ||
| 275 | { | ||
| 276 | len = min (size, sizeof (buffer)); | ||
| 277 | if (read (old, buffer, len) != len) | ||
| 278 | { perror ("Read failure on a.out file"); exit (1); } | ||
| 279 | if (write (new, buffer, len) != len) | ||
| 280 | { perror ("Write failure in a.out file"); exit (1); } | ||
| 281 | } | ||
| 282 | } | ||
| 283 | |||
| 284 | /* Copy the rest of the file, up to EOF. */ | ||
| 285 | |||
| 286 | copy_rest (old, new) | ||
| 287 | int new, old; | ||
| 288 | { | ||
| 289 | int buffer[4096]; | ||
| 290 | int len; | ||
| 291 | |||
| 292 | /* Copy bytes until end of file or error */ | ||
| 293 | while ((len = read (old, buffer, sizeof (buffer))) > 0) | ||
| 294 | if (write (new, buffer, len) != len) break; | ||
| 295 | |||
| 296 | if (len != 0) | ||
| 297 | { perror ("Unable to copy the rest of the file"); exit (1); } | ||
| 298 | } | ||
| 299 | |||
| 300 | #ifdef DEBUG | ||
| 301 | display_header (hdr, auxhdr) | ||
| 302 | struct header *hdr; | ||
| 303 | struct som_exec_auxhdr *auxhdr; | ||
| 304 | { | ||
| 305 | /* Display the header information (debug) */ | ||
| 306 | printf ("\n\nFILE HEADER\n"); | ||
| 307 | printf ("magic number %d \n", hdr->a_magic); | ||
| 308 | printf ("text loc %.8x size %d \n", auxhdr->exec_tmem, auxhdr->exec_tsize); | ||
| 309 | printf ("data loc %.8x size %d \n", auxhdr->exec_dmem, auxhdr->exec_dsize); | ||
| 310 | printf ("entry %x \n", auxhdr->exec_entry); | ||
| 311 | printf ("Bss segment size %u\n", auxhdr->exec_bsize); | ||
| 312 | printf ("\n"); | ||
| 313 | printf ("data file loc %d size %d\n", | ||
| 314 | auxhdr->exec_dfile, auxhdr->exec_dsize); | ||
| 315 | printf ("som_length %d\n", hdr->som_length); | ||
| 316 | printf ("unloadable sploc %d size %d\n", | ||
| 317 | hdr->unloadable_sp_location, hdr->unloadable_sp_size); | ||
| 318 | } | ||
| 319 | #endif /* DEBUG */ | ||
| 320 | |||
| 321 | /* arch-tag: d55a09ac-9427-4ec4-8496-cb9d7710774f | ||
| 322 | (do not change this comment) */ | ||
diff --git a/src/unexmacosx.c b/src/unexmacosx.c index e95aa2f2efc..d38053c3155 100644 --- a/src/unexmacosx.c +++ b/src/unexmacosx.c | |||
| @@ -1,6 +1,6 @@ | |||
| 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, 2003, 2004, 2005, | 2 | Copyright (C) 2001, 2002, 2003, 2004, 2005, |
| 3 | 2006 Free Software Foundation, Inc. | 3 | 2006, 2007 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/unexmips.c b/src/unexmips.c index 86129e052cf..d80bc62277e 100644 --- a/src/unexmips.c +++ b/src/unexmips.c | |||
| @@ -6,8 +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, 2002, 2003, 2004, | 9 | Copyright (C) 1988, 1994, 2001, 2002, 2003, 2004, |
| 10 | 2005, 2006 Free Software Foundation, Inc. | 10 | 2005, 2006, 2007 Free Software Foundation, Inc. |
| 11 | 11 | ||
| 12 | This file is part of GNU Emacs. | 12 | This file is part of GNU Emacs. |
| 13 | 13 | ||
diff --git a/src/unexnext.c b/src/unexnext.c index b453da3b023..937e5d2b80b 100644 --- a/src/unexnext.c +++ b/src/unexnext.c | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | /* Dump Emacs in macho format. | 1 | /* Dump Emacs in macho format. |
| 2 | Copyright (C) 1990, 1993, 2002, 2003, 2004, | 2 | Copyright (C) 1990, 1993, 2001, 2002, 2003, 2004, |
| 3 | 2005, 2006 Free Software Foundation, Inc. | 3 | 2005, 2006, 2007 Free Software Foundation, Inc. |
| 4 | Written by Bradley Taylor (btaylor@next.com). | 4 | Written by Bradley Taylor (btaylor@next.com). |
| 5 | 5 | ||
| 6 | 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 8d72acf1a18..def59c6ea84 100644 --- a/src/unexsni.c +++ b/src/unexsni.c | |||
| @@ -1,6 +1,7 @@ | |||
| 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, 2002, | 2 | Copyright (C) 1985, 1986, 1987, 1988, 1990, 1992, 1993, 1994, 1995, 2001, |
| 3 | 2003, 2004, 2005, 2006 Free Software Foundation, Inc. | 3 | 2002, 2003, 2004, 2005, 2006, 2007 |
| 4 | 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/unexsunos4.c b/src/unexsunos4.c index 19d982f6140..e8051fc7e88 100644 --- a/src/unexsunos4.c +++ b/src/unexsunos4.c | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | /* Unexec for Sunos 4 using shared libraries. | 1 | /* Unexec for Sunos 4 using shared libraries. |
| 2 | Copyright (C) 1990, 1994, 1999, 2002, 2003, 2004, | 2 | Copyright (C) 1990, 1994, 1999, 2001, 2002, 2003, 2004, |
| 3 | 2005, 2006 Free Software Foundation, Inc. | 3 | 2005, 2006, 2007 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/unexw32.c b/src/unexw32.c index 6256062aa3f..ae2fe942c73 100644 --- a/src/unexw32.c +++ b/src/unexw32.c | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | /* unexec for GNU Emacs on Windows NT. | 1 | /* unexec for GNU Emacs on Windows NT. |
| 2 | Copyright (C) 1994, 2002, 2003, 2004, 2005, | 2 | Copyright (C) 1994, 2001, 2002, 2003, 2004, 2005, |
| 3 | 2006 Free Software Foundation, Inc. | 3 | 2006, 2007 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/vm-limit.c b/src/vm-limit.c index cadfb4cc95a..192775df81c 100644 --- a/src/vm-limit.c +++ b/src/vm-limit.c | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | /* Functions for memory limit warnings. | 1 | /* Functions for memory limit warnings. |
| 2 | Copyright (C) 1990, 1992, 2002, 2003, 2004, | 2 | Copyright (C) 1990, 1992, 2001, 2002, 2003, 2004, |
| 3 | 2005, 2006 Free Software Foundation, Inc. | 3 | 2005, 2006, 2007 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/w16select.c b/src/w16select.c index ea9d9aea190..82619c15833 100644 --- a/src/w16select.c +++ b/src/w16select.c | |||
| @@ -1,6 +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, 2002, 2003, 2004, | 2 | Copyright (C) 1996, 1997, 2001, 2002, 2003, 2004, |
| 3 | 2005, 2006 Free Software Foundation, Inc. | 3 | 2005, 2006, 2007 Free Software Foundation, Inc. |
| 4 | 4 | ||
| 5 | This file is part of GNU Emacs. | 5 | This file is part of GNU Emacs. |
| 6 | 6 | ||
| @@ -1,6 +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, 2002, 2003, 2004, | 2 | Copyright (C) 1994, 1995, 2000, 2001, 2002, 2003, 2004, |
| 3 | 2005, 2006 Free Software Foundation, Inc. | 3 | 2005, 2006, 2007 Free Software Foundation, Inc. |
| 4 | 4 | ||
| 5 | This file is part of GNU Emacs. | 5 | This file is part of GNU Emacs. |
| 6 | 6 | ||
| @@ -2,8 +2,8 @@ | |||
| 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, 2002, 2003, 2004, 2005, | 5 | Copyright (C) 1994, 2001, 2002, 2003, 2004, 2005, |
| 6 | 2006 Free Software Foundation, Inc. | 6 | 2006, 2007 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/w32bdf.c b/src/w32bdf.c index 89d88574188..64ec2f7a3b0 100644 --- a/src/w32bdf.c +++ b/src/w32bdf.c | |||
| @@ -1,6 +1,6 @@ | |||
| 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, 2002, 2003, 2004, 2005, | 2 | Copyright (C) 1999, 2001, 2002, 2003, 2004, 2005, |
| 3 | 2006 Free Software Foundation, Inc. | 3 | 2006, 2007 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/w32bdf.h b/src/w32bdf.h index dd8cfa276bf..ba408793882 100644 --- a/src/w32bdf.h +++ b/src/w32bdf.h | |||
| @@ -1,6 +1,6 @@ | |||
| 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, 2002, 2003, 2004, 2005, | 2 | Copyright (C) 1999, 2001, 2002, 2003, 2004, 2005, |
| 3 | 2006 Free Software Foundation, Inc. | 3 | 2006, 2007 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/w32console.c b/src/w32console.c index 0fc652bf55f..d2f0e06a64d 100644 --- a/src/w32console.c +++ b/src/w32console.c | |||
| @@ -1,6 +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, 2002, 2003, 2004, | 2 | Copyright (C) 1992, 1999, 2001, 2002, 2003, 2004, |
| 3 | 2005, 2006 Free Software Foundation, Inc. | 3 | 2005, 2006, 2007 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/w32fns.c b/src/w32fns.c index 34cfb0a2882..885ade0e4bb 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, 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, 2006 Free Software Foundation, Inc. | 3 | 2001, 2002, 2003, 2004, 2005, 2006, 2007 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 2b1a11987f3..18c737a6e12 100644 --- a/src/w32gui.h +++ b/src/w32gui.h | |||
| @@ -1,6 +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, 2002, 2003, 2004, 2005, | 2 | Copyright (C) 1995, 2001, 2002, 2003, 2004, 2005, |
| 3 | 2006 Free Software Foundation, Inc. | 3 | 2006, 2007 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/w32heap.c b/src/w32heap.c index e1bdd867721..9327e7e7e7e 100644 --- a/src/w32heap.c +++ b/src/w32heap.c | |||
| @@ -1,6 +1,6 @@ | |||
| 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, 2002, 2003, 2004, 2005, | 2 | Copyright (C) 1994, 2001, 2002, 2003, 2004, 2005, |
| 3 | 2006 Free Software Foundation, Inc. | 3 | 2006, 2007 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/w32heap.h b/src/w32heap.h index c862558b1cf..0d4ccb70b8a 100644 --- a/src/w32heap.h +++ b/src/w32heap.h | |||
| @@ -1,6 +1,6 @@ | |||
| 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, 2002, 2003, 2004, 2005, | 2 | Copyright (C) 1994, 2001, 2002, 2003, 2004, 2005, |
| 3 | 2006 Free Software Foundation, Inc. | 3 | 2006, 2007 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/w32inevt.c b/src/w32inevt.c index 0fededa6aea..b44054afef3 100644 --- a/src/w32inevt.c +++ b/src/w32inevt.c | |||
| @@ -1,6 +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, 2002, 2003, 2004, | 2 | Copyright (C) 1992, 1993, 1995, 2001, 2002, 2003, 2004, |
| 3 | 2005, 2006 Free Software Foundation, Inc. | 3 | 2005, 2006, 2007 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/w32inevt.h b/src/w32inevt.h index 8985df1ee69..f0f7f232261 100644 --- a/src/w32inevt.h +++ b/src/w32inevt.h | |||
| @@ -1,6 +1,6 @@ | |||
| 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, 2002, 2003, 2004, 2005, | 2 | Copyright (C) 1995, 2001, 2002, 2003, 2004, 2005, |
| 3 | 2006 Free Software Foundation, Inc. | 3 | 2006, 2007 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/w32menu.c b/src/w32menu.c index d5c38bee336..a3bd82a0d7d 100644 --- a/src/w32menu.c +++ b/src/w32menu.c | |||
| @@ -1,6 +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, 1988, 1993, 1994, 1996, 1998, 1999, 2002, 2003, | 2 | Copyright (C) 1986, 1988, 1993, 1994, 1996, 1998, 1999, 2001, 2002, |
| 3 | 2004, 2005, 2006 Free Software Foundation, Inc. | 3 | 2003, 2004, 2005, 2006, 2007 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/w32proc.c b/src/w32proc.c index 7d27172781d..2120a51fb89 100644 --- a/src/w32proc.c +++ b/src/w32proc.c | |||
| @@ -1,6 +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, 1995, 1999, 2000, 2001, 2002, 2003, 2004, | 2 | Copyright (C) 1992, 1995, 1999, 2000, 2001, 2002, 2003, 2004, |
| 3 | 2005, 2006 Free Software Foundation, Inc. | 3 | 2005, 2006, 2007 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/w32reg.c b/src/w32reg.c index cd2a3bdf755..37659ecb9ca 100644 --- a/src/w32reg.c +++ b/src/w32reg.c | |||
| @@ -1,6 +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, 2002, 2003, 2004, | 2 | Copyright (C) 1990, 1993, 1994, 2001, 2002, 2003, 2004, |
| 3 | 2005, 2006 Free Software Foundation, Inc. | 3 | 2005, 2006, 2007 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/w32select.c b/src/w32select.c index 99825c23911..ad5d0e67f83 100644 --- a/src/w32select.c +++ b/src/w32select.c | |||
| @@ -1,6 +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, 2002, 2003, 2004, | 2 | Copyright (C) 1993, 1994, 2001, 2002, 2003, 2004, |
| 3 | 2005, 2006 Free Software Foundation, Inc. | 3 | 2005, 2006, 2007 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.c b/src/w32term.c index 007f9d83afb..8044e23d5ae 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, 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, 2006 Free Software Foundation, Inc. | 3 | 2002, 2003, 2004, 2005, 2006, 2007 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 f587d74a485..ac312c84a19 100644 --- a/src/w32term.h +++ b/src/w32term.h | |||
| @@ -1,6 +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, 2002, 2003, 2004, | 2 | Copyright (C) 1995, 2001, 2002, 2003, 2004, |
| 3 | 2005, 2006 Free Software Foundation, Inc. | 3 | 2005, 2006, 2007 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/w32xfns.c b/src/w32xfns.c index 0e937e9950c..b87cc28f057 100644 --- a/src/w32xfns.c +++ b/src/w32xfns.c | |||
| @@ -1,6 +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, 2002, 2003, 2004, | 2 | Copyright (C) 1989, 1992, 1993, 1994, 1995, 1999, 2001, 2002, 2003, |
| 3 | 2005, 2006 Free Software Foundation, Inc. | 3 | 2004, 2005, 2006, 2007 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/widget.c b/src/widget.c index 2e9913308d0..883be9a23f4 100644 --- a/src/widget.c +++ b/src/widget.c | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | /* The emacs frame widget. | 1 | /* The emacs frame widget. |
| 2 | Copyright (C) 1992, 1993, 2000, 2002, 2003, 2004, | 2 | Copyright (C) 1992, 1993, 2000, 2001, 2002, 2003, 2004, |
| 3 | 2005, 2006 Free Software Foundation, Inc. | 3 | 2005, 2006, 2007 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/widget.h b/src/widget.h index b6c5e9f0bcb..21cd4543230 100644 --- a/src/widget.h +++ b/src/widget.h | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | /* The emacs frame widget public header file. | 1 | /* The emacs frame widget public header file. |
| 2 | Copyright (C) 1993, 2002, 2003, 2004, 2005, | 2 | Copyright (C) 1993, 2001, 2002, 2003, 2004, 2005, |
| 3 | 2006 Free Software Foundation, Inc. | 3 | 2006, 2007 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/widgetprv.h b/src/widgetprv.h index bde384d3b5f..ac845209ba6 100644 --- a/src/widgetprv.h +++ b/src/widgetprv.h | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | /* The emacs frame widget private header file. | 1 | /* The emacs frame widget private header file. |
| 2 | Copyright (C) 1993, 2002, 2003, 2004, 2005, | 2 | Copyright (C) 1993, 2001, 2002, 2003, 2004, 2005, |
| 3 | 2006 Free Software Foundation, Inc. | 3 | 2006, 2007 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/window.c b/src/window.c index 00a2e06bdeb..57a818eeee6 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, 2006 Free Software Foundation, Inc. | 4 | 2001, 2002, 2003, 2004, 2005, 2006, 2007 Free Software Foundation, Inc. |
| 5 | 5 | ||
| 6 | This file is part of GNU Emacs. | 6 | This file is part of GNU Emacs. |
| 7 | 7 | ||
| @@ -3268,10 +3268,6 @@ set_window_buffer (window, buffer, run_hooks_p, keep_margins_p) | |||
| 3268 | struct window *w = XWINDOW (window); | 3268 | struct window *w = XWINDOW (window); |
| 3269 | struct buffer *b = XBUFFER (buffer); | 3269 | struct buffer *b = XBUFFER (buffer); |
| 3270 | int count = SPECPDL_INDEX (); | 3270 | int count = SPECPDL_INDEX (); |
| 3271 | #ifdef HAVE_WINDOW_SYSTEM | ||
| 3272 | struct frame *f = XFRAME (w->frame); | ||
| 3273 | Display_Info *dpyinfo; | ||
| 3274 | #endif | ||
| 3275 | 3271 | ||
| 3276 | w->buffer = buffer; | 3272 | w->buffer = buffer; |
| 3277 | 3273 | ||
| @@ -3352,15 +3348,6 @@ set_window_buffer (window, buffer, run_hooks_p, keep_margins_p) | |||
| 3352 | call1 (Vrun_hooks, Qwindow_configuration_change_hook); | 3348 | call1 (Vrun_hooks, Qwindow_configuration_change_hook); |
| 3353 | } | 3349 | } |
| 3354 | 3350 | ||
| 3355 | #ifdef HAVE_WINDOW_SYSTEM | ||
| 3356 | BLOCK_INPUT; | ||
| 3357 | if (f && FRAME_WINDOW_P (f) && FRAME_X_OUTPUT (f) | ||
| 3358 | && (dpyinfo = FRAME_X_DISPLAY_INFO (f)) | ||
| 3359 | && EQ (window, dpyinfo->mouse_face_window)) | ||
| 3360 | clear_mouse_face (dpyinfo); | ||
| 3361 | UNBLOCK_INPUT; | ||
| 3362 | #endif | ||
| 3363 | |||
| 3364 | unbind_to (count, Qnil); | 3351 | unbind_to (count, Qnil); |
| 3365 | } | 3352 | } |
| 3366 | 3353 | ||
diff --git a/src/window.h b/src/window.h index 03f416aa9bc..51c0c8a58f6 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, 1986, 1993, 1995, 1997, 1998, 1999, 2000, 2001, | 2 | Copyright (C) 1985, 1986, 1993, 1995, 1997, 1998, 1999, 2000, 2001, |
| 3 | 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. | 3 | 2002, 2003, 2004, 2005, 2006, 2007 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 a007cd52236..1885735d327 100644 --- a/src/xdisp.c +++ b/src/xdisp.c | |||
| @@ -1,7 +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, | 2 | Copyright (C) 1985, 1986, 1987, 1988, 1993, 1994, 1995, |
| 3 | 1997, 1998, 1999, 2000, 2001, 2002, 2003, | 3 | 1997, 1998, 1999, 2000, 2001, 2002, 2003, |
| 4 | 2004, 2005, 2006 Free Software Foundation, Inc. | 4 | 2004, 2005, 2006, 2007 Free Software Foundation, Inc. |
| 5 | 5 | ||
| 6 | This file is part of GNU Emacs. | 6 | This file is part of GNU Emacs. |
| 7 | 7 | ||
| @@ -13550,6 +13550,7 @@ try_window (window, pos, check_margins) | |||
| 13550 | struct window *w = XWINDOW (window); | 13550 | struct window *w = XWINDOW (window); |
| 13551 | struct it it; | 13551 | struct it it; |
| 13552 | struct glyph_row *last_text_row = NULL; | 13552 | struct glyph_row *last_text_row = NULL; |
| 13553 | struct frame *f = XFRAME (w->frame); | ||
| 13553 | 13554 | ||
| 13554 | /* Make POS the new window start. */ | 13555 | /* Make POS the new window start. */ |
| 13555 | set_marker_both (w->start, Qnil, CHARPOS (pos), BYTEPOS (pos)); | 13556 | set_marker_both (w->start, Qnil, CHARPOS (pos), BYTEPOS (pos)); |
diff --git a/src/xfaces.c b/src/xfaces.c index ec20445b7dc..52252001137 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, | 2 | Copyright (C) 1993, 1994, 1998, 1999, 2000, 2001, 2002, 2003, 2004, |
| 3 | 2005, 2006 Free Software Foundation, Inc. | 3 | 2005, 2006, 2007 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 8b4ab0ca363..ec9d54dcf93 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, 2006 Free Software Foundation, Inc. | 3 | 2001, 2002, 2003, 2004, 2005, 2006, 2007 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 b4665f88e07..a30016e2477 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, 2002, 2003, | 2 | Copyright (C) 1986, 1988, 1993, 1994, 1996, 1999, 2000, 2001, 2002, 2003, |
| 3 | 2004, 2005, 2006 Free Software Foundation, Inc. | 3 | 2004, 2005, 2006, 2007 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 988db614c41..4c9f3c60b35 100644 --- a/src/xrdb.c +++ b/src/xrdb.c | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | /* Deal with the X Resource Manager. | 1 | /* Deal with the X Resource Manager. |
| 2 | Copyright (C) 1990, 1993, 1994, 2000, 2001, 2002, 2003, 2004, | 2 | Copyright (C) 1990, 1993, 1994, 2000, 2001, 2002, 2003, 2004, |
| 3 | 2005, 2006 Free Software Foundation, Inc. | 3 | 2005, 2006, 2007 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/xselect.c b/src/xselect.c index 54b20d89d5f..f34b62c8700 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, 2002, 2003, | 2 | Copyright (C) 1993, 1994, 1995, 1996, 1997, 2000, 2001, 2002, 2003, |
| 3 | 2004, 2005, 2006 Free Software Foundation, Inc. | 3 | 2004, 2005, 2006, 2007 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 1e4618ed567..7a78a8e60e6 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, 2005, 2006 Free Software Foundation, Inc. | 3 | Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007 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 122d9b7c3de..5a8d50db072 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, 2006 Free Software Foundation, Inc. | 3 | 2002, 2003, 2004, 2005, 2006, 2007 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.h b/src/xterm.h index b8e86d646ed..34583221ad3 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, 2001, 2002, 2003, | 2 | Copyright (C) 1989, 1993, 1994, 1998, 1999, 2000, 2001, 2002, 2003, |
| 3 | 2004, 2005, 2006 Free Software Foundation, Inc. | 3 | 2004, 2005, 2006, 2007 Free Software Foundation, Inc. |
| 4 | 4 | ||
| 5 | This file is part of GNU Emacs. | 5 | This file is part of GNU Emacs. |
| 6 | 6 | ||