Commit Graph

6782 Commits

Author SHA1 Message Date
Matthias Koefferlein c917831eb0 Fixed issue #1857 (crash when closing window with properties dialog open) 2024-09-15 17:00:31 +02:00
Matthias Koefferlein 491048db4c Fixed new Python module handling for standalone module case 2024-09-15 16:28:43 +02:00
Matthias Koefferlein 20d599b1de Mute noisy diagnostics with Python debug builds, avoid post-Finalize Python API access by pre-Finalize cleanup of modules. This avoids an assertion in Python debug builds and is a better style anyway. 2024-09-15 16:28:39 +02:00
Matthias Koefferlein 97dcf0aa0b Porting polygon generator from std::deque to std::list with support by 'splice' ... should fix the problem 2024-09-14 16:21:07 +02:00
Matthias Koefferlein 16b6328f1c Fixed new Python module handling for standalone module case 2024-09-14 16:16:58 +02:00
Matthias Koefferlein f1f3c64ab1 Mute noisy diagnostics with Python debug builds, avoid post-Finalize Python API access by pre-Finalize cleanup of modules. This avoids an assertion in Python debug builds and is a better style anyway. 2024-09-14 15:33:03 +02:00
Matthias Koefferlein 79dd2084ce tl::list enhancement 2024-09-14 13:52:25 +02:00
Matthias Koefferlein 9e55a664fb [debug] timers with ns resolution 2024-09-14 10:45:28 +02:00
Matthias Koefferlein fc729584e1 Maybe std::deque::size was the problem 2024-09-13 23:28:16 +02:00
Matthias Koefferlein d5345af466 Merge branch 'master' into wip 2024-09-13 23:15:58 +02:00
Matthias Koefferlein 153d1e3541 Trying to improve stability under PCell debugging conditions inside the IDE 2024-09-13 14:31:45 +02:00
Matthias Köfferlein 53b7c985f0
Merge pull request #1849 from KLayout/feature/issue-1836
Implemented solution for issue #1836 (Allow the usage of Cell.shapes(…
2024-09-08 22:24:40 +02:00
Matthias Köfferlein d70389c0c7
Merge pull request #1848 from KLayout/bugfix/issue-1847
Fixing bug #1847 (problem with fresh bindkey configuration)
2024-09-08 22:24:08 +02:00
Matthias Köfferlein b3fd5153fb
Merge pull request #1842 from KLayout/bugfix/issue-1835
Bugfix/issue 1835
2024-09-08 22:23:44 +02:00
Matthias Köfferlein 445d8a49ac
Merge pull request #1841 from KLayout/bugfix/issue-1840
Fixed issue #1840: start is renamed to _start and finish is renamed t…
2024-09-08 22:23:14 +02:00
Matthias Koefferlein 680874c8e3 More variants of Layout#properties_id + added Layout#properties_hash and Layout#properties_array. Clarification of documentation. 2024-09-08 19:45:10 +02:00
Matthias Koefferlein 68d15e01af DRC: more variants for layer#insert - labels, DBU-unit types 2024-09-08 19:16:40 +02:00
Matthias Koefferlein d902f5d53d Apply property changes before switching tree node in properties editor 2024-09-08 18:48:12 +02:00
Matthias Koefferlein 074238b116 Do not include 'purge_devices' in Netlist#simplify as such devices may be intentionally included as spare or dummy devices. If you want to remove them, use 'purge_devices' on 'netlist' and/or 'schematic' 2024-09-08 17:18:12 +02:00
Matthias Koefferlein ac2d20ae76 Implemented fix for issue #1832 (enhancements for Netlist#simplify and Netlist#combine_devices) 2024-09-08 00:25:24 +02:00
Matthias Koefferlein 20099a38b9 Fixing second part - small L,R and C were not handled properly 2024-09-08 00:25:18 +02:00
Matthias Koefferlein 4f72d3353f Fixed new Python module handling for standalone module case 2024-09-08 00:24:56 +02:00
Matthias Koefferlein 1e28e30e71 Mute noisy diagnostics with Python debug builds, avoid post-Finalize Python API access by pre-Finalize cleanup of modules. This avoids an assertion in Python debug builds and is a better style anyway. 2024-09-07 21:27:50 +02:00
Matthias Koefferlein bf965a7806 Implemented solution for issue #1836 (Allow the usage of Cell.shapes(LayerInfo(...)))
- For Cell#shapes, LayerInfo is an accepted argument now
- If the layer does not exist, it is created (non-const version)
  or an error is raised (const version)
