Commit graph

10843 commits

Author SHA1 Message Date
Gerd Moellmann
39ec21eae0 (main) [GC_MARK_STACK]: Initialize stack_base. 2000-02-17 15:22:35 +00:00
Gerd Moellmann
a21260d97c (Fget_buffer_create, Fmake_indirect_buffer): Use
allocate_buffer instead of xmalloc.
2000-02-17 15:21:58 +00:00
Gerd Moellmann
344000084d (mark_object): Don't mark symbol names in pure space.
(gc_sweep): Don't unmark symbol names in pure space.

(toplevel): Include setjmp.h.
(PURE_POINTER_P): New define.
(enum mem_type) [GC_MARK_STACK]: New enumeration.
(Vdead) [GC_MARK_STACK]: New variable.
(lisp_malloc): Add parameter TYPE, call mem_insert if
GC_MARK_STACK is defined.
(allocate_buffer): New function.
(lisp_free) [GC_MARK_STACK]: Call mem_delete.
(free_float) [GC_MARK_STACK]: Set type to Vdead.
(free_cons) [GC_MARK_STACK]: Set car to Vdead.
(stack_base, mem_root, mem_z) [GC_MARK_STACK]: New variables.
(MEM_NIL) [GC_MARK_STACK]: New define.
(struct mem_node) [GC_MARK_STACK]: New structure.
(mem_init, mem_find, mem_insert, mem_delete, mem_insert_fixup)
(mem_delete_fixup, mem_rotate_left, mem_rotate_right)
(live_string_p, live_cons_p, live_symbol_p, live_float_p)
(live_misc_p, live_vector_p, live_buffer_p, mark_memory)
(mark_stack) [GC_MARK_STACK]: New functions.
(Fgarbage_collect) [GC_MARK_STACK]: Call mark_stack.
(clear_marks): Removed.
(gc_sweep): Set free conses' car, free floats' type, free
symbols' function to Vdead.  Use lisp_free to free buffers.
(init_alloc_once): Initialize Vdead.
(survives_gc_p): Return non-zero for pure objects.

