1. 15 Jul, 1993 2 commits
  2. 14 Jul, 1993 3 commits
  3. 13 Jul, 1993 8 commits
  4. 12 Jul, 1993 2 commits
  5. 09 Jul, 1993 1 commit
  6. 08 Jul, 1993 7 commits
  7. 07 Jul, 1993 2 commits
  8. 06 Jul, 1993 9 commits
    • David J. MacKenzie's avatar
      *** empty log message *** · fb3ebe6c
      David J. MacKenzie authored
      fb3ebe6c
    • Jim Blandy's avatar
      * textprop.c (copy_text_properties): Pass a copy of POS to · 15e4954b
      Jim Blandy authored
      	validate_interval_range; that function increments its arguments,
      	which isn't what we want.
      
      	* intervals.c (find_interval): Consistently treat POSITION as an
      	actual buffer position, i.e. origin 1.  The old code seemed
      	undecided on this point.  Treat the end of the buffer as being
      	part of the rightmost interval.
      	(adjust_intervals_for_insertion): Consistently treat POSITION as
      	origin 1.
      	(interval_deletion_adjustment): The exception: FROM should be
      	origin zero here.  Consistently treat it as such.  Simplify code
      	which shrinks and possibly deletes intervals.
      	(adjust_intervals_for_deletion): Treat start as origin 1; our
      	caller does.
      	(set_point): Use buffer positions throughout, not a mix of buffer
      	posns and origin zero posns.
      	(get_local_map): Remove special case for POSITION at end of buffer;
      	find_interval handles that case correctly.
      	(verify_interval_modification): Remove special case for START at
      	end of buffer.
      	* textprop.c (validate_interval_range): End-of-buffer/string
      	positions no longer need special handling.
      
      	* textprop.c (copy_text_properties): New function, from David
      	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.
      15e4954b
    • 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
    • Jim Blandy's avatar
      * intervals.c (find_interval): Doc fixes, computation of · 24e3d3bf
      Jim Blandy authored
      	tree->position rearranged for clarity.
      
      	* intervals.c (find_interval): Consistently treat POSITION as an
      	actual buffer position, i.e. origin 1.  The old code seemed
      	undecided on this point.  Treat the end of the buffer as being
      	part of the rightmost interval.
      	(adjust_intervals_for_insertion): Consistently treat POSITION as
      	origin 1.
      	(interval_deletion_adjustment): The exception: FROM should be
      	origin zero here.  Consistently treat it as such.  Simplify code
      	which shrinks and possibly deletes intervals.
      	(adjust_intervals_for_deletion): Treat start as origin 1; our
      	caller does.
      	(set_point): Use buffer positions throughout, not a mix of buffer
      	posns and origin zero posns.
      	(get_local_map): Remove special case for POSITION at end of buffer;
      	find_interval handles that case correctly.
      	(verify_interval_modification): Remove special case for START at
      	end of buffer.
      	* textprop.c (validate_interval_range): End-of-buffer/string
      	positions no longer need special handling.
      
      	* intervals.c (make_new_interval): #if 0 this out.  Nobody calls it.
      24e3d3bf
    • Jim Blandy's avatar
      * fns.c (Fsubstring, concat): Pass all six arguments to · ac811a55
      Jim Blandy authored
      	copy_text_properties.
      
      	* textprop.c (copy_text_properties): New function, from David
      	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.
      ac811a55
    • Jim Blandy's avatar
      * print.c: Get rid of extra space at the end of print syntax for · 30503c0b
      Jim Blandy authored
      	strings with intervals.
      	[USE_TEXT_PROPERTIES] (print): Don't print a space before the
      	interval property lists.
      	[USE_TEXT_PROPERTIES] (print_interval): Print a space before this
      	internal's properties, not after.
      30503c0b
    • Jim Blandy's avatar
      * m/pmax.h (C_SWITCH_X_MACHINE): Set this to · 9b4d86fc
      Jim Blandy authored
      	"-DNeedFunctionPrototypes=0", to avoid lossage in DEC X11 header
      	files.
      	* ymakefile (really-oldXMenu): Pass C_SWITCH_X_MACHINE to the
      	oldXMenu make.
      9b4d86fc
    • Jim Blandy's avatar
      * doc.c (Fsubstitute_command_keys): Pass all five arguments to · fc593b05
      Jim Blandy authored
      	describe_map_tree.
      fc593b05
    • Jim Blandy's avatar
      Compare the values of text properties using EQ, not Fequal. · 734c51b2
      Jim Blandy authored
      	* intervals.c (intervals_equal): Call EQ, not Fequal.
      	* textprop.c (interval_has_all_properties, add_properties): Same.
      734c51b2
  9. 05 Jul, 1993 6 commits