Commit Graph

4068 Commits

Author SHA1 Message Date
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