Commit graph

12074 commits

Author SHA1 Message Date
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
Gerd Moellmann
cbc099e584 (Fwindow_end): Rewritten to not use Fvertical_motion,
because that function doesn't cope with variable-height lines.
2000-08-10 19:14:59 +00:00
Gerd Moellmann
92f424dfc0 (x_draw_bar_cursor): If cursor is on an image, draw a
box cursor because that's better visible for large images.
2000-08-10 19:13:28 +00:00
Miles Bader
c51bacd6cd *** empty log message *** 2000-08-10 11:06:54 +00:00
Miles Bader
4663654501 (note_mouse_highlight): Update calls to overlays_at. 2000-08-10 10:14:15 +00:00
Gerd Moellmann
bea56df720 *** empty log message *** 2000-08-10 09:21:43 +00:00
Gerd Moellmann
6a94510a73 (Vmessages_buffer_name): New variable.
(message_dolog): Use it.
(syms_of_xdisp): Initialize it.
2000-08-10 09:21:28 +00:00
Gerd Moellmann
2cb085db05 *** empty log message *** 2000-08-10 09:16:29 +00:00
Eli Zaretskii
99cd736442 (IT_note_mouse_highlight): Update the calls to overlays_at.
(toplevel) <kbd_buffer_store_event>: Remove prototype, it's
redundant now that keyboard.h is included.
2000-08-10 06:45:57 +00:00
Gerd Moellmann
8e7bd23112 (input_pending): External declaration. 2000-08-09 18:44:35 +00:00
Gerd Moellmann
69a7a14df4 (Qredisplay_dont_pause): Declare extern. 2000-08-09 18:41:00 +00:00
Gerd Moellmann
9f50252b45 (echo_area_display): Display thoroughly if input is
pending.  Bind redisplay-dont-pause to t during the redisplay.
in case input is pending.
2000-08-09 18:40:39 +00:00
Gerd Moellmann
e7067d00c2 (Qredisplay_dont_pause): New variable.
(syms_of_display): Initialize and staticpro it.
(update_frame_1): Don't interrupt the display for pending input if
redisplay_dont_pause is set.
2000-08-09 18:39:58 +00:00
Eli Zaretskii
7d093d568b *** empty log message *** 2000-08-09 12:34:04 +00:00