Mercurial > hg > xemacs-beta
comparison src/ChangeLog @ 5128:7be849cb8828 ben-lisp-object
merge
author | Ben Wing <ben@xemacs.org> |
---|---|
date | Sun, 07 Mar 2010 02:09:59 -0600 |
parents | a9c41067dd88 3d91f0b64469 |
children | ebd8cab8629f |
comparison
equal
deleted
inserted
replaced
5127:a9c41067dd88 | 5128:7be849cb8828 |
---|---|
634 * ui-gtk.c (allocate_emacs_gtk_boxed_data): | 634 * ui-gtk.c (allocate_emacs_gtk_boxed_data): |
635 * window.c (allocate_window): | 635 * window.c (allocate_window): |
636 * window.c (new_window_mirror): | 636 * window.c (new_window_mirror): |
637 * window.c (make_dummy_parent): | 637 * window.c (make_dummy_parent): |
638 Create a simpler interface (ALLOC_LCRECORD) for allocating | 638 Create a simpler interface (ALLOC_LCRECORD) for allocating |
639 | |
640 2010-03-05 Ben Wing <ben@xemacs.org> | |
641 | |
642 * mule-coding.c: | |
643 * mule-coding.c (iso2022_encode): | |
644 Horrible bug: `escape-quoted' was failing to escape-quote special | |
645 characters in the 0x80 - 0x9F range. Who knows what breakage ensued? | |
646 SAME BUG IN XEMACS 21.4; MUST BE FIXED THERE TOO. | |
647 | |
648 2010-03-03 Ben Wing <ben@xemacs.org> | |
649 | |
650 * lrecord.h: Fix outdated comment. | |
651 | |
652 2010-03-03 Ben Wing <ben@xemacs.org> | |
653 | |
654 * emacs.c: | |
655 * emacs.c (assert_equal_failed): | |
656 * lisp.h: | |
657 * lisp.h (assert_equal): | |
658 New fun assert_equal, asserting that two values == each other, and | |
659 printing out both values upon failure. | |
660 | |
661 * frame-gtk.c (gtk_initialize_frame_size): | |
662 * frame-impl.h: | |
663 * frame-impl.h (FRAME_TOP_INTERNAL_BORDER_START): | |
664 * frame-impl.h (FRAME_BOTTOM_INTERNAL_BORDER_START): | |
665 * frame-impl.h (FRAME_LEFT_INTERNAL_BORDER_START): | |
666 * frame-impl.h (FRAME_PANED_TOP_EDGE): | |
667 * frame-impl.h (FRAME_NONPANED_SIZE): | |
668 * frame-x.c (x_initialize_frame_size): | |
669 * frame.c: | |
670 * gutter.c (get_gutter_coords): | |
671 * gutter.c (calculate_gutter_size): | |
672 * gutter.h: | |
673 * gutter.h (WINDOW_REAL_TOP_GUTTER_BOUNDS): | |
674 * gutter.h (FRAME_TOP_GUTTER_BOUNDS): | |
675 * input-method-xlib.c: | |
676 * input-method-xlib.c (XIM_SetGeometry): | |
677 * redisplay-output.c (clear_left_border): | |
678 * redisplay-output.c (clear_right_border): | |
679 * redisplay-output.c (redisplay_output_pixmap): | |
680 * redisplay-output.c (redisplay_clear_region): | |
681 * redisplay-output.c (redisplay_clear_top_of_window): | |
682 * redisplay-output.c (redisplay_clear_to_window_end): | |
683 * redisplay-xlike-inc.c (XLIKE_clear_frame): | |
684 * redisplay.c: | |
685 * redisplay.c (UPDATE_CACHE_RETURN): | |
686 * redisplay.c (pixel_to_glyph_translation): | |
687 * toolbar.c (update_frame_toolbars_geometry): | |
688 * window.c (Fwindow_pixel_edges): | |
689 Get rid of some redundant macros. Consistently use the | |
690 FRAME_TOP_*_START, FRAME_RIGHT_*_END, etc. format. Rename | |
691 FRAME_*_BORDER_* to FRAME_*_INTERNAL_BORDER_*. Comment out | |
692 FRAME_BOTTOM_* for gutters and the paned area due to the | |
693 uncertainty over where the paned area actually begins. (Eventually | |
694 we should probably move the gutters outside the minibuffer so that | |
695 the paned area is contiguous.) Use FRAME_PANED_* more often in the | |
696 code to make things clearer. | |
697 | |
698 Update the diagram to show that the bottom gutter is inside the | |
699 minibuffer (!) and that there are "junk boxes" when you have left | |
700 and/or right gutters (dead boxes that are mistakenly left uncleared, | |
701 unlike the corresponding scrollbar dead boxes). Update the text | |
702 appropriately to cover the bottom gutter position, etc. | |
703 | |
704 Rewrite gutter-geometry code to use the FRAME_*_GUTTER_* in place of | |
705 equivalent expressions referencing other frame elements, to make the | |
706 code more portable in case we move around the gutter location. | |
707 | |
708 Cleanup FRAME_*_GUTTER_BOUNDS() in gutter.h. | |
709 | |
710 Add some #### GEOM! comments where I think code is incorrect -- | |
711 typically, it wasn't fixed up properly when the gutter was added. | |
712 | |
713 Some cosmetic changes. | |
714 | |
715 2010-03-02 Ben Wing <ben@xemacs.org> | |
716 | |
717 * lisp.h: | |
718 * text.h: | |
719 Move inclusion point of text.h earlier in lisp.h -- just before | |
720 the definition of characters, which needs some of the stuff in | |
721 text.h. With text.h later, some basic character properties had to | |
722 be defined in lisp.h -- put them back into text.h where they belong. | |
723 Move some text in lisp.h at the point of text.h inclusion into | |
724 text.h -- it serves as a mini-introduction. | |
725 | |
726 2010-03-02 Ben Wing <ben@xemacs.org> | |
727 | |
728 * Makefile.in.in: | |
729 * Makefile.in.in (objs): | |
730 glyphs-shared.o, glyphs-eimage.o only needed when HAVE_WINDOW_SYSTEM. | |
731 glyphs-widget.o should be too, but we need a bit of work ifdeffing | |
732 out the subwindow stuff from redisplay.c et al. | |
733 | |
734 * bytecode.c (init_opcode_table_multi_op): | |
735 Change var name to avoid shadowing with `basename'. | |
736 | |
737 * emacs.c (main_1): | |
738 Don't call init/etc. routines for glyphs-shared, glyphs-eimage unless | |
739 HAVE_WINDOW_SYSTEM is defined. | |
740 | |
741 * linuxplay.c: | |
742 * linuxplay.c (sighandler): | |
743 * vdb-posix.c (vdb_fault_handler): | |
744 Use const for variables holding string constants to avoid C++ | |
745 warnings. | |
746 | |
747 2010-03-02 Jerry James <james@xemacs.org> | |
748 | |
749 * lread.c (read_atom): Signal a read error upon encountering a | |
750 ratio constant with a zero denominator. | |
751 | |
752 2010-03-03 Aidan Kehoe <kehoea@parhasard.net> | |
753 | |
754 * fns.c (Fsubstring): Removed. | |
755 * search.c (Freplace_match): | |
756 * minibuf.c (Ftry_completion): | |
757 * lisp.h: | |
758 * keymap.c (ensure_meta_prefix_char_keymapp): | |
759 * dired.c (user_name_completion, file_name_completion): | |
760 * console-x.c (x_canonicalize_console_connection): | |
761 * bytecode.c (Bsubseq): | |
762 * bytecode-ops.h (subseq): | |
763 Move #'substring to Lisp, as an alias for #'subseq; change all | |
764 C Fsubstring() calls to Fsubseq(), change the Bsubstring bytecode | |
765 to Bsubseq. | |
766 | |
767 Motivation; not accepting vectors in #'substring is incompatible | |
768 with GNU, and Common Lisp prefers #'subseq, it has no #'substring. | |
769 | |
770 2010-03-02 Aidan Kehoe <kehoea@parhasard.net> | |
771 | |
772 * eval.c (print_multiple_value): | |
773 Say #<INTERNAL OBJECT (XEmacs bug?) ...> when printing these, for | |
774 consistency with the rest of the print code. | |
775 | |
776 2010-03-01 Aidan Kehoe <kehoea@parhasard.net> | |
777 | |
778 * lisp.h (PARSE_KEYWORDS): New macro, for parsing keyword | |
779 arguments from C subrs. | |
780 * elhash.c (Fmake_hash_table): Use it. | |
781 * general-slots.h (Q_allow_other_keys): Add this symbol. | |
782 * eval.c (non_nil_allow_other_keys_p): | |
783 (invalid_keyword_argument): | |
784 New functions, called from the keyword argument parsing code. | |
785 * data.c (init_errors_once_early): | |
786 Add the new invalid-keyword-argument error here. | |
787 | |
788 2010-02-26 Aidan Kehoe <kehoea@parhasard.net> | |
789 | |
790 * file-coding.c (Fmake_coding_system_internal): | |
791 Be somewhat clearer in this docstring, especially for the sake of | |
792 people running non-Mule builds who will see this docstring when | |
793 they do F1 f make-coding-system RET. | |
794 | |
795 2010-02-25 Didier Verna <didier@xemacs.org> | |
796 | |
797 The background-placement face property. | |
798 * console-x-impl.h (struct x_frame): Add new slots x and y. | |
799 * console-x-impl.h (FRAME_X_X, FRAME_X_Y): New slot accessors. | |
800 * console-gtk-impl.h: Fake something similar for potential port. | |
801 * frame-x.c (x_get_frame_text_position): New function. | |
802 * frame-x.c (x_init_frame_3): Use it. | |
803 * event-Xt.c (emacs_Xt_handle_magic_event): Eat spurious | |
804 ConfigureNotify events, get the frame position and mark frame | |
805 faces changed. | |
806 * objects-impl.h: The face_background_placement_specifier | |
807 structure and its accessors. | |
808 * objects.c: New symbols Qabsolute and Qrelative. | |
809 * objects.c (face_background_placement_create): | |
810 * objects.c (face_background_placement_mark): | |
811 * objects.c (face_background_placement_instantiate): | |
812 * objects.c (face_background_placement_validate): | |
813 * objects.c (face_background_placement_after_change): | |
814 * objects.c (set_face_background_placement_attached_to): New. | |
815 * objects.h (set_face_background_palcement_attached_to): Declare | |
816 the one above. | |
817 * objects.c (syms_of_objects): | |
818 * objects.c (specifier_type_create_objects): | |
819 * objects.c (reinit_specifier_type_create_objects): | |
820 * objects.c (reinit_vars_of_objects): Update for the modifications | |
821 above. | |
822 * console-xlike-inc.h (XLIKE_GC_TS_X_ORIGIN, XLIKE_GC_TS_X_ORIGIN): | |
823 New X11/Gtk compatibility macros. | |
824 * redisplay-xlike-inc.c (XLIKE_get_gc): Add a background placement | |
825 argument and handle it. | |
826 * gtk-glue.c (face_to_gc): | |
827 * redisplay-xlike-inc.c (XLIKE_output_string): | |
828 * redisplay-xlike-inc.c (XLIKE_output_pixmap): | |
829 * redisplay-xlike-inc.c (XLIKE_output_blank): | |
830 * redisplay-xlike-inc.c (XLIKE_output_horizontal_line): | |
831 * redisplay-xlike-inc.c (XLIKE_output_eol_cursor): Update | |
832 accordingly. | |
833 * console-impl.h (struct console_methods): Add a background | |
834 placement (Lisp_Object) argument to the clear_region method. | |
835 * console-stream.c (stream_clear_region): | |
836 * redisplay-tty.c (tty_clear_region): | |
837 * redisplay-msw.c (mswindows_clear_region): | |
838 * redisplay-xlike-inc.c (XLIKE_clear_region): Update accordingly. | |
839 * redisplay-output.c (redisplay_clear_region): Handle the | |
840 background placement property and update the call to the | |
841 clear_region method. | |
842 * faces.h (struct Lisp_Face): | |
843 * faces.h (struct face_cachel): Add a background placement slot. | |
844 * faces.h (WINDOW_FACE_CACHEL_BACKGROUND_PLACEMENT): New accessor. | |
845 * faces.c (mark_face): | |
846 * faces.c (face_equal): | |
847 * faces.c (face_getprop): | |
848 * faces.c (face_putprop): | |
849 * faces.c (face_remprop): | |
850 * faces.c (face_plist): | |
851 * faces.c (reset_face): | |
852 * faces.c (mark_face_cachels): | |
853 * faces.c (update_face_cachel_data): | |
854 * faces.c (merge_face_cachel_data): | |
855 * faces.c (reset_face_cachel): | |
856 * faces.c (Fmake_face): | |
857 * faces.c (Fcopy_face): Handle the background placement property. | |
858 * faces.c (syms_of_faces): | |
859 * faces.c (vars_of_faces): | |
860 * faces.c (complex_vars_of_faces): Update accordingly. | |
861 | |
862 2010-02-25 Ben Wing <ben@xemacs.org> | |
863 | |
864 * frame-impl.h: | |
865 Create some new macros for more clearly getting the size/edges | |
866 of various rectangles surrounding the paned area. | |
867 * frame.c (change_frame_size_1): | |
868 Use the new macros. Clean up change_frame_size_1 and make sure | |
869 the internal border width gets taken into account -- that was what | |
870 was causing the clipped bottom and right. | |
871 | |
872 2010-02-25 Ben Wing <ben@xemacs.org> | |
873 | |
874 * EmacsFrame.c (EmacsFrameSetValues): | |
875 * frame-impl.h: | |
876 * frame-impl.h (struct frame): | |
877 * frame-impl.h (FRAME_THEORETICAL_TOP_TOOLBAR_HEIGHT): | |
878 * frame-impl.h (FRAME_THEORETICAL_TOP_TOOLBAR_BORDER_WIDTH): | |
879 * frame-impl.h (FRAME_REAL_TOP_TOOLBAR_HEIGHT): | |
880 * frame-impl.h (FRAME_REAL_TOP_TOOLBAR_BORDER_WIDTH): | |
881 * frame-impl.h (FRAME_REAL_TOP_TOOLBAR_VISIBLE): | |
882 * frame-impl.h (FRAME_REAL_TOP_TOOLBAR_BOUNDS): | |
883 * frame.h: | |
884 * frame.h (enum edge_pos): | |
885 * gutter.c: | |
886 * gutter.c (get_gutter_coords): | |
887 * gutter.c (display_boxes_in_gutter_p): | |
888 * gutter.c (construct_window_gutter_spec): | |
889 * gutter.c (calculate_gutter_size_from_display_lines): | |
890 * gutter.c (calculate_gutter_size): | |
891 * gutter.c (output_gutter): | |
892 * gutter.c (clear_gutter): | |
893 * gutter.c (mark_gutters): | |
894 * gutter.c (gutter_extent_signal_changed_region_maybe): | |
895 * gutter.c (update_gutter_geometry): | |
896 * gutter.c (update_frame_gutter_geometry): | |
897 * gutter.c (update_frame_gutters): | |
898 * gutter.c (reset_gutter_display_lines): | |
899 * gutter.c (redraw_exposed_gutter): | |
900 * gutter.c (redraw_exposed_gutters): | |
901 * gutter.c (free_frame_gutters): | |
902 * gutter.c (decode_gutter_position): | |
903 * gutter.c (Fset_default_gutter_position): | |
904 * gutter.c (Fgutter_pixel_width): | |
905 * gutter.c (Fgutter_pixel_height): | |
906 * gutter.c (recompute_overlaying_specifier): | |
907 * gutter.c (gutter_specs_changed_1): | |
908 * gutter.c (gutter_specs_changed): | |
909 * gutter.c (top_gutter_specs_changed): | |
910 * gutter.c (bottom_gutter_specs_changed): | |
911 * gutter.c (left_gutter_specs_changed): | |
912 * gutter.c (right_gutter_specs_changed): | |
913 * gutter.c (gutter_geometry_changed_in_window): | |
914 * gutter.c (init_frame_gutters): | |
915 * gutter.c (specifier_vars_of_gutter): | |
916 * gutter.h: | |
917 * gutter.h (WINDOW_REAL_TOP_GUTTER_BOUNDS): | |
918 * gutter.h (FRAME_TOP_GUTTER_BOUNDS): | |
919 * lisp.h (enum edge_style): | |
920 * native-gtk-toolbar.c: | |
921 * native-gtk-toolbar.c (gtk_output_toolbar): | |
922 * native-gtk-toolbar.c (gtk_clear_toolbar): | |
923 * native-gtk-toolbar.c (gtk_output_frame_toolbars): | |
924 * native-gtk-toolbar.c (gtk_initialize_frame_toolbars): | |
925 * toolbar-msw.c: | |
926 * toolbar-msw.c (TOOLBAR_HANDLE): | |
927 * toolbar-msw.c (allocate_toolbar_item_id): | |
928 * toolbar-msw.c (mswindows_clear_toolbar): | |
929 * toolbar-msw.c (mswindows_output_toolbar): | |
930 * toolbar-msw.c (mswindows_move_toolbar): | |
931 * toolbar-msw.c (mswindows_redraw_exposed_toolbars): | |
932 * toolbar-msw.c (mswindows_initialize_frame_toolbars): | |
933 * toolbar-msw.c (mswindows_output_frame_toolbars): | |
934 * toolbar-msw.c (mswindows_clear_frame_toolbars): | |
935 * toolbar-msw.c (DELETE_TOOLBAR): | |
936 * toolbar-msw.c (mswindows_free_frame_toolbars): | |
937 * toolbar-msw.c (mswindows_get_toolbar_button_text): | |
938 * toolbar-xlike.c: | |
939 * toolbar-xlike.c (__prepare_button_area): | |
940 * toolbar-xlike.c (XLIKE_OUTPUT_BUTTONS_LOOP): | |
941 * toolbar-xlike.c (xlike_output_toolbar): | |
942 * toolbar-xlike.c (xlike_clear_toolbar): | |
943 * toolbar-xlike.c (xlike_output_frame_toolbars): | |
944 * toolbar-xlike.c (xlike_clear_frame_toolbars): | |
945 * toolbar-xlike.c (xlike_redraw_exposed_toolbar): | |
946 * toolbar-xlike.c (xlike_redraw_exposed_toolbars): | |
947 * toolbar-xlike.c (xlike_redraw_frame_toolbars): | |
948 * toolbar.c: | |
949 * toolbar.c (decode_toolbar_position): | |
950 * toolbar.c (Fset_default_toolbar_position): | |
951 * toolbar.c (mark_frame_toolbar_buttons_dirty): | |
952 * toolbar.c (compute_frame_toolbar_buttons): | |
953 * toolbar.c (set_frame_toolbar): | |
954 * toolbar.c (compute_frame_toolbars_data): | |
955 * toolbar.c (update_frame_toolbars_geometry): | |
956 * toolbar.c (init_frame_toolbars): | |
957 * toolbar.c (get_toolbar_coords): | |
958 * toolbar.c (CHECK_TOOLBAR): | |
959 * toolbar.c (toolbar_buttons_at_pixpos): | |
960 * toolbar.c (CTB_ERROR): | |
961 * toolbar.c (recompute_overlaying_specifier): | |
962 * toolbar.c (specifier_vars_of_toolbar): | |
963 * toolbar.h: | |
964 * toolbar.h (SET_TOOLBAR_WAS_VISIBLE_FLAG): | |
965 Create new enum edge_pos with TOP_EDGE, BOTTOM_EDGE, LEFT_EDGE, | |
966 RIGHT_EDGE; subsume TOP_BORDER, TOP_GUTTER, enum toolbar_pos, | |
967 enum gutter_pos, etc. | |
968 | |
969 Create EDGE_POS_LOOP, subsuming GUTTER_POS_LOOP. | |
970 | |
971 Create NUM_EDGES, use in many places instead of hardcoded '4'. | |
972 | |
973 Instead of top_toolbar_was_visible, bottom_toolbar_was_visible, | |
974 etc. make an array toolbar_was_visible[NUM_EDGES]. This increases | |
975 the frame size by 15 bytes or so (could be 3 if we use Boolbytes) | |
976 but hardly seems w to matter -- frames are heavy weight objects | |
977 anyway. Same with top_gutter_was_visible, etc. | |
978 | |
979 Remove duplicated SET_TOOLBAR_WAS_VISIBLE_FLAG and put defn in | |
980 one place (toolbar.h). | |
981 | |
982 2010-02-24 Didier Verna <didier@xemacs.org> | |
983 | |
984 Modify XLIKE_get_gc's prototype. | |
985 * redisplay-xlike-inc.c (XLIKE_get_gc): Take a frame instead of a | |
986 device as first argument. | |
987 * redisplay-xlike-inc.c (XLIKE_output_string): Update caller. | |
988 * redisplay-xlike-inc.c (XLIKE_output_pixmap): Ditto. | |
989 * redisplay-xlike-inc.c (XLIKE_output_blank): Ditto. | |
990 * redisplay-xlike-inc.c (XLIKE_output_horizontal_line): Ditto. | |
991 * redisplay-xlike-inc.c (XLIKE_clear_region): Ditto. | |
992 * redisplay-xlike-inc.c (XLIKE_output_eol_cursor): Ditto. | |
993 * console-gtk.h (gtk_get_gc): Take a frame instead of a device as | |
994 first argument. | |
995 * gtk-glue.c (face_to_gc): Update caller. | |
639 | 996 |
640 2010-02-24 Didier Verna <didier@xemacs.org> | 997 2010-02-24 Didier Verna <didier@xemacs.org> |
641 | 998 |
642 * glyphs.c: Clarify comment about potential_pixmap_file_instantiator. | 999 * glyphs.c: Clarify comment about potential_pixmap_file_instantiator. |
643 * glyphs.c (xbm_mask_file_munging): Clarify comment, remove | 1000 * glyphs.c (xbm_mask_file_munging): Clarify comment, remove |