* xdisp.c (back_to_previous_visible_line_start): Reset
[bpt/emacs.git] / src / ChangeLog
index 27040e7..ffafa71 100644 (file)
@@ -1,3 +1,123 @@
+2006-06-14  Chong Yidong  <cyd@stupidchicken.com>
+
+       * xdisp.c (back_to_previous_visible_line_start): Reset
+       it->continuation_lines_width.
+
+2006-06-14  Richard Stallman  <rms@gnu.org>
+
+       * eval.c (Fdefconst): Mark variable as risky.
+
+       * callproc.c (Fcall_process): Doc fix.
+
+       * window.c (adjust_window_trailing_edge): Don't break out of the loop
+       because there's no next window, if there are parallel windows.
+       Do break out when WINDOW is nil.
+       
+2006-06-14  Kim F. Storm  <storm@cua.dk>
+
+       * dispextern.h (IT_STACK_SIZE): New macro specifying size of
+       iterator stack (instead of hardcoded number).  Increase from 2 to
+       4 to make room for propertized overlay strings before and after a
+       display string, image or composition.
+       (struct it): Add image_id and method members to iterator stack.
+
+       * xdisp.c (init_from_display_pos): Don't set it->method and
+       overlay_string_index after pop_it.  Add asserts.
+       (handle_stop): Look for overlay strings around a display string,
+       image, or composition.  Handle properties on those strings.
+       (next_overlay_string): Don't set string, pos or method after pop_it.
+       (get_overlay_strings_1): Split from get_overlay_strings; don't
+       modify it if no overlay strings are found.
+       (get_overlay_strings): Use get_overlay_strings_1.  Always set
+       it->string and it->method.
+       (push_it): Push it->image_id and it->method.  Push it->object
+       instead of it->string if method is GET_FROM_IMAGE.
+       (pop_it): Pop it->image_id and it->method.  Ppo it->object
+       instead of it->string if method is GET_FROM_IMAGE.
+       Reset it->current.string_pos if popped it->string is nil.
+       (reseat_1): Remove comment dated 19 May 2003.  It expressed doubt
+       whether a given change was correct; but the change is correct.
+       Clear it->string_from_display_prop_p.
+       (set_iterator_to_next): Rely on it->method and it->image_id from
+       iterator stack, instead of setting them explicitly after pop_it.
+
+       * dispnew.c (sit_for): Undo 2006-06-01 change.  Instead, a
+       negative time forces redisplay even when input is available.
+       (Fsit_for): Doc fix.
+
+2006-06-13  Kim F. Storm  <storm@cua.dk>
+
+       * dispnew.c: Modify preemptive redisplay to be based on periodic
+       checks for input.
+       (PERIODIC_PREEMPTION_CHECKING): Define to 1 iff EMACS_HAS_USECS.
+       (Vredisplay_preemption_period): New variable.
+       (syms_of_display): DEFVAR_LISP and initialize it.
+       (preemption_period, preemption_next_check): New variables.
+       (update_frame, update_single_window): Initialize them based on
+       Vredisplay_preemption_period if !force_p.
+       (update_window, update_frame_1): Use them to determine when to
+       check for input.
+
+2006-06-03  Aidan Kehoe  <kehoea@parhasard.net>
+
+       * lread.c (read_escape): Provide a Unicode character escape
+       syntax; \u followed by exactly four or \U followed by exactly
+       eight hex digits in a comment or string is read as a Unicode
+       character with that code point.
+
+2006-06-09  Eli Zaretskii  <eliz@gnu.org>
+
+       * window.c (window_scroll_pixel_based): Signal "Beginning of
+       buffer" when scroll-down at the beginning of an empty buffer.
+
+2006-06-06  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
+
+       * macterm.c [USE_MAC_TSM] (mac_handle_text_input_event): Exclude
+       0x7f from ASCII range.
+
+2006-06-05  Jason Rumney  <jasonr@gnu.org>
+
+       * w32term.c (w32_set_scroll_bar_thumb, x_scroll_bar_create)
+       (w32_set_vertical_scroll_bar, w32_scroll_bar_handle_click)
+       (x_scroll_bar_report_motion): Remove workarounds for
+       versions of Windows NT < 3.51.
+       [!SIF_ALL]: Remove.
+       (pfnSetScrollInfo, pfnGetScrollInfo): Remove.
+       (w32_initialize): Don't dynamically load Get/SetScrollInfo.
+
+2006-06-04  David Kastrup  <dak@gnu.org>
+
+       * dispnew.c: Mention `redisplay-dont-pause' in doc string of
+       `sit-for'.
+
+2006-06-03  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
+
+       * macfns.c (x_set_icon_name): Apply 2006-06-02 change for xfns.c.
+
+       * macgui.h (USE_MAC_TSM): Set default to 1 on Mac OS X.
+
+       * macterm.c (tsm_document_id) [USE_MAC_TSM]: New variable.
+       (Qtext_input, Qupdate_active_input_area, Qunicode_for_key_event)
+       [USE_MAC_TSM]: Likewise.
+       (syms_of_macterm) [USE_MAC_TSM]: Intern and staticpro them.
+       (Qbefore_string) [USE_MAC_TSM]: Add extern.
+       (do_app_resume, do_app_suspend) [USE_MAC_TSM]: Call
+       ActivateTSMDocument/DeactivateTSMDocument.
+       (mac_store_event_ref_as_apple_event): Call mac_post_mouse_moved_event.
+       (mac_handle_window_event) [USE_MAC_TSM]: Handle
+       kEventWindowFocusAcquired/kEventWindowFocusRelinquish.
+       (mac_handle_text_input_event) [USE_MAC_TSM]: New function.
+       (install_window_handler) [USE_MAC_TSM]: Install it.  Register
+       kEventWindowFocusAcquired/kEventWindowFocusRelinquish.
+       (keycode_to_xkeysym_table): Add entry for f16.
+       (XTread_socket) [USE_MAC_TSM]: Set/reset read_socket_inev
+       before/after passing keystroke event to toolbox dispatcher.
+       (init_tsm) [USE_MAC_TSM]: New function.
+       (mac_initialize) [USE_MAC_TSM]: Call it.
+       (Vmac_ts_active_input_overlay) [USE_MAC_TSM]: New defvar.
+
+       * macterm.h (EVENT_PARAM_TEXT_INPUT_SEQUENCE_NUMBER): New enumerator.
+
 2006-06-02  John Paul Wallington  <jpw@gnu.org>
 
        * xfns.c (x_set_name_internal): Set icon to `text', derived from
 
        * xfns.c (xic_create_xfontset): Initialize missing_list to NULL.
 
-2004-10-21  K\e,Ba\e(Broly L\e,Bu\e(Brentey  <lorentey@elte.hu>
+2004-10-21  K\e,Aa\e(Broly L\e$,1 q\e(Brentey  <lorentey@elte.hu>
 
        * xterm.h (x_output): New member `xic_base_fontname'.
        (FRAME_XIC_BASE_FONTNAME): New macro.
        * fileio.c (Fvisited_file_modtime): Return a list of two integers,
        instead of a cons.
 
-2004-07-14  K\e,Ba\e(Broly L\e,Bu\e(Brentey  <lorentey@elte.hu>
+2004-07-14  K\e,Aa\e(Broly L\e$,1 q\e(Brentey  <lorentey@elte.hu>
 
        * keyboard.c (echo_dash): Do nothing if there already is a dash
        at the end of the echo string.
        * keyboard.c (cmd_error): Don't call any_kboard_state
        if inside a recursive edit level.
 
-2004-06-13  K\e,Ba\e(Broly L\e,Bu\e(Brentey  <lorentey@elte.hu>
+2004-06-13  K\e,Aa\e(Broly L\e$,1 q\e(Brentey  <lorentey@elte.hu>
 
        * keyboard.c (command_loop): Call any_kboard_state before
        command_loop_2 when at top level.
        before actually accepting connection in case it has already been
        accepted due to recursion.
 
-2004-05-23  K\e,Ba\e(Broly L\e,Bu\e(Brentey  <lorentey@elte.hu>
+2004-05-23  K\e,Aa\e(Broly L\e$,1 q\e(Brentey  <lorentey@elte.hu>
 
        * coding.c (Fset_safe_terminal_coding_system_internal):
        Set suppress_error in safe_terminal_coding, not terminal_coding.