1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-12 22:40:46 -08:00
Commit graph

7232 commits

Author SHA1 Message Date
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
Kenichi Handa
f78798dfeb (dumpglyphs): Pay attention to characters registered in
use-default-ascent.
Fill background in advance if font has
non-zero _MULE_BASELINE_OFFSET property.
(x_load_font, x_term_init): Handle font property _MULE_DEFAULT_ASCENT.
1997-02-27 06:53:04 +00:00
Kenichi Handa
1312cff577 (skip_chars): If enable-multibyte-characters is nil,
don't handle multibyte characters.
1997-02-27 06:50:46 +00:00
Kenichi Handa
57647d0999 (lisp, shortlisp): Add lao.elc. 1997-02-27 00:17:54 +00:00
Karl Heuer
f73d78a2f4 Fix previous change. 1997-02-23 22:49:18 +00:00
Karl Heuer
369314dc63 Fix FSF address in comment. 1997-02-23 09:20:52 +00:00
Miles Bader
2c30b2fc06 [__GNU__] (NeXT, host_self):
New macros, to make hurd systems use the NeXT code for getting load averages.
1997-02-23 03:38:49 +00:00
Karl Heuer
e22e428338 (Fcopy_sequence, concat, internal_equal, Ffillarray):
Fix a bug of miscalculation of `size_in_chars' of a bool vector.
(Fset_char_table_range): When range is vector, make the original
char table deeper if necessary.
1997-02-22 19:31:56 +00:00
Karl Heuer
6fdaa9a05d Include charset.h and coding.h.
(READ_BUF_SIZE): New macro.
(Finsert_file_contents): Refer to a coding system in the docstring.
Perform character code conversion of a text read in.
(Fwrite_region): Refer to a coding system in the docstring.
Setup a coding system for character code conversion.
Pass a new arg `pre_write_conversion' (Lisp function) to
build_annotations.
Pass a new arg `coding' to a_write.
(build_annotations): Handle the new arg.
(a_write): Handle the new arg `coding' by passing it to e_write.
(WRITE_BUF_SIZE): New macro.
(e_write): Perform character code conversion of a text to write
out according to the new arg `coding'.
1997-02-22 19:31:32 +00:00
Karl Heuer
969f51456a (init_eval_once): Increase max_lisp_eval_depth to 300. 1997-02-22 19:31:13 +00:00
Karl Heuer
270ce8217c (main): Call several initialization function introduced
by Mule.
1997-02-22 19:30:55 +00:00
Karl Heuer
fc44dfab72 Change FETCH_CHAR references to FETCH_BYTE. 1997-02-22 19:26:15 +00:00
Karl Heuer
5679531d6c Include category.h and charset.h.
(compile_pattern_1): Handle new argument `multibyte'.
(compile_pattern): Handle the flag `enable-multibyte-characters'.
(Vascii_downcase_table): Declare external.
(fast_string_match_ignore_case): New function.
(skip_chars): Handle multibyte characters.
(trivial_regexp_p): Handle regular expression "\\Cc" and "\\CC"
for category.
1997-02-20 07:26:24 +00:00
Karl Heuer
4ed4686978 Initial revision 1997-02-20 07:02:49 +00:00
Karl Heuer
adb572fb93 (struct font_info): This definition is moved to
fontset.h.
(struct x_display_info): New members Xatom_PIXEL_SIZE,
Xatom_MULE_BASELINE_OFFSET, Xatom_RELATIVE_COMPOSE, and null_pixel.
(x_list_fonts, x_get_font_info, x_load_font, x_query_font):
Declare external.
(struct x_output): New members font_baseline and fontset.
(FRAME_FONTSET, FRAME_X_FONT_TABLE): New macros.
1997-02-20 07:00:06 +00:00
Karl Heuer
dc43ef945f Include charset.h, ccl.h, and fontset.h.
(PER_CHAR_METRIC): New macro.
(dumpglyphs): New argument CMPCHARP.  Handle multibyte characters.
(XTwrite_glyphs, redraw_previous_char, redraw_following_char):
Supply argument CMPCHARP to dumpglyphs.
(dumprectangle): Display whole glyph of wide-column characters.
Supply argument CMPCHARP to dumpglyphs.
(show_mouse_face): Supply argument CMPCHARP to dumpglyphs.
(x_draw_box): Pay attention to wide-column characters.
(x_draw_single_glyph): Supply argument CMPCHARP to dumpglyphs.
(x_new_font): Call fs_load_font for actual font loading work.
(x_new_fontset): New function.
(x_get_font_info, x_list_fonts, x_load_font, x_query_font): New
functions providing API to fontset handler.
(x_term_init): Initialize several new members of struct x_display_info.
1997-02-20 06:59:25 +00:00
Karl Heuer
e6c7c98823 Include charset.h and coding.h.
(QCOMPOUND_TEXT): New variable.
(symbol_to_x_atom): Handle it.
(selection_data_to_lisp_data): Decode a selection data if
selection type is TEXT or COMPOUND_TEXT.
(lisp_data_to_selection_data): Encode a text to COMPOUND_TEXT if
it contains multibyte characters.
(syms_of_xselect): Initialize and staticpro QCOMPOUND_TEXT.
1997-02-20 06:58:45 +00:00
Karl Heuer
942ea06da5 Include charset.h and fontset.h.
(Vx_pixel_size_width_font_regexp): New variable.
(x_set_font): Handle fontset.
(Fx_create_frame): Create fontsets in Vglobal_fontset_alist.
(Fx_list_fonts): Handle fontset.
(syms_of_xfns): Initialize Vx_pixel_size_width_font_regexp.
Setting callback functions for fontset handler.
1997-02-20 06:58:06 +00:00