aboutsummaryrefslogtreecommitdiffstats
path: root/src/charset.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* (CHAR_BYTES): Use ((1 << CHARACTERBITS) - 1) insteadKenichi Handa1999-12-271-2/+3
| | | | of GLYPH_MASK_CHAR.
* In this entry, just `Modified' means that codes for aKenichi Handa1999-12-151-255/+106
| | | | | | | | | | | | | | | | | | | | | | | | composite character is deleted. (LEADING_CODE_COMPOSITION) (CHARSET_COMPOSITION) (charset_composition) (MIN_CHAR_COMPOSITION) (MAX_CHAR_COMPOSITION) (GENERIC_COMPOSITION_CHAR) (COMPOSITE_CHAR_P) (MAKE_COMPOSITE_CHAR) (COMPOSITE_CHAR_ID) (PARSE_COMPOSITE_SEQ) (PARSE_CHARACTER_SEQ): Deleted. (MAX_CHAR) (CHARSET_VALID_P) (CHARSET_DEFINED_P) (CHARSET_AT) (FIRST_CHARSET_AT) (SAME_CHARSET_P) (MAKE_NON_ASCII_CHAR) (PARSE_MULTIBYTE_SEQ) (SPLIT_NON_ASCII_CHAR) (CHAR_PRINTABLE_P): Modified. (SPLIT_STRING): Call split_string, not split_non_ascii_string. (CHAR_STRING): Delete WORKBUF argument. Call char_string, not non_ascii_char_to_string. (STRING_CHAR): Call string_to_char, not string_to_non_ascii_char. (STRING_CHAR_AND_LENGTH): Likewise. (FETCH_CHAR_ADVANCE): New macro. (MAX_COMPONENT_COUNT) (struct cmpchar_info): Deleted. (MAX_MULTIBYTE_LENGTH): New macro. (MAX_LENGTH_OF_MULTI_BYTE_FORM): Deleted. (find_charset_in_str): Argument adjusted. (CHAR_LEN): Modified.
* (GET_TRANSLATION_TABLE): Use XCDR.Ken Raeburn1999-09-111-1/+1
|
* Lots of comments fixed.Kenichi Handa1999-09-071-18/+32
| | | | | (PARSE_MULTIBYTE_SEQ): Make it work also for ASCII string. (STRING_CHAR_AND_CHAR_LENGTH): This macro removed.
* (MAKE_NON_ASCII_CHAR): Handle the case that C1 or C2Kenichi Handa1999-09-031-102/+149
| | | | | | | | | | | | | | | are negative. (MAKE_CHAR): Don't set MSBs of C1 and C2 to 0. (VALID_MULTIBYTE_CHAR_P): This macro deleted. (PARSE_COMPOSITE_SEQ): New macro. (PARSE_CHARACTER_SEQ): New macro. (PARSE_MULTIBYTE_SEQ): New macro. (CHAR_PRINTABLE_P): New macro. (STRING_CHAR): Adjusted for the change of string_to_non_ascii_char. (STRING_CHAR_AND_LENGTH): Likewise. (STRING_CHAR_AND_CHAR_LENGTH): Define it as STRING_CHAR_AND_LENGTH. (INC_POS): Use the macro PARSE_MULTIBYTE_SEQ. (DEC_POS, BUF_INC_POS, BUF_DEC_POS): Likewise,
* (BCOPY_SHORT): Fix typo `unsigined'.Karl Heuer1999-08-101-1/+1
|
* (CHAR_LEN): Moved here from dispextern.h.Gerd Moellmann1999-07-211-0/+8
|
* Fix previous change.Kenichi Handa1999-05-261-1/+1
|
* (Vcharset_table): Comment fixed.Kenichi Handa1999-05-261-2/+2
|
* (find_charset_in_str): Update declaration.Kenichi Handa1998-12-151-1/+1
|
* Declare char_valid_p.Andreas Schwab1998-12-031-0/+1
|
* (CHAR_BYTES): If C has modifier bits, return 1.Kenichi Handa1998-11-261-1/+2
|
* (SINGLE_BYTE_CHAR_P): Check if C is negative or not.Kenichi Handa1998-11-161-1/+1
|
* (cmpchar_component): Proto-type adjusted.Kenichi Handa1998-11-101-1/+1
|
* (SPLIT_NON_ASCII_CHAR): Check dimension of an invalidKenichi Handa1998-11-061-10/+9
| | | | | character correctly. (STRING_CHAR): Handle an invalid charater correctly.
* (MAKE_NON_ASCII_CHAR): Check validity of CHARSET.Kenichi Handa1998-11-061-7/+7
|
* (Vauto_fill_chars): Extern it.Kenichi Handa1998-10-191-0/+3
|
* (STRING_CHAR_AND_LENGTH): Return correct value inKenichi Handa1998-09-071-5/+3
| | | | | | ACTUAL_LEN even if LEN is too short to have a valid multibyte form. (STRING_CHAR_AND_CHAR_LENGTH): Likewise.
* (CHAR_BYTES): New macro.Kenichi Handa1998-08-281-0/+4
|
* (MAX_CHAR_COMPOSITION): Defined as (GLYPH_MASK_CHAR -Kenichi Handa1998-07-061-1/+4
| | | | | 1), one less than the previous value. (GENERIC_COMPOSITION_CHAR): New macro.
* Doc fixes.Karl Heuer1998-06-201-2/+2
|
* (STRING_CHAR_AND_CHAR_LENGTH): New macro.Kenichi Handa1998-05-221-7/+16
| | | | (string_to_non_ascii_char): Adjusted for the new arg.
* (find_charset_in_str): Number of arguments fixed.Kenichi Handa1998-05-211-1/+2
|
* Change terms unify/unification toKenichi Handa1998-05-181-4/+6
| | | | | translate/translation respectively throughtout the file. (GET_TRANSLATION_TABLE): Name changed from UNIFICATION_ID_TABLE.
* (MULTIBYTE_FORM_LENGTH): Don't check LEN here.Kenichi Handa1998-04-091-4/+3
|
* (string_to_non_ascii_char, multibyte_form_length)Karl Heuer1998-04-081-4/+4
| | | | | (split_non_ascii_string, str_cmpchar_id): Make the STR argument const unsigned char *.
* (CHAR_STRING): Cast to unsigned char ** explicitly.Karl Heuer1998-04-081-1/+1
|
* (NONASCII_INSERT_OFFSET): New macro.Kenichi Handa1998-03-031-0/+23
| | | | (VALID_MULTIBYTE_CHAR_P): New macro.
* (INC_POS): Use macro BASE_LEADING_CODE_P.Kenichi Handa1998-02-201-17/+30
| | | | | (DEC_POS): Make the behaviour consistent with INC_POS. (BUF_INC_POS, BUF_DEC_POS): Likewise.
* (INC_BOTH, DEC_BOTH): In unibyte mode, simply increment bytepos.Richard M. Stallman1998-02-161-12/+18
|
* Delete garbage line "int use_dialog_box".Kenichi Handa1998-01-231-4/+0
|
* (BCOPY_SHORT): New macro.Kenichi Handa1998-01-221-1/+19
| | | | | | | | (MAX_CHAR_COMPOSITION): New macro. (CHAR_CHARSET): Check more strictly. (CODING_FLAG_ISO_DESIGNATION): New macro. (Vcharacter_unification_table_vector): Extern it. (UNIFICATION_ID_TABLE): New macro.
* Update copyright year.Richard M. Stallman1998-01-211-1/+1
|
* (FETCH_STRING_CHAR_ADVANCE): New macro.Richard M. Stallman1998-01-051-0/+28
|
* (CHAR_HEAD_P): Take char, not pointer, as arg.Richard M. Stallman1997-12-311-7/+59
| | | | | | (INC_POS, DEC_POS): Fix because arg is a bufpos. (BUF_INC_POS, BUF_DEC_POS): New macros. (INC_BOTH, DEC_BOTH): New macros.
* (SPLIT_STRING): Remove extra argument toAndreas Schwab1997-11-251-1/+1
| | | | split_non_ascii_string.
* Add more prototypes and function declarations.Andreas Schwab1997-11-211-1/+11
|
* (ASCII_BYTE_P): New macro.Karl Heuer1997-11-151-0/+3
|
* (CHAR_VALID_P): Renamed from VALID_CHAR_P, newKenichi Handa1997-10-231-9/+6
| | | | argument GENERICP. Call char_valid_p for a non-ASCII character.
* (LEADING_CODE_PRIVATE_22): Comment fixed.Kenichi Handa1997-09-011-1/+1
|
* Comment changes.Richard M. Stallman1997-08-121-8/+15
|
* Change copyright notices.Richard M. Stallman1997-06-201-3/+2
|
* (VALID_CHAR_P): New macro.Kenichi Handa1997-05-161-1/+11
| | | | (CHAR_STRING): Comment modified
* (unify_char): Extern it.Kenichi Handa1997-05-101-0/+2
|
* (CHARSET_TABLE_ENTRY): Handle ASCII charset correctly.Kenichi Handa1997-04-071-7/+8
| | | | | (SPLIT_NON_ASCII_CHAR, SPLIT_CHAR): Return -1 in C2 for DIMENSION1 characters.
* (MAX_CHARSET): Definition changed to the actualKenichi Handa1997-03-181-5/+8
| | | | | maximum valid charset. (MAX_CHAR): New macro.
* (INC_POS, DEC_POS): Don't increase or decrease tooKenichi Handa1997-02-271-6/+9
| | | | much if there's binary code (invalid character code).
* Fix FSF address in comment.Karl Heuer1997-02-231-12/+14
|
* Initial revisionKarl Heuer1997-02-201-0/+649