| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
| |
to s\windowsnt.h.
|
| | |
|
| | |
|
| |
|
|
| |
(HAVE_MOUSE, MODE_LINE_BINARY_TEXT): defined.
|
| |
|
|
| |
to compare it against.
|
| |
|
|
| |
Don't use tm_gmtoff; it's not portable.
|
| | |
|
| | |
|
| | |
|
| |
|
|
| |
(Fx_create_frame): Don't set xlwmenu_default_font if not USE_X_TOOLKIT.
|
| | |
|
| | |
|
| |
|
|
|
|
|
| |
variable USERNAME instead of USER.
(Fdecode_time): New function.
(syms_of_editfns): defsubr it.
|
| |
|
|
|
|
|
|
|
|
|
| |
enable the Microsoft C compiler to compile the routine.
(read_avail_input) [WINDOWSNT]: Just return 0.
(make_lispy_event): Record double and triple for drags.
Put in click_modifier for multi-clicks.
(read_key_sequence): Convert double-drag first to plan drag,
and only later try a click.
|
| |
|
|
| |
(IS_DIRECTORY_SEP, IS_ANY_SEP): New macros, defined if not already def.
|
| | |
|
| |
|
|
|
| |
initialization, then skip the rest of the code.
(FRAME_TERMCAP_P) [WINDOWSNT]: Always return 0.
|
| | |
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Define _P_WAIT. Declare _spawnlp, _getpid.
[WINDOWSNT] (select, strerror, vfork): Don't use these definitions.
(init_sys_modes): Test DOS_NT, not MSDOS.
(emacs_get_tty, emacs_set_tty,(child_setup_tty, init_baud_rate): Ditto.
(sys_subshell) [WINDOWSNT]: Use _spawnlp. not vfork.
(wait_for_termination) [WINDOWSNT]: Use wait.
(discard_tty_input) [WINDOWSNT]: Do nothing at all.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
IS_DEVICE_SEP, DIRECTORY_SEP, and DEVICE_SEP.
[WINDOWSNT]: Add includes. Don't define sys_siglist.
(sigchld_handler): Work around bug in MS C compiler.
(sigchld_handler) [WINDOWSNT]: Do not call signal.
(signal_process) [WINDOWSNT]: Use win32_kill_process instead of kill.
(read_process_output) [WINDOWSNT]: Use read_child_output instead of
read.
(create_process) [WINDOWSNT]: Use
pipe_with_inherited_out and pipe_with_inherited_in.
Use the pid returned by child_setup. Deal with not having vfork,
Call register_child.
(close_process_descs): Do nothing if WINDOWSNT.
(proc_buffer_char): No longer static.
|
| | |
|
| |
|
|
| |
(get_lim_data): Alternate definition for WINDOWSNT.
|
| |
|
|
|
|
|
|
|
|
| |
'/' to uses of the macros IS_ANY_SEP, IS_DIRECTORY_SEP,
IS_DEVICE_SEP, DIRECTORY_SEP, and DEVICE_SEP.
(init_lread) [WINDOWSNT]: Disable warnings about
directories in the load path not existing.
(load): Test DOS_NT instead of MSDOS.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
/' to uses of the macros IS_ANY_SEP, IS_DIRECTORY_SEP,
S_DEVICE_SEP, DIRECTORY_SEP, and DEVICE_SEP.
[WINDOWSNT]: Don't define HAVE_FSYNC; add includes for NT.
(Ffile_name_absolute_p): Test DOS_NT instead of MSDOS.
(Fwrite_region, Fdo_auto_save, Ffile_modes): Likewise.
(Qfind_buffer_file_type): Test DOS_NT instead of MSDOS.
(syms_of_files): Likewise.
(Finsert_file_types): Test DOS_NT instead of MSDOS.
Rename local var try to trytry.
(Fadd_name_to_file): Wlways fail.
(Frename_file) [WINDOWSNT]: Use MoveFile, not link and unlink,
and check for both ERROR_FILE_EXISTS and ERROR_ALREADY_EXISTS.
(Fmake_directory_internal) [WINDOWSNT]: Invoke mkdir without the mask.
(Fexpand_file_name): Test DOS_NT, not MSDOS.
(Fexpand_file_name) [WINDOWSNT]: Accept // or \\ at start.
Call dostonunix_filename for HOME envvar, for ~USER.
Quote directory separators found in environment variables.
(Fsubstitute_in_file_name): Test DOS_NT instead of MSDOS.
(Fsubstitute_in_file_name) [WINDOWSNT]: Accept // or \\ at start.
Work around alloca bug in MS compiler.
(Ffile_name_directory): Test DOS_NT instead of MSDOS sometimes.
But don't insert a drive letter on windows.
|
| |
|
|
| |
invoking memory_warnings just before unexec-ing.
|
| |
|
|
|
| |
(file-attributes) [WINDOWSNT]: Set st_gid and st_uid to Qnil; use
get_inode_and_device_vals to fake up inode number and device number.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(child_setup): Use IS_DIRECTORY_SEP.
[WINDOWSNT]: Call prepare_standard_handles. Use spawnve.
Use reset_standard_handles.
(Fcall_process_region): Test DOS_NT, not MSDOS.
(Fcall_process) [WINDOWSNT]: Call pipe_with_inherited_out.
Use the return value of child_setup to get the child's pid;
don't call vfork etc. explicitly.
[WINDOWSNT]: Add includes. Defone NOMINMAX, _P_NOWAIT.
(Vbinary_process_input, Vbinary_process_output)
(Qbuffer_file_type): Test DOS_NT, not MSDOS.
(syms_of_callproc): Test DOS_NT, not MSDOS.
(init_callproc): Test DOS_NT, not MSDOS.
|
| |
|
|
|
| |
not character constants.
(init_buffer_once, syms_of_buffer): Test DOS_NT, not MSDOS.
|
| | |
|
| |
|
|
| |
XTwrite_glyphs.
|
| | |
|
| |
|
|
|
|
| |
(redisplay, redisplay_window): If that var is set, do mode line.
(display_mode_line): Unset the var.
(decode_mode_spec): Set the var if %c was seen.
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
|
|
|
|
|
| |
[USE_X_TOOLKIT] (x_window): Use XtAppCreateShell.
(Xt_app_shell, Xt_app_con): Variables deleted.
(Fx_close_connection) [USE_X_TOOLKIT]: Call XtCloseDisplay.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(x_destroy_window): Rewrite to fetch dpyinfo just once.
[USE_X_TOOLKIT]: Make application context explicitly
and support multiple top-level shells.
(x_initialize): Call XtToolkitInitialize, XtCreateApplicationContext;
don't open display or make a shell.
(x_term_init): Call XtOpenDisplay.
(x_scroll_bar_create): Use XMapRaised directly.
(x_make_frame_visible, x_iconify_frame): Likewise.
(XMapWindow): Macro definition deleted.
(METABIT): Macro deleted.
(MAXDESC, FD_SETSIZE, FD_SET, FD_CLEAR, FD_ZERO, FD_ISSET): Likewise.
(x_id_name): Variable deleted.
|
| |
|
|
|
| |
(INTERRUPTIBLE_IO, INTERRUPTIBLE_OPEN, INTERRUPTIBLE_CLOSE)
(read, write, open, close): New definitions.
|
| | |
|
| |
|
|
|
|
| |
(Fget_buffer_create): Not here.
(Fswitch_to_buffer): Call Fset_buffer_major_mode.
(syms_of_buffer): defsubr the new function.
|
| |
|
|
| |
already done the work.
|
| |
|
|
| |
(head_table): Initialize those new symbols appropriately.
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|