Commit Graph

4995 Commits

Author SHA1 Message Date
Matthias Koefferlein de6e1ffd53 Another performance fix for the many layers case 2022-12-28 17:15:51 +01:00
Matthias Koefferlein 1ad7dc0d98 More memory leaks fixed 2022-12-27 23:52:16 +01:00
Matthias Koefferlein 2cd932627c Fixed some memory leaks 2022-12-27 23:45:43 +01:00
Matthias Koefferlein 8575791fd9 Fixed a potential segfault cause by recursive call of paintEvent
This may happen when painting triggers some action that itself
triggers progress reporter (which paints itself).

The solution consists of blocking process_events during painting.
2022-12-27 22:57:14 +01:00
Matthias Köfferlein e8cf51df1c
Merge pull request #1233 from Kazzz-S/0.28.2-mac1
Revised the build system for macOS to work with KLayout version 0.28 or later
2022-12-27 20:12:37 +01:00
Matthias Köfferlein 975a752844
Merge pull request #1231 from KLayout/issue-1228
Implemented solution for issue #1228
2022-12-27 20:12:20 +01:00
Matthias Koefferlein e0e077d851 Further cleanup of Qt6 binding of QJson... classes 2022-12-26 23:48:16 +01:00
Matthias Koefferlein 76dd1b93bd Qt bindings compatibility with Qt 6.4.1 2022-12-26 21:43:27 +01:00
Matthias Koefferlein 50616ede58 Implemented solution for issue #1228
The "show parameter names" setting is now persisted.
Side effect: changing this setting will now trigger
a configuration update which has some side effects - e.g.
when "lazy update" is configured (parameters are reset).
But that appears to be acceptable.

