]> code.delx.au - gnu-emacs/blobdiff - src/ChangeLog
Include font.h unconditionally.
[gnu-emacs] / src / ChangeLog
index 089afb97ecc6a1db211b418eabaf0c8c8078afda..38c3cd4d318d7b682c0b4d01b7c1cef575045bd3 100644 (file)
@@ -1,3 +1,113 @@
+2008-05-20  Kenichi Handa  <handa@m17n.org>
+
+       * Makefile.in (FONTSRC): Delete it.  Change all $(FONTSRC) to
+       font.h through out the file.
+       (FONT_DRIVERS): Renamed from FONTOBJ.
+       (obj): Delete $(FONTOBJ).  Add font.o.
+       (SOME_MACHINE_OBJECTS): Change $(FONTOBJ) to $(FONT_DRIVERS).
+
+       * emacs.c (main): Call syms_of_font unconditionally.
+
+       * font.h (find_font_encoding): Extern it.
+
+       * font.c (Vfont_encoding_alist, find_font_encoding): Moved from
+       fontset.c.
+       (font_pixel_size)[! HAVE_WINDOW_SYSTEM]: Return 1.
+       (font_open_entity): Update FRAME_X_DISPLAY_INFO (f)->n_fonts,
+       FRAME_SMALLEST_CHAR_WIDTH (f), and FRAME_SMALLEST_FONT_HEIGHT (f)
+       only when HAVE_WINDOW_SYSTEM is defined.
+       (font_close_object): Update FRAME_X_DISPLAY_INFO (f)->n_fonts only
+       when HAVE_WINDOW_SYSTEM is defined.
+
+       * fontset.c (Vfont_encoding_alist, find_font_encoding): Moved to
+       font.c.
+       (syms_of_fontset): Declaration of font-encoding-alist moved to
+       font.c.
+
+       * xfaces.c: Include font.h unconditionally.
+       (merge_face_ref, merge_face_vectors)
+       (Finternal_set_lisp_face_attribute): Cancel the previous change.
+
+2008-05-20  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * xdisp.c (select_frame_for_redisplay): Adjust for last change to
+       indirect_variable.
+       * eval.c (lisp_indirect_variable): New fun.
+       (Fuser_variable_p): Use it.
+
+2008-05-19  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * lisp.h (indirect_variable):
+       * data.c (indirect_variable, let_shadows_buffer_binding_p):
+       Use Lisp_Symbol pointers rather than Lisp_Object.
+       Adjust callers.
+       * buffer.c (buffer_slot_type_mismatch): Use wrong-type-argument.
+       To this end, change calling-convention.
+
+       * minibuf.c (Finternal_complete_buffer): Only strip out hidden buffers
+       if some non-hidden buffers are selected by string&pred.
+
+2008-05-19  Chong Yidong  <cyd@stupidchicken.com>
+
+       * process.c (wait_reading_process_output): Always check status
+       when in batch mode.
+
+2008-05-19  Kenichi Handa  <handa@m17n.org>
+
+       * font.c (font_list_entities): Fix handling of cache.
+       (font_matching_entity): Likewise.
+
+       * ftfont.c (cs_iso8859_1): Delete.
+       (ft_face_cache): New variable.
+       (struct ftfont_info): New member fc_charset_idx;
+       (ftfont_build_basic_charsets): Delete.
+       (fc_charset_table): New variable.
+       (ftfont_pattern_entity): New arg fc_charset_idx.  Store (FILENAME
+       . FC_CHARSET_IDX) as :font-entity property in the font entity.
+       Callers changed.
+       (ftfont_lookup_cache, ftfont_get_charset): New funcitons.
+       (ftfont_spec_pattern): New argument fc_charset_idx.
+       Check registry more rigidly.  Change callers.
+       (ftfont_open, ftfont_close, ftfont_has_char): Adjustd for the
+       change of :font-entity property of the font.
+
+       * xftfont.c (xftfont_open): Ajuste for the change of :font-entity
+       property of the font.
+
+2008-05-18  Juanma Barranquero  <lekktu@gmail.com>
+
+       * coding.c (Fcoding_system_p): Rename argument to match docstring.
+       (Funencodable_char_position, Fcheck_coding_systems_region)
+       (Fdecode_coding_string, Fencode_coding_string): Fix typos in docstrings.
+       (Fdetect_coding_region, Fdetect_coding_string, Fencode_coding_region)
+       (Ffind_operation_coding_system, Fset_coding_system_priority)
+       (Fcoding_system_eol_type): Doc fixes.
+
+2008-05-17  Glenn Morris  <rgm@gnu.org>
+
+       * sysdep.c (child_setup_tty): Handle systems with NLDLY, without FFDLY.
+
+2008-05-16  Eli Zaretskii  <eliz@gnu.org>
+
+       * dired.c (Ffile_attributes): Shut up GCC warnings about st_uid
+       and st_gid.
+
+       * frame.c (Fdelete_frame): Don't call font_update_drviers if
+       HAVE_WINDOW_SYSTEM is not defined.
+
+       * xfaces.c (merge_face_ref, merge_face_vectors)
+       (Finternal_set_lisp_face_attribute): Use FONT_*_INDEX only when
+       HAVE_WINDOW_SYSTEM is defined.
+       (Fface_font): Fix non-HAVE_WINDOW_SYSTEM case.
+
+2008-05-16  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * keyboard.c (parse_menu_item): Do not cache key shortcut any more.
+
+2008-05-15  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
+
+       * macterm.c (x_draw_relief_rect): Remove unused variable `dpy'.
+
 2008-05-15  Kenichi Handa  <handa@m17n.org>
 
        * font.c (font_find_for_lface): Reflect LFACE_FONT in the font