(init_ntproc) [HAVE_SOCKETS]: Only load winsock library on startup
if PRELOAD_WINSOCK is set in environment (or registry).
- * ntproc.c (Fwin32_has_winsock, Fwin32_unload_winsock)
+ * ntproc.c (Fwin32_has_winsock, Fwin32_unload_winsock)
[HAVE_SOCKETS]: New functions.
(syms_of_ntproc) [HAVE_SOCKETS]: defsubr them.
(timer_id): Renamed to mouse_button_timer.
(saved_mouse_move_msg, mouse_move_timer): New variables.
(win_msg_worker): Delete WM_TIMER code.
- (win32_wnd_proc): Handle WM_TIMER events here. Use separate timers
+ (win32_wnd_proc): Handle WM_TIMER events here. Use separate timers
for mouse down and mouse move (including scroll bar drag) events.
Add new handling code for WM_VSCROLL and WM_MOUSEMOVE events.
Only filter WM_MOUSEMOVE events when a button is held down.
(nt_sleep): Renamed to sys_sleep.
- (rename): Renamed to sys_rename. Always rename to a temporary name
+ (rename): Renamed to sys_rename. Always rename to a temporary name
first on Windows 95. Unlink new name first if necessary.
(dir_finding): Variable deleted.
(dir_is_fat, dir_pathname): New variables.
- (openddir): Fail if dir_find_handle is in use. Save directory name
+ (openddir): Fail if dir_find_handle is in use. Save directory name
in dir_pathname, and set dir_is_fat appropriately.
(closedir, readdir): Use dir_find_handle in place of dir_finding.
(readdir): Copy directory name from dir_pathname on first
- call. Use IS_DIRECTORY_SEP instead of IS_ANY_SEP. Force filename
+ call. Use IS_DIRECTORY_SEP instead of IS_ANY_SEP. Force filename
to be lower case on FAT volumes.
(getpwuid): Move struct passwd initialization to init_user_info,
ntproc.c and simplified to match other changes (all handles are
already non-inheritable).
- (get_emacs_configuration): Detect Windows flavour (Windows 95 or
+ (get_emacs_configuration): Detect Windows flavor (Windows 95 or
NT) at run-time. Change OS name for Windows 95 to be "win95".
- (fd_info): New variable. Array of extra info for file descriptors
+ (fd_info): New variable. Array of extra info for file descriptors
needed for pipe/socket support.
(utc_base_ft, utc_base, init): New internal variables used for
support in sys_select.
(term_ntproc): New function.
- (init_ntproc): New function to initialise socket support and make
+ (init_ntproc): New function to initialize socket support and make
initial std handles non-inheritable. Also ensure stdin, stdout
and stderr have valid handles so that pipes and sockets can't
inadvertently use fd 0, 1, or 2.
* ntinevt.c (win32_kdb_patch_key): Initialize isdead.
(key_event) [HAVE_NTGUI]: Use Windows key code.
- * ntproc.c: Include config.h after CRT headers. Include fcntl.h.
+ * ntproc.c: 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.
"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
+ (x_to_win32_font): Use x_to_win32_charset. Support w32 font names
in addition to X font names.
(win32_load_font, Fx_list_fonts, Fx_display_color_cells)
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
+ Correctly recognize 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.
(win32_fill_rect, dumpglyphs, do_line_dance, x_draw_box):
Use Get/ReleaseFrameDC.
(win32_update_begin): Regenerate palette if required.
- (w32_read_socket): Use FALSE. Handle WM_PALETTECHANGED.
+ (w32_read_socket): Use FALSE. Handle WM_PALETTECHANGED.
(win32_term_init): Use GetDC directly.
Enable palette in display structure.
Predefine white and black.
1995-12-12 Paul Eggert <eggert@twinsun.com>
- * process.c (create_process): Use Posix signal handling to
+ * process.c (create_process): Use POSIX signal handling to
block signals, if available. If HAVE_VFORK, save and restore
signal handlers that the child might change, since in many
systems (e.g. Solaris 2.4) if the child changes the signal
* xdisp.c [HAVE_NTGUI] (set_menu_framebar): Declare external.
[HAVE_NTGUI] (frame_title_buf, frame_title_ptr): Include variables
- for Win32 window system.
+ for w32 window system.
[HAVE_NTGUI] (store_frame_title, x_consider_frame_title): Include
- procedures for Win32 window system.
- [HAVE_NTGUI] (x_consider_frame_title): Test for Win32 frame.
- [HAVE_NTGUI] (display_text_line): Test for Win32 frame on face change.
+ procedures for w32 window system.
+ [HAVE_NTGUI] (x_consider_frame_title): Test for w32 frame.
+ [HAVE_NTGUI] (display_text_line): Test for w32 frame on face change.
[HAVE_NTGUI] (display_menu_bar): Perform no-op for NT window system.
* window.c [HAVE_NTGUI] (Fset_window_configuration): Set menu
(make_lispy_event): Use FUNCTION_KEY_OFFSET to modify event codes
before applying modifiers.
- * frame.c [HAVE_NTGUI]: Test for a Win32 frame in procedures
+ * frame.c [HAVE_NTGUI]: Test for a w32 frame in procedures
that test for an X frame.
* frame.h (output_method): New method: output_win32.
* emacs.c [HAVE_NTGUI]: Declare Vwindow_system.
[HAVE_NTGUI] (main): Enable inhibit_window_system.
Initialize environment from registry.
- Declare syms of Win32 windowing modules.
+ Declare syms of w32 windowing modules.
* dispnew.c [HAVE_NTGUI]: Include w32term.h.
Include dispextern.h before cm.h since dispextern.h includes windows.h.
[HAVE_NTGUI] (make_frame_glyphs, free_frame_glyphs, scroll_frame_lines)
- (update_frame, update_line): Test for WIN32 frame.
- [HAVE_NTGUI] (init_display): Initialize WIN32 window system.
+ (update_frame, update_line): Test for w32 frame.
+ [HAVE_NTGUI] (init_display): Initialize w32 window system.
* dispextern.h [HAVE_NTGUI]: Include win32.h.
[HAVE_NTGUI] (struct frame_glyphs): Include pixel fields.
* msdos.c (putchar): Call internal_flush instead of _flsbuf.
(DO_TERMSCRIPT): New macro to support open-termscript.
(internal_flush): Corrected handling of flush in middle of
- escape sequences. Handle screen width > 127.
+ escape sequences. Handle screen width > 127.
(flush_escape): New function for use by internal_flush.
(sys_select): New MS-DOS specific version with us timing.
(EMACSCOLORS): New environment variable.
1995-08-14 Erik Naggum <erik@naggum.no>
- * emacs.c (standard_args): Add option --eval to evalute an
+ * emacs.c (standard_args): Add option --eval to evaluate an
expression on the command line and print the result.
1995-08-14 Richard Stallman <rms@mole.gnu.ai.mit.edu>
See ChangeLog.5 for earlier changes.
- Copyright (C) 1995-1996, 2001-2011 Free Software Foundation, Inc.
+ Copyright (C) 1995-1996, 2001-2012 Free Software Foundation, Inc.
This file is part of GNU Emacs.