1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-03 02:31:03 -08:00
Commit graph

10633 commits

Author SHA1 Message Date
Eli Zaretskii
7f8f0e6709 (Fdefine_prefix_command): Accept a third argument NAME
and pass it to Fmake_sparse_keymap.
1998-12-31 13:16:45 +00:00
Richard M. Stallman
ba5c004d4b (re_compile_fastmap): Do something similar to the
previous change, for charset_not, wordchar, notwordchar,
categoryspec, notcategoryspec.
1998-12-30 20:44:39 +00:00
Richard M. Stallman
c8099634a0 (lisp_malloc, lisp_free): New functions.
Use them instead of malloc, xmalloc, and xfree, for Lisp objects.
Don't set allocating_for_lisp in the callers; let lisp_malloc do it.
(n_interval_blocks, n_float_blocks): New variable.
(n_cons_blocks, n_vectors, n_symbol_blocks): New variable.
(n_marker_blocks, n_string_blocks): New variable.
(init_intervals, make_interval): Set a count variable.
Use lisp_malloc instead of setting allocating_for_lisp.
(init_float, make_float, init_cons, Fcons): Likewise.
(allocate_vectorlike, init_symbol, Fmake_symbol): Likewise
(init_marker, allocate_misc, init_strings): Likewise.
(make_uninit_multibyte_string): Likewise.
(gc_sweep, compact_strings): Decrement the count variables.

(uninterrupt_malloc): Don't store Emacs's hooks
into the old_..._hook variables.
1998-12-30 01:07:49 +00:00
Richard M. Stallman
bf7f4e9066 (main): Call memory_warnings and uninterrupt_malloc
even when starting the dumped Emacs.
1998-12-29 22:53:54 +00:00
Richard M. Stallman
5c9c2c3f33 (Fsingle_key_description): Handle (control ?x) etc.
(Fkey_description): Handle lists like vectors.
1998-12-29 22:53:25 +00:00
Andrew Innes
4934bcddb3 (x_iconify_frame): Wait for frame to be iconified; do
not set async_iconified flag though.
1998-12-28 19:43:05 +00:00
Andrew Innes
3ef68e6be2 (w32_msg_pump): Ignore WM_NULL message posted to thread
by complete_deferred_msg.
(post_character_message): Cancel all deferred messages when
quit_char is typed, in order to break out of potential deadlocks.
(cancel_all_deferred_msgs): New function.
(complete_deferred_msg): Don't abort if msg not found; may have
been cancelled.

(Fw32_reconstruct_hot_key): Use pre-interned symbols.

