1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-08 20:50:52 -08:00
Commit graph

9418 commits

Author SHA1 Message Date
Kenichi Handa
6038393415 (init_charset_once): Fix previous change. 1998-11-07 01:42:20 +00:00
Kenichi Handa
bb63e573a8 (string_to_non_ascii_char): Fix previous change.
(char_valid_p): The the validity of CHARSET by CHARSET_DEFINED_P.
1998-11-06 10:59:09 +00:00
Kenichi Handa
dfd57aa70f (SPLIT_NON_ASCII_CHAR): Check dimension of an invalid
character correctly.
(STRING_CHAR): Handle an invalid charater correctly.
1998-11-06 10:59:09 +00:00
Kenichi Handa
f35b0e56f0 (MULTIBYTE_BYTES_WIDTH): Check validity of a multibyte character. 1998-11-06 00:44:16 +00:00
Kenichi Handa
d9d851ea28 (Fstring_to_char): Don't return a multibyte character
if STRING is a unibyte string.
1998-11-06 00:44:16 +00:00
Kenichi Handa
a6c253264f (string_to_non_ascii_char): Fix previous change. 1998-11-06 00:44:16 +00:00
Kenichi Handa
d6127b83e3 (MAKE_NON_ASCII_CHAR): Check validity of CHARSET. 1998-11-06 00:44:16 +00:00
Kenichi Handa
a688bb2444 (display_text_line): Check validity of a multibyte
character.
(display_string): Likewise.  Handle an invalid character
correctly.
1998-11-06 00:44:16 +00:00
Karl Heuer
101e446fa0 (Fcombine_after_change_execute): Return nil, not junk.
If nothing to do, return immediately.
(syms_of_insdel): Initialize combine_after_change_buffer.
1998-11-05 20:06:22 +00:00
Karl Heuer
edad46f664 (XTread_socket): ButtonPress clears f->mouse_moved. 1998-11-05 19:17:42 +00:00
Geoff Voelker
484fa2c1ec (w32_enable_unicode_output): Rename from
w32_no_unicode_output.
(w32_use_unicode_for_codepage, syms_of_w32term): Use new name
and new semantics.
1998-11-04 23:42:04 +00:00
Geoff Voelker
bc6af9357c (dumpglyphs): Use FRAME_FONT for w32_fill_area. 1998-11-04 23:38:42 +00:00
Geoff Voelker
396594fed9 (w32_list_fonts): Report an error if a frame has not
been created yet.
1998-11-04 23:38:19 +00:00
Kenichi Handa
fbddb98df1 Initial revision 1998-11-04 10:54:59 +00:00
Kenichi Handa
a4165c918b (do_switch_frame): Cancel previous change. 1998-11-04 10:53:14 +00:00
Kenichi Handa
da1ad4e741 (print_string): Check validity of a character.
(print): Likewise.
1998-11-04 10:53:14 +00:00
Kenichi Handa
6a0d0ed308 [nec_ews_svr4]: Extern *_sobuf. 1998-11-04 10:53:14 +00:00
Kenichi Handa
6ef23ebb48 (string_to_non_ascii_char): Change the check for the
varidity of multibyte form.
(update_charset_table): Check validity of BYTES.  Don't set
bytes_by_char_head here.
(init_charset_once): Set bytes_by_char_head completely.
1998-11-04 10:48:53 +00:00
Geoff Voelker
c654fd9e7d Compile multiple source files when possible. 1998-11-04 01:28:57 +00:00
Geoff Voelker
f2b56a5d96 (Qmouse_face): Replace definition with extern decl. 1998-11-04 01:26:24 +00:00
Andrew Innes
01f31dfb5f (stat): GetFileInformationByHandle can legitimately fail, so don't
rely on it succeeding.
1998-11-03 22:39:04 +00:00
Andrew Innes
1a292d24f1 (x_to_w32_font): Specify DEFAULT_CHARSET in the w32 LOGFONT struct if
x font doesn't specify the charset.

