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

6565 commits

Author SHA1 Message Date
Richard M. Stallman
45be8a1e58 (Fcall_process): Handle t or nil as STDERR_FILE. 1996-06-16 23:09:17 +00:00
Richard M. Stallman
70204e221d (w32_read_socket): Erase update rect on WM_PAINT, so
no need to process WM_ERASEBKGND.
1996-06-14 20:54:55 +00:00
Richard M. Stallman
ed000659f9 (win32_wnd_proc): No need to forward WM_ERASEBKGND to main thread. 1996-06-14 20:54:26 +00:00
Richard M. Stallman
67385caa0e (Qmenu_alias): New variable.
(syms_of_xmenu): Initialize it.
(menu_item_equiv_key): Check this property on the definition.
1996-06-13 21:04:29 +00:00
Richard M. Stallman
51b1d12e57 (Fexpand_file_name): When simplifying /foo/.., keep the initial slash. 1996-06-13 19:09:32 +00:00
Richard M. Stallman
d7a28201b0 (LIBS_SYSTEM): Two new definitions (and #undef first). 1996-06-13 16:41:20 +00:00
Richard M. Stallman
2ace9a51d1 Initial revision 1996-06-13 04:38:21 +00:00
Richard M. Stallman
57e3d22a51 (main): For SIGHUP, use sigblock and sigunblock,
not sigblockx and sigunblockx.
1996-06-12 21:49:19 +00:00
Richard M. Stallman
2a5af1cf4f (Fset_keymap_parent): Return early if KEYMAP already has the proper parent. 1996-06-12 21:47:59 +00:00
Richard M. Stallman
b64d74423e (Fkill_buffer): Doc fix. 1996-06-12 21:47:03 +00:00
Richard M. Stallman
57445e592a (restrict_dos_process): Variable deleted.
(sys_spawnve): Restrict DOS processes on NT as well.
1996-06-12 18:20:11 +00:00
Richard M. Stallman
6b5edcadd1 Delete restrict_dos_process. 1996-06-12 18:19:40 +00:00
Richard M. Stallman
ea973b1075 Comment change. 1996-06-12 17:56:46 +00:00
Richard M. Stallman
de05443f3b (restrict_dos_process): Renamed from can_run_dos_process.
(sys_spawnve): Refer to restrict_dos_process.
1996-06-12 16:02:09 +00:00
Richard M. Stallman
4ffab11c42 (restrict_dos_process): Renamed from can_run_dos_process.
(init_ntproc): Refer to restrict_dos_process.
1996-06-12 15:58:53 +00:00
Richard M. Stallman
0e9b572a69 (sigunblockx): Use sigunblock. 1996-06-12 15:49:49 +00:00
Richard M. Stallman
845fe94ef0 (read_char): Use unsigned to compare against
the size of Vkeyboard_translate_table.
Check size for char-table too.
1996-06-12 15:20:37 +00:00
Richard M. Stallman
89d7280dcf Comment change. 1996-06-11 19:50:32 +00:00
Richard M. Stallman
0b75e9a419 (wait_reading_process_input): Move the O_NONBLOCK and
O_NDELAY conditionals out of the EWOULDBLOCK conditional.
1996-06-11 19:48:13 +00:00
Richard M. Stallman
588a9a3ece [__ELF__] (LD_SWITCH_SYSTEM): Define it. 1996-06-11 01:39:29 +00:00
Richard M. Stallman
be625e000a Whitespace changes. 1996-06-10 21:15:47 +00:00
Richard M. Stallman
8a376b3b35 (change_frame_size, remake_frame_glyphs): Use FRAME_WINDOW_P. 1996-06-10 21:13:26 +00:00
Richard M. Stallman
93e54836fd (Fredraw_frame, remake_frame_glyphs)
(direct_output_for_insert, change_frame_size): Support MSDOS frames.
1996-06-10 21:11:02 +00:00
Richard M. Stallman
7b71f5ebfe (Fset_mouse_position): Remove the DOS-specific
definition (it's defined on `frame.c').
(syms_of_dosfns): Remove defsubr of `Fset_mouse_position'.
1996-06-10 21:09:54 +00:00
Richard M. Stallman
541580aaf2 (Fmake_terminal_frame): Test MSDOS, not __MSDOS__. 1996-06-10 21:09:04 +00:00
Richard M. Stallman
bb22197165 (Fset_mouse_position): Remove the DOS-specific
definition (it's defined on `frame.c').
(syms_of_dosfns): Remove defsubr of `Fset_mouse_position'.
1996-06-10 21:08:24 +00:00
Richard M. Stallman
6f18171302 (FRAME_MSDOS_P): A new macro for MSDOS frames. 1996-06-10 21:05:11 +00:00
Richard M. Stallman
4d8cb748b8 (choose_minibuf_frame): Eliminate MSDOS-non-MULTI_FRAME conditional. 1996-06-10 21:04:09 +00:00
Richard M. Stallman
8424e1eaa9 (choose_minibuf_frame): Support multiple frames on MSDOS. 1996-06-10 21:03:43 +00:00
Richard M. Stallman
3bb1f22f68 (check_x): Fix error message.
(x_set_menu_bar_lines): New function, copied from xfns.c.
(IT_set_frame_parameters): Use selected_frame instead of
the_only_frame.
(internal_terminal_init): Use selected_frame instead of the_only_frame.
(check_x): New function, replacing macro in msdos.h.
(XMenuActivate): Use selected_frame instead of
the_only_frame.  Don't let the title for the "Buffers" popup
include a number when it is split into several menus.
1996-06-10 21:03:05 +00:00
Richard M. Stallman
964efc3363 (check_x): Macro definition deleted.
(DisplayWidth): Use `selected_frame'.
(DisplayHeight): Use `selected_frame'.
(x_mouse_leave): Remove; it's not used.
1996-06-10 21:02:00 +00:00
Richard M. Stallman
e4e5971709 Whitespace and #if 0 code changes. 1996-06-10 21:01:22 +00:00
Richard M. Stallman
6ba86f3775 (Fset_window_configuration) [HAVE_WINDOW_SYSTEM]: Call
`x_set_menu_bar_lines' on MSDOS as well.
1996-06-10 21:00:11 +00:00
Richard M. Stallman
50e3dcf5de (init_frame_faces): Build faces for an MSDOS frame like for X frame.
(Fmake_face_internal): Call `ensure_face_ready' for MSDOS frames.
(Fset_face_attribute_internal): Support face attributes for MSDOS frames.
1996-06-10 20:58:24 +00:00
Richard M. Stallman
fd8ff63d8d (redisplay_internal): Use FRAME_WINDOW_P.
(decode_mode_spec): Likewise.
1996-06-10 20:56:25 +00:00
Richard M. Stallman
ab6ce60e01 (redisplay_internal): Use `Vterminal_frame' and other
termcap frame code on MSDOS as well.
(display_text_line) [HAVE_FACES]: Support faces on MSDOS.
(decode_mode_spec): Return frame name on MSDOS like for termcap frames.
1996-06-10 20:50:01 +00:00
Richard M. Stallman
771c47d512 (x_to_win32_font): Allow any quality fonts. 1996-06-10 18:33:04 +00:00
Richard M. Stallman
707788bd68 (mark_object): Do set ARRAY_MARK_FLAG for bool-vectors. 1996-06-10 18:19:48 +00:00
Richard M. Stallman
3393c3f5d3 (fix_submap_inheritance): If parent_entry is not a keymap, use nil instead. 1996-06-10 18:19:25 +00:00
Richard M. Stallman
7830e24b1e (sync_modifiers): New function.
(w32_wnd_proc): Synchronize modifiers on each key down.
1996-06-10 17:35:37 +00:00
Richard M. Stallman
0cd6403b4b (XTread_socket): Use XtAppNextEvent when using toolkit configurations. 1996-06-10 17:32:13 +00:00
Richard M. Stallman
e9bf058bce (create_process): Add DONT_OPEN_PTY conditional. 1996-06-09 20:15:20 +00:00
Richard M. Stallman
b68f1a63fe (DONT_REOPEN_PTY): New definition. 1996-06-09 20:14:44 +00:00
Richard M. Stallman
f249a01280 (init_environment): Read PRELOAD_WINSOCK from registry if
not set in environment.

(winsock_inuse) [HAVE_SOCKETS]: New variable.
(have_winsock) [HAVE_SOCKETS]: Obsolete variable removed.

(term_winsock) [HAVE_SOCKETS]: Only unload winsock library if there
are no active sockets still open, and if the cleanup function
succeeds.  Return TRUE if winsock is unloaded.

(init_winsock) [HAVE_SOCKETS]: Load winsock if not already loaded,
and return TRUE if winsock support is available.  Unload winsock
immediately if new parameter load_now is false.  Check that
WSAStartup supports the winsock version we requested.

(set_errno, check_errno, sys_socket, sys_bind, sys_connect, sys_htons,
sys_ntohs, sys_inet_addr, sys_gethostname, sys_gethostbyname,
sys_getservbyname, sys_close, sys_read, sys_write) [HAVE_SOCKETS]:
Check winsock_lib instead of have_winsock to determine if winsock
support is available.

(sys_socket, sys_close) [HAVE_SOCKETS]: Count sockets in use.

(init_ntproc) [HAVE_SOCKETS]: Only load winsock library on startup
if PRELOAD_WINSOCK is set in environment (or registry).
1996-06-08 00:22:50 +00:00
Richard M. Stallman
a11e68d017 (Fwin32_has_winsock, Fwin32_unload_winsock) [HAVE_SOCKETS]: New functions.
(syms_of_ntproc) [HAVE_SOCKETS]: defsubr them.
1996-06-08 00:15:00 +00:00
Richard M. Stallman
bff3ed0ac3 (Fopen_network_stream)[WINDOWSNT]: Ensure Windows
socket library is loaded if available.
1996-06-08 00:14:31 +00:00
Richard M. Stallman
9d1778b1b7 (sys_mktemp): Complete rewrite. 1996-06-07 23:07:00 +00:00
Richard M. Stallman
8eae7766a4 (sys_kill): Don't try to terminate a DOS process. 1996-06-07 17:26:51 +00:00
Richard M. Stallman
7d58ed9927 (Fkeymap_parent, Fset_keymap_parent): New functions.
(fix_submap_inheritance): New function.
(access_keymap): Use fix_submap_inheritance.
1996-06-06 20:25:48 +00:00
Richard M. Stallman
1f4cd93708 (Ffile_name_directory) [WINDOWSNT]: Remove previous
change, which was incorrect and isn't strictly required.
1996-06-06 19:41:46 +00:00