1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-28 07:45:00 +00:00
Commit Graph

15148 Commits

Author SHA1 Message Date
Richard M. Stallman
6f96f4c9e7 Undo previous change.
Delete the version number entirely;
fix up whitespace that was changed before.
1996-05-08 20:37:19 +00:00
Richard M. Stallman
25e2c3c778 Revert to version 1.9. 1996-05-08 20:18:35 +00:00
Karl Fogel
cf3a09b258 Merged cosmetic differences between FSF version and local copy. In
the future, diffmon will make this unnecessary.
(save-place-version): new var; init to 1.4.
(save-place-limit): init to nil.
1996-05-08 20:02:29 +00:00
Karl Fogel
fbd98d61b9 (bookmark-locate): ;;;###autoload this alias.
(bookmark-bmenu-mode-map): bind C-c C-c to bookmark-bmenu-this-window,
analogously to other Emacs listing modes such as *grep* and *occur*.
(bookmark-version): upped to 2.6.4.
1996-05-08 19:16:51 +00:00
Richard M. Stallman
8a7a40e536 (env_vars): Set SHELL registry entry to value of COMSPEC environment variable. 1996-05-08 17:50:59 +00:00
Richard M. Stallman
9c7771996c (convert-standard-filename): Test msdos-long-file-names.
Return "." or ".." unchanged.
1996-05-08 17:40:51 +00:00
Richard M. Stallman
54bd13807d (syms_of_msdos): Fix typo. 1996-05-08 17:13:31 +00:00
Richard M. Stallman
c7856dbefc (gud-filter): Move the call to gud-display-frame
outside of the save-excursion.
1996-05-08 04:36:21 +00:00
Karl Fogel
1747a1941c (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.
1996-05-08 02:38:37 +00:00
Karl Fogel
a15269c0d0 (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.
1996-05-08 02:22:12 +00:00
Noah Friedman
9fa128e82a (rlogin): Call rlogin-mode after adding rlogin-carriage-filter to output
filter functions, so user can remove it if desired.
1996-05-08 00:52:30 +00:00
Richard M. Stallman
dc929aa99d (enum scroll_bar_part): Delete extra comma. 1996-05-08 00:04:11 +00:00
Richard M. Stallman
6ee9061cfd (Fencode_time): Accept MANY args, so as to cope
with the value of decode-time.
1996-05-07 18:55:40 +00:00
Richard M. Stallman
305851165a (gulp-search-path, gulp-packages): Variable deleted.
(gulp-send-requests): Make the list of packages from scratch here.
Read directory name with the minibuffer.
1996-05-07 05:55:11 +00:00
Richard M. Stallman
3ecaf18e6b Initial revision 1996-05-07 00:55:56 +00:00
Richard M. Stallman
67f445d78b (Info-enable-active-nodes): Default to nil. Mark it risky. 1996-05-07 00:51:23 +00:00
Richard M. Stallman
33d5f42a5e (enum scroll_bar_part): New alternatives
scroll_bar_up_arrow, scroll_bar_down_arrow.
(win32_scroll_bar_click): New enum constant.
1996-05-07 00:03:53 +00:00
Richard M. Stallman
ab8a391eec (ediff-setup-fine-diff-regions):
Use ediff-diff3-options or ediff-diff-options.
1996-05-06 23:17:23 +00:00
Richard M. Stallman
345dd8f75a (Fmsdos_long_file_names): New function.
(syms_of_msdos): Defsubr it.
1996-05-06 10:21:23 +00:00
Richard M. Stallman
9685838286 Undo previous change. 1996-05-06 10:20:51 +00:00
Richard M. Stallman
7630a0424f (GMALLOC_INHIBIT_VALLOC): Defined. 1996-05-06 05:04:20 +00:00
Richard M. Stallman
6c6fcbf89b (set_case_table): Set upcase_table, case_canon_table
and case_eqv_table in the buffer.
1996-05-06 04:28:32 +00:00
Richard M. Stallman
bd47bd35ab (casify_region, casify_object):
If case table has been changed, call Fset_case_table
1996-05-06 04:28:18 +00:00
Richard M. Stallman
f42be8fd1c (mouse-drag-region): Set the region before reading a
character, so the selection exists while we wait.
1996-05-06 00:43:26 +00:00
Richard M. Stallman
fb85960316 (Fmsdos_long_file_names): New function.
(syms_of_dosfns): defsubr it.
1996-05-05 18:52:57 +00:00
Richard M. Stallman
55b933cf8f (iso-accents-compose): Don't insert in the buffer
if this is not the start of the key sequence.
1996-05-05 17:32:15 +00:00
Richard M. Stallman
46b9324699 (hide-ifdef-mode): Doc fix. 1996-05-05 17:27:24 +00:00
Richard M. Stallman
db08707d4f (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.
1996-05-05 04:35:53 +00:00
Richard M. Stallman
ebb0719c46 (win32-handle-scroll-bar-event):
Look for `up' and `down' instead of `up-arrow' and `down-arrow'.
1996-05-05 04:33:42 +00:00
Richard M. Stallman
03f962fbc4 (ps-print-preprint): Special handling if
file entered in the minibuffer is a directory.
1996-05-05 03:56:36 +00:00
Richard M. Stallman
df0d89b112 (mail-mode): Line starting with ---- is a separator. 1996-05-05 03:55:07 +00:00
Richard M. Stallman
566f2169f2 (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.
1996-05-05 03:52:13 +00:00
Richard M. Stallman
d63a6ae0d0 (dired-handle-overwrite): `find-backup-file-name'
may return nil, so handle that.
1996-05-04 05:30:37 +00:00
Richard M. Stallman
82fbaa5ef2 (apropos-print): If command has no key bindings, say how to run it with M-x. 1996-05-04 00:50:49 +00:00
Richard M. Stallman
e827bc372f Include nt/inc/arpa and nt/inc/netinet in the dist.
Don't include config.w95.
1996-05-03 21:48:07 +00:00
Geoff Voelker
138d2349f3 Allow for optimized build. 1996-05-03 19:10:16 +00:00
Geoff Voelker
b5e9eb93c8 [BUILD_TYPE]: Build optimized version in its own dir.
(ARCH_CFLAGS) [BUILD_TYPE == spd]: Build optimized version.
1996-05-03 19:09:53 +00:00
Geoff Voelker
d6cb678cd5 (OBJDIR, BLD): Remove macro definitions.
,
1996-05-03 19:09:36 +00:00
Geoff Voelker
4e36126c56 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.
1996-05-03 18:50:05 +00:00
Geoff Voelker
97aab3a23b 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.
1996-05-03 18:49:20 +00:00
Geoff Voelker
aba66c88ae (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.
1996-05-03 18:48:05 +00:00
Geoff Voelker
52cf03a10f (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.
1996-05-03 18:45:32 +00:00
Geoff Voelker
69cddef069 (Fwin32_set_clipboard_data, Fwin32_get_clipboard_data):
Calculate exact size of clipboard string with CRs removed or inserted.
1996-05-03 18:45:04 +00:00
Geoff Voelker
f79eea00ad (REG_ROOT): Remove trailing backslash. 1996-05-03 18:44:46 +00:00
Geoff Voelker
d573caaca1 (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.
1996-05-03 18:41:13 +00:00
Geoff Voelker
5ac45f986b (quit_char, Vwin32_enable_italics, Vwin32_enable_palette):
New variables.
(syms_of_win32fns): Set up new lisp variables.
1996-05-03 18:39:41 +00:00
Geoff Voelker
c2ccbd4304 (WinMain): Function removed.
(_start) [HAVE_NTGUI]: Don't invoke WinMain, but do set up
WinMain args as crt0.c would.
1996-05-03 18:39:18 +00:00
Geoff Voelker
c519b5e10e 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.
1996-05-03 18:35:50 +00:00
Geoff Voelker
407c17456a (win32_kdb_patch_key): Initialize isdead.
(key_event) [HAVE_NTGUI]: Use Windows key code.
1996-05-03 18:35:06 +00:00
Geoff Voelker
8dfdd41fa8 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.
1996-05-03 18:34:21 +00:00