comparison src/ChangeLog @ 3659:98af8a976fc3

[xemacs-hg @ 2006-11-05 22:31:31 by aidan] Support specifying fonts for particular character sets in Mule; support translation to ISO 10646-1 for Mule character sets without an otherwise matching font; move to a vector of X11-charset-X11-registry instead of a regex for the charset-registry property.
author aidan
date Sun, 05 Nov 2006 22:31:46 +0000
parents 3e7493e76dc7
children b880e45ea63b
comparison
equal deleted inserted replaced
3658:0db1aaedbbef 3659:98af8a976fc3
1 2006-11-05 Aidan Kehoe <kehoea@parhasard.net>
2
3 * charset.h:
4 Prefer the charset-registries property to the charset-registry
5 property; accept the latter for compatibility, warning when its
6 regexp functionality is used.
7
8 * charset.h (XCHARSET_CCL_PROGRAM):
9 * charset.h (XCHARSET_NAME):
10 Make dummy versions of these available in non-Mule.
11
12 * console-impl.h:
13 * console-impl.h (struct console_methods):
14 Rename the last parameter to a couple of methods; reformat their
15 declarations.
16
17 * faces.c:
18 * faces.c (face_property_matching_instance):
19 * faces.c (ensure_face_cachel_contains_charset):
20 * faces.c (merge_face_cachel_data):
21 * faces.c (reset_face_cachel):
22 * faces.c (mark_face_cachels_as_not_updated):
23 * faces.c (syms_of_faces):
24 * faces.c (vars_of_faces):
25 * faces.c (complex_vars_of_faces):
26 Provide a DEBUG_FACES macro; use it to make debugging output
27 available in debug builds.
28 Implement multi-stage font lookup, assigning the stages names, not
29 numbers.
30 Re-implement the cachel->font_specified cache using the
31 infrastructure for Lisp bit vectors.
32
33 * faces.h:
34 * faces.h (struct face_cachel):
35 * faces.h (FACE_CACHEL_FONT_UPDATED):
36 * faces.h (FACE_FONT):
37 Re-implement the cachel->font_specified cache using the
38 infrastructure for Lisp bit vectors.
39
40 * font-mgr.h:
41 Move some XFT debug macros here from objects-x.c.
42
43 * general-slots.h:
44 Provide a few new symbols for the multi-stage font resolution
45 process.
46
47 * intl.c (init_intl):
48 Correct a comment.
49
50 * lisp.h:
51 Provide a macro to declare an inline lisp bit vector where the
52 size is fixed.
53 Make Qregistries available all over, not Qregistry.
54
55 * mule-charset.c:
56 * mule-charset.c (mark_charset):
57 * mule-charset.c (print_charset):
58 * mule-charset.c (make_charset):
59 * mule-charset.c (Fmake_charset):
60 * mule-charset.c (Fcharset_property):
61 * mule-charset.c (Fset_charset_ccl_program):
62 * mule-charset.c (syms_of_mule_charset):
63 * mule-charset.c (complex_vars_of_mule_charset):
64 * mule-charset.c (CHINESE_CNS_PLANE):
65 Prefer the charset-registries property to the charset-registry
66 property; accept the latter for compatibility, warning when its
67 regexp functionality is used.
68
69 * objects-gtk.c:
70 * objects-gtk.c (gtk_font_spec_matches_charset):
71 * objects-gtk.c (gtk_find_charset_font):
72 * objects-msw.c (mswindows_find_charset_font):
73 * objects-tty.c (tty_find_charset_font):
74 Redeclare various functions to work with the multi-stage lookup
75 process. Include objects-xlike-inc.
76
77 * objects-x.c:
78 Provide a DEBUG_OBJECTS macro; use it to make debugging output
79 available in debug builds.
80
81 * objects-x.c (x_initialize_font_instance):
82 * objects-x.c (x_print_font_instance):
83 * objects-x.c (xlistfonts_checking_charset):
84 * objects-x.c (vars_of_objects_x):
85 Don't regex match on the output of XListFonts; instead, use the
86 fixed strings of the charset-registries to comparatively limit the
87 IPC that will happen. Include objects-xlike-inc.c
88
89 * objects-xlike-inc.c:
90 * objects-xlike-inc.c (count_hyphens):
91 New. How many ASCII minus characters in a string?
92
93 * objects-xlike-inc.c (xlistfonts_checking_charset):
94 * objects-xlike-inc.c (mule_to_fc_charset):
95 * objects-xlike-inc.c (xft_find_charset_font):
96 * objects-x.c (x_find_charset_font):
97 Move some methods here to share them with GTK.
98
99 * objects.c (print_font_instance):
100 * objects.c (font_spec_matches_charset):
101 * objects.c (font_validate_matchspec):
102 * objects.c (font_instantiate):
103 Redeclare some methods to take enums rather than numeric stages.
104
105 * objects.h (EXFUN):
106 Make Fregexp_quote available to mule-charset.c
107
108 * redisplay-x.c:
109 * redisplay-x.c (separate_textual_runs):
110 Make this slightly faster, cleaner. Make it accept a face cachel
111 pointer argument, and check it as to whether a given charset
112 should be translated to UCS-2 before redisplay.
113
114 * specifier.c:
115 * specifier.c (charset_matches_specifier_tag_set_p):
116 * specifier.c (define_specifier_tag):
117 * specifier.c (Fdefine_specifier_tag):
118 * specifier.c (setup_device_initial_specifier_tags):
119 * specifier.c (setup_charset_initial_specifier_tags):
120 * specifier.c (specifier_instance_from_inst_list):
121 * specifier.c (syms_of_specifier):
122 * specifier.c (vars_of_specifier):
123 * specifier.h:
124 Extend specifiers to allow limiting their applicability by using
125 charset predicates. Document this.
126 Run indent-region on the file, at Stephen's suggestion.
127
128 * unicode.c (unicode_to_ichar):
129 * unicode.c (syms_of_unicode):
130 * unicode.c (vars_of_unicode):
131 Use unicode-registries, a dumped vector, as the charset-registries
132 of the on-the-fly JIT charsets.
133
1 2006-11-01 Adrian Aichner <adrian@xemacs.org> 134 2006-11-01 Adrian Aichner <adrian@xemacs.org>
2 135
3 * sysdep.c (wcslen): Check for NULL pointer. 136 * sysdep.c (wcslen): Check for NULL pointer.
4 * sysdep.c (strlwr): Ditto. 137 * sysdep.c (strlwr): Ditto.
5 * nt.c (mswindows_getdcwd): Ditto (actual cause of reported 138 * nt.c (mswindows_getdcwd): Ditto (actual cause of reported