Commit Graph

6782 Commits

Author SHA1 Message Date
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
Matthias Köfferlein de08a01e03
Merge pull request #1798 from rocallahan/initialize-verbosity
Initialize m_verbosity_level on demand to avoid depending on the orde…
2024-07-23 18:26:31 +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 00aeeade68 Updating antenna DRC golden data - needed as the precision of the double-typed tl::Variant output was increased 2024-07-20 21:02:45 +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
Kazunari Sekigawa ae13152124 MacPorts Ruby 3.3.3 ---> 3.3.4 2024-07-10 07:48:39 +09: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
Kazunari Sekigawa f6e63b4c2b Debug builds can also be packed into DMGs 2024-07-09 07:08:11 +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 f0b15e1049 Merge branch 'master' of github.com:KLayout/klayout 2024-07-08 23:29:28 +02:00
Matthias Köfferlein b4b2b573b6
Merge pull request #1783 from KLayout/bugfix/issue-1780
Bugfix issue #1780
2024-07-08 23:29:16 +02:00
Matthias Koefferlein 3cf6ef2cec WIP 2024-07-08 23:28:19 +02:00