aboutsummaryrefslogtreecommitdiffstats
path: root/src (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Changed references of m\m-windowsnt.h to m\intel386.h and of s\s-windowsnt.hKarl Heuer1994-11-031-126/+126
| | | | to s\windowsnt.h.
* (sbrk): Allow request sizes to be different than the page size.Karl Heuer1994-11-031-2/+0
|
* [WINDOWSNT]: (VIRT_ADDR_VARIES, DATA_END, DATA_START, HAVE_ALLOCA): Defined.Karl Heuer1994-11-031-0/+7
|
* #include <malloc.h>.Karl Heuer1994-11-031-0/+6
| | | | (HAVE_MOUSE, MODE_LINE_BINARY_TEXT): defined.
* (Fx_list_fonts): Don't bother to retrieve font info when there's no size_refKarl Heuer1994-11-021-22/+35
| | | | to compare it against.
* (Fdecode_time): Fix Lisp_Object vs. integer problems.Karl Heuer1994-11-021-8/+17
| | | | Don't use tm_gmtoff; it's not portable.
* Leave DEVICE_SEP undefined by default.Karl Heuer1994-11-021-3/+0
|
* (init_buffer): Fix error message syntax.Richard M. Stallman1994-11-021-1/+1
|
* (Fdecode_time): Change one XFASTINT to XINT.Richard M. Stallman1994-11-011-1/+1
|
* (x_window): Make ibw 0 by default.Richard M. Stallman1994-11-011-1/+3
| | | | (Fx_create_frame): Don't set xlwmenu_default_font if not USE_X_TOOLKIT.
* (SYSTEM_PURESIZE_EXTRA): Defined.Richard M. Stallman1994-11-011-0/+4
|
* Initial revisionRichard M. Stallman1994-11-016-0/+2134
|
* (init_editfns): Get the username from the environmentRichard M. Stallman1994-11-011-0/+40
| | | | | | | variable USERNAME instead of USER. (Fdecode_time): New function. (syms_of_editfns): defsubr it.
* (read_key_sequence): Use flags instead of gotos toRichard M. Stallman1994-11-011-14/+29
| | | | | | | | | | | 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.
* (DEVICE_SEP, DIRECTORY_SEP, IS_DEVICE_SEP)Richard M. Stallman1994-11-011-0/+24
| | | | (IS_DIRECTORY_SEP, IS_ANY_SEP): New macros, defined if not already def.
* (DOS_NT): Defined.Richard M. Stallman1994-11-011-0/+2
|
* (term_init) [WINDOWSNT]: Do some Windows-specificRichard M. Stallman1994-11-011-0/+48
| | | | | initialization, then skip the rest of the code. (FRAME_TERMCAP_P) [WINDOWSNT]: Always return 0.
* [WINDOWSNT] (EMACS_KILLPG): Use win32_kill_process.Richard M. Stallman1994-11-011-0/+4
|
* Test DOS_NT, not MSDOS.Richard M. Stallman1994-11-011-9/+9
|
* [WINDOWSNT]: Add includes for NT.Richard M. Stallman1994-11-011-30/+70
| | | | | | | | | | | | 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.
* Use macros IS_ANY_SEP, IS_DIRECTORY_SEP,Richard M. Stallman1994-11-011-9/+60
| | | | | | | | | | | | | | | | | | | 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.
* (MAXNAMLEN) [WINDOWSNT]: Define as 255.Richard M. Stallman1994-11-011-0/+4
|
* [WINDOWSNT]: Don't include vlimit.h.Richard M. Stallman1994-11-011-0/+13
| | | | (get_lim_data): Alternate definition for WINDOWSNT.
* Change explicit uses of the Unix directory separatorRichard M. Stallman1994-11-011-11/+17
| | | | | | | | | | '/' 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.
* Change explicit uses of the Unix directory separatorRichard M. Stallman1994-11-011-137/+218
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | /' 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.
* (Fdump_emacs): Don't reset the data start address byRichard M. Stallman1994-11-011-0/+4
| | | | invoking memory_warnings just before unexec-ing.
* Use macros IS_ANY_SEP, IS_DIRECTORY_SEP, and DIRECTORY_SEP.Richard M. Stallman1994-11-011-6/+17
| | | | | (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.
* (getenv_internal) [WINDOWSNT]: Use strnicmp, not bcmp.Richard M. Stallman1994-11-011-18/+57
| | | | | | | | | | | | | | | | | | (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.
* (init_buffer): Use DIRECTORY_SEP, IS_DIRECTORY_SEP macros,Richard M. Stallman1994-11-011-7/+12
| | | | | not character constants. (init_buffer_once, syms_of_buffer): Test DOS_NT, not MSDOS.
* (struct buffer): Test DOS_MT, not MSDOS.Richard M. Stallman1994-11-011-2/+2
|
* (XTclear_end_of_line): Finish the line dance here too, just as was done inKarl Heuer1994-11-011-0/+2
| | | | XTwrite_glyphs.
* (fast_find_position): Special case if POS is end of buffer.Richard M. Stallman1994-11-011-0/+17
|
* (column_number_displayed): New variable.Karl Heuer1994-10-311-2/+7
| | | | | | (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.
* (display_text_line): Truncate the minibuf_prompt if nec.Richard M. Stallman1994-10-301-2/+7
|
* (BASE_PURESIZE): Increment MULTI_FRAME value.Richard M. Stallman1994-10-301-1/+1
|
* (unexec): Don't print number of pure bytes used.Richard M. Stallman1994-10-301-4/+0
|
* (read_avail_input): Fix Lisp_Object vs. int problem.Karl Heuer1994-10-291-2/+2
|
* (Fx_create_frame): Set xlwmenu_default_font.Richard M. Stallman1994-10-291-10/+14
| | | | | | | [USE_X_TOOLKIT] (x_window): Use XtAppCreateShell. (Xt_app_shell, Xt_app_con): Variables deleted. (Fx_close_connection) [USE_X_TOOLKIT]: Call XtCloseDisplay.
* (x_delete_display): Call XrmDestroyDatabase.Richard M. Stallman1994-10-291-106/+50
| | | | | | | | | | | | | | | | | (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.
* (LD_SWITCH_SYSTEM): Definitions deleted.Richard M. Stallman1994-10-281-5/+8
| | | | | (INTERRUPTIBLE_IO, INTERRUPTIBLE_OPEN, INTERRUPTIBLE_CLOSE) (read, write, open, close): New definitions.
* (LD_SWITCH_MACHINE): New definition.Richard M. Stallman1994-10-281-0/+4
|
* (Fset_buffer_major_mode): New function. Set the default major mode here.Karl Heuer1994-10-271-24/+41
| | | | | | (Fget_buffer_create): Not here. (Fswitch_to_buffer): Call Fset_buffer_major_mode. (syms_of_buffer): defsubr the new function.
* (keys_of_frame): Bind the new events to 'ignore, since the window manager hasKarl Heuer1994-10-271-0/+2
| | | | already done the work.
* (kbd_buffer_get_event): Translate them to lispy events.Karl Heuer1994-10-271-1/+19
| | | | (head_table): Initialize those new symbols appropriately.
* (iconify_event, deiconify_event): New events.Karl Heuer1994-10-271-1/+3
|
* (set_frame_menubar): Don't copy string during GC risk.Karl Heuer1994-10-271-5/+18
|
* [alliant && i860] (FSCALE): Move defn before #ifndef FSCALE.Roland McGrath1994-10-271-7/+7
|
* (HAVE_GETPAGESIZE): Explicitly #undef.Richard M. Stallman1994-10-261-1/+1
|
* (HAVE_GETPAGESIZE): Definition deleted.Richard M. Stallman1994-10-263-10/+0
|
* (HAVE_GETPAGESIZE): Add #undef.Richard M. Stallman1994-10-261-1/+1
|