Roland McGrath [Wed, 9 Nov 1994 03:43:30 +0000 (03:43 +0000)]
(EVENT_QUEUES_EMPTY): Only test do_mouse_tracking and mouse_moved #ifdef
HAVE_MOUSE.
(Ftrack_mouse): Protect with #ifdef HAVE_MOUSE.
(syms_of_keyboard): Protect initialization of do_mouse_tracking, defsubr
of Strack_mouse, and DEFVAR of track-mouse with #ifdef HAVE_MOUSE.
Karl Heuer [Tue, 8 Nov 1994 22:34:06 +0000 (22:34 +0000)]
(Man-follow-manual-reference): First arg deleted. Call
Man-getpage-in-background with one argument only.
[this entry was already in the ChangeLog, but not in the source.]
Francesco Potortì [Mon, 7 Nov 1994 12:13:16 +0000 (12:13 +0000)]
* man.el (Man-reuse-okay-flag): Deleted.
(man, Man-getpage-in-background): Second arg deleted.
References to Man-reuse-okay-flag deleted.
(Man-follow-manual-reference): First arg deleted. Call
Man-getpage-in-background with one argument only.
Paul Reilly [Mon, 7 Nov 1994 07:31:19 +0000 (07:31 +0000)]
(update_one_menu_entry): Use the parent of the cascade button as the
parent of the pulldown, rather than the cascade button itself. This
works around a Motif SIGSEGV in the function `InSharedMenuHierarchy'.
Karl Heuer [Sat, 5 Nov 1994 02:13:37 +0000 (02:13 +0000)]
(gnus-configure-windows): Make split-window-keep-point locally t so that focus
doesn't occasionally move to the wrong window on split-window-vertically.
Richard M. Stallman [Tue, 1 Nov 1994 08:49:40 +0000 (08:49 +0000)]
(read_key_sequence): Use flags instead of gotos to
enable the Microsoft C compiler to compile the routine.
(read_avail_input) [WINDOWSNT]: Just return 0.
(make_lispy_event): Record double and triple for drags.
Put in click_modifier for multi-clicks.
(read_key_sequence): Convert double-drag first to plan drag,
and only later try a click.
Richard M. Stallman [Tue, 1 Nov 1994 08:31:31 +0000 (08:31 +0000)]
Use macros IS_ANY_SEP, IS_DIRECTORY_SEP,
IS_DEVICE_SEP, DIRECTORY_SEP, and DEVICE_SEP.
[WINDOWSNT]: Add includes. Don't define sys_siglist.
(sigchld_handler): Work around bug in MS C compiler.
(sigchld_handler) [WINDOWSNT]: Do not call signal.
(signal_process) [WINDOWSNT]: Use win32_kill_process instead of kill.
(read_process_output) [WINDOWSNT]: Use read_child_output instead of
read.
(create_process) [WINDOWSNT]: Use
pipe_with_inherited_out and pipe_with_inherited_in.
Use the pid returned by child_setup. Deal with not having vfork,
Call register_child.
(close_process_descs): Do nothing if WINDOWSNT.
Richard M. Stallman [Tue, 1 Nov 1994 08:22:31 +0000 (08:22 +0000)]
Change explicit uses of the Unix directory separator
'/' to uses of the macros IS_ANY_SEP, IS_DIRECTORY_SEP,
IS_DEVICE_SEP, DIRECTORY_SEP, and DEVICE_SEP.
(init_lread) [WINDOWSNT]: Disable warnings about
directories in the load path not existing.
Richard M. Stallman [Tue, 1 Nov 1994 08:16:31 +0000 (08:16 +0000)]
Change explicit uses of the Unix directory separator
/' to uses of the macros IS_ANY_SEP, IS_DIRECTORY_SEP,
S_DEVICE_SEP, DIRECTORY_SEP, and DEVICE_SEP.
[WINDOWSNT]: Don't define HAVE_FSYNC; add includes for NT.
(Ffile_name_absolute_p): Test DOS_NT instead of MSDOS.
(Fwrite_region, Fdo_auto_save, Ffile_modes): Likewise.
(Qfind_buffer_file_type): Test DOS_NT instead of MSDOS.
(syms_of_files): Likewise.
(Finsert_file_types): Test DOS_NT instead of MSDOS.
Rename local var try to trytry.
(Fadd_name_to_file): Wlways fail.
(Frename_file) [WINDOWSNT]: Use MoveFile, not link and unlink,
and check for both ERROR_FILE_EXISTS and ERROR_ALREADY_EXISTS.
(Fmake_directory_internal) [WINDOWSNT]: Invoke mkdir without the mask.
(Fexpand_file_name): Test DOS_NT, not MSDOS.
(Fexpand_file_name) [WINDOWSNT]: Accept // or \\ at start.
Call dostonunix_filename for HOME envvar, for ~USER.
Quote directory separators found in environment variables.
(Fsubstitute_in_file_name): Test DOS_NT instead of MSDOS.
(Fsubstitute_in_file_name) [WINDOWSNT]: Accept // or \\ at start.
Work around alloca bug in MS compiler.
(Ffile_name_directory): Test DOS_NT instead of MSDOS sometimes.
But don't insert a drive letter on windows.
Richard M. Stallman [Tue, 1 Nov 1994 07:03:57 +0000 (07:03 +0000)]
Use macros IS_ANY_SEP, IS_DIRECTORY_SEP, and DIRECTORY_SEP.
(file-attributes) [WINDOWSNT]: Set st_gid and st_uid to Qnil; use
get_inode_and_device_vals to fake up inode number and device number.
Richard M. Stallman [Tue, 1 Nov 1994 06:49:52 +0000 (06:49 +0000)]
(getenv_internal) [WINDOWSNT]: Use strnicmp, not bcmp.
(child_setup): Use IS_DIRECTORY_SEP.
[WINDOWSNT]: Call prepare_standard_handles. Use spawnve.
Use reset_standard_handles.
(Fcall_process_region): Test DOS_NT, not MSDOS.
(Fcall_process) [WINDOWSNT]: Call pipe_with_inherited_out.
Use the return value of child_setup to get the child's pid;
don't call vfork etc. explicitly.
[WINDOWSNT]: Add includes. Defone NOMINMAX, _P_NOWAIT.
(Vbinary_process_input, Vbinary_process_output)
(Qbuffer_file_type): Test DOS_NT, not MSDOS.
(syms_of_callproc): Test DOS_NT, not MSDOS.