(read_filtered_event): Remove `register' qualifier because it
[bpt/emacs.git] / src / ChangeLog
index 8f17def..f7c171e 100644 (file)
@@ -1,3 +1,296 @@
+2006-07-07  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * lread.c (read_filtered_event): Remove `register' qualifier because it
+       causes compilation problem with gcc-4.0.2-20051125 on amd64.
+
+2006-07-07  Eli Zaretskii  <eliz@gnu.org>
+
+       * keyboard.c (Fexecute_extended_command): Mention the argument
+       PREFIXARG in the doc string.
+
+2006-07-07  Kim F. Storm  <storm@cua.dk>
+
+       * fringe.c (Fdefine_fringe_bitmap): Doc fix.
+
+2006-07-05  Chong Yidong  <cyd@stupidchicken.com>
+
+       * insdel.c (prepare_to_modify_buffer): For an indirect buffer, do
+       clash detection using the base buffer.
+
+       * puresize.h (BASE_PURESIZE): Increment to 1210500.
+
+2006-07-04  Kim F. Storm  <storm@cua.dk>
+
+       * xterm.c (x_delete_display): Don't free or derefence NULL pointers.
+
+2006-07-04  Kenichi Handa  <handa@m17n.org>
+
+       * fontset.c (Fset_overriding_fontspec_internal): Check if we need
+       to update Voverriding_fontspec_alist.
+
+2006-07-03  Richard Stallman  <rms@gnu.org>
+
+       * xfns.c (Fx_create_frame): Move unwind_create_frame setup down.
+
+       * xfaces.c (Fface_attribute_relative_p): Doc fix.
+
+       * textprop.c (Fget_char_property_and_overlay): Doc fix.
+
+       * eval.c (Fdefvaralias): Doc fix.
+
+2006-07-03  Kim F. Storm  <storm@cua.dk>
+
+       * dispnew.c (sit_for): Fix preempt condition.
+
+2006-07-02  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * lread.c (read_filtered_event): Treat select-window just like
+       switch-frame.
+
+2006-07-02  Kim F. Storm  <storm@cua.dk>
+
+       * xdisp.c (display_tool_bar_line): Skip glyphs which are too big
+       to ever fit the tool-bar,
+       (MAX_FRAME_TOOL_BAR_HEIGHT): New macro.
+       (tool_bar_lines_needed): Use unused mode-line row as temp_row.
+       (redisplay_tool_bar): Only clear desired matrix if we actually
+       change the tool-bar window height.  Only try to make the tool-bar
+       window bigger if there is actually room for it.
+
+2006-06-30  Ralf Angeli  <angeli@caeruleus.net>
+
+       * w32term.c (x_make_frame_visible): Use SystemParametersInfo with
+       SPI_GETWORKAREA to find the dimensions of the screen work area,
+       and adjust vertical position of the frame in order to avoid being
+       covered by the task bar.
+
+       * w32fns.c (w32_createwindow): Use CW_USEDEFAULT instead of
+       f->left_pos and SH_SHOW instead of f->top_pos in the call to
+       CreateWindow.  Record the actual position in f->left_pos and
+       f->top_pos.
+
+2006-06-30  John Paul Wallington  <jpw@pobox.com>
+
+       * w32console.c (syms_of_ntterm) <w32-use-full-screen-buffer>:
+       Doc fix - default value has changed.
+
+2006-06-28  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
+
+       * mac.c [!TARGET_API_MAC_CARBON]: Don't include FixMath.h or Scrap.h.
+
+       * macfns.c (Fx_create_frame): Apply 2006-06-24 change for xfns.c.
+
+       * macgui.h (USE_MAC_TSM) [TARGET_API_MAC_CARBON]: Set default to 1.
+
+       * macterm.c (Qeql): Add extern.
+       (x_set_mouse_pixel_position) [MAC_OSX]: Use CGWarpMouseCursorPosition.
+       (fm_style_face_attributes_alist) [USE_ATSUI]: New variable.
+       (syms_of_macterm) [USE_ATSUI]: Initialize and staticpro it.
+       Change keys of Vmac_atsu_font_table from strings to numbers.
+       (fm_style_to_face_attributes) [USE_ATSUI]: New function.
+       (init_font_name_table) [USE_ATSUI]: Use it.
+       (saved_ts_script_language_on_focus) [USE_MAC_TSM]: New variable.
+       (syms_of_macterm) [USE_MAC_TSM]: Initialize and staticpro it.
+       [USE_MAC_TSM] (mac_tsm_resume): Restore script and language codes
+       only when saved_ts_script_language_on_focus coincides with
+       Vmac_ts_script_language_on_focus.
+       [USE_MAC_TSM] (mac_tsm_suspend): Save value of
+       Vmac_ts_script_language_on_focus to saved_ts_script_language_on_focus.
+       (XTread_socket) [USE_MAC_TSM]: Add Mac OS Classic support.
+       [USE_MAC_TSM] (mac_handle_text_input_event, init_tsm): Likewise.
+
+2006-06-27  Chong Yidong  <cyd@stupidchicken.com>
+
+       * editfns.c (Fdelete_field, Ffield_string, Ffield_beginning)
+       (Ffield_string_no_properties, Ffield_end): Mention
+       args-out-of-range error condition in docstring.
+
+2006-06-27  Kim F. Storm  <storm@cua.dk>
+
+       * xdisp.c (handle_composition_prop): Set stop_charpos before push_it.
+
+2006-06-25  Kim F. Storm  <storm@cua.dk>
+
+       * s/gnu-linux.h (SIGNALS_VIA_CHARACTERS): Define for Linux kernel
+       version 2.4 and later.
+
+2006-06-24  Chong Yidong  <cyd@stupidchicken.com>
+
+       * xfns.c (Fx_create_frame): Set font parameter directly instead of
+       using x_default_parameter, since x_get_args clears the parm alist.
+
+2006-06-24  Eli Zaretskii  <eliz@gnu.org>
+
+       * dired.c (directory_files_internal) [WINDOWSNT]: Find files
+       case-insensitively.
+
+2006-06-24  Aidan Kehoe  <kehoea@parhasard.net>
+
+       * lread.c (read_escape): When an unknown Unicode code point is
+       encountered as a string or character escape, signal an error.
+
+2006-06-23  Kim F. Storm  <storm@cua.dk>
+
+       * .gdbinit (pitx): Dump iterator stack.
+
+       * xdisp.c (handle_composition_prop): Push iterator on stack.
+       (set_iterator_to_next): Pop iterator at end of composition.
+
+2006-06-23  Martin Rudalics  <rudalics@gmx.at>
+
+       * fileio.c (Frename_file) [DOS_NT]: Don't try to move directory to
+       itself on DOS_NT platforms, if the old and new names are identical
+       but for the letter-case.
+
+2006-06-21  Kim F. Storm  <storm@cua.dk>
+
+       * dispextern.h (struct it): Add `position' member to iterator stack.
+       Rename `pos' member to `current'.  Rearrange and add comments.
+
+       * xdisp.c (handle_stop): Set it->ignore_overlay_strings_at_pos_p
+       if  we get any overlays.
+       (set_cursor_from_row): Don't clobber `end' if we rescan from
+       start_string.
+       (push_it, pop_it): Save it->position.
+
+2006-06-19  Richard Stallman  <rms@gnu.org>
+
+       * window.c (size_window): New arg FIRST_ONLY.  All callers changed.
+       (adjust_window_trailing_edge): Specially compute FIRST_PARALLEL
+       for the case of a top-level window and the following minibuffer.
+       Don't exit because of no `next' when there is a parent.
+       Use the FIRST_ONLY feature when resizing following windows.
+
+       * syntax.c (init_syntax_once): Give most control chars' syntax Spunct.
+
+2006-06-17  Kim F. Storm  <storm@cua.dk>
+
+       * dispnew.c (update_frame): Check for input pending on entry.
+       (update_window, update_frame_1): Break loop if input is detected.
+
+2006-06-16  Francis Litterio  <flitterio@gmail.com>
+
+       * xterm.c (x_check_expected_move, handle_one_xevent)
+       (x_set_offset, x_check_fullscreen): Extensive changes to make
+       frame positioning deterministic under X.
+
+       * xterm.h (x_output): Added members left_before_move and
+       top_before_move.  Removed members expected_left and expected_top.
+
+2006-06-16  Kim F. Storm  <storm@cua.dk>
+
+       * dispextern.h (struct it): Add union to iterator stack to save
+       image, composition, and stretch specific paramters.
+
+       * xdisp.c (next_overlay_string): Fix assert.
+       (push_it, pop_it): Handle composition and stretch specific values.
+       Only handle it->slice in image (for now).
+       (back_to_previous_visible_line_start): Continue search if newline is
+       part of a compisition.  Simplify.
+       (reseat_1): Set it->object to buffer.
+       (set_iterator_to_next): Set it->object to string or buffer, when
+       setting it->method to GET_FROM_STRING or GET_FROM_BUFFER.
+       (next_element_from_composition): Set it->object to buffer if not
+       from string.
+       (set_cursor_from_row): Only save start of string if not already
+       done to handle multiple strings in a row.
+
+       * .gdbinit (pitx): Show composition parameters.
+       (pgx, pg): New commands to print a glyph structure.
+       (pgi, pgn): New commands to print specific/next glyph.
+       (pgrowx, pgrow): New commands to print all glyphs in a row.
+
+2006-06-16  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
+
+       * macfns.c (Fx_display_mm_height, Fx_display_mm_width)
+       [MAC_OS_X_VERSION_MAX_ALLOWED >= 1030]: Use CGDisplayScreenSize.
+
+       * macterm.c (do_app_resume, do_app_suspend): Remove functions.
+       (mac_tsm_resume, mac_tsm_suspend) [USE_MAC_TSM]: New functions.
+       (mac_handle_window_event, XTread_socket) [USE_MAC_TSM]: Use them.
+       (Vmac_ts_script_language_on_focus) [USE_MAC_TSM]: New variable.
+       (syms_of_macterm) [USE_MAC_TSM]: Defvar it.
+       (saved_ts_language, saved_ts_component) [USE_MAC_TSM]: New variables.
+       (mac_initialize_display_info) [MAC_OSX]: Use Quartz Display
+       Services functions to get size of main display in pixels.
+
+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)