summaryrefslogtreecommitdiff
path: root/src/alloc.c
AgeCommit message (Collapse)Author
2002-08-07(mark_object): Detect long lists for debugging.Richard M. Stallman
(mark_object_loop_halt): New variable.
2002-07-26(Fmake_string): Use ASCII_CHAR_P, not SINGLE_BYTE_CHAR_P.Kenichi Handa
2002-07-16(xstrdup, make_string, make_unibyte_string)Ken Raeburn
(make_multibyte_string, build_string): String pointer args now point to const.
2002-07-16* alloc.c (make_event_array): Use SSET for storing into a string.Ken Raeburn
2002-07-15Most uses of XSTRING combined with STRING_BYTES or indirection changed toKen Raeburn
SCHARS, SBYTES, STRING_INTERVALS, SREF, SDATA; explicit size_byte references left unchanged for now.
2002-07-11(Vmemory_full): New variable.Richard M. Stallman
(Vmemory_signal_data): Renamed from memory_signal_data. Uses changed. (syms_of_alloc): Defvar them. (memory_full, buffer_memory_full): Set Vmemory_full.
2002-07-11Use macro SPECPDL_INDEX.Juanma Barranquero
2002-07-10Rename BINDING_STACK_SIZE to SPECPDL_INDEX.Juanma Barranquero
2002-05-20* alloc.c (Fmake_symbol): Set symbol xname field instead of name.Ken Raeburn
(mark_object, gc_sweep): Use symbol xname field and XSTRING instead of name field.
2002-04-26Patch for building Emacs on Mac OS X. April 26, 2002. See ChangeLog,Andrew Choi
lisp/ChangeLog, and src/ChangeLog for list of changes.
2002-03-25(check_pure_size): Update the comment.Stefan Monnier
2002-03-22(check_pure_size): Only output a warning.Stefan Monnier
2002-03-06(mark_kboards): Mark echo_string.Gerd Moellmann
2002-03-04Change defvar_int def and vars to use EMACS_INT instead of just int.Stefan Monnier
2002-03-01Include "character.h" instead of "charset.h".Kenichi Handa
(Fmake_char_table): Moved to chartab.c. (make_sub_char_table): Likewise. (syms_of_alloc): Remove defsubr for Smake_char_table.
2002-02-15Remove unwanted changes.Andreas Schwab
2002-02-15(NSTATICS): Increase to 1280.Andreas Schwab
2002-02-15(Vx_alt_keysym, Vx_hyper_keysym, Vx_meta_keysym)Kai Großjohann
(Vx_super_keysym): New variables. (syms_of_xterm): DEFVAR_LISP them. (x_x_to_emacs_modifiers, x_emacs_to_x_modifiers): Use the variables to determine which keys to use for the various modifiers.
2002-02-08(SETJMP_WILL_LIKELY_WORK, SETJMP_WILL_NOT_WORK):Kim F. Storm
Changed mail addresses to emacs-devel@gnu.org.
2002-02-07Fix thinko in last change.Andreas Schwab
2002-02-07(mark_stack): Don't assume sizeof (Lisp_Object) is 4.Andreas Schwab
2002-01-27Comment change.Richard M. Stallman
2001-12-29Add a comment.Gerd Moellmann
2001-12-16(pure_alloc): After overflow, allocate just a small block.Richard M. Stallman
2001-12-07(inhibit_garbage_collection): Don't exceed value an int can hold.Andreas Schwab
2001-12-05(Fgarbage_collect): Shrink buffer gaps that areAndrew Innes
excessively large.
2001-11-13(Flist): Reindent.Pavel Janík
(Fvector): Likewise.
2001-11-02Update usage of CHECK_ macros (remove unused second argument).Pavel Janík
2001-10-21(Fmake_byte_code, Fvector, Flist): Add usage: string to doc string.Miles Bader
2001-10-21Reindent DEFUNs with doc: keywords.Pavel Janík
2001-10-17Change doc-string comments to `new style' [w/`doc:' keyword].Miles Bader
2001-10-16Avoid (most) uses of XCAR/XCDR as lvalues, for flexibility in experimentingKen Raeburn
with lisp system changes.
2001-10-14Put doc strings in comments.Gerd Moellmann
2001-10-12(mark_interval_tree): Use traverse_intervals_noorder.Stefan Monnier
2001-10-08Don't define min/max.Gerd Moellmann
2001-10-06(inhibit_garbage_collection): Simplify.Gerd Moellmann
(Fmemory_use_counts): Ditto.
2001-10-05(purebeg, pure_size, pure_bytes_used_before_overflow):Gerd Moellmann
New variables. (init_alloc_once): Initialize new variables. (PURE_POINTER_P): Use new variables. (pure_alloc): If pure storage overflows, allocate from the heap. (check_pure_size): New function. (Fgarbage_collect): Don't GC if pure storage has overflowed. (Vpost_gc_hook, Qpost_gc_hook): New variables. (syms_of_alloc): DEFVAR_LISP post-gc-hook, initialize Qpost_gc_hook. (Fgarbage_collect): Run post-gc-hook. (Fmake_symbol): Adapt to changes of struct Lisp_Symbol.
2001-09-15Fix a typo in a comment. From Pavel Janik.Eli Zaretskii
2001-09-10allocate_buffer): Call VALIDATE_LISP_STORAGE.Gerd Moellmann
2001-08-06Remove init_stack static declaration.Gerd Moellmann
2001-03-29(live_string_p, live_cons_p, live_symbol_p)Gerd Moellmann
(live_float_p, live_misc_p): Return 1 only if the offset of the pointer in its block is >= 0.
2001-03-02(mark_maybe_pointer): Fix a typo in a comment.Eli Zaretskii
2001-02-28(toplevel): Include process.h.Gerd Moellmann
(enum mem_type): Add MEM_TYPE_PROCESS, MEM_TYPE_HASH_TABLE, MEM_TYPE_FRAME, MEM_TYPE_WINDOW enumerators. (allocate_vectorlike): Make it a static function. Add parameter TYPE. (allocate_vector, allocate_hash_table, allocate_window) (allocate_frame, allocate_process, allocate_other_vector): New functions. (Fmake_vector): Call allocate_vector instead of allocate_vectorlike. (mark_maybe_pointer): New function. (mark_memory): Also mark Lisp data to which only pointers remain and not Lisp_Objects. (min_heap_address, max_heap_address): New variables. (mem_find): Return MEM_NIL if START is below min_heap_address or above max_heap_address. (mem_insert): Compute min_heap_address and max_heap_address.
2001-01-31(Fmake_list): Add a QUIT in the loop; unroll the loop.Gerd Moellmann
2001-01-28* alloc.c (allocate_string) [macintosh]: Call check_string_bytesAndrew Choi
only if current_sblock has been initialized. * frame.c (Fdelete_frame) [macintosh]: Allow deletion of initial terminal frame even if it is the only visible frame. * src/macfns.c (QCconversion): Replaces QCalgorithm. * src/macfns.c (image_ascent, lookup_image): Adapt to change of image margins. * src/macterm.c (x_produce_image_glyph, x_draw_image_foreground) (x_draw_image_relief, x_draw_image_foreground_1) (x_draw_image_glyph_string): Adapt to change of image margins. * src/macterm.c (mac_to_x_fontname): Change charset name of Simplify Chinese fonts from gb2312 to gb2312.1980 and Korean fonts from ksc5601 to ksc5601.1989.
2001-01-09(CHECK_STRING_BYTES) [GC_CHECK_STRING_BYTES]: New macro.Gerd Moellmann
(check_sblock, string_bytes) [GC_CHECK_STRING_BYTES]: New functions. (check_string_bytes) [GC_CHECK_STRING_BYTES]: Add parameter ALL_P. (allocate_string) [GC_CHECK_STRING_BYTES]: Always check strings in the current sblock. (mark_object) [GC_CHECK_STRING_BYTES]: Use CHECK_STRING_BYTES. (gc_sweep) [GC_CHECK_STRING_BYTES]: Call check_string_bytes after sweeping strings, and at the end. (GC_CHECK_STRING_BYTES): Moved to lisp.h.
2001-01-09(Fgarbage_collect): Use a record_unwind_protect toGerd Moellmann
ensure that pop_message is called.
2000-12-07(gc_sweep): Add comment.Stefan Monnier
2000-12-06(gc_sweep): Prevent symbols read during loadupGerd Moellmann
from being freed.
2000-12-06(Fgarbage_collect): Dox fix. Return a list asGerd Moellmann
advertized by the function documentation.