Kenichi Handa [Wed, 21 Oct 1998 11:50:56 +0000 (11:50 +0000)]
(sentence-end-without-period): New variable.
(canonically-space-region): Pay attention to
sentence-end-without-period.
(fill-find-break-point): The first argument CHARSET deleted.
Caller changed.
(fill-region-as-paragraph): Pay attention to charset property
nospace-between-words and text property nospace-between-words.
Kenichi Handa [Wed, 21 Oct 1998 11:50:56 +0000 (11:50 +0000)]
(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.
Karl Heuer [Wed, 21 Oct 1998 07:01:32 +0000 (07:01 +0000)]
(profile-timer-program): Var deleted.
(profile-timer-process, profile-temp-result-, profile-time): Likewise.
(profile-filter, profile-reset-timer): Functions deleted.
(profile-check-zero-init-times, profile-get-time): Likewise.
(profile-find-function, profile-quit): Likewise.
(profile-distinct, profile-call-stack, profile-last-time): New vars.
(profile-time-list, profile-init-list): Doc fix.
(profile-functions): Simplify.
(profile-print): Use float. Make output include space separators.
(profile-add-time): New helper function.
(profile-function-prolog): Renamed from profile-start-function.
Handle profile-distinct.
(profile-function-epilog): Renamed from profile-update-function.
Handle profile-distinct.
(profile-a-function): If the function to be profiled is an
autoload form, load it. If it's lazy-loaded, fetch it.
(profile-fix-fun): Simplify profiling wrapper, and unwind-protect it.
(profile-restore-fun): Arg FUN is now a function symbol, as was
documented, rather than a one-element list.
(profile-finish): Call profile-restore-fun properly.
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.
(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.
("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.
("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.