1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-01 11:14:55 +00:00
Commit Graph

11690 Commits

Author SHA1 Message Date
Jason Rumney
e588809c3f (EMACS_W32_H): Renamed from _NT_H_ 2000-06-12 19:18:24 +00:00
Gerd Moellmann
ed1056b307 *** empty log message *** 2000-06-12 19:12:17 +00:00
Jason Rumney
4cc436ed3b Changed __W32BDF_H__ to EMACS_W32BDF_H to comply with ISO C spec. 2000-06-12 19:09:42 +00:00
Gerd Moellmann
3e71d8f2eb (x_frame_of_widget): New function.
(x_alloc_nearest_color_for_widget): Use it.
(x_copy_dpy_color): New function.
(x_destroy_window): Free various colors.
2000-06-12 19:09:11 +00:00
Gerd Moellmann
08dc08dc4d (Fdump_colors) [DEBUG_X_COLORS]: New function.
(syms_of_xfaces): Defsubr Sdump_colors.
(x_free_colors): Don't treat b&w specially on default visual.
(x_free_dpy_colors): New function.
(free_face_colors): Don't check visual class; it's done
in x_free_colors.
2000-06-12 19:08:37 +00:00
Kenichi Handa
5050a2ef86 *** empty log message *** 2000-06-12 00:03:29 +00:00
Kenichi Handa
aef168f8bc (EMACS_FONTSET_H): Renamed from _FONTSET_H. 2000-06-11 23:41:53 +00:00
Kenichi Handa
15a10ef146 (EMACS_COMPOSITE_H): Renamed from _COMPOSITE_H. 2000-06-11 23:41:40 +00:00
Kenichi Handa
6f776e81c7 (EMASC_CODING_H): Renamed from _CODING_H. 2000-06-11 23:41:24 +00:00
Kenichi Handa
aa01a892df (EMACS_CHARSET_H): Renamed from _CHARSET_H. 2000-06-11 23:41:07 +00:00
Kenichi Handa
265702b7c5 (EMACS_CCL_H): Renamed from _CCL_H. 2000-06-11 23:40:14 +00:00
Dave Love
fb1b041d1e (EMACS_SYSTIME_H): Renamed from _SYSTIME_H. 2000-06-11 17:37:16 +00:00
Eli Zaretskii
ff96b5f449 Don't use _MSDOS_H_ as a symbol, use MSDOS_H_ instead. 2000-06-11 12:21:13 +00:00
Gerd Moellmann
db8eeecd16 *** empty log message *** 2000-06-11 12:18:25 +00:00
Gerd Moellmann
a52445bda8 (xmenu_show): Case second parameter of lw_popup_menu
to `XEvent *'.
2000-06-11 12:12:52 +00:00
Kenichi Handa
b54f61ed95 (MAKE_CHAR) [!emacs]: Dummy macro for non-Emacs env.
(regex_compile): Fix the code for handling the case of single byte
char and multibyte char being mixed in a range within [...].
2000-06-10 08:04:33 +00:00
Kenichi Handa
c479bd55ea *** empty log message *** 2000-06-10 08:03:38 +00:00
Kenichi Handa
ff6a65c2ba *** empty log message *** 2000-06-10 01:16:33 +00:00
Kenichi Handa
6db43875f5 (Finsert_file_contents): Be sure to setup src_multibyte
and dst_multibyte members of coding.
2000-06-10 00:35:26 +00:00
Kenichi Handa
88b837a212 (CHARSET_8_BIT_GRAPHIC): Define as 0x80.
(UNIBYTE_STR_AS_MULTIBYTE_P): Fix for an invalid multibyte
sequence.
2000-06-10 00:13:13 +00:00
Kenichi Handa
c83ef37172 (update_charset_table): Update the table
bytes_by_char_head.
(init_charset_once): Initialize elements of bytes_by_char_head to
1 except for leading codes for private charases.
2000-06-10 00:12:46 +00:00
Kenichi Handa
49b71c5ff1 *** empty log message *** 2000-06-10 00:12:17 +00:00
Ken Raeburn
9e80b57d28 * xterm.c (x_connection_closed): If dpyinfo is NULL, don't try to
access the data it doesn't point to.
2000-06-09 16:13:11 +00:00
Gerd Moellmann
f83fe4b49b *** empty log message *** 2000-06-08 21:01:54 +00:00
Gerd Moellmann
b5d56c1f0a (handle_fontified_prop): Don't GCPRO local var `pos';
it's an integer.
2000-06-08 20:58:15 +00:00
Gerd Moellmann
0f98c4c211 (enum event_kind): Add FOCUS_IN_EVENT. 2000-06-08 20:57:47 +00:00
Gerd Moellmann
c51c7093e9 (kbd_buffer_get_event): Handle FOCUS_IN_EVENT by
generating a switch-frame event if necessary.
2000-06-08 20:57:01 +00:00
Gerd Moellmann
eb72635f8a (XTread_socket) <FocusIn>: Queue a FOCUS_IN_EVENT which
will be translated to a switch-frame event in when reading the
event queue.  This is necessary because Emacs otherwise won't
perform a switch-frame to a new frame until some other event, for
example a keystroke event, forces it to do so.  This has various
effects, one visible being that the cursor of a frame created with
C-x 5 2 or switched to with a window manager key binding like
A-TAB stays hollow because selected_window isn't on the newly
focused frame until the switch-frame is performed.
2000-06-08 20:56:24 +00:00
Kenichi Handa
0890801bd5 (Fset_fontset_font): The arg CHARACTER may be a charset. 2000-06-08 01:23:19 +00:00
Gerd Moellmann
3091c2a652 (displayed_window_lines): Take empty lines at
the bottom of a window into account.
2000-06-07 12:42:30 +00:00
Gerd Moellmann
f38952fe7b (readevalloop): If READCHARFUN sets point to ZV, arrange
to stop reading, even if the form read sets point to a different
value when evaluated.
2000-06-07 12:31:26 +00:00
Gerd Moellmann
b7617575cd (displayed_window_lines): New function.
(Fmove_to_window_line): Use displayed_window_lines to determine
the number of lines to move, instead of using the window's height.
2000-06-07 12:30:22 +00:00
Gerd Moellmann
173cbca8b1 (display_line): Fix code deciding in which line to
put the cursor.
2000-06-07 09:05:58 +00:00
Kenichi Handa
6ba6c8182e *** empty log message *** 2000-06-07 02:27:00 +00:00
Kenichi Handa
0c41a39c29 (e_write): Free composition data if stored in
coding->cmp_data.
2000-06-07 02:25:59 +00:00
Gerd Moellmann
666852af77 (struct it): Add starts_in_middle_of_char_p.
(struct glyph_row): Add starts_in_middle_of_char_p and
ends_in_middle_of_char_p.
(MATRIX_ROW_ENDS_IN_MIDDLE_OF_CHAR_P): Test row's
ends_in_middle_of_char_p flag.
(MATRIX_ROW_STARTS_IN_MIDDLE_OF_CHAR_P): Likewise.
2000-06-06 20:03:57 +00:00
Gerd Moellmann
9100404975 (display_line): Set row's and iterator's
starts_in_middle_of_char_p and ends_in_middle_of_char_p flags.
Set cursor even if row ends in the middle of a character.
(dump_glyph_row): Print values of new flags.
(redisplay_window) <cursor movement in unchanged window>: When
point has been moved forward, and PT is at the end of the cursor
row, don't place the cursor in the next row if the cursor row ends
in the middle of a character or at ZV.
2000-06-06 20:02:39 +00:00
Gerd Moellmann
d13f3e2e24 (append_glyph): Revert change of 2000-06-06. 2000-06-06 12:27:18 +00:00
Gerd Moellmann
3b3c4bf057 (display_line): Revert change of 2000-06-06. Treat
padding glyph not fitting on line as whole character not
fitting on line.
2000-06-06 12:25:50 +00:00
Gerd Moellmann
5f1aea9aa7 *** empty log message *** 2000-06-06 10:39:20 +00:00
Gerd Moellmann
3017fdd1e3 (x_produce_glyphs): Don't xassert `it->descent > 0';
this isn't true for images with `:ascent 100'.
2000-06-06 10:36:48 +00:00
Kenichi Handa
ed00559de2 (Fset_buffer_multibyte): Don't make the current buffer as modified if
it is originally unmodified.
2000-06-06 05:43:12 +00:00
Kenichi Handa
10cda9b031 (display_line): While checking line continuation, pay attention to a
padding glyph.
2000-06-06 01:12:21 +00:00
Kenichi Handa
1ac0700a34 (encode_terminal_code): Change the way to check if
terminal coding does any conversion.
(append_glyph): Set glyph->pixel_width correctly.
2000-06-06 01:08:19 +00:00
Gerd Moellmann
1969fae27a *** empty log message *** 2000-06-05 19:24:26 +00:00
Gerd Moellmann
6a93695f4b (redisplay_window): Always use set_buffer_internal_1. 2000-06-05 19:21:06 +00:00
Dave Love
f19f32dd0f *** empty log message *** 2000-06-05 14:58:46 +00:00
Dave Love
9d936abcd0 (DEFUN, EXFUN): Test PROTOTYPES.
(Foptimize_char_table, make_temp_name): Declare.
2000-06-05 14:41:27 +00:00
Dave Love
482fa0533f Protect against multiple inclusion.
(timezone) [USG5_4]: Define as time_t.
2000-06-05 14:34:08 +00:00
Dave Love
edc8940c14 (menu_item_selection): Declare volatile unconditionally. 2000-06-05 14:30:01 +00:00
Dave Love
d80f9daead Remove Vbefore_change_function, Vafter_change_function. 2000-06-05 14:27:07 +00:00
Dave Love
b975254ebb (struct frame): Use volatile unconditionally. 2000-06-05 14:25:48 +00:00
Dave Love
eb545596f0 Declare code_convert_string_norecord. 2000-06-05 14:22:54 +00:00
Dave Love
fa0ec9f42e Conditionally include term.h. 2000-06-05 14:22:26 +00:00
Dave Love
f3cc12611b Copyright up-date. 2000-06-05 14:20:20 +00:00
Dave Love
2ebb2f8b11 (x_calc_absolute_position): Declare nchildren unsigned. 2000-06-05 14:19:33 +00:00
Dave Love
4848ef2391 (x_real_positions): Declare tmp_nchildren as unsigned. 2000-06-05 14:15:24 +00:00
Dave Love
0ef75e87fb Include fontset.h. 2000-06-05 14:13:41 +00:00
Dave Love
e651b9a2e1 (xdisp.o): Depend on fontset.h. 2000-06-05 14:13:17 +00:00
Dave Love
162ccef4e8 Don't define MATHERR. 2000-06-05 13:28:43 +00:00
Dave Love
703af3d57e Fix nested comment. 2000-06-03 22:23:57 +00:00
Dave Love
2082fe81fc *** empty log message *** 2000-06-02 20:07:12 +00:00
Gerd Moellmann
dcf671d286 *** empty log message *** 2000-06-02 19:06:44 +00:00
Gerd Moellmann
e911049b46 (realize_x_face): When copying BASE_FACE bitwise to the
result face, set flags in the face indicating that colors may not
be freed.
2000-06-02 19:03:58 +00:00
Gerd Moellmann
033e3e18df (x_set_mouse_face_gc): If first glyph isn't a character
glyph, use the ASCII NUL character to determine the face.
2000-06-02 19:03:31 +00:00
Dave Love
dba286b6f0 (_XOPEN_SOURCE, __EXTENSIONS__): Don't define. 2000-06-02 15:50:01 +00:00
Dave Love
d42122a3a2 *** empty log message *** 2000-06-02 15:46:19 +00:00
Dave Love
d3eb3bfac8 Conditionally include stdlib.h, unistd.h.
(VFORK_RETURN_TYPE): Remove.
2000-06-02 15:44:45 +00:00
Dave Love
9821d77abd Add NO_MATHERR. 2000-06-02 15:40:51 +00:00
Dave Love
90aa4ea820 *** empty log message *** 2000-06-02 13:15:10 +00:00
Dave Love
98067d54ca (Vbefore_change_function, Vafter_change_function):
Variables and their initializations deleted.
2000-06-02 12:43:31 +00:00
Dave Love
1675d08629 (signal_before_change, signal_after_change): Don't check
Vbefore_change_function, Vafter_change_function.
2000-06-02 12:42:54 +00:00
Dave Love
ad44dffe8e (internal_self_insert): Don't check
Vbefore_change_function, Vafter_change_function.
2000-06-02 12:42:20 +00:00
Dave Love
2330c9d456 *** empty log message *** 2000-06-01 19:04:28 +00:00
Dave Love
824b5cfcbb (Fcall_interactively): Doc fix. 2000-06-01 19:02:58 +00:00
Dave Love
dd432f1663 (ospeed) [HAVE_SPEED_T]: Don't declare extern. 2000-06-01 15:48:57 +00:00
Dave Love
bf9e8804fc Revert last change -- duplicated. 2000-05-31 21:17:57 +00:00
Gerd Moellmann
3694b4abbb (eassert) [!ENABLE_CHECKING]: Define as `(void) 0'. 2000-05-31 19:19:50 +00:00
Gerd Moellmann
9af3e74293 (find_glyph_row_slice, swap_glyphs_in_rows): Put in #if 0. 2000-05-31 19:16:25 +00:00
Jason Rumney
9dddb23f46 (Fre_search_forward, Fre_search_backward)
(Fposix_search_backward, Fposix_search_forward): Fix newlines in doc.
2000-05-31 18:51:08 +00:00
Jason Rumney
8119aab87f *** empty log message *** 2000-05-31 18:48:13 +00:00
Jason Rumney
11f292ed17 (Fw32_set_clipboard_data): Change QNil to Qnil. 2000-05-31 18:09:57 +00:00
Jason Rumney
f14156cdc9 *** empty log message *** 2000-05-31 18:08:30 +00:00
Jason Rumney
9ef2e2cf03 Format and doc changes to bring closer to xterm.c.
(w32_char_font_type): New enum.
(Qw32_charset_*, w32_codepage_for_font): Moved to w32fns.c.
(w32_per_char_metric): Use w32_char_font_type instead of unicode_p.
(w32_encode_char): New function.
(x_encode_char): Removed.
(x_get_glyph_and_face_encoding): Use w32_encode_char in place of
x_encode_char and w32_font_is_double_byte.
(x_produce_image_glyph): Use image_ascent.
(x_produce_glyphs): Use new version of w32_per_char_metric and
handle NULL return value. Allow extra line spacing.
(W32_TEXTOUT): Distinguish between Unicode and DBCS text.
(w32_get_glyph_overhangs): Remove unicode_p param. Use
w32_font_type member of glyph instead.
(x_draw_glyph_string): Draw underline and strike-out for BDF fonts.
(fast_find_position): Make sure not to consider rows not visible
in the window.
(w32_read_socket) [WM_MENUSELECT]: Cannot call
w32_menu_display_help with input blocked, as it can abort.
(x_display_and_set_cursor): Choose cursor depending
on buffer-local value of cursor_type.
(x_draw_bar_cursor): Add parameter WIDTH.
2000-05-30 21:59:27 +00:00
Jason Rumney
6915ded08f (single_submenu, w32_menu_show): Call ENCODE_SYSTEM on menu strings. 2000-05-30 21:52:06 +00:00
Jason Rumney
1f2fca4bd1 (NUM_TRANSLATED_MOUSE_BUTTONS): New constant.
(emacs_button_translation): Use it.
(do_mouse_event): Allow up to 32 mouse buttons by allowing any bit
in `mask' to be set.
2000-05-30 21:49:28 +00:00
Jason Rumney
af3a67854b (W32FontStruct): Add double_byte_p member. 2000-05-30 21:48:24 +00:00
Jason Rumney
dfff8a69e8 Format and doc changes to bring closer to xfns.c.
(VIETNAMESE_CHARSET): Define if not defined in system headers.
(Qline_spacing, Qcenter): New variables.
(Qw32_charset_*, w32_codepage_for_font): Moved from w32term.c.
(x_set_line_spacing): New function.
(x_set_frame_parameters): Use FRAME_NEW_WIDTH, FRAME_NEW_HEIGHT macros.
(x_specified_cursor_type): New function.
(x_set_cursor_type): Use it.
(x_set_name, x_set_title): Use ENCODE_SYSTEM to encode titlebar and
icon strings.
(validate_x_resource_name, x_get_resource_string): Measure lengths
of external strings in bytes.
(w32_wnd_proc) [WM_MEASURE_ITEM]: Avoid calling
GetTextExtentPoint32 with NULL title.
(Fx_create_frame): Initialize Qline_spacing.
(w32_load_system_font): Initialize font->double_byte_p.
(x_to_w32_charset): Use Vw32_charset_info_alist.
(Image, busy cursor, tooltip functions): Merged changes from
xfns.c. Not yet functional on Windows.
2000-05-30 21:45:33 +00:00
Jason Rumney
5101dbdff2 (glyph_to_pixel_coords): Change first parameter to
window pointer to be consistent with w32term.c and xterm.c.
2000-05-30 21:41:35 +00:00
Jason Rumney
ad784d768d (w32_load_bdf_font): Initialize font->double_byte_p. 2000-05-30 21:38:23 +00:00
Jason Rumney
8994bdd044 (w32fns.obj, w32menu.obj): Add charset.h and coding.h to dependencies. 2000-05-30 21:37:01 +00:00
Jason Rumney
e1bfeab2bd (make_lispy_event) [WINDOWS_NT]: Pass a window pointer to
glyph_to_pixel_coords, not a frame.
2000-05-30 21:35:02 +00:00
Jason Rumney
f73f57bd8d (Fread_file_name) [HAVE_NTGUI]: Use file dialog.
(Fread_file_name) [HAVE_NTGUI, USE_MOTIF]: Do not attempt to expand a
nil default_filename.
2000-05-30 21:26:59 +00:00
Jason Rumney
b40b05b6fe (struct glyph) [WINDOWSNT]: Add w32_font_type member. 2000-05-30 21:24:04 +00:00
Jason Rumney
2dfda96293 (ENCODE_SYSTEM, DECODE_SYSTEM) [WINDOWSNT]: New macros.
[WINDOWSNT]: Add extern for Vw32_system_coding_system.
2000-05-30 21:19:39 +00:00
Jason Rumney
ad23de76bf (CP_DEFAULT): Define.
(Fx_display_color_p, Fx_display_grayscale_p, image_ascent): Declare.
2000-05-30 21:14:28 +00:00
Jason Rumney
4aab9be3f1 *** empty log message *** 2000-05-30 21:07:54 +00:00
Gerd Moellmann
10fc318763 *** empty log message *** 2000-05-30 18:45:45 +00:00
Gerd Moellmann
cb6560a1d1 (Fre_search_forward, Fre_search_backward)
(Fposix_search_backward, Fposix_search_forward): Doc fix.
2000-05-30 18:43:56 +00:00
Kenichi Handa
e17de82124 (detect_coding_iso2022): Fix code for checking
CODING_CATEGORY_MASK_ISO_8_2.
2000-05-30 07:40:59 +00:00
Kenichi Handa
d055536037 *** empty log message *** 2000-05-30 07:39:59 +00:00
Stefan Monnier
f1ad044f23 (PREFETCH_NOLIMIT): New function.
(re_match_2_internal): Use it and adjust the end_match_2 logic.
2000-05-30 02:59:54 +00:00
Gerd Moellmann
66254a13e2 *** empty log message *** 2000-05-29 16:18:23 +00:00
Gerd Moellmann
4467eb94e5 (find_defun_start): Move test for
open_paren_in_column_0_is_defun_start outside of the loop.
2000-05-29 16:16:45 +00:00
Gerd Moellmann
49e70dec96 *** empty log message *** 2000-05-29 15:51:56 +00:00
Gerd Moellmann
5da1193803 (redisplay_window): Really switch buffers when
displaying mode lines, and temporarily set selected_frame to the
frame of the window that's redisplayed.
2000-05-29 15:51:23 +00:00
Kenichi Handa
2d89215071 (Fcall_process): Fix previous change. 2000-05-29 12:52:44 +00:00
Gerd Moellmann
84ec3b4b5c (free_realized_faces): Block/unblock input.
(free_realized_multibyte_face): Ditto.
2000-05-29 12:06:54 +00:00
Dave Love
869a3a147f *** empty log message *** 2000-05-29 12:00:28 +00:00
Dave Love
93d2aa1c9b Include intervals.h.
(Fkey_binding, Fwhere_is_internal): Deal with `keymap' property.
2000-05-29 11:54:51 +00:00
Dave Love
8c45fa0a88 (keymap.o): Depend on intervals.h. 2000-05-29 11:51:34 +00:00
Dave Love
306904961b (menu_bar_items, tool_bar_items, Fexecute_extended_command): Deal with
`keymap' property.
(read_key_sequence): Track map from `keymap' property as well as
`local_map'.
2000-05-29 11:48:25 +00:00
Dave Love
b4030d7b9d (map_property): New enum.
(get_local_map): Extra arg using it.
(Qkeymap): Declare.
2000-05-29 11:42:51 +00:00
Dave Love
6a7dccef4a (get_local_map): Extra arg to allow looking for `keymap' too. 2000-05-29 11:41:13 +00:00
Dave Love
b332a42260 (Qkeymap): New variable.
(syms_of_textprop): Intern it.
2000-05-29 11:37:57 +00:00
Dave Love
f1178103e7 (get_local_map: Don't declare here. 2000-05-29 11:33:35 +00:00
Kenichi Handa
33fb63eb13 (DECODE_COMPOSITION_START): If coding->cmp_data is not
yet allocated, finish decoding with result
CODING_FINISH_INSUFFICIENT_CMP.
(coding_allocate_composition_data): Make it non-static.
(coding_restore_composition): Likewise.
2000-05-29 11:25:30 +00:00
Kenichi Handa
55fff3f969 (coding_allocate_composition_data): Extern it.
(coding_restore_composition): Likewise.
2000-05-29 11:20:00 +00:00
Kenichi Handa
f0b950cf5a Include composite.h.
(Fcall_process): Handle composition correctly.
2000-05-29 11:18:02 +00:00
Kenichi Handa
f4cda61e61 (callproc.o): Depend on composite.h. 2000-05-29 11:16:46 +00:00
Kenichi Handa
89d0c844d2 *** empty log message *** 2000-05-29 11:15:35 +00:00
Eli Zaretskii
797a084a9d (syms_of_charset): Revert previous change. 2000-05-29 07:53:20 +00:00
Eli Zaretskii
cf872af50e Correct a typo in a comment. 2000-05-28 13:27:33 +00:00
Eli Zaretskii
add4489008 (produce_glyphs): Don't treat eight-bit-* charsets as multibyte.
From Kenichi Handa.
2000-05-28 13:23:02 +00:00
Eli Zaretskii
5b1ae05121 *** empty log message *** 2000-05-28 10:54:01 +00:00
Eli Zaretskii
cd550f9193 (syms_of_charset): Set width of character sets
eight-bit-control and eight-bit-graphic to 1 column.
2000-05-28 10:43:30 +00:00
Gerd Moellmann
34ec9ebe1a *** empty log message *** 2000-05-26 15:56:42 +00:00
Gerd Moellmann
f0d2175093 (ospeed) [HAVE_SPEED_T]: Declare as `extern speed_t'. 2000-05-26 15:52:33 +00:00
Gerd Moellmann
ab810648cf (HAVE_SPEED_T): New define. 2000-05-26 15:52:01 +00:00
Dave Love
dd854dc26e *** empty log message *** 2000-05-26 13:47:12 +00:00
Dave Love
fa46990ee0 (shrink_decoding_region): Initialize eol_conversion. 2000-05-26 13:42:03 +00:00
Dave Love
6f0e897ff6 (Qsubrp, Qmany, Qunevalled): New variables.
(Fsubr_arity): New function.
(syms_of_data): Install them.
2000-05-26 10:21:30 +00:00
Kenichi Handa
0f3e067268 *** empty log message *** 2000-05-26 07:34:20 +00:00
Kenichi Handa
8a9be3ac66 (check_registry_encoding): This function deleted.
(Fset_fontset_font): Remove the adhoc condition for the default
fontset.  Allow cons in FONTNAME.
2000-05-26 07:27:30 +00:00
Kenichi Handa
df2fbcebeb (map_char_table): Ignore char-table entries for
charsets eight-bit-control and eight-bit-graphic.
2000-05-26 07:26:53 +00:00
Kenichi Handa
afc125e1e9 (syms_of_fontset): Adjust the font name for ascii of
the default fontset to what Emacs uses by default.
2000-05-26 05:11:15 +00:00
Kenichi Handa
cebefb44f6 (print-fontset): Combine family part
and registry part of the fontname by "-*-" instead of "-".
2000-05-26 05:10:46 +00:00
Kenichi Handa
ba9f8f95c4 *** empty log message *** 2000-05-26 02:38:33 +00:00
Kenichi Handa
a5236564c6 (init_charset_once): Set the table bytes_by_char_head
correctly.
2000-05-26 02:32:05 +00:00
Ken Raeburn
7a18af49dc * emacs.c (main): Initialize keyboard syms before initializing
window code, so face names are available.
2000-05-25 16:45:32 +00:00
Stefan Monnier
d2af47dfec (at_begline_loc_p): Also recognize the \\(?:^ case
of an anchor at the beginning of a shy-group.
2000-05-25 16:32:19 +00:00
Gerd Moellmann
fc6a6a4e9d *** empty log message *** 2000-05-25 15:59:47 +00:00
Gerd Moellmann
eadc0bf89c (handle_invisible_prop): Don't try to skip over
invisible text if end of text is already reached.
2000-05-25 15:53:05 +00:00
Dave Love
02513cddf0 (Fdump_glyph_matrix): Declare the arg. 2000-05-25 11:59:11 +00:00
Dave Love
c2f94ebcc5 Fix junk from last checkin. 2000-05-25 11:47:09 +00:00
Dave Love
005f0d3535 (encode_eol): Add null statement after label. 2000-05-25 11:07:47 +00:00
Eli Zaretskii
89f6ca4ece *** empty log message *** 2000-05-25 11:01:45 +00:00
Eli Zaretskii
1eed3a764f (Fw16_set_clipboard_data): Fix the change from 2000-05-20. 2000-05-25 10:56:36 +00:00
Kenichi Handa
68b283cca6 (ccl_driver): Fix previous change. 2000-05-25 06:21:51 +00:00
Kenichi Handa
a4e1759ef0 *** empty log message *** 2000-05-25 06:21:09 +00:00
Kenichi Handa
6bac5b12e8 (run_pre_post_conversion_on_str): Set point to the
beginning of buffer before calling coding->post_read_conversion.
(decode_coding_string): Give correct args to
run_pre_post_conversion_on_str.
(encode_coding_string): Likewise.
2000-05-25 04:44:33 +00:00
Kenichi Handa
46ab33a9c7 *** empty log message *** 2000-05-25 04:43:36 +00:00
Kenichi Handa
5c464c4d2c (ccl_driver) <CCL_ReadMultibyteChar2>
<CCL_WriteMultibyteChar2>:  Handle charsets eight-bit-control and
eight-bit-graphic correctly.
2000-05-25 01:30:37 +00:00
Kenichi Handa
eacfd7fe01 *** empty log message *** 2000-05-25 01:30:04 +00:00
Eli Zaretskii
bd4bde7f2d Correct typos. 2000-05-24 16:29:46 +00:00
Dave Love
f8569325db 1999-06-01 Kenichi HANDA <handa@etl.go.jp>
* fileio.c (Finsert_file_contents): Even if a file is not found,
	execute codes for setting up coding system.  Call
	after-insert-file-functions unconditionally
2000-05-24 14:13:20 +00:00
Gerd Moellmann
04545643a8 *** empty log message *** 2000-05-24 13:10:23 +00:00
Gerd Moellmann
2b7e8799bb (setpgrp): Don't define if USG and BSD_PGRPS are not defined. 2000-05-24 13:08:10 +00:00
Kenichi Handa
747d90ea19 *** empty log message *** 2000-05-24 03:57:54 +00:00
Kenichi Handa
d78bc582fe (update_charset_table): Accept nil in LONG_NAME and
DESCRIPTION.
(syms_of_charset): Avoid building same strings.
2000-05-24 03:17:37 +00:00
Gerd Moellmann
716e3b88ef *** empty log message *** 2000-05-23 22:04:00 +00:00
Gerd Moellmann
f95c3f9125 (setpgrp) [HAVE_SETPGID]: Define as setpgid. 2000-05-23 22:00:25 +00:00
Gerd Moellmann
dd04d6c153 (setpgrp): Don't define it here because this
prevents compilation on GNU/Linux systems with glib 2.2.
2000-05-23 21:59:27 +00:00
Gerd Moellmann
916a32d46e (BASE_PURESIZE): Increase to 675000. 2000-05-23 21:59:11 +00:00
Gerd Moellmann
ba0d119520 (Fload): Add a comment about the meaning of
Vuser_init_file being t.
2000-05-23 21:58:58 +00:00
Kenichi Handa
d23ee51483 (struct coding_system): Add a comment for src_multibyte and
dst_multibyte.
2000-05-23 11:08:35 +00:00
Eli Zaretskii
9aeb39fad8 (SOME_MACHINE_LISP): Add disp-table.elc,
dos-vars.elc, ccl.elc, and codepage.elc, all loaded by the ms-dos
version.
(MSDOS_SUPPORT): Add dos-vars.elc, ccl.elc, and codepage.elc.
2000-05-23 10:47:20 +00:00
Gerd Moellmann
ce75fd2348 *** empty log message *** 2000-05-23 09:44:28 +00:00
Kenichi Handa
d1e4948d22 (skip_chars): Use FETCH_STRING_CHAR_ADVANCE unconditionally. 2000-05-23 02:25:45 +00:00
Kenichi Handa
0574a2ed1c (skip_chars): FETCH_STRING_CHAR_ADVANCE unconditionally. 2000-05-23 02:25:11 +00:00
Kenichi Handa
8d76911517 (read_char): Allow character codes 128..255 to be
handled by input-method-function.
2000-05-23 02:19:20 +00:00
Kenichi Handa
55a172024b (IT_write_glyphs): Set coding->src_multibyte to 1. 2000-05-23 01:34:05 +00:00
Kenichi Handa
f2ba40be95 (encode_terminal_code): Set coding->src_multibyte properly. 2000-05-23 01:33:40 +00:00
Kenichi Handa
3d80f24d75 *** empty log message *** 2000-05-23 01:33:11 +00:00
Kenichi Handa
cfe34140af Fix previous change (typo). 2000-05-23 00:47:54 +00:00
Kenichi Handa
f6302ac964 Fix comment for find_charset_in_text. 2000-05-23 00:46:13 +00:00
Kenichi Handa
ff2b1ea945 (encode_eol): Fix a bug of DOS style EOL encoding. 2000-05-23 00:17:27 +00:00
Kenichi Handa
29ced61baa *** empty log message *** 2000-05-23 00:15:39 +00:00
Kenichi Handa
c9d80d3816 (read_char): Allow character codes 128..255 to be
handled by input-method-function.
2000-05-22 04:26:47 +00:00
Kenichi Handa
adee4f912a (adjust_markers_for_replace): Fix previous change.
(adjust_after_replace): If PREV_TEXT is nil, call
adjust_markers_for_insert, not adjust_markers_for_replace.
2000-05-22 00:19:43 +00:00
Kenichi Handa
d7e00792f2 *** empty log message *** 2000-05-22 00:19:18 +00:00
Gerd Moellmann
087121cc2f *** empty log message *** 2000-05-20 15:55:53 +00:00
Gerd Moellmann
f22ac298de (toplevel) [UNIX98_PTYS]: Include stdlib.h. 2000-05-20 15:54:05 +00:00
Gerd Moellmann
c4c9e136e8 (HAVE_GRANDPT, HAVE_GETPT): New defines. 2000-05-20 15:51:46 +00:00
Gerd Moellmann
e20caf05ae (setup_pty): Treat case that UNIX98_PTYS is defined
like SYSV_PTYS.
2000-05-20 15:51:35 +00:00
Gerd Moellmann
71125fb836 (UNIX98_PTYS) [HAVE_GRANDPT]: Define.
(PTY_ITERATION, PTY_NAME_SPRINTF, PTY_OPEN, PTY_TTY_NAME_SPRINTF)
[HAVE_GRANDPT]: Define.
(C_SWITCH_SYSTEM): Add -D_XOPEN_SOURCE.
2000-05-20 15:51:13 +00:00
Kenichi Handa
c9671f819a *** empty log message *** 2000-05-20 00:23:52 +00:00
Kenichi Handa
9846d9dbcf (selection_data_to_lisp_data): Setup members
src_multibyte and dst_multibyte of coding.  Adjusted for the
change for find_charset_in_str.
(lisp_data_to_selection_data): Likewise.
2000-05-20 00:08:10 +00:00
Kenichi Handa
c5924f47e9 (get_next_display_element): Handle 8-bit characters
correctly.
(next_element_from_display_vector): Use CHAR_BYTES instead of
CHAR_LEN.
(disp_char_vector): Use SPLIT_CHAR instead of
SPLIT_NON_ASCII_CHAR.
2000-05-20 00:07:43 +00:00
Kenichi Handa
69ebbf81b1 (Fw32_set_clipboard_data): Setup members
src_multibyte and dst_multibyte of coding.  Adjusted for the
change for find_charset_in_str.
(Fw32_get_clipboard_data): Likewise.
2000-05-20 00:07:08 +00:00
Kenichi Handa
aab5ac4409 (w32_to_x_font): Setup members src_multibyte and
dst_multibyte of coding.
(x_to_w32_font): Likewise.
2000-05-20 00:06:41 +00:00
Kenichi Handa
b34cf36ca8 (Fw16_set_clipboard_data): Setup members
src_multibyte and dst_multibyte of coding.  Adjusted for the
change for find_charset_in_str.
(Fw16_get_clipboard_data): Likewise.
2000-05-20 00:05:51 +00:00
Kenichi Handa
68526af594 (produce_special_glyphs): Use CHAR_BYTES instead of
CHAR_LEN.
2000-05-20 00:05:26 +00:00
Kenichi Handa
eb99a8dd64 (wordify): Use FETCH_STRING_CHAR_ADVANCE
unconditionally.
(Freplace_match): Use FETCH_STRING_CHAR_ADVANCE and
FETCH_STRING_CHAR_ADVANCE_NO_CHECK appropriately.
2000-05-20 00:05:02 +00:00
Kenichi Handa
a4a37e652d (Fstart_process): GCPRO current_dir before calling
Ffind_operation_coding_system.  Encode arguments here.
(create_process): Don't encode arguments here.  Setup
src_multibyte and dst_multibyte members of struct coding.
(read_process_output): Setup src_multibyte and dst_multibyte
members of struct coding.  If the output is to multibyte buffer,
always decode the output of the process.  Adjust the
representation of 8-bit characters to the multibyteness of the
output.
(send_process): Setup coding->src_multibyte according to the
multibyteness of the source.
2000-05-20 00:04:37 +00:00
Kenichi Handa
eba90784ce (print_object): Use FETCH_STRING_CHAR_ADVANCE
unconditionally.
2000-05-20 00:04:05 +00:00
Kenichi Handa
f0354c0337 (read1): On reading multibyte string, be sure to make
all 8-bit chararacters in valid multibyte form.
(readchar): Use FETCH_STRING_CHAR_ADVANCE unconditionally.
2000-05-20 00:03:42 +00:00
Kenichi Handa
54e03a4ac4 (Fsingle_key_description): Use SPLIT_CHAR instead of
SPLIT_NON_ASCII_CHAR.
(describe_vector): Use MAKE_CHAR instead of MAKE_NON_ASCII_CHAR.
(Faccessible_keymaps): Use FETCH_STRING_CHAR_ADVANCE
unconditionally.
(Fkey_description): Likewise.
2000-05-20 00:03:16 +00:00
Kenichi Handa
b16afa45bb (adjust_markers_for_record_delete): Deleted.
(adjust_markers_for_insert): Argument changed.  Caller changed.
(adjust_markers_for_replace): Likewise.
(ADJUST_CHAR_POS, combine_bytes, byte_combining_error,
CHECK_BYTE_COMBINING_FOR_INSERT): Deleted.
(copy_text): Delete unused local varialbe c_save.  For converting
to multibyte, be sure to make all 8-bit characters in valid
multibyte form.
(count_size_as_multibyte): Handle 8-bit characters correctly.
(insert_1_both, insert_from_string_1, insert_from_buffer_1,
adjust_after_replace, replace_range, del_range_2)
[BYTE_COMBINING_DEBUG]: Abort if byte combining occurs.
(insert_1_both, insert_from_string_1, insert_from_buffer_1,
adjust_after_replace, replace_range, del_range_2) Delete codes for
handling byte combining.
(adjust_before_replace): Deleted.
2000-05-20 00:01:34 +00:00
Kenichi Handa
f55d03b19b (fontset_ref): Use SPLIT_CHAR instead of
SPLIT_NON_ASCII_CHAR.
(fontset_ref_via_base, fontset_set): Likewise
2000-05-20 00:00:49 +00:00