aboutsummaryrefslogtreecommitdiffstats
path: root/src/ChangeLog
diff options
context:
space:
mode:
Diffstat (limited to 'src/ChangeLog')
-rw-r--r--src/ChangeLog334
1 files changed, 325 insertions, 9 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index d477d0574b3..3bc8900f01f 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,4 +1,4 @@
12012-03-02 Paul Eggert <eggert@cs.ucla.edu> 12012-04-09 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):
@@ -788,6 +788,322 @@
788 rather than rolling our own approximation. 788 rather than rolling our own approximation.
789 (SCROLL_BAR_VEC_SIZE): Remove; not used. 789 (SCROLL_BAR_VEC_SIZE): Remove; not used.
790 790
7912012-04-09 Glenn Morris <rgm@gnu.org>
792
793 * doc.c (Fsnarf_documentation): Check variables, functions are bound,
794 not just in the obarray, before snarfing them. (Bug#11036)
795
796 * Makefile.in ($(leimdir)/leim-list.el):
797 Pass EMACS rather than BUILT_EMACS.
798
7992012-04-09 Teodor Zlatanov <tzz@lifelogs.com>
800
801 * process.c (make_process):
802 * process.h: Add integer `gnutls_handshakes_tried' member to
803 process struct.
804
805 * gnutls.h: Add `GNUTLS_EMACS_HANDSHAKES_LIMIT' upper limit. Add
806 convenience `GNUTLS_LOG2i' macro.
807
808 * gnutls.c (gnutls_log_function2i): Convenience log function.
809 (emacs_gnutls_read): Use new log functions,
810 `gnutls_handshakes_tried' process member, and
811 `GNUTLS_EMACS_HANDSHAKES_LIMIT' to limit the number of handshake
812 attempts per process (connection).
813
8142012-04-09 Chong Yidong <cyd@gnu.org>
815
816 * eval.c (Fuser_variable_p, user_variable_p_eh)
817 (lisp_indirect_variable): Functions deleted.
818 (Fdefvar): Caller changed.
819
820 * callint.c (Finteractive, Fcall_interactively):
821 * minibuf.c (Fread_variable): Callers changed.
822
8232012-04-09 Eli Zaretskii <eliz@gnu.org>
824
825 * xdisp.c (set_cursor_from_row): If the display string appears in
826 the buffer at position that is closer to point than the position
827 after the display string, display the cursor on the first glyph of
828 the display string. Fixes cursor display when a 'display' text
829 property immediately follows invisible text. (Bug#11094)
830
8312012-04-09 Paul Eggert <eggert@cs.ucla.edu>
832
833 composite.c: use 'double' consistently
834 * composite.c (get_composition_id): Use 'double' consistently
835 instead of converting 'float' to 'double' and vice versa; this is
836 easier to understand and avoids a GCC warning.
837
8382012-04-09 Glenn Morris <rgm@gnu.org>
839
840 * Makefile.in: Generate leim-list with bootstrap-emacs, in
841 preparation for dumping it with emacs. (Bug#4789)
842 (leimdir): New variable.
843 ($(leimdir)/leim-list.el): New rule.
844 (emacs$(EXEEXT)): Depend on leim-list.el.
845
846 * buffer.c (Qucs_set_table_for_input): Remove. (Bug#9821)
847 (Fget_buffer_create): Don't call Qucs_set_table_for_input.
848 (init_buffer_once, syms_of_buffer): Remove Qucs_set_table_for_input.
849
8502012-04-08 Andreas Schwab <schwab@linux-m68k.org>
851
852 * lisp.h (struct Lisp_Symbol): Add explicit padding to ensure
853 proper alignment.
854
8552012-04-07 Juanma Barranquero <lekktu@gmail.com>
856
857 * xml.c (init_libxml2_functions) [WINDOWSNT]:
858 Remove unused local variable.
859
8602012-04-07 Paul Eggert <eggert@cs.ucla.edu>
861
862 Avoid unnecessary pointer scanning in garbage collection (Bug#10780).
863 * alloc.c (POINTERS_MIGHT_HIDE_IN_OBJECTS): New macro.
864 (mark_memory): Mark Lisp_Objects only if pointers might hide in
865 objects, as mark_maybe_pointer will catch them otherwise.
866 (GC_LISP_OBJECT_ALIGNMENT): Remove; no longer needed.
867 * s/gnu-linux.h (GC_LISP_OBJECT_ALIGNMENT) [__mc68000__]: Likewise.
868
8692012-04-07 Paul Eggert <eggert@cs.ucla.edu>
870
871 Fix typo that broke non-Windows builds.
872 * xml.c (libxml2_loaded_p) [!!WINDOWSNT]: 'inine' -> 'inline'.
873
8742012-04-07 Eli Zaretskii <eliz@gnu.org>
875
876 Support building on MS-Windows with libxml2.
877
878 * makefile.w32-in (OBJ2): Add xml.$(O).
879 (GLOBAL_SOURCES): Add xml.c.
880 ($(BLD)/xml.$(O)): New dependency list.
881
882 * xml.c (DEF_XML2_FN, LOAD_XML2_FN) [WINDOWSNT]: New macros.
883 (fn_htmlReadMemory, fn_xmlReadMemory, fn_xmlDocGetRootElement)
884 (fn_xmlFreeDoc, fn_xmlCleanupParser, fn_xmlCheckVersion)
885 [!WINDOWSNT]: New macros.
886 (init_libxml2_functions, libxml2_loaded_p): New functions.
887 (parse_region): Call fn_xmlCheckVersion instead of using the macro
888 LIBXML_TEST_VERSION. Call libxml2 functions via the fn_* macros.
889 (xml_cleanup_parser): New function, export for fn_xmlCleanupParser.
890 Calls xmlCleanupParser only if libxml2 was loaded (or statically
891 linked in).
892 (Flibxml_parse_html_region, Flibxml_parse_xml_region): Call
893 init_libxml2_functions before calling libxml2 functions.
894 (syms_of_xml) <Qlibxml2_dll>: DEFSYM it.
895
896 * emacs.c: Don't include libxml/parser.h.
897 (shut_down_emacs): Call xml_cleanup_parser, instead of calling
898 xmlCleanupParser directly.
899
900 * lisp.h [HAVE_LIBXML2]: Add prototype for xml_cleanup_parser.
901
9022012-04-07 Eli Zaretskii <eliz@gnu.org>
903
904 * indent.c (Fvertical_motion): If there is a display string at
905 point, use it.vpos to compute how many lines to backtrack after
906 move_it_to point. (Bug#11133)
907
9082012-04-06 Eli Zaretskii <eliz@gnu.org>
909
910 * buffer.h (FETCH_CHAR, FETCH_MULTIBYTE_CHAR):
911 * character.h (STRING_CHAR, STRING_CHAR_AND_LENGTH): Add comments
912 about subtle differences between FETCH_CHAR* and STRING_CHAR*
913 macros related to unification of CJK characters. For the details,
914 see the discussion following the message here:
915 http://debbugs.gnu.org/cgi/bugreport.cgi?bug=11073#14.
916
9172012-04-04 Chong Yidong <cyd@gnu.org>
918
919 * keyboard.c (Vdelayed_warnings_list): Doc fix.
920
9212012-04-01 Eli Zaretskii <eliz@gnu.org>
922
923 * w32menu.c (simple_dialog_show, add_menu_item): Use SAFE_ALLOCA
924 instead of alloca. (Bug#11138)
925
9262012-04-01 Andreas Schwab <schwab@linux-m68k.org>
927
928 * w32menu.c (is_simple_dialog): Properly check lisp types.
929 (Bug#11141)
930
9312012-03-31 Eli Zaretskii <eliz@gnu.org>
932
933 * xdisp.c (move_it_by_lines): When DVPOS is positive, and the
934 position we get to after a call to move_it_to fails the
935 IS_POS_VALID_AFTER_MOVE_P test, move to the next buffer position
936 only if we wind up in a string from display property. (Bug#11063)
937
938 * window.c (Fdelete_other_windows_internal): Invalidate the row
939 and column information about mouse highlight, so that redisplay
940 restores it after reallocating the glyph matrices. (Bug#7464)
941
942 * xdisp.c (set_cursor_from_row): If `cursor' property on a display
943 string comes from a `display' text property, use the buffer
944 position of that property as if we actually saw that position in
945 the row's glyphs.
946 (move_it_by_lines): Remove the assertion that
947 "it->current_x == 0 && it->hpos == 0" which can be legitimately
948 violated when there's a before-string at the beginning of a line.
949 (Bug#11063)
950
9512012-03-30 Eli Zaretskii <eliz@gnu.org>
952
953 * xdisp.c (append_space_for_newline): If the default face was
954 remapped, use the remapped face for the appended newline.
955 (extend_face_to_end_of_line): Use the remapped default face for
956 extending the face to the end of the line.
957 (display_line): Call extend_face_to_end_of_line when the default
958 face was remapped. (Bug#11068)
959
9602012-03-29 Eli Zaretskii <eliz@gnu.org>
961
962 * s/ms-w32.h: Discourage from defining HAVE_GETCWD.
963
9642012-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
965
966 * keyboard.c (safe_run_hooks_error): Don't unquote strings.
967
9682012-03-27 Glenn Morris <rgm@gnu.org>
969
970 * search.c (Fword_search_backward_lax, Fword_search_forward_lax):
971 Doc fixes.
972
9732012-03-26 Kenichi Handa <handa@m17n.org>
974
975 * dispextern.h (struct glyph): Fix previous change. Change the
976 bit length of glyphless.ch to 25 (Bug#11082).
977
9782012-03-26 Chong Yidong <cyd@gnu.org>
979
980 * keyboard.c (Vselection_inhibit_update_commands): New variable.
981 (command_loop_1): Use it; inhibit selection update for
982 handle-select-window too (Bug#8996).
983
9842012-03-25 Fabrice Popineau <fabrice.popineau@supelec.fr>
985
986 * w32heap.c (_heap_init, _heap_term): Remove dead MSVC-specific code.
987
9882012-03-25 Kenichi Handa <handa@m17n.org>
989
990 * dispextern.h (struct glyph): Change the bit length of
991 glyphless.ch to 22 to make the member glyphless fit in 32 bits.
992
9932012-03-24 Eli Zaretskii <eliz@gnu.org>
994
995 * s/ms-w32.h (tzname): Include time.h before redirecting to
996 _tzname. Fixes the MSVC build. (Bug#9960)
997
9982012-03-24 Andreas Schwab <schwab@linux-m68k.org>
999
1000 * xdisp.c (produce_glyphless_glyph): Limit length of acronym to 6
1001 characters.
1002
1003 * xterm.c (XTread_socket): Only modify handling_signal if
1004 !SYNC_INPUT. (Bug#11080)
1005
10062012-03-23 Eli Zaretskii <eliz@gnu.org>
1007
1008 * bidi.c (bidi_fetch_char): Use STRING_CHAR_AND_LENGTH instead of
1009 FETCH_MULTIBYTE_CHAR followed by CHAR_BYTES. Prevents crashes
1010 when fetching a multibyte character consumes more bytes than
1011 CHAR_BYTES returns, due to unification of CJK characters in
1012 string_char. (Bug#11073)
1013
10142012-03-23 Troels Nielsen <bn.troels@gmail.com> (tiny change)
1015
1016 * process.c (wait_reading_process_output): Handle pty disconnect
1017 by refraining from sending oneself a SIGCHLD (bug#10933).
1018
10192012-03-22 Chong Yidong <cyd@gnu.org>
1020
1021 * dispextern.h (struct it): New member string_from_prefix_prop_p.
1022
1023 * xdisp.c (push_prefix_prop): Rename from push_display_prop.
1024 Mark string as coming from a prefix property.
1025 (handle_face_prop): Use default face for prefix strings (Bug#4281).
1026 (pop_it, reseat_1): Save and restore string_from_prefix_prop_p.
1027
10282012-03-21 Chong Yidong <cyd@gnu.org>
1029
1030 * xfaces.c (Vface_remapping_alist): Doc fix.
1031
10322012-03-20 Eli Zaretskii <eliz@gnu.org>
1033
1034 * w32proc.c (Fw32_set_console_codepage)
1035 (Fw32_set_console_output_codepage, Fw32_get_codepage_charset):
1036 Doc fixes.
1037
10382012-03-20 Chong Yidong <cyd@gnu.org>
1039
1040 * dispnew.c (Fredisplay, Vredisplay_preemption_period): Update doc
1041 to reflect default non-nil value of redisplay-dont-pause.
1042
10432012-03-19 Kenichi Handa <handa@m17n.org>
1044
1045 * ftfont.c (ftfont_drive_otf): Mask bits of character code to make
1046 it fit in a valid range (Bug#11003).
1047
10482012-03-18 Eli Zaretskii <eliz@gnu.org>
1049
1050 * xdisp.c (cursor_row_p): Even if the glyph row ends in a string
1051 that is not from display property, accept the row as a "cursor
1052 row" if one of the string's character has a non-nil `cursor'
1053 property. Fixes cursor positioning when there are newlines in
1054 overlay strings, e.g. in icomplete.el. (Bug#11035)
1055
10562012-03-12 Paul Eggert <eggert@cs.ucla.edu>
1057
1058 * buffer.c (compare_overlays): Don't assume args differ (Bug#6830).
1059
10602012-03-12 Chong Yidong <cyd@gnu.org>
1061
1062 * eval.c (inhibit_lisp_code): Rename from
1063 inhibit_window_configuration_change_hook; move from window.c.
1064
1065 * xfns.c (unwind_create_frame_1, Fx_create_frame):
1066 * window.c (run_window_configuration_change_hook)
1067 (syms_of_window): Callers changed.
1068
10692012-03-11 Chong Yidong <cyd@gnu.org>
1070
1071 * keymap.c (Fkey_description): Doc fix (Bug#9700).
1072
1073 * editfns.c (Fconstrain_to_field): Doc fix (Bug#9452).
1074
10752012-03-10 Chong Yidong <cyd@gnu.org>
1076
1077 * frame.c (other_visible_frames): Don't assume the selected frame
1078 is visible (Bug#10955).
1079
10802012-03-09 Stefan Monnier <monnier@iro.umontreal.ca>
1081
1082 * buffer.c (compare_overlays): Avoid qsort's instability (bug#6830).
1083
10842012-03-08 Jan Djärv <jan.h.d@swipnet.se>
1085
1086 * gtkutil.c (x_wm_set_size_hint): Use one row in call to
1087 FRAME_TEXT_LINES_TO_PIXEL_HEIGHT so base_height is greater than
1088 zero (Bug#10954).
1089
10902012-03-03 Glenn Morris <rgm@gnu.org>
1091
1092 * alloc.c (Fgarbage_collect, misc-objects-consed): Doc fixes.
1093
10942012-03-02 Eli Zaretskii <eliz@gnu.org>
1095
1096 * xdisp.c (try_window_reusing_current_matrix): Don't move cursor
1097 position past the first glyph_row that ends at ZV. (Bug#10902)
1098 (redisplay_window, next_element_from_string): Fix typos in
1099 comments.
1100 (redisplay_window): Pass to move_it_vertically the margin in
1101 pixels, not in screen lines.
1102
11032012-03-02 Glenn Morris <rgm@gnu.org>
1104
1105 * buffer.c (buffer-list-update-hook): Doc fix.
1106
7912012-02-29 Eli Zaretskii <eliz@gnu.org> 11072012-02-29 Eli Zaretskii <eliz@gnu.org>
792 1108
793 * xdisp.c (get_overlay_strings_1): Under bidi redisplay, call 1109 * xdisp.c (get_overlay_strings_1): Under bidi redisplay, call
@@ -968,8 +1284,8 @@
968 1284
9692012-02-04 Eli Zaretskii <eliz@gnu.org> 12852012-02-04 Eli Zaretskii <eliz@gnu.org>
970 1286
971 * w32.c (get_emacs_configuration_options): Include 1287 * w32.c (get_emacs_configuration_options):
972 --enable-checking, if specified, in the return value. 1288 Include --enable-checking, if specified, in the return value.
973 1289
9742012-02-04 Martin Rudalics <rudalics@gmx.at> 12902012-02-04 Martin Rudalics <rudalics@gmx.at>
975 1291
@@ -1075,8 +1391,8 @@
10752012-01-19 Martin Rudalics <rudalics@gmx.at> 13912012-01-19 Martin Rudalics <rudalics@gmx.at>
1076 1392
1077 * window.c (save_window_save, Fcurrent_window_configuration) 1393 * window.c (save_window_save, Fcurrent_window_configuration)
1078 (Vwindow_persistent_parameters): Do not use Qstate. Rewrite 1394 (Vwindow_persistent_parameters): Do not use Qstate.
1079 doc-strings. 1395 Rewrite doc-strings.
1080 1396
10812012-01-19 Kenichi Handa <handa@m17n.org> 13972012-01-19 Kenichi Handa <handa@m17n.org>
1082 1398
@@ -1250,9 +1566,9 @@
1250 * nsselect.m (CUT_BUFFER_SUPPORT): Remove define. 1566 * nsselect.m (CUT_BUFFER_SUPPORT): Remove define.
1251 (symbol_to_nsstring): Fix indentation. 1567 (symbol_to_nsstring): Fix indentation.
1252 (ns_symbol_to_pb): New function. 1568 (ns_symbol_to_pb): New function.
1253 (Fns_get_selection_internal): Renamed from Fns_get_cut_buffer_internal. 1569 (Fns_get_selection_internal): Rename from Fns_get_cut_buffer_internal.
1254 (Fns_rotate_cut_buffers_internal): Removed. 1570 (Fns_rotate_cut_buffers_internal): Remove.
1255 (Fns_store_selection_internal): Renamed from 1571 (Fns_store_selection_internal): Rename from
1256 Fns_store_cut_buffer_internal. 1572 Fns_store_cut_buffer_internal.
1257 (ns_get_foreign_selection, Fx_own_selection_internal) 1573 (ns_get_foreign_selection, Fx_own_selection_internal)
1258 (Fx_disown_selection_internal, Fx_selection_exists_p) 1574 (Fx_disown_selection_internal, Fx_selection_exists_p)
@@ -1393,7 +1709,7 @@
1393 (coding_set_destination): Return how many bytes 1709 (coding_set_destination): Return how many bytes
1394 coding->destination was relocated. 1710 coding->destination was relocated.
1395 (CODING_DECODE_CHAR, CODING_ENCODE_CHAR, CODING_CHAR_CHARSET) 1711 (CODING_DECODE_CHAR, CODING_ENCODE_CHAR, CODING_CHAR_CHARSET)
1396 (CODING_CHAR_CHARSET_P): Adjusted for the avove changes. 1712 (CODING_CHAR_CHARSET_P): Adjust for the avove changes.
1397 1713
13982011-12-05 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change) 17142011-12-05 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change)
1399 1715