diff options
| author | Kenichi Handa | 2002-03-05 01:07:22 +0000 |
|---|---|---|
| committer | Kenichi Handa | 2002-03-05 01:07:22 +0000 |
| commit | 3e4abc9e90b1748530bc93a6d0a770926335d495 (patch) | |
| tree | 6e7669cdb31a34f5663f68dcfda4e1bad2c24010 /src | |
| parent | 678fea0e744c185a07b036aef40e80cf318ceab8 (diff) | |
| download | emacs-3e4abc9e90b1748530bc93a6d0a770926335d495.tar.gz emacs-3e4abc9e90b1748530bc93a6d0a770926335d495.zip | |
*** empty log message ***
Diffstat (limited to 'src')
| -rw-r--r-- | src/ChangeLog | 23 | ||||
| -rw-r--r-- | src/charset.h | 20 |
2 files changed, 37 insertions, 6 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index ae57d1cb214..a79957d598f 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,26 @@ | |||
| 1 | 2002-03-04 Kenichi Handa <handa@etl.go.jp> | ||
| 2 | |||
| 3 | * casefiddle.c (casify_region): Fix multibyte case. | ||
| 4 | |||
| 5 | * character.c (c_string_width): Add return type `int'. | ||
| 6 | (char_string_with_unification): Arg ADVANCED deleted. | ||
| 7 | |||
| 8 | * character.h (CHAR_VALID_P): Don't call CHARACTERP. | ||
| 9 | (CHAR_STRING): Adjusted for the change of | ||
| 10 | char_string_with_unification. | ||
| 11 | (CHAR_STRING_ADVANCE): Make it do-while statement. | ||
| 12 | |||
| 13 | * chartab.c (sub_char_table_set_range): Optimized for the case | ||
| 14 | DEPTH == 3. Add workaround code for a GCC optimization bug. | ||
| 15 | |||
| 16 | * coding.c: Delete unused variables. | ||
| 17 | |||
| 18 | * fileio.c (Finsert_file_contents): Set coding_system to Qnil | ||
| 19 | earlier. If inserted is zero and the coding system doesn't | ||
| 20 | require flushing, don't call decode_coding_gap. | ||
| 21 | |||
| 22 | * syntax.h (SET_RAW_SYNTAX_ENTRY): Don't call make_number. | ||
| 23 | |||
| 1 | 2002-03-01 Kenichi Handa <handa@etl.go.jp> | 24 | 2002-03-01 Kenichi Handa <handa@etl.go.jp> |
| 2 | 25 | ||
| 3 | The following changes are for using Unicode as an internal | 26 | The following changes are for using Unicode as an internal |
diff --git a/src/charset.h b/src/charset.h index 58649eabb51..6d8068abd59 100644 --- a/src/charset.h +++ b/src/charset.h | |||
| @@ -62,7 +62,7 @@ enum charset_attr_index | |||
| 62 | charset_plist, | 62 | charset_plist, |
| 63 | 63 | ||
| 64 | /* If the method of the charset is `MAP_DEFERRED', the value is a | 64 | /* If the method of the charset is `MAP_DEFERRED', the value is a |
| 65 | mappint vector or a file name that contains mapping vector. | 65 | mapping vector or a file name that contains mapping vector. |
| 66 | Otherwise, nil. */ | 66 | Otherwise, nil. */ |
| 67 | charset_map, | 67 | charset_map, |
| 68 | 68 | ||
| @@ -82,10 +82,15 @@ enum charset_attr_index | |||
| 82 | of the form (PARENT-CHARSET-ID . CODE-OFFSET). */ | 82 | of the form (PARENT-CHARSET-ID . CODE-OFFSET). */ |
| 83 | charset_parents, | 83 | charset_parents, |
| 84 | 84 | ||
| 85 | /* */ | 85 | /* The value is a mapping vector or a file name that contains |
| 86 | mapping vector. This provide how characters in the charset | ||
| 87 | should be unified with Unicode. The value of the member | ||
| 88 | `charset_deunifier' is created from this information. */ | ||
| 86 | charset_unify_map, | 89 | charset_unify_map, |
| 87 | 90 | ||
| 88 | /* */ | 91 | /* If characters in the charset must be unified Unicode, the value |
| 92 | is a char table that maps a character code in the charset to | ||
| 93 | the corresponding Unicode character. */ | ||
| 89 | charset_deunifier, | 94 | charset_deunifier, |
| 90 | 95 | ||
| 91 | /* The length of charset attribute vector. */ | 96 | /* The length of charset attribute vector. */ |
| @@ -113,13 +118,15 @@ enum charset_method | |||
| 113 | 118 | ||
| 114 | /* A charset of this method inherits characters from the other | 119 | /* A charset of this method inherits characters from the other |
| 115 | charsets. */ | 120 | charsets. */ |
| 116 | CHARSET_METHOD_INHERIT, | 121 | CHARSET_METHOD_INHERIT |
| 117 | }; | 122 | }; |
| 118 | 123 | ||
| 119 | struct charset | 124 | struct charset |
| 120 | { | 125 | { |
| 126 | /* Index to charset_table. */ | ||
| 121 | int id; | 127 | int id; |
| 122 | 128 | ||
| 129 | /* Index to Vcharset_hash_table. */ | ||
| 123 | int hash_index; | 130 | int hash_index; |
| 124 | 131 | ||
| 125 | /* Dimension of the charset: 1, 2, 3, or 4. */ | 132 | /* Dimension of the charset: 1, 2, 3, or 4. */ |
| @@ -135,10 +142,11 @@ struct charset | |||
| 135 | If the charset is treated as 96-chars in ISO-2022, the value is 1. */ | 142 | If the charset is treated as 96-chars in ISO-2022, the value is 1. */ |
| 136 | int iso_chars_96; | 143 | int iso_chars_96; |
| 137 | 144 | ||
| 138 | /* ISO final character code for the charset: 48..127. | 145 | /* ISO final byte of the charset: 48..127. It may be -1 if the |
| 139 | It may be 0 if the charset doesn't conform to ISO-2022. */ | 146 | charset doesn't conform to ISO-2022. */ |
| 140 | int iso_final; | 147 | int iso_final; |
| 141 | 148 | ||
| 149 | /* ISO revision number of the charset. */ | ||
| 142 | int iso_revision; | 150 | int iso_revision; |
| 143 | 151 | ||
| 144 | /* If the charset is identical to what supported by Emacs 21 and the | 152 | /* If the charset is identical to what supported by Emacs 21 and the |