Menu

Commit [r425]  Maximize  Restore  History

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 Cibej, Karl Fogel, and Philip Martin. The
original patch was provided by C. Scott Ananian <cscott@...>,
the final change is the result of collaboration between Greg Hudson
and Mark Benedetto King. See 1.0-cand issue #408.

[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.)

kfogel 2004-01-15

changed /trunk/src/book/REVIEW
/trunk/src/book/REVIEW Diff Switch to side-by-side view
Loading...
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.