Fix performance bug on hosts with large
/var/adm/wtmp files with no boot records.
(boot_time_initialized): New var.
(init_filelock): Initialize it.
(get_boot_time): Use it, instead of nonzero boot_time,
to test whether boot_time is initialized.
Don't invoke utmp routines when dumping.
(get_boot_time): First, try to get the boot time from the
current utmp file, as this can be much faster. Don't try to
get the boot time from utmp and/or wtmp more than once.
(get_boot_time_1): When passed null pointer, don't invoke utmpname.
New arg LATEST. All uses changed.
(debugger-outer-inhibit-redisplay): New variable.
(debug): Bind and use debugger-outer-inhibit-redisplay.
Bind inhibit-redisplay to nil.
(debugger-env-macro): Treat inhibit-redisplay like other outside vars.
Kenichi Handa [Thu, 13 May 1999 06:40:05 +0000 (06:40 +0000)]
(ps-mule-prologue): Fix the definition of DefFontMule
to correctly reflect the value of BaseLineOffset in
RelativeCompose. Now the value of RelativeCompose is an array of
low and high positions.
(ps-mule-cmpchar-prologue): Adjust the definition of BC, EC, and
RLC for the above change.
Andrew Innes [Tue, 11 May 1999 13:38:10 +0000 (13:38 +0000)]
(x_to_w32_charset): Reinstall VIETNAMESE_CHARSET
definition.
(w32_wnd_proc): Reinstall debugging output.
(w32_wnd_proc): Reinstall SetForegroundWindow change.
(syms_of_w32fns): Reinstall new initializer for
Vw32_phantom_key_code.
(x_to_w32_charset): Do partial matching of charset
names for most non-European charsets, to cope with wildcards or
missing spec dates.
(Fw32_send_sys_command): Post WM_SYSCOMMAND rather than sending it
to avoid deadlock when activating the menu bar.
Kenichi Handa [Tue, 11 May 1999 04:28:26 +0000 (04:28 +0000)]
* language/korea-util.el (isearch-toggle-korean-input-method):
Adjusted for the change of input method handling in isearch.el.
(isearch-hangul-switch-symbol-ksc): Likewise.
(isearch-hangul-switch-hanja): Likewise.
Andreas Schwab [Mon, 10 May 1999 12:57:15 +0000 (12:57 +0000)]
(Fread_file_name): Correct handling of dollars in file
names. Protect dollars in strings put on the file-name-history.
Substitute homedir by `~' also in default_filename.
Karl Heuer [Sun, 9 May 1999 06:34:35 +0000 (06:34 +0000)]
(ispell-local-dictionary-alist): New variable for
customizing local dictionaries not accessable by everyone.
(ispell-dictionary-alist): Loads `ispell-local-dictionary-alist'.
(ispell-required-version): Changed format `(major minor
revision)' to support general pattern matching.
(ispell-tex-skip-alists): AMS Tex block comment and `\author'
skip region commented out due to incorrect skip potential in std latex.
(ispell-word): Removed `when' macro. Fixed bug of not restoring
cursor point on small words for calls from `ispell-minor-mode'.
(check-ispell-version): Tests and accepts versions major.minor
and above, with adjustments for interactions in 3.1.0-3.1.11.
(ispell-get-line): No longer skips ispell process special characters.
(ispell-comments-and-strings): Removed `when' macro call.
(ispell-minor-check): Requires ispell-word to restore cursor point.
(ispell-buffer-local-parsing): Supports checking comments only.
Kenichi Handa [Tue, 4 May 1999 05:42:55 +0000 (05:42 +0000)]
(ccl_prog_stack_struct): Declare it as static.
(ccl_driver): Setup stack_idx and ccl_prog correctly. Update them
before returing.
(setup_ccl_program): Initialize ccl->stack_idx to 0.
Andrew Innes [Sun, 2 May 1999 10:51:03 +0000 (10:51 +0000)]
(display_text_line): Convert unibyte char to multibyte
if unibyte_display_via_language_environment is set.
(unibyte_display_via_language_environment):
Variable moved from xfns.c and elsewhere.
(syms_of_xfns): Set up Lisp var.
Andrew Innes [Sun, 2 May 1999 10:34:21 +0000 (10:34 +0000)]
[andrewi]
(dumpglyphs): On Windows NT, do output in Unicode even
for ASCII, if enabled, to avoid memory allocation overhead for
implicit Unicode conversion. Also, recognize that ASCII and
Latin-1 have a trivial conversion to Unicode, so x_2byte_buffer
lready contains the Unicode characters in that case.
(construct_drag_n_drop): Remove old code that was
trashing the drop location.
[jasonr]
(w32_write_glyphs, w32_clear_end_of_line,
w32_clear_frame, clear_cursor, x_display_bar_cursor,
x_display_box_cursor, x_set_window_size): Use phys_cursor_on
field in frame.
(do_line_dance): Updated WRT xterm.c. Use macros where possible.
(dumprectangle): Take into account the width of a left-side
scroll bar.
Andrew Innes [Sun, 2 May 1999 10:23:06 +0000 (10:23 +0000)]
[andrewi]
(w32_list_bdf_fonts): Initialize n_fonts.
(Fw32_shell_execute): New function; used to support browse-url.
(syms_of_w32fns): Register it.
(w32_load_system_font): Force max width to be average
char width for fixed-pitch fonts, to avoid unnecessary redisplay
slowdown.
(x_to_w32_charset): Define VIETNAMESE_CHARSET if not
already defined.
(syms_of_w32fns): Set Vw32_phantom_key_code to 255.
[jasonr]
(w32_wnd_proc) [WM_PAINT]: Use rectangle from
GetUpdateRect rather than BeginPaint.
(w32_wnd_proc): Attach to current foreground thread
when grabbing focus; necessary on NT 5.0.
(w32_wnd_proc) [W32_DEBUG_DISPLAY]: Add output for
debugging display messages.
(w32_to_x_charset): Put wildcard last in unknown charsets to avoid
false matching.
Andrew Innes [Sun, 2 May 1999 10:13:08 +0000 (10:13 +0000)]
(get_section_info): Dump back the entire EMDATA
section if we can put Emacs' initialized data in a separate
section, otherwise use the my_begdata/my_edata method.
Andrew Innes [Sun, 2 May 1999 09:45:17 +0000 (09:45 +0000)]
(convert-standard-filename): Only convert directory
separators to backslash if the interactive shell is one of the
standard Windows shells that has DOS semantics.
Karl Heuer [Thu, 29 Apr 1999 20:28:43 +0000 (20:28 +0000)]
(find-file-noselect-1): If buffer-file-name has changed
after find-file-not-found-hooks runs, recompute the truename.
And don't use FILENAME after that point.