aboutsummaryrefslogtreecommitdiffstats
path: root/src/alloc.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* (mark_buffer): Fix missed buffer->name in last patch.Stefan Monnier2003-06-271-1/+1
|
* (VECTOR_MARK, VECTOR_UNMARK, VECTOR_MARKED_P): New macros.Stefan Monnier2003-06-271-54/+47
| | | | | | | | | | | (GC_STRING_BYTES): Don't mask markbit (it's only used on `size'). (allocate_buffer): Move. (string_bytes): Don't mask markbit of `size_byte'. (mark_maybe_object, mark_maybe_pointer, Fgarbage_collect) (mark_object, mark_buffer, survives_gc_p, gc_sweep): Use the `size' field of buffers (rather than the `name' field) for the mark bit, as is done for all other vectorlike objects. Use the new macros to access the mark bit of vectorlike objects.
* (survives_gc_p): Simplify.Stefan Monnier2003-06-261-35/+4
| | | | (Fmake_marker, free_marker, gc_sweep): Update for new types.
* (make_interval, Fmake_symbol, allocate_misc):Stefan Monnier2003-06-251-118/+41
| | | | | | | | | Initialize the new field `gcmarkbit'. (mark_interval, MARK_INTERVAL_TREE): Use the new `gcmarkbit' field. (mark_interval_tree): Don't mark the tree separately from the nodes. (UNMARK_BALANCE_INTERVALS): Don't unmark the tree. (mark_maybe_object, mark_maybe_pointer, Fgarbage_collect, mark_object) (survives_gc_p, gc_sweep): Use new `gcmarkbit' fields.
* (mark_kboards): Move to keyboard.c.Stefan Monnier2003-06-151-29/+1
|
* Comment.Dave Love2003-05-291-1/+7
|
* (Fgarbage_collect): Fix last change.Andreas Schwab2003-05-261-3/+7
|
* (Fgarbage_collect): Remove `unused var tail' warning.Stefan Monnier2003-05-251-10/+12
|
* (Fgarbage_collect): Cast pointers into specpdl to avoid GCC warning.Richard M. Stallman2003-05-171-2/+3
|
* (abort_on_gc): New variable.Richard M. Stallman2003-04-301-0/+9
| | | | (Fgarbage_collect): Abort if abort_on_gc is set.
* (Fmake_byte_code): Improve the `usage' string.Stefan Monnier2003-04-171-1/+3
|
* (VALIDATE_LISP_STORAGE): Macro deleted. All calls deleted.Richard M. Stallman2003-04-061-25/+17
| | | | (lisp_malloc): Do the work here directly.
* (make_string_from_bytes): Add `const' for the argKenichi Handa2003-03-231-2/+2
| | | | | CONTENTS. (make_specified_string): Likewise.
* (make_specified_string): Fix previous change.Kenichi Handa2003-03-191-1/+10
|
* (Fgarbage_collect): Don't use XSETFLOAT.Stefan Monnier2003-02-221-3/+3
|
* Trailing whitespace deleted.Juanma Barranquero2003-02-041-140/+140
|
* (Vgc_elapsed, gcs_done): New variables.Dave Love2003-01-301-4/+29
| | | | | (Fgarbage_collect): Use them. (init_alloc, syms_of_alloc): Set them up.
* (mark_stack) [!GC_LISP_OBJECT_ALIGNMENT && __GNUC__]:Dave Love2003-01-241-0/+7
| | | | Use __alignof__.
* (Fgc_status): Print zombie list.Dave Love2003-01-211-5/+10
| | | | | | | (mark_maybe_object) [GC_MARK_STACK==GC_USE_GCPROS_CHECK_ZOMBIES]: Fix assignment of zombies. (Fgarbage_collect) [GC_MARK_STACK==GC_USE_GCPROS_CHECK_ZOMBIES]: Don't take car of non-cons.
* GTK versionJan Djärv2003-01-191-0/+7
|
* (pure_alloc): Rewritten and simplified.Kim F. Storm2003-01-121-28/+16
|
* (pure_alloc): Corrected last change; now align theKim F. Storm2003-01-121-9/+12
| | | | | pointer and adjust the size rather than aligning the size and adjusting the pointer. Use a goto to handle overflow exception.
* (pure_alloc): Correct alignment for Lisp_Floats.Andreas Schwab2003-01-101-2/+7
|
* (make_save_value): New function.Richard M. Stallman2003-01-061-0/+20
|
* Comment change.Richard M. Stallman2002-12-211-1/+6
|
* (SETJMP_WILL_NOT_WORK): Add note.Dave Love2002-11-141-0/+8
|
* (Fgarbage_collect): Use pop_message_unwind.Richard M. Stallman2002-09-111-1/+1
|
* (display_malloc_warning): Use display-warning.Richard M. Stallman2002-09-011-22/+10
| | | | | | (malloc_warning_1): Function deleted. [ALLOC_DEBUG]: #undef INLINE.
* (mark_object): Detect long lists for debugging.Richard M. Stallman2002-08-071-0/+11
| | | | (mark_object_loop_halt): New variable.
* (xstrdup, make_string, make_unibyte_string)Ken Raeburn2002-07-161-5/+5
| | | | | (make_multibyte_string, build_string): String pointer args now point to const.
* * alloc.c (make_event_array): Use SSET for storing into a string.Ken Raeburn2002-07-161-2/+2
|
* Most uses of XSTRING combined with STRING_BYTES or indirection changed toKen Raeburn2002-07-151-17/+17
| | | | | SCHARS, SBYTES, STRING_INTERVALS, SREF, SDATA; explicit size_byte references left unchanged for now.
* (Vmemory_full): New variable.Richard M. Stallman2002-07-111-6/+20
| | | | | | (Vmemory_signal_data): Renamed from memory_signal_data. Uses changed. (syms_of_alloc): Defvar them. (memory_full, buffer_memory_full): Set Vmemory_full.
* Use macro SPECPDL_INDEX.Juanma Barranquero2002-07-111-1/+1
|
* Rename BINDING_STACK_SIZE to SPECPDL_INDEX.Juanma Barranquero2002-07-101-1/+1
|
* * alloc.c (Fmake_symbol): Set symbol xname field instead of name.Ken Raeburn2002-05-201-6/+6
| | | | | (mark_object, gc_sweep): Use symbol xname field and XSTRING instead of name field.
* Patch for building Emacs on Mac OS X. April 26, 2002. See ChangeLog,Andrew Choi2002-04-261-1/+1
| | | | lisp/ChangeLog, and src/ChangeLog for list of changes.
* (check_pure_size): Update the comment.Stefan Monnier2002-03-251-1/+1
|
* (check_pure_size): Only output a warning.Stefan Monnier2002-03-221-2/+2
|
* (mark_kboards): Mark echo_string.Gerd Moellmann2002-03-061-0/+1
|
* Change defvar_int def and vars to use EMACS_INT instead of just int.Stefan Monnier2002-03-041-12/+12
|
* Remove unwanted changes.Andreas Schwab2002-02-151-12/+12
|
* (NSTATICS): Increase to 1280.Andreas Schwab2002-02-151-13/+13
|
* (Vx_alt_keysym, Vx_hyper_keysym, Vx_meta_keysym)Kai Großjohann2002-02-151-1/+1
| | | | | | | | (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.
* (SETJMP_WILL_LIKELY_WORK, SETJMP_WILL_NOT_WORK):Kim F. Storm2002-02-081-2/+2
| | | | Changed mail addresses to emacs-devel@gnu.org.
* Fix thinko in last change.Andreas Schwab2002-02-071-1/+1
|
* (mark_stack): Don't assume sizeof (Lisp_Object) is 4.Andreas Schwab2002-02-071-11/+6
|
* Comment change.Richard M. Stallman2002-01-271-0/+4
|
* Add a comment.Gerd Moellmann2001-12-291-0/+11
|
* (pure_alloc): After overflow, allocate just a small block.Richard M. Stallman2001-12-161-2/+5
|