In addition a second flaw was fixed: errors were not
properly reported by showing the error indicator.
The indicator was hidden immediately after showing it.
2022-12-25 20:44:56 +01:00
Kazunari Sekigawa d530ad6add Revised the build system for macOS to work with KLayout version 0.28 or later. 2022-12-25 07:48:00 +09:00
Matthias Koefferlein 1a7acfcdc4 Include Python 3.11 in Azure pipeline's upload 2022-12-24 21:54:16 +01:00
Matthias Koefferlein 49df8ad1d5 Added Python 3.11 to Azure pipeline 2022-12-24 15:36:13 +01:00
Kazunari Sekigawa 4d894ef66b Revised the ReadMe.md document. 2022-12-24 21:30:35 +09:00
Kazunari Sekigawa 9720de0f37 Again, the build system for macOS was revised to work with KLayout version 0.28 or later. 2022-12-24 11:08:57 +09:00
Kazunari Sekigawa 6c6a3ae3b0 Updated the ZIP files containing the script bundle files 2022-12-24 09:42:41 +09:00
Matthias Koefferlein 44a2aa9ca1 Fixed #1230 (LVS browser crashes) and immediately dispatching a 0.28.2 version 2022-12-22 23:17:08 +01:00
Kazunari Sekigawa 2092a9087a Added new icons for macOS 2022-12-23 06:48:47 +09:00
Kazunari Sekigawa 57ed498360 Revised the build system for macOS to work with KLayout version 0.28 or later. 2022-12-23 06:32:11 +09:00
Matthias Koefferlein 584dbcfd2f Really, really disabling doc, icon for no-Qt builds 2022-12-21 23:36:15 +01:00
Matthias Koefferlein 5a41443487 Really disabling doc and icon without Qt builds 2022-12-21 23:32:49 +01:00
Matthias Koefferlein 08b7093358 Ensure that version changes trigger builds (build.bat) 2022-12-21 23:23:13 +01:00
Matthias Koefferlein f4957dbad2 Exclude doc/icon resources in non-Qt builds 2022-12-21 22:45:48 +01:00
Matthias Koefferlein e4e2204939 Added one missing dependencies 2022-12-21 18:34:41 +01:00
Matthias Koefferlein 64c0bcfccf Preparing 0.28.1 2022-12-21 07:21:16 +01:00
Matthias Köfferlein 08d9b4a15b
Merge pull request #1226 from KLayout/wip
Wip
2022-12-21 07:19:37 +01:00
Matthias Koefferlein 7a76202411 Added a unit test to check the integrity of all XML doc pages 2022-12-20 20:43:04 +01:00
Kazunari Sekigawa ba8f692468 Merge branch '0.28-mac1' into wip-mac to test a patch in "wip" that maybe fixes the test run segmentation faults. 2022-12-19 06:39:53 +09:00
Matthias Koefferlein 9440985aed Trying to fix a segfault observed on MacOS 2022-12-18 17:43:48 +01:00
Matthias Koefferlein b958b560f0 Merge branch 'wip' of github.com:KLayout/klayout into wip 2022-12-18 15:35:06 +01:00
Matthias Koefferlein de784de7ea Wider data types for Windows (long is 32 bit) and for CBLOCK byte counts in OASIS reader 2022-12-18 14:31:46 +01:00
klayoutmatthias b7b26b7ecd Turning off Python module test 2022-12-18 01:16:46 +01:00
klayoutmatthias 781e9a7e26 Turning off Python module test 2022-12-18 01:13:08 +01:00
klayoutmatthias 43c07e9de3 Updating Jenkinsfile-msvc2017 2022-12-17 23:59:19 +01:00
Matthias Koefferlein 5731c36a35 Trying Jenkins setup for MSVC 2022-12-17 20:34:41 +01:00
Matthias Koefferlein 24b8526361 Attempting to speed up layer list for many layers 2022-12-17 20:34:22 +01:00
Matthias Koefferlein 884203149a Added tests for recent changes 2022-12-17 20:33:50 +01:00
Kazunari Sekigawa ce16adfdfe Merge branch 'master' into 0.28-mac1 2022-12-17 14:29:07 +09:00
Kazunari Sekigawa 2e3bc28a69 Made changes to build KLayout 0.28~:
1) Set the CPATH environment variable for including <png.h> required to build the pymod
2) Not to use Python 2.7 on Catalina (nightlybuild)
3) Resolve the library dependency of Python in Homebrew
4) Add a handy tool to setup the standardized directory structures for Homebrew Python 3.x
2022-12-17 14:12:37 +09:00
Matthias Koefferlein b1e78efcaa WIP: trying to enhance layout layer lookup performance. 2022-12-14 22:47:16 +01:00
Kazunari Sekigawa 122f334f91 Merge branch 'master-upstream' 2022-12-14 08:10:02 +09:00
Matthias Koefferlein ad27c9a51d WIP: trying to enhance layout layer lookup performance. 2022-12-13 23:41:34 +01:00
Matthias Koefferlein 199dea536a Fixed a small bug: d25 material list view background was reset to black with Auto background color 2022-12-13 22:49:49 +01:00
Matthias Koefferlein fd5ae12951 Dropping klayout Python module from RPM and DEB packages as this creates clashes with the PyPI python module. As substitute install klayout module from PyPI. 2022-12-13 22:15:36 +01:00
Matthias Koefferlein 435e9232e7 Update pypa/cibuildwheel to 2.11.3 version for Python 3.11 support 2022-12-13 22:05:42 +01:00
Matthias Koefferlein f49fa646fc Patched PR with leaner solution 2022-12-13 21:54:00 +01:00
Matthias Koefferlein 5a6ea0148a Merge remote-tracking branch 'quantamhd/fix_segfault' into wip 2022-12-13 21:52:40 +01:00
Matthias Köfferlein 798b10c999
Merge pull request #1221 from sebastian-goeldi/master
create py.typed for python module (PEP 561)
2022-12-13 21:49:03 +01:00
Matthias Koefferlein a2164ec88b Added comment about NetTracerTechnology to change log (#1223) 2022-12-13 21:14:39 +01:00
Ethan Mahintorabi 0a03a2809a
Fixes segfault on some linux systems
The static order initialization seems to be more present throughout
Klayout and might cause additional issues, but this fix stopped the
segfault on my machine. When compiling with asan there are a number
or other issues that could be addressed, but it's not clear if they're
real problems.

dbLayout change occured when using the python API to read a DEF layout.
When the layout is updated the code uses a const iterator which
implicitly wraps the non-const iterator. In the loop the end() is
implicitly wrapped, which tries to dereference a nullptr. My fix
checks to ensure that the non-const iterator is not null before trying
blindly dereference it.
2022-12-12 19:03:59 +00:00
Sebastian Goeldi d30199fe26 create py.typed for python module (PEP 561) 2022-12-12 17:09:50 +01:00