1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-28 16:21:07 -08:00
Commit graph

15098 commits

Author SHA1 Message Date
Geoff Voelker
b3fa71dc1b Check to see if already included.
(fd_set, filedesc): New structures.
(child_process, MAX_CHILDREN, CHILD_ACTIVE): Definitions moved
from ntproc.c.
(FD_SET, FD_CLR, FD_ISSET, FD_ZERO): Operate on fd_set structures.
(SELECT_TYPE): New macro.
New child process status enumeration.
(FILE_READ, FILE_WRITE, FILE_BINARY, FILE_PIPE, FILE_SOCKET):
New macros.
(fd_info, new_child, delete_child): Declared.
1996-05-03 18:33:20 +00:00
Geoff Voelker
480b0c5b52 (nt_stat, nt_ctime): Functions deleted.
Undefine macros of CRT functions.
1996-05-03 18:32:52 +00:00
Geoff Voelker
2fd5e802b7 (SUBSYSTEM) [NTGUI]: Remove conditional.
(LINK_FLAGS): Explicitly set base address, and stack and heap sizes.
(nt.obj): Add dependency to nt.h.
1996-05-03 18:32:30 +00:00
Geoff Voelker
c911543b1c Initial revision 1996-05-03 18:29:10 +00:00
Geoff Voelker
14f29224a0 Include ntlib.h.
(nt_sleep): Rename to sleep.
(getwd): Return directory.
(getlogin, cuserid, getuid, setuid, getpwuid, getpass, fchown,
sys_ctime, sys_fopen): New functions.
1996-05-03 18:28:37 +00:00
Geoff Voelker
c81ebaba0a (LOCAL_FLAGS): Include path to NT shadow includes.
(movemail.exe, fakemail.exe): Now built under Win32.
1996-05-03 18:28:18 +00:00
Geoff Voelker
af99aa461d (win32-handle-scroll-bar-event): New function. 1996-05-03 18:26:22 +00:00
Geoff Voelker
4e0cd0df0d (original-make-auto-save-file-name): New symbol bound
to old value of make-auto-save-file-name.
(make-auto-save-file-name): New function overriding old.
1996-05-03 18:25:59 +00:00
Geoff Voelker
6c89f572f2 (F_OK, X_OK, W_OK, R_OK): New macros. 1996-05-03 18:23:44 +00:00
Geoff Voelker
b1dd4ab334 Build and install runemacs.exe. 1996-05-03 18:20:29 +00:00
Geoff Voelker
ff4fcfcd30 (CONFIG_H) [WIN95]: Use config.nt. 1996-05-03 18:20:11 +00:00
Geoff Voelker
a3d351a317 Check if INSTALL_DIR is passed as an argument.
,
1996-05-03 18:19:57 +00:00
Geoff Voelker
c6e6368426 (REG_ROOT): Don't use a trailing backslash.
(env_vars): Rename field emacs_path to emacs_dir.
(main): Add link to runemacs instead of emacs.
1996-05-03 18:19:05 +00:00
Richard M. Stallman
6321824f33 (Fthis_single_command_keys): New function.
(syms_of_keyboard): defsubr it.
(this_single_command_key_start): New variable.
(add_command_key): Reduce this_single_command_key_start if nec.
(command_loop_1): Clear this_single_command_key_start if nec.
(Fread_key_sequence, Fexecute_extended_command): Likewise.
(read_key_sequence): Set this_single_command_key_start.
1996-05-02 22:33:51 +00:00
Richard M. Stallman
377f24f595 (Fevent_convert_list): Never treat last elt as modifier. 1996-05-02 21:39:06 +00:00
Richard M. Stallman
36d6372a40 (gud-display-line): Switch to gud buffer before calling gud-find-file. 1996-05-02 21:20:55 +00:00
Richard M. Stallman
f0e1cd3354 (Info-find-node): Don't treat file name `dir' specially
if it comes with a directory name.
1996-05-02 06:08:40 +00:00
Richard M. Stallman
d21e67b565 (dos_get_modifiers): Restore missing comment terminator.
(getdefdir): Rewrite to call `_fixpath' instead of `intdos'.
(run_msdos_command) [DJGPP > 1]: Work around some MSDOS
command-line restrictions by running shell commands via `system'
instead of `spawnve'.
1996-05-01 23:25:33 +00:00
Richard M. Stallman
34097368e8 (Fexpand_file_name) [DOS_NT]: Correct the `if' clause
to compile on all platforms.
1996-05-01 23:24:44 +00:00
Richard M. Stallman
8b09e5d05c (signal_after_change): Correct the arg to report_overlay_modification. 1996-05-01 21:25:49 +00:00
Richard M. Stallman
0b1f1b099f (add_overlay_mod_hooklist): Fix call to bcopy. 1996-05-01 21:20:05 +00:00
Richard M. Stallman
8f3d8a86cf Comment changes. 1996-05-01 20:13:22 +00:00
Richard M. Stallman
0efb88ffff (C_SWITCH_X_SYSTEM): Definition moved to sol2-4.h. 1996-05-01 19:12:44 +00:00
Richard M. Stallman
860ef324cb (C_SWITCH_X_SYSTEM): Definition moved from sol2.h. 1996-05-01 19:12:29 +00:00
Richard M. Stallman
d2bd6bc4c1 [USE_X_TOOLKIT]: Include X11/Shell.h.
(x_wm_set_icon_pixmap) [USE_X_TOOLKIT]: Tell widget the new pixmap.
1996-04-30 19:40:56 +00:00
Richard M. Stallman
d017deb2dd (mouse-drag-region): Doc fix. 1996-04-30 16:11:53 +00:00
Karl Heuer
aa247686c2 (shell-command-on-region): Start of region to keep is
min of endpoints, not max.
1996-04-30 03:21:44 +00:00
Richard M. Stallman
eb18bc57cb (diary-frame-parameters, calendar-frame-parameters)
(calendar-and-diary-frame-parameters):
Take out font, auto-lower and auto-raise.
1996-04-29 18:49:47 +00:00
Erik Naggum
4424ce6f12 (insert-tab): fix previous change 1996-04-29 18:12:08 +00:00
Richard M. Stallman
35b3402f5e (make_lispy_event): FRAME_MENU_BAR_ITEMS now has
four elements per item.  Add a separate slot for the hpos.
(menu_bar_items): Likewise.
(menu_bar_item): Initialize the hpos slot to 0.
1996-04-29 15:58:16 +00:00
Richard M. Stallman
469937ac96 (display_menu_bar): FRAME_MENU_BAR_ITEMS now has four elements per item.
(update_menu_bar): If we update FRAME_MENU_BAR_ITEMS,
also set w->update_mode_line.
1996-04-29 15:57:12 +00:00
Richard M. Stallman
d2ff1bf379 (get_frame_menubar_event, set_frame_menubar):
FRAME_MENU_BAR_ITEMS now has four elements per item.
1996-04-29 15:56:24 +00:00
Richard M. Stallman
9a1dc3be43 (Fexpand_file_name) [DOS_NT]: Keep dir sep following ~
or ~user, but don't collapse the newdir prefix in that case.
1996-04-29 15:49:43 +00:00
Richard M. Stallman
de5c39cffd (SEND, RECV): Renamed from send, recv.
(pop_open, pop_trash): Make the trash_started code unconditional.
(socket_connection): Delete casts to void.
1996-04-29 15:46:17 +00:00
Richard M. Stallman
f04366cb45 (set_frame_menubar): FRAME_MENU_BAR_ITEMS now has four elements per item. 1996-04-29 15:29:52 +00:00
Richard M. Stallman
10992b014c (indent-for-tab-command): Pass prefix arg to indent-tab.
(insert-tab): Handle prefix arg.
1996-04-28 23:41:52 +00:00
Richard M. Stallman
61946d674c (DIRECTORY_SEP, IS_DIRECTORY_SEP): Definitions copied from lisp.h. 1996-04-28 23:37:04 +00:00
Richard M. Stallman
b98cf43f01 [HAVE_CONFIG_H]: Only include config.h when defined. 1996-04-28 19:09:03 +00:00
Richard M. Stallman
88800afc90 (struct _popserver): New field trash_started. 1996-04-28 19:08:48 +00:00
Richard M. Stallman
c2668a613f [WINDOWSNT]: Include winsock.h and ntlib.h.
Macro SOCKET_ERROR undefined.
Don't declare h_errno.
[!WINDOWSNT]: Define macros recv and send.
[!WINDOWSNT] (POP_SERVICE): Change to pop3.
(pop_open) [WINDOWSNT]: Initialize trash_started.
(have_winsock) [WINDOWSNT]: New variable.
(socket_connection) [WINDOWSNT]: Initialize winsock.
(socket_connection): Use closesocket instead of close.
(getline): Use recv instead of read.
(fullwrite): Use send instead of write.
(pop_trash): Use closesocket instead of close.
(pop_trash) [WINDOWSNT]: Cleanup winsock.
Check if being called recursively by sendline.
1996-04-28 19:08:33 +00:00
Richard M. Stallman
7f75d5c619 (access, unlink) [WINDOWSNT]: Macros undefined.
(fork, syswait, DISABLE_DIRECT_ACCESS) [WINDOWSNT]: Macros defined.
[WINDOWSNT]: Include locking.h.
(main): Update usage message.  Use IS_DIRECTORY_SEP.
(main) [DISABLE_DIRECT_ACCESS]: Don't check access if defined.
(main) [WINDOWSNT]: Invoke locking instead of flock.
(main) [MAIL_USE_SYSTEM_LOCK && WINDOWSNT]: Emulate ftruncate.
(main) [MAIL_USE_POP]: Pass password to popmail if used.
Include winsock.h; don't include unix inet headers.
(popmail): Add password argument and pass it to pop_open.
Open output file in binary mode.
1996-04-28 19:07:35 +00:00
Richard M. Stallman
eac1956a77 [DOSNT]: Include fcntl.h.
[WINDOWSNT]: Include io.h.
(main) [MSDOS]: Change conditional to DOS_NT.
1996-04-28 19:06:15 +00:00
Richard M. Stallman
7c54442039 [WINDOWSNT]: Include ntlib.h. 1996-04-28 19:06:01 +00:00
Richard M. Stallman
ad6cd733f4 Comment change. 1996-04-27 02:09:56 +00:00
Richard M. Stallman
199607e4f7 (Fexpand_file_name, Ffile_name_absolute_p): Doc fixes.
(Ffile_exists_p, Ffile_executable_p, Ffile_readable_p)
(Ffile_writable_p, Ffile_directory_p, Ffile_regular_p)
(Ffile_modes, Fset_file_modes, Ffile_newer_than_file_p)
(expand_and_dir_to_file): Rename abspath to absname.

(CORRECT_DIR_SEPS) [DOS_NT]: New macro.
(IS_DRIVE) [DOS_NT]: Added separate definitions for DOS and NT.
(Ffile_name_directory) [DOS_NT]: Simplify code to match change in
getdefdir in msdos.c.  Ignore embedded colons.  Correct dir seps.
(Ffile_name_nondirectory) [DOS_NT]: Ignore embedded colons.
Correct IS_ANY_SEP to IS_DIRECTORY_SEP.
(file_name_as_directory) [DOS_NT]: Correct dir seps.
Correct IS_ANY_SEP to IS_DIRECTORY_SEP.
(directory_file_name) [DOS_NT]: Correct dir seps.
(Fmake_temp_name) [DOS_NT: Correct dir seps.
(Fexpand_file_name) [mostly DOS_NT]: Remove relpath, tmp and
defdir variables; init drive to 0.
Correctly detect when default_directory is absolute.
Be strict when looking for MSDOS drive specifier; defer calling
getdefdir.  Ignore drive specifier if name now has UNC prefix.
Correctly recognise if name is not absolute when trying simple
method to expand; return original string if possible.
Skip dir sep after ~ or ~user.
Use getpwnam instead of HOME for ~user on NT.
Handle error return from getdefdir.
Correctly detect if newdir is absolute before using default_directory.
Handle case where newdir is not absolute - expand relative to
current working dir if necessary (instead of calling getdisk
later).  Only keep UNC prefix if nm starts with dir sep.
Replace kludgy handling of drive spec in newdir.  Correct dir seps.
(Fexpand_file_name) [!DOS_NT]: Fix incorrect expansion of
"/foo/../bar" -> "//bar".
(Fsubstitute_in_file_name) [DOS_NT]: Correct dir seps for NT as
well.  Merge equivalent #ifdef APOLLO and WINDOWSNT cases.  Ignore
embedded colons and be strict about drive specs.
(Fcopy_file) [DOS_NT]: Do dev/inode check on NT.
(Ffile_name_absolute_p) [DOS_NT]: Be strict about drive specs.
(check_executable) [DOS_NT]: Test st_mode on NT.
(Ffile_readable_p) [DOS_NT]: Use access instead of open on NT.
(Ffile_modes) [DOS_NT]: Don't embelish st_mode value on NT.
(Fread_file_name) [DOS_NT]: Correct dir seps in HOME.
(syms_of_fileio): Add Vdirectory_sep_char.
1996-04-27 01:14:17 +00:00
Richard M. Stallman
37513bdf93 (getdefdir): Include drive letter and colon when
constructing default directory for drive.
1996-04-27 00:52:30 +00:00
Edward M. Reingold
2396dbcbdd Double DST correction removed! 1996-04-27 00:13:07 +00:00
Richard M. Stallman
2f8d25d5f1 (FRAME_TERMCAP_P) [WINDOWSNT && !HAVE_NTGUI]:
Remove conditional for HAVE_NTGUI.
1996-04-26 19:56:17 +00:00
Richard M. Stallman
f405affb31 (EMACS_KILLPG) [WINDOWSNT]: Invoke kill instead of win32_kill_process. 1996-04-26 19:55:52 +00:00
Richard M. Stallman
7795ff9bc0 (Fopen_network_stream): Set process infd to inch.
(create_process, read_process_output, Fsignal_process) [WINDOWSNT]:
Remove conditional NT code.
1996-04-26 19:55:27 +00:00