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
0fd052baa6
Simplify pymod test for better CI integration
2023-04-01 09:13:32 +02:00
Matthias Koefferlein
7d41078e8c
Avoid a segfault: an event may kill the event object itself indirectly.
2023-03-26 21:29:06 +02:00
Matthias Koefferlein
f5fd47bd4b
Fixed standalone Python module builds
2023-03-12 00:53:42 +01:00
Matthias Koefferlein
0204f293b5
Generic environment set/clear functions, file function to get app exe path
2023-03-08 00:52:42 +01: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
Zopolis4
8f940c1679
Restrict overmatching MACH ifdef to only trigger on OSX and Mach
2022-09-21 16:52:25 +10:00
Matthias Köfferlein
390cac87d3
Issue 1097 ( #1148 )
...
* [CONSIDER MERGING] Clarification and typo fixed in DRC doc.
* Implemented #1097 (discourage file compression, use CBLOCK)
* A warning is printed if file compression is enabled on OASIS
* A hint is present in the writer options
* CBLOCK is default (with fresh config) and for buddy tools
(use --cblock=false to disable it)
* Strict mode is default too.
* Updated tests
2022-09-05 23:34:53 +02:00
Matthias Koefferlein
728d60a510
More generic 'join' function for string sequences
2022-08-27 22:27:59 +02:00
Matthias Koefferlein
9ee5730b60
WIP: small patch avoiding generation of freaky files with fake-windows paths on Linux
2022-08-16 22:15:21 +02:00
Matthias Koefferlein
21b14706dd
data: URLs for abstract paths
2022-08-15 16:58:44 +02:00
Matthias Koefferlein
9d36b3c71a
Merge branch 'master' into wip
2022-08-06 18:52:41 +02:00
Matthias Koefferlein
43101ded7f
More consistent handling of exceptions and their display in the Ruby debugger - without triggering too many breakpoints on rethrow and showing the reason for exceptions arising from argument errors
2022-07-30 19:28:14 +02:00
Matthias Koefferlein
590c4a6b31
Argument numbers/names for Ruby too
2022-07-30 01:32:27 +02:00
Matthias Koefferlein
82fe920ac9
Merge branch 'wip'
2022-07-29 22:31:42 +02:00
klayoutmatthias
167bcbcc5f
Enabling MSVC debug builds with iterator debugging on
2022-07-25 21:06:56 +02:00
Matthias Koefferlein
17f8a92a66
Fixed a memory corruption problem
2022-07-20 00:04:08 +02:00
Matthias Koefferlein
7999468bb9
Issue #1122 - avoid error messages which are confusing.
2022-07-18 00:18:10 +02:00
Matthias Koefferlein
24e8db996c
Avoid a segfault on exit
2022-07-18 00:16:56 +02:00
Matthias Köfferlein
6ba372f1a9
Issue 1114 ( #1121 )
...
* Two patches to enable building on MSYS with gcc 12.1
1. Complete explicit instantiations in dbHierProcessor
2. Strict weak ordering is not present for std::type_info
(using "before" on gcc 12.1). We need to work with plain
pointers and use a translation table to associate pointers
with classes.
* Fixed another place where std::type_info got important
Co-authored-by: Matthias Koefferlein <matthias@klayout.de>
2022-07-17 19:59:49 +02:00
Matthias Koefferlein
555d32f280
Bugfix: net color was not properly set in net tracer
2022-06-18 16:58:55 +02:00
Matthias Koefferlein
b95027a21b
Refactoring: lay::PixelBuffer, BitmapBuffer -> tl, added image functions to RdbItem in GSI
2022-05-31 00:20:47 +02:00
Matthias Koefferlein
62bbef53ac
Refactoring: layColor -> tlColor
2022-05-30 23:21:32 +02:00
Matthias Koefferlein
84cf60dbb7
Preparations for rdb image API: base64 encoder and decoder without Qt
2022-05-29 21:50:23 +02:00
Matthias Koefferlein
baa92d4455
Fixed non-Qt thread-local storage implementation: needs to reuse holder object when using 'setLocalData'
2022-05-29 19:33:30 +02:00
Matthias Koefferlein
29b3718b2d
Further reducing dependency on Qt, fixed tests
2022-05-29 10:11:16 +02:00
Matthias Koefferlein
8e21dab345
Reworked lym::MacroCollection for not using Qt (too much)
2022-05-28 21:21:58 +02:00
Matthias Koefferlein
89547a6fde
Enabling non-qt resources in InputStream
2022-05-28 01:37:59 +02:00
Matthias Koefferlein
ca3d840cb2
Alternative implementation for resources for the non-Qt case.
2022-05-28 00:33:08 +02:00
Matthias Koefferlein
001d695fcc
Build fix for non-Qt case
2022-05-27 18:41:01 +02:00
Matthias Koefferlein
5eacb67368
Provide deferred execution also for the non-Qt case
2022-05-27 17:55:27 +02:00
Matthias Koefferlein
29e481dd52
Fixed a compiler warning
2022-05-27 16:48:29 +02:00
Matthias Koefferlein
51666eb439
Fixed non-Qt build
2022-05-05 23:44:47 +02:00
Matthias Koefferlein
17cbcc2877
Added mono image class
2022-05-04 02:18:01 +02:00
Matthias Koefferlein
373f307ae6
WIP: image object, first steps
2022-05-02 00:26:13 +02:00
Matthias Koefferlein
0b48cb9020
WIP: added new lay::Image class
2022-05-02 00:02:47 +02:00
Matthias Koefferlein
1b129758d8
More range for NoQt option - covers lym (without MacroCollection), drc, lvs and buddies now
2022-04-24 23:28:04 +02:00
Matthias Koefferlein
981db08dea
More automatic conversion of int to enum and vice versa + automatic object-to-variant conversion when supplying to_int, to_double or to_variant functions. Discussion 2052.
2022-04-04 01:09:19 +02:00
Matthias Koefferlein
6d0aa9c435
Maybe fixed build issue on MacOS
2022-03-16 21:11:25 +01:00
Matthias Köfferlein
a4b663199d
Fixed issue-1012 with some enhancements ( #1016 )
...
- warning if a layer is not mapped
- "," allowed as separator between files on buddy tools (in addition to '+')
- relative paths are resolved relative to . in buddy tools (more natural on Linux)
- Fixed tl::warn and tl::error so warnings/error messages can be continued with tl::noendl.
2022-03-05 14:57:09 +01:00
Matthias Koefferlein
4a8918364b
Patch for issue-973 fix to make it work with libcurl
2022-02-12 22:16:14 +01:00
Matthias Köfferlein
0005c5d742
Fixed #971 (double compare fails in LVS) ( #1001 )
2022-02-12 17:04:47 +01:00
Matthias Köfferlein
c80f789e5a
Fixed issue-973 (timeout in Salt Manager) ( #981 )
...
The implementation now offers "infinite timeout" with
the option to abort download.
2022-02-08 19:05:53 +01:00
Matthias Köfferlein
71c9073bc5
Fixed issue-979 (backup file fails with relative paths) ( #980 )
2022-02-08 19:05:00 +01:00
Matthias Koefferlein
12fd26663d
Merge branch 'qt6'
2022-01-06 21:48:02 +01:00
Matthias Koefferlein
10456516db
Updated copyright to 2022, preparations for 0.27.6 (was delayed due to code signing certificate issues)
2022-01-04 21:20:04 +01:00
Matthias Koefferlein
219fbceb28
Fixed the fix.
2021-12-17 08:18:35 +01:00
Matthias Koefferlein
e1df15a47f
Fixed Windows tests
2021-12-16 22:51:20 +01:00
Matthias Köfferlein
f60a5de325
Merge pull request #948 from KLayout/less-expressions
...
Less expression evaluation for more robustness
2021-12-16 07:56:21 +01:00
Matthias Koefferlein
a6d4c80c6c
Less expression evaluation for more robustness
2021-12-16 00:23:06 +01:00
Matthias Koefferlein
533a72b7bd
Added tests, fixed implementation
2021-12-15 23:18:42 +01:00
Matthias Koefferlein
07515cd716
Fixed issue #946 for the case of file paths with blanks
2021-12-15 23:04:58 +01:00
Matthias Koefferlein
279342e61a
Added more declarations for gcc in release mode
2021-12-12 16:48:44 +01:00
klayoutmatthias
0c142c9252
gcc 4.x (CentOS 7) does not support all C++11 type traits
2021-12-11 18:56:44 +00:00
Matthias Koefferlein
3bb46e2717
Qt5 builds functional again, enabled QLatin1String for Qt5 and Qt4 too.
2021-12-05 13:38:08 +01:00
Matthias Koefferlein
302a5fccd0
Build fixes
2021-12-05 00:27:41 +01:00
Matthias Koefferlein
6aae46772c
WIP: typo bug fixed.
2021-12-04 22:46:59 +01:00
Matthias Koefferlein
125543957d
WIP: Fixed GSI to some extent, some tests
2021-12-04 00:31:01 +01:00
Matthias Koefferlein
a17f89201f
Updated Qt binding generation scripts and build fixes
2021-11-30 23:12:12 +01:00
Matthias Koefferlein
6b49386b67
WIP: fixed some build errors
2021-11-29 23:27:26 +01:00
Matthias Koefferlein
132ad2ed8d
WIP: removing need to tl::type_traits
2021-11-29 22:54:28 +01:00
Matthias Koefferlein
f4c0a43d49
unit tests pass now with the exception of two XML parser tests (QTBUG-98656)
2021-11-25 22:18:25 +01:00
Matthias Koefferlein
0e15426c9f
WIP
2021-11-25 00:57:11 +01:00
Matthias Koefferlein
a4d2e7891c
WIP
2021-11-24 23:59:36 +01:00
Matthias Koefferlein
068f782544
Fixed CentOS7 builds
2021-09-21 23:56:57 +02:00
Matthias Koefferlein
e1dd79acbf
Include SSL errors in error message on HTTPS access.
2021-09-21 21:01:53 +02:00
klayoutmatthias
1555daf68c
Adjustments for Windows build with MSVC2019 (VC 16.10.31419.357)
...
1. removed some duplicate symbol linker error
2. removed many compiler warnings (mainly size_t/int compatibility)
3. consistent definition of db::pcell_id_type
4. removed UTF-8 character codes from string constants
5. float constants for float arguments
6. timeout in tlHttp when no openssl lib is found (instead of stalling
app)
2021-07-17 00:20:55 +02:00
Matthias Koefferlein
45152dad00
Fixed a linker issue
2021-07-04 19:13:42 +02:00
Matthias Koefferlein
6050eb85de
Fixed #839
2021-06-14 22:50:54 +02:00
Eugene Zelenko
8b0f60742e
Fix misspellings in lay and tl.
2021-06-04 10:49:05 -07:00
Matthias Koefferlein
7a754b9c6f
Fixed a basic bug in the deferred execution framework: when the execution of a deferred method unqueued another one, the application crashed.
2021-05-15 18:45:53 +02:00
Matthias Koefferlein
f5afdd91a5
Preventing event recursion on different levels.
2021-05-10 23:42:40 +02:00
Matthias Koefferlein
31cc8f32e2
Fixed #787 - the results of const reference return values need to be copied as the holder object may go out of scope
2021-05-02 23:00:38 +02:00
Matthias Koefferlein
1285868546
Skip private-only tests without private data access
2021-05-01 21:36:52 +02:00
Matthias Koefferlein
217f957d60
Some more safety against accessing deleted user objects (stored point in temporary UserObject or DUserObject gets destroyed on destruction of the holder) - using C++ move semantics (overdue)
2021-04-07 22:16:52 +02:00
Matthias Koefferlein
94556c1448
Merge branch 'master' into lvs-enhancements
2021-03-30 18:56:27 +02:00
Matthias Köfferlein
8cb73c2daa
Merge pull request #759 from KLayout/fill-enhancements
...
Fill enhancements
2021-03-30 12:36:48 +02:00
Matthias Koefferlein
311d0e3ca7
Fixed some merge issues.
2021-03-29 15:18:19 +02:00
Matthias Koefferlein
8fda92a9c4
Merge branch 'drc-enhancements' into fill-enhancements
2021-03-29 15:07:47 +02:00
Matthias Koefferlein
9f295523e4
explicit net joining - preparations
2021-03-27 21:56:53 +01:00
Matthias Koefferlein
fa1719acc3
Avoid a deadlock in the logger system
2021-03-23 22:45:45 +01:00
Matthias Koefferlein
a8f3df7aa5
Refactoring of the interpreter scheme with the goal to provide a functional cleanup. This is required if someone stops inside the debugger. Without a proper cleanup the application becomes dysfunctional.
2021-03-15 10:17:25 +01:00
Matthias Koefferlein
bb9ae20c32
Rework of the progress reporting scheme: LVS got a log now, the layout is horizontal for multiple progress objects, less flicker and more quiet display, cancel function should work more reliably now.
2021-03-14 16:25:56 +01:00
Matthias Koefferlein
3378a9a7ce
'final' progress objects: will prevent child progress objects from showing too.
2021-03-13 10:12:53 +01:00
Matthias Koefferlein
f323c830d7
Enhancements for sync mode in threaded workers: allows providing progress too.
2021-03-13 10:11:27 +01:00
Matthias Koefferlein
fd01328659
Fixed Expressions error message for multi-line expressions.
2021-03-12 23:18:23 +01:00
Matthias Köfferlein
b968f2b47f
#730 : providing a new Qt module named QtUiTools for QUiLoader class s… ( #735 )
...
* #730 : providing a new Qt module named QtUiTools for QUiLoader class support.
* Fixed a compile error on Mac
* Added QtUiTools to some more places
* Fixed a linker issue in the QtUiTools Python lib
* On occasion fixed a infinite recursion problem in the debugger
The recursion happened because by mistake I instantiated a
QApplication inside an in-application Python script. This
crashed the debugger due to infinite recursion. This is not
a real use case but to prevent similar issues, a recursion
sentinel was added.
* Removed QCoreApplication#notify from script bindings
Reasoning: "notify" made standalone scripts using QApplication and
QUiLoader virtually impossible.
Problem description:
- When a QApplication object is instantiated, e.g. in Python, the Qt binding
will install reimplementation hooks as the object may be dynamically
extended.
- A notify is virtual this means the *every* "notify" call in the application
is routed through the interpreter.
- For one thing this will slow down the application
- But as "notify" is called a zillion times this has more than this side effect.
- Specifically "notify" is called from within the QWidget constructor to
indicate a new widget. Then, if a QDialog for example is instatiated, it's
base class constructor will call "notify" when the object isn't ready yet.
- This has another severe side effect: as the object isn't ready yet, it gets
registered in the Python space with the wrong class and QDialog is not visible
as such.
To mitigate these problems, the most efficient solution is to disable "notify"
in general. There is hardly any use case in a script environment (in C++,
apart from hacking the only reasonable use case is exception handling, but
this does not apply to scripts). For providing the call functionality of
"notify" you should better use "postEvent" or "sendEvent" anyway.
So farewell QCoreApplication.notify ...
* Fixed python test for QtUiTools module
* Fixed UiTools test on Qt4 - QUiLoader needs an application object
Co-authored-by: Kazunari Sekigawa <kazunari.sekigawa@gmail.com>
2021-02-25 21:29:21 +01:00
Matthias Köfferlein
8b2ecf41df
Fixed issue by providing a compatibility bridge between tl::Stream (abstract paths) and tl::URI ( #734 )
2021-02-25 21:28:48 +01:00
Matthias Koefferlein
94e6f0f7a6
Logging progress for DRC, introducing 'abstract progress' concept
2021-02-07 23:41:53 +01:00
Matthias Köfferlein
d8c0ea806a
Issue 723 fixed. ( #724 )
...
* Fixed a segfault with simple 'klayout -v'
* Fixed #723
2021-02-05 23:28:22 +01:00
Matthias Köfferlein
c837b306be
Issue 720 ( #721 )
...
* Implemented a backup scheme for the file writer.
* Also consider backup files when the writer fails.
* Removed test exception
* Added config option for number of backups.
2021-02-02 22:47:25 +01:00
Matthias
47777b7eba
Fixed crash in WebDAV access test observed on MacOS, but probably also relevant for other platforms.
2021-02-02 19:53:55 +01:00
Matthias Koefferlein
036e9f7d6b
Yet another fix for Windows build.
2021-01-31 21:49:20 +01:00
Matthias Koefferlein
d10165928f
Trying to fix Windows build.
2021-01-31 20:21:14 +01:00
Matthias Koefferlein
f1d2f39031
Added signal-safe sleep function which does not return when a timer signal happens. Fixes some random fails in the test suite.
2021-01-31 16:20:16 +01:00
Matthias Köfferlein
1ba4394c2a
Merge pull request #710 from KLayout/byte-arrays
...
Byte arrays
2021-01-27 12:42:48 +01:00
Matthias Koefferlein
96136e6993
Fixed Qt-less builds.
2021-01-27 08:05:02 +01:00
Matthias Koefferlein
dce371caaa
Fixed Qt-less builds.
2021-01-26 23:42:18 +01:00
Matthias Köfferlein
bd41f7222d
Merge pull request #706 from KLayout/spline-as-api
...
Generalized spline interpolation of DXF reader
2021-01-26 23:39:51 +01:00
Matthias Koefferlein
702852a8a9
Merge branch 'master' of github.com:KLayout/klayout into byte-arrays
2021-01-25 08:11:53 +01:00
Matthias Koefferlein
204cb7ec3f
Fixed build with curl
2021-01-25 08:05:16 +01:00
Matthias Koefferlein
199602424a
Merge branch 'master' of github.com:KLayout/klayout into byte-arrays
2021-01-24 23:52:56 +01:00
Matthias Koefferlein
245bf93429
Some build fixes to enable basic compilation on CentOS6
2021-01-24 17:37:46 +00:00
Matthias Koefferlein
5aac018503
Mapping QByteArray (and std::vector<char>) to Python 'bytes' now.
2021-01-24 17:36:40 +01:00
Matthias Koefferlein
c309961109
More verbose debugging for HTTP requests.
2021-01-23 22:27:53 +01:00
Matthias Koefferlein
d1e6845ae4
Replaced std::auto_ptr by std::unique_ptr because the latter is deprecated
2021-01-23 21:55:51 +01:00
Matthias Koefferlein
fdd5671602
Attempt to solve WebDAV redirection issue on Windows.
2021-01-23 20:40:25 +01:00
Matthias Koefferlein
372a42e84a
Renamed test files so that debugger doesn't get confused
2021-01-23 20:40:10 +01:00
Matthias Koefferlein
c8951c10cd
Generalized spline interpolation of DXF reader and provide a script binding (RBA::Utils).
2021-01-23 18:44:36 +01:00
Matthias Koefferlein
9a7b2babc0
Fixed Windows build
2021-01-17 23:50:42 +01:00
Matthias Koefferlein
19ecf8866c
Fixed Windows build
2021-01-17 23:41:51 +01:00
Matthias Koefferlein
5b60e2be90
Fixed Windows build
2021-01-17 23:35:22 +01:00
Matthias Koefferlein
081c445cd8
Merge branch 'master' into complex_drc_ops
2021-01-17 19:55:28 +01:00
Matthias Koefferlein
7d4310d343
Updated copyright to 2021
2021-01-05 22:57:48 +01:00
Matthias Koefferlein
cc58d7d8ee
WIP: performance improvement: copy-on-write for flat edge pairs
2020-12-27 18:45:10 +01:00
Matthias Koefferlein
4ec00fb129
Fixed an issue with wrapping new objects into tl::Variants which are returned directly. For these objects, ownership needs to be transferred to the script.
2020-12-27 17:09:06 +01:00
Matthias Koefferlein
0fbfa4dfde
Fixed URI relative path resolution if the first URI is empty.
2020-12-23 23:33:11 +01:00
Matthias Koefferlein
fd066127ff
Merge branch 'master' into complex_drc_ops
2020-12-08 23:34:07 +01:00
Matthias Köfferlein
d5f6b51092
Compatibility with Qt 4.6.x on CentOS6
2020-11-22 19:54:13 +00:00
Matthias Koefferlein
db6b3d280e
Merge branch 'master' into complex_drc_ops
2020-11-22 09:31:15 +01:00
Matthias Koefferlein
f3668a713d
Merge branch 'master' into usability-enhancements
2020-11-13 02:08:10 +01:00
Kevin Zheng
a1d1156407
Add -lexecinfo for BSD
2020-11-04 20:52:56 -08:00
Kevin Zheng
96123c3429
Fix build on FreeBSD ( #656 )
...
* Fix build on FreeBSD
* Add missing dependency on qtWidgets
2020-10-18 23:43:28 +02:00
Matthias Koefferlein
8c1e0d7e0e
Added option to retrieve current memory footprint, implemented for Windows (to be tested)
2020-10-11 17:47:30 +02:00
Matthias Koefferlein
61f18f7f33
[PORTBACK] fixed an issue with in-place processing of flat regions
2020-10-01 23:10:24 +02:00
Matthias Koefferlein
151fd81bd3
Should fix unit test fails on Windows (backslash vs. slash for file name separators)
2020-09-20 01:07:39 +02:00
Matthias Koefferlein
60e3f87877
Merge branch 'master' into usability-enhancements
2020-09-14 20:41:23 +02:00
Matthias Köfferlein
9cef935fad
Merge pull request #630 from KLayout/ruby-include
...
Ruby include
2020-09-14 18:33:57 +02:00
Matthias Köfferlein
948819472b
Issue 615 ( #621 )
...
* Password encoding to UTF-8 for Basic HTTP authentication - this is basically a hack. Needs to be reverted as soon as Qt switches to UTF-8 encoding.
* Workaround for issue #615
2020-09-14 18:33:01 +02:00
Matthias Koefferlein
0cc41f43c4
Fixed one more issue with the include implementation.
2020-09-01 22:02:47 +02:00
Matthias Koefferlein
ad6809a084
Fixed a few issues with the include implementation.
2020-09-01 19:57:27 +02:00
Matthias Koefferlein
a01eb70891
Added tests for include feature, some bug fixes and enhancements.
2020-08-31 20:27:57 +02:00
Matthias Koefferlein
9c2914f016
WIP: allow breakpoints for files with includes and inside includes
2020-08-31 20:27:57 +02:00
Matthias Koefferlein
77a9253273
WIP: Provide a generic include file expansion mechanism, basic class.
2020-08-31 20:27:57 +02:00
Matthias Koefferlein
be26c679d8
Merge branch 'master' into lefdef-enhancments
2020-08-30 22:55:45 +02:00
Matthias Koefferlein
4bba58cde1
Merge branch 'master' into usability-enhancements
2020-08-30 14:14:36 +02:00
Matthias Koefferlein
a5d675304c
Fixed an issue with deferred method execution in unit test context.
2020-08-30 13:06:50 +02:00
Matthias Koefferlein
98973e345d
Bugfix for command line parser - did not print name of unknown option
2020-08-23 19:41:51 +02:00
Matthias Koefferlein
cb1b3655e9
Bugfix in the command line parser: inverted bool options with value have not been inverted.
2020-08-23 01:55:55 +02:00
Matthias Koefferlein
608824fb36
Added LEF/DEF options to strm* buddies
2020-08-22 19:09:30 +02:00
Matthias Koefferlein
28520697a3
WIP: distribute feature.
2020-08-08 00:14:48 +02:00
Matthias Koefferlein
b9c49f0603
Mask specific suffixes, datatypes for LEF/DEF reader.
2020-07-18 22:28:14 +02:00
Matthias Köfferlein
e744eb32d1
Merge pull request #580 from KLayout/drawing-performance2
...
Drawing performance2
2020-06-28 16:14:48 +02:00
Matthias Koefferlein
43ceeecf6e
Golden test data for Ubuntu 20 and Windows, pipe output stream for Windows.
2020-06-27 09:50:55 +02:00
Matthias Koefferlein
c517aa4ff7
Cherry-picked MacOS fixes into master
2020-06-27 01:47:35 +02:00
Matthias Koefferlein
999c065262
Introducing iterated arrays for instances
...
Iterated instances are created for OASIS files
using irregular repetitions in viewer mode.
Reason: this way, the same drawing optimization
than for iterated shape arrays can be applied.
As this is a new API feature, some adjustments
had to be made to incorporate them into the
code.
2020-06-04 12:17:34 +02:00
Matthias Koefferlein
a9c0616aa0
WIP: more changes
2020-05-31 10:37:30 +02:00
Matthias Köfferlein
9f4ccaaedc
Issue #535 (Image handling enhancements) ( #551 )
...
* Menu item to hide or show all images
* Images: asymmetric color nodes.
* Added RBA::image::from_s for reading image back from string. Added tests.
* Added image file reader test (RBA)
* Added lyimg format for image file persistence.
* Small fix of unit tests.
* Added GSI binding for new image features and tests.
* Save and load for .lyimg formats in image properties dialog.
2020-05-02 13:45:20 +02:00
Matthias Koefferlein
f6b2eea0a7
Build fixed.
2020-04-26 17:08:52 +02:00
Matthias Koefferlein
3a7d9d0b0f
Fixed copyright/license topic.
2020-04-25 23:30:48 +02:00
Matthias Koefferlein
5bedd3cd04
Removed tab characters from sources.
2020-04-25 23:27:29 +02:00
Matthias Koefferlein
4c6d61bed1
Fixed 'at most one statement is allowed per line' for tl_assert macro
2020-04-25 22:59:45 +02:00
Matthias Koefferlein
0abd5d5d96
Fixed some minor compiler warnings.
2020-04-05 18:30:08 +02:00
Matthias Koefferlein
d315f84cab
Attempt to fix Windows build error.
2020-02-27 15:46:34 +01:00
Matthias Koefferlein
25d1a65b21
Small enhancement: unit tests work also with verbosity >0 now.
2020-02-27 01:29:10 +01:00
Matthias Koefferlein
58de38739a
WIP: some refactoring, debugging output for netlist compare
...
Abstraction: a central getenv() feature to wrap all the system-specific things
Netlist compare debug and options can be enabled through environment variables:
KLAYOUT_NETLIST_COMPARE_DEBUG_NETCOMPARE=1: print netlist compare debug info
KLAYOUT_NETLIST_COMPARE_DEBUG_NETGRAPH=1: print net grapg
KLAYOUT_NETLIST_COMPARE_CASE_SENSITIVE=1: make netlist compare case sensitive
2020-02-27 00:51:55 +01:00
Matthias Köfferlein
7c89192ad8
Fixed #502 (issues with AbsoluteProgress) ( #504 )
...
* Fixed #502 (issues with AbsoluteProgress)
* Updated Jenkinsfile to not publish a PR build
2020-02-21 18:37:50 +01:00
Matthias Koefferlein
b8c82c4f8b
Updated copyright notice to 2020
2020-01-05 00:59:43 +01:00
Matthias Koefferlein
297f37a63a
Huge performance improvement for a specific array element interaction. Reason: duplicate cluster interactions spoiled performance.
2019-12-18 01:10:16 +01:00
Matthias Koefferlein
bbb8e1f430
Merge branch 'master' of https://github.com/KLayout/klayout
2019-12-08 20:25:54 +01:00
Matthias Koefferlein
76c42f2959
Magic file writer fixes for Windows - file path handling wasn't right for windows paths with drives.
2019-12-08 19:58:58 +01:00
Matthias Koefferlein
a430b4df83
Supply 'read_all' capability of text stream with CRLF replacement.
2019-12-07 19:08:35 +01:00
Matthias Köfferlein
2fa545d80b
Merge pull request #435 from KLayout/issue-429
...
Issue 429
2019-12-02 21:15:05 +01:00
Matthias Köfferlein
e061a0a932
Merge pull request #433 from KLayout/wip
...
Some enhancements
2019-12-02 21:14:35 +01:00
Matthias Koefferlein
152dc87682
Implemented a dummy arrangement of cells when the MAG output file isn't corresponding to a existing cell - useful for obtaining a cell overview
2019-12-01 10:13:11 +01:00
Matthias Koefferlein
f16a5085c5
WIP: some implementation refinement
...
- MAG writer output name does not need to match a cell name
(this file is not written in this case, but the path and extension
are taken from it). A warning is issued in this case.
- Strings for layer and cell names are normalized (special chars, UTF8)
- Cell duplicates won't be produced but existing cells are reused.
This enables "incremental reads".
2019-11-30 19:04:54 +01:00
Matthias Koefferlein
c6ede46fd0
WIP: substantial changes
...
- force lower-case layer names to allow CIF/MAG loop (CIF needs
upper-case layer names, MAG doesn't)
- reverted CIF reader to standard
- new options for writer: tech, "zero timestamp".
- file name MUST be consistent with one cell name.
Reason: it's not possible to derive the initial
cell from the given options, so without the file name
being consistent, we can't know what to write there.
Basically the file name rather supplies the path.
2019-11-30 00:09:44 +01:00
Matthias Koefferlein
4ac5801cc7
WIP: Implementation draft of MAG file writer.
2019-11-28 00:20:30 +01:00
Matthias Koefferlein
211524a0c0
WIP: reader starts becoming functional.
2019-11-26 01:03:24 +01:00
Matthias Koefferlein
d37a744322
Build issue fixed on Windows.
2019-11-21 22:03:01 +01:00
Matthias Koefferlein
215ce8812b
More consistent handling of Windows/Linux switch in output stream and unit tests.
2019-11-21 21:57:49 +01:00
Matthias Koefferlein
72a3528e55
WIP: implementation of a fix (explicit text mode for XML reader and stream writer)
2019-11-20 23:52:37 +01:00
Matthias Koefferlein
181d5b48e6
Fixed consistent typo: PCell's -> PCells
2019-11-17 21:47:11 +01:00
Matthias Koefferlein
6b5c951088
Fixed string unit test on MinGW 32bit
2019-11-12 19:11:21 +01:00
Matthias Koefferlein
b220374bd1
Fixed gcc builds with stdc++0x (math.h issue)
2019-11-10 01:30:45 +01:00
Matthias Köfferlein
65b0752c5c
Merge pull request #396 from KLayout/issue-387
...
Implemented issue-387 (python version in grain.xml)
2019-11-06 01:01:23 +01:00
Matthias Koefferlein
fe9e808d61
Fixed implementation: cannot change definition of tl::Extractor::read_word and need a new method to read a word.
2019-11-03 21:50:47 +01:00
Matthias Koefferlein
50e8f334d1
Implemented issue-387 (python version in grain.xml)
...
The solution is to extend the api-version field.
"0.26.1" is KLayout API >= 0.26.1
"ruby" means: Ruby required
"python 2.6.0" means: Python required with at least 2.6.0
"0.26.1; ruby; python 2.6.0" means: all of this together
In addition, the version has been set to 0.26.1 now.
2019-11-03 02:12:05 +01:00
Matthias Koefferlein
a3b2e3a154
Bugfix for glob pattern with empty alternative.
2019-10-16 01:10:08 +02:00
Matthias Koefferlein
76b8bd3279
Fixed several issues with raw mode/merged semantics and many Region and Edges methods. Added edge/edge pull and edge/polygon pull.
2019-10-03 01:46:49 +02:00
Matthias Koefferlein
441f946f43
WIP: LVS rerun feature
2019-08-25 21:55:48 +02:00
Matthias Koefferlein
515b68b76f
WIP: provide a recipe registration facility for LVS rerun
2019-08-25 18:03:27 +02:00