]> code.delx.au - gnu-emacs/blobdiff - src/ChangeLog
Merge from emacs--rel--22
[gnu-emacs] / src / ChangeLog
index eee3f678e51b2d9490c71fa0a92a4f55a4b36f37..29a4e7ba636c857305f85519fd62a79001ca2fb6 100644 (file)
@@ -1,3 +1,174 @@
+2008-02-19  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * intervals.h (INT_LISPLIKE): Remove.  It may misfire.
+       (NULL_INTERVAL_P, SET_INTERVAL_PARENT): Don't use it.
+
+2008-02-18  Jason Rumney  <jasonr@gnu.org>
+
+       * w32fns.c (Fw32_shell_execute): Encode parameters.
+
+2008-02-09  Eli Zaretskii  <eliz@gnu.org>
+
+       * fileio.c (syms_of_fileio) <insert-default-directory>: Doc fix.
+
+2008-02-05  Juanma Barranquero  <lekktu@gmail.com>
+
+       * unexhp9k800.c (read_header): Replace `legal' with `valid'.
+
+2008-02-24  Ulrich Neumerkel  <ulrich@complang.tuwien.ac.at>  (tiny change)
+
+       * xterm.c (x_set_offset): Don't change the gravity if
+       CHANGE_GRAVITY is -1.
+
+2008-02-23  Chong Yidong  <cyd@stupidchicken.com>
+
+       * fileio.c (auto_save_error_occurred): New var.
+       (auto_save_error): Set it.
+       (Fdo_auto_save): Don't overwrite the error message if an auto-save
+       error occurred.
+
+2008-02-23  Eli Zaretskii  <eliz@gnu.org>
+
+       * w32.c (globals_of_w32): Add initializations for
+       g_b_init_get_sid_sub_authority and
+       g_b_init_get_sid_sub_authority_count.
+
+2008-02-22  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * font.c (font_match_xlfd, font_check_xlfd_parse): New funs.
+       (font_parse_xlfd): Use them for sanity check.
+       (Finternal_set_font_style_table): Make sure the table is bijective.
+
+       Consolidate the image_cache to the terminal struct.
+       * termhooks.h (P_): Remove redundant def.
+       (struct terminal): New field `image_cache'.
+       * frame.h (FRAME_IMAGE_CACHE): New macro.  Use it everywhere in place
+       of FRAME_X_IMAGE_CACHE.
+       * xterm.h (struct x_display_info): Remove image_cache field.
+       (FRAME_X_IMAGE_CACHE): Remove.  Use FRAME_IMAGE_CACHE instead.
+       * w32term.h (struct w32_display_info): Remove image_cache field.
+       (FRAME_X_IMAGE_CACHE): Remove.  Use FRAME_IMAGE_CACHE instead.
+       * macterm.h (struct mac_display_info): Remove image_cache field.
+       (FRAME_X_IMAGE_CACHE): Remove.  Use FRAME_IMAGE_CACHE instead.
+       * xterm.c (x_term_init):
+       * w32term.c (w32_term_init):
+       * macterm.c (mac_term_init): Set the image_cache in the terminal.
+       * dispextern.h (clear_image_cache, forall_images_in_image_cache):
+       Remove declarations.
+       (clear_image_caches, mark_image_cache): New declarations.
+       * xfaces.c (clear_face_cache):
+       * xdisp.c (redisplay_internal): Use clear_image_caches.
+       * image.c (clear_image_cache): Don't check that a frame is on
+       a window-system before checking if it shares the same cache.
+       (clear_image_caches): New function.
+       (Fclear_image_cache): Use it.
+       (mark_image): Move from allo.c.
+       (mark_image_cache): Move from alloc.c and forall_images_in_image_cache.
+       * alloc.c (mark_image, mark_image_cache): Move to image.c.
+       (mark_object): Don't call mark_image_cache for frames.
+       (mark_terminals): Call mark_image_cache.
+
+       * lisp.h (Fdelete_terminal): Declare.
+
+       * charset.h (CHECK_CHARSET, CHECK_CHARSET_GET_ID)
+       (CHECK_CHARSET_GET_ATTR): Don't use the inexistent return value of
+       wrong_type_argument.
+
+2008-02-22  Kenichi Handa  <handa@ni.aist.go.jp>
+
+       * Makefile.in (lisp): Remove devanagari.el, kannada.el,
+       malayalam.el, and tamil.el.  Add sinhala.el.
+
+2008-02-21  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * xterm.c (x_connection_closed): Consolidate identical tests.
+       (x_delete_terminal): Don't crash if called via x_connection_closed.
+
+2008-02-21  Kenichi Handa  <handa@ni.aist.go.jp>
+
+       * xdisp.c (decode_mode_spec): New arg string.
+       (display_mode_element): Adjust for the above change.
+
+2008-02-19  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * callint.c (Fcall_interactively): Use AREF.
+
+2008-02-18  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * font.c (font_unparse_xlfd): Don't ignore integer pixel size specs.
+
+2008-02-18  Jan Dj\e$(Q)Z\e(Brv  <jan.h.d@swipnet.se>
+
+       * xfns.c (Fx_show_tip): Set string to " " if empty.
+
+2008-02-17  Dan Nicolaescu  <dann@ics.uci.edu>
+
+       * callint.c (syms_of_callint): Initialize Vmark_even_if_inactive
+       with Qt.
+
+2008-02-17  Kenichi Handa  <handa@m17n.org>
+
+       * ftfont.c (ftfont_shape): Return Lispy number.
+
+       * xfaces.c (prepare_face_for_display): Use display_info->font->fid
+       for GCs.
+       (Finternal_set_font_selection_order): Call font_update_sort_order
+       only when enable_font_backend is set.
+       (realize_x_face): Set face->font_info to that of default face only
+       when enable_font_backend is set.
+
+       * xdisp.c (handle_composition_prop): Set it->c to the fist
+       characte of the composed region.
+       (fill_composite_glyph_string): Set base_face->font_info to
+       s->font_info.  Get a face for ascii from base_face->ascii_face.
+       (BUILD_COMPOSITE_GLYPH_STRING): Call fill_composite_glyph_string
+       with a face already decided.
+       (x_produce_glyphs): Be sure to set it->ascent and it->descent to
+       non-negative.
+       (x_produce_glyphs): If the composition method is ..._WITH_GLYPH_STRING,
+       call font_prepare_composition unconditionally.
+
+       * xfns.c (x_make_gc): Use the default font id of the frame for GCs.
+
+       * xterm.h (struct x_display_info): New member font.
+
+       * xterm.c (x_set_cursor_gc): Use display_info->font->fid for GCs.
+       (x_set_mouse_face_gc, x_new_font): Likewise.
+       (x_term_init): Setup display_info->font.
+       (x_delete_terminal): Free display_info->font.
+
+       * xfont.c (xfont_draw): Use BLOCK_INPUT and UNBLOCK_INPUT.
+
+       * ftxfont.c (ftxfont_default_fid): Delete it.
+       (ftxfont_open): Set xfont->fid to 0.
+       (ftxfont_end_for_frame): Clear data specific to the frame and the
+       font-driver.
+
+       * xftfont.c (xftfont_default_fid): Delete it.
+       (xftfont_open): Set xfont->fid to 0.
+
+       * fontset.c (FONTSET_OBJLIST): New macro.
+       (fontset_find_font): Update font-object list of the fontset.
+       (free_realized_fontset): New function.
+       (free_face_fontset): Call free_realized_fontset.
+       (Ffont_info): Call font_close_object only when enable_font_backend
+       is set.
+
+       * font.c [HAVE_X_WINDOWS]: Include xterm.h.
+       [HAVE_NTGUI]: Include w32term.h.
+       [MAC_OS]: Include macterm.ch.
+       (font_otf_ValueRecord): Use make_number.
+       (font_finish_cache): Fix handling of reference count.
+       (font_clear_cache): Update num_fonts.
+       (font_open_entity): Update smallest_char_width and
+       smallest_font_height of the frame.
+       (font_close_object): Update num_fonts.
+       (Fclear_font_cache): Fix finding the target cache data.
+
+2008-02-16  Glenn Morris  <rgm@gnu.org>
+
+       * fontset.c (Finternal_char_font): Fix compilation warning.
+
 2008-02-16  Eli Zaretskii  <eliz@gnu.org>
 
        * w32.c (init_user_info): Use TOKEN_USER and TOKEN_PRIMARY_GROUP
        * term.c: Include "composite.h".
        (encode_terminal_code): Output all components of composition.
        Check the size of encode_terminal_src.
-       (produce_glyphs): For compostion, call produce_composite_glyph.
+       (produce_glyphs): For composition, call produce_composite_glyph.
        (append_composite_glyph, produce_composite_glyph): New functions.
 
        * xdisp.c (x_produce_glyphs): In handling composition, if a font
        (syms_of_font): Defsubr Sfont_at.
 
        * xdisp.c (it_props): Move the entry for Qauto_composed to just
-       before the entry for Qcompostion.
+       before the entry for Qcomposition.
        (handle_auto_composed_prop): Call auto-composition-function with 4 args.
        (handle_composition_prop) [USE_FONT_BACKEND]: Set it->face_id from
        the font in gstring.
 
 2008-02-01  Kenichi Handa  <handa@m17n.org>
 
-       * composite.c (syms_of_composite): Don't make the compostion hash
+       * composite.c (syms_of_composite): Don't make the composition hash
        table weak.
 
        * fontset.c (Fset_fontset_font): Fix docstring.