]> git.eshelyaron.com Git - emacs.git/log
emacs.git
28 years agoFix typo in previous patch.
Karl Heuer [Wed, 15 May 1996 14:42:28 +0000 (14:42 +0000)]
Fix typo in previous patch.

28 years ago(sys_read): Introduce a small delay before reading from
Karl Heuer [Wed, 15 May 1996 14:38:30 +0000 (14:38 +0000)]
(sys_read): Introduce a small delay before reading from
a pipe or socket to allow more data to be buffered; otherwise,
process output is read one byte at a time on fast machines
(which is slow).

28 years ago(Fcall_process): Don't close the same fd twice.
Karl Heuer [Wed, 15 May 1996 14:32:37 +0000 (14:32 +0000)]
(Fcall_process): Don't close the same fd twice.

28 years ago(QCLIPBOARD): New symbol.
Karl Heuer [Tue, 14 May 1996 19:01:53 +0000 (19:01 +0000)]
(QCLIPBOARD): New symbol.
(Fx_selection_exists_p): New function.
(syms_of_win32select): Initialize/staticpro and defsubr them.

28 years ago(SYSTEM_PURESIZE_EXTRA): Macro defined.
Geoff Voelker [Tue, 14 May 1996 17:44:15 +0000 (17:44 +0000)]
(SYSTEM_PURESIZE_EXTRA): Macro defined.

28 years ago(w32*.o): Fix deps.
Richard M. Stallman [Mon, 13 May 1996 19:57:17 +0000 (19:57 +0000)]
(w32*.o): Fix deps.

28 years ago(win32_wnd_proc): Reenable quit_char detection.
Richard M. Stallman [Mon, 13 May 1996 18:30:56 +0000 (18:30 +0000)]
(win32_wnd_proc): Reenable quit_char detection.

28 years agoSet BUILD_TYPE and INSTALL_DIR before calling make;
Richard M. Stallman [Mon, 13 May 1996 18:28:09 +0000 (18:28 +0000)]
Set BUILD_TYPE and INSTALL_DIR before calling make;
undo settings afterwards.

28 years ago(pascal-end-of-statement, pascal-calculate-indent):
Richard M. Stallman [Mon, 13 May 1996 16:25:13 +0000 (16:25 +0000)]
(pascal-end-of-statement, pascal-calculate-indent):
Set parse-sexp-ignore-comments to t before parsing.
(pascal-indent-case): Save position of cursor, and restores it
after reindenting the code.

28 years ago(note_mouse_movement): Upwards mouse movement recognition corrected.
Richard M. Stallman [Mon, 13 May 1996 15:24:25 +0000 (15:24 +0000)]
(note_mouse_movement): Upwards mouse movement recognition corrected.

28 years ago(allocate_heap): Clean up conditional.
Richard M. Stallman [Mon, 13 May 1996 15:06:32 +0000 (15:06 +0000)]
(allocate_heap): Clean up conditional.

28 years ago(vc-rename-file): After renaming, update VC info and modeline.
Richard M. Stallman [Mon, 13 May 1996 01:31:28 +0000 (01:31 +0000)]
(vc-rename-file): After renaming, update VC info and modeline.
Preserve buffer-read-only.

28 years ago(init_dosfns) [DJGPP >= 2]: Make `opendir' preserve
Richard M. Stallman [Mon, 13 May 1996 01:28:24 +0000 (01:28 +0000)]
(init_dosfns) [DJGPP >= 2]: Make `opendir' preserve
filename case (under Win95) and find hidden files.

28 years ago(Fcall_process): Fix previous change (now !MSDOS only).
Richard M. Stallman [Sun, 12 May 1996 22:50:25 +0000 (22:50 +0000)]
(Fcall_process): Fix previous change (now !MSDOS only).

28 years agoDelete the Emacs local variables spec.
Richard M. Stallman [Sun, 12 May 1996 22:19:55 +0000 (22:19 +0000)]
Delete the Emacs local variables spec.

28 years ago(Fstart_kbd_macro): Add missing xrealloc arg.
Karl Heuer [Sun, 12 May 1996 20:07:43 +0000 (20:07 +0000)]
(Fstart_kbd_macro): Add missing xrealloc arg.

28 years ago(Fmsdos_downcase_filename): Don't change the argument, return a copy.
Richard M. Stallman [Sun, 12 May 1996 17:45:36 +0000 (17:45 +0000)]
(Fmsdos_downcase_filename): Don't change the argument, return a copy.

