1. 12 Oct, 2001 1 commit
  2. 12 Jan, 2001 1 commit
  3. 25 Oct, 2000 1 commit
  4. 08 Aug, 2000 1 commit
  5. 29 May, 2000 1 commit
  6. 05 Apr, 2000 1 commit
  7. 29 Mar, 2000 1 commit
    • Ken Raeburn's avatar
      Stop assuming interval pointers and lisp objects can be distinguished by · e0b8c689
      Ken Raeburn authored
      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.
      e0b8c689
  8. 22 Mar, 2000 1 commit
    • Ken Raeburn's avatar
      Changes towards better type safety regarding intervals, primarily · 439d5cb4
      Ken Raeburn authored
      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.
      439d5cb4
  9. 15 Dec, 1999 1 commit
  10. 11 Nov, 1999 1 commit
  11. 21 Jul, 1999 1 commit
  12. 14 Apr, 1998 1 commit
  13. 01 Jan, 1998 1 commit
  14. 21 Nov, 1997 1 commit
  15. 04 Jul, 1997 1 commit
  16. 15 Apr, 1997 1 commit
  17. 20 Dec, 1996 1 commit
  18. 15 Jan, 1996 1 commit
  19. 15 Jun, 1995 1 commit
  20. 27 Mar, 1995 1 commit
  21. 11 Mar, 1995 1 commit
  22. 06 Mar, 1995 1 commit
  23. 04 Dec, 1994 1 commit
  24. 27 Sep, 1994 1 commit
  25. 17 Sep, 1994 1 commit
  26. 15 Sep, 1994 1 commit
  27. 04 May, 1994 1 commit
  28. 08 Apr, 1994 1 commit
  29. 02 Jan, 1994 1 commit
  30. 31 Jul, 1993 1 commit
    • Richard M. Stallman's avatar
      (MERGE_INSERTIONS): Define as 1. · 58943db0
      Richard M. Stallman authored
      (FRONT_STICKY): Add real definition.
      (END_NONSTICKY): New macro.
      (END_STICKY): Deleted.
      (textget_direct, Qfront_sticky, Qrear_nonsticky): Declared.
      
      (Qhidden): Declared.
      58943db0
  31. 23 Jul, 1993 1 commit
  32. 21 Jul, 1993 1 commit
  33. 18 Jul, 1993 1 commit
  34. 06 Jul, 1993 1 commit
    • Jim Blandy's avatar
      * textprop.c (copy_text_properties): New function, from David · 15e92aba
      Jim Blandy authored
      	Gillespie.
      	* intervals.h: Declare copy_text_properties.
      	* fns.c: #include "intervals.h".
      	(Fsubstring): Copy text properties to result string.
      	(concat): Copy text properties to result string.
      	* ymakefile (fns.o): Note that this depends on INTERVAL_SRC.
      15e92aba
  35. 08 Jun, 1993 1 commit
  36. 07 Jun, 1993 1 commit
  37. 22 May, 1993 1 commit
  38. 07 Mar, 1993 1 commit
  39. 01 Mar, 1993 1 commit
  40. 03 Oct, 1992 1 commit