summaryrefslogtreecommitdiff
path: root/src/alloc.c
AgeCommit message (Collapse)Author
1993-03-02Use the term `scroll bar', instead of `scrollbar'.Jim Blandy
* alloc.c, frame.c, frame.h, indent.c, keyboard.c, keyboard.h, lisp.h, term.c, termhooks.h, window.c, window.h, xdisp.c, xfns.c, xterm.c, xterm.h: Terminology changed.
1993-02-25(mark_interval): Add ignored arg.Richard M. Stallman
(mark_interval_tree): Pass new arg to traverse_intervals.
1993-02-23* alloc.c (make_pure_float): Assure that PUREBEG + pureptr isJim Blandy
aligned, not pureptr itself.
1993-02-22* alloc.c (make_pure_float): Align pureptr according to __alignof,Jim Blandy
if it's available, or sizeof (struct Lisp_Float) if it's not.
1993-02-22* alloc.c (make_pure_float): Align pureptr on a sizeof (double)Jim Blandy
boundary before allocating the float. * alloc.c: Add description lines to the top of each page. * alloc.c (mark_interval_tree): Remove spurious & in front of function name. * alloc.c (UNMARK_BALANCE_INTERVALS): Fix to accomodate compilers other than GCC, which do not allow casts on the LHS of an assignment. * alloc.c (mark_object, mark_buffer): Remove some unused variables.
1993-02-20(Fmemory_limit): Doc fix.Richard M. Stallman
1993-01-14Make scrollbar structures into lisp objects, so that they can beJim Blandy
GC'd; this allows windows and scrollbars can refer to each other without worrying about dangling pointers. * xterm.h (struct x_display): vertical_scrollbars and judge_timestamp members deleted. (struct scrollbar): Redesigned to be a template for a Lisp_Vector. (SCROLLBAR_VEC_SIZE, XSCROLLBAR, SCROLLBAR_PACK, SCROLLBAR_UNPACK, SCROLLBAR_X_WINDOW, SET_SCROLLBAR_X_WINDOW, VERTICAL_SCROLLBAR_INSIDE_WIDTH, VERTICAL_SCROLLBAR_TOP_RANGE, VERTICAL_SCROLLBAR_INSIDE_HEIGHT, VERTICAL_SCROLLBAR_MIN_HANDLE): New macros, to help deal with the lispy structures, and deal with the graphics. * frame.h (WINDOW_VERTICAL_SCROLLBAR): Macro deleted. (struct frame): New fields `scrollbars' and `condemned_scrollbars', for use by the scrollbar implementation. [MULTI_FRAME and not MULTI_FRAME] (FRAME_SCROLLBARS, FRAME_CONDEMNED_SCROLLBARS): Accessors for the new field. * window.h (struct window): Doc fix for vertical_scrollbar field. * frame.c (make_frame): Initialize the `scrollbars' and `condemned_scrollbars' fields of the new frame. * alloc.c (mark_object): Mark the `scrollbars' and `condemned_scrollbars' slots of frames. * xterm.c (x_window_to_scrollbar): Scrollbars are chained on frames' scrollbar field, not their x.display->vertical_scrollbars field. (x_scrollbar_create, x_scrollbar_set_handle, x_scrollbar_move, x_scrollbar_remove, XTset_vertical_scrollbar, XTcondemn_scrollbars, XTredeem_scrollbar, XTjudge_scrollbars, x_scrollbar_expose, x_scrollbar_handle_click, x_scrollbar_handle_motion): Substantially rewritten to correct typos and brainos, and to accomodate the lispy structures.
1992-11-07* alloc.c: #include "frame.h" unconditionally. frame.h does theJim Blandy
right thing when MULTI_FRAME isn't defined.
1992-10-31* alloc.c (Frope_elt): Declare arguments to be Lisp_Objects.Jim Blandy
1992-10-14* alloc.c (mark_interval_tree): Pass 0 as initial depth argumentJoseph Arceneaux
to traverse_intervals().
1992-10-07* alloc.c (Fmemory_limit): Explain why we divide by 1024.Jim Blandy
Don't bother trying to display the size in the minibuffer.
1992-10-03* alloc.c (Fmemory_limit): New function.Jim Blandy
(syms_of_alloc): Defsubr it.
1992-10-03Fixed typos.Joseph Arceneaux
1992-10-02* alloc.c: #include "intervals.h".Joseph Arceneaux
(init_intervals, make_interval, mark_interval, mark_interval_tree): New functions conditionally defined. (make_uninit_string): Call INITIALIZE_INTERVAL. (INIT_INTERVALS, UNMARK_BALANCE_INTERVALS, MARK_INTERVAL_TREE): New macros, conditionally defined. (mark_object): Call MARK_INTERVAL_TREE in case Lisp_String. (gc_sweep): If text properties are in use, place all unmarked intervals on the free list. Call UNMARK_BALANCE_INTERVALS on `buffer->intervals' when unmarking `buffer'. (compact_strings): Include INTERVAL_PTR_SIZE in calculation for target of bcopy when relocating strings. (init_alloc_once): Call INIT_INTERVALS. (make_pure_string): Include INTERVAL_PTR_SIZE in calculation of `size'.
1992-10-01(mark_object): Avoid car recursion on cons with nil in cdr.Richard M. Stallman
Avoid recursion on constants-vector of a compiled function.
1992-09-19(mark_object): Save last 500 values of objptr.Richard M. Stallman
Check for clobberage of ptr, when marking a vector.
1992-09-13* alloc.c (mark_object): mark a symbol's name after marking itsJim Blandy
value, function, and property list rather than before; this way, symbols' names are readable, giving us a chance to detect some kinds of heap corruption.
1992-08-19* alloc.c (Fmake_marker): Removed the test for being called from aJim Blandy
signal handler. The original bug is probably gone, the test wasn't written portably, and it should probably go somewhere else anyway - say, funcall or eval.
1992-08-14* alloc.c (Fgarbage_collect): Doc fix.Jim Blandy
1992-07-13entered into RCSJim Blandy
1992-06-24*** empty log message ***Jim Blandy
1992-05-18*** empty log message ***Jim Blandy
1992-05-10*** empty log message ***Jim Blandy
1992-05-01*** empty log message ***Jim Blandy
1992-03-25*** empty log message ***Noah Friedman
1992-03-20*** empty log message ***Jim Blandy
1992-01-13*** empty log message ***Jim Blandy
1991-11-26*** empty log message ***Jim Blandy
1991-07-28*** empty log message ***Jim Blandy
1991-07-26*** empty log message ***Jim Blandy
1991-06-26Initial revisionJim Blandy