* src/xterm.c (x_term_init): Move call to gdk_window_add_filter before
[bpt/emacs.git] / src / ChangeLog
index a707eaa..20fd021 100644 (file)
@@ -1,3 +1,115 @@
+2011-12-10  Jan Djärv  <jan.h.d@swipnet.se>
+
+       * xterm.c (x_term_init): Move call to gdk_window_add_filter before
+       gtk_init (Bug#10100).
+
+2011-12-10  Eli Zaretskii  <eliz@gnu.org>
+
+       * xdisp.c (RECORD_MAX_MIN_POS): Use IT->cmp_it.charpos only if
+       IT->string is nil.  (Bug#10263)
+
+2011-12-10  Jan Djärv  <jan.h.d@swipnet.se>
+
+       * nsterm.h (x_free_frame_resources): Declare.
+
+       * nsfns.m (ns_get_defaults_value): New function (Bug#10103).
+       (Fns_get_resource, x_get_string_resource): Call ns_get_defaults_value.
+
+       * nsterm.h (ns_get_defaults_value): Declare.
+
+       * nsterm.m (ns_default): Call ns_get_defaults_value.
+
+2011-12-09  Eli Zaretskii  <eliz@gnu.org>
+
+       * xdisp.c (try_scrolling): Don't set scroll_down_p if dy is zero.
+       (Bug#10170)
+
+2011-12-09  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
+
+       * unexelf.c (unexec) [NS_IMPL_GNUSTEP]: Take account of the case
+       that where the value of an _OBJC_* symbol points to is in the .bss
+       section (Bug#10240).
+
+2011-12-08  Kazuhiro Ito  <kzhr@d1.dion.ne.jp>  (tiny change)
+
+       * coding.c (encode_coding_ccl): Check (charbuf < charbuf_end)
+       after the loop to call ccl_driver at least once (Bug#8619).
+
+2011-12-08  Kenichi Handa  <handa@m17n.org>
+
+       * ftfont.c (get_adstyle_property): Fix previous change
+       (Bug#10233).
+
+2011-12-07  Juanma Barranquero  <lekktu@gmail.com>
+
+       * w32.c (init_environment): If no_site_lisp, remove site-lisp
+       dirs from the default value of EMACSLOADPATH (bug#10208).
+
+2011-12-07  Glenn Morris  <rgm@gnu.org>
+
+       * lread.c (init_lread): If no_site_lisp, exclude site-lisp/ in
+       installation and source directories as well.  (Bug#10208)
+
+2011-12-06  Chong Yidong  <cyd@gnu.org>
+
+       * minibuf.c (Fread_from_minibuffer): Doc fix (Bug#10228).
+
+2011-12-06  Glenn Morris  <rgm@gnu.org>
+
+       * process.c (start_process_unwind): Treat any pid <= 0, except -2,
+       as an error, not just -1.  (Bug#10217)
+
+2011-12-05  Chong Yidong  <cyd@gnu.org>
+
+       * keyboard.c (process_special_events): New function.
+       (swallow_events, Finput_pending_p): Use it (Bug#10195).
+
+2011-12-05  Paul Eggert  <eggert@cs.ucla.edu>
+
+       * coding.c (encode_designation_at_bol): Don't use uninitialized
+       local variable (Bug#9318).
+
+2011-12-05  Kenichi Handa  <handa@m17n.org>
+
+       * ftfont.c (get_adstyle_property): If the font is not BDF nor PCF,
+       return Qnil (Bug#8046, Bug#10193).
+
+2011-12-05  Kenichi Handa  <handa@m17n.org>
+
+       * coding.c (encode_designation_at_bol): New args charbuf_end and
+       dst.  Return the number of produced bytes.  Callers changed.
+       (coding_set_source): Return how many bytes coding->source was
+       relocated.
+       (coding_set_destination): Return how many bytes
+       coding->destination was relocated.
+       (CODING_DECODE_CHAR, CODING_ENCODE_CHAR, CODING_CHAR_CHARSET)
+       (CODING_CHAR_CHARSET_P): Adjusted for the avove changes.
+
+2011-12-05  Kazuhiro Ito  <kzhr@d1.dion.ne.jp>  (tiny change)
+
+       * coding.c (CODING_CHAR_CHARSET_P): New macro.
+       (encode_coding_emacs_mule, encode_coding_iso_2022): Use the above
+       macro (Bug#9318).
+
+2011-12-05  Andreas Schwab  <schwab@linux-m68k.org>
+
+       The following changes are to fix Bug#9318.
+
+       * coding.c (CODING_ENCODE_CHAR, CODING_CHAR_CHARSET): New macros.
+       (encode_coding_emacs_mule, ENCODE_ISO_CHARACTER)
+       (encode_coding_iso_2022, encode_coding_sjis)
+       (encode_coding_big5, encode_coding_charset): Use the above macros.
+
+2011-12-05  Juanma Barranquero  <lekktu@gmail.com>
+
+       * lisp.h (process_quit_flag): Fix external declaration.
+
+2011-12-04  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       Don't macro-inline non-performance-critical code.
+       * eval.c (process_quit_flag): New function.
+       * lisp.h (QUIT): Use it.
+
 2011-12-04  Jan Djärv  <jan.h.d@swipnet.se>
 
        * nsfns.m (get_geometry_from_preferences): New function.
@@ -9,8 +121,8 @@
        (syms_of_emacs): Initialize it.
        * keyboard.c (interrupt_signal): Don't call Fkill_emacs here, set
        Qquit_flag to `kill-emacs' instead.
-       (quit_throw_to_read_char): Add parameter `from_signal'.  All
-       callers changed.  Call Fkill_emacs if requested and safe.
+       (quit_throw_to_read_char): Add parameter `from_signal'.
+       All callers changed.  Call Fkill_emacs if requested and safe.
        * lisp.h (QUIT): Call Fkill_emacs if requested.
 
 2011-12-03  Jan Djärv  <jan.h.d@swipnet.se>
 
        * xterm.c (handle_one_xevent): Only set async_visible and friends
        if net_wm_state_hidden_seen is non-zero (Bug#10002)
-       (get_current_wm_state):  Set net_wm_state_hidden_seen to 1 if
+       (get_current_wm_state): Set net_wm_state_hidden_seen to 1 if
        _NET_WM_STATE_HIDDEN is in NET_WM_STATE.
 
 2011-11-28  Paul Eggert  <eggert@cs.ucla.edu>
 
 2011-11-27  Jan Djärv  <jan.h.d@swipnet.se>
 
-       * gtkutil.c (xg_create_frame_widgets): Call
-       gtk_window_set_has_resize_grip (FALSE) if that function is
+       * gtkutil.c (xg_create_frame_widgets):
+       Call gtk_window_set_has_resize_grip (FALSE) if that function is
        present with Gtk+ 2.0.
 
 2011-11-26  Paul Eggert  <eggert@cs.ucla.edu>
        * xdisp.c (display_line): Move the call to
        highlight_trailing_whitespace before the call to
        compute_line_metrics, since the latter needs to see the final
-       faces of all the glyphs to compute ROW's hash value.  Fixes
-       assertion violations in row_equal_p.  (Bug#10035)
+       faces of all the glyphs to compute ROW's hash value.
+       Fixes assertion violations in row_equal_p.  (Bug#10035)
 
 2011-11-14  Juanma Barranquero  <lekktu@gmail.com>
 
 2011-11-08  Chong Yidong  <cyd@gnu.org>
 
        * window.c (Fwindow_left_column, Fwindow_top_line): Doc fix.
-       (Fwindow_body_height, Fwindow_body_width): Move from Lisp.  Signal
-       an error if not a live window.
+       (Fwindow_body_height, Fwindow_body_width): Move from Lisp.
+       Signal an error if not a live window.
        (Fwindow_total_width, Fwindow_total_height): Move from Lisp.
        (Fwindow_total_size, Fwindow_body_size): Move to Lisp.
 
        (x_destroy_window): Move code to x_free_frame_resources.
 
        * xfns.c (unwind_create_frame): Fix comment.
-       (Fx_create_frame, x_create_tip_frame): Move
-       terminal->reference_count++ just before making the frame
+       (Fx_create_frame, x_create_tip_frame):
+       Move terminal->reference_count++ just before making the frame
        official. Move initialization of image_cache_refcount and
        dpyinfo_refcount before calling init_frame_faces (Bug#9943).
 
        * xdisp.c (mouse_face_from_buffer_pos): Fix a typo in a comment.
        Don't stop backward scan on the continuation glyph, even though
        its CHARPOS is positive.
-       (mouse_face_from_buffer_pos, note_mouse_highlight): Rename
-       cover_string to disp_string.
+       (mouse_face_from_buffer_pos, note_mouse_highlight):
+       Rename cover_string to disp_string.
 
 2011-11-01  Martin Rudalics  <rudalics@gmx.at>