1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-25 05:52:42 -08:00
Commit graph

17387 commits

Author SHA1 Message Date
Stefan Monnier
8aa9100052 (struct buffer_text, struct buffer): Use EMACS_INT for
position and length information.
2003-07-09 19:44:14 +00:00
Stefan Monnier
f93ad4cfac (fix_overlays_before): Fix typo in last commit. 2003-07-09 19:05:41 +00:00
Stefan Monnier
2410d73a13 (overlay_strings, recenter_overlay_lists): Fix typo in eassert in last commit.
(unchain_overlay): New function.
(add_overlay_mod_hooklist): Use AREF.
(copy_overlays, reset_buffer, overlays_at, overlays_in)
(overlay_touches_p, overlay_strings, recenter_overlay_lists)
(fix_overlays_in_range, fix_overlays_before, Fmake_overlay)
(Fmove_overlay, Fdelete_overlay, Foverlay_lists)
(report_overlay_modification, evaporate_overlays, init_buffer_once):
Adjust to new type of overlays_(before|after).
2003-07-09 15:10:47 +00:00
Stefan Monnier
f54253ec86 (mark_object): Mark the new `next' field of overlays.
(mark_buffer): Manually mark the overlays_(after|before) fields.
2003-07-09 14:53:41 +00:00
Stefan Monnier
d2394df5b5 (run_pre_post_conversion_on_str): Use new type for overlays_(before|after). 2003-07-09 14:52:55 +00:00
Stefan Monnier
88006f77c4 (overlays_around): Use new type for overlays_(before|after). 2003-07-09 14:51:57 +00:00
Stefan Monnier
b7253a3e4a (load_overlay_strings): Use new type for overlays_(before|after). 2003-07-09 14:51:29 +00:00
Stefan Monnier
854afafc34 (Finsert_file_contents): Use new type for overlays_(before|after). 2003-07-09 14:50:51 +00:00
Stefan Monnier
3ea2f6f3ef (current_column): Use new type for overlays_(before|after). 2003-07-09 14:50:21 +00:00
Stefan Monnier
fbebdf8131 (signal_before_change, signal_after_change): Use new type for
overlays_(before|after).
2003-07-09 14:50:01 +00:00
Stefan Monnier
3e3137667f (set_point_both): Use new type for overlays_(before|after). 2003-07-09 14:49:10 +00:00
Stefan Monnier
26a59e4208 (temp_output_buffer_setup): Use new type for overlays_(before|after). 2003-07-09 14:48:41 +00:00
Stefan Monnier
87359a3d31 (struct buffer): Change overlays_before and overlays_after
from Lisp lists of overlays to pointers to overlays (internally linked
into lists via the new `next' field).
2003-07-09 14:47:45 +00:00
Stefan Monnier
b01ecbc603 (struct Lisp_Overlay): New field `next'. 2003-07-09 14:46:06 +00:00
Stefan Monnier
0481292973 *** empty log message *** 2003-07-09 14:29:11 +00:00
Kim F. Storm
42f81f6412 *** empty log message *** 2003-07-08 22:09:38 +00:00
Stefan Monnier
a615c6dcea (report_overlay_modification): Don't run hooks while
traversing the list of overlays.
2003-07-08 22:09:23 +00:00
Kim F. Storm
539465b3c9 (x_term_init) [!USE_XIM]: Use `useXIM' resource to turn on XIM. 2003-07-08 22:00:53 +00:00
Stefan Monnier
c2d5b10fc3 (reset_buffer, recenter_overlay_lists)
(adjust_overlays_for_insert, adjust_overlays_for_delete)
(fix_overlays_in_range, Fmake_overlay, Fmove_overlay)
(evaporate_overlays, init_buffer_once): Update use of overlay_center.
(overlays_at, evaporate_overlays, recenter_overlay_lists)
(overlay_strings, fix_overlays_before): Use EMACS_INT for positions.
2003-07-08 21:47:55 +00:00
Kim F. Storm
3ff483be33 (use_xim) [!USE_XIM]: Default to disable XIM if emacs
was configured with --without-xim.
2003-07-08 21:46:58 +00:00
Kim F. Storm
2e7ecf1520 *** empty log message *** 2003-07-08 21:46:21 +00:00
Stefan Monnier
58c8ea3764 (struct buffer): Use an int for overlay_center.
(overlays_at, evaporate_overlays, recenter_overlay_lists)
(overlay_strings, fix_overlays_before): Use EMACS_INT for positions.
2003-07-08 21:45:35 +00:00
Stefan Monnier
b19a5b649a (fast_find_position): Remove unused var. 2003-07-08 21:28:38 +00:00
Stefan Monnier
53abaf5417 (Qexpand_abbrev): New sym.
(syms_of_cmds): Initialize it.
(internal_self_insert): Use it to call expand-abbrev.
2003-07-08 21:25:35 +00:00
Richard M. Stallman
c6de56a0cf *** empty log message *** 2003-07-07 21:06:01 +00:00
Richard M. Stallman
5905025ce4 (reseat_1): Set it->area to TEXT_AREA. 2003-07-07 20:40:57 +00:00
Richard M. Stallman
e1e375966e (Fgarbage_collect): Doc fix. 2003-07-07 20:39:40 +00:00
Kenichi Handa
b93fb365b3 (Fkill_buffer): Clear charpos cache if necessary. 2003-07-07 01:46:10 +00:00
Stefan Monnier
f9b9ccef8e (read_minibuf): UNGCPRO before returning.
(Ftry_completion, Fall_completions): Doc fix.
2003-07-06 23:26:09 +00:00
Stefan Monnier
bfe1a3f79b (live_float_p): Check that p is not past the `floats' array,
now that `floats' is not the last element of the struct any more.
2003-07-06 23:13:20 +00:00
Jason Rumney
ee79d1aa9c (last_clipboard_sequence_number): New variable.
(Fw32_set_clipboard_data, Fw32_get_clipboard_data): Use sequence
number if possible.
2003-07-06 22:01:49 +00:00
Jason Rumney
ccc0fdaa3e (clipboard_sequence_fn): New variable.
(globals_of_w32fns): Initialize it.
2003-07-06 21:58:12 +00:00
Jason Rumney
0390f99158 (ClipboardSequence_Proc): New type. 2003-07-06 21:57:33 +00:00
Stefan Monnier
4698665ff5 (MARKBIT): Remove definition since lisp.h does not compare
MARKBIT and ARRAY_MARK_FLAG any more.
2003-07-06 21:09:31 +00:00
Stefan Monnier
c74abe0afd (XSETMARKBIT): Remove unused macro. 2003-07-06 21:06:45 +00:00
Stefan Monnier
49723c0471 (mark_object): Change arg to only take Lisp_Object rather than *Lisp_Object.
(last_marked): Change accordingly.
(mark_interval, mark_maybe_object, mark_maybe_pointer)
(Fgarbage_collect, mark_glyph_matrix, mark_face_cache, mark_image)
(mark_buffer): Update calls to mark_object.
2003-07-06 19:35:58 +00:00
Stefan Monnier
fcfee3c42e (mark_byte_stack): Update calls to mark_object. 2003-07-06 19:30:10 +00:00
Stefan Monnier
9568e3d87e (sweep_weak_table): Update calls to mark_object. 2003-07-06 19:29:48 +00:00
Stefan Monnier
3ebb872961 (mark_kboards): Update calls to mark_object. 2003-07-06 19:29:26 +00:00
Stefan Monnier
7c88bf91d5 (mark_object): Change prototype to only pass Lisp_Object. 2003-07-06 19:29:04 +00:00
Jason Rumney
5c830368ec Remove #ifdefs from comments, as they are ignored there. 2003-07-06 18:42:55 +00:00
Jason Rumney
ebb8d41053 (struct ablock): Only include padding when there is some. 2003-07-06 14:55:00 +00:00
Jason Rumney
1d660ecaf7 *** empty log message *** 2003-07-06 14:54:30 +00:00
Stefan Monnier
618b5ae40f *** empty log message *** 2003-07-04 20:36:50 +00:00
Stefan Monnier
12ad59853e (struct Lisp_Float): Remove unused field `type'. 2003-07-04 20:19:55 +00:00
Stefan Monnier
ab6780cd2f (ALIGN): Add casts to simplify usage.
(BLOCK_ALIGN, BLOCK_BYTES, ABLOCKS_PADDING, ABLOCKS_SIZE)
(ABLOCKS_BYTES, ABLOCK_ABASE, ABLOCKS_BUSY, ABLOCKS_BASE): New macros.
(struct ablock, struct ablocks): New types.
(free_ablock): New global var.
(lisp_align_malloc, lisp_align_free): New functions.
(FLOAT_BLOCK_SIZE): Redefine in terms of BLOCK_BYTES.
(struct float_block): Reorder and add gcmarkbits.
(GETMARKBIT, SETMARKBIT, UNSETMARKBIT, FLOAT_BLOCK, FLOAT_INDEX)
(FLOAT_MARKED_P, FLOAT_MARK, FLOAT_UNMARK): New macros.
(init_float, make_float): Use lisp_align_malloc.
(free_float, live_float_p): Don't use `type' any more.
(make_float): Use FLOAT_UNMARK to access to mark bit.
(mark_maybe_object, mark_maybe_pointer, survives_gc_p):
Use FLOAT_MARKED_P to access the mark bit.
(pure_alloc): Simplify use of ALIGN.
(mark_object): Use FLOAT_MARK to access the mark bit.
(gc_sweep): Use new macros to access the float's mark bit.
(init_alloc_once): Init free_ablock.
2003-07-04 20:19:06 +00:00
Stefan Monnier
349bd9eda2 (mark_buffer): Fix missed buffer->name in last patch. 2003-06-27 22:54:26 +00:00
Stefan Monnier
00baad70aa (MARKBIT): Update comment. 2003-06-27 22:53:35 +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
Richard M. Stallman
e81043aa06 (BASE_PURESIZE): Increment base size. 2003-06-27 02:25:31 +00:00