1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-05 11:21:04 -08:00
Commit graph

9374 commits

Author SHA1 Message Date
Geoff Voelker
5d84dd8714 (w32_color_map_lookup): Remove duplicate definition. 1998-10-27 20:10:19 +00:00
Richard M. Stallman
46ac5b268d (Fbase64_decode_string): Doc fix.
(Fbase64_decode_region, Fbase64_encode_string Fbase64_encode_region):
Likewise.
1998-10-27 17:55:28 +00:00
Dave Love
15a9a50c39 (Fbase64_decode_region, Fbase64_encode_region): Fix
newline in doc string.
1998-10-27 10:39:24 +00:00
Kenichi Handa
f6ecdae5b2 (adjust_after_replace): Correctly handle the case that
both byte combining before and byte combining after happen.
(replace_range): Likewise.
1998-10-27 03:54:13 +00:00
Kenichi Handa
a3360ff915 (Fsubst_char_in_region): Correctly handle the case
that byte combining before happens.
(Ftranslate_region): Likewise.
1998-10-27 03:54:13 +00:00
Richard M. Stallman
b413f89564 (Fformat): Increase buffer size for floating format. 1998-10-26 23:48:57 +00:00
Kenichi Handa
61a398eac8 (syms_of_category): Doc-string modified. 1998-10-26 08:00:11 +00:00
Kenichi Handa
0007bdd098 (code_convert_region): Kill the work buffer created by
pre-write-conversion.
1998-10-26 08:00:11 +00:00
Geoff Voelker
02062ac320 (main) [HAVE_NTGUI]: Invoke syms_of_fontset(). 1998-10-25 23:55:37 +00:00
Kenichi Handa
828f1ed318 (adjust_markers_for_insert): Adjust markers by taking
combined_before_bytes and combined_after_bytes into account.
(count_combining_after): Handle the case that LENGTH is zero.
(adjust_after_replace): Record deletion at correct buffer
position.  Handle the case that LEN is zero.
(replace_range): Record deletion at correct buffer position.
(del_range_2): Call adjust_makers_for_replace to adjust makers for
combined bytes.
1998-10-24 01:17:09 +00:00
Kenichi Handa
6abb9bd967 (code_convert_region): While preserving the orignal
point, pay attention to the byte combining problem.
1998-10-24 01:17:09 +00:00
Kenichi Handa
9b703a38c6 (Fbase64_decode_region): Pay attention to the byte
combining problem.
1998-10-24 01:17:09 +00:00
Richard M. Stallman
6e0fca1d84 (Fgarbage_collect): Block input around most of the function. 1998-10-22 01:53:38 +00:00
Kenichi Handa
9ebe6947ae (Fx_list_fonts): Access frame parameters throught
general macros.   Don't call x_list_font directory, instead call a
function set in list_fonts_func.
1998-10-21 11:50:56 +00:00
Kenichi Handa
3541bb8faa Include frame.h before fontset.h.
(list_fonts_func): Fix prototype.
1998-10-21 11:50:56 +00:00
Kenichi Handa
9625ce22ee (list_fonts_func): Fix prototype. 1998-10-21 11:50:56 +00:00
Kenichi Handa
a1dfb88a16 Include frame.h before fontset.h. 1998-10-21 11:50:56 +00:00
Kenichi Handa
e133c8fabc (setup_coding_system): Fix setting up
coding->spec.ccl.valid_codes for CCL based coding system.
(code_convert_region): Set point to FROM before inserting the
result of pre-write-funciton.  Preserve original point.
(code_convert_string): If coding->type is coding_type_ccl, do
conversion even if the length of conversion region is zero.
1998-10-21 11:50:56 +00:00
Geoff Voelker
bbdf24fae2 (w32_use_unicode_for_codepage): Interpret w32_no_unicode_output properly.
(syms_of_w32term): Reference w32_no_unicode_output properly.
1998-10-20 22:34:50 +00:00
Geoff Voelker
bd6bb5442f Include charset.h and fontset.h. 1998-10-20 22:16:48 +00:00
Geoff Voelker
d82f9149cb Remove redundant font_info struct definition.
(Vx_pixel_size_width_font_regexp,
unibyte_display_via_language_environment): Declare variables.
(w32_list_fonts, w32_get_font_info, w32_query_font, w32_load_font):
Declare functions.
w32_output): New fields font_baseline and fontset.
(FRAME_FONTSET, FRAME_W32_FONT_TABLE): New macros.
1998-10-20 22:16:00 +00:00
Geoff Voelker
cabb23bc0d Include fontset.h. Define codepage macros.
Add ENCODE_BIG5 macro from coding.c.
(w32_no_unicode_output): New variable.
(w32_codepage_for_charset, w32_use_unicode_for_codepage): New
functions.
(BUILD_WCHAR_T, BYTE1, BYTE2): New macros.
(dumpglyphs): Rewrite based on xterm.c equivalent.
(x_new_font): Use functionality provided in fontset.c.
(x_new_fontset): New function based on the one in xterm.c.
(syms_of_w32term): Add w32-no-unicode-output flag.
1998-10-20 22:15:14 +00:00
Geoff Voelker
4587b02635 (Vx_pixel_size_width): New global variable.
(unibyte_display_via_language_environment): New global variable.
(x_set_font): Add support for setting fontsets.
(Fx_create_frame): Add check_w32(). Initialize fontsets.  Fix
font names to match xlfd-tight-regexp.
(w32_load_font): Rewrite based on x_load_font.
(x_to_w32_charset, w32_to_x_charset): Add character sets.  Use
`iso8859-1' rather than `ansi'.
(w32_to_x_font): Remove `-' from font name.  Remove the `-' off the
end. Move charset into `charset registry' field.
(enum_font_cb2): Check charsets match.  Include width in font list.

(w32_list_fonts): Rewrite based on x_list_fonts.
Moved from w32term.c to have access to enumfont_t struct.
(Fx_list_fonts): w32 specific version eliminated.  Include
`x-list-fonts.c'.
(w32_get_font_info, w32_query_font, w32_find_ccl_program): New
functions for fontset support - adapted from x_ equivalents.
(syms_of_w32fns): New lisp variables initialised.  Function
pointers for fontset.c set up.
1998-10-20 22:13:14 +00:00
Geoff Voelker
30a231e64d Update comments referring to obsolete structs.
(allocate_face, copy_face, face_eql, load_font,
Fpixmap_spec_p, free_frame_faces, new_computed_face,
frame_update_line_height, merge_faces, compute_base_face,
Fset_face_attribute_internal): Use fontset support based on xfaces.c.
1998-10-20 22:12:51 +00:00
Geoff Voelker
67c2a40ffd (w32fns.c): Add x-list-font.c to dependancies. 1998-10-20 22:12:38 +00:00
Richard M. Stallman
f3be100fc2 (syms_of_syntax): Fix the setup of Qscan_error. 1998-10-20 20:56:18 +00:00
Eli Zaretskii
0c7bc1aabd (mouse_init): Reset the button press/release info of the mouse driver.
(mouse_preempted): New variable.
(dos_rawgetc): Don't generate mouse events if mouse is preempted.
(XMenuActivate): Preempt the mouse during menu-handling loop.
Release the current time slice while idling in the menu-handling
loop.  Leave the loop only if the user pressed, then released the
same button.  Discard all mouse events that are pending in the
event queue before exiting.
1998-10-20 14:25:38 +00:00
Kenichi Handa
c1a08b4c81 (Vauto_fill_chars, Qauto_fill_chars): New variables.
(syms_of_charset): Staticpro and initialize Qauto_fill_chars.
Declare auto-fill-chars as a Lisp variable and initialize it.
1998-10-19 00:40:10 +00:00
Kenichi Handa
69535a4bd5 (Vauto_fill_chars): Extern it. 1998-10-19 00:40:10 +00:00
Kenichi Handa
01428933ec (internal_self_insert): Check Vauto_fill_chars. 1998-10-19 00:40:10 +00:00
Kenichi Handa
3742fe75f8 (casify_object): Use make_string instead of
make_specified_string to cope with byte-combining situation.
1998-10-17 01:58:01 +00:00
Kenichi Handa
174a4cbee1 (decode_coding_iso2022): Set coding->fake_multibyte to
1 when encountered with a code of the range 0x80..0x9F.
1998-10-17 01:58:01 +00:00
Eli Zaretskii
8a52365ce8 (Fcall_process): Use $TMPDIR instead of trying $TMP
and $TEMP, since the former is always set in msdos.c.
(Fcall_process_region): When looking for a place to put the
temporary files, check $TMPDIR as well.
1998-10-14 15:17:11 +00:00
Richard M. Stallman
bbce7d721d (exec_sentinel, read_process_output):
Restore waiting_for_user_input_p after running Lisp code.
1998-10-14 14:36:33 +00:00
Richard M. Stallman
07ba902ebf (parse_menu_item): Avoid initialization for Lisp_Object.
(command_loop): Likewise.
1998-10-14 12:59:30 +00:00
Kenichi Handa
3019692c38 (adjust_markers_for_combining): This function deleted.
(adjust_markers_for_replace): Correctly adjust marker positions.
Don't record these adjustment because they were recorded already.
(combine_bytes): Don't adjust markers here.
1998-10-14 07:17:22 +00:00
Kenichi Handa
5e522af4f3 (Faset): Fix previous change. 1998-10-14 07:17:22 +00:00
Kenichi Handa
95b8aba74b (Ffillarray): Fix previous change. 1998-10-14 07:17:22 +00:00
Richard M. Stallman
4b37311e13 Fix previous change. 1998-10-13 23:54:54 +00:00
Richard M. Stallman
5744fa7c02 (Fdisplay_completion_list): Put on mouse-face properties. 1998-10-13 21:10:10 +00:00
Richard M. Stallman
82e6e5afd8 (Fclear_this_command_keys): New function.
(syms_of_keyboard): defsubr it.
1998-10-13 03:46:13 +00:00
Richard M. Stallman
b80d5655b0 (Fexecute_kbd_macro): Set real_this_command. 1998-10-12 20:03:15 +00:00
Kenichi Handa
1c5c931ae0 (clear_string_char_byte_cache): Extern it. 1998-10-12 12:00:44 +00:00
Kenichi Handa
51520e8a2e (CCL_DECODE_SJIS, CCL_ENCODE_SJIS): Swap the definitions. 1998-10-12 12:00:44 +00:00
Kenichi Handa
020da46098 (Fstring): Call make_string instead of
make_string_from_bytes.
(Ffind_charset_region): Include `composition' in the returned list
if the region contains any composite characters.
(Ffind_charset_string): Include `composition' in the returned list
if the string contains any composite characters.
(find_charset_in_str): Handle CMPCHARP arg correctly.
1998-10-12 12:00:44 +00:00
Kenichi Handa
622fece532 (shrink_decoding_region): If a charset other than ascii
is initially designated to G0, don't shrink the region.
(shrink_encoding_region): Likewise.
1998-10-12 12:00:44 +00:00
Kenichi Handa
dbda4aad56 (Faset): If ARRAY is a multibyte string, pay attention to
byte-combining situation.
1998-10-12 12:00:44 +00:00
Kenichi Handa
57247650fb (clear_string_char_byte_cache): New function.
(Ffillarray): Handle multibyte string correctly.
1998-10-12 12:00:44 +00:00
Kenichi Handa
76be80e02b (Fw16_set_clipboard_data): Call find_charset_in_str with CMPCHARP arg 0. 1998-10-12 12:00:44 +00:00
Kenichi Handa
3c8cb3123a (Fw32_set_clipboard_data): Call find_charset_in_str with CMPCHARP arg 0. 1998-10-12 12:00:44 +00:00