diff options
| author | Andreas Schwab | 2003-02-19 13:07:30 +0000 |
|---|---|---|
| committer | Andreas Schwab | 2003-02-19 13:07:30 +0000 |
| commit | 77d1daf2e83e80689b88b443e6a185b903f2e143 (patch) | |
| tree | cc87e42289ffa0f75729ae860d501536c153d77e /src | |
| parent | 35e360926d00af99ee75f29ae8e4cd63d5a4f2f5 (diff) | |
| download | emacs-77d1daf2e83e80689b88b443e6a185b903f2e143.tar.gz emacs-77d1daf2e83e80689b88b443e6a185b903f2e143.zip | |
.
Diffstat (limited to 'src')
| -rw-r--r-- | src/ChangeLog | 4240 |
1 files changed, 9 insertions, 4231 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index f01d8bcc1ab..1358bc780a3 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2003-02-19 Andreas Schwab <schwab@suse.de> | ||
| 2 | |||
| 3 | * lisp.h (Fcancel_kbd_macro_events, Fstring_to_multibyte): Add | ||
| 4 | prototypes. | ||
| 5 | |||
| 1 | 2003-02-19 Kenichi Handa <handa@m17n.org> | 6 | 2003-02-19 Kenichi Handa <handa@m17n.org> |
| 2 | 7 | ||
| 3 | * xfaces.c (try_alternative_families): Try all scalable fonts if | 8 | * xfaces.c (try_alternative_families): Try all scalable fonts if |
| @@ -496,913 +501,7 @@ | |||
| 496 | * gtkutil.c (xg_create_frame_widgets): Check if there is an | 501 | * gtkutil.c (xg_create_frame_widgets): Check if there is an |
| 497 | external tool bar before setting tool bar height. | 502 | external tool bar before setting tool bar height. |
| 498 | 503 | ||
| 499 | 2003-01-19 Jan Dj,Ad(Brv <jan.h.d@swipnet.se> | 504 | 2003-01-19 Ja |
| 500 | |||
| 501 | * xterm.c (handle_one_xevent): Surround popup_activated | ||
| 502 | with #ifdef:s for non-toolkit version. | ||
| 503 | |||
| 504 | * Makefile.in (XOBJ): Add gtkutil.o if USE_GTK | ||
| 505 | (gtkutil.o): New file. | ||
| 506 | (TOOLKIT_DEFINES): Set to -DUSE_GTK if HAVE_GTK. | ||
| 507 | (LIBW): Set to @GTK_LIBS@ if USE_GTK. | ||
| 508 | |||
| 509 | * gtkutil.c: New file for GTK version. | ||
| 510 | |||
| 511 | * gtkutil.h: New file for GTK version. | ||
| 512 | |||
| 513 | * xterm.h: Add xt_or_gtk_widget. | ||
| 514 | Include gtk files for USE_GTK. | ||
| 515 | (struct x_output): Add toolbar_height. | ||
| 516 | (struct x_output): Add GTK widgets and Gdk size_hints. | ||
| 517 | (GTK_WIDGET_TO_X_WIN, FRAME_GTK_OUTER_WIDGET, FRAME_GTK_WIDGET) | ||
| 518 | (FRAME_OUTER_WINDOW): New macros for USE_GTK. | ||
| 519 | (FRAME_OUTER_TO_INNER_DIFF_Y): Add FRAME_TOOLBAR_HEIGHT to calculation. | ||
| 520 | |||
| 521 | * xterm.c: Include gtkutil.h for USE_GTK. | ||
| 522 | Declare extern void free_frame_menubar for USE_GTK. | ||
| 523 | (note_mouse_highlight): Check popup_activated for USE_GTK. | ||
| 524 | (xt_action_hook): Don't compile if USE_GTK. | ||
| 525 | (x_scroll_bar_to_input_event): Use CurrentTime for USE_GTK. | ||
| 526 | (xg_scroll_callback): New function. | ||
| 527 | (x_create_toolkit_scroll_bar): Call xg_create_scroll_bar for USE_GTK. | ||
| 528 | (x_set_toolkit_scroll_bar_thumb): Call xg_set_toolkit_scroll_bar_thumb | ||
| 529 | for USE_GTK. | ||
| 530 | (x_scroll_bar_create): Call xg_update_scrollbar_pos and | ||
| 531 | xg_show_scroll_bar for USE_GTK. | ||
| 532 | (x_scroll_bar_remove): Call xg_remove_scroll_bar for USE_GTK. | ||
| 533 | (XTset_vertical_scroll_bar): Call xg_update_scrollbar_pos for USE_GTK. | ||
| 534 | (event_handler_gdk): New function for USE_GTK. | ||
| 535 | (handle_one_xevent): Call xg_resize_widgets for USE_GTK. | ||
| 536 | (handle_one_xevent): Make sure widget is mapped before | ||
| 537 | calling x_real_positions for USE_GTK. | ||
| 538 | (XTread_socket): Add GTK event loop for USE_GTK. | ||
| 539 | (x_set_window_size): Call xg_frame_set_char_size for USE_GTK. | ||
| 540 | (x_make_frame_visible): Call gtk_widget_show_all for USE_GTK. | ||
| 541 | (x_make_frame_invisible): Call gtk_widget_hide for USE_GTK. | ||
| 542 | (x_iconify_frame): Add code for USE_GTK. | ||
| 543 | (x_free_frame_resources): Call gtk_widget_destroy for USE_GTK. | ||
| 544 | (x_wm_set_size_hint): Only compile if not USE_GTK. GTK version | ||
| 545 | is in gtkutil.c. | ||
| 546 | (x_term_init): Add initialization for GTK. | ||
| 547 | (syms_of_xterm): Set Vx_toolkit_scroll_bars for USE_GTK. | ||
| 548 | |||
| 549 | * xmenu.c: Include gtkutil.h for USE_GTK. | ||
| 550 | (Fx_popup_menu): Use current position if x and y is NIL. | ||
| 551 | (single_menu_item, single_menu_item, Fx_popup_dialog): Check | ||
| 552 | for USE_GTK. | ||
| 553 | (popup_widget_loop): New function for USE_GTK. | ||
| 554 | (x_activate_menubar): Add code for USE_GTK. | ||
| 555 | (popup_activate_callback, popup_deactivate_callback) | ||
| 556 | (menu_highlight_callback, menubar_selection_callback): USE_GTK versions | ||
| 557 | added. | ||
| 558 | (update_frame_menubar): Call xg_update_frame_menubar for USE_GTK. | ||
| 559 | (set_frame_menubar): Call xg_modify_menubar_widgets for USE_GTK. | ||
| 560 | (free_frame_menubar): Only compile if not USE_GTK. GTK version | ||
| 561 | is in gtkutil.c. | ||
| 562 | (popup_selection_callback): New version for USE_GTK. | ||
| 563 | (create_and_show_popup_menu): New fuction, one USE_GTK version and | ||
| 564 | one USE_X_TOOLKIT version. | ||
| 565 | (xmenu_show): Call create_and_show_popup_menu. | ||
| 566 | (dialog_selection_callback): New version for USE_GTK. | ||
| 567 | (create_and_show_dialog): New fuction, one USE_GTK version and | ||
| 568 | one USE_X_TOOLKIT version. | ||
| 569 | (xdialog_show): Call create_and_show_dialog. | ||
| 570 | |||
| 571 | * xfns.c: Include gtkutil for USE_GTK. | ||
| 572 | (x_window_to_frame, x_any_window_to_frame) | ||
| 573 | (x_non_menubar_window_to_frame, x_menubar_window_to_frame) | ||
| 574 | (x_top_window_to_frame): Add code for USE_GTK. | ||
| 575 | (x_set_background_color): Call xg_set_background_color for GTK. | ||
| 576 | (x_set_menu_bar_lines): Check for USE_GTK. | ||
| 577 | (x_set_tool_bar_lines): Call update_frame_tool_bar for USE_GTK. | ||
| 578 | (x_set_name, x_set_title): Call gtk_window_set_title for USE_GTK. | ||
| 579 | (x_window): Call xg_create_frame_widgets for USE_GTK. | ||
| 580 | (Fx_create_frame): Check for USE_GTK | ||
| 581 | (Fx_file_dialog): New implementation for USE_GTK. | ||
| 582 | |||
| 583 | * xdisp.c: Add check for USE_GTK for extern void set_frame_menubar. | ||
| 584 | (update_menu_bar): Add check for USE_GTK. | ||
| 585 | (update_tool_bar): Add check for USE_GTK and external tool bar. | ||
| 586 | (redisplay_tool_bar): Add check for USE_GTK and external tool bar. | ||
| 587 | (redisplay_internal): Add check for USE_GTK and popup_activated. | ||
| 588 | (redisplay_window): Add check for USE_GTK and FRAME_EXTERNAL_MENU_BAR. | ||
| 589 | (redisplay_window): Add check for USE_GTK and FRAME_EXTERNAL_TOOL_BAR. | ||
| 590 | (display_menu_bar): Add check for USE_GTK | ||
| 591 | |||
| 592 | * lisp.h: Declare Vx_resource_name extern. | ||
| 593 | |||
| 594 | * keyboard.c (kbd_buffer_get_event): Check MENU_BAR_ACTIVATE_EVENT | ||
| 595 | for USE_GTK. | ||
| 596 | (make_lispy_event): Check MENU_BAR_EVENT for USE_GTK. | ||
| 597 | |||
| 598 | * frame.h (struct frame): Add external_tool_bar. Check for USE_GTK. | ||
| 599 | (FRAME_EXTERNAL_TOOL_BAR): New macro. | ||
| 600 | (FRAME_EXTERNAL_MENU_BAR): Check for USE_GTK. | ||
| 601 | |||
| 602 | * fileio.c (Fread_file_name): Add check for USE_GTK. | ||
| 603 | |||
| 604 | * dispnew.c (adjust_frame_glyphs_for_window_redisplay): Add | ||
| 605 | check for USE_GTK. | ||
| 606 | |||
| 607 | * config.in: Added HAVE_GTK | ||
| 608 | |||
| 609 | * alloc.c (Fgarbage_collect): Call xg_mark_data for GTK. | ||
| 610 | |||
| 611 | 2003-01-18 Stefan Monnier <monnier@cs.yale.edu> | ||
| 612 | |||
| 613 | * charset.h (Funibyte_char_to_multibyte): Export. | ||
| 614 | |||
| 615 | 2003-01-18 Jan Dj,Ad(Brv <jan.h.d@swipnet.se> | ||
| 616 | |||
| 617 | * xmenu.c (mouse_position_for_popup): New function. | ||
| 618 | (Fx_popup_menu): Call mouse_position_for_popup for X and | ||
| 619 | mouse_position_hook for others. | ||
| 620 | |||
| 621 | 2003-01-17 Kim F. Storm <storm@cua.dk> | ||
| 622 | |||
| 623 | * editfns.c (Finsert): Mention `string-make-multibyte' and | ||
| 624 | `string-as-multibyte' in doc string. | ||
| 625 | |||
| 626 | 2003-01-17 Kenichi Handa <handa@m17n.org> | ||
| 627 | |||
| 628 | * fontset.c (syms_of_fontset): Setup Vfont_encoding_alist here. | ||
| 629 | |||
| 630 | * editfns.c (Fformat): Convert an unibyte char argument that is | ||
| 631 | formatted by "%c" to multibyte if the total result must be a | ||
| 632 | multibyte string. | ||
| 633 | |||
| 634 | 2003-01-16 Kim F. Storm <storm@cua.dk> | ||
| 635 | |||
| 636 | * process.c (set-process-filter): Document unibyte/multibyte-ness | ||
| 637 | of string argument. | ||
| 638 | |||
| 639 | 2003-01-16 Kenichi Handa <handa@m17n.org> | ||
| 640 | |||
| 641 | * charset.h (NEXT_CHAR_BOUNDARY, PREV_CHAR_BOUNDARY): New macros. | ||
| 642 | |||
| 643 | * regex.c (GET_CHAR_BEFORE_2): Use PREV_CHAR_BOUNDARY. | ||
| 644 | (re_search_2): Likewise. | ||
| 645 | |||
| 646 | 2003-01-15 Kenichi Handa <handa@m17n.org> | ||
| 647 | |||
| 648 | * xdisp.c (message_dolog): Fix bug of the case that *Message* | ||
| 649 | buffer is unibyte. | ||
| 650 | |||
| 651 | 2003-01-15 Francesco Potort,Al(B <pot@gnu.org> | ||
| 652 | |||
| 653 | * fns.c (Fsubstring): Clarify doc string. | ||
| 654 | |||
| 655 | * textprop.c (Ftext_properties_at, Fnext_char_property_change) | ||
| 656 | (Fprevious_char_property_change) | ||
| 657 | (Fnext_single_char_property_change) | ||
| 658 | (Fprevious_single_char_property_change, Fnext_property_change) | ||
| 659 | (Fnext_single_property_change, Fprevious_property_change) | ||
| 660 | (Fprevious_single_property_change, Fadd_text_properties) | ||
| 661 | (Fput_text_property, Fset_text_properties) | ||
| 662 | (Fremove_text_properties, Fremove_list_of_text_properties) | ||
| 663 | (Ftext_property_any, Ftext_property_not_all): Clarify doc strings. | ||
| 664 | |||
| 665 | 2003-01-14 Kim F. Storm <storm@cua.dk> | ||
| 666 | |||
| 667 | * process.h (struct Lisp_Process): New member plist replaces old | ||
| 668 | member private_vars. All uses changed. | ||
| 669 | |||
| 670 | * process.c: Reworked 2003-01-12 change -- call a plist a plist! | ||
| 671 | (QCplist): Renamed from QCvars. All uses changed. | ||
| 672 | (Fprocess_plist): Replaces Fprocess_variable. Simplified. | ||
| 673 | (Fset_process_plist): Replaces Fset_process_variable. Simplified. | ||
| 674 | (syms_of_process): Intern, staticpro, defsubr these. | ||
| 675 | (Fmake_network_process): Describe :plist arg. Removed :vars arg. | ||
| 676 | |||
| 677 | 2003-01-14 Francesco Potort,Al(B <pot@gnu.org> | ||
| 678 | |||
| 679 | * m/delta.h: Removed (obsolete). | ||
| 680 | |||
| 681 | 2003-01-13 Francesco Potort,Al(B <pot@gnu.org> | ||
| 682 | |||
| 683 | * fileio.c (Fdelete_directory, Fdelete_file): Document the | ||
| 684 | behaviour in front of symlinks. | ||
| 685 | (Fdelete_file): Raise an error on directories. | ||
| 686 | |||
| 687 | 2003-01-13 Dave Love <fx@gnu.org> | ||
| 688 | |||
| 689 | * fns.c (Freverse): Use QUIT. | ||
| 690 | |||
| 691 | 2003-01-13 Richard M. Stallman <rms@gnu.org> | ||
| 692 | |||
| 693 | * minibuf.c (minibuffer_completion_contents): | ||
| 694 | Error if point is inside prompt. | ||
| 695 | |||
| 696 | * keyboard.c (command_loop_1): Don't redisplay directly | ||
| 697 | if there's a post-command-hook. | ||
| 698 | |||
| 699 | * fileio.c (syms_of_fileio) <directory-sep-char>: Doc fix. | ||
| 700 | (Fdo_auto_save): Add gcpros around Ffile_name_directory. | ||
| 701 | |||
| 702 | 2003-01-12 Kim F. Storm <storm@cua.dk> | ||
| 703 | |||
| 704 | * process.h (struct Lisp_Process): New member private_vars. | ||
| 705 | |||
| 706 | * process.c (QCvars): New variable. | ||
| 707 | (syms_of_process): Intern and staticpro it. | ||
| 708 | (Fset_process_contact): Removed function. | ||
| 709 | (Fprocess_variable, Fset_process_variable): New functions. | ||
| 710 | (syms_of_process): Defsubr them. | ||
| 711 | (Fstart_process): Initialize private_vars plist to nil. | ||
| 712 | (Fmake_network_process): New arg :vars to setup the private | ||
| 713 | variables for new network process. | ||
| 714 | (server_accept_connection): Copy server's private variables to | ||
| 715 | client process. | ||
| 716 | |||
| 717 | * alloc.c (pure_alloc): Fixed 2003-01-10 changed (caused spurious | ||
| 718 | crashes). Code rewritten and simplified. Now directly aligns the | ||
| 719 | pointer and recalculates pure_bytes_used, rather than aligning the | ||
| 720 | size and adjusting the pointer. | ||
| 721 | |||
| 722 | 2003-01-11 Kim F. Storm <storm@cua.dk> | ||
| 723 | |||
| 724 | * process.c (Fset_process_contact): New function. | ||
| 725 | (syms_of_process): defsubr it. | ||
| 726 | (make-network-process): Update doc. | ||
| 727 | |||
| 728 | 2003-01-10 Andreas Schwab <schwab@suse.de> | ||
| 729 | |||
| 730 | * alloc.c (pure_alloc): Correct alignment for Lisp_Floats. | ||
| 731 | Reported by Berthold Gunreben <b.gunreben@web.de>. | ||
| 732 | |||
| 733 | 2003-01-10 Dave Love <fx@gnu.org> | ||
| 734 | |||
| 735 | * composite.c (syms_of_composite): Make composition_hash_table weak. | ||
| 736 | |||
| 737 | 2003-01-09 Kim F. Storm <storm@cua.dk> | ||
| 738 | |||
| 739 | * process.c (Fmake_network_process): Convert new port number | ||
| 740 | to host byte order for `:service t' case. From Mario Lang. | ||
| 741 | |||
| 742 | 2003-01-08 Jan Dj,Ad(Brv <jan.h.d@swipnet.se> | ||
| 743 | |||
| 744 | * xfns.c (Fx_file_dialog): Call XtAppNextEvent and x_dispatch_event | ||
| 745 | instead of XtAppProcessEvent. | ||
| 746 | |||
| 747 | * xterm.c (handle_one_xevent): New function. | ||
| 748 | (x_dispatch_event): New function. | ||
| 749 | (XTread_socket): Call handle_one_xevent. | ||
| 750 | |||
| 751 | * xterm.h (FRAME_OUTER_TO_INNER_DIFF_X/Y): New. | ||
| 752 | |||
| 753 | * xmenu.c (Fx_popup_menu): If popping up at mouse position, | ||
| 754 | call XQueryPointer to get coordinates. | ||
| 755 | (popup_get_selection): Do not set popup_activated_flag to zero, | ||
| 756 | let popup_deactivate_callback do that. Needed for Motif. | ||
| 757 | Call x_dispatch_event instead of XtDispatchEvent. | ||
| 758 | (xmenu_show): Calculate root coordinate from frame top/left position. | ||
| 759 | |||
| 760 | 2003-01-08 Kim F. Storm <storm@cua.dk> | ||
| 761 | |||
| 762 | * process.c (server_accept_connection): Fixed recording of new | ||
| 763 | connection's local address in :local property of contact info. | ||
| 764 | (Fmake_network_process): Record local network address for new | ||
| 765 | client processes in :local property of contact info. | ||
| 766 | (format-network-address): Added arg OMIT-PORT. Callers changed. | ||
| 767 | |||
| 768 | 2003-01-07 Dave Love <fx@gnu.org> | ||
| 769 | |||
| 770 | * Makefile.in (fns.o): Depend on coding.h. | ||
| 771 | |||
| 772 | 2003-01-07 Markus Rost <rost@math.ohio-state.edu> | ||
| 773 | |||
| 774 | * minibuf.c (Fread_variable): Doc fix. | ||
| 775 | |||
| 776 | * eval.c (Fuser_variable_p): Doc change. For custom variables, | ||
| 777 | use the same test as for custom-variable-p. | ||
| 778 | |||
| 779 | 2003-01-05 Richard M. Stallman <rms@gnu.org> | ||
| 780 | |||
| 781 | * xdisp.c (try_scrolling): New arg LAST_LINE_MISFIT. | ||
| 782 | Count LAST_LINE_MISFIT in scroll margin for end of window. | ||
| 783 | Move label too_near_end before setting SCROLL_MARGIN_POS. | ||
| 784 | Set LAST_LINE_MISFIT before jumping there. | ||
| 785 | |||
| 786 | * xdisp.c (try_scrolling): Calculate amount_to_scroll better in | ||
| 787 | scroll_conservatively case. If scrolling that much doesn't change | ||
| 788 | STARTP, move it down one line. | ||
| 789 | |||
| 790 | * xdisp.c (redisplay_window): Pass last_line_misfit arg to | ||
| 791 | try_scrolling. Make it 1 after make_cursor_line_fully_visible fails. | ||
| 792 | |||
| 793 | * xdisp.c (setup_echo_area_for_printing): Kill Emacs if no | ||
| 794 | selected frame. | ||
| 795 | |||
| 796 | * keymap.c (apropos_predicate, apropos_accumulate): Make them static. | ||
| 797 | (syms_of_keymap): staticpro them. | ||
| 798 | (Fapropos_internal): Initialize them and clear them out. | ||
| 799 | Don't GCPRO them. | ||
| 800 | |||
| 801 | * buffer.c (syms_of_buffer) <scroll-up-aggressively, scroll-down-aggressively>: | ||
| 802 | Doc fixes. | ||
| 803 | |||
| 804 | * lisp.h: New misc type Lisp_Save_Value. | ||
| 805 | (enum Lisp_Misc_Type): Add Lisp_Misc_Save_Value. | ||
| 806 | (XSAVE_VALUE): New macro. | ||
| 807 | (struct Lisp_Save_Value): New data type. | ||
| 808 | (union Lisp_Misc): Add u_save_value alternative. | ||
| 809 | (make_save_value): Declared. | ||
| 810 | |||
| 811 | * alloc.c (make_save_value): New function. | ||
| 812 | |||
| 813 | * xterm.c (x_catch_errors): Save dpy using make_save_value. | ||
| 814 | (x_catch_errors_unwind): Call XSync. | ||
| 815 | |||
| 816 | 2003-01-01 Richard M. Stallman <rms@gnu.org> | ||
| 817 | |||
| 818 | * window.c (window_scroll_pixel_based): Partially undo last change. | ||
| 819 | |||
| 820 | * keyboard.c (command_loop_1): Call adjust_point_for_property | ||
| 821 | in direct action cases for Qforward_char and Qbackward_char. | ||
| 822 | Set already_adjusted so it won't be done twice. | ||
| 823 | |||
| 824 | 2002-12-30 Richard Dawe <rich@phekda.freeserve.co.uk> (tiny change) | ||
| 825 | |||
| 826 | * src/config.in (!HAVE_SIZE_T): Fix order of arguments in | ||
| 827 | type definition of size_t. | ||
| 828 | |||
| 829 | 2003-01-02 Steven Tamm <steventamm@mac.com> | ||
| 830 | |||
| 831 | * macterm.c (syms_of_macterm): Provide the feature "mac-carbon" to | ||
| 832 | distinguish Carbon GUI builds from X11 builds on darwin. | ||
| 833 | |||
| 834 | 2002-12-30 Steven Tamm <steventamm@mac.com> | ||
| 835 | |||
| 836 | * macterm.c (syms_of_macterm): Set mac-wheel-button-is-mouse-2 | ||
| 837 | to default to t. | ||
| 838 | |||
| 839 | 2002-12-29 Francesco Potort,Al(B <pot@gnu.org> | ||
| 840 | |||
| 841 | * data.c (Fstring_to_number, Fminus): Better English in doc strings. | ||
| 842 | |||
| 843 | 2002-12-28 Steven Tamm <steventamm@mac.com> | ||
| 844 | |||
| 845 | * Makefile.in (macosx-bundle): Fixes to Mac OS X/Carbon port to | ||
| 846 | allow building in a different directory than source. Uses some | ||
| 847 | GNU Make extensions, but there is no other make on Mac OS X. | ||
| 848 | |||
| 849 | 2002-12-26 Francesco Potort,Al(B <pot@gnu.org> | ||
| 850 | |||
| 851 | * data.c (Fmakunbound, Ffmakunbound, Fmake_variable_buffer_local) | ||
| 852 | (Fsetq_default, Fmake_local_variable, Fkill_local_variable) | ||
| 853 | (Fmake_variable_frame_local, Faset, Fnumber_to_string, Fminus) | ||
| 854 | (Fstring_to_number): Mention the returned value in the doc strings. | ||
| 855 | |||
| 856 | 2002-12-23 Richard M. Stallman <rms@gnu.org> | ||
| 857 | |||
| 858 | * buffer.c (syms_of_buffer) <scroll-up-aggressively> | ||
| 859 | <scroll-down-aggressively>: Doc fix. | ||
| 860 | |||
| 861 | * xmenu.c (parse_single_submenu): Use individual keymap's prompt | ||
| 862 | string as pane name, if there is one. | ||
| 863 | (set_frame_menubar): Save menu_items_n_panes from each call to | ||
| 864 | parse_single_submenu and use it when calling digest_single_submenu. | ||
| 865 | |||
| 866 | * window.c (window_scroll_pixel_based): Fix check for reaching BEGV. | ||
| 867 | Don't try to make last line fully visible if it is past end of window. | ||
| 868 | |||
| 869 | 2002-12-22 Steven Tamm <steventamm@mac.com> | ||
| 870 | |||
| 871 | * macmenu.c (MIN_POPUP_SUBMENU_ID): Add. | ||
| 872 | (mac_menu_show): Add support for hierarchical popup menus. | ||
| 873 | (add_menu_item): Remove indentation support. | ||
| 874 | (fill_submenu, fill_menu): Create hierarchical menus | ||
| 875 | instead of using indentation. | ||
| 876 | |||
| 877 | 2002-12-22 Richard M. Stallman <rms@gnu.org> | ||
| 878 | |||
| 879 | * xdisp.c (try_cursor_movement): Don't call try_window here. | ||
| 880 | (redisplay_window): Never redisplay minibuffer when inactive. | ||
| 881 | |||
| 882 | * window.c (select_window_1): Undo 9/21 change. | ||
| 883 | |||
| 884 | 2002-12-22 Steven Tamm <steventamm@mac.com> | ||
| 885 | |||
| 886 | * macterm.c (XTread_socket): Call KeyTranslate for control and | ||
| 887 | meta to deal correctly shifted non-alpha characters, like C-S-5 | ||
| 888 | being treated like C-%. Does not look for shift key to deal | ||
| 889 | with masking off control-key with mac-reverse-ctrl-meta. | ||
| 890 | |||
| 891 | 2002-12-21 Richard M. Stallman <rms@gnu.org> | ||
| 892 | |||
| 893 | * xmenu.c (popup_get_selection): Now static. New arg DO_TIMERS. | ||
| 894 | If it is non-nil, run timers. Use an unwind-protect to requeue | ||
| 895 | the events that were read ahead. | ||
| 896 | (popup_get_selection_unwind): New subroutine. | ||
| 897 | (popup_get_selection_queue): File-scope variable now holds that queue. | ||
| 898 | (xmenu_show): Pass 0 for DO_TIMERS to popup_get_selection. | ||
| 899 | (xdialog_show): Pass 1 for DO_TIMERS to popup_get_selection. | ||
| 900 | Use an unwind-protect to pop down the dialog box. | ||
| 901 | (xdialog_show_unwind): New subroutine implements that. | ||
| 902 | |||
| 903 | * xdisp.c (row_containing_pos): Change exit test using last_y. | ||
| 904 | (try_window_id): Abort if row_containing_pos returns null. | ||
| 905 | |||
| 906 | * lread.c (load_error_handler): New function. | ||
| 907 | (Fload): Handle errors in Fsubstitute_in_file_name. | ||
| 908 | Don't expect Fsignal to return. | ||
| 909 | |||
| 910 | * eval.c: Errors and throws work right with interrupt blocking. | ||
| 911 | (struct catchtag): New elt interrupt_input_blocked. | ||
| 912 | (unwind_to_catch): Restore interrupt_input_blocked from saved value. | ||
| 913 | (internal_catch, Fcondition_case, internal_condition_case) | ||
| 914 | (internal_condition_case_1, internal_condition_case_2): Save it. | ||
| 915 | (Fsignal): Don't do TOTALLY_UNBLOCK_INPUT. | ||
| 916 | |||
| 917 | * editfns.c (Fformat): Add parens. | ||
| 918 | |||
| 919 | * dired.c (file_name_completion): Fix that change. | ||
| 920 | Delete special quit-handling code; just use QUIT. | ||
| 921 | |||
| 922 | 2002-12-21 Tak Ota <Takaaki.Ota@am.sony.com> (tiny change) | ||
| 923 | |||
| 924 | * dired.c (file_name_completion): Close directory on error | ||
| 925 | just as in directory_files_internal. | ||
| 926 | |||
| 927 | 2002-12-19 David Kastrup <David.Kastrup@t-online.de> | ||
| 928 | |||
| 929 | * window.c (Fset_window_configuration): Set old_point to correct | ||
| 930 | value when new_current_buffer == current_buffer. | ||
| 931 | |||
| 932 | 2002-12-17 Ben Key <bkey1@tampabay.rr.com> | ||
| 933 | |||
| 934 | Revisited my earlier fix for the following entry in etc/PROBLEMS: | ||
| 935 | "Emacs built on Windows 9x/ME crashes at startup on Windows XP, | ||
| 936 | or Emacs builtpart of on XP crashes at startup on Windows 9x/ME." | ||
| 937 | |||
| 938 | These changes were in part based upon suggestions made by Peter | ||
| 939 | 'Luna' Runestig [peter@runestig.com]. | ||
| 940 | |||
| 941 | * w32.c (g_b_init_is_windows_9x, g_b_init_open_process_token, | ||
| 942 | g_b_init_get_token_information, g_b_init_lookup_account_sid, | ||
| 943 | g_b_init_get_sid_identifier_authority ): Added several static | ||
| 944 | global variables. | ||
| 945 | |||
| 946 | * w32.c (globals_of_w32): New function. Used to initialize those | ||
| 947 | global variables that must always be initialized on startup even | ||
| 948 | when the global variable initialized is non zero. Its primary | ||
| 949 | purpose at this time is to set the global variables | ||
| 950 | g_b_init_is_windows_9x, g_b_init_open_process_token, | ||
| 951 | g_b_init_get_token_information, g_b_init_lookup_account_sid, and | ||
| 952 | g_b_init_get_sid_identifier_authority to 0 on startup. | ||
| 953 | Called from main. | ||
| 954 | |||
| 955 | * w32.c (is_windows_9x): Perform initialization only if | ||
| 956 | g_b_init_is_windows_9x is equal to 0. On initialization set | ||
| 957 | g_b_init_is_windows_9x equal to 1. | ||
| 958 | |||
| 959 | * w32.c (open_process_token): Perform initialization only if | ||
| 960 | g_b_init_open_process_token is equal to 0. On initialization set | ||
| 961 | g_b_init_open_process_token equal to 1. | ||
| 962 | |||
| 963 | * w32.c (get_token_information): Perform initialization only if | ||
| 964 | g_b_init_get_token_information is equal to 0. On initialization | ||
| 965 | set g_b_init_get_token_information equal to 1. | ||
| 966 | |||
| 967 | * w32.c (lookup_account_sid): Perform initialization only if | ||
| 968 | g_b_init_lookup_account_sid is equal to 0. On initialization | ||
| 969 | set g_b_init_lookup_account_sid equal to 1. | ||
| 970 | |||
| 971 | * w32.c (get_sid_identifier_authority): Perform initialization | ||
| 972 | only if g_b_init_get_sid_identifier_authority is equal to 0. | ||
| 973 | On initialization set g_b_init_get_sid_identifier_authority equal to 1. | ||
| 974 | |||
| 975 | * w32fns.c (globals_of_w32fns): New function. Used to initialize | ||
| 976 | those global variables that must always be initialized on startup | ||
| 977 | even when the global variable initialized is non zero. | ||
| 978 | Its primary purpose at this time is to initialize the global variable | ||
| 979 | track_mouse_event_fn. | ||
| 980 | |||
| 981 | * w32fns.c (w32_wnd_proc): Remove initialization of | ||
| 982 | track_mouse_event_fn from the handler for the WM_SETFOCUS message. | ||
| 983 | |||
| 984 | * w32fns.c (syms_of_w32fns): Call globals_of_w32fns. | ||
| 985 | |||
| 986 | * w32menu.c (globals_of_w32menu): New function. Used to | ||
| 987 | initialize those global variables that must always be initialized | ||
| 988 | on startup even when the global variable initialized is non zero. | ||
| 989 | Its primary purpose at this time is to initialize the global | ||
| 990 | variables get_menu_item_info and set_menu_item_info. | ||
| 991 | |||
| 992 | * w32menu.c (initialize_frame_menubar): Remove initialization of | ||
| 993 | get_menu_item_info and set_menu_item_info. | ||
| 994 | |||
| 995 | * w32menu.c (syms_of_w32menu): Call globals_of_w32menu. | ||
| 996 | |||
| 997 | * w32.h (globals_of_w32, globals_of_w32fns, globals_of_w32menu): | ||
| 998 | Declare them. | ||
| 999 | |||
| 1000 | * emacs.c (main): Call globals_of_w32 prior to calling | ||
| 1001 | init_environment if WINDOWSNT is defined. Call globals_of_w32fns | ||
| 1002 | and globals_of_w32menu if initialized is non zero and HAVE_NTGUI | ||
| 1003 | is defined. | ||
| 1004 | |||
| 1005 | * w32term.c (x_update_window_begin): Fix Windows API error | ||
| 1006 | detected by BoundsChecker. Test to determine if | ||
| 1007 | w32_system_caret_hwnd is NULL prior to attempting to use | ||
| 1008 | SendMessage to send the WM_EMACS_HIDE_CARET message to it. | ||
| 1009 | |||
| 1010 | * w32term.c (x_update_window_end): Fix Windows API error | ||
| 1011 | detected by BoundsChecker. Test to determine if | ||
| 1012 | w32_system_caret_hwnd is NULL prior to attempting to use | ||
| 1013 | SendMessage to send the WM_EMACS_SHOW_CARET message to it. | ||
| 1014 | |||
| 1015 | 2002-12-17 Kenichi Handa <handa@m17n.org> | ||
| 1016 | |||
| 1017 | * coding.c (coding_system_require_warning): New variable. | ||
| 1018 | (syms_of_coding): DEFVAR it. | ||
| 1019 | |||
| 1020 | * coding.h (coding_system_require_warning): Extern it. | ||
| 1021 | |||
| 1022 | * fileio.c (choose_write_coding_system): Even if | ||
| 1023 | Vcoding_system_for_write is non-nil, if | ||
| 1024 | coding_system_require_warning is nonzero, call | ||
| 1025 | Vselect_safe_coding_system_function. | ||
| 1026 | |||
| 1027 | 2002-12-17 Markus Rost <rost@math.ohio-state.edu> | ||
| 1028 | |||
| 1029 | * Makefile.in (lisp, shortlisp): Add cus-face and timer. | ||
| 1030 | (lisp): Add font-core. | ||
| 1031 | |||
| 1032 | 2002-12-13 Stefan Monnier <monnier@cs.yale.edu> | ||
| 1033 | |||
| 1034 | * textprop.c (text_read_only): New arg `propval'. | ||
| 1035 | (get_char_property_and_overlay): Remove unused var `next_overlay'. | ||
| 1036 | (verify_interval_modification): Use text_read_only's new arg. | ||
| 1037 | |||
| 1038 | 2002-12-13 Kenichi Handa <handa@m17n.org> | ||
| 1039 | |||
| 1040 | * coding.c (Funencodable_char_position): Set pend correctly. | ||
| 1041 | |||
| 1042 | 2002-12-12 Jason Rumney <jasonr@gnu.org> | ||
| 1043 | |||
| 1044 | * w32term.c (last_mousemove_x, last_mousemove_y): New variables. | ||
| 1045 | (w32_read_socket) <WM_MOUSEMOVE>: Use them to detect non-movement. | ||
| 1046 | Be more careful about when help_events are generated. | ||
| 1047 | |||
| 1048 | 2002-12-12 Steven Tamm <steventamm@mac.com> | ||
| 1049 | |||
| 1050 | * macterm.c (mac_check_for_quit_char): Correctly set the | ||
| 1051 | modifiers of the event to 0. | ||
| 1052 | * mac.c (sys_select): Duplicate rfds before calling select to | ||
| 1053 | ensure that rfds survive the while loop. | ||
| 1054 | |||
| 1055 | 2002-12-11 Kim F. Storm <storm@cua.dk> | ||
| 1056 | |||
| 1057 | * xdisp.c (try_window_id): Don't call set_cursor_from_row if | ||
| 1058 | row_containing_pos returned NULL. | ||
| 1059 | |||
| 1060 | 2002-12-10 Steven Tamm <steventamm@mac.com> | ||
| 1061 | |||
| 1062 | * mac.c (sys_read): Fixed sys_read to not call select if IO is | ||
| 1063 | non-blocking. | ||
| 1064 | (sys_select): Fixed sys_select to not use a timeout larger than | ||
| 1065 | the one given. | ||
| 1066 | |||
| 1067 | 2002-12-10 Juanma Barranquero <lektu@terra.es> | ||
| 1068 | |||
| 1069 | * editfns.c (Fformat): Use alloca, not _alloca. | ||
| 1070 | |||
| 1071 | 2002-12-09 Richard M. Stallman <rms@gnu.org> | ||
| 1072 | |||
| 1073 | * buffer.c (Fget_buffer_create): Call Qucs_set_table_for_input | ||
| 1074 | as the last thing. | ||
| 1075 | |||
| 1076 | 2002-12-09 Dave Love <fx@gnu.org> | ||
| 1077 | |||
| 1078 | * s/sol2-8.h: Removed. (Not necessary.) | ||
| 1079 | |||
| 1080 | 2002-12-09 Matthew Swift <swift@alum.mit.edu> | ||
| 1081 | |||
| 1082 | * editfns.c (Fformat): Handle precision in string conversion | ||
| 1083 | specifiers like libc functions do (ie, print at most that many | ||
| 1084 | characters). | ||
| 1085 | |||
| 1086 | 2002-12-08 Richard M. Stallman <rms@gnu.org> | ||
| 1087 | |||
| 1088 | * xdisp.c (row_containing_pos): Check more carefully | ||
| 1089 | whether charpos is really in the row before returning it. | ||
| 1090 | |||
| 1091 | 2002-12-07 Steven Tamm <steventamm@mac.com> | ||
| 1092 | |||
| 1093 | * sysdep.c (emacs_read) [HAVE_CARBON]: Have emacs_read use sys_read. | ||
| 1094 | |||
| 1095 | * eval.c (Feval) [HAVE_CARBON]: Calls mac_check_for_quit_char at | ||
| 1096 | each stack frame. This may change as it could be time consuming. | ||
| 1097 | |||
| 1098 | * macterm.c (mac_check_for_quit_char, quit_char_comp) | ||
| 1099 | (init_quit_char_handler, mac_determine_quit_char_modifiers) | ||
| 1100 | (mac_initialize): Added code to check for pressing of quit_char | ||
| 1101 | in the OS event queue. | ||
| 1102 | |||
| 1103 | * mac.c (sys_select): Call mac_check_for_quit_char every second | ||
| 1104 | while blocking on select. | ||
| 1105 | |||
| 1106 | * mac.c (sys_read): Use sys_select to test for input first | ||
| 1107 | before calling read, to allow C-g to break. | ||
| 1108 | |||
| 1109 | 2002-12-07 Richard M. Stallman <rms@gnu.org> | ||
| 1110 | |||
| 1111 | * minibuf.c (Fcompleting_read): Doc fix. | ||
| 1112 | |||
| 1113 | * lread.c (syms_of_lread) <load-history>: Doc fix. | ||
| 1114 | |||
| 1115 | * fileio.c (Fcopy_file): Set immediate_quit around emacs_open call. | ||
| 1116 | |||
| 1117 | * eval.c (Fdefun, Fdefmacro): Record in load-history redefining an | ||
| 1118 | autoload. | ||
| 1119 | |||
| 1120 | * data.c (Fdefalias): Record in load-history redefining an autoload. | ||
| 1121 | |||
| 1122 | * alloca.c: Undo ifdef change accidentally made on 12-04. | ||
| 1123 | |||
| 1124 | 2002-12-06 Francesco Potorti` <pot@gnu.org> | ||
| 1125 | |||
| 1126 | * xfns.c (png_load): Avoid double gamma correction for PNG images. | ||
| 1127 | |||
| 1128 | 2002-12-04 Richard M. Stallman <rms@gnu.org> | ||
| 1129 | |||
| 1130 | * sysdep.c (fcntl.h): Test only HAVE_FCNTL_H. | ||
| 1131 | |||
| 1132 | * fileio.c (fcntl.h): Test only HAVE_FCNTL_H. | ||
| 1133 | |||
| 1134 | * alloca.c: Don't use #error. | ||
| 1135 | |||
| 1136 | 2002-12-03 Dave Love <fx@gnu.org> | ||
| 1137 | |||
| 1138 | * buffer.c (Qucs_set_table_for_input): New. | ||
| 1139 | (Fget_buffer_create): Use it. | ||
| 1140 | (Qset_buffer_major_mode_hook): Deleted. | ||
| 1141 | (Fset_buffer_major_mode): Revert previous change. | ||
| 1142 | (init_buffer_once): Intern ucs-set-table-for-input. | ||
| 1143 | (syms_of_buffer): Delete Qset_buffer_major_mode_hook. | ||
| 1144 | Add &Qucs_set_table_for_input. | ||
| 1145 | |||
| 1146 | 2002-12-03 Andreas Schwab <schwab@suse.de> | ||
| 1147 | |||
| 1148 | * callint.c (Fcall_interactively): Use next_event only if less | ||
| 1149 | than key_count. | ||
| 1150 | |||
| 1151 | 2002-12-02 Andrew Choi <akochoi@shaw.ca> | ||
| 1152 | |||
| 1153 | * macmenu.c (add_menu_item, fill_menubar): Truncate menu item | ||
| 1154 | names to 255 characters. | ||
| 1155 | |||
| 1156 | * macterm.c (XTread_socket): If all frames have been collapsed, | ||
| 1157 | expand the first one before handling drag-and-drop events. | ||
| 1158 | |||
| 1159 | * s/darwin.h (GETPGRP_NO_ARG): Delete. Replaced by GETPGRP_VOID, | ||
| 1160 | which is detected by autoconf. | ||
| 1161 | |||
| 1162 | 2002-12-01 Steven Tamm <steventamm@mac.com> | ||
| 1163 | |||
| 1164 | * unexmacosx.c (copy_twolevelhints, dump_it): Now corrects the | ||
| 1165 | offset in two hints table to allow prebinding to be redone and | ||
| 1166 | allow the executable to be stripped. | ||
| 1167 | |||
| 1168 | 2002-11-29 Dave Love <fx@gnu.org> | ||
| 1169 | |||
| 1170 | * fns.c (Frequire): Don't call LOADHIST_ATTACH if feature was | ||
| 1171 | already provided. | ||
| 1172 | |||
| 1173 | 2002-11-29 Richard M. Stallman <rms@gnu.org> | ||
| 1174 | |||
| 1175 | * xdisp.c (start_display): Check more intelligently for | ||
| 1176 | whether the line is continued. | ||
| 1177 | (move_it_vertically_backward): Clear it->continuation_lines_width. | ||
| 1178 | |||
| 1179 | 2002-11-28 Dave Love <fx@gnu.org> | ||
| 1180 | |||
| 1181 | * s/amdahl.h, s/unipl5-0.h, m/sgi3000.h, s/3700.h, s/alliant-2800.h: | ||
| 1182 | * s/alliant.h, s/altos.h: Deleted. (Unused/empty.) | ||
| 1183 | |||
| 1184 | 2002-11-27 Steven Tamm <steventamm@mac.com> | ||
| 1185 | |||
| 1186 | * fns.c (Frequire): Change nesting allowance from 2 to 3 to cause | ||
| 1187 | more descriptive error output from lread.c:Fload upon most require | ||
| 1188 | cycles during boostrapping. | ||
| 1189 | |||
| 1190 | 2002-11-27 Jason Rumney <jasonr@gnu.org> | ||
| 1191 | |||
| 1192 | * fileio.c (Finsert_file_contents): Give a more appropriate error | ||
| 1193 | for files bigger than 2Gb when off_t is 32 bit. | ||
| 1194 | |||
| 1195 | * dired.c (Ffile_attributes): Don't return negative file sizes for | ||
| 1196 | files bigger than 2Gb when off_t is 32 bit. | ||
| 1197 | |||
| 1198 | 2002-11-27 Dave Love <fx@gnu.org> | ||
| 1199 | |||
| 1200 | * s/irix6-0.h (GC_SETJMP_WORKS, GC_MARK_STACK): Define. | ||
| 1201 | |||
| 1202 | * systty.h: Don't conditionally define GETPGRP_NO_ARG. | ||
| 1203 | Test GETPGRP_VOID instead. | ||
| 1204 | [BSD_TERMIOS]: Remove definitions (never used). | ||
| 1205 | |||
| 1206 | * s/osf5-0.h (WAIT_USE_INT, SYS_SIGLIST_DECLARED, sys_siglist): | ||
| 1207 | Don't define. | ||
| 1208 | (GC_SETJMP_WORKS, GC_MARK_STACK): Define. | ||
| 1209 | |||
| 1210 | * m/mips.h (WORDS_BIG_ENDIAN): Define conditionally. | ||
| 1211 | |||
| 1212 | 2002-11-25 Jason Rumney <jasonr@gnu.org> | ||
| 1213 | |||
| 1214 | * w32.c (sys_write): Avoid non-blocking mode, which is not fully | ||
| 1215 | supported. | ||
| 1216 | |||
| 1217 | 2002-11-25 Dave Love <fx@gnu.org> | ||
| 1218 | |||
| 1219 | * unexalpha.c (update_dynamic_symbols): Cast arg of fatal_unexec. | ||
| 1220 | |||
| 1221 | * Makefile.in (TEMACS_LDFLAGS): Update last change. | ||
| 1222 | |||
| 1223 | 2002-11-25 Andreas Schwab <schwab@suse.de> | ||
| 1224 | |||
| 1225 | * m/ia64.h: Restore `#ifndef NOT_C_CODE' deleted by last change. | ||
| 1226 | |||
| 1227 | 2002-11-24 Steven Tamm <steventamm@mac.com> | ||
| 1228 | |||
| 1229 | * unexmacosx.c (unexec_realloc): Use malloc_default_zone to | ||
| 1230 | determine the size of pointers alloced in unexed space instead | ||
| 1231 | of using possibly invalid emacs_zone pointers. This fixes the | ||
| 1232 | binary incompatibility problems caused by updates to libSystem.B. | ||
| 1233 | |||
| 1234 | 2002-11-24 Richard M. Stallman <rms@gnu.org> | ||
| 1235 | |||
| 1236 | * search.c (Fstring_match): Doc fix. | ||
| 1237 | |||
| 1238 | * callint.c (Fcall_interactively): If a command fails because | ||
| 1239 | `*' detects a read-only buffer, but RECORD_FLAG is set, | ||
| 1240 | record it anyway if the args don't actually do tty input. | ||
| 1241 | |||
| 1242 | 2002-11-22 Dave Love <fx@gnu.org> | ||
| 1243 | |||
| 1244 | * sysdep.c (stuff_char) [PROTOTYPES]: Provide ISO C arglist. | ||
| 1245 | |||
| 1246 | * keyboard.c (interrupt_signal): Provide forward declaration. | ||
| 1247 | (kbd_buffer_store_event): Don't declare interrupt_signal. | ||
| 1248 | |||
| 1249 | * xdisp.c (store_frame_title_char) [PROTOTYPES]: Provide ISO C arglist. | ||
| 1250 | |||
| 1251 | 2002-11-21 Richard M. Stallman <rms@gnu.org> | ||
| 1252 | |||
| 1253 | * eval.c (interactive_p): Skip any number of bytecode | ||
| 1254 | and special form frames, in any order. | ||
| 1255 | |||
| 1256 | 2002-11-20 Jason Rumney <jasonr@gnu.org> | ||
| 1257 | |||
| 1258 | * w32fns.c (convert_mono_to_color_image): New function. | ||
| 1259 | (xbm_load, xbm_load_image): Use it when foreground or background | ||
| 1260 | is explicitly set. | ||
| 1261 | |||
| 1262 | 2002-11-19 Dave Love <fx@gnu.org> | ||
| 1263 | |||
| 1264 | * s/usg5-4.h, sco4.h (bcopy, bzero, bcmp): Don't define. | ||
| 1265 | |||
| 1266 | 2002-11-18 Jason Rumney <jasonr@gnu.org> | ||
| 1267 | |||
| 1268 | * w32fns.c (x_build_heuristic_mask): Filter palette info from color. | ||
| 1269 | (XPutPixel): Swap blue and red. | ||
| 1270 | (xpm_format, pbm_format, png_format, jpeg_format, tiff_format) | ||
| 1271 | (gif_format, gs_format): Use IMAGE_ASCENT_VALUE. | ||
| 1272 | (xpm_image_p, pbm_image_p, png_image_p, jpeg_image_p) | ||
| 1273 | (tiff_image_p, gif_image_p, gs_image_p): Don't check ascent. | ||
| 1274 | |||
| 1275 | 2002-11-18 Dave Love <fx@gnu.org> | ||
| 1276 | |||
| 1277 | * m/orion105.h (HAVE_ALLOCA): Don't define. | ||
| 1278 | |||
| 1279 | * m/m68k.h, m/arm.h, mtekxd88.h, m/tower32v3.h: Don't define alloca. | ||
| 1280 | |||
| 1281 | * m/intel386.h: Don't include alloca.h or define alloca. | ||
| 1282 | |||
| 1283 | * m/ia64.h: Don't include alloca.h, stdlib.h. Don't declare | ||
| 1284 | malloc, realloc, calloc. | ||
| 1285 | |||
| 1286 | * m/hp800.h, m/sr2k.h, m/ns16000.h, m/wicat.h (bcopy, bzero) | ||
| 1287 | (bcmp): Don't define. | ||
| 1288 | |||
| 1289 | * m/delta.h (bcopy, bzero, bcmp, alloca): Don't define. | ||
| 1290 | |||
| 1291 | * m/amdahl.h: Don't define LIB_STANDARD. | ||
| 1292 | |||
| 1293 | * m/alpha.h: Move OSF1 stuff from here to s/osf1.h. | ||
| 1294 | |||
| 1295 | * s/osf1.h: Move OSF1 stuff from m/alpha.h to here. | ||
| 1296 | |||
| 1297 | * s/irix4-0.h, s/irix5-0.h, m/powerpcle.h, m/sparc.h: | ||
| 1298 | Don't include alloca.h. | ||
| 1299 | |||
| 1300 | * s/aix3-2.h (HAVE_FSYNC): Don't define. | ||
| 1301 | |||
| 1302 | * regex.c (_GNU_SOURCE): Don't define. | ||
| 1303 | |||
| 1304 | * process.c (_GNU_SOURCE): Don't define. | ||
| 1305 | |||
| 1306 | * fileio.c (_GNU_SOURCE, HAVE_FSYNC): Don't define. | ||
| 1307 | |||
| 1308 | 2002-11-18 Markus Rost <rost@math.ohio-state.edu> | ||
| 1309 | |||
| 1310 | * s/sol2-8.h: Include sol2-6.h. | ||
| 1311 | |||
| 1312 | 2002-11-18 Miles Bader <miles@gnu.org> | ||
| 1313 | |||
| 1314 | * dispextern.h (struct face): Add `overstrike' field. | ||
| 1315 | * xterm.c (x_draw_glyph_string_foreground) | ||
| 1316 | (x_draw_composite_glyph_string_foreground): Implement overstriking. | ||
| 1317 | * xfaces.c (load_face_font): Set `face->overstrike' based on | ||
| 1318 | result from choose_face_font. | ||
| 1319 | (best_matching_font, choose_face_font): Add `needs_overstrike' | ||
| 1320 | argument, and use it to return whether overstriking is desirable | ||
| 1321 | for this face/font combo. | ||
| 1322 | (set_font_frame_param: Pass new argument to choose_face_font. | ||
| 1323 | |||
| 1324 | 2002-11-17 Ben Key <BKey1@tampabay.rr.com> | ||
| 1325 | |||
| 1326 | This change is my fix for the following entry in etc/PROBLEMS: | ||
| 1327 | "Emacs built on Windows 9x/ME crashes at startup on Windows XP, | ||
| 1328 | or Emacs builtpart of on XP crashes at startup on Windows 9x/ME." | ||
| 1329 | |||
| 1330 | * w32.c: Added wrapper functions around the win32 API functions | ||
| 1331 | OpenProcessToken, GetTokenInformation, LookupAccountSid, and | ||
| 1332 | GetSidIdentifierAuthority. These wrapper functions serve two | ||
| 1333 | purposes: | ||
| 1334 | 1. They ensure that the wrapped function can never be called | ||
| 1335 | when Emacs is running on an operating system on which they are | ||
| 1336 | not supported (Microsoft Windows 95 / 98 / ME). | ||
| 1337 | 2. They call the wrapped functions via function pointers rather | ||
| 1338 | than calling them directly. This avoids taking advantage of the | ||
| 1339 | undocumented fact that although these functions are not supported | ||
| 1340 | in the 9x branch of Microsoft Windows, the functions do exist in | ||
| 1341 | the version of advapi32.dll that is found in the 9x branch of | ||
| 1342 | Microsoft Windows. | ||
| 1343 | |||
| 1344 | * w32.c (init_user_info): Replaced the calls to the win32 API | ||
| 1345 | functions OpenProcessToken, GetTokenInformation, LookupAccountSid, | ||
| 1346 | and GetSidIdentifierAuthority with calls to the newly added | ||
| 1347 | wrapper functions. | ||
| 1348 | |||
| 1349 | * w32.h: Added extern declarations for the following functions: | ||
| 1350 | syms_of_w32term, syms_of_w32fns, syms_of_w32select, | ||
| 1351 | syms_of_w32menu, and void syms_of_fontset. | ||
| 1352 | |||
| 1353 | * w32fns.c (w32_wnd_proc): Added code to reinitialize the | ||
| 1354 | function pointer track_mouse_event_fn in the handler for the | ||
| 1355 | WM_SETFOCUS message. | ||
| 1356 | |||
| 1357 | * w32menu.c (initialize_frame_menubar): Added code to | ||
| 1358 | reinitialize the function pointers set_menu_item_info and | ||
| 1359 | get_menu_item_info. | ||
| 1360 | |||
| 1361 | 2002-11-17 Ben Key <BKey1@tampabay.rr.com> | ||
| 1362 | |||
| 1363 | * sound.c: Added a partial implementation of play-sound-internal | ||
| 1364 | for Microsoft Windows. Added various #ifdef / #else / #endif | ||
| 1365 | code blocks to separate the code that will compile under | ||
| 1366 | Microsoft Windows from the code that is specific to Gnu/Linux. | ||
| 1367 | Moved several blocks of code around to make this separation of code | ||
| 1368 | into Windows compatible and Gnu/Linux compatible code blocks easier. | ||
| 1369 | |||
| 1370 | * makefile.w32-in: Include sound.c and link with WinMM.lib. | ||
| 1371 | |||
| 1372 | * s/ms-w32.h: Defined the symbol HAVE_SOUND so that the newly | ||
| 1373 | added support for play-sound-internal under Windows would be | ||
| 1374 | included in the build of Emacs. | ||
| 1375 | |||
| 1376 | 2002-11-16 Jason Rumney <jasonr@gnu.org> | ||
| 1377 | |||
| 1378 | * w32fns.c (w32_load_system_font): Don't disable Cleartype. | ||
| 1379 | |||
| 1380 | * w32term.c (w32_get_glyph_string_clip_rect): Clip cursor tightly. | ||
| 1381 | |||
| 1382 | 2002-11-15 Stefan Monnier <monnier@cs.yale.edu> | ||
| 1383 | |||
| 1384 | * keyboard.c (command_loop_1): Fix int/Lisp_Object mixup. | ||
| 1385 | (adjust_point_for_property): Move out of display and invisible even if | ||
| 1386 | we were already inside before (in case a property was added while | ||
| 1387 | we weren't looking). Be more careful when handling invisible props. | ||
| 1388 | Skip invisible text as if it really wasn't there at all. | ||
| 1389 | |||
| 1390 | 2002-11-15 Jason Rumney <jasonr@gnu.org> | ||
| 1391 | |||
| 1392 | * w32term.c (x_draw_image_foreground) | ||
| 1393 | (w32_draw_image_foreground_1): Use standard copy and invert | ||
| 1394 | operations to draw images. | ||
| 1395 | |||
| 1396 | * w32fns.c (x_create_x_image_and_pixmap): Fill in palette for | ||
| 1397 | depth of 1. | ||
| 1398 | (xbm_read_bitmap_data): Invert bits as xbm is read in. | ||
| 1399 | (XPutPixel): Don't invert bits here. | ||
| 1400 | |||
| 1401 | 2002-11-15 Jason Rumney <jasonr@gnu.org> | ||
| 1402 | |||
| 1403 | * w32term.c (x_draw_image_foreground, x_draw_image_glyph_string) | ||
| 1404 | (w32_draw_image_foreground_1): Handle image masks. | ||
| 1405 | (x_draw_image_glyph_string): Don't BitBlt transparently. | ||
| 1406 | 505 | ||
| 1407 | * w32fns.c (w32_defined_color): Adjust RGB values for Emacs. | 506 | * w32fns.c (w32_defined_color): Adjust RGB values for Emacs. |
| 1408 | (x_from_xcolors): Adjust RGB values for W32. | 507 | (x_from_xcolors): Adjust RGB values for W32. |
| @@ -1927,471 +1026,6 @@ | |||
| 1927 | (do_auto_save_make_dir, do_auto_save_eh): New functions. | 1026 | (do_auto_save_make_dir, do_auto_save_eh): New functions. |
| 1928 | (do_auto_save_unwind): Don't call pop_message. | 1027 | (do_auto_save_unwind): Don't call pop_message. |
| 1929 | 1028 | ||
| 1930 | * lisp.h (pop_message_unwind): Renamed from push_message_unwind. | ||
| 1931 | |||
| 1932 | * keyboard.c (Fexecute_extended_command): Use pop_message_unwind. | ||
| 1933 | |||
| 1934 | * alloc.c (Fgarbage_collect): Use pop_message_unwind. | ||
| 1935 | |||
| 1936 | * xdisp.c (pop_message_unwind): Renamed from push_message_unwind. | ||
| 1937 | |||
| 1938 | 2002-09-10 Stefan Monnier <monnier@cs.yale.edu> | ||
| 1939 | |||
| 1940 | * regex.c (DISCARD_FAILURE_REG_OR_COUNT): Delete. | ||
| 1941 | (CHECK_INFINITE_LOOP): Don't pop anything: just set `cycle' to 1. | ||
| 1942 | (re_match_2_internal): Be more careful with infinite loops. | ||
| 1943 | |||
| 1944 | 2002-09-10 Kim F. Storm <storm@cua.dk> | ||
| 1945 | |||
| 1946 | * macros.c (end_kbd_macro): New function. | ||
| 1947 | (Fend_kbd_macro): Use it. | ||
| 1948 | |||
| 1949 | * macros.h (end_kbd_macro): Declare extern. | ||
| 1950 | |||
| 1951 | * keyboard.c (Fdiscard_input): If defining keyboard macro, | ||
| 1952 | end and save it instead of discarding it. | ||
| 1953 | |||
| 1954 | 2002-09-09 Markus Rost <rost@math.ohio-state.edu> | ||
| 1955 | |||
| 1956 | * s/sol2-6.h: Fix typo. Add comment. | ||
| 1957 | |||
| 1958 | 2002-09-09 Richard M. Stallman <rms@gnu.org> | ||
| 1959 | |||
| 1960 | * regex.c (regnum_t): Use signed int, not unsigned int. | ||
| 1961 | |||
| 1962 | * s/sol2-6.h: New file. | ||
| 1963 | |||
| 1964 | * s/sol2-5.h (UNEXEC): Definition deleted. | ||
| 1965 | |||
| 1966 | 2002-09-08 Kim F. Storm <storm@cua.dk> | ||
| 1967 | |||
| 1968 | * macros.c (executing_macro_index): Change type to EMACS_INT. | ||
| 1969 | (syms_of_macros): DEFVAR_INT it (needed by kmacro). | ||
| 1970 | |||
| 1971 | * macros.h (executing_macro_index): Change type to EMACS_INT. | ||
| 1972 | |||
| 1973 | 2002-09-06 Richard M. Stallman <rms@gnu.org> | ||
| 1974 | |||
| 1975 | * casetab.c (set_case_table): Make canon table point to eqv table. | ||
| 1976 | |||
| 1977 | 2002-09-06 Juanma Barranquero <lektu@terra.es> | ||
| 1978 | |||
| 1979 | * coding.c (syms_of_coding): Fix spacing. | ||
| 1980 | |||
| 1981 | * composite.c (Fcompose_region_internal) | ||
| 1982 | (Fcompose_string_internal): Likewise. | ||
| 1983 | |||
| 1984 | * data.c (Flsh): Likewise. | ||
| 1985 | |||
| 1986 | * fontset.c (Fset_fontset_font): Likewise. | ||
| 1987 | |||
| 1988 | * macfns.c (Fx_server_max_request_size): Likewise. | ||
| 1989 | |||
| 1990 | * w16select.c (syms_of_win16select): Likewise. | ||
| 1991 | |||
| 1992 | * w32select.c (syms_of_w32select): Likewise. | ||
| 1993 | |||
| 1994 | * xselect.c (syms_of_xselect): Likewise. | ||
| 1995 | |||
| 1996 | 2002-09-05 Richard M. Stallman <rms@gnu.org> | ||
| 1997 | |||
| 1998 | * regex.c (set_image_of_range_1): In no-TRANSLATE case, | ||
| 1999 | call EXTEND_RANGE_TABLE and return a proper value. | ||
| 2000 | (set_image_of_range): Don't call set_image_of_range_1 | ||
| 2001 | if no TRANSLATE or if range includes all of Latin-1. | ||
| 2002 | Only call it for the Latin-1 part of the range. | ||
| 2003 | For other cases, make two separate ranges, | ||
| 2004 | one for the original specified characters and one for | ||
| 2005 | their case-conversions. | ||
| 2006 | |||
| 2007 | 2002-09-04 Richard M. Stallman <rms@gnu.org> | ||
| 2008 | |||
| 2009 | * s/sol2-5.h (UNEXEC): Use unexsol.o. | ||
| 2010 | |||
| 2011 | * window.c (displayed_window_lines): Correct for one-off bug | ||
| 2012 | in HEIGHT on non-window displays. | ||
| 2013 | |||
| 2014 | * regex.c (set_image_of_range_1): New function. | ||
| 2015 | (set_image_of_range): Use set_image_of_range_1 for Latin-1. | ||
| 2016 | Return a value to indicate running out of memory. | ||
| 2017 | (SET_RANGE_TABLE_WORK_AREA): Check value from set_image_of_range. | ||
| 2018 | (extend_range_table_work_area): New subroutine. | ||
| 2019 | (EXTEND_RANGE_TABLE): Replaces EXTEND_RANGE_TABLE_WORK_AREA. | ||
| 2020 | Different calling conventions, and used from set_image_of_range{,_1}. | ||
| 2021 | (IMMEDIATE_QUIT_CHECK): Definitions moved. | ||
| 2022 | |||
| 2023 | 2002-09-04 Juanma Barranquero <lektu@terra.es> | ||
| 2024 | |||
| 2025 | * makefile.w32-in: All dependencies updated. | ||
| 2026 | |||
| 2027 | 2002-09-01 Richard M. Stallman <rms@gnu.org> | ||
| 2028 | |||
| 2029 | * unexsol.c: New file. | ||
| 2030 | |||
| 2031 | * xfns.c (Qbox): Declare external, don't define. | ||
| 2032 | |||
| 2033 | * xdisp.c (redisplay_window) <force-start case>: | ||
| 2034 | If point is on semi-visible last line, reposition | ||
| 2035 | it at previous line. | ||
| 2036 | |||
| 2037 | * alloc.c (display_malloc_warning): Use display-warning. | ||
| 2038 | (malloc_warning_1): Function deleted. | ||
| 2039 | |||
| 2040 | * alloc.c [ALLOC_DEBUG]: #undef INLINE. | ||
| 2041 | |||
| 2042 | * lread.c (read1): Handle #! by skipping the line. | ||
| 2043 | |||
| 2044 | 2002-08-31 Richard M. Stallman <rms@gnu.org> | ||
| 2045 | |||
| 2046 | * Makefile.in (TEMACS_LDFLAGS): Renamed from ALL_LDFLAGS. | ||
| 2047 | Don't include LDFLAGS. | ||
| 2048 | (temacs): Pass LDFLAGS separately, and not via YMF_PASS_LDFLAGS. | ||
| 2049 | |||
| 2050 | 2002-08-31 Eli Zaretskii <eliz@is.elta.co.il> | ||
| 2051 | |||
| 2052 | * xdisp.c (get_window_cursor_type): Don't use x_highlight_frame | ||
| 2053 | member of x_display_info unless we compile for some window system. | ||
| 2054 | |||
| 2055 | 2002-08-31 Kim F. Storm <storm@cua.dk> | ||
| 2056 | |||
| 2057 | * xdisp.c (Valternate_cursor_type, Qalternate_cursor_type): Removed. | ||
| 2058 | (get_window_cursor_type): Don't use them. | ||
| 2059 | (syms_of_xdisp): Remove intern, staticpro, and defvar for them. | ||
| 2060 | |||
| 2061 | 2002-08-30 Kenichi Handa <handa@etl.go.jp> | ||
| 2062 | |||
| 2063 | * xdisp.c (get_next_display_element): Fix previous change. | ||
| 2064 | |||
| 2065 | 2002-08-30 Andrew Choi <akochoi@shaw.ca> | ||
| 2066 | |||
| 2067 | * macterm.c (expose_overlaps): New function (merge code from xterm.c). | ||
| 2068 | (expose_window): Use it to fix the display of overlapping | ||
| 2069 | rows (merge code from xterm.c). | ||
| 2070 | |||
| 2071 | * macfns.c (Qbox): Add extern declaration. | ||
| 2072 | |||
| 2073 | 2002-08-30 Juanma Barranquero <lektu@terra.es> | ||
| 2074 | |||
| 2075 | * w32fns.c (Qbox): Make extern. | ||
| 2076 | (syms_of_w32fns): Remove initialization of Qbox. | ||
| 2077 | |||
| 2078 | 2002-08-30 Rune Kleveland <runekl@viewpoint.no> (tiny change) | ||
| 2079 | |||
| 2080 | * xfns.c (Fx_open_connection): Fix error message. | ||
| 2081 | |||
| 2082 | 2002-08-30 Kim F. Storm <storm@cua.dk> | ||
| 2083 | |||
| 2084 | The following changes consolidates the handling of the cursor | ||
| 2085 | type in xdisp.c, moving duplicate code and functionality from | ||
| 2086 | xfns.c, xterm.c, w32fns.c, w32term.c, macfns.c, and macterm.c. | ||
| 2087 | |||
| 2088 | * frame.h (enum text_cursor_kinds): Consolidated here. | ||
| 2089 | Added DEFAULT_CURSOR value. | ||
| 2090 | (struct frame) <desired_cursor, cursor_width> | ||
| 2091 | <blink_off_cursor, blink_off_cursor_width>: New fields. | ||
| 2092 | Consolidated from output_x, output_w32 and output_mac structs. | ||
| 2093 | (FRAME_DESIRED_CURSOR, FRAME_CURSOR_WIDTH, FRAME_BLINK_OFF_CURSOR) | ||
| 2094 | (FRAME_BLINK_OFF_CURSOR_WIDTH): Macros consolidated here. | ||
| 2095 | |||
| 2096 | * xdisp.c (Qbar, Qhbar, Qbox, Qhollow, Vblink_cursor_alist): | ||
| 2097 | Variables consolidated here. | ||
| 2098 | (Valternate_cursor_type, Qalternate_cursor_type): New variables. | ||
| 2099 | (Vcursor_in_non_selected_windows): Renamed from | ||
| 2100 | cursor_in_non_selected_windows and changed to Lisp_Object. | ||
| 2101 | (syms_of_xdisp): Define and staticpro new and moved variables. | ||
| 2102 | (get_specified_cursor_type): Renamed from x_specified_cursor_type; | ||
| 2103 | consolidated here. Recognize Qhollow setting. | ||
| 2104 | (set_frame_cursor_types): New function to set frame cursor types | ||
| 2105 | based on the frame parameters. | ||
| 2106 | (get_window_cursor_type): New function to calculate new cursor | ||
| 2107 | type and width for the specified window. Based on duplicated | ||
| 2108 | code consolidated here. | ||
| 2109 | Enhancements: cursor-in-non-selected-windows may be a cursor type, | ||
| 2110 | check buffer-local alternate-cursor-type and blink-cursor-alist | ||
| 2111 | before using built-in blink off methods. | ||
| 2112 | |||
| 2113 | * dispextern.h (cursor_in_non_selected_windows): Extern removed. | ||
| 2114 | |||
| 2115 | * lisp.h (Qcursor_in_non_selected_windows): Extern removed. | ||
| 2116 | (get_specified_cursor_type, get_window_cursor_type) | ||
| 2117 | (set_frame_cursor_types): Added prototypes. | ||
| 2118 | |||
| 2119 | * macfns.c (x_specified_cursor_type): Removed. | ||
| 2120 | (x_set_cursor_type): Use set_frame_cursor_types. | ||
| 2121 | (Qbar, Qbox): Removed. | ||
| 2122 | (syms_of_macfns): Don't intern or staticpro them. | ||
| 2123 | |||
| 2124 | * macterm.c (x_specified_cursor_type): Remove prototype. | ||
| 2125 | (x_draw_bar_cursor): Use FRAME_CURSOR_WIDTH. | ||
| 2126 | (x_display_and_set_cursor): Use get_window_cursor_type. | ||
| 2127 | Remove unused local variables cursor_non_selected, active_cursor. | ||
| 2128 | Redraw cursor if hbar cursor width changes. | ||
| 2129 | (make_mac_frame): Set FRAME_DESIRED_CURSOR. | ||
| 2130 | |||
| 2131 | * macterm.h (enum text_cursor_kinds): Removed. | ||
| 2132 | (struct output_mac) <current_cursor, desired_cursor, cursor_width> | ||
| 2133 | <blink_off_cursor, blink_off_cursor_width>: Members removed. | ||
| 2134 | (FRAME_DESIRED_CURSOR): Macro removed. | ||
| 2135 | |||
| 2136 | * w32fns.c (Vblink_cursor_alist): Removed. | ||
| 2137 | (Qbar, Qhbar, Qbox, Qhollow): Removed. | ||
| 2138 | (syms_of_w32fns): Don't intern, staticpro, or define them. | ||
| 2139 | (x_specified_cursor_type): Removed. | ||
| 2140 | (x_set_cursor_type): Use set_frame_cursor_types. | ||
| 2141 | |||
| 2142 | * w32term.c (x_specified_cursor_type): Remove prototype. | ||
| 2143 | (x_draw_bar_cursor): Use FRAME_CURSOR_WIDTH. | ||
| 2144 | (x_display_and_set_cursor): Use get_window_cursor_type. | ||
| 2145 | Remove unused local variables cursor_off_state. | ||
| 2146 | Redraw cursor if hbar cursor width changes. | ||
| 2147 | Changed all occurrences of w32_highlight_frame to x_highlight_frame. | ||
| 2148 | |||
| 2149 | * w32term.h (enum text_cursor_kinds): Removed. | ||
| 2150 | (struct output_w32) <current_cursor, desired_cursor, cursor_width> | ||
| 2151 | <blink_off_cursor, blink_off_cursor_width>: Members removed. | ||
| 2152 | (FRAME_DESIRED_CURSOR, FRAME_CURSOR_WIDTH, FRAME_BLINK_OFF_CURSOR) | ||
| 2153 | (FRAME_BLINK_OFF_CURSOR_WIDTH): Macros removed. | ||
| 2154 | (struct w32_display_info) <x_highlight_frame>: Renamed member from | ||
| 2155 | w32_highlight_frame. | ||
| 2156 | |||
| 2157 | * xfns.c (Vblink_cursor_alist): Removed. | ||
| 2158 | (Qbar, Qhbar, Qbox, Qhollow): Removed. | ||
| 2159 | (syms_of_xfns): Don't intern, staticpro, or define them. | ||
| 2160 | (x_specified_cursor_type): Removed. | ||
| 2161 | (x_set_cursor_type): Use set_frame_cursor_types. | ||
| 2162 | |||
| 2163 | * xterm.c (x_specified_cursor_type): Remove prototype. | ||
| 2164 | (x_draw_bar_cursor): Use FRAME_CURSOR_WIDTH. | ||
| 2165 | (x_display_and_set_cursor): Use get_window_cursor_type. | ||
| 2166 | Remove unused local variables cursor_off_state. | ||
| 2167 | Redraw cursor if hbar cursor width changes. | ||
| 2168 | |||
| 2169 | * xterm.h (enum text_cursor_kinds): Removed. | ||
| 2170 | (struct output_x) <current_cursor, desired_cursor, cursor_width> | ||
| 2171 | <blink_off_cursor, blink_off_cursor_width>: Members removed. | ||
| 2172 | (FRAME_DESIRED_CURSOR, FRAME_CURSOR_WIDTH, FRAME_BLINK_OFF_CURSOR) | ||
| 2173 | (FRAME_BLINK_OFF_CURSOR_WIDTH): Macros removed. | ||
| 2174 | (x_specified_cursor_type): Remove prototype. | ||
| 2175 | |||
| 2176 | 2002-08-28 Richard M. Stallman <rms@gnu.org> | ||
| 2177 | |||
| 2178 | * w32fns.c (x_set_cursor_type): Set FRAME_BLINK_OFF_CURSOR and | ||
| 2179 | FRAME_BLINK_OFF_CURSOR_WIDTH using defaults and Vblink_cursor_alist. | ||
| 2180 | (Vblink_cursor_alist): New variable. | ||
| 2181 | (syms_of_w32fns): Initialize and defvar it. | ||
| 2182 | (x_specified_cursor_type): Recognize Qbox for filled box. | ||
| 2183 | Exceptions are hollow boxes. | ||
| 2184 | (Qbox, Qhollow): New variables. | ||
| 2185 | (syms_of_w32fns): Initialize and staticpro them. | ||
| 2186 | |||
| 2187 | * w32term.h (FRAME_BLINK_OFF_CURSOR, FRAME_BLINK_OFF_CURSOR_WIDTH): | ||
| 2188 | New macros. | ||
| 2189 | (struct w32_output): New fields blink_off_cursor, | ||
| 2190 | blink_off_cursor_width. | ||
| 2191 | (FRAME_CURSOR_WIDTH): New macro. | ||
| 2192 | |||
| 2193 | * w32term.c (x_display_and_set_cursor): Use FRAME_BLINK_OFF_CURSOR | ||
| 2194 | and FRAME_BLINK_OFF_CURSOR_WIDTH for blinking cursor off. | ||
| 2195 | |||
| 2196 | * w32term.c (x_display_and_set_cursor): Check FRAME_CURSOR_WIDTH | ||
| 2197 | for bar cursor. | ||
| 2198 | |||
| 2199 | * w32term.c (expose_overlaps): New function. | ||
| 2200 | (expose_window): Use it to fix the display of overlapping rows. | ||
| 2201 | |||
| 2202 | 2002-08-28 Simon Josefsson <jas@extundo.com> | ||
| 2203 | |||
| 2204 | * xfns.c (Fx_open_connection): Improve help when X connection | ||
| 2205 | fails, xhost is insecure and xauth is better. | ||
| 2206 | |||
| 2207 | 2002-08-28 Juanma Barranquero <lektu@terra.es> | ||
| 2208 | |||
| 2209 | * makefile.w32-in: Add missing dependencies on w32term.h and | ||
| 2210 | composite.h. | ||
| 2211 | |||
| 2212 | * emacs.c (USAGE1): Add missing newline. | ||
| 2213 | |||
| 2214 | 2002-08-27 Andrew Choi <akochoi@shaw.ca> | ||
| 2215 | |||
| 2216 | * s/darwin.h [HAVE_LIBNCURSES]: Define HAVE_TERMINFO. | ||
| 2217 | |||
| 2218 | 2002-08-27 Richard M. Stallman <rms@gnu.org> | ||
| 2219 | |||
| 2220 | * xfns.c (x_set_cursor_type): Set FRAME_BLINK_OFF_CURSOR and | ||
| 2221 | FRAME_BLINK_OFF_CURSOR_WIDTH using defaults and Vblink_cursor_alist. | ||
| 2222 | (Vblink_cursor_alist): New variable. | ||
| 2223 | (syms_of_xfns): Initialize and defvar it. | ||
| 2224 | (x_specified_cursor_type): Recognize Qbox for filled box. | ||
| 2225 | Exceptions are hollow boxes. | ||
| 2226 | (Qbox, Qhollow): New variables. | ||
| 2227 | (syms_of_xfns): Initialize and staticpro them. | ||
| 2228 | |||
| 2229 | * xterm.h (FRAME_BLINK_OFF_CURSOR, FRAME_BLINK_OFF_CURSOR_WIDTH): | ||
| 2230 | New macros. | ||
| 2231 | (struct x_output): New fields blink_off_cursor, blink_off_cursor_width. | ||
| 2232 | |||
| 2233 | * xterm.c (x_display_and_set_cursor): Use FRAME_BLINK_OFF_CURSOR | ||
| 2234 | and FRAME_BLINK_OFF_CURSOR_WIDTH for blinking cursor off. | ||
| 2235 | |||
| 2236 | * emacs.c (main): Handle --script. | ||
| 2237 | (USAGE1): Mention --script. | ||
| 2238 | (standard_args): Define sort order for --script. | ||
| 2239 | |||
| 2240 | 2002-08-27 Gerd Moellmann <gerd.moellmann@t-online.de> | ||
| 2241 | |||
| 2242 | * xdisp.c (redisplay_updating_p): Variable removed. | ||
| 2243 | (inhibit_free_realized_faces, Qinhibit_free_realized_faces): | ||
| 2244 | New variables. | ||
| 2245 | (init_iterator): Don't free realized faces if | ||
| 2246 | inhibit_free_realized_faces is set. | ||
| 2247 | (redisplay_internal): Bind Qinhibit_free_realized_faces to nil. | ||
| 2248 | (syms_of_xdisp): DEFVAR_BOOL inhibit-free-realized-faces, | ||
| 2249 | initialize Qinhibit_free_realized_faces. | ||
| 2250 | |||
| 2251 | * dispextern.h (PRODUCE_GLYPHS): Set inhibit_free_realized_faces | ||
| 2252 | when iterator is adding glyphs to a glyph matrix. | ||
| 2253 | |||
| 2254 | 2002-08-27 Kenichi Handa <handa@etl.go.jp> | ||
| 2255 | |||
| 2256 | * xdisp.c (get_next_display_element): In unibyte case, don't use | ||
| 2257 | octal form for such eight-bit characters that can be converted to | ||
| 2258 | multibyte char. | ||
| 2259 | |||
| 2260 | 2002-08-26 Kim F. Storm <storm@cua.dk> | ||
| 2261 | |||
| 2262 | * frame.c (make_terminal_frame) [CANNOT_DUMP]: Initialize foreground | ||
| 2263 | and background colors. From Joe Buehler (tiny change). | ||
| 2264 | |||
| 2265 | 2002-08-26 Miles Bader <miles@gnu.org> | ||
| 2266 | |||
| 2267 | * bytecode.c (Fbyte_code): Fsub1 can GC, so protect it. | ||
| 2268 | |||
| 2269 | 2002-08-25 Andrew Choi <akochoi@shaw.ca> | ||
| 2270 | |||
| 2271 | * emacs.c (main): Call init_mac_osx_environment if HAVE_CARBON is | ||
| 2272 | defined instead of MAC_OSX. | ||
| 2273 | |||
| 2274 | * s/darwin.h (select): Define select to sys_select only if | ||
| 2275 | HAVE_CARBON is defined. | ||
| 2276 | (HAVE_WORKING_VFORK): #undef it. Define vfork to fork. | ||
| 2277 | (DONT_REOPEN_PTY): #def it. | ||
| 2278 | |||
| 2279 | * macterm.c (XTread_socket): Remove code to call | ||
| 2280 | SendEventToEventTarget for keys with command modifiers when | ||
| 2281 | mac_command_key_is_meta is nil. | ||
| 2282 | |||
| 2283 | 2002-08-24 Andreas Schwab <schwab@suse.de> | ||
| 2284 | |||
| 2285 | * eval.c (Fdefvar): Fix last change. | ||
| 2286 | |||
| 2287 | 2002-08-23 Richard M. Stallman <rms@gnu.org> | ||
| 2288 | |||
| 2289 | * eval.c (Fdefvar, Fdefconst, Fdefvaralias): | ||
| 2290 | Record variables in load history as (defvar . VAR). | ||
| 2291 | (Fdefvar): Don't record in load history if no initial value. | ||
| 2292 | (Qdefvar): New variable. | ||
| 2293 | (syms_of_eval): Init and staticpro it. | ||
| 2294 | |||
| 2295 | * lread.c (syms_of_lread): Doc fix. | ||
| 2296 | (build_load_history): Use Fmember to see if a definition | ||
| 2297 | is already in the Vload_history element. | ||
| 2298 | |||
| 2299 | * process.c (Fstart_process): Remove /: from program name. | ||
| 2300 | |||
| 2301 | * emacs.c (decode_env_path): Don't add /: if file name handler | ||
| 2302 | has a `safe-magic' property. | ||
| 2303 | |||
| 2304 | * callproc.c (Fcall_process): Remove /: from program name. | ||
| 2305 | |||
| 2306 | 2002-08-23 Stefan Monnier <monnier@cs.yale.edu> | ||
| 2307 | |||
| 2308 | * regex.c (PATFETCH): Remove the translating fetch. | ||
| 2309 | (PATFETCH_RAW): Rename to PATFETCH. | ||
| 2310 | (set_image_of_range): New fun. | ||
| 2311 | (SET_RANGE_TABLE_WORK_AREA): Use it. | ||
| 2312 | (regex_compile): Don't translate the pattern chars so eagerly. | ||
| 2313 | Only do it when inserting an `exactn' bytecode or when handling | ||
| 2314 | a char-range. | ||
| 2315 | (mutually_exclusive_p): Avoid empty statement. | ||
| 2316 | |||
| 2317 | 2002-08-22 Kim F. Storm <storm@cua.dk> | ||
| 2318 | |||
| 2319 | * xdisp.c (redisplay_window): Do not `goto try_to_scroll' when we | ||
| 2320 | end up on a partially visible line; this reverts a specific part | ||
| 2321 | of the 2002-07-07 change by Richard M. Stallman to "fix" a nasty | ||
| 2322 | display error which has been reported several times now. | ||
| 2323 | However it introduces the problem that changes was supposed to fix. | ||
| 2324 | See my comments in the source if you want to debug this further. | ||
| 2325 | |||
| 2326 | 2002-08-20 Kenichi Handa <handa@etl.go.jp> | ||
| 2327 | |||
| 2328 | * abbrev.c (Fexpand_abbrev): Fix for the multibyte case. | ||
| 2329 | |||
| 2330 | 2002-08-19 Eli Zaretskii <eliz@is.elta.co.il> | ||
| 2331 | |||
| 2332 | * msdos.c (croak): Add `void' to definition. | ||
| 2333 | |||
| 2334 | * sysdep.c [MSDOS] (request_sigio, unrequest_sigio): | ||
| 2335 | Don't define them, they are defined in msdos.c. | ||
| 2336 | |||
| 2337 | * mem-limits.h [MSDOS]: Declare etext. | ||
| 2338 | |||
| 2339 | * fileio.c (Ffile_name_directory) [DOS_NT]: Don't declare `beg' | ||
| 2340 | `const' since CORRECT_DIR_SEPS modifies its target. | ||
| 2341 | |||
| 2342 | 2002-08-19 Kim F. Storm <storm@cua.dk> | ||
| 2343 | |||
| 2344 | * keyboard.c (Fclear_this_command_keys): Added optional arg | ||
| 2345 | KEEP-RECORD to avoid clearing lossage when we just want to clear | ||
| 2346 | the current key sequence (kmacro needs this). | ||
| 2347 | |||
| 2348 | 2002-08-19 Kenichi Handa <handa@localhost> | ||
| 2349 | |||
| 2350 | * composite.c (run_composition_function): Call FUNC if it is fboundp. | ||
| 2351 | |||
| 2352 | * composite.h (COMPOSITION_MODIFICATION_FUNC): If PROP is not a | ||
| 2353 | cons, return Qnil. | ||
| 2354 | |||
| 2355 | 2002-08-17 Richard M. Stallman <rms@gnu.org> | ||
| 2356 | |||
| 2357 | * s/sol2-5.h (BROKEN_SIGIO): Add #undef. | ||
| 2358 | |||
| 2359 | * sysdep.c [!VMS]: Include sys/files.h. | ||
| 2360 | |||
| 2361 | * editfns.c (save_restriction_restore): Defend from unchained marker. | ||
| 2362 | |||
| 2363 | * buffer.c (overlays_at): Handle extending vec uniformly. | ||
| 2364 | (overlays_in): Handle extending vec from length 0 as in overlays_at. | ||
| 2365 | |||
| 2366 | 2002-08-15 Andrew Choi <akochoi@shaw.ca> | ||
| 2367 | |||
| 2368 | * mac.c (init_mac_osx_environment): New function. | ||
| 2369 | |||
| 2370 | * emacs.c (main) [MAC_OSX]: Call init_mac_osx_environment. | ||
| 2371 | |||
| 2372 | 2002-08-14 Kim F. Storm <storm@cua.dk> | ||
| 2373 | |||
| 2374 | * macros.c (Fstart_kbd_macro): Added NO-EXEC argument to inhibit | ||
| 2375 | executing macro before appending to it (when used from Lisp). | ||
| 2376 | (Fexecute_kbd_macro): Added LOOPFUNC argument to supply function | ||
| 2377 | which is called prior to each iteration of macro (for kmacro.el). | ||
| 2378 | (Fend_kbd_macro, Fcall_last_kbd_macro): Likewise. | ||
| 2379 | |||
| 2380 | * lisp.h (Fexecute_kbd_macro): Update prototype. | ||
| 2381 | |||
| 2382 | * keyboard.c (Fcommand_execute): Update call to Fexecute_kbd_macro. | ||
| 2383 | |||
| 2384 | 2002-08-14 Kenichi Handa <handa@etl.go.jp> | ||
| 2385 | |||
| 2386 | * xselect.c (QUTF8_STRING): New variable. | ||
| 2387 | (symbol_to_x_atom): Pay attention to QUTF8_STRING. | ||
| 2388 | (x_atom_to_symbol): Likewise. | ||
| 2389 | (x_get_local_selection): New argument local_request. If it is | ||
| 2390 | nonzero, call handler_fn with the second arg nil. | ||
| 2391 | (x_handle_selection_request): Call x_get_local_selection with | ||
| 2392 | local_request 0. | ||
| 2393 | (lisp_data_to_selection_data): Don't encode the string here. | ||
| 2394 | (Fx_get_selection_internal): Call x_get_local_selection with | ||
| 2395 | local_request 1. | 1029 | local_request 1. |
| 2396 | (syms_of_xselect): Intern and staticpro QUTF8_STRING. | 1030 | (syms_of_xselect): Intern and staticpro QUTF8_STRING. |
| 2397 | 1031 | ||
| @@ -3307,948 +1941,7 @@ | |||
| 3307 | to SCROLL_BAR_CLICK_EVENT, w32_scroll_bar_click to | 1941 | to SCROLL_BAR_CLICK_EVENT, w32_scroll_bar_click to |
| 3308 | W32_SCROLL_BAR_CLICK_EVENT, selection_request_event to | 1942 | W32_SCROLL_BAR_CLICK_EVENT, selection_request_event to |
| 3309 | SELECTION_REQUEST_EVENT, selection_clear_event to | 1943 | SELECTION_REQUEST_EVENT, selection_clear_event to |
| 3310 | SELECTION_CLEAR_EVENT, buffer_switch_event to BUFFER_SWITCH_EVENT, | 1944 | SELECTION_CLEAR_EVENT, buffer_sw |
| 3311 | delete_window_event to DELETE_WINDOW_EVENT, iconify_event to | ||
| 3312 | ICONIFY_EVENT, deiconify_event to DEICONIFY_EVENT, | ||
| 3313 | menu_bar_activate_event to MENU_BAR_ACTIVATE_EVENT, drag_n_drop to | ||
| 3314 | DRAG_N_DROP_EVENT, save_session_event to SAVE_SESSION_EVENT and | ||
| 3315 | no_event to NO_EVENT. | ||
| 3316 | |||
| 3317 | 2002-06-12 Pavel Jan,Am(Bk <Pavel@Janik.cz> | ||
| 3318 | |||
| 3319 | * macmenu.c: Remove declaration of Qmouse_click and Qevent_kind. | ||
| 3320 | |||
| 3321 | 2002-06-12 Stefan Monnier <monnier@cs.yale.edu> | ||
| 3322 | |||
| 3323 | * intervals.c (textget): Don't forget to `return'. | ||
| 3324 | (lookup_char_property): Use XCAR/XCDR. | ||
| 3325 | |||
| 3326 | 2002-06-12 Juanma Barranquero <lektu@terra.es> | ||
| 3327 | |||
| 3328 | * xdisp.c (Fformat_mode_line): Fix typo. | ||
| 3329 | |||
| 3330 | 2002-06-12 Kim F. Storm <storm@cua.dk> | ||
| 3331 | |||
| 3332 | * xdisp.c (Fformat_mode_line): New function. | ||
| 3333 | (frame_title_buf, frame_title_buf_end, frame_title_ptr) | ||
| 3334 | (store_frame_title_char, store_frame_title): Use unconditionally. | ||
| 3335 | (init_xdisp): Defsubr Fformat_mode_line. | ||
| 3336 | Initialize frame_title_buf etc. unconditionally. | ||
| 3337 | |||
| 3338 | 2002-06-11 Stefan Monnier <monnier@cs.yale.edu> | ||
| 3339 | |||
| 3340 | * keyboard.c (read_key_sequence): | ||
| 3341 | Remove prev_(fkey|keytran}_(map|start|end) since we don't want to pass | ||
| 3342 | things through those maps after downcasing events. | ||
| 3343 | Enforce that keytran_end <= fkey_start, i.e. that key-translation-map | ||
| 3344 | applies after function-key-map. | ||
| 3345 | Make sure that keytran can be done in the middle in the sequence. | ||
| 3346 | Be careful not to throw away events past the one we downcase. | ||
| 3347 | |||
| 3348 | * lread.c (read_integer): Remove unused var `tem'. | ||
| 3349 | (read1): Fix int/Lisp_Object mixup. | ||
| 3350 | |||
| 3351 | * xfaces.c (tty_lookup_color): Type bool/Lisp_Object mismatch fixed. | ||
| 3352 | |||
| 3353 | 2002-06-11 Richard M. Stallman <rms@gnu.org> | ||
| 3354 | |||
| 3355 | * keyboard.c (readable_events): Ignore any number of | ||
| 3356 | FOCUS_IN_EVENT events and return 0 if nothing else in buffer. | ||
| 3357 | |||
| 3358 | 2002-06-09 Miles Bader <miles@gnu.org> | ||
| 3359 | |||
| 3360 | * xfaces.c (Ftty_supports_face_attributes_p): New function. | ||
| 3361 | (parse_rgb_list, tty_lookup_color): New functions. | ||
| 3362 | (tty_defined_color): Use `tty_lookup_color' to do all the work. | ||
| 3363 | (color_distance, Fcolor_distance): New functions. | ||
| 3364 | (TTY_SAME_COLOR_THRESHOLD): New macro. | ||
| 3365 | (Qtty_color_standard_values): New variable. | ||
| 3366 | (syms_of_xfaces): Initialize new vars & functions. | ||
| 3367 | |||
| 3368 | 2002-06-08 Colin Walters <walters@verbum.org> | ||
| 3369 | |||
| 3370 | * textprop.c (Vchar_property_alias_alist): New variable. | ||
| 3371 | (syms_of_textprop) <Vchar_property_alias_alist>: DEFVAR_LISP. | ||
| 3372 | |||
| 3373 | * intervals.c (lookup_char_property): New function for looking up | ||
| 3374 | overlay and text properties, created from textget. | ||
| 3375 | (textget): Use it. | ||
| 3376 | |||
| 3377 | * intervals.h (lookup_char_property): Declare. | ||
| 3378 | (Vchar_property_alias_alist): Declare. | ||
| 3379 | |||
| 3380 | * buffer.c (Foverlay_get): Use lookup_char_property. | ||
| 3381 | |||
| 3382 | 2002-06-07 Sam Steingold <sds@gnu.org> | ||
| 3383 | |||
| 3384 | * xselect.c (lisp_data_to_selection_data): Fix last change: | ||
| 3385 | *data_ret is not a Lisp string, while unibyte_string is. | ||
| 3386 | |||
| 3387 | 2002-06-07 Eli Zaretskii <eliz@is.elta.co.il> | ||
| 3388 | |||
| 3389 | * xselect.c (lisp_data_to_selection_data): Fix last change: | ||
| 3390 | set size_ret. | ||
| 3391 | |||
| 3392 | 2002-06-07 Andreas Schwab <schwab@suse.de> | ||
| 3393 | |||
| 3394 | * m/amdx86-64.h: New file. | ||
| 3395 | |||
| 3396 | 2002-06-05 Eli Zaretskii <eliz@is.elta.co.il> | ||
| 3397 | |||
| 3398 | * fns.c (Fstring_make_unibyte): Doc fix. | ||
| 3399 | |||
| 3400 | * xselect.c (lisp_data_to_selection_data): If the requested type | ||
| 3401 | is STRING, call string_make_unibyte to encode the selected text | ||
| 3402 | as a string. | ||
| 3403 | |||
| 3404 | * window.c (Fset_window_hscroll): Doc fix. | ||
| 3405 | |||
| 3406 | 2002-06-05 Pavel Jan,Am(Bk <Pavel@Janik.cz> | ||
| 3407 | |||
| 3408 | * fileio.c (choose_write_coding_system): | ||
| 3409 | Call select-safe-coding-system properly. | ||
| 3410 | |||
| 3411 | 2002-06-03 Richard M. Stallman <rms@gnu.org> | ||
| 3412 | |||
| 3413 | * xdisp.c (message_with_string): Error if STRING is not a string. | ||
| 3414 | |||
| 3415 | * fns.c (md5): Pass FILE arg to Vselect_safe_coding_system_function. | ||
| 3416 | |||
| 3417 | * fileio.c (choose_write_coding_system): Pass FILE arg to | ||
| 3418 | Vselect_safe_coding_system_function. | ||
| 3419 | |||
| 3420 | 2002-06-03 Ken Raeburn <raeburn@gnu.org> | ||
| 3421 | |||
| 3422 | * buffer.c (fix_overlays_before): Fix list-walking bug in 05-19 change. | ||
| 3423 | |||
| 3424 | 2002-06-02 Thien-Thi Nguyen <ttn@gnu.org> | ||
| 3425 | |||
| 3426 | * bytecode.c (Fbyte_code): Cast `current_column' return value to int. | ||
| 3427 | * cmds.c (Fdelete_backward_char, internal_self_insert): Likewise. | ||
| 3428 | * keymap.c (describe_command): Likewise. | ||
| 3429 | * minibuf.c (read_minibuf): Likewise. | ||
| 3430 | |||
| 3431 | * xdisp.c (redisplay_internal, redisplay_window, decode_mode_spec): | ||
| 3432 | Cast `current_column' return value to int. | ||
| 3433 | (back_to_previous_visible_line_start) | ||
| 3434 | (reseat_at_next_visible_line_start, next_element_from_buffer): | ||
| 3435 | Cast `indented_beyond_p' 3rd arg to float. | ||
| 3436 | |||
| 3437 | * indent.c (last_known_column): Now a float. | ||
| 3438 | (current_column_1, position_indentation, current_column) | ||
| 3439 | (string_display_width): Return float. | ||
| 3440 | (Fcurrent_column): Cast `current_column' return value to int. | ||
| 3441 | (Fcurrent_indentation): Cast `position_indentation' retval to int. | ||
| 3442 | (indented_beyond_p): Third arg now a float. | ||
| 3443 | (compute_motion, vmotion): Cast `indented_beyond_p' 3rd arg to float. | ||
| 3444 | |||
| 3445 | * lisp.h (current_column): Now returns float. | ||
| 3446 | (indented_beyond_p): 3rd arg now a float. | ||
| 3447 | |||
| 3448 | 2002-05-31 Eli Zaretskii <eliz@is.elta.co.il> | ||
| 3449 | |||
| 3450 | * xfns.c (x_encode_text): Return stringp non-NULL if coding_system | ||
| 3451 | is Qcompound_text_with_extensions. | ||
| 3452 | |||
| 3453 | * xselect.c (lisp_data_to_selection_data): Always set selection | ||
| 3454 | type as string if x_encode_text returns streingp non-NULL. | ||
| 3455 | |||
| 3456 | * s/netbsd.h: Include /usr/pkg in the run time shared library path. | ||
| 3457 | |||
| 3458 | 2002-05-30 Richard M. Stallman <rms@gnu.org> | ||
| 3459 | |||
| 3460 | * window.c (Fset_window_configuration): Correct the handling | ||
| 3461 | of point in current buffer, to work with multiple windows. | ||
| 3462 | |||
| 3463 | 2002-05-29 Colin Walters <walters@verbum.org> | ||
| 3464 | |||
| 3465 | * lread.c (Fread_from_string): Don't depend on order of evaluation | ||
| 3466 | for C function parameters. | ||
| 3467 | |||
| 3468 | 2002-05-28 Richard M. Stallman <rms@gnu.org> | ||
| 3469 | |||
| 3470 | * xterm.c (x_display_and_set_cursor): Change the cursor in the same | ||
| 3471 | way for blinked-off state and for a nonselected window. | ||
| 3472 | |||
| 3473 | * window.c (window_scroll_pixel_based): Don't call Fbolp; | ||
| 3474 | instead, see if the new start pos is at beginning of line. | ||
| 3475 | |||
| 3476 | * fileio.c (Fwrite_region): If START is a string, don't | ||
| 3477 | make any annotations. | ||
| 3478 | |||
| 3479 | * eval.c (syms_of_eval): Doc fix. | ||
| 3480 | |||
| 3481 | 2002-05-28 Colin Walters <walters@debian.org> | ||
| 3482 | |||
| 3483 | * emacs.c (USAGE1): Add --no-splash. | ||
| 3484 | (standard_args): Ditto. | ||
| 3485 | |||
| 3486 | 2002-05-28 Colin Walters <walters@gnu.org> | ||
| 3487 | |||
| 3488 | * lread.c (readchar_count): New variable. | ||
| 3489 | (readchar): Increment it. | ||
| 3490 | (unreadchar): Decrement it. | ||
| 3491 | (read_multibyte): Decrement it. | ||
| 3492 | (Vread_with_symbol_positions): New variable. | ||
| 3493 | (Vread_symbol_positions_list): New variable. | ||
| 3494 | (read_internal_start): New function, created from Fread and | ||
| 3495 | Fread_from_string. Handle Vread_symbol_positions_list and | ||
| 3496 | Vread_with_symbol_positions. | ||
| 3497 | (readevalloop, Fread, Fread_from_string): Use it. | ||
| 3498 | (read1): Use readchar_count to add symbol positions to | ||
| 3499 | Vread_symbol_positions_list if Vread_with_symbol_positions is non-nil. | ||
| 3500 | (syms_of_lread): DEFVAR_LISP and initialize them. | ||
| 3501 | |||
| 3502 | * lread.c (read0, read1, read_list, read_vector, read_multibyte) | ||
| 3503 | (substitute_object_recurse, substitute_object_in_subtree) | ||
| 3504 | (substitute_in_interval): Prototype. | ||
| 3505 | (read_multibyte): Return c if it's less than zero. | ||
| 3506 | |||
| 3507 | 2002-05-28 Kim F. Storm <storm@cua.dk> | ||
| 3508 | |||
| 3509 | * fileio.c (Fread_file_name_internal): Added brute-force | ||
| 3510 | speed up for using predicate file-directory-p. | ||
| 3511 | |||
| 3512 | 2002-05-28 Kim F. Storm <storm@cua.dk> | ||
| 3513 | |||
| 3514 | * fileio.c (Vread_file_name_function, Vread_file_name_predicate): | ||
| 3515 | New variables. | ||
| 3516 | (syms_of_fileio): DEFVAR_LISP them. | ||
| 3517 | (read_file_name_cleanup): New unwind function. | ||
| 3518 | (Fread_file_name_internal): Only return completions satifying | ||
| 3519 | Vread_file_name_predicate. Temporarily unwind protect and rebind | ||
| 3520 | default-directory while checking completions against the predicate. | ||
| 3521 | (Fread_file_name): Added PREDICATE argument. Specbind it to | ||
| 3522 | Vread_file_name_predicate during completion. | ||
| 3523 | Call Vread_file_name_function to read the file name if non-nil. | ||
| 3524 | |||
| 3525 | * lisp.h (Fread_file_name): Now has 6 args. | ||
| 3526 | |||
| 3527 | * callint.c (Fcall_interactively) <"D">: Supply Qfile_directory_p | ||
| 3528 | predicate for Fread_file_name when reading directory name. | ||
| 3529 | Supply Qnil for predicate in other calls to Fread_file_name. | ||
| 3530 | |||
| 3531 | 2002-05-26 Miles Bader <miles@gnu.org> | ||
| 3532 | |||
| 3533 | * term.c (tty_capable_p): New function. | ||
| 3534 | * dispextern.h (tty_capable_p): New function declaration. | ||
| 3535 | (TTY_CAP_INVERSE, TTY_CAP_UNDERLINE, TTY_CAP_BOLD, TTY_CAP_DIM) | ||
| 3536 | (TTY_CAP_BLINK, TTY_CAP_ALT_CHARSET): New macros. | ||
| 3537 | |||
| 3538 | 2002-05-23 Stefan Monnier <monnier@cs.yale.edu> | ||
| 3539 | |||
| 3540 | * fileio.c (read_non_regular, Finsert_file_contents): Use BEG_BYTE. | ||
| 3541 | (Finsert_file_contents, build_annotations): Use XCAR, XCDR. | ||
| 3542 | (Vwrite_region_annotate_functions): Docstring fix. | ||
| 3543 | |||
| 3544 | 2002-05-23 Kim F. Storm <storm@cua.dk> | ||
| 3545 | |||
| 3546 | * xterm.c (x_write_glyphs): Clear phys_cursor_on_p if current | ||
| 3547 | phys_cursor's hpos is overwritten. This is still not completely | ||
| 3548 | correct, as it doesn't really make sense to use hpos at all to | ||
| 3549 | get the cursor glyph (as that is relative to the width of the | ||
| 3550 | characters on the line, which may have changed during the update). | ||
| 3551 | |||
| 3552 | 2002-05-22 Jason Rumney <jasonr@gnu.org> | ||
| 3553 | |||
| 3554 | * w32fns.c (enumfont_t): Remove tail, make pattern a normal | ||
| 3555 | Lisp_Object. | ||
| 3556 | (enum_font_cb2, enum_font_maybe_add_to_list, w32_list_fonts): | ||
| 3557 | Use modified enumfont_t struct. | ||
| 3558 | |||
| 3559 | * w32term.h (text_cursor_kinds): New enumeration member HBAR_CURSOR. | ||
| 3560 | |||
| 3561 | * w32term.c (x_draw_bar_cursor): New argument KIND; callers changed. | ||
| 3562 | Handle the `hbar' cursor type. | ||
| 3563 | (x_display_and_set_cursor): Handle the HBAR_CURSOR case. | ||
| 3564 | |||
| 3565 | * w32fns.c (Qhbar): New variable. | ||
| 3566 | (x_specified_cursor_type): Use it. | ||
| 3567 | |||
| 3568 | 2002-05-21 Ken Raeburn <raeburn@gnu.org> | ||
| 3569 | |||
| 3570 | * w32fns.c (enum_font_maybe_add_to_list): Use XCDR_AS_LVALUE for | ||
| 3571 | now, when the address is needed. | ||
| 3572 | |||
| 3573 | 2002-05-21 Colin Walters <walters@gnu.org> | ||
| 3574 | |||
| 3575 | * Makefile.in (shortlisp): Add font-core.el. | ||
| 3576 | |||
| 3577 | 2002-05-20 Richard M. Stallman <rms@gnu.org> | ||
| 3578 | |||
| 3579 | * buffer.c (syms_of_buffer) <cursor-type>: Doc fix. | ||
| 3580 | |||
| 3581 | * keyboard.c (read_char_minibuf_menu_prompt): Don't list | ||
| 3582 | equivalent key bindings here. | ||
| 3583 | |||
| 3584 | 2002-05-20 Ken Raeburn <raeburn@gnu.org> | ||
| 3585 | |||
| 3586 | Change symbol structure to contain a lisp object for the symbol | ||
| 3587 | name: | ||
| 3588 | * lisp.h (struct Lisp_Symbol): Replace field "name" with a lisp | ||
| 3589 | object field named "xname". | ||
| 3590 | (SYMBOL_NAME): New macro. | ||
| 3591 | * abbrev.c (write_abbrev): Use SYMBOL_NAME instead of XSYMBOL and | ||
| 3592 | name field. | ||
| 3593 | * alloc.c (Fmake_symbol): Set symbol xname field instead of name. | ||
| 3594 | (mark_object, gc_sweep): Use symbol xname field and XSTRING | ||
| 3595 | instead of name field. | ||
| 3596 | * buffer.c (buffer_slot_type_mismatch): Use XSTRING and | ||
| 3597 | SYMBOL_NAME instead of XSYMBOL and name field. | ||
| 3598 | * callint.c (Fcall_interactively): Use XSTRING and SYMBOL_NAME | ||
| 3599 | instead of XSYMBOL and name field. | ||
| 3600 | * charset.c (Fdefine_charset, Fdeclare_equiv_charset): Use XSTRING | ||
| 3601 | and SYMBOL_NAME instead of XSYMBOL and name field. | ||
| 3602 | * coding.c (Fread_coding_system, code_convert_region1) | ||
| 3603 | (code_convert_string1, code_convert_string_norecord) | ||
| 3604 | (Ffind_operation_coding_system): Use SYMBOL_NAME instead of | ||
| 3605 | XSYMBOL and name field. | ||
| 3606 | * data.c (Fkeywordp, Fsymbol_name, store_symval_forwarding) | ||
| 3607 | (Fmake_variable_buffer_local, Fmake_local_variable) | ||
| 3608 | (Fmake_variable_frame_local): Use SYMBOL_NAME and XSTRING instead | ||
| 3609 | of XSYMBOL and name field. | ||
| 3610 | * editfns.c (Fformat): Use SYMBOL_NAME and XSTRING instead of | ||
| 3611 | XSYMBOL and name field. | ||
| 3612 | * emacs.c (shut_down_emacs) [#if 0]: Use SYMBOL_NAME and XSTRING | ||
| 3613 | instead of XSYMBOL and name field. | ||
| 3614 | * eval.c (do_autoload): Use SYMBOL_NAME and XSTRING instead of | ||
| 3615 | XSYMBOL and name field. | ||
| 3616 | * fns.c (Fstring_equal, Fstring_lessp, Frequire, sxhash): | ||
| 3617 | Use SYMBOL_NAME and XSTRING instead of XSYMBOL and name field. | ||
| 3618 | * fontset.c (Fset_fontset_font): Use SYMBOL_NAME and XSTRING | ||
| 3619 | instead of XSYMBOL and name field. | ||
| 3620 | * keyboard.c (echo_char, record_char, parse_modifiers_uncached) | ||
| 3621 | (parse_modifiers, apply_modifiers, Fevent_convert_list) | ||
| 3622 | (parse_solitary_modifier, Fexecute_extended_command): | ||
| 3623 | Use SYMBOL_NAME and XSTRING instead of XSYMBOL and name field. | ||
| 3624 | * keymap.c (silly_event_symbol_error, Fsingle_key_description) | ||
| 3625 | (Fdescribe_buffer_bindings): Use SYMBOL_NAME and XSTRING instead | ||
| 3626 | of XSYMBOL and name field. | ||
| 3627 | (describe_command, describe_translation): Use SYMBOL_NAME and | ||
| 3628 | assignment instead of XSYMBOL and name field and XSETSTRING. | ||
| 3629 | * lread.c (Fintern_soft, oblookup): Use SYMBOL_NAME and XSTRING | ||
| 3630 | instead of XSYMBOL and name field. | ||
| 3631 | (Funintern): Use SYMBOL_NAME and assignment instead of XSYMBOL and | ||
| 3632 | name field and XSETSTRING. | ||
| 3633 | * macfns.c (parse_image_spec): Use SYMBOL_NAME and XSTRING instead | ||
| 3634 | of XSYMBOL and name field. | ||
| 3635 | * minibuf.c (Fread_command, Fread_variable): Use SYMBOL_NAME and | ||
| 3636 | assignment instead of XSYMBOL and name field and XSETSTRING. | ||
| 3637 | * print.c (print_error_message, print_object): Use SYMBOL_NAME and | ||
| 3638 | XSTRING instead of XSYMBOL and name field. | ||
| 3639 | * process.c (set_socket_options, Fsignal_process): Use SYMBOL_NAME | ||
| 3640 | and XSTRING instead of XSYMBOL and name field. | ||
| 3641 | * w32fns.c (parse_image_spec, w32_parse_hot_key): Use SYMBOL_NAME | ||
| 3642 | and XSTRING instead of XSYMBOL and name field. | ||
| 3643 | * xfaces.c (merge_face_vector_with_property): Use SYMBOL_NAME and | ||
| 3644 | XSTRING instead of XSYMBOL and name field. | ||
| 3645 | * xfns.c (parse_image_spec): Use SYMBOL_NAME and XSTRING instead | ||
| 3646 | of XSYMBOL and name field. | ||
| 3647 | * xselect.c (symbol_to_x_atom, x_get_foreign_selection): | ||
| 3648 | Use SYMBOL_NAME and XSTRING instead of XSYMBOL and name field. | ||
| 3649 | |||
| 3650 | 2002-05-19 Ken Raeburn <raeburn@gnu.org> | ||
| 3651 | |||
| 3652 | * lisp.h (LISP_MAKE_RVALUE): Delete disabled version, making XCAR | ||
| 3653 | and XCDR real rvalues in most configurations. | ||
| 3654 | |||
| 3655 | * buffer.c (fix_overlays_in_range, fix_overlays_before): | ||
| 3656 | Don't take the address of the cdr part of a cons cell; instead, track | ||
| 3657 | the parent cell and call XSETCDR, or set the variable for the head | ||
| 3658 | of the list if we haven't started down the list yet. | ||
| 3659 | |||
| 3660 | 2002-05-19 Richard M. Stallman <rms@gnu.org> | ||
| 3661 | |||
| 3662 | * doc.c (reread_doc_file): Don't ask for confirmation. | ||
| 3663 | |||
| 3664 | 2002-05-18 Jason Rumney <jasonr@gnu.org> | ||
| 3665 | |||
| 3666 | * w32fns.c (w32_create_pixmap_from_bitmap_data): New function. | ||
| 3667 | (xbm_load_image): Use it. | ||
| 3668 | (xbm_load): Ditto. | ||
| 3669 | (xbm_read_bitmap_data): Reverted to xfns.c version. | ||
| 3670 | From David Ponce <david@dponce.com>. | ||
| 3671 | |||
| 3672 | 2002-05-17 Eli Zaretskii <eliz@is.elta.co.il> | ||
| 3673 | |||
| 3674 | * msdos.c (sig_suspender, sigprocmask): Don't define for DJGPP | ||
| 3675 | 2.02 and later. | ||
| 3676 | |||
| 3677 | 2002-05-16 Juanma Barranquero <lektu@terra.es> | ||
| 3678 | |||
| 3679 | * keyboard.c (Fthis_command_keys, Fthis_command_keys_vector): Fix typo. | ||
| 3680 | |||
| 3681 | 2002-05-15 Stefan Monnier <monnier@cs.yale.edu> | ||
| 3682 | |||
| 3683 | * keyboard.c (read_char_x_menu_prompt): Use an equivalent but more | ||
| 3684 | meaningful test. | ||
| 3685 | (read_char_minibuf_menu_prompt): Fix typo. | ||
| 3686 | |||
| 3687 | 2002-05-15 Eli Zaretskii <eliz@is.elta.co.il> | ||
| 3688 | |||
| 3689 | * eval.c (Fcommandp): Doc fix. | ||
| 3690 | |||
| 3691 | 2002-05-13 Stefan Monnier <monnier@cs.yale.edu> | ||
| 3692 | |||
| 3693 | * keymap.c (keymap_parent): New fun, extracted from Fkeymap_parent. | ||
| 3694 | (Fkeymap_parent, keymap_memberp, fix_submap_inheritance): Use it. | ||
| 3695 | (Fset_keymap_parent): Gcpro a bit more. | ||
| 3696 | (access_keymap): Gcpro around meta_map call and around the main loop. | ||
| 3697 | (get_keyelt): Gcpro when following indirect references. | ||
| 3698 | (copy_keymap_item): New fun, extracted from Fcopy_keymap. | ||
| 3699 | (copy_keymap_1, Fcopy_keymap): Use it. Don't copy the parent map. | ||
| 3700 | (Fdefine_key, Flookup_key): Gcpro before calling get_keymap. | ||
| 3701 | Remove useless ad-hoc remap code. | ||
| 3702 | |||
| 3703 | 2002-05-13 Richard M. Stallman <rms@gnu.org> | ||
| 3704 | |||
| 3705 | * search.c (search_buffer): Give up boyer moore search if inverse | ||
| 3706 | translation change charset_base. | ||
| 3707 | |||
| 3708 | 2002-05-12 Eli Zaretskii <eliz@is.elta.co.il> | ||
| 3709 | |||
| 3710 | * coding.c (decode_coding) <coding_type_ccl>: If a lone CR | ||
| 3711 | characters is carried over from the previous block of text, adjust | ||
| 3712 | coding->produced to account for the extra character. | ||
| 3713 | |||
| 3714 | 2002-05-11 Andreas Schwab <schwab@suse.de> | ||
| 3715 | |||
| 3716 | * coding.c (intersection): Keep the elements of the returned list | ||
| 3717 | in the same order as in the first list. | ||
| 3718 | |||
| 3719 | 2002-05-11 Kim F. Storm <storm@cua.dk> | ||
| 3720 | |||
| 3721 | * keymap.c (current_minor_maps): Fixed resizing of cmm_maps; | ||
| 3722 | only update cmm_size if realloc actually succeeds. | ||
| 3723 | Testing with initial size of 2 elements revealed that using | ||
| 3724 | realloc on GNU/Linux would cause a random trap in xmalloc | ||
| 3725 | later on, so I rewrote the code to use malloc/bcopy/free instead | ||
| 3726 | of realloc. | ||
| 3727 | |||
| 3728 | 2002-05-10 Jason Rumney <jasonr@gnu.org> | ||
| 3729 | |||
| 3730 | * w32fns.c (enum_font_cb2): Avoid DBCS raster fonts. | ||
| 3731 | |||
| 3732 | 2002-05-10 Eli Zaretskii <eliz@is.elta.co.il> | ||
| 3733 | |||
| 3734 | * coding.c (encode_coding_sjis_big5): Enclose bitwise AND in | ||
| 3735 | parens, to ensure correct evaluation order. | ||
| 3736 | |||
| 3737 | 2002-05-10 Kim F. Storm <storm@cua.dk> | ||
| 3738 | |||
| 3739 | * keymap.c (Vemulation_mode_map_alists): New variable. | ||
| 3740 | (syms_of_keymap): DEFVAR_LISP it. | ||
| 3741 | (current_minor_maps): Process keymap alists in that list before | ||
| 3742 | minor-mode-overriding-map-alist and minor-mode-map-alist. | ||
| 3743 | |||
| 3744 | 2002-05-09 Richard M. Stallman <rms@gnu.org> | ||
| 3745 | |||
| 3746 | * search.c (Freplace_match): Doc fix. | ||
| 3747 | |||
| 3748 | 2002-05-09 Kim F. Storm <storm@cua.dk> | ||
| 3749 | |||
| 3750 | * macterm.c (x_draw_image_foreground, x_draw_image_foreground_1): | ||
| 3751 | Enlarge cursor rectangle drawn around image with non-zero relief. | ||
| 3752 | |||
| 3753 | * w32term.c (x_draw_image_foreground, w32_draw_image_foreground_1): | ||
| 3754 | Enlarge cursor rectangle drawn around image with non-zero relief. | ||
| 3755 | |||
| 3756 | * xterm.c (x_draw_image_foreground, x_draw_image_foreground_1): | ||
| 3757 | Enlarge cursor rectangle drawn around image with non-zero relief. | ||
| 3758 | |||
| 3759 | 2002-05-07 Eli Zaretskii <eliz@is.elta.co.il> | ||
| 3760 | |||
| 3761 | * xselect.c (lisp_data_to_selection_data): Don't set selection | ||
| 3762 | type if comes from the Lisp object's car. If the selection | ||
| 3763 | contains a pure ASCII text, always return QSTRING as its type. | ||
| 3764 | |||
| 3765 | 2002-05-06 Pavel Jan,Am(Bk <Pavel@Janik.cz> | ||
| 3766 | |||
| 3767 | * mac.c (mac-cut-function): Doc fix. | ||
| 3768 | |||
| 3769 | 2002-05-05 Richard M. Stallman <rms@gnu.org> | ||
| 3770 | |||
| 3771 | * s/gnu.h [DOUG_LEA_MALLOC] (REL_ALLOC): Undefine it. | ||
| 3772 | |||
| 3773 | 2002-05-04 Jason Rumney <jasonr@gnu.org> | ||
| 3774 | |||
| 3775 | * keyboard.c (make_lispy_event) <mouse-wheel>: Set count to 1 | ||
| 3776 | for event-click-count. | ||
| 3777 | |||
| 3778 | * process.c (init_process): Only add server subfeature if we can | ||
| 3779 | use non-blocking I/O. | ||
| 3780 | |||
| 3781 | 2002-05-04 Andrew Choi <akochoi@shaw.ca> | ||
| 3782 | |||
| 3783 | * macterm.c (XTread_socket): Call WaitNextEvent once instead of | ||
| 3784 | repeatedly. | ||
| 3785 | |||
| 3786 | 2002-05-03 Jason Rumney <jasonr@gnu.org> | ||
| 3787 | |||
| 3788 | * process.c (Fmake_network_process): Only support server sockets | ||
| 3789 | when we can make them non-blocking. | ||
| 3790 | |||
| 3791 | * s/ms-w32.h (HAVE_SELECT): Define. | ||
| 3792 | |||
| 3793 | * w32.h (FILE_NDELAY): New flag. | ||
| 3794 | |||
| 3795 | * w32.c (sys_getpeername, fcntl): New functions. | ||
| 3796 | (_sys_read_ahead): Temporarily block on non-blocking sockets. | ||
| 3797 | |||
| 3798 | * w32proc.c: include sys/file.h. | ||
| 3799 | |||
| 3800 | 2002-05-03 Colin Walters <walters@verbum.org> | ||
| 3801 | |||
| 3802 | * callproc.c (Vgame_score_directory): Renamed to | ||
| 3803 | Vshared_game_score_directory. | ||
| 3804 | |||
| 3805 | 2002-04-30 Richard M. Stallman <rms@gnu.org> | ||
| 3806 | |||
| 3807 | * s/gnu.h [emacs]: Include stdio.h. | ||
| 3808 | (GNU_LIBRARY_PENDING_OUTPUT_COUNT): New definition, conditional. | ||
| 3809 | |||
| 3810 | * eval.c (do_autoload): Error if called while preparing to dump. | ||
| 3811 | |||
| 3812 | * fns.c (Frequire): Error if need to load while preparing to dump. | ||
| 3813 | |||
| 3814 | 2002-04-28 Colin Walters <walters@verbum.org> | ||
| 3815 | |||
| 3816 | * callproc.c (Vgame_score_directory) [!HAVE_SHARED_GAME_DIR]: | ||
| 3817 | Default to "~/.emacs.d/games". | ||
| 3818 | |||
| 3819 | 2002-04-29 Stefan Monnier <monnier@cs.yale.edu> | ||
| 3820 | |||
| 3821 | * lread.c (openp): Change arg exec_only to predicate. | ||
| 3822 | (build_load_history): Use XCAR/XCDR. | ||
| 3823 | (Flocate_file_internal): New fun. | ||
| 3824 | (syms_of_lread): Defsubr it. | ||
| 3825 | (Fload): Update call to openp. | ||
| 3826 | |||
| 3827 | * lisp.h (openp): Update prototype. | ||
| 3828 | |||
| 3829 | * xfns.c (x_create_bitmap_from_file, x_find_image_file): | ||
| 3830 | * w32proc.c (sys_spawnve): | ||
| 3831 | * w32fns.c (x_create_bitmap_from_file, x_find_image_file): | ||
| 3832 | * w32.c (check_windows_init_file): | ||
| 3833 | * sound.c (Fplay_sound_internal): | ||
| 3834 | * process.c (Fstart_process): | ||
| 3835 | * macfns.c (x_create_bitmap_from_file, x_find_image_file): | ||
| 3836 | * mac.c (run_mac_command): | ||
| 3837 | * emacs.c (init_cmdargs): | ||
| 3838 | * callproc.c (Fcall_process): Update call to openp. | ||
| 3839 | |||
| 3840 | * textprop.c (remove_properties): Don't use XCAR without CONSP. | ||
| 3841 | |||
| 3842 | * xterm.c (XTread_socket): Disable the Xutf8LookupString code. | ||
| 3843 | |||
| 3844 | 2002-04-29 Pavel Jan,Am(Bk <Pavel@Janik.cz> | ||
| 3845 | |||
| 3846 | * dispextern.h (DEFAULT_TOOL_BAR_BUTTON_MARGIN) | ||
| 3847 | (DEFAULT_TOOL_BAR_BUTTON_RELIEF): Change default values. | ||
| 3848 | |||
| 3849 | 2002-04-28 Richard M. Stallman <rms@gnu.org> | ||
| 3850 | |||
| 3851 | * minibuf.c (Fall_completions, Ftry_completion): New arg to Fcommandp. | ||
| 3852 | |||
| 3853 | * eval.c (Fcommandp): New arg for_call_interactively. | ||
| 3854 | * lisp.h (Fcommandp): Declare new arg. | ||
| 3855 | |||
| 3856 | 2002-04-28 Jason Rumney <jasonr@gnu.org> | ||
| 3857 | |||
| 3858 | * w32proc.c (syms_of_w32proc): Get true file attributes by default. | ||
| 3859 | |||
| 3860 | * w32.c (stat, fstat): Use file index information to generate | ||
| 3861 | inodes for directories where available. | ||
| 3862 | |||
| 3863 | 2002-04-26 Andrew Choi <akochoi@shaw.ca> | ||
| 3864 | |||
| 3865 | * Makefile.in (C_SWITCH_SYSTEM_TEMACS): Add. | ||
| 3866 | [HAVE_CARBON]: Include Mac object files. | ||
| 3867 | |||
| 3868 | * alloc.c, callproc.c, dispextern.h, dispnew.c, emacs.c, | ||
| 3869 | fontset.c, frame.c, frame.h, keyboard.c, sysdep.c, term.c, | ||
| 3870 | termcap.c, window.c, xdisp.c, xfaces.c: Use macros MAC_OS8, | ||
| 3871 | MAC_OSX, and MAC_OS instead of macintosh. | ||
| 3872 | |||
| 3873 | * editfns.c [MAC_OS8]: Include stdio.h. | ||
| 3874 | |||
| 3875 | * emacs.c [MAC_OS8]: Call mac_initialize instead of x_term_init. | ||
| 3876 | |||
| 3877 | * fontset.c [MAC_OS]: Set Vdefault_fontset to ETL Fixed instead of | ||
| 3878 | Apple Monaco. | ||
| 3879 | |||
| 3880 | * process.c: Declare QCfamily and QCfilter as extern. | ||
| 3881 | (wait_reading_process_input) [MAC_OSX]: Clear bit for stdin before | ||
| 3882 | calling select. | ||
| 3883 | |||
| 3884 | * termcap.c [MAC_OSX]: Don't define tgetnum, PC, tputs, and tgetent. | ||
| 3885 | |||
| 3886 | * tparam.c [MAC_OSX]: Don't define BC and UP. | ||
| 3887 | |||
| 3888 | * config.in [HAVE_CARBON]: Add. | ||
| 3889 | |||
| 3890 | * mac.c, macgui.h, macfns.c, macmenu.c, macterm.c, macterm.h: | ||
| 3891 | Move here from mac/src and mac/inc. | ||
| 3892 | |||
| 3893 | * s/darwin.h, m/powermac.h, unexmacosx.c: New files. | ||
| 3894 | |||
| 3895 | 2002-04-26 Gerd Moellmann <gerd@gnu.org> | ||
| 3896 | |||
| 3897 | * xterm.c (x_draw_phys_cursor_glyph): Undo last change. | ||
| 3898 | Compute phys_cursor_width from the x position returned | ||
| 3899 | by x_draw_glyhs, which is cheaper. | ||
| 3900 | (x_display_and_set_cursor): Compute the buffer-local value | ||
| 3901 | of `cursor-in-non-selected-windows' only when needed. | ||
| 3902 | |||
| 3903 | 2002-04-25 Gerd Moellmann <gerd@gnu.org> | ||
| 3904 | |||
| 3905 | * xterm.c (x_draw_phys_cursor_glyph): Take into account that a box | ||
| 3906 | cursor on a stretch glyph has a width that depends on | ||
| 3907 | x_stretch_cursor_p. | ||
| 3908 | |||
| 3909 | 2002-04-25 Pavel Jan,Am(Bk <Pavel@Janik.cz> | ||
| 3910 | |||
| 3911 | * abbrev.c (abbrev-start-location): Doc fix. | ||
| 3912 | |||
| 3913 | * indent.c (Fvertical_motion): Fix last change. | ||
| 3914 | |||
| 3915 | 2002-04-25 Gerd Moellmann <gerd@gnu.org> | ||
| 3916 | |||
| 3917 | * indent.c (Fvertical_motion): Move to the start of the line | ||
| 3918 | containing PT before moving up or down. | ||
| 3919 | |||
| 3920 | 2002-04-24 Gerd Moellmann <gerd@gnu.org> | ||
| 3921 | |||
| 3922 | * dispnew.c (update_text_area): Set phys_cursor_on_p to 0 in the | ||
| 3923 | case of writing a whole row, more or less analogous to the case of | ||
| 3924 | writing only parts of a row. | ||
| 3925 | |||
| 3926 | * xterm.c (x_display_and_set_cursor): Set phys_cursor_width to | ||
| 3927 | 0 for NO_CURSOR. | ||
| 3928 | |||
| 3929 | * xterm.c (notice_overwritten_cursor): Fix an off by 1 error. | ||
| 3930 | |||
| 3931 | 2002-04-23 Colin Walters <walters@verbum.org> | ||
| 3932 | |||
| 3933 | * buffer.c (syms_of_buffer): Doc fix. | ||
| 3934 | |||
| 3935 | 2002-04-23 Gerd Moellmann <gerd@gnu.org> | ||
| 3936 | |||
| 3937 | * xterm.c (notice_overwritten_cursor): Handle the special case | ||
| 3938 | of the cursor being in the first blank non-text line at the | ||
| 3939 | end of a window. | ||
| 3940 | |||
| 3941 | * xterm.c (x_draw_hollow_cursor, x_draw_bar_cursor) | ||
| 3942 | (x_draw_phys_cursor_glyph): Set phys_cursor_width here. | ||
| 3943 | (x_display_and_set_cursor): Don't set phys_cursor_width here, for | ||
| 3944 | bar cursors only, to make phys_cursor_width contain what its name | ||
| 3945 | suggests. | ||
| 3946 | (notice_overwritten_cursor): Consider the cursor image erased if | ||
| 3947 | the output area intersects the cursor image in y-direction. | ||
| 3948 | |||
| 3949 | 2002-04-23 Simon Marshall <simon@gnu.org> | ||
| 3950 | |||
| 3951 | * xfns.c (x_set_mouse_color): Change default for cross_cursor | ||
| 3952 | to XC_hand2. | ||
| 3953 | |||
| 3954 | 2002-04-23 Pavel Jan,Am(Bk <Pavel@Janik.cz> | ||
| 3955 | |||
| 3956 | * xdisp.c: Remove unused global variable `minibuf_prompt_pixel_width'. | ||
| 3957 | |||
| 3958 | 2002-04-22 Kim F. Storm <storm@cua.dk> | ||
| 3959 | |||
| 3960 | * textprop.c (remove_properties): Fixed trap for malformed plist. | ||
| 3961 | |||
| 3962 | 2002-04-22 Richard M. Stallman <rms@gnu.org> | ||
| 3963 | |||
| 3964 | * cmds.c (Fend_of_line): Handle intangible text in mid line. | ||
| 3965 | |||
| 3966 | * window.c (make_window): Initialize height_fixed_p, | ||
| 3967 | last_cursor_off_p, and p->cursor_off_p slots. | ||
| 3968 | |||
| 3969 | 2002-04-20 Pavel Jan,Am(Bk <Pavel@Janik.cz> | ||
| 3970 | |||
| 3971 | * fns.c (use-dialog-box): Doc fix. | ||
| 3972 | |||
| 3973 | 2002-04-19 Pavel Jan,Am(Bk <Pavel@Janik.cz> | ||
| 3974 | |||
| 3975 | * xterm.c (note_mode_line_or_margin_highlight): Remove unused | ||
| 3976 | variables `row', `i' and `area'. | ||
| 3977 | (XTread_socket) <KeyPress>: Pass KeyPress events when in menu to | ||
| 3978 | toolkit library. | ||
| 3979 | |||
| 3980 | 2002-04-19 Stefan Monnier <monnier@cs.yale.edu> | ||
| 3981 | |||
| 3982 | * xfaces.c (clear_font_table): Don't free the default font of | ||
| 3983 | a frame even if it's on another display. | ||
| 3984 | (Finternal_set_lisp_face_attribute): Don't use XFRAME on something | ||
| 3985 | that could be Qt. | ||
| 3986 | |||
| 3987 | 2002-04-19 Juanma Barranquero <lektu@terra.es> | ||
| 3988 | |||
| 3989 | * indent.c (Fmove_to_column): Remove unused local variable | ||
| 3990 | `next_boundary_byte'. | ||
| 3991 | (current_column_1): Likewise. | ||
| 3992 | |||
| 3993 | 2002-04-19 Eli Zaretskii <eliz@is.elta.co.il> | ||
| 3994 | |||
| 3995 | * msdos.c (Qhbar): New variable. | ||
| 3996 | (syms_of_msdos): Intern and staticpro it. | ||
| 3997 | (IT_set_cursor_type, IT_set_frame_parameters): Handle the `hbar' | ||
| 3998 | cursor type. | ||
| 3999 | |||
| 4000 | 2002-04-19 Dave Lambert <dlambert@acm.org> | ||
| 4001 | |||
| 4002 | Theses change implement an underscore-like (`hbar') cursor. | ||
| 4003 | |||
| 4004 | * xterm.h (text_cursor_kinds): New enumeration member HBAR_CURSOR. | ||
| 4005 | |||
| 4006 | * xterm.c (x_draw_bar_cursor): New argument KIND; callers changed. | ||
| 4007 | Handle the `hbar' cursor type. | ||
| 4008 | (x_display_and_set_cursor): Handle the HBAR_CURSOR case. | ||
| 4009 | |||
| 4010 | * xfns.c (Qhbar): New variable. | ||
| 4011 | (syms_of_xfns): Intern and staticpro it. | ||
| 4012 | (x_specified_cursor_type): Handle `hbar' cursor. | ||
| 4013 | |||
| 4014 | * s/sol2-5.h (bcopy, bzero, bcmp): Define only if HAVE_BCOPY is | ||
| 4015 | not defined. | ||
| 4016 | |||
| 4017 | 2002-04-18 Richard M. Stallman <rms@gnu.org> | ||
| 4018 | |||
| 4019 | * textprop.c (remove_properties): New arg LIST allows scanning | ||
| 4020 | either a list or a plist. | ||
| 4021 | (interval_has_some_properties_list): New function, like | ||
| 4022 | interval_has_some_properties using list instead of plist. | ||
| 4023 | All callers changed. | ||
| 4024 | (Fremove_list_of_text_properties): New function. | ||
| 4025 | (syms_of_textprop): Defsubr it. | ||
| 4026 | |||
| 4027 | 2002-04-17 Eli Zaretskii <eliz@is.elta.co.il> | ||
| 4028 | |||
| 4029 | * s/sol2.h (HAVE_LIBKSTAT): Define only if not already defined. | ||
| 4030 | |||
| 4031 | 2002-04-17 Juanma Barranquero <lektu@terra.es> | ||
| 4032 | |||
| 4033 | * indent.c (Fmove_to_column): Remove unused local variable `end_byte'. | ||
| 4034 | |||
| 4035 | 2002-04-17 Eli Zaretskii <eliz@is.elta.co.il> | ||
| 4036 | |||
| 4037 | * window.c (coordinates_in_window): Don't report on margin area | ||
| 4038 | if its width is zero. | ||
| 4039 | |||
| 4040 | 2002-04-16 Jason Rumney <jasonr@gnu.org> | ||
| 4041 | |||
| 4042 | * w32fns.c (Fx_file_dialog): Decode file name before using. | ||
| 4043 | |||
| 4044 | * w32term.c (construct_drag_n_drop): Likewise. | ||
| 4045 | |||
| 4046 | 2002-04-16 Eli Zaretskii <eliz@is.elta.co.il> | ||
| 4047 | |||
| 4048 | * puresize.h (BASE_PURESIZE): Increase to 830000, since we now | ||
| 4049 | store load-history in pure space. | ||
| 4050 | |||
| 4051 | * s/msdos.h (SYSTEM_PURESIZE_EXTRA): Reduce to 50000. | ||
| 4052 | |||
| 4053 | 2002-04-16 Stefan Monnier <monnier@cs.yale.edu> | ||
| 4054 | |||
| 4055 | * xterm.c (Qlatin_1, Qutf_8): New vars. | ||
| 4056 | (syms_of_xterm): Initialize them. | ||
| 4057 | (XTread_socket): Eliminate incorrect optimization that tried to avoid | ||
| 4058 | decoding the output of X*LookupString. | ||
| 4059 | Always use latin-1 to decode the output of XLookupString. | ||
| 4060 | Try Xutf8LookupString if XmbLookupString failed. | ||
| 4061 | |||
| 4062 | * region-cache.c (new_region_cache): Use BEG. | ||
| 4063 | |||
| 4064 | 2002-04-16 Gerd Moellmann <gerd@gnu.org> | ||
| 4065 | |||
| 4066 | * buffer.c (MMAP_ALLOCATED_P): New macro to be set from system | ||
| 4067 | configuration files. | ||
| 4068 | (mmap_enlarge): Enlarge mapped regions only if MMAP_ALLOCATED_P | ||
| 4069 | returns 0. | ||
| 4070 | |||
| 4071 | 2002-04-15 Andreas Schwab <schwab@suse.de> | ||
| 4072 | |||
| 4073 | * config.in: Regenerated using autoheader. | ||
| 4074 | |||
| 4075 | * m/7300.h, m/acorn.h, m/alliant-2800.h, m/alliant.h, m/alpha.h, | ||
| 4076 | m/altos.h, m/amdahl.h, m/apollo.h, m/arm.h, m/att3b.h, m/aviion.h, | ||
| 4077 | m/celerity.h, m/clipper.h, m/cnvrgnt.h, m/convex.h, m/cydra5.h, | ||
| 4078 | m/delta.h, m/delta88k.h, m/dpx2.h, m/elxsi.h, m/gec63.h, | ||
| 4079 | m/gould.h, m/hp800.h, m/hp9000s300.h, m/i860.h, m/ia64.h, | ||
| 4080 | m/ibmps2-aix.h, m/ibmrs6000.h, m/ibmrt-aix.h, m/ibmrt.h, | ||
| 4081 | m/ibms390.h, m/intel386.h, m/iris4d.h, m/irist.h, m/isi-ov.h, | ||
| 4082 | m/m68k.h, m/macppc.h, m/masscomp.h, m/mg1.h, m/mips-siemens.h, | ||
| 4083 | m/mips.h, m/news-r6.h, m/news.h, m/next.h, m/nh3000.h, m/nh4000.h | ||
| 4084 | m/ns32000.h, m/orion.h, m/pfa50.h, m/plexus.h, m/pmax.h, | ||
| 4085 | m/powerpcle.h, m/pyrmips.h, m/sequent-ptx.h, m/sequent.h, | ||
| 4086 | m/sparc.h, m/sr2k.h, m/symmetry.h, m/tad68k.h, m/tahoe.h, | ||
| 4087 | m/targon31.h, m/tek4300.h, m/tekxd88.h, m/template.h, m/tower32.h, | ||
| 4088 | m/tower32v3.h, m/ustation.h, m/vax.h, m/wicat.h, m/windowsnt.h, | ||
| 4089 | m/xps100.h, s/aix3-2.h, s/aix4-2.h, s/irix4-0.h, s/irix5-0.h, | ||
| 4090 | s/sco5.h, s/unixware.h: Don't set HAVE_ALLOCA, C_ALLOCA and | ||
| 4091 | STACK_DIRECTION, now set by autoconf. | ||
| 4092 | |||
| 4093 | 2002-04-14 Pavel Jan,Am(Bk <Pavel@Janik.cz> | ||
| 4094 | |||
| 4095 | * dispnew.c (marginal_area_string): Sort arguments. | ||
| 4096 | |||
| 4097 | * dispextern.h (marginal_area_string): Add prototype. | ||
| 4098 | |||
| 4099 | 2002-04-13 Richard M. Stallman <rms@gnu.org> | ||
| 4100 | |||
| 4101 | * fileio.c (Finsert_file_contents): | ||
| 4102 | Don't call temp_output_buffer_setup--do just part, by hand. | ||
| 4103 | |||
| 4104 | * coding.c (run_pre_post_conversion_on_str): | ||
| 4105 | Don't call temp_output_buffer_setup--do just part, by hand. | ||
| 4106 | |||
| 4107 | * keyboard.c (command_loop_1): Don't call start_hourglass | ||
| 4108 | or cancel_hourglass when executing a macro. | ||
| 4109 | |||
| 4110 | * marker.c (count_markers): New function. | ||
| 4111 | |||
| 4112 | * xdisp.c (display_mode_element): Don't let mode_line_proptrans_alist | ||
| 4113 | grow without limit. Move recently used elements to the front. | ||
| 4114 | |||
| 4115 | 2002-04-13 Eli Zaretskii <eliz@is.elta.co.il> | ||
| 4116 | |||
| 4117 | * unexelf.c (unexec) [__sgi]: Undo the change from 2002-01-20. | ||
| 4118 | |||
| 4119 | 2002-04-12 Gerd Moellmann <gerd@gnu.org> | ||
| 4120 | |||
| 4121 | * xdisp.c (sync_frame_with_window_matrix_rows): Don't give frame | ||
| 4122 | rows marginal areas. | ||
| 4123 | (Fdump_frame_glyph_matrix) [GLYPH_DEBUG]: New function. | ||
| 4124 | (syms_of_xdisp) [GLYPH_DEBUG]: Defsubr it. | ||
| 4125 | |||
| 4126 | * dispnew.c (marginal_area_string): Check that glyph row is enabled. | ||
| 4127 | |||
| 4128 | 2002-04-12 Dave Love <fx@gnu.org> | ||
| 4129 | |||
| 4130 | * dispnew.c (marginal_area_string): New. | ||
| 4131 | |||
| 4132 | * window.c (window_part): Add ON_LEFT_MARGIN, ON_RIGHT_MARGIN. | ||
| 4133 | (Qleft_margin, Qright_margin): Declare. | ||
| 4134 | (coordinates_in_window, (Fcoordinates_in_window_p): Deal with margins. | ||
| 4135 | |||
| 4136 | * xterm.c (note_mode_line_or_margin_highlight): Renamed from | ||
| 4137 | note_mode_line_highlight and extended. | ||
| 4138 | |||
| 4139 | * keyboard.c (Qleft_margin, Qright_margin): Declare. | ||
| 4140 | (make_lispy_event): Deal with mouse events in margins. | ||
| 4141 | |||
| 4142 | 2002-04-12 Stefan Monnier <monnier@cs.yale.edu> | ||
| 4143 | |||
| 4144 | * msdos.c (dos_rawgetc): Use a single event for HELP_EVENT. | ||
| 4145 | |||
| 4146 | * keyboard.c (command_loop_1): Turn off transient-mark-mode rather | ||
| 4147 | than deactivating the mark if tmm is set to `lambda'. | ||
| 4148 | (gen_help_event, kbd_buffer_store_help_event, kbd_buffer_get_event): | ||
| 4149 | Use a single event for HELP_EVENT. | ||
| 4150 | (Fexecute_extended_command): Save last_point_position. | ||
| 4151 | |||
| 4152 | 2002-04-12 Pavel Jan,Am(Bk <Pavel@Janik.cz> | ||
| 4153 | |||
| 4154 | * lisp.h (Fpropertize): Add prototype. | ||
| 4155 | |||
| 4156 | * fns.c (Fy_or_n_p): Use `minibuffer-prompt' face for prompt. | ||
| 4157 | |||
| 4158 | 2002-04-10 Colin Walters <walters@verbum.org> | ||
| 4159 | |||
| 4160 | * config.in: Add HAVE_SHARED_GAME_DIR. | ||
| 4161 | |||
| 4162 | * callproc.c: (Vgame_score_directory): New variable. | ||
| 4163 | (syms_of_callproc) <Vgame_score_directory>: DEFVAR_LISP. | ||
| 4164 | |||
| 4165 | 2002-04-10 Richard M. Stallman <rms@gnu.org> | ||
| 4166 | |||
| 4167 | * puresize.h (BASE_PURESIZE): Reduce again to avoid big excess. | ||
| 4168 | |||
| 4169 | 2002-04-09 Stefan Monnier <monnier@cs.yale.edu> | ||
| 4170 | |||
| 4171 | * minibuf.c (read_minibuf): Use empty_string. | ||
| 4172 | (Ftry_completion): Allow lambda forms and lists of strings for `alist'. | ||
| 4173 | Short-circuit the search as soon as it "failed". | ||
| 4174 | (Fall_completions): Allow lambda forms and lists of strings for alist. | ||
| 4175 | (Fcompleting_read): Set Qminibuffer_completion_confirm to nil | ||
| 4176 | when require_match is nil. | ||
| 4177 | (Ftest_completion): Rename from `test_completion' and export to elisp. | ||
| 4178 | Call the predicate also when alist is a list. | ||
| 4179 | Obey Vcompletion_regexp_list. | ||
| 4180 | (do_completion, Fminibuffer_complete_and_exit): Use it. | ||
| 4181 | (Fassoc_string): Rename from `assoc_for_completion'. | ||
| 4182 | Allow list of strings as well and export to elisp. | ||
| 4183 | |||
| 4184 | 2002-04-08 Stefan Monnier <monnier@cs.yale.edu> | ||
| 4185 | |||
| 4186 | * puresize.h (BASE_PURESIZE): Increase to 900KB. | ||
| 4187 | |||
| 4188 | 2002-04-08 Juanma Barranquero <lektu@terra.es> | ||
| 4189 | |||
| 4190 | * w32.c (sys_accept): Don't hide variable `s'. | ||
| 4191 | |||
| 4192 | 2002-04-05 Gerd Moellmann <gerd@gnu.org> | ||
| 4193 | |||
| 4194 | * callint.c (Fcall_interactively): Use INTEGERP instead of | ||
| 4195 | NUMBERP for checking Vhistory_length. | ||
| 4196 | |||
| 4197 | 2002-04-05 Pavel Jan,Am(Bk <Pavel@Janik.cz> | ||
| 4198 | |||
| 4199 | * sound.c (Fplay_sound_internal): Renamed from Fplay_sound. | ||
| 4200 | Doc fix to reflect it. | ||
| 4201 | |||
| 4202 | 2002-04-04 Richard M. Stallman <rms@gnu.org> | ||
| 4203 | |||
| 4204 | * xdisp.c (display_mode_element): New arg RISKY. | ||
| 4205 | Disregard text props found or specified within a variable | ||
| 4206 | that isn't marked risky-local-variable. | ||
| 4207 | (Qrisky_local_variable): New variable. | ||
| 4208 | (syms_of_xdisp): Init and staticpro it. | ||
| 4209 | |||
| 4210 | 2002-04-04 Stefan Monnier <monnier@cs.yale.edu> | ||
| 4211 | |||
| 4212 | * undo.c (record_point): New fun. | ||
| 4213 | (record_delete, record_insert): Use it. | ||
| 4214 | |||
| 4215 | 2002-04-03 Juanma Barranquero <lektu@terra.es> | ||
| 4216 | |||
| 4217 | * doc.c (Fdocumentation): Add missing parentheses. | ||
| 4218 | (Fdocumentation_property): Likewise. | ||
| 4219 | |||
| 4220 | 2002-04-03 Stefan Monnier <monnier@cs.yale.edu> | ||
| 4221 | |||
| 4222 | * doc.c (Fdocumentation, Fdocumentation_property): When the doc | ||
| 4223 | data is 0, just return nil. | ||
| 4224 | |||
| 4225 | 2002-04-03 Eli Zaretskii <eliz@is.elta.co.il> | ||
| 4226 | |||
| 4227 | * msdos.c (syms_of_msdos): Fix last change with | ||
| 4228 | mouse_autoselect_window. | ||
| 4229 | |||
| 4230 | 2002-04-03 Pavel Jan,Am(Bk <Pavel@Janik.cz> | ||
| 4231 | |||
| 4232 | * w32term.c, xterm.c, msdos.c: Rename autoselect_window_p to | ||
| 4233 | mouse_autoselect_window. | ||
| 4234 | |||
| 4235 | 2002-04-02 Stefan Monnier <monnier@cs.yale.edu> | ||
| 4236 | |||
| 4237 | * keyboard.c (make_lispy_event): Handle unknown keysyms together | ||
| 4238 | with system-specific keysyms. Use it also for unknown function keys. | ||
| 4239 | |||
| 4240 | * doc.c (reread_doc_file): Return whether reload was attempted. | ||
| 4241 | (Fdocumentation, Fdocumentation_property): Don't try to reload | ||
| 4242 | if the doc is 0 and only ask once. | ||
| 4243 | |||
| 4244 | * Makefile.in (lisp, shortlisp): Add ucs-tables.elc. | ||
| 4245 | |||
| 4246 | 2002-04-02 Eli Zaretskii <eliz@is.elta.co.il> | ||
| 4247 | |||
| 4248 | * keyboard.c (read_char): If the event was Qselect_window, | ||
| 4249 | restore timer_idleness_start_time to its previous value. | ||
| 4250 | |||
| 4251 | * msdos.c (dos_rawgetc): Generate SELECT_WINDOW_EVENTs when required. | ||
| 4252 | 1945 | ||
| 4253 | 2002-04-01 Stefan Monnier <monnier@cs.yale.edu> | 1946 | 2002-04-01 Stefan Monnier <monnier@cs.yale.edu> |
| 4254 | 1947 | ||
| @@ -4705,469 +2398,7 @@ | |||
| 4705 | 2398 | ||
| 4706 | 2002-03-10 Jan Dj,Ad(Brv <jan.h.d@swipnet.se> | 2399 | 2002-03-10 Jan Dj,Ad(Brv <jan.h.d@swipnet.se> |
| 4707 | 2400 | ||
| 4708 | * xterm.h (x_session_check_input, x_session_initialize): Declared. | 2401 | * xterm.h (x_session_check_input, x_sess |
| 4709 | |||
| 4710 | * xterm.c: (XTread_socket): Add call to x_session_check_input and | ||
| 4711 | x_session_have_connection. | ||
| 4712 | (x_initialize): Add call to x_session_initialize. | ||
| 4713 | |||
| 4714 | * termhooks.h (enum event_kind): Add save_session_event. | ||
| 4715 | |||
| 4716 | * keyboard.c: Add Emacs event save_session_event. | ||
| 4717 | |||
| 4718 | * emacs.c (main): Add call to syms_of_xsmfns. | ||
| 4719 | |||
| 4720 | * lisp.h: Declare syms_of_xsmfns as extern. | ||
| 4721 | |||
| 4722 | * config.in: Add HAVE_X_SM. | ||
| 4723 | |||
| 4724 | * Makefile.in (LIBXT): Add -lSM -lICE | ||
| 4725 | if HAVE_X_SM and not USE_X_TOOLKIT. | ||
| 4726 | (XOBJ): New file xsmfns.c added. | ||
| 4727 | |||
| 4728 | * xsmfns.c: New file for X session management. | ||
| 4729 | |||
| 4730 | 2002-03-09 Jason Rumney <jasonr@gnu.org> | ||
| 4731 | |||
| 4732 | * fileio.c (Fcopy_file) [WINDOWS_NT]: Ensure file is not | ||
| 4733 | read-only when setting modified time. | ||
| 4734 | |||
| 4735 | 2002-03-08 Gerd Moellmann <gerd@gnu.org> | ||
| 4736 | |||
| 4737 | * xdisp.c (move_it_vertically_backward): At the end of the function, | ||
| 4738 | when moving forward by lines, treat terminal frames specially. | ||
| 4739 | |||
| 4740 | * keyboard.c (echo_char): Make sure to add a separator between | ||
| 4741 | keys even if echo_dash hasn't been called. | ||
| 4742 | |||
| 4743 | * xdisp.c: Use new string macros. | ||
| 4744 | (update_echo_area): Pass number of bytes to message3 instead of | ||
| 4745 | number of chars. | ||
| 4746 | (set_message_1): Don't access a string's size_byte directly. | ||
| 4747 | (decode_mode_spec_coding): Use number of bytes of eoltype string | ||
| 4748 | instead number of chars. | ||
| 4749 | |||
| 4750 | * lisp.h (SREF, SDATA, SCHARS, SBYTES, SMBP): New macros. | ||
| 4751 | |||
| 4752 | 2002-03-08 Juanma Barranquero <lektu@terra.es> | ||
| 4753 | |||
| 4754 | * w32fns.c (Fx_display_color_cells): Force 24+ bit color depths to | ||
| 4755 | 24-bit. | ||
| 4756 | |||
| 4757 | 2002-03-06 Jason Rumney <jasonr@gnu.org> | ||
| 4758 | |||
| 4759 | * w32term.c (x_draw_hollow_cursor): Draw same size as block cursor. | ||
| 4760 | |||
| 4761 | 2002-03-06 Gerd Moellmann <gerd@gnu.org> | ||
| 4762 | |||
| 4763 | * keyboard.c (echo_prompt, echo_char, echo_dash, echo_now) | ||
| 4764 | (cancel_echoing, echo_length, echo_truncate): Changed to | ||
| 4765 | work with new kboard definition. | ||
| 4766 | (echo_now): Use message3_nolog instead of message2_nolog. | ||
| 4767 | |||
| 4768 | * alloc.c (mark_kboards): Mark echo_string. | ||
| 4769 | |||
| 4770 | * keyboard.h (ECHOBUFSIZE): Removed. | ||
| 4771 | (struct kboard): Member echoptr removed, member echobuf renamed | ||
| 4772 | to echo_string. | ||
| 4773 | |||
| 4774 | * xdisp.c (message_with_string): Use Fformat instead of doprnt and | ||
| 4775 | message3 instead of message2 to display the message using STRING's | ||
| 4776 | text properties. | ||
| 4777 | |||
| 4778 | 2002-03-05 Andreas Schwab <schwab@suse.de> | ||
| 4779 | |||
| 4780 | * xdisp.c (hscroll_margin): Change to EMACS_INT. | ||
| 4781 | |||
| 4782 | 2002-03-05 Per Abrahamsen <abraham@dina.kvl.dk> | ||
| 4783 | |||
| 4784 | * frame.c (default-frame-alist): Explain that setting it doesn't | ||
| 4785 | affect existing frames. | ||
| 4786 | |||
| 4787 | 2002-03-05 Stefan Monnier <monnier@cs.yale.edu> | ||
| 4788 | |||
| 4789 | * indent.c (skip_invisible): Fix my brain fart. | ||
| 4790 | |||
| 4791 | * dispnew.c (sit_for): Don't wait if executing a kbd macro. | ||
| 4792 | |||
| 4793 | 2002-03-04 Stefan Monnier <monnier@cs.yale.edu> | ||
| 4794 | |||
| 4795 | * dosfns.c, dosfns.h, dispnew.c, dispextern.h, commands.h, charset.c, | ||
| 4796 | * alloc.c, abbrev.c, emacs.c, eval.c, keyboard.c, keyboard.h, | ||
| 4797 | * lisp.h, lread.c, sysdep.c, termcap.c, termchar.h, w32term.c, | ||
| 4798 | * window.c, xdisp.c, xselect.c, xterm.c: Change defvar_int definition | ||
| 4799 | and variables to use EMACS_INT instead of just int. | ||
| 4800 | |||
| 4801 | * buffer.c (syms_of_buffer): Allow non-string `mode-name'. | ||
| 4802 | |||
| 4803 | 2002-03-04 Eli Zaretskii <eliz@is.elta.co.il> | ||
| 4804 | |||
| 4805 | * sysdep.c (sys_subshell) [MSDOS]: If PWD is set in the | ||
| 4806 | environment, pass it down with corrected value. | ||
| 4807 | |||
| 4808 | 2002-03-04 Pavel Jan,Am(Bk <Pavel@Janik.cz> | ||
| 4809 | |||
| 4810 | * lread.c (read_filtered_event): Do not call start_hourglass | ||
| 4811 | before returning. | ||
| 4812 | |||
| 4813 | 2002-03-04 Juanma Barranquero <lektu@terra.es> | ||
| 4814 | |||
| 4815 | * w32term.c (x_display_and_set_cursor): Fix typo. | ||
| 4816 | |||
| 4817 | 2002-03-03 Richard M. Stallman <rms@gnu.org> | ||
| 4818 | |||
| 4819 | * fileio.c (Fmake_temp_name): Doc fix. | ||
| 4820 | |||
| 4821 | 2002-03-03 Gary Wong <gtw@gnu.org> | ||
| 4822 | |||
| 4823 | * termcap.c [!emacs]: Replace ospeed for building standalone | ||
| 4824 | libtermcap, for binary compatibility. | ||
| 4825 | |||
| 4826 | * tparam.c [!emacs]: Move #define of bcopy to after string.h. | ||
| 4827 | |||
| 4828 | 2002-03-03 Richard M. Stallman <rms@gnu.org> | ||
| 4829 | |||
| 4830 | * xrdb.c (file_p): Rename arg `path' to `filename'. | ||
| 4831 | |||
| 4832 | * abbrev.c (Fexpand_abbrev): Increment plist as use count | ||
| 4833 | only if it is an integer. | ||
| 4834 | |||
| 4835 | * xfns.c (png_load): Set screen_gamma based on f->gamma. | ||
| 4836 | If png_get_sRGB gives an answer, call png_set_gamma | ||
| 4837 | using the default image gamma value. | ||
| 4838 | |||
| 4839 | * lread.c (read1): When reading from a file, default string to | ||
| 4840 | multibyte only if it has some multibyte characters. | ||
| 4841 | |||
| 4842 | * print.c (print_object): Output multibyte chars 128...255 | ||
| 4843 | using \x even if ! print_escape_multibyte. | ||
| 4844 | |||
| 4845 | * xdisp.c (display_mode_element): Move the places where | ||
| 4846 | bytepos, charpos, this, and lisp_string are set. | ||
| 4847 | Use lisp_string to set bytepos. | ||
| 4848 | |||
| 4849 | * xdisp.c (redisplay_internal): | ||
| 4850 | Call clear_image_cache only if HAVE_WINDOW_SYSTEM. | ||
| 4851 | |||
| 4852 | * xdisp.c (display_mode_element): Merge properties specified with | ||
| 4853 | :propertize onto those that come with the string. | ||
| 4854 | |||
| 4855 | 2002-03-03 Eli Zaretskii <eliz@is.elta.co.il> | ||
| 4856 | |||
| 4857 | * xdisp.c (syms_of_xdisp) <auto-hscroll-mode>: Renamed from | ||
| 4858 | automatic-hscrolling. Users changed. | ||
| 4859 | <hscroll-margin>: Renamed from automatic-hscroll-margin. | ||
| 4860 | Users changed. | ||
| 4861 | <hscroll-step>: Renamed from automatic-hscroll-step. Users changed. | ||
| 4862 | |||
| 4863 | 2002-03-02 Eli Zaretskii <eliz@is.elta.co.il> | ||
| 4864 | |||
| 4865 | * buffer.c (syms_of_buffer) <buffer-file-coding-system>: Doc fix. | ||
| 4866 | |||
| 4867 | 2002-03-02 Kim F. Storm <storm@cua.dk> | ||
| 4868 | |||
| 4869 | * window.c (Fminibuffer_selected_window): New function. | ||
| 4870 | (syms_of_window): Defsubr it. | ||
| 4871 | |||
| 4872 | 2002-03-01 Kim F. Storm <storm@cua.dk> | ||
| 4873 | |||
| 4874 | * window.h (struct window): New member phys_cursor_width. | ||
| 4875 | |||
| 4876 | * window.c (make_window, replace_window): Init phys_cursor_width. | ||
| 4877 | |||
| 4878 | * xterm.c (x_display_and_set_cursor): Blink box cursor using | ||
| 4879 | hollow box cursor. Blink bar cursor using 1 pixel wide bar. | ||
| 4880 | |||
| 4881 | * w32term.c (x_display_and_set_cursor): Blink box cursor using | ||
| 4882 | hollow box cursor. Blink bar cursor using 1 pixel wide bar. | ||
| 4883 | |||
| 4884 | * lisp.h (GCPRO6): New macro. | ||
| 4885 | |||
| 4886 | * process.c (Fopen_network_stream): Use GCPRO6. | ||
| 4887 | |||
| 4888 | 2002-03-01 Kim F. Storm <storm@cua.dk> | ||
| 4889 | |||
| 4890 | * process.c (Qconnect, Qfailed): New variables. | ||
| 4891 | (syms_of_process): Intern and staticpro them. | ||
| 4892 | (Fprocess_status): Document connect and failed return values. | ||
| 4893 | [NON_BLOCKING_CONNECT]: New conditional. | ||
| 4894 | (connect_wait_mask, num_pending_connects): New variables. | ||
| 4895 | (status_message): Convert Qfailed status. | ||
| 4896 | (Fopen_network_stream): Added support for non-blocking connect. | ||
| 4897 | New optional args: filter, sentinel, non_blocking. Doc updated. | ||
| 4898 | [HAVE_GETADDRINFO, !HAVE_GETADDRINFO]: Merged common code. | ||
| 4899 | (deactivate_process): Handle pending non-blocking connect. | ||
| 4900 | (wait_reading_process_input): Poll for status of non-blocking | ||
| 4901 | connects. Exec sentinel directly when connect succeeds. | ||
| 4902 | (status_notify): Don't read process output if not yet connected. | ||
| 4903 | |||
| 4904 | 2002-02-28 Kim F. Storm <storm@cua.dk> | ||
| 4905 | |||
| 4906 | * window.c: (minibuf_selected_window): Renamed from | ||
| 4907 | Vminibuf_selected_window. Users changed. | ||
| 4908 | (syms_of_window): Staticpro it. | ||
| 4909 | |||
| 4910 | 2002-02-26 Kim F. Storm <storm@cua.dk> | ||
| 4911 | |||
| 4912 | The following changes add a new Vminibuf_selected_window variable | ||
| 4913 | which is similar to Vminibuf_scroll_window, but which is only set | ||
| 4914 | on entry to the minibuffer (from a non-minibuffer window): | ||
| 4915 | |||
| 4916 | * window.c: (Vminibuf_selected_window): New variable. | ||
| 4917 | (struct save_window_data): New member minibuf_selected_window. | ||
| 4918 | (Fset_window_configuration): Restore Vminibuf_selected_window. | ||
| 4919 | (Fcurrent_window_configuration): Save Vminibuf_selected_window. | ||
| 4920 | Set minibuf_scroll_window member to nil if minibuf_level is 0. | ||
| 4921 | (compare_window_configurations): Compare minibuf_selected_window. | ||
| 4922 | |||
| 4923 | * window.h: (Vminibuf_selected_window): Declare extern. | ||
| 4924 | |||
| 4925 | * minibuf.c (read_minibuf): Set Vminibuf_selected_window on first | ||
| 4926 | entry to minibuffer or on entry from a non-minibuffer window. | ||
| 4927 | |||
| 4928 | * dispextern.h (CURRENT_MODE_LINE_FACE_ID_3): Compare with | ||
| 4929 | Vminibuf_selected_window instead of Vminibuf_scroll_window. | ||
| 4930 | |||
| 4931 | * xdisp.c (init_iterator): Compare with Vminibuf_selected_window | ||
| 4932 | instead of Vminibuf_scroll_window when deciding in which window | ||
| 4933 | the region should be highlighted. Consequently, the region remains | ||
| 4934 | highlighteded even when a completion buffer is also displayed. | ||
| 4935 | |||
| 4936 | 2002-02-26 Eli Zaretskii <eliz@is.elta.co.il> | ||
| 4937 | |||
| 4938 | * fileio.c (Fsubstitute_in_file_name): Fix the change from 2002-02-08. | ||
| 4939 | |||
| 4940 | * xselect.c (Qcompound_text_with_extensions): Renamed from | ||
| 4941 | Qcompound_text_no_extensions. | ||
| 4942 | (lisp_data_to_selection_data, syms_of_xselect): Use the new name. | ||
| 4943 | |||
| 4944 | 2002-02-26 Juanma Barranquero <lektu@terra.es> | ||
| 4945 | |||
| 4946 | * w32proc.c (syms_of_ntproc): Doc fix. | ||
| 4947 | |||
| 4948 | 2002-02-24 Pavel Jan,Am(Bk <Pavel@Janik.cz> | ||
| 4949 | |||
| 4950 | * intervals.h: Include "dispextern.h" unconditionally. | ||
| 4951 | |||
| 4952 | 2002-02-24 Jason Rumney <jasonr@gnu.org> | ||
| 4953 | |||
| 4954 | * Makefile.in (WINNT_SUPPORT) [WINDOWSNT]: Add w32-vars.elc | ||
| 4955 | and disp-table.elc. | ||
| 4956 | (lisp): Add emacs-lisp/backquote.elc. | ||
| 4957 | |||
| 4958 | 2002-02-24 Kim F. Storm <storm@cua.dk> | ||
| 4959 | |||
| 4960 | * keymap.c (Flookup_key): Fixed problem in 2001-12-28 patch: | ||
| 4961 | The validation of the event type was too strict as it didn't | ||
| 4962 | allow string events; buffer names are used in bindings for | ||
| 4963 | menu-bar-select-buffer (see `menu-bar-update-buffers'). | ||
| 4964 | |||
| 4965 | 2002-02-23 Kim F. Storm <storm@cua.dk> | ||
| 4966 | |||
| 4967 | The following changes rework my patch of 2002-02-06 which | ||
| 4968 | added command remapping by entering the commands directly into | ||
| 4969 | the keymaps. Now, command remapping uses an explicit `remap' | ||
| 4970 | prefix in the keymaps, i.e. [remap COMMAND]. | ||
| 4971 | |||
| 4972 | * keymap.c (Qremap, remap_command_vector): New variables. | ||
| 4973 | (is_command_symbol): Removed function. | ||
| 4974 | (Fdefine_key): No longer accept a symbol for KEY. | ||
| 4975 | Added validation of [remap COMMAND] argument for KEY. | ||
| 4976 | The DEF is no longer required to be a symbol when remapping a command. | ||
| 4977 | (Fremap_command): New function to remap command through keymaps. | ||
| 4978 | (Flookup_key): Perform command remapping initiated by | ||
| 4979 | Fremap_command directly for speed. | ||
| 4980 | (Fkey_binding): Use Fremap_command for command remapping. | ||
| 4981 | (where_is_internal): Handle new command remapping representation. | ||
| 4982 | (syms_of_keymap): Intern Qremap, initialize remap_command_vector, | ||
| 4983 | staticpro them. Defsubr Fremap_command. | ||
| 4984 | |||
| 4985 | * keymap.h (Fremap_command): Declare extern. | ||
| 4986 | (is_command_symbol): Remove extern. | ||
| 4987 | |||
| 4988 | * keyboard.c (command_loop_1): Use Fremap_command for command | ||
| 4989 | remapping; now try command remapping for all symbols. | ||
| 4990 | |||
| 4991 | 2002-02-23 Eli Zaretskii <eliz@is.elta.co.il> | ||
| 4992 | |||
| 4993 | * coding.h (run_pre_post_conversion_on_str): Add prototype. | ||
| 4994 | |||
| 4995 | 2002-02-23 Jason Rumney <jasonr@gnu.org> | ||
| 4996 | |||
| 4997 | * w32select.c (Fw32_set_clipboard_data): Run pre-write-conversion | ||
| 4998 | on the string before encoding it. | ||
| 4999 | (Fw32_get_clipboard_data): Run post-read-conversion on the string | ||
| 5000 | after decoding it. | ||
| 5001 | |||
| 5002 | * w32fns.c (w32_wnd_proc) <WM_TIMER>: Fix last change. | ||
| 5003 | |||
| 5004 | 2002-02-23 Pavel Jan,Am(Bk <Pavel@Janik.cz> | ||
| 5005 | |||
| 5006 | * w32term.c (enter_timestamp): Remove unused static variable to | ||
| 5007 | prevent warning. | ||
| 5008 | |||
| 5009 | * xterm.c (enter_timestamp): Put in #if 0 to prevent warning. | ||
| 5010 | |||
| 5011 | 2002-02-23 Eli Zaretskii <eliz@is.elta.co.il> | ||
| 5012 | |||
| 5013 | * w16select.c (Fw16_get_clipboard_data): Fix last change. | ||
| 5014 | |||
| 5015 | * xselect.c (selection_data_to_lisp_data): Fix last change. | ||
| 5016 | |||
| 5017 | 2002-02-22 Jason Rumney <jasonr@gnu.org> | ||
| 5018 | |||
| 5019 | * w32term.h (struct w32_output): New member menu_command_in_progress. | ||
| 5020 | |||
| 5021 | * w32menu.c (menubar_selection_callback): Free the menu and | ||
| 5022 | clear the menu_command_in_progress flag. | ||
| 5023 | |||
| 5024 | * w32fns.c (mouse_move_timer, mouse_button_timer): Initialize. | ||
| 5025 | (menu_free_timer): New variable. | ||
| 5026 | (MENU_FREE_ID, MENU_FREE_DELAY): New constants. | ||
| 5027 | (w32_wnd_proc) <WM_TIMER>: Handle menu_free_timer. | ||
| 5028 | <WM_EXITMENULOOP>: Delay before freeing menu. Do nothing if a | ||
| 5029 | menu command is in progress. | ||
| 5030 | <WM_COMMAND>: Set the menu_command_in_progress flag. | ||
| 5031 | Kill any menu_free_timer that is running. | ||
| 5032 | |||
| 5033 | * w32term.c (w32_text_out): Renamed from W32_TEXTOUT. | ||
| 5034 | Call ExtTextOutA rather than ExtTextOut. | ||
| 5035 | |||
| 5036 | 2002-02-22 Eli Zaretskii <eliz@gnu.org> | ||
| 5037 | |||
| 5038 | * puresize.h (BASE_PURESIZE): Increase to 755000. | ||
| 5039 | |||
| 5040 | 2002-02-22 Eli Zaretskii <eliz@is.elta.co.il> | ||
| 5041 | |||
| 5042 | * w16select.c (Fw16_set_clipboard_data): Run pre-write-conversion | ||
| 5043 | on the string before encoding it. | ||
| 5044 | (Fw16_get_clipboard_data): Run post-read-conversion on the string | ||
| 5045 | after decoding it. | ||
| 5046 | |||
| 5047 | 2002-02-22 Eli Zaretskii <eliz@is.elta.co.il> | ||
| 5048 | |||
| 5049 | Support for ICCCM Extended Segments in X selections: | ||
| 5050 | |||
| 5051 | * xselect.c <Qcompound_text_no_extensions>: New variable. | ||
| 5052 | (syms_of_xselect): Intern and staticpro it. | ||
| 5053 | (selection_data_to_lisp_data): Run post-read-conversion on decoded | ||
| 5054 | selection text. | ||
| 5055 | (lisp_data_to_selection_data): If next-selection-coding-system is | ||
| 5056 | compound-text-no-extensions, set the type of selection to be | ||
| 5057 | compound-text. | ||
| 5058 | |||
| 5059 | * xterm.h (x_encode_text): Update prototype. | ||
| 5060 | |||
| 5061 | * xfns.c (x_encode_text): Accept additional arg SELECTIONP; all | ||
| 5062 | callers changed. If SELECTIONP is non-zero, run the | ||
| 5063 | pre-write-conversion function before encoding the selection text. | ||
| 5064 | |||
| 5065 | 2002-02-21 Kim F. Storm <storm@cua.dk> | ||
| 5066 | |||
| 5067 | * frame.c (syms_of_frame): Change mouse-highlight default to t. | ||
| 5068 | |||
| 5069 | * keyboard.c (kbd_buffer_get_event) [WINDOWSNT]: | ||
| 5070 | Correct composing of language-change event. | ||
| 5071 | |||
| 5072 | 2002-02-20 Kim F. Storm <storm@cua.dk> | ||
| 5073 | |||
| 5074 | * keyboard.c (menu_bar_items): Don't include keymap or local-map | ||
| 5075 | bindings at PT when building menu (the menu is not updated often | ||
| 5076 | enough for this to work reliable). | ||
| 5077 | (tool_bar_items): Likewise. | ||
| 5078 | (current_active_maps): Removed unused (and buggy) function. | ||
| 5079 | |||
| 5080 | 2002-02-20 Pavel Jan,Am(Bk <Pavel@Janik.cz> | ||
| 5081 | |||
| 5082 | * xfns.c (gif_load): Use correct width and height for GIF images. | ||
| 5083 | |||
| 5084 | 2002-02-19 Eli Zaretskii <eliz@is.elta.co.il> | ||
| 5085 | |||
| 5086 | * floatfns.c (Fatan): Accept an optional second arg and call | ||
| 5087 | atan2 if passed 2 args. | ||
| 5088 | |||
| 5089 | 2002-02-18 Jason Rumney <jasonr@gnu.org> | ||
| 5090 | |||
| 5091 | * w32term.c (glyph_rect): Determine the row and glyph more precisely. | ||
| 5092 | |||
| 5093 | 2002-02-17 Jason Rumney <jasonr@gnu.org> | ||
| 5094 | |||
| 5095 | * w32term.c (x_autoselect_window_p): New variable. | ||
| 5096 | (syms_of_w32term): DEFVAR_BOOL and initialize it. | ||
| 5097 | (note_mouse_movement): Use it. | ||
| 5098 | |||
| 5099 | * w32fns.c (w32_load_system_font): Never set fonts_changed_p to zero. | ||
| 5100 | |||
| 5101 | * w32bdf.c (w32_load_bdf_font): Maybe set fonts_changed_p. | ||
| 5102 | |||
| 5103 | * w32fns.c (Qfullscreen, Qfullwidth, Qfullheight, Qfullboth): | ||
| 5104 | New variables. | ||
| 5105 | (syms_of_w32fns): Intern and staticpro them. | ||
| 5106 | (x_frame_parms) <"fullscreen">: New parameter. | ||
| 5107 | (x_fullscreen_move, x_set_fullscreen): New functions. | ||
| 5108 | (x_set_frame_parameters): Support Qfullscreen. | ||
| 5109 | (x_real_positions): Save x/y_pixels_diff frame params. | ||
| 5110 | (x_figure_window_size): Support full-screen frames. | ||
| 5111 | (Fx_create_frame): Default the fullscreen parameter. | ||
| 5112 | |||
| 5113 | * w32term.c (x_check_fullscreen, x_check_fullscreen_move) | ||
| 5114 | (x_fullscreen_adjust): New functions. | ||
| 5115 | (w32_read_socket) <WM_WINDOWPOSCHANGED>: Don't resize to | ||
| 5116 | fullscreen. Call x_check_fullscreen_move, and set the | ||
| 5117 | want_fullscreen member of output_data.w32 | ||
| 5118 | <WM_ACTIVATE, WM_ACTIVATEAPP>: Call x_check_fullscreen. | ||
| 5119 | |||
| 5120 | * w32term.h: New enum for FULLSCREEN_* constants. | ||
| 5121 | (struct w32_output): New members want_fullscreen, x_pixels_diff, | ||
| 5122 | y_pixels_diff, x_pixels_outer_diff, and y_pixels_outer_diff. | ||
| 5123 | (x-fullscreen-adjust): New prototype. | ||
| 5124 | |||
| 5125 | 2002-02-17 Kim F. Storm <storm@cua.dk> | ||
| 5126 | |||
| 5127 | * frame.c: (Vmouse_highlight): New variable. | ||
| 5128 | (syms_of_frame): DEFVAR_LISP it. | ||
| 5129 | |||
| 5130 | * frame.h: (Vmouse_highlight): Declare extern. | ||
| 5131 | |||
| 5132 | * xterm.h (struct x_display_info): Add mouse_face_hidden. | ||
| 5133 | |||
| 5134 | * xterm.c (disable_mouse_highlight): Removed variable. | ||
| 5135 | (note_mouse_highlight): Don't highlight if Vmouse_highlight is nil. | ||
| 5136 | (show_mouse_face): Don't show highlight if mouse_face_hidden is set. | ||
| 5137 | (XTread_socket): Turn mouse_face_hidden off after mouse movement, | ||
| 5138 | and on after keyboard input. | ||
| 5139 | (x_term_init): Initialize mouse_face_hidden. | ||
| 5140 | |||
| 5141 | * msdos.h (struct display_info): Add mouse_face_hidden. | ||
| 5142 | |||
| 5143 | * msdos.c (disable_mouse_highlight): Removed variable. | ||
| 5144 | (show_mouse_face): Don't show highlight if mouse_face_hidden is set. | ||
| 5145 | (IT_note_mouse_highlight): Don't highlight if Vmouse_highlight is nil. | ||
| 5146 | (internal_terminal_init): Initialize mouse_face_hidden. | ||
| 5147 | (dos_rawgetc): Turn mouse_face_hidden off after mouse movement, | ||
| 5148 | and on after keyboard input. | ||
| 5149 | |||
| 5150 | * w32term.h (struct w32_display_info): Add mouse_face_hidden. | ||
| 5151 | |||
| 5152 | * w32term.c (disable_mouse_highlight): Removed variable. | ||
| 5153 | (note_mouse_highlight): Disable highlight if Vmouse_highlight is nil. | ||
| 5154 | (show_mouse_face): Don't show highlight if mouse_face_hidden is set. | ||
| 5155 | (w32_read_socket): Turn mouse_face_hidden off after mouse movement, | ||
| 5156 | and on after keyboard input. | ||
| 5157 | (w32_initialize_display_info): Initialize mouse_face_hidden. | ||
| 5158 | |||
| 5159 | 2002-02-16 Eli Zaretskii <eliz@is.elta.co.il> | ||
| 5160 | |||
| 5161 | * msdos.c (last_mouse_window): New variable. | ||
| 5162 | (dos_rawgetc): Fix last change--if the mouse is in the same window | ||
| 5163 | as recorded in last_mouse_window, don't select this window. | ||
| 5164 | |||
| 5165 | * Makefile.in (lisp, shortlisp): Use cus-start.elc, not cus-start.el. | ||
| 5166 | |||
| 5167 | * msdos.c (x_autoselect_window_p): New variable. | ||
| 5168 | (syms_of_msdos): Defvar it. | ||
| 5169 | (dos_rawgetc): If x_autoselect_window_p is set, select the window in | ||
| 5170 | which the last mouse movement occured, unless it is already selected. | ||
| 5171 | 2402 | ||
| 5172 | * xdisp.c (automatic_hscroll_margin, Vautomatic_hscroll_step): | 2403 | * xdisp.c (automatic_hscroll_margin, Vautomatic_hscroll_step): |
| 5173 | New variables. | 2404 | New variables. |
| @@ -5647,1460 +2878,7 @@ | |||
| 5647 | * w32term.c (parse_button): New parameter xbutton. Callers changed. | 2878 | * w32term.c (parse_button): New parameter xbutton. Callers changed. |
| 5648 | (w32_read_socket): Handle new "XBUTTON" messages. | 2879 | (w32_read_socket): Handle new "XBUTTON" messages. |
| 5649 | 2880 | ||
| 5650 | * w32fns.c (w32_pass_extra_mouse_buttons_to_system): New user option. | 2881 | * w32fns. |
| 5651 | (syms_of_w32fns): DEFVAR_BOOL it. | ||
| 5652 | (w32_wnd_proc): Handle new "XBUTTON" messages. | ||
| 5653 | |||
| 5654 | 2002-01-13 Pavel Jan,Am(Bk <Pavel@Janik.cz> | ||
| 5655 | |||
| 5656 | * keyboard.c (read_key_sequence): Remove unused variable `extra_maps'. | ||
| 5657 | |||
| 5658 | 2002-01-13 Andreas Schwab <schwab@suse.de> | ||
| 5659 | |||
| 5660 | * xterm.c (x_load_font): Never set fonts_changed_p to zero. | ||
| 5661 | |||
| 5662 | 2002-01-12 Andreas Schwab <schwab@suse.de> | ||
| 5663 | |||
| 5664 | * .gdbinit (xbuffer): Remove address operator since data is now a | ||
| 5665 | pointer. | ||
| 5666 | |||
| 5667 | 2002-01-11 Richard M. Stallman <rms@gnu.org> | ||
| 5668 | |||
| 5669 | * insdel.c (adjust_after_replace_noundo): New function. | ||
| 5670 | |||
| 5671 | * coding.c (code_convert_region): Don't copy old text if undo disabled. | ||
| 5672 | |||
| 5673 | 2002-01-09 Jason Rumney <jasonr@gnu.org> | ||
| 5674 | |||
| 5675 | * xdisp.c (x_consider_frame_title): Don't count the tooltip frame | ||
| 5676 | when checking for multiple frames. | ||
| 5677 | |||
| 5678 | 2002-01-08 Richard M. Stallman <rms@gnu.org> | ||
| 5679 | |||
| 5680 | * window.c (delete_window): Rewrite the code for changing the | ||
| 5681 | selected window to handle the case where WINDOW is not a leaf. | ||
| 5682 | |||
| 5683 | 2002-01-07 Eli Zaretskii <eliz@is.elta.co.il> | ||
| 5684 | |||
| 5685 | * process.c (send_process): Set src_multibyte to 1 after the call | ||
| 5686 | top setup_coding_system, not before the call. | ||
| 5687 | |||
| 5688 | 2002-01-07 Jason Rumney <jasonr@gnu.org> | ||
| 5689 | |||
| 5690 | * xmenu.c (set_frame_menubar, xmenu_show): | ||
| 5691 | (xdialog_show): Initialize wv->help to Qnil. | ||
| 5692 | |||
| 5693 | * w32menu.c (single_submenu, set_frame_menubar, w32_menu_show): | ||
| 5694 | (w32_dialog_show): Initialize wv->help to Qnil. | ||
| 5695 | |||
| 5696 | 2002-01-06 Jason Rumney <jasonr@gnu.org> | ||
| 5697 | |||
| 5698 | * xmenu.c (single_submenu): Initialize wv->help to Qnil. | ||
| 5699 | |||
| 5700 | * w32menu.c (w32_menu_display_help): Revert last change. | ||
| 5701 | |||
| 5702 | * xmenu.c (menu_highlight_callback): Revert last change. | ||
| 5703 | |||
| 5704 | 2002-01-06 Andreas Schwab <schwab@suse.de> | ||
| 5705 | |||
| 5706 | * insdel.c (make_gap_larger): Make sure buffer size does not | ||
| 5707 | overflow range of int. | ||
| 5708 | |||
| 5709 | 2002-01-05 Jason Rumney <jasonr@gnu.org> | ||
| 5710 | |||
| 5711 | * w32term.c (x_draw_glyphs): Don't call notice_overwritten_cursor if | ||
| 5712 | OVERLAPS_P. | ||
| 5713 | |||
| 5714 | * w32menu.c (w32_menu_display_help): Hide any tooltip window. | ||
| 5715 | |||
| 5716 | * w32fns.c (compute_tip_xy): If tooltip won't fit on the screen | ||
| 5717 | to the left or to the right of the pointer, put it against | ||
| 5718 | the left screen edge. | ||
| 5719 | (x_frame_parms): Add missing braces around initializer. | ||
| 5720 | |||
| 5721 | * w32term.c (x_setup_relief_colors): Don't compute an image's | ||
| 5722 | background color if it doesn't have a Pixmap. | ||
| 5723 | (notice_overwritten_cursor): Don't depend on | ||
| 5724 | output_cursor and updated_area. Compare pixel coordinates with | ||
| 5725 | window's cursor pixel coordinates. | ||
| 5726 | (x_draw_glyphs, x_clear_end_of_line, show_mouse_face): | ||
| 5727 | Call notice_overwritten_cursor with new arg list. | ||
| 5728 | (show_mouse_face): Fix bug setting a row's mouse_face_p flag | ||
| 5729 | unconditionally. | ||
| 5730 | (x_draw_image_relief): Use predefined macro instead of | ||
| 5731 | constant when the value of `tool_bar_button_relief' is negative. | ||
| 5732 | |||
| 5733 | * w32term.c (x_display_and_set_cursor): Fix PostMessage arg types. | ||
| 5734 | |||
| 5735 | 2002-01-04 Richard M. Stallman <rms@gnu.org> | ||
| 5736 | |||
| 5737 | * xmenu.c (menu_highlight_callback): Hide any tooltip window. | ||
| 5738 | |||
| 5739 | 2002-01-03 Richard M. Stallman <rms@gnu.org> | ||
| 5740 | |||
| 5741 | * keymap.c (Fcurrent_active_maps): Put the `keymap' property map first. | ||
| 5742 | (Fkey_binding): Try the `keymap' property map first. | ||
| 5743 | (Fdescribe_buffer_bindings): Show `keymap' property bindings before | ||
| 5744 | minor mode bindings. | ||
| 5745 | |||
| 5746 | 2002-01-03 Kim F. Storm <storm@cua.dk> | ||
| 5747 | |||
| 5748 | * keyboard.c (read_key_sequence): Fixed cast of submaps arg to bcopy. | ||
| 5749 | |||
| 5750 | 2002-01-02 Richard M. Stallman <rms@gnu.org> | ||
| 5751 | |||
| 5752 | * keyboard.c (read_key_sequence): Handle the keymap property | ||
| 5753 | before minor mode maps. | ||
| 5754 | |||
| 5755 | * editfns.c (Fformat): Update thissize from field_width | ||
| 5756 | based on the actual width, in the string case. | ||
| 5757 | |||
| 5758 | 2002-01-01 Pavel Jan,Am(Bk <Pavel@Janik.cz> | ||
| 5759 | |||
| 5760 | * charset.h (UNIBYTE_STR_AS_MULTIBYTE_P): Parenthesize assignment | ||
| 5761 | when used as truth value to prevent gcc warnings. | ||
| 5762 | |||
| 5763 | * sysdep.c, unexapollo.c, w32.c, w32bdf.c, w32heap.c, w32inevt.c, | ||
| 5764 | * w32proc.c: Include <config.h>. | ||
| 5765 | |||
| 5766 | 2002-01-01 Andreas Schwab <schwab@suse.de> | ||
| 5767 | |||
| 5768 | * eval.c (max_specpdl_size, max_lisp_eval_depth): Define as int, | ||
| 5769 | not EMACS_INT, to make them compatible with DEFVAR_INT. | ||
| 5770 | * lisp.h (max_specpdl_size): Adjust declaration. | ||
| 5771 | |||
| 5772 | 2002-01-01 Richard M. Stallman <rms@gnu.org> | ||
| 5773 | |||
| 5774 | * print.c (print_object): Test print_escape_nonascii only for | ||
| 5775 | unibyte strings. | ||
| 5776 | (PRINTPREPARE): Once again bind Qprint_escape_nonascii | ||
| 5777 | when outputting to a multibyte buffer. | ||
| 5778 | |||
| 5779 | 2001-12-29 Richard M. Stallman <rms@gnu.org> | ||
| 5780 | |||
| 5781 | * print.c (print_object): In multibyte string, use hex escapes. | ||
| 5782 | Use octal only for unibyte strings. | ||
| 5783 | (PRINTPREPARE): Don't ever set Qprint_escape_nonascii. | ||
| 5784 | |||
| 5785 | * lread.c (read_escape): New arg BYTEREP for reporting whether | ||
| 5786 | escape forces unibyte or multibyte. | ||
| 5787 | (read1): When reading a string, take note of that info. | ||
| 5788 | |||
| 5789 | 2001-12-29 Ken Raeburn <raeburn@gnu.org> | ||
| 5790 | |||
| 5791 | * abbrev.c (Fexpand_abbrev): Use NILP instead of implicit zero | ||
| 5792 | comparison to test lisp value returned by Fget. | ||
| 5793 | |||
| 5794 | 2001-12-29 Richard M. Stallman <rms@gnu.org> | ||
| 5795 | |||
| 5796 | * lisp.h (max_specpdl_size): Add declaration. | ||
| 5797 | |||
| 5798 | * fileio.c (Fdo_auto_save): If NO_MESSAGE, don't call push_message. | ||
| 5799 | |||
| 5800 | * keymap.c (silly_event_symbol_error): New subrtn, from Fdefine_key. | ||
| 5801 | Handle modifier bits. Correct typo in error message. | ||
| 5802 | |||
| 5803 | 2001-12-28 Richard M. Stallman <rms@gnu.org> | ||
| 5804 | |||
| 5805 | * abbrev.c: Use the plist of an abbrev for multiple params if nec. | ||
| 5806 | (Fdefine_abbrev): New arg SYSTEM-FLAG for a system abbrev. | ||
| 5807 | (Fdefine_global_abbrev, Fdefine_mode_abbrev): | ||
| 5808 | Update calls to Fdefine_abbrev. | ||
| 5809 | (write_abbrev): Update for changed data format. | ||
| 5810 | Don't list "system" abbrevs. | ||
| 5811 | (Fexpand_abbrev): Update use count with new data format. | ||
| 5812 | (describe_abbrev): Update for changed data format. | ||
| 5813 | (Fdefine_abbrev_table): Handle the new SYSTEM-FLAG. | ||
| 5814 | |||
| 5815 | * config.in (HAVE_MBSINIT): Add #undef. | ||
| 5816 | |||
| 5817 | * strftime.c (mbsinit): Define as no-op if not available. | ||
| 5818 | |||
| 5819 | * s/sco5.h (LIBX11_SYSTEM) [MOTIF]: Add -lgen. | ||
| 5820 | (sigprocmask_set): Conditionalize decl on ! NOT_C_CODE. | ||
| 5821 | |||
| 5822 | * keymap.c (Flookup_key): Error message if key has wrong data type. | ||
| 5823 | (Fdefine_key): Add error message for trying to bind [DEL], [RET], etc. | ||
| 5824 | (exclude_key): New variable. | ||
| 5825 | |||
| 5826 | 2001-12-28 Gerd Moellmann <gerd@gnu.org> | ||
| 5827 | |||
| 5828 | * xterm.c (x_setup_relief_colors): Don't compute an image's | ||
| 5829 | background color if it doesn't have a Pixmap. | ||
| 5830 | |||
| 5831 | * xterm.c (notice_overwritten_cursor): Don't depend on | ||
| 5832 | output_cursor and updated_area. Compare pixel coordinates with | ||
| 5833 | window's cursor pixel coordinates. | ||
| 5834 | (x_draw_glyphs, x_clear_end_of_line, show_mouse_face): | ||
| 5835 | Call notice_overwritten_cursor with new arg list. | ||
| 5836 | (show_mouse_face): Fix bug setting a row's mouse_face_p flag | ||
| 5837 | unconditionally. | ||
| 5838 | |||
| 5839 | * xdisp.c (try_scrolling) <PT below scroll margin>: Add the | ||
| 5840 | height of the cursor line to the amount to scroll. | ||
| 5841 | |||
| 5842 | 2001-12-27 Richard M. Stallman <rms@gnu.org> | ||
| 5843 | |||
| 5844 | * intervals.c (set_point_both): The position after an invisible, | ||
| 5845 | intangible character is not an acceptable stopping point. | ||
| 5846 | |||
| 5847 | 2001-12-27 Ken Raeburn <raeburn@gnu.org> | ||
| 5848 | |||
| 5849 | * window.c (enlarge_window): In new preserve_before code, convert | ||
| 5850 | CURBEG from lisp object to integer before doing arithmetic. | ||
| 5851 | |||
| 5852 | 2001-12-27 Richard M. Stallman <rms@gnu.org> | ||
| 5853 | |||
| 5854 | * bytecode.c (Fbyte_code): Undo previous change. | ||
| 5855 | |||
| 5856 | 2001-12-26 Kim F. Storm <storm@cua.dk> | ||
| 5857 | |||
| 5858 | * keyboard.c (record_char): Ignore duplicate help-echo events only | ||
| 5859 | separated by mouse-movement. When tracking mouse, only record | ||
| 5860 | first and last mouse-movement event in same window. | ||
| 5861 | Don't record mouse-movement events in keyboard macros. | ||
| 5862 | |||
| 5863 | 2001-12-25 Richard M. Stallman <rms@gnu.org> | ||
| 5864 | |||
| 5865 | * window.c (enlarge_window): New arg PRESERVE_BEFORE. Callers changed. | ||
| 5866 | (Fenlarge_window): New arg PRESERVE_BEFORE. | ||
| 5867 | |||
| 5868 | * bytecode.c (Fbyte_code): Use Fstring_make_unibyte | ||
| 5869 | instead of Fstring_as_unibyte. | ||
| 5870 | |||
| 5871 | 2001-12-22 Pavel Jan,Am(Bk <Pavel@Janik.cz> | ||
| 5872 | |||
| 5873 | The following changes remove mocklisp support: | ||
| 5874 | |||
| 5875 | * mocklisp.h, mocklisp.c: Files removed. | ||
| 5876 | |||
| 5877 | * lisp.h: Remove declarations of variables `Vmocklisp_arguments', | ||
| 5878 | `Qmocklisp' and `Qmocklisp_arguments'. | ||
| 5879 | Remove prototype of syms_of_mocklisp. | ||
| 5880 | |||
| 5881 | * makefile.nt, makefile.w32-in, Makefile.in: Remove mocklisp files. | ||
| 5882 | |||
| 5883 | * callint.c: Do not include mocklisp.h. | ||
| 5884 | (Fcall_interactively): Do not test for mocklisp case. | ||
| 5885 | |||
| 5886 | * eval.c: Remove variables `Qmocklisp_arguments', | ||
| 5887 | `Vmocklisp_arguments' and `Qmocklisp'. Remove prototype of ml_apply. | ||
| 5888 | (Fprogn, Fwhile, Fcommandp, Feval, Ffuncall, funcall_lambda): | ||
| 5889 | Do not test for mocklisp case. | ||
| 5890 | (Fwhile): Remove unused variable `tem'. | ||
| 5891 | (syms_of_eval): Remove variable `moclisp-arguments'. | ||
| 5892 | |||
| 5893 | * data.c (wrong_type_argument): Remove mocklisp case. | ||
| 5894 | |||
| 5895 | * doc.c (Fdocumentation): Remove mocklisp case. | ||
| 5896 | |||
| 5897 | * emacs.c (main): Do not call syms_of_mocklisp. | ||
| 5898 | |||
| 5899 | 2001-12-21 Richard M. Stallman <rms@gnu.org> | ||
| 5900 | |||
| 5901 | * xfns.c (compute_tip_xy): If tooltip won't fit on the screen | ||
| 5902 | to the left or to the right of the pointer, put it against | ||
| 5903 | the left screen edge. | ||
| 5904 | |||
| 5905 | 2001-12-21 Eli Zaretskii <eliz@is.elta.co.il> | ||
| 5906 | |||
| 5907 | * Makefile.in (distclean): Remove .gdbinit if we are building | ||
| 5908 | outside the source tree. | ||
| 5909 | |||
| 5910 | 2001-12-19 Eli Zaretskii <eliz@is.elta.co.il> | ||
| 5911 | |||
| 5912 | * w32.c (emacs_root_dir): New function. | ||
| 5913 | |||
| 5914 | * msdos.c (emacs_root_dir): New function. | ||
| 5915 | |||
| 5916 | * fileio.c (Fexpand_file_name) [DOS_NT]: Use the root directory | ||
| 5917 | of the current drive as the fallback for default_directory. | ||
| 5918 | |||
| 5919 | * dired.c (file_name_completion): Run the elements of | ||
| 5920 | completion-ignored-extensions through ENCODE_FILE. | ||
| 5921 | |||
| 5922 | * lisp.h (scmp): Remove prototype, since it's now a static | ||
| 5923 | function private to dired.c. | ||
| 5924 | |||
| 5925 | 2001-12-18 Richard M. Stallman <rms@gnu.org> | ||
| 5926 | |||
| 5927 | * dired.c (scmp): Function moved from minibuf.c. | ||
| 5928 | Delete multibyte handling--used only on encoded strings. | ||
| 5929 | |||
| 5930 | * minibuf.c (scmp): Function moved to dired.c. | ||
| 5931 | |||
| 5932 | * fns.c (merge): Add QUIT call. | ||
| 5933 | |||
| 5934 | 2001-12-18 Dave Love <fx@gnu.org> | ||
| 5935 | |||
| 5936 | * Makefile.in (lisp, shortlisp): Add language/utf-8-lang.el, | ||
| 5937 | language/georgian.el. | ||
| 5938 | |||
| 5939 | 2001-12-18 Eli Zaretskii <eliz@is.elta.co.il> | ||
| 5940 | |||
| 5941 | * Makefile.in (lisp, shortlisp): Synchronize with changes to | ||
| 5942 | lisp/Makefile.in:DONTCOMPILE. | ||
| 5943 | |||
| 5944 | 2001-12-18 Pavel Jan,Am(Bk <Pavel@Janik.cz> | ||
| 5945 | |||
| 5946 | * xdisp.c (window_box_height): Do not return negative values. | ||
| 5947 | From Gerd Moellmann <gerd@gnu.org>. | ||
| 5948 | |||
| 5949 | * keyboard.c (head_table): Add missing braces around initializer. | ||
| 5950 | |||
| 5951 | * term.c (keys): Likewise. | ||
| 5952 | |||
| 5953 | * xfns.c (x_frame_parms, visual_classes): Likewise. | ||
| 5954 | |||
| 5955 | 2001-12-17 Sam Steingold <sds@gnu.org> | ||
| 5956 | |||
| 5957 | * coding.c (DECODE_COMPOSITION_END): Fixed a typo in the last | ||
| 5958 | patch (COMPOSING_P, not COMPOSING). | ||
| 5959 | |||
| 5960 | 2001-12-17 Richard M. Stallman <rms@gnu.org> | ||
| 5961 | |||
| 5962 | * editfns.c (Fcompare_buffer_substrings): Add QUIT to main loop. | ||
| 5963 | |||
| 5964 | * coding.c (code_convert_region): Update coding->cmp_data->char_offset | ||
| 5965 | before calling decode_coding. | ||
| 5966 | |||
| 5967 | * charset.c (Fdefine_charset): Call Fupdate_coding_systems_internal. | ||
| 5968 | |||
| 5969 | * coding.c (DECODE_COMPOSITION_END): Check for ! COMPOSING_P (coding) | ||
| 5970 | instead of only for COMPOSITION_DISABLED. | ||
| 5971 | |||
| 5972 | 2001-12-16 Richard M. Stallman <rms@gnu.org> | ||
| 5973 | |||
| 5974 | * alloc.c (pure_alloc): After overflow, allocate just a small block. | ||
| 5975 | |||
| 5976 | * Makefile.in (xmenu.o, xterm.o, fontset.o): Depend on buffer.h. | ||
| 5977 | |||
| 5978 | * buffer.h (struct buffer): New field `display_error_modiff'. | ||
| 5979 | * buffer.c (reset_buffer): Initialize `display_error_modiff'. | ||
| 5980 | |||
| 5981 | * window.c (Frecenter): Clear display_error_modiff field. | ||
| 5982 | |||
| 5983 | * xdisp.c (redisplay_window_0, redisplay_window_1): New functions. | ||
| 5984 | Call redisplay_window, but not if display_error_modiff field says no. | ||
| 5985 | (redisplay_window_error): New function. | ||
| 5986 | (displayed_buffer): New variable. | ||
| 5987 | (redisplay_internal, redisplay_windows): Call the new functions | ||
| 5988 | instead of redisplay_window directly. | ||
| 5989 | |||
| 5990 | 2001-12-15 Richard M. Stallman <rms@gnu.org> | ||
| 5991 | |||
| 5992 | * keyboard.c (syms_of_keyboard) <double-click-fuzz>: Doc fix. | ||
| 5993 | |||
| 5994 | 2001-12-14 Andrew Innes <andrewi@gnu.org> | ||
| 5995 | |||
| 5996 | * makefile.w32-in (EMACSLOADPATH): Define. | ||
| 5997 | ($(EMACS)): Run `list-load-path-shadows' after dumping emacs. | ||
| 5998 | (bootstrap-temacs): Remove dependency on bootstrap-clean. | ||
| 5999 | |||
| 6000 | 2001-12-13 Eli Zaretskii <eliz@is.elta.co.il> | ||
| 6001 | |||
| 6002 | * xfns.c (x_report_frame_params): Make the scroll-bar-width frame | ||
| 6003 | parameter have a numeric value all the time. | ||
| 6004 | |||
| 6005 | * w32fns.c (x_report_frame_params): Likewise. | ||
| 6006 | |||
| 6007 | 2001-12-12 Richard M. Stallman <rms@gnu.org> | ||
| 6008 | |||
| 6009 | * fileio.c (Fwrite_region): Doc fix. | ||
| 6010 | |||
| 6011 | * xdisp.c (CLEAR_FACE_CACHE_COUNT): Redefine as 500. | ||
| 6012 | (redisplay_internal): Call clear_image_cache only for window terminals. | ||
| 6013 | |||
| 6014 | 2001-12-12 Gerd Moellmann <gerd@gnu.org> | ||
| 6015 | |||
| 6016 | * xdisp.c (move_it_vertically_backward): Change heuristic | ||
| 6017 | for the case that we didn't move far enough initially. | ||
| 6018 | |||
| 6019 | * window.c (Frecenter): Simplify computation in the case of window | ||
| 6020 | system frames and ARG < 0; use window_box_height. | ||
| 6021 | |||
| 6022 | 2001-12-11 Richard M. Stallman <rms@gnu.org> | ||
| 6023 | |||
| 6024 | * Makefile.in, mem-limits.h, dispnew.c, emacs.c, fileio.c: | ||
| 6025 | * process.c, sysdep.c, unexec.c: Test GNU_LINUX, not LINUX. | ||
| 6026 | |||
| 6027 | 2001-12-11 Andrew Innes <andrewi@gnu.org> | ||
| 6028 | |||
| 6029 | * insdel.c (make_gap) [DOUG_LEA_MALLOC]: Call make_gap_smaller if | ||
| 6030 | arg is negative. | ||
| 6031 | |||
| 6032 | 2001-12-11 Richard M. Stallman <rms@gnu.org> | ||
| 6033 | |||
| 6034 | * m/hp800.h: Split the __hpux conditional into the parts | ||
| 6035 | that are right for GNU/Linux too and the parts that are not. | ||
| 6036 | Use the former if GNU_LINUX. | ||
| 6037 | (HAVE_ALLOCA, LOAD_AVE_TYPE, LOAD_AVE_CVT): New defs for GNU/Linux. | ||
| 6038 | |||
| 6039 | * s/gnu-linux.h (GNU_LINUX): Defined. | ||
| 6040 | |||
| 6041 | 2001-12-11 Pavel Jan,Am(Bk <Pavel@Janik.cz> | ||
| 6042 | |||
| 6043 | * macros.c, msdos.c, w16select.c: Change doc-string comments to | ||
| 6044 | `new style' [w/`doc:' keyword]. | ||
| 6045 | |||
| 6046 | 2001-12-10 Jason Rumney <jasonr@gnu.org> | ||
| 6047 | |||
| 6048 | * w32menu.c (w32_free_submenu_strings): Clear menu item struct | ||
| 6049 | before using. | ||
| 6050 | |||
| 6051 | 2001-12-09 Pavel Jan,Am(Bk <Pavel@Janik.cz> | ||
| 6052 | |||
| 6053 | * dosfns.c: Change doc-string comments to `new style' [w/`doc:' | ||
| 6054 | keyword]. | ||
| 6055 | |||
| 6056 | 2001-12-09 Eli Zaretskii <eliz@is.elta.co.il> | ||
| 6057 | |||
| 6058 | * dosfns.c (dos-display-scancodes, dos-decimal): Doc fix. | ||
| 6059 | |||
| 6060 | * s/hpux10.h (srand48): Don't undefine. | ||
| 6061 | |||
| 6062 | 2001-12-09 Jason Rumney <jasonr@gnu.org> | ||
| 6063 | |||
| 6064 | * w32menu.c (_widget_value): Make `help' field a Lisp_Object. | ||
| 6065 | Add comment to explain where the struct came from. | ||
| 6066 | (single_submenu, w32_menu_show): Set `help' field as Lisp_Object. | ||
| 6067 | (add_menu_item): Process pop-up menus first to avoid memory leak. | ||
| 6068 | (add_menu_item, w32_menu_display_help): Use `help' field as | ||
| 6069 | Lisp_Object. | ||
| 6070 | (w32_free_submenu_strings): Only free owner-drawn strings. | ||
| 6071 | |||
| 6072 | 2001-12-09 Pavel Jan,Am(Bk <Pavel@Janik.cz> | ||
| 6073 | |||
| 6074 | * COPYING: Moved back. | ||
| 6075 | |||
| 6076 | * charset.c (char_to_string_1, translate_char, Fdefine_charset): | ||
| 6077 | Add parentheses around && within ||. | ||
| 6078 | |||
| 6079 | * indent.c (compute_motion): Likewise. | ||
| 6080 | |||
| 6081 | * intervals.c (merge_properties_sticky): Likewise. | ||
| 6082 | |||
| 6083 | * coding.c (setup_coding_system, shrink_encoding_region) | ||
| 6084 | (Fdecode_sjis_char): Likewise. | ||
| 6085 | |||
| 6086 | 2001-12-07 Andreas Schwab <schwab@suse.de> | ||
| 6087 | |||
| 6088 | * xdisp.c (display_mode_element): Don't read past end of string if | ||
| 6089 | it ends with '%'. | ||
| 6090 | |||
| 6091 | * alloc.c (inhibit_garbage_collection): Don't exceed value an int | ||
| 6092 | can hold. | ||
| 6093 | |||
| 6094 | * data.c (Vmost_positive_fixnum, Vmost_negative_fixnum): | ||
| 6095 | Rename from most_positive_fixnum and most_negative_fixnum, resp., and | ||
| 6096 | type changed to Lisp_Object. | ||
| 6097 | (syms_of_data): DEFVAR_LISP them. | ||
| 6098 | |||
| 6099 | 2001-12-07 Richard M. Stallman <rms@gnu.org> | ||
| 6100 | |||
| 6101 | * callproc.c (init_callproc): Set Vdata_directory based on the source | ||
| 6102 | location whenever Emacs was run uninstalled. | ||
| 6103 | |||
| 6104 | 2001-12-06 Paul Eggert <eggert@twinsun.com> | ||
| 6105 | |||
| 6106 | * config.in (HAVE_WORKING_VFORK): New #undefs. | ||
| 6107 | * process.c (create_process): | ||
| 6108 | Use HAVE_WORKING_VFORK, not HAVE_VFORK. | ||
| 6109 | * m/cnvrgnt.h (HAVE_VFORK): Remove #define. | ||
| 6110 | * m/ibm370aix.h (HAVE_VFORK): Remove #undef. | ||
| 6111 | * m/ibmps2-aix.h (HAVE_VFORK): Remove #define. | ||
| 6112 | * m/intel386.h (HAVE_VFORK): Likewise. | ||
| 6113 | * m/mips-siemens.h (HAVE_VFORK): Likewise. | ||
| 6114 | * m/mips.h (HAVE_VFORK): Likewise. | ||
| 6115 | * s/freebsd.h (vfork): Remove #define. | ||
| 6116 | * s/lynxos.h (HAVE_VFORK): Remove #undef. | ||
| 6117 | * s/usg5-4-2.h: Fix comment about vfork. | ||
| 6118 | |||
| 6119 | 2001-12-06 Richard M. Stallman <rms@gnu.org> | ||
| 6120 | |||
| 6121 | * s/hpux10.h (random): Add undef. | ||
| 6122 | (HAVE_RANDOM): Define it just once. | ||
| 6123 | |||
| 6124 | 2001-12-06 Stefan Monnier <monnier@cs.yale.edu> | ||
| 6125 | |||
| 6126 | * eval.c: Undo last change: the standard syntax is not wanted. | ||
| 6127 | |||
| 6128 | 2001-12-06 Eli Zaretskii <eliz@is.elta.co.il> | ||
| 6129 | |||
| 6130 | * xterm.c (x_free_frame_resources) [USE_X_TOOLKIT]: Remove all the | ||
| 6131 | scroll bars of the frame before deleting the frame itself. If the | ||
| 6132 | frame has a widget, delete the frame with XtDestroyWidget, and do | ||
| 6133 | not call XDestroyWindow before that. | ||
| 6134 | |||
| 6135 | 2001-12-06 Kim F. Storm <storm@cua.dk> | ||
| 6136 | |||
| 6137 | * xfns.c (x_report_frame_params): Return actual fringe widths. | ||
| 6138 | |||
| 6139 | * w32fns.c (x_report_frame_params): Return actual fringe widths. | ||
| 6140 | |||
| 6141 | 2001-12-05 Andrew Innes <andrewi@gnu.org> | ||
| 6142 | |||
| 6143 | * alloc.c (Fgarbage_collect): Shrink buffer gaps that are | ||
| 6144 | excessively large. | ||
| 6145 | |||
| 6146 | * insdel.c (make_gap_larger): New function. | ||
| 6147 | (make_gap_smaller): New function. | ||
| 6148 | (make_gap) [USE_MMAP_FOR_BUFFERS || REL_ALLOC]: | ||
| 6149 | Call make_gap_smaller if arg is negative. | ||
| 6150 | |||
| 6151 | 2001-12-04 Stefan Monnier <monnier@cs.yale.edu> | ||
| 6152 | |||
| 6153 | * keyboard.c (kbd_buffer_store_event): Fix interrupt_signal prototype. | ||
| 6154 | Pass a dummy argument when calling interrupt_signal. | ||
| 6155 | (parse_menu_item): Mark disabled items before checking for empty def. | ||
| 6156 | (read_char_minibuf_menu_prompt): Make safety more visible. | ||
| 6157 | (read_key_sequence): Add a `first_unbound' variable. | ||
| 6158 | Use it to detect C-c ESC ESC ESC ESC ... cases and drop the | ||
| 6159 | unbound prefix as soon as we can detect it. | ||
| 6160 | |||
| 6161 | * doc.c (Fsnarf_documentation): Add prototype. | ||
| 6162 | (get_doc_string): Handle negative arguments. | ||
| 6163 | (Fdocumentation): Use AREF and ASIZE. | ||
| 6164 | Move the calls to get_doc_string to a single place. | ||
| 6165 | Don't confuse an interactive-spec for a docstring reference. | ||
| 6166 | (Fdocumentation_property): Take advantage of the fact that | ||
| 6167 | get_doc_string now ignores the sign of the docstring position. | ||
| 6168 | |||
| 6169 | * eval.c: Use standard syntax for usage in docstrings. | ||
| 6170 | |||
| 6171 | 2001-12-03 Pavel Jan,Am(Bk <Pavel@Janik.cz> | ||
| 6172 | |||
| 6173 | * xdisp.c (syms_of_xdisp): Make `tool-bar-button-relief` an option. | ||
| 6174 | |||
| 6175 | 2001-12-02 Pavel Jan,Am(Bk <Pavel@Janik.cz> | ||
| 6176 | |||
| 6177 | * xterm.c (x_draw_image_relief): Use predefined macro instead of | ||
| 6178 | constant when the value of `tool_bar_button_relief' is negative. | ||
| 6179 | |||
| 6180 | 2001-12-02 Richard M. Stallman <rms@gnu.org> | ||
| 6181 | |||
| 6182 | * xmenu.c (menu_highlight_callback): Use `help' field as Lisp_Object. | ||
| 6183 | (single_submenu, xmenu_show): Set `help' field as Lisp_Object. | ||
| 6184 | |||
| 6185 | * fileio.c (read_non_regular): Delete Fsignal call. | ||
| 6186 | |||
| 6187 | 2001-12-01 Stefan Monnier <monnier@cs.yale.edu> | ||
| 6188 | |||
| 6189 | * lisp.h (run_hook_list_with_args): Undo last change. | ||
| 6190 | |||
| 6191 | 2001-12-01 Gerd Moellmann <gerd@gnu.org> | ||
| 6192 | |||
| 6193 | * xterm.c (x_draw_fringe_bitmap): Always undo clipping. | ||
| 6194 | |||
| 6195 | 2001-12-01 Jason Rumney <jasonr@gnu.org> | ||
| 6196 | |||
| 6197 | * window.c (Qleft_fringe, Qright_fringe): Remove. Now in frame.c. | ||
| 6198 | |||
| 6199 | * w32term.h (WM_MOUSELEAVE, TME_LEAVE, TRACKMOUSEEVENT) | ||
| 6200 | [!WM_MOUSELEAVE]: Define. | ||
| 6201 | |||
| 6202 | * w32menu.c (current_popup_menu, get_menu_item_info): | ||
| 6203 | (set_menu_item_info): New vars. | ||
| 6204 | (set_frame_menubar): Doc fix clarifying GC interaction with menus. | ||
| 6205 | (w32_menu_show): Set current_popup_menu. | ||
| 6206 | (add_menu_item): Allocate new strings for owner-drawn menu items | ||
| 6207 | and help strings. | ||
| 6208 | Use owner-draw for disabled menu items again. | ||
| 6209 | (w32_menu_display_help): Ignore owner-drawn items and popup menus. | ||
| 6210 | (w32_free_submenu_strings, w32_free_menu_strings): New functions. | ||
| 6211 | |||
| 6212 | * w32fns.c (trackmouse_window, track_mouse_event_fn): New vars. | ||
| 6213 | (w32_wnd_proc) <WM_MOUSEMOVE>: Notice when mouse enters frame. | ||
| 6214 | <WM_EXITMENULOOP>: Free menu strings. | ||
| 6215 | <WM_MOUSELEAVE>: Stop tracking mouse. | ||
| 6216 | (x_create_tip_frame): Specify no minibuffer, modeline or fringes. | ||
| 6217 | |||
| 6218 | * w32term.c (w32_read_socket) <WM_MOUSELEAVE>: Cancel help echo | ||
| 6219 | and mouse face. | ||
| 6220 | |||
| 6221 | 2001-12-01 Kim F. Storm <storm@cua.dk> | ||
| 6222 | |||
| 6223 | The following changes add left-fringe and right-fringe | ||
| 6224 | frame parameters to adjust fringe widths, or remove one or | ||
| 6225 | both fringes. | ||
| 6226 | |||
| 6227 | * frame.h (struct frame): Remove trunc_area_pixel_width and | ||
| 6228 | trunc_area_cols fields. | ||
| 6229 | (Qleft_fringe, Qright_fringe): Declare. | ||
| 6230 | (FRAME_RIGHT_FRINGE_WIDTH): New macro. | ||
| 6231 | |||
| 6232 | * frame.c (Qleft_fringe, Qright_fringe): New vars. | ||
| 6233 | (syms_of_frame): Initialize them. | ||
| 6234 | |||
| 6235 | * window.c (coordinates_in_window): Handle separate left and right | ||
| 6236 | fringe widths. | ||
| 6237 | |||
| 6238 | * xterm.h (struct x_output): Add left_fringe_width, right_fringe_width, | ||
| 6239 | and fringe_cols fields. | ||
| 6240 | (FRAME_FRINGE_BITMAP_WIDTH, FRAME_FRINGE_BITMAP_HEIGHT): Remove macros. | ||
| 6241 | (FRAME_X_FRINGE_COLS): Use fringe_cols field. | ||
| 6242 | (FRAME_X_FRINGE_WIDTH): Use fringes_extra field. | ||
| 6243 | (FRAME_X_LEFT_FRINGE_WIDTH): Use left_fringe_width field. | ||
| 6244 | (FRAME_X_RIGHT_FRINGE_WIDTH): Use right_fringe_width field. | ||
| 6245 | (x_compute_fringe_widths): Add prototype. | ||
| 6246 | |||
| 6247 | * xterm.c (zv_height, zv_bits, zv_period): Changed zv bitmap to | ||
| 6248 | fill fringe evenly with small dashes. | ||
| 6249 | (x_draw_fringe_bitmap): Clear background if necessary. Align and | ||
| 6250 | clip the new ZV bitmap to avoid jitter between rows. | ||
| 6251 | (x_draw_row_fringe_bitmaps): Rely on x_draw_fringe_bitmap to clear | ||
| 6252 | background. Don't draw fringe bitmaps if fringe width is zero. | ||
| 6253 | (x_compute_fringe_widths): New function. | ||
| 6254 | (x_new_font, x_set_window_size_1): Use it. | ||
| 6255 | |||
| 6256 | * xfns.c (x_frame_parms): Add `left-fringe' and `right-fringe' parms. | ||
| 6257 | (x_set_frame_parameters): Process `font' parameter before other | ||
| 6258 | parameters as fringe widths depend on it. | ||
| 6259 | (x_set_fringe_width): New function. | ||
| 6260 | (x_figure_window_size): Use x_compute_fringe_widths. | ||
| 6261 | (Fx_create_frame): Process `left-fringe' and `right-fringe' frame | ||
| 6262 | parameters. | ||
| 6263 | |||
| 6264 | * widget.c (set_frame_size): Use x_compute_fringe_widths. | ||
| 6265 | (EmacsFrameSetCharSize): Ditto. | ||
| 6266 | |||
| 6267 | * w32term.h: Merged changes from xterm.h. | ||
| 6268 | * w32term.c: Merged changes from xterm.c. | ||
| 6269 | * w32fns.c: Merged changes from xfns.c. | ||
| 6270 | |||
| 6271 | 2001-11-29 Pavel Jan,Am(Bk <Pavel@Janik.cz> | ||
| 6272 | |||
| 6273 | * COPYING: Removed. | ||
| 6274 | |||
| 6275 | 2001-11-29 Dave Love <fx@gnu.org> | ||
| 6276 | |||
| 6277 | * coding.c (syms_of_coding) <Qchar_coding_system>: Give it an | ||
| 6278 | extra extra slot. | ||
| 6279 | (detect_coding_mask): Fix call of detect_coding_iso2022. | ||
| 6280 | |||
| 6281 | 2001-11-29 Pavel Jan,Am(Bk <Pavel@Janik.cz> | ||
| 6282 | |||
| 6283 | * fileio.c (file-name-coding-system) | ||
| 6284 | (default-file-name-coding-system): Doc fix (links to referenced | ||
| 6285 | variables added). | ||
| 6286 | |||
| 6287 | 2001-11-28 Stefan Monnier <monnier@cs.yale.edu> | ||
| 6288 | |||
| 6289 | * lisp.h (GCPRO1, GCPRO2, GCPRO3, GCPRO4, GCPRO5): | ||
| 6290 | Add dummy uses of gcproN variables. | ||
| 6291 | |||
| 6292 | * category.c (describe_category, describe_category_1) | ||
| 6293 | (Fdescribe_categories): Remove. (Moved to lisp/help-fns.el.) | ||
| 6294 | (syms_of_category): Don't defsubr Sdescribe_categories. | ||
| 6295 | |||
| 6296 | 2001-11-28 Richard M. Stallman <rms@gnu.org> | ||
| 6297 | |||
| 6298 | * fileio.c (Ffind_file_name_handler): Avoid initializer for `result'. | ||
| 6299 | |||
| 6300 | * Makefile.in (lispdir): New variable, referring to build dir. | ||
| 6301 | (TAGS-LISP): Find Makefile in $(lispdir), not $(lispsource). | ||
| 6302 | |||
| 6303 | 2001-11-28 Andrew Innes <andrewi@gnu.org> | ||
| 6304 | |||
| 6305 | * w32menu.c (w32_menu_display_help): Actually add the new argument | ||
| 6306 | OWNER. | ||
| 6307 | |||
| 6308 | 2001-11-28 Jason Rumney <jasonr@gnu.org> | ||
| 6309 | |||
| 6310 | * w32menu.c (add_menu_item): Do not use owner-draw for disabled | ||
| 6311 | menu items. From David Ponce <dponce@wanadoo.fr>. | ||
| 6312 | (w32_dialog_show) [HAVE_DIALOGS]: Compile whole function | ||
| 6313 | conditionally. | ||
| 6314 | (w32_menu_display_help): New argument OWNER. Rewritten to store a | ||
| 6315 | help event in the owner frame's keyboard buffer. | ||
| 6316 | |||
| 6317 | * w32fns.c (w32_wnd_proc) <WM_MENUSELECT>: Display help directly. | ||
| 6318 | (Fx_show_tip): Don't subtract last width from row width. | ||
| 6319 | |||
| 6320 | * w32term.c (w32_read_socket) <WM_MENUSELECT>: Remove. | ||
| 6321 | (w32_read_socket): Use EQ to compare frames. | ||
| 6322 | |||
| 6323 | 2001-11-28 Gerd Moellmann <gerd@gnu.org> | ||
| 6324 | |||
| 6325 | * xterm.c (x_draw_glyphs): Don't call notice_overwritten_cursor if | ||
| 6326 | OVERLAPS_P. | ||
| 6327 | |||
| 6328 | 2001-11-28 Pavel Jan,Am(Bk <Pavel@Janik.cz> | ||
| 6329 | |||
| 6330 | * xdisp.c (message_dolog): Remove unused variables `gcpro2', | ||
| 6331 | `gcpro3' and `gcpro4'. | ||
| 6332 | |||
| 6333 | * coding.c (decode_coding_string): Remove unused variable `gcpro1'. | ||
| 6334 | |||
| 6335 | 2001-11-28 Stefan Monnier <monnier@cs.yale.edu> | ||
| 6336 | |||
| 6337 | * ccl.c: Use AREF and ASIZE. | ||
| 6338 | |||
| 6339 | 2001-11-27 Stefan Monnier <monnier@cs.yale.edu> | ||
| 6340 | |||
| 6341 | * lisp.h (run_hook_list_with_args): Remove. | ||
| 6342 | (LIST_END_P): Fix call to wrong_type_argument. | ||
| 6343 | (make_fixnum_or_float): Use EMACS_INT rather than int. | ||
| 6344 | |||
| 6345 | 2001-11-26 Stefan Monnier <monnier@cs.yale.edu> | ||
| 6346 | |||
| 6347 | * syntax.c (syms_of_syntax): Remove defsubr of Sdescribe_syntax. | ||
| 6348 | (describe_syntax, describe_syntax_1, Fdescribe_syntax): Remove. | ||
| 6349 | |||
| 6350 | * eval.c: Use AREF and ASIZE. | ||
| 6351 | (Ffetch_bytecode): Add the file name to the error message. | ||
| 6352 | |||
| 6353 | * fileio.c (Ffind_file_name_handler): Give precedence to handlers | ||
| 6354 | which match the end of the file-name. | ||
| 6355 | (Fsubstitute_in_file_name): Don't signal an error if $ENVVAR | ||
| 6356 | is not a valid env var, but leave it as is instead. | ||
| 6357 | |||
| 6358 | * keymap.c (access_keymap): Handle t bindings like nil bindings. | ||
| 6359 | Make nil bindings in char-tables transparent. | ||
| 6360 | (store_in_keymap): Turn a nil binding into a t binding for char-tables. | ||
| 6361 | |||
| 6362 | 2001-11-26 Richard M. Stallman <rms@gnu.org> | ||
| 6363 | |||
| 6364 | * textprop.c (set_text_properties_1): Allow START, END in either order. | ||
| 6365 | Do nothing if range is empty. | ||
| 6366 | |||
| 6367 | * Makefile.in (mallocobj): Simplify logic using auxiliary vars. | ||
| 6368 | |||
| 6369 | * Makefile.in (mostlyclean): Delete bootstrap-emacs here. | ||
| 6370 | (clean): Not here. | ||
| 6371 | |||
| 6372 | 2001-11-25 Stefan Monnier <monnier@cs.yale.edu> | ||
| 6373 | |||
| 6374 | * textprop.c (set_text_properties_1): Clearly mark that the | ||
| 6375 | interval should not be empty. | ||
| 6376 | |||
| 6377 | * intervals.c (graft_intervals_into_buffer): | ||
| 6378 | Don't call set_text_properties_1 on an empty interval. | ||
| 6379 | |||
| 6380 | 2001-11-25 Richard M. Stallman <rms@gnu.org> | ||
| 6381 | |||
| 6382 | * unexelf.c (unexec): Index by n, not nn, when checking for ".sbss". | ||
| 6383 | |||
| 6384 | * callproc.c (Fcall_process): When we make a bigger buffer for bufptr, | ||
| 6385 | don't lose the data in it. | ||
| 6386 | |||
| 6387 | 2001-11-25 Juanma Barranquero <lektu@terra.es> | ||
| 6388 | |||
| 6389 | * abbrev.c (Fexpand_abbrev): Use Frun_hooks instead of Vrun_hooks. | ||
| 6390 | |||
| 6391 | * buffer.c (Fkill_buffer): Use Frun_hooks, not Vrun_hooks. | ||
| 6392 | |||
| 6393 | * print.c (temp_output_buffer_setup): Use Frun_hooks, not Vrun_hooks. | ||
| 6394 | |||
| 6395 | 2001-11-25 Stefan Monnier <monnier@cs.yale.edu> | ||
| 6396 | |||
| 6397 | * xfaces.c (merge_face_heights): Coerce back to int explicitly. | ||
| 6398 | |||
| 6399 | 2001-11-25 Eli Zaretskii <eliz@is.elta.co.il> | ||
| 6400 | |||
| 6401 | * window.c (Fset_window_vscroll): Doc fix. From Kalle Olavi | ||
| 6402 | Niemitalo <kon@iki.fi>. | ||
| 6403 | |||
| 6404 | 2001-11-25 Jason Rumney <jasonr@gnu.org> | ||
| 6405 | |||
| 6406 | * w32term.h (FRAME_X_FRINGE_COLS): No fringe on tip frames. | ||
| 6407 | |||
| 6408 | * w32fns.c (x_create_tip_frame): Set frame's fringes_extra to 0. | ||
| 6409 | (Fx_show_tip): Block input during frame creation. | ||
| 6410 | (Fx_show_tip, Fx_hide_tip): Enable. | ||
| 6411 | |||
| 6412 | 2001-11-24 Richard M. Stallman <rms@gnu.org> | ||
| 6413 | |||
| 6414 | * lread.c (Fload): Detect recursive load error for more than 3 | ||
| 6415 | nestings of the same file. | ||
| 6416 | (Vrecursive_load_depth_limit): Variable deleted. | ||
| 6417 | (syms_of_lread) <recursive-load-depth-limit>: Variable deleted. | ||
| 6418 | |||
| 6419 | 2001-11-24 Jason Rumney <jasonr@gnu.org> | ||
| 6420 | |||
| 6421 | * xfns.c (compute_tip_xy): Initialize root_x and root_y from | ||
| 6422 | mouse position if either left or top is not specified. | ||
| 6423 | |||
| 6424 | * w32fns.c (w32_wnd_proc) <WM_MENUSELECT>: Revert last change. | ||
| 6425 | <WM_WINDOWPOSCHANGING>: Let tip frames resize without restriction. | ||
| 6426 | (my_create_tip_window, Fx_show_tip): Adjust size for external border. | ||
| 6427 | (my_create_tip_window): Assign tip_window. | ||
| 6428 | (x_create_tip_frame): Use same defaults as X. | ||
| 6429 | (compute_tip_xy): Remove unused variable. Use full screen width. | ||
| 6430 | (Fx_show_tip): Do not double height. Call ShowWindow directly. | ||
| 6431 | |||
| 6432 | * w32term.c (x_after_update_window_line): Doc fix. | ||
| 6433 | (w32_read_socket): Doc fix. Avoid SET_FRAME_GARBAGED for tip | ||
| 6434 | frames. | ||
| 6435 | <WM_SHOWWINDOW>: Redo mouse highlight when hiding tip frame. | ||
| 6436 | |||
| 6437 | * xdisp.c (prepare_menu_bars) [HAVE_WINDOW_SYSTEM]: Use tip_frame | ||
| 6438 | for all Windowed systems. | ||
| 6439 | |||
| 6440 | 2001-11-23 Eli Zaretskii <eliz@is.elta.co.il> | ||
| 6441 | |||
| 6442 | * msdos.c (IT_clear_screen): If the frame's faces are not yet | ||
| 6443 | realized, use the initial screen colors to clear the screen. | ||
| 6444 | |||
| 6445 | 2001-11-23 Pavel Jan,Am(Bk <Pavel@Janik.cz> | ||
| 6446 | |||
| 6447 | * textprop.c (Fset_text_properties): Remove unused variables | ||
| 6448 | `unchanged', `prev_changed', `s' and `len'. | ||
| 6449 | |||
| 6450 | * search.c (Freplace_match): Remove unused variable `inslen'. | ||
| 6451 | |||
| 6452 | * keymap.c (access_keymap): Remove unused variables `c1' and `c2'. | ||
| 6453 | |||
| 6454 | 2001-11-22 Jason Rumney <jasonr@gnu.org> | ||
| 6455 | |||
| 6456 | * w32fns.c (x_window_to_frame): Remove irrelevant TODO comment. | ||
| 6457 | (w32_wnd_proc) <WM_MENUSELECT>: Show help echo directly. | ||
| 6458 | (my_create_tip_window): New function. | ||
| 6459 | (x_create_tip_frame, compute_tip_xy): Adapt for Windows. | ||
| 6460 | (Fx_show_tip, Fx_hide_tip) [TEST_TOOLTIPS]: Adapt for Windows. | ||
| 6461 | |||
| 6462 | 2001-11-20 Jason Rumney <jasonr@gnu.org> | ||
| 6463 | |||
| 6464 | * coding.h (Vw32_system_coding_system) [WINDOWSNT]: Remove. | ||
| 6465 | (ENCODE_SYSTEM, DECODE_SYSTEM) [WINDOWSNT]: Use Vlocale_coding_system. | ||
| 6466 | |||
| 6467 | * w32fns.c (Vw32_system_coding_system): Remove. | ||
| 6468 | (w32_to_x_font, x_to_w32_font): Use Vlocale_coding_system. | ||
| 6469 | |||
| 6470 | 2001-11-19 Stefan Monnier <monnier@cs.yale.edu> | ||
| 6471 | |||
| 6472 | * fileio.c (Fwrite_region): Move choose_write_coding_system to | ||
| 6473 | after build_annotations. | ||
| 6474 | |||
| 6475 | * syntax.c (describe_syntax): Add dummy arg. | ||
| 6476 | (describe_syntax_1): Update call to describe_vector. | ||
| 6477 | |||
| 6478 | * category.c (describe_category): Add dummy arg. | ||
| 6479 | (describe_category_1): Update call to describe_vector. | ||
| 6480 | |||
| 6481 | * keymap.c (Fdescribe_vector): Add `describer' parameter. | ||
| 6482 | (describe_command, describe_translation): Add dummy second param. | ||
| 6483 | (describe_map): Call elt_describer with two arguments. | ||
| 6484 | (describe_vector_princ): Add `fun' parameter. | ||
| 6485 | Call it instead of the hardcoded `princ'. | ||
| 6486 | (describe_vector): Add arg `args'. | ||
| 6487 | Pass it as a new second argument to elt_describer. | ||
| 6488 | |||
| 6489 | * keymap.h (describe_vector): Update prototype. | ||
| 6490 | |||
| 6491 | * frame.c: Don't include keymap.h any more. | ||
| 6492 | (keys_of_frame): Remove. | ||
| 6493 | |||
| 6494 | * lisp.h (keys_of_frame): Remove declaration. | ||
| 6495 | |||
| 6496 | * emacs.c (main): Don't call `keys_of_frame' any more. | ||
| 6497 | |||
| 6498 | 2001-11-14 Andreas Schwab <schwab@suse.de> | ||
| 6499 | |||
| 6500 | * unexelf.c [!defined MAP_ANON]: Define MAP_ANON to MAP_ANONYMOUS | ||
| 6501 | if defined, 0 otherwise. | ||
| 6502 | (MAP_FAILED): Define if not defined and use it to test mmap failure. | ||
| 6503 | (unexec) [!MAP_ANON]: Use /dev/zero as file to map. | ||
| 6504 | |||
| 6505 | 2001-11-19 Richard M. Stallman <rms@gnu.org> | ||
| 6506 | |||
| 6507 | * indent.c (current_column_1): Fix handling of scan_bytes for mb chars. | ||
| 6508 | |||
| 6509 | 2001-11-18 Jason Rumney <jasonr@gnu.org> | ||
| 6510 | |||
| 6511 | * w32term.c (note_mouse_highlight): Fix type of variable `ignore'. | ||
| 6512 | (x_draw_bar_cursor): If the background color of the glyph under | ||
| 6513 | the cursor equals the frame's cursor color, use the glyph's | ||
| 6514 | foreground color for drawing the bar cursor. | ||
| 6515 | (x_after_update_window_line): Clear internal border in different | ||
| 6516 | circumstances. | ||
| 6517 | (w32_set_vertical_scroll_bar): Check for width and height > 0. | ||
| 6518 | (w32_draw_relief_rect): Correct relief by 1 pixel. | ||
| 6519 | (x_set_glyph_string_background_width): | ||
| 6520 | Set extends_to_end_of_line_p if the row's fill_line_p is set and | ||
| 6521 | drawing the last glyph with DRAW_IMAGE_{RAISED,SUNKEN}. | ||
| 6522 | (x_display_and_set_cursor): If cursor_in_echo_area, use NO_CURSOR | ||
| 6523 | if cursor_in_non_selected_windows is false. | ||
| 6524 | (show_mouse_face): Clean up. Recognize overwritten cursor differently. | ||
| 6525 | (x_draw_glyphs): Remove parameters REAL_START and REAL_END. | ||
| 6526 | Notice if cursor gets overwritten. | ||
| 6527 | (notice_overwritten_cursor): Renamed from | ||
| 6528 | note_overwritten_text_cursor. Rewritten to take glyph widths | ||
| 6529 | into account, and to take X positions as parameters. | ||
| 6530 | (x_draw_phys_cursor_glyph): Save state of w->phys_cursor_on_p | ||
| 6531 | around call to x_draw_glyphs. | ||
| 6532 | (x_setup_relief_colors): Use `IMAGE_BACKGROUND' and | ||
| 6533 | `IMAGE_BACKGROUND_TRANSPARENT' to calculate the correct background | ||
| 6534 | color to use for image glyph reliefs. | ||
| 6535 | (x_draw_image_relief): Accept zero tool_bar_button_relief. | ||
| 6536 | (glyph_rect): Remove unused variable `area'. | ||
| 6537 | |||
| 6538 | * w32fns.c (x_set_frame_parameters): Avoid infinite recursion for | ||
| 6539 | some items. | ||
| 6540 | (x_set_internal_border_width): Set frame garbaged when window | ||
| 6541 | doesn't exist yet. | ||
| 6542 | (Fx_create_frame): Accept zero tool_bar_button_relief. | ||
| 6543 | (x_clear_image_1, four_corners_best, image_background) | ||
| 6544 | (image_background_transparent): New functions. | ||
| 6545 | (xpm_format, png_format, jpeg_format, tiff_format, gif_format) | ||
| 6546 | (gs_format): Add `:background' entry. | ||
| 6547 | (lookup_image): Set IMG's background color if specified. | ||
| 6548 | (pbm_load, xbm_load_image, png_load): Set IMG's background field | ||
| 6549 | when appropriate. | ||
| 6550 | (x_clear_image_1): Reset `background_valid' and | ||
| 6551 | `background_transparent_valid' fields. | ||
| 6552 | (x_build_heuristic_mask): Use IMAGE_BACKGROUND instead of | ||
| 6553 | calculating it here. Set IMG's background_transparent field. | ||
| 6554 | (enum xpm_keyword_index): Add XPM_BACKGROUND. | ||
| 6555 | (enum png_keyword_index): Add PNG_BACKGROUND. | ||
| 6556 | (enum jpeg_keyword_index): Add JPEG_BACKGROUND. | ||
| 6557 | (enum tiff_keyword_index): Add TIFF_BACKGROUND. | ||
| 6558 | (enum gif_keyword_index): Add GIF_BACKGROUND. | ||
| 6559 | (enum gs_keyword_index): Add GS_BACKGROUND. | ||
| 6560 | (pbm_load, png_load, jpeg_load, tiff_load, gif_load): | ||
| 6561 | Pre-calculate image background color where necessary. | ||
| 6562 | (x_create_x_image_and_pixmap, xbm_load, gs_load): | ||
| 6563 | Use display info's n_cbits entry for screen depth. | ||
| 6564 | (Fx_show_tip): Remove unused variables `buffer', `top', | ||
| 6565 | `left', `max_width' and `max_height'. | ||
| 6566 | |||
| 6567 | * w32menu.c (w32_menu_show, push_menu_pane): Doc fixes. | ||
| 6568 | |||
| 6569 | 2001-11-18 Gerd Moellmann <gerd@gnu.org> | ||
| 6570 | |||
| 6571 | * puresize.h (BASE_PURESIZE): Increase to 750000. | ||
| 6572 | |||
| 6573 | 2001-11-18 Pavel Jan,Am(Bk <Pavel@Janik.cz> | ||
| 6574 | |||
| 6575 | * frame.c (Fframe_live_p): Doc fix. | ||
| 6576 | |||
| 6577 | 2001-11-18 Richard M. Stallman <rms@gnu.org> | ||
| 6578 | |||
| 6579 | * xdisp.c (message_dolog_marker1, message_dolog_marker2) | ||
| 6580 | (message_dolog_marker3): New static variables hold three markers. | ||
| 6581 | (syms_of_xdisp): Initialize and staticpro them. | ||
| 6582 | (message_dolog): Use message_dolog_marker1..3 instead of | ||
| 6583 | allocating markers each time. Unchain them when done. | ||
| 6584 | |||
| 6585 | 2001-11-17 Richard M. Stallman <rms@gnu.org> | ||
| 6586 | |||
| 6587 | * doc.c (Fsnarf_documentation): Doc fix. | ||
| 6588 | |||
| 6589 | 2001-11-17 Andreas Schwab <schwab@suse.de> | ||
| 6590 | |||
| 6591 | * xterm.c (note_mouse_highlight): Fix type of variable `ignore'. | ||
| 6592 | |||
| 6593 | 2001-11-17 Richard M. Stallman <rms@gnu.org> | ||
| 6594 | |||
| 6595 | * fileio.c (Fwrite_region): Avoid initializer for Lisp_Object. | ||
| 6596 | |||
| 6597 | 2001-11-17 Jason Rumney <jasonr@gnu.org> | ||
| 6598 | |||
| 6599 | * xterm.c (notice_overwritten_cursor): Take care of end < 0 case. | ||
| 6600 | |||
| 6601 | 2001-11-17 Gerd Moellmann <gerd@gnu.org> | ||
| 6602 | |||
| 6603 | * xdisp.c (tool_bar_item_info): Avoid calling Fget_text_property | ||
| 6604 | with invalid position. | ||
| 6605 | |||
| 6606 | 2001-11-16 Richard M. Stallman <rms@gnu.org> | ||
| 6607 | |||
| 6608 | * syswait.h: Delete conditionals for HPUX7, ISC 4.1, and convex. | ||
| 6609 | |||
| 6610 | * s/isc4-1.h (HAVE_SYS_WAIT_H): Add #undef. | ||
| 6611 | * s/hpux.h (HAVE_SYS_WAIT_H): Add #undef. | ||
| 6612 | * s/hpux8.h (HAVE_SYS_WAIT_H): Define it. | ||
| 6613 | |||
| 6614 | * m/convex.h (HAVE_SYS_WAIT_H): Add #undef. | ||
| 6615 | |||
| 6616 | 2001-11-16 Stefan Monnier <monnier@cs.yale.edu> | ||
| 6617 | |||
| 6618 | * fileio.c (build_annotations): Split off the tail. | ||
| 6619 | (build_annotations_2): New fun. Extracted from build_annotations. | ||
| 6620 | (Fwrite_region): Split the call to build_annotations into two | ||
| 6621 | calls to build_annotations and build_annotations_2. | ||
| 6622 | |||
| 6623 | 2001-11-16 Pavel Jan,Am(Bk <Pavel@Janik.cz> | ||
| 6624 | |||
| 6625 | * sysdep.c (wait_for_kbd_input) [VMS]: Do not call | ||
| 6626 | clear_waiting_for_input with argument. | ||
| 6627 | |||
| 6628 | * xterm.h (x_update_cursor): Remove duplicated prototype. | ||
| 6629 | |||
| 6630 | * keyboard.h (clear_waiting_for_input): Remove duplicated prototype. | ||
| 6631 | |||
| 6632 | * xterm.c (waiting_for_input): Remove unnecessary declaration. | ||
| 6633 | |||
| 6634 | * data.c (Ftimes, Fquo, Frem, Fmod): Doc fix. | ||
| 6635 | |||
| 6636 | 2001-11-16 Stefan Monnier <monnier@cs.yale.edu> | ||
| 6637 | |||
| 6638 | * fileio.c (choose_write_coding_system): New fun, extracted | ||
| 6639 | from Fwrite_region. | ||
| 6640 | (Fwrite_region): Use it. | ||
| 6641 | |||
| 6642 | * eval.c (max_specpdl_size, max_lisp_eval_depth): Use EMACS_INT. | ||
| 6643 | (funcall_lambda, run_hook_with_args): Make static and add prototype. | ||
| 6644 | (ml_apply, find_handler_clause): Add prototype. | ||
| 6645 | |||
| 6646 | 2001-11-16 Eli Zaretskii <eliz@gnu.org> | ||
| 6647 | |||
| 6648 | * config.in: Add #undef HAVE_COFF_H. | ||
| 6649 | |||
| 6650 | * unexec.c (coff.h): Don't include unless HAVE_COFF_H is defined. | ||
| 6651 | Required for ISC 4.1. | ||
| 6652 | |||
| 6653 | 2001-11-16 Eli Zaretskii <eliz@is.elta.co.il> | ||
| 6654 | |||
| 6655 | * syswait.h: (HAVE_SYS_WAIT_H): Undef for ISC 4.1. Reported by | ||
| 6656 | Andrew Wiseman <a.wiseman@btclick.com>. | ||
| 6657 | |||
| 6658 | 2001-11-16 Kim F. Storm <storm@cua.dk> | ||
| 6659 | |||
| 6660 | The following changes are made to clean up the various internal | ||
| 6661 | references to the fringes to actually use the term `fringe' for | ||
| 6662 | them. Previously, they were called `flags areas', `bitmap areas', | ||
| 6663 | `left/right side of windows', or implicitly as `flags' or | ||
| 6664 | `bitmaps': | ||
| 6665 | |||
| 6666 | * dispextern.h (FRINGE_FACE_ID): Renamed from BITMAP_AREA_FACE_ID. | ||
| 6667 | Comments fixed. Use renamed symbols. | ||
| 6668 | |||
| 6669 | * dispnew.c: Comment fix. Use renamed symbols. | ||
| 6670 | |||
| 6671 | * frame.h (FRAME_FRINGE_COLS): Renamed from FRAME_FLAGS_AREA_COLS. | ||
| 6672 | (FRAME_FRINGE_WIDTH): Renamed from FRAME_FLAGS_AREA_WIDTH. | ||
| 6673 | (FRAME_LEFT_FRINGE_WIDTH): Renamed from FRAME_LEFT_FLAGS_AREA_WIDTH. | ||
| 6674 | |||
| 6675 | * msdos.c: Comment fix. | ||
| 6676 | |||
| 6677 | * w32fns.c: Use renamed symbols. | ||
| 6678 | |||
| 6679 | * w32term.c: Comment fixes. Use renamed symbols. | ||
| 6680 | (fringe_bitmap_type): Renamed from bitmap_type. | ||
| 6681 | (NO_FRINGE_BITMAP): Renamed from NO_BITMAP. | ||
| 6682 | (w32_draw_fringe_bitmap): Renamed from w32_draw_bitmap. | ||
| 6683 | (x_draw_row_fringe_bitmaps): Renamed from x_draw_row_bitmaps. | ||
| 6684 | |||
| 6685 | * w32term.h: Comment fixes. Use renamed symbols. | ||
| 6686 | (fringes_extra): Renamed from flags_areas_extra. | ||
| 6687 | (FRAME_FRINGE_BITMAP_WIDTH): Renamed from FRAME_FLAGS_BITMAP_WIDTH. | ||
| 6688 | (FRAME_FRINGE_BITMAP_HEIGHT): Renamed from FRAME_FLAGS_BITMAP_HEIGHT. | ||
| 6689 | (FRAME_X_FRINGE_COLS): Renamed from FRAME_X_FLAGS_AREA_COLS. | ||
| 6690 | (FRAME_X_FRINGE_WIDTH): Renamed from FRAME_X_FLAGS_AREA_WIDTH. | ||
| 6691 | (FRAME_X_LEFT_FRINGE_WIDTH): | ||
| 6692 | Renamed from FRAME_X_LEFT_FLAGS_AREA_WIDTH. | ||
| 6693 | (FRAME_X_RIGHT_FRINGE_WIDTH): | ||
| 6694 | Renamed from FRAME_X_RIGHT_FLAGS_AREA_WIDTH. | ||
| 6695 | |||
| 6696 | * widget.c: Use renamed symbols. | ||
| 6697 | |||
| 6698 | * window.c: Comment fixes. Use renamed symbols. | ||
| 6699 | (coordinates-in-window-p): Doc fix. | ||
| 6700 | |||
| 6701 | * xdisp.c: Comment fixes. Use renamed symbols. | ||
| 6702 | |||
| 6703 | * xfaces.c (realize_basic_faces): Use FRINGE_FACE_ID. | ||
| 6704 | |||
| 6705 | * xfns.c: Use renamed symbols. | ||
| 6706 | |||
| 6707 | * xterm.c: Comment fixes. Use renamed symbols. | ||
| 6708 | (fringe_bitmap_type): Renamed from bitmap_type. | ||
| 6709 | (NO_FRINGE_BITMAP): Renamed from NO_BITMAP. | ||
| 6710 | (x_draw_fringe_bitmap): Renamed from x_draw_bitmap. | ||
| 6711 | (x_draw_row_fringe_bitmaps): Renamed from x_draw_row_bitmaps. | ||
| 6712 | |||
| 6713 | * xterm.h: Comment fixes. Use renamed symbols. | ||
| 6714 | (fringes_extra): Renamed from flags_areas_extra. | ||
| 6715 | (FRAME_FRINGE_BITMAP_WIDTH): Renamed from FRAME_FLAGS_BITMAP_WIDTH. | ||
| 6716 | (FRAME_FRINGE_BITMAP_HEIGHT): Renamed from FRAME_FLAGS_BITMAP_HEIGHT. | ||
| 6717 | (FRAME_X_FRINGE_COLS): Renamed from FRAME_X_FLAGS_AREA_COLS. | ||
| 6718 | (FRAME_X_FRINGE_WIDTH): Renamed from FRAME_X_FLAGS_AREA_WIDTH. | ||
| 6719 | (FRAME_X_LEFT_FRINGE_WIDTH): | ||
| 6720 | Renamed from FRAME_X_LEFT_FLAGS_AREA_WIDTH. | ||
| 6721 | (FRAME_X_RIGHT_FRINGE_WIDTH): | ||
| 6722 | Renamed from FRAME_X_RIGHT_FLAGS_AREA_WIDTH. | ||
| 6723 | |||
| 6724 | 2001-11-15 Jason Rumney <jasonr@gnu.org> | ||
| 6725 | |||
| 6726 | * w32menu.c (add-menu-item): Make help_echo and radio buttons | ||
| 6727 | work for most menu items. From David Ponce | ||
| 6728 | <david.ponce@wanadoo.fr>. | ||
| 6729 | |||
| 6730 | 2001-11-15 Gerd Moellmann <gerd@gnu.org> | ||
| 6731 | |||
| 6732 | * xfns.c (x_set_frame_parameters): Revert change of 2001-11-07. | ||
| 6733 | Some x_set_* function expect to be called even if old and new | ||
| 6734 | value are equal. | ||
| 6735 | |||
| 6736 | * xdisp.c (build_desired_tool_bar_string): Accept zero | ||
| 6737 | tool_bar_button_relief. | ||
| 6738 | |||
| 6739 | * xfns.c (Fx_create_frame): Accept zero tool_bar_button_relief. | ||
| 6740 | |||
| 6741 | * xterm.c (x_draw_image_relief): Accept zero tool_bar_button_relief. | ||
| 6742 | |||
| 6743 | * xterm.c (x_draw_bar_cursor): If the background color of the | ||
| 6744 | glyph under the cursor equals the frame's cursor color, use | ||
| 6745 | the glyph's foreground color for drawing the bar cursor. | ||
| 6746 | |||
| 6747 | * dispnew.c (direct_output_forward_char): Fix character/byte | ||
| 6748 | position comparison. | ||
| 6749 | |||
| 6750 | 2001-11-15 Miles Bader <miles@gnu.org> | ||
| 6751 | |||
| 6752 | * editfns.c (find_field): Add BEG_LIMIT and END_LIMIT parameters. | ||
| 6753 | (Fdelete_field, Ffield_string, Ffield_string_no_properties): | ||
| 6754 | Update arguments to find_field. | ||
| 6755 | (Ffield_beginning, Ffield_end): Add LIMIT param, pass to find_field. | ||
| 6756 | (Fconstrain_to_field): Use LIMIT arg to shorten search time. | ||
| 6757 | * lisp.h (Ffield_beginning, Ffield_end): Update EXFUN decl. | ||
| 6758 | * minibuf.c (Fminibuffer_prompt_end): Update args to Ffield_end. | ||
| 6759 | |||
| 6760 | 2001-11-14 Richard M. Stallman <rms@gnu.org> | ||
| 6761 | |||
| 6762 | * editfns.c (Fpropertize): Allow call with 1 arg. | ||
| 6763 | |||
| 6764 | * dispextern.h (image_background, image_background_transparent): | ||
| 6765 | Conditionalize on HAVE_X_WINDOWS. | ||
| 6766 | |||
| 6767 | 2001-11-13 Richard M. Stallman <rms@gnu.org> | ||
| 6768 | |||
| 6769 | * print.c (Fprin1_to_string): Doc fix. | ||
| 6770 | |||
| 6771 | * sunfns.c (Fsun_change_cursor_icon): Doc fix. | ||
| 6772 | |||
| 6773 | * floatfns.c (Fceiling, Ffloor): Doc fixes. | ||
| 6774 | |||
| 6775 | * filelock.c (Funlock_buffer, Ffile_locked_p): Doc fixes. | ||
| 6776 | |||
| 6777 | * fileio.c (Ffile_accessible_directory_p): Doc fix. | ||
| 6778 | |||
| 6779 | * eval.c (syms_of_eval): Doc fix. | ||
| 6780 | |||
| 6781 | * coding.c (syms_of_coding): Doc fix. | ||
| 6782 | |||
| 6783 | * doc.c (Fsnarf_documentation): Doc fix. | ||
| 6784 | |||
| 6785 | * dispnew.c (syms_of_display): Doc fix. | ||
| 6786 | |||
| 6787 | * category.c (Fget_unused_category): Doc fix. | ||
| 6788 | |||
| 6789 | * buffer.c (syms_of_buffer): Doc fixes. | ||
| 6790 | |||
| 6791 | 2001-11-14 Eli Zaretskii <eliz@is.elta.co.il> | ||
| 6792 | |||
| 6793 | * print.c (prin1, print): Doc fix. | ||
| 6794 | |||
| 6795 | 2001-11-14 Pavel Jan,Am(Bk <Pavel@Janik.cz> | ||
| 6796 | |||
| 6797 | * fontset.h: Remove declarations of variables | ||
| 6798 | `Vhighlight_wrong_size_font' and `Vclip_large_size_font'. | ||
| 6799 | |||
| 6800 | * fontset.c: Remove variables `Vhighlight_wrong_size_font' and | ||
| 6801 | `Vclip_large_size_font'. | ||
| 6802 | |||
| 6803 | 2001-11-13 Jason Rumney <jasonr@gnu.org> | ||
| 6804 | |||
| 6805 | * w32fns.c: Doc fix. | ||
| 6806 | |||
| 6807 | 2001-11-13 Pavel Jan,Am(Bk <Pavel@Janik.cz> | ||
| 6808 | |||
| 6809 | * xfaces.c (Fface_attributes_as_vector): Doc fix. | ||
| 6810 | |||
| 6811 | * fns.c: Doc fix. | ||
| 6812 | |||
| 6813 | * emacs.c: Doc fix. | ||
| 6814 | |||
| 6815 | * coding.c: Doc fix. | ||
| 6816 | |||
| 6817 | * cmds.c, composite.c, dired.c, doc.c, filelock.c, floatfns.c, | ||
| 6818 | * fontset.c, insdel.c, keymap.c: Change doc-string comments to | ||
| 6819 | `new style' [w/`doc:' keyword]. | ||
| 6820 | |||
| 6821 | 2001-11-12 Richard M. Stallman <rms@gnu.org> | ||
| 6822 | |||
| 6823 | * xterm.c (XTread_socket): Don't update focus for EnterNotify or | ||
| 6824 | LeaveNotify events. Only FocusIn and FocusOut do that now. | ||
| 6825 | (x_display_and_set_cursor): Do display hollow cursors in active | ||
| 6826 | minibuffer windows when they are not selected. | ||
| 6827 | |||
| 6828 | 2001-11-12 Jason Rumney <jasonr@gnu.org> | ||
| 6829 | |||
| 6830 | * w32console.c, w32fns.c, w32menu.c, w32proc.c, w32select.c, | ||
| 6831 | * w32term.c: Change doc-string comments to `new style'. | ||
| 6832 | [w/`doc:' keyword]. Doc fixes. | ||
| 6833 | |||
| 6834 | * w32fns.c: Don't define max. | ||
| 6835 | (Fx_open_connection): Only execute once. | ||
| 6836 | |||
| 6837 | 2001-11-12 Pavel Jan,Am(Bk <Pavel@Janik.cz> | ||
| 6838 | |||
| 6839 | * ccl.c: Change macros to use do-while block instead of if-else. | ||
| 6840 | Use braces to follow GNU Coding Standards. | ||
| 6841 | |||
| 6842 | 2001-11-11 Richard M. Stallman <rms@gnu.org> | ||
| 6843 | |||
| 6844 | * sysdep.c (child_setup_tty): Don't clear ICRNL or INLCR. | ||
| 6845 | |||
| 6846 | * lread.c (read_escape): Use end_of_file_error for reporting eof. | ||
| 6847 | |||
| 6848 | * insdel.c (replace_range): Use adjust_markers_for_replace | ||
| 6849 | instead of adjust_markers_for_delete and adjust_markers_for_insert. | ||
| 6850 | |||
| 6851 | * intervals.h: Declare set_text_properties and set_text_properties_1. | ||
| 6852 | |||
| 6853 | * textprop.c (set_text_properties_1): New subroutine | ||
| 6854 | broken out of set_text_properties. | ||
| 6855 | (set_text_properties): Use set_text_properties_1. | ||
| 6856 | |||
| 6857 | * intervals.c (graft_intervals_into_buffer): | ||
| 6858 | Use set_text_properties_1 to clear out properties. | ||
| 6859 | |||
| 6860 | * search.c (Freplace_match): Use replace_range to insert | ||
| 6861 | and delete. Don't request property inheritance from | ||
| 6862 | surrounding text. | ||
| 6863 | |||
| 6864 | 2001-11-10 Jason Rumney <jasonr@gnu.org> | ||
| 6865 | |||
| 6866 | * w32fns.c (enum_font_cb2): Use leading @ on face name to detect | ||
| 6867 | vertical fonts. Allow them if face name is explicitly specified. | ||
| 6868 | Do not give up if we find a font that cannot be converted to an xlfd. | ||
| 6869 | |||
| 6870 | 2001-11-10 Gerd Moellmann <gerd@gnu.org> | ||
| 6871 | |||
| 6872 | * unexelf.c (unexec): Use mmap/munmap to allocate buffers | ||
| 6873 | instead of malloc/free. | ||
| 6874 | |||
| 6875 | 2001-11-09 Pavel Jan,Am(Bk <Pavel@Janik.cz> | ||
| 6876 | |||
| 6877 | * xfaces.c (merge_face_vectors): Use braces to follow GNU | ||
| 6878 | Coding Standards. | ||
| 6879 | (Finternal_set_lisp_face_attribute): Likewise. | ||
| 6880 | |||
| 6881 | * buffer.c (Fbury_buffer): Likewise. | ||
| 6882 | |||
| 6883 | * indent.c (current_column_1): Remove unused variable `prev_col'. | ||
| 6884 | |||
| 6885 | * coding.c (encode_coding): Use precomputed value of `src'. | ||
| 6886 | (encode_coding): Remove unused variable `src_end'. | ||
| 6887 | (code_convert_region): Remove unused variables `count'. | ||
| 6888 | |||
| 6889 | 2001-11-07 Jason Rumney <jasonr@gnu.org> | ||
| 6890 | |||
| 6891 | * w32term.c (x_display_and_set_cursor): Do not move system caret | ||
| 6892 | if cursor_glyph is NULL. | ||
| 6893 | |||
| 6894 | 2001-11-07 Pavel Jan,Am(Bk <Pavel@Janik.cz> | ||
| 6895 | |||
| 6896 | * keymap.c (access_keymap): Fix compilation error. | ||
| 6897 | |||
| 6898 | 2001-11-07 Miles Bader <miles@gnu.org> | ||
| 6899 | |||
| 6900 | * xfns.c (x_set_frame_parameters): Avoid infinite recursion. | ||
| 6901 | |||
| 6902 | 2001-11-07 Pavel Jan,Am(Bk <Pavel@Janik.cz> | ||
| 6903 | |||
| 6904 | * intervals.c (graft_intervals_into_buffer): | ||
| 6905 | Remove #ifdef'd-out code. | ||
| 6906 | (graft_intervals_into_buffer): Remove unused variable `middle'. | ||
| 6907 | |||
| 6908 | * lread.c (Feval_region): Remove obsolete #ifdef'd-out | ||
| 6909 | code (eval-current-buffer). | ||
| 6910 | Change doc-string comments to `new style' [w/`doc:' keyword]. | ||
| 6911 | |||
| 6912 | 2001-11-06 Richard M. Stallman <rms@gnu.org> | ||
| 6913 | |||
| 6914 | * keymap.c (access_keymap): Don't use initializers on Lisp_Object. | ||
| 6915 | |||
| 6916 | 2001-11-06 Stefan Monnier <monnier@cs.yale.edu> | ||
| 6917 | |||
| 6918 | * lread.c (read1): Fix behavior with nested backquoting. | ||
| 6919 | |||
| 6920 | * keyboard.c (make_lispy_event): Check integerness and fix | ||
| 6921 | Lisp_Object/int mixup. | ||
| 6922 | |||
| 6923 | 2001-11-06 Pavel Jan,Am(Bk <Pavel@Janik.cz> | ||
| 6924 | |||
| 6925 | * fns.c (copy_hash_table): Remove unused variable `v'. | ||
| 6926 | |||
| 6927 | * fontset.c (fontset_font_pattern): Remove unused variable | ||
| 6928 | `family_registry'. | ||
| 6929 | |||
| 6930 | * indent.c (current_column_1): Remove unused variable `prev_col'. | ||
| 6931 | |||
| 6932 | 2001-11-05 Richard M. Stallman <rms@gnu.org> | ||
| 6933 | |||
| 6934 | * m/news-risc.h (BROKEN_PROTOTYPES): Defined. | ||
| 6935 | |||
| 6936 | * buffer.c (Fkill_buffer): Don't delete auto save file | ||
| 6937 | if buffer is modified. | ||
| 6938 | |||
| 6939 | 2001-11-05 Andrew Innes <andrewi@gnu.org> | ||
| 6940 | |||
| 6941 | * w32proc.c (Fw32_set_keyboard_layout): Use CHECK_NUMBER_CAR and | ||
| 6942 | CHECK_NUMBER_CDR. | ||
| 6943 | |||
| 6944 | 2001-11-05 Richard M. Stallman <rms@gnu.org> | ||
| 6945 | |||
| 6946 | * unexelf.c (unexec): Minor changes; clean up comments. | ||
| 6947 | |||
| 6948 | 2001-11-05 Sam Steingold <sds@gnu.org> | ||
| 6949 | |||
| 6950 | * w32term.c (x_display_and_set_cursor): Fix w32 compilation error. | ||
| 6951 | |||
| 6952 | 2001-11-05 Andreas Schwab <schwab@suse.de> | ||
| 6953 | |||
| 6954 | * sound.c (sound_perror): Save errno from being clobbered. | ||
| 6955 | |||
| 6956 | 2001-11-05 Dale Hagglund <rdh@yottayotta.com> | ||
| 6957 | |||
| 6958 | * unexelf.c (unexec): Don't use `mmap'. Instead, read and write | ||
| 6959 | the program image directly. | ||
| 6960 | |||
| 6961 | 2001-11-05 Pavel Jan,Am(Bk <Pavel@Janik.cz> | ||
| 6962 | |||
| 6963 | * buffer.h (Fbuffer_local_value): Add prototype. | ||
| 6964 | |||
| 6965 | 2001-11-04 Richard M. Stallman <rms@gnu.org> | ||
| 6966 | |||
| 6967 | * buffer.c (Fbuffer_local_value): Remove extra args from CHECK_SYMBOL | ||
| 6968 | and CHECK_BUFFER. | ||
| 6969 | |||
| 6970 | * keyboard.c (read_char): Use Fcar and Fcdr, not Fnth. | ||
| 6971 | (record_char): Likewise. | ||
| 6972 | |||
| 6973 | * keyboard.c (make_lispy_event): Don't insist a drag event must | ||
| 6974 | move to a different buffer position. Instead, check for moving at | ||
| 6975 | least double_click_fuzz. | ||
| 6976 | |||
| 6977 | * fns.c (Fmake_hash_table): Use XCAR and XCDR, not Fnth and Flength. | ||
| 6978 | |||
| 6979 | * keyboard.c (echo-area-clear-hook): Undo Oct 29 change. | ||
| 6980 | |||
| 6981 | * indent.c (current_column_1, Fmove_to_column): Separate the code | ||
| 6982 | for display-table glyphs from the code for buffer text, to fix | ||
| 6983 | bugs in the former. | ||
| 6984 | |||
| 6985 | 2001-11-04 Michael Welsh Duggan <md5i@cs.cmu.edu> | ||
| 6986 | |||
| 6987 | * buffer.c (Fbuffer_local_value): New function. | ||
| 6988 | (syms_of_buffer): Defsubr it. | ||
| 6989 | |||
| 6990 | * xterm.c, w32term.c (x_display_and_set_cursor): Use buffer-local | ||
| 6991 | value of `cursor-in-non-selected-windows'. | ||
| 6992 | |||
| 6993 | * lisp.h (Qcursor_in_non_selected_windows): New declaration. | ||
| 6994 | * xdisp.c (Qcursor_in_non_selected_windows): New variable. | ||
| 6995 | (syms_of_xdisp): Initialize it. | ||
| 6996 | |||
| 6997 | 2001-11-04 Pavel Jan,Am(Bk <Pavel@Janik.cz> | ||
| 6998 | |||
| 6999 | * xfns.c (Fx_create_frame): Doc fix. | ||
| 7000 | |||
| 7001 | * coding.c: Change doc-string comments to `new style' [w/`doc:' | ||
| 7002 | keyword]. | ||
| 7003 | |||
| 7004 | * eval.c (top_level_value, top_level_set): Remove commented and | ||
| 7005 | #ifdef'd-out code. | ||
| 7006 | (Fdefvar): Fix usage in doc-string. | ||
| 7007 | |||
| 7008 | 2001-11-03 Richard M. Stallman <rms@gnu.org> | ||
| 7009 | |||
| 7010 | * xfns.c: Include unistd.h, if it exists. | ||
| 7011 | |||
| 7012 | * editfns.c: Move the include of ctype.h after unistd.h. | ||
| 7013 | |||
| 7014 | * gmalloc.c: Test BROKEN_PROTOTYPES. | ||
| 7015 | |||
| 7016 | 2001-11-03 Ken Raeburn <raeburn@gnu.org> | ||
| 7017 | |||
| 7018 | * lisp.h (CHECK_STRING_CAR): New macro. | ||
| 7019 | * lread.c (Fload): Use XSETCARFASTINT, XSETCDRFASTINT instead of | ||
| 7020 | treating XCAR and XCDR as lvalues. | ||
| 7021 | (openp): Use CHECK_STRING_CAR. | ||
| 7022 | (read_list): Use XSETCDR instead of treating XCDR as lvalue. | ||
| 7023 | |||
| 7024 | 2001-11-03 Eli Zaretskii <eliz@is.elta.co.il> | ||
| 7025 | |||
| 7026 | * s/sco5.h (sigprocmask_set): Declare as extern SIGMASKTYPE. | ||
| 7027 | (SIGMASKTYPE): Define. | ||
| 7028 | |||
| 7029 | * syssignal.h (sigunblock): Don't define if already defined. | ||
| 7030 | |||
| 7031 | 2001-11-02 Pavel Jan,Am(Bk <Pavel@Janik.cz> | ||
| 7032 | |||
| 7033 | * eval.c (debugger_may_continue, Vdebug_ignored_errors) | ||
| 7034 | (call_debugger, Fcondition_case, skip_debugger, unbind_to): | ||
| 7035 | Fix typos in comments. | ||
| 7036 | |||
| 7037 | * mocklisp.c (Fml_defun, Fml_while, Fml_substr): Remove commented | ||
| 7038 | and #ifdef'd-out code. | ||
| 7039 | Fix and reindent comments. | ||
| 7040 | |||
| 7041 | * mocklisp.h: Remove comment which is a copy of comment in mocklisp.c. | ||
| 7042 | |||
| 7043 | * category.h (CHECK_CATEGORY, CHECK_CATEGORY_SET): Remove unused | ||
| 7044 | argument `i' in macros. | ||
| 7045 | |||
| 7046 | * frame.h (CHECK_FRAME, CHECK_LIVE_FRAME): Remove unused argument | ||
| 7047 | `i' in macros. | ||
| 7048 | |||
| 7049 | * lisp.h (CHECK_STRING_OR_BUFFER, CHECK_HASH_TABLE, CHECK_LIST) | ||
| 7050 | (CHECK_STRING, CHECK_CONS, CHECK_SYMBOL, CHECK_CHAR_TABLE) | ||
| 7051 | (CHECK_VECTOR, CHECK_VECTOR_OR_CHAR_TABLE, CHECK_BUFFER) | ||
| 7052 | (CHECK_WINDOW, CHECK_LIVE_WINDOW, CHECK_PROCESS, CHECK_NUMBER) | ||
| 7053 | (CHECK_NATNUM, CHECK_MARKER, CHECK_NUMBER_COERCE_MARKER) | ||
| 7054 | (CHECK_FLOAT, CHECK_NUMBER_OR_FLOAT) | ||
| 7055 | (CHECK_NUMBER_OR_FLOAT_COERCE_MARKER, CHECK_OVERLAY) | ||
| 7056 | (CHECK_NUMBER_CAR, CHECK_NUMBER_CDR): Remove unused argument `i' | ||
| 7057 | in macros. | ||
| 7058 | |||
| 7059 | * abbrev.c, alloc.c, buffer.c, bytecode.c, callint.c, callproc.c, | ||
| 7060 | * casefiddle.c, category.c, ccl.c, charset.c, cmds.c, coding.c, | ||
| 7061 | * composite.c, data.c, dired.c, dispnew.c, doc.c, dosfns.c, emacs.c, | ||
| 7062 | * eval.c, fileio.c, filelock.c, fns.c, fontset.c, frame.c, frame.h, | ||
| 7063 | * indent.c, keyboard.c, keymap.c, lread.c, macros.c, marker.c, | ||
| 7064 | * minibuf.c, mocklisp.c, msdos.c, print.c, process.c, search.c, | ||
| 7065 | * sunfns.c, syntax.c, textprop.c, undo.c, w16select.c, w32console.c, | ||
| 7066 | * w32fns.c, w32menu.c, w32proc.c, w32select.c, window.c, xdisp.c, | ||
| 7067 | * xfaces.c, xmenu.c, xselect.c: Update usage of CHECK_ macros | ||
| 7068 | (remove unused second argument). | ||
| 7069 | |||
| 7070 | 2001-11-02 Stefan Monnier <monnier@cs.yale.edu> | ||
| 7071 | |||
| 7072 | * syntax.c (describe_syntax): New wrapper. | ||
| 7073 | (Finternal_describe_syntax_value): Rename from describe_syntax. | ||
| 7074 | Don't insert space at front and \n at the end. | ||
| 7075 | (syms_of_syntax): Defsubr Sinternal_describe_syntax_value. | ||
| 7076 | |||
| 7077 | * regex.c (re_wctype): Try to fix some warnings. | ||
| 7078 | (regcomp, regexec): Don't forget the __restrict. | ||
| 7079 | |||
| 7080 | 2001-11-02 Richard M. Stallman <rms@gnu.org> | ||
| 7081 | |||
| 7082 | * textprop.c (Fget_char_property): Doc fix. | ||
| 7083 | |||
| 7084 | 2001-11-02 Pavel Jan,Am(Bk <Pavel@Janik.cz> | ||
| 7085 | |||
| 7086 | * process.c (Fstart_process): Add usage to doc-string. | ||
| 7087 | |||
| 7088 | * data.c (Fsetq_default): Ditto. | ||
| 7089 | |||
| 7090 | * callint.c (Finteractive): Ditto. | ||
| 7091 | |||
| 7092 | 2001-11-01 Stefan Monnier <monnier@cs.yale.edu> | ||
| 7093 | |||
| 7094 | * macros.c: Don't include keymap.h any more. | ||
| 7095 | |||
| 7096 | 2001-11-01 Richard M. Stallman <rms@gnu.org> | ||
| 7097 | |||
| 7098 | * data.c (Fmake_local_variable): Doc fix. | ||
| 7099 | |||
| 7100 | * eval.c (Frun_hooks, Frun_hook_with_args_until_failure): Doc fix. | ||
| 7101 | (Frun_hook_with_args_until_success, Frun_hook_with_args): Doc fix. | ||
| 7102 | |||
| 7103 | * keymap.c (Fdescribe_buffer_bindings): Print character property | ||
| 7104 | bindings along with or instead of the buffer local map. | 2882 | bindings along with or instead of the buffer local map. |
| 7105 | Make the overriding maps override what they should. | 2883 | Make the overriding maps override what they should. |
| 7106 | 2884 | ||