Add comments throughout the file.
2000-02-17 15:21:21 +00:00
Gerd Moellmann
2503c8b1ae (stop_other_atimers): Don't call cancel_atimer because
that unblocks alarms.
2000-02-17 13:15:26 +00:00
Gerd Moellmann
8389e1e25c *** empty log message *** 2000-02-17 09:49:05 +00:00
Gerd Moellmann
cc94f3b24e Remove LISP_FLOAT_TYPE' and standalone'. 2000-02-17 09:45:46 +00:00
Gerd Moellmann
10689a01d9 (make_frame): Set frame initiallly to `garbaged'. 2000-02-17 09:20:23 +00:00
Kenichi Handa
4a09dee02e (decode_mode_spec_coding): Delete superfluous code.
Allocate sufficient memory for eol_str in the case that eoltype is
Lisp_Int.
2000-02-17 08:19:21 +00:00
Kenichi Handa
bfc17d180a *** empty log message *** 2000-02-17 08:15:20 +00:00
Stefan Monnier
2b927d02c8 (Fforward_comment): Undo the previous change, since cc-mode
depends on the previous behavior.
2000-02-17 05:57:38 +00:00
Gerd Moellmann
b49cb76457 (vfork) [!HAVE_VFORK]: Removed. 2000-02-16 00:36:27 +00:00
Gerd Moellmann
99e95407a0 *** empty log message *** 2000-02-15 10:30:58 +00:00
Gerd Moellmann
aace035ecc (BROKEN_PTY_READ_AFTER_EAGAIN): Define. 2000-02-15 10:27:48 +00:00
Gerd Moellmann
3433b6bdab (send_process) [BROKEN_PTY_READ_AFTER_EAGAIN]:
Workaround for FreeBSD bug.  Flush output queue after EAGAIN in
write(2).
2000-02-15 10:27:23 +00:00
Richard M. Stallman
27a6c72932 (specbind): For buffer-local value, record the current buffer also.
(unbind_to): Cope with that change.
2000-02-15 09:58:41 +00:00
Richard M. Stallman
1f35ce36c2 (set_internal): Don't make variable buffer-local
if within a let-binding for the same buffer.
(let_shadows_buffer_binding_p): New function.
2000-02-15 09:57:33 +00:00
Richard M. Stallman
6ffd3cf701 *** empty log message *** 2000-02-15 09:56:18 +00:00
Gerd Moellmann
cad5347512 (Fsave_window_excursion): Doc fix. 2000-02-15 09:35:31 +00:00
Stefan Monnier
1aa963c813 (back_comment): Make sure we only consider comment-starters
of the relevant style and return -1 in case of a failure to find the
beginning of the comment.
(Fforward_comment): If back_comment fails, go back to the position just
after the comment-end.
(scan_lists): Add comment describing a very minor bug.
2000-02-15 06:21:26 +00:00
Stefan Monnier
b9b84fd34d (Ftry_completion, Fall_completions): Add a reference to
`completion-regexp-list' in the docstring.
2000-02-14 23:36:15 +00:00
Dave Love
3a28db80b0 (tty_defined_color): Declare color_idx unsigned long. 2000-02-14 18:05:57 +00:00
Stefan Monnier
fb4a568d44 * regex.h (RE_SYNTAX_EMACS): Add RE_CHAR_CLASSES and RE_INTERVALS
to Emacs' syntax.  Also fix the comment about set/not-set meanings
since Emacs syntax is not the value 0 any more.
* search.c (compile_pattern_1): Remove RE_CHAR_CLASSES from the syntax
since it's now part of RE_SYNTAX_EMACS.
2000-02-14 17:00:16 +00:00
Dave Love
1063ebb5b3 (SELECTED_FRAME): Use NULL, not 0 to avoid warnings on
Alpha.
2000-02-12 22:21:05 +00:00
Gerd Moellmann
fb07a30287 *** empty log message *** 2000-02-12 19:50:59 +00:00
Gerd Moellmann
090f7baafb (syms_of_xdisp): Doc fix for scroll-conservatively. 2000-02-12 19:37:56 +00:00
Dave Love
aaf2320cdf *** empty log message *** 2000-02-12 18:09:26 +00:00
Dave Love
621dcb6d1a Don't define HAVE_VFORK or HAVE_SYS_SIGLIST. 2000-02-12 17:05:37 +00:00
Dave Love
1a7c1bba91 Define C_DEBUG_SWITCH for non-gcc. 2000-02-12 17:03:54 +00:00
Dave Love
214f85082c Don't define HAVE_VFORK. 2000-02-12 16:57:46 +00:00
Dave Love
95a7ed060d Don't define HAVE_ALLOCA. 2000-02-12 16:49:52 +00:00
Dave Love
92457a0bd8 Add vfork bits. 2000-02-12 16:25:11 +00:00
Gerd Moellmann
eedf8bde8e *** empty log message *** 2000-02-12 14:14:32 +00:00
Gerd Moellmann
67a516c61a (stop_other_atimers, run_all_atimers)
(unwind_stop_other_atimers): Add function prototypes.
2000-02-12 13:13:59 +00:00
Gerd Moellmann
9c2e3e8df1 (stopped_atimers): New variable.
(stop_other_atimers, run_all_atimers, unwind_stop_other_atimers):
New functions.
2000-02-12 13:13:13 +00:00
Gerd Moellmann
4cf3fa0818 (Fopen_network_stream) [POLL_FOR_INPUT]: Register
unwind function to undo the effect of stopping atimers.
2000-02-12 13:12:17 +00:00
Gerd Moellmann
6fe007f7d1 (bind_polling_period): Stop all timers except
poll_timer.
2000-02-12 13:11:29 +00:00
Gerd Moellmann
077c040bfa (HAVE_XRMSETDATABASE): Define if not already defined. 2000-02-12 13:10:19 +00:00
Ken Raeburn
8476c2f86f * Makefile.in (LIBX): Link in tiff library before jpeg, since tiff library may
depend on jpeg.
(atimer.o): Depends on atimer.c.
2000-02-11 06:04:09 +00:00
Kenichi Handa
233cc02d54 (del_range_1): Call update_compositions.
(del_range_both): Call update_compositions just once..
2000-02-11 02:20:49 +00:00
Kenichi Handa
0e85e4a316 *** empty log message *** 2000-02-11 02:20:01 +00:00
Dave Love
97fa0cc812 *** empty log message *** 2000-02-10 20:28:26 +00:00
Dave Love
d9d57cb2ce (create_frame_xic): Fix initialization of automatic aggregates for pcc. 2000-02-10 20:26:39 +00:00
Dave Love
f4db5c4b66 Comment fix. 2000-02-09 20:37:57 +00:00
Kenichi Handa
4ffd487076 (CCL_MAKE_CHAR): New macro.
(ccl_driver) <CCL_TranslateCharacter>: Check the validity of
registers by CCL_MAKE_CHAR before calling translate_char.
<CCL_TranslateCharacterConstTbl> Likewise.
2000-02-09 12:20:01 +00:00
Kenichi Handa
25566a3ca7 *** empty log message *** 2000-02-09 12:18:00 +00:00
Dave Love
69da54ba20 (__EXTENSIONS__): Define. 2000-02-08 10:00:51 +00:00
Gerd Moellmann
f7136ee81a *** empty log message *** 2000-02-07 23:29:31 +00:00
Gerd Moellmann
3af38f6c44 (BASE_PURESIZE): Increase to 650000. 2000-02-07 23:20:53 +00:00
Eli Zaretskii
7768790bd3 (XMenuActivate): Turn off the cursor after displaying
the help message.
2000-02-07 14:18:57 +00:00
Eli Zaretskii
38fd211bc0 Add capabilities se, so, us, ue, md, mh, mb, mr, and me to the fake
termcap entry.
2000-02-07 11:26:42 +00:00