Skip to content

Commit

Permalink
Merge branch 'master-upstream'
Browse files Browse the repository at this point in the history
  • Loading branch information
Kazzz-S committed Aug 7, 2023
2 parents e7136e9 + ef49379 commit 88cf802
Show file tree
Hide file tree
Showing 7 changed files with 238 additions and 143 deletions.
47 changes: 47 additions & 0 deletions Changelog
Original file line number Diff line number Diff line change
@@ -1,3 +1,50 @@
0.28.11 (2023-08-09):
* Bugfix: %GITHUB%/issues/1307 (partial) LEF/DEF PIN labels are taken from NET, not PIN name
* Bugfix: %GITHUB%/issues/1415 GDS2 files with meta info are not read by old versions of KLayout
* Bugfix: %GITHUB%/issues/1422 DXF file parsing error, about spline curve
* Bugfix: %GITHUB%/issues/1425 Python Binding / Layout / find_layer broken for layer "name"
* Bugfix: %GITHUB%/issues/1428 Feature request: "%include" in macros should allow including XML files too
* Bugfix: %GITHUB%/issues/1430 Add option to filter out geometric primitives from Marker Database Browser Info widget
* Bugfix: %GITHUB%/issues/1432 strm2oas def ignores path segment after + VIRTUAL + RECT
* Bugfix: %GITHUB%/issues/1433 Fix def syntax error in testdata/lefdef/viasize2/test.def
* Bugfix: %GITHUB%/issues/1453 Zoom (in) function with selected layers significantly slower in newer releases
* Enhancement: %GITHUB%/issues/1438 Provide a configuration option to switch back to old-style text selection (at origin only)
* Enhancement: %GITHUB%/issues/1440 Relative margin for Marker Database Browser
* Enhancement: %GITHUB%/issues/1441 Support for label position in Marker Database Browser
* Enhancements:
- Add a default extension to file names unless one is given
- Selection on partial mode enhanced: allow selection of edge
ends if edges overlap, graphical indicator for selected partial
- Wheel events do no longer change Combo Box selections
- DRC/LVS: log output overhead reduced for faster execution in
small layout cases
- Added RBA::Image/pya.Image constructor taking QImage and PixelBuffer
- Point objects are native citizens now of the database and act as
representatives for handles, better editing and visualization of
the latter
- Macro editor has "find previous" button now
- Mitigate the effect of overriding a globally-defined technology
with -nn on the command line by creating tech variants
- LEF/DEF map files now allow LEFPINNAME and PINNAME purpose to
map pin labels in a more consistent way
* Bugfix:
- Tilde expansion wasn't working for layout write
- Python specific API documentation did not mention disambiguation
for property/method ambiguity
- Python error messages are more readable and contain the exception
class
- PCell layer-type parameters did not work without a default value
- Point-like PCell handles now cannot be spoiled any longer in partial
mode
- "Duplicate" was also duplicating cells or layers depending on the
scope which was irritating. Now it's confined to geometry
- DRC/LVS logs list the correct line also with include files
- "report" wasn't working in DRC/LVS scripts for scripts only using
external sources
- Fixed a potential segfault on application exit
- Enhancements to the macro editor's search & replace function -
"replace and search next" wasn't working properly and other flaws

0.28.10 (2023-07-05):
* Bugfix: %GITHUB%/issues/1397 LayoutMetaInfo serialization/deserialization problem
* Bugfix: %GITHUB%/issues/1404 Better support for editing mode in Qt-less LayoutView
Expand Down
8 changes: 6 additions & 2 deletions src/laybasic/laybasic/layFinder.cc
Original file line number Diff line number Diff line change
Expand Up @@ -475,6 +475,8 @@ ShapeFinder::checkpoint ()
void
ShapeFinder::visit_cell (const db::Cell &cell, const db::Box &hit_box, const db::Box &scan_box, const db::DCplxTrans &vp, const db::ICplxTrans &t, int /*level*/)
{
checkpoint ();

if (! m_context_layers.empty ()) {

std::map<db::cell_index_type, bool>::const_iterator ctx = m_cells_with_context.find (cell.cell_index ());
Expand All @@ -499,12 +501,12 @@ ShapeFinder::visit_cell (const db::Cell &cell, const db::Box &hit_box, const db:

if (! point_mode ()) {

checkpoint ();

for (std::vector<int>::const_iterator l = layers ().begin (); l != layers ().end (); ++l) {

if (layers ().size () == 1 || (layers ().size () > 1 && cell.bbox ((unsigned int) *l).touches (scan_box))) {

checkpoint ();

const db::Shapes &shapes = cell.shapes ((unsigned int) *l);

db::ShapeIterator shape = shapes.begin_touching (scan_box, m_flags, mp_prop_sel, m_inv_prop_sel);
Expand Down Expand Up @@ -560,6 +562,8 @@ ShapeFinder::visit_cell (const db::Cell &cell, const db::Box &hit_box, const db:
db::ShapeIterator shape = shapes.begin_touching (scan_box, m_flags, mp_prop_sel, m_inv_prop_sel);
while (! shape.at_end ()) {

checkpoint ();

bool match = false;
double d = std::numeric_limits<double>::max ();

Expand Down
10 changes: 8 additions & 2 deletions src/layui/layui/layWidgets.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1090,7 +1090,7 @@ MarginWidget::MarginWidget (QWidget *parent, const char *name)
setFrameStyle (QFrame::NoFrame);

QHBoxLayout *layout = new QHBoxLayout (this);
layout->setMargin (0);
layout->setContentsMargins (0, 0, 0, 0);

QLineEdit *le = new QLineEdit (this);
mp_abs_edit = le;
Expand Down Expand Up @@ -1299,6 +1299,8 @@ void DecoratedLineEdit::mouseReleaseEvent (QMouseEvent *event)
}

}

QLineEdit::mouseReleaseEvent (event);
}

void DecoratedLineEdit::mousePressEvent (QMouseEvent *event)
Expand All @@ -1317,9 +1319,11 @@ void DecoratedLineEdit::mousePressEvent (QMouseEvent *event)
}

}

QLineEdit::mousePressEvent (event);
}

void DecoratedLineEdit::resizeEvent (QResizeEvent * /*event*/)
void DecoratedLineEdit::resizeEvent (QResizeEvent *event)
{
int fw = hasFrame () ? le_frame_width : 0;

Expand All @@ -1334,6 +1338,8 @@ void DecoratedLineEdit::resizeEvent (QResizeEvent * /*event*/)
QRect r = geometry ();
mp_options_label->setGeometry (fw, 0, label_size.width (), r.height ());
}

QLineEdit::resizeEvent (event);
}

// -------------------------------------------------------------
Expand Down
Loading

0 comments on commit 88cf802

Please sign in to comment.