Commit Graph

4856 Commits

Author SHA1 Message Date
Matthias Koefferlein bb17250d94 Implemented a fix for issue #1691
The root cause was that the terminal identity could
not be derived in the presence of soft connections
inside the device abstract cell. The solution is to
join soft connected clusters in the device abstracts with
a warning.
2024-04-21 18:13:54 +02:00
Matthias Koefferlein f68fd4f8d0 Refactoring of EdgePairs/Edges API to avoid ambiguities 2024-04-21 00:17:05 +02:00
Matthias Koefferlein 753f2cd164 Fixed one unit test (remove file path reference) 2024-04-20 23:35:38 +02:00
Matthias Koefferlein ac5b3073f1 Some enhancements on rulers: pasted ruler is selected now, 'duplicate_interactive' now working on rulers too 2024-04-20 23:31:54 +02:00
Matthias Koefferlein a18a6be181 DRC: New options for "corners", "angle", "with(out)_angle"
- layer.corners: absolute and negative option
- drc(corners): absolute option, != operator supported
- layer.with_angle/without_angle: absolute option
- drc(angle): absolute option

+ corresponding API updates:

- EdgePairs#with_angle, with_angle_both: 'absolute' flag added
- Edges#with_angle: 'absolute' flag added
- Region#corners: 'inverse' and 'absolute' added
2024-04-20 21:52:38 +02:00
Matthias Koefferlein 424ead4d9a Some enhancements to expression parser:
- upcase() and downcase() functions
- type error messages indicate argument number
2024-04-18 22:02:46 +02:00
Matthias Koefferlein cba126e9ee Small enhancements for Spice reader
- Detects recursive subcircuit calls now
- Dismisses empty top level circuit which happened to be created
  when there were not top level elements and control statements
  were present (such as .param)
