Parcourir la source

[4497] Spelling, no \n at end of .gitignore, etc

Francis Dupont il y a 8 ans
Parent
commit
5dee09f6fb

+ 1 - 1
src/bin/lfc/.gitignore

@@ -2,4 +2,4 @@
 /kea-lfc.8
 /lfc_messages.cc
 /lfc_messages.h
-/s-messages
+/s-messages

+ 8 - 8
src/lib/dhcp/pkt.h

@@ -130,7 +130,7 @@ public:
     /// prior to calling this method.
     ///
     /// Output buffer will be stored in buffer_out_.
-    /// The buffer_out_ should be cleared before writting to the buffer
+    /// The buffer_out_ should be cleared before writing to the buffer
     /// in the derived classes.
     ///
     /// @note This is a pure virtual method and must be implemented in
@@ -246,7 +246,7 @@ public:
     /// For all unsupported messages the derived classes must return
     /// "UNKNOWN".
     ///
-    /// @return Ponter to "const" string containing DHCP message name.
+    /// @return Pointer to "const" string containing DHCP message name.
     /// The implementations in the derived classes should statically
     /// allocate returned strings and the caller must not release the
     /// returned pointer.
@@ -276,7 +276,7 @@ public:
     ///
     /// @note It is a matter of naming convention. Conceptually, the server
     /// processes a stream of packets, with some packets belonging to given
-    /// classes. From that perspective, this method adds a packet to specifed
+    /// classes. From that perspective, this method adds a packet to specified
     /// class. Implementation wise, it looks the opposite - the class name
     /// is added to the packet. Perhaps the most appropriate name for this
     /// method would be associateWithClass()? But that seems overly long,
@@ -295,7 +295,7 @@ public:
     ///
     /// @warning This public member is accessed by derived
     /// classes directly. One of such derived classes is
-    /// @ref perfdhcp::PerfPkt6. The impact on derived clasess'
+    /// @ref perfdhcp::PerfPkt6. The impact on derived classes'
     /// behavior must be taken into consideration before making
     /// changes to this member such as access scope restriction or
     /// data format change etc.
@@ -553,7 +553,7 @@ public:
     /// @param hw_addr_src a bitmask that specifies hardware address source
     HWAddrPtr getMAC(uint32_t hw_addr_src);
 
-    /// @brief Virtual desctructor.
+    /// @brief Virtual destructor.
     ///
     /// There is nothing to clean up here, but since there are virtual methods,
     /// we define virtual destructor to ensure that derived classes will have
@@ -573,7 +573,7 @@ public:
     ///
     /// @warning This public member is accessed by derived
     /// classes directly. One of such derived classes is
-    /// @ref perfdhcp::PerfPkt6. The impact on derived clasess'
+    /// @ref perfdhcp::PerfPkt6. The impact on derived classes'
     /// behavior must be taken into consideration before making
     /// changes to this member such as access scope restriction or
     /// data format change etc.
@@ -723,7 +723,7 @@ protected:
     ///
     /// @warning This protected member is accessed by derived
     /// classes directly. One of such derived classes is
-    /// @ref perfdhcp::PerfPkt6. The impact on derived clasess'
+    /// @ref perfdhcp::PerfPkt6. The impact on derived classes'
     /// behavior must be taken into consideration before making
     /// changes to this member such as access scope restriction or
     /// data format change etc.
@@ -753,7 +753,7 @@ private:
     /// @param hw_addr pointer to actual hardware address.
     /// @param [out] storage pointer to a class member to be modified.
     ///
-    /// @trow isc::OutOfRange if invalid HW address specified.
+    /// @throw isc::OutOfRange if invalid HW address specified.
     virtual void setHWAddrMember(const uint8_t htype, const uint8_t hlen,
                                  const std::vector<uint8_t>& hw_addr,
                                  HWAddrPtr& storage);

+ 2 - 2
src/lib/dhcp/pkt6.cc

@@ -59,8 +59,8 @@ size_t Pkt6::len() {
 }
 
 void
