]> code.delx.au - gnu-emacs/blobdiff - src/ChangeLog.unicode
Merge from emacs--devo--0
[gnu-emacs] / src / ChangeLog.unicode
index 435ed5eeb7d708aed81304758acd6eccb49f7bd5..cb96ad3178e064c0d1b3803d4cb5a954617ecbb9 100644 (file)
@@ -1,3 +1,193 @@
+2007-05-21  Kenichi Handa  <handa@m17n.org>
+
+       * syntax.c (skip_syntaxes): Synch with the trunk.
+
+2007-05-14  Kenichi Handa  <handa@m17n.org>
+
+       * character.c (Funibyte_string): New function.
+       (syms_of_character): Defsubr it.
+
+2007-05-01  Jason Rumney  <jasonr@gnu.org>
+
+       * w32term.c [USE_FONT_BACKEND]:
+       (x_get_font_repertory, note_mouse_movement, x_set_mouse_face_gc):
+       (x_set_glyph_string_clipping, x_set_glyph_string_clipping_exactly):
+       (x_draw_glyph_string, x_draw_glyph_string_foreground):
+       (x_draw_composite_glyph_string_foreground, x_new_fontset2):
+       (x_free_frame_resources): Sync with xterm.c.
+
+2007-04-29  Andreas Schwab  <schwab@suse.de>
+
+       * lread.c (read1): Use CHAR_TABLE_STANDARD_SLOTS to validate
+       char-table size.
+
+2007-04-26  Kenichi Handa  <handa@m17n.org>
+
+       * font.c (check_otf_features): Define it regardless of
+       HAVE_LIBOTF.
+
+2007-04-25  Kenichi Handa  <handa@m17n.org>
+
+       * ftfont.c (ftfont_driver): Delete font_otf_gsub and
+       font_otf_gpos, add font_drive_otf.
+
+       * fontset.c (fontset_find_font): Pay attention to font size
+       specified for a font.
+       (reorder_font_vector): Check contents of font_def.
+
+       * font.c (struct otf_list): Delete it.
+       (otf_list): Make it a lisp variable..
+       (otf_open): Use lispy otf_list.
+       (generate_otf_features): Renamed from parse_gsub_gpos_spec.
+       (check_otf_features): New function.
+       (font_otf_DeviceTable, font_otf_ValueRecord, font_otf_Anchor): New
+       functinos.
+       (font_drive_otf): New function merging font_otf_gsub and
+       font_otf_gpos.
+       (font_open_for_lface): New arg spec.  Change argument order.
+       (font_load_for_face): Adjusted for the change of
+       font_open_for_lface.
+       (Ffont_drive_otf): New function merging Ffont_otf_gsub and
+       Ffont_otf_gpos.
+       (syms_of_font): Staticpro otf_list.  Delete defsubr of
+       Sfont_otf_gsub and Sfont_otf_gpos.  Defsubr Sfont_drive_otf.
+
+       * xfaces.c (set_font_frame_param): Adjusted for the change of
+       font_open_for_lface.
+
+       * font.h (font_open_for_lface): Adjust prototype.
+       (struct font_driver): Delete members otf_gsub and otf_gpos, add
+       member otf_drive.
+       (font_otf_gsub, font_otf_gpos): Delete externs.
+       (font_drive_otf): Extern it.
+
+2007-04-24  Kenichi Handa  <handa@m17n.org>
+
+       * font.c (font_at): If the window W is not on a window system,
+       return Qnil.
+
+       * coding.c (produce_chars): Don't call insert_from_gap if no
+       characters to produce.
+       (encode_coding): Likewise.
+
+2007-04-17  Kenichi Handa  <handa@m17n.org>
+
+       * fontset.c (free_realized_fontsets): Avoid unnecessary call of
+       Fclear_face_cache.
+
+       * xfaces.c (face_for_font): Check also face->font==font->font.font.
+
+2007-04-16  Miles Bader  <miles@gnu.org>
+
+       * emacs.c (main): Change default value of `enable_font_backend' to 1.
+       Parse "--disable-font-backend" option.
+       (standard_args): Add "--disable-font-backend" option.
+
+2007-04-13  Kenichi Handa  <handa@m17n.org>
+
+       * fontset.c (fontset_find_font): New function.
+       (fontset_font): Use fontset_find_font.
+       (make_fontset_for_ascii_face): Don't set face ID in rfont_def.
+       Register the specified font for all Latin characters.
+       (new_fontset_from_font): Register the specified font for all Latin
+       characters.
+       (dump_fontset): For a realized fontset, include the base fontset
+       name in the returned vector.
+
+2007-04-11  Kenichi Handa  <handa@m17n.org>
+
+       * character.h (CHAR_STRING): Cast C to unsigned on calling
+       char_string.
+
+       * character.c (char_string): Type of arg C changed to unsigned.
+       Signal an error if C is an invalid character code.
+
+       * editfns.c (general_insert_function): Use CHARACTERP, not INTEGERP.
+       (Fchar_to_string): Likewise.
+
+2007-03-23  Kenichi Handa  <handa@m17n.org>
+
+       * character.h (MIN_MULTIBYTE_LEADING_CODE)
+       (MAX_MULTIBYTE_LEADING_CODE): New macros.
+
+       * regex.c (analyse_first): Fix for multibyte characters in "case
+       charset:" and "case categoryspec:".
+
+2007-03-04  Andreas Schwab  <schwab@suse.de>
+
+       * Makefile.in (LIBES): Move standard libraries to the end.
+
+2007-02-27  Kenichi Handa  <handa@m17n.org>
+
+       * process.c: Cancel the change done by sync with HEAD.
+
+2007-02-23  Kenichi Handa  <handa@m17n.org>
+
+       * alloc.c (Fgarbage_collect): If nextb->text->inhibit_shrinking is
+       nonzero, don't shrink the buffer nextb.
+
+       * buffer.h (struct buffer_text): New member inhibit_shrinking.
+
+       * coding.c (coding_alloc_by_making_gap): New arg offset.
+       (alloc_destination): Call coding_alloc_by_making_gap with the arg
+       offset.
+       (decode_coding_iso_2022): Update coding->safe_charsets.
+       (decode_coding_gap): Temporarily set
+       current_buffer->text->inhibit_shrinking to 1.
+
+2007-02-20  Kenichi Handa  <handa@m17n.org>
+
+       * xterm.c (x_draw_composite_glyph_string_foreground): Fix 
+       indexing into elements of s->cmp and s->char2b.
+
+2007-02-16  Juanma Barranquero  <lekktu@gmail.com>
+
+       * regex.c (RE_STRING_CHAR_AND_LENGTH) [! emacs]: Add missing arg `len'.
+
+2007-02-16  Kenichi Handa  <handa@m17n.org>
+
+       * regex.c (GET_CHAR_BEFORE_2, GET_CHAR_AFTER): Check the variable
+       target_multibyte instead of multibyte.
+       (re_match_2_internal): Call bcmp_translate with target_multibyte.
+       (bcmp_translate): Change the argument name from multibyte to
+       target_multibyte.
+
+2007-02-15  Kenichi Handa  <handa@m17n.org>
+
+       These changes are to compile a regexp into a pattern that can be
+       used both for multibyte and unibyte targets.
+
+       * Makefile.in (search.o): Depend on charset.h.
+
+       * character.c (multibyte_char_to_unibyte_safe): New function.
+
+       * search.c: Include "charset.h".
+       (compile_pattern_1): Delete argument multibyte.  Don't set
+       cp->buf.target_multibyte here.  Set cp->buf.charset_unibyte.
+       (compile_pattern): Don't compare cp->buf.target_multibyte.
+       Compare cp->buf.charset_unibyte.
+       (compile_pattern): Set cp->buf.target_multibyte.
+
+       * lisp.h (multibyte_char_to_unibyte_safe): Extern it.
+
+       * regex.h (struct re_pattern_buffer): New member charset_unibyte.
+
+       * regex.c (RE_STRING_CHAR, RE_STRING_CHAR_AND_LENGTH): New arg
+       multibyte.  Callers changed.
+       (RE_CHAR_TO_MULTIBYTE, RE_CHAR_TO_UNIBYTE): New macros.
+       (MAKE_CHAR_MULTIBYTE, MAKE_CHAR_UNIBYTE): Deleted.  Callers
+       changed to use RE_CHAR_TO_MULTIBYTE and RE_CHAR_TO_UNIBYTE
+       respectively.
+       (SETUP_ASCII_RANGE, SETUP_UNIBYTE_RANGE): New macros.
+       (SETUP_MULTIBYTE_RANGE): Generate a more compact range_table.
+       (regex_compile): Make the compiled pattern usable both for
+       multibyte and unibyte targets.
+       (analyse_first): Make the fastmap usable both for multibyte and
+       unibyte targets.
+       (TRANSLATE_VIA_MULTIBYTE): Deleted.
+       (re_match_2_internal): Pay attention to the case that the
+       multibyteness of bufp and target may be different.
+
 2007-02-14  Kenichi Handa  <handa@m17n.org>
 
        * xdisp.c (x_produce_glyphs): When a font is not found, make the