diff options
| author | Paul Eggert | 2011-12-10 16:56:50 -0800 |
|---|---|---|
| committer | Paul Eggert | 2011-12-10 16:56:50 -0800 |
| commit | 8f50130c565eaf0ad7c49e4ad044c3291ecdfa71 (patch) | |
| tree | c8129448cbbf387fe82667ccac02983592c688f1 /src/ChangeLog | |
| parent | 85a83e2e2585a1906dec5168ed96ad521b5849ed (diff) | |
| parent | 7b9d523a07395ecea505be88f45c33d73aea7038 (diff) | |
| download | emacs-8f50130c565eaf0ad7c49e4ad044c3291ecdfa71.tar.gz emacs-8f50130c565eaf0ad7c49e4ad044c3291ecdfa71.zip | |
Merge from trunk.
Diffstat (limited to 'src/ChangeLog')
| -rw-r--r-- | src/ChangeLog | 394 |
1 files changed, 377 insertions, 17 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 4cec277fb36..f525535e4d8 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | 2011-11-18 Paul Eggert <eggert@cs.ucla.edu> | 1 | 2011-12-11 Paul Eggert <eggert@cs.ucla.edu> |
| 2 | 2 | ||
| 3 | Fix integer width and related bugs (Bug#9874). | 3 | Fix integer width and related bugs (Bug#9874). |
| 4 | * alloc.c (pure_bytes_used_lisp, pure_bytes_used_non_lisp): | 4 | * alloc.c (pure_bytes_used_lisp, pure_bytes_used_non_lisp): |
| @@ -150,6 +150,7 @@ | |||
| 150 | Fix a FIXME, by checking for integer overflow when calculating | 150 | Fix a FIXME, by checking for integer overflow when calculating |
| 151 | target_clm and actual_clm. | 151 | target_clm and actual_clm. |
| 152 | * coding.c (detect_coding_XXX, encode_coding_XXX, CODING_DECODE_CHAR) | 152 | * coding.c (detect_coding_XXX, encode_coding_XXX, CODING_DECODE_CHAR) |
| 153 | (CODING_ENCODE_CHAR, CODING_CHAR_CHARSET, CODING_CHAR_CHARSET_P) | ||
| 153 | (ASSURE_DESTINATION, coding_alloc_by_realloc) | 154 | (ASSURE_DESTINATION, coding_alloc_by_realloc) |
| 154 | (coding_alloc_by_making_gap, alloc_destination) | 155 | (coding_alloc_by_making_gap, alloc_destination) |
| 155 | (detect_coding_utf_8, encode_coding_utf_8, decode_coding_utf_16) | 156 | (detect_coding_utf_8, encode_coding_utf_8, decode_coding_utf_16) |
| @@ -169,7 +170,8 @@ | |||
| 169 | (decode_coding_object, encode_coding_object, detect_coding_system) | 170 | (decode_coding_object, encode_coding_object, detect_coding_system) |
| 170 | (Ffind_coding_systems_region_internal, Fcheck_coding_systems_region) | 171 | (Ffind_coding_systems_region_internal, Fcheck_coding_systems_region) |
| 171 | (code_convert_region, code_convert_string) | 172 | (code_convert_region, code_convert_string) |
| 172 | (Fdefine_coding_system_internal): | 173 | (Fdefine_coding_system_internal) |
| 174 | (coding_set_source, coding_set_destination): | ||
| 173 | Use ptrdiff_t, not EMACS_INT, where ptrdiff_t is wide enough. | 175 | Use ptrdiff_t, not EMACS_INT, where ptrdiff_t is wide enough. |
| 174 | (setup_iso_safe_charsets, consume_chars, Funencodable_char_position) | 176 | (setup_iso_safe_charsets, consume_chars, Funencodable_char_position) |
| 175 | (Fdefine_coding_system_internal): | 177 | (Fdefine_coding_system_internal): |
| @@ -786,11 +788,369 @@ | |||
| 786 | rather than rolling our own approximation. | 788 | rather than rolling our own approximation. |
| 787 | (SCROLL_BAR_VEC_SIZE): Remove; not used. | 789 | (SCROLL_BAR_VEC_SIZE): Remove; not used. |
| 788 | 790 | ||
| 789 | 2011-11-18 Paul Eggert <eggert@cs.ucla.edu> | 791 | 2011-12-10 Jan Djärv <jan.h.d@swipnet.se> |
| 790 | 792 | ||
| 791 | Fix minor problems found by static checking. | 793 | * xterm.c (x_term_init): Move call to gdk_window_add_filter before |
| 792 | * dispextern.h, xdisp.c (row_hash): Declare extern only if XASSERTS. | 794 | gtk_init (Bug#10100). |
| 793 | * dispnew.c (verify_row_hash): Now static. | 795 | |
| 796 | 2011-12-10 Eli Zaretskii <eliz@gnu.org> | ||
| 797 | |||
| 798 | * xdisp.c (RECORD_MAX_MIN_POS): Use IT->cmp_it.charpos only if | ||
| 799 | IT->string is nil. (Bug#10263) | ||
| 800 | |||
| 801 | 2011-12-10 Jan Djärv <jan.h.d@swipnet.se> | ||
| 802 | |||
| 803 | * nsterm.h (x_free_frame_resources): Declare. | ||
| 804 | |||
| 805 | * nsfns.m (ns_get_defaults_value): New function (Bug#10103). | ||
| 806 | (Fns_get_resource, x_get_string_resource): Call ns_get_defaults_value. | ||
| 807 | |||
| 808 | * nsterm.h (ns_get_defaults_value): Declare. | ||
| 809 | |||
| 810 | * nsterm.m (ns_default): Call ns_get_defaults_value. | ||
| 811 | |||
| 812 | 2011-12-09 Eli Zaretskii <eliz@gnu.org> | ||
| 813 | |||
| 814 | * xdisp.c (try_scrolling): Don't set scroll_down_p if dy is zero. | ||
| 815 | (Bug#10170) | ||
| 816 | |||
| 817 | 2011-12-09 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> | ||
| 818 | |||
| 819 | * unexelf.c (unexec) [NS_IMPL_GNUSTEP]: Take account of the case | ||
| 820 | that where the value of an _OBJC_* symbol points to is in the .bss | ||
| 821 | section (Bug#10240). | ||
| 822 | |||
| 823 | 2011-12-08 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change) | ||
| 824 | |||
| 825 | * coding.c (encode_coding_ccl): Check (charbuf < charbuf_end) | ||
| 826 | after the loop to call ccl_driver at least once (Bug#8619). | ||
| 827 | |||
| 828 | 2011-12-08 Kenichi Handa <handa@m17n.org> | ||
| 829 | |||
| 830 | * ftfont.c (get_adstyle_property): Fix previous change | ||
| 831 | (Bug#10233). | ||
| 832 | |||
| 833 | 2011-12-07 Juanma Barranquero <lekktu@gmail.com> | ||
| 834 | |||
| 835 | * w32.c (init_environment): If no_site_lisp, remove site-lisp | ||
| 836 | dirs from the default value of EMACSLOADPATH (bug#10208). | ||
| 837 | |||
| 838 | 2011-12-07 Glenn Morris <rgm@gnu.org> | ||
| 839 | |||
| 840 | * lread.c (init_lread): If no_site_lisp, exclude site-lisp/ in | ||
| 841 | installation and source directories as well. (Bug#10208) | ||
| 842 | |||
| 843 | 2011-12-06 Chong Yidong <cyd@gnu.org> | ||
| 844 | |||
| 845 | * minibuf.c (Fread_from_minibuffer): Doc fix (Bug#10228). | ||
| 846 | |||
| 847 | 2011-12-06 Glenn Morris <rgm@gnu.org> | ||
| 848 | |||
| 849 | * process.c (start_process_unwind): Treat any pid <= 0, except -2, | ||
| 850 | as an error, not just -1. (Bug#10217) | ||
| 851 | |||
| 852 | 2011-12-05 Chong Yidong <cyd@gnu.org> | ||
| 853 | |||
| 854 | * keyboard.c (process_special_events): New function. | ||
| 855 | (swallow_events, Finput_pending_p): Use it (Bug#10195). | ||
| 856 | |||
| 857 | 2011-12-05 Paul Eggert <eggert@cs.ucla.edu> | ||
| 858 | |||
| 859 | * coding.c (encode_designation_at_bol): Don't use uninitialized | ||
| 860 | local variable (Bug#9318). | ||
| 861 | |||
| 862 | 2011-12-05 Kenichi Handa <handa@m17n.org> | ||
| 863 | |||
| 864 | * ftfont.c (get_adstyle_property): If the font is not BDF nor PCF, | ||
| 865 | return Qnil (Bug#8046, Bug#10193). | ||
| 866 | |||
| 867 | 2011-12-05 Kenichi Handa <handa@m17n.org> | ||
| 868 | |||
| 869 | * coding.c (encode_designation_at_bol): New args charbuf_end and | ||
| 870 | dst. Return the number of produced bytes. Callers changed. | ||
| 871 | (coding_set_source): Return how many bytes coding->source was | ||
| 872 | relocated. | ||
| 873 | (coding_set_destination): Return how many bytes | ||
| 874 | coding->destination was relocated. | ||
| 875 | (CODING_DECODE_CHAR, CODING_ENCODE_CHAR, CODING_CHAR_CHARSET) | ||
| 876 | (CODING_CHAR_CHARSET_P): Adjusted for the avove changes. | ||
| 877 | |||
| 878 | 2011-12-05 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change) | ||
| 879 | |||
| 880 | * coding.c (CODING_CHAR_CHARSET_P): New macro. | ||
| 881 | (encode_coding_emacs_mule, encode_coding_iso_2022): Use the above | ||
| 882 | macro (Bug#9318). | ||
| 883 | |||
| 884 | 2011-12-05 Andreas Schwab <schwab@linux-m68k.org> | ||
| 885 | |||
| 886 | The following changes are to fix Bug#9318. | ||
| 887 | |||
| 888 | * coding.c (CODING_ENCODE_CHAR, CODING_CHAR_CHARSET): New macros. | ||
| 889 | (encode_coding_emacs_mule, ENCODE_ISO_CHARACTER) | ||
| 890 | (encode_coding_iso_2022, encode_coding_sjis) | ||
| 891 | (encode_coding_big5, encode_coding_charset): Use the above macros. | ||
| 892 | |||
| 893 | 2011-12-05 Juanma Barranquero <lekktu@gmail.com> | ||
| 894 | |||
| 895 | * lisp.h (process_quit_flag): Fix external declaration. | ||
| 896 | |||
| 897 | 2011-12-04 Stefan Monnier <monnier@iro.umontreal.ca> | ||
| 898 | |||
| 899 | Don't macro-inline non-performance-critical code. | ||
| 900 | * eval.c (process_quit_flag): New function. | ||
| 901 | * lisp.h (QUIT): Use it. | ||
| 902 | |||
| 903 | 2011-12-04 Jan Djärv <jan.h.d@swipnet.se> | ||
| 904 | |||
| 905 | * nsfns.m (get_geometry_from_preferences): New function. | ||
| 906 | (Fx_create_frame): Call get_geometry_from_preferences (Bug#10103). | ||
| 907 | |||
| 908 | 2011-12-04 Andreas Schwab <schwab@linux-m68k.org> | ||
| 909 | |||
| 910 | * emacs.c (Qkill_emacs): Define. | ||
| 911 | (syms_of_emacs): Initialize it. | ||
| 912 | * keyboard.c (interrupt_signal): Don't call Fkill_emacs here, set | ||
| 913 | Qquit_flag to `kill-emacs' instead. | ||
| 914 | (quit_throw_to_read_char): Add parameter `from_signal'. | ||
| 915 | All callers changed. Call Fkill_emacs if requested and safe. | ||
| 916 | * lisp.h (QUIT): Call Fkill_emacs if requested. | ||
| 917 | |||
| 918 | 2011-12-03 Jan Djärv <jan.h.d@swipnet.se> | ||
| 919 | |||
| 920 | * widget.c (update_wm_hints): Return if wmshell is null. | ||
| 921 | (widget_update_wm_size_hints): New function. | ||
| 922 | |||
| 923 | * widget.h (widget_update_wm_size_hints): Declare. | ||
| 924 | |||
| 925 | * xterm.c (x_wm_set_size_hint): If USE_X_TOOLKIT, call | ||
| 926 | widget_update_wm_size_hints (Bug#10104). | ||
| 927 | |||
| 928 | 2011-12-03 Eli Zaretskii <eliz@gnu.org> | ||
| 929 | |||
| 930 | * xdisp.c (handle_invisible_prop): If the invisible text ends just | ||
| 931 | before a newline, prepare the bidi iterator for consuming the | ||
| 932 | newline, and keep the current paragraph direction. (Bug#10183) | ||
| 933 | (redisplay_window): Don't let `margin' become negative. (Bug#10192) | ||
| 934 | |||
| 935 | 2011-12-02 Juri Linkov <juri@jurta.org> | ||
| 936 | |||
| 937 | * search.c (Fword_search_regexp): New Lisp function created from | ||
| 938 | `wordify'. Change type of arg `lax' from `int' to `Lisp_Object'. | ||
| 939 | (Fword_search_backward, Fword_search_forward) | ||
| 940 | (Fword_search_backward_lax, Fword_search_forward_lax): | ||
| 941 | Use `Fword_search_regexp' instead of `wordify'. Doc fix. | ||
| 942 | (syms_of_search): Define `Sword_search_regexp'. (Bug#10145) | ||
| 943 | |||
| 944 | 2011-12-01 Stefan Monnier <monnier@iro.umontreal.ca> | ||
| 945 | |||
| 946 | * fileio.c (Finsert_file_contents): Move after-change-function call | ||
| 947 | to before the "handled:" label, since all "goto handled" appear in | ||
| 948 | cases where the *-change-functions have already been properly called | ||
| 949 | (bug#10117). | ||
| 950 | |||
| 951 | 2011-12-01 Andreas Schwab <schwab@linux-m68k.org> | ||
| 952 | |||
| 953 | * keyboard.c (interrupt_signal): Don't call kill-emacs when | ||
| 954 | waiting for input. (Bug#10169) | ||
| 955 | |||
| 956 | 2011-11-30 Eli Zaretskii <eliz@gnu.org> | ||
| 957 | |||
| 958 | * dispnew.c (adjust_glyph_matrix): Remove the assertion that | ||
| 959 | verifies glyph row's hash code--we have just reallocated the | ||
| 960 | glyphs, so their contents can be complete garbage. (Bug#10164) | ||
| 961 | |||
| 962 | 2011-11-30 Juanma Barranquero <lekktu@gmail.com> | ||
| 963 | |||
| 964 | * dispnew.c (adjust_glyph_matrix) [XASSERTS]: Add missing check. | ||
| 965 | |||
| 966 | 2011-11-30 Eli Zaretskii <eliz@gnu.org> | ||
| 967 | |||
| 968 | * dispnew.c (adjust_glyph_matrix) [XASSERTS]: Ensure ROW's | ||
| 969 | attributes are tested _before_ calling verify_row_hash, to protect | ||
| 970 | against GCC re-ordering of the tests. (Bug#10164) | ||
| 971 | |||
| 972 | 2011-11-29 Jan Djärv <jan.h.d@swipnet.se> | ||
| 973 | |||
| 974 | * xterm.h (struct x_output): net_wm_state_hidden_seen is new. | ||
| 975 | |||
| 976 | * xterm.c (handle_one_xevent): Only set async_visible and friends | ||
| 977 | if net_wm_state_hidden_seen is non-zero (Bug#10002) | ||
| 978 | (get_current_wm_state): Set net_wm_state_hidden_seen to 1 if | ||
| 979 | _NET_WM_STATE_HIDDEN is in NET_WM_STATE. | ||
| 980 | |||
| 981 | 2011-11-28 Paul Eggert <eggert@cs.ucla.edu> | ||
| 982 | |||
| 983 | Remove GCPRO-related macros that exist only to avoid shadowing locals. | ||
| 984 | * lisp.h (GCPRO1_VAR, GCPRO2_VAR, GCPRO3_VAR, GCPRO4_VAR, GCPRO5_VAR) | ||
| 985 | (GCPRO6_VAR, UNGCPRO_VAR): Remove. See | ||
| 986 | <http://lists.gnu.org/archive/html/emacs-diffs/2011-11/msg00265.html>. | ||
| 987 | All uses changed to use GCPRO1 etc. | ||
| 988 | (GCPRO1, GCPRO2, GCPRO3, GCPRO4, GCPRO5, GCPRO6, UNGCPRO): | ||
| 989 | Revert to old implementation (i.e., before 2011-03-11). | ||
| 990 | |||
| 991 | 2011-11-28 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> | ||
| 992 | |||
| 993 | * dispnew.c (scrolling_window): Truncate overlaps in copy destination | ||
| 994 | of scroll runs so as to avoid assigning disabled bogus rows and | ||
| 995 | unnecessary graphics copy operations. | ||
| 996 | |||
| 997 | 2011-11-27 Eli Zaretskii <eliz@gnu.org> | ||
| 998 | |||
| 999 | * s/ms-w32.h (utimbuf) [_MSC_VER]: Don't define. | ||
| 1000 | (snprintf) [_MSC_VER]: Redirect to _snprintf. | ||
| 1001 | (strtoll) [_MSC_VER]: Redirect to _strtoi64. | ||
| 1002 | (malloc, free, realloc, calloc): Redirect to e_* only when | ||
| 1003 | compiling Emacs. | ||
| 1004 | |||
| 1005 | * lisp.h (GCTYPEBITS): Move before first use. | ||
| 1006 | (ALIGN_GCTYPEBITS) [_MSC_VER]: Define. | ||
| 1007 | (DECL_ALIGN) [_MSC_VER]: Use it, as MSVC doesn't like bit ops in | ||
| 1008 | this macro definition. | ||
| 1009 | |||
| 1010 | * s/ms-w32.h (tzname): Redirect to _tzname for all values of | ||
| 1011 | _MSC_VER. | ||
| 1012 | |||
| 1013 | 2011-11-27 Jan Djärv <jan.h.d@swipnet.se> | ||
| 1014 | |||
| 1015 | * gtkutil.c (xg_create_frame_widgets): | ||
| 1016 | Call gtk_window_set_has_resize_grip (FALSE) if that function is | ||
| 1017 | present with Gtk+ 2.0. | ||
| 1018 | |||
| 1019 | 2011-11-26 Paul Eggert <eggert@cs.ucla.edu> | ||
| 1020 | |||
| 1021 | * fileio.c (Finsert_file_contents): Undo previous change; see | ||
| 1022 | <http://lists.gnu.org/archive/html/emacs-diffs/2011-11/msg00265.html>. | ||
| 1023 | |||
| 1024 | 2011-11-26 Paul Eggert <eggert@cs.ucla.edu> | ||
| 1025 | |||
| 1026 | Rename locals to avoid shadowing. | ||
| 1027 | * fileio.c (Finsert_file_contents): | ||
| 1028 | Rename inner 'gcpro1' to 'inner_gcpro1' to avoid shadowing. | ||
| 1029 | * process.c (wait_reading_process_output): | ||
| 1030 | Rename inner 'proc' to 'p' to avoid shadowing. | ||
| 1031 | Indent for consistency with usual Emacs style. | ||
| 1032 | |||
| 1033 | 2011-11-25 Eli Zaretskii <eliz@gnu.org> | ||
| 1034 | |||
| 1035 | * xdisp.c (redisplay_window): If cursor row is not fully visible | ||
| 1036 | after recentering, and scroll-conservatively is set to a large | ||
| 1037 | number, scroll window by a few more lines to make the cursor fully | ||
| 1038 | visible and out of scroll-margin. (Bug#10105) | ||
| 1039 | (start_display): Don't move to the next line if the display should | ||
| 1040 | start at a newline that is part of a display vector or an overlay | ||
| 1041 | string. (Bug#10119) | ||
| 1042 | |||
| 1043 | 2011-11-24 Juri Linkov <juri@jurta.org> | ||
| 1044 | |||
| 1045 | * image.c (imagemagick_load_image): Move `MagickSetResolution' down | ||
| 1046 | after the `MagickPingImage' call. (Bug#10112) | ||
| 1047 | |||
| 1048 | 2011-11-23 Chong Yidong <cyd@gnu.org> | ||
| 1049 | |||
| 1050 | * window.c (Fcoordinates_in_window_p): Accept only live windows. | ||
| 1051 | |||
| 1052 | 2011-11-23 Martin Rudalics <rudalics@gmx.at> | ||
| 1053 | |||
| 1054 | * buffer.c (Fkill_buffer): Run replace_buffer_in_windows before | ||
| 1055 | making another buffer current. (Bug#10114) | ||
| 1056 | |||
| 1057 | 2011-11-23 Glenn Morris <rgm@gnu.org> | ||
| 1058 | |||
| 1059 | * font.c (font_find_for_lface) [HAVE_NS]: Ignore case. (Bug#2526) | ||
| 1060 | |||
| 1061 | 2011-11-23 Chong Yidong <cyd@gnu.org> | ||
| 1062 | |||
| 1063 | * xdisp.c (compute_stop_pos): Check validity of end_charpos before | ||
| 1064 | using it (Bug#5984). | ||
| 1065 | |||
| 1066 | 2011-11-22 Eli Zaretskii <eliz@gnu.org> | ||
| 1067 | |||
| 1068 | * dispnew.c (adjust_glyph_matrix): Don't verify hash code of mode- | ||
| 1069 | and header-lines, as they don't have one computed for them. | ||
| 1070 | (Bug#10098) | ||
| 1071 | |||
| 1072 | * .gdbinit (prow): Make displayed values more self-explaining. | ||
| 1073 | Add row's hash code. | ||
| 1074 | |||
| 1075 | 2011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org> | ||
| 1076 | |||
| 1077 | * process.c (wait_reading_process_output): Fix asynchrounous | ||
| 1078 | GnuTLS socket handling on some versions of the GnuTLS library. | ||
| 1079 | (wait_reading_process_output): Add comment and URL. | ||
| 1080 | |||
| 1081 | 2011-11-21 Jan Djärv <jan.h.d@swipnet.se> | ||
| 1082 | |||
| 1083 | * xterm.c (x_clear_frame): Reinstate the XClearWindow call. | ||
| 1084 | |||
| 1085 | 2011-11-21 Chong Yidong <cyd@gnu.org> | ||
| 1086 | |||
| 1087 | * window.c (Fnext_window, Fprevious_window): Doc fix. | ||
| 1088 | |||
| 1089 | 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca> | ||
| 1090 | |||
| 1091 | * window.c (get_phys_cursor_glyph): Fix Lisp_Object/int mixup. | ||
| 1092 | |||
| 1093 | 2011-11-20 Juanma Barranquero <lekktu@gmail.com> | ||
| 1094 | |||
| 1095 | * nsfont.m (syms_of_nsfont) <ns-reg-to-script>: Fix typo. | ||
| 1096 | |||
| 1097 | 2011-11-20 Martin Rudalics <rudalics@gmx.at> | ||
| 1098 | |||
| 1099 | * window.c (Fset_window_combination_limit): Rename argument | ||
| 1100 | STATUS to LIMIT. | ||
| 1101 | (Vwindow_combination_limit): Remove "status" from doc-string. | ||
| 1102 | |||
| 1103 | 2011-11-20 Andreas Schwab <schwab@linux-m68k.org> | ||
| 1104 | |||
| 1105 | * m/ibms390.h: Remove. | ||
| 1106 | * m/ibms390x.h: Don't include "ibms390.h". | ||
| 1107 | |||
| 1108 | 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca> | ||
| 1109 | |||
| 1110 | * fileio.c (Finsert_file_contents): Add missing gcpro1 variable. | ||
| 1111 | Suggested by Dmitry Antipov <dmantipov@yandex.ru>. | ||
| 1112 | |||
| 1113 | 2011-11-20 Juanma Barranquero <lekktu@gmail.com> | ||
| 1114 | |||
| 1115 | * casetab.c (Fset_case_table): | ||
| 1116 | * charset.c (Fcharset_after): Fix typos. | ||
| 1117 | |||
| 1118 | 2011-11-20 Paul Eggert <eggert@cs.ucla.edu> | ||
| 1119 | |||
| 1120 | Standardize on VIRT_ADDR_VARIES behavior (Bug#10042). | ||
| 1121 | Otherwise, valgrind does not work on some platforms. | ||
| 1122 | Problem reported by Andreas Schwab in | ||
| 1123 | <http://lists.gnu.org/archive/html/emacs-devel/2011-11/msg00081.html>. | ||
| 1124 | * puresize.h (pure, PURE_P): Always behave as if VIRT_ADDR_VARIES | ||
| 1125 | is set, removing the need for VIRT_ADDRESS_VARIES. | ||
| 1126 | (PURE_P): Use a more-efficient implementation that needs just one | ||
| 1127 | comparison, not two: on x86-64 with GCC 4.6.2, this cut down the | ||
| 1128 | number of instructions from 6 (xorl, cmpq, jge, xorl, cmpq, setge) | ||
| 1129 | to 4 (xorl, subq, cmpq, setbe). | ||
| 1130 | * alloc.c (pure): Always extern now, since that's the | ||
| 1131 | VIRT_ADDR_VARIES behavior. | ||
| 1132 | (PURE_POINTER_P): Use a single comparison, not two, for | ||
| 1133 | consistency with the new puresize.h. | ||
| 1134 | * lisp.h (PNTR_COMPARISON_TYPE): Remove; no longer needed. | ||
| 1135 | * m/ibms390.h, m/intel386.h, m/template.h, s/cygwin.h, s/hpux10-20.h: | ||
| 1136 | Remove VIRT_ADDR_VARIES no longer needed. | ||
| 1137 | |||
| 1138 | 2011-11-19 Eli Zaretskii <eliz@gnu.org> | ||
| 1139 | |||
| 1140 | * xdisp.c (x_write_glyphs, draw_phys_cursor_glyph) | ||
| 1141 | (erase_phys_cursor, update_window_cursor, show_mouse_face) | ||
| 1142 | (cursor_in_mouse_face_p): If the cursor position is out of bounds, | ||
| 1143 | behave as if the cursor position were at the window margin. | ||
| 1144 | |||
| 1145 | * window.c (get_phys_cursor_glyph): If the window is hscrolled, | ||
| 1146 | and the cursor position is out of bounds, behave as if the cursor | ||
| 1147 | position were at the window margin. (Bug#10075) | ||
| 1148 | |||
| 1149 | 2011-11-18 Chong Yidong <cyd@gnu.org> | ||
| 1150 | |||
| 1151 | * window.c (Fwindow_combination_limit): Make first argument | ||
| 1152 | non-optional, since it is meaningless for live windows like the | ||
| 1153 | selected window. | ||
| 794 | 1154 | ||
| 795 | 2011-11-18 Dmitry Antipov <dmantipov@yandex.ru> | 1155 | 2011-11-18 Dmitry Antipov <dmantipov@yandex.ru> |
| 796 | 1156 | ||
| @@ -860,8 +1220,8 @@ | |||
| 860 | * xdisp.c (display_line): Move the call to | 1220 | * xdisp.c (display_line): Move the call to |
| 861 | highlight_trailing_whitespace before the call to | 1221 | highlight_trailing_whitespace before the call to |
| 862 | compute_line_metrics, since the latter needs to see the final | 1222 | compute_line_metrics, since the latter needs to see the final |
| 863 | faces of all the glyphs to compute ROW's hash value. Fixes | 1223 | faces of all the glyphs to compute ROW's hash value. |
| 864 | assertion violations in row_equal_p. (Bug#10035) | 1224 | Fixes assertion violations in row_equal_p. (Bug#10035) |
| 865 | 1225 | ||
| 866 | 2011-11-14 Juanma Barranquero <lekktu@gmail.com> | 1226 | 2011-11-14 Juanma Barranquero <lekktu@gmail.com> |
| 867 | 1227 | ||
| @@ -945,8 +1305,8 @@ | |||
| 945 | 2011-11-08 Chong Yidong <cyd@gnu.org> | 1305 | 2011-11-08 Chong Yidong <cyd@gnu.org> |
| 946 | 1306 | ||
| 947 | * window.c (Fwindow_left_column, Fwindow_top_line): Doc fix. | 1307 | * window.c (Fwindow_left_column, Fwindow_top_line): Doc fix. |
| 948 | (Fwindow_body_height, Fwindow_body_width): Move from Lisp. Signal | 1308 | (Fwindow_body_height, Fwindow_body_width): Move from Lisp. |
| 949 | an error if not a live window. | 1309 | Signal an error if not a live window. |
| 950 | (Fwindow_total_width, Fwindow_total_height): Move from Lisp. | 1310 | (Fwindow_total_width, Fwindow_total_height): Move from Lisp. |
| 951 | (Fwindow_total_size, Fwindow_body_size): Move to Lisp. | 1311 | (Fwindow_total_size, Fwindow_body_size): Move to Lisp. |
| 952 | 1312 | ||
| @@ -1078,8 +1438,8 @@ | |||
| 1078 | (x_destroy_window): Move code to x_free_frame_resources. | 1438 | (x_destroy_window): Move code to x_free_frame_resources. |
| 1079 | 1439 | ||
| 1080 | * xfns.c (unwind_create_frame): Fix comment. | 1440 | * xfns.c (unwind_create_frame): Fix comment. |
| 1081 | (Fx_create_frame, x_create_tip_frame): Move | 1441 | (Fx_create_frame, x_create_tip_frame): |
| 1082 | terminal->reference_count++ just before making the frame | 1442 | Move terminal->reference_count++ just before making the frame |
| 1083 | official. Move initialization of image_cache_refcount and | 1443 | official. Move initialization of image_cache_refcount and |
| 1084 | dpyinfo_refcount before calling init_frame_faces (Bug#9943). | 1444 | dpyinfo_refcount before calling init_frame_faces (Bug#9943). |
| 1085 | 1445 | ||
| @@ -1149,8 +1509,8 @@ | |||
| 1149 | * xdisp.c (mouse_face_from_buffer_pos): Fix a typo in a comment. | 1509 | * xdisp.c (mouse_face_from_buffer_pos): Fix a typo in a comment. |
| 1150 | Don't stop backward scan on the continuation glyph, even though | 1510 | Don't stop backward scan on the continuation glyph, even though |
| 1151 | its CHARPOS is positive. | 1511 | its CHARPOS is positive. |
| 1152 | (mouse_face_from_buffer_pos, note_mouse_highlight): Rename | 1512 | (mouse_face_from_buffer_pos, note_mouse_highlight): |
| 1153 | cover_string to disp_string. | 1513 | Rename cover_string to disp_string. |
| 1154 | 1514 | ||
| 1155 | 2011-11-01 Martin Rudalics <rudalics@gmx.at> | 1515 | 2011-11-01 Martin Rudalics <rudalics@gmx.at> |
| 1156 | 1516 | ||
| @@ -7789,7 +8149,7 @@ | |||
| 7789 | 8149 | ||
| 7790 | 2011-04-08 T.V. Raman <tv.raman.tv@gmail.com> (tiny change) | 8150 | 2011-04-08 T.V. Raman <tv.raman.tv@gmail.com> (tiny change) |
| 7791 | 8151 | ||
| 7792 | * xml.c (parse_region): Avoid creating spurious whiespace nodes. | 8152 | * xml.c (parse_region): Avoid creating spurious whitespace nodes. |
| 7793 | 8153 | ||
| 7794 | 2011-04-08 Chong Yidong <cyd@stupidchicken.com> | 8154 | 2011-04-08 Chong Yidong <cyd@stupidchicken.com> |
| 7795 | 8155 | ||
| @@ -8405,7 +8765,7 @@ | |||
| 8405 | * keyboard.c (Fcommand_execute, Fsuspend_emacs, safe_run_hooks_1): | 8765 | * keyboard.c (Fcommand_execute, Fsuspend_emacs, safe_run_hooks_1): |
| 8406 | Use Frun_hooks. | 8766 | Use Frun_hooks. |
| 8407 | (command_loop_1): Use Frun_hooks. Call safe_run_hooks | 8767 | (command_loop_1): Use Frun_hooks. Call safe_run_hooks |
| 8408 | unconditionnaly since it does the check itself. | 8768 | unconditionally since it does the check itself. |
| 8409 | 8769 | ||
| 8410 | 2011-03-23 Paul Eggert <eggert@cs.ucla.edu> | 8770 | 2011-03-23 Paul Eggert <eggert@cs.ucla.edu> |
| 8411 | 8771 | ||
| @@ -9289,7 +9649,7 @@ | |||
| 9289 | (xg_set_widget_bg): New function. | 9649 | (xg_set_widget_bg): New function. |
| 9290 | (delete_cb): New function. | 9650 | (delete_cb): New function. |
| 9291 | (xg_create_frame_widgets): Connect delete-event to delete_cb. | 9651 | (xg_create_frame_widgets): Connect delete-event to delete_cb. |
| 9292 | Call xg_set_widget_bg. Only set backgrund pixmap for ! HAVE_GTK3 | 9652 | Call xg_set_widget_bg. Only set background pixmap for ! HAVE_GTK3 |
| 9293 | (xg_set_background_color): Call xg_set_widget_bg. | 9653 | (xg_set_background_color): Call xg_set_widget_bg. |
| 9294 | (xg_set_frame_icon): Call xg_get_pixbuf_from_pix_and_mask. | 9654 | (xg_set_frame_icon): Call xg_get_pixbuf_from_pix_and_mask. |
| 9295 | (xg_create_scroll_bar): vadj is a GtkAdjustment for HAVE_GTK3. | 9655 | (xg_create_scroll_bar): vadj is a GtkAdjustment for HAVE_GTK3. |