1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-13 23:10:26 -08:00
Commit graph

9785 commits

Author SHA1 Message Date
Karl Heuer
a247bf214e (start-process-shell-command): Don't use exec on windows-nt. 1994-11-03 21:23:40 +00:00
Karl Heuer
85cdd6afed Changed references of m\m-windowsnt.h to m\intel386.h and of s\s-windowsnt.h
to s\windowsnt.h.
1994-11-03 21:11:43 +00:00
Karl Heuer
b65769c78d (sbrk): Allow request sizes to be different than the page size. 1994-11-03 21:07:19 +00:00
Karl Heuer
8c147e4053 [WINDOWSNT]: (VIRT_ADDR_VARIES, DATA_END, DATA_START, HAVE_ALLOCA): Defined. 1994-11-03 20:49:20 +00:00
Karl Heuer
1cd47f14cc #include <malloc.h>.
(HAVE_MOUSE, MODE_LINE_BINARY_TEXT): defined.
1994-11-03 20:46:43 +00:00
Karl Heuer
c4e347be42 (tar-extract): Set default-directory to that of the superior buffer, not the
pseudo-dir formed from the archive name.
1994-11-03 20:37:28 +00:00
Karl Heuer
fd63b4f4d8 (gud-gdb-complete-command): Add a trailing single quote to partially quoted
unique completions.
1994-11-03 20:30:28 +00:00
Karl Heuer
6b356ee89a Don't rm files if cd fails. 1994-11-03 20:24:53 +00:00
Simon Marshall
2f12628e08 Wrap font-lock-fontify-region's string-match with save-match-data. 1994-11-03 15:30:39 +00:00
Karl Heuer
40a5b2e17b (Fx_list_fonts): Don't bother to retrieve font info when there's no size_ref
to compare it against.
1994-11-02 06:18:45 +00:00
Karl Heuer
3c887943b4 (Fdecode_time): Fix Lisp_Object vs. integer problems.
Don't use tm_gmtoff; it's not portable.
1994-11-02 04:27:27 +00:00
Karl Heuer
568641ead2 Leave DEVICE_SEP undefined by default. 1994-11-02 02:35:56 +00:00
Richard M. Stallman
cf1e6391ae (init_buffer): Fix error message syntax. 1994-11-02 01:22:31 +00:00
Richard M. Stallman
3463f90ac0 (Fdecode_time): Change one XFASTINT to XINT. 1994-11-01 21:06:55 +00:00
Richard M. Stallman
dd254b21da (x_window): Make ibw 0 by default.
(Fx_create_frame): Don't set xlwmenu_default_font if not USE_X_TOOLKIT.
1994-11-01 21:05:11 +00:00
Richard M. Stallman
6cbf476c79 Add function and variable name conventions. 1994-11-01 21:04:29 +00:00
Per Bothner
4568da2fba (*-unknown-freebsd): Remove [-(] from UNAME_RELEASE. 1994-11-01 19:27:21 +00:00
Richard M. Stallman
391b374875 Put nt subdir and its subdirs in the dist.
(lib-src): Put makefile.nt in the dist.
(lisp): Put makefile.nt in the dist.
1994-11-01 10:41:18 +00:00
Richard M. Stallman
896c0d8b14 (SYSTEM_PURESIZE_EXTRA): Defined. 1994-11-01 10:31:35 +00:00
Richard M. Stallman
95ed00257a Initial revision 1994-11-01 10:27:02 +00:00
Richard M. Stallman
b0bfea296d (byte-compile-insert-header): Escape backslashes
in FILENAME when putting it inside a string constant.
1994-11-01 09:54:39 +00:00
Richard M. Stallman
4691c06db4 (init_editfns): Get the username from the environment
variable USERNAME instead of USER.

(Fdecode_time): New function.
(syms_of_editfns): defsubr it.
1994-11-01 08:50:20 +00:00
Richard M. Stallman
bc536d8477 (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.
1994-11-01 08:49:40 +00:00
Richard M. Stallman
881a5a8093 (DEVICE_SEP, DIRECTORY_SEP, IS_DEVICE_SEP)
(IS_DIRECTORY_SEP, IS_ANY_SEP): New macros, defined if not already def.
1994-11-01 08:47:47 +00:00
Richard M. Stallman
fcc182b34b (DOS_NT): Defined. 1994-11-01 08:45:04 +00:00
Richard M. Stallman
cb28b9c22b (term_init) [WINDOWSNT]: Do some Windows-specific
initialization, then skip the rest of the code.
(FRAME_TERMCAP_P) [WINDOWSNT]: Always return 0.
1994-11-01 08:44:15 +00:00
Richard M. Stallman
57d655926a [WINDOWSNT] (EMACS_KILLPG): Use win32_kill_process. 1994-11-01 08:42:36 +00:00
Richard M. Stallman
101adcb531 Test DOS_NT, not MSDOS. 1994-11-01 08:41:25 +00:00
Richard M. Stallman
fe03522be2 [WINDOWSNT]: Add includes for NT.
Define _P_WAIT.  Declare _spawnlp, _getpid.
[WINDOWSNT] (select, strerror, vfork): Don't use these definitions.

(init_sys_modes): Test DOS_NT, not MSDOS.
(emacs_get_tty, emacs_set_tty,(child_setup_tty, init_baud_rate): Ditto.

(sys_subshell) [WINDOWSNT]: Use _spawnlp. not vfork.
(wait_for_termination) [WINDOWSNT]: Use wait.
(discard_tty_input) [WINDOWSNT]: Do nothing at all.
1994-11-01 08:39:49 +00:00
Richard M. Stallman
e98d950b32 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.

(proc_buffer_char): No longer static.
1994-11-01 08:31:31 +00:00
Richard M. Stallman
6cc1fc1d3d (MAXNAMLEN) [WINDOWSNT]: Define as 255. 1994-11-01 08:24:29 +00:00
Richard M. Stallman
dbecffaa01 [WINDOWSNT]: Don't include vlimit.h.
(get_lim_data): Alternate definition for WINDOWSNT.
1994-11-01 08:23:44 +00:00
Richard M. Stallman
317073d51d 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.

(load): Test DOS_NT instead of MSDOS.
1994-11-01 08:22:31 +00:00
Richard M. Stallman
5e570b7585 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.
1994-11-01 08:16:31 +00:00
Richard M. Stallman
cc5f52cbfa (Fdump_emacs): Don't reset the data start address by
invoking memory_warnings just before unexec-ing.
1994-11-01 07:07:32 +00:00
Richard M. Stallman
0b39d75da8 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.
1994-11-01 07:03:57 +00:00
Richard M. Stallman
bad95d8f8d (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.

(init_callproc): Test DOS_NT, not MSDOS.
1994-11-01 06:49:52 +00:00
Richard M. Stallman
f7975d0711 (init_buffer): Use DIRECTORY_SEP, IS_DIRECTORY_SEP macros,
not character constants.
(init_buffer_once, syms_of_buffer): Test DOS_NT, not MSDOS.
1994-11-01 06:39:38 +00:00
Richard M. Stallman
5e028eee2a (struct buffer): Test DOS_MT, not MSDOS. 1994-11-01 06:17:07 +00:00
Richard M. Stallman
b752147426 On windows-nt, load ls-lisp and winnt.
Treat windows-nt like ms-dos for DOC file name.
1994-11-01 05:56:55 +00:00
Richard M. Stallman
57f2b3e4f3 (Info-directory-list): Treat windows-nt like ms-dos. 1994-11-01 05:54:58 +00:00
Richard M. Stallman
2cd0169dc8 (byte-compile-file): Treat windows-nt like ms-dos. 1994-11-01 05:52:42 +00:00
Richard M. Stallman
23fa904007 (hexl-find-file): Treat windows-nt like ms-dos. 1994-11-01 05:51:58 +00:00
Richard M. Stallman
59fc41e547 (shell-command-switch): New variable.
(shell-command, shell-command-on-region): Use new variable.
1994-11-01 05:50:57 +00:00
Richard M. Stallman
7d1aa45da3 (command-line): Use ~/_emacs as init file in windows-nt. 1994-11-01 05:49:25 +00:00
Richard M. Stallman
c32d49e850 (abbreviate-file-name): Handle drive letters on windows-nt as on ms-dos. 1994-11-01 05:48:21 +00:00
Richard M. Stallman
4a091f2a34 (desktop-basefilename): Use emacs.dsk on windows-nt. 1994-11-01 05:46:57 +00:00
Richard M. Stallman
cfa8348f2b (bookmark-file): Use ~/emacs.bmk on windows-nt. 1994-11-01 05:45:47 +00:00
Richard M. Stallman
3912227e7e (change-log-name): Use changlo on windows-nt. 1994-11-01 05:45:04 +00:00
Richard M. Stallman
c05b6df534 (main, etags_getcwd): Test DOS_NT instead of MSDOS.
[WINDOWSNT]: Include some NT headers.
1994-11-01 05:26:14 +00:00