Changeset 768 for trunk/lib/Trac.h


Ignore:
Timestamp:
Jan 31, 2009, 10:30:37 PM (12 years ago)
Author:
Peter Johansson
Message:

Merged patch release 0.6.7 to trunk. Delta 0.6.7 - 0.6.6

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/Trac.h

    r693 r768  
    55
    66/*
    7   Copyright (C) 2007 Peter Johansson
     7  Copyright (C) 2007, 2008, 2009 Peter Johansson
    88
    99  This file is part of svndigest, http://dev.thep.lu.se/svndigest
     
    5858    /// @return true if any of changesetX returns true
    5959    ///
    60     bool changeset(std::string::const_iterator& first,
     60    bool changeset(const std::string::const_iterator& first,
     61                   std::string::const_iterator& iter,
    6162                   const std::string::const_iterator& last,
    6263                   const std::string::const_iterator& last_trunc);
     
    6667    ///
    6768    /// Search in range [\a first, \a last) for expression
    68     /// /r(\d+)/. If expression is found an anchor to
    69     /// trac-root/changeset/123, displaying expression, and first is
    70     /// pointing to character after expression.
    71     ///
    72     /// @return true if expression is found
    73     ///
    74     bool changeset1(std::string::const_iterator& first,
     69    /// /r(\d+)/. In addition character before cannot be
     70    /// alpha-numeric, and character after expression cannot be
     71    /// alpha-numeric or ':' (beginning/end of string is allowed). If
     72    /// expression is found an anchor to trac-root/changeset/123,
     73    /// displaying expression, and first is pointing to character
     74    /// after expression.
     75    ///
     76    /// @return true if expression is found
     77    ///
     78    bool changeset1(const std::string::const_iterator& first,
     79                    std::string::const_iterator& iter,
    7580                    const std::string::const_iterator& last,
    7681                    const std::string::const_iterator& last_trunc);
     
    187192    /// @return true if any of logX returns true
    188193    ///
    189     bool log(std::string::const_iterator& first,
     194    bool log(const std::string::const_iterator& first,
     195             std::string::const_iterator& iter,
    190196             const std::string::const_iterator& last,
    191197             const std::string::const_iterator& last_trunc);
     
    195201    ///
    196202    /// Search in range [\a first, \a last) for expression
    197     /// /r(\w+):(\w+)/. If expression is found an
    198     /// anchor is created, displaying the expression, and first is
    199     /// pointing to character after expression.
     203    /// /r(\d+):(\d+)/. In addition character before and after
     204    /// expression cannot be alpha-numeric (beginning/end of string is
     205    /// allowed). If expression is found an anchor is created,
     206    /// displaying the expression, and iter is pointing to character
     207    /// after expression.
    200208    ///
    201209    /// The created anchor goes to trac-root/log/?rev=236&stop_rev=123
     
    203211    /// @return true if expression is found
    204212    ///
    205     bool log1(std::string::const_iterator& first,
     213    bool log1(const std::string::const_iterator& first,
     214              std::string::const_iterator& iter,
    206215              const std::string::const_iterator& last,
    207216              const std::string::const_iterator& last_trunc);
Note: See TracChangeset for help on using the changeset viewer.