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
Richard M. Stallman
9c3521e093
(fast_find_position): Enable Gerd's new definition.
2003-06-27 02:24:29 +00:00
Richard M. Stallman
5b4907d013
(xim_initialize): Undo previous change.
2003-06-27 02:21:51 +00:00
Stefan Monnier
2d0834cc27
(Fset_window_dedicated_p): Simplify.
...
(display_buffer_1): Don't raise the win from which minibuf was entered.
(temp_output_buffer_show): Don't assume BEG == 1. Simplify.
(Fminibuffer_selected_window): Simplify.
(delete_window): Update for new types.
2003-06-26 23:20:50 +00:00
Stefan Monnier
cfea0546e8
(message_dolog): Update for new types.
2003-06-26 23:18:07 +00:00
Stefan Monnier
5e097e002b
(buf_charpos_to_bytepos, buf_bytepos_to_charpos)
...
(Fset_marker, set_marker_restricted, set_marker_both, unchain_marker)
(set_marker_restricted_both, Fbuffer_has_markers_at, count_markers):
Update for new types.
2003-06-26 23:17:50 +00:00
Stefan Monnier
dab0b04d49
(check_markers, adjust_markers_for_delete)
...
(adjust_markers_for_insert, adjust_markers_for_replace)
(prepare_to_modify_buffer, RESTORE_VALUE): Update for new types.
2003-06-26 23:17:29 +00:00
Stefan Monnier
12038f9fc9
(save_excursion_restore, transpose_markers): Update for new types.
2003-06-26 23:17:13 +00:00
Stefan Monnier
65745fadd7
(set_buffer_internal_1): Test CONSP for lists.
...
(Fget_buffer_create, Fkill_buffer, Fset_buffer_multibyte): Update to new types.
2003-06-26 23:16:44 +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
568c168cc7
(struct buffer_text): Lisp_Object `markers' => Lisp_Marker.
2003-06-26 23:15:25 +00:00
Stefan Monnier
c0ac2f4ab0
(unchain_marker): Lisp_Object arg => Lisp_Marker.
...
(struct Lisp_Marker): Lisp_Object `chain' => Lisp_Marker `next'.
2003-06-26 23:15:08 +00:00
Jan Djärv
a5f696acd2
Fix some of the font/face problems.
2003-06-26 21:18:45 +00:00
Jan Djärv
d54ae3d846
Add XRegisterIMInstantiateCallback_arg6 so it will be defined.
2003-06-26 21:08:13 +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
a84f89d510
(struct interval, struct Lisp_Symbol, struct Lisp_Free)
...
(struct Lisp_Marker, struct Lisp_Intfwd, struct Lisp_Boolfwd)
(struct Lisp_Kboard_Objfwd, struct Lisp_Save_Value)
(struct Lisp_Buffer_Local_Value, struct Lisp_Overlay)
(struct Lisp_Objfwd, struct Lisp_Buffer_Objfwd): Add `gcmarkbit' field.
2003-06-25 23:16:30 +00:00
Dave Love
bcea31c2b6
(xim_initialize): Use XRegisterIMInstantiateCallback_arg6.
2003-06-24 09:43:04 +00:00
Dave Love
fcf08f5b7d
Test HAVE_SYS__MBSTATE_H, not __hpux. Merge changes
...
from gnulib.
2003-06-24 09:42:14 +00:00
Richard M. Stallman
2601f59e10
(wait_reading_process_input): Don't signal SIGIO in batch mode.
2003-06-22 00:04:49 +00:00
Richard M. Stallman
0c328a0ef5
(Fwrite_region): Alternate messages for append and partial write.
2003-06-22 00:04:10 +00:00
Richard M. Stallman
f1871a7dc8
(read_key_sequence): When converting upcase fn key to
...
downcase, update fkey and keytran so `backspace' gets translated.
(read_avail_input): Don't signal SIGHUP in batch mode.
2003-06-22 00:01:42 +00:00
Glenn Morris
595f5aa5ee
Entry that should have been made last month.
2003-06-20 10:14:31 +00:00
Kenichi Handa
b5d2c62196
*** empty log message ***
2003-06-17 11:14:25 +00:00
Kenichi Handa
0c6db68bc0
(xselect.o): Don't depend on charset.h, coding.h, composite.h.
2003-06-17 10:52:01 +00:00
Kenichi Handa
e57ad4d894
Don't include cahrset.h, coding.h, composite.h.
...
(Qforeign_selection): New variable.
(syms_of_xselect): Intern and static it.
(selection_data_to_lisp_data): Return a unibyte string made from
data with `foreign-selection' text property.
2003-06-17 10:51:11 +00:00
Stefan Monnier
6793bc6322
(mark_kboards): Move to keyboard.c.
2003-06-15 21:49:23 +00:00