monotone-commits-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Monotone-commits-diffs] Revision ff193643616656b62a465d043676e3faf83418


From: monotone
Subject: [Monotone-commits-diffs] Revision ff193643616656b62a465d043676e3faf83418b7
Date: Mon, 14 Jun 2010 20:21:04 +0200

-----------------------------------------------------------------
Revision: ff193643616656b62a465d043676e3faf83418b7
Ancestor: 911f3ce2c66ade267eec549dc15bcef420a1686d
Author: address@hidden
Date: 2010-06-06 07.35.25
Branch: net.venge.monotone

Renamed entries:
        unix/parse_time.cc to unix/parse_date.cc
        win32/parse_time.cc to win32/parse_date.cc
Modified files:
        Makefile.am cmd_ws_commit.cc dates.cc platform.hh
        unit-tests/dates.cc unix/parse_date.cc win32/parse_date.cc

ChangeLog: 

re-add check for stray characters when parsing dates

 * Makefile.am: rename parse_time.cc to parse_date.cc; remove spurious tab
 * cmd_ws_commit.cc: remove space following function name
 * dates.cc (from_formatted_localtime): remove assertion around parse_date call
   which now throws on failure
 * platform.hh: change parse_date to return void and throw when it encounters
   errors

 * unit-tests/dates.cc (localtime_formats): add test for extraneous characters
   when parsing dates

 * unix/parse_time.cc: rename to ...
 * unix/parse_date.cc: ... this to match the name of the function it contains;
   remove space following function name; change parse_date to return void and
   throw when it encounters errors; check for extraneous characters following
   date that are not matched by the specified format; add emacs and vim
   variables section

 * win32/parse_time.cc: rename to ...
 * win32/parse_date.cc: ... this to match the name of the function it contains;
   remove space following function name; throw exception instead of returning
   false to indicate failure; add emacs and vim variables section


Attachment: txtdDtBdml65p.txt
Description: Diff [911f3ce2c66ade267eec549dc15bcef420a1686d] -> [ff193643616656b62a465d043676e3faf83418b7]


reply via email to

[Prev in Thread] Current Thread [Next in Thread]