Fix 2010-05-05T22:14:15Z!lekktu@gmail.com.
[bpt/emacs.git] / src / ChangeLog
index c00d4fe..7b5959c 100644 (file)
@@ -1,3 +1,367 @@
+2010-11-09  Eli Zaretskii  <eliz@gnu.org>
+
+       * keyboard.c (kbd_buffer_nr_stored): Define only ifdef subprocesses.
+       (kbd_buffer_store_event_hold, kbd_buffer_get_event)
+       (tty_read_avail_input): Call kbd_buffer_nr_stored only ifdef
+       subprocesses.  Use buffer_free only ifdef subprocesses.
+
+       * process.c (init_process) [subprocesses]: Init kbd_is_on_hold in
+       the subprocesses version, not in the non-subprocesses one.
+
+       * Makefile.in: Don't use ## comment, it breaks the MSDOS build.
+
+       * xfns.c (x_real_positions): Fix declaration-after-statement
+       problem.
+
+2010-11-05  Chong Yidong  <cyd@stupidchicken.com>
+
+       * image.c (free_image): Don't garbage the frame here, since this
+       function can be called while redisplaying (Bug#7210).
+       (uncache_image): Garbage the frame here (Bug#6426).
+
+2010-11-04  Chong Yidong  <cyd@stupidchicken.com>
+
+       * process.c (Fmake_network_process): Don't apply Bug#5173 fix for
+       Windows.
+
+2010-11-04  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
+
+       * process.c (Fmake_network_process): Don't call turn_on_atimers around
+       `connect' (Bug#5723).
+
+2010-11-04  Helmut Eller  <eller.helmut@gmail.com>
+
+       * process.c (Fmake_network_process): Call `select' for interrupted
+       `connect' rather than creating new socket (Bug#5173).
+
+2010-11-04  Kenichi Handa  <handa@m17n.org>
+
+       * font.c (font_delete_unmatched): Check Vface_ignored_fonts.
+       Don't sheck SPEC if it is nil.
+       (font_list_entities): Call font_delete_unmatched if
+       Vface_ignored_fonts is non-nil.
+
+2010-11-04  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
+
+       * dispextern.h (TRY_WINDOW_CHECK_MARGINS)
+       (TRY_WINDOW_IGNORE_FONTS_CHANGE): New defines.
+
+       * xdisp.c (try_window): Change arg from CHECK_MARGINS to FLAGS.
+       Don't abort with fonts change if TRY_WINDOW_IGNORE_FONTS_CHANGE is
+       set in FLAGS.  Callers with non-zero CHECK_MARGINS changed to use
+       TRY_WINDOW_CHECK_MARGINS.
+
+       * xfns.c (Fx_show_tip): Undo last change.  Call try_window with
+       TRY_WINDOW_IGNORE_FONTS_CHANGE (Bug#2423).
+
+2010-11-04  Jan Djärv  <jan.h.d@swipnet.se>
+
+       * xfns.c (x_real_positions): Only use _NET_FRAME_EXTENTS if our
+       parent is the root window.  Check this after traversing window tree.
+
+       * xterm.c (x_term_init): Initialize Xatom_net_frame_extents.
+
+       * xterm.h (struct x_display_info): Xatom_net_frame_extents is new.
+
+       * xfns.c (x_real_positions): Try to get _NET_FRAME_EXTENTS first
+       before traversing window tree (Bug#5721).
+
+2010-11-03  Glenn Morris  <rgm@gnu.org>
+
+       * Makefile.in (CRT_DIR): New variable, set by configure.
+       * m/amdx86-64.h, m/ibms390x.h (START_FILES, LIB_STANDARD):
+       Use $CRT_DIR rather than HAVE_LIB64_DIR.  (Bug#5655)
+
+2010-11-01  Jan Djärv  <jan.h.d@swipnet.se>
+
+       * process.c (kbd_is_on_hold): New variable.
+       (hold_keyboard_input, unhold_keyboard_input, kbd_on_hold_p):
+       New functions.
+       (wait_reading_process_output): If kbd_on_hold_p returns non-zero,
+       select on empty input mask.
+       (init_process): Initialize kbd_is_on_hold to 0.
+
+       * process.h (hold_keyboard_input, unhold_keyboard_input)
+       (kbd_on_hold_p): Declare.
+
+       * keyboard.c (input_available_signal): Declare.
+       (kbd_buffer_nr_stored): New function.
+       (kbd_buffer_store_event_hold): If kbd_buffer_nr_stored returns
+       more than KBD_BUFFER_SIZE/2, stop reding input (Bug#6571).
+       (kbd_buffer_get_event): If input is suspended and kbd_buffer_nr_stored
+       returns less than KBD_BUFFER_SIZE/4, resume reding input (Bug#6571).
+       (tty_read_avail_input): If input is on hold, return.
+       Don't read more that free slots in kbd_buffer (Bug#6571).
+
+2010-10-31  Chong Yidong  <cyd@stupidchicken.com>
+
+       * xterm.c (x_connection_closed): Print informative error message
+       when aborting on GTK.  This requires using shut_down_emacs
+       directly instead of Fkill_emacs.
+
+2010-10-25  Michael Albinus  <michael.albinus@gmx.de>
+
+       * dbusbind.c (Fdbus_call_method_asynchronously)
+       (Fdbus_register_signal, Fdbus_register_method): Check, whether
+       `dbus-registered-objects-table' is initialized.
+
+2010-10-24  Chong Yidong  <cyd@stupidchicken.com>
+
+       * xterm.c (x_connection_closed): Kill Emacs unconditionally.
+
+2010-10-22  Eli Zaretskii  <eliz@gnu.org>
+
+       * frame.c (Fframep, Fwindow_system): Deprecate use as a predicate.
+
+       * dispnew.c (syms_of_display) <initial-window-system, window-system>:
+       Deprecate use as a boolean flag.
+
+2010-10-18  Ken Brown  <kbrown@cornell.edu>
+
+       * s/cygwin.h (SIGNALS_VIA_CHARACTERS): New define (bug#7225).
+
+2010-10-15  Kenichi Handa  <handa@m17n.org>
+
+       Fix incorrect font metrics when the same font is opened with
+       different pixelsizes.
+
+       * xftfont.c: Include composite.h.
+       (xftfont_shape): New function.
+       (syms_of_xftfont): Set xftfont_driver.shape.
+
+2010-10-13  Damyan Pepper  <damyanp@gmail.com>
+
+       Fix handling of font properties on Windows (bug#6303).
+       * font.c (font_filter_properties): New function, refactored from
+       ftfont_filter_properties.
+       * font.h (font_filter_properties): Declare.
+       * ftfont.c (ftfont_filter_properties): Use font_filter_properties.
+       * w32font.c (w32font_booleans, w32font_non_booleans): New variables.
+       (w32font_filter_properties): New function.
+       (w32font_driver): Add w32font_filter_properties.
+
+2010-10-12  Juanma Barranquero  <lekktu@gmail.com>
+
+       * font.c (Ffont_variation_glyphs):
+       * ccl.c (Fccl_execute_on_string): Fix typo in docstring.
+
+2010-10-10  Jan Djärv  <jan.h.d@swipnet.se>
+
+       * nsterm.m (Qleft): Declare.
+       (ns_right_alternate_modifier): New variable
+       (NSRightAlternateKeyMask): New define.
+       (EV_MODIFIERS): Parse NSRightAlternateKeyMask if
+       ns_right_alternate_modifier isn't Qleft.
+       (keyDown): If ns_right_alternate_modifier isn't Qleft, use it
+       as emacs modifier for NSRightAlternateKeyMask.
+       (syms_of_nsterm): DEFVAR_LISP ns-right-alternate-modifier.
+
+2010-10-08  Michael Albinus  <michael.albinus@gmx.de>
+
+       * dbusbind.c (xd_get_dispatch_status): Return a Lisp_Object.
+       (xd_pending_messages): Catch xd_get_dispatch_status calls.
+
+2010-10-08  Kenichi Handa  <handa@m17n.org>
+
+       * coding.c (complement_process_encoding_system): Fix previous change.
+
+2010-10-03  Michael Albinus  <michael.albinus@gmx.de>
+
+       * dbusbind.c (syms_of_dbusbind): Move putenv call ...
+       (Fdbus_init_bus): ... here.  (Bug#7113)
+
+2010-10-03  Glenn Morris  <rgm@gnu.org>
+
+       * buffer.c (before-change-functions, after-change-functions):
+       Three-year overdue doc fix following 2007-08-13 change.
+
+2010-10-02  Kenichi Handa  <handa@m17n.org>
+
+       * coding.c (coding_inherit_eol_type): If parent doesn't specify
+       eol-format, inherit from the system's default.
+       (complement_process_encoding_system): Make a new coding system
+       inherit the original eol-format.
+
+2010-09-30  Kenichi Handa  <handa@m17n.org>
+
+       * coding.c (complement_process_encoding_system): New function.
+
+       * coding.h (complement_process_encoding_system): Extern it.
+
+       * callproc.c (Fcall_process): Complement the coding system for
+       encoding arguments.
+       (Fcall_process_region): Complement the coding system for encoding
+       the input to the process.
+
+       * process.c (Fstart_process): Complement the coding system for
+       encoding arguments.
+       (send_process): Complement the coding system for encoding what
+       sent to the process.
+
+2010-09-29  Kenichi Handa  <handa@m17n.org>
+
+       * xfont.c (xfont_open): Fix setting of font->average_width from
+       :avgwidth property (Bug#7123).
+
+2010-09-28  Michael Albinus  <michael.albinus@gmx.de>
+
+       * dbusbind.c (syms_of_dbusbind): Use putenv instead of setenv, it
+       is more portable.
+
+       * keyboard.c (gobble_input): Move call of xd_read_queued_messages ...
+       (kbd_buffer_get_event): ... here. This is needed for cygwin, which
+       has not defined SIGIO.
+
+2010-09-27  Michael Albinus  <michael.albinus@gmx.de>
+
+       * dbusbind.c (syms_of_dbusbind): Set $DBUS_FATAL_WARNINGS to "0".
+       (Bug#7113)
+
+2010-09-26  Jan Djärv  <jan.h.d@swipnet.se>
+
+       * xgselect.c (xg_select): Clear file descriptors not set from
+       rfds and wfds.
+
+2010-09-21  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * syntax.c (back_comment): Detect the case where a 1-char comment
+       starter is also the 2nd char of a 2-char comment ender.
+
+2010-09-17  Jan Djärv  <jan.h.d@swipnet.se>
+
+       * gtkutil.c (xg_tool_bar_menu_proxy): Set gtk-menu-items to TRUE.
+
+2010-09-12  Jan Djärv  <jan.h.d@swipnet.se>
+
+       * xterm.c (get_current_vm_state): New function.
+       (do_ewmh_fullscreen): Call get_current_vm_state and compare with
+       want_fullscreen so set_wm_state calls are few (Bug#7013).
+       (x_handle_net_wm_state): Move code to get_current_vm_state and
+       call that function.
+
+2010-09-11  Courtney Bane  <emacs-bugs-7626@cbane.org>  (tiny change)
+
+       * term.c (tty_set_terminal_modes): Don't initialize twice (bug#7002).
+
+2010-09-08  Kenichi Handa  <handa@m17n.org>
+
+       * coding.c (encode_coding_iso_2022): Don't optimize for ASCII if
+       we may use designation or locking-shift.
+
+2010-09-07  Kenichi Handa  <handa@m17n.org>
+
+       * coding.c (detect_coding_emacs_mule): Fix checking of multibyte
+       sequence when the source is multibyte.
+
+2010-08-31  Kenichi Handa  <handa@m17n.org>
+
+       * dispextern.h (FACE_FOR_CHAR): Use an ASCII face for 8-bit
+       characters.
+
+       * term.c (encode_terminal_code): Fix the previous change.
+       (produce_glyphs): Don't set it->char_to_display here.
+       Don't handle unibyte-display-via-language-environment here.
+       (produce_special_glyphs): Set temp_it.char_to_display before
+       calling produce_glyphs.
+
+       * xdisp.c (get_next_display_element): Set it->char_to_display
+       here.  Convert all 8-bit bytes from unibyte buffer/string to 8-bit
+       characters.
+       (get_overlay_arrow_glyph_row): Set it.char_to_display too before
+       calling PRODUCE_GLYPHS.
+       (append_space_for_newline): Save and store it->char_to_display.
+       Set it->char_to_display before calling PRODUCE_GLYPHS.
+       (extend_face_to_end_of_line): Set it->char_to_display before
+       calling PRODUCE_GLYPHS.
+       (get_glyph_face_and_encoding): Set the glyph code an 8-bit
+       character to its byte value.
+       (get_char_glyph_code): New function.
+       (produce_stretch_glyph): Set it2.char_to_display too before
+       calling x_produce_glyphs.
+       (x_produce_glyphs): Simplify by using the same code for ASCII and
+       non-ASCII characters.  Don't set it->char_to_display here.
+       Don't handle unibyte-display-via-language-environment here.  For a
+       character of no glyph, use font->space_width instead of FONT_WIDTH.
+
+2010-08-29  Kenichi Handa  <handa@m17n.org>
+
+       * term.c (encode_terminal_code): Encode byte chars to the
+       correspnding bytes.
+
+2010-08-17  Andreas Schwab  <schwab@linux-m68k.org>
+
+       * eval.c (Flet, Feval, Fapply, apply_lambda): Use SAFE_ALLOCA_LISP
+       instead of SAFE_ALLOCA.
+
+2010-08-17  Chong Yidong  <cyd@stupidchicken.com>
+
+       * eval.c (Flet, Feval, Fapply, apply_lambda): Use SAFE_ALLOCA
+       (Bug#6214).
+
+2010-08-14  Jan Djärv  <jan.h.d@swipnet.se>
+
+       * doc.c (Fsnarf_documentation): Set skip_file only if p[1] is S.
+
+2010-08-13  Jan Djärv  <jan.h.d@swipnet.se>
+
+       * doc.c (Fsnarf_documentation): Initialize skip_file before
+       build-files test.
+
+2010-08-09  Peter O'Gorman <pogma@thewrittenword.com>  (tiny change)
+
+       * s/hpux10-20.h (HAVE_TERMIOS, NO_TERMIO, ORDINARY_LINK):
+       New definitions.
+       (HAVE_TERMIO): Remove.
+
+2010-08-06  Kenichi Handa  <handa@m17n.org>
+
+       * charset.c: Include <stdlib.h>
+       (struct charset_sort_data): New struct.
+       (charset_compare): New function.
+       (Fsort_charsets): New function.
+       (syms_of_charset): Declare Fsort_charsets as a Lisp function.
+
+       * coding.c (decode_coding_iso_2022): Fix checking of dimension
+       number in CTEXT extended segment.
+
+2010-08-01  Juanma Barranquero  <lekktu@gmail.com>
+
+       * w32fns.c (syms_of_w32fns) <x-max-tooltip-size>: Fix typo in docstring.
+       * xfns.c (syms_of_xfns) <x-max-tooltip-size>: Reflow docstring.
+
+2010-07-30  Juanma Barranquero  <lekktu@gmail.com>
+
+       * fns.c (Fsubstring_no_properties, Fnthcdr, Ffeaturep)
+       (Fhash_table_size): Fix typos in docstrings.
+       (Fmake_hash_table): Doc fix.
+
+2010-07-28  Juanma Barranquero  <lekktu@gmail.com>
+
+       * minibuf.c (syms_of_minibuf) <read-buffer-function>:
+       Doc fix (bug#5625).
+
+2010-07-27  Ken Brown  <kbrown@cornell.edu>
+
+       * dired.c (DIRENTRY_NONEMPTY) [cygwin]: Use d_ino instead of
+       the MSDOS definition.
+
+2010-07-25  Christoph Scholtes  <cschol2112@gmail.com>
+
+       * minibuf.c (Fread_buffer): Doc fix (bug#6528).
+
+2010-07-22  Christoph Scholtes  <cschol2112@gmail.com>
+
+       * window.c (Fwindow_height): Doc fix (bug#6518).
+
+2010-07-21  Juanma Barranquero  <lekktu@gmail.com>
+
+       * buffer.c (syms_of_buffer) <fringe-indicator-alist>: Doc fix.
+
+2010-07-17  Jan Djärv  <jan.h.d@swipnet.se>
+
+       * gtkutil.c (xg_event_is_for_menubar): Also check that event window
+       is related to the menu bar (Bug#6499).
+
 2010-07-14  Jan Djärv  <jan.h.d@swipnet.se>
 
        * xterm.h (x_menubar_window_to_frame): Second parameter is XEvent*.
 
        * ftfont.c (M17N_FLT_USE_NEW_FEATURE): Define it if we can use the
        new feature of libotf and m17n-flt.
-       (ftfont_check_otf) [M17N_FLT_USE_NEW_FEATURE]: Call
-       OTF_check_features even if no specific feature is given.
+       (ftfont_check_otf) [M17N_FLT_USE_NEW_FEATURE]:
+       Call OTF_check_features even if no specific feature is given.
        (PACK_OTF_TAG) [M17N_FLT_USE_NEW_FEATURE]: New macro.
        (ftfont_drive_otf) [M17N_FLT_USE_NEW_FEATURE]: Handle the case
        that OUT is NULL.  Use OTF_drive_gsub_with_log and
        OTF_drive_gpos_with_log instead of OTF_drive_gsub and
        OTF_drive_gpos.
        (ftfont_try_otf) [M17N_FLT_USE_NEW_FEATURE]: New function.
-       (ftfont_shape_by_flt) [M17N_FLT_USE_NEW_FEATURE]: Setup
-       mflt_enable_new_feature and mflt_try_otf.
+       (ftfont_shape_by_flt) [M17N_FLT_USE_NEW_FEATURE]:
+       Setup mflt_enable_new_feature and mflt_try_otf.
 
 2010-04-19  Juanma Barranquero  <lekktu@gmail.com>
 
        (Ffont_shape_text): New function.
        (Fopen_font): If the font size is not given, use 12-pixel.
        (Ffont_at): New arg STRING.
-       (syms_of_font): Initalize font_charset_alist.
+       (syms_of_font): Initialize font_charset_alist.
        Declare Ffont_shape_text as a Lisp function.  Call syms_of_XXfont
        conditionally.
 
 
        * font.c (font_unparse_fcname): Fix typo (swidth->width).
        (font_list_entities): Check driver_list->on.
-       (register_font_driver): Initalize `on' member to 0.
+       (register_font_driver): Initialize `on' member to 0.
        (font_update_drivers): New function.
        (Fclear_font_cache): Check driver_list->on.