]> git.eshelyaron.com Git - emacs.git/log
emacs.git
28 years ago(syms_of_msdos): Fix typo.
Richard M. Stallman [Wed, 8 May 1996 17:13:31 +0000 (17:13 +0000)]
(syms_of_msdos): Fix typo.

28 years ago(gud-filter): Move the call to gud-display-frame
Richard M. Stallman [Wed, 8 May 1996 04:36:21 +0000 (04:36 +0000)]
(gud-filter): Move the call to gud-display-frame
outside of the save-excursion.

28 years ago(mail-hist-version): upped to 1.3.4.
Karl Fogel [Wed, 8 May 1996 02:38:37 +0000 (02:38 +0000)]
(mail-hist-version): upped to 1.3.4.
(mail-hist-put-headers-into-history): wrap relevant body in a
`save-excursion'.
(mail-hist-add-header-contents-to-ring): doc fix.
Use `mail-hist-text-size-limit' directly.
(mail-hist-text-size-limit): doc fix.
(mail-hist-text-too-long-p): removed, we don't need this func.
(mail-hist-forward-header): move to point just after colon, don't try
to treat whitespace specially.
(mail-hist-next-or-previous-input): new func, abstracts two funcs
below.
Error informatively if not in a header.
Compensate for the extra SPACE char in "virgin" headers.
(mail-hist-next-input): just call above.
(mail-hist-previous-input): same.
(mail-hist-header-virgin-p): new func.

