1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-03-02 20:00:35 -08:00
Commit graph

9353 commits

Author SHA1 Message Date
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
Kenichi Handa
6b123f323b (lisp_data_to_selection_data): Call find_charset_in_str with CMPCHARP arg 0. 1998-10-12 12:00:44 +00:00
Kenichi Handa
8e36ae7f46 (Fstring_to_number): Don't recognize floating point if base is not 10. 1998-10-12 11:54:43 +00:00
Richard M. Stallman
9ac425d169 (parse_menu_item): For top level of menu bar,
accept ordinary commands, and treat them just like a keymap.
1998-10-12 06:13:00 +00:00
Richard M. Stallman
b5174a5103 (redisplay_window): Clear w->window_end_valid
before running the window-scroll-functions hook, if appropriate.
1998-10-12 01:38:50 +00:00
Richard M. Stallman
0ec56a8056 (check_x_display_info): Don't use selected_frame if it is dead. 1998-10-10 15:07:08 +00:00
Richard M. Stallman
3f8ab7bddc (window_loop): New alternative CHECK_ALL_WINDOWS.
(check_all_windows): New function for debugging tests.
(syms_of_window): Initialize it.

(Qwindow_configuration_p): New variable.
(Fwindow_configuration_frame): New function.
(syms_of_window): defsubr it.
(Fset_window_configuration): Return t if frame is live.
Use Qwindow_configuration_p.
1998-10-10 14:49:28 +00:00
Geoff Voelker
5d7fed93b5 (x_create_bitmap_from_file): Skip special files. 1998-10-09 06:09:52 +00:00
Karl Heuer
7744ca33c6 Doc fixes. 1998-10-08 20:31:34 +00:00
Richard M. Stallman
c3907a7e36 (scan_lists): Bring FROM back into range BEGV...ZV. 1998-10-08 10:47:51 +00:00
Kenichi Handa
55d8d76935 (code_convert_region): Set inhibit_modification_hooks
to 1 before calling Fset_text_properties.
1998-10-08 06:48:42 +00:00
Kenichi Handa
fd16a4c6d8 (signal_before_change): If inhibit_modification_hooks
is nonzero, do nothing.
(signal_after_change): Likewise.
1998-10-08 06:45:36 +00:00
Kenichi Handa
7775635d6f (inhibit_modification_hooks): New variable.
(init_buffer_once): Initialize inhibit_modification_hooks to 0.
1998-10-08 06:45:36 +00:00
Kenichi Handa
347d3e9ca8 (inhibit_modification_hooks): Extern it. 1998-10-08 06:45:36 +00:00
Kenichi Handa
ba7434e5bf (invalid_character): Prepend `0' to octal
representation.  Give error sufficient args.
1998-10-08 06:45:36 +00:00
Geoff Voelker
d54abccd47 (init_ntproc): Check for Windows init file.
(term_ntproc): Do not check for it here.
1998-10-07 19:47:48 +00:00
Paul D. Smith
75c0d0950d Checkpoint changes. Bug fixes, mostly. 1998-10-03 05:40:15 +00:00
Kenichi Handa
d7af002f65 (adjust_after_replace): Don't delete text properties here. 1998-09-28 11:52:53 +00:00
Kenichi Handa
88993dfd4e (check_composing_code): Fix previous change. Now it
alwasy returns 0 or -1.
(decode_coding_iso2022): Adjusted for the above change.
(encode_coding_iso2022): When encoding the last block, flush out
tailing garbage bytes.
(setup_coding_system): Delete unnecessary code.
(shrink_decoding_region): Check translation table.  If ASCII
should be translated, give up shrinking.
(shrink_encoding_region): Likewise.
(SHRINK_CONVERSION_REGION_THRESHHOLD): New macro.
(SHRINK_CONVERSION_REGION): New macro.
(code_convert_region): Call SHRINK_CONVERSION_REGION.  Delete text
properties here.
(code_convert_region): In the case of encoding, always calulate
correct character number.
(code_convert_string): Call SHRINK_CONVERSION_REGION.
(code_convert_region1): Don't delete text properties here.
(check_composing_code): Fix previous change.  Now it
alwasy returns 0 or -1.
(decode_coding_iso2022): Adjusted for the above change.
(encode_coding_iso2022): When encoding the last block, flush out
tailing garbage bytes.
(setup_coding_system): Delete unnecessary code.
(shrink_decoding_region): Check translation table.  If ASCII
should be translated, give up shrinking.
(shrink_encoding_region): Likewise.
(SHRINK_CONVERSION_REGION_THRESHHOLD): New macro.
(SHRINK_CONVERSION_REGION): New macro.
(code_convert_region): Call SHRINK_CONVERSION_REGION.  Delete text
properties here.
(code_convert_region): In the case of encoding, always calulate
correct character number.
(code_convert_string): Call SHRINK_CONVERSION_REGION.
(code_convert_region1): Don't delete text properties here.
1998-09-28 11:52:53 +00:00
Kenichi Handa
c42869c47d (encode_terminal_code): Handle raw 8-bit codes correctly. 1998-09-28 11:52:53 +00:00
Richard M. Stallman
432eec292e Treat __GNU__ line NeXT: undefine BSD and FSCALE. 1998-09-27 07:29:59 +00:00
Richard M. Stallman
d5844360c8 (NLIST_STRUCT, KERNEL_FILE, LDAV_SYMBOL): Add #undefs. 1998-09-27 07:21:30 +00:00