Spelling errors in code and comments fixed

This commit is contained in:
Ruben Undheim
2019-03-31 15:25:18 +00:00
parent 14e2d9f632
commit 5d26cf4c77
127 changed files with 232 additions and 232 deletions
+2 -2
View File
@@ -46,12 +46,12 @@ public:
virtual ~CIFDiagnostics ();
/**
* @brief Issue an error with positional informations
* @brief Issue an error with positional information
*/
virtual void error (const std::string &txt) = 0;
/**
* @brief Issue a warning with positional informations
* @brief Issue a warning with positional information
*/
virtual void warn (const std::string &txt) = 0;
};
@@ -118,14 +118,14 @@ public:
virtual const char *format () const { return "CIF"; }
/**
* @brief Issue an error with positional informations
* @brief Issue an error with positional information
*
* Reimplements CIFDiagnostics
*/
virtual void error (const std::string &txt);
/**
* @brief Issue a warning with positional informations
* @brief Issue a warning with positional information
*
* Reimplements CIFDiagnostics
*/
+2 -2
View File
@@ -46,12 +46,12 @@ public:
virtual ~DXFDiagnostics ();
/**
* @brief Issue an error with positional informations
* @brief Issue an error with positional information
*/
virtual void error (const std::string &txt) = 0;
/**
* @brief Issue a warning with positional informations
* @brief Issue a warning with positional information
*/
virtual void warn (const std::string &txt) = 0;
};
@@ -122,14 +122,14 @@ public:
virtual const char *format () const { return "DXF"; }
/**
* @brief Issue an error with positional informations
* @brief Issue an error with positional information
*
* Reimplements DXFDiagnostics
*/
virtual void error (const std::string &txt);
/**
* @brief Issue a warning with positional informations
* @brief Issue a warning with positional information
*
* Reimplements DXFDiagnostics
*/
@@ -343,8 +343,8 @@ GDS2ReaderBase::do_read (db::Layout &layout)
get_string (m_cellname);
// if the first cell is the dummy cell containing the context informations
// read this cell in a special way and store the context informations separately.
// if the first cell is the dummy cell containing the context information
// read this cell in a special way and store the context information separately.
if (first_cell && m_cellname == "$$$CONTEXT_INFO$$$") {
read_context_info_cell ();
@@ -48,12 +48,12 @@ public:
virtual ~OASISDiagnostics ();
/**
* @brief Issue an error with positional informations
* @brief Issue an error with positional information
*/
virtual void error (const std::string &txt) = 0;
/**
* @brief Issue a warning with positional informations
* @brief Issue a warning with positional information
*/
virtual void warn (const std::string &txt) = 0;
};
@@ -629,7 +629,7 @@ struct LNameJoinOp2
* Since CBLOCK does not update this record, the position of the table will
* be the location of CBLOCK rather than that of the name record itself.
* PAD records will also call this method, so the beginning of a table
* is right after any preceeding PAD records and exactly at the location
* is right after any preceding PAD records and exactly at the location
* of the first name record after PADs.
*/
void
@@ -1405,21 +1405,21 @@ OASISReader::do_read (db::Layout &layout)
}
// Check the table offsets vs. real occurance
// Check the table offsets vs. real occurrence
if (m_first_cellname != 0 && m_first_cellname != m_table_cellname && m_expect_strict_mode == 1) {
warn (tl::sprintf (tl::to_string (tr ("CELLNAME table offset does not match first occurance of CELLNAME in strict mode - %s vs. %s")), m_table_cellname, m_first_cellname));
warn (tl::sprintf (tl::to_string (tr ("CELLNAME table offset does not match first occurrence of CELLNAME in strict mode - %s vs. %s")), m_table_cellname, m_first_cellname));
}
if (m_first_propname != 0 && m_first_propname != m_table_propname && m_expect_strict_mode == 1) {
warn (tl::sprintf (tl::to_string (tr ("PROPNAME table offset does not match first occurance of PROPNAME in strict mode - %s vs. %s")), m_table_propname, m_first_propname));
warn (tl::sprintf (tl::to_string (tr ("PROPNAME table offset does not match first occurrence of PROPNAME in strict mode - %s vs. %s")), m_table_propname, m_first_propname));
}
if (m_first_propstring != 0 && m_first_propstring != m_table_propstring && m_expect_strict_mode == 1) {
warn (tl::sprintf (tl::to_string (tr ("PROPSTRING table offset does not match first occurance of PROPSTRING in strict mode - %s vs. %s")), m_table_propstring, m_first_propstring));
warn (tl::sprintf (tl::to_string (tr ("PROPSTRING table offset does not match first occurrence of PROPSTRING in strict mode - %s vs. %s")), m_table_propstring, m_first_propstring));
}
if (m_first_layername != 0 && m_first_layername != m_table_layername && m_expect_strict_mode == 1) {
warn (tl::sprintf (tl::to_string (tr ("LAYERNAME table offset does not match first occurance of LAYERNAME in strict mode - %s vs. %s")), m_table_layername, m_first_layername));
warn (tl::sprintf (tl::to_string (tr ("LAYERNAME table offset does not match first occurrence of LAYERNAME in strict mode - %s vs. %s")), m_table_layername, m_first_layername));
}
if (m_first_textstring != 0 && m_first_textstring != m_table_textstring && m_expect_strict_mode == 1) {
warn (tl::sprintf (tl::to_string (tr ("TEXTSTRING table offset does not match first occurance of TEXTSTRING in strict mode - %s vs. %s")), m_table_textstring, m_first_textstring));
warn (tl::sprintf (tl::to_string (tr ("TEXTSTRING table offset does not match first occurrence of TEXTSTRING in strict mode - %s vs. %s")), m_table_textstring, m_first_textstring));
}
}
@@ -119,14 +119,14 @@ public:
virtual const char *format () const { return "OASIS"; }
/**
* @brief Issue an error with positional informations
* @brief Issue an error with positional information
*
* Reimplements OASISDiagnostics
*/
virtual void error (const std::string &txt);
/**
* @brief Issue a warning with positional informations
* @brief Issue a warning with positional information
*
* Reimplements OASISDiagnostics
*/
@@ -290,7 +290,7 @@ gsi::ClassExt<db::SaveLayoutOptions> oasis_writer_options (
"@args level\n"
"The OASIS compression level is an integer number between 0 and 10. 0 basically is no compression, "
"1 produces shape arrays in a simple fashion. 2 and higher compression levels will use a more elaborate "
"algorithm to find shape arrays which uses 2nd and futher neighbor distances. The higher the level, the "
"algorithm to find shape arrays which uses 2nd and further neighbor distances. The higher the level, the "
"higher the memory requirements and run times.\n"
) +
gsi::method_ext ("oasis_compression_level", &get_oasis_compression,
@@ -1076,7 +1076,7 @@ For "bottom" mounting, the top PCB layer will be assigned to the last layout lay
<property name="text" >
<string>Leave fields empty to specify less reference points. One point is used to derive the displacement, further points are used to derive the orientation. Currently, no magnification is implied and only simple rotations are derived from the mapping points.
Alternatively the transformation (imported to existing layout) can be specified using the explicit transformation below. This allows to specify an arbitary transformation. Use the common notation (i.e. "*2 r90 10,-100").</string>
Alternatively the transformation (imported to existing layout) can be specified using the explicit transformation below. This allows to specify an arbitrary transformation. Use the common notation (i.e. "*2 r90 10,-100").</string>
</property>
<property name="wordWrap" >
<bool>true</bool>
@@ -743,7 +743,7 @@
<property name="text" >
<string>Leave fields empty to specify less reference points. One point is used to derive the displacement, further points are used to derive the orientation. Currently, no magnification is implied and only simple rotations are derived from the mapping points.
Alternatively the transformation (imported to existing layout) can be specified using the explicit transformation below. This allows to specify an arbitary transformation. Use the common notation (i.e. "*2 r90 10,-100").</string>
Alternatively the transformation (imported to existing layout) can be specified using the explicit transformation below. This allows to specify an arbitrary transformation. Use the common notation (i.e. "*2 r90 10,-100").</string>
</property>
<property name="wordWrap" >
<bool>true</bool>
@@ -360,7 +360,7 @@ NetTracerNet::NetTracerNet (const NetTracer &tracer, const db::ICplxTrans &trans
for (NetTracer::iterator s = tracer.begin (); s != tracer.end (); ++s) {
// TODO: should reset propery ID:
// TODO: should reset property ID:
tl::ident_map<db::properties_id_type> pm;
db::Shape new_shape = m_shapes.insert (s->shape (), trans, pm);
m_net_shapes.push_back (*s);
@@ -160,7 +160,7 @@ gsi::Class<db::NetTracerShape> decl_NetElement ("db", "NetElement",
"In any case, the \\shape method will deliver the shape and \\trans the transformation of the shape into the original top cell. "
"To obtain a flat representation of the net, the shapes need to be transformed by this transformation.\n"
"\n"
"\\layer will give the layer the shape is located at, \\cell_index will denote the cell that containes the shape.\n"
"\\layer will give the layer the shape is located at, \\cell_index will denote the cell that contains the shape.\n"
"\n"
"This class has been introduced in version 0.25.\n"
);
@@ -84,7 +84,7 @@ struct InputModeConverter
case IMVisible:
return "visible";
case IMSpecific:
return "specifc";
return "specific";
default:
return "";
}
@@ -1404,7 +1404,7 @@ XORToolDialog::run_xor ()
if (mp_view && output_mode == OMMarkerDatabase) {
mp_view->remove_rdb (rdb_index);
}
throw tl::Exception (tl::to_string (QObject::tr ("Errors occured during processing. First error message says:\n")) + job.error_messages ().front ());
throw tl::Exception (tl::to_string (QObject::tr ("Errors occurred during processing. First error message says:\n")) + job.error_messages ().front ());
}
// apply healing if required