summaryrefslogtreecommitdiff
path: root/src/intervals.c
Commit message (Collapse)AuthorAgeFilesLines
* (set_point): Convert call2 arguments to Lisp_Integer.Richard M. Stallman1997-07-121-4/+8
|
* Fix bugs with inappropriate mixing of Lisp_Object with int.Richard M. Stallman1997-07-041-7/+7
|
* (find_interval): No longer inline.Richard M. Stallman1997-06-021-1/+1
|
* (move_if_not_intangible): Fix previous change.Richard M. Stallman1997-05-311-2/+2
|
* (move_if_not_intangible): New function.Richard M. Stallman1997-05-311-0/+56
|
* Update copyright year.Richard M. Stallman1997-04-151-1/+1
|
* (update_interval): New function.Richard M. Stallman1997-04-151-0/+39
|
* (set_point): Use virtual bounds, not real bounds,Richard M. Stallman1996-12-201-4/+36
| | | | | in the abort test for POSITION. Skip the intangibility test if POSITION is at either end of buffer.
* (set_point): Use virtual bounds, not real bounds,Richard M. Stallman1996-12-181-2/+5
| | | | | in the abort test for POSITION. Skip the intangibility test if POSITION is at either end of buffer.
* (merge_properties_sticky): Don't discard explicit nilRichard M. Stallman1996-12-171-12/+24
| | | | | properties. Don't put on a front-sticky property if we inherit one from the category that does the job.
* (set_point): Check for intangible properties on overlays.Richard M. Stallman1996-12-151-42/+55
|
* (get_local_map): Call indirect-function.Richard M. Stallman1996-09-041-0/+3
|
* (copy_intervals_to_string): Take arg as buffer.Richard M. Stallman1996-09-041-2/+3
|
* (balance_intervals_internal): Recurse directly.Erik Naggum1996-07-201-2/+2
|
* Update FSF's address in the preamble.Erik Naggum1996-01-151-1/+2
|
* Comment fixes.Karl Heuer1996-01-051-4/+4
|
* (call_mod_hooks, verify_interval_modification):Richard M. Stallman1995-09-121-194/+0
| | | | Functions moved to textprop.c.
* (get_local_map): Use Fget_char_property, so thatKarl Heuer1995-05-021-11/+21
| | | | overlay properties will be considered as well as text properties.
* (set_point): When skipping intangible text,Richard M. Stallman1995-04-091-19/+27
| | | | stop where property value changes.
* Update copyright.Karl Heuer1995-04-071-1/+1
|
* (Vdefault_text_properties): name changed from Vdefault_properties.Boris Goldowsky1995-03-271-26/+7
| | | | | (textget_direct): Fn deleted. (textget, verify_interval_modification): Use Fplist_get instead.
* (textget): Check default_properties vbl too.Boris Goldowsky1995-03-061-2/+7
|
* (set_point): Set point_before_scroll to nil.Richard M. Stallman1995-01-271-0/+2
|
* Use BUF_INTERVALS throughout.Richard M. Stallman1995-01-021-32/+35
| | | | | (temp_set_point, set_point): Use BUF_PT. (get_local_map): Get keymap from specified buffer, not current one.
* (compare_string_intervals): New function.Richard M. Stallman1994-12-041-0/+41
|
* (verify_interval_modification): Fix comment.Karl Heuer1994-10-121-1/+1
|
* (graft_intervals_into_buffer): Use new accessor macros instead of calling XSETKarl Heuer1994-10-041-3/+3
| | | | directly.
* (create_root_interval, balance_possible_root_interval, delete_interval): UseKarl Heuer1994-09-271-6/+6
| | | | type test macros.
* (set_point): If Vinhibit_point_motion_hooks, ignore intangible properties.Richard M. Stallman1994-09-241-9/+46
| | | | If move backwards into intangible text, move back over it.
* Add #include "keyboard.h"Karl Heuer1994-09-191-0/+1
|
* (interval_balance_threshold): Var deleted.Richard M. Stallman1994-09-151-3/+0
|
* (textget): Ignore category prop if not a symbol.Richard M. Stallman1994-08-241-1/+5
|
* Update copyright.Karl Heuer1994-05-041-1/+1
|
* Fix comment.Karl Heuer1994-04-261-2/+1
|
* (set_point): Skip past intangible regions.Karl Heuer1994-04-081-4/+2
|
* (verify_interval_modification): For insertion inRichard M. Stallman1994-03-261-11/+22
| | | | | middle of an interval, use the same criterion as between intervals for whether read-only forbids it.
* (adjust_intervals_for_insertion, merge_properties_sticky, delete_interval):Karl Heuer1994-03-231-10/+15
| | | | Use assignment, not initialization.
* (verify_interval_modification): When checking read-only, allow for the caseKarl Heuer1994-02-041-15/+19
| | | | that stickiness might be t instead of a list.
* Add comments describing the rules used by the merge algorithm.Karl Heuer1994-02-041-46/+102
|
* (merge_properties_sticky): Preserve original order of properties.Karl Heuer1994-02-031-6/+6
|
* (graft_intervals_into_buffer): Fix one-offRichard M. Stallman1994-01-241-1/+1
| | | | comparing lengths of over and under.
* (rotate_right, rotate_left): SimplifyRichard M. Stallman1994-01-021-100/+140
| | | | | | | | | | | | | | | | | | total_length calculation. Minimize pointer dereferencing. (balance_an_interval): Remove recursive rebalancing. Rebalance precisely when imbalanced. If a rotation is done, rebalance only the node which may have become unbalanced. Iterate until the current node is balanced. (balance_possible_root_interval): New function. (balance_intervals): Move the interation into rebalance_an_interval. (balance_intervals_internal): New subroutine of balance_intervals. (split_interval_right, split_interval_left): Speed up by not checking LEAF_INTERVAL_P. (split_interval_right, split_interval_left, find_interval, adjust_intervals_for_insertion, graft_intervals_into_buffer): Add dynamic rebalancing anywhere a node may become unbalanced. (graft_intervals_into_buffer, copy_intervals): No longer any need to do a full rebalance as the tree stays balanced.
* (graft_intervals_into_buffer): If SOURCE is nullRichard M. Stallman1993-12-231-1/+1
| | | | and TREE is null, no need to call Fset_text_properties.
* (merge_properties_sticky): Declared.Richard M. Stallman1993-11-251-0/+2
|
* (graft_intervals_into_buffer): New arg LENGTH.Richard M. Stallman1993-11-251-4/+16
| | | | If source has no intervals, set dest properties to nil.
* Include puresize.h.Richard M. Stallman1993-11-101-1/+6
| | | | | (create_root_interval): Check to see if PARENT is in pure memory. If so, we cannot write it.
* (graft_intervals_into_buffer): New arg INHERIT.Richard M. Stallman1993-09-141-18/+17
|
* Include <config.h> instead of "config.h".Roland McGrath1993-09-101-1/+1
|
* (adjust_intervals_for_insertion): If inserting in middleRichard M. Stallman1993-08-151-6/+23
| | | | | | of interval that is sticky in neither direction, don't copy props. (merge_properties_sticky): Handle non-list as front-sticky or rear-nonsticky property.
* (adjust_intervals_for_insertion): Handle insertionRichard M. Stallman1993-07-311-121/+321
| | | | | | | | | | | | | | between two unlike intervals via merge_properties_sticky. (merge_properties_sticky): New function. (graft_intervals_into_buffer): Leave handling of `sticky'-ness to adjust_intervals_for_insertion, then merge properties of the inserted text onto the old ones. (textget_direct): New function. (set_point): Fix calculating of fromprev. (verify_interval_modification): Check for `read-only' property and take its `sticky'-ness into account. (set_point): Ignore `invisible' property unless property value is `hidden'.