Commit Graph

6367 Commits

Author SHA1 Message Date
Matthias Koefferlein 46bb28d4e4 Avoid throwing exceptions inside XML parser
This addresses an issue found in ARM builds on Mac M1.
The XML parser makes use of exceptions to stop the parsing.
This causes an ABORT on M1/clang for whatever reason.
The new implementation requests the reader to stop
and stores the exception until it is needed.
2024-06-02 18:22:15 +02:00
Matthias Koefferlein 4b0a3dff64 Bug fixing. 2024-06-01 12:49:07 +02:00
Matthias Koefferlein 11139cd4da Trying to fix problem of deleted top-level menus 2024-06-01 12:16:21 +02:00
Matthias Koefferlein 7ca6c225e4 Merge branch 'bugfix/issue-1722' 2024-06-01 09:34:19 +02:00
Matthias Köfferlein a494892529
Merge pull request #1718 from KLayout/wip
Wip
2024-05-31 22:48:24 +02:00
Matthias Köfferlein 7b2a248484
Merge pull request #1720 from KLayout/bugfix/issue-1719
Bugfix/issue 1719
2024-05-31 22:48:09 +02:00
Matthias Koefferlein 2827bed6c2 Updating documentation, taking out test code 2024-05-31 17:49:35 +02:00
Matthias Koefferlein ad64f30033 Bugfixing the solution 2024-05-31 17:44:32 +02:00
Matthias Koefferlein 56035abd9f Adjusting DRC/LVS code for Ruby 2.0.0 (protected vs. private methods) 2024-05-31 16:29:54 +02:00
Matthias Koefferlein da9dc8929c Updating one golden test data file 2024-05-31 16:03:48 +02:00
Matthias Koefferlein 3902ad6576 Removing a TODO - that suggestion isn't good as of now 2024-05-31 15:59:32 +02:00
Matthias Koefferlein 2e7e299af9 Comment typo fixed 2024-05-31 15:16:44 +02:00
Matthias Koefferlein 11bddc2914 Refining solution for "blend-mode 0" enhancement 2024-05-31 14:45:25 +02:00
Matthias Köfferlein 7399244557
Merge pull request #1725 from KLayout/bugfix/issue-1724
Fixing issue #1724 (avoid duplicate LEF files)
2024-05-31 13:18:44 +02:00
Matthias Köfferlein f8d5c1c427
Merge pull request #1713 from KLayout/feature/issue-1701
Implementing solution for issue #1701 (Feature request: strm2oas shou…
2024-05-31 13:18:22 +02:00
Matthias Köfferlein f2b7bc667d
Merge pull request #1712 from KLayout/feature/issue-1710
Fix for issue-1710 (feature request: create separate cell for def FILL)
2024-05-31 13:17:32 +02:00
Matthias Köfferlein 3f1d9f17bc
Merge pull request #1708 from KLayout/bugfix/issue-1706
Trying to fix bug #1706 (crash on user properties form)
2024-05-31 13:16:39 +02:00
Matthias Koefferlein c148f591b4 Proposing a fix for issue #1722: add a '...' menu to hold the dynamic parts 2024-05-31 11:25:14 +02:00
Matthias Koefferlein c70e622590 Fixing issue #1724 (avoid duplicate LEF files) 2024-05-30 16:21:52 +02:00
Matthias Koefferlein b95634edf3 Fixing some flaws inside the macro IDE
* When deleting a macro, the tab was not closed but
  became "zombie"
* After creating a new folder, macros made there
  behaved "zombie" too
