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

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

[Monotone-commits-diffs] Revision 96290c31aa9ef0618680910ad3fd46cddd975b


From: monotone
Subject: [Monotone-commits-diffs] Revision 96290c31aa9ef0618680910ad3fd46cddd975b13
Date: Tue, 26 Feb 2008 01:06:17 +0100

-----------------------------------------------------------------
Revision: 96290c31aa9ef0618680910ad3fd46cddd975b13
Ancestor: 4b92a00f3f38d2fc1c99012698a248f289df8cd4
Author: address@hidden
Date: 2008-02-25T23:08:40
Branch: net.venge.monotone

Added files:
        char_classifiers.hh
Modified files:
        basic_io.cc basic_io.hh lua.cc packet.cc rcs_file.cc
        rcs_import.cc revision.cc transforms.cc vocab.cc vocab.hh

ChangeLog: 

* vocab.hh: Do not define character classification functions here
  (is_alpha, is_alnum, is_space, is_xdigit).
* char_classifiers.hh: New file with is_* functions moved from vocab.hh, plus
  some new ones and to_* functions as well.  Add commentary explaining the
  rationale for these custom functions instead of the standard alternatives.

* basic_io.hh, packet.cc, rcs_file.cc, transforms.cc:
  Include char_classifiers.hh.
* basic_io.cc: Don't include <sstream>, <cctype>, or <cstdlib>.
* lua.cc: strerror is not used in this file.  Unconditionally include
  <algorithm> for std::sort.
* rcs_file.cc: Use is_space and is_digit instead of isspace and isdigit.
* rcs_import.cc: Include <cstring>, not unistd.h, for memset.
* revision.cc: Don't include <cctype> or <cstdlib>.
* transforms.cc: Don't include <cctype>.  Use to_lower instead of
  isupper and tolower.

Attachment: txtHkOxdlxBgK.txt
Description: Diff [4b92a00f3f38d2fc1c99012698a248f289df8cd4] -> [96290c31aa9ef0618680910ad3fd46cddd975b13]


reply via email to

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