Matthias Koefferlein
ffbcfc5490
Trying to reduce memory overhead of tiling processor - using box objects when possible
2023-03-12 22:10:49 +01:00
Matthias Koefferlein
bcaefefded
Cleanup of box scanner implementation
2023-03-12 19:45:39 +01:00
Matthias Koefferlein
741c9d9ac5
Performance enhancement of flat space DRC in some cases
2023-03-12 19:45:24 +01:00
Matthias Koefferlein
55dbf85b4b
Some refactoring of Spice reader with the goal to simplify delegate implementation, removing static instance of default delegate
2023-03-12 17:03:15 +01:00
Matthias Koefferlein
db8f9d5bcb
Spice reader enhancements
...
Basic goal is to align ngspice and KLayout Spice
format comprehension. ".options scale" was implemented
together with a number of other patches.
Consistency has been confirmed with respect to these
features and formula evaluation.
2023-03-12 15:36:50 +01:00
Matthias Koefferlein
f5fd47bd4b
Fixed standalone Python module builds
2023-03-12 00:53:42 +01:00
Matthias Koefferlein
6955d7d0c7
Better handling of inputs in deep mode after manipulating the hierarchy of the input layout
2023-03-12 00:26:18 +01:00
Matthias Koefferlein
047455c560
Merge branch 'master' into wip2
2023-03-12 00:10:23 +01:00
Matthias Koefferlein
5a1e845a64
[consider merging] regenerating pyi stubs, sorting methods by name for better stability of files, small patch (missing box ctor arg names)
2023-03-11 19:56:02 +01:00
Matthias Koefferlein
ebac0796e0
[consider merging] Fixed Qt Binding for Qt 5.15.2 where an include is missing
2023-03-11 19:55:59 +01:00
Matthias Koefferlein
bee3d11f62
[consider merging] avoid an assertion in the Python exit code for accessing an already destroyed Python object
2023-03-11 19:55:51 +01:00
Matthias Koefferlein
ce31f47918
[consider merging] regenerating pyi stubs, sorting methods by name for better stability of files, small patch (missing box ctor arg names)
2023-03-11 19:55:06 +01:00
Matthias Koefferlein
18ae970671
Fixed Qt bindings in pya module
2023-03-11 01:03:50 +01:00
Matthias Koefferlein
d97942ac3a
[consider merging] Fixed Qt Binding for Qt 5.15.2 where an include is missing
2023-03-11 00:24:21 +01:00
Matthias Koefferlein
293a898ae0
[consider merging] avoid an assertion in the Python exit code for accessing an already destroyed Python object
2023-03-10 23:45:37 +01:00
Matthias Koefferlein
068849a634
Refactoring, primary goal is to centralize the definition of PCellDeclarationHelper in Python
2023-03-10 23:22:30 +01:00
Matthias Koefferlein
8b7e2b2b40
Refactoring of pya - using external module defintions for pya initialization
2023-03-10 21:58:01 +01:00
Matthias Koefferlein
92204915a4
Refactoring: pya is a native binary package now. It's available to pymod, but may also be the basis of the built-in pya module.
2023-03-08 23:54:32 +01:00
Matthias Koefferlein
0253c25b30
Avoids a Qt warning internally
2023-03-08 22:37:56 +01:00
Matthias Koefferlein
35d9cdb656
Reworked Python initialization
...
KLAYOUT_PYTHONPATH is copied into PYTHONPATH, so it
is essentially equivalent (no more copying of internally
generated paths).
The installation's pymod folder is added to the path, so
that we can put "klayout.db" etc. there.
2023-03-08 01:15:53 +01:00
Matthias Koefferlein
0204f293b5
Generic environment set/clear functions, file function to get app exe path
2023-03-08 00:52:42 +01:00
Matthias Koefferlein
c3e831f96f
Enhancing pymod tests (added lib, more robust, added pya also for Qt bindings off)
2023-03-07 23:44:12 +01:00
Matthias Koefferlein
3e8f03ef5f
Synchronizing Python PCellDeclarationHelper between the two implementations (for standalone module + build-in for app)
2023-03-07 23:43:12 +01:00
Matthias Koefferlein
7d0964655d
Experimental: allow importing klayout.x pymods into KLayout itself.
2023-03-06 23:51:58 +01:00
Matthias Koefferlein
9cfc284b8c
Synonyms: connect/disconnect for events to get closer to PyQt5
2023-03-06 23:04:55 +01:00
Matthias Koefferlein
1b3e8e14c5
Netlist reader: anonymous circuits are not checked for known parameters
2023-03-06 22:38:10 +01:00
Matthias Koefferlein
be0d155848
Fixed issue #1309
...
Fixed polygon rasterizer.
Reason was the clip edge function that delivered
vertical edges from skew ones due to rounding.
These must not be skipped when exactly on a pixel
boundary as true vertical edges are.
2023-03-04 22:20:06 +01:00
Matthias Koefferlein
feb50f49dd
Enabling some more PNG related features by falling back to Qt without libpng
2023-03-04 20:32:44 +01:00
Matthias Köfferlein
2facc75807
Merge pull request #1305 from KLayout/issue-1304
...
Fixed issue #1304 (terminal order for MOS devices)
2023-03-04 19:32:46 +01:00
Matthias Köfferlein
f413635deb
Merge pull request #1303 from KLayout/issue-1302
...
Implemented solution for issue #1302 (Select filter is not applied in…
2023-03-04 19:32:29 +01:00
Matthias Köfferlein
addb7148f6
Merge pull request #1301 from KLayout/wip
...
Wip
2023-03-04 19:32:06 +01:00
Matthias Köfferlein
3e325763d9
Merge pull request #1296 from KLayout/issue-1271
...
Issue 1271
2023-03-04 19:31:39 +01:00
Matthias Koefferlein
1b13d8b591
Merge branch 'master' into issue-1271
2023-03-03 18:42:53 +01:00
Matthias Koefferlein
9335ef8c21
Fixed builds on MSVC
2023-03-03 18:00:24 +01:00
Matthias Koefferlein
6db6e77458
Tired of patching around __version__ ...
...
This doesn't work. Either Python is too old, import_metadata
isn't there or Azure pipelines do not support that.
Stopping that. Good old plain C++ is still the best solution.
Take that dynamic language hackers!
2023-03-01 00:50:30 +01:00
Matthias Koefferlein
4ead7b46a1
Test updates
2023-02-27 21:27:19 +01:00
Matthias Koefferlein
2236ced5ae
Refining solution for issue-1249: properly reading the edge we project to in single-edge partial move mode
2023-02-27 20:49:45 +01:00
Matthias Koefferlein
af647e2efd
Test updates
2023-02-27 19:37:59 +01:00
Matthias Koefferlein
1ce221794b
More test data updates
2023-02-27 01:08:37 +01:00
Matthias Koefferlein
ceb82a15d8
Fixed merge issues
2023-02-27 00:27:23 +01:00
Matthias Koefferlein
ebcf242a9e
Merge branch 'more-spice' into issue-1304
2023-02-27 00:21:20 +01:00
Matthias Koefferlein
69d975c736
Update to test data
2023-02-27 00:19:14 +01:00
Matthias Koefferlein
0fa9bc6e2b
Fixed issue #1304 (terminal order for MOS devices)
2023-02-26 23:30:17 +01:00
Matthias Koefferlein
90cf06b3ac
More precise help text for generic reader options.
2023-02-26 21:57:04 +01:00
Matthias Koefferlein
3ac1385d87
Another testcase for Spice reader with parametric subcircuits, .param statements, bug fixes
2023-02-26 21:31:34 +01:00
Matthias Koefferlein
2e3c859cd3
Specified release version for Spice reader enhancements
2023-02-26 19:52:05 +01:00
Matthias Koefferlein
82b372ab14
Implemented solution for issue #1302 (Select filter is not applied in partial mode)
2023-02-26 17:07:04 +01:00
Matthias Koefferlein
04626f9c2b
python module: import klayout.lay implies klayout.db now to always enable stream readers
2023-02-25 12:14:19 +01:00
Matthias Koefferlein
a3ff671eb9
Python debugger compatible with PyQt
...
Problem was that PyQt generates spontaneous Python events
that do not originate from KLayout itself. This made the
IDE detect a stop request and the application crashed.
2023-02-23 17:07:41 +01:00
Matthias Koefferlein
90b59ca14d
Bugfix - properly removing plugins when they are unregistered (unlikely)
2023-02-23 17:07:22 +01:00
Matthias Koefferlein
08bfbbae81
Test updates
2023-02-22 16:08:48 +01:00
Matthias Koefferlein
d20e4b2128
Bug fixes, adjusted test data
2023-02-22 15:54:28 +01:00
Matthias Koefferlein
be5e16c125
WIP: bug fixing, new test cases
2023-02-22 13:11:30 +01:00
Matthias Koefferlein
44e123f343
WIP: Spice reader - resolve model and net names by variables
2023-02-22 10:20:48 +01:00
Matthias Koefferlein
18f2b57c3d
WIP: generlizing parameter values for spice reader - can be strings too
2023-02-22 10:15:05 +01:00
Matthias Koefferlein
51c4b7ed28
WIP
2023-02-22 09:48:08 +01:00
Matthias Koefferlein
715c7ed282
WIP: rewriting Spice expression parser to support more functions
2023-02-21 18:10:36 +01:00
Matthias Koefferlein
b421f1e499
WIP: added tests for variant fuzzy compare
2023-02-21 16:05:45 +01:00
Matthias Koefferlein
e709218db9
WIP: fuzzy compare for tl::Variant with float values
2023-02-21 15:57:54 +01:00
Matthias Koefferlein
80fa7e47e2
WIP: tests pass
2023-02-21 00:49:23 +01:00
Matthias Koefferlein
49d3edd26a
WIP: debugging, first tests pass.
2023-02-21 00:17:41 +01:00
Matthias Koefferlein
ac5616a583
WIP
2023-02-21 00:15:22 +01:00
Matthias Koefferlein
736676701d
WIP
2023-02-20 23:54:04 +01:00
Matthias Koefferlein
459de47448
WIP: spice reader refactoring to support parametric subcircuits
2023-02-20 23:25:23 +01:00
Matthias Koefferlein
2214345df2
WIP
2023-02-20 22:59:03 +01:00
Matthias Koefferlein
40fd350d85
WIP
2023-02-20 22:06:45 +01:00
Matthias Koefferlein
432b542f3c
Merge branch 'master' into wip
2023-02-19 20:30:49 +01:00
Matthias Köfferlein
a04f2940ac
Merge pull request #1298 from KLayout/lefdef-wip
...
Lefdef wip
2023-02-19 20:29:03 +01:00
Matthias Koefferlein
817bb396f6
PNG support for PixelBuffer taken from Qt also if Qt bindings are off
2023-02-19 20:25:21 +01:00
Matthias Koefferlein
79868c40cd
Some enhancements for image editing (e.g. selection remains after moving handles)
2023-02-19 19:54:40 +01:00
Matthias Koefferlein
df562f502a
Avoid a segfault while editing a ruler. This happens is both a selection and a transient selection is active.
2023-02-19 19:00:02 +01:00
Matthias Koefferlein
8038acc236
Updated test data
2023-02-18 09:50:34 +01:00
Matthias Koefferlein
4e3c106b27
Merge branch 'master' into issue-1249
2023-02-18 09:44:48 +01:00
Matthias Köfferlein
868650a61c
Merge pull request #1295 from KLayout/issue-1294
...
Fixed issue #1294 (grid snap not working in partial mode)
2023-02-18 00:11:45 +01:00
Matthias Koefferlein
f6edc9c802
Implemented solution for issue #1249 (persist layer properties in session)
2023-02-17 23:41:36 +01:00
Matthias Koefferlein
4eb48738e4
Confirming that issue #1282 is fixed
2023-02-17 00:02:59 +01:00
Matthias Koefferlein
33c858924f
Some LEF reader fixes based on the complete sample
2023-02-16 23:51:11 +01:00
Matthias Köfferlein
3eee8a6404
Merge pull request #1289 from KLayout/issue-1287
...
Fixed issue #1287
2023-02-16 21:26:02 +01:00
Matthias Koefferlein
7903b9d70d
Fixed issue #1294 (grid snap not working in partial mode)
2023-02-16 21:23:59 +01:00
Matthias Koefferlein
66a6832594
Some enhancements to DEF reader based on the 'complete' example. VIAs in FILL und PIN, a variety of syntax fixes.
2023-02-15 22:11:12 +01:00
Thomas Ferreira de Lima
3c9507ab63
added test for issue 1265 (writing and reading pngs)
2023-02-15 11:01:47 -05:00
Thomas Ferreira de Lima
094768997f
backporting importlib.metadata for python<3.8
2023-02-15 10:14:55 -05:00
Matthias Koefferlein
f73b229024
WIP
2023-02-15 00:29:43 +01:00
Matthias Koefferlein
93d9298b51
Formally minkowsky sum now is allowed with empty polygon arguments
2023-02-15 00:29:26 +01:00
Matthias Koefferlein
a54ea1f273
DEF reader bug fixes, turned some errors into warnings temporarily.
2023-02-15 00:28:41 +01:00
Matthias Koefferlein
dd466beca8
Simple implementation of __version__
2023-02-14 22:41:03 +01:00
Matthias Koefferlein
a2aead8c5c
Fixed issue #1287
...
The problem was introduced during implementation
of multi-segment rulers.
This patch also fixes the tab order of the ruler
properties dialog and adds some tests.
2023-02-12 22:10:27 +01:00
Matthias Koefferlein
026e0fa591
Fixed issue #1275 (size after smooth does not work)
2023-02-04 19:56:06 +01:00
Matthias Koefferlein
48ec208843
Bugfix: LVS - same_nets should not be picky about net names - they may be missing in some circuits
2023-02-02 12:24:50 +01:00
Matthias Koefferlein
0e60c90514
Bugfix LVS: same_nets with two arguments was not working as described
2023-02-02 00:30:00 +01:00
Matthias Koefferlein
6941976cfb
Merge branch 'wip'
2023-01-29 17:18:30 +01:00
Matthias Koefferlein
115b89c711
Merge branch 'issue-1259'
2023-01-29 17:18:25 +01:00
Matthias Koefferlein
1a1139299a
Properly populating the editor options pages
2023-01-29 00:12:31 +01:00
Matthias Koefferlein
2d6091cf0a
Fixed MSVC builds
2023-01-26 21:51:07 +01:00
Matthias Koefferlein
12693ed212
More steps to fully (hopefully) fix issue #1259 - basically it is important to issue enough active_view_changed and active_technology_change events
2023-01-26 20:31:43 +01:00
Matthias Koefferlein
cfd21d98bf
Merge branch 'issue-1259'
2023-01-26 12:52:23 +01:00
Matthias Koefferlein
500fa5b62d
Avoid loooong error messages in DRC and LVS by bypassing the engine's inspect implementation which emits a lot of internal members
2023-01-25 20:42:30 +01:00
Matthias Koefferlein
cb4501787f
Solved: Partial mode does not support Ctrl+Shift to confine movement direction
2023-01-25 20:41:55 +01:00
Matthias Köfferlein
ab8cfee1ea
Merge pull request #1258 from KLayout/wip
...
Wip
2023-01-24 21:48:27 +01:00
Matthias Koefferlein
85cc50e2c1
Flaw fixed: tech status persisted after last view was closed
2023-01-24 21:35:47 +01:00
Matthias Koefferlein
7600eac8a0
Fixed issue-1259
2023-01-24 21:14:36 +01:00
Matthias Köfferlein
18900215e6
Merge pull request #1262 from KLayout/issue-1253
...
Fixed isse #1253
2023-01-24 20:38:25 +01:00
Matthias Köfferlein
4b4551338b
Merge pull request #1261 from KLayout/issue-1260
...
Seems to fix issue #1260
2023-01-24 20:38:10 +01:00
Matthias Köfferlein
2cc1f390ca
Merge pull request #1255 from KLayout/issue-1237
...
Provide a fix for issue-1237 (Python error messages should include mo…
2023-01-24 20:37:50 +01:00
Matthias Koefferlein
bc63a1cd40
Fixed isse #1253
2023-01-24 00:42:31 +01:00
Matthias Koefferlein
2749217984
Seems to fix issue #1260
2023-01-23 23:24:55 +01:00
Matthias Koefferlein
6da5903639
More robustness in unit tests
2023-01-22 17:58:09 +01:00
Matthias Koefferlein
69a2ac107b
One bug fix, made tests more robust and compatible with MSVC
2023-01-22 16:17:13 +01:00
Matthias Koefferlein
cd2535af09
Fixing Qt4 builds
2023-01-22 10:35:41 +01:00
Matthias Koefferlein
5276d24706
Fixing Qt4 builds
2023-01-22 10:35:13 +01:00
Matthias Koefferlein
e6972aad68
Fixed builds
2023-01-22 10:30:40 +01:00
Matthias Koefferlein
ca091203b3
Attempt to fix Windows builds
2023-01-22 10:23:54 +01:00
Matthias Koefferlein
80a15816bd
Fixed builds
2023-01-22 10:21:03 +01:00
Matthias Koefferlein
c5b37fd78b
Merge branch 'wip' into network-drc
2023-01-22 00:33:38 +01:00
Matthias Koefferlein
dea1ca6451
WIP: Doc updates, doc bug fixes
2023-01-21 21:37:40 +01:00
Matthias Koefferlein
30ee5e183f
WIP: removed TODO markers - needs to stay like that (e.g. drcSimpleTests:48_drcWithFragments)
2023-01-21 19:04:00 +01:00
Matthias Koefferlein
ed7ed4158c
WIP: bug fix
2023-01-21 17:39:35 +01:00
Matthias Koefferlein
f924109bcd
WIP: implemented some TODOs
2023-01-21 16:35:01 +01:00
Matthias Koefferlein
df1efa802b
WIP: some bug fixes, unit tests updated
2023-01-21 15:55:05 +01:00
Matthias Koefferlein
1a9edbf6a9
WIP: refactoring - allow properties constraints modes which do not copy properties. In DRC that is default.
2023-01-21 15:13:39 +01:00
Matthias Koefferlein
38808fccf7
WIP: DRC properties constraints now need explicit generation of output properties.
2023-01-21 14:04:06 +01:00
Matthias Koefferlein
9b64224cb4
WIP: experimenting with pulling net names from subcircuits for dummy connections
2023-01-21 11:22:03 +01:00
Matthias Koefferlein
650f6cacb5
WIP: property support for merged edges and extended on deep edges
2023-01-21 10:12:46 +01:00
Matthias Koefferlein
fe1d520d0c
WIP: some bug fixes, tests for deep mode - some refinement needed.
2023-01-21 01:38:25 +01:00
Matthias Koefferlein
1a71b01859
WIP: refactoring, added more properties support, bug fixing, added a test for the new DRC features
2023-01-20 23:44:51 +01:00
Matthias Koefferlein
9130492881
[CONSIDER MERGING] use twice the interaction range inside generic DRC's 'sized' node
2023-01-20 23:43:19 +01:00
Matthias Koefferlein
9f27aa9f51
WIP: refactoring, more property support, DRC integration, bug fixes ...
2023-01-20 19:08:21 +01:00
Matthias Koefferlein
7ba3133afc
WIP: using net name/circuit name instead of net ID for property value as this is more stable for better regression testing.
...
Bug fix: re-enabling of trace all nets tests, establishing dummy
names for layers in all cases - otherwise layers do not have a
reference for LayoutToNetlist persistence.
2023-01-20 01:16:30 +01:00
Matthias Koefferlein
234df5a560
WIP: added a few TODOs
2023-01-19 23:54:31 +01:00
Matthias Koefferlein
d73544fbc8
WIP: small bug fix
2023-01-19 23:34:15 +01:00
Matthias Koefferlein
f329f91300
WIP: bug fixing, test for GSI binding of checks with property constraints
2023-01-19 23:27:31 +01:00
Matthias Koefferlein
220c1b714a
WIP: support for 'flatten' with properties
2023-01-19 22:20:07 +01:00
Matthias Koefferlein
83aaca4485
WIP: unit tests for GSI binding of Region#net
2023-01-19 22:11:40 +01:00
Matthias Koefferlein
984c001f56
WIP: debugging and unit test for net-aware booleans
2023-01-19 21:15:41 +01:00
Matthias Koefferlein
e1ddd6f8d2
WIP: polishing the region to net generator feature.
2023-01-19 17:25:07 +01:00
Matthias Koefferlein
1b9a532f48
WIP: net generation from region layers
2023-01-19 14:44:17 +01:00
Matthias Koefferlein
d7bdbae60b
WIP: more refactoring
2023-01-19 12:20:58 +01:00
Matthias Koefferlein
fb60e01f45
WIP: refactoring. Goal is to supply a netlist builder object for caching netlist build information
2023-01-19 12:08:50 +01:00
Matthias Koefferlein
c16082654f
WIP: fixed unit tests
2023-01-19 01:05:26 +01:00
Matthias Koefferlein
d230691ae4
WIP: bug fixing, new tests for property filters
2023-01-19 00:56:17 +01:00
Matthias Koefferlein
75c20aa03a
WIP: fixed unit tests
2023-01-19 00:29:30 +01:00
Matthias Koefferlein
8ac08778c2
WIP: reworked and implemented a property translation/selection/enabling scheme for the shape containers + GSI binding.
2023-01-19 00:25:07 +01:00
Matthias Koefferlein
500051ef1d
WIP: bug fix
2023-01-18 17:07:53 +01:00
Matthias Koefferlein
4edf4ab1f7
WIP: Added support for size with properties
2023-01-18 16:22:36 +01:00
Matthias Koefferlein
71d2d9ef3f
WIP: tests for complex DRC ops with properties
2023-01-18 15:46:09 +01:00
Matthias Koefferlein
f1646a79fe
WIP: preparations for generic DRC with properties
2023-01-18 15:24:00 +01:00
Matthias Koefferlein
9f6f0e2d43
[BUGFIX] WIP: property support for DRC functions, bugfix: DRC check against raw (non-merged semantics) second input did not work
2023-01-18 12:34:47 +01:00
Matthias Koefferlein
c3383cf7df
WIP: enabling properties for DRC checks, refactoring
2023-01-18 02:23:15 +01:00
Matthias Koefferlein
1b7b077cea
WIP: refactoring, started implementing DRC checks with property support
2023-01-18 01:36:22 +01:00
Matthias Koefferlein
bd79467b4b
Merge branch 'issue-1237' into network-drc
2023-01-17 20:45:00 +01:00
Matthias Koefferlein
d1c28bc3bd
Provide a fix for issue-1237 (Python error messages should include more information)
...
In Python 3.10 the format of the syntax error exception was changed
and parsing through PyArgs_ParseTuple no longer worked. The code
change will re-enable proper syntax error parsing for Python 3.10.
2023-01-17 20:43:13 +01:00
Matthias Koefferlein
40267dddb6
WIP: polygons to edges with properties
2023-01-17 19:07:32 +01:00
Matthias Koefferlein
8fb4e36809
WIP: refactoring, preparing polygon-to-edge with properties
2023-01-17 17:08:36 +01:00
Matthias Koefferlein
f0e20ad258
WIP: cleanup
2023-01-17 14:17:42 +01:00
Matthias Koefferlein
5ff187a56d
WIP: fixed unit tests
2023-01-17 12:37:12 +01:00
Matthias Koefferlein
5cd322b04c
[CONSIDER MERGING TOO] rectified solution for text/polygon interaction
2023-01-17 12:36:56 +01:00
Matthias Koefferlein
dfac3b1b44
WIP: Implemented property support for two-boolean
2023-01-17 11:24:08 +01:00
Matthias Koefferlein
72bb6d4a26
WIP: bug fix for deep region merge property computation - was missing on root connector clusters
2023-01-17 10:21:28 +01:00
Matthias Koefferlein
dc2ae953ed
WIP: bug fixes
2023-01-17 02:38:15 +01:00
Matthias Koefferlein
7f2200cab5
WIP: Bug fixes, refactoring
2023-01-17 01:37:10 +01:00
Matthias Koefferlein
99887a15f0
WIP: refactoring, enabling properties for flat processing
2023-01-17 01:00:27 +01:00
Matthias Koefferlein
58ab6ce9fd
WIP: fixed tests, dropped property constraint on XOR and OR (not implemented properly), added 'ignore' property constraint - in the 'no properties' case, properties are passed from the first input.
2023-01-16 16:27:31 +01:00
Matthias Koefferlein
3b4a460581
WIP: Further test updates
2023-01-16 02:29:03 +01:00
Matthias Koefferlein
48b55f142a
WIP: flat region tests, partially working
2023-01-16 02:06:21 +01:00
Matthias Koefferlein
db870614ab
[CONSIDER MERGING] grid check markers are not exactly aligned with vertexes in deep mode
2023-01-16 01:35:08 +01:00
Matthias Koefferlein
70d16425e1
WIP: added tests for as if flat regions
2023-01-16 01:02:30 +01:00
Matthias Koefferlein
bf47805b29
WIP: support for properties in deep andnot, tests
2023-01-16 01:00:03 +01:00
Matthias Koefferlein
fad85e4260
[CONSIDER MERGING] Bugfix: polygon interaction with texts did not capture texts because of vanishing bounding box
2023-01-16 00:59:32 +01:00
Matthias Koefferlein
b7c515bf91
WIP: enabling booleans with property constraints
2023-01-15 20:23:32 +01:00
Hugo Therrien
b3b26721eb
New action: screenshot to clipboard
2023-01-15 11:52:58 -05:00
Matthias Koefferlein
f3e610b6e8
WIP: transfer polygon properties to edges
2023-01-15 15:28:10 +01:00
Matthias Koefferlein
5fa4d62da7
WIP: property support for transformation, filters, processors
2023-01-15 15:03:34 +01:00
Matthias Koefferlein
9f633b813d
WIP: property management for flat shape containers
2023-01-15 13:34:47 +01:00
Matthias Koefferlein
33b5723068
WIP: property mapping between layouts
2023-01-15 11:56:41 +01:00
Matthias Koefferlein
311d9c6eb5
WIP: new net property mode for net builder (name + id)
2023-01-14 23:56:31 +01:00
Matthias Koefferlein
9f632f29d3
WIP: updated test data
2023-01-14 23:46:48 +01:00
Matthias Koefferlein
053269e0b2
WIP: added test
2023-01-14 22:31:48 +01:00
Matthias Koefferlein
467208fb6e
WIP: property-aware meging of deep region
2023-01-14 22:26:42 +01:00
Matthias Koefferlein
2191db0c6d
Merge branch 'master' into network-drc
2023-01-13 22:01:51 +01:00
Matthias Koefferlein
017ca1707b
Small bugfix: 'clone panel' did not copy custom line styles
2023-01-13 22:01:18 +01:00
Matthias Koefferlein
33af2b8fcc
Avoid a segfault after explicitly destroying a custom plugin factory object
2023-01-12 21:03:24 +01:00
Matthias Köfferlein
c2dc27b0e1
Merge pull request #1248 from KLayout/issue-1247
...
Fixed issue #1247 . Problem was missing cache clean on assignment of s…
2023-01-12 09:08:08 +01:00
Matthias Koefferlein
12e34f9282
Fixed issue #1247 . Problem was missing cache clean on assignment of stipple pattern and line styles
2023-01-12 00:11:36 +01:00
Matthias Koefferlein
500fee3ff6
Fixed issue #1245 by using a smarter implementation for the backward compatibility fallback. Added unit tests and new (old) GSI bindings for that purpose.
2023-01-11 23:31:09 +01:00
Matthias Koefferlein
5952974095
Merge branch 'master' of github.com:KLayout/klayout
2023-01-11 21:26:40 +01:00
Matthias Koefferlein
478b838589
WIP: properties for regions, starting with deep regions
2023-01-09 00:05:31 +01:00
Matthias Koefferlein
0ba719ad84
WIP: properties for regions, tests for flat and original layer regions
2023-01-08 22:44:23 +01:00
Matthias Koefferlein
1dfa5abc9a
WIP: introducing properties for FlatRegion and others
2023-01-08 19:27:41 +01:00
Matthias Koefferlein
f9ccb60dd9
WIP: experimental - introducing net DRC, first steps
2023-01-07 23:42:59 +01:00
Matthias Koefferlein
af30695ab3
WIP: experimental - introducing net DRC, first steps
2023-01-07 21:56:25 +01:00
Matthias Koefferlein
ef6f3f182a
Fixed issue #1242 (KLayout 0.28.2 crashes when registering a plugin if a layout exists)
...
Problem was twofold: first, events are triggered during
construction of the plugin which met an uninitialized
pointer. Second, the clearing of existing plugins failed
because of iterating a vector while destroying it's members
erased member of it.
2023-01-04 21:17:12 +01:00
Matthias Koefferlein
8677b38d69
Merge branch 'master' into wip
2023-01-01 22:28:14 +01:00
Matthias Koefferlein
a85dbd3d31
Updating copyright notice to 2023
2023-01-01 22:27:22 +01:00
Matthias Koefferlein
6136e4f8a0
Merge remote-tracking branch 'origin/issue-1240'
2023-01-01 22:23:26 +01:00
Matthias Koefferlein
a3c9b6bc4a
Merge remote-tracking branch 'origin/issue-1238'
2023-01-01 22:23:13 +01:00
Matthias Koefferlein
9e6965751d
Merge branch 'issue-1234'
2023-01-01 22:22:44 +01:00
Matthias Koefferlein
420f8cfdc3
Fixed issue #1240 (Layer is not activated from layer properties file on first creation)
2023-01-01 18:45:37 +01:00
klayoutmatthias
b213479e07
Fixed issue #1238 (Macro IDE: breakpoints not effective on Windows)
2022-12-31 18:51:08 +01:00
Matthias Koefferlein
ca32b34dff
Restored ability to build on Python 2
2022-12-28 23:50:38 +01:00
Matthias Koefferlein
16cd4276b7
Fixed some more small memory leaks
2022-12-28 17:45:24 +01:00
Matthias Koefferlein
de6e1ffd53
Another performance fix for the many layers case
2022-12-28 17:15:51 +01:00
Matthias Koefferlein
1ad7dc0d98
More memory leaks fixed
2022-12-27 23:52:16 +01:00
Matthias Koefferlein
2cd932627c
Fixed some memory leaks
2022-12-27 23:45:43 +01:00
Matthias Koefferlein
8575791fd9
Fixed a potential segfault cause by recursive call of paintEvent
...
This may happen when painting triggers some action that itself
triggers progress reporter (which paints itself).
The solution consists of blocking process_events during painting.
2022-12-27 22:57:14 +01:00
Matthias Koefferlein
8d025ddf9f
Fixed non-Qt builds
2022-12-27 20:14:22 +01:00
Matthias Köfferlein
975a752844
Merge pull request #1231 from KLayout/issue-1228
...
Implemented solution for issue #1228
2022-12-27 20:12:20 +01:00
Matthias Koefferlein
4429d4c8f7
Fixed #1234 (layer list empty after clone panel)
2022-12-27 20:10:39 +01:00
Matthias Koefferlein
e0e077d851
Further cleanup of Qt6 binding of QJson... classes
2022-12-26 23:48:16 +01:00
Matthias Koefferlein
76dd1b93bd
Qt bindings compatibility with Qt 6.4.1
2022-12-26 21:43:27 +01:00
Matthias Koefferlein
50616ede58
Implemented solution for issue #1228
...
The "show parameter names" setting is now persisted.
Side effect: changing this setting will now trigger
a configuration update which has some side effects - e.g.
when "lazy update" is configured (parameters are reset).
But that appears to be acceptable.
In addition a second flaw was fixed: errors were not
properly reported by showing the error indicator.
The indicator was hidden immediately after showing it.
2022-12-25 20:44:56 +01:00
Matthias Koefferlein
44a2aa9ca1
Fixed #1230 (LVS browser crashes) and immediately dispatching a 0.28.2 version
2022-12-22 23:17:08 +01:00
Matthias Koefferlein
584dbcfd2f
Really, really disabling doc, icon for no-Qt builds
2022-12-21 23:36:15 +01:00
Matthias Koefferlein
5a41443487
Really disabling doc and icon without Qt builds
2022-12-21 23:32:49 +01:00
Matthias Koefferlein
f4957dbad2
Exclude doc/icon resources in non-Qt builds
2022-12-21 22:45:48 +01:00
Matthias Koefferlein
e4e2204939
Added one missing dependencies
2022-12-21 18:34:41 +01:00
Matthias Koefferlein
7a76202411
Added a unit test to check the integrity of all XML doc pages
2022-12-20 20:43:04 +01:00
Matthias Koefferlein
9440985aed
Trying to fix a segfault observed on MacOS
2022-12-18 17:43:48 +01:00
Matthias Koefferlein
de784de7ea
Wider data types for Windows (long is 32 bit) and for CBLOCK byte counts in OASIS reader
2022-12-18 14:31:46 +01:00
Matthias Koefferlein
24b8526361
Attempting to speed up layer list for many layers
2022-12-17 20:34:22 +01:00
Matthias Koefferlein
884203149a
Added tests for recent changes
2022-12-17 20:33:50 +01:00
Matthias Koefferlein
b1e78efcaa
WIP: trying to enhance layout layer lookup performance.
2022-12-14 22:47:16 +01:00
Matthias Koefferlein
ad27c9a51d
WIP: trying to enhance layout layer lookup performance.
2022-12-13 23:41:34 +01:00
Matthias Koefferlein
199dea536a
Fixed a small bug: d25 material list view background was reset to black with Auto background color
2022-12-13 22:49:49 +01:00
Matthias Koefferlein
f49fa646fc
Patched PR with leaner solution
2022-12-13 21:54:00 +01:00
Matthias Koefferlein
5a6ea0148a
Merge remote-tracking branch 'quantamhd/fix_segfault' into wip
2022-12-13 21:52:40 +01:00
Ethan Mahintorabi
0a03a2809a
Fixes segfault on some linux systems
...
The static order initialization seems to be more present throughout
Klayout and might cause additional issues, but this fix stopped the
segfault on my machine. When compiling with asan there are a number
or other issues that could be addressed, but it's not clear if they're
real problems.
dbLayout change occured when using the python API to read a DEF layout.
When the layout is updated the code uses a const iterator which
implicitly wraps the non-const iterator. In the loop the end() is
implicitly wrapped, which tries to dereference a nullptr. My fix
checks to ensure that the non-const iterator is not null before trying
blindly dereference it.
2022-12-12 19:03:59 +00:00
Matthias Koefferlein
43089f31e4
Doc updates
2022-12-09 23:53:41 +01:00
Matthias Koefferlein
9607594020
Doc updates
2022-12-09 23:33:31 +01:00
Matthias Koefferlein
3e9d66ea6d
Doc fixes
2022-12-09 23:21:09 +01:00
Matthias Koefferlein
88e960b7cf
Regenerating doc.
2022-12-09 22:31:13 +01:00
Koefferlein Matthias (IFAG DES TCP FLP)
78383c88f3
Grml .. fixed implementation of previous commit
2022-12-09 16:33:02 +01:00
Koefferlein Matthias (IFAG DES TCP FLP)
ffe3722001
Better backward compatibility for ruler configuration
2022-12-09 16:26:21 +01:00
Koefferlein Matthias (IFAG DES TCP FLP)
c10cb86b68
Robust configuration of new ruler settings
2022-12-09 16:07:31 +01:00
Matthias Koefferlein
8d6508f69c
Doc XML fixed
2022-12-09 07:26:10 +01:00
Matthias Koefferlein
a5a3fff1f0
Fixed #1214 (LEF VIA parsing issue)
2022-12-08 22:36:14 +01:00
Matthias Koefferlein
299cea51a5
OASIS writer: Writing repetitions for edge-representation paths too
2022-12-08 20:36:03 +01:00
Matthias Koefferlein
2c94179589
Fixed #1216 (issue with moved - internal error)
...
This issue is fixed. In addition the following problems were fixed/found:
* General issue with handling merged state in in-place transform (merge shadow region needs to be updated too)
* moved now is hierarchical (also for edges)
2022-12-08 20:27:42 +01:00
Matthias Koefferlein
92d0174711
Fixed a build issue
2022-12-08 00:48:23 +01:00
Matthias Koefferlein
d81e0ba51e
Merge branch 'points-as-db-objects'
2022-12-07 21:59:02 +01:00
Matthias Koefferlein
5a252f2b29
Updated golden test data for fast DRC
2022-12-07 21:58:24 +01:00
Matthias Koefferlein
a9833bf32e
Small bugfix: do not mess up annotation templates after used older KLayout versions again.
2022-12-07 21:43:43 +01:00
Matthias Koefferlein
4281cde169
(maybe) fix builds for Qt without SSL
2022-12-06 22:40:41 +01:00
Matthias Koefferlein
dc6408a068
Some cleanup
2022-12-06 18:44:29 +01:00
Matthias Koefferlein
4543eaabac
Fixed some small flaws in instance properties dialog: sort by cell name, update tree on apply
2022-12-05 23:47:46 +01:00
Matthias Koefferlein
2601f870ec
Fixed compile errors
2022-12-05 07:39:03 +01:00
Matthias Koefferlein
035232c978
Providing single-linked list implementation with fast size to address DRC merge performance issue on CentOS
2022-12-05 02:22:08 +01:00
Matthias Koefferlein
43ff59750a
Fixed a race condition in DRC local processor with multiple threads
2022-12-04 21:04:21 +01:00
Matthias Koefferlein
0c89d8fec8
WIP: points as db objects - added tests, bug fixes
2022-12-04 19:54:29 +01:00
Matthias Koefferlein
4d04cf4fe3
WIP: introducing points as valid objects into database - implementation. Includes: edge pair perimeter and area.
2022-12-04 19:54:26 +01:00
Matthias Koefferlein
63ad38e9d9
Region#inside/not_inside/covering/not_covering is faster as it skips the merge step now. Fixed deep mode implementation (counting mode detection) with performance effect on outside/interacting too
2022-12-03 20:59:36 +01:00
Matthias Koefferlein
cca20773a7
Include performance patch for array-vs-array interactions in deep mode
2022-12-02 17:53:15 +01:00
Matthias Koefferlein
77e9b511cf
Fixed slow 'show only selected' with many layers (reason: too many updates of recent editor options layer list)
2022-12-02 17:32:18 +01:00
Matthias Koefferlein
78a139494a
Avoid recursion in Application#notify during exception processing - more stable debugging
2022-12-02 17:21:12 +01:00
Matthias Koefferlein
2178b23d8d
Fixed #1198 - 0.28 ignores link to script folder
2022-12-01 23:54:43 +01:00
Matthias Koefferlein
13874986b2
Bugfix, tests updated
2022-11-28 23:40:11 +01:00
Matthias Koefferlein
a752257f52
Multiple empty-input shortcuts for DeepRegion - tests need update
2022-11-28 01:35:49 +01:00
Matthias Koefferlein
5597ee8960
DeepRegion performance: take fast path for DeepRegion::edges if merged polygons are available.
2022-11-27 21:59:06 +01:00
Matthias Koefferlein
5db45d7aee
Proper setting of merged status after interacting/inside etc.
2022-11-27 19:43:53 +01:00
Matthias Koefferlein
d76eef10af
GSI enabling of Edges#in_and_out, Region#in_and_out and corresponding DRC feature
2022-11-27 15:59:18 +01:00
Matthias Koefferlein
f6f4dbeb67
Edges#in/in_and_out: tests added
2022-11-27 15:31:25 +01:00
Matthias Koefferlein
0304930136
WIP: introducing Region#in_and_out and Edges#in_and_out, support for hierachical Edges#in, Tests updated
2022-11-27 14:53:30 +01:00
Matthias Koefferlein
25e61205d2
Deep implementation of in/not_in
2022-11-27 10:37:43 +01:00
Matthias Koefferlein
9008464268
WIP: hierarchical mode for Region#in and Region#not_in
2022-11-27 10:26:01 +01:00
Matthias Köfferlein
1f2e8b4012
Merge pull request #1193 from KLayout/issue-1189
...
Issue 1189 High memory footprint for DRC deck
2022-11-26 19:55:40 +01:00
Matthias Koefferlein
fb60212a5b
More numerical stability for reproducible tests drcSimpleTests:56 and 57 (45 degree angles)
2022-11-25 22:36:19 +01:00
Matthias Koefferlein
5057b0a626
Merge branch 'issue-1190'
2022-11-25 07:51:34 +01:00
Matthias Koefferlein
20b6608410
Test updated
2022-11-24 22:12:01 +01:00
Matthias Koefferlein
66b10245fe
Another update of golden data
2022-11-24 21:54:04 +01:00
Matthias Koefferlein
dc24ec2d15
Updated golden test data
2022-11-24 21:46:56 +01:00
Matthias Koefferlein
d8dcb41ee0
force GC on LVS tests too.
2022-11-24 21:28:13 +01:00
Matthias Koefferlein
53d6e8d3cb
DSS now keeps layouts (avoids excessive cell mapping), frequent GC in DRC tests for heavy GC load testing
2022-11-24 20:41:19 +01:00
Matthias Koefferlein
e04875b4e0
Fixed a problem with object lifetime and tiling processor input found after GC became active. Added a documentation hint.
2022-11-23 01:03:36 +01:00
Matthias Koefferlein
7431ec6f43
Solved an ownership issue in DRC which popped up after universal DRC nodes got deleted.
2022-11-23 00:36:08 +01:00
Matthias Koefferlein
86cc523c77
Bugfixed GCLocker implementation - is now recursive
2022-11-23 00:33:37 +01:00
Matthias Koefferlein
d5725c3ed5
DRC performance issue fix attempt
...
Problem was that destruction of database objects was postponed during
callbacks, specifically the interpreter callback.
This caused db::Region objects to pile up.
The original feature was introduced to prevent issues when Ruby/C++
code interacts inside Qt UIs. The new fix does not disable GC, but
protects Ruby objects during method calls. Maybe that solves the problem too.
2022-11-22 22:06:10 +01:00
Matthias Koefferlein
6e2310186b
Added tests
2022-11-21 23:33:28 +01:00
Matthias Koefferlein
16d662229d
Fixed issue #1190 (Edges#extended_xx in deep mode)
2022-11-21 23:30:28 +01:00
Matthias Koefferlein
c51f6ef18b
Don't crash netlist browser when there is no netlist
2022-11-21 22:57:44 +01:00
Matthias Koefferlein
30ab1a13ca
Added tests, documentation, doc bug fixes for angle-class edge selectors
2022-11-12 18:16:57 +01:00
Matthias Koefferlein
2341170065
First tests
2022-11-12 00:29:50 +01:00
Matthias Koefferlein
b02d3b24a8
WIP: first draft of angle-class selectors for edges and edge pairs for simplifying edge orientation checks
2022-11-11 23:46:45 +01:00
Matthias Koefferlein
aadb8510d2
Merge branch 'performance' into wip
2022-11-11 21:55:39 +01:00
Matthias Koefferlein
f17719b43c
Fixed builds for MSVC 2017 python module builds with setuptools.
2022-11-11 00:32:03 +01:00
Matthias Koefferlein
462976fc05
Convenience isotropic versions for Box::enlarge(d)
2022-11-10 22:31:13 +01:00
Matthias Koefferlein
67690b8ae8
Array properties are not grayed out in read-only mode on instance properties page
2022-11-10 22:18:53 +01:00
Matthias Koefferlein
d7263eac74
Square and rectangle convenience ctor for GSI Box and DBox
2022-11-10 22:08:41 +01:00
Matthias Koefferlein
719cd28f76
Some enhancement for specifying klayout paths
...
$KLAYOUT_HOME can now be empty which has the same effect
than setting it to /dev/null - no home folder is present and
no packages will be searched there.
$KLAYOUT_PATH can be empty which makes KLayout not choose
the installation folder as the default path location as before.
2022-11-10 22:01:07 +01:00
Matthias Koefferlein
c220ed0cbc
Merge branch 'master' into wip
2022-11-09 23:30:38 +01:00
Matthias Koefferlein
ea2486eaed
Fixed a merge issue
2022-11-09 23:30:08 +01:00
Matthias Köfferlein
7589efd781
Merge pull request #1182 from KLayout/issue-1178
...
Fixed issue #1178 (technology-data xml results in SEGV)
2022-11-09 23:29:06 +01:00
Matthias Koefferlein
1edbd6232f
Merge branch 'python-typehints'
2022-11-09 23:13:31 +01:00
Matthias Koefferlein
15ce9a79ea
Small bug fixed: color chooser button was not showing the colors from the palette
2022-11-06 19:19:33 +01:00
Matthias Koefferlein
5b710fa3a4
More stable result of antenna debug output text placement
2022-11-06 19:02:35 +01:00
Matthias Koefferlein
65e11498d4
Fixed issue #1178 (technology-data xml results in SEGV)
...
Problem was that the test case contained multiple technologies
inside the config file and the cached values were not updated
in the XML reader upon migrating to the new multi-stack capable
scheme.
2022-11-06 16:53:26 +01:00
Matthias Köfferlein
4a80a10a2d
Merge pull request #1175 from KLayout/wip
...
Wip
2022-11-06 09:11:38 +01:00
Matthias Koefferlein
cd3ca9e536
Do not use zstd compression for Qt6 as there is no built-in decompression
2022-11-06 01:23:39 +01:00
Matthias Koefferlein
240281d9ff
[consider merging] Important patch: avoids incorrect initialization of Python classes
2022-11-06 01:12:16 +01:00
Matthias Koefferlein
f338c13309
[consider merging] Important bug fix - do not use NDEBUG as ruby.h redefines it and this will lead to crashes in the debugger
2022-11-05 14:28:40 +01:00
Matthias Koefferlein
f67b28c52a
Supporting LayerInfo objects in fill pattern generation, doc updates
2022-11-04 23:45:10 +01:00
Matthias Koefferlein
131745433d
Doc fixes
2022-11-04 23:16:15 +01:00