Commit Graph

4672 Commits

Author SHA1 Message Date
Matthias Koefferlein 1a126ede45 Generic polygon to polygon processors 2024-01-26 13:05:09 +01:00
Matthias Koefferlein 9fbc926d67 Generic filters also for edge pair, edge and text collections 2024-01-26 11:49:15 +01:00
Matthias Koefferlein 2dca4158f2 Some refactoring. 2024-01-26 10:30:03 +01:00
Matthias Koefferlein 0b77ef996b Removed unneccessary code 2024-01-25 23:27:39 +01:00
Matthias Koefferlein b34f539fe1 Generic filter for polygons 2024-01-25 23:10:12 +01:00
Matthias Koefferlein 4b7c117cfd Trying to fix one more unit test 2024-01-25 20:20:31 +01:00
Matthias Koefferlein 4f9effab7e Trying to fix Python 3.6 builds + tests 2024-01-25 13:35:23 +01:00
Matthias Koefferlein 01deb480bf Merge remote-tracking branch 'mine/fix-win-python' 2024-01-24 00:33:34 +01:00
klayoutmatthias ef4cbb045b On Windows, Python needs to have a proper PYTHONHOME, otherwise a warning is issued 2024-01-24 00:30:15 +01:00
Matthias Koefferlein 6ad1f3f73f Fixed a numerical issue leading to an infinite loop on some compilers 2024-01-23 16:31:46 +01:00
Matthias Koefferlein 9a52095dd0 Merge branch 'master' into wip 2024-01-07 17:25:11 +01:00
Matthias Koefferlein 0ae2ed49f8 Merge branch 'master' into wip 2024-01-06 17:28:51 +01:00
Matthias Köfferlein 3143b54bd9
Merge pull request #1588 from KLayout/issue-1586
Implementation of fix for issue #1586
2024-01-06 11:30:36 +01:00
Matthias Koefferlein f26fac58fd Implementation of fix for issue #1586
- the "to_dtrans" now behaves as expected
- the conversion constructors have been generalized by adding a 'dbu' argument
- the conversion constructors now are favoured instead of the to_xxx functions
- some of the to_xxx functions are ill-named and are deprecated
2024-01-05 23:24:50 +01:00
Matthias Koefferlein 88c3d30982 Implemented solution for issue #1583
- new attribute "title" for MainWindow to get and set title
  (includes extrapolation to add dynamic content)
- also added LayoutView#is_dirty for emulation of the
  standard behavior
