Fix 2010-05-05T22:14:15Z!lekktu@gmail.com.
[bpt/emacs.git] / src / ChangeLog
index ec6ddac..7b5959c 100644 (file)
@@ -1,4 +1,245 @@
-2010-09-11  Anonymous  <emacs-bugs-7626@cbane.org>  (tiny change)
+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).
 
        (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
-       charater of no glyph, use font->space_width instead of FONT_WIDTH.
+       character of no glyph, use font->space_width instead of FONT_WIDTH.
 
 2010-08-29  Kenichi Handa  <handa@m17n.org>
 
        * charset.c: Include <stdlib.h>
        (struct charset_sort_data): New struct.
        (charset_compare): New function.
-       (Fsort_charsets): New funciton.
+       (Fsort_charsets): New function.
        (syms_of_charset): Declare Fsort_charsets as a Lisp function.
 
        * coding.c (decode_coding_iso_2022): Fix checking of dimension
        (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.