28 years ago(MSDOS_SUPPORT): Use full name disp-table.elc.
Richard M. Stallman [Sun, 12 May 1996 17:43:29 +0000 (17:43 +0000)]
(MSDOS_SUPPORT): Use full name disp-table.elc.

28 years ago(FILE_SYSTEM_CASE): Call Fmsdos_downcase_filename instead of Fdowncase.
Richard M. Stallman [Sat, 11 May 1996 21:23:34 +0000 (21:23 +0000)]
(FILE_SYSTEM_CASE): Call Fmsdos_downcase_filename instead of Fdowncase.

28 years ago(msdos_downcase_filename): New function to convert case in filenames.
Richard M. Stallman [Sat, 11 May 1996 21:23:08 +0000 (21:23 +0000)]
(msdos_downcase_filename): New function to convert case in filenames.
(Fmsdos_downcase_filename): New function.
(syms_of_msdos): Defsubr it.

28 years ago(using-unix-file\bsystems): Update doc string.
Geoff Voelker [Sat, 11 May 1996 20:55:33 +0000 (20:55 +0000)]
(using-unix-file\bsystems): Update doc string.

28 years ago(win32-handle-scroll-bar-event): Use scroll-bar-maybe-set-window-start.
Richard M. Stallman [Sat, 11 May 1996 18:44:09 +0000 (18:44 +0000)]
(win32-handle-scroll-bar-event): Use scroll-bar-maybe-set-window-start.

28 years ago(x_scroll_bar_set_handle): Always use start in calling SetScrollPos.
Richard M. Stallman [Sat, 11 May 1996 18:38:11 +0000 (18:38 +0000)]
(x_scroll_bar_set_handle): Always use start in calling SetScrollPos.
(x_scroll_bar_handle_click): In line up/down cases, don't alter y.
Don't call x_scroll_bar_set_handle.

28 years ago(scroll-bar-drag-position): New function.
Richard M. Stallman [Sat, 11 May 1996 18:30:16 +0000 (18:30 +0000)]
(scroll-bar-drag-position): New function.
(scroll-bar-maybe-set-window-start): New function.

28 years ago(re_match_2_internal): Fix off-by-one error; don't use
Richard M. Stallman [Sat, 11 May 1996 18:05:52 +0000 (18:05 +0000)]
(re_match_2_internal): Fix off-by-one error; don't use
length of exactn as character, and don't use length of bitmap of
charset as bitmap.

28 years ago(map_win32_filename): If not a fat volume, cvt name to dos.
Richard M. Stallman [Sat, 11 May 1996 17:26:00 +0000 (17:26 +0000)]
(map_win32_filename): If not a fat volume, cvt name to dos.

28 years ago(term-emulate-terminal): On CR, set term-current-column
Richard M. Stallman [Sat, 11 May 1996 17:11:06 +0000 (17:11 +0000)]
(term-emulate-terminal):  On CR, set term-current-column
to term-start-line-column, not 0.

28 years agoLots of fixes.
Richard M. Stallman [Sat, 11 May 1996 11:08:11 +0000 (11:08 +0000)]
Lots of fixes.

28 years ago(Fcall_process): Close fd_error if successful.
Richard M. Stallman [Sat, 11 May 1996 10:53:17 +0000 (10:53 +0000)]
(Fcall_process): Close fd_error if successful.

28 years agoMention Windows 95.
Richard M. Stallman [Sat, 11 May 1996 10:52:47 +0000 (10:52 +0000)]
Mention Windows 95.

28 years ago(allocate_heap): Bump heap base up to 27MB to
Geoff Voelker [Sat, 11 May 1996 06:38:25 +0000 (06:38 +0000)]
(allocate_heap): Bump heap base up to 27MB to
\ 5\ewsatisfy Win95.

28 years ago(f90-hilit-patterns): Avoid using undefined variables.
Richard M. Stallman [Sat, 11 May 1996 00:29:46 +0000 (00:29 +0000)]
(f90-hilit-patterns): Avoid using undefined variables.

28 years ago(win32_wnd_proc): Disable setting of Vquit_flag
Geoff Voelker [Fri, 10 May 1996 23:07:10 +0000 (23:07 +0000)]
(win32_wnd_proc): Disable setting of Vquit_flag
at this o\b\b\b\bpoint

28 years ago(win_msg_worker): Use post_msg.
Richard M. Stallman [Fri, 10 May 1996 20:40:49 +0000 (20:40 +0000)]
(win_msg_worker): Use post_msg.
(win32_wnd_proc): Don't abort if button_state & this, just return.
Use post_msg instead of my_post_msg in some places.
(win32_to_x_font): Major rewrite.
(struct enumfont_t): New element logfont.
(enum_font_cb2): Add special code for TRUETYPE_FONTTYPE.
(Fx_list_fonts): Call x_to_win32_font.

