Matthias Koefferlein
5b9cb95e68
Fixed issue #1779 (make the state of the "By Cell" or "By Category" tree persistent)
2024-07-27 21:10:05 +02:00
Matthias Koefferlein
7caf7c89d3
Fixed issue #1768 (Change 'angle constraint' of box and ellipse ruler templates to 'any angle' by default)
2024-07-27 20:35:20 +02:00
Matthias Koefferlein
258aaad29d
Fixed issue #1804 (Instantation path highlight mismatch with view window)
...
In addition, the highlighting was fixed in the
presence of a context path (aka "edit in place").
2024-07-27 20:10:30 +02:00
Matthias Koefferlein
fec61438d4
Small bugfix: 'Delete selected stacks' was not working from stack tech component editor's context menu
2024-07-27 17:26:23 +02:00
Matthias Koefferlein
fb83b9fbc9
Trying to improve "grab" behavior of partial selection
...
Problem was: with a partial selection, clicking
in the vicinity of a non-selected edge could
make this edge the selected one. So it was
not possible to drag the selection in some
cases.
With "move mode" it was. The difference was in
the detection logic that decides where a click
is on the selection or outside.
Now, the logic is aligned, and partial mode
clicks will check whether the mouse pointer
is inside the selection bbox (plus some
margin). In that case, the click applies to
the current selection.
2024-07-27 17:18:29 +02:00
Matthias Koefferlein
b253eaa51a
Including more GeneratorExit and StopAsyncIteration in the ignored exceptions for Python
2024-07-27 14:29:14 +02:00
Matthias Koefferlein
071326ffee
Small doc update
2024-07-27 14:18:42 +02:00
Matthias Koefferlein
c3fdc6e1bc
Implemented a solution for issue #1790 (Support for recursive PCell instances)
...
This also fixes some other issues, like "display_text_impl" being
called when a PCell is run with the debugger open.
2024-07-27 14:00:54 +02:00
Matthias Köfferlein
cfa0dacd4f
Merge pull request #1800 from KLayout/bugfix/issue-1799
...
Fixed issue #1799 (Can't set cell properties by script)
2024-07-27 11:48:01 +02:00
Matthias Köfferlein
baf2c761c4
Merge pull request #1796 from KLayout/bugfix/issue-1794
...
Implemented a fix for #1794 (giant meta info produces invalid GDS)
2024-07-27 11:47:47 +02:00
Matthias Köfferlein
113e47a9ca
Merge pull request #1795 from KLayout/bugfix/issue-1793
...
Fixing issue #1793 (problem with default arguments in Python)
2024-07-27 11:47:33 +02:00
Matthias Koefferlein
d6ee473d72
Fixed issue #1799 (Can't set cell properties by script)
2024-07-25 22:36:46 +02:00
Matthias Koefferlein
a0d26a59e3
Properly transferring ownership for variant to Python/Ruby translation
2024-07-25 21:07:36 +02:00
Matthias Koefferlein
58d489b39a
Added Region#being_shapes_rec and Region#begin_merged_shapes_rec, mainly for being able to retrieve shapes with properties from Region#nets
2024-07-25 19:34:08 +02:00
Matthias Koefferlein
92e44bd9b9
Small update of doc.
2024-07-24 22:36:06 +02:00
Matthias Koefferlein
4cd8772e70
Convenience methods Shape#properties, Layout#properties, Cell#properties, Instance#properties
2024-07-24 22:29:09 +02:00
Matthias Koefferlein
6baabc30bb
Added Netlist#top_circuit and Netlist#top_circuits convenience methods
2024-07-24 20:57:17 +02:00
Robert O'Callahan
8e7d9669af
Initialize m_verbosity_level on demand to avoid depending on the order of dynamic initialization
...
Resolves #1797
2024-07-23 17:44:00 +12:00
Matthias Koefferlein
16abeb2bdc
Merge branch 'master' into wip
2024-07-22 21:34:12 +02:00
Matthias Koefferlein
3bd02c023f
Enabling MSVC build (2)
2024-07-21 10:47:09 +02:00
Matthias Koefferlein
15eebb032f
Enabling MSVC build
2024-07-21 10:23:49 +02:00
Matthias Koefferlein
9600cd818c
Merge branch 'master' into bugfix/issue-1793
2024-07-21 08:11:37 +02:00
Matthias Köfferlein
d3921844d6
Merge pull request #1791 from KLayout/bugfix/issue-1782
...
Fixing issue #1782
2024-07-21 08:08:59 +02:00
Matthias Köfferlein
951905d7aa
Merge pull request #1792 from KLayout/bugfix/issue-1789
...
Fixing bug #1789 (Crash by add Text to hidden layer)
2024-07-21 08:08:43 +02:00
Matthias Koefferlein
6456675d7a
Trying to fix a build issue
2024-07-20 22:48:06 +02:00
Matthias Koefferlein
0dd6fca51e
Implemented a fix for #1794 (giant meta info produces invalid GDS)
...
This fix solves two problems:
* Too large meta info data
* Too many meta info entries
The first problem is fixed by splitting the strings that serialize
the meta info.
The second problem is fixed by introducing prefixed strings that
indicate the attribute index within the string, not inside
the PROPATTR record.
The solution is backward compatible, although old versions will
not read all meta info and skip entries that exceed the GDS
capacity.
Caveat: the produced GDS files may contain duplicate PROPATTR
keys. This is not strictly illegal, but some third-party processors
may drop such entries.
2024-07-20 22:35:54 +02:00
Matthias Koefferlein
32a815a1c0
Properly selecting debug mode in .pri files for self diagnosis. Touching files for recompile.
2024-07-20 21:04:51 +02:00
Matthias Koefferlein
a8eaead404
Enhanced tl::Variant so it can capture all possible default values. Added a self-diagnosis step in debug builds.
2024-07-20 19:57:11 +02:00
Matthias Koefferlein
9a79838369
Bugfix for issue-1793: using the heap to properly store the default values
2024-07-20 18:58:29 +02:00
Matthias Koefferlein
a323bb98ba
Bugfix - missed return value.
2024-07-20 00:54:48 +02:00
Matthias Koefferlein
50a9f7004e
Fixed a link issue
2024-07-20 00:42:38 +02:00
Matthias Koefferlein
915cc53195
Convenience: copy cells now has an option to mute the dialog (shallow/deep) and the dialog is only shown if there are subcells
2024-07-20 00:03:43 +02:00
Matthias Koefferlein
ee07e4b3b9
Added smoke test for Layout#break_polygons and Shapes#break_polygons to RBA
2024-07-17 23:25:20 +02:00
Matthias Koefferlein
4d80fb37c3
Enabled 'break_polygons' for editable Shapes containers
2024-07-17 23:14:34 +02:00
Matthias Koefferlein
1ed69e9b46
Added test
2024-07-17 23:09:04 +02:00
Matthias Koefferlein
b6cc636b05
Debugging Layout#break_polygons etc.
2024-07-17 00:51:01 +02:00
Matthias Koefferlein
a89e295349
WIP: Shapes#break_polygons, Layout#break_polygons, Region#break_polygons (as alias)
2024-07-17 00:27:06 +02:00
Matthias Köfferlein
a6c07182e3
Merge pull request #1788 from Kazzz-S/0.29.4-mac1
...
Modified the macOS build system so that the debug build uses ASAN (Adress SANitizer) for clang++
2024-07-14 14:22:09 +02:00
Matthias Koefferlein
8b1930ef23
Fixing bug #1789 (Crash by add Text to hidden layer)
...
Problem was: after activating Text mode the edit
function showed the dock with the editor options.
This cause a mouse move event due to resizing
which in turn triggered the popup about invisible
layer. Apparently Qt's dock open animation does
not like popups during the animation phase which
caused the segfault.
Solution is to do the check upon activation,
not in the mouse move event.
2024-07-13 20:30:12 +02:00
Matthias Koefferlein
072edecb1a
Add-on making re-registration of PCells a valid feature.
2024-07-13 18:55:17 +02:00
Matthias Köfferlein
4383802d80
Merge pull request #1786 from rocallahan/remove-friend
...
Remove unused `OASISReaderLayerMapping` friend declaration
2024-07-13 18:30:47 +02:00
Matthias Köfferlein
7e5f10307d
Merge pull request #1785 from ChipFlow/subcircuit_hierarchy_for_nets
...
Fixed DeepShapeStore.subcircuit_hierarchy_for_nets getter
2024-07-13 18:24:30 +02:00
Matthias Koefferlein
0df6339f4e
Fixing issue #1782
...
This patch establishes "nan", "inf" and "-inf" as
valid values for tl::Variant, so corresponding
PCell parameters can be serialized and are
properly managed.
2024-07-13 18:07:45 +02:00
Matthias Koefferlein
7146db4762
Checking some pointers for null (maybe responsible for crashes during PCell development)
2024-07-13 15:30:17 +02:00
Matthias Koefferlein
acbbd92194
Fixes a potential crash during breakpoint handling
...
This fixes the following problem:
* Set a breakpoint in a PCell code
* Change the PCell, breakpoint gets triggered
* While debugger is in breakpoint, close the
view with the PCell
To prevent any kind of interference, events
are now disabled during breakpoint mode. As
this interferes with the help dialog, you
cannot open the help dialog either.
2024-07-13 10:42:44 +02:00
Robert O'Callahan
b2ee4209f8
Remove unused `OASISReaderLayerMapping` friend declaration
2024-07-10 10:27:20 +12:00
Serge Rabyking
2be4f3f756
Fixed DeepShapeStore.subcircuit_hierarchy_for_nets getter
2024-07-09 22:14:32 +01:00
Kazunari Sekigawa
646a356d96
Merge branch '0.29.3-mac1' into 0.29.4-mac1
2024-07-09 18:42:03 +09:00
Matthias Koefferlein
12d09687cd
WIP: post-fix for #1780 - minimizing access to 'selection' which is mutable.
2024-07-08 23:51:36 +02:00
Matthias Koefferlein
3cf6ef2cec
WIP
2024-07-08 23:28:19 +02:00
Matthias Koefferlein
6bca4a07b6
Code cleanup + fixing another bug (crash when doing 'change layer' on multiple selected shapes)
2024-07-08 22:43:56 +02:00
Matthias Koefferlein
930a5d7424
Bugfix issue #1780
2024-07-08 18:59:53 +02:00
Kazunari Sekigawa
45e7a8eb8d
Modified the macOS build system so that the debug build uses ASAN (Address SANitizer) for clang++
2024-07-07 18:47:11 +09:00
Matthias Köfferlein
02506495c2
Merge pull request #1777 from KLayout/bugfix/issue-1771
...
Bugfix/issue 1771
2024-07-06 14:49:45 +02:00
Matthias Koefferlein
27549e006d
Fixing issue #1771 - Python 3.11.7 introduced a new behavior for getting the stack trace line number
2024-07-06 00:23:42 +02:00
Matthias Koefferlein
769327cdab
Fixing issue #1774 (providing klayout.__version__ also for built-in module)
2024-07-05 17:50:38 +02:00
Matthias Koefferlein
9c13dbb63c
Fixed issue #1770 (Macro development step over/into does not work in some cases
...
)
2024-07-04 18:45:34 +02:00
Matthias Koefferlein
63aeec1e36
Updating DRC/LVS doc.
2024-07-04 18:31:44 +02:00
Matthias Koefferlein
6da9e60736
Fixing typo as addressed by issue #1769
2024-07-04 18:31:02 +02:00
Matthias Koefferlein
4a2d1be8bf
Backward compatibility mode (with fix): size now also accepts sizing mode as string (for supporting GF180 DRC decks properly)
2024-07-03 22:59:31 +02:00
Matthias Koefferlein
02f88fb3e0
Fixed 64bit coordinate builds
2024-07-03 18:37:55 +02:00
Matthias Koefferlein
bf78f0b364
Regenerating stubs
2024-07-03 01:14:03 +02:00
Matthias Koefferlein
264f1e0586
Stepwise sizing: had to rename options
...
"inside" and "outside" was already taken. Now it is called
"size_inside" and "size_outside".
2024-07-02 21:10:11 +02:00
Matthias Koefferlein
68530f08bc
Merge branch 'faster-latchup-rules'
2024-07-01 18:28:23 +02:00
Matthias Köfferlein
7839e6a97f
Merge pull request #1764 from KLayout/feature/issue-1756
...
Feature/issue 1756
2024-07-01 18:24:57 +02:00
Matthias Köfferlein
8145e3db57
Merge pull request #1763 from KLayout/better_pyi
...
.pyi files work slightly better with these changes. Also: regeneratin…
2024-07-01 18:24:37 +02:00
Matthias Köfferlein
3237f5ec4a
Merge pull request #1761 from KLayout/feature/issue-1655
...
Feature/issue 1655
2024-07-01 18:24:22 +02:00
Matthias Köfferlein
53db0a0300
Merge pull request #1760 from KLayout/feature/issue-1741
...
Implemented solution for issue #1741 (Feature request: tooltip string…
2024-07-01 18:24:07 +02:00
Matthias Köfferlein
e56c7d6948
Merge pull request #1759 from KLayout/bugfix/issue-1743
...
Fixed issue #1743 (strmxor shows no difference, klayout xor shows 85,…
2024-07-01 18:23:50 +02:00
Matthias Koefferlein
54aeea54ca
Alternative implementation of solution for issue #1756 (allow specific HTTP timeout)
2024-06-30 19:36:18 +02:00
Matthias Koefferlein
6992ac67b0
.pyi files work slightly better with these changes. Also: regenerating Python stubs.
2024-06-30 17:57:36 +02:00
Matthias Koefferlein
a49f907cfa
Doc fixes
2024-06-30 00:07:52 +02:00
Matthias Koefferlein
7eadac527b
Debugging and finalization
2024-06-29 23:55:02 +02:00
Matthias Koefferlein
b92c7bf225
Refined solution
2024-06-29 23:22:32 +02:00
Matthias Koefferlein
f9899efea3
First implementation
2024-06-29 23:02:29 +02:00
Matthias Koefferlein
a5b98f93ff
Implemented solution for issue #1741 (Feature request: tooltip string for PCell parameter)
2024-06-29 22:10:43 +02:00
Matthias Koefferlein
4e8bad1403
Fixed issue #1743 (strmxor shows no difference, klayout xor shows 85, dbu 99.999 vs 1000)
2024-06-29 20:51:37 +02:00
Matthias Koefferlein
7397b8e4e6
Fixed issue 1757 (Triangles::clear () use-after-free) plus another uninitialized value. Added tests.
2024-06-29 20:12:45 +02:00
Matthias Köfferlein
564861abe1
Merge pull request #1753 from KLayout/feature/issue-1747
...
Fixing issue #1747 (signed coordinate transformations with Trans/DTra…
2024-06-29 20:12:07 +02:00
Matthias Köfferlein
054fd09424
Merge pull request #1752 from KLayout/bugfix/issue-1750-1751
...
Fixing issue #1750 and issue #1751
2024-06-29 20:11:54 +02:00
Matthias Köfferlein
6e2c11435b
Merge pull request #1744 from KLayout/wip
...
OASIS reader: avoiding slight rounding of DBU In python read/write cy…
2024-06-29 20:11:40 +02:00
Matthias Koefferlein
0a453b069c
Bugfix: when debugging a modal dialog event or callback, 'run'/'stop' and 'step' was not working
2024-06-28 15:45:25 +02:00
Matthias Koefferlein
a0d7ce0cd8
Maybe fixing two basic issues in debugger:
...
- desktop deadlock if using the help window's search function:
That is because we stole some events in the debugger.
- disabling paint events during debugging
The patch is simply to take out the code responsible for this.
This *may* create issues as debugging of event handlers may
create recursive debugger calls. Needs to be investigated.
But the overall effect so far is positive.
2024-06-27 23:30:54 +02:00
Matthias Koefferlein
9865b14b0c
Update doc
2024-06-25 23:45:09 +02:00
Matthias Koefferlein
100760e219
Fixed progress description
2024-06-25 23:41:35 +02:00
Matthias Koefferlein
10880e078b
Added documentation for new DRC feature
2024-06-25 22:20:48 +02:00
Matthias Koefferlein
58d53636cb
DRC tests for 'size/sized inside
2024-06-25 21:01:23 +02:00
Matthias Koefferlein
4c28d9f6a9
WIP: optimization
2024-06-25 19:35:47 +02:00
Matthias Koefferlein
e8784d1763
WIP: added basic tests
2024-06-25 19:26:35 +02:00
Matthias Koefferlein
128efd45e4
WIP: Implementing flat mode for sized inside/outside
2024-06-25 18:21:21 +02:00
Matthias Koefferlein
c3d3dd6239
WIP: Optimizing performance of deep mode sized inside/outside
2024-06-25 00:30:20 +02:00
Matthias Koefferlein
8d630e723a
WIP
2024-06-23 23:52:47 +02:00
Matthias Koefferlein
a54365a9a7
WIP: DRC integration
2024-06-23 19:30:01 +02:00
Matthias Koefferlein
e63a7b5940
WIP: optimization of sized_inside - distance can be reduced to 0 if 'inside' is merged
2024-06-23 18:21:30 +02:00
Matthias Koefferlein
d2479c7159
WIP
2024-06-23 17:20:32 +02:00
Matthias Koefferlein
55fc4a8728
WIP
2024-06-23 17:05:49 +02:00
Matthias Koefferlein
25165c46a3
WIP
2024-06-23 00:49:33 +02:00
Matthias Koefferlein
fd4330a34e
Fixing Windows builds
2024-06-22 23:33:28 +02:00
Matthias Koefferlein
61e2758bbb
Fixing issue #1747 (signed coordinate transformations with Trans/DTrans/CplxTrans etc.)
2024-06-22 23:25:45 +02:00
Matthias Koefferlein
27073cb128
Fixing issue #1750 and issue #1751
2024-06-22 21:00:26 +02:00