aboutsummaryrefslogtreecommitdiffstats
path: root/src/ChangeLog
diff options
context:
space:
mode:
Diffstat (limited to 'src/ChangeLog')
-rw-r--r--src/ChangeLog369
1 files changed, 365 insertions, 4 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index eb71bfc62ed..4cec277fb36 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,4 +1,4 @@
12011-11-02 Paul Eggert <eggert@cs.ucla.edu> 12011-11-18 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):
@@ -786,6 +786,364 @@
786 rather than rolling our own approximation. 786 rather than rolling our own approximation.
787 (SCROLL_BAR_VEC_SIZE): Remove; not used. 787 (SCROLL_BAR_VEC_SIZE): Remove; not used.
788 788
7892011-11-18 Paul Eggert <eggert@cs.ucla.edu>
790
791 Fix minor problems found by static checking.
792 * dispextern.h, xdisp.c (row_hash): Declare extern only if XASSERTS.
793 * dispnew.c (verify_row_hash): Now static.
794
7952011-11-18 Dmitry Antipov <dmantipov@yandex.ru>
796
797 * keymap.c (Fwhere_is_internal): Add missing RETURN_UNGCPROs.
798
7992011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
800
801 * intervals.c: Fix grafting over the whole buffer (bug#10071).
802 (graft_intervals_into_buffer): Simplify.
803
8042011-11-18 Eli Zaretskii <eliz@gnu.org>
805
806 * dispnew.c (swap_glyph_pointers): Swap the used[] arrays and the
807 hash values of the two rows.
808 (copy_row_except_pointers): Preserve the used[] arrays and the
809 hash values of the two rows. (Bug#10035)
810 (add_row_entry): Add xassert to verify that ROW's hash code is valid.
811
812 * xdisp.c (row_hash): New function, body extracted from
813 compute_line_metrics.
814 (compute_line_metrics): Call row_hash, instead of computing the
815 hash code inline.
816
817 * dispnew.c (verify_row_hash): Call row_hash for computing the
818 hash code of a row, instead of duplicating code from xdisp.c.
819
820 * dispextern.h (row_hash): Add prototype.
821
8222011-11-18 Tassilo Horn <tassilo@member.fsf.org>
823
824 * frame.c (delete_frame): Don't delete the terminal when the last
825 X frame is closed if emacs is built with GTK toolkit.
826
8272011-11-17 Juanma Barranquero <lekktu@gmail.com>
828
829 * window.c (syms_of_window) <window-combination-resize>: Fix typo.
830
8312011-11-17 Martin Rudalics <rudalics@gmx.at>
832
833 * window.c (Vwindow_splits): Rename to
834 Vwindow_combination_resize. Suggested by Juri Linkov.
835 (Fsplit_window_internal): Use Vwindow_combination_resize instead
836 of Vwindow_splits.
837
8382011-11-16 Juanma Barranquero <lekktu@gmail.com>
839
840 * nsfns.m (Fns_font_name):
841 * window.c (syms_of_window) <window-combination-limit>: Fix typos.
842
8432011-11-16 Martin Rudalics <rudalics@gmx.at>
844
845 * window.h (window): Rename slot "nest" to "combination_limit".
846 * window.c (Fwindow_nest): Rename to Fwindow_combination_limit.
847 (Fset_window_nest): Rename to Fset_window_combination_limit.
848 (Vwindow_nest): Rename to Vwindow_combination_limit.
849 (recombine_windows, make_parent_window, make_window)
850 (Fsplit_window_internal, saved_window)
851 (Fset_window_configuration, save_window_save): Rename all
852 occurrences of window_nest to window_combination_limit.
853
8542011-11-15 Juanma Barranquero <lekktu@gmail.com>
855
856 * image.c (imagemagick_load_image): Fix typo.
857
8582011-11-14 Eli Zaretskii <eliz@gnu.org>
859
860 * xdisp.c (display_line): Move the call to
861 highlight_trailing_whitespace before the call to
862 compute_line_metrics, since the latter needs to see the final
863 faces of all the glyphs to compute ROW's hash value. Fixes
864 assertion violations in row_equal_p. (Bug#10035)
865
8662011-11-14 Juanma Barranquero <lekktu@gmail.com>
867
868 * w32proc.c (reader_thread): Don't check pending input if cp->fd < 0,
869 just return (bug#10044).
870
8712011-11-12 Eli Zaretskii <eliz@gnu.org>
872
873 * makefile.w32-in (HEAPSIZE): New variable, allows to build temacs
874 with user-defined heap size. Bump the default size of the temacs
875 heap to 27MB, to avoid memory warning when running temacs.
876 ($(TEMACS)): Use HEAPSIZE instead of a hardcoded value.
877
878 * dispnew.c (scrolling_window): Fix incorrect indices in accessing
879 current_matrix and desired_matrix. (Bug#9990)
880 (verify_row_hash) [XASSERTS]: New function.
881 (adjust_glyph_matrix, row_equal_p): Use it in xassert to verify
882 that the hash value of glyph rows is correct.
883
8842011-11-12 Martin Rudalics <rudalics@gmx.at>
885
886 * window.h (window): Remove splits slot.
887 * window.c (Fwindow_splits, Fset_window_splits): Remove.
888 (Fdelete_other_windows_internal, make_parent_window)
889 (make_window, Fsplit_window_internal, Fdelete_window_internal)
890 (Fset_window_configuration, save_window_save): Don't deal with
891 split status of windows.
892 (saved_window): Remove splits slot.
893 (Vwindow_splits): Rewrite doc-string.
894
8952011-11-11 Jan Djärv <jan.h.d@swipnet.se>
896
897 * xfns.c (unwind_create_frame):
898 * nsfns.m (unwind_create_frame):
899 * w32fns.c (unwind_create_frame): Use Fmemq to check if frame is in
900 Vframe_list (Bug#9999).
901
9022011-11-11 Dmitry Antipov <dmantipov@yandex.ru>
903
904 * xdisp.c (syms_of_xdisp): Remove duplicated definition of Qtext.
905
9062011-11-11 Kenichi Handa <handa@m17n.org>
907
908 * callproc.c (Fcall_process): Set the member dst_multibyte of
909 process_coding.
910
9112011-11-11 Johan Bockgård <bojohan@gnu.org>
912
913 * xdisp.c (fill_composite_glyph_string): Always set s->face, to
914 avoid a crash (bug#9496).
915
9162011-11-09 Chong Yidong <cyd@gnu.org>
917
918 * window.c (Fwindow_inside_edges, Fwindow_inside_pixel_edges)
919 (Fwindow_inside_absolute_pixel_edges): Only allow live windows.
920
9212011-11-08 Paul Eggert <eggert@cs.ucla.edu>
922
923 * s/gnu.h (GC_MARK_STACK): Define to GC_MAKE_GCPROS_NOOPS (Bug#9926).
924
9252011-11-08 Paul Eggert <eggert@cs.ucla.edu>
926
927 Avoid some portability problems by eschewing 'extern inline' functions.
928 The trivial performance wins aren't worth the portability hassles; see
929 <http://lists.gnu.org/archive/html/emacs-devel/2011-11/msg00084.html>
930 et seq.
931 * dispextern.h (window_box, window_box_height, window_text_bottom_y)
932 (window_box_width, window_box_left, window_box_left_offset)
933 (window_box_right, window_box_right_offset): Undo previous change,
934 by removing the "extern"s.
935 * intervals.c (adjust_intervals_for_insertion)
936 (adjust_intervals_for_deletion): Undo previous change,
937 making these static again.
938 (offset_intervals, temp_set_point_both, temp_set_point)
939 (copy_intervals_to_string): No longer inline.
940 * xdisp.c (window_text_bottom_y, window_box_width)
941 (window_box_height, window_box_left_offset)
942 (window_box_right_offset, window_box_left, window_box_right)
943 (window_box): No longer inline.
944
9452011-11-08 Chong Yidong <cyd@gnu.org>
946
947 * window.c (Fwindow_left_column, Fwindow_top_line): Doc fix.
948 (Fwindow_body_height, Fwindow_body_width): Move from Lisp. Signal
949 an error if not a live window.
950 (Fwindow_total_width, Fwindow_total_height): Move from Lisp.
951 (Fwindow_total_size, Fwindow_body_size): Move to Lisp.
952
9532011-11-07 Juanma Barranquero <lekktu@gmail.com>
954
955 * lisp.h (syms_of_abbrev): Remove declaration.
956 Reported by CHENG Gao <chenggao@royau.me>.
957
9582011-11-07 Eli Zaretskii <eliz@gnu.org>
959
960 * w32.c (check_windows_init_file): Don't look for term/w32-win.el
961 if Vpurify_flag is non-nil. Fixes a crash when running w32 build
962 of temacs in GUI mode.
963
9642011-11-07 Martin Rudalics <rudalics@gmx.at>
965
966 * window.h: Declare delete_all_child_windows instead of
967 delete_all_subwindows.
968 * window.c (Fwindow_nest, Fset_window_nest)
969 (Fset_window_new_total, Fset_window_new_normal)
970 (Fwindow_resize_apply): Don't use term subwindow in doc-strings.
971 (delete_all_subwindows): Rename to delete_all_child_windows.
972 (Fdelete_other_windows_internal, Fset_window_configuration):
973 Call delete_all_child_windows instead of delete_all_subwindows.
974 * frame.c (delete_frame): Call delete_all_child_windows instead
975 of delete_all_subwindows.
976
9772011-11-07 Paul Eggert <eggert@cs.ucla.edu>
978
979 * alloc.c (DEADP): New macro, for porting to GNU/Hurd (Bug#9926).
980 This is also needed for porting to any host where GC_MARK_STACK is
981 not GC_MAKE_GCPROS_NOOPS.
982 (which_symbols): Use it.
983
9842011-11-07 Kenichi Handa <handa@m17n.org>
985
986 * coding.c (coding_set_destination): Check coding->src_pos only
987 when coding->src_object is a buffer (bug#9910).
988
989 * process.c (send_process): Set the member src_multibyte of coding
990 to 0 (bug#9911) when sending a unibyte text.
991
992 * callproc.c (Fcall_process): Set the member src_multibyte of
993 process_coding to 0 (bug#9912).
994
9952011-11-06 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
996
997 * xmenu.c (cleanup_widget_value_tree): New function.
998 (xmenu_show, xdialog_show): Use it in record_unwind_protect instead of
999 calling free_menubar_widget_value_tree directly (Bug#9830).
1000
10012011-11-06 Paul Eggert <eggert@cs.ucla.edu>
1002
1003 Fix some portability problems with 'inline'.
1004 * dispextern.h (window_box, window_box_height, window_text_bottom_y)
1005 (window_box_width, window_box_left, window_box_left_offset)
1006 (window_box_right, window_box_right_offset): Declare extern.
1007 Otherwise, these inline functions do not conform to C99 and
1008 are miscompiled by Microsoft compilers. Reported by Eli Zaretskii in
1009 <http://lists.gnu.org/archive/html/emacs-devel/2011-11/msg00084.html>.
1010 * intervals.c (adjust_intervals_for_insertion)
1011 (adjust_intervals_for_deletion): Now extern, because otherwise the
1012 extern inline functions 'offset_intervals' couldn't refer to it.
1013 (static_offset_intervals): Remove.
1014 (offset_intervals): Rewrite using the old contents of
1015 static_offset_intervals. The old version didn't conform to C99
1016 because an extern inline function contained a reference to an
1017 identifier with static linkage.
1018
10192011-11-06 Andreas Schwab <schwab@linux-m68k.org>
1020
1021 * keyboard.c (interrupt_signal): Don't call kill-emacs while in
1022 GC.
1023
10242011-11-06 Eli Zaretskii <eliz@gnu.org>
1025
1026 * xdisp.c (init_iterator, reseat_to_string): Don't set the
1027 iterator's bidi_p flag if Vpurify_flag is non-nil. (Bug#9963)
1028 (Fcurrent_bidi_paragraph_direction): If Vpurify_flag is non-nil,
1029 return Qleft_to_right.
1030
10312011-11-06 Chong Yidong <cyd@gnu.org>
1032
1033 * window.c (Fwindow_live_p, Fwindow_frame, Fframe_root_window)
1034 (Fminibuffer_window, Fwindow_buffer, Fwindow_splits)
1035 (Fset_window_splits, Fwindow_nest, Fset_window_nest)
1036 (Fwindow_use_time, Fwindow_total_size, Fwindow_normal_size)
1037 (Fwindow_new_normal, Fwindow_left_column, Fwindow_top_line)
1038 (Fwindow_margins, Fwindow_fringes, Fwindow_scroll_bars)
1039 (Fwindow_vscroll): Doc fix.
1040 (Fwindow_top_child, Fwindow_left_child): Eliminate a nil default
1041 argument, since it makes no sense to pass a live window and for
1042 consistency with window-child.
1043
10442011-11-05 Christoph Scholtes <cschol2112@googlemail.com>
1045
1046 * makefile.w32-in ($(TEMACS), (gl-stamp)): Use $(THISDIR) to
1047 support MSVC.
1048
10492011-11-05 Jason Rumney <jasonr@gnu.org>
1050
1051 * w32font.c (font_matches_spec): Filter out non-Japanese kana fonts.
1052 (add_font_entity_to_list): Filter out non-Japanese Shift-JIS
1053 fonts (Bug#6029).
1054 (add_font_entity_to_list): Fix logic errors in mixed boolean and
1055 bitwise arithmetic preventing use of unicode-sip and non-truetype
1056 opentype fonts.
1057
10582011-11-05 Eli Zaretskii <eliz@gnu.org>
1059
1060 * s/ms-w32.h (fstat, stat, utime): Move redirections to
1061 "emacs"-only part.
1062
1063 * w32fns.c (x_create_tip_frame, Fx_create_frame): Rearrange
1064 initialization code to keep similarity to xfns.c after changes
1065 from 2011-11-05.
1066
10672011-11-05 Jan Djärv <jan.h.d@swipnet.se>
1068
1069 * nsfns.m: Declare image_cache_refcount if GLYPH_DEBUG.
1070 (unwind_create_frame): New function (Bug#9943).
1071 (Fx_create_frame): Restructure code to be more similar to the one in
1072 xfns.c. Call record_unwind_protect with unwind_create_frame (Bug#9943).
1073 Initialize image_cache_refcount if GLYPH_DEBUG (Bug#9943).
1074 Move terminal->reference_count++ just before making the frame official
1075 (Bug#9943).
1076
1077 * nsterm.m (x_free_frame_resources): New function.
1078 (x_destroy_window): Move code to x_free_frame_resources.
1079
1080 * xfns.c (unwind_create_frame): Fix comment.
1081 (Fx_create_frame, x_create_tip_frame): Move
1082 terminal->reference_count++ just before making the frame
1083 official. Move initialization of image_cache_refcount and
1084 dpyinfo_refcount before calling init_frame_faces (Bug#9943).
1085
10862011-11-05 Eli Zaretskii <eliz@gnu.org>
1087
1088 Support MSVC build with newer versions of Visual Studio.
1089 * makefile.w32-in (TAGS-gmake): Don't use $(patsubst ...), as
1090 Nmake barfs on that. Use $(OBJ*_c) variables instead, defined on
1091 nt/gmake.defs.
1092
1093 * lisp.h (ENUM_BF): New macro, for enumerated types in bitfields,
1094 which are not supported by MSVC.
1095 (Lisp_Symbol, Lisp_Misc_Any, Lisp_Marker, Lisp_Misc_Overlay)
1096 (Lisp_Save_Value, Lisp_Free): Use ENUM_BF for enumerated types in
1097 bitfields.
1098 (Lisp_Object) [USE_LISP_UNION_TYPE]: Use ENUM_BF for enumerated
1099 types in bitfields.
1100 (DEFUN) [_MSC_VER]: Define in a different way for MSVC.
1101
1102 * w32fns.c [_MSC_VER]: DECLARE_HANDLE for any MSVC version.
1103
11042011-11-05 Fabrice Popineau <fabrice.popineau@supelec.fr> (tiny change)
1105
1106 Support MSVC build with newer versions of Visual Studio.
1107 * w32.c: Don't include w32api.h for MSVC.
1108 (init_environment) [_MSC_VER]: Call sys_access, not _access.
1109
1110 * s/ms-w32.h <sigset_t, ssize_t> [_MSC_VER]: Typedefs for MSVC.
1111 [_MSC_VER]: Include sys/timeb.h, sys/stat.h, and signal.h.
1112 (fstat, stat, utime) [_MSC_VER]: Redirect to their sys_* cousins.
1113 (malloc, free, realloc, calloc) [_MSC_VER]: Always redirect to the
1114 e_* cousins.
1115 (alloca) [_MSC_VER]: Define to _alloca.
1116
1117 * lisp.h (DECL_ALIGN) [_MSC_VER]: Define for MSVC.
1118
1119 * regex.c <re_char> [_MSC_VER]: A separate definition for MSVC.
1120
11212011-11-04 Eli Zaretskii <eliz@gnu.org>
1122
1123 * xdisp.c (note_mouse_highlight): If either of
1124 previous/next-single-property-change returns nil, treat that as
1125 the beginning or the end of the buffer. (Bug#9955)
1126
11272011-11-04 Jan Djärv <jan.h.d@swipnet.se>
1128
1129 * gtkutil.c (xg_make_tool_item): Add callbacks if one of wimage or
1130 label is not null (Bug#9951).
1131 (xg_tool_item_stale_p): Handle the fact that wimage and/or wlbl
1132 may be NULL.
1133
11342011-11-04 Eli Zaretskii <eliz@gnu.org>
1135
1136 * window.c (Fwindow_body_size): Mention in the doc string that the
1137 return value is in frame's canonical units. (Bug#9949)
1138
11392011-11-03 Eli Zaretskii <eliz@gnu.org>
1140
1141 * xdisp.c (note_mouse_highlight): Initialize `area'. (Bug#9947)
1142
1143 * w32fns.c (unwind_create_frame): If needed, free the glyph
1144 matrices of the partially constructed frame. (Bug#9943)
1145 * xfns.c (unwind_create_frame): Likewise.
1146
7892011-11-01 Eli Zaretskii <eliz@gnu.org> 11472011-11-01 Eli Zaretskii <eliz@gnu.org>
790 1148
791 * xdisp.c (mouse_face_from_buffer_pos): Fix a typo in a comment. 1149 * xdisp.c (mouse_face_from_buffer_pos): Fix a typo in a comment.
@@ -805,7 +1163,7 @@
805 * xdisp.c (try_cursor_movement): Make sure ROW isn't decremented 1163 * xdisp.c (try_cursor_movement): Make sure ROW isn't decremented
806 past the beginning of the current glyph matrix. 1164 past the beginning of the current glyph matrix.
807 1165
8082011-10-30 Adam Sjøgren <asjo@koldfront.dk> (tiny change) 11662011-10-30 Adam Sjøgren <asjo@koldfront.dk> (tiny change)
809 1167
810 * xterm.c: Include X11/Xproto.h if HAVE_GTK3. 1168 * xterm.c: Include X11/Xproto.h if HAVE_GTK3.
811 (x_error_handler): Ignore BadMatch for X_SetInputFocus for 1169 (x_error_handler): Ignore BadMatch for X_SetInputFocus for
@@ -839,7 +1197,7 @@
839 1197
840 Fix the `xbytecode' command. 1198 Fix the `xbytecode' command.
841 * .gdbinit (xprintbytestr): New command. 1199 * .gdbinit (xprintbytestr): New command.
842 (xwhichsymbols): Renamed from `which'; all callers changed. 1200 (xwhichsymbols): Rename from `which'; all callers changed.
843 (xbytecode): Print the byte-code string as well. 1201 (xbytecode): Print the byte-code string as well.
844 1202
8452011-10-29 Kim Storm <storm@cua.dk> 12032011-10-29 Kim Storm <storm@cua.dk>
@@ -3511,6 +3869,9 @@
3511 3869
35122011-07-08 Jason Rumney <jasonr@gnu.org> 38702011-07-08 Jason Rumney <jasonr@gnu.org>
3513 3871
3872 * w32term.c (x_make_frame_visible): Use SH_SHOWNORMAL rather than
3873 SH_SHOW for hidden windows (Bug#5482).
3874
3514 * w32fns.c (w32_wnd_proc) [WM_TIMER, WM_SET_CURSOR]: Avoid using 3875 * w32fns.c (w32_wnd_proc) [WM_TIMER, WM_SET_CURSOR]: Avoid using
3515 frame struct members of non-existent frames (Bug#6284). 3876 frame struct members of non-existent frames (Bug#6284).
3516 3877
@@ -3530,7 +3891,7 @@
3530 * nsselect.m (ns_string_from_pasteboard): Don't use deprecated methods 3891 * nsselect.m (ns_string_from_pasteboard): Don't use deprecated methods
3531 cString and lossyCString on OSX >= 10.4 3892 cString and lossyCString on OSX >= 10.4
3532 3893
3533 * nsmenu.m (fillWithWidgetValue): Don't use depercated method 3894 * nsmenu.m (fillWithWidgetValue): Don't use deprecated method
3534 sizeToFit on OSX >= 10.2. 3895 sizeToFit on OSX >= 10.2.
3535 3896
3536 * nsimage.m (allocInitFromFile): Don't use deprecated method 3897 * nsimage.m (allocInitFromFile): Don't use deprecated method