- plus side effect: LayoutView#synchronous is now readable
2024-01-05 19:40:09 +01:00
Matthias Koefferlein ec7cf786d4 Initial tip dialogs should now appear on same screen than application 2024-01-04 17:02:18 +01:00
Matthias Koefferlein d9f41c1585 Now fixing unit tests for 32bit coordinates :( 2024-01-04 16:43:27 +01:00
Matthias Koefferlein 5e096bd433 Fixing unit tests for 64 bit coordinates 2024-01-04 00:33:21 +01:00
Matthias Koefferlein 38de2d685f Fixed 64bit coordinate mode: numerical stability for DRC and LVS enabling. Main problem is representation of the 'world' box which does not transform properly when going through double. 2024-01-03 01:57:27 +01:00
Matthias Koefferlein 2b4a583f05 Update copyright year 2024-01-01 17:27:59 +01:00
Matthias Koefferlein d248bfddf3 Updating copyright to new year 2024-01-01 17:06:23 +01:00
Matthias Koefferlein 7d74c265e5 Fixing issue #1539 (Misleading description in 'Flatten Cell') 2024-01-01 17:01:50 +01:00
Matthias Koefferlein c09f84919a Skip one test if no private test data 2023-12-29 23:21:08 +01:00
Matthias Koefferlein 36f531685c Fixed a test fail when private test data is not available 2023-12-29 23:18:07 +01:00
Matthias Koefferlein f335ab69af More compatibility with Ruby <2.7 2023-12-29 23:00:06 +01:00
Matthias Koefferlein b37002cf7f Compatibility with Ruby 2.0 2023-12-28 23:39:07 +01:00
Matthias Koefferlein 0b64241e13 Generalizing implementation for more Ruby versions. 2023-12-28 22:42:49 +01:00
Matthias Koefferlein 775c331bae Fixing an unit test 2023-12-28 22:33:47 +01:00
Matthias Koefferlein 6ceb77cf73 Trying to fix the ambiguity issue in Ruby < 3.0 with hash arguments vs. keyword arguments 2023-12-28 21:53:38 +01:00
Matthias Koefferlein 11fbad0104 eliminating some unnamed arguments 2023-12-28 21:35:14 +01:00
Matthias Koefferlein 61d99f9920 Keyword arguments: Doc updates 2023-12-28 20:44:34 +01:00
Matthias Koefferlein e2ba78185c Tests for GSI kwargs, test framework enhanced to print the total number of tests 2023-12-28 19:44:44 +01:00
Matthias Koefferlein f685fe3adf WIP: keyword arguments for expressions 2023-12-28 01:03:21 +01:00
Matthias Koefferlein 4a4db5ea6e [consider merging] Avoids a segfault
This happens when an expression returns a class
object and that is converted to a string.
2023-12-28 00:55:14 +01:00
Matthias Koefferlein 940ef5319a WIP: refinement of Python and Ruby support for keyword arguments. 2023-12-27 22:56:11 +01:00
Matthias Koefferlein 8f9b904d87 WIP: keyword arguments for Ruby 2023-12-27 22:17:39 +01:00
Matthias Koefferlein 702bcbe924 WIP: keyword arguments (for now: Python) + transformation alignment
pya.CplxTrans and pya.Trans are good classes for testing the
ability to resolve arguments through keyword parameters.

Keyword parameters are introduced to substitute positional
arguments.
2023-12-26 23:27:25 +01:00
Matthias Koefferlein b128ffc70b Avoid macro IDE events during update of the recent properties list (that is a problem when script errors are present) 2023-12-23 21:44:06 +01:00
Matthias Koefferlein 2db378b872 Fixed a merge issue 2023-12-23 18:28:56 +01:00
Matthias Koefferlein 92d04d2e15 Fixed some merge issues 2023-12-23 18:25:17 +01:00
Matthias Koefferlein d1695b88af Merge branch 'wip' 2023-12-23 18:05:54 +01:00
Matthias Köfferlein 2c59d4190f
Merge pull request #1570 from KLayout/issue-1569
Implemented solution for issue #1569
2023-12-16 20:29:16 +01:00
Matthias Koefferlein b39f28fcad Removed a duplicate line 2023-12-14 23:16:16 +01:00
Matthias Koefferlein 2a5b019730 Bonus track: 'visibility follows selection' 2023-12-14 23:11:16 +01:00
Matthias Köfferlein 0c0f52ae28
Merge pull request #1568 from KLayout/issue-1565
Issue 1565
2023-12-14 22:17:23 +01:00
Matthias Koefferlein 7bdb1c6cd1 Implemented solution for issue #1569 2023-12-12 23:16:32 +01:00
Matthias Koefferlein 46d868ef95 Fixed issue #1566 (Cannot shrink Marker Browser window) 2023-12-12 00:02:41 +01:00
Matthias Koefferlein 9525cfd1cd Fixed #1565 (quit() raises an error in KLayout Python Console) 2023-12-11 23:55:57 +01:00
Matthias Koefferlein 16766a21f9 Updating python stubs 2023-12-08 22:07:22 +01:00
Matthias Köfferlein f757a0a944
Merge pull request #1564 from KLayout/issue-1563
Issue 1563
2023-12-08 17:44:29 +01:00
Matthias Koefferlein 8ec3805c87 Fixed issue #1563 2023-12-08 17:42:07 +01:00
Matthias Köfferlein 3550d81c6f
Merge pull request #1555 from KLayout/issue-1531
Fixed issue #1531 (DEF format not recognized in symlink): use origina…
2023-12-08 07:26:07 +01:00
Matthias Köfferlein 3533adf8ab
Merge pull request #1554 from KLayout/issue-1549
Fixing issue #1549 (error layer handling in RecursiveShapeIterator)
2023-12-08 07:25:51 +01:00
Matthias Köfferlein b4a74821c4
Merge pull request #1556 from KLayout/issue-1528
Implemented a solution for issue #1528 (LEF WIDTHTABLE)
2023-12-08 07:25:20 +01:00
Matthias Koefferlein 3e114bd69c Fixed doc. 2023-12-08 07:24:46 +01:00
Matthias Koefferlein b6d3f8be93 Added Edge#euclidian_distance 2023-12-07 23:09:04 +01:00
Matthias Koefferlein 787114fee2 Trying to fix CentOS 7 builds (segfault because of late initialization of Mutex) 2023-12-07 21:28:07 +01:00
Matthias Koefferlein 86866e52d3 Fixed part of issue #1559 (not snapping to some diagonals) 2023-12-07 20:48:39 +01:00
Matthias Koefferlein 821b0395b6 Maybe fixing issue #1560 - needs testing 2023-12-07 19:57:14 +01:00
Matthias Koefferlein 293074c2af Enhanced API for environment variable handling 2023-12-07 19:32:19 +01:00
Matthias Koefferlein 04ba7d3040 Some enhancements to package manager dialog: mute an assertion that sometimes happened due to update events, avoid too many requests for running macros after download and specifically avoid them after remove of packages. 2023-12-06 22:29:08 +01:00
Matthias Koefferlein d5f484bf92 Added EdgePair#distance 2023-12-05 22:09:57 +01:00
Matthias Koefferlein ce77909c3f Include proxy in Git configuration
Follows the suggestion from there: https://www.klayout.de/forum/discussion/2404.
Using $KLAYOUT_GIT_HTTP_PROXY so it does not interfere with curl.
2023-12-05 21:33:19 +01:00
Matthias Koefferlein b701390e6a Enabling cheats for edges and (implicit) polygon merges
DRC "cheats" have not been effective on "size"
for example. Also they have not been effective at
all for edges.
2023-12-03 21:50:03 +01:00
Matthias Koefferlein 7b4a5c3878 More consistent behavior of Marker Browser / Scan Shapes
* Scan Shapes Hierarchical will scan from current cell, not all cells
* Marker browser shows markers propertly also in descended mode
* Marker database description of shown in selection box
2023-12-03 17:22:48 +01:00
Matthias Koefferlein ebb35b1f2b Makes macro editor search feature less jumpy 2023-12-03 16:51:53 +01:00
Matthias Koefferlein 1017026362 Implemented a solution for issue #1528 (LEF WIDTHTABLE)
The WIDTHTABLE is evaluated for normal and WRONGDIRECTION.
The first value is taken as min width and as default width.
2023-12-02 22:55:51 +01:00
Matthias Koefferlein caf54bd77b Fixed issue #1531 (DEF format not recognized in symlink): use original path to determine format 2023-12-02 22:10:31 +01:00
Matthias Koefferlein c05f7c8bd9 Fixing issue #1549 (error layer handling in RecursiveShapeIterator) 2023-12-02 19:00:43 +01:00
Matthias Koefferlein 832d29d2e0 Trace all nets: open the layer stack config dialog on the right screen 2023-12-01 22:24:49 +01:00
Matthias Koefferlein a9694b5fb3 Trace all nets: do not trace nets on symbols that are not used in connections 2023-12-01 22:18:29 +01:00
Matthias Koefferlein 3dc3349d88 'Trace all nets': provide a selection dialog for the stack. 2023-12-01 22:02:26 +01:00
Matthias Koefferlein 8da6a131e8 Merge branch 'master' into wip2 2023-11-26 22:19:37 +01:00
Matthias Köfferlein 6c4e082fc1
Merge pull request #1547 from KLayout/issue-1542
Issue 1542 - crash on exit
2023-11-26 22:19:04 +01:00
Matthias Köfferlein 3b83230de0
Merge pull request #1546 from KLayout/issue-1530
Issue 1530 - size-2 tuples for points
2023-11-26 22:18:52 +01:00
Matthias Köfferlein 0e9849c32b
Merge pull request #1545 from KLayout/issue-1535
Issue #1535 - calling str(x) implicitly in RBA and pya
2023-11-26 22:18:33 +01:00
Matthias Koefferlein 5a0b7e9fb5 Trying to fix MSVC builds 2023-11-26 18:51:06 +01:00
Matthias Koefferlein b7d1d22fb2 Fixed Windows builds, enhanced unit test framework with error messages upon exceptions. 2023-11-26 17:04:44 +01:00
Matthias Koefferlein cb1589b2ba Ported upgrade to expressions too 2023-11-26 16:19:09 +01:00
Matthias Koefferlein 0efdbd4ebe Doc updates 2023-11-26 10:32:26 +01:00
Matthias Koefferlein 03c5a29682 Merge branch 'master' into wip2 2023-11-26 09:59:13 +01:00
Matthias Koefferlein 2b93dc2dc7 Implemented implicit constructor from array/tuples also for Ruby 2023-11-26 09:55:29 +01:00
Matthias Koefferlein a95706baaa Tests for implict construction from tuple or list arguments 2023-11-26 09:55:26 +01:00
Matthias Koefferlein b2b950041d [consider merging] Avoids an assertion when using tuples for out vector parameters 2023-11-26 09:55:23 +01:00
Matthias Koefferlein 38d7d34642 [consider merging] Fixed Python Exit Exception - Python test fails were not recognized 2023-11-26 09:55:20 +01:00
Matthias Koefferlein b1ddb702b8 Experimental: implicitly calling constructors from arguments passed tuples or lists for objects - this allows using a (x,y) tuple for Vector or Point arguments 2023-11-26 09:55:15 +01:00
Matthias Koefferlein ef9d73f178 Experimental: calling str(x) implicitly in RBA and pya 2023-11-26 09:28:24 +01:00
Matthias Koefferlein 0ea2610bf4 Reworking technology API a little: providing a way to register a new technology object, clarification of doc 2023-11-25 16:56:56 +01:00
Matthias Koefferlein dd0cfe9b97 Trying to fix issue 2023-11-25 01:00:20 +01:00
Kazunari Sekigawa 267a5ee7b0 Overhauled the build system for MacOS ['Monterey', 'Ventura', 'Sonoma'] to build KLayout-0.28.13 or later with support for libgit2. 2023-11-23 15:13:41 +09:00
Matthias Koefferlein 5961eab84b Regenerating stubs and DRC/LVS doc 2023-11-21 23:10:10 +01:00
Matthias Koefferlein 9565a55a3b Fixed issue #1522 (Changing ruler/annotation from script weirdly interferes with pya.Application.commit_config) 2023-11-19 21:52:29 +01:00
Matthias Koefferlein 8b805d8815 Implemented fix for issue #1527 (Marker Database Browser: add context menu to Info widget) 2023-11-19 21:24:10 +01:00
Matthias Koefferlein 6e589e2bb3 Fixed issue #1533 (KLayout crashing with two consecutive calls of the same LayoutView::show_layout command) 2023-11-19 21:14:32 +01:00
Matthias Koefferlein 1e09bee1b6 Fixed issue #1534 (Layout::dup does not copy properties) 2023-11-19 20:48:44 +01:00
Matthias Koefferlein bc8e1c38f2 Salt package doc update 2023-11-19 10:35:46 +01:00
Matthias Koefferlein 4222de9034 Avoiding one invalid error message 2023-11-19 10:18:37 +01:00
Matthias Koefferlein c9ddfbe4e3 Merge branch 'master' of github.com:KLayout/klayout 2023-11-19 09:06:19 +01:00
Matthias Koefferlein ede16aacfb Do not show two templates for DRC scripts 2023-11-19 01:24:31 +01:00
Matthias Koefferlein b57bfa0f34 More resources enabled for non-Qt builds 2023-11-19 00:24:16 +01:00
Matthias Koefferlein 86c1e6ad2b Some more refactoring 2023-11-19 00:14:46 +01:00
Matthias Koefferlein c2df163b8a Added cell variants to polygon to edge processor 2023-11-18 23:27:20 +01:00
Matthias Koefferlein dd81fda27d Refactoring with the goal to reduce the overhead for variant computation 2023-11-18 21:42:24 +01:00
Matthias Koefferlein b0648e1c45 Experimental: sparse cell variants table 2023-11-18 21:21:00 +01:00
Matthias Koefferlein d0172d57f3 Further optimization/refactoring 2023-11-18 19:12:13 +01:00
Matthias Koefferlein 06afaf8692 Some refactoring 2023-11-18 18:57:08 +01:00
Matthias Koefferlein 877646d959 Debugging sized operator for generic DRC, new tests 2023-11-18 13:40:50 +01:00
Matthias Koefferlein c368710253 Further bug fixes in generic DRC domain 2023-11-18 12:35:34 +01:00
Matthias Koefferlein 37334d40b9 WIP 2023-11-18 11:09:31 +01:00
Matthias Koefferlein 1b01d6e20a First version that works with the test case 2023-11-17 00:21:15 +01:00
Matthias Koefferlein 01b65d3699 WIP 2023-11-17 00:13:20 +01:00
Matthias Koefferlein 795aeba322 WIP 2023-11-17 00:11:59 +01:00
Matthias Koefferlein 284182cf3a Compatibility with libgit <0.28.0 2023-11-12 22:57:40 +01:00
Matthias Koefferlein 80241ae7c2 Compatibility with libgit <0.28.0 2023-11-12 22:31:39 +01:00
Matthias Koefferlein 139723ed5d Enabling db resource for the '-without-qt' case, specifically the default font 2023-11-12 22:25:53 +01:00
Matthias Koefferlein 6d55f6bc7d Trying to improve curl implementation by providing a seek implementation 2023-11-12 22:01:45 +01:00
Matthias Koefferlein 1b1e2f573c Compatibility with Qt 6.6 2023-11-12 00:29:00 +01:00
Matthias Koefferlein a5a7b1d8e4 Merge branch 'wip2' into wip2b 2023-11-11 23:09:10 +01:00
Matthias Koefferlein 969ceb84bb FEATURE: Added Layout#error_layer. 2023-11-11 23:09:05 +01:00
Matthias Koefferlein 647a52dc70 Also enabling LVS for non-qt builds 2023-11-11 21:18:19 +01:00
Matthias Koefferlein 10b1f984a3 Enabling DRC engine also without Qt 2023-11-11 18:41:56 +01:00
Matthias Koefferlein bcec400e09 Fixed a crash with -without-qt: Python appears to need a non-empty application path upon initialization 2023-11-11 10:47:39 +01:00
Matthias Koefferlein c6dc723227 Fixing build issue on some platforms with noqt 2023-11-10 23:36:35 +01:00
klayoutmatthias 170b2829db A little more consistent build script 2023-11-10 00:19:56 +01:00
klayoutmatthias fcfc69529c Fixing a static initialization problem on Windows 2023-11-09 22:03:23 +01:00
Matthias Koefferlein 4a152583e8 Trying to fix a problem on Windows 2023-11-09 21:56:55 +01:00
klayoutmatthias 9161d18711 Allowing tl::rm_file to remove files even if write protected 2023-11-09 21:42:07 +01:00
Matthias Koefferlein 4cda860090 Compatibility with older libgit2 versions 2023-11-09 20:14:28 +01:00
Matthias Koefferlein e4823a8343 Trying to fix an issue on windows with recursive file remove 2023-11-09 19:26:02 +01:00
Matthias Köfferlein 041fb53d04
Merge pull request #1518 from KLayout/git-for-packages
Git for packages
2023-11-07 21:36:01 +01:00
Matthias Köfferlein 5edbc0b03f
Merge pull request #1504 from KLayout/issue-1503
Fixed issue #1503 (Import LEF/DEF - LEF files given in list are ignor…
2023-11-07 21:35:49 +01:00
Matthias Köfferlein 42183efb76
Merge pull request #1502 from KLayout/issue-1499
Fixed issue #1499 (strm2oas: support LAYER <layername> TYPE OVERLAP ;…
2023-11-07 21:35:34 +01:00
Matthias Köfferlein 6a587456e0
Merge pull request #1501 from KLayout/issue-1482
Fixed issue #1482 (strict mode oasis should write the S_CELL_OFFSET i…
2023-11-07 21:35:21 +01:00
Matthias Köfferlein 8d51124fd4
Merge pull request #1491 from KLayout/issue-885
Issue 885
2023-11-07 21:35:04 +01:00
Matthias Koefferlein 4e00a91e91 Debugging git package download 2023-11-05 23:04:48 +01:00
Matthias Koefferlein 08a790d7f7 Proper handling of credential requests in Git client 2023-11-05 22:27:54 +01:00
Matthias Koefferlein 9d589b38f5 Different approach to exclude libgit2 for pymod 2023-11-01 23:41:28 +01:00
Matthias Koefferlein a6a958838d Trying to fix file utils unit test on Windows - cannot remove file when still open? 2023-11-01 21:16:18 +01:00
Matthias Koefferlein 2d2b0f34b3 Maybe fixing Windows implementation 2023-11-01 19:07:04 +01:00
Matthias Koefferlein 0474884a87 Fixed Windows builds 2023-11-01 18:23:15 +01:00
Matthias Koefferlein b78f01387f Generalization of temporary file and directory creation 2023-11-01 18:18:26 +01:00
Matthias Koefferlein 880c8fbb05 Introducing sparse tag for salt mine repo to indicate it is not required to always download package information 2023-10-31 23:31:22 +01:00
Matthias Koefferlein 579bee3b75 Implemented package information cache in package manager 2023-10-31 22:30:52 +01:00
Matthias Koefferlein 82a0ef7791 First git-enabled package manager dialog 2023-10-31 22:05:29 +01:00
Matthias Koefferlein 9b969c25be Enabling progress for Git checkout 2023-10-29 22:22:53 +01:00
Matthias Koefferlein a4df1eb10f Some bug fixing 2023-10-29 21:44:31 +01:00
Matthias Koefferlein 3e34d205e8 Fixed Git parsed URL scheme to align to SVN emulation of GitHub 2023-10-29 20:24:28 +01:00
Matthias Koefferlein e83b3c1477 Trying to avoid package downloads when possible, taking the information from the index 2023-10-29 17:37:11 +01:00
Matthias Koefferlein 6dec3b0348 Using parsed URLs for packages 2023-10-29 16:04:12 +01:00
Matthias Koefferlein bd785279ef A helper class for parsing Salt Grain URLs into protocol, branch, subfolder 2023-10-29 15:30:08 +01:00