1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-13 15:00:42 -08:00
Commit graph

12087 commits

Author SHA1 Message Date
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
Gerd Moellmann
2535aa8c71 (turn_off_face): Reset standout_mode when resetting
apparances with capability `me'.
(write_glyphs): Switch on inverse video before each face change.
2000-08-15 15:02:15 +00:00
Dave Love
df7c0cb421 Comment about gcc -g. 2000-08-15 09:17:23 +00:00
Dave Love
4eb22d33e4 *** empty log message *** 2000-08-14 14:26:59 +00:00
Dave Love
bf952fb644 [HAVE_UNISTD_H]: Include unistd.h; don't declare sbrk.
[!HAVE_UNISTD_H]: Use POINTER_TYPE to declare sbrk.
(lisp_free): Declare and make static.
2000-08-14 14:15:44 +00:00
Gerd Moellmann
90cbf47ef1 *** empty log message *** 2000-08-14 12:45:50 +00:00
Gerd Moellmann
bc89c6093d (push_key_description): If C without modifiers is < 32,
make sure to print `C-' before `M-', like in the manual.
2000-08-14 12:44:38 +00:00
Dave Love
5372262fdc Fix embedded comment.
(syms_of_window): Fix doc string.
2000-08-14 10:52:50 +00:00
Gerd Moellmann
440fc13575 (try_cursor_movement): Fix handling of cursor in
partially visible line which is smaller than the window's
height.
2000-08-11 13:01:28 +00:00
Gerd Moellmann
cf6818892f (hashfn_eq, hashfn_eql): Don't handle strings specially
since they aren't relocated anymore.
(sxhash_string): Make sure returned hash code fits in a Lisp
integer.
2000-08-11 12:59:31 +00:00
Kenichi Handa
7272d75c04 (ccl_coding_driver): Initialize ccl->multibyte. 2000-08-11 05:45:37 +00:00
Kenichi Handa
975ddbf53c (struct ccl_program): New member multibyte. 2000-08-11 05:45:10 +00:00
Kenichi Handa
7a837c8992 (CCL_READ_CHAR): If source is multibyte, pay attention to
the multibyte form of eight-bit-control characters.
(Fccl_execute_on_string): Initialize ccl->multibyte.
2000-08-11 05:44:50 +00:00
Kenichi Handa
6e264fadfa *** empty log message *** 2000-08-11 05:44:20 +00:00
Kenichi Handa
e0277a4716 (regex_compile) <normal_char>: Pay attention to multibyteness.
(analyse_first) <exactn>: Setup fastmap correctly for
eight-bit-control characters.
2000-08-11 01:56:59 +00:00
Kenichi Handa
c371f69a68 *** empty log message *** 2000-08-11 01:55:36 +00:00
Kenichi Handa
4ff939ad38 (enum event_kind): New member multibyte_char_keystroke. 2000-08-11 00:51:25 +00:00
Kenichi Handa
a50e723f78 (make_lispy_event): Handle the new event type
multibyte_char_keystroke.
2000-08-11 00:50:51 +00:00
Kenichi Handa
379b5ac0b0 Include coding.h.
(XTread_socket): Work around a bug of XmbLookupString.  If the
input is from XIM, decode it according to the current locale.  In
that case, generate multibyte_char_keystroke events.
2000-08-11 00:49:39 +00:00
Kenichi Handa
91c3f500ad (TRACE_MOVE) [GLYPH_DEBUG]: Delete the last semicolon.
(TRACE_MOVE) [not GLYPH_DEBUG]: Define dummy.
2000-08-11 00:36:30 +00:00
Kenichi Handa
b8ddbe717a *** empty log message *** 2000-08-11 00:35:57 +00:00
Gerd Moellmann
47589c8c98 (trace_move) [GLYPH_DEBUG]: New variable.
(TRACE_MOVE) [GLYPH_DEBUG]: New macro.
(move_it_in_display_line_to): Record iterator's ascent and descent
before producing glyphs, and restore them when we know the glyph
doesn't fit on the line.
(move_it_to): Restructured so that it's easier to debug.  If
moving to a vpos, and not moving to an x or character position,
stop as soon as the specified vpos is reached; don't move further
into that line because that might change the computed line height.
(try_cursor_movement): New function, extracted from the cursor
movement branch of redisplay_window.  If ending on a partially
visible line, don't try to scroll if the cursor line is taller
than the window.
(redisplay_window): Use try_cursor_movement.
2000-08-10 19:17:01 +00:00