Matthias Koefferlein
6a8be82e77
Added missing explicit template instantiations
2024-08-11 00:39:23 +02:00
Matthias Koefferlein
890904dfd0
Had to split dbHierProcessor as gcc choked on the many explicit template instantiations
2024-08-10 23:40:51 +02:00
Matthias Koefferlein
7a7ee8492b
Some enhancements to "Descend" and "Ascend"
...
- Ascend now ascends further up if a child cell is
selected as top level cell
- Descend now looks into transiently selected shapes
or instances too (mouse hover mode)
- New feature "Descend into" which combines "Descend"
with "make new top".
- Fixed a compiler warning in layLayoutViewBase.cc
2024-08-10 14:58:02 +02:00
Matthias Köfferlein
857fbc873c
Merge pull request #1824 from KLayout/bugfix/issue-1823
...
Fixed bug #1823 (select_all not working)
2024-08-10 13:33:48 +02:00
Matthias Köfferlein
ea6ffb9b0c
Merge pull request #1822 from KLayout/feature/issue-1819
...
Feature/issue 1819
2024-08-10 13:33:36 +02:00
Matthias Köfferlein
bccc421f3d
Merge pull request #1821 from KLayout/feature/issue-1816
...
Feature/issue 1816
2024-08-10 13:33:25 +02:00
Matthias Koefferlein
aada3424a9
Fixed non-Qt builds
2024-08-09 17:45:24 +02:00
Matthias Koefferlein
f218c009a0
Fixed bug #1823 (select_all not working)
...
1. Fixed "LayoutView#select_all"
2. Box selection now will select texts at their origin again:
this way it is included in the bounding box. Point mode still
takes the text's glyph area.
2024-08-08 23:26:05 +02:00
Matthias Koefferlein
a601447d5f
Properties dialog: stop handling 'Enter' key - use 'Ok' to close it
2024-08-08 20:46:22 +02:00
Matthias Koefferlein
d31c9dbf6c
Bugfix: avoid a segfault in the property editor due to invalid array access (difficult to reproduce).
2024-08-07 22:38:25 +02:00
Matthias Koefferlein
4631a806ef
Provide a warning message when closing the window while an operation is ongoing.
2024-08-07 00:48:42 +02:00
Matthias Koefferlein
33a3a15791
Bugfix: 'netter' function in DRC wasn't working as described - it raised an error
2024-08-07 00:48:19 +02:00
Matthias Koefferlein
fd1dc842e0
Generic GSI methods #_to_const_object (for testing) and #_const_cast. Fixed a class initialization issue - sub classes should not be registered by name at top level in Expressions
2024-08-07 00:11:48 +02:00
Matthias Koefferlein
82b3030352
const versions of Layout#cell and Layout#top_cell(s)
2024-08-06 18:19:31 +02:00
Matthias Koefferlein
3068dd2798
Allowing RBA::Net objects for DRCLayer#nets as well
2024-08-06 00:14:02 +02:00
Matthias Koefferlein
13dec274a3
Small redesign of the UI
2024-08-04 21:38:05 +02:00
Matthias Koefferlein
817f00e9ba
Update DRC documentation for #1816 implementation
2024-08-04 21:18:35 +02:00
Matthias Koefferlein
35219469d6
Debugging and first tests for DRC
2024-08-04 21:03:19 +02:00
Matthias Koefferlein
29f82854fb
Fixed DRC update
2024-08-04 19:23:31 +02:00
Matthias Koefferlein
f653764dc0
Bugfix (typo): ParameterState#icon was named 'tooltip'
2024-08-04 18:55:53 +02:00
Matthias Koefferlein
c63e41e732
GSI binding
2024-08-04 18:37:31 +02:00
Matthias Koefferlein
c23c4045ba
Basic implementation
2024-08-04 17:57:50 +02:00
Matthias Koefferlein
7510728a71
First API steps
2024-08-03 23:18:57 +02:00
Matthias Koefferlein
7470023d38
Deploying font_resolution somewhat further, but not using it for now
2024-08-03 22:47:10 +02:00
Matthias Koefferlein
40e360e640
Fixed a potential segfault in the text renderer
2024-08-03 22:23:48 +02:00
Matthias Koefferlein
3290d0ab21
Introducing font resolution
...
With the subresolution mode, the "Default" fonts get very small.
Hence, a separate font resolution is provided which
applies to "Default" font rendering only.
2024-08-03 21:10:25 +02:00
Matthias Koefferlein
a802cd0e91
Proper scaling with resolution
...
- stipple display in layer list now follows view resolution
- using DCoord for text default size for cases where default size < DBU
2024-08-03 18:41:55 +02:00
Matthias Koefferlein
cd69f29508
Basic feature implemented. Needs improvement.
2024-08-03 09:55:59 +02:00
Matthias Koefferlein
aeae234fb7
Fixed issue #1814 (application freezes on Ctrl+Select)
2024-08-01 23:12:20 +02:00
Matthias Köfferlein
d1121faecb
Merge pull request #1809 from KLayout/feature/issue-1776
...
First draft for fix of issue #1776 (undo/redo by list)
2024-07-31 07:10:18 +02:00
Matthias Koefferlein
1040e81fe6
Merge branch 'master' of github.com:KLayout/klayout
2024-07-30 18:59:18 +02:00
Matthias Köfferlein
8ab398dc58
Merge pull request #1811 from KLayout/wip
...
Wip
2024-07-30 18:59:09 +02:00
Matthias Köfferlein
a126c8f8c4
Merge pull request #1810 from KLayout/gds2-writer-overflow-checks
...
Gds2 writer overflow checks
2024-07-30 18:58:53 +02:00
Matthias Köfferlein
ba899b391c
Merge pull request #1808 from KLayout/bugfix/issue-1784
...
Proposal for fixing issue #1784 (Spice throws error at midline semico…
2024-07-30 18:58:28 +02:00
Matthias Köfferlein
e7f0317029
Merge pull request #1807 from KLayout/bugfix/issue-1768
...
Fixed issue #1768 (Change 'angle constraint' of box and ellipse ruler…
2024-07-30 18:58:16 +02:00
Matthias Köfferlein
611e42d661
Merge pull request #1806 from KLayout/issue-1779
...
Fixed issue #1779 (make the state of the "By Cell" or "By Category" t…
2024-07-30 18:58:02 +02:00
Matthias Köfferlein
31fc1d8d79
Merge pull request #1805 from KLayout/bugfix/issue-1804
...
Fixed issue #1804 (Instantation path highlight mismatch with view win…
2024-07-30 18:57:48 +02:00
Matthias Köfferlein
f4e4ce99b8
Merge pull request #1803 from KLayout/feature/issue-1790
...
Implemented a solution for issue #1790 (Support for recursive PCell i…
2024-07-30 18:57:34 +02:00
Matthias Koefferlein
b6af0ba2a8
Updating Python stubs
2024-07-30 18:48:45 +02:00
Matthias Koefferlein
ee9644ca42
Fixed Qt4 builds
2024-07-30 18:13:17 +02:00
Matthias Koefferlein
7ddc86414d
Trying to fix Windows builds
2024-07-30 07:13:35 +02:00
Matthias Koefferlein
277ab2c335
Refactoring of GDS2 writer - split large functions into smaller ones
2024-07-30 00:13:47 +02:00
Matthias Koefferlein
589a6ce88a
Merge branch 'master' into gds2-writer-overflow-checks
2024-07-29 19:58:47 +02:00
Matthias Koefferlein
b7e2b59852
First implementation of GDS2 coordinate overflow checks.
2024-07-29 19:54:29 +02:00
Matthias Koefferlein
9165e81754
Highlight the items before the selected one to give a visual aid about what is going to be executed
2024-07-29 00:32:41 +02:00
Matthias Koefferlein
c6928d234c
First draft for fix of issue #1776 (undo/redo by list)
2024-07-29 00:15:22 +02:00
Matthias Koefferlein
7978a2bb1d
Proposal for fixing issue #1784 (Spice throws error at midline semicolon comments)
2024-07-28 22:24:15 +02:00
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