2024-05-30 13:58:13 +02:00
Matthias Koefferlein 149c972172 Enhancing 'blend-mode' 0 (buddy tools) such that it will not generate instance duplicates 2024-05-29 22:39:57 +02:00
Matthias Koefferlein 496818f0a8 Added testdata for #1719, part 3 2024-05-28 23:21:58 +02:00
Matthias Koefferlein f1d3597b2e Small doc update 2024-05-27 19:06:56 +02:00
Matthias Koefferlein 2360eb41fd Generated documentation 2024-05-27 19:04:06 +02:00
Matthias Koefferlein dc526132c0 Part 3 of issue #1719
New LVS/DRC functions: "name" and "name_prefix"
to control what layer names are used. "name" needs
to be used explicitly and before a layer is used
(and gets auto-assigned a name).
2024-05-27 19:02:53 +02:00
Matthias Koefferlein 45e77ce40c Fixed a typo 2024-05-27 19:02:38 +02:00
Matthias Koefferlein f01d8d46b5 Improving reports for errors in 'same_nets' cases 2024-05-27 00:43:36 +02:00
Matthias Koefferlein 3edb193562 A proposal for fixing issue #1719, part 1 2024-05-26 22:55:37 +02:00
Matthias Koefferlein 14b1fddcc5 Trying to improve must-connect error messages
* Avoid repetitions
* Include geometry for nets if possible
* Better wording
* All joined nets tested together - leaner code
2024-05-26 19:32:15 +02:00
Matthias Koefferlein 994b23abf6 Refining solution of issue #1719, part 2 2024-05-26 17:23:50 +02:00
Matthias Koefferlein 35d9068f72 Updating unit tests - stray text nets are gone. 2024-05-26 17:08:34 +02:00
Matthias Koefferlein 0c52934100 Trying a solution for issue #1719, part 2
The solution is to drop clusters that have no area
and not connections downward. This implies, we cannot
connect from upward to such clusters - i.e. we cannot
force a pin inside a subcircuit with a plain text. We
need some polygon at least. This is not a problem as
texts were not enough so far anyway.
2024-05-26 15:17:58 +02:00
Matthias Koefferlein b5e2eb253c Adjusted unit tests 2024-05-26 01:17:27 +02:00
Matthias Koefferlein 81872d41f0 Fixed a problem triggered by the new foreign layout handling
Problem was that with forward-referenced text strings
in OASIS, StringRef objects were created (string placeholders).
Those where not properly migrated when transferring the foreign
layouts into DEF space, causing a memory corruption issue.

This solution is to provide a central, singleton string
repository. This needs to be MT safe (reference counting)
which should also fix potential problems when accessing
StringRef-based Text objects from multiple threads.
2024-05-26 01:03:24 +02:00
Matthias Koefferlein 1677111735 Enhanced documentation for LayoutToNetlist class, two more methods (layer_indexes, layer_info) 2024-05-25 19:57:51 +02:00
Matthias Koefferlein 4f88ff68da Better error messages on Expressions too. 2024-05-25 19:18:15 +02:00
Matthias Koefferlein d59d318218 Bugfix: restoring original overload matching scheme for Ruby and Python 2024-05-25 18:58:18 +02:00
Matthias Koefferlein eb92e5f2d1 Better error messages on argument mismatch for Ruby too. 2024-05-25 18:43:44 +02:00
Matthias Koefferlein 1861abc68c Bugfix for passing default arguments to GSI calls
This happens when default arguments (specifically
user class or enum types) and passed between keyword
and positional arguments. We must not use a temporary
tl::Variant object as it gets out of scope and a
reference is stored.

In addition: better error messages for Python when
a method can't be matched to arguments.
2024-05-25 17:48:17 +02:00
Matthias Koefferlein 370abf7ab3 Enum to variant binding: needs to use enum class, not EnumWrapper<E>
The effect of this fix is that tl::Variant gets enabled for
enums declared with gsi::Enum.
2024-05-25 17:46:29 +02:00
Matthias Koefferlein 3ca99907de Improved OASIS-to-OASIS file size by re-introducing sorting of repetition arrays 2024-05-25 14:24:00 +02:00
Matthias Koefferlein e4267e53da Removed some debugging code 2024-05-25 14:23:16 +02:00
Matthias Koefferlein cf8ff2f750 Slight adjustment of wording 2024-05-19 17:35:03 +02:00
Matthias Koefferlein 8422fe8f83 Implementing solution for issue #1701 (Feature request: strm2oas should report input unit differences) 2024-05-18 19:41:43 +02:00
Matthias Köfferlein 879239d841
Merge pull request #1711 from BWsix/replace-removed-ruby-function
Replace "removed" Ruby method "file.exists?" with "file.exist?"
2024-05-18 18:41:52 +02:00
Matthias Koefferlein 51a1a2627f Fix for issue-1710 (feature request: create separate cell for def FILL) 2024-05-18 18:37:52 +02:00
VFLC 70104b5fa5
_drc_engine.rb: replace removed method "file.exists?" with "file.exist?"
`file.exists?` got removed in version 3.2.0
see: https://www.ruby-lang.org/en/news/2022/12/25/ruby-3-2-0-released/
2024-05-18 15:25:07 +00:00
Matthias Köfferlein 48b32733c2
Merge pull request #1703 from Kazzz-S/0.29.1-mac1
Updated the macOS build system to build KLayout 0.29.1
2024-05-13 22:03:33 +02:00
Matthias Koefferlein 029d71f30e Trying to fix bug #1706 (crash on user properties form) 2024-05-12 16:24:33 +02:00
Kazunari Sekigawa 432c962feb Updated the macOS build system to build KLayout 0.29.1 2024-05-05 08:18:12 +09:00