Stefan Monnier
349bd9eda2
(mark_buffer): Fix missed buffer->name in last patch.
2003-06-27 22:54:26 +00:00
Stefan Monnier
3ef06d12cd
(VECTOR_MARK, VECTOR_UNMARK, VECTOR_MARKED_P): New macros.
...
(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.
2003-06-27 21:54:38 +00:00
Stefan Monnier
ef89c2ce88
(survives_gc_p): Simplify.
...
(Fmake_marker, free_marker, gc_sweep): Update for new types.
2003-06-26 23:16:05 +00:00
Stefan Monnier
2336fe58df
(make_interval, Fmake_symbol, allocate_misc):
...
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.
2003-06-25 23:28:14 +00:00
Stefan Monnier
6793bc6322
(mark_kboards): Move to keyboard.c.
2003-06-15 21:49:23 +00:00
Dave Love
d36b182f57
Comment.
2003-05-29 18:36:16 +00:00
Andreas Schwab
d22be14d73
(Fgarbage_collect): Fix last change.
2003-05-26 22:03:17 +00:00
Stefan Monnier
acf5f7d34e
(Fgarbage_collect): Remove `unused var tail' warning.
2003-05-25 17:40:03 +00:00
Richard M. Stallman
fa42e88f9b
(Fgarbage_collect): Cast pointers into specpdl to avoid GCC warning.
2003-05-17 12:40:32 +00:00
Richard M. Stallman
3de0effb43
(abort_on_gc): New variable.
...
(Fgarbage_collect): Abort if abort_on_gc is set.
2003-04-30 12:04:39 +00:00
Stefan Monnier
92cc28b2f8
(Fmake_byte_code): Improve the `usage' string.
2003-04-17 21:49:09 +00:00
Richard M. Stallman
918a23a7d9
(VALIDATE_LISP_STORAGE): Macro deleted. All calls deleted.
...
(lisp_malloc): Do the work here directly.
2003-04-06 20:27:19 +00:00
Kenichi Handa
fcbb914bcd
(make_string_from_bytes): Add `const' for the arg
...
CONTENTS.
(make_specified_string): Likewise.
2003-03-23 02:07:13 +00:00
Kenichi Handa
229b28c432
(make_specified_string): Fix previous change.
2003-03-19 12:24:43 +00:00
Stefan Monnier
69ab9f854e
(Fgarbage_collect): Don't use XSETFLOAT.
2003-02-22 22:15:31 +00:00
Juanma Barranquero
177c0ea743
Trailing whitespace deleted.
2003-02-04 14:56:31 +00:00
Dave Love
2c5bd60800
(Vgc_elapsed, gcs_done): New variables.
...
(Fgarbage_collect): Use them.
(init_alloc, syms_of_alloc): Set them up.
2003-01-30 14:15:58 +00:00
Dave Love
422eec7eb8
(mark_stack) [!GC_LISP_OBJECT_ALIGNMENT && __GNUC__]:
...
Use __alignof__.
2003-01-24 12:24:33 +00:00
Dave Love
83fc9c63ea
(Fgc_status): Print zombie list.
...
(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.
2003-01-21 16:56:38 +00:00
Jan Djärv
488dd4c404
GTK version
2003-01-19 21:50:03 +00:00
Kim F. Storm
441174202f
(pure_alloc): Rewritten and simplified.
2003-01-12 15:40:23 +00:00
Kim F. Storm
035261dccc
(pure_alloc): Corrected last change; now align the
...
pointer and adjust the size rather than aligning the size and
adjusting the pointer. Use a goto to handle overflow exception.
2003-01-12 00:40:09 +00:00
Andreas Schwab
3a8d08994a
(pure_alloc): Correct alignment for Lisp_Floats.
2003-01-10 20:08:54 +00:00
Richard M. Stallman
42172a6ba0
(make_save_value): New function.
2003-01-06 00:45:45 +00:00
Richard M. Stallman
9f7d921018
Comment change.
2002-12-21 17:59:27 +00:00
Dave Love
30f637f839
(SETJMP_WILL_NOT_WORK): Add note.
2002-11-14 14:12:12 +00:00
Richard M. Stallman
c55b0da6b8
(Fgarbage_collect): Use pop_message_unwind.
2002-09-11 01:58:22 +00:00
Richard M. Stallman
4455ad75c5
(display_malloc_warning): Use display-warning.
...
(malloc_warning_1): Function deleted.
[ALLOC_DEBUG]: #undef INLINE.
2002-09-01 13:37:41 +00:00
Richard M. Stallman
1342fc6f04
(mark_object): Detect long lists for debugging.
...
(mark_object_loop_halt): New variable.
2002-08-07 14:37:32 +00:00
Ken Raeburn
943b873eba
(xstrdup, make_string, make_unibyte_string)
...
(make_multibyte_string, build_string): String pointer args now
point to const.
2002-07-16 19:47:52 +00:00
Ken Raeburn
46e7e6b0bd
* alloc.c (make_event_array): Use SSET for storing into a string.
2002-07-16 15:48:47 +00:00
Ken Raeburn
d5db40779d
Most uses of XSTRING combined with STRING_BYTES or indirection changed to
...
SCHARS, SBYTES, STRING_INTERVALS, SREF, SDATA; explicit size_byte references
left unchanged for now.
2002-07-15 00:01:34 +00:00
Richard M. Stallman
74a54b0477
(Vmemory_full): New variable.
...
(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-11 17:44:22 +00:00
Juanma Barranquero
aed1337830
Use macro SPECPDL_INDEX.
2002-07-11 14:18:02 +00:00
Juanma Barranquero
331379bfa7
Rename BINDING_STACK_SIZE to SPECPDL_INDEX.
2002-07-10 08:45:24 +00:00
Ken Raeburn
8fe5665d5a
* alloc.c (Fmake_symbol): Set symbol xname field instead of name.
...
(mark_object, gc_sweep): Use symbol xname field and XSTRING
instead of name field.
2002-05-20 08:04:52 +00:00
Andrew Choi
e0f712ba55
Patch for building Emacs on Mac OS X. April 26, 2002. See ChangeLog,
...
lisp/ChangeLog, and src/ChangeLog for list of changes.
2002-04-26 23:39:06 +00:00
Stefan Monnier
852f8cdc7e
(check_pure_size): Update the comment.
2002-03-25 22:38:55 +00:00
Stefan Monnier
a4d35afd2f
(check_pure_size): Only output a warning.
2002-03-22 22:53:23 +00:00
Gerd Moellmann
e60b0c4402
(mark_kboards): Mark echo_string.
2002-03-06 15:56:17 +00:00
Stefan Monnier
31ade731e6
Change defvar_int def and vars to use EMACS_INT instead of just int.
2002-03-04 23:41:00 +00:00
Andreas Schwab
bdf67c5954
Remove unwanted changes.
2002-02-15 21:25:41 +00:00
Andreas Schwab
382d38fa68
(NSTATICS): Increase to 1280.
2002-02-15 21:19:08 +00:00
Kai Großjohann
98659da6e9
(Vx_alt_keysym, Vx_hyper_keysym, Vx_meta_keysym)
...
(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-15 09:36:05 +00:00
Kim F. Storm
d191623b30
(SETJMP_WILL_LIKELY_WORK, SETJMP_WILL_NOT_WORK):
...
Changed mail addresses to emacs-devel@gnu.org .
2002-02-08 21:23:53 +00:00
Andreas Schwab
24452cd56a
Fix thinko in last change.
2002-02-07 11:10:47 +00:00
Andreas Schwab
630909a589
(mark_stack): Don't assume sizeof (Lisp_Object) is 4.
2002-02-07 11:05:08 +00:00
Richard M. Stallman
94a877eff7
Comment change.
2002-01-27 22:53:26 +00:00
Gerd Moellmann
71cf5fa051
Add a comment.
2001-12-29 12:47:29 +00:00
Richard M. Stallman
8322ce0491
(pure_alloc): After overflow, allocate just a small block.
2001-12-16 21:52:36 +00:00