1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-27 07:41:28 -08:00
Commit graph

143 commits

Author SHA1 Message Date
Thien-Thi Nguyen
0b5538bd85 Update years in copyright notice; nfc. 2005-08-07 12:33:19 +00:00
Lute Kamstra
4fc5845fe8 Update FSF's address. 2005-07-04 16:49:24 +00:00
Luc Teirlinck
6f63837bf8 (syms_of_charset): Delete defsubr for Schars_in_region. 2005-05-02 00:37:18 +00:00
Nick Roberts
189cbdd6bb (Fchars_in_region): Remove as obsolete. 2005-05-01 22:19:14 +00:00
Kim F. Storm
233f3db624 Fix SAFE_FREE calls. Replace SAFE_FREE_LISP calls. 2004-10-26 22:38:50 +00:00
Kim F. Storm
4894eddd88 (Fstring): Use SAFE_ALLOCA. 2004-06-21 21:52:46 +00:00
Juanma Barranquero
bc0018148a (Fget_unused_iso_final_char): Fix typos in docstring.
(Fchar_bytes, Fchar_width, Fstring_width, Fchar_direction, Fsplit_char)
(Fchar_charset): Make argument names match their use in docstring.
2004-05-10 17:51:27 +00:00
Kenichi Handa
74ac5074b4 (Fdeclare_equiv_charset): Fix docstring. 2004-01-07 12:50:15 +00:00
Miles Bader
ab5796a9f9 Add arch taglines 2003-09-01 15:45:59 +00:00
Juanma Barranquero
177c0ea743 Trailing whitespace deleted. 2003-02-04 14:56:31 +00:00
Dave Love
020ea113e2 Declare all args (per C99). 2002-11-14 14:12:30 +00:00
Ken Raeburn
fb4f7f5086 (find_charset_in_text, c_string_width):
(chars_in_text, multibyte_chars_in_text, parse_str_as_multibyte):
String pointer args now point to const.
(find_charset_in_text, lisp_string_width): Use const
for pointer to lisp string data.
2002-07-16 19:47:56 +00:00
Ken Raeburn
d5db40779d Most uses of XSTRING combined with STRING_BYTES or indirection changed to
SCHARS, SBYTES, STRING_INTERVALS, SREF, SDATA; explicit size_byte references
left unchanged for now.
2002-07-15 00:01:34 +00:00
Juanma Barranquero
b261cd7985 (Fchar_bytes): Remove obsolescence info from docstring. 2002-06-27 16:13:17 +00:00
Ken Raeburn
e27415102c * charset.c (Fdefine_charset, Fdeclare_equiv_charset): Use XSTRING
and SYMBOL_NAME instead of XSYMBOL and name field.
2002-05-20 08:05:09 +00:00
Eli Zaretskii
d37478d0d7 (CHAR_COMPONENTS_VALID_P): Tell in a comment that some invalid pairs are
intentionally allowed.
2002-04-26 12:03:20 +00:00
Stefan Monnier
4bc26a6c68 (Fstring): Allow 0 arguments. 2002-04-01 22:54:03 +00:00
Stefan Monnier
31ade731e6 Change defvar_int def and vars to use EMACS_INT instead of just int. 2002-03-04 23:41:00 +00:00
Eli Zaretskii
1a45ff104a (get_charset_id): Use if-else instead of ?:. 2002-02-06 19:12:14 +00:00
Richard M. Stallman
538482abd9 (Fdefine_charset): Call Fupdate_coding_systems_internal. 2001-12-18 19:38:18 +00:00
Pavel Janík
05ffc44bbc (char_to_string_1, translate_char, Fdefine_charset): Add parentheses around
&& within ||.
2001-12-09 00:55:19 +00:00
Pavel Janík
b782650360 Update usage of CHECK_ macros (remove unused second argument). 2001-11-02 20:46:55 +00:00
Miles Bader
5f5d497ee4 (Fstring): Add usage: string to doc string. 2001-10-21 09:59:56 +00:00
Pavel Janík
fdb82f9337 Change doc-string comments to new style' [w/doc:' keyword]. 2001-10-20 20:56:10 +00:00
Gerd Moellmann
32c82ac0a1 Don't define min/max. 2001-10-08 08:08:08 +00:00
Gerd Moellmann
12bcae0584 (char_to_string_1): Extracted from char_to_string.
Return -1 instead of signaling an error.
(char_to_string): Use it.
2001-07-13 09:30:42 +00:00
Kenichi Handa
5ef834ea90 (char_to_string): If a single byte char has modifier
bits that can't be reflected to the character code, ignore them
instead of signalling an error.
2001-03-05 06:41:40 +00:00
ShengHuo ZHU
555e35d2da 2001-02-09 ShengHuo ZHU <zsh@cs.rochester.edu>
* charset.c (Fstring): A typo.
2001-02-09 06:13:57 +00:00
Kenichi Handa
5729c92fb2 (Fstring): If all arguments are less than 256, return a unibyte
string.
2001-02-09 05:32:24 +00:00
Kenichi Handa
740f080d09 (parse_str_to_multibyte): New function. 2001-02-07 04:24:49 +00:00
Dave Love
d8e4f486d9 comment fixes 2001-01-22 23:20:06 +00:00
Kenichi Handa
beeedaada9 (strwidth): Use c_string_width.
(c_string_width): New function.
(lisp_string_width): New arguments PRECISION, NCHARS, NBYTES.
Caller changed.
2001-01-19 05:22:21 +00:00
Eli Zaretskii
8ebae00c64 (char_printable_p): Remove unused variable `chars'.
(Fsplit_char, Fchar_bytes): Remove unused variable `val'.
(str_to_multibyte): Remove unused variable `c'.
2001-01-02 14:22:57 +00:00
Kenichi Handa
3073601217 (Fmake_char_internal): If CHARSET doesn't have a
generic character and CODE1 is nil, return the smallest character
in CHARSET.
2000-12-21 00:12:13 +00:00
Kenichi Handa
3bb7b08b1a (get_new_private_charset_id): Don't limit CHARSET_ID by WIDTH. 2000-11-20 11:40:45 +00:00
Eli Zaretskii
365dd3255e (Ffind_charset_string): Doc fix.
(Ffind_charset_region): Doc fix.
2000-10-11 14:10:56 +00:00
Dave Love
0c59a1b7f5 (Ffind_charset_string): Doc fix. 2000-10-06 22:47:22 +00:00
Kenichi Handa
3f62427c0c Include composite.h
(lisp_string_width): New function.
(Fstring_width): Call lisp_string_width instead of strwidth.
2000-09-07 02:35:08 +00:00
Kenichi Handa
6ce974d452 *** empty log message *** 2000-08-26 01:08:44 +00:00
Kenichi Handa
0e235b7e3a (char_to_string): Check the character validity.
(char_valid_p): If C is not less than MAX_CHAR, be sure to return 0.
2000-08-26 01:07:49 +00:00
Kenichi Handa
4245f3d2ec (Fchar_width): Doc fix. 2000-08-08 12:59:56 +00:00
Gerd Moellmann
5af47d5f73 (Fstring_width): Doc fix. 2000-08-08 12:38:01 +00:00
Ken Raeburn
52e386c2dc fix up more Lisp_Object/int conversion issues 2000-06-18 20:14:37 +00:00
Kenichi Handa
c83ef37172 (update_charset_table): Update the table
bytes_by_char_head.
(init_charset_once): Initialize elements of bytes_by_char_head to
1 except for leading codes for private charases.
2000-06-10 00:12:46 +00:00
Eli Zaretskii
797a084a9d (syms_of_charset): Revert previous change. 2000-05-29 07:53:20 +00:00
Eli Zaretskii
cd550f9193 (syms_of_charset): Set width of character sets
eight-bit-control and eight-bit-graphic to 1 column.
2000-05-28 10:43:30 +00:00
Kenichi Handa
a5236564c6 (init_charset_once): Set the table bytes_by_char_head
correctly.
2000-05-26 02:32:05 +00:00
Kenichi Handa
d78bc582fe (update_charset_table): Accept nil in LONG_NAME and
DESCRIPTION.
(syms_of_charset): Avoid building same strings.
2000-05-24 03:17:37 +00:00
Kenichi Handa
cfe34140af Fix previous change (typo). 2000-05-23 00:47:54 +00:00
Kenichi Handa
f6302ac964 Fix comment for find_charset_in_text. 2000-05-23 00:46:13 +00:00