1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-17 00:30:37 -08:00
Commit graph

2307 commits

Author SHA1 Message Date
Richard M. Stallman
aaf45c7bbd (Frem) [MSDOS]: use fmod', not drem'. Put in config.h? 1994-01-08 09:23:12 +00:00
Richard M. Stallman
1b94449f31 Initial revision 1994-01-08 09:22:50 +00:00
Richard M. Stallman
54ad07d30f [MSDOS]: New buffer-local variable:
buffer-file-type to handle DOS newlines.
1994-01-08 09:21:59 +00:00
Richard M. Stallman
7e6c2178ef (syms_of_callproc) [MSDOS]: New lisp variable: binary-process.
(init_callproc) [MSDOS]: Initialize binary-process.
[MSDOS]: Declare binary-process.
[MSDOS]: Include <fcntl.h>, <sys/stat.h>, <sys/param.h>,
and <errno.h> needed for the next changes.
(Fcall_process) [MSDOS]: Create temporary file for process output.
Run the subprocess using `run_msdos_command' instead of forking.
Arrange for cleanup to erase temporary file.
(Fcall_process) [not subprocesses]: Barf if zero buffer argument.
(call_process_cleanup) [MSDOS]: Close and erase temporary file
instead of the pid-stuff.
(Fcall_process_region) [MSDOS]: Create temporary file in $TMP or $TEMP.
(Fchild_setup) [MSDOS]: #if 0, as it is not used.
1994-01-08 09:21:13 +00:00
Richard M. Stallman
3680bdc6ff [MSDOS]: Don't #include <a.out.h>, but use other headers.
(make_hdr) [MSDOS]: Cast a pointer for bzero.
(write_segment) [EFAULT]: Check for before using.
(adjust_lnnoptrs) [MSDOS]: Use provided descriptor.
(adjust_lnnoptrs): Return 0 if ok.
1994-01-08 09:19:22 +00:00
Richard M. Stallman
8e99c732db [MSDOS]: don't #include <sgtty.h>. We haven't got it.
Declare dummy main field.  Don't ever use TABs.
1994-01-08 09:18:53 +00:00
Richard M. Stallman
207bdbdb29 [MSDOS]: #include <dos.h>, "dosfns.h", "msdos.h", and
<sys/param.h> needed for the following changes, but not <sys/ioctl.h>
(discard_tty_input) [MSDOS]: Do it by reading till no more keys available.
(init_baud_rate) [MSDOS]: Assume highest possible speed.
(sys_suspend) [MSDOS]: Save default directory.  Call via system, not via fork.
(emacs_get_tty, emacs_set_tty) [MSDOS]: Don't do anything.
(init_sys_modes) [MSDOS]: Use raw mode.
(get_frame_size) [MSDOS]: Get from bios.
(reset_sys_modes) [MSDOS]: Back to cooked mode.
(start_of_text) [MSDOS]: Reference _tstart.
(select) [MSDOS]: Don't use signals, use sleeping.
(init_sys_modes) [MSDOS]: Initialize internal terminal.
1994-01-08 09:18:29 +00:00
Richard M. Stallman
004164c530 [MSDOS] (get_lim_data): Use go32 call. 1994-01-08 09:17:47 +00:00
Richard M. Stallman
23a71bd66d [MSDOS]: Use text mode for all files but ".elc" files.
(complete_file_name) [MSDOS]: Drive letter support.
1994-01-08 09:17:27 +00:00
Richard M. Stallman
a3fc523600 [MSDOS]: Don't define HAVE_MATHERR. 1994-01-08 09:16:45 +00:00
Richard M. Stallman
4c3c22f36a [MSDOS]: #include "msdos.h" and <sys/param.h> needed for
the following changes.
(Ffile_name_directory, Fexpand_file_name) [FILE_SYSTEM_CASE]: Apply
case conversion if defined.
(Ffile_name_directory, Ffile_name_nondirectory, file_name_as_directory,
directory_file_name, Fexpand_file_name, Fsubstitute_in_file_name,
expand_and_dir_to_file) [MSDOS]: Drive letter support.
(Fexpand_file_name) [MSDOS]: Support for multiple default directories.
(Ffile_writeable_p) [MSDOS]: Don't call access with file name ending in slash.
(Finsert_file_contents) [MSDOS]: Determine file type by name (call
find-buffer-file-type) and change CR+LF to LF if it is a text file.
(Fwrite_region) [MSDOS]: Use text/binary mode as specified by buffer_file_type.
(syms_of_fileio) [MSDOS]: Set Qfind_buffer_file_type.
(Fsubstitute_in_file_name) [MSDOS]: Ignore case in environtment variable.
1994-01-08 09:15:49 +00:00
Richard M. Stallman
29b89fe042 (main) [MSDOS]: Call init_environment. Set file types to
binary for all files.  Call init_dosfns.
(fatal_error_signal) [MSDOS]: Uncomment sigblock.
1994-01-08 08:48:32 +00:00
Richard M. Stallman
128ecc89ba (DIRENTRY_NONEMPTY): New macro; two definitions.
(Fdirectory_files, file_name_completion): Use it.


[MSDOS]: #include <dirent.h> instead of <sys/dir.h>.  Avoid
some external definitions.
(Ffile_attributes) [MSDOS]: Set execute bits from file name.
(Ffile_name_all_completions) [FILE_SYSTEM_CASE]: Convert
case of file name as as indicated by conditional.
1994-01-08 08:47:19 +00:00
Richard M. Stallman
cf9cdc11ac (keys_of_cmds) [MSDOS]: Chars 0200 to 0237 self-insert. 1994-01-08 08:45:19 +00:00
Richard M. Stallman
0a3e18a0a9 (emacs): Don't run inc-vers.el. 1994-01-07 14:15:21 +00:00
Richard M. Stallman
b8b1b8fd99 (strout, printchar): Use proper frame for minibuffer. 1994-01-07 13:50:23 +00:00
Richard M. Stallman
cadc2c79ee Handle HAVE_BCMP.
(BSTRING): Don't define unless HAVE_BCMP.
1994-01-07 05:58:16 +00:00
Richard M. Stallman
6cb71bf6c6 (describe_syntax): Handle Sinherit.
(syntax_code_spec, syntax_spec_code): Add entry for @ and Sinherit.
1994-01-05 20:33:23 +00:00
Richard M. Stallman
c8cdcb16ad (enum syntaxcode): Add Sinherit.
(RAW_SYNTAX, RAW_SYNTAX_MATCH, SYNTAX_CHOOSE_TABLE): New macros.
(SYNTAX, SYNTAX_MATCH, SYNTAX_COMSTART_FIRST, SYNTAX_COMSTART_SECOND)
(SYNTAX_COMEND_FIRST, SYNTAX_COMEND_SECOND, SYNTAX_PREFIX)
(SYNTAX_COMMENT_STYLE): Handle Sinherit.
Alternative definitions if __GNUC__.
1994-01-05 20:33:02 +00:00
Richard M. Stallman
0b312d0831 (SUNOS_LOCALTIME_BUG): #if 0'd. 1994-01-04 14:21:54 +00:00
Richard M. Stallman
acbeb206be (Fmapconcat): Doc fix. 1994-01-04 08:45:49 +00:00
Richard M. Stallman
63456da576 (bcopy, bzero, bcmp): Defined. 1994-01-04 08:42:21 +00:00
Richard M. Stallman
02e8e1677b (buffer.o): Don't depend on syntax.h.
(temacs): Delete redundant use of LDFLAGS.

(${etc}DOC): Fix typo in previous change.
1994-01-04 06:41:18 +00:00
Richard M. Stallman
5fe0b67ed4 Don't include syntax.h.
(Qget_file_buffer): New variable.
(syms_of_buffer): Set up Qget_file_buffer.
(Fget_file_buffer): For magic file names, run the handler.
1994-01-04 06:38:43 +00:00
Richard M. Stallman
a889bd0eff (file_name_completion_stat): If have symlinks, use lstat. 1994-01-04 06:37:51 +00:00
Richard M. Stallman
59d6105877 (Fx_list_fonts): Don't fail to init `tail'.
(Fx_create_frame): Add to Vframe_list before making visible.
1994-01-04 01:22:38 +00:00
Richard M. Stallman
4f8804a1e5 (get_system_name): If the official name of the host is
not a fully qualified domain name, then try to find one in the
list of alternate names.
1994-01-03 07:21:12 +00:00
Richard M. Stallman
4314dea4b4 (rotate_right, rotate_left): Simplify
total_length calculation.  Minimize pointer dereferencing.
(balance_an_interval): Remove recursive rebalancing.
Rebalance precisely when imbalanced.  If a rotation is done,
rebalance only the node which may have become unbalanced.
Iterate	until the current node is balanced.
(balance_possible_root_interval): New function.
(balance_intervals): Move the interation into rebalance_an_interval.
(balance_intervals_internal): New subroutine of balance_intervals.
(split_interval_right, split_interval_left): Speed up by
not checking LEAF_INTERVAL_P.
(split_interval_right, split_interval_left, find_interval,
adjust_intervals_for_insertion, graft_intervals_into_buffer):
Add dynamic rebalancing anywhere a node may become unbalanced.
(graft_intervals_into_buffer, copy_intervals): No longer
any need to do a full rebalance as the tree stays balanced.
1994-01-02 19:01:15 +00:00
Richard M. Stallman
7ac78c9ad4 (NULL_RIGHT_CHILD, NULL_LEFT_CHILD):
Assume children must be intervals, never strings or buffers.
1994-01-02 19:00:54 +00:00
Richard M. Stallman
561cb8e159 (Fwrite_region): Don't change START and END from nil
until after checking for a magic handler.
1994-01-01 18:01:49 +00:00
Richard M. Stallman
53aad33f8a (read_process_output): Use clip_to_bounds when moving
to the process marker.
1994-01-01 15:12:52 +00:00
Richard M. Stallman
4f87ed716d Delete `show env TERMCAP'. 1994-01-01 15:11:38 +00:00
Richard M. Stallman
80b233a9da (${etc}DOC): Don't depend on SOME_MACHINE_OBJECTS. 1994-01-01 11:56:01 +00:00
Richard M. Stallman
229c1c6a14 (SOME_MACHINE_OBJECTS): New var.
(${etc}DOC): Use SOME_MACHINE_OBJECTS, not OBJECTS_MACHINE or OBJECTS_SYSTEM.
1994-01-01 11:55:19 +00:00
Richard M. Stallman
a7e8247287 (Finsert_file_contents): Avoid setting buffer-file-name field if ran a handler.
Get rid of local var `handled'.
1993-12-31 18:16:16 +00:00
Richard M. Stallman
79a7046ca7 (lispy_accent_codes): Cope if an XK symbol is undefined.
(make_lispy_event): Define i.
1993-12-31 17:29:12 +00:00
Richard M. Stallman
bc1ed4864c Always include termhooks.h.
[! MULTI_FRAME] (Fmouse_position): New definition.
[! MULTI_FRAME] (syms_of_frame): Add mouse-position.
1993-12-31 13:28:05 +00:00
Richard M. Stallman
62bcf0098d (Finsert_file_contents): Don't run after change hook
if inserted is 0.  New local `handled', set if run handler.
Avoid setting modtime field if ran a handler.
1993-12-31 12:56:41 +00:00
Richard M. Stallman
5e5623c2e2 (PENDING_OUTPUT_COUNT): Two alternate definitions
for different versions of stdio.h.
1993-12-31 10:42:30 +00:00
Richard M. Stallman
ef586bbd32 (Fsubstitute_command_keys): Fix previous change. 1993-12-31 03:05:39 +00:00
Richard M. Stallman
68e5a8a28d (read_from_minibuffer): Rename arg initial_input to initial_contents. 1993-12-30 16:43:05 +00:00
Richard M. Stallman
7fd233b39a (Femacs_pid): New function.
(syms_of_editfns): Define it for Lisp.
1993-12-30 10:08:46 +00:00
Richard M. Stallman
02c2c53f5c (read_avail_input): Turn O_NDELAY off on DGUX as on USG. 1993-12-30 07:49:15 +00:00
Richard M. Stallman
2cbaf88681 (Fall_completions): Allow completions that start with space
if the input starts with space.
1993-12-30 07:23:51 +00:00
Richard M. Stallman
98fb23e2bf (LDFLAGS): Define as empty.
(ALL_LDFLAGS): Define as LDFLAGS used to be defined.
(temacs): Use ALL_LDFLAGS.
1993-12-30 07:20:56 +00:00
Richard M. Stallman
24065b9c3d (describe_command): If binding is a kbd macro, say so. 1993-12-29 07:43:21 +00:00
Richard M. Stallman
93aed04d17 (main) [AIX]: Call putenv. 1993-12-26 18:05:39 +00:00
Richard M. Stallman
b04101bbbd (A_TEXT_OFFSET, A_TEXT_SEEK, ADJUST_EXEC_HEADER): Defined. 1993-12-26 09:10:10 +00:00
Richard M. Stallman
66c30ea1e4 (XTflush): FIx typo in last change. 1993-12-26 09:06:44 +00:00
Richard M. Stallman
9257d3746e (struct input_event): FIx typo in previous change. 1993-12-26 08:43:36 +00:00