2024-04-18 21:27:09 +02:00
Matthias Koefferlein e8ecaa6472 Merge branch 'master' into wip 2024-04-18 21:00:11 +02:00
Matthias Koefferlein 16ef23864c Enabled 64bit coordinate builds 2024-04-18 20:59:37 +02:00
Matthias Koefferlein b634d93cb2 Bugfix: timeout for HTTP(S) connection was including the time taken to input the password if one is requested. 2024-04-17 22:54:01 +02:00
Matthias Koefferlein 18eadb119e Fixed a small problem: browser windows did not get closed when closing the window. 2024-04-17 22:42:58 +02:00
Matthias Köfferlein ede328d3cb
Merge pull request #1687 from KLayout/feature/issue-1678
Implemented solution for issue-1678
2024-04-17 22:38:39 +02:00
Matthias Köfferlein 840beea152
Merge pull request #1686 from KLayout/feature/issue-1666
Feature/issue 1666
2024-04-17 22:38:27 +02:00
Matthias Köfferlein 6bc314a6cd
Merge pull request #1685 from KLayout/bugfix/issue-1679
Bugfix/issue 1679
2024-04-17 22:38:17 +02:00
Matthias Köfferlein c6174b1df5
Merge pull request #1684 from KLayout/bugfix/issue-1683
Bugfix/issue 1683
2024-04-17 22:38:04 +02:00
Matthias Köfferlein 3c2a254a9b
Merge pull request #1682 from KLayout/bugfix/issue-1681
Fixed issue #1681
2024-04-17 22:37:53 +02:00
Matthias Köfferlein 2f015b603a
Merge pull request #1675 from KLayout/issue-1671
Issue 1671
2024-04-17 22:37:41 +02:00
Matthias Koefferlein e3dc4e7310 Qt4 compatibility 2024-04-16 21:50:30 +02:00
Matthias Koefferlein 06c65e2879 Updating tests 2024-04-15 00:01:49 +02:00
Matthias Koefferlein daa2df159e Fixed a build issue on some Qt versions 2024-04-14 23:54:10 +02:00
Matthias Koefferlein 1e83df0a56 Implemented solution for issue-1678
* Help index file name encodes KLayout version and Qt version
* Help index file is gzip compressed to save space as many files are expected to accumulate now
2024-04-14 21:59:10 +02:00
Matthias Koefferlein 0eb3c22ec2 Aligning menu layout of materials list with layer list 2024-04-14 21:42:59 +02:00
Matthias Koefferlein 9fd791a603 Implemented solution for issue-1666 ('Visibility Follows Selection' option for the 2.5d view) 2024-04-14 21:39:49 +02:00
Matthias Koefferlein 62f0ea3b97 Fixing issue #1683 (Spice reader accepts circuits without definition but pins get shorted) 2024-04-14 21:04:02 +02:00
Matthias Koefferlein 6a876d2cd6 Fixed issue #1681 2024-04-14 19:43:50 +02:00
Matthias Koefferlein ae2d6fb42f Updating sample macros for Qt6 compatibility 2024-04-10 23:18:51 +02:00
Matthias Koefferlein 7fa1337cd8 Moving from QFormBuilder to QUiLoader as QFormBuilding is deprecated in Qt6 binding 2024-04-10 22:40:56 +02:00
Matthias Koefferlein 95c1ee82f0 Proposal for fix. 2024-04-04 23:06:34 +02:00
Matthias Koefferlein 7f16c7b597 Fixed doc 2024-04-01 20:24:43 +02:00
Matthias Koefferlein 2dc9df3f40 Updated documentation with example 2024-03-31 22:23:23 +02:00
Matthias Koefferlein 4809c06091 Implemented editor hooks for partial mode too. Integrated modification events into edit protocol 2024-03-31 22:10:24 +02:00
Matthias Koefferlein 1c284b0939 Editor hooks for move operations 2024-03-31 19:26:22 +02:00
Matthias Koefferlein 00bc208e3f Merge branch 'master' into editor-hooks 2024-03-31 10:39:00 +02:00
Matthias Koefferlein ed486a687d Merge remote-tracking branch 'remotes/mine/master' 2024-03-31 10:37:20 +02:00
Matthias Koefferlein 3836874b8f Enhanced Euclidian visualization 2024-03-31 10:30:04 +02:00
Matthias Koefferlein eb1ac4903e Refinement of solution for DRC hull generator, still not perfect. 2024-03-30 22:34:26 +01:00
Matthias Koefferlein 03d77bbff6 Region#drc_hull for generating DRC space forbidding region visualizations 2024-03-30 22:01:39 +01:00
Matthias Koefferlein 6c8ff49bc7 Added a test for post-increment iterator of tl::Object collections 2024-03-30 20:56:24 +01:00
Matthias Koefferlein f087a579af Refactoring of the editor hooks API 2024-03-30 20:53:43 +01:00
Matthias Koefferlein 2e5d395a59 Fixed a typo (thanks, Stefan) 2024-03-30 19:48:02 +01:00
Matthias Koefferlein b4d1a4a954 First draft 2024-03-30 19:11:15 +01:00
Matthias Koefferlein 7e8ce51da2 post-increment operators must not use the int argument (it is zero) 2024-03-30 16:48:01 +01:00
Matthias Koefferlein 1868dcc104 Copy ctor, swap and move for tl::shared_collection and tl::weak_collection 2024-03-30 09:36:20 +01:00
Matthias Koefferlein d1216b5891 WIP 2024-03-30 00:30:36 +01:00
Matthias Koefferlein 80d1aad90a WIP 2024-03-30 00:21:16 +01:00
Matthias Koefferlein 876215f6c7 WIP 2024-03-30 00:12:24 +01:00
Matthias Koefferlein b40a7f9575 WIP 2024-03-29 22:59:12 +01:00
Matthias Koefferlein c43b70b783 Shape#hash and Shape#< allow using Shape objects as hash keys 2024-03-29 21:47:37 +01:00
Matthias Köfferlein 4f67ae5261
Merge pull request #1657 from KLayout/1598-support-for-soft-connections
1598 support for soft connections
2024-03-29 18:27:14 +01:00
Matthias Koefferlein 69423e37ac Merge branch 'master' of github.com:KLayout/klayout 2024-03-29 14:07:59 +01:00
Matthias Köfferlein bc4d258cb3
Merge pull request #1667 from KLayout/issue-1356
Issue 1356
2024-03-29 14:06:05 +01:00
Matthias Koefferlein bdb8389420 Merge branch 'master' of github.com:KLayout/klayout 2024-03-29 13:51:55 +01:00
Matthias Koefferlein 6ac1c32a8d Merge branch 'master' into 1598-support-for-soft-connections 2024-03-29 09:00:17 +01:00
Matthias Köfferlein 555354090f
Merge pull request #1664 from KLayout/issue-1662
Issue 1662
2024-03-29 08:58:31 +01:00
Matthias Köfferlein 4c5aeff1b3
Merge pull request #1663 from KLayout/issue-1638
Issue 1638
2024-03-29 08:58:17 +01:00
Matthias Köfferlein 974756536f
Merge pull request #1661 from KLayout/issue-1643
Issue 1643
2024-03-29 08:58:03 +01:00
Matthias Köfferlein 0091292f7c
Merge pull request #1660 from KLayout/issue-1651
Fixing issue #1651 (errors when adding polygons with 4 points) - need…
2024-03-29 08:57:41 +01:00
Matthias Köfferlein f6ad535761
Merge pull request #1659 from KLayout/issue-1656
Issue 1656
2024-03-29 08:57:26 +01:00
Matthias Köfferlein 467c8c7527
Merge pull request #1650 from KLayout/issue-1632
Fixed issue #1632 (at least partially): introducing non-const version…
2024-03-29 08:56:55 +01:00
Matthias Köfferlein 14a16f8461
Merge pull request #1646 from KLayout/xor-performance
Xor performance
2024-03-29 08:56:44 +01:00
Matthias Koefferlein 529d69c901 regenerating stubs and DRC/LVS doc. 2024-03-28 22:11:47 +01:00
Matthias Koefferlein 0685d80012 Fixed doc. 2024-03-28 21:32:54 +01:00
Matthias Koefferlein b5ee7d3892 Fixed problem with image on Color Buttons in 'Auto' mode - pixel garbage 2024-03-28 21:07:11 +01:00
Matthias Koefferlein e0e6017a80 Need to differentiate test results between editable and non-editable mode 2024-03-28 21:06:00 +01:00
Matthias Koefferlein 7080ed9a0c Refined XOR optimization solution such that it is compatible with deep mode and 'wants_all_cells', added more tests 2024-03-28 20:57:19 +01:00
Matthias Koefferlein cb5a1f7d3e Refining shape iterator optimization, so it checks instances for overlap with shapes rather the other way round. This suits better to real test cases. 2024-03-27 23:46:33 +01:00
Matthias Koefferlein 5699c91d3f Some utility features derived from the latest code changes
- Subtraction of boxes (pya/RBA: Box minus operator)
- Shape#rectangle, Shape#drectangle
- EdgePairs#write, Edges#write, Texts#write, Region#write for
  debugging
