Commit graph

12108 commits

Author SHA1 Message Date
Dave Love
dcd465573f (Fread): Doc fix. 2000-08-20 19:06:50 +00:00
Miles Bader
6e69ab8c7b (do_completion): Try again if we rewrite the input string, but no
completion was done, so that any completion message will be correct.
2000-08-20 17:12:03 +00:00
Gerd Moellmann
511bd4eb0b *** empty log message *** 2000-08-20 13:29:38 +00:00
Gerd Moellmann
ae4b4ba5df (lface_equal_p): Compare strings differently.
(Qtty_color_alist, Vtty_defined_color_alist): New variables.
(realize_tty_face): Use them.
(syms_of_xfaces): Initialize new variables.
(map_tty_color): New function, extracted from realize_tty_face.
(map_tty_color) [MSDOS || WINDOWSNT]: If using the frame's default
foreground or background color, store the new color name in the
realized face; previous code trying to do this had no effect.
(realize_tty_face): Use map_tty_color.
(Fclear_face_cache): Set face_change_count and ensure thorough
redisplay.
2000-08-20 13:23:01 +00:00
Gerd Moellmann
1433385feb *** empty log message *** 2000-08-19 12:35:17 +00:00
Gerd Moellmann
2f33f38ac4 (record_first_change, record_marker_adjustment): Don'use
XBUFFER on last_undo_buffer which might not be a buffer.
2000-08-19 12:33:00 +00:00
Kenichi Handa
13004bef1e (encode_coding_string): Fix previous change. 2000-08-18 10:48:26 +00:00
Kenichi Handa
2391eaa401 (decode_coding_string): Set members consumed,
consumed_char, produced, produced_char of *coding correctly.  If
decode_coding doesn't consume any byte, don't try anymore.
(encode_coding_string): Likewise.
2000-08-18 06:41:15 +00:00
Kenichi Handa
419ac0a216 *** empty log message *** 2000-08-18 06:39:31 +00:00
Gerd Moellmann
7eb9e30d9d (CHECK) [ENABLE_CHECKING]: Make both side of the
conditional have void type, for standard C compilers.
2000-08-18 05:18:44 +00:00
Gerd Moellmann
97a36635d1 (redisplay_internal): Compare windows for equality with
EQ, instead of applying XWINDOW to something that might not
be a window.
2000-08-18 05:16:45 +00:00
Kenichi Handa
851ab85e39 (Finternal_char_font): Search only the selected frame for a window of
the current buffer.
2000-08-18 05:05:39 +00:00
Kenichi Handa
dd34a73507 *** empty log message *** 2000-08-18 05:05:08 +00:00
Gerd Moellmann
01cce3e757 (do_completion): Use EQ instead of != to compare
Lisp_Objects.
2000-08-18 04:55:28 +00:00
Gerd Moellmann
385ff9e36d *** empty log message *** 2000-08-18 03:48:49 +00:00
Gerd Moellmann
e4457b09c8 (kbd_buffer_get_event): Handle the case that the
second half of a HELP_EVENT is found at the start of kbd_buffer.
2000-08-18 03:13:27 +00:00
Miles Bader
4618074a71 (Lisp_String): Replace DECLARE_INTERVALS with real decl. 2000-08-18 03:07:07 +00:00
Miles Bader
d6abb4c767 (save_restriction_save): Rewrite to use markers.
(save_restriction_restore): Rewrite to understand new form of data
  saved by save_restriction_save.
