Commit 6bb9b924 authored by Francis Dupont's avatar Francis Dupont
Browse files

[master] spelling (including in some messages)

parent 6d4f6565
......@@ -1078,7 +1078,7 @@ void Element::preprocess(std::istream& in, std::stringstream& out) {
line = "";
}
// getline() removes end line charaters. Unfortunately, we need
// getline() removes end line characters. Unfortunately, we need
// it for getting the line numbers right (in case we report an
// error.
out << line;
......
// Copyright (C) 2010-2016 Internet Systems Consortium, Inc. ("ISC")
// Copyright (C) 2010-2017 Internet Systems Consortium, Inc. ("ISC")
//
// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this
......@@ -78,7 +78,7 @@ public:
/// \endcode
///
/// the position of the element "bar" is: line_ = 2; pos_ = 9, because
/// begining of the value "123" is at offset 9 from the beginning of
/// beginning of the value "123" is at offset 9 from the beginning of
/// the second line, including whitespaces.
///
/// Note that the @c Position structure is used as an argument to @c Element
......@@ -511,7 +511,7 @@ public:
//@{
/// Creates an Element from the wire format in the given
/// stringstream of the given length.
/// Since the wire format is JSON, thise is the same as
/// Since the wire format is JSON, this is the same as
/// fromJSON, and could be removed.
///
/// \param in The input stringstream.
......@@ -520,7 +520,7 @@ public:
static ElementPtr fromWire(std::stringstream& in, int length);
/// Creates an Element from the wire format in the given string
/// Since the wire format is JSON, thise is the same as
/// Since the wire format is JSON, this is the same as
/// fromJSON, and could be removed.
///
/// \param s The input string
......
......@@ -29,7 +29,7 @@ public:
/// @return the only existing instance of the manager
static CommandMgr& instance();
/// @brief Opens control socket with paramters specified in socket_info
/// @brief Opens control socket with parameters specified in socket_info
///
/// Currently supported types are:
/// - unix (required parameters: socket-type: unix, socket-name:/unix/path)
......
// Copyright (C) 2012-2015 Internet Systems Consortium, Inc. ("ISC")
// Copyright (C) 2012-2015,2017 Internet Systems Consortium, Inc. ("ISC")
//
// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this
......@@ -19,7 +19,7 @@ namespace dns {
LabelSequence::LabelSequence(const void* buf) {
#ifdef ENABLE_DEBUG
// In non-debug mode, derefencing the NULL pointer further below
// In non-debug mode, dereferencing the NULL pointer further below
// will lead to a crash, so disabling this check is not
// unsafe. Except for a programming mistake, this case should not
// happen.
......
// Copyright (C) 2010-2015 Internet Systems Consortium, Inc. ("ISC")
// Copyright (C) 2010-2015,2017 Internet Systems Consortium, Inc. ("ISC")
//
// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this
......@@ -98,7 +98,7 @@ public:
extendData();
return (fields_);
}
// We use generict write* methods, with the exception of writeName.
// We use generic write* methods, with the exception of writeName.
// So new data can arrive without us knowing it, this considers all new
// data to be just data and extends the fields to take it into account.
size_t last_data_pos_;
......
// Copyright (C) 2012-2015 Internet Systems Consortium, Inc. ("ISC")
// Copyright (C) 2012-2015,2017 Internet Systems Consortium, Inc. ("ISC")
//
// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this
......@@ -108,7 +108,7 @@ protected:
/// used by the public iterator. Derived classes of
/// \c RRsetCollectionBase are supposed to implement this class and
/// the \c getBeginning() and \c getEnd() methods, so that the
/// public interator interface can be provided. This is a forward
/// public iterator interface can be provided. This is a forward
/// iterator only.
class Iter {
public:
......
// Copyright (C) 2011-2015 Internet Systems Consortium, Inc. ("ISC")
// Copyright (C) 2011-2015,2017 Internet Systems Consortium, Inc. ("ISC")
//
// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this
......@@ -58,7 +58,7 @@ public:
/// \brief Direct assignment from value
///
/// \param value the uint32_t value to assing
/// \param value the uint32_t value to assign
void operator=(uint32_t value) { value_ = value; }
/// \brief Returns the uint32_t representation of this serial value
......
// Copyright (C) 2011-2015 Internet Systems Consortium, Inc. ("ISC")
// Copyright (C) 2011-2015,2017 Internet Systems Consortium, Inc. ("ISC")
//
// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this
......@@ -414,7 +414,7 @@ public:
protected:
/// \brief Update internal HMAC state by more data.
///
/// This is used mostly internaly, when we need to verify a message without
/// This is used mostly internally, when we need to verify a message without
/// TSIG signature in the middle of signed TCP stream. However, it is also
/// used in tests, so it's protected instead of private, to allow tests
/// in.
......
// Copyright (C) 2015-2016 Internet Systems Consortium, Inc. ("ISC")
// Copyright (C) 2015-2017 Internet Systems Consortium, Inc. ("ISC")
//
// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this
......@@ -22,7 +22,7 @@ YY_DECL;
namespace isc {
namespace eval {
/// @brief Evaluation error exception raised when trying to parse an axceptions.
/// @brief Evaluation error exception raised when trying to parse an exceptions.
class EvalParseError : public isc::Exception {
public:
EvalParseError(const char* file, size_t line, const char* what) :
......@@ -153,7 +153,7 @@ public:
/// @brief Flag determining scanner debugging.
bool trace_scanning_;
/// @brief Flag determing parser debugging.
/// @brief Flag determining parser debugging.
bool trace_parsing_;
/// @brief Option universe: DHCPv4 or DHCPv6.
......
/* Copyright (C) 2015-2016 Internet Systems Consortium, Inc. ("ISC")
/* Copyright (C) 2015-2017 Internet Systems Consortium, Inc. ("ISC")
This Source Code Form is subject to the terms of the Mozilla Public
License, v. 2.0. If a copy of the MPL was not distributed with this
......@@ -35,7 +35,7 @@ using namespace isc::eval;
}
%define api.token.prefix {TOKEN_}
// Tokens in an order which makes sense and related to the intented use.
// Tokens in an order which makes sense and related to the intended use.
%token
END 0 "end of file"
LPAREN "("
......
// Copyright (C) 2015-2016 Internet Systems Consortium, Inc. ("ISC")
// Copyright (C) 2015-2017 Internet Systems Consortium, Inc. ("ISC")
//
// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this
......@@ -342,7 +342,7 @@ protected:
class TokenRelay6Option : public TokenOption {
public:
/// @brief Constructor that takes a nesting level and an option
/// code as paramaters.
/// code as parameters.
///
/// @param nest_level the nesting for which relay to examine.
/// @param option_code code of the option.
......@@ -499,7 +499,7 @@ public:
/// @brief Gets a value of the specified packet.
///
/// The evaluation uses fields that are availabe in the packet. It does not
/// The evaluation uses fields that are available in the packet. It does not
/// require any values to be present on the stack.
///
/// @throw EvalTypeError when called for a DHCPv4 packet
......
// Copyright (C) 2009-2015 Internet Systems Consortium, Inc. ("ISC")
// Copyright (C) 2009-2015,2017 Internet Systems Consortium, Inc. ("ISC")
//
// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this
......@@ -64,7 +64,7 @@ public:
/// @return A C-style character string of the exception cause.
virtual const char* what() const throw();
/// \brief Returns a C-style charater string of the cause of exception.
/// \brief Returns a C-style character string of the cause of exception.
///
/// With verbose set to true, also returns file name and line numbers.
/// Note that we can't simply define a single what() method with parameters,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment