Commit Graph

6926 Commits

Author SHA1 Message Date
Matthias Koefferlein 2baaf322eb Fixed a few doc typos and default values for 'lmap' on build_nets 2025-03-09 23:20:18 +01:00
Matthias Koefferlein da88973df9 A number of new methods and variants in LayoutToNetlist
The goal is to support texts as native objects in
LayoutToNetlist.
Primarily this means, that instead of using a Region
to identify a layer, it is encouraged to use a
layer index instead. Also, Region is not longer the
only way to represent a layer, Texts is available
too.

It is possible now to retrieve the texts of a net
using "texts_of_net".

Also, the "lmap" parameter of "build_nets" became
optional. If "nil", a layer map is created based
on the layer info attribute of the layers.
2025-03-09 23:07:46 +01:00
Matthias Koefferlein 86202fa23c WIP: refactoring of LayoutToNetlist for more consistent support of Texts for layers 2025-03-09 19:22:04 +01:00
Matthias Koefferlein 903bd70223 Fixed merge issues 2025-03-06 22:24:05 +01:00
Matthias Koefferlein 87e7d8e493 Merge branch 'master' into devel 2025-03-06 19:35:32 +01:00
Matthias Koefferlein e06498763a Fixing issue #1997. 2025-03-05 19:12:38 +01:00
Matthias Koefferlein 5edb32cc33 Merge branch 'master' of github.com:KLayout/klayout 2025-03-05 18:41:43 +01:00
Matthias Koefferlein 4ebb292b7a Updating doc, py includes 2025-03-05 18:41:28 +01:00
Matthias Koefferlein 605fa44ca6 Another refinement for DSS bug fix. 2025-03-05 10:26:45 +01:00
Matthias Koefferlein 70af6bd7c9 Another refinement for DSS bug solution 2025-03-04 20:37:58 +01:00
Matthias Koefferlein 465f13adc6 Corrected naming of artifacts in build action 2025-03-04 19:50:52 +01:00
Matthias Koefferlein 7b4e8a3462 Refined solution for DSS remapping bug 2025-03-04 19:50:33 +01:00
Matthias Koefferlein 3893f3be56 Merge branch 'master' of github.com:KLayout/klayout 2025-03-03 18:36:05 +01:00
Matthias Köfferlein 8a01352549
Merge pull request #1992 from KLayout/feature/issue-1989
Feature/issue 1989
2025-03-03 18:35:46 +01:00
Matthias Köfferlein e1c26fbd0f
Merge pull request #1994 from KLayout/bugfix/issue-1993
Bugfix/issue 1993
2025-03-03 18:35:26 +01:00
Matthias Koefferlein ac1c656bc0 Fixed unit tests 2025-03-03 18:34:43 +01:00
Matthias Koefferlein f7a76033bb Updated changelog 2025-03-03 18:04:01 +01:00
Matthias Koefferlein fddce5c1a2 Merge branch 'master' of github.com:KLayout/klayout 2025-03-03 01:19:30 +01:00
Matthias Koefferlein 7a2fc402fe Trying to fix github actions 2025-03-03 01:18:53 +01:00
Matthias Koefferlein 20111ce08d Fixed issue #1993 ('with_area' modifies result of 'join')
Root cause was a held layout lock inside the TilingProcessor.
As that object was not always released inside the Ruby
DRC script, the lock was held sometimes longer than
needed and messed with the hierarchy system.
2025-03-03 01:05:04 +01:00
Matthias Köfferlein b84a1ed4ee
Merge pull request #1990 from KLayout/dependabot/github_actions/pypa/cibuildwheel-2.23.0
Bump pypa/cibuildwheel from 2.22.0 to 2.23.0
2025-03-02 22:25:03 +01:00
Matthias Koefferlein fb9e0c4602 Fixed a compile issue 2025-03-02 22:24:04 +01:00
Matthias Koefferlein 5b4848ee50 Merge branch 'master' of github.com:KLayout/klayout 2025-03-02 22:22:05 +01:00
Matthias Köfferlein 2acbbffe19
Merge pull request #1991 from KLayout/feature/configure-lazy-pcell-evaluation
Feature/configure lazy pcell evaluation
2025-03-02 22:20:04 +01:00
Matthias Koefferlein ab10c920b1 Preparations for 0.29.12. 2025-03-02 22:17:43 +01:00
Matthias Koefferlein 2e150980d5 Bugfix: 'Save all' was not updating the dirty state in the panel tabs 2025-03-02 22:12:18 +01:00
Matthias Koefferlein 414a06c70f Bugfix: tab title was not updated when current cell is renamed 2025-03-02 20:54:00 +01:00
Matthias Koefferlein 32fe65adc0 [consider merging] Fixed a bug when returning a Region into a layout with cells unselected. 2025-03-02 19:06:48 +01:00
Matthias Koefferlein 01cc54ba49 [consider merging] avoid a crash during certain queries
This query used to crash:
"instances of cell .*.* where inst.trans.rot == 2"
on a layout with 1 hierarchy level and some cells with rot 180 degree
2025-03-02 19:06:45 +01:00
Matthias Koefferlein 3185a7aeb2 [consider merging] fixed a potential crash on 'save all' 2025-03-02 19:06:41 +01:00
Matthias Koefferlein b434eb3239 [consider merging] Fixing two problems with layer mapping
1. Mapping "[*/*] 100/0:0/0" (for example) created 0/0
   two times when the input contains 100/0 and 0/0. Now
   it is a single layer only
2. The mapping table generated from strings now uses
   layer indexes from a range that should not collide
   with existing layer indexes.
2025-03-02 19:06:37 +01:00
Matthias Koefferlein 1372a7d04e [consider merging] Bugfix: fixing a crash when editing PCell parameters (QR code PCell in this case) while the macro editor is open 2025-03-02 19:06:31 +01:00
Matthias Koefferlein c6e7c47d6c Some bug fixes, updated tests 2025-03-02 18:30:31 +01:00
Matthias Koefferlein 08666aeb82 API implementation ... many, many new functions named 'split_...' 2025-03-02 17:30:47 +01:00
Matthias Koefferlein 79262028ff [consider merging] Fixed a bug when returning a Region into a layout with cells unselected. 2025-03-01 23:18:29 +01:00
dependabot[bot] d21cba7321
Bump pypa/cibuildwheel from 2.22.0 to 2.23.0
Bumps [pypa/cibuildwheel](https://github.com/pypa/cibuildwheel) from 2.22.0 to 2.23.0.
- [Release notes](https://github.com/pypa/cibuildwheel/releases)
- [Changelog](https://github.com/pypa/cibuildwheel/blob/main/docs/changelog.md)
- [Commits](https://github.com/pypa/cibuildwheel/compare/v2.22.0...v2.23.0)

---
updated-dependencies:
- dependency-name: pypa/cibuildwheel
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-03-01 21:39:07 +00:00
Matthias Koefferlein 850a6f56d3 [consider merging] avoid a crash during certain queries
This query used to crash:
"instances of cell .*.* where inst.trans.rot == 2"
on a layout with 1 hierarchy level and some cells with rot 180 degree
2025-02-25 23:35:33 +01:00
Matthias Koefferlein 0e4594c0c3 [consider merging] fixed a potential crash on 'save all' 2025-02-25 22:06:56 +01:00
Matthias Koefferlein c437d75a01 [consider merging] Fixing two problems with layer mapping
1. Mapping "[*/*] 100/0:0/0" (for example) created 0/0
   two times when the input contains 100/0 and 0/0. Now
   it is a single layer only
2. The mapping table generated from strings now uses
   layer indexes from a range that should not collide
   with existing layer indexes.
2025-02-25 22:02:11 +01:00
Matthias Köfferlein 99008f4629
Merge pull request #1988 from KLayout/bugfix/issue-1987
Bugfix/issue 1987
2025-02-23 19:10:08 +01:00
Matthias Köfferlein 2b494d1677
Merge pull request #1982 from KLayout/dependabot/github_actions/pypa/gh-action-pypi-publish-1.12.4
Bump pypa/gh-action-pypi-publish from 1.12.3 to 1.12.4
2025-02-23 19:09:59 +01:00
Matthias Koefferlein cb0b0baa4a Switching to upload-artifact v4 as v3 is deprecated 2025-02-22 18:49:29 +01:00
Matthias Koefferlein 50ab169385 Default for lazy eval mode is 'as requested by PCell' for backward compatibility 2025-02-18 23:41:20 +01:00
Matthias Koefferlein b9079cdfdc First proposal for a feature to configure lazy PCell evaluation
- The PCell page gets an option menu instead of "show parameter names"
- That option goes into that menu
- In addition, there is a "lazy PCell evaluation" submenu with the
  modes:
  * As requested by PCell (like now)
  * Never
  * Always
2025-02-18 23:36:30 +01:00
Matthias Koefferlein 7d1ddd95df More patches 2025-02-16 22:38:29 +01:00
Matthias Koefferlein f6616dfaf4 WIP: more fixes for Qt 6.8 compatibility 2025-02-16 21:49:05 +01:00
Matthias Koefferlein c3fe77acd0 Fixing issue #1987 (build failure against Qt6.8) 2025-02-16 20:28:22 +01:00
Matthias Koefferlein 094fccce74 Made unit tests more robust 2025-02-16 15:07:37 +01:00
Matthias Koefferlein ae5ae25000 Properties filters for EdgePairs and Texts too. 2025-02-16 13:59:50 +01:00
Matthias Koefferlein 1fed2767e8 Property filter for edges too. 2025-02-16 13:35:49 +01:00