Geoff Voelker [Tue, 20 Oct 1998 22:15:14 +0000 (22:15 +0000)]
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.
Geoff Voelker [Tue, 20 Oct 1998 22:13:14 +0000 (22:13 +0000)]
(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.
Geoff Voelker [Tue, 20 Oct 1998 22:12:51 +0000 (22:12 +0000)]
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.
Eli Zaretskii [Tue, 20 Oct 1998 14:25:38 +0000 (14:25 +0000)]
(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.
Richard M. Stallman [Mon, 19 Oct 1998 18:25:59 +0000 (18:25 +0000)]
(modify-face-read-string): Return (nil) for "none".
(modify-face): Don't get error if (nil) is the argument.
(face-try-color-list): Don't check whether nil is a valid color.
Kenichi Handa [Mon, 19 Oct 1998 00:40:10 +0000 (00:40 +0000)]
(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.
Dave Love [Wed, 14 Oct 1998 18:18:52 +0000 (18:18 +0000)]
(ange-ftp-read-passwd): Function deleted.
(ange-ftp-set-passwd): Use read-passwd, not ange-ftp-read-passwd.
(ange-ftp-get-passwd, ange-ftp-set-account): Likewise.
* progmodes/fortran.el (fortran-join-line): Use
`delete-indentation' instead of issuing an error message if not on
a continuation line. Provide for joining several lines using
prefix arg.
Eli Zaretskii [Wed, 14 Oct 1998 15:17:11 +0000 (15:17 +0000)]
(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.
Eli Zaretskii [Wed, 14 Oct 1998 15:11:12 +0000 (15:11 +0000)]
(msdos-color-values): New variable.
(x-color-values): New function, emulates its namesake from src/xfns.c.
(msdos-bg-mode): Add all dark colors to those which return "dark".
Kenichi Handa [Wed, 14 Oct 1998 07:17:22 +0000 (07:17 +0000)]
(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.
Richard M. Stallman [Tue, 13 Oct 1998 15:41:11 +0000 (15:41 +0000)]
("latin-1-alt-postfix"): Add a method to enter the
small superscript underlined o and a.
("italian-alt-postfix"): Change it to something useful and
different from italian-postfix.
Richard M. Stallman [Tue, 13 Oct 1998 15:40:56 +0000 (15:40 +0000)]
("latin-1-postfix"): Add a method to enter the
small superscript underlined o and a.
("italian-postfix"): Same as above.
("italian-postfix"): Add methods to enter e with acute accent and
the >> and << symbols.
Andreas Schwab [Tue, 13 Oct 1998 09:52:54 +0000 (09:52 +0000)]
(hide-ifdef-env, hif-outside-read-only):
Move declaration before first use.
(hif-parse-if-exp, hif-nexttoken, hif-expr, hif-term, hif-eq-expr,
hif-math, hif-factor): Rename token to hif-token and token-list to
hif-token-list.
(hif-token, hif-token-list): Declare them.
(hif-find-ifdef-block): Return cons of top and bottom point
instead of setting dynamically bound variables.
(hide-ifdef-block, show-ifdef-block): Use return value of
hif-find-ifdef-block.
Kenichi Handa [Mon, 12 Oct 1998 12:00:44 +0000 (12:00 +0000)]
(ccl-compile-if): If there's no false-cmds,
set unconditional-jump to nil.
(ccl-compile-read-multibyte-character): Return nil.
(ccl-compile-write-multibyte-character): Likewise.
(ccl-compile-translate-character): Likewise
(ccl-compile-map-multiple): Likewise.
(ccl-compile-map-single): Likewise.
Kenichi Handa [Mon, 12 Oct 1998 12:00:44 +0000 (12:00 +0000)]
(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.
Richard M. Stallman [Sun, 11 Oct 1998 22:44:46 +0000 (22:44 +0000)]
(Info-insert-dir): Detect and report problems
in input files, such as "No Top node". Return with point
at the beginning of the text.
(Info-find-node): Reinsert the code to handle files
with no tags table; it was deleted by mistake.
Richard M. Stallman [Sun, 11 Oct 1998 22:17:03 +0000 (22:17 +0000)]
(tags-loop-revert-buffers): New variable.
(next-file): Optionally offer to revert a file's buffer,
if it has an existing buffer but the file has changed.