2024-03-26 21:48:38 +01:00
Matthias Koefferlein 3fc32e77c3 Added full-circuit test for recursive shape iterator 2024-03-26 19:15:50 +01:00
Matthias Koefferlein 40a8f21f9c Simplified optimization as performance was bad. 2024-03-26 01:05:35 +01:00
Matthias Koefferlein 254f598a08 Deploying solution for XOR tool. Needs testing. 2024-03-24 23:03:08 +01:00
Matthias Koefferlein b4c7176c52 Bug fixing 2024-03-24 22:45:58 +01:00
Matthias Koefferlein 3cf8b29699 RecursiveShapeIterator debugging 2024-03-24 21:57:39 +01:00
Matthias Koefferlein b9bdcf6fac Preparations: recursive shape iterator shortcuts if hierarchy traversal, needs testing. 2024-03-24 19:01:36 +01:00
Matthias Koefferlein 1673c472f2 [consider merging] fixed a linker problem for debug builds 2024-03-24 17:37:17 +01:00
Matthias Koefferlein bc3895ac9f Merge branch 'master' into xor-performance 2024-03-24 12:55:11 +01:00
Matthias Koefferlein 735d2101fd Fixed Qt-less builds 2024-03-24 12:53:18 +01:00
Matthias Koefferlein 376058f34b Implemented fix for issue-1662 (Strong default grids) 2024-03-24 12:48:53 +01:00
Matthias Koefferlein 3b0a34b955 [consider merging] Avoid a segfault when changing the default grids. 2024-03-24 12:31:44 +01:00
Matthias Koefferlein 9125ed7035 [consider merging] fixed a linker problem for debug builds 2024-03-24 12:23:27 +01:00
Matthias Koefferlein 8a0a6cad04 Refactoring solution such that loading a layout file into a marker database also works from command line (-m) and scripts 2024-03-24 11:29:18 +01:00
Matthias Koefferlein e2df385f2d First version of fix for issue-1638 (let klayout marker browser read strmxor .. xor.gds.gz, xor.oas result files) 2024-03-24 11:05:48 +01:00
Matthias Koefferlein bcfbd50ad6 Some polishing 2024-03-23 23:02:42 +01:00
Matthias Koefferlein add0ad4c39 Issue-1356: Reversed row/column order for arrays 2024-03-23 22:51:09 +01:00
Matthias Koefferlein 97a33f8d66 Trying to fix a linker issue on MSYS 2024-03-23 20:51:27 +01:00
Matthias Koefferlein 54273206a7 More robust tests 2024-03-23 20:18:38 +01:00
Matthias Koefferlein 4cacb60f26 Fixed an issue with property constraints 2024-03-23 19:55:16 +01:00
Matthias Koefferlein a6d2930f80 Fixed issue #1643 (Feeding the same layer to two-layer operations in deep mode does not render the desired result) by implementating the identical layer case as an exception for booleans and interactions 2024-03-23 19:37:27 +01:00
Matthias Koefferlein e1b041113a [consider merging] fixed a linker problem for debug builds 2024-03-23 19:23:21 +01:00
Matthias Koefferlein 20fd5a54a7 Tests 2024-03-23 17:01:07 +01:00
Matthias Köfferlein 8f8a7d0d65
Merge pull request #1647 from KLayout/lvs-issues
Lvs issues
2024-03-23 15:46:06 +01:00
Matthias Köfferlein 206e271ee3
Merge pull request #1649 from KLayout/wip
Wip
2024-03-23 15:45:52 +01:00
Matthias Köfferlein f2d88e4730
Merge pull request #1648 from KLayout/wip2
Wip2
2024-03-23 15:45:39 +01:00
Will Shanks b962514767
Add include needed for git_error_set_str for libgit2>=1.8 (#1658)
`git_error_set_str` was moved into the `sys` subdirectory in libgit2
1.8.0. See [this pull
request](https://github.com/libgit2/libgit2/pull/6625) for details and
[this issue](https://github.com/libgit2/libgit2/issues/6776) for more
context.
2024-03-23 15:44:04 +01:00
Matthias Koefferlein 38a3b8305e Fixing issue #1651 (errors when adding polygons with 4 points) - needs some testing 2024-03-23 15:24:18 +01:00
Matthias Koefferlein b4d170fa66 Implemented issue #1656 (Display-->Goto Position dialog should accept + as well as - for number prefixes) 2024-03-23 14:53:34 +01:00
Matthias Koefferlein fe61627b96 Some cleanup 2024-03-23 08:45:38 +01:00
Matthias Koefferlein a79d286f61 Cleanup 2024-03-22 23:27:08 +01:00
Matthias Koefferlein 1874e95d67 Doc update 2024-03-22 23:26:52 +01:00
Matthias Koefferlein 554fff1d23 Added a large test case for soft connections 2024-03-22 22:44:58 +01:00
Matthias Koefferlein 91dae8b471 [consider merging] stray bug: fixed a small issue with error messages on missing resources (redundant 'ERROR') 2024-03-22 22:36:59 +01:00