- Cell#clear also accepts a LayerInfo object
- Layout#clear and Layout#delete_layer also accept
  a LayerInfo parameter

Rationale for supporting the clear and delete_layer methods:
These cases do nothing if the layer does not exist, so there
is a benefit of using them: it is not required to check first
if the layer exists.
2024-09-07 20:29:43 +02:00
Matthias Koefferlein 2c1d742275 Fixing bug #1847 (problem with fresh bindkey configuration) 2024-09-07 19:18:01 +02:00
Matthias Koefferlein 4ce5a9805a Fixing dependencies of Ubuntu24 packages 2024-09-03 23:36:50 +02:00
Matthias Koefferlein 13fd0b30ab Enabling Ubuntu 24 in build scripts 2024-09-03 00:12:13 +02:00
dependabot[bot] a39ac330ae
Bump pypa/gh-action-pypi-publish from 1.9.0 to 1.10.0
Bumps [pypa/gh-action-pypi-publish](https://github.com/pypa/gh-action-pypi-publish) from 1.9.0 to 1.10.0.
- [Release notes](https://github.com/pypa/gh-action-pypi-publish/releases)
- [Commits](https://github.com/pypa/gh-action-pypi-publish/compare/v1.9.0...v1.10.0)

---
updated-dependencies:
- dependency-name: pypa/gh-action-pypi-publish
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-09-01 21:22:39 +00:00
dependabot[bot] 057684bef1
Bump pypa/cibuildwheel from 2.19.2 to 2.20.0
Bumps [pypa/cibuildwheel](https://github.com/pypa/cibuildwheel) from 2.19.2 to 2.20.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.19.2...v2.20.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>
2024-09-01 21:22:37 +00:00
Matthias Koefferlein a4467cfd3e Fixed a small bug: when deleting the only top cell, you could not create new cells as an error was issued saying 'no layout present' 2024-09-01 21:27:25 +02:00
Matthias Koefferlein bc78f4a0e9 Added test. 2024-09-01 21:26:44 +02:00
Matthias Koefferlein 716aa3c87b Fixing issue #1835 (saving a PCell as cell renders a layout that cannot be read) 2024-09-01 21:18:49 +02:00
Matthias Koefferlein 7dd7a96683 Fixed issue #1840: start is renamed to _start and finish is renamed to _finish, also some other methods that are purely internal. Python + Ruby is modified. 2024-09-01 19:48:13 +02:00
Matthias Koefferlein be7c4538ba Fixed a crash in the properties editor
This crash happened sometimes when clicking on the
node elements (e.g. "Boxes" or "Instances") of the
object tree, the node was the second or further one
and the category clicked at was containing one
item only.
2024-09-01 18:10:14 +02:00
Matthias Koefferlein 793c892b2b Reworking documentation of LayoutToNetlist 2024-09-01 17:47:25 +02:00
Matthias Koefferlein a8bedf7116 DRC doc update 2024-08-14 18:35:41 +02:00
Matthias Koefferlein 9f16f0711a Preparations for 0.29.6 2024-08-14 08:25:23 +02:00
Matthias Koefferlein 421999d8b5 update py stubs 2024-08-14 08:08:09 +02:00
Matthias Köfferlein 77782e4f1c
Merge pull request #1825 from KLayout/wip
Some enhancements to "Descend" and "Ascend"
2024-08-13 08:06:24 +02:00
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 Köfferlein 9ef35d120e
Merge pull request #1820 from KLayout/wip
WIP branch
2024-08-10 13:33:12 +02:00
Matthias Koefferlein aada3424a9 Fixed non-Qt builds 2024-08-09 17:45:24 +02:00
Matthias Koefferlein 3e0d0ad444 Added tests, fixed others 2024-08-09 17:20:40 +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