Commit Graph

444 Commits

Author SHA1 Message Date
Matthias Koefferlein 6d55f6bc7d Trying to improve curl implementation by providing a seek implementation 2023-11-12 22:01:45 +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
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 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 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 6dec3b0348 Using parsed URLs for packages 2023-10-29 16:04:12 +01:00
Matthias Koefferlein 2ed44e27ad Git support: default checkout strategy to 'force' to support older versions of libgit2 2023-10-28 23:49:50 +02:00
Matthias Koefferlein ba19b3374a Fixed build issue with old versions of libgit2 2023-10-28 21:54:56 +02:00
Matthias Koefferlein 2e16a1e3e4 Refined solution for git clone: now accepts tags too. 2023-10-28 21:37:58 +02:00
Matthias Koefferlein 2a41b13efd Compatibility with old libgit2 2023-10-25 23:08:20 +02:00
Matthias Koefferlein 73460016c0 Compatibility with old libgit2 2023-10-25 23:03:18 +02:00
Matthias Koefferlein 17fd5e9238 Basic Git client implemented. 2023-10-25 21:57:48 +02:00
Matthias Koefferlein 40bdd63ee4 First integration of libgit2 2023-10-25 00:15:52 +02:00
Matthias Koefferlein 12f9ad33f4 Some enhancements to package manager
- So not update macros while installing: avoids
  transient error messages
- Offer to autorun macros also after package
  update (so far only on package new installation)
2023-09-05 00:35:49 +02:00
Matthias Koefferlein 476c7156ab Merge branch 'master' into wip2 2023-08-01 21:48:00 +02:00
Matthias Koefferlein 7ac51337ca Script errors now include the class for better readability in Python, normalizing errors in Python 2023-07-28 21:28:09 +02:00
Matthias Koefferlein 8840a7ac54 Fixed #1428 (allow XML include files in macros) 2023-07-24 23:25:35 +02:00
Matthias Koefferlein 563f1026e8 Bugfix: tilde expansion wasn't working on layout write 2023-07-15 13:37:07 +02:00
Matthias Koefferlein e8048d6686 WIP: preparations - introducing TextInfo 2023-05-07 19:51:15 +02:00
Matthias Koefferlein d531418ad2 Layout statistics form - caching, refactoring, printing statistics for 'all' shapes 2023-05-05 23:20:03 +02:00
Matthias Koefferlein 317617a14a Fixed unit tests for Windows 2023-04-08 09:08:31 +02:00
Matthias Koefferlein 015263fb0e Trying to fix unit test fails 2023-04-07 17:34:23 +02:00
Matthias Koefferlein 0802bc845d Extended unit test 2023-04-07 10:07:26 +02:00
Matthias Koefferlein 19fbc5c144 Implemented tilde expansion, internal stream path names are now absolute, fixed tests 2023-04-07 00:19:10 +02:00
Matthias Koefferlein d20e4b2128 Bug fixes, adjusted test data 2023-02-22 15:54:28 +01:00
Matthias Koefferlein b421f1e499 WIP: added tests for variant fuzzy compare 2023-02-21 16:05:45 +01:00
Matthias Koefferlein e709218db9 WIP: fuzzy compare for tl::Variant with float values 2023-02-21 15:57:54 +01:00
Matthias Koefferlein 8677b38d69 Merge branch 'master' into wip 2023-01-01 22:28:14 +01:00
Matthias Koefferlein a85dbd3d31 Updating copyright notice to 2023 2023-01-01 22:27:22 +01:00
Matthias Koefferlein 2cd932627c Fixed some memory leaks 2022-12-27 23:45:43 +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
Matthias Koefferlein 4281cde169 (maybe) fix builds for Qt without SSL 2022-12-06 22:40:41 +01:00
Matthias Koefferlein 2601f870ec Fixed compile errors 2022-12-05 07:39:03 +01:00
Matthias Koefferlein 035232c978 Providing single-linked list implementation with fast size to address DRC merge performance issue on CentOS 2022-12-05 02:22:08 +01:00
Matthias Koefferlein f17719b43c Fixed builds for MSVC 2017 python module builds with setuptools. 2022-11-11 00:32:03 +01:00
Matthias Koefferlein 1edbd6232f Merge branch 'python-typehints' 2022-11-09 23:13:31 +01:00
Matthias Koefferlein cd3ca9e536 Do not use zstd compression for Qt6 as there is no built-in decompression 2022-11-06 01:23:39 +01:00
Matthias Koefferlein c012bb846e Cherry-picked Python type hint enhancements from master 2022-10-19 22:13:03 +02:00
Matthias Koefferlein 1bff5c1ac3 WIP: layer icons now follow oversampling and high-resolution mode, new GSI method to fetch layer icon: LayoutView#icon_for_layer 2022-10-01 19:20:06 +02:00
Matthias Koefferlein b8263d2529 Fixed #1159 (valgrind error) 2022-09-22 21:17:51 +02:00