aboutsummaryrefslogtreecommitdiffstats
path: root/src/intervals.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Update years in copyright notice; nfc.Thien-Thi Nguyen2006-02-061-1/+1
|
* Update years in copyright notice; nfc.Thien-Thi Nguyen2005-08-071-1/+2
|
* Update FSF's address.Lute Kamstra2005-07-041-2/+2
|
* (NULL_INTERVAL_P): Add separate version whenKim F. Storm2004-11-091-0/+6
| | | | | ENABLE_CHECKING is not defined to silence compiler. (compare_string_intervals): Add prototype.
* Add EXFUN for Fget_char_property_and_overlay.Luc Teirlinck2003-11-301-0/+1
|
* Add arch taglinesMiles Bader2003-09-011-0/+3
|
* (struct interval): Move from lisp.h.Stefan Monnier2003-07-091-9/+60
|
* (get_pos_property): Declare.Stefan Monnier2003-05-171-0/+1
|
* (text_property_stickiness): New arg `buffer'.Stefan Monnier2003-05-171-3/+3
|
* (CHECK_TOTAL_LENGTH): New macro.Richard M. Stallman2003-04-061-0/+4
|
* (text_property_stickiness): Fix prototype.Dave Love2002-07-171-1/+1
|
* (lookup_char_property): Declare.Colin Walters2002-06-081-0/+2
| | | | (Vchar_property_alias_alist): Declare.
* (text_property_stickiness): New declaration.Miles Bader2002-03-141-1/+2
|
* Include "dispextern.h" unconditionally.Pavel Janík2002-02-241-2/+0
|
* Declare set_text_properties and set_text_properties_1.Richard M. Stallman2001-11-111-0/+6
|
* (TEXT_PROP_MEANS_INVISIBLE_WITH_ELLIPSIS)Stefan Monnier2001-10-141-17/+2
| | | | (TEXT_PROP_MEANS_INVISIBLE_NOELLIPSIS): Remove.
* (TEXT_PROP_MEANS_INVISIBLE_WITH_ELLIPSIS)Stefan Monnier2001-10-141-4/+2
| | | | | (TEXT_PROP_MEANS_INVISIBLE_NOELLIPSIS): Use invisible_p's new return vals. (invisible_ellipsis_p, invisible_noellipsis_p): Removed.
* (TEXT_PROP_MEANS_INVISIBLE_NOELLIPSIS): New macro.Stefan Monnier2001-10-121-2/+14
| | | | (traverse_intervals_noorder, invisible_noellipsis_p): New funs.
* (enum map_property): Removed.Gerd Moellmann2001-01-121-2/+1
| | | | (get_local_map): Change prototype.
* (get_char_property_and_overlay): Add declaration.Miles Bader2000-10-251-1/+3
|
* (Fprevious_single_char_property_change): Declare.Ken Raeburn2000-08-081-0/+1
|
* (map_property): New enum.Dave Love2000-05-291-1/+3
| | | | | (get_local_map): Extra arg using it. (Qkeymap): Declare.
* * intervals.h (SET_INTERVAL_PARENT): Use INT_LISPLIKE to test for a pointerKen Raeburn2000-04-051-5/+3
| | | | | | | that looks like a lisp object. (SET_INTERVAL_OBJECT): Don't explicitly compare the object with zero, instead see whether it's an integer object, since they can't have intervals. (GET_INTERVAL_OBJECT): Simply assign to the destination.
* Stop assuming interval pointers and lisp objects can be distinguished byKen Raeburn2000-03-291-9/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | inspection. Beginnings of support for expensive internal consistency checks. * config.in (ENABLE_CHECKING): Undef. * lisp.h (struct interval): Replace "parent" field with a union of interval pointer and Lisp_Object; add new bitfield to use as discriminant. Change other flag fields to bitfields. (CHECK): New macro for consistency checking. If ENABLE_CHECKING is defined and the supplied test fails, print a message and abort. (eassert): New macro. Use CHECK to provide an assert-like facility. * intervals.h (NULL_INTERVAL_P): Now applies only to real interval pointers; abort if the value looks like a lisp object. (NULL_INTERVAL_P, NULL_PARENT, HAS_PARENT, HAS_OBJECT, SET_PARENT, SET_OBJECT, INTERVAL_PARENT, GET_INTERVAL_OBJECT, COPY_PARENT): Modify for new interval parent definition. * alloc.c (mark_interval_tree, MARK_INTERVAL_TREE, UNMARK_BALANCE_INTERVALS): Update references that need an addressable lisp object in the interval structure. (die): New function. (suppress_checking): New variable. * intervals.c (interval_start_pos): Just return 0 if there's no parent object.
* Changes towards better type safety regarding intervals, primarilyKen Raeburn2000-03-221-12/+37
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | regarding the "parent" handle. These just separate out the different usages based on the type of parent (interval vs lisp object); later changes will do type checking and enforcement. * intervals.h (NULL_INTERVAL): Cast to INTERVAL type. (INT_LISPLIKE): New macro. (NULL_INTERVAL_P): Use it. (INTERVAL_HAS_PARENT, INTERVAL_HAS_OBJECT, SET_INTERVAL_PARENT, SET_INTERVAL_OBJECT, INTERVAL_PARENT, COPY_INTERVAL_PARENT, GET_INTERVAL_OBJECT, INTERVAL_PARENT_OR_NULL): New macros. * alloc.c (make_interval, gc_sweep): Use new macros; eliminate all explicit references to "parent" field of struct interval and associated unclean type conversions. * intervals.c (create_root_interval, root_interval, rotate_right, rotate_left, balance_possible_root_interval, split_interval_right, split_interval_left, interval_start_pos, find_interval, next_interval, previous_interval, update_interval, adjust_intervals_for_insertion, delete_node, delete_interval, adjust_intervals_for_deletion, merge_interval_right, merge_interval_left, reproduce_tree, graft_intervals_into_buffer, copy_intervals_to_string): Likewise. * intervals.h (AM_LEFT_CHILD, AM_RIGHT_CHILD, RESET_INTERVAL): Likewise. * syntax.c (update_syntax_table): Likewise. * intervals.c (reproduce_tree_obj): New function, like reproduce_tree but takes a Lisp_Object for the parent. Declare with prototype. (graft_intervals_into_buffer): Use it when appropriate. (reproduce_tree): Declare with prototype. (balance_possible_root_interval): Check that the parent is a lisp object before trying to examine its type.
* Include composite.h.Kenichi Handa1999-12-151-0/+7
| | | | | (get_property_and_range): Extern it. (Vtext_property_default_nonsticky): Extern it.
* Remove USE_TEXT_PROPERTIES.Gerd Moellmann1999-11-111-18/+0
|
* Add function prototypes.Gerd Moellmann1999-07-211-0/+6
|
* Add more prototypes.Andreas Schwab1998-04-141-7/+14
|
* (set_point, temp_set_point): Swap args in decl.Richard M. Stallman1998-01-011-2/+4
| | | | (set_point_both, temp_set_point_both): New decls.
* Add prototypes and more function declarations.Andreas Schwab1997-11-211-21/+32
|
* Fix bugs with inappropriate mixing of Lisp_Object with int.Richard M. Stallman1997-07-041-0/+6
|
* (update_interval): New function declaration.Richard M. Stallman1997-04-151-0/+1
|
* (FRONT_NONSTICKY_P): New macro.Richard M. Stallman1996-12-201-0/+2
|
* Update FSF's address in the preamble.Erik Naggum1996-01-151-1/+2
|
* Update GPL to version 2.Karl Heuer1995-06-151-1/+1
|
* Vdefault_text_properties: name changed from Vdefault_properties.Boris Goldowsky1995-03-271-2/+1
|
* (TEXT_PROP_MEANS_INVISIBLE): New macro.Richard M. Stallman1995-03-111-0/+17
| | | | (TEXT_PROP_MEANS_INVISIBLE_WITH_ELLIPSIS): New macro.
* Declare Vdefault_properties.Boris Goldowsky1995-03-061-0/+1
|
* (INTERVAL_LAST_POS): Don't subtract 1 here.Richard M. Stallman1994-12-041-2/+2
|
* (NULL_INTERVAL_P): Use type test macros.Karl Heuer1994-09-271-3/+3
|
* Declare some functions.Karl Heuer1994-09-171-0/+1
|
* (interval_balance_threshold): Var deleted.Richard M. Stallman1994-09-151-2/+0
|
* Update copyright.Karl Heuer1994-05-041-1/+1
|
* (Qintangible): New symbol, replacing Qhidden.Karl Heuer1994-04-081-1/+1
|
* (NULL_RIGHT_CHILD, NULL_LEFT_CHILD):Richard M. Stallman1994-01-021-18/+19
| | | | Assume children must be intervals, never strings or buffers.
* (MERGE_INSERTIONS): Define as 1.Richard M. Stallman1993-07-311-4/+13
| | | | | | | | | (FRONT_STICKY): Add real definition. (END_NONSTICKY): New macro. (END_STICKY): Deleted. (textget_direct, Qfront_sticky, Qrear_nonsticky): Declared. (Qhidden): Declared.
* (Vinhibit_point_motion_hooks): Declared.Richard M. Stallman1993-07-231-0/+2
|
* (Ftext_property_not_all): Fix typo in decl.Richard M. Stallman1993-07-211-1/+1
|
* * textprop.c (Ftext_property_any, Ftext_property_all): NewJim Blandy1993-07-181-0/+1
| | | | | functions, from David Gillespie. * intervals.h (Ftext_property_any, Ftext_property_all): Declare them.