28 years ago(bookmark-make): take optional arg `info-node', pass it on to
Karl Fogel [Wed, 8 May 1996 02:22:12 +0000 (02:22 +0000)]
(bookmark-make): take optional arg `info-node', pass it on to
bookmark-make-cell.
(bookmark-make-cell): if new optional arg `info-node' is non-nil, make
it be the bookmark's info-node.
(bookmark-info-current-node): new func.
(bookmark-set): call bookmark-make, passing result from above
bookmark-info-current-node.
(bookmark-send-annotation): same as above.
(bookmark-locate): defalias to bookmark-insert-location for backward
compatibility.
(bookmark-version): upped to 2.6.3.

28 years ago(rlogin): Call rlogin-mode after adding rlogin-carriage-filter to output
Noah Friedman [Wed, 8 May 1996 00:52:30 +0000 (00:52 +0000)]
(rlogin): Call rlogin-mode after adding rlogin-carriage-filter to output
filter functions, so user can remove it if desired.

28 years ago(enum scroll_bar_part): Delete extra comma.
Richard M. Stallman [Wed, 8 May 1996 00:04:11 +0000 (00:04 +0000)]
(enum scroll_bar_part): Delete extra comma.

28 years ago(Fencode_time): Accept MANY args, so as to cope
Richard M. Stallman [Tue, 7 May 1996 18:55:40 +0000 (18:55 +0000)]
(Fencode_time): Accept MANY args, so as to cope
with the value of decode-time.

28 years ago(gulp-search-path, gulp-packages): Variable deleted.
Richard M. Stallman [Tue, 7 May 1996 05:55:11 +0000 (05:55 +0000)]
(gulp-search-path, gulp-packages): Variable deleted.
(gulp-send-requests): Make the list of packages from scratch here.
Read directory name with the minibuffer.

28 years agoInitial revision
Richard M. Stallman [Tue, 7 May 1996 00:55:56 +0000 (00:55 +0000)]
Initial revision

28 years ago(Info-enable-active-nodes): Default to nil. Mark it risky.
Richard M. Stallman [Tue, 7 May 1996 00:51:23 +0000 (00:51 +0000)]
(Info-enable-active-nodes): Default to nil.  Mark it risky.

28 years ago(enum scroll_bar_part): New alternatives
Richard M. Stallman [Tue, 7 May 1996 00:03:53 +0000 (00:03 +0000)]
(enum scroll_bar_part): New alternatives
scroll_bar_up_arrow, scroll_bar_down_arrow.
(win32_scroll_bar_click): New enum constant.

28 years ago(ediff-setup-fine-diff-regions):
Richard M. Stallman [Mon, 6 May 1996 23:17:23 +0000 (23:17 +0000)]
(ediff-setup-fine-diff-regions):
Use ediff-diff3-options or ediff-diff-options.

28 years ago(Fmsdos_long_file_names): New function.
Richard M. Stallman [Mon, 6 May 1996 10:21:23 +0000 (10:21 +0000)]
(Fmsdos_long_file_names): New function.
(syms_of_msdos): Defsubr it.

28 years agoUndo previous change.
Richard M. Stallman [Mon, 6 May 1996 10:20:51 +0000 (10:20 +0000)]
Undo previous change.

28 years ago(GMALLOC_INHIBIT_VALLOC): Defined.
Richard M. Stallman [Mon, 6 May 1996 05:04:20 +0000 (05:04 +0000)]
(GMALLOC_INHIBIT_VALLOC): Defined.

28 years ago(set_case_table): Set upcase_table, case_canon_table
Richard M. Stallman [Mon, 6 May 1996 04:28:32 +0000 (04:28 +0000)]
(set_case_table): Set upcase_table, case_canon_table
and case_eqv_table in the buffer.

28 years ago(casify_region, casify_object):
Richard M. Stallman [Mon, 6 May 1996 04:28:18 +0000 (04:28 +0000)]
(casify_region, casify_object):
If case table has been changed, call Fset_case_table

28 years ago(mouse-drag-region): Set the region before reading a
Richard M. Stallman [Mon, 6 May 1996 00:43:26 +0000 (00:43 +0000)]
(mouse-drag-region): Set the region before reading a
character, so the selection exists while we wait.

28 years ago(Fmsdos_long_file_names): New function.
Richard M. Stallman [Sun, 5 May 1996 18:52:57 +0000 (18:52 +0000)]
(Fmsdos_long_file_names): New function.
(syms_of_dosfns): defsubr it.

28 years ago(iso-accents-compose): Don't insert in the buffer
Richard M. Stallman [Sun, 5 May 1996 17:32:15 +0000 (17:32 +0000)]
(iso-accents-compose): Don't insert in the buffer
if this is not the start of the key sequence.

28 years ago(hide-ifdef-mode): Doc fix.
Richard M. Stallman [Sun, 5 May 1996 17:27:24 +0000 (17:27 +0000)]
(hide-ifdef-mode): Doc fix.

28 years ago(Qup, Qdown): New variables.
Richard M. Stallman [Sun, 5 May 1996 04:35:53 +0000 (04:35 +0000)]
(Qup, Qdown): New variables.
(syms_of_keyboard): Initialize and staticpro.
(scroll_bar_parts): Add Qup and Qdown.
(make_lispy_event) [WINDOWSNT]: Handle win32_scroll_bar_click.

(command_loop_1): Clear echo area while inhibit-quit is still t.

28 years ago(win32-handle-scroll-bar-event):
Richard M. Stallman [Sun, 5 May 1996 04:33:42 +0000 (04:33 +0000)]
(win32-handle-scroll-bar-event):
Look for `up' and `down' instead of `up-arrow' and `down-arrow'.

28 years ago(ps-print-preprint): Special handling if
Richard M. Stallman [Sun, 5 May 1996 03:56:36 +0000 (03:56 +0000)]
(ps-print-preprint): Special handling if
file entered in the minibuffer is a directory.

28 years ago(mail-mode): Line starting with ---- is a separator.
Richard M. Stallman [Sun, 5 May 1996 03:55:07 +0000 (03:55 +0000)]
(mail-mode): Line starting with ---- is a separator.

28 years ago(vc-follow-link, vc-find-file-hook):
Richard M. Stallman [Sun, 5 May 1996 03:52:13 +0000 (03:52 +0000)]
(vc-follow-link, vc-find-file-hook):
Use file-chase-links instead of file-truename.
(vc-find-file-hook): Follow a link without asking
if the target is already visited.

28 years ago(dired-handle-overwrite): `find-backup-file-name'
Richard M. Stallman [Sat, 4 May 1996 05:30:37 +0000 (05:30 +0000)]
(dired-handle-overwrite): `find-backup-file-name'
may return nil, so handle that.

