Mercurial > hg > xemacs-beta
comparison src/ChangeLog @ 3439:d1754e7f0cea
[xemacs-hg @ 2006-06-03 17:50:39 by aidan]
Just-in-time Unicode code point support.
author | aidan |
---|---|
date | Sat, 03 Jun 2006 17:51:06 +0000 |
parents | 1e217fa4ad7d |
children | 551c008d3777 |
comparison
equal
deleted
inserted
replaced
3438:14fbcab7c67b | 3439:d1754e7f0cea |
---|---|
1 2006-06-03 Aidan Kehoe <kehoea@parhasard.net> | |
2 | |
3 * charset.h: | |
4 * charset.h (struct Lisp_Charset): | |
5 * charset.h (CHARSET_ENCODE_AS_UTF_8): | |
6 * charset.h (XCHARSET_ENCODE_AS_UTF_8): | |
7 Add a flag `encode-as-utf-8' to the Mule charset structure; if | |
8 set, it's an indication to ISO 2022-oriented coding systems that | |
9 the characters of that charset should be encoded using the ISO-IR | |
10 196 UTF-8 escape syntax, since they're not members of any other | |
11 well-known character set we're aware of. | |
12 | |
13 Make enum unicode_type, encode_unicode_char and Funicode_to_char | |
14 available outside of unicode.c | |
15 | |
16 * lread.c: | |
17 * event-xlike-inc.c: | |
18 Use the charset.h declaration of Funicode_to_char, don't declare | |
19 it ourselves. | |
20 | |
21 My XFree86 installation has taken to passing me ASCII characters | |
22 using the Unicode keysyms; accept them too. | |
23 | |
24 * general-slots.h: | |
25 Make `ccl-program' and `encode-as-utf-8' available as symbols | |
26 generally. | |
27 | |
28 * mule-ccl.c: | |
29 Add CCL_MuleToUnicode, CCL_UnicodeToMule, implement them, enable | |
30 and debug CCL_MAKE_CHAR, have CCL_WriteMultibyteChar2 segfault | |
31 less, fix some grammar. | |
32 | |
33 * mule-charset.c (make_charset): | |
34 * mule-charset.c (Fmake_charset): | |
35 * mule-charset.c (Fcharset_property): | |
36 * mule-charset.c (complex_vars_of_mule_charset): | |
37 Require the encode_as_utf_8 property when calling make_charset (); | |
38 accept it when creating a charset from Lisp in Fmake_charset. | |
39 | |
40 * mule-coding.c: | |
41 * mule-coding.c (dynarr_add_2022_one_dimension): | |
42 * mule-coding.c (dynarr_add_2022_two_dimensions): | |
43 Add two convenience functions for iso2022_decode, to abstract out | |
44 writing UTF-8 a little. | |
45 | |
46 * mule-coding.c (enum iso_esc_flag): | |
47 Add one more state to reflect the existence of the UTF-8 escape. | |
48 | |
49 * mule-coding.c (struct iso2022_coding_stream): | |
50 Add a counter variable to the state to permit handling | |
51 variable-length UTF-8. | |
52 | |
53 * mule-coding.c (parse_iso2022_esc): | |
54 Update the function to work with ISO_STATE_UTF_8; only the ESC % @ | |
55 escape is processed in that state, everything else is ignored and | |
56 passed through by the error handler. | |
57 | |
58 * mule-coding.c (iso2022_decode): | |
59 * mule-coding.c (iso2022_designate): | |
60 * mule-coding.c (iso2022_encode): | |
61 Handle the UTF-8 escape sequences in reading and in writing ISO | |
62 2022. | |
63 | |
64 * redisplay-x.c (separate_textual_runs): | |
65 Add a comment to the effect that the dimension stuff breaks when | |
66 using CCL programs and registries to map to a bigger charset. | |
67 | |
68 * unicode.c: | |
69 Add support for creating new characters on the fly as unknown | |
70 Unicode code points are encountered. | |
71 | |
72 * unicode.c (get_free_codepoint): New. | |
73 * unicode.c (unicode_to_ichar): Reworked to create new code points | |
74 on the fly. | |
75 * unicode.c (Funicode_to_char): Update the docstring. | |
76 * unicode.c (struct unicode_coding_system): | |
77 Move enum unicode_type into charset.h. | |
78 | |
79 * unicode.c (encode_unicode_char): | |
80 encode_unicode_char isn't static any longer, mule-coding.c uses | |
81 it. | |
82 * unicode.c (syms_of_unicode): | |
83 Make a couple of symbols available to unicode.c | |
84 * unicode.c (vars_of_unicode): | |
85 Tell the garbage collector about current_jit_charset, initialise | |
86 it. | |
87 | |
1 2006-05-25 Stephen J. Turnbull <stephen@xemacs.org> | 88 2006-05-25 Stephen J. Turnbull <stephen@xemacs.org> |
2 | 89 |
3 * objects-x.c (x_find_charset_font): Keep local names local; wrap | 90 * objects-x.c (x_find_charset_font): Keep local names local; wrap |
4 the spurious declaration in a block, don't move it. | 91 the spurious declaration in a block, don't move it. |
5 | 92 |