1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-02-27 02:10:52 -08:00
Commit graph

7249 commits

Author SHA1 Message Date
Kenichi Handa
b5210ea72e (dumpglyphs): Set a clipping region when we draw glyphs
with a font of inappropriate size.
(x_list_fonts): Try alternate fonts if we can't find a font of an
appropriate size.
1997-03-19 16:33:48 +00:00
Kenichi Handa
8c83e4f9fb (Valternative_fontname_alist): New variable.
(syms_of_fontset): Declare Lisp variable alternative-fontname-alist.
1997-03-19 16:33:06 +00:00
Kenichi Handa
bdf3d7e8b5 (Valternative_fontname_alist): Extern it. 1997-03-19 16:33:06 +00:00
Kenichi Handa
07109bf9ed (insert_glyphs): Fix a bug which turns up when
TS_ins_multi_chars is 0.
1997-03-19 16:32:46 +00:00
Kenichi Handa
467e767554 Adjusted for the change of MAX_CHARSET. 1997-03-18 23:31:34 +00:00
Kenichi Handa
1df19f0203 (describe_vector): Adjusted for the change of CHAR_TABLE_ORDINARY_SLOTS.
(push_key_description): A key code less than 512 is printed with 3
octal numbers.  Print only entries of valid charsets.
1997-03-18 23:31:34 +00:00
Kenichi Handa
b96656ce4e (CHAR_TABLE_ORDINARY_SLOTS): Change to 384 (== 256 + 128).
(CHAR_TABLE_STANDARD_SLOTS): Adjusted for the above change.
(CHAR_TABLE_SINGLE_BYTE_SLOTS): New macro.
(CHAR_TABLE_REF, CHAR_TABLE_SET): New macros.
1997-03-18 23:31:34 +00:00
Kenichi Handa
cecda31486 Adjusted for the change of CHAR_TABLE_ORDINARY_SLOTS. 1997-03-18 23:31:34 +00:00
Kenichi Handa
513ee44261 Adjusted for the change of MAX_CHARSET.
(str_cmpchar_id): Return -1 if we have no more room
for a new composite character.
(Fmake_char_internal): Docstring is moved to lisp/mule.el.
1997-03-18 23:31:34 +00:00
Kenichi Handa
03e66c53e1 (MAX_CHARSET): Definition changed to the actual
maximum valid charset.
(MAX_CHAR): New macro.
1997-03-18 23:31:34 +00:00
Kenichi Handa
3a6cf6bde3 (Faref, Faset): Adjusted for the change of CHAR_TABLE_ORDINARY_SLOTS. 1997-03-18 23:31:34 +00:00
Kenichi Handa
cd49fad3f1 (GLYPH_FOLLOW_ALIASES): Assure that the resulting G
contains valid character code.
1997-03-18 23:31:34 +00:00
Kenichi Handa
a8283a4a98 (map_char_table): Handle multibyte characters. 1997-03-18 23:31:34 +00:00
Kenichi Handa
9ca6ab7d30 (SET_RAW_SYNTAX_ENTRY, SYNTAX_ENTRY): Adjusted for the change of
CHAR_TABLE_ORDINARY_SLOTS.
1997-03-18 23:31:34 +00:00
Kenichi Handa
085d590815 (encode_terminal_code): Check validity of character code. 1997-03-18 23:31:34 +00:00
Kenichi Handa
e57bca5d35 (copy_part_of_rope): Declare glyph as type GLYPH. For a
invalid character code, use ' ' (space).
(display_string, display_text_line): Check validity of character
code before calling fix_glyph.
1997-03-18 23:31:34 +00:00
Kenichi Handa
81ba44e5ff (x_list_fonts): Comment about cached font list added. 1997-03-18 23:31:34 +00:00
Karl Heuer
2dd5c7f71a Fix typo in comment. 1997-03-17 09:37:32 +00:00
Karl Heuer
1c4f857c24 Fix typos in comment. 1997-03-17 09:25:32 +00:00
Karl Heuer
dc91fb5dbd (change_window_height): Handle shrink as well as enlarge. 1997-03-14 17:22:11 +00:00
Karl Heuer
000f46219b (FAST_MAKE_GLYPH): Don't cast CHAR arg; character codes
are now wider than C chars.
1997-03-10 21:14:32 +00:00
Kenichi Handa
bfd9904870 (decode_eol): Fix bug of converting CRLF to LF. 1997-03-05 07:02:02 +00:00
Kenichi Handa
626665b47b (compute_motion): When POS >= TO, don't call
find_before_next_newline() as it assumes POS < TO.
1997-03-05 01:42:06 +00:00
Kenichi Handa
040df2c773 (CATEGORY_SET): Cast arg C to
`unsigned char' before indexing category table directly.
1997-03-03 01:54:26 +00:00
Karl Heuer
47582ab34d [__GLIBC__ >= 2]: Don't declare __getpagesize. 1997-03-01 17:55:39 +00:00
Karl Heuer
74ad5c7fde Initial revision 1997-03-01 17:50:07 +00:00
Kenichi Handa
0e35bfd8d0 (SET_RAW_SYNTAX_ENTRY, SYNTAX_ENTRY): Cast arg C to
`unsigned char' before indexing syntax table directly.
1997-02-28 01:40:51 +00:00
Kenichi Handa
78f9a1f703 (init_syntax_once): Add trick to avoid compiler warning
of "comparison is always 1 ...".
1997-02-28 01:38:57 +00:00
Erik Naggum
7075e5a56a (Fload): Call Vload_source_file_function with 4 args. 1997-02-27 19:08:35 +00:00
Kenichi Handa
a1a17b614d (init_buffer_once): Make member
enable_multibyte_characters of struct buffer not always local.
(reset_buffer): Do not reset b->enable_multibyte_characters.
(syms_of_buffer): Declare default-enable-multibyte-characters.
1997-02-27 11:15:55 +00:00
Kenichi Handa
74d28e5540 (CATEGORY_SET): For a composite character, return
category set of the first component.
1997-02-27 11:15:29 +00:00
Kenichi Handa
7bce92a673 (Fregister_ccl_program): Escape newlines in docstring. 1997-02-27 11:13:46 +00:00
Kenichi Handa
550017463d (Fcmpchar_cmp_rule): Escape newlines in docstring. 1997-02-27 11:12:11 +00:00
Kenichi Handa
28a29eb022 (INC_POS, DEC_POS): Don't increase or decrease too
much if there's binary code (invalid character code).
1997-02-27 11:11:46 +00:00
Kenichi Handa
e0e989f659 (create_process, Fopen_network_stream): Typo in indexes
of array proc_encode_coding_system fixed.
Remove prefix "coding-system-" from coding system symbol names.
(encode_coding) : Fix typo ("=" -> "==").
(detect_coding_iso2022): Detect coding-category-iso-8-2
more precisely.
(ENCODE_RESET_PLANE_AND_REGISTER): Argument `eol' is
deleted.  Don't call ENCODE_DESIGNATION if nothing designated
initially.
(encode_designation_at_bol) New function.
(encode_coding_iso2022): Handle CODING_FLAG_ISO_INIT_AT_BOL and
CODING_FLAG_ISO_DESIGNATE_AT_BOL.
(setup_coding_system): Now, flags of ISO2022 coding
systems contains charsets instead of charset IDs.
(detect_coding_iso2022, decode_coding_iso2022): Make the code
robust against invalid SI and SO.
(Ffind_coding_system, syms_of_coding): Escape newlines in docstring.
(setup_coding_system): Correct setting coding->symbol
and coding->eol_type.  The performance improved.
1997-02-27 11:10:42 +00:00
Kenichi Handa
8ddb35b2ab (struct iso2022_spec): Member requested_designation is
changed to array of `char' just for saving memory.
(CODING_FLAG_ISO_INIT_AT_BOL, CODING_FLAG_ISO_DESIGNATE_AT_BOL):
New macros.
1997-02-27 11:07:46 +00:00
Kenichi Handa
8fb379fdac (Faref, Faset): Handle a composite char correctly in char-table. 1997-02-27 10:45:19 +00:00
Kenichi Handa
3046d6fcf7 (DISP_CHAR_VECTOR): Allow bare 8-bit in display-table. 1997-02-27 10:44:19 +00:00
Kenichi Handa
ca38bbb2b8 Escape newlines in docstring. 1997-02-27 08:03:44 +00:00
Kenichi Handa
719c80be43 (Finsert_file_contents, Fwrite_region): Do not perform
character code conversion if enable-multibyte-characters is nil.
1997-02-27 08:01:34 +00:00
Kenichi Handa
b65dbda390 (Vuse_default_ascent): Extern. 1997-02-27 08:00:26 +00:00
Kenichi Handa
6a7e6d80cb (syms_of_fontset): Intern Qfontset. Declare new lisp
variable use-default-ascent.
(Vuse_default_ascent): New variable.
(Ffont_info): Return also the value of default-ascent of a font.
(fs_load_font): Disable updating fontsetp->height by
non-ASCII character sets.  This should be enabled when Emacs
supports variable height lines.
(fs_load_font, Fset_fontset_font): Bug fix to cope
with the change of charsets to symbols.
1997-02-27 07:52:23 +00:00
Kenichi Handa
a20aa7210c (describe_vector): Do not descibe deeper char-table if
enable-multibyte-characters is nil.
1997-02-27 07:49:24 +00:00
Kenichi Handa
c758053843 (Fstart_process, Fopen_network_stream): Do not perform
character code conversion if enable-multibyte-characters is nil.
1997-02-27 07:48:21 +00:00
Kenichi Handa
908b7fea57 (describe_syntax): Handle the case that the argument
VALUE is char-table.
1997-02-27 07:47:24 +00:00
Kenichi Handa
5cb66ab8d6 `ospeed' should be short if not HAVE_TERMIIO_H. 1997-02-27 07:46:33 +00:00
Kenichi Handa
010a899e5a (try_window_id): Display blank lines from the next
line, when xp.bufpos == ZV.  (This bug is introduced by
changes of Mule).
Compare height against xp.vpos instead of xp.bufpos.
(display_mode_line): Avoid error while compiling with
--with-x=no.
(display_text_line): Correct displaying multi-column
binary data.
1997-02-27 07:45:24 +00:00
Kenichi Handa
dcc13cda77 (syms_of_xfns): Documentation of
x-pixel-size-width-font-regexp modified.
1997-02-27 06:59:54 +00:00
Kenichi Handa
90da0ee653 (lisp_data_to_selection_data, selection_data_to_lisp_data):
Remove prefix "coding-system-" from coding system symbol names.
1997-02-27 06:55:57 +00:00
Kenichi Handa
7b341ec208 (struct x_display_info): New member Xatom_MULE_DEFAULT_ASCENT. 1997-02-27 06:55:20 +00:00