(x_to_w32_charset): Change >= to == when testing results of stricmp.
1998-11-03 22:21:58 +00:00
Geoff Voelker
4488d7e15c (Fsubstitute_in_file_name) [DOS_NT]: Fix typo. 1998-11-03 02:26:21 +00:00
Richard M. Stallman
33fa85e042 (set_internal): For built-in maybe-local vars,
when BINDFLAG is set, do not mark them as local.
1998-10-31 23:39:42 +00:00
Kenichi Handa
b80f1b20d3 (replace_range): Fix previous change. 1998-10-31 05:24:11 +00:00
Kenichi Handa
33a2d2a074 (do_switch_frame): Update minibuf_window if necessary. 1998-10-31 05:12:07 +00:00
Kenichi Handa
039af53ac4 (byte_combining_error): New function.
(CHECK_BYTE_COMBINING_FOR_INSERT): Call byte_combining_error.
(insert_from_string_1): Set *(GPT_ADDR) to 0 before calling
CHECK_BYTE_COMBINING_FOR_INSERT.
(insert_from_buffer_1): Likewise.
(adjust_after_replace): Check the posibility of inhibitted byte
combining correctly.
(replace_range): Before signaling an error for inhibitted byte
combining, recover the buffer in a safe state.
(del_range_2): Check the posibility of inhibitted byte combining
correctly.
1998-10-31 05:12:07 +00:00
Kenichi Handa
48839d2ed7 (Fsubst_char_in_region): Fix previous change.
(Ftranslate_region): Fix previous change.
1998-10-31 05:12:07 +00:00
Kenichi Handa
922dfd866f (Fbase64_decode_region): Fix previous change.
n
1998-10-31 05:12:07 +00:00
Andreas Schwab
aac77ff120 (Vselection_coding_system): Doc fix. 1998-10-30 10:21:58 +00:00
Andreas Schwab
8b835738fd (Fbase64_encode_region): Use SET_PT_BOTH instead of SET_PT
when we have both char and byte position.  Fix type clashes.
1998-10-30 10:20:25 +00:00
Andreas Schwab
377127ce12 (Fsignal): Use a separate format string when passing
error message string to fatal, in case it contains %'s.
1998-10-30 10:14:50 +00:00
Andreas Schwab
3c52e568d6 (Fchar_after): Fix type clashes. 1998-10-30 10:13:41 +00:00
Andreas Schwab
60022cb712 (Fchar_bytes): Doc fix.
(char_bytes): Fix returned value to match returned type.
(syms_of_charset): Fix type clash in initialisation of
Vauto_fill_chars.
1998-10-30 10:13:36 +00:00
Geoff Voelker
938469f27d (initialize_w32_display): Use buffer coords
instead of buffer size (which may be larger than the window).
1998-10-30 04:22:31 +00:00
Geoff Voelker
dbda5089c0 fileio.c (init_fileio_once): New function. 1998-10-30 03:49:09 +00:00
Geoff Voelker
680256a8be emacs.c (main): Invoke init_fileio_once. 1998-10-30 03:48:54 +00:00
Paul Eggert
1decb68022 (XTread_socket): Check the returned value of XmbLookupString more carefully. 1998-10-29 00:16:49 +00:00
Kenichi Handa
9f3ede3ccc (check_markers): Check if markers are at character
boundry.
(adjust_markers_for_insert): Fix previous change.
(count_combining_before): Don't limit the check at BEGV.
(count_combining_after): Don't limit the check at ZV.
(CHECK_BYTE_COMBINING_FOR_INSERT): New macro.
(insert_1_both): Call CHECK_BYTE_COMBINING_FOR_INSERT.
(insert_from_string_1): Likewise.
(insert_from_buffer_1): Likewise.
(adjust_after_replace): Inhibit bytes combined across region
boundary.  Update end_unchanged correctly.
(replace_range): Call CHECK_BYTE_COMBINING_FOR_INSERT.  Update
end_unchanged correctly.
(del_range_2): Inhibit bytes combined across region boundary.
Update end_unchanged correctly.
1998-10-28 07:52:13 +00:00
Kenichi Handa
3f5409d35b (Fsubst_char_in_region): Fix previous change.
(Ftranslate_region): Fix previous change.
1998-10-28 07:52:13 +00:00
Kenichi Handa
d14d03ac4a (DECODE_CHARACTER_ASCII): Check validity of inserted
code.
(DECODE_CHARACTER_DIMENSION1): Likewise.
(DECODE_CHARACTER_DIMENSION2): Likewise.
(decode_coding_sjis_big5): Check the 2nd byte of SJIS correctly.
1998-10-28 07:52:13 +00:00
Geoff Voelker
78859b8033 (Fset_message_beep): Recognize 'silent.
(w32_sys_ring_bell): Do nothing for the 'silent sound.
1998-10-28 05:48:12 +00:00
Geoff Voelker
93cbf229f9 (Vnext_selection_coding_system): New variable.
(syms_of_w32select): DEFVAR_LISP it.
(Fw32_set_clipboard_data): Use Vnext_selection_coding_system if
non-nil.  Always convert multibyte strings.
(Fw32_get_clipboard_data): Use Vnext_selection_coding_system if
non-nil.  Always convert a string that includes non-ASCII characters.
1998-10-28 03:50:07 +00:00
Geoff Voelker
96ef7d42fb (check_windows_init_file): Also look in load path specified
in environment.
1998-10-27 23:42:26 +00:00
Geoff Voelker
5d84dd8714 (w32_color_map_lookup): Remove duplicate definition. 1998-10-27 20:10:19 +00:00
Richard M. Stallman
46ac5b268d (Fbase64_decode_string): Doc fix.
(Fbase64_decode_region, Fbase64_encode_string Fbase64_encode_region):
Likewise.
1998-10-27 17:55:28 +00:00
Dave Love
15a9a50c39 (Fbase64_decode_region, Fbase64_encode_region): Fix
newline in doc string.
1998-10-27 10:39:24 +00:00
Kenichi Handa
f6ecdae5b2 (adjust_after_replace): Correctly handle the case that
both byte combining before and byte combining after happen.
(replace_range): Likewise.
1998-10-27 03:54:13 +00:00
Kenichi Handa
a3360ff915 (Fsubst_char_in_region): Correctly handle the case
that byte combining before happens.
(Ftranslate_region): Likewise.
1998-10-27 03:54:13 +00:00
Richard M. Stallman
b413f89564 (Fformat): Increase buffer size for floating format. 1998-10-26 23:48:57 +00:00