aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog64
-rw-r--r--src/term.c1
2 files changed, 34 insertions, 31 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index b7bf4599d63..d7395f70d11 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,4 +1,4 @@
12011-05-16 Paul Eggert <eggert@cs.ucla.edu> 12011-05-18 Paul Eggert <eggert@cs.ucla.edu>
2 2
3 * insdel.c (count_size_as_multibyte): Check for string overflow. 3 * insdel.c (count_size_as_multibyte): Check for string overflow.
4 4
@@ -17,8 +17,6 @@
17 * character.c (string_escape_byte8): Likewise. 17 * character.c (string_escape_byte8): Likewise.
18 * lisp.h (string_overflow): New decl. 18 * lisp.h (string_overflow): New decl.
19 19
202011-05-15 Paul Eggert <eggert@cs.ucla.edu>
21
22 Fixups, following up to the user-interface timestamp change. 20 Fixups, following up to the user-interface timestamp change.
23 * nsterm.m (last_mouse_movement_time, ns_mouse_position): Use Time 21 * nsterm.m (last_mouse_movement_time, ns_mouse_position): Use Time
24 for UI timestamps, instead of unsigned long. 22 for UI timestamps, instead of unsigned long.
@@ -93,6 +91,10 @@
93 91
94 * window.c (size_window): Avoid needless test at loop start. 92 * window.c (size_window): Avoid needless test at loop start.
95 93
942011-05-18 Courtney Bane <emacs-bugs-7626@cbane.org> (tiny change)
95
96 * term.c (Fresume_tty): Restore hooks before reinitializing (bug#8687).
97
962011-05-12 Drew Adams <drew.adams@oracle.com> 982011-05-12 Drew Adams <drew.adams@oracle.com>
97 99
98 * textprop.c (Fprevious_single_char_property_change): Doc fix (bug#8655). 100 * textprop.c (Fprevious_single_char_property_change): Doc fix (bug#8655).
@@ -103,8 +105,8 @@
103 `width' to `bar_area_x' and `bar_area_width', respectively. 105 `width' to `bar_area_x' and `bar_area_width', respectively.
104 (x_scroll_run): Take account of fringe background extension. 106 (x_scroll_run): Take account of fringe background extension.
105 107
106 * xterm.c (x_draw_fringe_bitmap) [USE_TOOLKIT_SCROLL_BARS]: Rename 108 * xterm.c (x_draw_fringe_bitmap) [USE_TOOLKIT_SCROLL_BARS]:
107 local vars `left' and `width' to `bar_area_x' and 109 Rename local vars `left' and `width' to `bar_area_x' and
108 `bar_area_width', respectively. 110 `bar_area_width', respectively.
109 (x_scroll_run) [USE_TOOLKIT_SCROLL_BARS]: Take account of fringe 111 (x_scroll_run) [USE_TOOLKIT_SCROLL_BARS]: Take account of fringe
110 background extension. 112 background extension.
@@ -221,8 +223,8 @@
221 * dbusbind.c: Do not use XPNTR on a value that may be an integer. 223 * dbusbind.c: Do not use XPNTR on a value that may be an integer.
222 Reported by Stefan Monnier in 224 Reported by Stefan Monnier in
223 <http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00919.html>. 225 <http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00919.html>.
224 (xd_remove_watch, Fdbus_init_bus, xd_read_queued_messages): Use 226 (xd_remove_watch, Fdbus_init_bus, xd_read_queued_messages):
225 SYMBOLP-guarded XSYMBOL, not XPNTR. 227 Use SYMBOLP-guarded XSYMBOL, not XPNTR.
226 228
227 * lisp.h (EMACS_INTPTR): Remove. All uses changed to intptr_t. 229 * lisp.h (EMACS_INTPTR): Remove. All uses changed to intptr_t.
228 (EMACS_UINTPTR): Likewise, with uintptr_t. 230 (EMACS_UINTPTR): Likewise, with uintptr_t.
@@ -408,8 +410,8 @@
408 * callproc.c: Indentation fixup. 410 * callproc.c: Indentation fixup.
409 411
410 * sysdep.c (wait_for_termination_1): Make static. 412 * sysdep.c (wait_for_termination_1): Make static.
411 (wait_for_termination, interruptible_wait_for_termination): Move 413 (wait_for_termination, interruptible_wait_for_termination):
412 after wait_for_termination_1. 414 Move after wait_for_termination_1.
413 415
4142011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org> 4162011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
415 417
@@ -525,8 +527,8 @@
525 (emacs_gnutls_write): Don't use uninitialized rtnval if nbyte <= 0. 527 (emacs_gnutls_write): Don't use uninitialized rtnval if nbyte <= 0.
526 528
527 * lisp.h: Fix a problem with aliasing and vector headers. (Bug#8546) 529 * lisp.h: Fix a problem with aliasing and vector headers. (Bug#8546)
528 GCC 4.6.0 optimizes based on type-based alias analysis. For 530 GCC 4.6.0 optimizes based on type-based alias analysis.
529 example, if b is of type struct buffer * and v of type struct 531 For example, if b is of type struct buffer * and v of type struct
530 Lisp_Vector *, then gcc -O2 was incorrectly assuming that &b->size 532 Lisp_Vector *, then gcc -O2 was incorrectly assuming that &b->size
531 != &v->size, and therefore "v->size = 1; b->size = 2; return 533 != &v->size, and therefore "v->size = 1; b->size = 2; return
532 v->size;" must therefore return 1. This assumption is incorrect 534 v->size;" must therefore return 1. This assumption is incorrect
@@ -546,8 +548,8 @@
546 (XSETPSEUDOVECTOR): Rewrite in terms of XSETTYPED_PSEUDOVECTOR. 548 (XSETPSEUDOVECTOR): Rewrite in terms of XSETTYPED_PSEUDOVECTOR.
547 (XSETSUBR): Rewrite in terms of XSETTYPED_PSEUDOVECTOR and XSIZE, 549 (XSETSUBR): Rewrite in terms of XSETTYPED_PSEUDOVECTOR and XSIZE,
548 since Lisp_Subr is a special case (no "next" field). 550 since Lisp_Subr is a special case (no "next" field).
549 (ASIZE): Now uses header.size rather than size. All 551 (ASIZE): Now uses header.size rather than size.
550 previous uses of XVECTOR (foo)->size replaced to use this macro, 552 All previous uses of XVECTOR (foo)->size replaced to use this macro,
551 to avoid the hassle of writing XVECTOR (foo)->header.size. 553 to avoid the hassle of writing XVECTOR (foo)->header.size.
552 (struct vectorlike_header): New type. 554 (struct vectorlike_header): New type.
553 (TYPED_PSEUDOVECTORP): New macro, also specifying the C type of the 555 (TYPED_PSEUDOVECTORP): New macro, also specifying the C type of the
@@ -596,7 +598,7 @@
596 Break out the floating-point parsing into a new 598 Break out the floating-point parsing into a new
597 function string_to_number, so that Fstring_to_number parses 599 function string_to_number, so that Fstring_to_number parses
598 floating point numbers consistently with the Lisp reader. 600 floating point numbers consistently with the Lisp reader.
599 (digit_to_number): Moved here from data.c. Make it static inline. 601 (digit_to_number): Move here from data.c. Make it static inline.
600 (E_CHAR, EXP_INT): Remove, replacing with ... 602 (E_CHAR, EXP_INT): Remove, replacing with ...
601 (E_EXP): New macro, to solve the "1.0e+" problem mentioned below. 603 (E_EXP): New macro, to solve the "1.0e+" problem mentioned below.
602 (string_to_number): New function, replacing isfloat_string. 604 (string_to_number): New function, replacing isfloat_string.
@@ -833,8 +835,8 @@
833 Fix doprnt so it could be used again safely in `verror'. (Bug#8435) 835 Fix doprnt so it could be used again safely in `verror'. (Bug#8435)
834 * doprnt.c: Include limits.h. 836 * doprnt.c: Include limits.h.
835 (SIZE_MAX): New macro. 837 (SIZE_MAX): New macro.
836 (doprnt): Return a size_t value. 2nd arg is now size_t. Many 838 (doprnt): Return a size_t value. 2nd arg is now size_t.
837 local variables are now size_t instead of int or unsigned. 839 Many local variables are now size_t instead of int or unsigned.
838 Improve overflow protection. Support `l' modifier for integer 840 Improve overflow protection. Support `l' modifier for integer
839 conversions. Support %l conversion. Don't assume an EMACS_INT 841 conversions. Support %l conversion. Don't assume an EMACS_INT
840 argument for integer conversions and for %c. 842 argument for integer conversions and for %c.
@@ -1035,8 +1037,8 @@
1035 1037
1036 * syntax.c (update_syntax_table): Declare 2nd argument EMACS_INT. 1038 * syntax.c (update_syntax_table): Declare 2nd argument EMACS_INT.
1037 1039
1038 * textprop.c (verify_interval_modification, interval_of): Declare 1040 * textprop.c (verify_interval_modification, interval_of):
1039 arguments EMACS_INT. 1041 Declare arguments EMACS_INT.
1040 1042
1041 * intervals.c (adjust_intervals_for_insertion): Declare arguments 1043 * intervals.c (adjust_intervals_for_insertion): Declare arguments
1042 EMACS_INT. 1044 EMACS_INT.
@@ -1287,8 +1289,8 @@
1287 (free_realized_fontset) #if-0 the body, which does nothing. 1289 (free_realized_fontset) #if-0 the body, which does nothing.
1288 (face_suitable_for_char_p): #if-0, as it's never called. 1290 (face_suitable_for_char_p): #if-0, as it's never called.
1289 * fontset.h (face_suitable_for_char_p): Remove decl. 1291 * fontset.h (face_suitable_for_char_p): Remove decl.
1290 * xfaces.c (face_at_string_position): Use 1292 * xfaces.c (face_at_string_position):
1291 FACE_SUITABLE_FOR_ASCII_CHAR_P, not FACE_SUITABLE_FOR_CHAR_P, 1293 Use FACE_SUITABLE_FOR_ASCII_CHAR_P, not FACE_SUITABLE_FOR_CHAR_P,
1292 since 0 is always ASCII. 1294 since 0 is always ASCII.
1293 1295
1294 * fns.c (weak_hash_tables): Now static. 1296 * fns.c (weak_hash_tables): Now static.
@@ -1397,8 +1399,8 @@
1397 (last_point_position_window): Remove decls. 1399 (last_point_position_window): Remove decls.
1398 * keyboard.c: Make these variables static. 1400 * keyboard.c: Make these variables static.
1399 1401
1400 * coding.h (coding, code_convert_region, encode_coding_gap): Remove 1402 * coding.h (coding, code_convert_region, encode_coding_gap):
1401 decls. 1403 Remove decls.
1402 * coding.c (Vsjis_coding_system, Vbig5_coding_system): 1404 * coding.c (Vsjis_coding_system, Vbig5_coding_system):
1403 (iso_code_class, detect_coding, code_convert_region): Now static. 1405 (iso_code_class, detect_coding, code_convert_region): Now static.
1404 (encode_coding_gap): Remove; unused. 1406 (encode_coding_gap): Remove; unused.
@@ -1429,7 +1431,7 @@
1429 exported only to the debugger. 1431 exported only to the debugger.
1430 1432
1431 * atimer.c (alarm_signal_handler, run_all_atimers): Now static. 1433 * atimer.c (alarm_signal_handler, run_all_atimers): Now static.
1432 * atimer.h (run_all_atimers): Removed; not exported. 1434 * atimer.h (run_all_atimers): Remove; not exported.
1433 1435
1434 font.c: Make copy_font_spec and merge_font_spec ordinary C functions. 1436 font.c: Make copy_font_spec and merge_font_spec ordinary C functions.
1435 * font.c (copy_font_spec): Rename from Fcopy_font_spec, since it 1437 * font.c (copy_font_spec): Rename from Fcopy_font_spec, since it
@@ -1684,8 +1686,8 @@
1684 1686
16852011-04-09 Chong Yidong <cyd@stupidchicken.com> 16872011-04-09 Chong Yidong <cyd@stupidchicken.com>
1686 1688
1687 * ftfont.c (get_adstyle_property, ftfont_pattern_entity): Use 1689 * ftfont.c (get_adstyle_property, ftfont_pattern_entity):
1688 unsigned char, to match FcChar8 type definition. 1690 Use unsigned char, to match FcChar8 type definition.
1689 1691
1690 * xterm.c (handle_one_xevent): 1692 * xterm.c (handle_one_xevent):
1691 * xmenu.c (create_and_show_popup_menu): 1693 * xmenu.c (create_and_show_popup_menu):
@@ -1758,8 +1760,8 @@
1758 1760
17592011-04-06 Chong Yidong <cyd@stupidchicken.com> 17612011-04-06 Chong Yidong <cyd@stupidchicken.com>
1760 1762
1761 * process.c (Flist_processes): Removed to Lisp. 1763 * process.c (Flist_processes): Remove to Lisp.
1762 (list_processes_1): Deleted. 1764 (list_processes_1): Delete.
1763 1765
17642011-04-06 Eli Zaretskii <eliz@gnu.org> 17662011-04-06 Eli Zaretskii <eliz@gnu.org>
1765 1767
@@ -2017,8 +2019,8 @@
2017 * callint.c (Fcall_interactively): Preserve lexical-binding mode for 2019 * callint.c (Fcall_interactively): Preserve lexical-binding mode for
2018 interactive spec. 2020 interactive spec.
2019 2021
2020 * bytecode.c (Bstack_ref, Bstack_set, Bstack_set2, BdiscardN): New 2022 * bytecode.c (Bstack_ref, Bstack_set, Bstack_set2, BdiscardN):
2021 byte-codes. 2023 New byte-codes.
2022 (exec_byte_code): New function extracted from Fbyte_code to handle new 2024 (exec_byte_code): New function extracted from Fbyte_code to handle new
2023 calling convention for byte-code-functions. Add new byte-codes. 2025 calling convention for byte-code-functions. Add new byte-codes.
2024 2026
@@ -2033,8 +2035,8 @@
20332011-03-31 Eli Zaretskii <eliz@gnu.org> 20352011-03-31 Eli Zaretskii <eliz@gnu.org>
2034 2036
2035 * xdisp.c (SCROLL_LIMIT): New macro. 2037 * xdisp.c (SCROLL_LIMIT): New macro.
2036 (try_scrolling): Use it when setting scroll_limit. Limit 2038 (try_scrolling): Use it when setting scroll_limit.
2037 scrolling to 100 screen lines. 2039 Limit scrolling to 100 screen lines.
2038 (redisplay_window): Even when falling back on "recentering", 2040 (redisplay_window): Even when falling back on "recentering",
2039 position point in the window according to scroll-conservatively, 2041 position point in the window according to scroll-conservatively,
2040 scroll-margin, and scroll-*-aggressively variables. (Bug#6671) 2042 scroll-margin, and scroll-*-aggressively variables. (Bug#6671)
diff --git a/src/term.c b/src/term.c
index 5fe258caa29..9205719b5f4 100644
--- a/src/term.c
+++ b/src/term.c
@@ -2595,6 +2595,7 @@ frame's terminal). */)
2595 FRAME_SET_VISIBLE (XFRAME (t->display_info.tty->top_frame), 1); 2595 FRAME_SET_VISIBLE (XFRAME (t->display_info.tty->top_frame), 1);
2596 } 2596 }
2597 2597
2598 set_tty_hooks (t);
2598 init_sys_modes (t->display_info.tty); 2599 init_sys_modes (t->display_info.tty);
2599 2600
2600 { 2601 {