mirror of https://github.com/KLayout/klayout.git
A little more backward compatibility plus macro name issue fixed
* Some removed methods have been restored (and are deprecated). * Macro names like "0.25.lym" don't render error messages during loading now
This commit is contained in:
parent
93b30364d9
commit
55aa35bc8f
|
|
@ -412,7 +412,7 @@ struct simple_polygon_defs
|
|||
"\n"
|
||||
"@return The transformed simple polygon.\n"
|
||||
) +
|
||||
method_ext ("transformed", &transformed_cplx,
|
||||
method_ext ("transformed|#transformed_cplx", &transformed_cplx,
|
||||
"@brief Transforms the simple polygon.\n"
|
||||
"@args t\n"
|
||||
"\n"
|
||||
|
|
@ -422,6 +422,9 @@ struct simple_polygon_defs
|
|||
"@param t The transformation to apply.\n"
|
||||
"\n"
|
||||
"@return The transformed simple polygon.\n"
|
||||
"\n"
|
||||
"With version 0.25, the original 'transformed_cplx' method is deprecated and "
|
||||
"'transformed' takes both simple and complex transformations."
|
||||
) +
|
||||
constructor ("from_s", &from_string,
|
||||
"@brief Creates an object from a string\n"
|
||||
|
|
@ -1355,7 +1358,7 @@ struct polygon_defs
|
|||
"\n"
|
||||
"@return The transformed polygon.\n"
|
||||
) +
|
||||
method_ext ("transformed", &transformed_cplx,
|
||||
method_ext ("transformed|#transformed_cplx", &transformed_cplx,
|
||||
"@brief Transforms the polygon with a complex transformation\n"
|
||||
"@args t\n"
|
||||
"\n"
|
||||
|
|
@ -1365,6 +1368,9 @@ struct polygon_defs
|
|||
"@param t The transformation to apply.\n"
|
||||
"\n"
|
||||
"@return The transformed polygon.\n"
|
||||
"\n"
|
||||
"With version 0.25, the original 'transformed_cplx' method is deprecated and "
|
||||
"'transformed' takes both simple and complex transformations."
|
||||
) +
|
||||
constructor ("from_s", &from_string,
|
||||
"@brief Creates an object from a string\n"
|
||||
|
|
|
|||
|
|
@ -406,14 +406,14 @@ Class<db::RecursiveShapeIterator> decl_RecursiveShapeIterator ("RecursiveShapeIt
|
|||
"The flags must be specified before the shapes are being retrieved.\n"
|
||||
"Settings the shapes flags will reset the iterator.\n"
|
||||
) +
|
||||
gsi::method ("trans", &db::RecursiveShapeIterator::trans,
|
||||
gsi::method ("trans|#itrans", &db::RecursiveShapeIterator::trans,
|
||||
"@brief Gets the current transformation by which the shapes must be transformed into the initial cell\n"
|
||||
"\n"
|
||||
"The shapes delivered are not transformed. Instead, this transformation must be applied to \n"
|
||||
"get the shape in the coordinate system of the top cell.\n"
|
||||
"\n"
|
||||
"Starting with version 0.25, this transformation is a int-to-int transformation and there "
|
||||
"no longer is a 'itrans' method."
|
||||
"Starting with version 0.25, this transformation is a int-to-int transformation the 'itrans' method "
|
||||
"which was providing this transformation before is deprecated."
|
||||
) +
|
||||
gsi::method ("shape", &db::RecursiveShapeIterator::shape,
|
||||
"@brief Gets the current shape\n"
|
||||
|
|
|
|||
|
|
@ -1375,7 +1375,7 @@ void MacroCollection::scan (const std::string &path)
|
|||
|
||||
try {
|
||||
|
||||
std::string n = tl::to_string (QFileInfo (*f).baseName ());
|
||||
std::string n = tl::to_string (QFileInfo (*f).completeBaseName ());
|
||||
|
||||
Macro::Format format = Macro::NoFormat;
|
||||
Macro::Interpreter interpreter = Macro::None;
|
||||
|
|
|
|||
Loading…
Reference in New Issue