28 years ago(x_scroll_bar_move): Call my_show_window.
Richard M. Stallman [Fri, 10 May 1996 20:35:50 +0000 (20:35 +0000)]
(x_scroll_bar_move): Call my_show_window.
(x_scroll_bar_clear): Likewise.

28 years ago(prev_console_mode): New variable.
Richard M. Stallman [Fri, 10 May 1996 20:33:26 +0000 (20:33 +0000)]
(prev_console_mode): New variable.
(unset_kbd): Use prev_console_mode.
(reset_kbd): Set prev_console_mode.  Call Fset_input_mode.

28 years ago(main) [WINDOWSNT]: Call syms_of_ntproc.
Richard M. Stallman [Fri, 10 May 1996 20:31:20 +0000 (20:31 +0000)]
(main) [WINDOWSNT]: Call syms_of_ntproc.

28 years ago(Vwin32_quote_process_args): New variable.
Richard M. Stallman [Fri, 10 May 1996 20:29:43 +0000 (20:29 +0000)]
(Vwin32_quote_process_args): New variable.
(sys_spawnve): If Vwin32_quote_process_args, quote the args.
(syms_of_ntproc): Set up Lisp variable.

28 years ago(x_connection_signal_1): Call x_connection_closed properly.
Richard M. Stallman [Fri, 10 May 1996 16:05:26 +0000 (16:05 +0000)]
(x_connection_signal_1): Call x_connection_closed properly.

28 years ago(gud-filter): Cal gud-display-frame even if process-window is nil.
Richard M. Stallman [Fri, 10 May 1996 02:41:59 +0000 (02:41 +0000)]
(gud-filter): Cal gud-display-frame even if process-window is nil.

28 years agoFix minor typo.
Erik Naggum [Thu, 9 May 1996 23:42:08 +0000 (23:42 +0000)]
Fix minor typo.

28 years agoComment changes.
Richard M. Stallman [Thu, 9 May 1996 23:21:54 +0000 (23:21 +0000)]
Comment changes.

28 years ago(vc-find-file-hook): Follow multiple links all the way.
Richard M. Stallman [Thu, 9 May 1996 19:45:49 +0000 (19:45 +0000)]
(vc-find-file-hook): Follow multiple links all the way.

28 years agoComment change.
Richard M. Stallman [Thu, 9 May 1996 17:41:53 +0000 (17:41 +0000)]
Comment change.

28 years ago(ispell-check-comments): Default is now t.
Richard M. Stallman [Thu, 9 May 1996 17:36:03 +0000 (17:36 +0000)]
(ispell-check-comments): Default is now t.

28 years ago(bookmark-bmenu-delete-backwards)
Richard M. Stallman [Thu, 9 May 1996 17:34:55 +0000 (17:34 +0000)]
(bookmark-bmenu-delete-backwards)
(bookmark-write, bookmark-relocate, bookmark-insert-buffer-name)
(bookmark-insert-current-bookmark, bookmark-send-edited-annotation)
(bookmark-read-annotation, bookmark-read-annotation-text-func)
(bookmark-send-annotation, bookmark-insert-file-format-version-stamp):
Doc fixes.

28 years agoUndo previous change.
Richard M. Stallman [Wed, 8 May 1996 20:37:19 +0000 (20:37 +0000)]
Undo previous change.

Delete the version number entirely;
fix up whitespace that was changed before.

28 years agoRevert to version 1.9.
Richard M. Stallman [Wed, 8 May 1996 20:18:35 +0000 (20:18 +0000)]
Revert to version 1.9.

28 years agoMerged cosmetic differences between FSF version and local copy. In
Karl Fogel [Wed, 8 May 1996 20:02:29 +0000 (20:02 +0000)]
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.

28 years ago(bookmark-locate): ;;;###autoload this alias.
Karl Fogel [Wed, 8 May 1996 19:16:51 +0000 (19:16 +0000)]
(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.

28 years ago(env_vars): Set SHELL registry entry to value of COMSPEC environment variable.
Richard M. Stallman [Wed, 8 May 1996 17:50:59 +0000 (17:50 +0000)]
(env_vars): Set SHELL registry entry to value of COMSPEC environment variable.

28 years ago(convert-standard-filename): Test msdos-long-file-names.
Richard M. Stallman [Wed, 8 May 1996 17:40:51 +0000 (17:40 +0000)]
(convert-standard-filename): Test msdos-long-file-names.
Return "." or ".." unchanged.

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