Matthias Koefferlein
6bca4a07b6
Code cleanup + fixing another bug (crash when doing 'change layer' on multiple selected shapes)
2024-07-08 22:43:56 +02:00
Matthias Koefferlein
930a5d7424
Bugfix issue #1780
2024-07-08 18:59:53 +02:00
Kazunari Sekigawa
45e7a8eb8d
Modified the macOS build system so that the debug build uses ASAN (Address SANitizer) for clang++
2024-07-07 18:47:11 +09:00
Matthias Köfferlein
02506495c2
Merge pull request #1777 from KLayout/bugfix/issue-1771
...
Bugfix/issue 1771
2024-07-06 14:49:45 +02:00
Matthias Koefferlein
27549e006d
Fixing issue #1771 - Python 3.11.7 introduced a new behavior for getting the stack trace line number
2024-07-06 00:23:42 +02:00
Matthias Koefferlein
769327cdab
Fixing issue #1774 (providing klayout.__version__ also for built-in module)
2024-07-05 17:50:38 +02:00
Matthias Koefferlein
9c13dbb63c
Fixed issue #1770 (Macro development step over/into does not work in some cases
...
)
2024-07-04 18:45:34 +02:00
Matthias Koefferlein
63aeec1e36
Updating DRC/LVS doc.
2024-07-04 18:31:44 +02:00
Matthias Koefferlein
6da9e60736
Fixing typo as addressed by issue #1769
2024-07-04 18:31:02 +02:00
Matthias Koefferlein
4a2d1be8bf
Backward compatibility mode (with fix): size now also accepts sizing mode as string (for supporting GF180 DRC decks properly)
2024-07-03 22:59:31 +02:00
Matthias Koefferlein
02f88fb3e0
Fixed 64bit coordinate builds
2024-07-03 18:37:55 +02:00
Matthias Koefferlein
bf78f0b364
Regenerating stubs
2024-07-03 01:14:03 +02:00
Matthias Koefferlein
264f1e0586
Stepwise sizing: had to rename options
...
"inside" and "outside" was already taken. Now it is called
"size_inside" and "size_outside".
2024-07-02 21:10:11 +02:00
Matthias Koefferlein
68530f08bc
Merge branch 'faster-latchup-rules'
2024-07-01 18:28:23 +02:00
Matthias Köfferlein
7839e6a97f
Merge pull request #1764 from KLayout/feature/issue-1756
...
Feature/issue 1756
2024-07-01 18:24:57 +02:00
Matthias Köfferlein
8145e3db57
Merge pull request #1763 from KLayout/better_pyi
...
.pyi files work slightly better with these changes. Also: regeneratin…
2024-07-01 18:24:37 +02:00
Matthias Köfferlein
3237f5ec4a
Merge pull request #1761 from KLayout/feature/issue-1655
...
Feature/issue 1655
2024-07-01 18:24:22 +02:00
Matthias Köfferlein
53db0a0300
Merge pull request #1760 from KLayout/feature/issue-1741
...
Implemented solution for issue #1741 (Feature request: tooltip string…
2024-07-01 18:24:07 +02:00
Matthias Köfferlein
e56c7d6948
Merge pull request #1759 from KLayout/bugfix/issue-1743
...
Fixed issue #1743 (strmxor shows no difference, klayout xor shows 85,…
2024-07-01 18:23:50 +02:00
Matthias Koefferlein
54aeea54ca
Alternative implementation of solution for issue #1756 (allow specific HTTP timeout)
2024-06-30 19:36:18 +02:00
Matthias Koefferlein
6992ac67b0
.pyi files work slightly better with these changes. Also: regenerating Python stubs.
2024-06-30 17:57:36 +02:00
Matthias Koefferlein
a49f907cfa
Doc fixes
2024-06-30 00:07:52 +02:00
Matthias Koefferlein
7eadac527b
Debugging and finalization
2024-06-29 23:55:02 +02:00
Matthias Koefferlein
b92c7bf225
Refined solution
2024-06-29 23:22:32 +02:00
Matthias Koefferlein
f9899efea3
First implementation
2024-06-29 23:02:29 +02:00
Matthias Koefferlein
a5b98f93ff
Implemented solution for issue #1741 (Feature request: tooltip string for PCell parameter)
2024-06-29 22:10:43 +02:00
Matthias Koefferlein
4e8bad1403
Fixed issue #1743 (strmxor shows no difference, klayout xor shows 85, dbu 99.999 vs 1000)
2024-06-29 20:51:37 +02:00
Matthias Koefferlein
7397b8e4e6
Fixed issue 1757 (Triangles::clear () use-after-free) plus another uninitialized value. Added tests.
2024-06-29 20:12:45 +02:00
Matthias Köfferlein
564861abe1
Merge pull request #1753 from KLayout/feature/issue-1747
...
Fixing issue #1747 (signed coordinate transformations with Trans/DTra…
2024-06-29 20:12:07 +02:00
Matthias Köfferlein
054fd09424
Merge pull request #1752 from KLayout/bugfix/issue-1750-1751
...
Fixing issue #1750 and issue #1751
2024-06-29 20:11:54 +02:00
Matthias Köfferlein
6e2c11435b
Merge pull request #1744 from KLayout/wip
...
OASIS reader: avoiding slight rounding of DBU In python read/write cy…
2024-06-29 20:11:40 +02:00
Matthias Koefferlein
0a453b069c
Bugfix: when debugging a modal dialog event or callback, 'run'/'stop' and 'step' was not working
2024-06-28 15:45:25 +02:00
Matthias Koefferlein
a0d7ce0cd8
Maybe fixing two basic issues in debugger:
...
- desktop deadlock if using the help window's search function:
That is because we stole some events in the debugger.
- disabling paint events during debugging
The patch is simply to take out the code responsible for this.
This *may* create issues as debugging of event handlers may
create recursive debugger calls. Needs to be investigated.
But the overall effect so far is positive.
2024-06-27 23:30:54 +02:00
Matthias Koefferlein
9865b14b0c
Update doc
2024-06-25 23:45:09 +02:00
Matthias Koefferlein
100760e219
Fixed progress description
2024-06-25 23:41:35 +02:00
Matthias Koefferlein
10880e078b
Added documentation for new DRC feature
2024-06-25 22:20:48 +02:00
Matthias Koefferlein
58d53636cb
DRC tests for 'size/sized inside
2024-06-25 21:01:23 +02:00
Matthias Koefferlein
4c28d9f6a9
WIP: optimization
2024-06-25 19:35:47 +02:00
Matthias Koefferlein
e8784d1763
WIP: added basic tests
2024-06-25 19:26:35 +02:00
Matthias Koefferlein
128efd45e4
WIP: Implementing flat mode for sized inside/outside
2024-06-25 18:21:21 +02:00
Matthias Koefferlein
c3d3dd6239
WIP: Optimizing performance of deep mode sized inside/outside
2024-06-25 00:30:20 +02:00
Matthias Koefferlein
8d630e723a
WIP
2024-06-23 23:52:47 +02:00
Matthias Koefferlein
a54365a9a7
WIP: DRC integration
2024-06-23 19:30:01 +02:00
Matthias Koefferlein
e63a7b5940
WIP: optimization of sized_inside - distance can be reduced to 0 if 'inside' is merged
2024-06-23 18:21:30 +02:00
Matthias Koefferlein
d2479c7159
WIP
2024-06-23 17:20:32 +02:00
Matthias Koefferlein
55fc4a8728
WIP
2024-06-23 17:05:49 +02:00
Matthias Koefferlein
25165c46a3
WIP
2024-06-23 00:49:33 +02:00
Matthias Koefferlein
fd4330a34e
Fixing Windows builds
2024-06-22 23:33:28 +02:00
Matthias Koefferlein
61e2758bbb
Fixing issue #1747 (signed coordinate transformations with Trans/DTrans/CplxTrans etc.)
2024-06-22 23:25:45 +02:00
Matthias Koefferlein
27073cb128
Fixing issue #1750 and issue #1751
2024-06-22 21:00:26 +02:00
Matthias Koefferlein
f7f25879f0
Preserving layer indexes to preserve LVS DB format (note to myself: finally create a real compare tool for the latter)
2024-06-17 21:55:35 +02:00
Matthias Koefferlein
f721be7e32
Trying to improve deep-mode XOR and NOT performance by introducing a local sweep that eliminates shapes also found in second input.
2024-06-17 21:45:55 +02:00
Matthias Koefferlein
214e1736f0
Reading waiver comments on RVE database, automatically read associated .waived RVE DB file
2024-06-16 21:40:28 +02:00
Matthias Koefferlein
579da640ba
Enhancement: added optional layer/datatype information to DRC/LVS 'name'
2024-06-16 19:33:24 +02:00
Matthias Koefferlein
24a9e6824a
Added tests for the last fix.
2024-06-16 16:54:20 +02:00
Matthias Koefferlein
7082b0528d
[consider merging] Ruby binding bugfix: 'return' from block was behaving like 'break'
...
The problem was that Ruby uses internal exceptions to implement 'return', 'break'
and other types. These were mapped to a single tl::CancelException, rendering
the effect of 'break' and 'return' the same.
2024-06-16 16:53:01 +02:00
Matthias Koefferlein
62b1d26ce5
Small bugfix: symlinks in the salt paths might have lead to macro duplication
2024-06-16 10:30:22 +02:00
Matthias Koefferlein
f4736759b6
issue #1742 fixed: proper tracking of references of RecursiveShapeIterator - this will fix the segfault, but not the general issue of the ticket.
2024-06-16 09:55:46 +02:00
Matthias Koefferlein
b32329c920
OASIS reader: avoiding slight rounding of DBU In python read/write cycle (discussion-2526)
2024-06-16 09:29:47 +02:00
Matthias Koefferlein
9cec3f9431
Simplified solution of for the invalid selection problem
...
1.) transient selection does not need to be handled
2.) restored original behavior or set_selection/get_selection
(should not modify the selection)
3.) only geometry changes will trigger a selection cleanup
2024-06-09 23:22:32 +02:00
Matthias Koefferlein
46936b5d56
Fixing issue #1733 (Instance selecion in object properties does not match with view port object highlight)
...
Plus: better implementation of fix for issue #1145
(Crash when clearing a Shapes container by script while a shape is selected)
The previous solution was based on deferred execution and between
execution of that cleanup and the use of the selection, invalid states
could be present.
2024-06-09 18:58:39 +02:00
Matthias Koefferlein
4e430ff38f
Merge branch 'master' of github.com:KLayout/klayout
2024-06-08 16:07:03 +02:00
Matthias Koefferlein
ff824af311
Regenerating Python stubs
2024-06-08 16:06:51 +02:00
Thomas Ferreira de Lima
bca7a9c450
Update drc_basic.xml
...
Fixing report argument.
2024-06-07 15:45:41 -04:00
Matthias Köfferlein
9d8a438d1d
Merge pull request #1732 from KLayout/wip
...
Wip
2024-06-07 14:42:44 +02:00
Matthias Koefferlein
04caf13d8d
Added tests for shapes_of_terminal
2024-06-06 20:47:55 +02:00
Matthias Koefferlein
3e4775aabb
Added tests for shapes_of_pin
2024-06-06 20:20:35 +02:00
Matthias Koefferlein
c44b8097dd
Deep search for pin shapes, added shapes_of_terminal
2024-06-06 19:54:56 +02:00
Matthias Koefferlein
7388aa13a6
debugging pin shape generation - not sure if that solution makes sense.
2024-06-05 23:47:57 +02:00
Matthias Koefferlein
09a690f5f6
WIP
2024-06-05 22:42:42 +02:00
Matthias Koefferlein
4eeb5be9ea
More explanation of blend modes in common reader options
2024-06-05 22:42:38 +02:00
Matthias Koefferlein
a3d226d99f
Fixing the specific problem of issue #1709
2024-06-04 20:34:45 +02:00
Matthias Köfferlein
910f0824e0
Merge pull request #1727 from KLayout/feature/issue-1721
...
Feature/issue 1721
2024-06-03 22:58:06 +02:00
Matthias Köfferlein
b726872598
Merge pull request #1726 from KLayout/bugfix/issue-1722
...
Proposing a fix for issue #1722 : add a '...' menu to hold the dynamic…
2024-06-03 22:57:36 +02:00
klayoutmatthias
8204f4d0aa
Updating golden test data with MacOS variants
2024-06-02 19:59:40 +02:00
Matthias Koefferlein
4277d0d8d5
Avoid some more exceptions in XML handler
2024-06-02 19:44:45 +02:00
Matthias Koefferlein
739cdfc1d5
Complete list of includes for QPointerEvent
2024-06-02 19:18:08 +02:00
Matthias Koefferlein
1144b07ebb
Compatibility with Qt 6.7
2024-06-02 19:11:17 +02:00
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
4e0b38acd5
Qt5 compatibility
2024-06-01 21:48:22 +02:00
Matthias Koefferlein
c050daff61
Added a test, compiler warning fixed
2024-06-01 20:30:56 +02:00
Matthias Koefferlein
d6130f72b3
Bugfix
2024-06-01 20:30:51 +02:00
Matthias Koefferlein
a0be1256bc
Adding context menu of query to export selected items only
2024-06-01 20:17:56 +02:00
Matthias Koefferlein
38b1319aad
Debugging.
2024-06-01 19:48:49 +02:00
Matthias Koefferlein
6473a38af3
Debugging.
2024-06-01 19:05:58 +02:00
Matthias Koefferlein
5ee1daf945
First draft of solution. Needs polishing.
2024-06-01 18:48:21 +02:00
Matthias Koefferlein
d28822af3f
Fixed a compiler warning
2024-06-01 12:59:40 +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
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 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 Koefferlein
029d71f30e
Trying to fix bug #1706 (crash on user properties form)
2024-05-12 16:24:33 +02:00
Matthias Koefferlein
547ce99c37
Implemented fix from @Kazzz-S. Thank you!
2024-05-03 23:34:59 +02:00
Matthias Koefferlein
b2b9c221b4
Maybe fixing shader programs for 2.5d view
2024-05-02 23:58:05 +02:00
Matthias Koefferlein
ebbd8708db
bug fixing
2024-04-30 23:17:00 +02:00
Matthias Koefferlein
70bf4b4a20
Translate 2.5d view to GLGS 1.2 and skipping the goemetry shader for (hopefully) compatibility with OpenGL 3.0
2024-04-30 23:04:04 +02:00
Matthias Koefferlein
43066284d5
Updating stubs and DRC/LVS doc
2024-04-30 19:27:34 +02:00
Matthias Koefferlein
05c129dd81
Doc fixes
2024-04-30 17:45:56 +02:00
Matthias Köfferlein
7b3804ce1a
Merge pull request #1697 from KLayout/bugfix/issue-1696
...
Bugfix/issue 1696
2024-04-30 15:27:31 +02:00
Matthias Köfferlein
d14f8b0253
Merge pull request #1694 from KLayout/waive-concept
...
Waive concept
2024-04-30 15:27:15 +02:00
Matthias Köfferlein
d5a67080c0
Merge pull request #1690 from KLayout/wip
...
Wip
2024-04-30 15:26:59 +02:00
Matthias Koefferlein
a10356fd85
Added tests
2024-04-29 19:18:39 +02:00
Matthias Koefferlein
de535c711f
Fixed problem by creating a default device class from an empty template string
2024-04-29 18:58:04 +02:00
Matthias Koefferlein
14f9d579c9
'apply waiver DB' feature in marker browser
2024-04-29 18:56:32 +02:00
Matthias Koefferlein
db0e9efe31
Bugfix: reload was not working properly
2024-04-29 18:51:31 +02:00
Matthias Koefferlein
a7f0f3ba8e
Compatibility with old Ruby versions
2024-04-29 00:10:57 +02:00
Matthias Koefferlein
405ac5109a
Update DRC documentation, explaining the waive flow.
2024-04-28 19:57:10 +02:00
Matthias Koefferlein
92a0c38d96
Tests for waiving flow
2024-04-28 19:32:54 +02:00
Matthias Koefferlein
7e32344287
Including sub-categories in RDB::apply, fixing handling of waived count in a category hierarchy in marker browser
2024-04-28 19:23:44 +02:00
Matthias Koefferlein
86a2a6dd40
'Save As Waiver DB' implemented
2024-04-28 19:05:39 +02:00