1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-26 23:31:55 -08:00
Commit graph

11464 commits

Author SHA1 Message Date
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