-Pkt6:: prepareGetAnyRelayOption(const RelaySearchOrder& order,
-                                  int& start, int& end, int& direction) const {
+Pkt6::prepareGetAnyRelayOption(const RelaySearchOrder& order,
+                               int& start, int& end, int& direction) const {
     switch (order) {
     case RELAY_SEARCH_FROM_CLIENT:
         // Search backwards

+ 3 - 3
src/lib/dhcp/pkt6.h

@@ -58,7 +58,7 @@ public:
     /// @brief defines relay search pattern
     ///
     /// Defines order in which options are searched in a message that
-    /// passed through mulitple relays. RELAY_SEACH_FROM_CLIENT will
+    /// passed through multiple relays. RELAY_SEACH_FROM_CLIENT will
     /// start search from the relay that was the closest to the client
     /// (i.e. innermost in the encapsulated message, which also means
     /// this was the first relay that forwarded packet received by the
@@ -275,7 +275,7 @@ private:
     ///
     /// @param order Option search order (see @ref RelaySearchOrder).
     /// @param [out] start Index of the relay information structure from
-    /// which the serch should be started.
+    /// which the search should be started.
     /// @param [out] end Index of the relay information structure on which
     /// the option searches should stop.
     /// @param [out] direction Equals to -1 for backwards searches, and
@@ -401,7 +401,7 @@ public:
     /// requires one parameter (type).
     ///
     /// @return Pointer to "const" string containing the message name. If
-    /// the message type is unknnown the "UNKNOWN" is returned. The caller
+    /// the message type is unknown the "UNKNOWN" is returned. The caller
     /// must not release the returned pointer.
     const char* getName() const;
 

+ 21 - 21
src/lib/dhcp/tests/option_copy_unittest.cc

@@ -77,7 +77,7 @@ enum OpType {
 /// the pointer will be reset, so there is no sense to initialize this
 /// object to a non-null value. However, for the assignment testing it is
 /// recommended to initialize the option_copy to point to an option having
-/// different parameters to verify that all parameters have been overriden
+/// different parameters to verify that all parameters have been overridden
 /// by the assignment operation.
 template<typename OptionType>
 void testCopyAssign(const OpType& op_type,
@@ -151,7 +151,7 @@ void testCopyAssign(const OpType& op_type,
 
 // **************************** Option ***************************
 
-/// @brief Test deep copy of option encapsualated by Option type.
+/// @brief Test deep copy of option encapsulated by Option type.
 ///
 /// @param op_type Copy operation type.
 void testOption(const OpType& op_type) {
@@ -193,7 +193,7 @@ TEST(OptionCopyTest, optionAssignment) {
 
 // **************************** OptionInt ***************************
 
-/// @brief Test deep copy of option encapsualated by OptionInt type.
+/// @brief Test deep copy of option encapsulated by OptionInt type.
 ///
 /// @param op_type Copy operation type.
 void testOptionInt(const OpType& op_type) {
@@ -223,7 +223,7 @@ TEST(OptionCopyTest, optionIntAssignment) {
 
 // ************************* OptionIntArray ***************************
 
-/// @brief Test deep copy of option encapsualated by OptionIntArray type.
+/// @brief Test deep copy of option encapsulated by OptionIntArray type.
 ///
 /// @param op_type Copy operation type.
 void testOptionIntArray(const OpType& op_type) {
@@ -260,7 +260,7 @@ TEST(OptionCopyTest, optionIntArrayAssignment) {
 
 // ************************* Option4AddrLst ***************************
 
-/// @brief Test deep copy of option encapsualated by Option4AddrLst or
+/// @brief Test deep copy of option encapsulated by Option4AddrLst or
 /// Option6AddrLst type.
 ///
 /// @param op_type Copy operation type.
@@ -290,7 +290,7 @@ void testOptionAddrLst(const OpType& op_type,
     EXPECT_EQ(option_address.toText(), addrs_copy[0].toText());
 }
 
-/// @brief Test deep copy of option encapsualated by Option4AddrLst type.
+/// @brief Test deep copy of option encapsulated by Option4AddrLst type.
 ///
 /// @param op_type Copy operation type.
 void testOption4AddrLst(const OpType& op_type) {
@@ -314,7 +314,7 @@ TEST(OptionCopyTest, option4AddrLstAssignment) {
 
 // ************************* Option6AddrLst ***************************
 
-/// @brief Test deep copy of option encapsualated by Option6AddrLst type.
+/// @brief Test deep copy of option encapsulated by Option6AddrLst type.
 ///
 /// @param op_type Copy operation type.
 void testOption6AddrLst(const OpType& op_type) {
@@ -338,7 +338,7 @@ TEST(OptionCopyTest, option6AddrLstAssignment) {
 
 // *************************** Option6IA ***************************
 
-/// @brief Test deep copy of option encapsualated by Option6IA type.
+/// @brief Test deep copy of option encapsulated by Option6IA type.
 ///
 /// @param op_type Copy operation type.
 void testOption6IA(const OpType& op_type) {
@@ -374,7 +374,7 @@ TEST(OptionCopyTest, option6IAAssignment) {
 
 // *************************** Option6IAAddr ***************************
 
-/// @brief Test deep copy of option encapsualated by Option6IAAddr type.
+/// @brief Test deep copy of option encapsulated by Option6IAAddr type.
 ///
 /// @param op_type Copy operation type.
 void testOption6IAAddr(const OpType& op_type) {
@@ -412,7 +412,7 @@ TEST(OptionCopyTest, option6IAAddrAssignment) {
 
 // *************************** Option6IAPrefix ***************************
 
-/// @brief Test deep copy of option encapsualated by Option6IAPrefix type.
+/// @brief Test deep copy of option encapsulated by Option6IAPrefix type.
 ///
 /// @param op_type Copy operation type.
 void testOption6IAPrefix(const OpType& op_type) {
@@ -451,7 +451,7 @@ TEST(OptionCopyTest, option6IAPrefixAssignment) {
 
 // *************************** Option6StatusCode ***************************
 
-/// @brief Test deep copy of option encapsualated by Option6StatusCode type.
+/// @brief Test deep copy of option encapsulated by Option6StatusCode type.
 ///
 /// @param op_type Copy operation type.
 void testOption6StatusCode(const OpType& op_type) {
@@ -485,7 +485,7 @@ TEST(OptionCopyTest, option6StatusCodeAssignment) {
 
 // *************************** OptionString ***************************
 
-/// @brief Test deep copy of option encapsualated by OptionString type.
+/// @brief Test deep copy of option encapsulated by OptionString type.
 ///
 /// @param op_type Copy operation type.
 void testOptionString(const OpType& op_type) {
@@ -516,7 +516,7 @@ TEST(OptionCopyTest, optionStringAssignment) {
 
 // *************************** OptionVendor ***************************
 
-/// @brief Test deep copy of option encapsualated by OptionVendor type.
+/// @brief Test deep copy of option encapsulated by OptionVendor type.
 ///
 /// @param op_type Copy operation type.
 void testOptionVendor(const OpType& op_type) {
@@ -546,7 +546,7 @@ TEST(OptionCopyTest, optionVendorAssignment) {
 
 // *********************** OptionVendorClass ***************************
 
-/// @brief Test deep copy of option encapsualated by OptionVendorClass type.
+/// @brief Test deep copy of option encapsulated by OptionVendorClass type.
 ///
 /// @param op_type Copy operation type.
 void testOptionVendorClass(const OpType& op_type) {
@@ -571,7 +571,7 @@ void testOptionVendorClass(const OpType& op_type) {
     tuple = "another-modified-vendor-class-value";
     option->addTuple(tuple);
 
-    // That change shouldn't affect the orginal option. It should still
+    // That change shouldn't affect the original option. It should still
     // contain a single tuple with the original value.
     ASSERT_EQ(1, option_copy->getTuplesNum());
     tuple = option_copy->getTuple(0);
@@ -592,7 +592,7 @@ TEST(OptionCopyTest, optionVendorClassAssignment) {
 
 // ************************** Option4ClientFqdn ***************************
 
-/// @brief Test deep copy of option encapsualated by Option4ClientFqdn or
+/// @brief Test deep copy of option encapsulated by Option4ClientFqdn or
 /// Option6ClientFqdn type.
 ///
 /// @param op_type Copy operation type.
@@ -602,7 +602,7 @@ TEST(OptionCopyTest, optionVendorClassAssignment) {
 /// the pointer will be reset, so there is no sense to initialize this
 /// object to a non-null value. However, for the assignment testing it is
 /// recommended to initialize the option_copy to point to an option having
-/// different parameters to verify that all parameters have been overriden
+/// different parameters to verify that all parameters have been overridden
 /// by the assignment operation.
 ///
 /// @tparam OptionType Option4ClientFqdn or Option6ClientFqdn.
@@ -644,7 +644,7 @@ void testOptionClientFqdn(const OpType& op_type,
     }
 }
 
-/// @brief Test deep copy of option encapsualated by Option4ClientFqdn type.
+/// @brief Test deep copy of option encapsulated by Option4ClientFqdn type.
 ///
 /// @param op_type Copy operation type.
 void testOption4ClientFqdn(const OpType& op_type) {
@@ -675,7 +675,7 @@ TEST(OptionCopyTest, option4ClientFqdnAssignment) {
 
 // ************************** Option6ClientFqdn ***************************
 
-/// @brief Test deep copy of option encapsualated by Option6ClientFqdn type.
+/// @brief Test deep copy of option encapsulated by Option6ClientFqdn type.
 ///
 /// @param op_type Copy operation type.
 void testOption6ClientFqdn(const OpType& op_type) {
@@ -704,7 +704,7 @@ TEST(OptionCopyTest, option6ClientFqdnAssignment) {
 
 // **************************** OptionCustom ***************************
 
-/// @brief Test deep copy of option encapsualated by OptionCustom type.
+/// @brief Test deep copy of option encapsulated by OptionCustom type.
 ///
 /// @param op_type Copy operation type.
 void testOptionCustom(const OpType& op_type) {
@@ -746,7 +746,7 @@ TEST(OptionCopyTest, optionCustomAssignment) {
 
 // ************************ OptionOpaqueDataTuples ***********************
 
-/// @brief Test deep copy of option encapsualated by OptionOpaqueDataTuples type.
+/// @brief Test deep copy of option encapsulated by OptionOpaqueDataTuples type.
 ///
 /// @param op_type Copy operation type.
 void testOptionOpaqueDataTuples(const OpType& op_type) {

+ 1 - 1
src/lib/dhcpsrv/parsers/.gitignore

@@ -1 +1 @@
-/.dirstamp
+/.dirstamp

+ 1 - 1
src/lib/dns/rdata/generic/detail/.gitignore

@@ -1 +1 @@
-/.dirstamp
+/.dirstamp

+ 1 - 1
src/lib/eval/.gitignore

@@ -1,3 +1,3 @@
 /eval_messages.cc
 /eval_messages.h
-/s-messages
+/s-messages

+ 1 - 1
src/lib/eval/tests/.gitignore

@@ -1 +1 @@
-/libeval_unittests
+/libeval_unittests

+ 1 - 1
src/lib/testutils/.gitignore

@@ -1 +1 @@
-/dhcp_test_lib.sh
+/dhcp_test_lib.sh

+ 1 - 1
src/lib/util/encode/.gitignore

@@ -1 +1 @@
-/.dirstamp
+/.dirstamp

+ 1 - 1
src/lib/util/random/.gitignore

@@ -1 +1 @@
-/.dirstamp
+/.dirstamp

+ 1 - 1
src/lib/util/tests/.gitignore

@@ -1,2 +1,2 @@
 /run_unittests
-/process_spawn_app.sh
+/process_spawn_app.sh