28 years ago(apropos-print): If command has no key bindings, say how to run it with M-x.
Richard M. Stallman [Sat, 4 May 1996 00:50:49 +0000 (00:50 +0000)]
(apropos-print): If command has no key bindings, say how to run it with M-x.

28 years agoInclude nt/inc/arpa and nt/inc/netinet in the dist.
Richard M. Stallman [Fri, 3 May 1996 21:48:07 +0000 (21:48 +0000)]
Include nt/inc/arpa and nt/inc/netinet in the dist.
Don't include config.w95.

28 years agoAllow for optimized build.
Geoff Voelker [Fri, 3 May 1996 19:10:16 +0000 (19:10 +0000)]
Allow for optimized build.

28 years ago[BUILD_TYPE]: Build optimized version in its own dir.
Geoff Voelker [Fri, 3 May 1996 19:09:53 +0000 (19:09 +0000)]
[BUILD_TYPE]: Build optimized version in its own dir.
(ARCH_CFLAGS) [BUILD_TYPE == spd]: Build optimized version.

28 years ago(OBJDIR, BLD): Remove macro definitions.
Geoff Voelker [Fri, 3 May 1996 19:09:36 +0000 (19:09 +0000)]
(OBJDIR, BLD): Remove macro definitions.
,

28 years agoInclude string.h.
Geoff Voelker [Fri, 3 May 1996 18:50:05 +0000 (18:50 +0000)]
Include string.h.
(HAVE_FREXP, HAVE_FMOD): Macros removed.
(struct timeval, struct timezone, gettimeofday): Declarations removed.
(HAVE_SOCKETS, MAIL_USE_POP, MAIL_USE_SYSTEM_LOCK): Macros defined.
(DIRECTORY_SEP): Use Vdirectory_sep_char.
(EXEC_SUFFIXES): Add .cmd to list of suffixes.
(EXEC_SUFFIXES): Add .cmd to list of suffixes.
> (HAVE_SYS_TIMEB_H, HAVE_SYS_TIME_H, HAVE_UNISTD_H, STDC_HEADERS,
TIME_WITH_SYS_TIME, HAVE_GETTIMEOFDAY, HAVE_CLOSEDIR,
HAVE_LONG_FILE_NAMES, HAVE_BCOPY, HAVE_BCMP, HAVE_LOGB, HAVE_FREXP,
HAVE_FMOD, HAVE_FTIME, HAVE_MKTIME, HAVE_H_ERRNO): New macros.
(access, chdir, chmod, close, creat, ctime, dup, dup2, fopen,
link, mkdir, mktemp, open, pipe, read, rename, rmdir, select,
sleep, unlink, write, spawnve, wait, kill, signal):
Macros redefined from win32_* to sys_*.
[__STDC__]: Define when including direct.h, io.h, stdio.h.
(struct nt_stat): Definition removed.
(stat, st_dev, st_ino, st_mode, st_nlink, st_uid, st_gid,
st_rdev, st_size, st_atime, st_mtime, st_ctime): Macros undefined.

28 years agoInclude frame.h.
Geoff Voelker [Fri, 3 May 1996 18:49:20 +0000 (18:49 +0000)]
Include frame.h.
(hEvent): Renamed to h_input_available.
(init_crit, delete_crit, get_next_msg, post_msg):
Use h_input_available.
(GetFrameDC, ReleaseFrameDC): New functions.
(leave_crit): Function removed.

28 years ago(struct win32_palette_entry): New structure.
Geoff Voelker [Fri, 3 May 1996 18:48:05 +0000 (18:48 +0000)]
(struct win32_palette_entry): New structure.
(win32_display_info): New fields has_palette, p_colors_in_use,
n_colors_in_use, h_palette.
(win32_output): New field h_old_palette.
(WM_EMACS_SETWINDOWPOS): New macro.
(WM_EMACS_DESTROY_WINDOW): Value redefined.

28 years ago(Vwindow_system): Declared.
Geoff Voelker [Fri, 3 May 1996 18:45:32 +0000 (18:45 +0000)]
(Vwindow_system): Declared.
(win32_fill_rect, dumpglyphs, do_line_dance, x_draw_box):
Use Get/ReleaseFrameDC.

(pixel_to_glyph_coords): Support tty mode.
(w32_read_socket): Explicitly use FALSE.
Handle WM_PALLETTECHANGED event.
(parse_button): Handle mouse button emulation.

(my_show_window, my_set_window_pos): New functions.
(x_set_offset, x_set_window_size, x_raise_frame, x_lower_frame):
Use my_set_window_pos.
(x_make_frame_visible, x_iconify_frame): Use my_show_window.

(x_draw_box): Don't trim right and bottom.
(x_make_frame_visible): Don't invoke SetForgroundWindow.

(win32_term_init): Use GetDC directly.  Initialize palette
and win32_num_mouse_buttons.
(win32_update_begin): Regenerate palette if necessary.
(x_delete_display): Free palette.

(win32_initialize) [ATTACH_THREADS]: Only AttachThreadInput if
conditional is defined.

28 years ago(Fwin32_set_clipboard_data, Fwin32_get_clipboard_data):
Geoff Voelker [Fri, 3 May 1996 18:45:04 +0000 (18:45 +0000)]
(Fwin32_set_clipboard_data, Fwin32_get_clipboard_data):
Calculate exact size of clipboard string with CRs removed or inserted.

28 years ago(REG_ROOT): Remove trailing backslash.
Geoff Voelker [Fri, 3 May 1996 18:44:46 +0000 (18:44 +0000)]
(REG_ROOT): Remove trailing backslash.

28 years ago(continuation of previous checkin)
Geoff Voelker [Fri, 3 May 1996 18:41:13 +0000 (18:41 +0000)]
(continuation of previous checkin)
(Fwin32_rgb): Dead procedure removed.
(Fwin32_define_rgb_color, Fwin32_load_color_file, win32_map_color,
win32_regenerate_palette, win32_unmap_color): New functions.
(syms_of_w32fns): Set up new lisp functions.
(define_color): Use palettes.  Simulate use of PALETTE_RGB to
use closest color instead of dithering.
(map_mode): Function removed.
(WIN32_COLOR, SET_WIN32_COLOR): New macros.

(win32_init_class): Don't set CS_OWNDC in the WNDCLASS style.
(win32_createwindow): Invoke ShowWindow to discard defaults
from parent.
(win32_wnd_proc): Use separate critical sections appropriately.
Handle palette change, show window, and set window position messages.
Record WINDOWPLACEMENT structure length.
D
Detect quit_char.
(Fx_create_frame): Set scrollbar width to be the system standard.

(Ffocus_frame, Funfocus_frame): Functions now do nothing.

(x_to_win32_weight, win32_to_x_weight): Handle "heavy", "extrabold",
"light", "extralight", and "thin" fonts.
(x_to_win32_charset, win32_to_x_charset): New functions.
(win32_to_x_font): Use new height units.  Use win32_to_x_charset.
(x_to_win32_font): Use x_to_win32_charset.  Support Win32 font names
in addition to X font names.