(Fw32_send_sys_command): Wait for system command to
complete before returning.
1998-12-28 19:42:26 +00:00
Andrew Innes
82e7c0a907 (Vw32_start_process_inherit_error_mode): New variable.
(create_child): Use it.
(syms_of_ntproc): Defvar it.  Also fix docstrings for
w32-start-process-share-console and w32-start-process-show-window.
1998-12-28 19:33:57 +00:00
Andrew Innes
467af476c1 (_start): Force system calls accessing unmounted devices to fail
without prompting.
1998-12-28 19:28:19 +00:00
Kenichi Handa
b8ba7b4e76 (read_char): Don't bind
input-method-exit-on-first-char.
1998-12-22 06:06:48 +00:00
Kenichi Handa
562e4a4f61 (Fcall_interactively) <'C'>: Give Fread_char Qnil
because of the change of the second argument of Fread_char.
1998-12-22 06:06:48 +00:00
Kenichi Handa
fc351d2f65 (Fread_char): Change the meaning of the second argument.
(Fread_event): Likewise.
(Fread_char_exclusive): Likewise.
1998-12-22 06:06:48 +00:00
Kenichi Handa
e6e114f231 (Fcharset_after): Check range. If POS is out of
range, return nil.
1998-12-22 06:06:48 +00:00
Kenichi Handa
9a4d01d85c (printchar): Fix previous change. 1998-12-22 06:06:48 +00:00
Kenichi Handa
51c6067d9b (read_process_output): Decide the multibyteness of
string given to a process filter by a coding system used for
decoding the process output.
1998-12-22 06:06:48 +00:00
Eli Zaretskii
8cbf107d58 (copy_text, count_size_as_multibyte): Don't convert 7-bit ASCII characters via
nonascii-translation-table.
1998-12-21 16:13:57 +00:00
Eli Zaretskii
543b4f618f (unibyte_char_to_multibyte): Don't convert 7-bit ASCII characters via
nonascii-translation-table.
1998-12-21 16:12:53 +00:00
Eli Zaretskii
f9638719e2 (concat): Don't convert 7-bit ASCII characters via
nonascii-translation-table.
1998-12-21 16:11:47 +00:00
Eli Zaretskii
f0dd4c3524 (IT_write_glyphs): Don't convert 7-bit ASCII characters via
nonascii-translation-table.
1998-12-21 16:10:52 +00:00
Eli Zaretskii
3e1f7d51ce (dumpglyphs): Don't convert 7-bit ASCII characters via
nonascii-translation-table.
1998-12-21 16:09:29 +00:00
Andreas Schwab
a3cec380f5 (Fdocumentation): Change the doc string for prefix
commands to make it a complete sentence in one line.
1998-12-21 09:59:30 +00:00
Karl Heuer
ca49396408 (TIOCSIGSEND): Don't define this if irix6.
(bcopy, bcmp, bzero): Likewise.
1998-12-16 21:46:44 +00:00
Karl Heuer
808903abdd Initial revision 1998-12-16 21:45:24 +00:00
Karl Heuer
b71689771d (IRIX6): Define this symbol. 1998-12-16 21:44:28 +00:00
Karl Heuer
a6851a5bab (LIBS_MACHINE): Leave this blank if irix6.5.
(C_SWITCH_MACHINE): New value for irix6.5.
1998-12-16 21:43:35 +00:00
Karl Heuer
8c21764540 (Fbase64_decode_region, Fbase64_decode_string):
Do free malloc'd memory even in case of failure.
Use xfree, not free.
(Fbase64_encode_region, Fbase64_encode_string):
Use xfree, not free.
(base64_decode_1): Don't fail for short lines.
1998-12-16 06:32:39 +00:00
Kenichi Handa
d366d2e41b (printchar): Outputting multibyte characters
to echo area always makes it multibyte.
1998-12-15 10:41:44 +00:00
Kenichi Handa
c7e3eb8b1b (printchar): Cancel previous change. 1998-12-15 10:38:40 +00:00
Kenichi Handa
edf496dd13 Include "ccl.h".
(Fcall_process): Doc-string modified.  Set CODING_MODE_LAST_BLOCK
bit in argument_coding.mode to tell encoding procedure to flush
data.  While encoding arguments, if argument_coding uses CCL
program, initialize it again after encoding.
(Fcall_process_region): Doc-string modified.  Handle the case that
NARGS is 3.
1998-12-15 04:35:38 +00:00
Kenichi Handa
ad3d1b1d67 (CCL_SUCCESS): Don't set ccl->ic.
(ccl_driver) <CCL_End>: Pretend that all source text is consumed.
Set `ic' to the head of this command.
(ccl_driver) <CCL_ReadMultibyteChar2>: Return a single byte 8-bit
code for an invalid code.
(setup_ccl_program): If the arg VEC is nil, skip setting ups
based on VEC.
1998-12-15 04:35:38 +00:00
Kenichi Handa
0282eb6915 (Qunknown): New variable.
(init_charset_once): Intern and staticpro Qunknown.  Initialize
all elements of Vcharset_symbol_table to Qunknown.
(find_charset_in_str): New arg MULTIBYTE.  If it is zero, check
unibyte characters only.  For an invalid composition sequence, set
CHARSETS[1] to 1.
(Ffind_charset_region): Call find_charset_in_str with an
appropriate MULTIBYTE arg.  If undefined charsets are found,
include `unknown' is the return value.
(Ffind_charset_string): Likewise.
(Fsplit_char): If CHAR is invalid, return `(unknown CHAR)'.
(str_cmpchar_id): Max composite character code should be less than
GENERIC_COMPOSITION_CHAR.
1998-12-15 04:35:38 +00:00
Kenichi Handa
8c5b01cc4b (find_charset_in_str): Update declaration. 1998-12-15 04:35:38 +00:00
Kenichi Handa
944bd42004 (DECODE_DESIGNATION): Jump to label_invalid_code if
final_char is invalid.
(decode_coding): If coding->type is coding_type_ccl, call
ccl_coding_driver even if SRC_BYTES is zero.
(code_convert_region): Update `inserted' correctly after calling
coding->post_read_conversion.  Even after the code converter
consumed all source text, call it once more if it is
coding_type_ccl to flush out data.
1998-12-15 04:35:38 +00:00
Kenichi Handa
02a08df0ab (printchar): When outputting a multibyte character to
echo area, always set message_enable_multibyte to 1.
1998-12-15 04:35:38 +00:00
Kenichi Handa
de7fbd0989 (read_process_output): If NBYTES is zero and
CODING_MODE_LAST_BLOCK bit is not yet set in coding->mode, set it
and try decoding again.
(Fprocess_send_eof): If the coding system of PROCESS
requires flushing, call send_process with null-string at first.
1998-12-15 04:35:38 +00:00
Kenichi Handa
c91beee236 (Finsert_file_contents): Even if INSERTED is zero, if
CODING is handled by CCL program, call code_convert_region.
1998-12-15 04:35:38 +00:00
Kenichi Handa
67bfe42d76 (string_char_to_byte): Handle invalid multibyte sequence
correctly.
(string_byte_to_char): Likesize.
1998-12-15 04:35:38 +00:00
Kenichi Handa
040272ceb2 (search_buffer): Don't use Boyer-Moore
to search for an invalid multibyte code.
In unibyte case, no need to check whether there are translations
in more than one charset; just set charset_base to 0.
1998-12-15 04:35:38 +00:00
Kenichi Handa
42912be360 (Fw16_set_clipboard_data): Call find_charset_in_str
with MULTIBYTE arg 0.
1998-12-15 04:35:38 +00:00
Kenichi Handa
2798f18161 (Fw32_set_clipboard_data): Call find_charset_in_str
with MULTIBYTE arg 0.
1998-12-15 04:35:38 +00:00
Kenichi Handa
666273c2f0 (lisp_data_to_selection_data): Call find_charset_in_str
with MULTIBYTE arg 0.
1998-12-15 04:35:38 +00:00
Geoff Voelker
dabe36a823 (LOCALTIME_CACHE): Define. 1998-12-10 06:41:00 +00:00
Geoff Voelker
4f8ac0b2d6 (w32_get_long_filename): Handle root dirs correctly. 1998-12-10 05:43:07 +00:00
Karl Heuer
b283f79ec7 Doc fixes. 1998-12-10 04:25:07 +00:00
Karl Heuer
4468c4f1cf (insert_from_buffer_1): Properly count the size
of output from conversion to multibyte even when input
is split across the gap.
1998-12-10 03:19:37 +00:00
Karl Heuer
d18b62f211 (re_compile_fastmap): For anychar, set all fastmap
elements for all possible unibyte chars (except newline).
1998-12-10 03:09:12 +00:00
Karl Heuer
620e6ddb8c (C_SWITCH_SYSTEM) [!__GNUC__]: Increase space. 1998-12-10 02:52:20 +00:00
Geoff Voelker
c0ca703bd4 (Fw32_get_clipboard_data): Do not delete isolated CR
characters, only convert CRLF to LF.
1998-12-09 00:03:09 +00:00
Geoff Voelker
9c148db6a3 Do string comparision of _NMAKE_VER. 1998-12-08 23:56:14 +00:00
Eli Zaretskii
aa9ce93672 (Vdos_unsupported_char_glyph): New variable.
(syms_of_msdos): DEFVAR_LISP it.
(IT_insert_glyphs, IT_delete_glyphs): New functions which abort
Emacs.
(internal_terminal_init): Set up insert_glyphs_hook and
delete_glyphs_hook to call them.  Explicitly set char_ins_del_ok
to 0.
(unibyte_display_via_language_environment): New variable.
(syms_of_msdos): Devfar it.
(IT_write_glyphs): Honor glyph aliasing via Vglyph_table.
Encode the character codes of the glyphs according to the
terminal_coding in effect.
1998-12-06 15:57:48 +00:00