Commit Graph

107 Commits

Author SHA1 Message Date
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 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 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 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 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 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 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 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 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 0fbfa4dfde Fixed URI relative path resolution if the first URI is empty. 2020-12-23 23:33:11 +01: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 Köfferlein 9cef935fad
Merge pull request #630 from KLayout/ruby-include
Ruby include
2020-09-14 18:33: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 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 c517aa4ff7 Cherry-picked MacOS fixes into master 2020-06-27 01:47:35 +02:00
Matthias Koefferlein 0abd5d5d96 Fixed some minor compiler warnings. 2020-04-05 18:30:08 +02: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 Koefferlein b8c82c4f8b Updated copyright notice to 2020 2020-01-05 00:59:43 +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 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 6b5c951088 Fixed string unit test on MinGW 32bit 2019-11-12 19:11:21 +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 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
Matthias Koefferlein e329f60257 WIP: attempt to improve performance by using name match shortcuts 2019-07-28 19:05:25 +02:00
Matthias Koefferlein 985cffc099 Unique net names for Spice netlist writer 2019-05-31 22:19:51 +02:00
Matthias Koefferlein 9c6ed3e956 Merge remote-tracking branch 'origin/master' into dvb 2019-05-29 22:32:05 +02:00
Matthias Koefferlein 7f6afe1f8b Allow some compiler warnings in favor of passing unit tests ... 2019-05-27 18:55:27 +02:00
Matthias Koefferlein 7b7e35d3d5 Fixed some compiler warnings. 2019-05-27 18:05:38 +02:00
Matthias Koefferlein dfb9cdad4f WIP: refactoring of glob pattern 2019-05-11 18:31:42 +02:00
Matthias Koefferlein 252b1551dc Bugfix: strmrun issues
- strmrun did not support x[rb] notation for file type
- x.y.py was rejected because y.py was taken as the suffix
- reason was extension() function for which there is
  an extension_last() now
- but this function is no longer used as the lym::Macro
  object is used now
2019-05-10 23:43:57 +02:00
Matthias Koefferlein 5b8a9cf49c WIP: netlist browser 2019-04-22 01:25:48 +02:00
Matthias Koefferlein 567769f13d More robust WebDAV test by sorting the order of collection items 2019-04-17 22:01:56 +02:00
Matthias Koefferlein 89ffd7e3da WIP: Simple SPICE reader. 2019-04-01 22:46:33 +02:00
Matthias Koefferlein 9c0123df20 Implemented implicit joining of nets with the same label. 2019-02-03 21:34:23 +01:00