(win32_load_font, Fx_list_fonts, Fx_display_color_cells,
Fx_display_mm_height, Fx_display_mm_width: Use GetDC directly.

(Fx_open_connection): Support external color mapping files.

(win32_abort): Map abort button to abort, retry to debug, and
ignore to continue.

28 years ago(quit_char, Vwin32_enable_italics, Vwin32_enable_palette):
Geoff Voelker [Fri, 3 May 1996 18:39:41 +0000 (18:39 +0000)]
(quit_char, Vwin32_enable_italics, Vwin32_enable_palette):
New variables.
(syms_of_win32fns): Set up new lisp variables.

28 years ago(WinMain): Function removed.
Geoff Voelker [Fri, 3 May 1996 18:39:18 +0000 (18:39 +0000)]
(WinMain): Function removed.
(_start) [HAVE_NTGUI]: Don't invoke WinMain, but do set up
WinMain args as crt0.c would.

28 years agoInclude config.h after CRT headers. Include fcntl.h.
Geoff Voelker [Fri, 3 May 1996 18:35:50 +0000 (18:35 +0000)]
Include config.h after CRT headers. Include fcntl.h.
(child_process, MAX_CHILDREN, CHILD_ACTIVE): Moved to nt.h.
(DebugPrint): New macro.
(new_child): Create input event structures for child processes.
(delete_child): New function.
(reader_thread): Return nonzero upon failure.  Use _sys_read_ahead.
(create_child): Add child_process and parent PID arguments.
Don't create input event or thread structures here.
Fixup Win95 negative process IDs.
(register_child): Don't set consumed event; instead, set thread
status so that select will release it.
(remove_child): Renamed to reap_process.  Only free resources
of synchronous children.
(win32_wait): Renamed to sys_wait.  Sanity check to make sure
handle to subprocess exists.  Don't reclaim thread resources here.
(win32_spawnve): Renamed to sys_spawnve.
Check for proper wait mode first thing.
Convert command name to DOS format.
Quote whitespace and quotes in arguments to subprocess.
Use alloca instead of malloc.
If max subprocesses, return EAGAIN in hopes of another completing.
(sys_select): Add support for socket input.  Remove dead code.
Check input from children fairly.
(sys_select) [HAVE_TIMEVAL]: Remove conditional check and code.
(win32_kill_process): Renamed to sys_kill.  Use OpenProcess
to terminate process.
(prepate_standard_handles, reset_standard_handles): Moved here
from nt.c.

28 years ago(win32_kdb_patch_key): Initialize isdead.
Geoff Voelker [Fri, 3 May 1996 18:35:06 +0000 (18:35 +0000)]
(win32_kdb_patch_key): Initialize isdead.
(key_event) [HAVE_NTGUI]: Use Windows key code.

28 years agoInclude lisp.h.
Geoff Voelker [Fri, 3 May 1996 18:34:21 +0000 (18:34 +0000)]
Include lisp.h.
(allocate_heap): Use VALBITS to determine size of heap.
(allocate_heap) [WINDOWS95]: Conditional code removed.
(sbrk): Use VALMASK instead of an unsigned integer mask.

28 years agoCheck to see if already included.
Geoff Voelker [Fri, 3 May 1996 18:33:20 +0000 (18:33 +0000)]
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.

28 years ago(nt_stat, nt_ctime): Functions deleted.
Geoff Voelker [Fri, 3 May 1996 18:32:52 +0000 (18:32 +0000)]
(nt_stat, nt_ctime): Functions deleted.
Undefine macros of CRT functions.

28 years ago(SUBSYSTEM) [NTGUI]: Remove conditional.
Geoff Voelker [Fri, 3 May 1996 18:32:30 +0000 (18:32 +0000)]
(SUBSYSTEM) [NTGUI]: Remove conditional.
(LINK_FLAGS): Explicitly set base address, and stack and heap sizes.
(nt.obj): Add dependency to nt.h.

28 years agoInitial revision
Geoff Voelker [Fri, 3 May 1996 18:29:10 +0000 (18:29 +0000)]
Initial revision

28 years agoInclude ntlib.h.
Geoff Voelker [Fri, 3 May 1996 18:28:37 +0000 (18:28 +0000)]
Include ntlib.h.
(nt_sleep): Rename to sleep.
(getwd): Return directory.
(getlogin, cuserid, getuid, setuid, getpwuid, getpass, fchown,
sys_ctime, sys_fopen): New functions.

28 years ago(LOCAL_FLAGS): Include path to NT shadow includes.
Geoff Voelker [Fri, 3 May 1996 18:28:18 +0000 (18:28 +0000)]
(LOCAL_FLAGS): Include path to NT shadow includes.
(movemail.exe, fakemail.exe): Now built under Win32.

28 years ago(win32-handle-scroll-bar-event): New function.
Geoff Voelker [Fri, 3 May 1996 18:26:22 +0000 (18:26 +0000)]
(win32-handle-scroll-bar-event): New function.

28 years ago(original-make-auto-save-file-name): New symbol bound
Geoff Voelker [Fri, 3 May 1996 18:25:59 +0000 (18:25 +0000)]
(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.

28 years ago(F_OK, X_OK, W_OK, R_OK): New macros.
Geoff Voelker [Fri, 3 May 1996 18:23:44 +0000 (18:23 +0000)]
(F_OK, X_OK, W_OK, R_OK): New macros.

28 years agoBuild and install runemacs.exe.
Geoff Voelker [Fri, 3 May 1996 18:20:29 +0000 (18:20 +0000)]
Build and install runemacs.exe.

28 years ago(CONFIG_H) [WIN95]: Use config.nt.
Geoff Voelker [Fri, 3 May 1996 18:20:11 +0000 (18:20 +0000)]
(CONFIG_H) [WIN95]: Use config.nt.

28 years agoCheck if INSTALL_DIR is passed as an argument.
Geoff Voelker [Fri, 3 May 1996 18:19:57 +0000 (18:19 +0000)]
Check if INSTALL_DIR is passed as an argument.
,

28 years ago(REG_ROOT): Don't use a trailing backslash.
Geoff Voelker [Fri, 3 May 1996 18:19:05 +0000 (18:19 +0000)]
(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.

28 years ago(Fthis_single_command_keys): New function.
Richard M. Stallman [Thu, 2 May 1996 22:33:51 +0000 (22:33 +0000)]
(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.

28 years ago(Fevent_convert_list): Never treat last elt as modifier.
Richard M. Stallman [Thu, 2 May 1996 21:39:06 +0000 (21:39 +0000)]
(Fevent_convert_list): Never treat last elt as modifier.

28 years ago(gud-display-line): Switch to gud buffer before calling gud-find-file.
Richard M. Stallman [Thu, 2 May 1996 21:20:55 +0000 (21:20 +0000)]
(gud-display-line): Switch to gud buffer before calling gud-find-file.

28 years ago(Info-find-node): Don't treat file name `dir' specially
Richard M. Stallman [Thu, 2 May 1996 06:08:40 +0000 (06:08 +0000)]
(Info-find-node): Don't treat file name `dir' specially
if it comes with a directory name.

28 years ago(dos_get_modifiers): Restore missing comment terminator.
Richard M. Stallman [Wed, 1 May 1996 23:25:33 +0000 (23:25 +0000)]
(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'.

28 years ago(Fexpand_file_name) [DOS_NT]: Correct the `if' clause
Richard M. Stallman [Wed, 1 May 1996 23:24:44 +0000 (23:24 +0000)]
(Fexpand_file_name) [DOS_NT]: Correct the `if' clause
to compile on all platforms.

28 years ago(signal_after_change): Correct the arg to report_overlay_modification.
Richard M. Stallman [Wed, 1 May 1996 21:25:49 +0000 (21:25 +0000)]
(signal_after_change): Correct the arg to report_overlay_modification.

28 years ago(add_overlay_mod_hooklist): Fix call to bcopy.
Richard M. Stallman [Wed, 1 May 1996 21:20:05 +0000 (21:20 +0000)]
(add_overlay_mod_hooklist): Fix call to bcopy.

28 years agoComment changes.
Richard M. Stallman [Wed, 1 May 1996 20:13:22 +0000 (20:13 +0000)]
Comment changes.

28 years ago(C_SWITCH_X_SYSTEM): Definition moved to sol2-4.h.
Richard M. Stallman [Wed, 1 May 1996 19:12:44 +0000 (19:12 +0000)]
(C_SWITCH_X_SYSTEM): Definition moved to sol2-4.h.

28 years ago(C_SWITCH_X_SYSTEM): Definition moved from sol2.h.
Richard M. Stallman [Wed, 1 May 1996 19:12:29 +0000 (19:12 +0000)]
(C_SWITCH_X_SYSTEM): Definition moved from sol2.h.

28 years ago[USE_X_TOOLKIT]: Include X11/Shell.h.
Richard M. Stallman [Tue, 30 Apr 1996 19:40:56 +0000 (19:40 +0000)]
[USE_X_TOOLKIT]: Include X11/Shell.h.
(x_wm_set_icon_pixmap) [USE_X_TOOLKIT]: Tell widget the new pixmap.

28 years ago(mouse-drag-region): Doc fix.
Richard M. Stallman [Tue, 30 Apr 1996 16:11:53 +0000 (16:11 +0000)]
(mouse-drag-region): Doc fix.

28 years ago(shell-command-on-region): Start of region to keep is
Karl Heuer [Tue, 30 Apr 1996 03:21:44 +0000 (03:21 +0000)]
(shell-command-on-region): Start of region to keep is
min of endpoints, not max.

28 years ago(diary-frame-parameters, calendar-frame-parameters)
Richard M. Stallman [Mon, 29 Apr 1996 18:49:47 +0000 (18:49 +0000)]
(diary-frame-parameters, calendar-frame-parameters)
(calendar-and-diary-frame-parameters):
Take out font, auto-lower and auto-raise.

28 years ago(insert-tab): fix previous change
Erik Naggum [Mon, 29 Apr 1996 18:12:08 +0000 (18:12 +0000)]
(insert-tab): fix previous change

28 years ago(make_lispy_event): FRAME_MENU_BAR_ITEMS now has
Richard M. Stallman [Mon, 29 Apr 1996 15:58:16 +0000 (15:58 +0000)]
(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.

28 years ago(display_menu_bar): FRAME_MENU_BAR_ITEMS now has four elements per item.
Richard M. Stallman [Mon, 29 Apr 1996 15:57:12 +0000 (15:57 +0000)]
(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.

28 years ago(get_frame_menubar_event, set_frame_menubar):
Richard M. Stallman [Mon, 29 Apr 1996 15:56:24 +0000 (15:56 +0000)]
(get_frame_menubar_event, set_frame_menubar):
FRAME_MENU_BAR_ITEMS now has four elements per item.

28 years ago(Fexpand_file_name) [DOS_NT]: Keep dir sep following ~
Richard M. Stallman [Mon, 29 Apr 1996 15:49:43 +0000 (15:49 +0000)]
(Fexpand_file_name) [DOS_NT]: Keep dir sep following ~
or ~user, but don't collapse the newdir prefix in that case.

28 years ago(SEND, RECV): Renamed from send, recv.
Richard M. Stallman [Mon, 29 Apr 1996 15:46:17 +0000 (15:46 +0000)]
(SEND, RECV): Renamed from send, recv.
(pop_open, pop_trash): Make the trash_started code unconditional.
(socket_connection): Delete casts to void.

28 years ago(set_frame_menubar): FRAME_MENU_BAR_ITEMS now has four elements per item.
Richard M. Stallman [Mon, 29 Apr 1996 15:29:52 +0000 (15:29 +0000)]
(set_frame_menubar): FRAME_MENU_BAR_ITEMS now has four elements per item.

28 years ago(indent-for-tab-command): Pass prefix arg to indent-tab.
Richard M. Stallman [Sun, 28 Apr 1996 23:41:52 +0000 (23:41 +0000)]
(indent-for-tab-command): Pass prefix arg to indent-tab.
(insert-tab): Handle prefix arg.

28 years ago(DIRECTORY_SEP, IS_DIRECTORY_SEP): Definitions copied from lisp.h.
Richard M. Stallman [Sun, 28 Apr 1996 23:37:04 +0000 (23:37 +0000)]
(DIRECTORY_SEP, IS_DIRECTORY_SEP): Definitions copied from lisp.h.

28 years ago[HAVE_CONFIG_H]: Only include config.h when defined.
Richard M. Stallman [Sun, 28 Apr 1996 19:09:03 +0000 (19:09 +0000)]
[HAVE_CONFIG_H]: Only include config.h when defined.

28 years ago(struct _popserver): New field trash_started.
Richard M. Stallman [Sun, 28 Apr 1996 19:08:48 +0000 (19:08 +0000)]
(struct _popserver): New field trash_started.

28 years ago[WINDOWSNT]: Include winsock.h and ntlib.h.
Richard M. Stallman [Sun, 28 Apr 1996 19:08:33 +0000 (19:08 +0000)]
[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.

28 years ago(access, unlink) [WINDOWSNT]: Macros undefined.
Richard M. Stallman [Sun, 28 Apr 1996 19:07:35 +0000 (19:07 +0000)]
(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.

28 years ago[DOSNT]: Include fcntl.h.
Richard M. Stallman [Sun, 28 Apr 1996 19:06:15 +0000 (19:06 +0000)]
[DOSNT]: Include fcntl.h.
[WINDOWSNT]: Include io.h.
(main) [MSDOS]: Change conditional to DOS_NT.

28 years ago[WINDOWSNT]: Include ntlib.h.
Richard M. Stallman [Sun, 28 Apr 1996 19:06:01 +0000 (19:06 +0000)]
[WINDOWSNT]: Include ntlib.h.

28 years agoComment change.
Richard M. Stallman [Sat, 27 Apr 1996 02:09:56 +0000 (02:09 +0000)]
Comment change.

28 years ago(Fexpand_file_name, Ffile_name_absolute_p): Doc fixes.
Richard M. Stallman [Sat, 27 Apr 1996 01:14:17 +0000 (01:14 +0000)]
(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.

28 years ago(getdefdir): Include drive letter and colon when
Richard M. Stallman [Sat, 27 Apr 1996 00:52:30 +0000 (00:52 +0000)]
(getdefdir): Include drive letter and colon when
constructing default directory for drive.

28 years agoDouble DST correction removed!
Edward M. Reingold [Sat, 27 Apr 1996 00:13:07 +0000 (00:13 +0000)]
Double DST correction removed!

28 years ago(FRAME_TERMCAP_P) [WINDOWSNT && !HAVE_NTGUI]:
Richard M. Stallman [Fri, 26 Apr 1996 19:56:17 +0000 (19:56 +0000)]
(FRAME_TERMCAP_P) [WINDOWSNT && !HAVE_NTGUI]:
Remove conditional for HAVE_NTGUI.

28 years ago(EMACS_KILLPG) [WINDOWSNT]: Invoke kill instead of win32_kill_process.
Richard M. Stallman [Fri, 26 Apr 1996 19:55:52 +0000 (19:55 +0000)]
(EMACS_KILLPG) [WINDOWSNT]: Invoke kill instead of win32_kill_process.

28 years ago(Fopen_network_stream): Set process infd to inch.
Richard M. Stallman [Fri, 26 Apr 1996 19:55:27 +0000 (19:55 +0000)]
(Fopen_network_stream): Set process infd to inch.
(create_process, read_process_output, Fsignal_process) [WINDOWSNT]:
Remove conditional NT code.

28 years ago(close_load_descs) [WINDOWS_NT]: Don't actually do anything.
Richard M. Stallman [Fri, 26 Apr 1996 19:54:49 +0000 (19:54 +0000)]
(close_load_descs) [WINDOWS_NT]: Don't actually do anything.

(read_escape): Detect READCHAR reporting eof.

28 years ago[WINDOWS_NT]: Declare Vdirectory_sep_char.
Richard M. Stallman [Fri, 26 Apr 1996 19:53:20 +0000 (19:53 +0000)]
[WINDOWS_NT]: Declare Vdirectory_sep_char.

28 years ago(main) [WINDOWSNT]: Invoke init_ntproc.
Richard M. Stallman [Fri, 26 Apr 1996 19:53:04 +0000 (19:53 +0000)]
(main) [WINDOWSNT]: Invoke init_ntproc.
(shut_down_emacs) [WINDOWSNT]: Invoke term_ntproc.

28 years ago(Ffile_attributes) [WINDOWSNT]: Remove conditional NT code.
Richard M. Stallman [Fri, 26 Apr 1996 19:52:51 +0000 (19:52 +0000)]
(Ffile_attributes) [WINDOWSNT]: Remove conditional NT code.

28 years ago(Fcall_process) [WINDOWSNT]: Remove conditional NT code.
Richard M. Stallman [Fri, 26 Apr 1996 19:52:37 +0000 (19:52 +0000)]
(Fcall_process) [WINDOWSNT]: Remove conditional NT code.
(Fcall_process_region) [DOSNT]: Canonicalize slashes in filename.
(child_setup) [WINDOWSNT]: Decrease handles array by one.

28 years ago[windows-nt]: Load disp-table.
Richard M. Stallman [Fri, 26 Apr 1996 19:46:05 +0000 (19:46 +0000)]
[windows-nt]: Load disp-table.