1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-24 13:32:41 -08:00
Commit graph

85765 commits

Author SHA1 Message Date
Chong Yidong
36bdf1ff3c (isearch-highlight-regexp): Fix case of highlighted string. 2008-08-29 19:15:19 +00:00
Chong Yidong
1d9fad13ce * isearch.el (isearch-highlight-regexp): Fix case of highlighted
string.
2008-08-29 19:14:57 +00:00
Jason Rumney
595f18706c (uniscribe_check_otf): Don't fallback on DFLT script. 2008-08-29 18:13:10 +00:00
Eli Zaretskii
300d87a183 (mode-line-frame-control, mode-line-frame-identification): Fix last change. 2008-08-29 17:56:33 +00:00
Kenichi Handa
70a6526c97 (lao-composition-function): Fix previous change. 2008-08-29 10:57:29 +00:00
Eli Zaretskii
77fa4db298 (fill_gstring_body): Avoid compiler warnings. 2008-08-29 09:55:32 +00:00
Eli Zaretskii
f62ab7c582 (font_fill_lglyph_metrics): Use EMACS_INT in LGLYPH_SET_CODE to avoid
compiler warnings.
2008-08-29 09:54:05 +00:00
Eli Zaretskii
398241376c (report_file_error): Clarify the case of slash defeating downcasing. 2008-08-29 09:27:26 +00:00
Eli Zaretskii
2428c57bd1 (mode-line-frame-identification): Fix last change. 2008-08-29 09:02:00 +00:00
Eli Zaretskii
4bf84f7d73 (uniscribe_shape): Shut up compiler warning in LGLYPH_SET_CODE. 2008-08-29 08:41:52 +00:00
Eli Zaretskii
19ac20343f (LGLYPH_SET_CODE): Cast `val' to EMACS_INT. 2008-08-29 08:40:01 +00:00
Eli Zaretskii
091a66d2b8 ($(BLD)/w32uniscribe.$(O)): Depend on composite.h 2008-08-29 08:39:35 +00:00
Kenichi Handa
d5443ffda0 (report_file_error): Don't downcase the first character
of errstring if it is still unibyte.
2008-08-29 08:04:38 +00:00
Kenichi Handa
94baaf4f7c *** empty log message *** 2008-08-29 08:02:19 +00:00
Kenichi Handa
3fe3d08bd0 (setup-default-fontset): Prepend
iso10646-1 fonts to the fallback font groups instead of appending.
2008-08-29 08:02:01 +00:00
Kenichi Handa
59db3a5ca4 (unicode-category-table): Setup unicode-category-table. 2008-08-29 08:01:43 +00:00
Kenichi Handa
ef19e2f3b4 Fix setting up of
composition-function-table.
(devanagari-composable-pattern)
(tamil-composable-pattern, kannada-composable-pattern)
(malayalam-composable-pattern): New variables.
2008-08-29 08:01:22 +00:00
Kenichi Handa
ef90a979c4 Encoding changed to utf-8.
(thai-composition-function): Argument changed.
2008-08-29 08:01:03 +00:00
Kenichi Handa
4699a15aed Fix setting up of composition-function-table. 2008-08-29 07:59:57 +00:00
Kenichi Handa
39a7775db4 (lao-composition-function): Argument changed. 2008-08-29 07:59:39 +00:00
Kenichi Handa
620f3d8c7d Don't setup composition-function-table.
(diacritic-composition-pattern, diacritic-compose-region)
(diacritic-compose-string, diacritic-compose-buffer)
(diacritic-composition-function): Delete them.
2008-08-29 07:59:21 +00:00
Kenichi Handa
473ccad07a (composition-function-table): Declaration moved to
composite.c.
(terminal-composition-base-character-p): Delete it.
(terminal-composition-function): Delete it.
(terminal-composition-function-table): Delete it.
(lgstring-header, lgstring-set-header, lgstring-font)
(lgstring-char, lgstring-char-len, lgstring-shaped-p)
(lgstring-set-id, lgstring-glyph, lgstring-glyph-len)
(lgstring-set-glyph, lglyph-from, lglyph-to, lglyph-char)
(lglyph-code, lglyph-width, lglyph-lbearing, lglyph-rbearing)
(lglyph-ascent, lglyph-descent, lglyph-adjustment)
(lglyph-set-from-to, lglyph-copy, lgstring-insert-glyph)
(compose-glyph-string, compose-glyph-string-relative)
(compose-gstring-for-graphic, compose-gstring-for-terminal): New
functions.
(auto-compose-chars): Argument changed.
2008-08-29 07:59:03 +00:00
Kenichi Handa
24553805cb (x_draw_composite_glyph_string_foreground): Adjusted for
the change of struct glyph_string.
(x_draw_glyph_string): Likewise.
2008-08-29 07:58:40 +00:00
Kenichi Handa
4eceb6f3b7 Include font.h.
(it_props): Delete the entry for Qauto_composed.
(init_iterator): Initialize it->cmp_it.id to -1.
(compute_stop_pos): Call composition_compute_stop_pos.
(face_before_or_after_it_pos): Adjusted for the change of struct
it.
(handle_auto_composed_prop): Delete it.
(handle_composition_prop): Handle only static composition.
(next_overlay_string): Remove it->method == GET_FROM_COMPOSITION
from xassert.  Initialize it->cmp_it.stop_pos.
(push_it): Adjusted for the change of struct it.
(pop_it): Likewise.
(get_next_element): Delete next_element_from_composition.
(CHAR_COMPOSED_P): New macro.
(get_next_display_element): For automatic composition, get a face
from the font in the glyph-string.
(set_iterator_to_next): For GET_FROM_BUFFER and GET_FROM_STRING,
check composition by it->cmp_it.id.  Delete GET_FROM_COMPOSITION
case.
(next_element_from_string): Check if the character at the current
position is composed by CHAR_COMPOSED_P.
(next_element_from_buffer): Likewise.
(next_element_from_composition): Adjusted for the change of struct
it.  Update it->cmp_it.
(dump_glyph): Adjusted for the change of struct glyph.
(fill_composite_glyph_string): Adjusted for the change of struct
it and struct glyph.  Don't handle automatic composition here.
(fill_gstring_glyph_string): New function.
(x_get_glyph_overhangs): Handle automatic composition.
(BUILD_COMPOSITE_GLYPH_STRING): Adjusted for the change of struct
glyph.
(BUILD_GSTRING_GLYPH_STRING): New macro.
(BUILD_GLYPH_STRINGS): Call BUILD_GSTRING_GLYPH_STRING for
automatic composition.
(append_composite_glyph): Adjusted for the change of struct it and
struct glyph.
(x_produce_glyphs): Adjusted for the change of struct it.
2008-08-29 07:58:08 +00:00
Kenichi Handa
716e6ba398 (struct uniscribe_font_info): Include composite.h.
(uniscribe_shape): Use LGSTRING_GLYPH_LEN, not LGSTRING_LENGTH.
2008-08-29 07:57:43 +00:00
Kenichi Handa
2b107652bf (x_draw_composite_glyph_string_foreground): Adjusted
for the change of struct glyph_string.
(x_draw_glyph_string): Likewise.
2008-08-29 07:57:31 +00:00
Kenichi Handa
75a1078622 (encode_terminal_code): Adjusted for the change of struct
glyph.
(append_composite_glyph): Adjusted for the change of struct it and
struct glyph.
(produce_composite_glyph): Likewise.
2008-08-29 07:57:13 +00:00
Kenichi Handa
7e279d8975 (ns_draw_glyph_string): Adjusted for the change of
struct glyph_string.
2008-08-29 07:56:59 +00:00
Kenichi Handa
db2f2cdcb9 (adjust_point_for_property): Check composition by
composition_adjust_point.
2008-08-29 07:56:40 +00:00
Kenichi Handa
d6721dda7f Include composite.h and dispextern.h.
(check_composition): Delete this function..
(scan_for_column): Handle composition by
composition_compute_stop_pos, composition_reseat_it, and
composition_update_it.
(compute_motion): Likewise.
(Fvertical_motion): Fix checking of composition.
2008-08-29 07:56:25 +00:00
Kenichi Handa
89a95b7cf7 Include composite.h.
(ftfont_resolve_generic_family): Add langset "en" to pattern.
(ftfont_shape_by_flt): Use LGSTRING_GLYPH_LEN, not
LGSTRING_LENGTH.
2008-08-29 07:56:10 +00:00
Kenichi Handa
9d9f3e1504 (font_for_char): Extern it. 2008-08-29 07:55:54 +00:00
Kenichi Handa
514cf2188b (font_for_char): New function. 2008-08-29 07:55:35 +00:00
Kenichi Handa
8057d3c014 * font.h (enum lgstring_indices): Delete it.
(LGSTRING_XXX, LGLYPH_XXX): These macros moved to composite.h.
(enum lglyph_indices): Likewise.
(font_range): Extern adjusted.
(font_fill_lglyph_metrics): Extern it.
2008-08-29 07:55:02 +00:00
Kenichi Handa
071132a958 (QCf): New variable.
(check_gstring): Use LGSTRING_GLYPH_LEN, not LGSTRING_LENGTH.
(font_prepare_composition): Delete this function.
(font_range): Type and arguments changed.
(Ffont_make_gstring, Ffont_fill_gstring): Delete them.
(font_fill_lglyph_metrics): New function.
(Ffont_shape_text): Renamed to Ffont_shape_gstring and arguments
changed.
(syms_of_font): DEFSYM QCf.  Delete defsubr for
Sfont_make_gstring, Sfont_fill_gstring, Sfont_shape_text.  Defsubr
Sfont_shape_gstring.
2008-08-29 07:54:44 +00:00
Kenichi Handa
a88c7fcdd3 * dispextern.h (struct glyph): New union u.cmp. Delete the member
cmp_id.
(struct glyph_string): Delete the member gidx.  New members
cmp_id, cmp_from, and cmp_to.
(enum it_method): Delete GET_FROM_COMPOSITION.
(struct composition_it): New struct.
(struct it): New member cmp_it, and iterator_stack_entry.cmp_it.
Delete c, len, cmp_id, cmp_len in u.comp.
2008-08-29 07:54:09 +00:00
Kenichi Handa
6e8b8329c2 * composite.h (enum composition_method): Delete
COMPOSITION_WITH_GLYPH_STRING.
(COMPOSITION_METHOD): Dont' check COMPOSITION_WITH_GLYPH_STRING.
(Vcomposition_function_table): Extern it.
(LGSTRING_XXX, LGLYPH_XXX): Macros moved from font.h.
(composition_gstring_put_cache, composition_gstring_from_id)
(composition_gstring_p, composition_gstring_width)
(composition_compute_stop_pos, composition_reseat_it)
(composition_update_it, composition_adjust_point): Extern them.
(Fcomposition_get_gstring): EXFUN it.
2008-08-29 07:53:47 +00:00
Kenichi Handa
58753d746d Include window.h, frame.h, dispextern.h font.h.
(Vcomposition_function_table)
(get_composition_id): Don't handle COMPOSITION_WITH_GLYPH_STRING.
(gstring_hash_table, gstring_work, gstring_work_headers): New
variables.
(gstring_lookup_cache, composition_gstring_put_cache)
(composition_gstring_from_id, composition_gstring_p)
(composition_gstring_width, fill_gstring_header)
(fill_gstring_body, autocmp_chars, composition_compute_stop_pos)
(composition_reseat_it, composition_update_it)
(composition_adjust_point, Fcomposition_get_gstring): New
functions.
(syms_of_composite): Initialize gstring_hash_table, gstrint_work,
and gstring_work_headers.  DEFVAR_LISP composition-function-table.
Defsubr compostion_get_gstring.
2008-08-29 07:53:27 +00:00
Kenichi Handa
c3b57f2354 (optimize_sub_char_table): Perform more greedy optimization. 2008-08-29 07:53:11 +00:00
Kenichi Handa
a48a6418e0 (Vunicode_category_table): Extern it. 2008-08-29 07:52:57 +00:00
Kenichi Handa
a3cbb6314b (Vunicode_category_table): New variable.
(syms_of_character): DEFVAR_LISP Vunicode_category_table.
2008-08-29 07:52:46 +00:00
Kenichi Handa
6b7f08601c (ftfont.o): Depend on composite.h.
(composite.o): Depend dispextern.h, font.h, frame, and window.h.
2008-08-29 07:52:21 +00:00
Glenn Morris
7d09b7a6e1 truncate-partial-width-windows default now 50. 2008-08-29 07:10:43 +00:00
Glenn Morris
3a66cc9128 (truncate-partial-width-windows): Changed in 23.1. 2008-08-29 06:55:22 +00:00
Glenn Morris
05e10ad58b *** empty log message *** 2008-08-29 06:52:17 +00:00
Glenn Morris
0b4ffd6297 (truncate-partial-width-windows): Doc fix. Increase default to 50. 2008-08-29 06:52:05 +00:00
Glenn Morris
eb577e2701 (syms_of_buffer): Doc fix. 2008-08-29 06:50:34 +00:00
Glenn Morris
b798e26a69 auth-source has nothing to do with X.
Add delete-by-moving-to-trash.
Collect some misc items near the end of "Changes" section.
2008-08-29 06:43:49 +00:00
Paul Reilly
acdc20068b Resolve all byte compiler warnings and enable IMAP/movemail support. 2008-08-29 04:27:46 +00:00
Chong Yidong
40bb7e6f66 (update_tool_bar_unwind): New function.
(update_tool_bar): Temporarily set selected frame before building
tool-bar items.
2008-08-29 01:06:42 +00:00