C. Scott Ananian <cscott@cscott.net>


Patch
r848401, r840133, r840128, r840125

r840125 | cmpilato | 2001-09-05 20:35:05 +0000 (Wed, 05 Sep 2001)

Documentation fixes.  
Patch by: C. Scott Ananian <cananian@alumni.princeton.edu>

* adds.texi

  Correct a typo: when commiting 'fonts' in the example, the
  second file added should be 'file2' not 'file1'.

* dirversioning.texi

  Correct the attribution of a quote; fix the spelling of 'contradictory'.


r840128 | cmpilato | 2001-09-05 21:11:27 +0000 (Wed, 05 Sep 2001)

Attack the first part of the svn_string_t "bite-sized task" by adding
methods to operate on svn_string_t types.  These are almost identical
to the methods to operate on svn_stringbuf_t's, except for a few
tweaks here and there -- and since the string referenced by an
svn_string_t is immutable, all the mutation methods of svn_stringbuf_t
have been omitted.  Also added methods to create an svn_string_t from
an svn_stringbuf_t and vice-versa.  

Patch by: C. Scott Ananian <cananian@alumni.princeton.edu>

* include/svn_string.h 

  (svn_string_create, svn_string_ncreate, svn_string_create_from_buf,
  svn_string_createf, svn_string_createv, svn_string_isempty,
  svn_string_dup, svn_string_compare, svn_string_first_non_whitespace,
  svn_string_strip_whitespace, svn_string_find_char_backward,
  svn_stringbuf_create_from_string, svn_stringbuf_createv): New
  functions.

* libsvn_subr/svn_string.c 

  (svn_string_create, svn_string_ncreate, svn_string_create_from_buf,
  svn_string_createf, svn_string_createv, svn_string_isempty,
  svn_string_dup, svn_string_compare, svn_string_first_non_whitespace,
  svn_string_strip_whitespace, svn_string_find_char_backward,
  svn_stringbuf_create_from_string, svn_stringbuf_createv,
  create_string): New functions.

  (create_stringbuf): Renamed from create_string.  Callers changed.


r840133 | cmpilato | 2001-09-06 07:29:39 +0000 (Thu, 06 Sep 2001)

* basic_tests.py
* commit_tests.py
* prop_tests.py
* schedule_tests.py
* svnadmin_tests.py

  Clean up the 'make check' output when the user has a pre-2.0 version
  of Python on their machine.  Now the standard error shows that the
  test was skipped but counted as successful as '...[SKIPPED] SUCCESS'
  while stdout (which is redirected to tests.log) shows why the test
  was skipped (probably a too-early python version) and the traceback
  for the syntax error caught.

Patch by: C. Scott Ananian <cananian@alumni.princeton.edu>


r848401 | kfogel | 2004-01-15 23:41:08 +0000 (Thu, 15 Jan 2004)

Remove the getdate.y-based date-parser, replacing it with a simpler
though less powerful one.  This change includes improvements based on
suggestions from Branko Čibej, Karl Fogel, and Philip Martin.  The
original patch was provided by C. Scott Ananian <cscott@cscott.net>,
the final change is the result of collaboration between Greg Hudson
and Mark Benedetto King.  See 1.0-cand issue #408.

Patch by: C. Scott Ananian <cscott@cscott.net>
(See above for details.)

   [Note: The three file adds/deletes immediately below should have
    happened in this revision, but were committed in r8328 instead,
    because I forgot that 'patch', unlike 'svn merge', doesn't do tree
    changes.]

* subversion/libsvn_subr/date.c: New file.
* subversion/libsvn_subr/getdate.y: Deleted.
* subversion/libsvn_subr/getdate.cw: Deleted.
* subversion/include/svn_time.h:
  (struct getdate_time): Removed.
  (svn_parse_date): Update prototype and documentation comment to reflect
   the new interface.
* subversion/tests/libsvn_subr/time-test.c (test_parse_date):
  Date-parsing tests added.
* subversion/libsvn_subr/opt.c
  (parse_one_rev): Add pool parameter, and use the new svn_parse_date
   interface.
  (svn_opt_parse_revision): Pass pool into parse_one_rev().
* autogen.sh:
  Remove generation of getdate.c from getdate.y.
* doc/book/REVIEW: Add notes for fitz on updating ch03 and ch09.
* INSTALL:
  Remove bison/yacc dependency, renumber subsequent dependencies.
* build/win32/svn_config.dsp, build/win32/svn_config.vcproj:
  build/generator/gen_win.py (__init__):
  Remove special-case handling of getdate.c.
* subversion/bindings/swig/core.i:
  Remove "struct getdate_time" verbiage.
* packages/rpm/mandrake-9.0/subversion.spec,
  packages/rpm/mandrake-9.1/subversion.spec,
  packages/rpm/mandrake-9.2/subversion.spec:
  Remove dependency on bison and flex.  (We've never depended on flex.)