(Fsave_restriction): Remove cautionary note in doc-string.
2000-08-18 00:43:52 +00:00
Gerd Moellmann
a7b2852367 *** empty log message *** 2000-08-17 20:27:27 +00:00
Gerd Moellmann
532ed66155 (build_annotations): Add a comment explaining the
return value of format-annotate-function.  Replace a spurios call
to Flength with a CONSP test.  Call format-annotate-function with
a fifth arg specifying how many times the function has been called
in a row, to let it choose temporary buffers appropriately.
2000-08-17 20:25:50 +00:00
Dave Love
03c9ed7793 Remove DECLARE_INTERVALS, INITIALIZE_INTERVAL. Don't
declare make_temp_name twice.
2000-08-17 14:17:37 +00:00
Dave Love
232ccf275f Prototype readevalloop, load_unwind,
load_descriptor_unwind.
(unreadpure): Give it an arg.
2000-08-17 14:11:00 +00:00
Dave Love
3fb21e7ab8 Prototype fatal_unexec, mark_x, update_dynamic_symbols. Declare
unexec as void.
2000-08-17 14:07:15 +00:00
Dave Love
87dc6c9eca [HAVE_TERMCAP_H]: Include <termcap.h>.
[!HAVE_TERMCAP_H]: Prototype tputs, tgoto.
2000-08-17 14:04:16 +00:00
Dave Love
b3303f7468 (lisp_malloc): Declare with POINTER_TYPE.
[SYSTEM_MALLOC]: Make decls in malloc.h conditional on
DOUG_LEA_MALLOC.
2000-08-17 14:01:09 +00:00
Dave Love
29f4bda5cf Use #error.
[POINTER_TYPE]: Use it.
2000-08-17 13:57:01 +00:00
Dave Love
77d2026234 (Fdefvar): Doc fix. 2000-08-17 13:54:16 +00:00
Dave Love
a9800ae8a9 (Fget_buffer_create, Fmake_indirect_buffer): Avoid
INITIALIZE_INTERVAL.
2000-08-17 13:51:37 +00:00
Dave Love
bb4fee022a Avoid DECLARE_INTERVALS. 2000-08-17 13:48:48 +00:00
Dave Love
9d8cf732e6 Add size_t. 2000-08-17 13:45:46 +00:00
Eli Zaretskii
aae41d97a4 (set_clipboard_data): If there's not enough memory
to put text into clipboard, return 1, as Fw16_set_clipboard_data
expects.  In case of other failures, return 3.
(system_error_msg): New error message.
(Fw16_set_clipboard_data): If set_clipboard_data returns 3, print
system_error_msg.
2000-08-17 06:11:09 +00:00
Dave Love
ed1f9d49ba (ccl-program-p): Fix doc string. 2000-08-16 15:17:24 +00:00
Gerd Moellmann
65aa5e85fa (write_glyphs): Also turn off inverse video after turning
off other appearances in case TS_exit_attribute_mode is not equal
to TS_end_standout_mode.
(insert_glyphs): Turn inverse video on/off for each run of glyphs
with the same face.
(turn_off_face): Reset standout_mode only if
TS_exit_attribute_mode has been output and TS_exit_attribute_mode
is equal to TS_end_standout_mode.
2000-08-16 12:14:15 +00:00
Kenichi Handa
bb10be8b6f (encode_coding): Fix the bug of not flushing ISO escape sequence at
the end of the source block.
2000-08-16 11:19:34 +00:00
Kenichi Handa
9d7bcb2ee8 *** empty log message *** 2000-08-16 11:17:37 +00:00
Kenichi Handa
c7c386ad47 (Fccl_program_p): Docstring modified.
(Fccl_execute): Likewise.
(Fccl_execute_on_string): Likewise.
2000-08-16 10:49:31 +00:00
Kenichi Handa
ece23901b5 *** empty log message *** 2000-08-16 10:48:41 +00:00
Eli Zaretskii
5e30eaa296 (IT_write_glyphs): Convert cbp to unsigned char *. 2000-08-16 05:22:00 +00:00
Kenichi Handa
4d5d6aabc3 (write_glyphs): Use a locally declared conversion_buffer. 2000-08-16 01:38:49 +00:00
Kenichi Handa
d2fdb076c0 (write_glyphs): Use a locally declared conversion_buffer.
(insert_glyphs): Likewise.
2000-08-16 01:38:32 +00:00
Kenichi Handa
648648a9cb (IT_write_glyphs): Use a locally declared conversion_buffer. 2000-08-16 01:38:04 +00:00
Kenichi Handa
ae2d77a105 (main): Don't call init_coding. 2000-08-16 01:37:39 +00:00
Kenichi Handa
73be902c32 (MINIMUM_CONVERSION_BUFFER_SIZE): Macro deleted.
(conversion_buffer, conversion_buffer_size): Variables deleted.
(get_conversion_buffer): Function deleted.
(struct conversion_buffer): New structure.
(MAX_ALLOCA): New macro.
(allocate_conversion_buffer): New macro.
(extend_conversion_buffer, free_conversion_buffer): New functions.
(ccl_coding_driver): Set coding->result.
(decode_coding): Set coding->result to CODING_FINISH_NORMAL if
this is the last block of source.
(encode_coding): Likewise.  Handle the source block as the last
one only when the whole source text is consumed.
(decode_coding_string): Handle the case that the output buffer is
too small to decode the whole source text.  Use
allocate_conversion_buffer, extend_conversion_buffer and
free_conversion_buffer, not get_conversion_buffer.
(encode_coding_string): Likewise.
(init_coding): Function deleted.
(init_coding_once): Delete code to initialize
conversion_buffer_size.
2000-08-16 01:37:20 +00:00
Kenichi Handa
0749a60833 (conversion_buffer_size, conversion_buffer)
(get_conversion_buffer): Extern deleted.
2000-08-16 01:36:53 +00:00
Kenichi Handa
904a2edd5c (CCL_WRITE_CHAR): If CH is eight-bit-control char, decrement dst_end
to avoid buffer overflow in the later call of string_as_multibyte
2000-08-16 01:36:35 +00:00
Kenichi Handa
290602fd0a *** empty log message *** 2000-08-16 01:36:13 +00:00
Eli Zaretskii
b9f80d41be (IT_update_begin): Don't crash if mouse_face_mouse_frame
member of display_info is NULL.
2000-08-15 21:02:00 +00:00
Gerd Moellmann
58ed0d3bb1 *** empty log message *** 2000-08-15 19:26:40 +00:00
Gerd Moellmann
a2407477ea (compact_small_strings): Use safe_bcopy, add an
assertion.
2000-08-15 19:24:42 +00:00
Gerd Moellmann
32dc52f71a *** empty log message *** 2000-08-15 15:02:30 +00:00